PageSourceSearch

https://lapompette.base44.app/assets/index-t7SRFgYN.js

js lapompette.base44.app collected 2026-10-03 03:14:58 UTC 391,974 bytes, 202 lines download raw bytes

vendor: 6,238 bytes, lines 1-9
1var np=r=>{throw TypeError(r)};var Bu=(r,n,s)=>n.has(r)||np("Cannot "+s);var S=(r,n,s)=>(Bu(r,n,"read from private field"),s?s.call(r):n.get(r)),oe=(r,n,s)=>n.has(r)?np("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(r):n.set(r,s),X=(r,n,s,o)=>(Bu(r,n,"write to private field"),o?o.call(r,s):n.set(r,s),s),xe=(r,n,s)=>(Bu(r,n,"access private method"),s);var ya=(r,n,s,o)=>({set _(l){X(r,n,l,s)},get _(){return S(r,n,o)}});function S0(r,n){for(var s=0;s<n.length;s++){const o=n[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 n=document.createElement("link").relList;if(n&&n.supports&&n.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 Mm(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var zu={exports:{}},ji={},$u={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 k0(){if(rp)return ke;rp=1;var r=Symbol.for("react.element"),n=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"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function b(R){return R===null||typeof R!="object"?null:(R=v&&R[v]||R["@@iterator"],typeof R=="function"?R:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,O={};function E(R,B,fe){this.props=R,this.context=B,this.refs=O,this.updater=fe||P}E.prototype.isReactComponent={},E.prototype.setState=function(R,B){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,B,"setState")},E.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function k(){}k.prototype=E.prototype;function U(R,B,fe){this.props=R,this.context=B,this.refs=O,this.updater=fe||P}var A=U.prototype=new k;A.constructor=U,D(A,E.prototype),A.isPureReactComponent=!0;var j=Array.isArray,H=Object.prototype.hasOwnProperty,Q={current:null},ue={key:!0,ref:!0,__self:!0,__source:!0};function z(R,B,fe){var pe,ce={},G=null,ye=null;if(B!=null)for(pe in B.ref!==void 0&&(ye=B.ref),B.key!==void 0&&(G=""+B.key),B)H.call(B,pe)&&!ue.hasOwnProperty(pe)&&(ce[pe]=B[pe]);var _e=arguments.length-2;if(_e===1)ce.children=fe;else if(1<_e){for(var ge=Array(_e),tt=0;tt<_e;tt++)ge[tt]=arguments[tt+2];ce.children=ge}if(R&&R.defaultProps)for(pe in _e=R.defaultProps,_e)ce[pe]===void 0&&(ce[pe]=_e[pe]);return{$$typeof:r,type:R,key:G,ref:ye,props:ce,_owner:Q.current}}function de(R,B){return{$$typeof:r,type:R.type,key:B,ref:R.ref,props:R.props,_owner:R._owner}}function we(R){return typeof R=="object"&&R!==null&&R.$$typeof===r}function he(R){var B={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(fe){return B[fe]})}var Ne=/\/+/g;function $e(R,B){return typeof R=="object"&&R!==null&&R.key!=null?he(""+R.key):B.toString(36)}function Oe(R,B,fe,pe,ce){var G=typeof R;(G==="undefined"||G==="boolean")&&(R=null);var ye=!1;if(R===null)ye=!0;else switch(G){case"string":case"number":ye=!0;break;case"object":switch(R.$$typeof){case r:case n:ye=!0}}if(ye)return ye=R,ce=ce(ye),R=pe===""?"."+$e(ye,0):pe,j(ce)?(fe="",R!=null&&(fe=R.replace(Ne,"$&/")+"/"),Oe(ce,B,fe,"",function(tt){return tt})):ce!=null&&(we(ce)&&(ce=de(ce,fe+(!ce.key||ye&&ye.key===ce.key?"":(""+ce.key).replace(Ne,"$&/")+"/")+R)),B.push(ce)),1;if(ye=0,pe=pe===""?".":pe+":",j(R))for(var _e=0;_e<R.length;_e++){G=R[_e];var ge=pe+$e(G,_e);ye+=Oe(G,B,fe,ge,ce)}else if(ge=b(R),typeof ge=="function")for(R=ge.call(R),_e=0;!(G=R.next()).done;)G=G.value,ge=pe+$e(G,_e++),ye+=Oe(G,B,fe,ge,ce);else if(G==="object")throw B=String(R),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.");return ye}function je(R,B,fe){if(R==null)return R;var pe=[],ce=0;return Oe(R,pe,"","",function(G){return B.call(fe,G,ce++)}),pe}function Te(R){if(R._status===-1){var B=R._result;B=B(),B.then(function(fe){(R._status===0||R._status===-1)&&(R._status=1,R._result=fe)},function(fe){(R._status===0||R._status===-1)&&(R._status=2,R._result=fe)}),R._status===-1&&(R._status=0,R._result=B)}if(R._status===1)return R._result.default;throw R._result}var Ce={current:null},K={transition:null},ie={ReactCurrentDispatcher:Ce,ReactCurrentBatchConfig:K,ReactCurrentOwner:Q};function M(){throw Error("act(...) is not supported in production builds of React.")}return ke.Children={map:je,forEach:function(R,B,fe){je(R,function(){B.apply(this,arguments)},fe)},count:function(R){var B=0;return je(R,function(){B++}),B},toArray:function(R){return je(R,function(B){return B})||[]},only:function(R){if(!we(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},ke.Component=E,ke.Fragment=s,ke.Profiler=l,ke.PureComponent=U,ke.StrictMode=o,ke.Suspense=p,ke.__SECRET_INT
vendor: 4,249 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,ke.act=M,ke.cloneElement=function(R,B,fe){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var pe=D({},R.props),ce=R.key,G=R.ref,ye=R._owner;if(B!=null){if(B.ref!==void 0&&(G=B.ref,ye=Q.current),B.key!==void 0&&(ce=""+B.key),R.type&&R.type.defaultProps)var _e=R.type.defaultProps;for(ge in B)H.call(B,ge)&&!ue.hasOwnProperty(ge)&&(pe[ge]=B[ge]===void 0&&_e!==void 0?_e[ge]:B[ge])}var ge=arguments.length-2;if(ge===1)pe.children=fe;else if(1<ge){_e=Array(ge);for(var tt=0;tt<ge;tt++)_e[tt]=arguments[tt+2];pe.children=_e}return{$$typeof:r,type:R.type,key:ce,ref:G,props:pe,_owner:ye}},ke.createContext=function(R){return R={$$typeof:d,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:u,_context:R},R.Consumer=R},ke.createElement=z,ke.createFactory=function(R){var B=z.bind(null,R);return B.type=R,B},ke.createRef=function(){return{current:null}},ke.forwardRef=function(R){return{$$typeof:h,render:R}},ke.isValidElement=we,ke.lazy=function(R){return{$$typeof:y,_payload:{_status:-1,_result:R},_init:Te}},ke.memo=function(R,B){return{$$typeof:g,type:R,compare:B===void 0?null:B}},ke.startTransition=function(R){var B=K.transition;K.transition={};try{R()}finally{K.transition=B}},ke.unstable_act=M,ke.useCallback=function(R,B){return Ce.current.useCallback(R,B)},ke.useContext=function(R){return Ce.current.useContext(R)},ke.useDebugValue=function(){},ke.useDeferredValue=function(R){return Ce.current.useDeferredValue(R)},ke.useEffect=function(R,B){return Ce.current.useEffect(R,B)},ke.useId=function(){return Ce.current.useId()},ke.useImperativeHandle=function(R,B,fe){return Ce.current.useImperativeHandle(R,B,fe)},ke.useInsertionEffect=function(R,B){return Ce.current.useInsertionEffect(R,B)},ke.useLayoutEffect=function(R,B){return Ce.current.useLayoutEffect(R,B)},ke.useMemo=function(R,B){return Ce.current.useMemo(R,B)},ke.useReducer=function(R,B,fe){return Ce.current.useReducer(R,B,fe)},ke.useRef=function(R){return Ce.current.useRef(R)},ke.useState=function(R){return Ce.current.useState(R)},ke.useSyncExternalStore=function(R,B,fe){return Ce.current.useSyncExternalStore(R,B,fe)},ke.useTransition=function(){return Ce.current.useTransition()},ke.version="18.3.1",ke}var sp;function Mc(){return sp||(sp=1,$u.exports=k0()),$u.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 ip;function _0(){if(ip)return ji;ip=1;var r=Mc(),n=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(h,p,g){var y,v={},b=null,P=null;g!==void 0&&(b=""+g),p.key!==void 0&&(b=""+p.key),p.ref!==void 0&&(P=p.ref);for(y in p)o.call(p,y)&&!u.hasOwnProperty(y)&&(v[y]=p[y]);if(h&&h.defaultProps)for(y in p=h.defaultProps,p)v[y]===void 0&&(v[y]=p[y]);return{$$typeof:n,type:h,key:b,ref:P,props:v,_owner:l.current}}return ji.Fragment=s,ji.jsx=d,ji.jsxs=d,ji}var op;function E0(){return op||(op=1,zu.exports=_0()),zu.exports}var x=E0(),F=Mc();const b0=Mm(F),C0=S0({__proto__:null,default:b0},[F]);var va={},Vu={exports:{}},Pt={},qu={exports:{}},Hu={};/**
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 R0(){return ap||(ap=1,(function(r){function n(K,ie){var M=K.length;K.push(ie);e:for(;0<M;){var R=M-1>>>1,B=K[R];if(0<l(B,ie))K[R]=ie,K[M]=B,M=R;else break e}}function s(K){return K.length===0?null:K[0]}function o(K){if(K.length===0)return null;var ie=K[0],M=K.pop();if(M!==ie){K[0]=M;e:for(var R=0,B=K.length,fe=B>>>1;R<fe;){var pe=2*(R+1)-1,ce=K[pe],G=pe+1,ye=K[G];if(0>l(ce,M))G<B&&0>l(ye,ce)?(K[R]=ye,K[G]=M,R=G):(K[R]=ce,K[pe]=M,R=pe);else if(G<B&&0>l(ye,M))K[R]=ye,K[G]=M,R=G;else break e}}return ie}
vendor: 53,202 bytes, lines 25-38
25function l(K,ie){var M=K.sortIndex-ie.sortIndex;return M!==0?M:K.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;r.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();r.unstable_now=function(){return d.now()-h}}var p=[],g=[],y=1,v=null,b=3,P=!1,D=!1,O=!1,E=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(K){for(var ie=s(g);ie!==null;){if(ie.callback===null)o(g);else if(ie.startTime<=K)o(g),ie.sortIndex=ie.expirationTime,n(p,ie);else break;ie=s(g)}}function j(K){if(O=!1,A(K),!D)if(s(p)!==null)D=!0,Te(H);else{var ie=s(g);ie!==null&&Ce(j,ie.startTime-K)}}function H(K,ie){D=!1,O&&(O=!1,k(z),z=-1),P=!0;var M=b;try{for(A(ie),v=s(p);v!==null&&(!(v.expirationTime>ie)||K&&!he());){var R=v.callback;if(typeof R=="function"){v.callback=null,b=v.priorityLevel;var B=R(v.expirationTime<=ie);ie=r.unstable_now(),typeof B=="function"?v.callback=B:v===s(p)&&o(p),A(ie)}else o(p);v=s(p)}if(v!==null)var fe=!0;else{var pe=s(g);pe!==null&&Ce(j,pe.startTime-ie),fe=!1}return fe}finally{v=null,b=M,P=!1}}var Q=!1,ue=null,z=-1,de=5,we=-1;function he(){return!(r.unstable_now()-we<de)}function Ne(){if(ue!==null){var K=r.unstable_now();we=K;var ie=!0;try{ie=ue(!0,K)}finally{ie?$e():(Q=!1,ue=null)}}else Q=!1}var $e;if(typeof U=="function")$e=function(){U(Ne)};else if(typeof MessageChannel<"u"){var Oe=new MessageChannel,je=Oe.port2;Oe.port1.onmessage=Ne,$e=function(){je.postMessage(null)}}else $e=function(){E(Ne,0)};function Te(K){ue=K,Q||(Q=!0,$e())}function Ce(K,ie){z=E(function(){K(r.unstable_now())},ie)}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||P||(D=!0,Te(H))},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"):de=0<K?Math.floor(1e3/K):5},r.unstable_getCurrentPriorityLevel=function(){return b},r.unstable_getFirstCallbackNode=function(){return s(p)},r.unstable_next=function(K){switch(b){case 1:case 2:case 3:var ie=3;break;default:ie=b}var M=b;b=ie;try{return K()}finally{b=M}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(K,ie){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var M=b;b=K;try{return ie()}finally{b=M}},r.unstable_scheduleCallback=function(K,ie,M){var R=r.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?R+M:R):M=R,K){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=M+B,K={id:y++,callback:ie,priorityLevel:K,startTime:M,expirationTime:B,sortIndex:-1},M>R?(K.sortIndex=M,n(g,K),s(p)===null&&K===s(g)&&(O?(k(z),z=-1):O=!0,Ce(j,M-R))):(K.sortIndex=B,n(p,K),D||P||(D=!0,Te(H))),K},r.unstable_shouldYield=he,r.unstable_wrapCallback=function(K){var ie=b;return function(){var M=b;b=ie;try{return K.apply(this,arguments)}finally{b=M}}}})(Hu)),Hu}var lp;function T0(){return lp||(lp=1,qu.exports=R0()),qu.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 P0(){if(up)return Pt;up=1;var r=Mc(),n=T0();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function u(e,t){d(e,t),d(e+"Capture",t)}function d(e,t){for(l[e]=t,e=0;e<t.length;e++)o.add(t[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,g=/^[: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]*$/,y={},v={};function b(e){return p.call(v,e)?!0:p.call(y,e)?!1:g.test(e)?v[e]=!0:(y[e]=!0,!1)}function P(e,t,i,a){if(i!==null&&i.type===0)return!1;switch(typeof t){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,t,i,a){if(t===null||typeof t>"u"||P(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function O(e,t,i,a,c,f,m){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=f,this.removeEmptyString=m}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){E[e]=new O(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];E[t]=new O(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){E[e]=new O(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){E[e]=new O(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){E[e]=new O(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){E[e]=new O(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){E[e]=new O(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){E[e]=new O(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){E[e]=new O(e,5,!1,e.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function U(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(k,U);E[t]=new O(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(k,U);E[t]=new O(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(k,U);E[t]=new O(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){E[e]=new O(e,1,!1,e.toLowerCase(),null,!1,!1)}),E.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){E[e]=new O(e,1,!1,e.toLowerCase(),null,!0,!0)});function A(e,t,i,a){var c=E.hasOwnProperty(t)?E[t]:null;(c!==null?c.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(D(t,i,c,a)&&(i=null),a||c===null?b(t)&&(i===null?e.removeAttribute(t):e.setAttribute(t,""+i)):c.mustUseProperty?e[c.propertyName]=i===null?c.type===3?!1:"":i:(t=c.attributeName,a=c.attributeNamespace,i===null?e.removeAttribute(t):(c=c.type,i=c===3||c===4&&i===!0?"":""+i,a?e.setAttributeNS(a,t,i):e.setAttribute(t,i))))}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),Q=Symbol.for("react.portal"),ue=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),we=Symbol.for("react.provider"),he=Symbol.for("react.context"),Ne=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),Oe=Symbol.for("react.suspense_list"),je=Symbol.for("react.memo"),Te=Symbol.for("react.lazy"),Ce=Symbol.for("react.offscreen"),K=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var M=Object.assign,R;function B(e){if(R===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return`
34`+R+e}var fe=!1;function pe(e,t){if(!e||fe)return"";fe=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(I){var a=I}Reflect.construct(e,[],t)}else{try{t.call()}catch(I){a=I}e.call(t.prototype)}else{try{throw Error()}catch(I){a=I}e()}}catch(I){if(I&&a&&typeof I.stack=="string"){for(var c=I.stack.split(`
35`),f=a.stack.split(`
36`),m=c.length-1,w=f.length-1;1<=m&&0<=w&&c[m]!==f[w];)w--;for(;1<=m&&0<=w;m--,w--)if(c[m]!==f[w]){if(m!==1||w!==1)do if(m--,w--,0>w||c[m]!==f[w]){var _=`
37`+c[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),_}while(1<=m&&0<=w);break}}}finally{fe=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?B(e):""}function ce(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=pe(e.type,!1),e;case 11:return e=pe(e.type.render,!1),e;case 1:return e=pe(e.type,!0),e;default:return""}}function G(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 ue:return"Fragment";case Q:return"Portal";case de:return"Profiler";case z:return"StrictMode";case $e:return"Suspense";case Oe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case he:return(e.displayName||"Context")+".Consumer";case we:return(e._context.displayName||"Context")+".Provider";case Ne:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case je:return t=e.displayName||null,t!==null?t:G(e.type)||"Memo";case Te:t=e._payload,e=e._init;try{return G(e(t))}catch{}}return null}function ye(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _e(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ge(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tt(e){var t=ge(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,f=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(m){a=""+m,f.call(this,m)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(m){a=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ut(e){e._valueTracker||(e._valueTracker=tt(e))}function at(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),a="";return e&&(a=ge(e)?e.checked?"true":"false":e.value),e=a,e!==i?(t.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,t){var i=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Ft(e,t){var i=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;i=_e(t.value!=null?t.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ve(e,t){t=t.checked,t!=null&&A(e,"checked",t,!1)}function lt(e,t){ve(e,t);var i=_e(t.value),a=t.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}t.hasOwnProperty("value")?Xt(e,t.type,i):t.hasOwnProperty("defaultValue")&&Xt(e,t.type,_e(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Jt(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Xt(e,t,i){(t!=="number"||Gt(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Un=Array.isArray;function Mn(e,t,i,a){if(e=e.options,t){t={};for(var c=0;c<i.length;c++)t["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=t.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&a&&(e[i].defaultSelected=!0)}else{for(i=""+_e(i),t=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,a&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function xn(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function dd(e,t){var i=t.value;if(i==null){if(i=t.children,t=t.defaultValue,i!=null){if(t!=null)throw Error(s(92));if(Un(i)){if(1<i.length)throw Error(s(93));i=i[0]}t=i}t==null&&(t=""),i=t}e._wrapperState={initialValue:_e(i)}}function fd(e,t){var i=_e(t.value),a=_e(t.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),t.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),a!=null&&(e.defaultValue=""+a)}function hd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}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 Xa(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?pd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var lo,md=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,c){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,c)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(lo=lo||document.createElement("div"),lo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=lo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Js(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Xs={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},by=["Webkit","ms","Moz","O"];Object.keys(Xs).forEach(function(e){by.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xs[t]=Xs[e]})});function gd(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||Xs.hasOwnProperty(e)&&Xs[e]?(""+t).trim():t+"px"}function yd(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=i.indexOf("--")===0,c=gd(i,t[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,c):e[i]=c}}var Cy=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ya(e,t){if(t){if(Cy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function Za(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var el=null;function tl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nl=null,ts=null,ns=null;function vd(e){if(e=wi(e)){if(typeof nl!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Ao(t),nl(e.stateNode,e.type,t))}}function wd(e){ts?ns?ns.push(e):ns=[e]:ts=e}function xd(){if(ts){var e=ts,t=ns;if(ns=ts=null,vd(e),t)for(e=0;e<t.length;e++)vd(t[e])}}function Sd(e,t){return e(t)}function kd(){}var rl=!1;function _d(e,t,i){if(rl)return e(t,i);rl=!0;try{return Sd(e,t,i)}finally{rl=!1,(ts!==null||ns!==null)&&(kd(),xd())}}function Ys(e,t){var i=e.stateNode;if(i===null)return null;var a=Ao(i);if(a===null)return null;i=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(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,t,typeof i));return i}var sl=!1;if(h)try{var Zs={};Object.defineProperty(Zs,"passive",{get:function(){sl=!0}}),window.addEventListener("test",Zs,Zs),window.removeEventListener("test",Zs,Zs)}catch{sl=!1}function Ry(e,t,i,a,c,f,m,w,_){var I=Array.prototype.slice.call(arguments,3);try{t.apply(i,I)}catch(V){this.onError(V)}}var ei=!1,uo=null,co=!1,il=null,Ty={onError:function(e){ei=!0,uo=e}};function Py(e,t,i,a,c,f,m,w,_){ei=!1,uo=null,Ry.apply(Ty,arguments)}function Oy(e,t,i,a,c,f,m,w,_){if(Py.apply(this,arguments),ei){if(ei){var I=uo;ei=!1,uo=null}else throw Error(s(198));co||(co=!0,il=I)}}function kr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function Ed(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function bd(e){if(kr(e)!==e)throw Error(s(188))}function Ny(e){var t=e.alternate;if(!t){if(t=kr(e),t===null)throw Error(s(188));return t!==e?null:e}for(var i=e,a=t;;){var c=i.return;if(c===null)break;var f=c.alternate;if(f===null){if(a=c.return,a!==null){i=a;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===i)return bd(c),e;if(f===a)return bd(c),t;f=f.sibling}throw Error(s(188))}if(i.return!==a.return)i=c,a=f;else{for(var m=!1,w=c.child;w;){if(w===i){m=!0,i=c,a=f;break}if(w===a){m=!0,a=c,i=f;break}w=w.sibling}if(!m){for(w=f.child;w;){if(w===i){m=!0,i=f,a=c;break}if(w===a){m=!0,a=f,i=c;break}w=w.sibling}if(!m)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:t}function Cd(e){return e=Ny(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 t=Rd(e);if(t!==null)return t;e=e.sibling}return null}var Td=n.unstable_scheduleCallback,Pd=n.unstable_cancelCallback,Ay=n.unstable_shouldYield,Ly=n.unstable_requestPaint,He=n.unstable_now,jy=n.unstable_getCurrentPriorityLevel,ol=n.unstable_ImmediatePriority,Od=n.unstable_UserBlockingPriority,fo=n.unstable_NormalPriority,Iy=n.unstable_LowPriority,Nd=n.unstable_IdlePriority,ho=null,cn=null;function Dy(e){if(cn&&typeof cn.onCommitFiberRoot=="function")try{cn.onCommitFiberRoot(ho,e,void 0,(e.current.flags&128)===128)}catch{}}var Yt=Math.clz32?Math.clz32:Fy,Uy=Math.log,My=Math.LN2;function Fy(e){return e>>>=0,e===0?32:31-(Uy(e)/My|0)|0}var po=64,mo=4194304;function ti(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 go(e,t){var i=e.pendingLanes;if(i===0)return 0;var a=0,c=e.suspendedLanes,f=e.pingedLanes,m=i&268435455;if(m!==0){var w=m&~c;w!==0?a=ti(w):(f&=m,f!==0&&(a=ti(f)))}else m=i&~c,m!==0?a=ti(m):f!==0&&(a=ti(f));if(a===0)return 0;if(t!==0&&t!==a&&(t&c)===0&&(c=a&-a,f=t&-t,c>=f||c===16&&(f&4194240)!==0))return t;if((a&4)!==0&&(a|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)i=31-Yt(t),c=1<<i,a|=e[i],t&=~c;return a}function By(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function zy(e,t){for(var i=e.suspendedLanes,a=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes;0<f;){var m=31-Yt(f),w=1<<m,_=c[m];_===-1?((w&i)===0||(w&a)!==0)&&(c[m]=By(w,t)):_<=t&&(e.expiredLanes|=w),f&=~w}}function al(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ad(){var e=po;return po<<=1,(po&4194240)===0&&(po=64),e}function ll(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function ni(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Yt(t),e[t]=i}function $y(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<i;){var c=31-Yt(i),f=1<<c;t[c]=0,a[c]=-1,e[c]=-1,i&=~f}}function ul(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var a=31-Yt(i),c=1<<a;c&t|e[a]&t&&(e[a]|=t),i&=~c}}var Le=0;function Ld(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var jd,cl,Id,Dd,Ud,dl=!1,yo=[],Fn=null,Bn=null,zn=null,ri=new Map,si=new Map,$n=[],Vy="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,t){switch(e){case"focusin":case"focusout":Fn=null;break;case"dragenter":case"dragleave":Bn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":ri.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":si.delete(t.pointerId)}}function ii(e,t,i,a,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:i,eventSystemFlags:a,nativeEvent:f,targetContainers:[c]},t!==null&&(t=wi(t),t!==null&&cl(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function qy(e,t,i,a,c){switch(t){case"focusin":return Fn=ii(Fn,e,t,i,a,c),!0;case"dragenter":return Bn=ii(Bn,e,t,i,a,c),!0;case"mouseover":return zn=ii(zn,e,t,i,a,c),!0;case"pointerover":var f=c.pointerId;return ri.set(f,ii(ri.get(f)||null,e,t,i,a,c)),!0;case"gotpointercapture":return f=c.pointerId,si.set(f,ii(si.get(f)||null,e,t,i,a,c)),!0}return!1}function Fd(e){var t=_r(e.target);if(t!==null){var i=kr(t);if(i!==null){if(t=i.tag,t===13){if(t=Ed(i),t!==null){e.blockedOn=t,Ud(e.priority,function(){Id(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=hl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);el=a,i.target.dispatchEvent(a),el=null}else return t=wi(i),t!==null&&cl(t),e.blockedOn=i,!1;t.shift()}return!0}function Bd(e,t,i){vo(e)&&i.delete(t)}function Hy(){dl=!1,Fn!==null&&vo(Fn)&&(Fn=null),Bn!==null&&vo(Bn)&&(Bn=null),zn!==null&&vo(zn)&&(zn=null),ri.forEach(Bd),si.forEach(Bd)}function oi(e,t){e.blockedOn===t&&(e.blockedOn=null,dl||(dl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Hy)))}function ai(e){function t(c){return oi(c,e)}if(0<yo.length){oi(yo[0],e);for(var i=1;i<yo.length;i++){var a=yo[i];a.blockedOn===e&&(a.blockedOn=null)}}for(Fn!==null&&oi(Fn,e),Bn!==null&&oi(Bn,e),zn!==null&&oi(zn,e),ri.forEach(t),si.forEach(t),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);)Fd(i),i.blockedOn===null&&$n.shift()}var rs=j.ReactCurrentBatchConfig,wo=!0;function Wy(e,t,i,a){var c=Le,f=rs.transition;rs.transition=null;try{Le=1,fl(e,t,i,a)}finally{Le=c,rs.transition=f}}function Qy(e,t,i,a){var c=Le,f=rs.transition;rs.transition=null;try{Le=4,fl(e,t,i,a)}finally{Le=c,rs.transition=f}}function fl(e,t,i,a){if(wo){var c=hl(e,t,i,a);if(c===null)Ol(e,t,a,xo,i),Md(e,a);else if(qy(c,e,t,i,a))a.stopPropagation();else if(Md(e,a),t&4&&-1<Vy.indexOf(e)){for(;c!==null;){var f=wi(c);if(f!==null&&jd(f),f=hl(e,t,i,a),f===null&&Ol(e,t,a,xo,i),f===c)break;c=f}c!==null&&a.stopPropagation()}else Ol(e,t,a,null,i)}}var xo=null;function hl(e,t,i,a){if(xo=null,e=tl(a),e=_r(e),e!==null)if(t=kr(e),t===null)e=null;else if(i=t.tag,i===13){if(e=Ed(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return xo=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(jy()){case ol:return 1;case Od:return 4;case fo:case Iy:return 16;case Nd:return 536870912;default:return 16}default:return 16}}var Vn=null,pl=null,So=null;function $d(){if(So)return So;var e,t=pl,i=t.length,a,c="value"in Vn?Vn.value:Vn.textContent,f=c.length;for(e=0;e<i&&t[e]===c[e];e++);var m=i-e;for(a=1;a<=m&&t[i-a]===c[f-a];a++);return So=c.slice(e,1<a?1-a:void 0)}function ko(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function _o(){return!0}function Vd(){return!1}function Lt(e){function t(i,a,c,f,m){this._reactName=i,this._targetInst=c,this.type=a,this.nativeEvent=f,this.target=m,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(i=e[w],this[w]=i?i(f):f[w]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?_o:Vd,this.isPropagationStopped=Vd,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=_o)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=_o)},persist:function(){},isPersistent:_o}),t}var ss={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ml=Lt(ss),li=M({},ss,{view:0,detail:0}),Ky=Lt(li),gl,yl,ui,Eo=M({},li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wl,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!==ui&&(ui&&e.type==="mousemove"?(gl=e.screenX-ui.screenX,yl=e.screenY-ui.screenY):yl=gl=0,ui=e),gl)},movementY:function(e){return"movementY"in e?e.movementY:yl}}),qd=Lt(Eo),Gy=M({},Eo,{dataTransfer:0}),Jy=Lt(Gy),Xy=M({},li,{relatedTarget:0}),vl=Lt(Xy),Yy=M({},ss,{animationName:0,elapsedTime:0,pseudoElement:0}),Zy=Lt(Yy),ev=M({},ss,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tv=Lt(ev),nv=M({},ss,{data:0}),Hd=Lt(nv),rv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sv={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"},iv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ov(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=iv[e])?!!t[e]:!1}function wl(){return ov}var av=M({},li,{key:function(e){if(e.key){var t=rv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wl,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),lv=Lt(av),uv=M({},Eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Lt(uv),cv=M({},li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wl}),dv=Lt(cv),fv=M({},ss,{propertyName:0,elapsedTime:0,pseudoElement:0}),hv=Lt(fv),pv=M({},Eo,{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}),mv=Lt(pv),gv=[9,13,27,32],xl=h&&"CompositionEvent"in window,ci=null;h&&"documentMode"in document&&(ci=document.documentMode);var yv=h&&"TextEvent"in window&&!ci,Qd=h&&(!xl||ci&&8<ci&&11>=ci),Kd=" ",Gd=!1;function Jd(e,t){switch(e){case"keyup":return gv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var is=!1;function vv(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":return t.which!==32?null:(Gd=!0,Kd);case"textInput":return e=t.data,e===Kd&&Gd?null:e;default:return null}}function wv(e,t){if(is)return e==="compositionend"||!xl&&Jd(e,t)?(e=$d(),So=pl=Vn=null,is=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qd&&t.locale!=="ko"?null:t.data;default:return null}}var xv={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 Yd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xv[e.type]:t==="textarea"}function Zd(e,t,i,a){wd(a),t=Po(t,"onChange"),0<t.length&&(i=new ml("onChange","change",null,i,a),e.push({event:i,listeners:t}))}var di=null,fi=null;function Sv(e){vf(e,0)}function bo(e){var t=cs(e);if(at(t))return e}function kv(e,t){if(e==="change")return t}var ef=!1;if(h){var Sl;if(h){var kl="oninput"in document;if(!kl){var tf=document.createElement("div");tf.setAttribute("oninput","return;"),kl=typeof tf.oninput=="function"}Sl=kl}else Sl=!1;ef=Sl&&(!document.documentMode||9<document.documentMode)}function nf(){di&&(di.detachEvent("onpropertychange",rf),fi=di=null)}function rf(e){if(e.propertyName==="value"&&bo(fi)){var t=[];Zd(t,fi,e,tl(e)),_d(Sv,t)}}function _v(e,t,i){e==="focusin"?(nf(),di=t,fi=i,di.attachEvent("onpropertychange",rf)):e==="focusout"&&nf()}function Ev(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bo(fi)}function bv(e,t){if(e==="click")return bo(t)}function Cv(e,t){if(e==="input"||e==="change")return bo(t)}function Rv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zt=typeof Object.is=="function"?Object.is:Rv;function hi(e,t){if(Zt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(a=0;a<i.length;a++){var c=i[a];if(!p.call(t,c)||!Zt(e[c],t[c]))return!1}return!0}function sf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function of(e,t){var i=sf(e);e=0;for(var a;i;){if(i.nodeType===3){if(a=e+i.textContent.length,e<=t&&a>=t)return{node:i,offset:t-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,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?af(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lf(){for(var e=window,t=Gt();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Gt(e.document)}return t}function _l(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Tv(e){var t=lf(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&af(i.ownerDocument.documentElement,i)){if(a!==null&&_l(i)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var c=i.textContent.length,f=Math.min(a.start,c);a=a.end===void 0?f:Math.min(a.end,c),!e.extend&&f>a&&(c=a,a=f,f=c),c=of(i,f);var m=of(i,a);c&&m&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(t=t.createRange(),t.setStart(c.node,c.offset),e.removeAllRanges(),f>a?(e.addRange(t),e.extend(m.node,m.offset)):(t.setEnd(m.node,m.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<t.length;i++)e=t[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Pv=h&&"documentMode"in document&&11>=document.documentMode,os=null,El=null,pi=null,bl=!1;function uf(e,t,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;bl||os==null||os!==Gt(a)||(a=os,"selectionStart"in a&&_l(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}),pi&&hi(pi,a)||(pi=a,a=Po(El,"onSelect"),0<a.length&&(t=new ml("onSelect","select",null,t,i),e.push({event:t,listeners:a}),t.target=os)))}function Co(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var as={animationend:Co("Animation","AnimationEnd"),animationiteration:Co("Animation","AnimationIteration"),animationstart:Co("Animation","AnimationStart"),transitionend:Co("Transition","TransitionEnd")},Cl={},cf={};h&&(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 Ro(e){if(Cl[e])return Cl[e];if(!as[e])return e;var t=as[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in cf)return Cl[e]=t[i];return e}var df=Ro("animationend"),ff=Ro("animationiteration"),hf=Ro("animationstart"),pf=Ro("transitionend"),mf=new Map,gf="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,t){mf.set(e,t),u(t,[e])}for(var Rl=0;Rl<gf.length;Rl++){var Tl=gf[Rl],Ov=Tl.toLowerCase(),Nv=Tl[0].toUpperCase()+Tl.slice(1);qn(Ov,"on"+Nv)}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 mi="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(" "),Av=new Set("cancel close invalid load scroll toggle".split(" ").concat(mi));function yf(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,Oy(a,t,void 0,e),e.currentTarget=null}function vf(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var a=e[i],c=a.event;a=a.listeners;e:{var f=void 0;if(t)for(var m=a.length-1;0<=m;m--){var w=a[m],_=w.instance,I=w.currentTarget;if(w=w.listener,_!==f&&c.isPropagationStopped())break e;yf(c,w,I),f=_}else for(m=0;m<a.length;m++){if(w=a[m],_=w.instance,I=w.currentTarget,w=w.listener,_!==f&&c.isPropagationStopped())break e;yf(c,w,I),f=_}}}if(co)throw e=il,co=!1,il=null,e}function Ue(e,t){var i=t[Dl];i===void 0&&(i=t[Dl]=new Set);var a=e+"__bubble";i.has(a)||(wf(t,e,2,!1),i.add(a))}function Pl(e,t,i){var a=0;t&&(a|=4),wf(i,e,a,t)}var To="_reactListening"+Math.random().toString(36).slice(2);function gi(e){if(!e[To]){e[To]=!0,o.forEach(function(i){i!=="selectionchange"&&(Av.has(i)||Pl(i,!1,e),Pl(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[To]||(t[To]=!0,Pl("selectionchange",!1,t))}}function wf(e,t,i,a){switch(zd(t)){case 1:var c=Wy;break;case 4:c=Qy;break;default:c=fl}i=c.bind(null,t,i,e),c=void 0,!sl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),a?c!==void 0?e.addEventListener(t,i,{capture:!0,passive:c}):e.addEventListener(t,i,!0):c!==void 0?e.addEventListener(t,i,{passive:c}):e.addEventListener(t,i,!1)}function Ol(e,t,i,a,c){var f=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var m=a.tag;if(m===3||m===4){var w=a.stateNode.containerInfo;if(w===c||w.nodeType===8&&w.parentNode===c)break;if(m===4)for(m=a.return;m!==null;){var _=m.tag;if((_===3||_===4)&&(_=m.stateNode.containerInfo,_===c||_.nodeType===8&&_.parentNode===c))return;m=m.return}for(;w!==null;){if(m=_r(w),m===null)return;if(_=m.tag,_===5||_===6){a=f=m;continue e}w=w.parentNode}}a=a.return}_d(function(){var I=f,V=tl(i),q=[];e:{var $=mf.get(e);if($!==void 0){var Y=ml,ee=e;switch(e){case"keypress":if(ko(i)===0)break e;case"keydown":case"keyup":Y=lv;break;case"focusin":ee="focus",Y=vl;break;case"focusout":ee="blur",Y=vl;break;case"beforeblur":case"afterblur":Y=vl;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":Y=qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=Jy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=dv;break;case df:case ff:case hf:Y=Zy;break;case pf:Y=hv;break;case"scroll":Y=Ky;break;case"wheel":Y=mv;break;case"copy":case"cut":case"paste":Y=tv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Wd}var re=(t&4)!==0,We=!re&&e==="scroll",N=re?$!==null?$+"Capture":null:$;re=[];for(var C=I,L;C!==null;){L=C;var W=L.stateNode;if(L.tag===5&&W!==null&&(L=W,N!==null&&(W=Ys(C,N),W!=null&&re.push(yi(C,W,L)))),We)break;C=C.return}0<re.length&&($=new Y($,ee,null,i,V),q.push({event:$,listeners:re}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",$&&i!==el&&(ee=i.relatedTarget||i.fromElement)&&(_r(ee)||ee[Sn]))break e;if((Y||$)&&($=V.window===V?V:($=V.ownerDocument)?$.defaultView||$.parentWindow:window,Y?(ee=i.relatedTarget||i.toElement,Y=I,ee=ee?_r(ee):null,ee!==null&&(We=kr(ee),ee!==We||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(Y=null,ee=I),Y!==ee)){if(re=qd,W="onMouseLeave",N="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(re=Wd,W="onPointerLeave",N="onPointerEnter",C="pointer"),We=Y==null?$:cs(Y),L=ee==null?$:cs(ee),$=new re(W,C+"leave",Y,i,V),$.target=We,$.relatedTarget=L,W=null,_r(V)===I&&(re=new re(N,C+"enter",ee,i,V),re.target=L,re.relatedTarget=We,W=re),We=W,Y&&ee)t:{for(re=Y,N=ee,C=0,L=re;L;L=ls(L))C++;for(L=0,W=N;W;W=ls(W))L++;for(;0<C-L;)re=ls(re),C--;for(;0<L-C;)N=ls(N),L--;for(;C--;){if(re===N||N!==null&&re===N.alternate)break t;re=ls(re),N=ls(N)}re=null}else re=null;Y!==null&&xf(q,$,Y,re,!1),ee!==null&&We!==null&&xf(q,We,ee,re,!0)}}e:{if($=I?cs(I):window,Y=$.nodeName&&$.nodeName.toLowerCase(),Y==="select"||Y==="input"&&$.type==="file")var se=kv;else if(Yd($))if(ef)se=Cv;else{se=Ev;var ae=_v}else(Y=$.nodeName)&&Y.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(se=bv);if(se&&(se=se(e,I))){Zd(q,se,i,V);break e}ae&&ae(e,$,I),e==="focusout"&&(ae=$._wrapperState)&&ae.controlled&&$.type==="number"&&Xt($,"number",$.value)}switch(ae=I?cs(I):window,e){case"focusin":(Yd(ae)||ae.contentEditable==="true")&&(os=ae,El=I,pi=null);break;case"focusout":pi=El=os=null;break;case"mousedown":bl=!0;break;case"contextmenu":case"mouseup":case"dragend":bl=!1,uf(q,i,V);break;case"selectionchange":if(Pv)break;case"keydown":case"keyup":uf(q,i,V)}var le;if(xl)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else is?Jd(e,i)&&(me="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(me="onCompositionStart");me&&(Qd&&i.locale!=="ko"&&(is||me!=="onCompositionStart"?me==="onCompositionEnd"&&is&&(le=$d()):(Vn=V,pl="value"in Vn?Vn.value:Vn.textContent,is=!0)),ae=Po(I,me),0<ae.length&&(me=new Hd(me,e,null,i,V),q.push({event:me,listeners:ae}),le?me.data=le:(le=Xd(i),le!==null&&(me.data=le)))),(le=yv?vv(e,i):wv(e,i))&&(I=Po(I,"onBeforeInput"),0<I.length&&(V=new Hd("onBeforeInput","beforeinput",null,i,V),q.push({event:V,listeners:I}),V.data=le))}vf(q,t)})}function yi(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Po(e,t){for(var i=t+"Capture",a=[];e!==null;){var c=e,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=Ys(e,i),f!=null&&a.unshift(yi(e,f,c)),f=Ys(e,t),f!=null&&a.push(yi(e,f,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,t,i,a,c){for(var f=t._reactName,m=[];i!==null&&i!==a;){var w=i,_=w.alternate,I=w.stateNode;if(_!==null&&_===a)break;w.tag===5&&I!==null&&(w=I,c?(_=Ys(i,f),_!=null&&m.unshift(yi(i,_,w))):c||(_=Ys(i,f),_!=null&&m.push(yi(i,_,w)))),i=i.return}m.length!==0&&e.push({event:t,listeners:m})}var Lv=/\r\n?/g,jv=/\u0000|\uFFFD/g;function Sf(e){return(typeof e=="string"?e:""+e).replace(Lv,`
38`).replace(jv,"")}function Oo(e,t,i){if(t=Sf(t),Sf(e)!==t&&i)throw Error(s(425))}function No(){}var Nl=null,Al=null;function Ll(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var jl=typeof setTimeout=="function"?setTimeout:void 0,Iv=typeof clearTimeout=="function"?clearTimeout:void 0,kf=typeof Promise=="function"?Promise:void 0,Dv=typeof queueMicrotask=="function"?queueMicrotask:typeof kf<"u"?function(e){return kf.resolve(null).then(e).catch(Uv)}:jl;function Uv(e){setTimeout(function(){throw e})}function Il(e,t){var i=t,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),ai(t);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=c}while(i);ai(t)}function Hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function _f(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(t===0)return e;t--}else i==="/$"&&t++}e=e.previousSibling}return null}var us=Math.random().toString(36).slice(2),dn="__reactFiber$"+us,vi="__reactProps$"+us,Sn="__reactContainer$"+us,Dl="__reactEvents$"+us,Mv="__reactListeners$"+us,Fv="__reactHandles$"+us;function _r(e){var t=e[dn];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Sn]||i[dn]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=_f(e);e!==null;){if(i=e[dn])return i;e=_f(e)}return t}e=i,i=e.parentNode}return null}function wi(e){return e=e[dn]||e[Sn],!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 Ao(e){return e[vi]||null}var Ul=[],ds=-1;function Wn(e){return{current:e}}function Me(e){0>ds||(e.current=Ul[ds],Ul[ds]=null,ds--)}function De(e,t){ds++,Ul[ds]=e.current,e.current=t}var Qn={},ht=Wn(Qn),Et=Wn(!1),Er=Qn;function fs(e,t){var i=e.type.contextTypes;if(!i)return Qn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in i)c[f]=t[f];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=c),c}function bt(e){return e=e.childContextTypes,e!=null}function Lo(){Me(Et),Me(ht)}function Ef(e,t,i){if(ht.current!==Qn)throw Error(s(168));De(ht,t),De(Et,i)}function bf(e,t,i){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var c in a)if(!(c in t))throw Error(s(108,ye(e)||"Unknown",c));return M({},i,a)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qn,Er=ht.current,De(ht,e),De(Et,Et.current),!0}function Cf(e,t,i){var a=e.stateNode;if(!a)throw Error(s(169));i?(e=bf(e,t,Er),a.__reactInternalMemoizedMergedChildContext=e,Me(Et),Me(ht),De(ht,e)):Me(Et),De(Et,i)}var kn=null,Io=!1,Ml=!1;function Rf(e){kn===null?kn=[e]:kn.push(e)}function Bv(e){Io=!0,Rf(e)}function Kn(){if(!Ml&&kn!==null){Ml=!0;var e=0,t=Le;try{var i=kn;for(Le=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}kn=null,Io=!1}catch(c){throw kn!==null&&(kn=kn.slice(e+1)),Td(ol,Kn),c}finally{Le=t,Ml=!1}}return null}var hs=[],ps=0,Do=null,Uo=0,Bt=[],zt=0,br=null,_n=1,En="";function Cr(e,t){hs[ps++]=Uo,hs[ps++]=Do,Do=e,Uo=t}function Tf(e,t,i){Bt[zt++]=_n,Bt[zt++]=En,Bt[zt++]=br,br=e;var a=_n;e=En;var c=32-Yt(a)-1;a&=~(1<<c),i+=1;var f=32-Yt(t)+c;if(30<f){var m=c-c%5;f=(a&(1<<m)-1).toString(32),a>>=m,c-=m,_n=1<<32-Yt(t)+c|i<<c|a,En=f+e}else _n=1<<f|i<<c|a,En=e}function Fl(e){e.return!==null&&(Cr(e,1),Tf(e,1,0))}function Bl(e){for(;e===Do;)Do=hs[--ps],hs[ps]=null,Uo=hs[--ps],hs[ps]=null;for(;e===br;)br=Bt[--zt],Bt[zt]=null,En=Bt[--zt],Bt[zt]=null,_n=Bt[--zt],Bt[zt]=null}var jt=null,It=null,Fe=!1,en=null;function Pf(e,t){var i=Ht(5,null,null,0);i.elementType="DELETED",i.stateNode=t,i.return=e,t=e.deletions,t===null?(e.deletions=[i],e.flags|=16):t.push(i)}function Of(e,t){switch(e.tag){case 5:var i=e.type;return t=t.nodeType!==1||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,jt=e,It=Hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,jt=e,It=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(i=br!==null?{id:_n,overflow:En}:null,e.memoizedState={dehydrated:t,treeContext:i,retryLane:1073741824},i=Ht(18,null,null,0),i.stateNode=t,i.return=e,e.child=i,jt=e,It=null,!0):!1;default:return!1}}function zl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $l(e){if(Fe){var t=It;if(t){var i=t;if(!Of(e,t)){if(zl(e))throw Error(s(418));t=Hn(i.nextSibling);var a=jt;t&&Of(e,t)?Pf(a,i):(e.flags=e.flags&-4097|2,Fe=!1,jt=e)}}else{if(zl(e))throw Error(s(418));e.flags=e.flags&-4097|2,Fe=!1,jt=e}}}function Nf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;jt=e}function Mo(e){if(e!==jt)return!1;
vendor: 4,285 bytes, line 38
38if(!Fe)return Nf(e),Fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ll(e.type,e.memoizedProps)),t&&(t=It)){if(zl(e))throw Af(),Error(s(418));for(;t;)Pf(e,t),t=Hn(t.nextSibling)}if(Nf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(t===0){It=Hn(e.nextSibling);break e}t--}else i!=="$"&&i!=="$!"&&i!=="$?"||t++}e=e.nextSibling}It=null}}else It=jt?Hn(e.stateNode.nextSibling):null;return!0}function Af(){for(var e=It;e;)e=Hn(e.nextSibling)}function ms(){It=jt=null,Fe=!1}function Vl(e){en===null?en=[e]:en.push(e)}var zv=j.ReactCurrentBatchConfig;function xi(e,t,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,f=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===f?t.ref:(t=function(m){var w=c.refs;m===null?delete w[f]:w[f]=m},t._stringRef=f,t)}if(typeof e!="string")throw Error(s(284));if(!i._owner)throw Error(s(290,e))}return e}function Fo(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Lf(e){var t=e._init;return t(e._payload)}function jf(e){function t(N,C){if(e){var L=N.deletions;L===null?(N.deletions=[C],N.flags|=16):L.push(C)}}function i(N,C){if(!e)return null;for(;C!==null;)t(N,C),C=C.sibling;return null}function a(N,C){for(N=new Map;C!==null;)C.key!==null?N.set(C.key,C):N.set(C.index,C),C=C.sibling;return N}function c(N,C){return N=nr(N,C),N.index=0,N.sibling=null,N}function f(N,C,L){return N.index=L,e?(L=N.alternate,L!==null?(L=L.index,L<C?(N.flags|=2,C):L):(N.flags|=2,C)):(N.flags|=1048576,C)}function m(N){return e&&N.alternate===null&&(N.flags|=2),N}function w(N,C,L,W){return C===null||C.tag!==6?(C=ju(L,N.mode,W),C.return=N,C):(C=c(C,L),C.return=N,C)}function _(N,C,L,W){var se=L.type;return se===ue?V(N,C,L.props.children,W,L.key):C!==null&&(C.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Te&&Lf(se)===C.type)?(W=c(C,L.props),W.ref=xi(N,C,L),W.return=N,W):(W=ua(L.type,L.key,L.props,null,N.mode,W),W.ref=xi(N,C,L),W.return=N,W)}function I(N,C,L,W){return C===null||C.tag!==4||C.stateNode.containerInfo!==L.containerInfo||C.stateNode.implementation!==L.implementation?(C=Iu(L,N.mode,W),C.return=N,C):(C=c(C,L.children||[]),C.return=N,C)}function V(N,C,L,W,se){return C===null||C.tag!==7?(C=jr(L,N.mode,W,se),C.return=N,C):(C=c(C,L),C.return=N,C)}function q(N,C,L){if(typeof C=="string"&&C!==""||typeof C=="number")return C=ju(""+C,N.mode,L),C.return=N,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case H:return L=ua(C.type,C.key,C.props,null,N.mode,L),L.ref=xi(N,null,C),L.return=N,L;case Q:return C=Iu(C,N.mode,L),C.return=N,C;case Te:var W=C._init;return q(N,W(C._payload),L)}if(Un(C)||ie(C))return C=jr(C,N.mode,L,null),C.return=N,C;Fo(N,C)}return null}function $(N,C,L,W){var se=C!==null?C.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return se!==null?null:w(N,C,""+L,W);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case H:return L.key===se?_(N,C,L,W):null;case Q:return L.key===se?I(N,C,L,W):null;case Te:return se=L._init,$(N,C,se(L._payload),W)}if(Un(L)||ie(L))return se!==null?null:V(N,C,L,W,null);Fo(N,L)}return null}function Y(N,C,L,W,se){if(typeof W=="string"&&W!==""||typeof W=="number")return N=N.get(L)||null,w(C,N,""+W,se);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case H:return N=N.get(W.key===null?L:W.key)||null,_(C,N,W,se);case Q:return N=N.get(W.key===null?L:W.key)||null,I(C,N,W,se);case Te:var ae=W._init;return Y(N,C,L,ae(W._payload),se)}if(Un(W)||ie(W))return N=N.get(L)||null,V(C,N,W,se,null);Fo(C,W)}return null}function ee(N,C,L,W){for(var se=null,ae=null,le=C,me=C=0,st=null;le!==null&&me<L.length;me++){le.index>me?(st=le,le=null):st=le.sibling;var Pe=$(N,le,L[me],W);if(Pe===null){le===null&&(le=st);break}e&&le&&Pe.alternate===null&&t(N,le),C=f(Pe,C,me),ae===null?se=Pe:ae.sibling=Pe,ae=Pe,le=st}if(me===L.length)return i(N,le),Fe&&Cr(N,me),se;if(le===null){for(;me<L.length;me++)le=q(N,L[me],W),le!==null&&(C=f(le,C,me),ae===null?se=le:ae.sibling=le,ae
vendor: 7,873 bytes, line 38
38=le);return Fe&&Cr(N,me),se}for(le=a(N,le);me<L.length;me++)st=Y(le,N,me,L[me],W),st!==null&&(e&&st.alternate!==null&&le.delete(st.key===null?me:st.key),C=f(st,C,me),ae===null?se=st:ae.sibling=st,ae=st);return e&&le.forEach(function(rr){return t(N,rr)}),Fe&&Cr(N,me),se}function re(N,C,L,W){var se=ie(L);if(typeof se!="function")throw Error(s(150));if(L=se.call(L),L==null)throw Error(s(151));for(var ae=se=null,le=C,me=C=0,st=null,Pe=L.next();le!==null&&!Pe.done;me++,Pe=L.next()){le.index>me?(st=le,le=null):st=le.sibling;var rr=$(N,le,Pe.value,W);if(rr===null){le===null&&(le=st);break}e&&le&&rr.alternate===null&&t(N,le),C=f(rr,C,me),ae===null?se=rr:ae.sibling=rr,ae=rr,le=st}if(Pe.done)return i(N,le),Fe&&Cr(N,me),se;if(le===null){for(;!Pe.done;me++,Pe=L.next())Pe=q(N,Pe.value,W),Pe!==null&&(C=f(Pe,C,me),ae===null?se=Pe:ae.sibling=Pe,ae=Pe);return Fe&&Cr(N,me),se}for(le=a(N,le);!Pe.done;me++,Pe=L.next())Pe=Y(le,N,me,Pe.value,W),Pe!==null&&(e&&Pe.alternate!==null&&le.delete(Pe.key===null?me:Pe.key),C=f(Pe,C,me),ae===null?se=Pe:ae.sibling=Pe,ae=Pe);return e&&le.forEach(function(x0){return t(N,x0)}),Fe&&Cr(N,me),se}function We(N,C,L,W){if(typeof L=="object"&&L!==null&&L.type===ue&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case H:e:{for(var se=L.key,ae=C;ae!==null;){if(ae.key===se){if(se=L.type,se===ue){if(ae.tag===7){i(N,ae.sibling),C=c(ae,L.props.children),C.return=N,N=C;break e}}else if(ae.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Te&&Lf(se)===ae.type){i(N,ae.sibling),C=c(ae,L.props),C.ref=xi(N,ae,L),C.return=N,N=C;break e}i(N,ae);break}else t(N,ae);ae=ae.sibling}L.type===ue?(C=jr(L.props.children,N.mode,W,L.key),C.return=N,N=C):(W=ua(L.type,L.key,L.props,null,N.mode,W),W.ref=xi(N,C,L),W.return=N,N=W)}return m(N);case Q:e:{for(ae=L.key;C!==null;){if(C.key===ae)if(C.tag===4&&C.stateNode.containerInfo===L.containerInfo&&C.stateNode.implementation===L.implementation){i(N,C.sibling),C=c(C,L.children||[]),C.return=N,N=C;break e}else{i(N,C);break}else t(N,C);C=C.sibling}C=Iu(L,N.mode,W),C.return=N,N=C}return m(N);case Te:return ae=L._init,We(N,C,ae(L._payload),W)}if(Un(L))return ee(N,C,L,W);if(ie(L))return re(N,C,L,W);Fo(N,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,C!==null&&C.tag===6?(i(N,C.sibling),C=c(C,L),C.return=N,N=C):(i(N,C),C=ju(L,N.mode,W),C.return=N,N=C),m(N)):i(N,C)}return We}var gs=jf(!0),If=jf(!1),Bo=Wn(null),zo=null,ys=null,ql=null;function Hl(){ql=ys=zo=null}function Wl(e){var t=Bo.current;Me(Bo),e._currentValue=t}function Ql(e,t,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===i)break;e=e.return}}function vs(e,t){zo=e,ql=ys=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ct=!0),e.firstContext=null)}function $t(e){var t=e._currentValue;if(ql!==e)if(e={context:e,memoizedValue:t,next:null},ys===null){if(zo===null)throw Error(s(308));ys=e,zo.dependencies={lanes:0,firstContext:e}}else ys=ys.next=e;return t}var Rr=null;function Kl(e){Rr===null?Rr=[e]:Rr.push(e)}function Df(e,t,i,a){var c=t.interleaved;return c===null?(i.next=i,Kl(t)):(i.next=c.next,c.next=i),t.interleaved=i,bn(e,a)}function bn(e,t){e.lanes|=t;var i=e.alternate;for(i!==null&&(i.lanes|=t),i=e,e=e.return;e!==null;)e.childLanes|=t,i=e.alternate,i!==null&&(i.childLanes|=t),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Gn=!1;function Gl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Uf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jn(e,t,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Re&2)!==0){var c=a.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),a.pending=t,bn(e,i)}return c=a.interleaved,c===null?(t.next=t,Kl(a)):(t.next=c.next,c.next=t),a.interleaved=t,bn(e,i)}function $o(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,i|=a,t.lanes=i,ul(e,i)}}function Mf(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var c=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var m={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};f===null?c=f=m:f=f.next=m,i=i.next}while(i!==null);f===null?c=f=t:f=f.next=t}else c=f=t;i={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function Vo(e,t,i,a){var c=e.updateQueue;Gn=!1;var f=c.firstBaseUpdate,m=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var _=w,I=_.next;_.next=null,m===null?f=I:m.next=I,m=_;var V=e.alternate;V!==null&&(V=V.updateQueue,w=V.lastBaseUpdate,w!==m&&(w===null?V.firstBaseUpdate=I:w.next=I,V.lastBaseUpdate=_))}if(f!==null){var q=c.baseState;m=0,V=I=_=null,w=f;do{var $=w.lane,Y=w.eventTime;if((a&$)===$){V!==null&&(V=V.next={eventTime:Y,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var ee=e,re=w;switch($=t,Y=i,re.tag){case 1:if(ee=re.payload,typeof ee=="function"){q=ee.call(Y,q,$);break e}q=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=re.payload,$=typeof ee=="function"?ee.call(Y,q,$):ee,$==null)break e;q=M({},q,$);break e;case 2:Gn=!0}}w.callback!==null&&w.lane!==0&&(e.flags|=64,$=c.effects,$===null?c.effects=[w]:$.push(w))}else Y={eventTime:Y,lane:$,tag:w.tag,payload:w.payload,callback:w.callback,next:null},V===null?(I=V=Y,_=q):V=V.next=Y,m|=$;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;$=w,w=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);if(V===null&&(_=q),c.baseState=_,c.firstBaseUpdate=I,c.lastBaseUpdate=V,t=c.shared.interleaved,t!==null){c=t;do m|=c.lane,c=c.next;while(c!==t)}else f===null&&(c.shared.lanes=0);Or|=m,e.lanes=m,e.memoizedState=q}}function Ff(e,t,i){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],c=a.callback;if(c!==null){if(a.callback=null,a=i,typeof c!="function")throw Error(s(191,c));c.call(a)}}}var Si={},fn=Wn(Si),ki=Wn(Si),_i=Wn(Si);function Tr(e){if(e===Si)throw Error(s(174));return e}function Jl(e,t){switch(De(_i,t),De(ki,e),De(fn,Si),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xa(t,e)}Me(fn),De(fn,t)}function ws(){Me(fn),Me(ki),Me(_i)}function Bf(e){Tr(_i.current);var t=Tr(fn.current),i=Xa(t,e.type);t!==i&&(De(ki,e),De(fn,i))}function Xl(e){ki.current===e&&(Me(fn),Me(ki))}var Be=Wn(0);function qo(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Yl=[];function Zl(){for(var e=0;e<Yl.length;e++)Yl[e]._workInProgressVersionPrimary=null;Yl.length=0}var Ho=j.ReactCurrentDispatcher,eu=j.ReactCurrentBatchConfig,Pr=0,ze=null,Xe=null,nt=null,Wo=!1,Ei=!1,bi=0,$v=0;function pt(){throw Error(s(321))}function tu(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!Zt(e[i],t[i]))return!1;return!0}function nu(e,t,i,a,c,f){if(Pr=f,ze=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ho.current=e===null||e.memoizedState===null?Wv:Qv,e=i(a,c
vendor: 6,619 bytes, line 38
38),Ei){f=0;do{if(Ei=!1,bi=0,25<=f)throw Error(s(301));f+=1,nt=Xe=null,t.updateQueue=null,Ho.current=Kv,e=i(a,c)}while(Ei)}if(Ho.current=Go,t=Xe!==null&&Xe.next!==null,Pr=0,nt=Xe=ze=null,Wo=!1,t)throw Error(s(300));return e}function ru(){var e=bi!==0;return bi=0,e}function hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?ze.memoizedState=nt=e:nt=nt.next=e,nt}function Vt(){if(Xe===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var t=nt===null?ze.memoizedState:nt.next;if(t!==null)nt=t,Xe=e;else{if(e===null)throw Error(s(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},nt===null?ze.memoizedState=nt=e:nt=nt.next=e}return nt}function Ci(e,t){return typeof t=="function"?t(e):t}function su(e){var t=Vt(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=Xe,c=a.baseQueue,f=i.pending;if(f!==null){if(c!==null){var m=c.next;c.next=f.next,f.next=m}a.baseQueue=c=f,i.pending=null}if(c!==null){f=c.next,a=a.baseState;var w=m=null,_=null,I=f;do{var V=I.lane;if((Pr&V)===V)_!==null&&(_=_.next={lane:0,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),a=I.hasEagerState?I.eagerState:e(a,I.action);else{var q={lane:V,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null};_===null?(w=_=q,m=a):_=_.next=q,ze.lanes|=V,Or|=V}I=I.next}while(I!==null&&I!==f);_===null?m=a:_.next=w,Zt(a,t.memoizedState)||(Ct=!0),t.memoizedState=a,t.baseState=m,t.baseQueue=_,i.lastRenderedState=a}if(e=i.interleaved,e!==null){c=e;do f=c.lane,ze.lanes|=f,Or|=f,c=c.next;while(c!==e)}else c===null&&(i.lanes=0);return[t.memoizedState,i.dispatch]}function iu(e){var t=Vt(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=i.dispatch,c=i.pending,f=t.memoizedState;if(c!==null){i.pending=null;var m=c=c.next;do f=e(f,m.action),m=m.next;while(m!==c);Zt(f,t.memoizedState)||(Ct=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),i.lastRenderedState=f}return[f,a]}function zf(){}function $f(e,t){var i=ze,a=Vt(),c=t(),f=!Zt(a.memoizedState,c);if(f&&(a.memoizedState=c,Ct=!0),a=a.queue,ou(Hf.bind(null,i,a,e),[e]),a.getSnapshot!==t||f||nt!==null&&nt.memoizedState.tag&1){if(i.flags|=2048,Ri(9,qf.bind(null,i,a,c,t),void 0,null),rt===null)throw Error(s(349));(Pr&30)!==0||Vf(i,t,c)}return c}function Vf(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=ze.updateQueue,t===null?(t={lastEffect:null,stores:null},ze.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function qf(e,t,i,a){t.value=i,t.getSnapshot=a,Wf(t)&&Qf(e)}function Hf(e,t,i){return i(function(){Wf(t)&&Qf(e)})}function Wf(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Zt(e,i)}catch{return!0}}function Qf(e){var t=bn(e,1);t!==null&&sn(t,e,1,-1)}function Kf(e){var t=hn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:e},t.queue=e,e=e.dispatch=Hv.bind(null,ze,e),[t.memoizedState,e]}function Ri(e,t,i,a){return e={tag:e,create:t,destroy:i,deps:a,next:null},t=ze.updateQueue,t===null?(t={lastEffect:null,stores:null},ze.updateQueue=t,t.lastEffect=e.next=e):(i=t.lastEffect,i===null?t.lastEffect=e.next=e:(a=i.next,i.next=e,e.next=a,t.lastEffect=e)),e}function Gf(){return Vt().memoizedState}function Qo(e,t,i,a){var c=hn();ze.flags|=e,c.memoizedState=Ri(1|t,i,void 0,a===void 0?null:a)}function Ko(e,t,i,a){var c=Vt();a=a===void 0?null:a;var f=void 0;if(Xe!==null){var m=Xe.memoizedState;if(f=m.destroy,a!==null&&tu(a,m.deps)){c.memoizedState=Ri(t,i,f,a);return}}ze.flags|=e,c.memoizedState=Ri(1|t,i,f,a)}function Jf(e,t){return Qo(8390656,8,e,t)}function ou(e,t){return Ko(2048,8,e,t)}function Xf(e,t){return Ko(4,2,e,t)}function Yf(e,t){return Ko(4,4,e,t)}function Zf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function eh(e,t,i){return i=i!=null?i.concat([e]):null,Ko(4,4,Zf.bind(null,t,e),i)}function au(){}function th(e,t){var i=Vt();t=t===void 0?null:t;var a=i.memoizedState;return a!==null&&t!==null&&tu(t,a[1])?a[0]:(i.memoizedState=[e,t],e)}function nh(e,t){var i=Vt();t=t===void 0?null:t;var a=i.memoizedState;return a!==null&&t!==null&&tu(t,a[1])?a[0]:(e=e(),i.memoizedState=[e,t],e)}function rh(e,t,i){return(Pr&21)===0?(e.baseState&&(e.baseState=!1,Ct=!0),e.memoizedState=i):(Zt(i,t)||(i=Ad(),ze.lanes|=i,Or|=i,e.baseState=!0),t)}function Vv(e,t){var i=Le;Le=i!==0&&4>i?i:4,e(!0);var a=eu.transition;eu.transition={};try{e(!1),t()}finally{Le=i,eu.transition=a}}function sh(){return Vt().memoizedState}function qv(e,t,i){var a=er(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},ih(e))oh(t,i);else if(i=Df(e,t,i,a),i!==null){var c=St();sn(i,e,a,c),ah(i,t,a)}}function Hv(e,t,i){var a=er(e),c={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(ih(e))oh(t,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var m=t.lastRenderedState,w=f(m,i);if(c.hasEagerState=!0,c.eagerState=w,Zt(w,m)){var _=t.interleaved;_===null?(c.next=c,Kl(t)):(c.next=_.next,_.next=c),t.interleaved=c;return}}catch{}finally{}i=Df(e,t,c,a),i!==null&&(c=St(),sn(i,e,a,c),ah(i,t,a))}}function ih(e){var t=e.alternate;return e===ze||t!==null&&t===ze}function oh(e,t){Ei=Wo=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function ah(e,t,i){if((i&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,i|=a,t.lanes=i,ul(e,i)}}var Go={readContext:$t,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},Wv={readContext:$t,useCallback:function(e,t){return hn().memoizedState=[e,t===void 0?null:t],e},useContext:$t,useEffect:Jf,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,Qo(4194308,4,Zf.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var i=hn();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var a=hn();return t=i!==void 0?i(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=qv.bind(null,ze,e),[a.memoizedState,e]}
vendor: 7,454 bytes, lines 38-40
38,useRef:function(e){var t=hn();return e={current:e},t.memoizedState=e},useState:Kf,useDebugValue:au,useDeferredValue:function(e){return hn().memoizedState=e},useTransition:function(){var e=Kf(!1),t=e[0];return e=Vv.bind(null,e[1]),hn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var a=ze,c=hn();if(Fe){if(i===void 0)throw Error(s(407));i=i()}else{if(i=t(),rt===null)throw Error(s(349));(Pr&30)!==0||Vf(a,t,i)}c.memoizedState=i;var f={value:i,getSnapshot:t};return c.queue=f,Jf(Hf.bind(null,a,f,e),[e]),a.flags|=2048,Ri(9,qf.bind(null,a,f,i,t),void 0,null),i},useId:function(){var e=hn(),t=rt.identifierPrefix;if(Fe){var i=En,a=_n;i=(a&~(1<<32-Yt(a)-1)).toString(32)+i,t=":"+t+"R"+i,i=bi++,0<i&&(t+="H"+i.toString(32)),t+=":"}else i=$v++,t=":"+t+"r"+i.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Qv={readContext:$t,useCallback:th,useContext:$t,useEffect:ou,useImperativeHandle:eh,useInsertionEffect:Xf,useLayoutEffect:Yf,useMemo:nh,useReducer:su,useRef:Gf,useState:function(){return su(Ci)},useDebugValue:au,useDeferredValue:function(e){var t=Vt();return rh(t,Xe.memoizedState,e)},useTransition:function(){var e=su(Ci)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:zf,useSyncExternalStore:$f,useId:sh,unstable_isNewReconciler:!1},Kv={readContext:$t,useCallback:th,useContext:$t,useEffect:ou,useImperativeHandle:eh,useInsertionEffect:Xf,useLayoutEffect:Yf,useMemo:nh,useReducer:iu,useRef:Gf,useState:function(){return iu(Ci)},useDebugValue:au,useDeferredValue:function(e){var t=Vt();return Xe===null?t.memoizedState=e:rh(t,Xe.memoizedState,e)},useTransition:function(){var e=iu(Ci)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:zf,useSyncExternalStore:$f,useId:sh,unstable_isNewReconciler:!1};function tn(e,t){if(e&&e.defaultProps){t=M({},t),e=e.defaultProps;for(var i in e)t[i]===void 0&&(t[i]=e[i]);return t}return t}function lu(e,t,i,a){t=e.memoizedState,i=i(a,t),i=i==null?t:M({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Jo={isMounted:function(e){return(e=e._reactInternals)?kr(e)===e:!1},enqueueSetState:function(e,t,i){e=e._reactInternals;var a=St(),c=er(e),f=Cn(a,c);f.payload=t,i!=null&&(f.callback=i),t=Jn(e,f,c),t!==null&&(sn(t,e,c,a),$o(t,e,c))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var a=St(),c=er(e),f=Cn(a,c);f.tag=1,f.payload=t,i!=null&&(f.callback=i),t=Jn(e,f,c),t!==null&&(sn(t,e,c,a),$o(t,e,c))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=St(),a=er(e),c=Cn(i,a);c.tag=2,t!=null&&(c.callback=t),t=Jn(e,c,a),t!==null&&(sn(t,e,a,i),$o(t,e,a))}};function lh(e,t,i,a,c,f,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,f,m):t.prototype&&t.prototype.isPureReactComponent?!hi(i,a)||!hi(c,f):!0}function uh(e,t,i){var a=!1,c=Qn,f=t.contextType;return typeof f=="object"&&f!==null?f=$t(f):(c=bt(t)?Er:ht.current,a=t.contextTypes,f=(a=a!=null)?fs(e,c):Qn),t=new t(i,f),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Jo,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=f),t}function ch(e,t,i,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,a),t.state!==e&&Jo.enqueueReplaceState(t,t.state,null)}function uu(e,t,i,a){var c=e.stateNode;c.props=i,c.state=e.memoizedState,c.refs={},Gl(e);var f=t.contextType;typeof f=="object"&&f!==null?c.context=$t(f):(f=bt(t)?Er:ht.current,c.context=fs(e,f)),c.state=e.memoizedState,f=t.getDerivedStateFromProps,typeof f=="function"&&(lu(e,t,f,i),c.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(t=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),t!==c.state&&Jo.enqueueReplaceState(c,c.state,null),Vo(e,i,c,a),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function xs(e,t){try{var i="",a=t;do i+=ce(a),a=a.return;while(a);var c=i}catch(f){c=`
39Error generating stack: `+f.message+`
40`+f.stack}return{value:e,source:t,stack:c,digest:null}}function cu(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function du(e,t){try{console.error(t.value)}catch(i){setTimeout(function(){throw i})}}var Gv=typeof WeakMap=="function"?WeakMap:Map;function dh(e,t,i){i=Cn(-1,i),i.tag=3,i.payload={element:null};var a=t.value;return i.callback=function(){ra||(ra=!0,Cu=a),du(e,t)},i}function fh(e,t,i){i=Cn(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var c=t.value;i.payload=function(){return a(c)},i.callback=function(){du(e,t)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(i.callback=function(){du(e,t),typeof a!="function"&&(Yn===null?Yn=new Set([this]):Yn.add(this));var m=t.stack;this.componentDidCatch(t.value,{componentStack:m!==null?m:""})}),i}function hh(e,t,i){var a=e.pingCache;if(a===null){a=e.pingCache=new Gv;var c=new Set;a.set(t,c)}else c=a.get(t),c===void 0&&(c=new Set,a.set(t,c));c.has(i)||(c.add(i),e=u0.bind(null,e,t,i),t.then(e,e))}function ph(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function mh(e,t,i,a,c){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(t=Cn(-1,1),t.tag=2,Jn(i,t,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var Jv=j.ReactCurrentOwner,Ct=!1;function xt(e,t,i,a){t.child=e===null?If(t,null,i,a):gs(t,e.child,i,a)}function gh(e,t,i,a,c){i=i.render;var f=t.ref;return vs(t,c),a=nu(e,t,i,a,f,c),i=ru(),e!==null&&!Ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~c,Rn(e,t,c)):(Fe&&i&&Fl(t),t.flags|=1,xt(e,t,a,c),t.child)}function yh(e,t,i,a,c){if(e===null){var f=i.type;return typeof f=="function"&&!Lu(f)&&f.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(t.tag=15,t.type=f,vh(e,t,f,a,c)):(e=ua(i.type,null,a,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,(e.lanes&c)===0){var m=f.memoizedProps;if(i=i.compare,i=i!==null?i:hi,i(m,a)&&e.ref===t.ref)return Rn(e,t,c)}return t.flags|=1,e=nr(f,a),e.ref=t.ref,e.return=t,t.child=e}function vh(e,t,i,a,c){if(e!==null){var f=e.memoizedProps;if(hi(f,a)&&e.ref===t.ref)if(Ct=!1,t.pendingProps=a=f,(e.lanes&c)!==0)(e.flags&131072)!==0&&(Ct=!0);else return t.lanes=e.lanes,Rn(e,t,c)}return fu(e,t,i,a,c)}function wh(e,t,i){var a=t.pendingProps,c=a.children,f=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(ks,Dt),Dt|=i;else{if((i&1073741824)===0)return e=f!==null?f.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,De(ks,Dt),Dt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=f!==null?f.baseLanes:i,De(ks,Dt),Dt|=a}else f!==null?(a=f.baseLanes|i,t.memoizedState=null):a=i,De(ks,Dt),Dt|=a;return xt(e,t,c,i),t.child}function xh(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}
vendor: 37,419 bytes, line 40
40function fu(e,t,i,a,c){var f=bt(i)?Er:ht.current;return f=fs(t,f),vs(t,c),i=nu(e,t,i,a,f,c),a=ru(),e!==null&&!Ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~c,Rn(e,t,c)):(Fe&&a&&Fl(t),t.flags|=1,xt(e,t,i,c),t.child)}function Sh(e,t,i,a,c){if(bt(i)){var f=!0;jo(t)}else f=!1;if(vs(t,c),t.stateNode===null)Yo(e,t),uh(t,i,a),uu(t,i,a,c),a=!0;else if(e===null){var m=t.stateNode,w=t.memoizedProps;m.props=w;var _=m.context,I=i.contextType;typeof I=="object"&&I!==null?I=$t(I):(I=bt(i)?Er:ht.current,I=fs(t,I));var V=i.getDerivedStateFromProps,q=typeof V=="function"||typeof m.getSnapshotBeforeUpdate=="function";q||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(w!==a||_!==I)&&ch(t,m,a,I),Gn=!1;var $=t.memoizedState;m.state=$,Vo(t,a,m,c),_=t.memoizedState,w!==a||$!==_||Et.current||Gn?(typeof V=="function"&&(lu(t,i,V,a),_=t.memoizedState),(w=Gn||lh(t,i,w,a,$,_,I))?(q||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=_),m.props=a,m.state=_,m.context=I,a=w):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{m=t.stateNode,Uf(e,t),w=t.memoizedProps,I=t.type===t.elementType?w:tn(t.type,w),m.props=I,q=t.pendingProps,$=m.context,_=i.contextType,typeof _=="object"&&_!==null?_=$t(_):(_=bt(i)?Er:ht.current,_=fs(t,_));var Y=i.getDerivedStateFromProps;(V=typeof Y=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(w!==q||$!==_)&&ch(t,m,a,_),Gn=!1,$=t.memoizedState,m.state=$,Vo(t,a,m,c);var ee=t.memoizedState;w!==q||$!==ee||Et.current||Gn?(typeof Y=="function"&&(lu(t,i,Y,a),ee=t.memoizedState),(I=Gn||lh(t,i,I,a,$,ee,_)||!1)?(V||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(a,ee,_),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(a,ee,_)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=ee),m.props=a,m.state=ee,m.context=_,a=I):(typeof m.componentDidUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||w===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),a=!1)}return hu(e,t,i,a,f,c)}function hu(e,t,i,a,c,f){xh(e,t);var m=(t.flags&128)!==0;if(!a&&!m)return c&&Cf(t,i,!1),Rn(e,t,f);a=t.stateNode,Jv.current=t;var w=m&&typeof i.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&m?(t.child=gs(t,e.child,null,f),t.child=gs(t,null,w,f)):xt(e,t,w,f),t.memoizedState=a.state,c&&Cf(t,i,!0),t.child}function kh(e){var t=e.stateNode;t.pendingContext?Ef(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ef(e,t.context,!1),Jl(e,t.containerInfo)}function _h(e,t,i,a,c){return ms(),Vl(c),t.flags|=256,xt(e,t,i,a),t.child}var pu={dehydrated:null,treeContext:null,retryLane:0};function mu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Eh(e,t,i){var a=t.pendingProps,c=Be.current,f=!1,m=(t.flags&128)!==0,w;if((w=m)||(w=e!==null&&e.memoizedState===null?!1:(c&2)!==0),w?(f=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),De(Be,c&1),e===null)return $l(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(m=a.children,e=a.fallback,f?(a=t.mode,f=t.child,m={mode:"hidden",children:m},(a&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=m):f=ca(m,a,0,null),e=jr(e,a,i,null),f.return=t,e.return=t,f.sibling=e,t.child=f,t.child.memoizedState=mu(i),t.memoizedState=pu,e):gu(t,m));if(c=e.memoizedState,c!==null&&(w=c.dehydrated,w!==null))return Xv(e,t,m,a,w,c,i);if(f){f=a.fallback,m=t.mode,c=e.child,w=c.sibling;var _={mode:"hidden",children:a.children};return(m&1)===0&&t.child!==c?(a=t.child,a.childLanes=0,a.pendingProps=_,t.deletions=null):(a=nr(c,_),a.subtreeFlags=c.subtreeFlags&14680064),w!==null?f=nr(w,f):(f=jr(f,m,i,null),f.flags|=2),f.return=t,a.return=t,a.sibling=f,t.child=a,a=f,f=t.child,m=e.child.memoizedState,m=m===null?mu(i):{baseLanes:m.baseLanes|i,cachePool:null,transitions:m.transitions},f.memoizedState=m,f.childLanes=e.childLanes&~i,t.memoizedState=pu,a}return f=e.child,e=f.sibling,a=nr(f,{mode:"visible",children:a.children}),(t.mode&1)===0&&(a.lanes=i),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a}function gu(e,t){return t=ca({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xo(e,t,i,a){return a!==null&&Vl(a),gs(t,e.child,null,i),e=gu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xv(e,t,i,a,c,f,m){if(i)return t.flags&256?(t.flags&=-257,a=cu(Error(s(422))),Xo(e,t,m,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(f=a.fallback,c=t.mode,a=ca({mode:"visible",children:a.children},c,0,null),f=jr(f,c,m,null),f.flags|=2,a.return=t,f.return=t,a.sibling=f,t.child=a,(t.mode&1)!==0&&gs(t,e.child,null,m),t.child.memoizedState=mu(m),t.memoizedState=pu,f);if((t.mode&1)===0)return Xo(e,t,m,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var w=a.dgst;return a=w,f=Error(s(419)),a=cu(f,a,void 0),Xo(e,t,m,a)}if(w=(m&e.childLanes)!==0,Ct||w){if(a=rt,a!==null){switch(m&-m){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|m))!==0?0:c,c!==0&&c!==f.retryLane&&(f.retryLane=c,bn(e,c),sn(a,e,c,-1))}return Au(),a=cu(Error(s(421))),Xo(e,t,m,a)}return c.data==="$?"?(t.flags|=128,t.child=e.child,t=c0.bind(null,e),c._reactRetry=t,null):(e=f.treeContext,It=Hn(c.nextSibling),jt=t,Fe=!0,en=null,e!==null&&(Bt[zt++]=_n,Bt[zt++]=En,Bt[zt++]=br,_n=e.id,En=e.overflow,br=t),t=gu(t,a.children),t.flags|=4096,t)}function bh(e,t,i){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ql(e.return,t,i)}function yu(e,t,i,a,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:c}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=i,f.tailMode=c)}function Ch(e,t,i){var a=t.pendingProps,c=a.revealOrder,f=a.tail;if(xt(e,t,a.children,i),a=Be.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&bh(e,i,t);else if(e.tag===19)bh(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(De(Be,a),(t.mode&1)===0)t.memoizedState=null;else switch(c){case"forwards":for(i=t.child,c=null;i!==null;)e=i.alternate,e!==null&&qo(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=t.child,t.child=null):(c=i.sibling,i.sibling=null),yu(t,!1,c,i,f);break;case"backwards":for(i=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&qo(e)===null){t.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}yu(t,!0,i,null,f);break;case"together":yu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Yo(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Rn(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Or|=t.lanes,(i&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,i=nr(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=nr(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Yv(e,t,i){switch(t.tag){case 3:kh(t),ms();break;case 5:Bf(t);break;case 1:bt(t.type)&&jo(t);break;case 4:Jl(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,c=t.memoizedProps.value;De(Bo,a._currentValue),a._currentValue=c;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(De(Be,Be.current&1),t.flags|=128,null):(i&t.child.childLanes)!==0?Eh(e,t,i):(De(Be,Be.current&1),e=Rn(e,t,i),e!==null?e.sibling:null);De(Be,Be.current&1);break;case 19:if(a=(i&t.childLanes)!==0,(e.flags&128)!==0){if(a)return Ch(e,t,i);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),De(Be,Be.current),a)break;return null;case 22:case 23:return t.lanes=0,wh(e,t,i)}return Rn(e,t,i)}var Rh,vu,Th,Ph;Rh=function(e,t){for(var i=t.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===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},vu=function(){},Th=function(e,t,i,a){var c=e.memoizedProps;if(c!==a){e=t.stateNode,Tr(fn.current);var f=null;switch(i){case"input":c=Mt(e,c),a=Mt(e,a),f=[];break;case"select":c=M({},c,{value:void 0}),a=M({},a,{value:void 0}),f=[];break;case"textarea":c=xn(e,c),a=xn(e,a),f=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=No)}Ya(i,a);var m;i=null;for(I in c)if(!a.hasOwnProperty(I)&&c.hasOwnProperty(I)&&c[I]!=null)if(I==="style"){var w=c[I];for(m in w)w.hasOwnProperty(m)&&(i||(i={}),i[m]="")}else I!=="dangerouslySetInnerHTML"&&I!=="children"&&I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&I!=="autoFocus"&&(l.hasOwnProperty(I)?f||(f=[]):(f=f||[]).push(I,null));for(I in a){var _=a[I];if(w=c!=null?c[I]:void 0,a.hasOwnProperty(I)&&_!==w&&(_!=null||w!=null))if(I==="style")if(w){for(m in w)!w.hasOwnProperty(m)||_&&_.hasOwnProperty(m)||(i||(i={}),i[m]="");for(m in _)_.hasOwnProperty(m)&&w[m]!==_[m]&&(i||(i={}),i[m]=_[m])}else i||(f||(f=[]),f.push(I,i)),i=_;else I==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,w=w?w.__html:void 0,_!=null&&w!==_&&(f=f||[]).push(I,_)):I==="children"?typeof _!="string"&&typeof _!="number"||(f=f||[]).push(I,""+_):I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&(l.hasOwnProperty(I)?(_!=null&&I==="onScroll"&&Ue("scroll",e),f||w===_||(f=[])):(f=f||[]).push(I,_))}i&&(f=f||[]).push("style",i);var I=f;(t.updateQueue=I)&&(t.flags|=4)}},Ph=function(e,t,i,a){i!==a&&(t.flags|=4)};function Ti(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.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?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function mt(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(t)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,t}function Zv(e,t,i){var a=t.pendingProps;switch(Bl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(t),null;case 1:return bt(t.type)&&Lo(),mt(t),null;case 3:return a=t.stateNode,ws(),Me(Et),Me(ht),Zl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Mo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,en!==null&&(Pu(en),en=null))),vu(e,t),mt(t),null;case 5:Xl(t);var c=Tr(_i.current);if(i=t.type,e!==null&&t.stateNode!=null)Th(e,t,i,a,c),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(s(166));return mt(t),null}if(e=Tr(fn.current),Mo(t)){a=t.stateNode,i=t.type;var f=t.memoizedProps;switch(a[dn]=t,a[vi]=f,e=(t.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<mi.length;c++)Ue(mi[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":Ft(a,f),Ue("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!f.multiple},Ue("invalid",a);break;case"textarea":dd(a,f),Ue("invalid",a)}Ya(i,f),c=null;for(var m in f)if(f.hasOwnProperty(m)){var w=f[m];m==="children"?typeof w=="string"?a.textContent!==w&&(f.suppressHydrationWarning!==!0&&Oo(a.textContent,w,e),c=["children",w]):typeof w=="number"&&a.textContent!==""+w&&(f.suppressHydrationWarning!==!0&&Oo(a.textContent,w,e),c=["children",""+w]):l.hasOwnProperty(m)&&w!=null&&m==="onScroll"&&Ue("scroll",a)}switch(i){case"input":Ut(a),Jt(a,f,!0);break;case"textarea":Ut(a),hd(a);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(a.onclick=No)}a=c,t.updateQueue=a,a!==null&&(t.flags|=4)}else{m=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=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=m.createElement(i,{is:a.is}):(e=m.createElement(i),i==="select"&&(m=e,a.multiple?m.multiple=!0:a.size&&(m.size=a.size))):e=m.createElementNS(e,i),e[dn]=t,e[vi]=a,Rh(e,t,!1,!1),t.stateNode=e;e:{switch(m=Za(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<mi.length;c++)Ue(mi[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":Ft(e,a),c=Mt(e,a),Ue("invalid",e);break;case"option":c=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},c=M({},a,{value:void 0}),Ue("invalid",e);break;case"textarea":dd(e,a),c=xn(e,a),Ue("invalid",e);break;default:c=a}Ya(i,c),w=c;for(f in w)if(w.hasOwnProperty(f)){var _=w[f];f==="style"?yd(e,_):f==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&md(e,_)):f==="children"?typeof _=="string"?(i!=="textarea"||_!=="")&&Js(e,_):typeof _=="number"&&Js(e,""+_):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(l.hasOwnProperty(f)?_!=null&&f==="onScroll"&&Ue("scroll",e):_!=null&&A(e,f,_,m))}switch(i){case"input":Ut(e),Jt(e,a,!1);break;case"textarea":Ut(e),hd(e);break;case"option":a.value!=null&&e.setAttribute("value",""+_e(a.value));break;case"select":e.multiple=!!a.multiple,f=a.value,f!=null?Mn(e,!!a.multiple,f,!1):a.defaultValue!=null&&Mn(e,!!a.multiple,a.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=No)}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&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return mt(t),null;case 6:if(e&&t.stateNode!=null)Ph(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(s(166));if(i=Tr(_i.current),Tr(fn.current),Mo(t)){if(a=t.stateNode,i=t.memoizedProps,a[dn]=t,(f=a.nodeValue!==i)&&(e=jt,e!==null))switch(e.tag){case 3:Oo(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Oo(a.nodeValue,i,(e.mode&1)!==0)}f&&(t.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[dn]=t,t.stateNode=a}return mt(t),null;case 13:if(Me(Be),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&It!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Af(),ms(),t.flags|=98560,f=!1;else if(f=Mo(t),a!==null&&a.dehydrated!==null){if(e===null){if(!f)throw Error(s(318));if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(s(317));f[dn]=t}else ms(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;mt(t),f=!1}else en!==null&&(Pu(en),en=null),f=!0;if(!f)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=i,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Be.current&1)!==0?Ye===0&&(Ye=3):Au())),t.updateQueue!==null&&(t.flags|=4),mt(t),null);case 4:return ws(),vu(e,t),e===null&&gi(t.stateNode.containerInfo),mt(t),null;case 10:return Wl(t.type._context),mt(t),null;case 17:return bt(t.type)&&Lo(),mt(t),null;case 19:if(Me(Be),f=t.memoizedState,f===null)return mt(t),null;if(a=(t.flags&128)!==0,m=f.rendering,m===null)if(a)Ti(f,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=qo(e),m!==null){for(t.flags|=128,Ti(f,!1),a=m.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=i,i=t.child;i!==null;)f=i,e=a,f.flags&=14680066,m=f.alternate,m===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=m.childLanes,f.lanes=m.lanes,f.child=m.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=m.memoizedProps,f.memoizedState=m.memoizedState,f.updateQueue=m.updateQueue,f.type=m.type,e=m.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return De(Be,Be.current&1|2),t.child}e=e.sibling}f.tail!==null&&He()>_s&&(t.flags|=128,a=!0,Ti(f,!1),t.lanes=4194304)}else{if(!a)if(e=qo(m),e!==null){if(t.flags|=128,a=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),Ti(f,!0),f.tail===null&&f.tailMode==="hidden"&&!m.alternate&&!Fe)return mt(t),null}else 2*He()-f.renderingStartTime>_s&&i!==1073741824&&(t.flags|=128,a=!0,Ti(f,!1),t.lanes=4194304);f.isBackwards?(m.sibling=t.child,t.child=m):(i=f.last,i!==null?i.sibling=m:t.child=m,f.last=m)}return f.tail!==null?(t=f.tail,f.rendering=t,f.tail=t.sibling,f.renderingStartTime=He(),t.sibling=null,i=Be.current,De(Be,a?i&1|2:i&1),t):(mt(t),null);case 22:case 23:return Nu(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(Dt&1073741824)!==0&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function e0(e,t){switch(Bl(t),t.tag){case 1:return bt(t.type)&&Lo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ws(),Me(Et),Me(ht),Zl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Xl(t),null;case 13:if(Me(Be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));ms()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(Be),null;case 4:return ws(),null;case 10:return Wl(t.type._context),null;case 22:case 23:return Nu(),null;case 24:return null;default:return null}}var Zo=!1,gt=!1,t0=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Ss(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){Ve(e,t,a)}else i.current=null}function wu(e,t,i){try{i()}catch(a){Ve(e,t,a)}}var Oh=!1;function n0(e,t){if(Nl=wo,e=lf(),_l(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,f=a.focusNode;a=a.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var m=0,w=-1,_=-1,I=0,V=0,q=e,$=null;t:for(;;){for(var Y;q!==i||c!==0&&q.nodeType!==3||(w=m+c),q!==f||a!==0&&q.nodeType!==3||(_=m+a),q.nodeType===3&&(m+=q.nodeValue.length),(Y=q.firstChild)!==null;)$=q,q=Y;for(;;){if(q===e)break t;if($===i&&++I===c&&(w=m),$===f&&++V===a&&(_=m),(Y=q.nextSibling)!==null)break;q=$,$=q.parentNode}q=Y}i=w===-1||_===-1?null:{start:w,end:_}}else i=null}i=i||{start:0,end:0}}else i=null;for(Al={focusedElem:e,selectionRange:i},wo=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var ee=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var re=ee.memoizedProps,We=ee.memoizedState,N=t.stateNode,C=N.getSnapshotBeforeUpdate(t.elementType===t.type?re:tn(t.type,re),We);N.__reactInternalSnapshotBeforeUpdate=C}break;case 3:var L=t.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(W){Ve(t,t.return,W)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return ee=Oh,Oh=!1,ee}function Pi(e,t,i){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&e)===e){var f=c.destroy;c.destroy=void 0,f!==void 0&&wu(t,i,f)}c=c.next}while(c!==a)}}function ea(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==t)}}function xu(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function Nh(e){var t=e.alternate;t!==null&&(e.alternate=null,Nh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[dn],delete t[vi],delete t[Dl],delete t[Mv],delete t[Fv])),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 Ah(e){return e.tag===5||e.tag===3||e.tag===4}function Lh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ah(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 Su(e,t,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=No));else if(a!==4&&(e=e.child,e!==null))for(Su(e,t,i),e=e.sibling;e!==null;)Su(e,t,i),e=e.sibling}function ku(e,t,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(ku(e,t,i),e=e.sibling;e!==null;)ku(e,t,i),e=e.sibling}var ut=null,nn=!1;function Xn(e,t,i){for(i=i.child;i!==null;)jh(e,t,i),i=i.sibling}function jh(e,t,i){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(ho,i)}catch{}switch(i.tag){case 5:gt||Ss(i,t);case 6:var a=ut,c=nn;ut=null,Xn(e,t,i),ut=a,nn=c,ut!==null&&(nn?(e=ut,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):ut.removeChild(i.stateNode));break;case 18:ut!==null&&(nn?(e=ut,i=i.stateNode,e.nodeType===8?Il(e.parentNode,i):e.nodeType===1&&Il(e,i),ai(e)):Il(ut,i.stateNode));break;case 4:a=ut,c=nn,ut=i.stateNode.containerInfo,nn=!0,Xn(e,t,i),ut=a,nn=c;break;case 0:case 11:case 14:case 15:if(!gt&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var f=c,m=f.destroy;f=f.tag,m!==void 0&&((f&2)!==0||(f&4)!==0)&&wu(i,t,m),c=c.next}while(c!==a)}Xn(e,t,i);break;case 1:if(!gt&&(Ss(i,t),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(w){Ve(i,t,w)}Xn(e,t,i);break;case 21:Xn(e,t,i);break;case 22:i.mode&1?(gt=(a=gt)||i.memoizedState!==null,Xn(e,t,i),gt=a):Xn(e,t,i);break;default:Xn(e,t,i)}}function Ih(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new t0),t.forEach(function(a){var c=d0.bind(null,e,a);i.has(a)||(i.add(a),a.then(c,c))})}}function rn(e,t){var i=t.deletions;if(i!==null)for(var a=0;a<i.length;a++){var c=i[a];try{var f=e,m=t,w=m;e:for(;w!==null;){switch(w.tag){case 5:ut=w.stateNode,nn=!1;break e;case 3:ut=w.stateNode.containerInfo,nn=!0;break e;case 4:ut=w.stateNode.containerInfo,nn=!0;break e}w=w.return}if(ut===null)throw Error(s(160));jh(f,m,c),ut=null,nn=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch(I){Ve(c,t,I)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Dh(t,e),t=t.sibling}function Dh(e,t){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(rn(t,e),pn(e),a&4){try{Pi(3,e,e.return),ea(3,e)}catch(re){Ve(e,e.return,re)}try{Pi(5,e,e.return)}catch(re){Ve(e,e.return,re)}}break;case 1:rn(t,e),pn(e),a&512&&i!==null&&Ss(i,i.return);break;case 5:if(rn(t,e),pn(e),a&512&&i!==null&&Ss(i,i.return),e.flags&32){var c=e.stateNode;try{Js(c,"")}catch(re){Ve(e,e.return,re)}}if(a&4&&(c=e.stateNode,c!=null)){var f=e.memoizedProps,m=i!==null?i.memoizedProps:f,w=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{w==="input"&&f.type==="radio"&&f.name!=null&&ve(c,f),Za(w,m);var I=Za(w,f);for(m=0;m<_.length;m+=2){var V=_[m],q=_[m+1];V==="style"?yd(c,q):V==="dangerouslySetInnerHTML"?md(c,q):V==="children"?Js(c,q):A(c,V,q,I)}switch(w){case"input":lt(c,f);break;case"textarea":fd(c,f);break;case"select":var $=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var Y=f.value;Y!=null?Mn(c,!!f.multiple,Y,!1):$!==!!f.multiple&&(f.defaultValue!=null?Mn(c,!!f.multiple,f.defaultValue,!0):Mn(c,!!f.multiple,f.multiple?[]:"",!1))}c[vi]=f}catch(re){Ve(e,e.return,re)}}break;case 6:if(rn(t,e),pn(e),a&4){if(e.stateNode===null)throw Error(s(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(re){Ve(e,e.return,re)}}break;case 3:if(rn(t,e),pn(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{ai(t.containerInfo)}catch(re){Ve(e,e.return,re)}break;case 4:rn(t,e),pn(e);break;case 13:rn(t,e),pn(e),c=e.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(bu=He())),a&4&&Ih(e);break;case 22:if(V=i!==null&&i.memoizedState!==null,e.mode&1?(gt=(I=gt)||V,rn(t,e),gt=I):rn(t,e),pn(e),a&8192){if(I=e.memoizedState!==null,(e.stateNode.isHidden=I)&&!V&&(e.mode&1)!==0)for(Z=e,V=e.child;V!==null;){for(q=Z=V;Z!==null;){switch($=Z,Y=$.child,$.tag){case 0:case 11:case 14:case 15:Pi(4,$,$.return);break;case 1:Ss($,$.return);var ee=$.stateNode;if(typeof ee.componentWillUnmount=="function"){a=$,i=$.return;try{t=a,ee.props=t.memoizedProps,ee.state=t.memoizedState,ee.componentWillUnmount()}catch(re){Ve(a,i,re)}}break;case 5:Ss($,$.return);break;case 22:if($.memoizedState!==null){Fh(q);continue}}Y!==null?(Y.return=$,Z=Y):Fh(q)}V=V.sibling}e:for(V=null,q=e;;){if(q.tag===5){if(V===null){V=q;try{c=q.stateNode,I?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(w=q.stateNode,_=q.memoizedProps.style,m=_!=null&&_.hasOwnProperty("display")?_.display:null,w.style.display=gd("display",m))}catch(re){Ve(e,e.return,re)}}}else if(q.tag===6){if(V===null)try{q.stateNode.nodeValue=I?"":q.memoizedProps}catch(re){Ve(e,e.return,re)}}else if((q.tag!==22&&q.tag!==23||q.memoizedState===null||q===e)&&q.child!==null){q.child.return=q,q=q.child;continue}if(q===e)break e;for(;q.sibling===null;){if(q.return===null||q.return===e)break e;V===q&&(V=null),q=q.return}V===q&&(V=null),q.sibling.return=q.return,q=q.sibling}}break;case 19:rn(t,e),pn(e),a&4&&Ih(e);break;case 21:break;default:rn(t,e),pn(e)}}function pn(e){var t=e.flags;if(t&2){try{e:{for(var i=e.return;i!==null;){if(Ah(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&&(Js(c,""),a.flags&=-33);var f=Lh(e);ku(e,f,c);break;case 3:case 4:var m=a.stateNode.containerInfo,w=Lh(e);Su(e,w,m);break;default:throw Error(s(161))}}catch(_){Ve(e,e.return,_)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function r0(e,t,i){Z=e,Uh(e)}function Uh(e,t,i){for(var a=(e.mode&1)!==0;Z!==null;){var c=Z,f=c.child;if(c.tag===22&&a){var m=c.memoizedState!==null||Zo;if(!m){var w=c.alternate,_=w!==null&&w.memoizedState!==null||gt;w=Zo;var I=gt;if(Zo=m,(gt=_)&&!I)for(Z=c;Z!==null;)m=Z,_=m.child,m.tag===22&&m.memoizedState!==null?Bh(c):_!==null?(_.return=m,Z=_):Bh(c);for(;f!==null;)Z=f,Uh(f),f=f.sibling;Z=c,Zo=w,gt=I}Mh(e)}else(c.subtreeFlags&8772)!==0&&f!==null?(f.return=c,Z=f):Mh(e)}}function Mh(e){for(;Z!==null;){var t=Z;if((t.flags&8772)!==0){var i=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:gt||ea(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!gt)if(i===null)a.componentDidMount();else{var c=t.elementType===t.type?i.memoizedProps:tn(t.type,i.memoizedProps);a.componentDidUpdate(c,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var f=t.updateQueue;f!==null&&Ff(t,f,a);break;case 3:var m=t.updateQueue;if(m!==null){if(i=null,t.child!==null)switch(t.child.tag){case 5:i=t.child.stateNode;break;case 1:i=t.child.stateNode}Ff(t,m,i)}break;case 5:var w=t.stateNode;if(i===null&&t.flags&4){i=w;var _=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&i.focus();break;case"img":_.src&&(i.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var I=t.alternate;if(I!==null){var V=I.memoizedState;if(V!==null){var q=V.dehydrated;q!==null&&ai(q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}gt||t.flags&512&&xu(t)}catch($){Ve(t,t.return,$)}}if(t===e){Z=null;break}if(i=t.sibling,i!==null){i.return=t.return,Z=i;break}Z=t.return}}function Fh(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var i=t.sibling;if(i!==null){i.return=t.return,Z=i;break}Z=t.return}}function Bh(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var i=t.return;try{ea(4,t)}catch(_){Ve(t,i,_)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var c=t.return;try{a.componentDidMount()}catch(_){Ve(t,c,_)}}var f=t.return;try{xu(t)}catch(_){Ve(t,f,_)}break;case 5:var m=t.return;try{xu(t)}catch(_){Ve(t,m,_)}}}catch(_){Ve(t,t.return,_)}if(t===e){Z=null;break}var w=t.sibling;if(w!==null){w.return=t.return,Z=w;break}Z=t.return}}var s0=Math.ceil,ta=j.ReactCurrentDispatcher,_u=j.ReactCurrentOwner,qt=j.ReactCurrentBatchConfig,Re=0,rt=null,Ke=null,ct=0,Dt=0,ks=Wn(0),Ye=0,Oi=null,Or=0,na=0,Eu=0,Ni=null,Rt=null,bu=0,_s=1/0,Tn=null,ra=!1,Cu=null,Yn=null,sa=!1,Zn=null,ia=0,Ai=0,Ru=null,oa=-1,aa=0;function St(){return(Re&6)!==0?He():oa!==-1?oa:oa=He()}function er(e){return(e.mode&1)===0?1:(Re&2)!==0&&ct!==0?ct&-ct:zv.transition!==null?(aa===0&&(aa=Ad()),aa):(e=Le,e!==0||(e=window.event,e=e===void 0?16:zd(e.type)),e)}function sn(e,t,i,a){if(50<Ai)throw Ai=0,Ru=null,Error(s(185));ni(e,i,a),((Re&2)===0||e!==rt)&&(e===rt&&((Re&2)===0&&(na|=i),Ye===4&&tr(e,ct)),Tt(e,a),i===1&&Re===0&&(t.mode&1)===0&&(_s=He()+500,Io&&Kn()))}function Tt(e,t){var i=e.callbackNode;zy(e,t);var a=go(e,e===rt?ct:0);if(a===0)i!==null&&Pd(i),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(i!=null&&Pd(i),t===1)e.tag===0?Bv($h.bind(null,e)):Rf($h.bind(null,e)),Dv(function(){(Re&6)===0&&Kn()}),i=null;else{switch(Ld(a)){case 1:i=ol;break;case 4:i=Od;break;case 16:i=fo;break;case 536870912:i=Nd;break;default:i=fo}i=Jh(i,zh.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function zh(e,t){if(oa=-1,aa=0,(Re&6)!==0)throw Error(s(327));var i=e.callbackNode;if(Es()&&e.callbackNode!==i)return null;var a=go(e,e===rt?ct:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||t)t=la(e,a);else{t=a;var c=Re;Re|=2;var f=qh();(rt!==e||ct!==t)&&(Tn=null,_s=He()+500,Ar(e,t));do try{a0();break}catch(w){Vh(e,w)}while(!0);Hl(),ta.current=f,Re=c,Ke!==null?t=0:(rt=null,ct=0,t=Ye)}if(t!==0){if(t===2&&(c=al(e),c!==0&&(a=c,t=Tu(e,c))),t===1)throw i=Oi,Ar(e,0),tr(e,a),Tt(e,He()),i;if(t===6)tr(e,a);else{if(c=e.current.alternate,(a&30)===0&&!i0(c)&&(t=la(e,a),t===2&&(f=al(e),f!==0&&(a=f,t=Tu(e,f))),t===1))throw i=Oi,Ar(e,0),tr(e,a),Tt(e,He()),i;switch(e.finishedWork=c,e.finishedLanes=a,t){case 0:case 1:throw Error(s(345));case 2:Lr(e,Rt,Tn);break;case 3:if(tr(e,a),(a&130023424)===a&&(t=bu+500-He(),10<t)){if(go(e,0)!==0)break;if(c=e.suspendedLanes,(c&a)!==a){St(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=jl(Lr.bind(null,e,Rt,Tn),t);break}Lr(e,Rt,Tn);break;case 4:if(tr(e,a),(a&4194240)===a)break;for(t=e.eventTimes,c=-1;0<a;){var m=31-Yt(a);f=1<<m,m=t[m],m>c&&(c=m),a&=~f}if(a=c,a=He()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*s0(a/1960))-a,10<a){e.timeoutHandle=jl(Lr.bind(null,e,Rt,Tn),a);break}Lr(e,Rt,Tn);break;case 5:Lr(e,Rt,Tn);break;default:throw Error(s(329))}}}return Tt(e,He()),e.callbackNode===i?zh.bind(null,e):null}function Tu(e,t){var i=Ni;return e.current.memoizedState.isDehydrated&&(Ar(e,t).flags|=256),e=la(e,t),e!==2&&(t=Rt,Rt=i,t!==null&&Pu(t)),e}function Pu(e){Rt===null?Rt=e:Rt.push.apply(Rt,e)}function i0(e){for(var t=e;;){if(t.flags&16384){var i=t.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var a=0;a<i.length;a++){var c=i[a],f=c.getSnapshot;c=c.value;try{if(!Zt(f(),c))return!1}catch{return!1}}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function tr(e,t){for(t&=~Eu,t&=~na,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var i=31-Yt(t),a=1<<i;e[i]=-1,t&=~a}}function $h(e){if((Re&6)!==0)throw Error(s(327));Es();var t=go(e,0);if((t&1)===0)return Tt(e,He()),null;var i=la(e,t);if(e.tag!==0&&i===2){var a=al(e);a!==0&&(t=a,i=Tu(e,a))}if(i===1)throw i=Oi,Ar(e,0),tr(e,t),Tt(e,He()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Lr(e,Rt,Tn),Tt(e,He()),null}function Ou(e,t){var i=Re;Re|=1;try{return e(t)}finally{Re=i,Re===0&&(_s=He()+500,Io&&Kn())}}function Nr(e){Zn!==null&&Zn.tag===0&&(Re&6)===0&&Es();var t=Re;Re|=1;var i=qt.transition,a=Le;try{if(qt.transition=null,Le=1,e)return e()}finally{Le=a,qt.transition=i,Re=t,(Re&6)===0&&Kn()}}function Nu(){Dt=ks.current,Me(ks)}function Ar(e,t){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,Iv(i)),Ke!==null)for(i=Ke.return;i!==null;){var a=i;switch(Bl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Lo();break;case 3:ws(),Me(Et),Me(ht),Zl();break;case 5:Xl(a);break;case 4:ws();break;case 13:Me(Be);break;case 19:Me(Be);break;case 10:Wl(a.type._context);break;case 22:case 23:Nu()}i=i.return}if(rt=e,Ke=e=nr(e.current,null),ct=Dt=t,Ye=0,Oi=null,Eu=na=Or=0,Rt=Ni=null,Rr!==null){for(t=0;t<Rr.length;t++)if(i=Rr[t],a=i.interleaved,a!==null){i.interleaved=null;var c=a.next,f=i.pending;if(f!==null){var m=f.next;f.next=c,a.next=m}i.pending=a}Rr=null}return e}function Vh(e,t){do{var i=Ke;try{if(Hl(),Ho.current=Go,Wo){for(var a=ze.memoizedState;a!==null;){var c=a.queue;c!==null&&(c.pending=null),a=a.next}Wo=!1}if(Pr=0,nt=Xe=ze=null,Ei=!1,bi=0,_u.current=null,i===null||i.return===null){Ye=1,Oi=t,Ke=null;break}e:{var f=e,m=i.return,w=i,_=t;if(t=ct,w.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var I=_,V=w,q=V.tag;if((V.mode&1)===0&&(q===0||q===11||q===15)){var $=V.alternate;$?(V.updateQueue=$.updateQueue,V.memoizedState=$.memoizedState,V.lanes=$.lanes):(V.updateQueue=null,V.memoizedState=null)}var Y=ph(m);if(Y!==null){Y.flags&=-257,mh(Y,m,w,f,t),Y.mode&1&&hh(f,I,t),t=Y,_=I;var ee=t.updateQueue;if(ee===null){var re=new Set;re.add(_),t.updateQueue=re}else ee.add(_);break e}else{if((t&1)===0){hh(f,I,t),Au();break e}_=Error(s(426))}}else if(Fe&&w.mode&1){var We=ph(m);if(We!==null){(We.flags&65536)===0&&(We.flags|=256),mh(We,m,w,f,t),Vl(xs(_,w));break e}}f=_=xs(_,w),Ye!==4&&(Ye=2),Ni===null?Ni=[f]:Ni.push(f),f=m;do{switch(f.tag){case 3:f.flags|=65536,t&=-t,f.lanes|=t;var N=dh(f,_,t);Mf(f,N);break e;case 1:w=_;var C=f.type,L=f.stateNode;if((f.flags&128)===0&&(typeof C.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(Yn===null||!Yn.has(L)))){f.flags|=65536,t&=-t,f.lanes|=t;var W=fh(f,w,t);Mf(f,W);break e}}f=f.return}while(f!==null)}Wh(i)}catch(se){t=se,Ke===i&&i!==null&&(Ke=i=i.return);continue}break}while(!0)}function qh(){var e=ta.current;return ta.current=Go,e===null?Go:e}function Au(){(Ye===0||Ye===3||Ye===2)&&(Ye=4),rt===null||(Or&268435455)===0&&(na&268435455)===0||tr(rt,ct)}function la(e,t){var i=Re;Re|=2;var a=qh();(rt!==e||ct!==t)&&(Tn=null,Ar(e,t));do try{o0();break}catch(c){Vh(e,c)}while(!0);if(Hl(),Re=i,ta.current=a,Ke!==null)throw Error(s(261));return rt=null,ct=0,Ye}function o0(){for(;Ke!==null;)Hh(Ke)}function a0(){for(;Ke!==null&&!Ay();)Hh(Ke)}function Hh(e){var t=Gh(e.alternate,e,Dt);e.memoizedProps=e.pendingProps,t===null?Wh(e):Ke=t,_u.current=null}function Wh(e){var t=e;do{var i=t.alternate;if(e=t.return,(t.flags&32768)===0){if(i=Zv(i,t,Dt),i!==null){Ke=i;return}}else{if(i=e0(i,t),i!==null){i.flags&=32767,Ke=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ye=6,Ke=null;return}}if(t=t.sibling,t!==null){Ke=t;return}Ke=t=e}while(t!==null);Ye===0&&(Ye=5)}function Lr(e,t,i){var a=Le,c=qt.transition;
vendor: 7,318 bytes, line 40
40try{qt.transition=null,Le=1,l0(e,t,i,a)}finally{qt.transition=c,Le=a}return null}function l0(e,t,i,a){do Es();while(Zn!==null);if((Re&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 f=i.lanes|i.childLanes;if($y(e,f),e===rt&&(Ke=rt=null,ct=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||sa||(sa=!0,Jh(fo,function(){return Es(),null})),f=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||f){f=qt.transition,qt.transition=null;var m=Le;Le=1;var w=Re;Re|=4,_u.current=null,n0(e,i),Dh(i,e),Tv(Al),wo=!!Nl,Al=Nl=null,e.current=i,r0(i),Ly(),Re=w,Le=m,qt.transition=f}else e.current=i;if(sa&&(sa=!1,Zn=e,ia=c),f=e.pendingLanes,f===0&&(Yn=null),Dy(i.stateNode),Tt(e,He()),t!==null)for(a=e.onRecoverableError,i=0;i<t.length;i++)c=t[i],a(c.value,{componentStack:c.stack,digest:c.digest});if(ra)throw ra=!1,e=Cu,Cu=null,e;return(ia&1)!==0&&e.tag!==0&&Es(),f=e.pendingLanes,(f&1)!==0?e===Ru?Ai++:(Ai=0,Ru=e):Ai=0,Kn(),null}function Es(){if(Zn!==null){var e=Ld(ia),t=qt.transition,i=Le;try{if(qt.transition=null,Le=16>e?16:e,Zn===null)var a=!1;else{if(e=Zn,Zn=null,ia=0,(Re&6)!==0)throw Error(s(331));var c=Re;for(Re|=4,Z=e.current;Z!==null;){var f=Z,m=f.child;if((Z.flags&16)!==0){var w=f.deletions;if(w!==null){for(var _=0;_<w.length;_++){var I=w[_];for(Z=I;Z!==null;){var V=Z;switch(V.tag){case 0:case 11:case 15:Pi(8,V,f)}var q=V.child;if(q!==null)q.return=V,Z=q;else for(;Z!==null;){V=Z;var $=V.sibling,Y=V.return;if(Nh(V),V===I){Z=null;break}if($!==null){$.return=Y,Z=$;break}Z=Y}}}var ee=f.alternate;if(ee!==null){var re=ee.child;if(re!==null){ee.child=null;do{var We=re.sibling;re.sibling=null,re=We}while(re!==null)}}Z=f}}if((f.subtreeFlags&2064)!==0&&m!==null)m.return=f,Z=m;else e:for(;Z!==null;){if(f=Z,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:Pi(9,f,f.return)}var N=f.sibling;if(N!==null){N.return=f.return,Z=N;break e}Z=f.return}}var C=e.current;for(Z=C;Z!==null;){m=Z;var L=m.child;if((m.subtreeFlags&2064)!==0&&L!==null)L.return=m,Z=L;else e:for(m=C;Z!==null;){if(w=Z,(w.flags&2048)!==0)try{switch(w.tag){case 0:case 11:case 15:ea(9,w)}}catch(se){Ve(w,w.return,se)}if(w===m){Z=null;break e}var W=w.sibling;if(W!==null){W.return=w.return,Z=W;break e}Z=w.return}}if(Re=c,Kn(),cn&&typeof cn.onPostCommitFiberRoot=="function")try{cn.onPostCommitFiberRoot(ho,e)}catch{}a=!0}return a}finally{Le=i,qt.transition=t}}return!1}function Qh(e,t,i){t=xs(i,t),t=dh(e,t,1),e=Jn(e,t,1),t=St(),e!==null&&(ni(e,1,t),Tt(e,t))}function Ve(e,t,i){if(e.tag===3)Qh(e,e,i);else for(;t!==null;){if(t.tag===3){Qh(t,e,i);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Yn===null||!Yn.has(a))){e=xs(i,e),e=fh(t,e,1),t=Jn(t,e,1),e=St(),t!==null&&(ni(t,1,e),Tt(t,e));break}}t=t.return}}function u0(e,t,i){var a=e.pingCache;a!==null&&a.delete(t),t=St(),e.pingedLanes|=e.suspendedLanes&i,rt===e&&(ct&i)===i&&(Ye===4||Ye===3&&(ct&130023424)===ct&&500>He()-bu?Ar(e,0):Eu|=i),Tt(e,t)}function Kh(e,t){t===0&&((e.mode&1)===0?t=1:(t=mo,mo<<=1,(mo&130023424)===0&&(mo=4194304)));var i=St();e=bn(e,t),e!==null&&(ni(e,t,i),Tt(e,i))}function c0(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),Kh(e,i)}function d0(e,t){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(t),Kh(e,i)}var Gh;Gh=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||Et.current)Ct=!0;else{if((e.lanes&i)===0&&(t.flags&128)===0)return Ct=!1,Yv(e,t,i);Ct=(e.flags&131072)!==0}else Ct=!1,Fe&&(t.flags&1048576)!==0&&Tf(t,Uo,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Yo(e,t),e=t.pendingProps;var c=fs(t,ht.current);vs(t,i),c=nu(null,t,a,e,c,i);var f=ru();return t.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,bt(a)?(f=!0,jo(t)):f=!1,t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Gl(t),c.updater=Jo,t.stateNode=c,c._reactInternals=t,uu(t,a,e,i),t=hu(null,t,a,!0,f,i)):(t.tag=0,Fe&&f&&Fl(t),xt(null,t,c,i),t=t.child),t;case 16:a=t.elementType;e:{switch(Yo(e,t),e=t.pendingProps,c=a._init,a=c(a._payload),t.type=a,c=t.tag=h0(a),e=tn(a,e),c){case 0:t=fu(null,t,a,e,i);break e;case 1:t=Sh(null,t,a,e,i);break e;case 11:t=gh(null,t,a,e,i);break e;case 14:t=yh(null,t,a,tn(a.type,e),i);break e}throw Error(s(306,a,""))}return t;case 0:return a=t.type,c=t.pendingProps,c=t.elementType===a?c:tn(a,c),fu(e,t,a,c,i);case 1:return a=t.type,c=t.pendingProps,c=t.elementType===a?c:tn(a,c),Sh(e,t,a,c,i);case 3:e:{if(kh(t),e===null)throw Error(s(387));a=t.pendingProps,f=t.memoizedState,c=f.element,Uf(e,t),Vo(t,a,null,i);var m=t.memoizedState;if(a=m.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){c=xs(Error(s(423)),t),t=_h(e,t,a,i,c);break e}else if(a!==c){c=xs(Error(s(424)),t),t=_h(e,t,a,i,c);break e}else for(It=Hn(t.stateNode.containerInfo.firstChild),jt=t,Fe=!0,en=null,i=If(t,null,a,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(ms(),a===c){t=Rn(e,t,i);break e}xt(e,t,a,i)}t=t.child}return t;case 5:return Bf(t),e===null&&$l(t),a=t.type,c=t.pendingProps,f=e!==null?e.memoizedProps:null,m=c.children,Ll(a,c)?m=null:f!==null&&Ll(a,f)&&(t.flags|=32),xh(e,t),xt(e,t,m,i),t.child;case 6:return e===null&&$l(t),null;case 13:return Eh(e,t,i);case 4:return Jl(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=gs(t,null,a,i):xt(e,t,a,i),t.child;case 11:return a=t.type,c=t.pendingProps,c=t.elementType===a?c:tn(a,c),gh(e,t,a,c,i);case 7:return xt(e,t,t.pendingProps,i),t.child;case 8:return xt(e,t,t.pendingProps.children,i),t.child;case 12:return xt(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(a=t.type._context,c=t.pendingProps,f=t.memoizedProps,m=c.value,De(Bo,a._currentValue),a._currentValue=m,f!==null)if(Zt(f.value,m)){if(f.children===c.children&&!Et.current){t=Rn(e,t,i);break e}}else for(f=t.child,f!==null&&(f.return=t);f!==null;){var w=f.dependencies;if(w!==null){m=f.child;for(var _=w.firstContext;_!==null;){if(_.context===a){if(f.tag===1){_=Cn(-1,i&-i),_.tag=2;var I=f.updateQueue;if(I!==null){I=I.shared;var V=I.pending;V===null?_.next=_:(_.next=V.next,V.next=_),I.pending=_}}f.lanes|=i,_=f.alternate,_!==null&&(_.lanes|=i),Ql(f.return,i,t),w.lanes|=i;break}_=_.next}}else if(f.tag===10)m=f.type===t.type?null:f.child;else if(f.tag===18){if(m=f.return,m===null)throw Error(s(341));m.lanes|=i,w=m.alternate,w!==null&&(w.lanes|=i),Ql(m,i,t),m=f.sibling}else m=f.child;if(m!==null)m.return=f;else for(m=f;m!==null;){if(m===t){m=null;break}if(f=m.sibling,f!==null){f.return=m.return,m=f;break}m=m.return}f=m}xt(e,t,c.children,i),t=t.child}return t;case 9:return c=t.type,a=t.pendingProps.children,vs(t,i),c=$t(c),a=a(c),t.flags|=1,xt(e,t,a,i),t.child;case 14:return a=t.type,c=tn(a,t.pendingProps),c=tn(a.type,c),yh(e,t,a,c,i);case 15:return vh(e,t,t.type,t.pendingProps,i);case 17:return a=t.type,c=t.pendingProps,c=t.elementType===a?c:tn(a,c),Yo(e,t),t.tag=1,bt(a
vendor: 10,216 bytes, line 40
40)?(e=!0,jo(t)):e=!1,vs(t,i),uh(t,a,c),uu(t,a,c,i),hu(null,t,a,!0,e,i);case 19:return Ch(e,t,i);case 22:return wh(e,t,i)}throw Error(s(156,t.tag))};function Jh(e,t){return Td(e,t)}function f0(e,t,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=t,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,t,i,a){return new f0(e,t,i,a)}function Lu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function h0(e){if(typeof e=="function")return Lu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ne)return 11;if(e===je)return 14}return 2}function nr(e,t){var i=e.alternate;return i===null?(i=Ht(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,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,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function ua(e,t,i,a,c,f){var m=2;if(a=e,typeof e=="function")Lu(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case ue:return jr(i.children,c,f,t);case z:m=8,c|=8;break;case de:return e=Ht(12,i,t,c|2),e.elementType=de,e.lanes=f,e;case $e:return e=Ht(13,i,t,c),e.elementType=$e,e.lanes=f,e;case Oe:return e=Ht(19,i,t,c),e.elementType=Oe,e.lanes=f,e;case Ce:return ca(i,c,f,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case we:m=10;break e;case he:m=9;break e;case Ne:m=11;break e;case je:m=14;break e;case Te:m=16,a=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Ht(m,i,t,c),t.elementType=e,t.type=a,t.lanes=f,t}function jr(e,t,i,a){return e=Ht(7,e,a,t),e.lanes=i,e}function ca(e,t,i,a){return e=Ht(22,e,a,t),e.elementType=Ce,e.lanes=i,e.stateNode={isHidden:!1},e}function ju(e,t,i){return e=Ht(6,e,null,t),e.lanes=i,e}function Iu(e,t,i){return t=Ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function p0(e,t,i,a,c){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ll(0),this.expirationTimes=ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ll(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Du(e,t,i,a,c,f,m,w,_){return e=new p0(e,t,i,w,_),t===1?(t=1,f===!0&&(t|=8)):t=0,f=Ht(3,null,null,t),e.current=f,f.stateNode=e,f.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gl(f),e}function m0(e,t,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Q,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}function Xh(e){if(!e)return Qn;e=e._reactInternals;e:{if(kr(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(bt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(bt(i))return bf(e,i,t)}return t}function Yh(e,t,i,a,c,f,m,w,_){return e=Du(i,a,!0,e,c,f,m,w,_),e.context=Xh(null),i=e.current,a=St(),c=er(i),f=Cn(a,c),f.callback=t??null,Jn(i,f,c),e.current.lanes=c,ni(e,c,a),Tt(e,a),e}function da(e,t,i,a){var c=t.current,f=St(),m=er(c);return i=Xh(i),t.context===null?t.context=i:t.pendingContext=i,t=Cn(f,m),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=Jn(c,t,m),e!==null&&(sn(e,c,m,f),$o(e,c,m)),m}function fa(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,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function Uu(e,t){Zh(e,t),(e=e.alternate)&&Zh(e,t)}function g0(){return null}var ep=typeof reportError=="function"?reportError:function(e){console.error(e)};function Mu(e){this._internalRoot=e}ha.prototype.render=Mu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));da(e,t,null,null)},ha.prototype.unmount=Mu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nr(function(){da(null,e,null,null)}),t[Sn]=null}};function ha(e){this._internalRoot=e}ha.prototype.unstable_scheduleHydration=function(e){if(e){var t=Dd();e={blockedOn:null,target:e,priority:t};for(var i=0;i<$n.length&&t!==0&&t<$n[i].priority;i++);$n.splice(i,0,e),i===0&&Fd(e)}};function Fu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function pa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tp(){}function y0(e,t,i,a,c){if(c){if(typeof a=="function"){var f=a;a=function(){var I=fa(m);f.call(I)}}var m=Yh(t,a,e,0,null,!1,!1,"",tp);return e._reactRootContainer=m,e[Sn]=m.current,gi(e.nodeType===8?e.parentNode:e),Nr(),m}for(;c=e.lastChild;)e.removeChild(c);if(typeof a=="function"){var w=a;a=function(){var I=fa(_);w.call(I)}}var _=Du(e,0,!1,null,null,!1,!1,"",tp);return e._reactRootContainer=_,e[Sn]=_.current,gi(e.nodeType===8?e.parentNode:e),Nr(function(){da(t,_,i,a)}),_}function ma(e,t,i,a,c){var f=i._reactRootContainer;if(f){var m=f;if(typeof c=="function"){var w=c;c=function(){var _=fa(m);w.call(_)}}da(t,m,e,c)}else m=y0(i,t,e,c,a);return fa(m)}jd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var i=ti(t.pendingLanes);i!==0&&(ul(t,i|1),Tt(t,He()),(Re&6)===0&&(_s=He()+500,Kn()))}break;case 13:Nr(function(){var a=bn(e,1);if(a!==null){var c=St();sn(a,e,1,c)}}),Uu(e,1)}},cl=function(e){if(e.tag===13){var t=bn(e,134217728);if(t!==null){var i=St();sn(t,e,134217728,i)}Uu(e,134217728)}},Id=function(e){if(e.tag===13){var t=er(e),i=bn(e,t);if(i!==null){var a=St();sn(i,e,t,a)}Uu(e,t)}},Dd=function(){return Le},Ud=function(e,t){var i=Le;try{return Le=e,t()}finally{Le=i}},nl=function(e,t,i){switch(t){case"input":if(lt(e,i),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<i.length;t++){var a=i[t];if(a!==e&&a.form===e.form){var c=Ao(a);if(!c)throw Error(s(90));at(a),lt(a,c)}}}break;case"textarea":fd(e,i);break;case"select":t=i.value,t!=null&&Mn(e,!!i.multiple,t,!1)}},Sd=Ou,kd=Nr;var v0={usingClientEntryPoint:!1,Events:[wi,cs,Ao,wd,xd,Ou]},Li={findFiberByHostInstance:_r,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},w0={bundleType:Li.bundleType,version:Li.version,rendererPackageName:Li.rendererPackageName,rendererConfig:Li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Cd(e),e===null?null:e.stateNode},findFiberByHostInstance:Li.findFiberByHostInstance||g0,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 ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ga.isDisabled&&ga.supportsFiber)try{ho=ga.inject(w0),cn=ga}catch{}}return Pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=v0,Pt.createPortal=function(e,t){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fu(t))throw Error(s(200));return m0(e,t,null,i)},Pt.createRoot=function(e,t){if(!Fu(e))throw Error(s(299));var i=!1,a="",c=ep;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=Du(e,1,!1,null,null,i,!1,a,c),e[Sn]=t.current,gi(e.nodeType===8?e.parentNode:e),new Mu(t)},Pt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Cd(t),e=e===null?null:e.stateNode,e},Pt.flushSync=function(e){return Nr(e)},Pt.hydrate=function(e,t,i){if(!pa(t))throw Error(s(200));return ma(null,e,t,!0,i)},Pt.hydrateRoot=function(e,t,i){if(!Fu(e))throw Error(s(405));var a=i!=null&&i.hydratedSources||null,c=!1,f="",m=ep;if(i!=null&&(i.unstable_strictMode===!0&&(c=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(m=i.onRecoverableError)),t=Yh(t,null,e,1,i??null,c,!1,f,m),e[Sn]=t.current,gi(e),a)for(e=0;e<a.length;e++)i=a[e],c=i._getVersion,c=c(i._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[i,c]:t.mutableSourceEagerHydrationData.push(i,c);return new ha(t)},Pt.render=function(e,t,i){if(!pa(t))throw Error(s(200));return ma(null,e,t,!1,i)},Pt.unmountComponentAtNode=function(e){if(!pa(e))throw Error(s(40));return e._reactRootContainer?(Nr(function(){ma(null,null,e,!1,function(){e._reactRootContainer=null,e[Sn]=null})}),!0):!1},Pt.unstable_batchedUpdates=Ou,Pt.unstable_renderSubtreeIntoContainer=function(e,t,i,a){if(!pa(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return ma(e,t,i,!1,a)},Pt.version="18.3.1-next-f1338f8080-20240426",Pt}var cp;function Fm(){if(cp)return Vu.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(n){console.error(n)}}
40return r(),Vu.exports=P0(),Vu.exports}var dp;function O0(){if(dp)return va;dp=1;var r=Fm();return va.createRoot=r.createRoot,va.hydrateRoot=r.hydrateRoot,va}var N0=O0();const A0=Mm(N0),L0=20,j0=1e6,In={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Wu=0;function I0(){return Wu=(Wu+1)%Number.MAX_VALUE,Wu.toString()}const Qu=new Map,fp=r=>{if(Qu.has(r))return;const n=setTimeout(()=>{Qu.delete(r),Vi({type:In.REMOVE_TOAST,toastId:r})},j0);Qu.set(r,n)},D0=(r,n)=>{switch(n.type){case In.ADD_TOAST:return{...r,toasts:[n.toast,...r.toasts].slice(0,L0)};case In.UPDATE_TOAST:return{...r,toasts:r.toasts.map(s=>s.id===n.toast.id?{...s,...n.toast}:s)};case In.DISMISS_TOAST:{const{toastId:s}=n;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 In.REMOVE_TOAST:return n.toastId===void 0?{...r,toasts:[]}:{...r,toasts:r.toasts.filter(s=>s.id!==n.toastId)}}},Ca=[];let Ra={toasts:[]};function Vi(r){Ra=D0(Ra,r),Ca.forEach(n=>{n(Ra)})}function U0({...r}){const n=I0(),s=l=>Vi({type:In.UPDATE_TOAST,toast:{...l,id:n}}),o=()=>Vi({type:In.DISMISS_TOAST,toastId:n});return Vi({type:In.ADD_TOAST,toast:{...r,id:n,open:!0,onOpenChange:l=>{l||o()}}}),{id:n,dismiss:o,update:s}}function M0(){const[r,n]=F.useState(Ra);return F.useEffect(()=>(Ca.push(n),()=>{const s=Ca.indexOf(n);s>-1&&Ca.splice(s,1)}),[r]),{...r,toast:U0,dismiss:s=>Vi({type:In.DISMISS_TOAST,toastId:s})}}function Bm(r){var n,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(n=0;n<l;n++)r[n]&&(s=Bm(r[n]))&&(o&&(o+=" "),o+=s)}else for(s in r)r[s]&&(o&&(o+=" "),o+=s);return o}function zm(){for(var r,n,s=0,o="",l=arguments.length;s<l;s++)(r=arguments[s])&&(n=Bm(r))&&(o&&(o+=" "),o+=n);return o}const hp=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,pp=zm,F0=(r,n)=>s=>{var o;if((n==null?void 0:n.variants)==null)return pp(r,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:l,defaultVariants:u}=n,d=Object.keys(l).map(g=>{const y=s==null?void 0:s[g],v=u==null?void 0:u[g];if(y===null)return null;const b=hp(y)||hp(v);return l[g][b]}),h=s&&Object.entries(s).reduce((g,y)=>{let[v,b]=y;return b===void 0||(g[v]=b),g},{}),p=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((g,y)=>{let{class:v,className:b,...P}=y;return Object.entries(P).every(D=>{let[O,E]=D;return Array.isArray(E)?E.includes({...u,...h}[O]):{...u,...h}[O]===E})?[...g,v,b]:g},[]);return pp(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 B0=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$m=(...r)=>r.filter((n,s,o)=>!!n&&n.trim()!==""&&o.indexOf(n)===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 z0={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 $0=F.forwardRef(({color:r="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:d,...h},p)=>F.createElement("svg",{ref:p,...z0,width:n,height:n,stroke:r,strokeWidth:o?Number(s)*24/Number(n):s,className:$m("lucide",l),...h},[...d.map(([g,y])=>F.createElement(g,y)),...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 V0=(r,n)=>{const s=F.forwardRef(({className:o,...l},u)=>F.createElement($0,{ref:u,iconNode:n,className:$m(`lucide-${B0(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 q0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 6,594 bytes, line 65
65],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],H0=V0("X",q0),W0=(r,n)=>{const s=new Array(r.length+n.length);for(let o=0;o<r.length;o++)s[o]=r[o];for(let o=0;o<n.length;o++)s[r.length+o]=n[o];return s},Q0=(r,n)=>({classGroupId:r,validator:n}),Vm=(r=new Map,n=null,s)=>({nextPart:r,validators:n,classGroupId:s}),Da="-",mp=[],K0="arbitrary..",G0=r=>{const n=X0(r),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=r;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return J0(d);const h=d.split(Da),p=h[0]===""&&h.length>1?1:0;return qm(h,p,n)},getConflictingClassGroupIds:(d,h)=>{if(h){const p=o[d],g=s[d];return p?g?W0(g,p):p:g||mp}return s[d]||mp}}},qm=(r,n,s)=>{if(r.length-n===0)return s.classGroupId;const l=r[n],u=s.nextPart.get(l);if(u){const g=qm(r,n+1,u);if(g)return g}const d=s.validators;if(d===null)return;const h=n===0?r.join(Da):r.slice(n).join(Da),p=d.length;for(let g=0;g<p;g++){const y=d[g];if(y.validator(h))return y.classGroupId}},J0=r=>r.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=r.slice(1,-1),s=n.indexOf(":"),o=n.slice(0,s);return o?K0+o:void 0})(),X0=r=>{const{theme:n,classGroups:s}=r;return Y0(s,n)},Y0=(r,n)=>{const s=Vm();for(const o in r){const l=r[o];Fc(l,s,o,n)}return s},Fc=(r,n,s,o)=>{const l=r.length;for(let u=0;u<l;u++){const d=r[u];Z0(d,n,s,o)}},Z0=(r,n,s,o)=>{if(typeof r=="string"){ew(r,n,s);return}if(typeof r=="function"){tw(r,n,s,o);return}nw(r,n,s,o)},ew=(r,n,s)=>{const o=r===""?n:Hm(n,r);o.classGroupId=s},tw=(r,n,s,o)=>{if(rw(r)){Fc(r(o),n,s,o);return}n.validators===null&&(n.validators=[]),n.validators.push(Q0(s,r))},nw=(r,n,s,o)=>{const l=Object.entries(r),u=l.length;for(let d=0;d<u;d++){const[h,p]=l[d];Fc(p,Hm(n,h),s,o)}},Hm=(r,n)=>{let s=r;const o=n.split(Da),l=o.length;for(let u=0;u<l;u++){const d=o[u];let h=s.nextPart.get(d);h||(h=Vm(),s.nextPart.set(d,h)),s=h}return s},rw=r=>"isThemeGetter"in r&&r.isThemeGetter===!0,sw=r=>{if(r<1)return{get:()=>{},set:()=>{}};let n=0,s=Object.create(null),o=Object.create(null);const l=(u,d)=>{s[u]=d,n++,n>r&&(n=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)}}},ac="!",gp=":",iw=[],yp=(r,n,s,o,l)=>({modifiers:r,hasImportantModifier:n,baseClassName:s,maybePostfixModifierPosition:o,isExternal:l}),ow=r=>{const{prefix:n,experimentalParseClassName:s}=r;let o=l=>{const u=[];let d=0,h=0,p=0,g;const y=l.length;for(let O=0;O<y;O++){const E=l[O];if(d===0&&h===0){if(E===gp){u.push(l.slice(p,O)),p=O+1;continue}if(E==="/"){g=O;continue}}E==="["?d++:E==="]"?d--:E==="("?h++:E===")"&&h--}const v=u.length===0?l:l.slice(p);let b=v,P=!1;v.endsWith(ac)?(b=v.slice(0,-1),P=!0):v.startsWith(ac)&&(b=v.slice(1),P=!0);const D=g&&g>p?g-p:void 0;return yp(u,P,b,D)};if(n){const l=n+gp,u=o;o=d=>d.startsWith(l)?u(d.slice(l.length)):yp(iw,!1,d,void 0,!0)}if(s){const l=o;o=u=>s({className:u,parseClassName:l})}return o},aw=r=>{const n=new Map;return r.orderSensitiveModifiers.forEach((s,o)=>{n.set(s,1e6+o)}),s=>{const o=[];let l=[];for(let u=0;u<s.length;u++){const d=s[u],h=d[0]==="[",p=n.has(d);h||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}},lw=r=>({cache:sw(r.cacheSize),parseClassName:ow(r),sortModifiers:aw(r),...G0(r)}),uw=/\s+/,cw=(r,n)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:u}=n,d=[],h=r.trim().split(uw);let p="";for(let g=h.length-1;g>=0;g-=1){const y=h[g],{isExternal:v,modifiers:b,hasImportantModifier:P,baseClassName:D,maybePostfixModifierPosition:O}=s(y);if(v){p=y+(p.length>0?" "+p:p);continue}let E=!!O,k=o(E?D.substring(0,O):D);if(!k){if(!E){p=y+(p.length>0?" "+p:p);continue}if(k=o(D),!k){p=y+(p.length>0?" "+p:p);continue}E=!1}const U=b.length===0?"":b.length===1?b[0]:u(b).join(":"),A=P?U+ac:U,j=A+k;if(d.indexOf(j)>-1)continue;d.push(j);const H=l(k,E);for(let Q=0;Q<H.length;++Q){const ue=H[Q];d.push(A+ue)}p=y+(p.length>0?" "+p:p)}return p},dw=(...r)=>{let n=0,s,o,l="";for(;n<r.length;)(s=r[n++])&&(o=Wm(s))&&(l&&(l+=" "),l+=o);return l},Wm=r=>{if(typeof r=="string")return r;let n,s="";for(let o=0;o<r.length;o++)r[o]&&(n=Wm(r[o]))&&(s&&(s+=" "),s+=n);return s},fw=(r,...n)=>{let s,o,l,u;const d=p=>{const g=n.reduce((y,v)=>v(y),r());return s=lw(g),o=s.cache.get,l=s.cache.set,u=h,h(p)},h=p=>{const g=o(p);if(g)return g;const y=cw(p,s);return l(p,y),y};return u=d,(...p)=>u(dw(...p))},hw=[],Ze=r=>{const n=s=>s[r]||hw;return n.isThemeGetter=!0,n},Qm=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Km=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pw=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,mw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gw=/\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$/,yw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ww=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,sr=r=>pw.test(r),Se=r=>!!r&&!Number.isNaN(Number(r)),ir=r=>!!r&&Number.isInteger(Number(r)),Ku=r=>r.endsWith("%")&&Se(r.slice(0,-1)),Pn=r=>mw.test(r),Gm=()=>!0,xw=r=>gw.test(r)&&!yw.test(r),Bc=()=>!1,Sw=r=>vw.test(r),kw=r=>ww.test(r),_w=r=>!te(r)&&!ne(r),Ew=r=>xr(r,Ym,Bc),te=r=>Qm.test(r),Ir=r=>xr(r,Zm,xw),vp=r=>xr(r,Aw,Se),bw=r=>xr(r,tg,Gm),Cw=r=>xr(r,eg,Bc),wp=r=>xr(r,Jm,Bc),Rw=r=>xr(r,Xm,kw),wa=r=>xr(r,ng,Sw),ne=r=>Km.test(r),Ii=r=>Zr(r,Zm),Tw=r=>Zr(r,eg),xp=r=>Zr(r,Jm),Pw=r=>Zr(r,Ym),Ow=r=>Zr(r,Xm),xa=r=>Zr(r,ng,!0),Nw=r=>Zr(r,tg,!0),xr=(r,n,s)=>{const o=Qm.exec(r);return o?o[1]?n(o[1]):s(o[2]):!1},Zr=(r,n,s=!1)=>{const o=Km.exec(r);return o?o[1]?n(o[1]):s:!1},Jm=r=>r==="position"||r==="percentage",Xm=r=>r==="image"||r==="url",Ym=r=>r==="length"||r==="size"||r==="bg-size",Zm=r=>r==="length",Aw=r=>r==="number",eg=r=>r==="family-name",tg=r=>r==="number"||r==="weight",ng=r=>r==="shadow",Lw=()=>{const r=Ze("color"),n=Ze("font"),s=Ze("text"),o=Ze("font-weight"),l=Ze("tracking"),u=Ze("leading"),d=Ze("breakpoint"),h=Ze("container"),p=Ze("spacing"),g=Ze("radius"),y=Ze("shadow"),v=Ze("inset-shadow"),b=Ze("text-shadow"),P=Ze("drop-shadow"),D=Ze("blur"),O=Ze("perspective"),E=Ze("aspect"),k=Ze("ease"),U=Ze("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...j(),ne,te],Q=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto","contain","none"],z=()=>[ne,te,p],de=()=>[sr,"full","auto",...z()],we=()=>
vendor: 7,966 bytes, line 65
65[ir,"none","subgrid",ne,te],he=()=>["auto",{span:["full",ir,ne,te]},ir,ne,te],Ne=()=>[ir,"auto",ne,te],$e=()=>["auto","min","max","fr",ne,te],Oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],je=()=>["start","end","center","stretch","center-safe","end-safe"],Te=()=>["auto",...z()],Ce=()=>[sr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],K=()=>[sr,"screen","full","dvw","lvw","svw","min","max","fit",...z()],ie=()=>[sr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],M=()=>[r,ne,te],R=()=>[...j(),xp,wp,{position:[ne,te]}],B=()=>["no-repeat",{repeat:["","x","y","space","round"]}],fe=()=>["auto","cover","contain",Pw,Ew,{size:[ne,te]}],pe=()=>[Ku,Ii,Ir],ce=()=>["","none","full",g,ne,te],G=()=>["",Se,Ii,Ir],ye=()=>["solid","dashed","dotted","double"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[Se,Ku,xp,wp],tt=()=>["","none",D,ne,te],Ut=()=>["none",Se,ne,te],at=()=>["none",Se,ne,te],Gt=()=>[Se,ne,te],Mt=()=>[sr,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Pn],breakpoint:[Pn],color:[Gm],container:[Pn],"drop-shadow":[Pn],ease:["in","out","in-out"],font:[_w],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Pn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Pn],shadow:[Pn],spacing:["px",Se],text:[Pn],"text-shadow":[Pn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",sr,te,ne,E]}],container:["container"],columns:[{columns:[Se,te,ne,h]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:H()}],overflow:[{overflow:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-y":[{"overflow-y":Q()}],overscroll:[{overscroll:ue()}],"overscroll-x":[{"overscroll-x":ue()}],"overscroll-y":[{"overscroll-y":ue()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:de()}],"inset-x":[{"inset-x":de()}],"inset-y":[{"inset-y":de()}],start:[{"inset-s":de(),start:de()}],end:[{"inset-e":de(),end:de()}],"inset-bs":[{"inset-bs":de()}],"inset-be":[{"inset-be":de()}],top:[{top:de()}],right:[{right:de()}],bottom:[{bottom:de()}],left:[{left:de()}],visibility:["visible","invisible","collapse"],z:[{z:[ir,"auto",ne,te]}],basis:[{basis:[sr,"full","auto",h,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Se,sr,"auto","initial","none",te]}],grow:[{grow:["",Se,ne,te]}],shrink:[{shrink:["",Se,ne,te]}],order:[{order:[ir,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:he()}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:he()}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...Oe(),"normal"]}],"justify-items":[{"justify-items":[...je(),"normal"]}],"justify-self":[{"justify-self":["auto",...je()]}],"align-content":[{content:["normal",...Oe()]}],"align-items":[{items:[...je(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...je(),{baseline:["","last"]}]}],"place-content":[{"place-content":Oe()}],"place-items":[{"place-items":[...je(),"baseline"]}],"place-self":[{"place-self":["auto",...je()]}],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:Te()}],mx:[{mx:Te()}],my:[{my:Te()}],ms:[{ms:Te()}],me:[{me:Te()}],mbs:[{mbs:Te()}],mbe:[{mbe:Te()}],mt:[{mt:Te()}],mr:[{mr:Te()}],mb:[{mb:Te()}],ml:[{ml:Te()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ce()}],"inline-size":[{inline:["auto",...K()]}],"min-inline-size":[{"min-inline":["auto",...K()]}],"max-inline-size":[{"max-inline":["none",...K()]}],"block-size":[{block:["auto",...ie()]}],"min-block-size":[{"min-block":["auto",...ie()]}],"max-block-size":[{"max-block":["none",...ie()]}],w:[{w:[h,"screen",...Ce()]}],"min-w":[{"min-w":[h,"screen","none",...Ce()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...Ce()]}],h:[{h:["screen","lh",...Ce()]}],"min-h":[{"min-h":["screen","lh","none",...Ce()]}],"max-h":[{"max-h":["screen","lh",...Ce()]}],"font-size":[{text:["base",s,Ii,Ir]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Nw,bw]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ku,te]}],"font-family":[{font:[Tw,Cw,n]}],"font-features":[{"font-features":[te]}],"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,ne,te]}],"line-clamp":[{"line-clamp":[Se,"none",ne,vp]}],leading:[{leading:[u,...z()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:[Se,"from-font","auto",ne,Ir]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Se,"auto",ne,te]}],"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",ne,te]}],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",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:B()}],"bg-size":[{bg:fe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ir,ne,te],radial:["",ne,te],conic:[ir,ne,te]},Ow,Rw]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:pe()}
65],"gradient-via-pos":[{via:pe()}],"gradient-to-pos":[{to:pe()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-bs":[{"border-bs":G()}],"border-w-be":[{"border-be":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ye(),"hidden","none"]}],"divide-style":[{divide:[...ye(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}
vendor: 5,552 bytes, line 65
65],"divide-color":[{divide:M()}],"outline-style":[{outline:[...ye(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Se,ne,te]}],"outline-w":[{outline:["",Se,Ii,Ir]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",y,xa,wa]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",v,xa,wa]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Se,Ir]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",b,xa,wa]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Se,ne,te]}],"mix-blend":[{"mix-blend":[..._e(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":_e()}],"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":[Se]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":j()}],"mask-image-conic-pos":[{"mask-conic":[Se]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:B()}],"mask-size":[{mask:fe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:tt()}],brightness:[{brightness:[Se,ne,te]}],contrast:[{contrast:[Se,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",P,xa,wa]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",Se,ne,te]}],"hue-rotate":[{"hue-rotate":[Se,ne,te]}],invert:[{invert:["",Se,ne,te]}],saturate:[{saturate:[Se,ne,te]}],sepia:[{sepia:["",Se,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":tt()}],"backdrop-brightness":[{"backdrop-brightness":[Se,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[Se,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Se,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Se,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",Se,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[Se,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[Se,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",Se,ne,te]}],"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",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Se,"initial",ne,te]}],ease:[{ease:["linear","initial",k,ne,te]}],delay:[{delay:[Se,ne,te]}],animate:[{animate:["none",U,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[O,ne,te]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Ut()}],"rotate-x":[{"rotate-x":Ut()}],"rotate-y":[{"rotate-y":Ut()}],"rotate-z":[{"rotate-z":Ut()}],scale:[{scale:at()}],"scale-x":[{"scale-x":at()}],"scale-y":[{"scale-y":at()}],"scale-z":[{"scale-z":at()}],"scale-3d":["scale-3d"],skew:[{skew:Gt()}],"skew-x":[{"skew-x":Gt()}],"skew-y":[{"skew-y":Gt()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Mt()}],"translate-x":[{"translate-x":Mt()}
vendor: 7,157 bytes, line 65
65],"translate-y":[{"translate-y":Mt()}],"translate-z":[{"translate-z":Mt()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",ne,te]}],"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",ne,te]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Se,Ii,Ir,vp]}],stroke:[{stroke:["none",...M()]}],"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"]}},jw=fw(Lw);function eo(...r){return jw(zm(r))}const rg=F.forwardRef(({...r},n)=>x.jsx("div",{ref:n,className:"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}));rg.displayName="ToastProvider";const sg=F.forwardRef(({...r},n)=>x.jsx("div",{ref:n,className:"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}));sg.displayName="ToastViewport";const Iw=F0("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"}}),ig=F.forwardRef(({className:r,variant:n,...s},o)=>x.jsx("div",{ref:o,className:eo(Iw({variant:n}),r),...s}));ig.displayName="Toast";const Dw=F.forwardRef(({className:r,...n},s)=>x.jsx("div",{ref:s,className:eo("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),...n}));Dw.displayName="ToastAction";const og=F.forwardRef(({className:r,...n},s)=>x.jsx("button",{ref:s,className:eo("absolute right-2 top-2 rounded-md p-1 text-foreground
65/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":"",...n,children:x.jsx(H0,{className:"h-4 w-4"})}));og.displayName="ToastClose";const ag=F.forwardRef(({className:r,...n},s)=>x.jsx("div",{ref:s,className:eo("text-sm font-semibold",r),...n}));ag.displayName="ToastTitle";const lg=F.forwardRef(({className:r,...n},s)=>x.jsx("div",{ref:s,className:eo("text-sm opacity-90",r),...n}));lg.displayName="ToastDescription";function Uw(){const{toasts:r}=M0();return x.jsxs(rg,{children:[r.map(function({id:n,title:s,description:o,action:l,...u}){return x.jsxs(ig,{...u,children:[x.jsxs("div",{className:"grid gap-1",children:[s&&x.jsx(ag,{children:s}),o&&x.jsx(lg,{children:o})]}),l,x.jsx(og,{})]},n)}),x.jsx(sg,{})]})}var Hs=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(){}},Mw={setTimeout:(r,n)=>setTimeout(r,n),clearTimeout:r=>clearTimeout(r),setInterval:(r,n)=>setInterval(r,n),clearInterval:r=>clearInterval(r)},ar,Uc,Rm,Fw=(Rm=class{constructor(){oe(this,ar,Mw);oe(this,Uc,!1)}setTimeoutProvider(r){X(this,ar,r)}setTimeout(r,n){return S(this,ar).setTimeout(r,n)}clearTimeout(r){S(this,ar).clearTimeout(r)}setInterval(r,n){return S(this,ar).setInterval(r,n)}clearInterval(r){S(this,ar).clearInterval(r)}},ar=new WeakMap,Uc=new WeakMap,Rm),Ur=new Fw;function Bw(r){setTimeout(r,0)}var Gr=typeof window>"u"||"Deno"in globalThis;function _t(){}function zw(r,n){return typeof r=="function"?r(n):r}function lc(r){return typeof r=="number"&&r>=0&&r!==1/0}function ug(r,n){return Math.max(r+(n||0)-Date.now(),0)}function yr(r,n){return typeof r=="function"?r(n):r}function Qt(r,n){return typeof r=="function"?r(n):r}function Sp(r,n){const{type:s="all",exact:o,fetchStatus:l,predicate:u,queryKey:d,stale:h}=r;if(d){if(o){if(n.queryHash!==zc(d,n.options))return!1}else if(!Hi(n.queryKey,d))return!1}if(s!=="all"){const p=n.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||l&&l!==n.state.fetchStatus||u&&!u(n))}function kp(r,n){const{exact:s,status:o,predicate:l,mutationKey:u}=r;if(u){if(!n.options.mutationKey)return!1;if(s){if(Jr(n.options.mutationKey)!==Jr(u))return!1}else if(!Hi(n.options.mutationKey,u))return!1}return!(o&&n.state.status!==o||l&&!l(n))}function zc(r,n){return((n==null?void 0:n.queryKeyHashFn)||Jr)(r)}function Jr(r){return JSON.stringify(r,(n,s)=>uc(s)?Object.keys(s).sort().reduce((o,l)=>(o[l]=s[l],o),{}):s)}function Hi(r,n){return r===n?!0:typeof r!=typeof n?!1:r&&n&&typeof r=="object"&&typeof n=="object"?Object.keys(n).every(s=>Hi(r[s],n[s])):!1}var $w=Object.prototype.hasOwnProperty;function cg(r,n,s=0){if(r===n)return r;if(s>500)return n;const o=_p(r)&&_p(n);if(!o&&!(uc(r)&&uc(n)))return n;const u=(o?r:Object.keys(r)).length,d=o?n:Object.keys(n),h=d.length,p=o?new Array(h):{};let g=0;for(let y=0;y<h;y++){const v=o?y:d[y],b=r[v],P=n[v];if(b===P){p[v]=b,(o?y<u:$w.call(r,v))&&g++;continue}if(b===null||P===null||typeof b!="object"||typeof P!="object"){p[v]=P;continue}const D=cg(b,P,s+1);p[v]=D,D===b&&g++}return u===h&&g===u?r:p}function Ua(r,n){if(!n||Object.keys(r).length!==Object.keys(n).length)return!1;for(const s in r)if(r[s]!==n[s])return!1;return!0}function _p(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function uc(r){if(!Ep(r))return!1;const n=r.constructor;if(n===void 0)return!0;const s=n.prototype;return!(!Ep(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(r)!==Object.prototype)}function Ep(r){return Object.prototype.toString.call(r)==="[object Object]"}function Vw(r){return new Promise(n=>{Ur.setTimeout(n,r)})}function cc(r,n,s){return typeof s.structuralSharing=="function"?s.structuralSharing(r,n):s.structuralSharing!==!1?cg(r,n):n}function qw(r,n,s=0){const o=[...r,n];return s&&o.length>s?o.slice(1):o}function Hw(r,n,s=0){const o=[n,...r];return s&&o.length>s?o.slice(0,-1):o}var $c=Symbol();function dg(r,n){return!r.queryFn&&(n!=null&&n.initialPromise)?()=>n.initialPromise:!r.queryFn||r.queryFn===$c?()=>Promise.reject(new Error(`Missing queryFn: '${r.queryHash}'`)):r.queryFn}function Vc(r,n){return typeof r=="function"?r(...n):!!r}function Ww(r,n,s){let o=!1,l;return Object.defineProperty(r,"signal",{enumerable:!0,get:()=>(l??(l=n()),o||(o=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),r}var Fr,lr,Ps,Tm,Qw=(Tm=class extends Hs{constructor(){super();oe(this,Fr);oe(this,lr);oe(this,Ps);X(this,Ps,n=>{if(!Gr&&window.addEventListener){const s=()=>n();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){S(this,lr)||this.setEventListener(S(this,Ps))}onUnsubscribe(){var n;this.hasListeners()||((n=S(this,lr))==null||n.call(this),X(this,lr,void 0))}setEventListener(n){var s;X(this,Ps,n),(s=S(this,lr))==null||s.call(this),X(this,lr,n(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(n){S(this,Fr)!==n&&(X(this,Fr,n),this.onFocus())}onFocus(){const n=this.isFocused();
vendor: 4,992 bytes, line 65
65this.listeners.forEach(s=>{s(n)})}isFocused(){var n;return typeof S(this,Fr)=="boolean"?S(this,Fr):((n=globalThis.document)==null?void 0:n.visibilityState)!=="hidden"}},Fr=new WeakMap,lr=new WeakMap,Ps=new WeakMap,Tm),qc=new Qw;function dc(){let r,n;const s=new Promise((l,u)=>{r=l,n=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}),n(l)},s}var Kw=Bw;function Gw(){let r=[],n=0,s=h=>{h()},o=h=>{h()},l=Kw;const u=h=>{n?r.push(h):l(()=>{s(h)})},d=()=>{const h=r;r=[],h.length&&l(()=>{o(()=>{h.forEach(p=>{s(p)})})})};return{batch:h=>{let p;n++;try{p=h()}finally{n--,n||d()}return p},batchCalls:h=>(...p)=>{u(()=>{h(...p)})},schedule:u,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{o=h},setScheduler:h=>{l=h}}}var et=Gw(),Os,ur,Ns,Pm,Jw=(Pm=class extends Hs{constructor(){super();oe(this,Os,!0);oe(this,ur);oe(this,Ns);X(this,Ns,n=>{if(!Gr&&window.addEventListener){const s=()=>n(!0),o=()=>n(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",o)}}})}onSubscribe(){S(this,ur)||this.setEventListener(S(this,Ns))}onUnsubscribe(){var n;this.hasListeners()||((n=S(this,ur))==null||n.call(this),X(this,ur,void 0))}setEventListener(n){var s;X(this,Ns,n),(s=S(this,ur))==null||s.call(this),X(this,ur,n(this.setOnline.bind(this)))}setOnline(n){S(this,Os)!==n&&(X(this,Os,n),this.listeners.forEach(o=>{o(n)}))}isOnline(){return S(this,Os)}},Os=new WeakMap,ur=new WeakMap,Ns=new WeakMap,Pm),Ma=new Jw;function Xw(r){return Math.min(1e3*2**r,3e4)}function fg(r){return(r??"online")==="online"?Ma.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 hg(r){let n=!1,s=0,o;const l=dc(),u=()=>l.status!=="pending",d=O=>{var E;if(!u()){const k=new fc(O);b(k),(E=r.onCancel)==null||E.call(r,k)}},h=()=>{n=!0},p=()=>{n=!1},g=()=>qc.isFocused()&&(r.networkMode==="always"||Ma.isOnline())&&r.canRun(),y=()=>fg(r.networkMode)&&r.canRun(),v=O=>{u()||(o==null||o(),l.resolve(O))},b=O=>{u()||(o==null||o(),l.reject(O))},P=()=>new Promise(O=>{var E;o=k=>{(u()||g())&&O(k)},(E=r.onPause)==null||E.call(r)}).then(()=>{var O;o=void 0,u()||(O=r.onContinue)==null||O.call(r)}),D=()=>{if(u())return;let O;const E=s===0?r.initialPromise:void 0;try{O=E??r.fn()}catch(k){O=Promise.reject(k)}Promise.resolve(O).then(v).catch(k=>{var Q;if(u())return;const U=r.retry??(Gr?0:3),A=r.retryDelay??Xw,j=typeof A=="function"?A(s,k):A,H=U===!0||typeof U=="number"&&s<U||typeof U=="function"&&U(s,k);if(n||!H){b(k);return}s++,(Q=r.onFail)==null||Q.call(r,s,k),Vw(j).then(()=>g()?void 0:P()).then(()=>{n?b(k):D()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(o==null||o(),l),cancelRetry:h,continueRetry:p,canStart:y,start:()=>(y()?D():P().then(D),l)}}var Br,Om,pg=(Om=class{constructor(){oe(this,Br)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),lc(this.gcTime)&&X(this,Br,Ur.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(r){this.gcTime=Math.max(this.gcTime||0,r??(Gr?1/0:300*1e3))}clearGcTimeout(){S(this,Br)&&(Ur.clearTimeout(S(this,Br)),X(this,Br,void 0))}},Br=new WeakMap,Om),zr,As,Wt,$r,it,Gi,Vr,on,On,Nm,Yw=(Nm=class extends pg{constructor(n){super();oe(this,on);oe(this,zr);oe(this,As);oe(this,Wt);oe(this,$r);oe(this,it);oe(this,Gi);oe(this,Vr);X(this,Vr,!1),X(this,Gi,n.defaultOptions),this.setOptions(n.options),this.observers=[],X(this,$r,n.client),X(this,Wt,S(this,$r).getQueryCache()),this.queryKey=n.queryKey,this.queryHash=n.queryHash,X(this,zr,Cp(this.options)),this.state=n.state??S(this,zr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var n;return(n=S(this,it))==null?void 0:n.promise}setOptions(n){if(this.options={...S(this,Gi),...n},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Cp(this.options);s.data!==void 0&&(this.setState(bp(s.data,s.dataUpdatedAt)),X(this,zr,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,Wt).remove(this)}setData(n,s){const o=cc(this.state.data,n,this.options);return xe(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(n,s){xe(this,on,On).call(this,{type:"setState",state:n,setStateOptions:s})}cancel(n){var o,l;const s=(o=S(this,it))==null?void 0:o.promise;return(l=S(this,it))==null||l.cancel(n),s?s.then(_t).catch(_t):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,zr))}isActive(){return this.observers.some(n=>Qt(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===$c||this.state.dataUpdateCount+this.state.errorUpdate
65Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>yr(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!ug(this.state.dataUpdatedAt,n)}onFocus(){var s;const n=this.observers.find(o=>o.shouldFetchOnWindowFocus());n==null||n.refetch({cancelRefetch:!1}),(s=S(this,it))==null||s.continue()}onOnline(){var s;const n=this.observers.find(o=>o.shouldFetchOnReconnect());n==null||n.refetch({cancelRefetch:!1}),(s=S(this,it))==null||s.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),S(this,Wt).notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(s=>s!==n),this.observers.length||(S(this,it)&&(S(this,Vr)?S(this,it).cancel({revert:!0}):S(this,it).cancelRetry()),this.scheduleGc()),S(this,Wt).notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||xe(this,on,On).call(this,{type:"invalidate"})}async fetch(n,s){var p,g,y,v,b,P,D,O,E,k,U,A;if(this.state.fetchStatus!=="idle"&&((p=S(this,it))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(S(this,it))return S(this,it).continueRetry(),S(this,it).promise}if(n&&this.setOptions(n),!this.options.queryFn){const j=this.observers.find(H=>H.options.queryFn);j&&this.setOptions(j.options)}const o=new AbortController,l=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(X(this,Vr,!0),o.signal)})},u=()=>{const j=dg(this.options,s),Q=(()=>{const ue={client:S(this,$r),queryKey:this.queryKey,meta:this.meta};return l(ue),ue})();return X(this,Vr,!1),this.options.persister?this.options.persister(j,Q,this):j(Q)},h=(()=>{const j={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:S(this,$r),state:this.state,fetchFn:u};return l(j),j})();(g=this.options.behavior)==null||g.onFetch(h,this),X(this,As,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=h.fetchOptions)==null?void 0:y.meta))&&xe(this,on,On).call(this,{type:"fetch",meta:(v=h.fetchOptions)==null?void 0:v.meta}),X(this,it,hg({initialPromise:s==null?void 0:s.initialPromise,fn:h.fetchFn,onCancel:j=>{j instanceof fc&&j.revert&&this.setState({...S(this,As),fetchStatus:"idle"}),o.abort()},onFail:(j,H)=>{xe(this,on,On).call(this,{type:"failed",failureCount:j,error:H})},onPause:()=>{xe(this,on,On).call(this,{type:"pause"})},onContinue:()=>{xe(this,on,On).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const j=await S(this,it).start();if(j===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(j),(P=(b=S(this,Wt).config).onSuccess)==null||P.call(b,j,this),(O=(D=S(this,Wt).config).onSettled)==null||O.call(D,j,this.state.error,this),j}catch(j){if(j instanceof fc){if(j.silent)return S(this,it).promise;if(j.revert){if(this.state.data===void 0)throw j;return this.state.data}}throw xe(this,on,On).call(this,{type:"error",error:j}),(k=(E=S(this,Wt).config).onError)==null||k.call(E,j,this),(A=(U=S(this,Wt).config).onSettled)==null||A.call(U,this.state.data,j,this),j}finally{this.scheduleGc()}}},zr=new WeakMap,As=new WeakMap,Wt=new WeakMap,$r=new WeakMap,it=new WeakMap,Gi=new WeakMap,Vr=new WeakMap,on=new WeakSet,On=function(n){const s=o=>{switch(n.type){case"failed":return{...o,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...mg(o.data,this.options),fetchMeta:n.meta??null};case"success":const l={...o,...bp(n.data,n.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return X(this,As,n.manual?l:void 0),l;case"error":const u=n.error;
vendor: 10,227 bytes, line 65
65return{...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,...n.state}}};this.state=s(this.state),et.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),S(this,Wt).notify({query:this,type:"updated",action:n})})},Nm);function mg(r,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:fg(n.networkMode)?"fetching":"paused",...r===void 0&&{error:null,status:"pending"}}}function bp(r,n){return{data:r,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Cp(r){const n=typeof r.initialData=="function"?r.initialData():r.initialData,s=n!==void 0,o=s?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:n,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 Ot,Ee,Ji,kt,qr,Ls,Nn,cr,Xi,js,Is,Hr,Wr,dr,Ds,Ae,Fi,hc,pc,mc,gc,yc,vc,wc,gg,Am,Zw=(Am=class extends Hs{constructor(n,s){super();oe(this,Ae);oe(this,Ot);oe(this,Ee);oe(this,Ji);oe(this,kt);oe(this,qr);oe(this,Ls);oe(this,Nn);oe(this,cr);oe(this,Xi);oe(this,js);oe(this,Is);oe(this,Hr);oe(this,Wr);oe(this,dr);oe(this,Ds,new Set);this.options=s,X(this,Ot,n),X(this,cr,null),X(this,Nn,dc()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(S(this,Ee).addObserver(this),Rp(S(this,Ee),this.options)?xe(this,Ae,Fi).call(this):this.updateResult(),xe(this,Ae,gc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return xc(S(this,Ee),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return xc(S(this,Ee),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,xe(this,Ae,yc).call(this),xe(this,Ae,vc).call(this),S(this,Ee).removeObserver(this)}setOptions(n){const s=this.options,o=S(this,Ee);if(this.options=S(this,Ot).defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Qt(this.options.enabled,S(this,Ee))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");xe(this,Ae,wc).call(this),S(this,Ee).setOptions(this.options),s._defaulted&&!Ua(this.options,s)&&S(this,Ot).getQueryCache().notify({type:"observerOptionsUpdated",query:S(this,Ee),observer:this});const l=this.hasListeners();l&&Tp(S(this,Ee),o,this.options,s)&&xe(this,Ae,Fi).call(this),this.updateResult(),l&&(S(this,Ee)!==o||Qt(this.options.enabled,S(this,Ee))!==Qt(s.enabled,S(this,Ee))||yr(this.options.staleTime,S(this,Ee))!==yr(s.staleTime,S(this,Ee)))&&xe(this,Ae,hc).call(this);const u=xe(this,Ae,pc).call(this);l&&(S(this,Ee)!==o||Qt(this.options.enabled,S(this,Ee))!==Qt(s.enabled,S(this,Ee))||u!==S(this,dr))&&xe(this,Ae,mc).call(this,u)}getOptimisticResult(n){const s=S(this,Ot).getQueryCache().build(S(this,Ot),n),o=this.createResult(s,n);return tx(this,o)&&(X(this,kt,o),X(this,Ls,this.options),X(this,qr,S(this,Ee).state)),o}getCurrentResult(){return S(this,kt)}trackResult(n,s){return new Proxy(n,{get:(o,l)=>(this.trackProp(l),s==null||s(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&S(this,Nn).status==="pending"&&S(this,Nn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,l))})}trackProp(n){S(this,Ds).add(n)}getCurrentQuery(){return S(this,Ee)}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const s=S(this,Ot).defaultQueryOptions(n),o=S(this,Ot).getQueryCache().build(S(this,Ot),s);return o.fetch().then(()=>this.createResult(o,s))}fetch(n){return xe(this,Ae,Fi).call(this,{...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),S(this,kt)))}createResult(n,s){var de;const o=S(this,Ee),l=this.options,u=S(this,kt),d=S(this,qr),h=S(this,Ls),g=n!==o?n.state:S(this,Ji),{state:y}=n;let v={...y},b=!1,P;if(s._optimisticResults){const we=this.hasListeners(),he=!we&&Rp(n,s),Ne=we&&Tp(n,o,s,l);(he||Ne)&&(v={...v,...mg(y.data,n.options)}),s._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:D,errorUpdatedAt:O,status:E}=v;P=v.data;let k=!1;if(s.placeholderData!==void 0&&P===void 0&&E==="pending"){let we;u!=null&&u.isPlaceholderData&&s.placeholderData===(h==null?void 0:h.placeholderData)?(we=u.data,k=!0):we=typeof s.placeholderData=="function"?s.placeholderData((de=S(this,Is))==null?void 0:de.state.data,S(this,Is)):s.placeholderData,we!==void 0&&(E="success",P=cc(u==null?void 0:u.data,we,s),b=!0)}if(s.select&&P!==void 0&&!k)if(u&&P===(d==null?void 0:d.data)&&s.select===S(this,Xi))P=S(this,js);else try{X(this,Xi,s.select),P=s.select(P),P=cc(u==null?void 0:u.data,P,s),X(this,js,P),X(this,cr,null)}catch(we){X(this,cr,we)}S(this,cr)&&(D=S(this,cr),P=S(this,js),O=Date.now(),E="error");const U=v.fetchStatus==="fetching",A=E==="pending",j=E==="error",H=A&&U,Q=P!==void 0,z={status:E,fetchStatus:v.fetchStatus,isPending:A,isSuccess:E==="success",isError:j,isInitialLoading:H,isLoading:H,data:P,dataUpdatedAt:v.dataUpdatedAt,error:D,errorUpdatedAt:O,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>g.dataUpdateCount||v.errorUpdateCount>g.errorUpdateCount,isFetching:U,isRefetching:U&&!A,isLoadingError:j&&!Q,isPaused:v.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:j&&Q,isStale:Hc(n,s),refetch:this.refetch,promise:S(this,Nn),isEnabled:Qt(s.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const we=z.data!==void 0,he=z.status==="error"&&!we,Ne=je=>{he?je.reject(z.error):we&&je.resolve(z.data)},$e=()=>{const je=X(this,Nn,z.promise=dc());Ne(je)},Oe=S(this,Nn);switch(Oe.status){case"pending":n.queryHash===o.queryHash&&Ne(Oe);break;case"fulfilled":(he||z.data!==Oe.value)&&$e();break;case"rejected":(!he||z.error!==Oe.reason)&&$e();break}}return z}updateResult(){const n=S(this,kt),s=this.createResult(S(this,Ee),this.options);if(X(this,qr,S(this,Ee).state),X(this,Ls,this.options),S(this,qr).data!==void 0&&X(this,Is,S(this,Ee)),Ua(s,n))return;X(this,kt,s);const o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!S(this,Ds).size)return!0;const d=new Set(u??S(this,Ds));return this.options.throwOnError&&d.add("error"),Object.keys(S(this,kt)).some(h=>{const p=h;return S(this,kt)[p]!==n[p]&&d.has(p)})};xe(this,Ae,gg).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&xe(this,Ae,gc).call(this)}},Ot=new WeakMap,Ee=new WeakMap,Ji=new WeakMap,kt=new WeakMap,qr=new WeakMap,Ls=new WeakMap,Nn=new WeakMap,cr=new WeakMap,Xi=new WeakMap,js=new WeakMap,Is=new WeakMap,Hr=new WeakMap,Wr=new WeakMap,dr=new WeakMap,Ds=new WeakMap,Ae=new WeakSet,Fi=function(n){xe(this,Ae,wc).call(this);let s=S(this,Ee).fetch(this.options,n);return n!=null&&n.throwOnError||(s=s.catch(_t)),s},hc=function(){xe(this,Ae,yc).call(this);const n=yr(this.options.staleTime,S(this,Ee));if(Gr||S(this,kt).isStale||!lc(n))return;const o=ug(S(this,kt).dataUpdatedAt,n)+1;X(this,Hr,Ur.setTimeout(()=>{S(this,kt).isStale||this.updateResult()},o))},pc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(S(this,Ee)):this.options.refetchInterval)??!1},mc=function(n){xe(this,Ae,vc).call(this),X(this,dr,n),!(Gr||Qt(this.options.enabled,S(this,Ee))===!1||!lc(S(this,dr))||S(this,dr)===0)&&X(this,Wr,Ur.setInterval(()=>{(this.options.refetchIntervalInBackground||qc.isFocused())&&xe(this,Ae,Fi).call(this)},S(this,dr)))},gc=function(){xe(this,Ae,hc).call(this),xe(this,Ae,mc).call(this,xe(this,Ae,pc).call(this))},yc=function(){S(this,Hr)&&(Ur.clearTimeout(S(this,Hr)),X(this,Hr,void 0))},vc=function(){S(this,Wr)&&(Ur.clearInterval(S(this,Wr)),X(this,Wr,void 0))},wc=function(){const n=S(this,Ot).getQueryCache().build(S(this,Ot),this.options);if(n===S(this,Ee))return;const s=S(this,Ee);X(this,Ee,n),X(this,Ji,n.state),this.hasListeners()&&(s==null||s.removeObserver(this),n.addObserver(this))},gg=function(n){et.batch(()=>{n.listeners&&this.listeners.forEach(s=>{s(S(this,kt))}),S(this,Ot).getQueryCache().notify({query:S(this,Ee),type:"observerResultsUpdated"})})},Am);function ex(r,n){return Qt(n.enabled,r)!==!1&&r.state.data===void 0&&!(r.state.status==="error"&&n.retryOnMount===!1)}function Rp(r,n){return ex(r,n)||r.state.data!==void 0&&xc(r,n,n.refetchOnMount)}function xc(r,n,s){if(Qt(n.enabled,r)!==!1&&yr(n.staleTime,r)!=="static"){const o=typeof s=="function"?s(r):s;return o==="always"||o!==!1&&Hc(r,n)}return!1}function Tp(r,n,s,o){return(r!==n||Qt(o.enabled,r)===!1)&&(!s.suspense||r.state.status!=="error")&&Hc(r,s)}function Hc(r,n){return Qt(n.enabled,r)!==!1&&r.isStaleByTime(yr(n.staleTime,r))}function tx(r,n){return!Ua(r.getCurrentResult(),n)}function Pp(r){return{onFetch:(n,s)=>{var y,v,b,P,D;const o=n.options,l=(b=(v=(y=n.fetchOptions)==null?void 0:y.meta)==null?void 0:v.fetchMore)==null?void 0:b.direction,u=((P=n.state.data)==null?void 0:P.pages)||[],d=((D=n.state.data)==null?void 0:D.pageParams)||[];let h={pages:[],pageParams:[]},p=0;const g=async()=>{let O=!1;const E=A=>{Ww(A,()=>n.signal,()=>O=!0)},k=dg(n.options,n.fetchOptions),U=async(A,j,H)=>{if(O)return Promise.reject();if(j==null&&A.pages.length)return Promise.resolve(A);const ue=(()=>{const he={client:n.client,queryKey:n.queryKey,pageParam:j,direction:H?"backward":"forward",meta:n.options.meta};return E(he),he})(),z=await k(ue),{maxPages:de}=n.options,we=H?Hw:qw;return{pages:we(A.pages,z,de),pageParams:we(A.pageParams,j,de)}};if(l&&u.length){const A=l==="backward",j=A?nx:Op,H={pages:u,pageParams:d},Q=j(o,H);h=await U(H,Q,A)}else{const A=r??u.length;do{const j=p===0?d[0]??o.initialPageParam:Op(o,h);if(p>0&&j==null)break;h=await U(h,j),p++}while(p<A)}return h};n.options.persister?n.fetchFn=()=>{var O,E;
65return(E=(O=n.options).persister)==null?void 0:E.call(O,g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},s)}:n.fetchFn=g}}}function Op(r,{pages:n,pageParams:s}){const o=n.length-1;return n.length>0?r.getNextPageParam(n[o],n,s[o],s):void 0}function nx(r,{pages:n,pageParams:s}){var o;return n.length>0?(o=r.getPreviousPageParam)==null?void 0:o.call(r,n[0],n,s[0],s):void 0}var Yi,mn,vt,Qr,gn,or,Lm,rx=(Lm=class extends pg{constructor(n){super();oe(this,gn);oe(this,Yi);oe(this,mn);oe(this,vt);oe(this,Qr);X(this,Yi,n.client),this.mutationId=n.mutationId,X(this,vt,n.mutationCache),X(this,mn,[]),this.state=n.state||yg(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){S(this,mn).includes(n)||(S(this,mn).push(n),this.clearGcTimeout(),S(this,vt).notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){X(this,mn,S(this,mn).filter(s=>s!==n)),this.scheduleGc(),S(this,vt).notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){S(this,mn).length||(this.state.status==="pending"?this.scheduleGc():S(this,vt).remove(this))}continue(){var n;return((n=S(this,Qr))==null?void 0:n.continue())??this.execute(this.state.variables)}async execute(n){var d,h,p,g,y,v,b,P,D,O,E,k,U,A,j,H,Q,ue;const s=()=>{xe(this,gn,or).call(this,{type:"continue"})},o={client:S(this,Yi),meta:this.options.meta,mutationKey:this.options.mutationKey};X(this,Qr,hg({fn:()=>this.options.mutationFn?this.options.mutationFn(n,o):Promise.reject(new Error("No mutationFn found")),onFail:(z,de)=>{xe(this,gn,or).call(this,{type:"failed",failureCount:z,error:de})},onPause:()=>{xe(this,gn,or).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,vt).canRun(this)}));const l=this.state.status==="pending",u=!S(this,Qr).canStart();try{if(l)s();else{xe(this,gn,or).call(this,{type:"pending",variables:n,isPaused:u}),S(this,vt).config.onMutate&&await S(this,vt).config.onMutate(n,this,o);const de=await((h=(d=this.options).onMutate)==null?void 0:h.call(d,n,o));de!==this.state.context&&xe(this,gn,or).call(this,{type:"pending",context:de,variables:n,isPaused:u})}const z=await S(this,Qr).start();return await((g=(p=S(this,vt).config).onSuccess)==null?void 0:g.call(p,z,n,this.state.context,this,o)),await((v=(y=this.options).onSuccess)==null?void 0:v.call(y,z,n,this.state.context,o)),await((P=(b=S(this,vt).config).onSettled)==null?void 0:P.call(b,z,null,this.state.variables,this.state.context,this,o)),await((O=(D=this.options).onSettled)==null?void 0:O.call(D,z,null,n,this.state.context,o)),xe(this,gn,or).call(this,{type:"success",data:z}),z}catch(z){try{await((k=(E=S(this,vt).config).onError)==null?void 0:k.call(E,z,n,this.state.context,this,o))}catch(de){Promise.reject(de)}try{await((A=(U=this.options).onError)==null?void 0:A.call(U,z,n,this.state.context,o))}catch(de){Promise.reject(de)}try{await((H=(j=S(this,vt).config).onSettled)==null?void 0:H.call(j,void 0,z,this.state.variables,this.state.context,this,o))}catch(de){Promise.reject(de)}try{await((ue=(Q=this.options).onSettled)==null?void 0:ue.call(Q,void 0,z,n,this.state.context,o))}catch(de){Promise.reject(de)}throw xe(this,gn,or).call(this,{type:"error",error:z}),z}finally{S(this,vt).runNext(this)}}},Yi=new WeakMap,mn=new WeakMap,vt=new WeakMap,Qr=new WeakMap,gn=new WeakSet,or=function(n){const s=o=>{switch(n.type){case"failed":return{...o,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...o,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:n.error,failureCount:o.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=s(this.state),et.batch(()=>
65{S(this,mn).forEach(o=>{o.onMutationUpdate(n)}),S(this,vt).notify({mutation:this,type:"updated",action:n})})},Lm);function yg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var An,an,Zi,jm,sx=(jm=class extends Hs{constructor(n={}){super();oe(this,An);oe(this,an);oe(this,Zi);this.config=n,X(this,An,new Set),X(this,an,new Map),X(this,Zi,0)}build(n,s,o){const l=new rx({client:n,mutationCache:this,mutationId:++ya(this,Zi)._,options:n.defaultMutationOptions(s),state:o});return this.add(l),l}add(n){S(this,An).add(n);const s=Sa(n);if(typeof s=="string"){const o=S(this,an).get(s);o?o.push(n):S(this,an).set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(S(this,An).delete(n)){const s=Sa(n);if(typeof s=="string"){const o=S(this,an).get(s);if(o)if(o.length>1){const l=o.indexOf(n);l!==-1&&o.splice(l,1)}else o[0]===n&&S(this,an).delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=Sa(n);if(typeof s=="string"){const o=S(this,an).get(s),l=o==null?void 0:o.find(u=>u.state.status==="pending");return!l||l===n}else return!0}runNext(n){var o;const s=Sa(n);if(typeof s=="string"){const l=(o=S(this,an).get(s))==null?void 0:o.find(u=>
vendor: 5,549 bytes, line 65
65u!==n&&u.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){et.batch(()=>{S(this,An).forEach(n=>{this.notify({type:"removed",mutation:n})}),S(this,An).clear(),S(this,an).clear()})}getAll(){return Array.from(S(this,An))}find(n){const s={exact:!0,...n};return this.getAll().find(o=>kp(s,o))}findAll(n={}){return this.getAll().filter(s=>kp(n,s))}notify(n){et.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return et.batch(()=>Promise.all(n.map(s=>s.continue().catch(_t))))}},An=new WeakMap,an=new WeakMap,Zi=new WeakMap,jm);function Sa(r){var n;return(n=r.options.scope)==null?void 0:n.id}var Ln,fr,Nt,jn,Dn,Ta,Sc,Im,ix=(Im=class extends Hs{constructor(s,o){super();oe(this,Dn);oe(this,Ln);oe(this,fr);oe(this,Nt);oe(this,jn);X(this,Ln,s),this.setOptions(o),this.bindMethods(),xe(this,Dn,Ta).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){var l;const o=this.options;this.options=S(this,Ln).defaultMutationOptions(s),Ua(this.options,o)||S(this,Ln).getMutationCache().notify({type:"observerOptionsUpdated",mutation:S(this,Nt),observer:this}),o!=null&&o.mutationKey&&this.options.mutationKey&&Jr(o.mutationKey)!==Jr(this.options.mutationKey)?this.reset():((l=S(this,Nt))==null?void 0:l.state.status)==="pending"&&S(this,Nt).setOptions(this.options)}onUnsubscribe(){var s;this.hasListeners()||(s=S(this,Nt))==null||s.removeObserver(this)}onMutationUpdate(s){xe(this,Dn,Ta).call(this),xe(this,Dn,Sc).call(this,s)}getCurrentResult(){return S(this,fr)}reset(){var s;(s=S(this,Nt))==null||s.removeObserver(this),X(this,Nt,void 0),xe(this,Dn,Ta).call(this),xe(this,Dn,Sc).call(this)}mutate(s,o){var l;return X(this,jn,o),(l=S(this,Nt))==null||l.removeObserver(this),X(this,Nt,S(this,Ln).getMutationCache().build(S(this,Ln),this.options)),S(this,Nt).addObserver(this),S(this,Nt).execute(s)}},Ln=new WeakMap,fr=new WeakMap,Nt=new WeakMap,jn=new WeakMap,Dn=new WeakSet,Ta=function(){var o;const s=((o=S(this,Nt))==null?void 0:o.state)??yg();X(this,fr,{...s,isPending:s.status==="pending",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset})},Sc=function(s){et.batch(()=>{var o,l,u,d,h,p,g,y;if(S(this,jn)&&this.hasListeners()){const v=S(this,fr).variables,b=S(this,fr).context,P={client:S(this,Ln),meta:this.options.meta,mutationKey:this.options.mutationKey};if((s==null?void 0:s.type)==="success"){try{(l=(o=S(this,jn)).onSuccess)==null||l.call(o,s.data,v,b,P)}catch(D){Promise.reject(D)}try{(d=(u=S(this,jn)).onSettled)==null||d.call(u,s.data,null,v,b,P)}catch(D){Promise.reject(D)}}else if((s==null?void 0:s.type)==="error"){try{(p=(h=S(this,jn)).onError)==null||p.call(h,s.error,v,b,P)}catch(D){Promise.reject(D)}try{(y=(g=S(this,jn)).onSettled)==null||y.call(g,void 0,s.error,v,b,P)}catch(D){Promise.reject(D)}}}this.listeners.forEach(v=>{v(S(this,fr))})})},Im),yn,Dm,ox=(Dm=class extends Hs{constructor(n={}){super();oe(this,yn);this.config=n,X(this,yn,new Map)}build(n,s,o){const l=s.queryKey,u=s.queryHash??zc(l,s);let d=this.get(u);return d||(d=new Yw({client:n,queryKey:l,queryHash:u,options:n.defaultQueryOptions(s),state:o,defaultOptions:n.getQueryDefaults(l)}),this.add(d)),d}add(n){S(this,yn).has(n.queryHash)||(S(this,yn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=S(this,yn).get(n.queryHash);s&&(n.destroy(),s===n&&S(this,yn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){et.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return S(this,yn).get(n)}getAll(){return[...S(this,yn).values()]}find(n){const s={exact:!0,...n};return this.getAll().find(o=>Sp(s,o))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(o=>Sp(n,o)):s}notify(n){et.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){et.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){et.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},yn=new WeakMap,Dm),qe,hr,pr,Us,Ms,mr,Fs,Bs,Um,ax=(Um=class{constructor(r={}){oe(this,qe);oe(this,hr);oe(this,pr);oe(this,Us);oe(this,Ms);oe(this,mr);oe(this,Fs);oe(this,Bs);X(this,qe,r.queryCache||new ox),X(this,hr,r.mutationCache||new sx),X(this,pr,r.defaultOptions||{}),X(this,Us,new Map),X(this,Ms,new Map),X(this,mr,0)}mount(){ya(this,mr)._++,S(this,mr)===1&&(X(this,Fs,qc.subscribe(async r=>{r&&(await this.resumePausedMutations(),S(this,qe).onFocus())})),X(this,Bs,Ma.subscribe(async r=>{r&&(await this.resumePausedMutations(),S(this,qe).onOnline())})))}unmount(){var r,n;ya(this,mr)._--,S(this,mr)===0&&((r=S(this,Fs))==null||r.call(this),X(this,Fs,void 0),(n=S(this,Bs))==null||n.call(this),X(this,Bs,void 0))}isFetching(r){return S(this,qe).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return S(this,hr).findAll({...r,status:"pending"}).length}getQueryData(r){var s;const n=this.defaultQueryOptions({queryKey:r});return(s=S(this,qe).get(n.queryHash))==null?void 0:s.state.data}ensureQueryData(r){const n=this.defaultQueryOptions(r),s=S(this,qe).build(this,n),o=s.state.data;return o===void 0?this.fetchQuery(r):(r.revalidateIfStale&&s.isStaleByTime(yr(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(o))}getQueriesData(r){return S(this,qe).findAll(r).map(({queryKey:n,state:s})=>{const o=s.data;return[n,o]})}setQueryData(r,n,s){const o=this.defaultQueryOptions({queryKey:r}),l=S(this,qe).get(o.queryHash),u=l==null?void 0:l.state.data,d=zw(n,u);
65if(d!==void 0)return S(this,qe).build(this,o).setData(d,{...s,manual:!0})}setQueriesData(r,n,s){return et.batch(()=>S(this,qe).findAll(r).map(({queryKey:o})=>[o,this.setQueryData(o,n,s)]))}getQueryState(r){var s;const n=this.defaultQueryOptions({queryKey:r});return(s=S(this,qe).get(n.queryHash))==null?void 0:s.state}removeQueries(r){const n=S(this,qe);et.batch(()=>{n.findAll(r).forEach(s=>{n.remove(s)})})}resetQueries(r,n){const s=S(this,qe);return et.batch(()=>(s.findAll(r).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...r},n)))}cancelQueries(r,n={}){const s={revert:!0,...n},o=et.batch(()=>S(this,qe).findAll(r).map(l=>l.cancel(s)));return Promise.all(o).then(_t).catch(_t)}invalidateQueries(r,n={}){return et.batch(()=>(S(this,qe).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"},n)))}refetchQueries(r,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},o=et.batch(()=>S(this,qe).findAll(r).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(_t)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(_t)}fetchQuery(r){const n=this.defaultQueryOptions(r);n.retry===void 0&&(n.retry=!1);const s=S(this,qe).build(this,n);return s.isStaleByTime(yr(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(_t).catch(_t)}fetchInfiniteQuery(r){return r.behavior=Pp(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(_t).catch(_t)}ensureInfiniteQueryData(r){return r.behavior=Pp(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Ma.isOnline()?S(this,hr).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,qe)}getMutationCache(){return S(this,hr)}getDefaultOptions(){return S(this,pr)}setDefaultOptions(r){X(this,pr,r)}setQueryDefaults(r,n){S(this,Us).set(Jr(r),{queryKey:r,defaultOptions:n})}getQueryDefaults(r){const n=[...S(this,Us).values()],s={};return n.forEach(o=>{Hi(r,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(r,n){S(this,Ms).set(Jr(r),{mutationKey:r,defaultOptions:n})}getMutationDefaults(r){const n=[...S(this,Ms).values()],s={};return n.forEach(o=>{Hi(r,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(r){if(r._defaulted)return r;const n={...S(this,pr).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return n.queryHash||(n.queryHash=zc(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===$c&&(n.enabled=!1),n}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...S(this,pr).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){S(this,qe).clear(),S(this,hr).clear()}},qe=new WeakMap,hr=new WeakMap,pr=new WeakMap,Us=new WeakMap,Ms=new WeakMap,mr=new WeakMap,Fs=new WeakMap,Bs=new WeakMap,Um),vg=F.createContext(void 0),Va=r=>{const n=F.useContext(vg);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},lx=({client:r,children:n})=>(F.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),x.jsx(vg.Provider,{value:r,children:n})),wg=F.createContext(!1),ux=()=>F.useContext(wg);wg.Provider;function cx(){let r=!1;return{clearReset:()=>{r=!1},reset:()=>{r=!0},isReset:()=>r}}var dx=F.createContext(cx()),fx=()=>F.useContext(dx),hx=(r,n,s)=>{const o=s!=null&&s.state.error&&typeof r.throwOnError=="function"?Vc(r.throwOnError,[s.state.error,s]):r.throwOnError;(r.suspense||r.experimental_prefetchInRender||o)&&(n.isReset()||(r.retryOnMount=!1))},px=r=>{F.useEffect(()=>{r.clearReset()},[r])},mx=({result:r,errorResetBoundary:n,throwOnError:s,query:o,suspense:l})=>r.isError&&!n.isReset()&&!r.isFetching&&o&&(l&&r.data===void 0||Vc(s,[r.error,o])),gx=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))}},yx=(r,n)=>r.isLoading&&r.isFetching&&!n,vx=(r,n)=>(r==null?void 0:r.suspense)&&n.isPending,Np=(r,n,s)=>n.fetchOptimistic(r).catch(()=>{s.clearReset()});function wx(r,n,s){var b,P,D,O;const o=ux(),l=fx(),u=Va(),d=u.defaultQueryOptions(r);(P=(b=u.getDefaultOptions().queries)==null?void 0:b._experimental_beforeQuery)==null||P.call(b,d);const h=u.getQueryCache().get(d.queryHash);d._optimisticResults=o?"isRestoring":"optimistic",gx(d),hx(d,l,h),px(l);const p=!u.getQueryCache().get(d.queryHash),[g]=F.useState(()=>new n(u,d)),y=g.getOptimisticResult(d),v=!o&&r.subscribed!==!1;if(F.useSyncExternalStore(F.useCallback(E=>{const k=v?g.subscribe(et.batchCalls(E)):_t;return g.updateResult(),k},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),F.useEffect(()=>{g.setOptions(d)},[d,g]),vx(d,y))throw Np(d,g,l);if(mx({result:y,errorResetBoundary:l,throwOnError:d.throwOnError,query:h,suspense:d.suspense}))throw y.error;if((O=(D=u.getDefaultOptions().queries)==null?void 0:D._experimental_afterQuery)==null||O.call(D,d,y),d.experimental_prefetchInRender&&!Gr&&yx(y,o)){const E=p?Np(d,g,l):h==null?void 0:h.promise;E==null||E.catch(_t).finally(()=>{g.updateResult()})}return d.notifyOnChangeProps?y:g.trackResult(y)}function to(r,n){return wx(r,Zw)}function kc(r,n){const s=Va(),[o]=F.useState(()=>new ix(s,r));F.useEffect(()=>{o.setOptions(r)},[o,r]);
vendor: 11,254 bytes, lines 65-83
65const l=F.useSyncExternalStore(F.useCallback(d=>o.subscribe(et.batchCalls(d)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),u=F.useCallback((d,h)=>{o.mutate(d,h).catch(_t)},[o]);if(l.error&&Vc(o.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:u,mutateAsync:l.mutate}}const xx=new ax({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});Fm();/**
66 * @remix-run/router v1.23.2
67 *
68 * Copyright (c) Remix Software Inc.
69 *
70 * This source code is licensed under the MIT license found in the
71 * LICENSE.md file in the root directory of this source tree.
72 *
73 * @license MIT
74 */function Wi(){return Wi=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r},Wi.apply(this,arguments)}var gr;(function(r){r.Pop="POP",r.Push="PUSH",r.Replace="REPLACE"})(gr||(gr={}));const Ap="popstate";function Sx(r){r===void 0&&(r={});function n(o,l){let{pathname:u,search:d,hash:h}=o.location;return _c("",{pathname:u,search:d,hash:h},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function s(o,l){return typeof l=="string"?l:Fa(l)}return _x(n,s,null,r)}function Je(r,n){if(r===!1||r===null||typeof r>"u")throw new Error(n)}function Wc(r,n){if(!r){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function kx(){return Math.random().toString(36).substr(2,8)}function Lp(r,n){return{usr:r.state,key:r.key,idx:n}}function _c(r,n,s,o){return s===void 0&&(s=null),Wi({pathname:typeof r=="string"?r:r.pathname,search:"",hash:""},typeof n=="string"?Ws(n):n,{state:s,key:n&&n.key||o||kx()})}function Fa(r){let{pathname:n="/",search:s="",hash:o=""}=r;return s&&s!=="?"&&(n+=s.charAt(0)==="?"?s:"?"+s),o&&o!=="#"&&(n+=o.charAt(0)==="#"?o:"#"+o),n}function Ws(r){let n={};if(r){let s=r.indexOf("#");s>=0&&(n.hash=r.substr(s),r=r.substr(0,s));let o=r.indexOf("?");o>=0&&(n.search=r.substr(o),r=r.substr(0,o)),r&&(n.pathname=r)}return n}function _x(r,n,s,o){o===void 0&&(o={});let{window:l=document.defaultView,v5Compat:u=!1}=o,d=l.history,h=gr.Pop,p=null,g=y();g==null&&(g=0,d.replaceState(Wi({},d.state,{idx:g}),""));function y(){return(d.state||{idx:null}).idx}function v(){h=gr.Pop;let E=y(),k=E==null?null:E-g;g=E,p&&p({action:h,location:O.location,delta:k})}function b(E,k){h=gr.Push;let U=_c(O.location,E,k);g=y()+1;let A=Lp(U,g),j=O.createHref(U);try{d.pushState(A,"",j)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;l.location.assign(j)}u&&p&&p({action:h,location:O.location,delta:1})}function P(E,k){h=gr.Replace;let U=_c(O.location,E,k);g=y();let A=Lp(U,g),j=O.createHref(U);d.replaceState(A,"",j),u&&p&&p({action:h,location:O.location,delta:0})}function D(E){let k=l.location.origin!=="null"?l.location.origin:l.location.href,U=typeof E=="string"?E:Fa(E);return U=U.replace(/ $/,"%20"),Je(k,"No window.location.(origin|href) available to create URL for href: "+U),new URL(U,k)}let O={get action(){return h},get location(){return r(l,d)},listen(E){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(Ap,v),p=E,()=>{l.removeEventListener(Ap,v),p=null}},createHref(E){return n(l,E)},createURL:D,encodeLocation(E){let k=D(E);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:b,replace:P,go(E){return d.go(E)}};return O}var jp;(function(r){r.data="data",r.deferred="deferred",r.redirect="redirect",r.error="error"})(jp||(jp={}));function Ex(r,n,s){return s===void 0&&(s="/"),bx(r,n,s)}function bx(r,n,s,o){let l=typeof n=="string"?Ws(n):n,u=Qc(l.pathname||"/",s);if(u==null)return null;let d=xg(r);Cx(d);let h=null;for(let p=0;h==null&&p<d.length;++p){let g=Mx(u);h=Ix(d[p],g)}return h}function xg(r,n,s,o){n===void 0&&(n=[]),s===void 0&&(s=[]),o===void 0&&(o="");let l=(u,d,h)=>{let p={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};p.relativePath.startsWith("/")&&(Je(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 g=vr([o,p.relativePath]),y=s.concat(p);u.children&&u.children.length>0&&(Je(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),xg(u.children,n,y,g)),!(u.path==null&&!u.index)&&n.push({path:g,score:Lx(g,u.index),routesMeta:y})};return r.forEach((u,d)=>{var h;if(u.path===""||!((h=u.path)!=null&&h.includes("?")))l(u,d);else for(let p of Sg(u.path))l(u,d,p)}),n}function Sg(r){let n=r.split("/");if(n.length===0)return[];let[s,...o]=n,l=s.endsWith("?"),u=s.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let d=Sg(o.join("/")),h=[];return h.push(...d.map(p=>p===""?u:[u,p].join("/"))),l&&h.push(...d),h.map(p=>r.startsWith("/")&&p===""?"/":p)}function Cx(r){r.sort((n,s)=>n.score!==s.score?s.score-n.score:jx(n.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}const Rx=/^:[\w-]+$/,Tx=3,Px=2,Ox=1,Nx=10,Ax=-2,Ip=r=>r==="*";function Lx(r,n){let s=r.split("/"),o=s.length;return s.some(Ip)&&(o+=Ax),n&&(o+=Px),s.filter(l=>!Ip(l)).reduce((l,u)=>l+(Rx.test(u)?Tx:u===""?Ox:Nx),o)}function jx(r,n){return r.length===n.length&&r.slice(0,-1).every((o,l)=>o===n[l])?r[r.length-1]-n[n.length-1]:0}function Ix(r,n,s){let{routesMeta:o}=r,l={},u="/",d=[];for(let h=0;h<o.length;++h){let p=o[h],g=h===o.length-1,y=u==="/"?n:n.slice(u.length)||"/",v=Dx({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},y),b=p.route;if(!v)return null;Object.assign(l,v.params),d.push({params:l,pathname:vr([u,v.pathname]),pathnameBase:Vx(vr([u,v.pathnameBase])),route:b}),v.pathnameBase!=="/"&&(u=vr([u,v.pathnameBase]))}return d}function Dx(r,n){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[s,o]=Ux(r.path,r.caseSensitive,r.end),l=n.match(s);if(!l)return null;let u=l[0],d=u.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:o.reduce((g,y,v)=>{let{paramName:b,isOptional:P}=y;if(b==="*"){let O=h[v]||"";d=u.slice(0,u.length-O.length).replace(/(.)\/+$/,"$1")}const D=h[v];return P&&!D?g[b]=void 0:g[b]=(D||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:d,pattern:r}}function Ux(r,n,s){n===void 0&&(n=!1),s===void 0&&(s=!0),Wc(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,h,p)=>(o.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(o.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),o]}function Mx(r){try{return r.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Wc(!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 ("+n+").")),r}}function Qc(r,n){if(n==="/")return r;if(!r.toLowerCase().startsWith(n.toLowerCase()))return null;let s=n.endsWith("/")?n.length-1:n.length,o=r.charAt(s);return o&&o!=="/"?null:r.slice(s)||"/"}const Fx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bx=r=>Fx.test(r);function zx(r,n){n===void 0&&(n="/");let{pathname:s,search:o="",hash:l=""}=typeof r=="string"?Ws(r):r,u;if(s)if(Bx(s))u=s;else{if(s.includes("//")){let d=s;s=s.replace(/\/\/+/g,"/"),Wc(!1,"Pathnames cannot have embedded double slashes - normalizing "+(d+" -> "+s))}s.startsWith("/")?u=Dp(s.substring(1),"/"):u=Dp(s,n)}else u=n;return{pathname:u,search:qx(o),hash:Hx(l)}}function Dp(r,n){let s=n.replace(/\/+$/,"").split("/");return r.split("/").forEach(l=>{l===".."?s.length>1&&s.pop():l!=="."&&s.push(l)}),s.length>1?s.join("/"):"/"}function Gu(r,n,s,o){return"Cannot include a '"+r+"' character in a manually specified "+("`to."+n+"` field ["+JSON.stringify(o)+"].  Please separate it out to the ")+("`to."+s+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function $x(r){return r.filter((n,s)=>s===0||n.route.path&&n.route.path.length>0)}function kg(r,n){let s=$x(r);return n?s.map((o,l)=>l===s.length-1?o.pathname:o.pathnameBase):s.map(o=>o.pathnameBase)}function _g(r,n,s,o){o===void 0&&(o=!1);let l;typeof r=="string"?l=Ws(r):(l=Wi({},r),Je(!l.pathname||!l.pathname.includes("?"),Gu("?","pathname","search",l)),Je(!l.pathname||!l.pathname.includes("#"),Gu("#","pathname","hash",l)),Je(!l.search||!l.search.includes("#"),Gu("#","search","hash",l)));let u=r===""||l.pathname==="",d=u?"/":l.pathname,h;if(d==null)h=s;else{let v=n.length-1;if(!o&&d.startsWith("..")){let b=d.split("/");for(;b[0]==="..";)b.shift(),v-=1;l.pathname=b.join("/")}h=v>=0?n[v]:"/"}let p=zx(l,h),g=d&&d!=="/"&&d.endsWith("/"),y=(u||d===".")&&s.endsWith("/");return!p.pathname.endsWith("/")&&(g||y)&&(p.pathname+="/"),p}const vr=r=>r.join("/").replace(/\/\/+/g,"/"),Vx=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),qx=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,Hx=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r;function Wx(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}const Eg=["post","put","patch","delete"];new Set(Eg);const Qx=["get",...Eg];new Set(Qx);/**
75 * React Router v6.30.3
76 *
77 * Copyright (c) Remix Software Inc.
78 *
79 * This source code is licensed under the MIT license found in the
80 * LICENSE.md file in the root directory of this source tree.
81 *
82 * @license MIT
83 */function Qi(){return Qi=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r},Qi.apply(this,arguments)}const Kc=F.createContext(null),Kx=F.createContext(null),es=F.createContext(null),qa=F.createContext(null),Sr=F.createContext({outlet:null,matches:[],isDataRoute:!1}),bg=F.createContext(null);function Gx(r,n){let{relative:s}=n===void 0?{}:n;no()||Je(!1);let{basename:o,navigator:l}=F.useContext(es),{hash:u,pathname:d,search:h}=Tg(r,{relative:s}),p=d;return o!=="/"&&(p=d==="/"?o:vr([o,d])),l.createHref({pathname:p,search:h,hash:u})}function no(){return F.useContext(qa)!=null}function ro(){return no()||Je(!1),F.useContext(qa).location}function Cg(r){F.useContext(es).static||F.useLayoutEffect(r)}function Rg(){let{isDataRoute:r}=F.useContext(Sr);return r?uS():Jx()}function Jx(){no()||Je(!1);let r=F.useContext(Kc),{basename:n,future:s,navigator:o}=F.useContext(es),{matches:l}=F.useContext(Sr),{pathname:u}=ro(),d=JSON.stringify(kg(l,s.v7_relativeSplatPath)),h=F.useRef(!1);return Cg(()=>{h.current=!0}),F.useCallback(function(g,y){if(y===void 0&&(y={}),!h.current)return;if(typeof g=="number"){o.go(g);return}let v=_g(g,JSON.parse(d),u,y.relative==="path");r==null&&n!=="/"&&(v.pathname=v.pathname==="/"?n:vr([n,v.pathname])),(y.replace?o.replace:o.push)(v,y.state,y
vendor: 4,161 bytes, line 83
83)},[n,o,d,u,r])}function Xx(){let{matches:r}=F.useContext(Sr),n=r[r.length-1];return n?n.params:{}}function Tg(r,n){let{relative:s}=n===void 0?{}:n,{future:o}=F.useContext(es),{matches:l}=F.useContext(Sr),{pathname:u}=ro(),d=JSON.stringify(kg(l,o.v7_relativeSplatPath));return F.useMemo(()=>_g(r,JSON.parse(d),u,s==="path"),[r,d,u,s])}function Yx(r,n){return Zx(r,n)}function Zx(r,n,s,o){no()||Je(!1);let{navigator:l}=F.useContext(es),{matches:u}=F.useContext(Sr),d=u[u.length-1],h=d?d.params:{};d&&d.pathname;let p=d?d.pathnameBase:"/";d&&d.route;let g=ro(),y;if(n){var v;let E=typeof n=="string"?Ws(n):n;p==="/"||(v=E.pathname)!=null&&v.startsWith(p)||Je(!1),y=E}else y=g;let b=y.pathname||"/",P=b;if(p!=="/"){let E=p.replace(/^\//,"").split("/");P="/"+b.replace(/^\//,"").split("/").slice(E.length).join("/")}let D=Ex(r,{pathname:P}),O=sS(D&&D.map(E=>Object.assign({},E,{params:Object.assign({},h,E.params),pathname:vr([p,l.encodeLocation?l.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?p:vr([p,l.encodeLocation?l.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),u,s,o);return n&&O?F.createElement(qa.Provider,{value:{location:Qi({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:gr.Pop}},O):O}function eS(){let r=lS(),n=Wx(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 F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},n),s?F.createElement("pre",{style:l},s):null,null)}const tS=F.createElement(eS,null);class nS extends F.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,s){return s.location!==n.location||s.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:s.error,location:s.location,revalidation:n.revalidation||s.revalidation}}componentDidCatch(n,s){console.error("React Router caught the following error during render",n,s)}render(){return this.state.error!==void 0?F.createElement(Sr.Provider,{value:this.props.routeContext},F.createElement(bg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rS(r){let{routeContext:n,match:s,children:o}=r,l=F.useContext(Kc);return l&&l.static&&l.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=s.route.id),F.createElement(Sr.Provider,{value:n},o)}function sS(r,n,s,o){var l;if(n===void 0&&(n=[]),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&&n.length===0&&!s.initialized&&s.matches.length>0)r=s.matches;else return null}let d=r,h=(l=s)==null?void 0:l.errors;if(h!=null){let y=d.findIndex(v=>v.route.id&&(h==null?void 0:h[v.route.id])!==void 0);y>=0||Je(!1),d=d.slice(0,Math.min(d.length,y+1))}let p=!1,g=-1;if(s&&o&&o.v7_partialHydration)for(let y=0;y<d.length;y++){let v=d[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(g=y),v.route.id){let{loaderData:b,errors:P}=s,D=v.route.loader&&b[v.route.id]===void 0&&(!P||P[v.route.id]===void 0);if(v.route.lazy||D){p=!0,g>=0?d=d.slice(0,g+1):d=[d[0]];break}}}return d.reduceRight((y,v,b)=>{let P,D=!1,O=null,E=null;s&&(P=h&&v.route.id?h[v.route.id]:void 0,O=v.route.errorElement||tS,p&&(g<0&&b===0?(cS("route-fallback"),D=!0,E=null):g===b&&(D=!0,E=v.route.hydrateFallbackElement||null)));let k=n.concat(d.slice(0,b+1)),U=()=>{let A;return P?A=O:D?A=E:v.route.Component?A=F.createElement(v.route.Component,null):v.route.element?A=v.route.element:A=y,F.createElement(rS,{match:v,routeContext:{outlet:y,matches:k,isDataRoute:s!=null},children:A})};return s&&(v.route.ErrorBoundary||v.route.errorElement||b===0)?F.createElement(nS,{location:s.location,revalidation:s.revalidation,component:O,error:P,children:U(),routeC
83ontext:{outlet:null,matches:k,isDataRoute:!0}}):U()},null)}var Pg=(function(r){return r.UseBlocker="useBlocker",r.UseRevalidator="useRevalidator",r.UseNavigateStable="useNavigate",r})(Pg||{}),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 iS(r){let n=F.useContext(Kc);return n||Je(!1),n}function oS(r){let n=F.useContext(Kx);return n||Je(!1),n}function aS(r){let n=F.useContext(Sr);return n||Je(!1),n}function Ng(r){let n=aS(),s=n.matches[n.matches.length-1];return s.route.id||Je(!1),s.route.id}function lS(){var r;let n=F.useContext(bg),s=oS(),o=Ng();return n!==void 0?n:(r=s.errors)==null?void 0:r[o]}function uS(){let{router:r}=iS(Pg.UseNavigateStable),n=Ng(Og.UseNavigateStable),s=F.useRef(!1);return Cg(()=>{s.current=!0}),F.useCallback(function(l,u){u===void 0&&(u={}),s.current&&(typeof l=="number"?r.navigate(l):r.navigate(l,Qi({fromRouteId:n},u)))},[r,n])}const Up={};function cS(r,n,s){Up[r]||(Up[r]=!0)}function dS(r,n){r==null||r.v7_startTransition,r==null||r.v7_relativeSplatPath}function Rs(r){Je(!1)}function fS(r){let{basename:n="/",children:s=null,location:o,navigationType:l=gr.Pop,navigator:u,static:d=!1,future:h}=r;no()&&Je(!1);let p=n.replace(/^\/*/,"/"),g=F.useMemo(()=>({basename:p,navigator:u,static:d,future:Qi({v7_relativeSplatPath:!1},h)}),[p,h,u,d]);typeof o=="string"&&(o=Ws(o));let{pathname:y="/",search:v="",hash:b="",state:P=null,key:D="default"}=o,O=F.useMemo(()=>{let E=Qc(y,p);return E==null?null:{location:{pathname:E,search:v,hash:b,state:P,key:D},navigationType:l}},[p,y,v,b,P,D,l]);return O==null?null:F.createElement(es.Provider,{value:g},F.createElement(qa.Provider,{children:s,value:O}))}function hS(r){let{children:n,location:s}=r;return Yx(Ec(n),s)}new Promise(()=>{});function Ec(r,n){n===void 0&&(n=[]);let s=[];return F.Children.forEach(r,(o,l)=>{if(!F.isValidElement(o))return;let u=[...n,l];if(o.type===F.Fragment){s.push.apply(s,Ec(o.props.children,u));return}o.type!==Rs&&Je(!1),!o.props.index||!o.props.children||Je(!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=Ec(o.props.children,u)),s.push(d)}),s}/**
84 * React Router DOM v6.30.3
85 *
86 * Copyright (c) Remix Software Inc.
87 *
88 * This source code is licensed under the MIT license found in the
89 * LICENSE.md file in the root directory of this source tree.
90 *
91 * @license MIT
92 */function bc(){return bc=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r},bc.apply(this,arguments)}function pS(r,n){if(r==null)return{};var s={},o=Object.keys(r),l,u;for(u=0;u<o.length;u++)l=o[u],!(n.indexOf(l)>=0)&&(s[l]=r[l]);return s}function mS(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function gS(r,n){return r.button===0&&(!n||n==="_self")&&!mS(r)}const yS=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],vS="6";try{window.__reactRouterVersion=vS}catch{}const wS="startTransition",Mp=C0[wS];function xS(r){let{basename:n,children:s,future:o,window:l}=r,u=F.useRef();u.current==null&&(u.current=Sx({window:l,v5Compat:!0}));let d=u.current,[h,p]=F.useState({action:d.action,location:d.location}),{v7_startTransition:g}=o||{},y=F.useCallback(v=>{g&&Mp?Mp(()=>p(v)):p(v)},[p,g]);return F.useLayoutEffect(()=>d.listen(y),[d,y]),F.useEffect(()=>dS(o),[o]),F.createElement(fS,{basename:n,children:s,location:h.location,navigationType:h.action,navigator:d,future:o})}const SS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",kS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zs=F.forwardRef(function(n,s){let{onClick:o,relative:l,reloadDocument:u,replace:d,state:h,target:p,to:g,preventScrollReset:y,viewTransition:v}=n,b=pS(n,yS),{basename:P}=F.useContext(es),D,O=!1;if(typeof g=="string"&&kS.test(g)&&(D=g,SS))try{let A=new URL(window.location.href),j=g.startsWith("//")?new URL(A.protocol+g):new URL(g),H=Qc(j.pathname,P);j.origin===A.origin&&H!=null?g=H+j.search+j.hash:O=!0}catch{}let E=Gx(g,{relative:l}),k=_S(g,{replace:d,state:h,target:p,preventScrollReset:y,relative:l,viewTransition:v});function U(A){o&&o(A),A.defaultPrevented||k(A)}return F.createElement("a",bc({},b,{href:D||E,onClick:O||u?o:U,ref:s,target:p}))});var Fp;(function(r){r.UseScrollRestoration="useScrollRestoration",r.UseSubmit="useSubmit",r.UseSubmitFetcher="useSubmitFetcher",r.UseFetcher="useFetcher",r.useViewTransitionState="useViewTransitionState"})(Fp||(Fp={}));var Bp;(function(r){r.UseFetcher="useFetcher",r.UseFetchers="useFetchers",r.UseScrollRestoration="useScrollRestoration"})(Bp||(Bp={}));function _S(r,n){let{target:s,replace:o,state:l,preventScrollReset:u,relative:d,viewTransition:h}=n===void 0?{}:n,p=Rg(),g=ro(),y=Tg(r,{relative:d});return F.useCallback(v=>{if(gS(v,s)){v.preventDefault();let b=o!==void 0?o:Fa(g)===Fa(y);p(r,{replace:b,state:l,preventScrollReset:u,relative:d,viewTransition:h})}},[g,p,y,o,l,s,r,u,d,h])}function Ag(r,n){return function(){return r.apply(n,arguments)}}const{toString:ES}=Object.prototype,{getPrototypeOf:$s}=Object,{iterator:so,toStringTag:Lg}=Symbol,Ba=(({hasOwnProperty:r})=>(n,s)=>r.call(n,s))(Object.prototype),Ki=(r,n)=>{let s=r;const o=[];for(;s!=null&&s!==Object.prototype;){if(o.indexOf(s)!==-1)return!1;if(o.push(s),Ba(s,n))return!0;s=$s(s)}return!1},bS=(r,n)=>r!=null&&Ki(r,n)?r[n]:void 0,Gc=(r=>n=>{const s=ES.call(n);return r[s]||(r[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),un=r=>(r=r.toLowerCase(),n=>Gc(n)===r),Ha=r=>n=>typeof n===r,{isArray:Xr}=Array,Vs=Ha("undefined");function Qs(r){return r!==null&&!Vs(r)&&r.constructor!==null&&!Vs(r.constructor)&&At(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const jg=un("ArrayBuffer");function CS(r){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(r):n=r&&r.buffer&&jg(r.buffer),n}const RS=Ha("string"),At=Ha("function"),Ig=Ha("number"),Ks=r=>r!==null&&typeof r=="object",TS=r=>r===!0||r===!1,Pa=r=>{if(!Ks(r))return!1;const n=$s(r);return(n===null||n===Object.prototype||$s(n)===null)&&!Ki(r,Lg)&&!Ki(r,so)},PS=r=>{if(!Ks(r)||Qs(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},OS=un("Date"),NS=un("File"),AS=r=>!!(r&&typeof r.uri<"u"),LS=r=>r&&typeof r.getParts<"u",jS=un("Blob"),IS=un("FileList"),DS=r=>Ks(r)&&At(r.pipe);function US(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const zp=US(),$p=typeof zp.FormData<"u"?zp.FormData:void 0,MS=r=>{if(!r)return!1;if($p&&r instanceof $p)return!0;const n=$s(r);if(!n||n===Object.prototype||!At(r.append))return!1;const s=Gc(r);return s==="formdata"||s==="object"&&At(r.toString)&&r.toString()==="[object FormData]"},FS=un("URLSearchParams"),[BS,zS,$S,VS]=["ReadableStream","Request","Response","Headers"].map(un),qS=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function io(r,n,{allOwnKeys:s=!1}={}){if(r===null||typeof r>"u")return;let o,l;if(typeof r!="object"&&(r=[r]),Xr(r))for(o=0,l=r.length;o<l;o++)n.call(null,r[o],o,r);else{if(Qs(r))return;const u=s?Object.getOwnPropertyNames(r):Object.keys(r),d=u.length;let h;for(o=0;o<d;o++)h=u[o],n.call(null,r[h],h,r)}}function Dg(r,n){if(Qs(r))return null;n=n.toLowerCase();const s=Object.keys(r);let o=s.length,l;for(;o-- >0;)if(l=s[o],n===l.toLowerCase())return l;return null}const Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ug=r=>!Vs(r)&&r!==Mr;function Cc(...r){const{caseless:n,skipUndefined:s}=Ug(this)&&this||{},o={},l=(u,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;
vendor: 9,166 bytes, lines 92-94
92const h=n&&typeof d=="string"&&Dg(o,d)||d,p=Ba(o,h)?o[h]:void 0;Pa(p)&&Pa(u)?o[h]=Cc(p,u):Pa(u)?o[h]=Cc({},u):Xr(u)?o[h]=u.slice():(!s||!Vs(u))&&(o[h]=u)};for(let u=0,d=r.length;u<d;u++){const h=r[u];if(!h||Qs(h)||(io(h,l),typeof h!="object"||Xr(h)))continue;const p=Object.getOwnPropertySymbols(h);for(let g=0;g<p.length;g++){const y=p[g];n1.call(h,y)&&l(h[y],y)}}return o}const HS=(r,n,s,{allOwnKeys:o}={})=>(io(n,(l,u)=>{s&&At(l)?Object.defineProperty(r,u,{__proto__:null,value:Ag(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),WS=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),QS=(r,n,s,o)=>{r.prototype=Object.create(n.prototype,o),Object.defineProperty(r.prototype,"constructor",{__proto__:null,value:r,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(r,"super",{__proto__:null,value:n.prototype}),s&&Object.assign(r.prototype,s)},KS=(r,n,s,o)=>{let l,u,d;const h={};if(n=n||{},r==null)return n;do{for(l=Object.getOwnPropertyNames(r),u=l.length;u-- >0;)d=l[u],(!o||o(d,r,n))&&!h[d]&&(n[d]=r[d],h[d]=!0);r=s!==!1&&$s(r)}while(r&&(!s||s(r,n))&&r!==Object.prototype);return n},GS=(r,n,s)=>{r=String(r),(s===void 0||s>r.length)&&(s=r.length),s-=n.length;const o=r.indexOf(n,s);return o!==-1&&o===s},JS=r=>{if(!r)return null;if(Xr(r))return r;let n=r.length;if(!Ig(n))return null;const s=new Array(n);for(;n-- >0;)s[n]=r[n];return s},XS=(r=>n=>r&&n instanceof r)(typeof Uint8Array<"u"&&$s(Uint8Array)),YS=(r,n)=>{const o=(r&&r[so]).call(r);let l;for(;(l=o.next())&&!l.done;){const u=l.value;n.call(r,u[0],u[1])}},ZS=(r,n)=>{let s;const o=[];for(;(s=r.exec(n))!==null;)o.push(s);return o},e1=un("HTMLFormElement"),t1=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,o,l){return o.toUpperCase()+l}),{propertyIsEnumerable:n1}=Object.prototype,r1=un("RegExp"),Mg=(r,n)=>{const s=Object.getOwnPropertyDescriptors(r),o={};io(s,(l,u)=>{let d;(d=n(l,u,r))!==!1&&(o[u]=d||l)}),Object.defineProperties(r,o)},s1=r=>{Mg(r,(n,s)=>{if(At(r)&&["arguments","caller","callee"].includes(s))return!1;const o=r[s];if(At(o)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},i1=(r,n)=>{const s={},o=l=>{l.forEach(u=>{s[u]=!0})};return Xr(r)?o(r):o(String(r).split(n)),s},o1=()=>{},a1=(r,n)=>r!=null&&Number.isFinite(r=+r)?r:n;function l1(r){return!!(r&&At(r.append)&&r[Lg]==="FormData"&&r[so])}const u1=r=>{const n=new WeakSet,s=o=>{if(Ks(o)){if(n.has(o))return;if(Qs(o))return o;if(!("toJSON"in o)){n.add(o);const l=Xr(o)?[]:{};return io(o,(u,d)=>{const h=s(u);!Vs(h)&&(l[d]=h)}),n.delete(o),l}}return o};return s(r)},c1=un("AsyncFunction"),d1=r=>r&&(Ks(r)||At(r))&&At(r.then)&&At(r.catch),Fg=((r,n)=>r?setImmediate:n?((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)),f1=typeof queueMicrotask<"u"?queueMicrotask.bind(Mr):typeof process<"u"&&process.nextTick||Fg,Bg=r=>r!=null&&At(r[so]),h1=r=>r!=null&&Ki(r,so)&&Bg(r),T={isArray:Xr,isArrayBuffer:jg,isBuffer:Qs,isFormData:MS,isArrayBufferView:CS,isString:RS,isNumber:Ig,isBoolean:TS,isObject:Ks,isPlainObject:Pa,isEmptyObject:PS,isReadableStream:BS,isRequest:zS,isResponse:$S,isHeaders:VS,isUndefined:Vs,isDate:OS,isFile:NS,isReactNativeBlob:AS,isReactNative:LS,isBlob:jS,isRegExp:r1,isFunction:At,isStream:DS,isURLSearchParams:FS,isTypedArray:XS,isFileList:IS,forEach:io,merge:Cc,extend:HS,trim:qS,stripBOM:WS,inherits:QS,toFlatObject:KS,kindOf:Gc,kindOfTest:un,endsWith:GS,toArray:JS,forEachEntry:YS,matchAll:ZS,isHTMLForm:e1,hasOwnProperty:Ba,hasOwnProp:Ba,hasOwnInPrototypeChain:Ki,getSafeProp:bS,reduceDescriptors:Mg,freezeMethods:s1,toObjectSet:i1,toCamelCase:t1,noop:o1,toFiniteNumber:a1,findKey:Dg,global:Mr,isContextDefined:Ug,isSpecCompliantForm:l1,toJSONObject:u1,isAsyncFn:c1,isThenable:d1,setImmediate:Fg,asap:f1,isIterable:Bg,isSafeIterable:h1},p1=T.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),m1=r=>{const n={};let s,o,l;return r&&r.split(`
93`).forEach(function(d){l=d.indexOf(":"),s=d.substring(0,l).trim().toLowerCase(),o=d.substring(l+1).trim(),!(!s||n[s]&&p1[s])&&(s==="set-cookie"?n[s]?n[s].push(o):n[s]=[o]:n[s]=n[s]?n[s]+", "+o:o)}),n};function g1(r){let n=0,s=r.length;for(;n<s;){const o=r.charCodeAt(n);if(o!==9&&o!==32)break;n+=1}for(;s>n;){const o=r.charCodeAt(s-1);if(o!==9&&o!==32)break;s-=1}return n===0&&s===r.length?r:r.slice(n,s)}const y1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),v1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Jc(r,n){return T.isArray(r)?r.map(s=>Jc(s,n)):g1(String(r).replace(n,""))}const w1=r=>Jc(r,y1),x1=r=>Jc(r,v1);function zg(r){const n=Object.create(null);return T.forEach(r.toJSON(),(s,o)=>{n[o]=x1(s)}),n}const Vp=Symbol("internals");function Di(r){return r&&String(r).trim().toLowerCase()}function Oa(r){return r===!1||r==null?r:T.isArray(r)?r.map(Oa):w1(String(r))}function S1(r){const n=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=s.exec(r);)n[o[1]]=o[2];return n}const k1=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function Ju(r,n,s,o,l){if(T.isFunction(o))return o.call(this,n,s);if(l&&(n=s),!!T.isString(n)){if(T.isString(o))return n.indexOf(o)!==-1;if(T.isRegExp(o))return o.test(n)}}function _1(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,s,o)=>s.toUpperCase()+o)}function E1(r,n){const s=T.toCamelCase(" "+n);["get","set","has"].forEach(o=>{Object.defineProperty(r,o+s,{__proto__:null,value:function(l,u,d){return this[o].call(this,n,l,u,d)},configurable:!0})})}let wt=class{constructor(n){n&&this.set(n)}set(n,s,o){const l=this;function u(h,p,g){const y=Di(p);if(!y)return;const v=T.findKey(l,y);(!v||l[v]===void 0||g===!0||g===void 0&&l[v]!==!1)&&(l[v||p]=Oa(h))}const d=(h,p)=>T.forEach(h,(g,y)=>u(g,y,p));if(T.isPlainObject(n)||n instanceof this.constructor)d(n,s);else if(T.isString(n)&&(n=n.trim())&&!k1(n))d(m1(n),s);else if(T.isObject(n)&&T.isSafeIterable(n)){let h=Object.create(null),p,g;for(const y of n){if(!T.isArray(y))throw new TypeError("Object iterator must return a key-value pair");g=y[0],T.hasOwnProp(h,g)?(p=h[g],h[g]=T.isArray(p)?[...p,y[1]]:[p,y[1]]):h[g]=y[1]}d(h,s)}else n!=null&&u(s,n,o);return this}get(n,s){if(n=Di(n),n){const o=T.findKey(this,n);if(o){const l=this[o];if(!s)return l;if(s===!0)return S1(l);if(T.isFunction(s))return s.call(this,l,o);if(T.isRegExp(s))return s.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,s){if(n=Di(n),n){const o=T.findKey(this,n);return!!(o&&this[o]!==void 0&&(!s||Ju(this,this[o],o,s)))}return!1}delete(n,s){const o=this;let l=!1;function u(d){if(d=Di(d),d){const h=T.findKey(o,d);h&&(!s||Ju(o,o[h],h,s))&&(delete o[h],l=!0)}}return T.isArray(n)?n.forEach(u):u(n),l}clear(n){const s=Object.keys(this);let o=s.length,l=!1;for(;o--;){const u=s[o];(!n||Ju(this,this[u],u,n,!0))&&(delete this[u],l=!0)}return l}normalize(n){const s=this,o={};return T.forEach(this,(l,u)=>{const d=T.findKey(o,u);if(d){s[d]=Oa(l),delete s[u];return}const h=n?_1(u):String(u).trim();h!==u&&delete s[u],s[h]=Oa(l),o[h]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const s=Object.create(null);return T.forEach(this,(o,l)=>{o!=null&&o!==!1&&(s[l]=n&&T.isArray(o)?o.join(", "):o)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,s])=>n+": "+s).join(`
94`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...s){const o=new this(n);return s.forEach(l=>o.set(l)),o}static accessor(n){const o=(this[Vp]=this[Vp]={accessors:{}}).accessors,l=this.prototype;function u(d){const h=Di(d);o[h]||(E1(l,d),o[h]=!0)}return T.isArray(n)?n.forEach(u):u(n),this}};wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(wt.prototype,({value:r},n)=>{let s=n[0].toUpperCase()+n.slice(1);return{get:()=>r,set(o){this[s]=o}}});T.freezeMethods(wt);const b1="[REDACTED ****]";function C1(r){if(T.hasOwnProp(r,"toJSON"))return!0;let n=Object.getPrototypeOf(r);for(;n&&n!==Object.prototype;){if(T.hasOwnProp(n,"toJSON"))return!0;n=Object.getPrototypeOf(n)}return!1}function R1(r,n){const s=new Set(n.map(u=>String(u).toLowerCase())),o=[],l=u=>{if(u===null||typeof u!="object"||T.isBuffer(u))return u;if(o.indexOf(u)!==-1)return;u instanceof wt&&(u=u.toJSON()),o.push(u);let d;if(T.isArray(u))d=[],u.forEach((h,p)=>{const g=l(h);T.isUndefined(g)||(d[p]=g)});else{if(!T.isPlainObject(u)&&C1(u))return o.pop(),u;d=Object.create(null);for(const[h,p]of Object.entries(u)){const g=s.has(h.toLowerCase())?b1:l(p);
vendor: 5,462 bytes, line 94
94T.isUndefined(g)||(d[h]=g)}}return o.pop(),d};return l(r)}let J=class $g extends Error{static from(n,s,o,l,u,d){const h=new $g(n.message,s||n.code,o,l,u);return Object.defineProperty(h,"cause",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),h.name=n.name,n.status!=null&&h.status==null&&(h.status=n.status),d&&Object.assign(h,d),h}constructor(n,s,o,l,u){super(n),Object.defineProperty(this,"message",{__proto__:null,value:n,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 n=this.config,s=n&&T.hasOwnProp(n,"redact")?n.redact:void 0,o=T.isArray(s)&&s.length>0?R1(n,s):T.toJSONObject(n);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}}};J.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";J.ERR_BAD_OPTION="ERR_BAD_OPTION";J.ECONNABORTED="ECONNABORTED";J.ETIMEDOUT="ETIMEDOUT";J.ECONNREFUSED="ECONNREFUSED";J.ERR_NETWORK="ERR_NETWORK";J.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";J.ERR_DEPRECATED="ERR_DEPRECATED";J.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";J.ERR_BAD_REQUEST="ERR_BAD_REQUEST";J.ERR_CANCELED="ERR_CANCELED";J.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";J.ERR_INVALID_URL="ERR_INVALID_URL";J.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const T1=null,Vg=100;function Rc(r){return T.isPlainObject(r)||T.isArray(r)}function qg(r){return T.endsWith(r,"[]")?r.slice(0,-2):r}function Xu(r,n,s){return r?r.concat(n).map(function(l,u){return l=qg(l),!s&&u?"["+l+"]":l}).join(s?".":""):n}function P1(r){return T.isArray(r)&&!r.some(Rc)}const O1=T.toFlatObject(T,{},null,function(n){return/^is[A-Z]/.test(n)});function Wa(r,n,s){if(!T.isObject(r))throw new TypeError("target must be an object");n=n||new FormData,s=T.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,A){return!T.isUndefined(A[U])});const o=s.metaTokens,l=s.visitor||D,u=s.dots,d=s.indexes,h=s.Blob||typeof Blob<"u"&&Blob,p=s.maxDepth===void 0?Vg:s.maxDepth,g=h&&T.isSpecCompliantForm(n),y=[];if(!T.isFunction(l))throw new TypeError("visitor must be a function");function v(k){if(k===null)return"";if(T.isDate(k))return k.toISOString();if(T.isBoolean(k))return k.toString();if(!g&&T.isBlob(k))throw new J("Blob is not supported. Use a Buffer instead.");if(T.isArrayBuffer(k)||T.isTypedArray(k)){if(g&&typeof h=="function")return new h([k]);if(typeof Buffer<"u")return Buffer.from(k);throw new J("Blob is not supported. Use a Buffer instead.",J.ERR_NOT_SUPPORT)}return k}function b(k){if(k>p)throw new J("Object is too deeply nested ("+k+" levels). Max depth: "+p,J.ERR_FORM_DATA_DEPTH_EXCEEDED)}function P(k,U){if(p===1/0)return JSON.stringify(k);const A=[];return JSON.stringify(k,function(H,Q){if(!T.isObject(Q))return Q;for(;A.length&&A[A.length-1]!==this;)A.pop();return A.push(Q),b(U+A.length-1),Q})}function D(k,U,A){let j=k;if(T.isReactNative(n)&&T.isReactNativeBlob(k))return n.append(Xu(A,U,u),v(k)),!1;if(k&&!A&&typeof k=="object"){if(T.endsWith(U,"{}"))U=o?U:U.slice(0,-2),k=P(k,1);else if(T.isArray(k)&&P1(k)||(T.isFileList(k)||T.endsWith(U,"[]"))&&(j=T.toArray(k)))return U=qg(U),j.forEach(function(Q,ue){!(T.isUndefined(Q)||Q===null)&&n.append(d===!0?Xu([U],ue,u):d===null?U:U+"[]",v(Q))}),!1}return Rc(k)?!0:(n.append(Xu(A,U,u),v(k)),!1)}const O=Object.assign(O1,{defaultVisitor:D,convertValue:v,isVisitable:Rc});function E(k,U,A=0){if(!T.isUndefined(k)){if(b(A),y.indexOf(k)!==-1)throw new Error("Circular reference detected in "+U.join("."));y.push(k),T.forEach(k,function(H,Q){(!(T.isUndefined(H)||H===null)&&l.call(n,H,T.isString(Q)?Q.trim():Q,U,O))===!0&&E(H,U?U.concat(Q):[Q],A+1)}),y.pop()}}if(!T.isObject(r))throw new TypeError("data must be an object");return E(r),n}function qp(r){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(r).replace(/[!'()~]|%20/g,function(o){return n[o]})}function Xc(r,n){this._pairs=[],r&&Wa(r,this,n)}const Hg=Xc.prototype;Hg.append=function(n,s){this._pairs.push([n,s])};Hg.toString=function(n){const s=n?o=>n.call(this,o,qp):qp;return this._pairs.map(function(l){return s(l[0])+"="+s(l[1])},"").join("&")};function N1(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Wg(r,n,s){if(!n)return r;r=r||"";const o=T.isFunction(s)?{serialize:s}:s,l=T.getSafeProp(o,"encode")||N1,u=T.getSafeProp(o,"serialize");let d;if(u?d=u(n,o):d=T.isURLSearchParams(n)?n.toString():new Xc(n,o).toString(l),d){const h=r.indexOf("#");h!==-1&&(r=r.slice(0,h)),r+=(r.indexOf("?")===-1?"?":"&")+d}return r}class Hp{constructor(){this.handlers=[]}use(n,s,o){return this.handlers.push({fulfilled:n,rejected:s,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){T.forEach(this.handlers,function(o){o!==null&&n(o)})}}const Yc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},A1=typeof URLSearchParams<"u"?URLSearchParams:Xc,L1=typeof FormData<"u"?FormData:null,j1=typeof Blob<"u"?Blob:null,I1={isBrowser:!0,classes:{
vendor: 2,425 bytes, line 94
94URLSearchParams:A1,FormData:L1,Blob:j1},protocols:["http","https","file","blob","url","data"]},Zc=typeof window<"u"&&typeof document<"u",Tc=typeof navigator=="object"&&navigator||void 0,D1=Zc&&(!Tc||["ReactNative","NativeScript","NS"].indexOf(Tc.product)<0),U1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",M1=Zc&&window.location.href||"http://localhost",F1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zc,hasStandardBrowserEnv:D1,hasStandardBrowserWebWorkerEnv:U1,navigator:Tc,origin:M1},Symbol.toStringTag,{value:"Module"})),ft={...F1,...I1};function B1(r,n){return Wa(r,new ft.classes.URLSearchParams,{visitor:function(s,o,l,u){return ft.isNode&&T.isBuffer(s)?(this.append(o,s.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...n})}const Wp=Vg;function Qg(r){if(r>Wp)throw new J("FormData field is too deeply nested ("+r+" levels). Max depth: "+Wp,J.ERR_FORM_DATA_DEPTH_EXCEEDED)}function z1(r){const n=[],s=/\w+|\[(\w*)]/g;let o;for(;(o=s.exec(r))!==null;)Qg(n.length),n.push(o[0]==="[]"?"":o[1]||o[0]);return n}function $1(r){const n={},s=Object.keys(r);let o;const l=s.length;let u;for(o=0;o<l;o++)u=s[o],n[u]=r[u];return n}function Kg(r){function n(s,o,l,u){Qg(u);let d=s[u++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),p=u>=s.length;return d=!d&&T.isArray(l)?l.length:d,p?(T.hasOwnProp(l,d)?l[d]=T.isArray(l[d])?l[d].concat(o):[l[d],o]:l[d]=o,!h):((!T.hasOwnProp(l,d)||!T.isObject(l[d]))&&(l[d]=[]),n(s,o,l[d],u)&&T.isArray(l[d])&&(l[d]=$1(l[d])),!h)}if(T.isFormData(r)&&T.isFunction(r.entries)){const s={};return T.forEachEntry(r,(o,l)=>{n(z1(o),l,s,0)}),s}return null}const bs=(r,n)=>r!=null&&T.hasOwnProp(r,n)?r[n]:void 0;function V1(r,n,s){if(T.isString(r))try{return(n||JSON.parse)(r),T.trim(r)}catch(o){if(o.name!=="SyntaxError")throw o}return(s||JSON.stringify)(r)}const oo={transitional:Yc,adapter:["xhr","http","fetch"],transformRequest:[function(n,s){const o=s.getContentType()||"",l=o.indexOf("application/json")>-1,u=T.isObject(n);if(u&&T.isHTMLForm(n)&&(n=new FormData(n)),T.isFormData(n))return l?JSON.stringify(Kg(n)):n;if(T.isArrayBuffer(n)||T.isBuffer(n)||T.isStream(n)||T.isFile(n)||T.isBlob(n)||T.isReadableStream(n))return n;if(T.isArrayBufferView(n))return n.buffer;if(T.isURLSearchParams(n))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let h;
vendor: 11,086 bytes, line 94
94if(u){const p=bs(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1)return B1(n,p).toString();if((h=T.isFileList(n))||o.indexOf("multipart/form-data")>-1){const g=bs(this,"env"),y=g&&g.FormData;return Wa(h?{"files[]":n}:n,y&&new y,p)}}return u||l?(s.setContentType("application/json",!1),V1(n)):n}],transformResponse:[function(n){const s=bs(this,"transitional")||oo.transitional,o=s&&s.forcedJSONParsing,l=bs(this,"responseType"),u=l==="json";if(T.isResponse(n)||T.isReadableStream(n))return n;if(n&&T.isString(n)&&(o&&!l||u)){const h=!(s&&s.silentJSONParsing)&&u;try{return JSON.parse(n,bs(this,"parseReviver"))}catch(p){if(h)throw p.name==="SyntaxError"?J.from(p,J.ERR_BAD_RESPONSE,this,null,bs(this,"response")):p}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ft.classes.FormData,Blob:ft.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(["delete","get","head","post","put","patch","query"],r=>{oo.headers[r]={}});function Yu(r,n){const s=this||oo,o=n||s,l=wt.from(o.headers);let u=o.data;return T.forEach(r,function(h){u=h.call(s,u,l.normalize(),n?n.status:void 0)}),l.normalize(),u}function Gg(r){return!!(r&&r.__CANCEL__)}let ao=class extends J{constructor(n,s,o){super(n??"canceled",J.ERR_CANCELED,s,o),this.name="CanceledError",this.__CANCEL__=!0}};function Jg(r,n,s){const o=s.config.validateStatus;!s.status||!o||o(s.status)?r(s):n(new J("Request failed with status code "+s.status,s.status>=400&&s.status<500?J.ERR_BAD_REQUEST:J.ERR_BAD_RESPONSE,s.config,s.request,s))}function q1(r){const n=/^([-+\w]{1,25}):(?:\/\/)?/.exec(r);return n&&n[1]||""}function H1(r,n){r=r||10;const s=new Array(r),o=new Array(r);let l=0,u=0,d;return n=n!==void 0?n:1e3,function(p){const g=Date.now(),y=o[u];d||(d=g),s[l]=p,o[l]=g;let v=u,b=0;for(;v!==l;)b+=s[v++],v=v%r;if(l=(l+1)%r,l===u&&(u=(u+1)%r),g-d<n)return;const P=y&&g-y;return P?Math.round(b*1e3/P):void 0}}function W1(r,n){let s=0,o=1e3/n,l,u;const d=(g,y=Date.now())=>{s=y,l=null,u&&(clearTimeout(u),u=null),r(...g)};return[(...g)=>{const y=Date.now(),v=y-s;v>=o?d(g,y):(l=g,u||(u=setTimeout(()=>{u=null,d(l)},o-v)))},()=>l&&d(l)]}const za=(r,n,s=3)=>{let o=0;const l=H1(50,250);return W1(u=>{if(!u||typeof u.loaded!="number")return;const d=u.loaded,h=u.lengthComputable?u.total:void 0,p=h!=null?Math.min(d,h):d,g=Math.max(0,p-o),y=l(g);o=Math.max(o,p);const v={loaded:p,total:h,progress:h?p/h:void 0,bytes:g,rate:y||void 0,estimated:y&&h?(h-p)/y:void 0,event:u,lengthComputable:h!=null,[n?"download":"upload"]:!0};r(v)},s)},Qp=(r,n)=>{const s=r!=null;return[o=>n[0]({lengthComputable:s,total:r,loaded:o}),n[1]]},Kp=r=>(...n)=>T.asap(()=>r(...n)),Q1=ft.hasStandardBrowserEnv?((r,n)=>s=>(s=new URL(s,ft.origin),r.protocol===s.protocol&&r.host===s.host&&(n||r.port===s.port)))(new URL(ft.origin),ft.navigator&&/(msie|trident)/i.test(ft.navigator.userAgent)):()=>!0,K1=ft.hasStandardBrowserEnv?{write(r,n,s,o,l,u,d){if(typeof document>"u")return;const h=[`${r}=${encodeURIComponent(n)}`];T.isNumber(s)&&h.push(`expires=${new Date(s).toUTCString()}`),T.isString(o)&&h.push(`path=${o}`),T.isString(l)&&h.push(`domain=${l}`),u===!0&&h.push("secure"),T.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(r){if(typeof document>"u")return null;const n=document.cookie.split(";");for(let s=0;s<n.length;s++){const o=n[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 G1(r){return typeof r!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function J1(r,n){return n?r.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):r}const X1=/^https?:(?!\/\/)/i,Y1=/[\t\n\r]/g;function Z1(r){let n=0;for(;n<r.length&&r.charCodeAt(n)<=32;)n++;return r.slice(n)}function ek(r){return Z1(r).replace(Y1,"")}function Gp(r,n){if(typeof r=="string"&&X1.test(ek(r)))throw new J('Invalid URL: missing "//" after protocol',J.ERR_INVALID_URL,n)}function Xg(r,n,s,o){Gp(n,o);let l=!G1(n);return r&&(l||s===!1)?(Gp(r,o),J1(r,n)):n}const Jp=r=>r instanceof wt?{...r}:r;function Yr(r,n){r=r||{},n=n||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function o(y,v,b,P){return T.isPlainObject(y)&&T.isPlainObject(v)?T.merge.call({caseless:P},y,v):T.isPlainObject(v)?T.merge({},v):T.isArray(v)?v.slice():v}function l(y,v,b,P){if(T.isUndefined(v)){if(!T.isUndefined(y))return o(void 0,y,b,P)}else return o(y,v,b,P)}function u(y,v){if(!T.isUndefined(v))return o(void 0,v)}function d(y,v){if(T.isUndefined(v)){if(!T.isUndefined(y))return o(void 0,y)}else return o(void 0,v)}function h(y){const v=T.hasOwnProp(n,"transitional")?n.transitional:void 0;if(!T.isUndefined(v))if(T.isPlainObject(v)){if(T.hasOwnProp(v,y))return v[y]}else return;const b=T.hasOwnProp(r,"transitional")?r.transitional:void 0;if(T.isPlainObject(b)&&T.hasOwnProp(b,y))return b[y]}function p(y,v,b){if(T.hasOwnProp(n,b))return o(y,v);if(T.hasOwnProp(r,b))return o(void 0,y)}const g={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:(y,v,b)=>l(Jp(y),Jp(v),b,!0)};return T.forEach(Object.keys({...r,...n}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const b=T.hasOwnProp(g,v)?g[v]:l,P=T.hasOwnProp(r,v)?r[v]:void 0,D=T.hasOwnProp(n,v)?n[v]:void 0,O=b(P,D,v);T.isUndefined(O)&&b!==p||(s[v]=O)}),T.hasOwnProp(n,"validateStatus")&&T.isUndefined(n.validateStatus)&&h("validateStatusUndefinedResolves")===!1&&(T.hasOwnProp(r,"validateStatus")?s.validateStatus=o(void 0,r.validateStatus):delete s.validateStatus),s}const tk=["content-type","content-length"];function nk(r,n,s){if(s!=="content-only"){r.set(n);return}Object.entries(n||{}).forEach(([o,l])=>{tk.includes(o.toLowerCase())&&r.set(o,l)})}const rk=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(n,s)=>String.fromCharCode(parseInt(s,16)));function Yg(r){const n=Yr({},r),s=b=>T.hasOwnProp(n,b)?n[b]:void 0,o=s("data");let l=s("withXSRFToken");const u=s("xsrfHeaderName"),d=s("xsrfCookieName");let h=s("headers");const p=s("auth"),g=s("baseURL"),y=s("allowAbsoluteUrls"),v=s("url");if(n.headers=h=wt.from(h),n.url=Wg(Xg(g,v,y,n),s("params"),s("paramsSerializer")),p){const b=T.getSafeProp(p,"username")||"",P=T.getSafeProp(p,"password")||"";try{h.set("Authorization","Basic "+btoa(b+":"+(P?rk(P):"")))}catch(D){throw J.from(D,J.ERR_BAD_OPTION_VALUE,r)}}if(T.isFormData(o)&&(ft.hasStandardBrowserEnv||ft.hasStandardBrowserWebWorkerEnv||T.isReactNative(o)?h.setContentType(void 0):T.isFunction(o.getHeaders)&&nk(h,o.getHeaders(),s("formDataHeaderPolicy"))),ft.hasStandardBrowserEnv&&(T.isFunction(l)&&(l=l(n)),l===!0||l==null&&Q1(n.url))){const P=u&&d&&K1.read(d);P&&h.set(u,P)}return n}const sk=typeof XMLHttpRequest<"u",ik=sk&&function(r){return new Promise(function(s,o){const l=Yg(r);let u=l.data;const d=wt.from(l.headers).normalize();let{responseType:h,onUploadProgress:p,onDownloadProgress:g}=l,y,v,b,P,D;function O(){P&&P(),D&&D(),l.cancelToken&&l.cancelToken.unsubscribe(y),l.signal&&l.signal.removeEventListener("abort",y)}let E=new XMLHttpRequest;E.open(l.method.toUpperCase(),l.url,!0),E.timeout=l.timeout;function k(){if(!E)return;const A=wt.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),H={data:!h||h==="text"||h==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:A,config:r,request:E};Jg(function(ue){s(ue),O()},function(ue){o(ue),O()},H),E=null}"onloadend"in E?E.onloadend=k:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.startsWith("file:"))||setTimeout(k)},E.onabort=function(){E&&(o(new J("Request aborted",J.ECONNABORTED,r,E)),O(),E=null)},E.onerror=function(j){const H=j&&j.message?j.message:"Network Error",Q=new J(H,J.ERR_NETWORK,r,E);Q.event=j||null,o(Q),O(),E=null},E.ontimeout=function(){let j=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const H=l.transitional||Yc;l.timeoutErrorMessage&&(j=l.timeoutErrorMessage),o(new J(j,H.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,r,E)),O(),E=null},u===void 0&&d.setContentType(null),"setRequestHeader"in E&&T.forEach(zg(d),function(j,H){E.setRequestHeader(H,j)}),T.isUndefined(l.withCredentials)||(E.withCredentials=!!l.withCredentials),h&&h!=="json"&&(E.responseType=l.responseType),g&&([b,D]=za(g,!0),E.addEventListener("progress",b)),p&&E.upload&&([v,P]=za(p),E.upload.addEventListener("progress",v),E.upload.addEventListener("loadend",P)),(l.cancelToken||l.signal)&&(y=A=>{E&&(o(!A||A.type?new ao(null,r,E):A),E.abort(),O(),E=null)},l.cancelToken&&l.cancelToken.subscribe(y),l.signal&&(l.signal.aborted?y():l.signal.addEventListener("abort",y)));const U=q1(l.url);if(U&&!ft.protocols.includes(U)){o(new J("Unsupported protocol "+U+":",J.ERR_BAD_REQUEST,r)),O();return}E.send(u||null)})},ok=(r,n)=>{if(r=r?r.filter(Boolean):[],!n&&!r.length)return;const s=new AbortController;let o=!1;const l=function(p){if(!o){o=!0,d();const g=p instanceof Error?p:this.reason;s.abort(g instanceof J?g:new ao(g instanceof Error?g.message:g))}};let u=n&&setTimeout(()=>{u=null,l(new J(`timeout of ${n}ms exceeded`,J.ETIMEDOUT))},n);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:h}=s;return h.unsubscribe=()=>T.asap(d),h},ak=function*(r,n){let s=r.byteLength;if(s<n){yield r;return}let o=0,l;for(;o<s;)l=o+n,yield r.slice(o,l),o=l},lk=async function*(r,n){for await(const s of uk(r))yield*ak(s,n)},uk=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const n=r.getReader();try{for(;;){const{done:s,value:o}=await n.read();if(s)break;yield o}}finally{await n.cancel()}},Xp=(r,n,s,o)=>{const l=lk(r,n);let u=0,d,h=p=>{d||(d=!0,o&&o(p))};return new ReadableStream({async pull(p){try{const{done:g,value:y}=await l.next();if(g){h(),p.close();return}let v=y.byteLength;if(s){let b=u+=v;s(b)}p.enqueue(new Uint8Array(y))}catch(g){throw h(g),g}},cancel(p){return h(p),l.return()}},{highWaterMark:2})},$a=r=>r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102,ck=(r,n,s)=>n+2<s&&$a(r.charCodeAt(n+1))&&$a(r.charCodeAt(n+2));function dk(r){if(!r||typeof r!="string"||!r.startsWith("data:"))return 0;const n=r.indexOf(",");if(n<0)return 0;const s=r.slice(5,n),o=r.slice(n+1);if(/;base64/i.test(s)){let d=o.length;const h=o.length;for(let P=0;P<h;
vendor: 4,732 bytes, line 94
94P++)if(o.charCodeAt(P)===37&&P+2<h){const D=o.charCodeAt(P+1),O=o.charCodeAt(P+2);$a(D)&&$a(O)&&(d-=2,P+=2)}let p=0,g=h-1;const y=P=>P>=2&&o.charCodeAt(P-2)===37&&o.charCodeAt(P-1)===51&&(o.charCodeAt(P)===68||o.charCodeAt(P)===100);g>=0&&(o.charCodeAt(g)===61?(p++,g--):y(g)&&(p++,g-=3)),p===1&&g>=0&&(o.charCodeAt(g)===61||y(g))&&p++;const b=Math.floor(d/4)*3-(p||0);return b>0?b:0}let u=0;for(let d=0,h=o.length;d<h;d++){const p=o.charCodeAt(d);if(p===37&&ck(o,d,h))u+=1,d+=2;else if(p<128)u+=1;else if(p<2048)u+=2;else if(p>=55296&&p<=56319&&d+1<h){const g=o.charCodeAt(d+1);g>=56320&&g<=57343?(u+=4,d++):u+=3}else u+=3}return u}const ed="1.18.1",Yp=64*1024,{isFunction:ka}=T,fk=r=>encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(n,s)=>String.fromCharCode(parseInt(s,16))),Zp=r=>{if(!T.isString(r))return r;try{return decodeURIComponent(r)}catch{return r}},em=(r,...n)=>{try{return!!r(...n)}catch{return!1}},hk=r=>{const n=r.indexOf("://");let s=r;return n!==-1&&(s=s.slice(n+3)),s.includes("@")||s.includes(":")},pk=r=>{const n=T.global!==void 0&&T.global!==null?T.global:globalThis,{ReadableStream:s,TextEncoder:o}=n;r=T.merge.call({skipUndefined:!0},{Request:n.Request,Response:n.Response},r);const{fetch:l,Request:u,Response:d}=r,h=l?ka(l):typeof fetch=="function",p=ka(u),g=ka(d);if(!h)return!1;const y=h&&ka(s),v=h&&(typeof o=="function"?(k=>U=>k.encode(U))(new o):async k=>new Uint8Array(await new u(k).arrayBuffer())),b=p&&y&&em(()=>{let k=!1;const U=new u(ft.origin,{body:new s,method:"POST",get duplex(){return k=!0,"half"}}),A=U.headers.has("Content-Type");return U.body!=null&&U.body.cancel(),k&&!A}),P=g&&y&&em(()=>T.isReadableStream(new d("").body)),D={stream:P&&(k=>k.body)};h&&["text","arrayBuffer","blob","formData","stream"].forEach(k=>{!D[k]&&(D[k]=(U,A)=>{let j=U&&U[k];if(j)return j.call(U);throw new J(`Response type '${k}' is not supported`,J.ERR_NOT_SUPPORT,A)})});const O=async k=>{if(k==null)return 0;if(T.isBlob(k))return k.size;if(T.isSpecCompliantForm(k))return(await new u(ft.origin,{method:"POST",body:k}).arrayBuffer()).byteLength;if(T.isArrayBufferView(k)||T.isArrayBuffer(k))return k.byteLength;if(T.isURLSearchParams(k)&&(k=k+""),T.isString(k))return(await v(k)).byteLength},E=async(k,U)=>{const A=T.toFiniteNumber(k.getContentLength());return A??O(U)};return async k=>{let{url:U,method:A,data:j,signal:H,cancelToken:Q,timeout:ue,onDownloadProgress:z,onUploadProgress:de,responseType:we,headers:he,withCredentials:Ne="same-origin",fetchOptions:$e,maxContentLength:Oe,maxBodyLength:je}=Yg(k);const Te=T.isNumber(Oe)&&Oe>-1,Ce=T.isNumber(je)&&je>-1,K=G=>T.hasOwnProp(k,G)?k[G]:void 0;let ie=l||fetch;we=we?(we+"").toLowerCase():"text";let M=ok([H,Q&&Q.toAbortSignal()],ue),R=null;const B=M&&M.unsubscribe&&(()=>{M.unsubscribe()});let fe,pe=null;const ce=()=>new J("Request body larger than maxBodyLength limit",J.ERR_BAD_REQUEST,k,R);try{let G;const ye=K("auth");if(ye){const ve=T.getSafeProp(ye,"username")||"",lt=T.getSafeProp(ye,"password")||"";G={username:ve,password:lt}}if(hk(U)){const ve=new URL(U,ft.origin);if(!G&&(ve.username||ve.password)){const lt=Zp(ve.username),Jt=Zp(ve.password);G={username:lt,password:Jt}}(ve.username||ve.password)&&(ve.username="",ve.password="",U=ve.href)}if(G&&(he.delete("authorization"),he.set("Authorization","Basic "+btoa(fk((G.username||"")+":"+(G.password||""))))),Te&&typeof U=="string"&&U.startsWith("data:")&&dk(U)>Oe)throw new J("maxContentLength size of "+Oe+" exceeded",J.ERR_BAD_RESPONSE,k,R);if(Ce&&A!=="get"&&A!=="head"){const ve=await O(j);if(typeof ve=="number"&&isFinite(ve)&&(fe=ve,ve>je))throw ce()}const _e=Ce&&(T.isReadableStream(j)||T.isStream(j)),ge=(ve,lt,Jt)=>Xp(ve,Yp,Xt=>{if(Ce&&Xt>je)throw pe=ce();lt&&lt(Xt)},Jt);if(b&&A!=="get"&&A!=="head"&&(de||_e)){if(fe=fe??await E(he,j),fe!==0||_e){let ve=new u(U,{method:"POST",body:j,duplex:"half"}),lt;if(T.isFormData(j)&&(lt=ve.headers.get("content-type"))&&he.setContentType(lt),ve.body){const[Jt,Xt]=de&&Qp(fe,za(Kp(de)))||[];j=ge(ve.body,Jt,Xt)}}}else if(_e&&!p&&y&&A!=="get"&&A!=="head")j=ge(j);else if(_e&&p&&!b&&A!=="get"&&A!=="head")throw new J("Stream request bodies are not supported by the current fetch implementation",J.ERR_NOT_SUPPORT,k,R);T.isString(Ne)||(Ne=Ne?"include":"omit");const tt=p&&"credentials"in u.prototype;if(T.isFormData(j)){const ve=he.getContentType();ve&&/^multipart\/form-data/i.test(ve)&&!/boundary=/i.test(ve)&&he.delete("content-type")}he.set("User-Agent","axios/"+ed,!1);const Ut={...$e,signal:M,method:A.toUpperCase(),headers:zg(he.normalize()),body:j,duplex:"half",credentials:tt?Ne:void 0};R=p&&new u(U,Ut);let at=await(p?ie(R,$e):ie(U,Ut));const Gt=wt.from(at.headers);if(Te){const ve=T.toFiniteNumber(Gt.getContentLength());if(ve!=null&&ve>
vendor: 4,849 bytes, lines 94-96
94Oe)throw new J("maxContentLength size of "+Oe+" exceeded",J.ERR_BAD_RESPONSE,k,R)}const Mt=P&&(we==="stream"||we==="response");if(P&&at.body&&(z||Te||Mt&&B)){const ve={};["status","statusText","headers"].forEach(xn=>{ve[xn]=at[xn]});const lt=T.toFiniteNumber(Gt.getContentLength()),[Jt,Xt]=z&&Qp(lt,za(Kp(z),!0))||[];let Un=0;const Mn=xn=>{if(Te&&(Un=xn,Un>Oe))throw new J("maxContentLength size of "+Oe+" exceeded",J.ERR_BAD_RESPONSE,k,R);Jt&&Jt(xn)};at=new d(Xp(at.body,Yp,Mn,()=>{Xt&&Xt(),B&&B()}),ve)}we=we||"text";let Ft=await D[T.findKey(D,we)||"text"](at,k);if(Te&&!P&&!Mt){let ve;if(Ft!=null&&(typeof Ft.byteLength=="number"?ve=Ft.byteLength:typeof Ft.size=="number"?ve=Ft.size:typeof Ft=="string"&&(ve=typeof o=="function"?new o().encode(Ft).byteLength:Ft.length)),typeof ve=="number"&&ve>Oe)throw new J("maxContentLength size of "+Oe+" exceeded",J.ERR_BAD_RESPONSE,k,R)}return!Mt&&B&&B(),await new Promise((ve,lt)=>{Jg(ve,lt,{data:Ft,headers:wt.from(at.headers),status:at.status,statusText:at.statusText,config:k,request:R})})}catch(G){if(B&&B(),M&&M.aborted&&M.reason instanceof J){const ye=M.reason;throw ye.config=k,R&&(ye.request=R),G!==ye&&Object.defineProperty(ye,"cause",{__proto__:null,value:G,writable:!0,enumerable:!1,configurable:!0}),ye}if(pe)throw R&&!pe.request&&(pe.request=R),pe;if(G instanceof J)throw R&&!G.request&&(G.request=R),G;if(G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)){const ye=new J("Network Error",J.ERR_NETWORK,k,R,G&&G.response);throw Object.defineProperty(ye,"cause",{__proto__:null,value:G.cause||G,writable:!0,enumerable:!1,configurable:!0}),ye}throw J.from(G,G&&G.code,k,R,G&&G.response)}}},mk=new Map,Zg=r=>{let n=r&&r.env||{};const{fetch:s,Request:o,Response:l}=n,u=[o,l,s];let d=u.length,h=d,p,g,y=mk;for(;h--;)p=u[h],g=y.get(p),g===void 0&&y.set(p,g=h?new Map:pk(n)),y=g;return g};Zg();const td={http:T1,xhr:ik,fetch:{get:Zg}};T.forEach(td,(r,n)=>{if(r){try{Object.defineProperty(r,"name",{__proto__:null,value:n})}catch{}Object.defineProperty(r,"adapterName",{__proto__:null,value:n})}});const tm=r=>`- ${r}`,gk=r=>T.isFunction(r)||r===null||r===!1;function yk(r,n){r=T.isArray(r)?r:[r];const{length:s}=r;let o,l;const u={};for(let d=0;d<s;d++){o=r[d];let h;if(l=o,!gk(o)&&(l=td[(h=String(o)).toLowerCase()],l===void 0))throw new J(`Unknown adapter '${h}'`);if(l&&(T.isFunction(l)||(l=l.get(n))))break;u[h||"#"+d]=l}if(!l){const d=Object.entries(u).map(([p,g])=>`adapter ${p} `+(g===!1?"is not supported by the environment":"is not available in the build"));let h=s?d.length>1?`since :
95`+d.map(tm).join(`
96`):" "+tm(d[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+h,J.ERR_NOT_SUPPORT)}return l}const ey={getAdapter:yk,adapters:td};function Zu(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new ao(null,r)}function nm(r){return Zu(r),r.headers=wt.from(r.headers),r.data=Yu.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),ey.getAdapter(r.adapter||oo.adapter,r)(r).then(function(o){Zu(r),r.response=o;try{o.data=Yu.call(r,r.transformResponse,o)}finally{delete r.response}return o.headers=wt.from(o.headers),o},function(o){if(!Gg(o)&&(Zu(r),o&&o.response)){r.response=o.response;try{o.response.data=Yu.call(r,r.transformResponse,o.response)}finally{delete r.response}o.response.headers=wt.from(o.response.headers)}return Promise.reject(o)})}const Qa={};["object","boolean","number","function","string","symbol"].forEach((r,n)=>{Qa[r]=function(o){return typeof o===r||"a"+(n<1?"n ":" ")+r}});const rm={};Qa.transitional=function(n,s,o){function l(u,d){return"[Axios v"+ed+"] Transitional option '"+u+"'"+d+(o?". "+o:"")}return(u,d,h)=>{if(n===!1)throw new J(l(d," has been removed"+(s?" in "+s:"")),J.ERR_DEPRECATED);return s&&!rm[d]&&(rm[d]=!0,console.warn(l(d," has been deprecated since v"+s+" and will be removed in the near future"))),n?n(u,d,h):!0}};Qa.spelling=function(n){return(s,o)=>(console.warn(`${o} is likely a misspelling of ${n}`),!0)};function vk(r,n,s){if(typeof r!="object"||r===null)throw new J("options must be an object",J.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(n,u)?n[u]:void 0;if(d){const h=r[u],p=h===void 0||d(h,u,r);if(p!==!0)throw new J("option "+u+" must be "+p,J.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new J("Unknown option "+u,J.ERR_BAD_OPTION)}}const Na={assertOptions:vk,validators:Qa},yt=Na.validators;let Kr=class{constructor(n){this.defaults=n||{},this.interceptors={request:new Hp,response:new Hp}}async request(n,s){try{return await this._request(n,s)}catch(o){if(o instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=(()=>
vendor: 3,918 bytes, lines 96-100
96{if(!l.stack)return"";const d=l.stack.indexOf(`
97`);return d===-1?"":l.stack.slice(d+1)})();try{if(!o.stack)o.stack=u;else if(u){const d=u.indexOf(`
98`),h=d===-1?-1:u.indexOf(`
99`,d+1),p=h===-1?"":u.slice(h+1);String(o.stack).endsWith(p)||(o.stack+=`
100`+u)}}catch{}}throw o}}_request(n,s){typeof n=="string"?(s=s||{},s.url=n):s=n||{},s=Yr(this.defaults,s);const{transitional:o,paramsSerializer:l,headers:u}=s;o!==void 0&&Na.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&&(T.isFunction(l)?s.paramsSerializer={serialize:l}:Na.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),Na.assertOptions(s,{baseUrl:yt.spelling("baseURL"),withXsrfToken:yt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let d=u&&T.merge(u.common,u[s.method]);u&&T.forEach(["delete","get","head","post","put","patch","query","common"],D=>{delete u[D]}),s.headers=wt.concat(d,u);const h=[];let p=!0;this.interceptors.request.forEach(function(O){if(typeof O.runWhen=="function"&&O.runWhen(s)===!1)return;p=p&&O.synchronous;const E=s.transitional||Yc;E&&E.legacyInterceptorReqResOrdering?h.unshift(O.fulfilled,O.rejected):h.push(O.fulfilled,O.rejected)});const g=[];this.interceptors.response.forEach(function(O){g.push(O.fulfilled,O.rejected)});let y,v=0,b;if(!p){const D=[nm.bind(this),void 0];for(D.unshift(...h),D.push(...g),b=D.length,y=Promise.resolve(s);v<b;)y=y.then(D[v++],D[v++]);return y}b=h.length;let P=s;for(;v<b;){const D=h[v++],O=h[v++];try{P=D(P)}catch(E){O.call(this,E);break}}try{y=nm.call(this,P)}catch(D){return Promise.reject(D)}for(v=0,b=g.length;v<b;)y=y.then(g[v++],g[v++]);return y}getUri(n){n=Yr(this.defaults,n);const s=Xg(n.baseURL,n.url,n.allowAbsoluteUrls,n);return Wg(s,n.params,n.paramsSerializer)}};T.forEach(["delete","get","head","options"],function(n){Kr.prototype[n]=function(s,o){return this.request(Yr(o||{},{method:n,url:s,data:o&&T.hasOwnProp(o,"data")?o.data:void 0}))}});T.forEach(["post","put","patch","query"],function(n){function s(o){return function(u,d,h){return this.request(Yr(h||{},{method:n,headers:o?{"Content-Type":"multipart/form-data"}:{},url:u,data:d}))}}Kr.prototype[n]=s(),n!=="query"&&(Kr.prototype[n+"Form"]=s(!0))});let wk=class ty{constructor(n){if(typeof n!="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(h=>{o.subscribe(h),u=h}).then(l);return d.cancel=function(){o.unsubscribe(u)},d},n(function(u,d,h){o.reason||(o.reason=new ao(u,d,h),s(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const s=this._listeners.indexOf(n);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const n=new AbortController,s=o=>{n.abort(o)};return this.subscribe(s),n.signal.unsubscribe=()=>this.unsubscribe(s),n.signal}static source(){let n;return{token:new ty(function(l){n=l}),cancel:n}}};function xk(r){return function(s){return r.apply(null,s)}}function Sk(r){return T.isObject(r)&&r.isAxiosError===!0}const Pc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
100alContent: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(Pc).forEach(([r,n])=>{Pc[n]=r});function ny(r){const n=new Kr(r),s=Ag(Kr.prototype.request,n);return T.extend(s,Kr.prototype,n,{allOwnKeys:!0}),T.extend(s,n,null,{allOwnKeys:!0}),s.create=function(l){return ny(Yr(r,l))},s}const Qe=ny(oo);Qe.Axios=Kr;Qe.CanceledError=ao;Qe.CancelToken=wk;Qe.isCancel=Gg;Qe.VERSION=ed;Qe.toFormData=Wa;Qe.AxiosError=J;Qe.Cancel=Qe.CanceledError;Qe.all=function(n){return Promise.all(n)};Qe.spread=xk;Qe.isAxiosError=Sk;Qe.mergeConfig=Yr;Qe.AxiosHeaders=wt;Qe.formToJSON=r=>Kg(T.isHTMLForm(r)?new FormData(r):r);Qe.getAdapter=ey.getAdapter;Qe.HttpStatusCode=Pc;Qe.default=Qe;const{Axios:AE,AxiosError:LE,CanceledError:jE,isCancel:IE,CancelToken:DE,VERSION:UE,all:ME,Cancel:FE,isAxiosError:BE,spread:zE,toFormData:$E,AxiosHeaders:VE,HttpStatusCode:qE,formToJSON:HE,getAdapter:WE,mergeConfig:QE,create:KE}=Qe,ry=typeof window>"u",sm=!ry&&window.self!==window.top,kk=!ry&&typeof document>"u",ec=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),dt=[];for(let r=0;r<256;++r)dt.push((r+256).toString(16).slice(1));function _k(r,n=0){return(dt[r[n+0]]+dt[r[n+1]]+dt[r[n+2]]+dt[r[n+3]]+"-"+dt[r[n+4]]+dt[r[n+5]]+"-"+dt[r[n+6]]+dt[r[n+7]]+"-"+dt[r[n+8]]+dt[r[n+9]]+"-"+dt[r[n+10]]+dt[r[n+11]]+dt[r[n+12]]+dt[r[n+13]]+dt[r[n+14]]+dt[r[n+15]]).toLowerCase()}let tc;const Ek=new Uint8Array(16);function bk(){if(!tc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");tc=crypto.getRandomValues.bind(crypto)}return tc(Ek)}const Ck=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),im={randomUUID:Ck};function Rk(r,n,s){var l;r=r||{};const o=r.random??((l=r.rng)==null?void 0:l.call(r))??bk();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,_k(o)}function Tk(r,n,s){return im.randomUUID&&!r?im.randomUUID():Rk(r)}const Ui=typeof window<"u"?window:{base44SharedInstances:{}};function Pk(r,n){return Ui.base44SharedInstances||(Ui.base44SharedInstances={}),Ui.base44SharedInstances[r]||(Ui.base44SharedInstances[r]={instance:n()}),Ui.base44SharedInstances[r].instance}const Ok="__user_heartbeat_event__",Nk="__initialization_event__",Ak="__session_duration_event__",om="analytics-enable",am="base44_analytics_session_id",Lk={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},jk="analytics",Ie=Pk(jk,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...Lk,...$k()}})),Ik=({axiosClient:r,serverUrl:n,appId:s,userAuthModule:o})=>{var l;const{maxQueueSize:u,throttleTime:d,batchSize:h}=Ie.config;if(!(!((l=Ie.config)===null||l===void 0)&&l.enabled)||kk)return{track:()=>{},cleanup:()=>{}};let p;const g=`${n}/api/apps/${s}/analytics/track/batch`,y=async A=>{await r.request({method:"POST",url:`/apps/${s}/analytics/track/batch`,data:{events:A}})},v=A=>{try{const j=JSON.stringify({events:A}),H=new Blob([j],{type:"application/json"});return typeof navigator>"u"||j.length>6e4||!navigator.sendBeacon(g,H)}catch{return!1}},b=async(A,j={})=>
100{if(A.length===0)return;const H=await zk(o),Q=A.map(Bk(H));try{(!j.isBeacon||!v(Q))&&await y(Q)}catch{}},P=()=>{um(b,{throttleTime:d,batchSize:h})},D=A=>{if(Ie.requestsQueue.length>=u)return;const j=Fk();Ie.requestsQueue.push({...A,...j}),P()},O=()=>{um(b,{throttleTime:d,batchSize:h}),p=cm(D),Uk()},E=()=>{lm(),p==null||p(),Mk(D);const A=Ie.requestsQueue.splice(0);b(A,{isBeacon:!0})},k=()=>{typeof window>"u"||(document.visibilityState==="hidden"?E():document.visibilityState==="visible"&&O())},U=()=>{lm(),p==null||p(),typeof window<"u"&&window.removeEventListener("visibilitychange",k)};return P(),p=cm(D),Dk(D),typeof window<"u"&&window.addEventListener("visibilitychange",k),{track:D,cleanup:U}};function lm(){Ie.isProcessing=!1}async function um(r,n){if(Ie.isProcessing)return;Ie.isProcessing=!0;const{throttleTime:s=1e3,batchSize:o=30}=n??{};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 cm(r){var n;if(Ie.isHeartBeatProcessing||((n=Ie.config.heartBeatInterval)!==null&&n!==void 0?n:0)<10)return()=>{};Ie.isHeartBeatProcessing=!0;const s=setInterval(()=>{r({eventName:Ok})},Ie.config.heartBeatInterval);return()=>{clearInterval(s),Ie.isHeartBeatProcessing=!1}}function Dk(r){typeof window>"u"||Ie.wasInitializationTracked||(Ie.wasInitializationTracked=!0,r({eventName:Nk,properties:{referrer:document==null?void 0:document.referrer}}))}function Uk(){typeof window>"u"||Ie.sessionStartTime!==null||(Ie.sessionStartTime=new Date().toISOString())}function Mk(r){if(typeof window>"u"||Ie.sessionStartTime===null)return;const n=new Date().getTime()-new Date(Ie.sessionStartTime).getTime();Ie.sessionStartTime=null,r({eventName:Ak,properties:{sessionDuration:n}})}function Fk(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function Bk(r){return n=>({event_name:n.eventName,properties:n.properties,timestamp:n.timestamp,page_url:n.pageUrl,...r})}let nc=null;async function zk(r){if(!Ie.sessionContext){if(!nc){const n=nd();nc=r.me().then(s=>({user_id:s.id,session_id:n})).catch(()=>({user_id:null,session_id:n}))}Ie.sessionContext=await nc}return Ie.sessionContext}function $k(){if(typeof window>"u"||!window.location)return;const n=new URLSearchParams(window.location.search).get(om);if(n==null||!n.length)return;const s=new URLSearchParams(window.location.search);s.delete(om);const o=window.location.pathname+(s.toString()?"?"+s.toString():"");return window.history.replaceState({},"",o),{enabled:n==="true"}}function nd(){if(typeof window>"u")return ec();try{const r=localStorage.getItem(am);if(!r){const n=ec();return localStorage.setItem(am,n),n}return r}catch{return ec()}}class Vk extends Error{constructor(n,s,o,l,u){super(n),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 Bi({baseURL:r,headers:n={},token:s,interceptResponses:o=!0,onError:l}){const u=Qe.create({baseURL:r,headers:{"Content-Type":"application/json",Accept:"application/json",...n}});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",nd()));const h=Tk();if(d.requestId=h,sm)try{window.parent.postMessage({type:"api-request-start",requestId:h,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 h;const p=(h=d.config)===null||h===void 0?void 0:h.requestId;try{sm&&p&&window.parent.postMessage({type:"api-request-end",requestId:p,data:{statusCode:d.status,response:d.data}},"*")}catch{}return d.data},d=>{var h,p,g,y,v,b,P,D;const O=((p=(h=d.response)===null||h===void 0?void 0:h.data)===null||p===void 0?void 0:p.message)||((y=(g=d.response)===null||g===void 0?void 0:g.data)===null||y===void 0?void 0:y.detail)||d.message,E=new Vk(O,(v=d.response)===null||v===void 0?void 0:v.status,(P=(b=d.response)===null||b===void 0?void 0:b.data)===null||P===void 0?void 0:P.code,(D=d.response)===null||D===void 0?void 0:D.data,d);return l==null||l(E),Promise.reject(E)}),u}function dm(r){const{axios:n,appId:s,getSocket:o}=r;return new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return Hk(n,s,u,o)}})}function qk(r){var n;try{const s=JSON.parse(r);return{type:s.type,data:s.data,id:s.id||((n=s.data)===null||n===void 0?void 0:n.id),timestamp:s.timestamp||new Date().toISOString()}}catch(s){return console.warn("[Base44 SDK] Failed to parse realtime message:",s),null}}function Hk(r,n,s,o){const l=`/apps/${n}/entities/${s}`;return{async list(u,d,h,p){const g={};return u&&(g.sort=u),d&&(g.limit=d),h&&(g.skip=h),p&&(g.fields=Array.isArray(p)?p.join(","):p),r.get(l,{params:g})},async filter(u,d,h,p,g){const y={q:JSON.stringify(u)};return d&&(y.sort=d),h&&(y.limit=h),p&&(y.skip=p),g&&(y.fields=Array.isArray(g)?g.join(","):g),r.get(l,{params:y})},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:${n}:${s}`;return o().subscribeToRoom(d,{update_model:g=>{var y;const v=qk(g.data);if(v){v.type!=="delete"&&(!((y=v.data)===null||y===void 0)&&y._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(b){console.error("[Base44 SDK] Subscription callback error:",b)}}}})}}}function Wk(r,n){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,...h}=l??{},p={...h,...u&&{path_params:u},...d&&{query_params:d}};return await r.post(`/apps/${n}/integrations/custom/${s}/${o}`,p)}}}function fm(r,n){const s=Wk(r,n);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 h=>{if(typeof h=="string")throw new Error(`Integration ${d} must receive an object with named parameters, received: ${h}`);let p,g;return h instanceof FormData||h&&Object.values(h).some(y=>
100y instanceof File)?(p=new FormData,Object.keys(h).forEach(y=>{h[y]instanceof File?p.append(y,h[y],h[y].name):typeof h[y]=="object"&&h[y]!==null?p.append(y,JSON.stringify(h[y])):p.append(y,h[y])}),g="multipart/form-data"):(p=h,g="application/json"),l==="Core"?r.post(`/apps/${n}/integration-endpoints/Core/${d}`,p||h,{headers:{"Content-Type":g}}):r.post(`/apps/${n}/integration-endpoints/installable/${l}/integration-endpoints/${d}`,p||h,{headers:{"Content-Type":g}})}}})}})}function Qk(){return typeof window>"u"?!1:window!==window.parent}function Kk(r,n,s){const u=Math.round(window.screenX+(window.outerWidth-500)/2),d=Math.round(window.screenY+(window.outerHeight-600)/2),h=window.open(r,"base44_auth",`width=500,height=600,left=${u},top=${d},resizable=yes,scrollbars=yes`);if(!h)return;const p=()=>{window.removeEventListener("message",g),clearInterval(y),h.closed||h.close()},g=v=>{var b;if(v.origin!==s||v.source!==h||!(!((b=v.data)===null||b===void 0)&&b.access_token))return;p();const P=new URL(n),{access_token:D,is_new_user:O}=v.data;P.searchParams.set("access_token",D),O!=null&&P.searchParams.set("is_new_user",String(O)),window.location.href=P.toString()},y=setInterval(()=>{h.closed&&p()},500);window.addEventListener("message",g)}function Gk(r,n,s,o){return{async me(){return r.get(`/apps/${s}/entities/User/me`)},async updateMe(l){return r.put(`/apps/${s}/entities/User/me`,l)},redirectToLogin(l){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const u=l?new URL(l,window.location.origin).toString():window.location.href,d=`${o.appBaseUrl}/login?from_url=${encodeURIComponent(u)}`;window.location.href=d},loginWithProvider(l,u="/"){const d=new URL(u,window.location.origin).toString(),h=`app_id=${s}&from_url=${encodeURIComponent(d)}`;let p;l==="sso"?p=`/apps/${s}/auth/sso/login`:p=`/apps/auth${l==="google"?"":`/${l}`}/login`;const g=`${o.appBaseUrl}/api${p}?${h}`;if(Qk()){const y=`${g}&popup_origin=${encodeURIComponent(window.location.origin)}`;return Kk(y,d,window.location.origin)}window.location.href=g},logout(l){if(delete r.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(h){console.error("Failed to remove token from localStorage:",h)}const u=l||window.location.href,d=`${o.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(u)}`;window.location.href=d}},setToken(l,u=!0){if(l&&(r.defaults.headers.common.Authorization=`Bearer ${l}`,n.defaults.headers.common.Authorization=`Bearer ${l}`,u&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",l),window.localStorage.setItem("token",l)}catch(d){console.error("Failed to save token to localStorage:",d)}},async loginViaEmailPassword(l,u,d){var h;try{const p=await r.post(`/apps/${s}/auth/login`,{email:l,password:u,...d&&{turnstile_token:d}}),{access_token:g,user:y}=p;return g&&this.setToken(g),{access_token:g,user:y}}catch(p){throw((h=p.response)===null||h===void 0?void 0:h.status)===401&&await this.logout(),p}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(l,u){return r.post(`/apps/${s}/users/invite-user`,{user_email:l,role:u})},register(l){return r.post(`/apps/${s}/auth/register`,l)},verifyOtp({email:l,otpCode:u}){return r.post(`/apps/${s}/auth/verify-otp`,{email:l,otp_code:u})},resendOtp(l){return r.post(`/apps/${s}/auth/resend-otp`,{email:l})},resetPasswordRequest(l){return r.post(`/apps/${s}/auth/reset-password-request`,{email:l})},resetPassword({resetToken:l,newPassword:u}){return r.post(`/apps/${s}/auth/reset-password`,{reset_token:l,new_password:u})},changePassword({userId:l,currentPassword:u,newPassword:d}){return r.post(`/apps/${s}/auth/change-password`,{user_id:l,current_password:u,new_password:d})}}}function Jk(r,n){return{async getAccessToken(s){const o=`/apps/${n}/auth/sso/accesstoken/${s}`;return r.get(o)}}}function Xk(r,n){return{async getAccessToken(s){if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");return(await r.get(`/apps/${n}/external-auth/tokens/${s}`)).access_token},async getConnection(s){var o;
100if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");const u=await r.get(`/apps/${n}/external-auth/tokens/${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/${n}/external-auth/tokens/connectors/${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/${n}/app-user-auth/connectors/${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/${n}/app-user-auth/connectors/${s}/token`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}}}}function Yk(r,n){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/${n}/app-user-auth/connectors/${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/${n}/app-user-auth/connectors/${s}`)}}}function qs(r={}){const{storageKey:n="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&&Zk(u,{storageKey:n}),l){d.delete(s);const h=`${window.location.pathname}${d.toString()?`?${d.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}return u}}catch(d){console.error("Error retrieving token from URL:",d)}if(typeof window<"u"&&window.localStorage)try{return u=window.localStorage.getItem(n),u}catch(d){console.error("Error retrieving token from local storage:",d)}return null}function Zk(r,n){const{storageKey:s="base44_access_token"}=n;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 hm(r,n,s){const o=(u,d)=>u?`${String(u).replace(/\/$/,"")}${d}`:d,l=u=>{const d=new Headers;if(s!=null&&s.getAuthHeaders){const h=s.getAuthHeaders();Object.entries(h).forEach(([p,g])=>{g!=null&&d.set(p,String(g))})}return u&&new Headers(u).forEach((h,p)=>{d.set(p,h)}),d};return{async invoke(u,d){if(typeof d=="string")throw new Error(`Function ${u} must receive an object with named parameters, received: ${d}`);let h,p;return d instanceof FormData||d&&Object.values(d).some(g=>g instanceof File)?(h=new FormData,Object.keys(d).forEach(g=>{d[g]instanceof File?h.append(g,d[g],d[g].name):typeof d[g]=="object"&&d[g]!==null?h.append(g,JSON.stringify(d[g])):h.append(g,d[g])}),p="multipart/form-data"):(h=d,p="application/json"),r.post(`/apps/${n}/functions/${u}`,h||d,{headers:{"Content-Type":p}})},async fetch(u,d={}){const p=`/functions${u.startsWith("/")?u:`/${u}`}`,g=l(d.headers),y={...d,headers:g};return await fetch(o(s==null?void 0:s.baseURL,p),y)}}}function pm({axios:r,getSocket:n,appId:s,serverUrl:o,token:l}){const u=`/apps/${s}/agents`,d={},h=()=>r.get(`${u}/conversations`),p=O=>r.get(`${u}/conversations/${O}`);return{getConversations:h,getConversation:p,listConversations:O=>r.get(`${u}/conversations`,{params:O}),createConversation:O=>r.post(`${u}/conversations`,O),addMessage:async(O,E)=>r.post(`${u}/conversations/v2/${O.id}/messages`,E),subscribeToConversation:(O,E)=>{const k=`/agent-conversations/${O}`,U=n(),A=p(O).then(j=>(d[O]=j,j));return U.subscribeToRoom(k,{connect:()=>{},update_model:async({data:j})=>{const H=JSON.parse(j);if(H._message){await A;const Q=H._message,ue=d[O];if(ue){const z=ue.messages||[],de=z.findIndex(he=>he.id===Q.id),we=de!==-1?z.map((he,Ne)=>Ne===de?Q:he):[...z,Q];d[O]={...ue,messages:we},E==null||E(d[O])}}}})},getWhatsAppConnectURL:O=>{const E=`${o}/api/apps/${s}/agents/${encodeURIComponent(O)}/whatsapp`,k=l??qs();return k?`${E}?token=${k}`:E},getTelegramConnectURL:O=>{const E=`${o}/api/apps/${s}/agents/${encodeURIComponent(O)}/telegram`,k=l??qs();return k?`${E}?token=${k}`:E}}}
vendor: 4,198 bytes, line 100
100function mm({serverUrl:r,token:n,appId:s}){return{connection:()=>{var l;return{baseURL:`${r}/api/apps/${s}/ai/openai/v1`,token:(l=n??qs())!==null&&l!==void 0?l:""}}}}function gm(r,n){const s=`/app-logs/${n}`;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 e_(r,n){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/${n}/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 Aa=Object.create(null);Object.keys(wn).forEach(r=>{Aa[wn[r]]=r});const Oc={type:"error",data:"parser error"},sy=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",iy=typeof ArrayBuffer=="function",oy=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,rd=({type:r,data:n},s,o)=>sy&&n instanceof Blob?s?o(n):ym(n,o):iy&&(n instanceof ArrayBuffer||oy(n))?s?o(n):ym(new Blob([n]),o):o(wn[r]+(n||"")),ym=(r,n)=>{const s=new FileReader;return s.onload=function(){const o=s.result.split(",")[1];n("b"+(o||""))},s.readAsDataURL(r)};function vm(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}let rc;function t_(r,n){if(sy&&r.data instanceof Blob)return r.data.arrayBuffer().then(vm).then(n);if(iy&&(r.data instanceof ArrayBuffer||oy(r.data)))return n(vm(r.data));rd(r,!1,s=>{rc||(rc=new TextEncoder),n(rc.encode(s))})}const wm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zi=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<wm.length;r++)zi[wm.charCodeAt(r)]=r;const n_=r=>{let n=r.length*.75,s=r.length,o,l=0,u,d,h,p;r[r.length-1]==="="&&(n--,r[r.length-2]==="="&&n--);const g=new ArrayBuffer(n),y=new Uint8Array(g);for(o=0;o<s;o+=4)u=zi[r.charCodeAt(o)],d=zi[r.charCodeAt(o+1)],h=zi[r.charCodeAt(o+2)],p=zi[r.charCodeAt(o+3)],y[l++]=u<<2|d>>4,y[l++]=(d&15)<<4|h>>2,y[l++]=(h&3)<<6|p&63;return g},r_=typeof ArrayBuffer=="function",sd=(r,n)=>{if(typeof r!="string")return{type:"message",data:ay(r,n)};const s=r.charAt(0);return s==="b"?{type:"message",data:s_(r.substring(1),n)}:Aa[s]?r.length>1?{type:Aa[s],data:r.substring(1)}:{type:Aa[s]}:Oc},s_=(r,n)=>{if(r_){const s=n_(r);return ay(s,n)}else return{base64:!0,data:r}},ay=(r,n)=>{switch(n){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}},ly="�",i_=(r,n)=>{const s=r.length,o=new Array(s);let l=0;r.forEach((u,d)=>{rd(u,!1,h=>{o[d]=h,++l===s&&n(o.join(ly))})})},o_=(r,n)=>{const s=r.split(ly),o=[];for(let l=0;l<s.length;l++){const u=sd(s[l],n);if(o.push(u),u.type==="error")break}return o};function a_(){return new TransformStream({transform(r,n){t_(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),n.enqueue(l),n.enqueue(s)})}})}let sc;function _a(r){return r.reduce((n,s)=>n+s.length,0)}function Ea(r,n){if(r[0].length===n)return r.shift();const s=new Uint8Array(n);let o=0;for(let l=0;l<n;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 l_(r,n){sc||(sc=new TextDecoder);const s=[];let o=0,l=-1,u=!1;return new TransformStream({transform(d,h){for(s.push(d);;){if(o===0){if(_a(s)<1)break;const p=Ea(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(_a(s)<2)break;const p=Ea(s,2);l=new DataView(p.buffer,p.byteOffset,p.length).getUint16(0),o=3}else if(o===2){if(_a(s)<8)break;const p=Ea(s,8),g=new DataView(p.buffer,p.byteOffset,p.length),y=g.getUint32(0);if(y>Math.pow(2,21)-1){h.enqueue(Oc);break}
vendor: 28,266 bytes, line 100
100l=y*Math.pow(2,32)+g.getUint32(4),o=3}else{if(_a(s)<l)break;const p=Ea(s,l);h.enqueue(sd(u?p:sc.decode(p),n)),o=0}if(l===0||l>r){h.enqueue(Oc);break}}}})}const uy=4;function Ge(r){if(r)return u_(r)}function u_(r){for(var n in Ge.prototype)r[n]=Ge.prototype[n];return r}Ge.prototype.on=Ge.prototype.addEventListener=function(r,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(n),this};Ge.prototype.once=function(r,n){function s(){this.off(r,s),n.apply(this,arguments)}return s.fn=n,this.on(r,s),this};Ge.prototype.off=Ge.prototype.removeListener=Ge.prototype.removeAllListeners=Ge.prototype.removeEventListener=function(r,n){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===n||o.fn===n){s.splice(l,1);break}return s.length===0&&delete this._callbacks["$"+r],this};Ge.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var n=new Array(arguments.length-1),s=this._callbacks["$"+r],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(s){s=s.slice(0);for(var o=0,l=s.length;o<l;++o)s[o].apply(this,n)}return this};Ge.prototype.emitReserved=Ge.prototype.emit;Ge.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};Ge.prototype.hasListeners=function(r){return!!this.listeners(r).length};const Ka=typeof Promise=="function"&&typeof Promise.resolve=="function"?n=>Promise.resolve().then(n):(n,s)=>s(n,0),Kt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),c_="arraybuffer";function cy(r,...n){return n.reduce((s,o)=>(r.hasOwnProperty(o)&&(s[o]=r[o]),s),{})}const d_=Kt.setTimeout,f_=Kt.clearTimeout;function Ga(r,n){n.useNativeTimers?(r.setTimeoutFn=d_.bind(Kt),r.clearTimeoutFn=f_.bind(Kt)):(r.setTimeoutFn=Kt.setTimeout.bind(Kt),r.clearTimeoutFn=Kt.clearTimeout.bind(Kt))}const h_=1.33;function p_(r){return typeof r=="string"?m_(r):Math.ceil((r.byteLength||r.size)*h_)}function m_(r){let n=0,s=0;for(let o=0,l=r.length;o<l;o++)n=r.charCodeAt(o),n<128?s+=1:n<2048?s+=2:n<55296||n>=57344?s+=3:(o++,s+=4);return s}function dy(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function g_(r){let n="";for(let s in r)r.hasOwnProperty(s)&&(n.length&&(n+="&"),n+=encodeURIComponent(s)+"="+encodeURIComponent(r[s]));return n}function y_(r){let n={},s=r.split("&");for(let o=0,l=s.length;o<l;o++){let u=s[o].split("=");n[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return n}class v_ extends Error{constructor(n,s,o){super(n),this.description=s,this.context=o,this.type="TransportError"}}class id extends Ge{constructor(n){super(),this.writable=!1,Ga(this,n),this.opts=n,this.query=n.query,this.socket=n.socket,this.supportsBinary=!n.forceBase64}onError(n,s,o){return super.emitReserved("error",new v_(n,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(n){this.readyState==="open"&&this.write(n)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(n){const s=sd(n,this.socket.binaryType);this.onPacket(s)}onPacket(n){super.emitReserved("packet",n)}onClose(n){this.readyState="closed",super.emitReserved("close",n)}pause(n){}createUri(n,s={}){return n+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const n=this.opts.hostname;return n.indexOf(":")===-1?n:"["+n+"]"}_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(n){const s=g_(n);return s.length?"?"+s:""}}class w_ extends id{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(n){this.readyState="pausing";const s=()=>{this.readyState="paused",n()};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(n){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)};o_(n,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const n=()=>{this.write([{type:"close"}])};this.readyState==="open"?n():this.once("open",n)}write(n){this.writable=!1,i_(n,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const n=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=dy()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(n,s)}}let fy=!1;try{fy=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const x_=fy;function S_(){}class k_ extends w_{constructor(n){if(super(n),typeof location<"u"){const s=location.protocol==="https:";let o=location.port;o||(o=s?"443":"80"),this.xd=typeof location<"u"&&n.hostname!==location.hostname||o!==n.port}}doWrite(n,s){const o=this.request({method:"POST",data:n});o.on("success",s),o.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const n=this.request();n.on("data",this.onData.bind(this)),n.on("error",(s,o)=>{this.onError("xhr poll error",s,o)}),this.pollXhr=n}}class vn extends Ge{constructor(n,s,o){super(),this.createRequest=n,Ga(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 n;const s=cy(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{}(n=this._opts.cookieJar)===null||n===void 0||n.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(n){this.emitReserved("error",n,this._xhr),this._cleanup(!0)}_cleanup(n){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=S_,n)try{this._xhr.abort()}catch{}typeof document<"u"&&delete vn.requests[this._index],this._xhr=null}}_onLoad(){const n=this._xhr.responseText;n!==null&&(this.emitReserved("data",n),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}vn.requestsCount=0;vn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",xm);else if(typeof addEventListener=="function"){const r="onpagehide"in Kt?"pagehide":"unload";addEventListener(r,xm,!1)}}function xm(){for(let r in vn.requests)vn.requests.hasOwnProperty(r)&&vn.requests[r].abort()}const __=(function(){const r=hy({xdomain:!1});return r&&r.responseType!==null})();class E_ extends k_{constructor(n){super(n);const s=n&&n.forceBase64;this.supportsBinary=__&&!s}request(n={}){return Object.assign(n,{xd:this.xd},this.opts),new vn(hy,this.uri(),n)}}function hy(r){const n=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!n||x_))return new XMLHttpRequest}catch{}if(!n)try{return new Kt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const py=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class b_ extends id{get name(){return"websocket"}doOpen(){const n=this.uri(),s=this.opts.protocols,o=py?{}:cy(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(n,s,o)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=n=>this.onClose({description:"websocket connection closed",context:n}),this.ws.onmessage=n=>this.onData(n.data),this.ws.onerror=n=>this.onError("websocket error",n)}write(n){this.writable=!1;for(let s=0;s<n.length;s++){const o=n[s],l=s===n.length-1;rd(o,this.supportsBinary,u=>{try{this.doWrite(o,u)}catch{}l&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const n=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=dy()),this.supportsBinary||(s.b64=1),this.createUri(n,s)}}const ic=Kt.WebSocket||Kt.MozWebSocket;class C_ extends b_{createSocket(n,s,o){return py?new ic(n,s,o):s?new ic(n,s):new ic(n)}doWrite(n,s){this.ws.send(s)}}class R_ extends id{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(n){return this.emitReserved("error",n)}this._transport.closed.then(()=>{this.onClose()}).catch(n=>{this.onError("webtransport error",n)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(n=>{const s=l_(Number.MAX_SAFE_INTEGER,this.socket.binaryType),o=n.readable.pipeThrough(s).getReader(),l=a_();l.readable.pipeTo(n.writable),this._writer=l.writable.getWriter();const u=()=>{o.read().then(({done:h,value:p})=>{h||(this.onPacket(p),u())}).catch(h=>{})};u();const d={type:"open"};this.query.sid&&(d.data=`{"sid":"${this.query.sid}"}`),this._writer.write(d).then(()=>this.onOpen())})})}write(n){this.writable=!1;for(let s=0;s<n.length;s++){const o=n[s],l=s===n.length-1;this._writer.write(o).then(()=>{l&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var n;(n=this._transport)===null||n===void 0||n.close()}}const T_={websocket:C_,webtransport:R_,polling:E_},P_=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,O_=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Nc(r){if(r.length>8e3)throw"URI too long";const n=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=P_.exec(r||""),u={},d=14;for(;d--;)u[O_[d]]=l[d]||"";return s!=-1&&o!=-1&&(u.source=n,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=N_(u,u.path),u.queryKey=A_(u,u.query),u}function N_(r,n){const s=/\/{2,9}/g,o=n.replace(s,"/").split("/");return(n.slice(0,1)=="/"||n.length===0)&&o.splice(0,1),n.slice(-1)=="/"&&o.splice(o.length-1,1),o}function A_(r,n){const s={};return n.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(o,l,u){l&&(s[l]=u)}),s}const Ac=typeof addEventListener=="function"&&typeof removeEventListener=="function",La=[];Ac&&addEventListener("offline",()=>{La.forEach(r=>r())},!1);class wr extends Ge{constructor(n,s){if(super(),this.binaryType=c_,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,n&&typeof n=="object"&&(s=n,n=null),n){const o=Nc(n);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=Nc(s.host).host);Ga(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=y_(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"})},La.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(n){const s=Object.assign({},this.opts.query);s.EIO=uy,s.transport=n,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[n]);return new this._transportsByName[n](o)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const n=this.opts.rememberUpgrade&&wr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(n);s.open(),this.setTransport(s)}setTransport(n){this.transport&&this.transport.removeAllListeners(),this.transport=n,n.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",wr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",n),this.emitReserved("heartbeat"),n.type){case"open":this.onHandshake(JSON.parse(n.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=n.data,this._onError(s);break;case"message":this.emitReserved("data",n.data),this.emitReserved("message",n.data);break}}onHandshake(n){this.emitReserved("handshake",n),this.id=n.sid,this.transport.query.sid=n.sid,this._pingInterval=n.pingInterval,this._pingTimeout=n.pingTimeout,this._maxPayload=n.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const n=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+n,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},n),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 n=this._getWritablePackets();this.transport.send(n),this._prevBufferLen=n.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+=p_(l)),o>0&&s>this._maxPayload)return this.writeBuffer.slice(0,o);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const n=Date.now()>this._pingTimeoutTime;return n&&(this._pingTimeoutTime=0,Ka(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),n}write(n,s,o){return this._sendPacket("message",n,s,o),this}send(n,s,o){return this._sendPacket("message",n,s,o),this}_sendPacket(n,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:n,data:s,options:o};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const n=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),n()},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():n()}):this.upgrading?o():n()),this}_onError(n){if(wr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",n),this._onClose("transport error",n)}_onClose(n,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=La.indexOf(this._offlineEventListener);o!==-1&&La.splice(o,1)}this.readyState="closed",this.id=null,this.emitReserved("close",n,s),this.writeBuffer=[],this._prevBufferLen=0}}}wr.protocol=uy;class L_ extends wr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let n=0;n<this._upgrades.length;n++)this._probe(this._upgrades[n])}_probe(n){let s=this.createTransport(n),o=!1;wr.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;wr.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{o||this.readyState!=="closed"&&(y(),this.setTransport(s),s.send([{type:"upgrade"}]),this.emitReserved("upgrade",s),s=null,this.upgrading=!1,this.flush())})}else{const b=new Error("probe error");b.transport=s.name,this.emitReserved("upgradeError",b)}}))};function u(){o||(o=!0,y(),s.close(),s=null)}const d=v=>{const b=new Error("probe error: "+v);b.transport=s.name,u(),this.emitReserved("upgradeError",b)};function h(){d("transport closed")}function p(){d("socket closed")}function g(v){s&&v.name!==s.name&&u()}const y=()=>{s.removeListener("open",l),s.removeListener("error",d),s.removeListener("close",h),this.off("close",p),this.off("upgrading",g)};s.once("open",l),s.once("error",d),s.once("close",h),this.once("close",p),this.once("upgrading",g),this._upgrades.indexOf("webtransport")!==-1&&n!=="webtransport"?this.setTimeoutFn(()=>{o||s.open()},200):s.open()}onHandshake(n){this._upgrades=this._filterUpgrades(n.upgrades),super.onHandshake(n)}_filterUpgrades(n){const s=[];for(let o=0;o<n.length;o++)~this.transports.indexOf(n[o])&&s.push(n[o]);return s}}let j_=class extends L_{constructor(n,s={}){const o=typeof n=="object"?n:s;(!o.transports||o.transports&&typeof o.transports[0]=="string")&&(o.transports=(o.transports||["polling","websocket","webtransport"]).map(l=>T_[l]).filter(l=>!!l)),super(n,o)}};function I_(r,n="",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=Nc(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+n,o.href=o.protocol+"://"+u+(s&&s.port===o.port?"":":"+o.port),o}const D_=typeof ArrayBuffer=="function",U_=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,my=Object.prototype.toString,M_=typeof Blob=="function"||typeof Blob<"u"&&my.call(Blob)==="[object BlobConstructor]",F_=typeof File=="function"||typeof File<"u"&&my.call(File)==="[object FileConstructor]";function od(r){return D_&&(r instanceof ArrayBuffer||U_(r))||M_&&r instanceof Blob||F_&&r instanceof File}function ja(r,n){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let s=0,o=r.length;s<o;s++)if(ja(r[s]))return!0;return!1}if(od(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return ja(r.toJSON(),!0);for(const s in r)if(Object.prototype.hasOwnProperty.call(r,s)&&ja(r[s]))return!0;return!1}function B_(r){const n=[],s=r.data,o=r;return o.data=Lc(s,n),o.attachments=n.length,{packet:o,buffers:n}}function Lc(r,n){if(!r)return r;if(od(r)){const s={_placeholder:!0,num:n.length};return n.push(r),s}else if(Array.isArray(r)){const s=new Array(r.length);for(let o=0;o<r.length;o++)s[o]=Lc(r[o],n);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]=Lc(r[o],n));return s}return r}function z_(r,n){return r.data=jc(r.data,n),delete r.attachments,r}function jc(r,n){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<n.length)return n[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let s=0;s<r.length;s++)r[s]=jc(r[s],n);else if(typeof r=="object")for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(r[s]=jc(r[s],n));return r}const $_=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var be;(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"})(be||(be={}));class V_{constructor(n){this.replacer=n}encode(n){return(n.type===be.EVENT||n.type===be.ACK)&&ja(n)?this.encodeAsBinary({type:n.type===be.EVENT?be.BINARY_EVENT:be.BINARY_ACK,nsp:n.nsp,data:n.data,id:n.id}):[this.encodeAsString(n)]}encodeAsString(n){let s=""+n.type;return(n.type===be.BINARY_EVENT||n.type===be.BINARY_ACK)&&(s+=n.attachments+"-"),n.nsp&&n.nsp!=="/"&&(s+=n.nsp+","),n.id!=null&&(s+=n.id),n.data!=null&&(s+=JSON.stringify(n.data,this.replacer)),s}encodeAsBinary(n){const s=B_(n),o=this.encodeAsString(s.packet),l=s.buffers;return l.unshift(o),l}}class ad extends Ge{constructor(n){super(),this.reviver=n}add(n){let s;if(typeof n=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(n);const o=s.type===be.BINARY_EVENT;o||s.type===be.BINARY_ACK?(s.type=o?be.EVENT:be.ACK,this.reconstructor=new q_(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(od(n)||n.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(n),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: "+n)}decodeString(n){let s=0;const o={type:Number(n.charAt(0))};if(be[o.type]===void 0)throw new Error("unknown packet type "+o.type);if(o.type===be.BINARY_EVENT||o.type===be.BINARY_ACK){const u=s+1;for(;n.charAt(++s)!=="-"&&s!=n.length;);const d=n.substring(u,s);if(d!=Number(d)||n.charAt(s)!=="-")throw new Error("Illegal attachments");o.attachments=Number(d)}if(n.charAt(s+1)==="/"){const u=s+1;for(;++s&&!(n.charAt(s)===","||s===n.length););o.nsp=n.substring(u,s)}else o.nsp="/";const l=n.charAt(s+1);if(l!==""&&Number(l)==l){const u=s+1;for(;++s;){const d=n.charAt(s);if(d==null||Number(d)!=d){--s;break}if(s===n.length)break}o.id=Number(n.substring(u,s+1))}if(n.charAt(++s)){const u=this.tryParse(n.substr(s));if(ad.isPayloadValid(o.type,u))o.data=u;else throw new Error("invalid payload")}return o}tryParse(n){try{return JSON.parse(n,this.reviver)}catch{return!1}}static isPayloadValid(n,s){switch(n){case be.CONNECT:return Sm(s);case be.DISCONNECT:return s===void 0;case be.CONNECT_ERROR:return typeof s=="string"||Sm(s);case be.EVENT:case be.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&$_.indexOf(s[0])===-1);case be.ACK:case be.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class q_{constructor(n){this.packet=n,this.buffers=[],this.reconPack=n}takeBinaryData(n){if(this.buffers.push(n),this.buffers.length===this.reconPack.attachments){const s=z_(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Sm(r){return Object.prototype.toString.call(r)==="[object Object]"}const H_=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ad,Encoder:V_,get PacketType(){return be}},Symbol.toStringTag,{value:"Module"}));function ln(r,n,s){return r.on(n,s),function(){r.off(n,s)}}const W_=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class gy extends Ge{constructor(n,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=n,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 n=this.io;this.subs=[ln(n,"open",this.onopen.bind(this)),ln(n,"packet",this.onpacket.bind(this)),ln(n,"error",this.onerror.bind(this)),ln(n,"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(...n){return n.unshift("message"),this.emit.apply(this,n),this}emit(n,...s){var o,l,u;if(W_.hasOwnProperty(n))throw new Error('"'+n.toString()+'" is a reserved event name');if(s.unshift(n),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const d={type:be.EVENT,data:s};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const y=this.ids++,v=s.pop();this._registerAckCallback(y,v),d.id=y}const h=(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&&!h||(p?(this.notifyOutgoingListeners(d),this.packet(d)):this.sendBuffer.push(d)),this.flags={},this}_registerAckCallback(n,s){var o;const l=(o=this.flags.timeout)!==null&&o!==void 0?o:this._opts.ackTimeout;if(l===void 0){this.acks[n]=s;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[n];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===n&&this.sendBuffer.splice(h,1);s.call(this,new Error("operation has timed out"))},l),d=(...h)=>{this.io.clearTimeoutFn(u),s.apply(this,h)};d.withError=!0,this.acks[n]=d}emitWithAck(n,...s){return new Promise((o,l)=>{const u=(d,h)=>d?l(d):o(h);
vendor: 1,065 bytes, line 100
100u.withError=!0,s.push(u),this.emit(n,...s)})}_addToQueue(n){let s;typeof n[n.length-1]=="function"&&(s=n.pop());const o={id:this._queueSeq++,tryCount:0,pending:!1,args:n,flags:Object.assign({fromQueue:!0},this.flags)};n.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(n=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!n||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(n){n.nsp=this.nsp,this.io._packet(n)}onopen(){typeof this.auth=="function"?this.auth(n=>{this._sendConnectPacket(n)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(n){this.packet({type:be.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},n):n})}onerror(n){this.connected||this.emitReserved("connect_error",n)}onclose(n,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",n,s),this._clearAcks()}
vendor: 6,031 bytes, line 100
100_clearAcks(){Object.keys(this.acks).forEach(n=>{if(!this.sendBuffer.some(o=>String(o.id)===n)){const o=this.acks[n];delete this.acks[n],o.withError&&o.call(this,new Error("socket has been disconnected"))}})}onpacket(n){if(n.nsp===this.nsp)switch(n.type){case be.CONNECT:n.data&&n.data.sid?this.onconnect(n.data.sid,n.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 be.EVENT:case be.BINARY_EVENT:this.onevent(n);break;case be.ACK:case be.BINARY_ACK:this.onack(n);break;case be.DISCONNECT:this.ondisconnect();break;case be.CONNECT_ERROR:this.destroy();const o=new Error(n.data.message);o.data=n.data.data,this.emitReserved("connect_error",o);break}}onevent(n){const s=n.data||[];n.id!=null&&s.push(this.ack(n.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(n){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const o of s)o.apply(this,n)}super.emit.apply(this,n),this._pid&&n.length&&typeof n[n.length-1]=="string"&&(this._lastOffset=n[n.length-1])}ack(n){const s=this;let o=!1;return function(...l){o||(o=!0,s.packet({type:be.ACK,id:n,data:l}))}}onack(n){const s=this.acks[n.id];typeof s=="function"&&(delete this.acks[n.id],s.withError&&n.data.unshift(null),s.apply(this,n.data))}onconnect(n,s){this.id=n,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(n=>this.emitEvent(n)),this.receiveBuffer=[],this.sendBuffer.forEach(n=>{this.notifyOutgoingListeners(n),this.packet(n)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(n=>n()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:be.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(n){return this.flags.compress=n,this}get volatile(){return this.flags.volatile=!0,this}timeout(n){return this.flags.timeout=n,this}onAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(n),this}prependAny(n){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(n),this}offAny(n){if(!this._anyListeners)return this;if(n){const s=this._anyListeners;for(let o=0;o<s.length;o++)if(n===s[o])return s.splice(o,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(n){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(n),this}prependAnyOutgoing(n){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(n),this}offAnyOutgoing(n){if(!this._anyOutgoingListeners)return this;if(n){const s=this._anyOutgoingListeners;for(let o=0;o<s.length;o++)if(n===s[o])return s.splice(o,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(n){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const o of s)o.apply(this,n.data)}}}function Gs(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}Gs.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),s=Math.floor(n*this.jitter*r);r=(Math.floor(n*10)&1)==0?r-s:r+s}return Math.min(r,this.max)|0};Gs.prototype.reset=function(){this.attempts=0};Gs.prototype.setMin=function(r){this.ms=r};Gs.prototype.setMax=function(r){this.max=r};Gs.prototype.setJitter=function(r){this.jitter=r};class Ic extends Ge{constructor(n,s){var o;super(),this.nsps={},this.subs=[],n&&typeof n=="object"&&(s=n,n=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Ga(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 Gs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(s.timeout==null?2e4:s.timeout),this._readyState="closed",this.uri=n;const l=s.parser||H_;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(n){return arguments.length?(this._reconnection=!!n,n||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(n){return n===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=n,this)}reconnectionDelay(n){var s;return n===void 0?this._reconnectionDelay:(this._reconnectionDelay=n,(s=this.backoff)===null||s===void 0||s.setMin(n),this)}randomizationFactor(n){var s;return n===void 0?this._randomizationFactor:(this._randomizationFactor=n,(s=this.backoff)===null||s===void 0||s.setJitter(n),this)}reconnectionDelayMax(n){var s;return n===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=n,(s=this.backoff)===null||s===void 0||s.setMax(n),this)}timeout(n){return arguments.length?(this._timeout=n,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(n){if(~this._readyState.indexOf("open"))return this;this.engine=new j_(this.uri,this.opts);const s=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const l=ln(s,"open",function(){o.onopen(),n&&n()}),u=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),n?n(h):this.maybeReconnectOnOpen()},d=ln(s,"error",u);if(this._timeout!==!1){const h=this._timeout,p=this.setTimeoutFn(()=>
100{l(),u(new Error("timeout")),s.close()},h);this.opts.autoUnref&&p.unref(),this.subs.push(()=>{this.clearTimeoutFn(p)})}return this.subs.push(l),this.subs.push(d),this}connect(n){return this.open(n)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const n=this.engine;this.subs.push(ln(n,"ping",this.onping.bind(this)),ln(n,"data",this.ondata.bind(this)),ln(n,"error",this.onerror.bind(this)),ln(n,"close",this.onclose.bind(this)),ln(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(n){try{this.decoder.add(n)}catch(s){this.onclose("parse error",s)}}ondecoded(n){Ka(()=>{this.emitReserved("packet",n)},this.setTimeoutFn)}onerror(n){this.emitReserved("error",n)}socket(n,s){let o=this.nsps[n];return o?this._autoConnect&&!o.active&&o.connect():(o=new gy(this,n,s),this.nsps[n]=o),o}_destroy(n){const s=Object.keys(this.nsps);for(const o of s)if(this.nsps[o].active)return;this._close()}_packet(n){const s=this.encoder.encode(n);for(let o=0;o<s.length;o++)this.engine.write(s[o],n.options)}cleanup(){this.subs.forEach(n=>n()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(n,s){var o;this.cleanup(),(o=this.engine)===null||o===void 0||o.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",n,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const n=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(()=>{n.skipReconnect||(this.emitReserved("reconnect_attempt",n.backoff.attempts),!n.skipReconnect&&n.open(l=>{l?(n._reconnecting=!1,n.reconnect(),this.emitReserved("reconnect_error",l)):n.onreconnect()}))},s);this.opts.autoUnref&&o.unref(),this.subs.push(()=>{this.clearTimeoutFn(o)})}}onreconnect(){const n=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",n)}}const Mi={};function Ia(r,n){typeof r=="object"&&(n=r,r=void 0),n=n||{};const s=I_(r,n.path||"/socket.io"),o=s.source,l=s.id,u=s.path,d=Mi[l]&&u in Mi[l].nsps,h=n.forceNew||n["force new connection"]||n.multiplex===!1||d;let p;return h?p=new Ic(o,n):(Mi[l]||(Mi[l]=new Ic(o,n)),p=Mi[l]),s.query&&!n.query&&(n.query=s.queryKey),p.socket(s.path,n)}Object.assign(Ia,{Manager:Ic,Socket:gy,io:Ia,connect:Ia});const Q_=250;function km(r,n){var s;const o=(s=r.token)!==null&&s!==void 0?s:qs(),l={app_id:r.appId,token:o};o||(l.anonymous_id=nd());const u=Ia(r.serverUrl,{path:r.mountPath,transports:r.transports,query:l});return u.on("connect",async()=>{var d;return console.log("connect",u.id),(d=n.connect)===null||d===void 0?void 0:d.call(n)}),u.on("update_model",async d=>{var h;return(h=n.update_model)===null||h===void 0?void 0:h.call(n,d)}),u.on("error",async d=>{var h;return(h=n.error)===null||h===void 0?void 0:h.call(n,d)}),u.on("connect_error",async d=>{var h;return console.error("connect_error",d),(h=n.error)===null||h===void 0?void 0:h.call(n,d)}),u}function K_({config:r}){let n={...r};const s={},o={},l={connect:async()=>{const k=[];Object.keys(s).forEach(U=>{const A=b(U);A.length!==0&&(g(U),A.forEach(({connect:j})=>{const H=async()=>j==null?void 0:j();k.push(H())}))}),await Promise.all(k)},update_model:async k=>{const A=b(k.room).map(j=>{var H;return(H=j.update_model)===null||H===void 0?void 0:H.call(j,k)});await Promise.all(A)},error:async k=>{console.error("error",k);const U=Object.values(s).flat().map(A=>{var j;return(j=A.error)===null||j===void 0?void 0:j.call(A,k)});await Promise.all(U)}};let u=km(r,l);function d(){h()}function h(){D(),u&&u.disconnect()}function p(k){d(),n={...n,...k},u=km(n,l)}function g(k){u.emit("join",k)}function y(k){u.emit("leave",k)}async function v(k,U){var A;const j=JSON.stringify(U);return(A=l.update_model)===null||A===void 0?void 0:A.call(l,{room:k,data:j})}function b(k){var U;return(U=s[k])!==null&&U!==void 0?U:[]}function P(k){const U=o[k];U&&(clearTimeout(U),delete o[k])}
100function D(){Object.keys(o).forEach(k=>{var U,A;clearTimeout(o[k]),delete o[k],((A=(U=s[k])===null||U===void 0?void 0:U.length)!==null&&A!==void 0?A:0)===0&&delete s[k]})}function O(k){P(k),o[k]=setTimeout(()=>{var U,A;delete o[k],!(((A=(U=s[k])===null||U===void 0?void 0:U.length)!==null&&A!==void 0?A:0)>0)&&(y(k),delete s[k])},Q_)}return{socket:u,subscribeToRoom:(k,U)=>{s[k]?P(k):(g(k),s[k]=[]),s[k].push(U);let A=!1;return()=>{var j,H;A||(A=!0,s[k]=(H=(j=s[k])===null||j===void 0?void 0:j.filter(Q=>Q!==U))!==null&&H!==void 0?H:[],s[k].length===0&&O(k))}},updateConfig:p,updateModel:v,disconnect:h}}function G_(r){var n,s;const{serverUrl:o="https://base44.app",appId:l,token:u,serviceToken:d,requiresAuth:h=!1,appBaseUrl:p,options:g,functionsVersion:y,headers:v}=r,b=typeof p=="string"?p:"",P={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:u};let D=null;const O=()=>(D||(D=K_({config:P})),D),E={...v,"X-App-Id":String(l)},k=y?{...E,"Base44-Functions-Version":y}:E,U=Bi({baseURL:`${o}/api`,headers:E,token:u,onError:g==null?void 0:g.onError}),A=Bi({baseURL:`${o}/api`,headers:k,token:u,interceptResponses:!1,onError:g==null?void 0:g.onError}),j={...E,...u?{"on-behalf-of":`Bearer ${u}`}:{}},H=Bi({baseURL:`${o}/api`,headers:j,token:d,onError:g==null?void 0:g.onError}),Q=Bi({baseURL:`${o}/api`,headers:k,token:d,interceptResponses:!1}),ue=Gk(U,A,l,{appBaseUrl:b});if(typeof window<"u"){const he=u||qs();he&&ue.setToken(he)}const z={entities:dm({axios:U,appId:l,getSocket:O}),integrations:fm(U,l),connectors:Yk(U,l),auth:ue,functions:hm(A,l,{getAuthHeaders:()=>{const he={},Ne=u||qs();return Ne&&(he.Authorization=`Bearer ${Ne}`),he},baseURL:(n=A.defaults)===null||n===void 0?void 0:n.baseURL}),agents:pm({axios:U,getSocket:O,appId:l,serverUrl:o,token:u}),aiGateway:mm({serverUrl:o,token:u,appId:l}),appLogs:gm(U,l),users:e_(U,l),analytics:Ik({axiosClient:U,serverUrl:o,appId:l,userAuthModule:ue}),cleanup:()=>{z.analytics.cleanup(),D&&D.disconnect()}},de={entities:dm({axios:H,appId:l,getSocket:O}),integrations:fm(H,l),sso:Jk(H,l),connectors:Xk(H,l),functions:hm(Q,l,{getAuthHeaders:()=>{const he={};return d&&(he.Authorization=`Bearer ${d}`),he},baseURL:(s=Q.defaults)===null||s===void 0?void 0:s.baseURL}),agents:pm({axios:H,getSocket:O,appId:l,serverUrl:o,token:u}),aiGateway:mm({serverUrl:o,token:d,appId:l}),appLogs:gm(H,l),cleanup:()=>{D&&D.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await z.auth.isAuthenticated()||z.auth.redirectToLogin(window.location.href)}catch(he){console.error("Authentication check failed:",he),z.auth.redirectToLogin(window.location.href)}},0),{...z,setToken(he){z.auth.setToken(he),D&&D.updateConfig({token:he}),P.token=he},getConfig(){return{serverUrl:o,appId:l,requiresAuth:h}},get asServiceRole(){if(!d)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return de}}}const yy=typeof window>"u",J_=yy?{localStorage:new Map}:window,qi=J_.localStorage,X_=r=>r.replace(/([A-Z])/g,"_$1").toLowerCase(),Cs=(r,{defaultValue:n=void 0,removeFromUrl:s=!1}={})=>{if(yy)return n;const o=`base44_${X_(r)}`,l=new URLSearchParams(window.location.search),u=l.get(r);if(s){l.delete(r);const h=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}if(u)return qi.setItem(o,u),u;if(n)return qi.setItem(o,n),n;const d=qi.getItem(o);return d||null},Y_=()=>(Cs("clear_access_token")==="true"&&(qi.removeItem("base44_access_token"),qi.removeItem("token")),{appId:Cs("app_id",{defaultValue:"6a0c0bcd7e79b181d2aa9eea"}),token:Cs("access_token",{removeFromUrl:!0}),fromUrl:Cs("from_url",{defaultValue:window.location.href}),functionsVersion:Cs("functions_version",{defaultValue:"prod"}),appBaseUrl:Cs("app_base_url",{defaultValue:void 0})}),$i={...Y_()},{appId:Z_,token:eE,functionsVersion:tE,appBaseUrl:nE}=$i,ot=G_({appId:Z_,token:eE,functionsVersion:tE,serverUrl:"",requiresAuth:!1,appBaseUrl:nE});function rE({}){var l;const n=ro().pathname.substring(1),{data:s,isFetched:o}=to({queryKey:["user"],queryFn:async()=>{try{return{user:await ot.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return x.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:x.jsx("div",{className:"max-w-md w-full",children:x.jsxs("div",{className:"text-center space-y-6",children:[x.jsxs("div",{className:"space-y-2",children:[x.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),x.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),x.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",x.jsxs("span",{className:"font-medium text-slate-700",children:['"',n,'"']})," could not be found in this application."]})]}),o&&s.isAuthenticated&&((l=s.user)==null?void 0:l.role)==="admin"&&x.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:x.jsxs("div",{className:"flex items-start space-x-3",children:[x.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:x.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),x.jsxs("div",{className:"text-left space-y-1",children:[x.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),x.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."})]})]})}),x.jsx("div",{className:"pt-6",children:x.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:[x.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:x.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 vy=F.createContext(),sE=({children:r})=>{const[n,s]=F.useState(null),[o,l]=F.useState(!1),[u,d]=F.useState(!0),[h,p]=F.useState(!0),[g,y]=F.useState(null),[v,b]=F.useState(!1),[P,D]=F.useState(null);F.useEffect(()=>{O()},[]);const O=async()=>{var A,j;try{p(!0),y(null);const H=Bi({baseURL:"/api/apps/public",headers:{"X-App-Id":$i.appId},token:$i.token,interceptResponses:!0});try{const Q=await H.get(`/prod/public-settings/by-id/${$i.appId}`);D(Q),$i.token?await E():(d(!1),l(!1),b(!0)),p(!1)}catch(Q){if(console.error("App state check failed:",Q),Q.status===403&&((j=(A=Q.data)==null?void 0:A.extra_data)!=null&&j.reason)){const ue=Q.data.extra_data.reason;y(ue==="auth_required"?{type:"auth_required",message:"Authentication required"}:ue==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:ue,message:Q.message})}else y({type:"unknown",message:Q.message||"Failed to load app"});p(!1),d(!1)}}catch(H){console.error("Unexpected error:",H),y({type:"unknown",message:H.message||"An unexpected error occurred"}),p(!1),d(!1)}},E=async()=>{try{d(!0);const A=await ot.auth.me();s(A),l(!0),d(!1),b(!0)}catch(A){console.error("User auth check failed:",A),d(!1),l(!1),b(!0),(A.status===401||A.status===403)&&y({type:"auth_required",message:"Authentication required"})}},k=(A=!0)=>{s(null),l(!1),A?ot.auth.logout(window.location.href):ot.auth.logout()},U=()=>{ot.auth.redirectToLogin(window.location.href)};return x.jsx(vy.Provider,{value:{user:n,isAuthenticated:o,isLoadingAuth:u,isLoadingPublicSettings:h,authError:g,a
100ppPublicSettings:P,authChecked:v,logout:k,navigateToLogin:U,checkUserAuth:E,checkAppState:O},children:r})},wy=()=>{const r=F.useContext(vy);if(!r)throw new Error("useAuth must be used within an AuthProvider");return r},iE=()=>x.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:x.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:x.jsxs("div",{className:"text-center",children:[x.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:x.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:x.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"})})}),x.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),x.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."}),x.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[x.jsx("p",{children:"If you believe this is an error, you can:"}),x.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[x.jsx("li",{children:"Verify you are logged in with the correct account"}),x.jsx("li",{children:"Contact the app administrator for access"}),x.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),oE="nl",_m="la-pompette-language";function ld(){const[r,n]=F.useState(()=>sessionStorage.getItem(_m)||oE);return[r,o=>{sessionStorage.setItem(_m,o),n(o)}]}const xy={nl:{nav:{info:"Info",reservation:"Reservatie",giftcard:"Cadeaubon"},hero:{tagline:"Open vuur. Eerlijke smaken."},about:{body:`## Over ons ##
101
102Pure keuken, open vuur.
103Eenvoudig en traceerbaar.
104Gedragen door de seizoenen.
105Leute en gezelligheid.
106Ut de zee & van't veld.
107
108Welkom bij La Pompette
109Jef & Yacko`},info:{title:"Info & Menu",body:`## OPEN ##
110Woensdag → Zaterdag
111
112## LUNCH · 12:00 — 14:00 ##
113Do / Vr / Za — €67
114wijn pairing / €20
115
116## DINER · 18:30 — 20:30 ##
117Wo / Do
118  5 gangen — €67   (wijn pairing / €20)
119  7 gangen — €87   (wijn pairing / €29)
120Vr / Za
121  7 gangen — €87   (wijn pairing / €29)
122
123Niet-alcoholische pairing ook mogelijk
124
125Zondag, maandag en dinsdag — gesloten
126(voor privé lunch & diner graag een mailtje)`,reserveBtn:"Reserveer een tafel"},address:{title:"Adres"},footer:{rights:"Alle rechten voorbehouden"},reservationModal:{title:"We kijken ernaar uit u te verwelkomen.",body:`Graag allergieën, intoleranties en voedselrestricties vermelden bij reservatie.
127
128Vegan is momenteel nog niet mogelijk.`,checkboxLabel:"Ik begrijp het",continueBtn:"Doorgaan naar reservering",cancelBtn:"Annuleren",errorMsg:"Bevestig dat u het begrijpt voordat u verdergaat.",openInNewTab:"Problemen? Open in een nieuw tabblad",loading:"Bezig met laden…"}},fr:{nav:{info:"Info",reservation:"Réservation",giftcard:"Bon cadeau"},hero:{tagline:"Feu ouvert. Saveurs honnêtes."},about:{body:`## À propos de nous ##
129
130Cuisine pure, feu ouvert.
131Simple et traçable.
132Porté par les saisons.
133Convivialité et bonne humeur.
134De la mer & des champs.
135
136Bienvenue chez La Pompette
137Jef & Yacko`},info:{title:"Info & Menu",body:`## OUVERT ##
138Mercredi → Samedi
139
140## DÉJEUNER · 12:00 — 14:00 ##
141Jeu / Ven / Sam — €67
142accord vin / €20
143
144## DÎNER · 18:30 — 20:30 ##
145Mer / Jeu
146  5 plats — €67   (accord vin / €20)
147  7 plats — €87   (accord vin / €29)
148Ven / Sam
149  7 plats — €87   (accord vin / €29)
150
151Accord sans alcool également possible
152
153Dimanche, lundi et mardi — fermé
154(pour un déjeuner ou dîner privé, envoyez-nous un e-mail)`,reserveBtn:"Réserver une table"},address:{title:"Adresse"},footer:{rights:"Tous droits réservés"},reservationModal:{title:"Nous sommes ravis de vous accueillir.",body:`Merci de nous signaler toute allergie, intolérance ou restriction alimentaire lors de votre réservation.
155
156Les menus végétaliens ne sont malheureusement pas disponibles pour le moment.`,checkboxLabel:"Je comprends",continueBtn:"Continuer vers la réservation",cancelBtn:"Annuler",errorMsg:"Veuillez confirmer que vous comprenez avant de continuer.",openInNewTab:"Un problème ? Ouvrir dans un nouvel onglet",loading:"Chargement…"}},en:{nav:{info:"Info",reservation:"Reservation",giftcard:"Gift card"},hero:{tagline:"Open fire. Honest flavours."},about:{body:`## About us ##
157
158Pure kitchen, open fire.
159Simple and traceable.
160Guided by the seasons.
161Good food and good company.
162From the sea & the field.
163
164Welcome to La Pompette
165Jef & Yacko`}
165,info:{title:"Info & Menu",body:`## OPEN ##
166Wednesday → Saturday
167
168## LUNCH · 12:00 — 14:00 ##
169Thu / Fri / Sat — €67
170wine pairing / €20
171
172## DINNER · 18:30 — 20:30 ##
173Wed / Thu
174  5 courses — €67   (wine pairing / €20)
175  7 courses — €87   (wine pairing / €29)
176Fri / Sat
177  7 courses — €87   (wine pairing / €29)
178
179Non-alcoholic pairing also available
180
181Sunday, Monday and Tuesday — closed
182(for private lunch & dinner please send us an email)`,reserveBtn:"Make a reservation"},address:{title:"Address"},footer:{rights:"All rights reserved"},reservationModal:{title:"We're excited to welcome you.",body:`Please inform us of any allergies, intolerances, or dietary restrictions when making your reservation.
183
184Unfortunately, vegan menus are not available at this time.`,checkboxLabel:"I understand",continueBtn:"Continue to reservation",cancelBtn:"Cancel",errorMsg:"Please confirm that you understand before continuing.",openInNewTab:"Having trouble? Open in a new tab",loading:"Loading…"}}},oc={background_color:"#eae2d7",text_color:"#473e38",background_texture:"none"};function Sy(r,n){return!n||typeof n!="object"?r:Object.keys(r).reduce((s,o)=>(r[o]&&typeof r[o]=="object"&&!Array.isArray(r[o])?s[o]=Sy(r[o],n[o]):s[o]=n[o]??r[o],s),{})}function Ja(){const{data:r,isLoading:n}=to({queryKey:["site-settings"],queryFn:async()=>(await ot.entities.SiteSettings.list("-updated_date",1))[0]||null,initialData:null});return{settings:F.useMemo(()=>({id:r==null?void 0:r.id,background_color:(r==null?void 0:r.background_color)||oc.background_color,text_color:(r==null?void 0:r.text_color)||oc.text_color,background_texture:(r==null?void 0:r.background_texture)||oc.background_texture,translations:Sy(xy,r==null?void 0:r.translations)}),[r]),isLoading:n}}function aE({lang:r,setLang:n,textColor:s}){const o=["nl","fr","en"],l=s?`${s}99`:void 0,u=d=>{ot.analytics.track({eventName:"nav_link_clicked",properties:{link_name:"language_switch",destination:d,location:"navbar",previous_language:r}}),n(d)};return x.jsx("div",{className:"flex flex-row md:flex-col items-center gap-1 md:gap-3",children:o.map(d=>x.jsx("button",{onClick:()=>u(d),className:"flex items-center justify-center min-w-[44px] min-h-[44px] md:min-w-0 md:min-h-0 md:w-auto md:h-auto px-2 md:px-0 py-2 md:py-0 text-xs tracking-widest transition-all duration-200 uppercase font-medium",style:{color:r===d?s:l},children:d},d))})}function ud({t:r,lang:n,setLang:s,textColor:o}){return x.jsx("header",{className:"fixed top-4 right-4 md:top-1/2 md:-translate-y-1/2 md:right-5 z-[100]",children:x.jsx(aE,{lang:n,setLang:s,textColor:o})})}function Dc({src:r,color:n,className:s="",label:o="La Pompette",maskSize:l="contain"}){return x.jsx("div",{role:"img","aria-label":o,className:s,style:{backgroundColor:n,WebkitMaskImage:`url(${r})`,maskImage:`url(${r})`,WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskSize:l,maskSize:l}})}const lE="https://book.restomanager.net/reservations/6a44cf85812b0b8ee2e43a68";function ky({t:r,lang:n="nl",textColor:s,backgroundColor:o,onClose:l}){const[u,d]=F.useState(!1),h=`${lE}?language=${n}`,p=o||"#d8c7ad",g=s||"#4a2f1e",y=`${g}99`,v=`${g}33`;F.useEffect(()=>{const P=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=P}},[]),F.useEffect(()=>{const P=D=>{D.key==="Escape"&&l()};return window.addEventListener("keydown",P),()=>window.removeEventListener("keydown",P)},[l]);const b=P=>{P.target===P.currentTarget&&l()};return x.jsx("div",{className:"fixed inset-0 z-50 flex items-stretch sm:items-center justify-center sm:p-4",style:{backgroundColor:`${g}55`,backdropFilter:"blur(3px)"},onClick:b,children:x.jsxs("div",{className:"relative w-full sm:max-w-3xl flex flex-col mt-16 sm:mt-0 h-[calc(100dvh-4rem)] max-h-[calc(100dvh-4rem)] sm:h-[90dvh] sm:max-h-[90dvh]",style:{backgroundColor:p,border:`1px solid ${v}`},onClick:P=>P.stopPropagation(),children:[x.jsx("div",{className:"px-4 sm:px-8 pt-4 sm:pt-5 pb-3 sm:pb-4 pr-12 sm:pr-14 shrink-0",style:{borderBottom:`1px solid ${v}`},children:r.reservationModal.body.split(`
185
186`).map((P,D)=>x.jsx("p",{className:"text-sm leading-relaxed",style:{color:y,fontFamily:"'Jost', sans-serif",fontWeight:300,letterSpacing:"0.03em",marginTop:D===0?0:"0.35rem"},children:P},D))}),x.jsx("button",{onClick:l,className:"absolute top-2 right-2 flex items-center justify-center w-11 h-11 shrink-0 transition-opacity duration-150 hover:opacity-100 z-10",style:{color:y},"aria-label":"Close",children:x.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",children:[x.jsx("line",{x1:"1",y1:"1",x2:"15",y2:"15"}),x.jsx("line",{x1:"15",y1:"1",x2:"1",y2:"15"})]})}),x.jsxs("div",{className:"relative flex-1 min-h-0",style:{backgroundColor:"#ffffff"},children:[!u&&x.jsx("div",{className:"absolute inset-0 flex items-center justify-center",style:{color:y,fontFamily:"'Jost', sans-serif",fontWeight:300},children:x.jsx("span",{className:"text-xs tracking-[0.2em] uppercase",children:r.reservationModal.loading})}),x.jsx("iframe",{title:"RestoManager reservation",src:h,onLoad:()=>d(!0),className:"w-full h-full",style:{border:"none",display:"block"}})]}),x.jsx("div",{className:"px-4 sm:px-8 py-2 sm:py-3 shrink-0 flex justify-center",style:{borderTop:`1px solid ${v}`,paddingBottom:"max(0.5rem, env(safe-area-inset-bottom))"},children:x.jsx("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"text-[10px] sm:text-xs tracking-[0.2em] uppercase transition-opacity duration-150 hover:opacity-100",style:{color:y,fontFamily:"'Jost', sans-serif",fontWeight:300,textDecoration:"underline",textUnderlineOffset:"3px"},children:r.reservationModal.openInNewTab})})]})})}const uE="https://book.restomanager.net/vouchers/6a44cf85812b0b8ee2e43a68";function _y({t:r,lang:n="nl",textColor:s,backgroundColor:o,onClose:l}){const[u,d]=F.useState(!1),h=`${uE}?language=${n}`,p=o||"#d8c7ad",g=s||"#4a2f1e",y=`${g}99`,v=`${g}33`;F.useEffect(()=>{const P=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=P}},[]),F.useEffect(()=>{const P=D=>{D.key==="Escape"&&l()};return window.addEventListener("keydown",P),()=>window.removeEventListener("keydown",P)},[l]);const b=P=>{P.target===P.currentTarget&&l()};return x.jsx("div",{className:"fixed inset-0 z-50 flex items-stretch sm:items-center justify-center sm:p-4",style:{backgroundColor:`${g}55`,backdropFilter:"blur(3px)"},onClick:b,children:x.jsxs("div",{className:"relative w-full sm:max-w-3xl flex flex-col mt-16 sm:mt-0 h-[calc(100dvh-4rem)] max-h-[calc(100dvh-4rem)] sm:h-[90dvh] sm:max-h-[90dvh]",style:{backgroundColor:p,border:`1px solid ${v}`},onClick:P=>P.stopPropagation(),children:[x.jsx("button",{onClick:l,className:"absolute top-2 right-2 flex items-center justify-center w-11 h-11 shrink-0 transition-opacity duration-150 hover:opacity-100 z-10",style:{color:y},"aria-label":"Close",children:x.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",children:[x.jsx("line",{x1:"1",y1:"1",x2:"15",y2:"15"}),x.jsx("line",{x1:"15",y1:"1",x2:"1",y2:"15"})]})}),x.jsx("div",{className:"px-4 sm:px-8 pt-4 sm:pt-5 pb-3 sm:pb-4 pr-12 sm:pr-14 shrink-0",style:{borderBottom:`1px solid ${v}`},children:x.jsx("p",{className:"text-xs tracking-[0.25em] uppercase",style:{color:y,fontFamily:"'Jost', sans-serif",fontWeight:300},children:r.nav.giftcard})}),x.jsxs("div",{className:"relative flex-1 min-h-0",style:{backgroundColor:"#ffffff"},children:[!u&&x.jsx("div",{className:"absolute inset-0 flex items-center justify-center",style:{color:y,fontFamily:"'Jost', sans-serif",fontWeight:300},children:x.jsx("span",{className:"text-xs tracking-[0.2em] uppercase",children:r.reservationModal.loading})}),x.jsx("iframe",{title:"RestoManager vouchers",src:h,onLoad:()=>d(!0),className:"w-full h-full",style:{border:"none",display:"block"}})]}),x.jsx("div",{className:"px-4 sm:px-8 py-2 sm:py-3 shrink-0 flex justify-center",style:{borderTop:`1px solid ${v}`,paddingBottom:"max(0.5rem, env(safe-area-inset-bottom))"},children:x.jsx("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"text-[10px] sm:text-xs tracking-[0.2em] uppercase transition-opacity duration-150 hover:opacity-100",style:{color:y,fontFamily:"'Jost', sans-serif",fontWeight:300,textDecoration:"underline",textUnderlineOffset:"3px"},children:r.reservationModal.openInNewTab})})]})})}function cE({t:r,textColor:n,backgroundColor:s,customPages:o=[],lang:l="nl"}){const[u,d]=F.useState(!1),[h,p]=F.useState(!1),g=Rg(),y=n?`${n}99`:void 0,v=(b,P)=>{ot.analytics.track({eventName:"nav_link_clicked",properties:{link_name:b,destination:P,location:"hero",language:l}})};return x.jsxs("section",{id:"hero",className:"min-h-screen flex flex-col items-center justify-center text-center px-8",children:[x.jsx("div",{className:"mb-10 flex flex-col items-center",children:x.jsx("a",{href:"https://www.instagram.com/restaurant.lapompette",target:"_blank",rel:"noopener noreferrer",onClick:()=>v("instagram_logo","https://www.instagram.com/restaurant.lapompette"),className:"cursor-pointer hover:opacity-80 transition-opacity",children:x.jsx(Dc,{src:"https://media.base44.com/images/public/6a0c0bcd7e79b181d2aa9eea/8ec38fe26_la_pompette_zee_221E1C_transparent.png",color:n,className:"w-80 h-40 md:w-[28rem] md:h-52 transition-all duration-300",maskSize:"118%"})})}),x.jsxs("nav",{className:"mt-10 inline-flex flex-col items-center justify-center gap-6 md:gap-8 mx-auto",children:[x.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-2 md:gap-6",children:[x.jsx("a",{href:"https://www.google.com/maps/search/?api=1&query=Christinastraat+20+8400+Oostende",target:"_blank",rel:"noopener noreferrer",onClick:()=>v("address","google_maps"),className:"text-xs tracking-[0.2em] transition-colors duration-200 whitespace-nowrap min-h-[44px] flex items-center",style:{color:y},children:"christinastraat 20, 8400 oostende"}),x.jsx("a",{href:"tel:+32465012192",onClick:()=>v("phone","tel:+32465012192"),className:"text-xs tracking-[0.2em] transition-colors duration-200 whitespace-nowrap min-h-[44px] flex items-center",style:{color:y},children:"+32 465 01 21 92"}),x.jsx("a",{href:"mailto:[email protected]",onClick:()=>v("email","mailto:[email protected]"),className:"text-xs tracking-[0.2em] transition-colors duration-200 whitespace-nowrap min-h-[44px] flex items-center",style:{color:y},children:"[email protected]"})]}),x.jsxs("div",{className:"flex items-center gap-x-6 md:gap-x-10",children:[x.jsx("button",{onClick:()=>{v("info","/info"),g("/info")},className:"text-xs tracking-widest transition-colors duration-200 lowercase whitespace-nowrap min-w-[44px] min-h-[44px] px-2 flex items-center justify-center",style:{color:y},children:r.nav.info}),o.map(b=>x.jsx("button",{onClick:()=>{v(`custom_page:${b.slug}`,`/page/${b.slug}`),g(`/page/${b.slug}`)},className:"text-xs tracking-widest transition-colors duration-200 lowercase whitespace-nowrap min-w-[44px] min-h-[44px] px-2 flex items-center justify-center",style:{color:y},children:b[`nav_label_${l}`]||b.nav_label_nl||b[`title_${l}`]||b.title_nl||b.title_en||b.slug},b.id)),x.jsx("button",{onClick:()=>{v("reservation","reservation_modal"),ot.analytics.track({eventName:"reservation_button_clicked",properties:{location:"homepage_hero",language:l}}),d(!0)},className:"text-xs tracking-widest transition-colors duration-200 lowercase whitespace-nowrap min-w-[44px] min-h-[44px] px-2 flex items-center justify-center",style:{color:y},children:r.nav.reservation}),x.jsx("button",{onClick:()=>{v("giftcard","voucher_modal"),p(!0)},className:"text-xs tracking-widest transition-colors duration-200 lowercase whitespace-nowrap min-w-[44px] min-h-[44px] px-2 flex items-center justify-center",style:{color:y},children:r.nav.giftcard})]})]}),u&&x.jsx(ky,{t:r,lang:l,textColor:n,backgroundColor:s,onClose:()=>d(!1)}),h&&x.jsx(_y,{t:r,lang:l,textColor:n,backgroundColor:s,onClose:()=>p(!1)})]})}function cd({textColor:r}){return x.jsx(zs,{to:"/admin",className:"hidden lg:block fixed bottom-4 right-4 z-50 px-3 py-2 text-[10px] tracking-[0.25em] uppercase transition-opacity duration-200 hover:opacity-100 opacity-75 curs
186or-pointer",style:{color:r},children:"Admin"})}function Ts(r){const n=r.background_color,s=r.background_texture||"none",o={none:{},grain:{backgroundImage:"radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18) 0 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(74,47,30,0.10) 0 1px, transparent 1px)",backgroundSize:"18px 18px, 24px 24px"},linen:{backgroundImage:"linear-gradient(90deg, rgba(255,255,255,0.10) 50%, transparent 50%), linear-gradient(rgba(74,47,30,0.06) 50%, transparent 50%)",backgroundSize:"14px 14px"}};return{backgroundColor:n,color:r.text_color,...o[s]||o.none}}function dE(){const[r,n]=ld(),{settings:s}=Ja(),o=s.translations[r],{data:l=[]}=to({queryKey:["custom-pages-menu"],queryFn:()=>ot.entities.CustomPage.filter({visible:!0},"-updated_date"),initialData:[]}),u=Ts(s);return x.jsxs("div",{className:"min-h-screen",style:u,children:[x.jsx(ud,{t:o,lang:r,setLang:n,textColor:s.text_color}),x.jsx("main",{children:x.jsx(cE,{t:o,textColor:s.text_color,backgroundColor:s.background_color,customPages:l,lang:r})}),x.jsx(cd,{textColor:s.text_color})]})}function Ey({text:r,textColor:n,muted:s}){if(!r)return null;const o=r.split(`
187`);return x.jsx("div",{className:"space-y-1",children:o.map((l,u)=>{const d=l.trimEnd(),h=d.trim();if(h==="")return x.jsx("div",{className:"h-4 md:h-6","aria-hidden":"true"},u);const p=h.match(/^##\s*(.*?)\s*##$/);if(p)return x.jsx("p",{className:"font-serif text-2xl md:text-3xl font-light mt-6 first:mt-0",style:{color:n},children:p[1]},u);const y=(d.length-d.trimStart().length)*6;return x.jsx("p",{className:"font-serif text-lg md:text-xl font-light leading-relaxed",style:{color:s,paddingLeft:y||void 0},children:d.trimStart()},u)})})}function fE({t:r,textColor:n}){var l;const s=n?`${n}cc`:void 0,o=((l=r==null?void 0:r.about)==null?void 0:l.body)||"";return x.jsx("section",{id:"philosophy",className:"py-32 px-8",children:x.jsx("div",{className:"max-w-2xl mx-auto",children:x.jsx(Ey,{text:o,textColor:n,muted:s})})})}function hE({t:r,lang:n="nl",textColor:s,backgroundColor:o}){var v,b,P;const[l,u]=F.useState(!1),[d,h]=F.useState(!1),p=s?`${s}cc`:void 0,g=s?`${s}33`:void 0,y=((v=r==null?void 0:r.info)==null?void 0:v.body)||"";return x.jsxs("section",{id:"info",className:"pt-12 pb-32 md:py-32 px-8",style:{borderTop:`1px solid ${g}`},children:[x.jsxs("div",{className:"max-w-2xl mx-auto",children:[x.jsx(Ey,{text:y,textColor:s,muted:p}),x.jsxs("div",{id:"reservation",className:"pt-12 flex flex-wrap items-center gap-x-10 gap-y-2",children:[x.jsx("button",{onClick:()=>u(!0),className:"text-xs tracking-[0.3em] uppercase transition-colors duration-200 min-h-[44px] flex items-center",style:{color:p},children:(b=r==null?void 0:r.info)==null?void 0:b.reserveBtn}),x.jsx("button",{onClick:()=>h(!0),className:"text-xs tracking-[0.3em] uppercase transition-colors duration-200 min-h-[44px] flex items-center",style:{color:p},children:(P=r==null?void 0:r.nav)==null?void 0:P.giftcard})]})]}),l&&x.jsx(ky,{t:r,lang:n,textColor:s,backgroundColor:o,onClose:()=>u(!1)}),d&&x.jsx(_y,{t:r,lang:n,textColor:s,backgroundColor:o,onClose:()=>h(!1)})]})}function pE(){const[r,n]=ld(),{settings:s}=Ja(),o=s.translations[r],l=Ts(s);return x.jsxs("div",{className:"min-h-screen",style:l,children:[x.jsx(ud,{t:o,lang:r,setLang:n,textColor:s.text_color}),x.jsx(zs,{to:"/",className:"md:hidden fixed top-4 left-4 z-40 cursor-pointer",children:x.jsx(Dc,{src:"https://media.base44.com/images/public/6a0c0bcd7e79b181d2aa9eea/9a4eb634b_LaPompette-15.png",color:s.text_color,className:"w-36 h-24 transition-all duration-300 hover:opacity-80"})}),x.jsx(zs,{to:"/",className:"hidden md:flex fixed top-[25%] left-8 z-40 items-center cursor-pointer",children:x.jsx(Dc,{src:"https://media.base44.com/images/public/6a0c0bcd7e79b181d2aa9eea/9a4eb634b_LaPompette-15.png",color:s.text_color,className:"w-44 h-36 transition-all duration-300 hover:opacity-80"})}),x.jsxs("main",{children:[x.jsx(fE,{t:o,textColor:s.text_color}),x.jsx(hE,{t:o,lang:r,textColor:s.text_color,backgroundColor:s.background_color})]}),x.jsx(cd,{textColor:s.text_color})]})}const Dr={nl:"Dutch",fr:"French",en:"English"};function mE({sourceLang:r,targetLang:n,sourceText:s,onTranslated:o,fieldLabel:l}){const[u,d]=F.useState(!1),h=async()=>
187{if(u)return;if(!s||!s.trim()){alert(`The ${Dr[r]} text is empty — nothing to translate.`);return}if(window.confirm(`Replace the current ${Dr[n]} "${l}" with a translation of the ${Dr[r]} version?`)){d(!0);try{const g=`Translate the following text from ${Dr[r]} to ${Dr[n]}.
188
189STRICT RULES:
190- Preserve every line break exactly.
191- Preserve "## ... ##" heading markers exactly (do not translate or remove the ## symbols, only translate the text between them).
192- Preserve all numbers, prices (e.g. €67), currency symbols and day-of-week abbreviations format (translate the day names themselves to ${Dr[n]} but keep the same separator style).
193- Do not add any introduction, explanation or commentary. Only output the translated text.
194
195TEXT TO TRANSLATE:
196${s}`,y=await ot.integrations.Core.InvokeLLM({prompt:g}),v=typeof y=="string"?y:(y==null?void 0:y.output)||(y==null?void 0:y.text)||"";v&&v.trim()?o(v.trim()):alert("Translation came back empty. Please try again.")}catch(g){alert("Translation failed: "+((g==null?void 0:g.message)||"unknown error"))}finally{d(!1)}}};return x.jsx("button",{type:"button",onClick:h,disabled:u,className:"text-[10px] uppercase tracking-[0.22em] px-3 py-2 border border-primary/30 hover:opacity-80 disabled:opacity-50 transition-opacity",children:u?"Translating…":`Translate from ${Dr[r]}`})}const gE=["nl","fr","en"];function yE(r,n){return n.split(".").reduce((s,o)=>s?s[o]:void 0,r)}function Em({title:r,help:n,lang:s,allContent:o,fieldPath:l,onApplyTranslation:u}){const d=gE.filter(h=>h!==s);return x.jsxs("div",{className:"flex flex-wrap items-end justify-between gap-3",children:[x.jsxs("div",{children:[x.jsx("h4",{className:"font-serif text-2xl font-light",children:r}),n&&x.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:n})]}),x.jsx("div",{className:"flex gap-2",children:d.map(h=>x.jsx(mE,{sourceLang:h,targetLang:s,sourceText:yE(o==null?void 0:o[h],l),fieldLabel:r,onTranslated:u},h))})]})}function vE({values:r,onUpdate:n,lang:s,allContent:o}){var l,u,d;return x.jsxs("div",{className:"space-y-8",children:[x.jsxs("div",{className:"space-y-3",children:[x.jsx(Em,{title:"About us",help:"Wrap a line in ## ... ## to make it a big heading. Empty lines add spacing.",lang:s,allContent:o,fieldPath:"about.body",onApplyTranslation:h=>n("about.body",h)}),x.jsx("textarea",{value:((l=r==null?void 0:r.about)==null?void 0:l.body)||"",onChange:h=>n("about.body",h.target.value),rows:12,className:"w-full border border-primary/20 bg-background/40 px-4 py-3 text-sm leading-relaxed focus:outline-none focus:border-primary font-mono",placeholder:`## Welcome ##
197Pure kitchen, open fire.
198...`})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx(Em,{title:"Opening hours & menu",help:"Wrap a line in ## ... ## to make it a big heading. Empty lines add spacing.",lang:s,allContent:o,fieldPath:"info.body",onApplyTranslation:h=>n("info.body",h)}),x.jsx("textarea",{value:((u=r==null?void 0:r.info)==null?void 0:u.body)||"",onChange:h=>n("info.body",h.target.value),rows:20,className:"w-full border border-primary/20 bg-background/40 px-4 py-3 text-sm leading-relaxed focus:outline-none focus:border-primary font-mono",placeholder:`## OPEN ##
199Wednesday → Saturday
200
201## LUNCH · 12:00 — 14:00 ##
202...`})]}),x.jsxs("div",{className:"space-y-3 max-w-md",children:[x.jsx("h4",{className:"font-serif text-2xl font-light",children:"Reservation button"}),x.jsx("input",{value:((d=r==null?void 0:r.info)==null?void 0:d.reserveBtn)||"",onChange:h=>n("info.reserveBtn",h.target.value),className:"w-full border border-primary/20 bg-background/40 px-3 py-3 text-sm focus:outline-none focus:border-primary"})]})]})}function wE({lang:r,content:n,allContent:s,onChange:o}){const l=(u,d)=>{const[h,p]=u.split(".");o({...n,[h]:{...(n==null?void 0:n[h])||{},[p]:d}})};return x.jsx(vE,{values:n,lang:r,allContent:s,onUpdate:l})}function ba({label:r,value:n,onChange:s,multiline:o=!1}){const l="w-full border border-primary/20 bg-transparent px-3 py-2 text-sm tracking-normal focus:outline-none focus:border-primary",u=`${l} min-h-32 resize-y block`;return x.jsxs("label",{className:"block space-y-2",children:[x.jsx("span",{className:"text-[10px] uppercase tracking-[0.25em] text-muted-foreground",children:r}),o?x.jsx("textarea",{value:n||"",onChange:d=>s(d.target.value),rows:5,className:u}):x.jsx("input",{value:n||"",onChange:d=>s(d.target.value),className:l})]})}const bm={slug:"",visible:!0,title_nl:"",body_nl:"",title_fr:"",body_fr:"",title_en:"",body_en:""};function Cm(r){return r.toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}function xE({textColor:r}){const[n,s]=F.useState(bm),[o,l]=F.useState(!1),u=Va(),{data:d=[]}=to({queryKey:["custom-pages"],queryFn:()=>ot.entities.CustomPage.list("-updated_date"),initialData:[]}),h=kc({mutationFn:async()=>{const g={...n,slug:Cm(n.slug||n.title_nl||n.title_en||n.title_fr)};return n.id?ot.entities.CustomPage.update(n.id,g):ot.entities.CustomPage.create(g)},onSuccess:()=>
202{u.invalidateQueries({queryKey:["custom-pages"]}),s(bm),l(!1)}}),p=kc({mutationFn:g=>ot.entities.CustomPage.delete(g),onSuccess:()=>u.invalidateQueries({queryKey:["custom-pages"]})});return x.jsxs("section",{className:"bg-card/70 p-6 border border-primary/10 space-y-5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-4",children:[x.jsxs("div",{children:[x.jsx("h2",{className:"font-serif text-3xl font-light",children:"Pages"}),x.jsx("p",{className:"text-sm opacity-70 mt-1",children:"Create extra pages and show them in the home menu."})]}),x.jsx("button",{onClick:()=>l(!o),className:"px-4 py-2 border text-xs uppercase tracking-[0.2em]",style:{borderColor:`${r}33`},children:o?"Close":"Add page"})]}),o&&x.jsxs("div",{className:"space-y-6 border-t pt-5",style:{borderColor:`${r}22`},children:[x.jsxs("div",{className:"grid md:grid-cols-2 gap-5",children:[x.jsx(ba,{label:"Page URL name",value:n.slug,onChange:g=>s({...n,slug:Cm(g)})}),x.jsxs("label",{className:"flex items-center gap-3 text-sm mt-7",children:[x.jsx("input",{type:"checkbox",checked:n.visible,onChange:g=>s({...n,visible:g.target.checked})}),"Show in website menu"]})]}),["nl","fr","en"].map(g=>x.jsxs("div",{className:"space-y-4 border-t pt-5",style:{borderColor:`${r}22`},children:[x.jsx("p",{className:"text-[10px] uppercase tracking-[0.25em] opacity-50",children:g==="nl"?"Nederlands":g==="fr"?"Français":"English"}),x.jsxs("div",{className:"grid md:grid-cols-3 gap-5",children:[x.jsx(ba,{label:"Menu button label",value:n[`nav_label_${g}`],placeholder:"Short label for home menu",onChange:y=>s({...n,[`nav_label_${g}`]:y})}),x.jsx(ba,{label:"Page title",value:n[`title_${g}`],onChange:y=>s({...n,[`title_${g}`]:y})}),x.jsx(ba,{label:"Page text",value:n[`body_${g}`],multiline:!0,onChange:y=>s({...n,[`body_${g}`]:y})})]})]},g)),x.jsx("button",{onClick:()=>h.mutate(),disabled:h.isPending||!n.slug,className:"px-5 py-3 bg-primary text-primary-foreground text-xs uppercase tracking-[0.25em] disabled:opacity-50",children:n.id?"Update page":"Add page"})]}),d.length>0&&x.jsxs("div",{className:"space-y-3 border-t pt-5",style:{borderColor:`${r}22`},children:[x.jsx("h3",{className:"font-serif text-2xl font-light",children:"Existing pages"}),d.map(g=>x.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-3 text-sm border p-3",style:{borderColor:`${r}22`},children:[x.jsxs("span",{children:[g.title_nl||g.title_en||g.slug," ",g.nav_label_nl&&x.jsxs("span",{className:"opacity-50 ml-2",children:['menu: "',g.nav_label_nl,'"']})," ",x.jsxs("span",{className:"opacity-50",children:["/page/",g.slug]})]}),x.jsxs("div",{className:"flex gap-4 text-xs uppercase tracking-[0.2em]",children:[x.jsx("button",{onClick:()=>{s(g),l(!0)},children:"Edit"}),x.jsx("button",{onClick:()=>p.mutate(g.id),children:"Delete"})]})]},g.id))]})]})}const SE={nl:"Nederlands",fr:"Français",en:"English"},kE=["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"];function _E(){var E;const{user:r,isAuthenticated:n,isLoadingAuth:s,navigateToLogin:o}=wy(),{settings:l,isLoading:u}=Ja(),[d,h]=F.useState("nl"),[p,g]=F.useState(xy),[y,v]=F.useState(!1),b=Va(),P=F.useRef(!1);F.useEffect(()=>{!P.current&&l.id&&(g(l.translations),P.current=!0)},[l]);const D=kc({mutationFn:async()=>{const k={translations:p};return l.id?ot.entities.SiteSettings.update(l.id,k):ot.entities.SiteSettings.create(k)},onSuccess:()=>{b.invalidateQueries({queryKey:["site-settings"]}),v(!0),setTimeout(()=>v(!1),2500)}});return u||s?x.jsx("div",{className:"min-h-screen flex items-center justify-center",children:"Loading admin..."}):n?(r==null?void 0:r.role)==="admin"||kE.includes((E=r==null?void 0:r.email)==null?void 0:E.toLowerCase())?x.jsx("div",{className:"min-h-screen px-5 py-8 md:px-10",style:Ts(l),children:x.jsxs("div",{className:"max-w-5xl mx-auto space-y-8",children:[x.jsxs("header",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-4",children:[x.jsxs("div",{children:[x.jsx("p",{className:"text-xs uppercase tracking-[0.3em] opacity-60",children:"La Pompette"}),x.jsx("h1",{className:"font-serif text-5xl font-light mt-2",children:"Admin editor"}),x.jsx("p",{className:"text-sm opacity-70 mt-2 max-w-xl",children:"Change the website colors and edit every text in Dutch, French, and English."})]}),x.jsx(zs,{to:"/",className:"text-xs uppercase tracking-[0.25em] opacity-70 hover:opacity-100",children:"Back to website"})]}),x.jsx(xE,{textColor:l.text_color}),x.jsxs("section",{className:"space-y-5",children:[x.jsxs("div",{children:[x.jsx("h2",{className:"font-serif text-3xl font-light",children:"Website text"}),x.jsx("p",{className:"text-sm opacity-70 mt-1",children:"Choose a language, then choose the part of the website you want to edit."})]}),x.jsx("div",{className:"flex flex-wrap gap-2",children:Object.entries(SE).map(([k,U])=>x.jsx("button",{onClick:()=>h(k),className:`px-4 py-2 text-xs uppercase tracking-[0.2em] border transition-opacity ${d===k?"opacity-100":"opacity-50"}`,style:{borderColor:`${l.text_color}33`},children:U},k))}),x.jsx(wE,{lang:d,content:p[d],allContent:p,onChange:k=>
202g({...p,[d]:k})})]}),x.jsxs("div",{className:"sticky bottom-5 bg-card/90 border border-primary/10 p-4 flex items-center justify-between gap-4",children:[x.jsx("p",{className:"text-sm opacity-70",children:"Save to update the whole app."}),x.jsxs("div",{className:"flex items-center gap-4",children:[y&&x.jsx("span",{className:"text-xs uppercase tracking-[0.2em]",children:"Saved"}),x.jsx("button",{onClick:()=>D.mutate(),disabled:D.isPending,className:"px-6 py-3 bg-primary text-primary-foreground text-xs uppercase tracking-[0.25em] disabled:opacity-50",children:D.isPending?"Saving...":"Save changes"})]})]})]})}):x.jsx("div",{className:"min-h-screen flex items-center justify-center px-6",style:Ts(l),children:x.jsxs("div",{className:"text-center space-y-4",children:[x.jsx("h1",{className:"font-serif text-5xl font-light",children:"Access denied"}),x.jsx("p",{className:"text-sm opacity-70",children:"You do not have permission to access the admin editor."}),x.jsx(zs,{to:"/",className:"text-xs uppercase tracking-[0.25em] opacity-70 hover:opacity-100",children:"Back to website"})]})}):x.jsx("div",{className:"min-h-screen flex items-center justify-center px-6",style:Ts(l),children:x.jsxs("div",{className:"text-center space-y-5",children:[x.jsx("h1",{className:"font-serif text-5xl font-light",children:"Admin login"}),x.jsx("p",{className:"text-sm opacity-70",children:"Please log in with an approved admin email."}),x.jsx("button",{onClick:()=>o(),className:"px-6 py-3 bg-primary text-primary-foreground text-xs uppercase tracking-[0.25em]",children:"Log in"})]})})}function EE(){const{slug:r}=Xx(),[n,s]=ld(),{settings:o}=Ja(),l=o.translations[n],{data:u=[]}=to({queryKey:["custom-page",r],queryFn:()=>ot.entities.CustomPage.filter({slug:r},"-updated_date",1),initialData:[]}),d=u[0],h=(d==null?void 0:d[`title_${n}`])||(d==null?void 0:d.title_nl)||(d==null?void 0:d.title_en)||(d==null?void 0:d.slug),p=(d==null?void 0:d[`body_${n}`])||(d==null?void 0:d.body_nl)||(d==null?void 0:d.body_en)||"";return x.jsxs("div",{className:"min-h-screen",style:Ts(o),children:[x.jsx(ud,{t:l,lang:n,setLang:s,textColor:o.text_color}),x.jsx("main",{className:"px-8 py-32",children:x.jsxs("article",{className:"max-w-2xl mx-auto",children:[x.jsx(zs,{to:"/",className:"text-xs uppercase tracking-[0.25em] opacity-60",children:"Back"}),x.jsx("h1",{className:"font-serif text-5xl md:text-6xl font-light mt-10 mb-10",children:h||"Page"}),x.jsx("div",{className:"font-serif text-xl md:text-2xl font-light leading-relaxed whitespace-pre-line",children:p})]})}),x.jsx(cd,{textColor:o.text_color})]})}const bE=()=>{const{isLoadingAuth:r,isLoadingPublicSettings:n,authError:s,navigateToLogin:o}=wy();if(n||r)return x.jsx("div",{className:"fixed inset-0 flex items-center justify-center",style:{backgroundColor:"#eae2d7"},children:x.jsx("div",{className:"w-8 h-8 border-4 rounded-full animate-spin",style:{borderColor:"#473e3833",borderTopColor:"#473e38"}})});if(s){if(s.type==="user_not_registered")return x.jsx(iE,{});if(s.type==="auth_required")return o(),null}return x.jsxs(hS,{children:[x.jsx(Rs,{path:"/",element:x.jsx(dE,{})}),x.jsx(Rs,{path:"/info",element:x.jsx(pE,{})}),x.jsx(Rs,{path:"/admin",element:x.jsx(_E,{})}),x.jsx(Rs,{path:"/page/:slug",element:x.jsx(EE,{})}),x.jsx(Rs,{path:"*",element:x.jsx(rE,{})})]})};function CE(){return x.jsx(sE,{children:x.jsxs(lx,{client:xx,children:[x.jsx(xS,{children:x.jsx(bE,{})}),x.jsx(Uw,{})]})})}A0.createRoot(document.getElementById("root")).render(x.jsx(CE,{}));

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.