vendor: 4,812 bytes, lines 1-9
1var B0=Object.defineProperty;var np=n=>{throw TypeError(n)};var $0=(n,t,s)=>t in n?B0(n,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[t]=s;var Ue=(n,t,s)=>$0(n,typeof t!="symbol"?t+"":t,s),Bu=(n,t,s)=>t.has(n)||np("Cannot "+s);var k=(n,t,s)=>(Bu(n,t,"read from private field"),s?s.call(n):t.get(n)),de=(n,t,s)=>t.has(n)?np("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,s),X=(n,t,s,o)=>(Bu(n,t,"write to private field"),o?o.call(n,s):t.set(n,s),s),ke=(n,t,s)=>(Bu(n,t,"access private method"),s);var wa=(n,t,s,o)=>({set _(l){X(n,t,l,s)},get _(){return k(n,t,o)}});function H0(n,t){for(var s=0;s<t.length;s++){const o=t[s];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in n)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(n,l,u.get?u:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function o(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();function Wm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var $u={exports:{}},Li={},Hu={exports:{}},be={};/** 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 q0(){if(rp)return be;rp=1;var n=Symbol.for("react.element"),t=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),w=Symbol.iterator;function b(R){return R===null||typeof R!="object"?null:(R=w&&R[w]||R["@@iterator"],typeof R=="function"?R:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,N={};function S(R,z,he){this.props=R,this.context=z,this.refs=N,this.updater=he||O}S.prototype.isReactComponent={},S.prototype.setState=function(R,z){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,z,"setState")},S.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function _(){}_.prototype=S.prototype;function U(R,z,he){this.props=R,this.context=z,this.refs=N,this.updater=he||O}var L=U.prototype=new _;L.constructor=U,D(L,S.prototype),L.isPureReactComponent=!0;var A=Array.isArray,H=Object.prototype.hasOwnProperty,Q={current:null},oe={key:!0,ref:!0,__self:!0,__source:!0};function B(R,z,he){var pe,ce={},G=null,ye=null;if(z!=null)for(pe in z.ref!==void 0&&(ye=z.ref),z.key!==void 0&&(G=""+z.key),z)H.call(z,pe)&&!oe.hasOwnProperty(pe)&&(ce[pe]=z[pe]);var Se=arguments.length-2;if(Se===1)ce.children=he;else if(1<Se){for(var ge=Array(Se),tt=0;tt<Se;tt++)ge[tt]=arguments[tt+2];ce.children=ge}if(R&&R.defaultProps)for(pe in Se=R.defaultProps,Se)ce[pe]===void 0&&(ce[pe]=Se[pe]);return{$$typeof:n,type:R,key:G,ref:ye,props:ce,_owner:Q.current}}function ue(R,z){return{$$typeof:n,type:R.type,key:z,ref:R.ref,props:R.props,_owner:R._owner}}function we(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function Ee(R){var z={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(he){return z[he]})}var Pe=/\/+/g;function Le(R,z){return typeof R=="object"&&R!==null&&R.key!=null?Ee(""+R.key):z.toString(36)}function Re(R,z,he,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 n:case t:ye=!0}}if(ye)return ye=R,ce=ce(ye),R=pe===""?"."+Le(ye,0):pe,A(ce)?(he="",R!=null&&(he=R.replace(Pe,"$&/")+"/"),Re(ce,z,he,"",function(tt){return tt})):ce!=null&&(we(ce)&&(ce=ue(ce,he+(!ce.key||ye&&ye.key===ce.key?"":(""+ce.key).replace(Pe,"$&/")+"/")+R)),z.pu
vendor: 9,266 bytes, lines 9-25
9sh(ce)),1;if(ye=0,pe=pe===""?".":pe+":",A(R))for(var Se=0;Se<R.length;Se++){G=R[Se];var ge=pe+Le(G,Se);ye+=Re(G,z,he,ge,ce)}else if(ge=b(R),typeof ge=="function")for(R=ge.call(R),Se=0;!(G=R.next()).done;)G=G.value,ge=pe+Le(G,Se++),ye+=Re(G,z,he,ge,ce);else if(G==="object")throw z=String(R),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return ye}function De(R,z,he){if(R==null)return R;var pe=[],ce=0;return Re(R,pe,"","",function(G){return z.call(he,G,ce++)}),pe}function fe(R){if(R._status===-1){var z=R._result;z=z(),z.then(function(he){(R._status===0||R._status===-1)&&(R._status=1,R._result=he)},function(he){(R._status===0||R._status===-1)&&(R._status=2,R._result=he)}),R._status===-1&&(R._status=0,R._result=z)}if(R._status===1)return R._result.default;throw R._result}var xe={current:null},K={transition:null},ie={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:K,ReactCurrentOwner:Q};function F(){throw Error("act(...) is not supported in production builds of React.")}return be.Children={map:De,forEach:function(R,z,he){De(R,function(){z.apply(this,arguments)},he)},count:function(R){var z=0;return De(R,function(){z++}),z},toArray:function(R){return De(R,function(z){return z})||[]},only:function(R){if(!we(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},be.Component=S,be.Fragment=s,be.Profiler=l,be.PureComponent=U,be.StrictMode=o,be.Suspense=p,be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,be.act=F,be.cloneElement=function(R,z,he){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(z!=null){if(z.ref!==void 0&&(G=z.ref,ye=Q.current),z.key!==void 0&&(ce=""+z.key),R.type&&R.type.defaultProps)var Se=R.type.defaultProps;for(ge in z)H.call(z,ge)&&!oe.hasOwnProperty(ge)&&(pe[ge]=z[ge]===void 0&&Se!==void 0?Se[ge]:z[ge])}var ge=arguments.length-2;if(ge===1)pe.children=he;else if(1<ge){Se=Array(ge);for(var tt=0;tt<ge;tt++)Se[tt]=arguments[tt+2];pe.children=Se}return{$$typeof:n,type:R.type,key:ce,ref:G,props:pe,_owner:ye}},be.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},be.createElement=B,be.createFactory=function(R){var z=B.bind(null,R);return z.type=R,z},be.createRef=function(){return{current:null}},be.forwardRef=function(R){return{$$typeof:h,render:R}},be.isValidElement=we,be.lazy=function(R){return{$$typeof:v,_payload:{_status:-1,_result:R},_init:fe}},be.memo=function(R,z){return{$$typeof:g,type:R,compare:z===void 0?null:z}},be.startTransition=function(R){var z=K.transition;K.transition={};try{R()}finally{K.transition=z}},be.unstable_act=F,be.useCallback=function(R,z){return xe.current.useCallback(R,z)},be.useContext=function(R){return xe.current.useContext(R)},be.useDebugValue=function(){},be.useDeferredValue=function(R){return xe.current.useDeferredValue(R)},be.useEffect=function(R,z){return xe.current.useEffect(R,z)},be.useId=function(){return xe.current.useId()},be.useImperativeHandle=function(R,z,he){return xe.current.useImperativeHandle(R,z,he)},be.useInsertionEffect=function(R,z){return xe.current.useInsertionEffect(R,z)},be.useLayoutEffect=function(R,z){return xe.current.useLayoutEffect(R,z)},be.useMemo=function(R,z){return xe.current.useMemo(R,z)},be.useReducer=function(R,z,he){return xe.current.useReducer(R,z,he)},be.useRef=function(R){return xe.current.useRef(R)},be.useState=function(R){return xe.current.useState(R)},be.useSyncExternalStore=function(R,z,he){return xe.current.useSyncExternalStore(R,z,he)},be.useTransition=function(){return xe.current.useTransition()},be.version="18.3.1",be}var sp;function Fc(){return sp||(sp=1,Hu.exports=q0()),Hu.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 V0(){if(ip)return Li;ip=1;var n=Fc(),t=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=n.__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 v,w={},b=null,O=null;g!==void 0&&(b=""+g),p.key!==void 0&&(b=""+p.key),p.ref!==void 0&&(O=p.ref);for(v in p)o.call(p,v)&&!u.hasOwnProperty(v)&&(w[v]=p[v]);if(h&&h.defaultProps)for(v in p=h.defaultProps,p)w[v]===void 0&&(w[v]=p[v]);return{$$typeof:t,type:h,key:b,ref:O,props:w,_owner:l.current}}return Li.Fragment=s,Li.jsx=d,Li.jsxs=d,Li}var op;function W0(){return op||(op=1,$u.exports=V0()),$u.exports}var y=W0(),I=Fc();const Mr=Wm(I),Qm=H0({__proto__:null,default:Mr},[I]);var xa={},qu={exports:{}},Rt={},Vu={exports:{}},Wu={};/** 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 Q0(){return ap||(ap=1,(function(n){function t(K,ie){var F=K.length;K.push(ie);e:for(;0<F;){var R=F-1>>>1,z=K[R];if(0<l(z,ie))K[R]=ie,K[F]=z,F=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],F=K.pop();if(F!==ie){K[0]=F;e:for(var R=0,z=K.length,he=z>>>1;R<he;){var pe=2*(R+1)-1,ce=K[pe],G=pe+1,ye=K[G];if(0>l(ce,F))G<z&&0>l(ye,ce)?(K[R]=ye,K[G]=F,R=G):(K[R]=ce,K[pe]=F,R=pe);else if(G<z&&0>l(ye,F))K[R]=ye,K[G]=F,R=G;else break e}}return ie}function l(K,ie){var F=K.sortIndex-ie.sortIndex;return F!==0?F:K.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;n.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var p=[],g=[],v=1,w=null,b=3,O=!1,D=!1,N=!1,S=typeof setTimeout=="function"?setTimeout:null,_=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 L(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,t(p,ie);else break;ie=s(g)}}function A(K){if(N=!1,L(K),!D)if(s(p)!==null)D=!0,fe(H);else{var ie=s(g);ie!==null&&xe(A,ie.startTime-K)}}function H(K,ie){D=!1,N&&(N=!1,_(B),B=-1),O=!0;var F=b;try{for(L(ie),w=s(p);w!==null&&(!(w.expirationTime>ie)||K&&!Ee());){var R=w.callback;if(typeof R=="function"){w.callback=null,b=w.priorityLevel;var z=R(w.expirationTime<=ie);ie=n.unstable_now(),typeof z=="function"?w.callback=z:w===s(p)&&o(p),L(ie)}else o(p);w=s(p)}if(w!==null)var he=!0;else{var pe=s(g);pe!==null&&xe(A,pe.startTime-ie),he=!1}return he}finally{w=null,b=F,O=!1}}var Q=!1,oe=null,B=-1,ue=5,we=-1;function Ee(){return!(n.unstable_now()-we<ue)}function Pe(){if(oe!==null){var K=n.unstable_now();we=K;var ie=!0;try{ie=oe(!0,K)}finally{ie?Le():(Q=!1,oe=null)}}else Q=!1}var Le;if(typeof U=="function")Le=function(){U(Pe)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,De=Re.port2;Re.port1.onmessage=Pe,Le=function(){De.postMessage(null)}}else Le=function(){S(Pe,0)};function fe(K){oe=K,Q||(Q=!0,Le())}function xe(K,ie){B=S(function(){K(n.unstable_now())},ie)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(K){K.callback=null},n.unstable_continueExecution=function(){D||O||(D=!0,fe(H))},n.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"):ue=0<K?Math.floor(1e3/K):5},n.unstable_getCurrentPriorityLevel=function(){return b},n.unstable_getFirstCallbackNode=function(){return s(p)},n.unstable_next=function(K){switch(b){case 1:case 2:case 3:var ie=3;break;default:ie=b}var F=b;b=ie;try{return K()}finally{b=F}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(K,ie){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var F=b;b=K;try{return ie()}finally{b=F}},n.unstable_scheduleCallback=function(K,ie,F){var R=n.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?R+F:R):F=R,K){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=F+z,K={id:v++,callback:ie,priorityLevel:K,startTime:F,expirationTime:z,sortIndex:-1},F>R?(K.sortIndex=F,t(g,K),s(p)===null&&K===s(g)&&(N?(_(B),B=-1):N=!0,xe(A,F-R))):(K.sortIndex=z,t(p,K),D||O||(D=!0,fe(H))),K},n.unstable_shouldYield=Ee,n.unstable_wrapCallback=function(K){var ie=b;return function(){var F=b;b=ie;try{return K.apply(this,arguments)}finally{b=F}}}})(Wu)),Wu}var lp;
vendor: 4,268 bytes, lines 25-33
25function K0(){return lp||(lp=1,Vu.exports=Q0()),Vu.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 G0(){if(up)return Rt;up=1;var n=Fc(),t=K0();function s(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)r+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function u(e,r){d(e,r),d(e+"Capture",r)}function d(e,r){for(l[e]=r,e=0;e<r.length;e++)o.add(r[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]*$/,v={},w={};function b(e){return p.call(w,e)?!0:p.call(v,e)?!1:g.test(e)?w[e]=!0:(v[e]=!0,!1)}function O(e,r,i,a){if(i!==null&&i.type===0)return!1;switch(typeof r){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,r,i,a){if(r===null||typeof r>"u"||O(e,r,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function N(e,r,i,a,c,f,m){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=r,this.sanitizeURL=f,this.removeEmptyString=m}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new N(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];S[r]=new N(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new N(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new N(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new N(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new N(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)});var _=/[\-:]([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
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(_,U);S[r]=new N(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(_,U);S[r]=new N(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(_,U);S[r]=new N(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new N(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new N(e,1,!1,e.toLowerCase(),null,!0,!0)});function L(e,r,i,a){var c=S.hasOwnProperty(r)?S[r]:null;(c!==null?c.type!==0:a||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(D(r,i,c,a)&&(i=null),a||c===null?b(r)&&(i===null?e.removeAttribute(r):e.setAttribute(r,""+i)):c.mustUseProperty?e[c.propertyName]=i===null?c.type===3?!1:"":i:(r=c.attributeName,a=c.attributeNamespace,i===null?e.removeAttribute(r):(c=c.type,i=c===3||c===4&&i===!0?"":""+i,a?e.setAttributeNS(a,r,i):e.setAttribute(r,i))))}var A=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=Symbol.for("react.element"),Q=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),we=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Pe=Symbol.for("react.forward_ref"),Le=Symbol.for("react.suspense"),Re=Symbol.for("react.suspense_list"),De=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),xe=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 F=Object.assign,R;function z(e){if(R===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return` 34`+R+e}var he=!1;function pe(e,r){if(!e||he)return"";he=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(M){var a=M}Reflect.construct(e,[],r)}else{try{r.call()}catch(M){a=M}e.call(r.prototype)}else{try{throw Error()}catch(M){a=M}e()}}
vendor: 30,859 bytes, lines 34-37
34catch(M){if(M&&a&&typeof M.stack=="string"){for(var c=M.stack.split(` 35`),f=a.stack.split(` 36`),m=c.length-1,x=f.length-1;1<=m&&0<=x&&c[m]!==f[x];)x--;for(;1<=m&&0<=x;m--,x--)if(c[m]!==f[x]){if(m!==1||x!==1)do if(m--,x--,0>x||c[m]!==f[x]){var E=` 37`+c[m].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),E}while(1<=m&&0<=x);break}}}finally{he=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?z(e):""}function ce(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("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 oe:return"Fragment";case Q:return"Portal";case ue:return"Profiler";case B:return"StrictMode";case Le:return"Suspense";case Re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ee:return(e.displayName||"Context")+".Consumer";case we:return(e._context.displayName||"Context")+".Provider";case Pe:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case De:return r=e.displayName||null,r!==null?r:G(e.type)||"Memo";case fe:r=e._payload,e=e._init;try{return G(e(r))}catch{}}return null}function ye(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(r);case 8:return r===B?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Se(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ge(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function tt(e){var r=ge(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),a=""+e[r];if(!e.hasOwnProperty(r)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,f=i.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return c.call(this)},set:function(m){a=""+m,f.call(this,m)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(m){a=""+m},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function Mt(e){e._valueTracker||(e._valueTracker=tt(e))}function ot(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var i=r.getValue(),a="";return e&&(a=ge(e)?e.checked?"true":"false":e.value),e=a,e!==i?(r.setValue(e),!0):!1}function Jt(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 Ut(e,r){var i=r.checked;return F({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Ft(e,r){var i=r.defaultValue==null?"":r.defaultValue,a=r.checked!=null?r.checked:r.defaultChecked;i=Se(r.value!=null?r.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function ve(e,r){r=r.checked,r!=null&&L(e,"checked",r,!1)}function at(e,r){ve(e,r);var i=Se(r.value),a=r.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}r.hasOwnProperty("value")?Zt(e,r.type,i):r.hasOwnProperty("defaultValue")&&Zt(e,r.type,Se(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function Xt(e,r,i){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var a=r.type;if(!(a!=="submit"&&a!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,i||r===e.value||(e.value=r),e.defaultValue=r}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Zt(e,r,i){(r!=="number"||Jt(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Dn=Array.isArray;function Mn(e,r,i,a){if(e=e.options,r){r={};for(var c=0;c<i.length;c++)r["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=r.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&a&&(e[i].defaultSelected=!0)}else{for(i=""+Se(i),r=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,a&&(e[c].defaultSelected=!0);return}r!==null||e[c].disabled||(r=e[c])}r!==null&&(r.selected=!0)}}function bn(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(s(91));return F({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function dd(e,r){var i=r.value;if(i==null){if(i=r.children,r=r.defaultValue,i!=null){if(r!=null)throw Error(s(92));if(Dn(i)){if(1<i.length)throw Error(s(93));i=i[0]}r=i}r==null&&(r=""),i=r}e._wrapperState={initialValue:Se(i)}}function fd(e,r){var i=Se(r.value),a=Se(r.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),r.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),a!=null&&(e.defaultValue=""+a)}function hd(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}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,r){return e==null||e==="http://www.w3.org/1999/xhtml"?pd(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var co,md=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,i,a,c){MSApp.execUnsafeLocalFunction(function(){return e(r,i,a,c)})}:e})(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(co=co||document.createElement("div"),co.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=co.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Ys(e,r){if(r){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=r;return}}e.textContent=r}var Js={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},Vy=["Webkit","ms","Moz","O"];Object.keys(Js).forEach(function(e){Vy.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Js[r]=Js[e]})});function gd(e,r,i){return r==null||typeof r=="boolean"||r===""?"":i||typeof r!="number"||r===0||Js.hasOwnProperty(e)&&Js[e]?(""+r).trim():r+"px"}function yd(e,r){e=e.style;for(var i in r)if(r.hasOwnProperty(i)){var a=i.indexOf("--")===0,c=gd(i,r[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,c):e[i]=c}}var Wy=F({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 Za(e,r){if(r){if(Wy[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(s(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(s(61))}if(r.style!=null&&typeof r.style!="object")throw Error(s(62))}}function el(e,r){if(e.indexOf("-")===-1)return typeof r.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tl=null;function nl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var rl=null,ss=null,is=null;function vd(e){if(e=wi(e)){if(typeof rl!="function")throw Error(s(280));var r=e.stateNode;r&&(r=Lo(r),rl(e.stateNode,e.type,r))}}function wd(e){ss?is?is.push(e):is=[e]:ss=e}function xd(){if(ss){var e=ss,r=is;if(is=ss=null,vd(e),r)for(e=0;e<r.length;e++)vd(r[e])}}function _d(e,r){return e(r)}function bd(){}var sl=!1;function Sd(e,r,i){if(sl)return e(r,i);sl=!0;try{return _d(e,r,i)}finally{sl=!1,(ss!==null||is!==null)&&(bd(),xd())}}function Xs(e,r){var i=e.stateNode;if(i===null)return null;var a=Lo(i);if(a===null)return null;i=a[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(s(231,r,typeof i));return i}var il=!1;if(h)try{var Zs={};Object.defineProperty(Zs,"passive",{get:function(){il=!0}}),window.addEventListener("test",Zs,Zs),window.removeEventListener("test",Zs,Zs)}catch{il=!1}function Qy(e,r,i,a,c,f,m,x,E){var M=Array.prototype.slice.call(arguments,3);try{r.apply(i,M)}catch(q){this.onError(q)}}var ei=!1,fo=null,ho=!1,ol=null,Ky={onError:function(e){ei=!0,fo=e}};function Gy(e,r,i,a,c,f,m,x,E){ei=!1,fo=null,Qy.apply(Ky,arguments)}function Yy(e,r,i,a,c,f,m,x,E){if(Gy.apply(this,arguments),ei){if(ei){var M=fo;ei=!1,fo=null}else throw Error(s(198));ho||(ho=!0,ol=M)}}function _r(e){var r=e,i=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(i=r.return),e=r.return;while(e)}return r.tag===3?i:null}function Ed(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function kd(e){if(_r(e)!==e)throw Error(s(188))}function Jy(e){var r=e.alternate;if(!r){if(r=_r(e),r===null)throw Error(s(188));return r!==e?null:e}for(var i=e,a=r;;){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 kd(c),e;if(f===a)return kd(c),r;f=f.sibling}throw Error(s(188))}if(i.return!==a.return)i=c,a=f;else{for(var m=!1,x=c.child;x;){if(x===i){m=!0,i=c,a=f;break}if(x===a){m=!0,a=c,i=f;break}x=x.sibling}if(!m){for(x=f.child;x;){if(x===i){m=!0,i=f,a=c;break}if(x===a){m=!0,a=f,i=c;break}x=x.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:r}function Cd(e){return e=Jy(e),e!==null?Td(e):null}function Td(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=Td(e);if(r!==null)return r;e=e.sibling}return null}var Rd=t.unstable_scheduleCallback,Nd=t.unstable_cancelCallback,Xy=t.unstable_shouldYield,Zy=t.unstable_requestPaint,We=t.unstable_now,ev=t.unstable_getCurrentPriorityLevel,al=t.unstable_ImmediatePriority,Od=t.unstable_UserBlockingPriority,po=t.unstable_NormalPriority,tv=t.unstable_LowPriority,Pd=t.unstable_IdlePriority,mo=null,dn=null;function nv(e){if(dn&&typeof dn.onCommitFiberRoot=="function")try{dn.onCommitFiberRoot(mo,e,void 0,(e.current.flags&128)===128)}catch{}}var en=Math.clz32?Math.clz32:iv,rv=Math.log,sv=Math.LN2;function iv(e){return e>>>=0,e===0?32:31-(rv(e)/sv|0)|0}var go=64,yo=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 vo(e,r){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 x=m&~c;x!==0?a=ti(x):(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(r!==0&&r!==a&&(r&c)===0&&(c=a&-a,f=r&-r,c>=f||c===16&&(f&4194240)!==0))return r;if((a&4)!==0&&(a|=i&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=a;0<r;)i=31-en(r),c=1<<i,a|=e[i],r&=~c;return a}function ov(e,r){switch(e){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function av(e,r){for(var i=e.suspendedLanes,a=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes;0<f;){var m=31-en(f),x=1<<m,E=c[m];E===-1?((x&i)===0||(x&a)!==0)&&(c[m]=ov(x,r)):E<=r&&(e.expiredLanes|=x),f&=~x}}function ll(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ad(){var e=go;return go<<=1,(go&4194240)===0&&(go=64),e}function ul(e){for(var r=[],i=0;31>i;i++)r.push(e);return r}function ni(e,r,i){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-en(r),e[r]=i}function lv(e,r){var i=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<i;){var c=31-en(i),f=1<<c;r[c]=0,a[c]=-1,e[c]=-1,i&=~f}}function cl(e,r){var i=e.entangledLanes|=r;for(e=e.entanglements;i;){var a=31-en(i),c=1<<a;c&r|e[a]&r&&(e[a]|=r),i&=~c}}var Ie=0;function jd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ld,dl,Id,Dd,Md,fl=!1,wo=[],Un=null,Fn=null,zn=null,ri=new Map,si=new Map,Bn=[],uv="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 Ud(e,r){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":ri.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":si.delete(r.pointerId)}}function ii(e,r,i,a,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:r,domEventName:i,eventSystemFlags:a,nativeEvent:f,targetContainers:[c]},r!==null&&(r=wi(r),r!==null&&dl(r)),e):(e.eventSystemFlags|=a,r=e.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),e)}function cv(e,r,i,a,c){switch(r){case"focusin":return Un=ii(Un,e,r,i,a,c),!0;case"dragenter":return Fn=ii(Fn,e,r,i,a,c),!0;case"mouseover":return zn=ii(zn,e,r,i,a,c),!0;case"pointerover":var f=c.pointerId;return ri.set(f,ii(ri.get(f)||null,e,r,i,a,c)),!0;case"gotpointercapture":return f=c.pointerId,si.set(f,ii(si.get(f)||null,e,r,i,a,c)),!0}return!1}function Fd(e){var r=br(e.target);if(r!==null){var i=_r(r);if(i!==null){if(r=i.tag,r===13){if(r=Ed(i),r!==null){e.blockedOn=r,Md(e.priority,function(){Id(i)});return}}else if(r===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xo(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var i=pl(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);tl=a,i.target.dispatchEvent(a),tl=null}else return r=wi(i),r!==null&&dl(r),e.blockedOn=i,!1;r.shift()}return!0}function zd(e,r,i){xo(e)&&i.delete(r)}function dv(){fl=!1,Un!==null&&xo(Un)&&(Un=null),Fn!==null&&xo(Fn)&&(Fn=null),zn!==null&&xo(zn)&&(zn=null),ri.forEach(zd),si.forEach(zd)}function oi(e,r){e.blockedOn===r&&(e.blockedOn=null,fl||(fl=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,dv)))}function ai(e){function r(c){return oi(c,e)}if(0<wo.length){oi(wo[0],e);for(var i=1;i<wo.length;i++){var a=wo[i];a.blockedOn===e&&(a.blockedOn=null)}}for(Un!==null&&oi(Un,e),Fn!==null&&oi(Fn,e),zn!==null&&oi(zn,e),ri.forEach(r),si.forEach(r),i=0;i<Bn.length;i++)a=Bn[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<Bn.length&&(i=Bn[0],i.blockedOn===null);)Fd(i),i.blockedOn===null&&Bn.shift()}var os=A.ReactCurrentBatchConfig,_o=!0;function fv(e,r,i,a){var c=Ie,f=os.transition;os.transition=null;try{Ie=1,hl(e,r,i,a)}finally{Ie=c,os.transition=f}}function hv(e,r,i,a){var c=Ie,f=os.transition;os.transition=null;try{Ie=4,hl(e,r,i,a)}finally{Ie=c,os.transition=f}}function hl(e,r,i,a){if(_o){var c=pl(e,r,i,a);if(c===null)Pl(e,r,a,bo,i),Ud(e,a);else if(cv(c,e,r,i,a))a.stopPropagation();else if(Ud(e,a),r&4&&-1<uv.indexOf(e)){for(;c!==null;){var f=wi(c);if(f!==null&&Ld(f),f=pl(e,r,i,a),f===null&&Pl(e,r,a,bo,i),f===c)break;c=f}c!==null&&a.stopPropagation()}else Pl(e,r,a,null,i)}}var bo=null;function pl(e,r,i,a){if(bo=null,e=nl(a),e=br(e),e!==null)if(r=_r(e),r===null)e=null;else if(i=r.tag,i===13){if(e=Ed(r),e!==null)return e;e=null}else if(i===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null);return bo=e,null}function Bd(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(ev()){case al:return 1;case Od:return 4;case po:case tv:return 16;case Pd:return 536870912;default:return 16}default:return 16}}var $n=null,ml=null,So=null;function $d(){if(So)return So;var e,r=ml,i=r.length,a,c="value"in $n?$n.value:$n.textContent,f=c.length;for(e=0;e<i&&r[e]===c[e];e++);var m=i-e;for(a=1;a<=m&&r[i-a]===c[f-a];a++);return So=c.slice(e,1<a?1-a:void 0)}function Eo(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function ko(){return!0}function Hd(){return!1}function At(e){function r(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 x in e)e.hasOwnProperty(x)&&(i=e[x],this[x]=i?i(f):f[x]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?ko:Hd,this.isPropagationStopped=Hd,this}return F(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=ko)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=ko)},persist:function(){},isPersistent:ko}),r}var as={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gl=At(as),li=F({},as,{view:0,detail:0}),pv=At(li),yl,vl,ui,Co=F({},li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xl,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"?(yl=e.screenX-ui.screenX,vl=e.screenY-ui.screenY):vl=yl=0,ui=e),yl)},movementY:function(e){return"movementY"in e?e.movementY:vl}}),qd=At(Co),mv=F({},Co,{dataTransfer:0}),gv=At(mv),yv=F({},li,{relatedTarget:0}),wl=At(yv),vv=F({},as,{animationName:0,elapsedTime:0,pseudoElement:0}),wv=At(vv),xv=F({},as,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_v=At(xv),bv=F({},as,{data:0}),Vd=At(bv),Sv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ev={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"},kv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cv(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=kv[e])?!!r[e]:!1}function xl(){return Cv}var Tv=F({},li,{key:function(e){if(e.key){var r=Sv[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Eo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ev[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xl,charCode:function(e){return e.type==="keypress"?Eo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Rv=At(Tv),Nv=F({},Co,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=At(Nv),Ov=F({},li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xl}),Pv=At(Ov),Av=F({},as,{propertyName:0,elapsedTime:0,pseudoElement:0}),jv=At(Av),Lv=F({},Co,{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}),Iv=At(Lv),Dv=[9,13,27,32],_l=h&&"CompositionEvent"in window,ci=null;h&&"documentMode"in document&&(ci=document.documentMode);var Mv=h&&"TextEvent"in window&&!ci,Qd=h&&(!_l||ci&&8<ci&&11>=ci),Kd=" ",Gd=!1;function Yd(e,r){switch(e){case"keyup":return Dv.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ls=!1;function Uv(e,r){switch(e){case"compositionend":return Jd(r);case"keypress":return r.which!==32?null:(Gd=!0,Kd);case"textInput":return e=r.data,e===Kd&&Gd?null:e;default:return null}}function Fv(e,r){if(ls)return e==="compositionend"||!_l&&Yd(e,r)?(e=$d(),So=ml=$n=null,ls=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Qd&&r.locale!=="ko"?null:r.data;default:return null}}var zv={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 Xd(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!zv[e.type]:r==="textarea"}function Zd(e,r,i,a){wd(a),r=Po(r,"onChange"),0<r.length&&(i=new gl("onChange","change",null,i,a),e.push({event:i,listeners:r}))}var di=null,fi=null;function Bv(e){vf(e,0)}function To(e){var r=hs(e);if(ot(r))return e}function $v(e,r){if(e==="change")return r}var ef=!1;if(h){var bl;if(h){var Sl="oninput"in document;if(!Sl){var tf=document.createElement("div");tf.setAttribute("oninput","return;"),Sl=typeof tf.oninput=="function"}bl=Sl}else bl=!1;ef=bl&&(!document.documentMode||9<document.documentMode)}function nf(){di&&(di.detachEvent("onpropertychange",rf),fi=di=null)}function rf(e){if(e.propertyName==="value"&&To(fi)){var r=[];Zd(r,fi,e,nl(e)),Sd(Bv,r)}}function Hv(e,r,i){e==="focusin"?(nf(),di=r,fi=i,di.attachEvent("onpropertychange",rf)):e==="focusout"&&nf()}function qv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return To(fi)}function Vv(e,r){if(e==="click")return To(r)}function Wv(e,r){if(e==="input"||e==="change")return To(r)}function Qv(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var tn=typeof Object.is=="function"?Object.is:Qv;function hi(e,r){if(tn(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var i=Object.keys(e),a=Object.keys(r);if(i.length!==a.length)return!1;for(a=0;a<i.length;a++){var c=i[a];if(!p.call(r,c)||!tn(e[c],r[c]))return!1}return!0}function sf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function of(e,r){var i=sf(e);e=0;for(var a;i;){if(i.nodeType===3){if(a=e+i.textContent.length,e<=r&&a>=r)return{node:i,offset:r-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,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?af(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function lf(){for(var e=window,r=Jt();r instanceof e.HTMLIFrameElement;){try{var i=typeof r.contentWindow.location.href=="string"}catch{i=!1}if(i)e=r.contentWindow;else break;r=Jt(e.document)}return r}function El(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function Kv(e){var r=lf(),i=e.focusedElem,a=e.selectionRange;if(r!==i&&i&&i.ownerDocument&&af(i.ownerDocument.documentElement,i)){if(a!==null&&El(i)){if(r=a.start,e=a.end,e===void 0&&(e=r),"selectionStart"in i)i.selectionStart=r,i.selectionEnd=Math.min(e,i.value.length);else if(e=(r=i.ownerDocument||document)&&r.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)&&(r=r.createRange(),r.setStart(c.node,c.offset),e.removeAllRanges(),f>a?(e.addRange(r),e.extend(m.node,m.offset)):(r.setEnd(m.node,m.offset),e.addRange(r)))}}for(r=[],e=i;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<r.length;i++)e=r[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Gv=h&&"documentMode"in document&&11>=document.documentMode,us=null,kl=null,pi=null,Cl=!1;function uf(e,r,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Cl||us==null||us!==Jt(a)||(a=us,"selectionStart"in a&&El(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(kl,"onSelect"),0<a.length&&(r=new gl("onSelect","select",null,r,i),e.push({event:r,listeners:a}),r.target=us)))}function Ro(e,r){var i={};return i[e.toLowerCase()]=r.toLowerCase(),i["Webkit"+e]="webkit"+r,i["Moz"+e]="moz"+r,i}var cs={animationend:Ro("Animation","AnimationEnd"),animationiteration:Ro("Animation","AnimationIteration"),animationstart:Ro("Animation","AnimationStart"),transitionend:Ro("Transition","TransitionEnd")},Tl={},cf={};h&&(cf=document.createElement("div").style,"AnimationEvent"in window||(delete cs.animationend.animation,delete cs.animationiteration.animation,delete cs.animationstart.animation),"TransitionEvent"in window||delete cs.transitionend.transition);function No(e){if(Tl[e])return Tl[e];if(!cs[e])return e;var r=cs[e],i;for(i in r)if(r.hasOwnProperty(i)&&i in cf)return Tl[e]=r[i];return e}var df=No("animationend"),ff=No("animationiteration"),hf=No("animationstart"),pf=No("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 Hn(e,r){mf.set(e,r),u(r,[e])}for(var Rl=0;Rl<gf.length;Rl++){var Nl=gf[Rl],Yv=Nl.toLowerCase(),Jv=Nl[0].toUpperCase()+Nl.slice(1);Hn(Yv,"on"+Jv)}Hn(df,"onAnimationEnd"),Hn(ff,"onAnimationIteration"),Hn(hf,"onAnimationStart"),Hn("dblclick","onDoubleClick"),Hn("focusin","onFocus"),Hn("focusout","onBlur"),Hn(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 focu
37sin 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(" "),Xv=new Set("cancel close invalid load scroll toggle".split(" ").concat(mi));function yf(e,r,i){var a=e.type||"unknown-event";e.currentTarget=i,Yy(a,r,void 0,e),e.currentTarget=null}function vf(e,r){r=(r&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(r)for(var m=a.length-1;0<=m;m--){var x=a[m],E=x.instance,M=x.currentTarget;if(x=x.listener,E!==f&&c.isPropagationStopped())break e;yf(c,x,M),f=E}else for(m=0;m<a.length;m++){if(x=a[m],E=x.instance,M=x.currentTarget,x=x.listener,E!==f&&c.isPropagationStopped())break e;yf(c,x,M),f=E}}}if(ho)throw e=ol,ho=!1,ol=null,e}function Fe(e,r){var i=r[Ml];i===void 0&&(i=r[Ml]=new Set);var a=e+"__bubble";i.has(a)||(wf(r,e,2,!1),i.add(a))}function Ol(e,r,i){var a=0;r&&(a|=4),wf(i,e,a,r)}var Oo="_reactListening"+Math.random().toString(36).slice(2);function gi(e){if(!e[Oo]){e[Oo]=!0,o.forEach(function(i){i!=="selectionchange"&&(Xv.has(i)||Ol(i,!1,e),Ol(i,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Oo]||(r[Oo]=!0,Ol("selectionchange",!1,r))}}function wf(e,r,i,a){switch(Bd(r)){case 1:var c=fv;break;
vendor: 10,534 bytes, lines 37-38
37case 4:c=hv;break;default:c=hl}i=c.bind(null,r,i,e),c=void 0,!il||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),a?c!==void 0?e.addEventListener(r,i,{capture:!0,passive:c}):e.addEventListener(r,i,!0):c!==void 0?e.addEventListener(r,i,{passive:c}):e.addEventListener(r,i,!1)}function Pl(e,r,i,a,c){var f=a;if((r&1)===0&&(r&2)===0&&a!==null)e:for(;;){if(a===null)return;var m=a.tag;if(m===3||m===4){var x=a.stateNode.containerInfo;if(x===c||x.nodeType===8&&x.parentNode===c)break;if(m===4)for(m=a.return;m!==null;){var E=m.tag;if((E===3||E===4)&&(E=m.stateNode.containerInfo,E===c||E.nodeType===8&&E.parentNode===c))return;m=m.return}for(;x!==null;){if(m=br(x),m===null)return;if(E=m.tag,E===5||E===6){a=f=m;continue e}x=x.parentNode}}a=a.return}Sd(function(){var M=f,q=nl(i),V=[];e:{var $=mf.get(e);if($!==void 0){var J=gl,ee=e;switch(e){case"keypress":if(Eo(i)===0)break e;case"keydown":case"keyup":J=Rv;break;case"focusin":ee="focus",J=wl;break;case"focusout":ee="blur",J=wl;break;case"beforeblur":case"afterblur":J=wl;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=gv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Pv;break;case df:case ff:case hf:J=wv;break;case pf:J=jv;break;case"scroll":J=pv;break;case"wheel":J=Iv;break;case"copy":case"cut":case"paste":J=_v;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Wd}var re=(r&4)!==0,Qe=!re&&e==="scroll",P=re?$!==null?$+"Capture":null:$;re=[];for(var T=M,j;T!==null;){j=T;var W=j.stateNode;if(j.tag===5&&W!==null&&(j=W,P!==null&&(W=Xs(T,P),W!=null&&re.push(yi(T,W,j)))),Qe)break;T=T.return}0<re.length&&($=new J($,ee,null,i,q),V.push({event:$,listeners:re}))}}if((r&7)===0){e:{if($=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",$&&i!==tl&&(ee=i.relatedTarget||i.fromElement)&&(br(ee)||ee[Sn]))break e;if((J||$)&&($=q.window===q?q:($=q.ownerDocument)?$.defaultView||$.parentWindow:window,J?(ee=i.relatedTarget||i.toElement,J=M,ee=ee?br(ee):null,ee!==null&&(Qe=_r(ee),ee!==Qe||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(J=null,ee=M),J!==ee)){if(re=qd,W="onMouseLeave",P="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(re=Wd,W="onPointerLeave",P="onPointerEnter",T="pointer"),Qe=J==null?$:hs(J),j=ee==null?$:hs(ee),$=new re(W,T+"leave",J,i,q),$.target=Qe,$.relatedTarget=j,W=null,br(q)===M&&(re=new re(P,T+"enter",ee,i,q),re.target=j,re.relatedTarget=Qe,W=re),Qe=W,J&&ee)t:{for(re=J,P=ee,T=0,j=re;j;j=ds(j))T++;for(j=0,W=P;W;W=ds(W))j++;for(;0<T-j;)re=ds(re),T--;for(;0<j-T;)P=ds(P),j--;for(;T--;){if(re===P||P!==null&&re===P.alternate)break t;re=ds(re),P=ds(P)}re=null}else re=null;J!==null&&xf(V,$,J,re,!1),ee!==null&&Qe!==null&&xf(V,Qe,ee,re,!0)}}e:{if($=M?hs(M):window,J=$.nodeName&&$.nodeName.toLowerCase(),J==="select"||J==="input"&&$.type==="file")var se=$v;else if(Xd($))if(ef)se=Wv;else{se=qv;var ae=Hv}else(J=$.nodeName)&&J.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(se=Vv);if(se&&(se=se(e,M))){Zd(V,se,i,q);break e}ae&&ae(e,$,M),e==="focusout"&&(ae=$._wrapperState)&&ae.controlled&&$.type==="number"&&Zt($,"number",$.value)}switch(ae=M?hs(M):window,e){case"focusin":(Xd(ae)||ae.contentEditable==="true")&&(us=ae,kl=M,pi=null);break;case"focusout":pi=kl=us=null;break;case"mousedown":Cl=!0;break;case"contextmenu":case"mouseup":case"dragend":Cl=!1,uf(V,i,q);break;case"selectionchange":if(Gv)break;case"keydown":case"keyup":uf(V,i,q)}var le;if(_l)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 ls?Yd(e,i)&&(me="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(me="onCompositionStart");me&&(Qd&&i.locale!=="ko"&&(ls||me!=="onCompositionStart"?me==="onCompositionEnd"&&ls&&(le=$d()):($n=q,ml="value"in $n?$n.value:$n.textContent,ls=!0)),ae=Po(M,me),0<ae.length&&(me=new Vd(me,e,null,i,q),V.push({event:me,listeners:ae}),le?me.data=le:(le=Jd(i),le!==null&&(me.data=le)))),(le=Mv?Uv(e,i):Fv(e,i))&&(M=Po(M,"onBeforeInput"),0<M.length&&(q=new Vd("onBeforeInput","beforeinput",null,i,q),V.push({event:q,listeners:M}),q.data=le))}vf(V,r)})}function yi(e,r,i){return{instance:e,listener:r,currentTarget:i}}function Po(e,r){for(var i=r+"Capture",a=[];e!==null;){var c=e,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=Xs(e,i),f!=null&&a.unshift(yi(e,f,c)),f=Xs(e,r),f!=null&&a.push(yi(e,f,c))),e=e.return}return a}function ds(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xf(e,r,i,a,c){for(var f=r._reactName,m=[];i!==null&&i!==a;){var x=i,E=x.alternate,M=x.stateNode;if(E!==null&&E===a)break;x.tag===5&&M!==null&&(x=M,c?(E=Xs(i,f),E!=null&&m.unshift(yi(i,E,x))):c||(E=Xs(i,f),E!=null&&m.push(yi(i,E,x)))),i=i.return}m.length!==0&&e.push({event:r,listeners:m})}var Zv=/\r\n?/g,e0=/\u0000|\uFFFD/g;function _f(e){return(typeof e=="string"?e:""+e).replace(Zv,` 38`).replace(e0,"")}function Ao(e,r,i){if(r=_f(r),_f(e)!==r&&i)throw Error(s(425))}function jo(){}var Al=null,jl=null;function Ll(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Il=typeof setTimeout=="function"?setTimeout:void 0,t0=typeof clearTimeout=="function"?clearTimeout:void 0,bf=typeof Promise=="function"?Promise:void 0,n0=typeof queueMicrotask=="function"?queueMicrotask:typeof bf<"u"?function(e){return bf.resolve(null).then(e).catch(r0)}:Il;function r0(e){setTimeout(function(){throw e})}function Dl(e,r){var i=r,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(r);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=c}while(i);ai(r)}function qn(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return e}function Sf(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(r===0)return e;r--}else i==="/$"&&r++}e=e.previousSibling}return null}var fs=Math.random().toString(36).slice(2),fn="__reactFiber$"+fs,vi="__reactProps$"+fs,Sn="__reactContainer$"+fs,Ml="__reactEvents$"+fs,s0="__reactListeners$"+fs,i0="__reactHandles$"+fs;function br(e){var r=e[fn];if(r)return r;for(var i=e.parentNode;i;){if(r=i[Sn]||i[fn]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(e=Sf(e);e!==null;){if(i=e[fn])return i;e=Sf(e)}return r}e=i,i=e.parentNode}return null}function wi(e){return e=e[fn]||e[Sn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function hs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Lo(e){return e[vi]||null}var Ul=[],ps=-1;function Vn(e){return{current:e}}function ze(e){0>ps||(e.current=Ul[ps],Ul[ps]=null,ps--)}function Me(e,r){ps++,Ul[ps]=e.current,e.current=r}var Wn={},ht=Vn(Wn),St=Vn(!1),Sr=Wn;function ms(e,r){var i=e.type.contextTypes;if(!i)return Wn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in i)c[f]=r[f];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=c),c}function Et(e){return e=e.childContextTypes,e!=null}function Io(){ze(St),ze(ht)}function Ef(e,r,i){if(ht.current!==Wn)throw Error(s(168));Me(ht,r),Me(St,i)}function kf(e,r,i){var a=e.stateNode;if(r=r.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var c in a)if(!(c in r))throw Error(s(108,ye(e)||"Unknown",c));return F({},i,a)}function Do(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wn,Sr=ht.current,Me(ht,e),Me(St,St.current),!0}function Cf(e,r,i){var a=e.stateNode;if(!a)throw Error(s(169));i?(e=kf(e,r,Sr),a.__reactInternalMemoizedMergedChildContext=e,ze(St),ze(ht),Me(ht,e)):ze(St),Me(St,i)}var En=null,Mo=!1,Fl=!1;function Tf(e){En===null?En=[e]:En.push(e)}function o0(e){Mo=!0,Tf(e)}function Qn(){if(!Fl&&En!==null){Fl=!0;var e=0,r=Ie;try{var i=En;for(Ie=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}En=null,Mo=!1}catch(c){throw En!==null&&(En=En.slice(e+1)),Rd(al,Qn),c}finally{Ie=r,Fl=!1}}return null}var gs=[],ys=0,Uo=null,Fo=0,zt=[],Bt=0,Er=null,kn=1,Cn="";function kr(e,r){gs[ys++]=Fo,gs[ys++]=Uo,Uo=e,Fo=r}function Rf(e,r,i){zt[Bt++]=kn,zt[Bt++]=Cn,zt[Bt++]=Er,Er=e;var a=kn;e=Cn;var c=32-en(a)-1;a&=~(1<<c),i+=1;var f=32-en(r)+c;if(30<f){var m=c-c%5;f=(a&(1<<m)-1).toString(32),a>>=m,c-=m,kn=1<<32-en(r)+c|i<<c|a,Cn=f+e}else kn=1<<f|i<<c|a,Cn=e}function zl(e){e.return!==null&&(kr(e,1),Rf(e,1,0))}function Bl(e){for(;e===Uo;)Uo=gs[--ys],gs[ys]=null,Fo=gs[--ys],gs[ys]=null;for(;e===Er;)Er=zt[--Bt],zt[Bt]=null,Cn=zt[--Bt],zt[Bt]=null,kn=zt[--Bt],zt[Bt]=null}var jt=null,Lt=null,Be=!1,nn=null;function Nf(e,r){var i=Vt(5,null,null,0);i.elementType="DELETED",i.stateNode=r,i.return=e,r=e.deletions,r===null?(e.deletions=[i],e.flags|=16):r.push(i)}function Of(e,r){switch(e.tag){case 5:var i=e.type;return r=r.nodeType!==1||i.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,jt=e,Lt=qn(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,jt=e,Lt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(i=Er!==null?{id:kn,overflow:Cn}:null,e.memoizedState={dehydrated:r,treeContext:i,retryLane:1073741824},i=Vt(18,null,null,0),i.stateNode=r,i.return=e,e.child=i,jt=e,Lt=null,!0):!1;default:return!1}}function $l(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Hl(e){if(Be){var r=Lt;if(r){var i=r;if(!Of(e,r)){if($l(e))throw Error(s(418));r=qn(i.nextSibling);var a=jt;r&&Of(e,r)?Nf(a,i):(e.flags=e.flags&-4097|2,Be=!1,jt=e)}}else{if($l(e))throw Error(s(418));e.flags=e.flags&-4097|2,Be=!1,jt=e}}}function Pf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;jt=e}function zo(e){if(e!==jt)return!1;if(!Be)return Pf(e),Be=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!Ll(e.type,e.memoizedProps)),r&&(r=Lt)){if($l(e))throw Af(),Error(s(418));for(;r;
vendor: 4,099 bytes, line 38
38)Nf(e,r),r=qn(r.nextSibling)}if(Pf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(r===0){Lt=qn(e.nextSibling);break e}r--}else i!=="$"&&i!=="$!"&&i!=="$?"||r++}e=e.nextSibling}Lt=null}}else Lt=jt?qn(e.stateNode.nextSibling):null;return!0}function Af(){for(var e=Lt;e;)e=qn(e.nextSibling)}function vs(){Lt=jt=null,Be=!1}function ql(e){nn===null?nn=[e]:nn.push(e)}var a0=A.ReactCurrentBatchConfig;function xi(e,r,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 r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===f?r.ref:(r=function(m){var x=c.refs;m===null?delete x[f]:x[f]=m},r._stringRef=f,r)}if(typeof e!="string")throw Error(s(284));if(!i._owner)throw Error(s(290,e))}return e}function Bo(e,r){throw e=Object.prototype.toString.call(r),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function jf(e){var r=e._init;return r(e._payload)}function Lf(e){function r(P,T){if(e){var j=P.deletions;j===null?(P.deletions=[T],P.flags|=16):j.push(T)}}function i(P,T){if(!e)return null;for(;T!==null;)r(P,T),T=T.sibling;return null}function a(P,T){for(P=new Map;T!==null;)T.key!==null?P.set(T.key,T):P.set(T.index,T),T=T.sibling;return P}function c(P,T){return P=tr(P,T),P.index=0,P.sibling=null,P}function f(P,T,j){return P.index=j,e?(j=P.alternate,j!==null?(j=j.index,j<T?(P.flags|=2,T):j):(P.flags|=2,T)):(P.flags|=1048576,T)}function m(P){return e&&P.alternate===null&&(P.flags|=2),P}function x(P,T,j,W){return T===null||T.tag!==6?(T=Iu(j,P.mode,W),T.return=P,T):(T=c(T,j),T.return=P,T)}function E(P,T,j,W){var se=j.type;return se===oe?q(P,T,j.props.children,W,j.key):T!==null&&(T.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===fe&&jf(se)===T.type)?(W=c(T,j.props),W.ref=xi(P,T,j),W.return=P,W):(W=da(j.type,j.key,j.props,null,P.mode,W),W.ref=xi(P,T,j),W.return=P,W)}function M(P,T,j,W){return T===null||T.tag!==4||T.stateNode.containerInfo!==j.containerInfo||T.stateNode.implementation!==j.implementation?(T=Du(j,P.mode,W),T.return=P,T):(T=c(T,j.children||[]),T.return=P,T)}function q(P,T,j,W,se){return T===null||T.tag!==7?(T=jr(j,P.mode,W,se),T.return=P,T):(T=c(T,j),T.return=P,T)}function V(P,T,j){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Iu(""+T,P.mode,j),T.return=P,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case H:return j=da(T.type,T.key,T.props,null,P.mode,j),j.ref=xi(P,null,T),j.return=P,j;case Q:return T=Du(T,P.mode,j),T.return=P,T;case fe:var W=T._init;return V(P,W(T._payload),j)}if(Dn(T)||ie(T))return T=jr(T,P.mode,j,null),T.return=P,T;Bo(P,T)}return null}function $(P,T,j,W){var se=T!==null?T.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return se!==null?null:x(P,T,""+j,W);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case H:return j.key===se?E(P,T,j,W):null;case Q:return j.key===se?M(P,T,j,W):null;case fe:return se=j._init,$(P,T,se(j._payload),W)}if(Dn(j)||ie(j))return se!==null?null:q(P,T,j,W,null);Bo(P,j)}return null}function J(P,T,j,W,se){if(typeof W=="string"&&W!==""||typeof W=="number")return P=P.get(j)||null,x(T,P,""+W,se);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case H:return P=P.get(W.key===null?j:W.key)||null,E(T,P,W,se);case Q:return P=P.get(W.key===null?j:W.key)||null,M(T,P,W,se);case fe:var ae=W._init;return J(P,T,j,ae(W._payload),se)}if(Dn(W)||ie(W))return P=P.get(j)||null,q(T,P,W,se,null);Bo(T,W)}return null}function ee(P,T,j,W){for(var se=null,ae=null,le=T,me=T=0,st=null;le!==null&&me<j.length;me++){le.index>me?(st=le,le=null):st=le.sibling;var Oe=$(P,le,j[me],W);if(Oe===null){le===null&&(le=st);break}e&&le&&Oe.alternate===null&&r(P,le),T=f(Oe,T,me),ae===null?se=Oe:ae.sibling=Oe,ae=Oe,le=st}if(me===j.length)return i(P,le),Be&&kr(P,me),se;if(le===null){for(;me<j.length;me++)le=V(P,j[me],W),le!==null&&(T=f(le,T,me),ae===null?se=le:ae.sibling=le,ae
vendor: 10,982 bytes, line 38
38=le);return Be&&kr(P,me),se}for(le=a(P,le);me<j.length;me++)st=J(le,P,me,j[me],W),st!==null&&(e&&st.alternate!==null&&le.delete(st.key===null?me:st.key),T=f(st,T,me),ae===null?se=st:ae.sibling=st,ae=st);return e&&le.forEach(function(nr){return r(P,nr)}),Be&&kr(P,me),se}function re(P,T,j,W){var se=ie(j);if(typeof se!="function")throw Error(s(150));if(j=se.call(j),j==null)throw Error(s(151));for(var ae=se=null,le=T,me=T=0,st=null,Oe=j.next();le!==null&&!Oe.done;me++,Oe=j.next()){le.index>me?(st=le,le=null):st=le.sibling;var nr=$(P,le,Oe.value,W);if(nr===null){le===null&&(le=st);break}e&&le&&nr.alternate===null&&r(P,le),T=f(nr,T,me),ae===null?se=nr:ae.sibling=nr,ae=nr,le=st}if(Oe.done)return i(P,le),Be&&kr(P,me),se;if(le===null){for(;!Oe.done;me++,Oe=j.next())Oe=V(P,Oe.value,W),Oe!==null&&(T=f(Oe,T,me),ae===null?se=Oe:ae.sibling=Oe,ae=Oe);return Be&&kr(P,me),se}for(le=a(P,le);!Oe.done;me++,Oe=j.next())Oe=J(le,P,me,Oe.value,W),Oe!==null&&(e&&Oe.alternate!==null&&le.delete(Oe.key===null?me:Oe.key),T=f(Oe,T,me),ae===null?se=Oe:ae.sibling=Oe,ae=Oe);return e&&le.forEach(function(z0){return r(P,z0)}),Be&&kr(P,me),se}function Qe(P,T,j,W){if(typeof j=="object"&&j!==null&&j.type===oe&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case H:e:{for(var se=j.key,ae=T;ae!==null;){if(ae.key===se){if(se=j.type,se===oe){if(ae.tag===7){i(P,ae.sibling),T=c(ae,j.props.children),T.return=P,P=T;break e}}else if(ae.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===fe&&jf(se)===ae.type){i(P,ae.sibling),T=c(ae,j.props),T.ref=xi(P,ae,j),T.return=P,P=T;break e}i(P,ae);break}else r(P,ae);ae=ae.sibling}j.type===oe?(T=jr(j.props.children,P.mode,W,j.key),T.return=P,P=T):(W=da(j.type,j.key,j.props,null,P.mode,W),W.ref=xi(P,T,j),W.return=P,P=W)}return m(P);case Q:e:{for(ae=j.key;T!==null;){if(T.key===ae)if(T.tag===4&&T.stateNode.containerInfo===j.containerInfo&&T.stateNode.implementation===j.implementation){i(P,T.sibling),T=c(T,j.children||[]),T.return=P,P=T;break e}else{i(P,T);break}else r(P,T);T=T.sibling}T=Du(j,P.mode,W),T.return=P,P=T}return m(P);case fe:return ae=j._init,Qe(P,T,ae(j._payload),W)}if(Dn(j))return ee(P,T,j,W);if(ie(j))return re(P,T,j,W);Bo(P,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,T!==null&&T.tag===6?(i(P,T.sibling),T=c(T,j),T.return=P,P=T):(i(P,T),T=Iu(j,P.mode,W),T.return=P,P=T),m(P)):i(P,T)}return Qe}var ws=Lf(!0),If=Lf(!1),$o=Vn(null),Ho=null,xs=null,Vl=null;function Wl(){Vl=xs=Ho=null}function Ql(e){var r=$o.current;ze($o),e._currentValue=r}function Kl(e,r,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,a!==null&&(a.childLanes|=r)):a!==null&&(a.childLanes&r)!==r&&(a.childLanes|=r),e===i)break;e=e.return}}function _s(e,r){Ho=e,Vl=xs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(kt=!0),e.firstContext=null)}function $t(e){var r=e._currentValue;if(Vl!==e)if(e={context:e,memoizedValue:r,next:null},xs===null){if(Ho===null)throw Error(s(308));xs=e,Ho.dependencies={lanes:0,firstContext:e}}else xs=xs.next=e;return r}var Cr=null;function Gl(e){Cr===null?Cr=[e]:Cr.push(e)}function Df(e,r,i,a){var c=r.interleaved;return c===null?(i.next=i,Gl(r)):(i.next=c.next,c.next=i),r.interleaved=i,Tn(e,a)}function Tn(e,r){e.lanes|=r;var i=e.alternate;for(i!==null&&(i.lanes|=r),i=e,e=e.return;e!==null;)e.childLanes|=r,i=e.alternate,i!==null&&(i.childLanes|=r),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Kn=!1;function Yl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mf(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rn(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function Gn(e,r,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var c=a.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),a.pending=r,Tn(e,i)}return c=a.interleaved,c===null?(r.next=r,Gl(a)):(r.next=c.next,c.next=r),a.interleaved=r,Tn(e,i)}function qo(e,r,i){if(r=r.updateQueue,r!==null&&(r=r.shared,(i&4194240)!==0)){var a=r.lanes;a&=e.pendingLanes,i|=a,r.lanes=i,cl(e,i)}}function Uf(e,r){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=r:f=f.next=r}else c=f=r;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=r:e.next=r,i.lastBaseUpdate=r}function Vo(e,r,i,a){var c=e.updateQueue;Kn=!1;var f=c.firstBaseUpdate,m=c.lastBaseUpdate,x=c.shared.pending;if(x!==null){c.shared.pending=null;var E=x,M=E.next;E.next=null,m===null?f=M:m.next=M,m=E;var q=e.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==m&&(x===null?q.firstBaseUpdate=M:x.next=M,q.lastBaseUpdate=E))}if(f!==null){var V=c.baseState;m=0,q=M=E=null,x=f;do{var $=x.lane,J=x.eventTime;if((a&$)===$){q!==null&&(q=q.next={eventTime:J,lane:0,tag:x.tag,payload:x.payload,callback:x.callback,next:null});e:{var ee=e,re=x;switch($=r,J=i,re.tag){case 1:if(ee=re.payload,typeof ee=="function"){V=ee.call(J,V,$);break e}V=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=re.payload,$=typeof ee=="function"?ee.call(J,V,$):ee,$==null)break e;V=F({},V,$);break e;case 2:Kn=!0}}x.callback!==null&&x.lane!==0&&(e.flags|=64,$=c.effects,$===null?c.effects=[x]:$.push(x))}else J={eventTime:J,lane:$,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(M=q=J,E=V):q=q.next=J,m|=$;if(x=x.next,x===null){if(x=c.shared.pending,x===null)break;$=x,x=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);if(q===null&&(E=V),c.baseState=E,c.firstBaseUpdate=M,c.lastBaseUpdate=q,r=c.shared.interleaved,r!==null){c=r;do m|=c.lane,c=c.next;while(c!==r)}else f===null&&(c.shared.lanes=0);Nr|=m,e.lanes=m,e.memoizedState=V}}function Ff(e,r,i){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var a=e[r],c=a.callback;if(c!==null){if(a.callback=null,a=i,typeof c!="function")throw Error(s(191,c));c.call(a)}}}var _i={},hn=Vn(_i),bi=Vn(_i),Si=Vn(_i);function Tr(e){if(e===_i)throw Error(s(174));return e}function Jl(e,r){switch(Me(Si,r),Me(bi,e),Me(hn,_i),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Xa(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=Xa(r,e)}ze(hn),Me(hn,r)}function bs(){ze(hn),ze(bi),ze(Si)}function zf(e){Tr(Si.current);var r=Tr(hn.current),i=Xa(r,e.type);r!==i&&(Me(bi,e),Me(hn,i))}function Xl(e){bi.current===e&&(ze(hn),ze(bi))}var $e=Vn(0);function Wo(e){for(var r=e;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Zl=[];function eu(){for(var e=0;e<Zl.length;e++)Zl[e]._workInProgressVersionPrimary=null;Zl.length=0}var Qo=A.ReactCurrentDispatcher,tu=A.ReactCurrentBatchConfig,Rr=0,He=null,Xe=null,nt=null,Ko=!1,Ei=!1,ki=0,l0=0;function pt(){throw Error(s(321))}function nu(e,r){if(r===null)return!1;for(var i=0;i<r.length&&i<e.length;i++)if(!tn(e[i],r[i]))return!1;return!0}function ru(e,r,i,a,c,f){if(Rr=f,He=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Qo.current=e===null||e.memoizedState===null?f0:h0,e=i(a,c),Ei){f=0;do{if(Ei=!1,ki=0,25<=f)throw Error(s(301));f+=1,nt=Xe=null,r.updateQueue=null,Qo.current=p0,e=i(a,c)}while(Ei)}if(Qo.current=Jo,r=Xe!==null&&Xe.next!==null,Rr=0,nt=Xe=He=null,Ko=!1,r)throw Error(s(300));return e}function su(){var e=ki!==0;return ki=0,e}function pn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?He.memoizedState=nt=e:nt=nt.next=e,nt}function Ht(){if(Xe===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var r=nt===null?He.memoizedState:nt.next;if(r!==null)nt=r,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?He.memoizedState=nt=e:nt=nt.next=e}return nt}function Ci(e,r){return typeof r=="function"?r(e):r}function iu(e){var r=Ht(),i=r.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 x=m=null,E=null,M=f;do{var q=M.lane;if((Rr&q)===q)E!==null&&(E=E.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),a=M.hasEagerState?M.eagerState:e(a,M.action);else{var V={lane:q,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};E===null?(x=E=V,m=a):E=E.next=V,He.lanes|=q,Nr|=q}M=M.next}while(M!==null&&M!==f);E===null?m=a:E.next=x,tn(a,r.memoizedState)||(kt=!0),r.memoizedState=a,r.baseState=m,r.baseQueue=E,i.lastRenderedState=a}if(e=i.interleaved,e!==null){c=e;do f=c.lane,He.lanes|=f,Nr|=f,c=c.next;while(c!==e)}else c===null&&(i.lanes=0);return[r.memoizedState,i.dispatch]}function ou(e){var r=Ht(),i=r.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var a=i.dispatch,c=i.pending,f=r.memoizedState;if(c!==null){i.pending=null;var m=c=c.next;do f=e(f,m.action),m=m.next;while(m!==c);tn(f,r.memoizedState)||(kt=!0),r.memoizedState=f,r.baseQueue===null&&(r.baseState=f),i.lastRenderedState=f}return[f,a]}function Bf(){}function $f(e,r){var i=He,a=Ht(),c=r(),f=!tn(a.memoizedState,c);if(f&&(a.memoizedState=c,kt=!0),a=a.queue,au(Vf.bind(null,i,a,e),[e]),a.getSnapshot!==r||f||nt!==null&&nt.memoizedState.tag&1){if(i.flags|=2048,Ti(9,qf.bind(null,i,a,c,r),void 0,null),rt===null)throw Error(s(349));(Rr&30)!==0||Hf(i,r,c)}return c}function Hf(e,r,i){e.flags|=16384,e={getSnapshot:r,value:i},r=He.updateQueue,r===null?(r={lastEffect:null,stores:null},He.updateQueue=r,r.stores=[e]):(i=r.stores,i===null?r.stores=[e]:i.push(e))}function qf(e,r,i,a){r.value=i,r.getSnapshot=a,Wf(r)&&Qf(e)}function Vf(e,r,i){return i(function(){Wf(r)&&Qf(e)})}function Wf(e){var r=e.getSnapshot;e=e.value;try{var i=r();return!tn(e,i)}catch{return!0}}function Qf(e){var r=Tn(e,1);r!==null&&an(r,e,1,-1)}function Kf(e){var r=pn();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:e},r.queue=e,e=e.dispatch=d0.bind(null,He,e),[r.memoizedState,e]}
vendor: 5,780 bytes, line 38
38function Ti(e,r,i,a){return e={tag:e,create:r,destroy:i,deps:a,next:null},r=He.updateQueue,r===null?(r={lastEffect:null,stores:null},He.updateQueue=r,r.lastEffect=e.next=e):(i=r.lastEffect,i===null?r.lastEffect=e.next=e:(a=i.next,i.next=e,e.next=a,r.lastEffect=e)),e}function Gf(){return Ht().memoizedState}function Go(e,r,i,a){var c=pn();He.flags|=e,c.memoizedState=Ti(1|r,i,void 0,a===void 0?null:a)}function Yo(e,r,i,a){var c=Ht();a=a===void 0?null:a;var f=void 0;if(Xe!==null){var m=Xe.memoizedState;if(f=m.destroy,a!==null&&nu(a,m.deps)){c.memoizedState=Ti(r,i,f,a);return}}He.flags|=e,c.memoizedState=Ti(1|r,i,f,a)}function Yf(e,r){return Go(8390656,8,e,r)}function au(e,r){return Yo(2048,8,e,r)}function Jf(e,r){return Yo(4,2,e,r)}function Xf(e,r){return Yo(4,4,e,r)}function Zf(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function eh(e,r,i){return i=i!=null?i.concat([e]):null,Yo(4,4,Zf.bind(null,r,e),i)}function lu(){}function th(e,r){var i=Ht();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&nu(r,a[1])?a[0]:(i.memoizedState=[e,r],e)}function nh(e,r){var i=Ht();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&nu(r,a[1])?a[0]:(e=e(),i.memoizedState=[e,r],e)}function rh(e,r,i){return(Rr&21)===0?(e.baseState&&(e.baseState=!1,kt=!0),e.memoizedState=i):(tn(i,r)||(i=Ad(),He.lanes|=i,Nr|=i,e.baseState=!0),r)}function u0(e,r){var i=Ie;Ie=i!==0&&4>i?i:4,e(!0);var a=tu.transition;tu.transition={};try{e(!1),r()}finally{Ie=i,tu.transition=a}}function sh(){return Ht().memoizedState}function c0(e,r,i){var a=Zn(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},ih(e))oh(r,i);else if(i=Df(e,r,i,a),i!==null){var c=_t();an(i,e,a,c),ah(i,r,a)}}function d0(e,r,i){var a=Zn(e),c={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(ih(e))oh(r,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=r.lastRenderedReducer,f!==null))try{var m=r.lastRenderedState,x=f(m,i);if(c.hasEagerState=!0,c.eagerState=x,tn(x,m)){var E=r.interleaved;E===null?(c.next=c,Gl(r)):(c.next=E.next,E.next=c),r.interleaved=c;return}}catch{}finally{}i=Df(e,r,c,a),i!==null&&(c=_t(),an(i,e,a,c),ah(i,r,a))}}function ih(e){var r=e.alternate;return e===He||r!==null&&r===He}function oh(e,r){Ei=Ko=!0;var i=e.pending;i===null?r.next=r:(r.next=i.next,i.next=r),e.pending=r}function ah(e,r,i){if((i&4194240)!==0){var a=r.lanes;a&=e.pendingLanes,i|=a,r.lanes=i,cl(e,i)}}var Jo={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},f0={readContext:$t,useCallback:function(e,r){return pn().memoizedState=[e,r===void 0?null:r],e},useContext:$t,useEffect:Yf,useImperativeHandle:function(e,r,i){return i=i!=null?i.concat([e]):null,Go(4194308,4,Zf.bind(null,r,e),i)},useLayoutEffect:function(e,r){return Go(4194308,4,e,r)},useInsertionEffect:function(e,r){return Go(4,2,e,r)},useMemo:function(e,r){var i=pn();return r=r===void 0?null:r,e=e(),i.memoizedState=[e,r],e},useReducer:function(e,r,i){var a=pn();return r=i!==void 0?i(r):r,a.memoizedState=a.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=c0.bind(null,He,e),[a.memoizedState,e]},useRef:function(e){var r=pn();return e={current:e},r.memoizedState=e},useState:Kf,useDebugValue:lu,useDeferredValue:function(e){return pn().memoizedState=e},useTransition:function(){var e=Kf(!1),r=e[0];return e=u0.bind(null,e[1]),pn().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,i){var a=He,c=pn();if(Be){if(i===void 0)throw Error(s(407));i=i()}else{if(i=r(),rt===null)throw Error(s(349));(Rr&30)!==0||Hf(a,r,i)}c.memoizedState=i;var f={value:i,getSnapshot:r};return c.queue=f,Yf(Vf.bind(null,a,f,e),[e]),a.flags|=2048,Ti(9,qf.bind(null,a,f,i,r),void 0,null),i},useId:function(){var e=pn(),r=rt.identifierPrefix;if(Be){var i=Cn,a=kn;i=(a&~(1<<32-en(a)-1)).toString(32)+i,r=":"+r+"R"+i,i=ki++,0<i&&(r+="H"+i.toString(32)),r+=":"}else i=l0++,r=":"+r+"r"+i.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},h0={readContext:$t,useCallback:th,useContext:$t,useEffect:au,useImperativeHandle:eh,useInsertionEffect:Jf,useLayoutEffect:Xf,useMemo:nh,useReducer:iu,useRef:Gf,useState:function(){return iu(Ci)},useDebugValue:lu,useDeferredValue:function(e){var r=Ht();return rh(r,Xe.memoizedState,e)},useTransition:function(){var e=iu(Ci)[0],r=Ht().memoizedState;return[e,r]},useMutableSource:Bf,useSyncExternalStore:$f,useId:sh,unstable_isNewReconciler:!1},p0={readContext:$t,useCallback:th,useContext:$t,useEffect:au,useImperativeHandle:eh,useInsertionEffect:Jf,useLayoutEffect:Xf,useMemo:nh,useReducer:ou,useRef:Gf,useState:function(){return ou(Ci)},useDebugValue:lu,useDeferredValue:function(e){var r=Ht();return Xe===null?r.memoizedState=e:rh(r,Xe.memoizedState,e)},useTransition:function(){var e=ou(Ci)[0],r=Ht().memoizedState;return[e,r]},useMutableSource:Bf,useSyncExternalStore:$f,useId:sh,unstable_isNewReconciler:!1};function rn(e,r){if(e&&e.defaultProps){r=F({},r),e=e.defaultProps;for(var i in e)r[i]===void 0&&(r[i]=e[i]);return r}return r}function uu(e,r,i,a){r=e.memoizedState,i=i(a,r),i=i==null?r:F({},r,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Xo={isMounted:function(e){return(e=e._reactInternals)?_r(e)===e:!1},enqueueSetState:function(e,r,i){e=e._reactInternals;var a=_t(),c=Zn(e),f=Rn(a,c);f.payload=r,i!=null&&(f.callback=i),r=Gn(e,f,c),r!==null&&(an(r,e,c,a),qo(r,e,c)
vendor: 5,184 bytes, lines 38-40
38)},enqueueReplaceState:function(e,r,i){e=e._reactInternals;var a=_t(),c=Zn(e),f=Rn(a,c);f.tag=1,f.payload=r,i!=null&&(f.callback=i),r=Gn(e,f,c),r!==null&&(an(r,e,c,a),qo(r,e,c))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var i=_t(),a=Zn(e),c=Rn(i,a);c.tag=2,r!=null&&(c.callback=r),r=Gn(e,c,a),r!==null&&(an(r,e,a,i),qo(r,e,a))}};function lh(e,r,i,a,c,f,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,f,m):r.prototype&&r.prototype.isPureReactComponent?!hi(i,a)||!hi(c,f):!0}function uh(e,r,i){var a=!1,c=Wn,f=r.contextType;return typeof f=="object"&&f!==null?f=$t(f):(c=Et(r)?Sr:ht.current,a=r.contextTypes,f=(a=a!=null)?ms(e,c):Wn),r=new r(i,f),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Xo,e.stateNode=r,r._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=f),r}function ch(e,r,i,a){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(i,a),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(i,a),r.state!==e&&Xo.enqueueReplaceState(r,r.state,null)}function cu(e,r,i,a){var c=e.stateNode;c.props=i,c.state=e.memoizedState,c.refs={},Yl(e);var f=r.contextType;typeof f=="object"&&f!==null?c.context=$t(f):(f=Et(r)?Sr:ht.current,c.context=ms(e,f)),c.state=e.memoizedState,f=r.getDerivedStateFromProps,typeof f=="function"&&(uu(e,r,f,i),c.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&Xo.enqueueReplaceState(c,c.state,null),Vo(e,i,c,a),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function Ss(e,r){try{var i="",a=r;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:r,stack:c,digest:null}}function du(e,r,i){return{value:e,source:null,stack:i??null,digest:r??null}}function fu(e,r){try{console.error(r.value)}catch(i){setTimeout(function(){throw i})}}var m0=typeof WeakMap=="function"?WeakMap:Map;function dh(e,r,i){i=Rn(-1,i),i.tag=3,i.payload={element:null};var a=r.value;return i.callback=function(){ia||(ia=!0,Tu=a),fu(e,r)},i}function fh(e,r,i){i=Rn(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var c=r.value;i.payload=function(){return a(c)},i.callback=function(){fu(e,r)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(i.callback=function(){fu(e,r),typeof a!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var m=r.stack;this.componentDidCatch(r.value,{componentStack:m!==null?m:""})}),i}function hh(e,r,i){var a=e.pingCache;if(a===null){a=e.pingCache=new m0;var c=new Set;a.set(r,c)}else c=a.get(r),c===void 0&&(c=new Set,a.set(r,c));c.has(i)||(c.add(i),e=N0.bind(null,e,r,i),r.then(e,e))}function ph(e){do{var r;if((r=e.tag===13)&&(r=e.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return e;e=e.return}while(e!==null);return null}function mh(e,r,i,a,c){return(e.mode&1)===0?(e===r?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(r=Rn(-1,1),r.tag=2,Gn(i,r,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var g0=A.ReactCurrentOwner,kt=!1;function xt(e,r,i,a){r.child=e===null?If(r,null,i,a):ws(r,e.child,i,a)}function gh(e,r,i,a,c){i=i.render;var f=r.ref;return _s(r,c),a=ru(e,r,i,a,f,c),i=su(),e!==null&&!kt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~c,Nn(e,r,c)):(Be&&i&&zl(r),r.flags|=1,xt(e,r,a,c),r.child)}function yh(e,r,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?(r.tag=15,r.type=f,vh(e,r,f,a,c)):(e=da(i.type,null,a,r,r.mode,c),e.ref=r.ref,e.return=r,r.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===r.ref)return Nn(e,r,c)}return r.flags|=1,e=tr(f,a),e.ref=r.ref,e.return=r,r.child=e}function vh(e,r,i,a,c){if(e!==null){var f=e.memoizedProps;if(hi(f,a)&&e.ref===r.ref)if(kt=!1,r.pendingProps=a=f,(e.lanes&c)!==0)(e.flags&131072)!==0&&(kt=!0);else return r.lanes=e.lanes,Nn(e,r,c)}return hu(e,r,i,a,c)}function wh(e,r,i){var a=r.pendingProps,c=a.children,f=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(ks,It),It|=i;else{if((i&1073741824)===0)return e=f!==null?f.baseLanes|i:i,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e,cachePool:null,transitions:null},r.updateQueue=null,Me(ks,It),It|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=f!==null?f.baseLanes:i,Me(ks,It),It|=a}else f!==null?(a=f.baseLanes|i,r.memoizedState=null):a=i,Me(ks,It),It|=a;return xt(e,r,c,i),r.child}function xh(e,r){var i=r.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(r.flags|=512,r.flags|=2097152)}
vendor: 10,642 bytes, line 40
40function hu(e,r,i,a,c){var f=Et(i)?Sr:ht.current;return f=ms(r,f),_s(r,c),i=ru(e,r,i,a,f,c),a=su(),e!==null&&!kt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~c,Nn(e,r,c)):(Be&&a&&zl(r),r.flags|=1,xt(e,r,i,c),r.child)}function _h(e,r,i,a,c){if(Et(i)){var f=!0;Do(r)}else f=!1;if(_s(r,c),r.stateNode===null)ea(e,r),uh(r,i,a),cu(r,i,a,c),a=!0;else if(e===null){var m=r.stateNode,x=r.memoizedProps;m.props=x;var E=m.context,M=i.contextType;typeof M=="object"&&M!==null?M=$t(M):(M=Et(i)?Sr:ht.current,M=ms(r,M));var q=i.getDerivedStateFromProps,V=typeof q=="function"||typeof m.getSnapshotBeforeUpdate=="function";V||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(x!==a||E!==M)&&ch(r,m,a,M),Kn=!1;var $=r.memoizedState;m.state=$,Vo(r,a,m,c),E=r.memoizedState,x!==a||$!==E||St.current||Kn?(typeof q=="function"&&(uu(r,i,q,a),E=r.memoizedState),(x=Kn||lh(r,i,x,a,$,E,M))?(V||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"&&(r.flags|=4194308)):(typeof m.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=E),m.props=a,m.state=E,m.context=M,a=x):(typeof m.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{m=r.stateNode,Mf(e,r),x=r.memoizedProps,M=r.type===r.elementType?x:rn(r.type,x),m.props=M,V=r.pendingProps,$=m.context,E=i.contextType,typeof E=="object"&&E!==null?E=$t(E):(E=Et(i)?Sr:ht.current,E=ms(r,E));var J=i.getDerivedStateFromProps;(q=typeof J=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(x!==V||$!==E)&&ch(r,m,a,E),Kn=!1,$=r.memoizedState,m.state=$,Vo(r,a,m,c);var ee=r.memoizedState;x!==V||$!==ee||St.current||Kn?(typeof J=="function"&&(uu(r,i,J,a),ee=r.memoizedState),(M=Kn||lh(r,i,M,a,$,ee,E)||!1)?(q||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(a,ee,E),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(a,ee,E)),typeof m.componentDidUpdate=="function"&&(r.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof m.componentDidUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(r.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=ee),m.props=a,m.state=ee,m.context=E,a=M):(typeof m.componentDidUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(r.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&$===e.memoizedState||(r.flags|=1024),a=!1)}return pu(e,r,i,a,f,c)}function pu(e,r,i,a,c,f){xh(e,r);var m=(r.flags&128)!==0;if(!a&&!m)return c&&Cf(r,i,!1),Nn(e,r,f);a=r.stateNode,g0.current=r;var x=m&&typeof i.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,e!==null&&m?(r.child=ws(r,e.child,null,f),r.child=ws(r,null,x,f)):xt(e,r,x,f),r.memoizedState=a.state,c&&Cf(r,i,!0),r.child}function bh(e){var r=e.stateNode;r.pendingContext?Ef(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Ef(e,r.context,!1),Jl(e,r.containerInfo)}function Sh(e,r,i,a,c){return vs(),ql(c),r.flags|=256,xt(e,r,i,a),r.child}var mu={dehydrated:null,treeContext:null,retryLane:0};function gu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Eh(e,r,i){var a=r.pendingProps,c=$e.current,f=!1,m=(r.flags&128)!==0,x;if((x=m)||(x=e!==null&&e.memoizedState===null?!1:(c&2)!==0),x?(f=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),Me($e,c&1),e===null)return Hl(r),e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((r.mode&1)===0?r.lanes=1:e.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(m=a.children,e=a.fallback,f?(a=r.mode,f=r.child,m={mode:"hidden",children:m},(a&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=m):f=fa(m,a,0,null),e=jr(e,a,i,null),f.return=r,e.return=r,f.sibling=e,r.child=f,r.child.memoizedState=gu(i),r.memoizedState=mu,e):yu(r,m));if(c=e.memoizedState,c!==null&&(x=c.dehydrated,x!==null))return y0(e,r,m,a,x,c,i);if(f){f=a.fallback,m=r.mode,c=e.child,x=c.sibling;var E={mode:"hidden",children:a.children};return(m&1)===0&&r.child!==c?(a=r.child,a.childLanes=0,a.pendingProps=E,r.deletions=null):(a=tr(c,E),a.subtreeFlags=c.subtreeFlags&14680064),x!==null?f=tr(x,f):(f=jr(f,m,i,null),f.flags|=2),f.return=r,a.return=r,a.sibling=f,r.child=a,a=f,f=r.child,m=e.child.memoizedState,m=m===null?gu(i):{baseLanes:m.baseLanes|i,cachePool:null,transitions:m.transitions},f.memoizedState=m,f.childLanes=e.childLanes&~i,r.memoizedState=mu,a}return f=e.child,e=f.sibling,a=tr(f,{mode:"visible",children:a.children}),(r.mode&1)===0&&(a.lanes=i),a.return=r,a.sibling=null,e!==null&&(i=r.deletions,i===null?(r.deletions=[e],r.flags|=16):i.push(e)),r.child=a,r.memoizedState=null,a}function yu(e,r){return r=fa({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function Zo(e,r,i,a){return a!==null&&ql(a),ws(r,e.child,null,i),e=yu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function y0(e,r,i,a,c,f,m){if(i)return r.flags&256?(r.flags&=-257,a=du(Error(s(422))),Zo(e,r,m,a)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(f=a.fallback,c=r.mode,a=fa({mode:"visible",children:a.children},c,0,null),f=jr(f,c,m,null),f.flags|=2,a.return=r,f.return=r,a.sibling=f,r.child=a,(r.mode&1)!==0&&ws(r,e.child,null,m),r.child.memoizedState=gu(m),r.memoizedState=mu,f);if((r.mode&1)===0)return Zo(e,r,m,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var x=a.dgst;return a=x,f=Error(s(419)),a=du(f,a,void 0),Zo(e,r,m,a)}if(x=(m&e.childLanes)!==0,kt||x){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,Tn(e,c),an(a,e,c,-1))}return ju(),a=du(Error(s(421))),Zo(e,r,m,a)}return c.data==="$?"?(r.flags|=128,r.child=e.child,r=O0.bind(null,e),c._reactRetry=r,null):(e=f.treeContext,Lt=qn(c.nextSibling),jt=r,Be=!0,nn=null,e!==null&&(zt[Bt++]=kn,zt[Bt++]=Cn,zt[Bt++]=Er,kn=e.id,Cn=e.overflow,Er=r),r=yu(r,a.children),r.flags|=4096,r)}function kh(e,r,i){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r),Kl(e.return,r,i)}function vu(e,r,i,a,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:c}:(f.isBackwards=r,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=i,f.tailMode=c)}function Ch(e,r,i){var a=r.pendingProps,c=a.revealOrder,f=a.tail;if(xt(e,r,a.children,i),a=$e.current,(a&2)!==0)a=a&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kh(e,i,r);else if(e.tag===19)kh(e,i,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Me($e,a),(r.mode&1)===0)r.memoizedState=null;else switch(c){case"forwards":for(i=r.child,c=null;i!==null;)e=i.alternate,e!==null&&Wo(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=r.child,r.child=null):(c=i.sibling,i.sibling=null),vu(r,!1,c,i,f);break;case"backwards":for(i=null,c=r.child,r.child=null;c!==null;){if(e=c.alternate,e!==null&&Wo(e)===null){r.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}vu(r,!0,i,null,f);break;case"together":vu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function ea(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function Nn(e,r,i){if(e!==null&&(r.dependencies=e.dependencies),Nr|=r.lanes,(i&r.childLanes)===0)return null;if(e!==null&&r.child!==e.child)throw Error(s(153));if(r.child!==null){for(e=r.child,i=tr(e,e.pendingProps),r.child=i,i.return=r;e.sibling!==null;)e=e.sibling,i=i.sibling=tr(e,e.pendingProps),i.return=r;i.sibling=null}return r.child}function v0(e,r,i){switch(r.tag){case 3:bh(r),vs();break;case 5:zf(r);break;case 1:Et(r.type)&&Do(r);break;case 4:Jl(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,c=r.memoizedProps.value;Me($o,a._currentValue),a._currentValue=c;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(Me($e,$e.current&1),r.flags|=128,null):(i&r.child.childLanes)!==0?Eh(e,r,i):(Me($e,$e.current&1),e=Nn(e,r,i),e!==null?e.sibling:null);Me($e,$e.current&1);break;case 19:if(a=(i&r.childLanes)!==0,(e.flags&128)!==0){if(a)return Ch(e,r,i);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Me($e,$e.current),a)break;return null;case 22:case 23:return r.lanes=0,wh(e,r,i)}return Nn(e,r,i)}var Th,wu,Rh,Nh;Th=function(e,r){for(var i=r.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===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},wu=function(){},Rh=function(e,r,i,a){var c=e.memoizedProps;if(c!==a){e=r.stateNode,Tr(hn.current);var f=null;switch(i){case"input":c=Ut(e,c),a=Ut(e,a),f=[];break;case"select":c=F({},c,{value:void 0}),a=F({},a,{value:void 0}),f=[];break;case"textarea":c=bn(e,c),a=bn(e,a),f=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=jo)}Za(i,a);var m;i=null;for(M in c)if(!a.hasOwnProperty(M)&&c.hasOwnProperty(M)&&c[M]!=null)if(M==="style"){var x=c[M];for(m in x)x.hasOwnProperty(m)&&(i||(i={}),i[m]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(l.hasOwnProperty(M)?f||(f=[]):(f=f||[]).push(M,null));for(M in a){var E=a[M];if(x=c!=null?c[M]:void 0,a.hasOwnProperty(M)&&E!==x&&(E!=null||x!=null))if(M==="style")if(x){for(m in x)!x.hasOwnProperty(m)||E&&E.hasOwnProperty(m)||(i||(i={}),i[m]="");for(m in E)E.hasOwnProperty(m)&&x[m]!==E[m]&&(i||(i={}),i[m]=E[m])}else i||(f||(f=[]),f.push(M,i)),i=E;else M==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,x=x?x.__html:void 0,E!=null&&x!==E&&(f=f||[]).push(M,E)):M==="children"?typeof E!="str
40ing"&&typeof E!="number"||(f=f||[]).push(M,""+E):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(l.hasOwnProperty(M)?(E!=null&&M==="onScroll"&&Fe("scroll",e),f||x===E||(f=[])):(f=f||[]).push(M,E))}i&&(f=f||[]).push("style",i);var M=f;(r.updateQueue=M)&&(r.flags|=4)}},Nh=function(e,r,i,a){i!==a&&(r.flags|=4)};function Ri(e,r){if(!Be)switch(e.tailMode){case"hidden":r=e.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.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?r||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function mt(e){var r=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(r)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,r}function w0(e,r,i){var a=r.pendingProps;switch(Bl(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(r),null;case 1:return Et(r.type)&&Io(),mt(r),null;case 3:return a=r.stateNode,bs(),ze(St),ze(ht),eu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(zo(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,nn!==null&&(Ou(nn),nn=null))),wu(e,r),mt(r),null;case 5:Xl(r);var c=Tr(Si.current);if(i=r.type,e!==null&&r.stateNode!=null)Rh(e,r,i,a,c),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!a){if(r.stateNode===null)throw Error(s(166));return mt(r),null}if(e=Tr(hn.current),zo(r)){a=r.stateNode,i=r.type;var f=r.memoizedProps;switch(a[fn]=r,a[vi]=f,e=(r.mode&1)!==0,i){case"dialog":Fe("cancel",a),Fe("close",a);break;case"iframe":case"object":case"embed":Fe("load",a);break;case"video":case"audio":for(c=0;c<mi.length;c++)Fe(mi[c],a);break;case"source":Fe("error",a);break;case"img":case"image":case"link":Fe("error",a),Fe("load",a);break;case"details":Fe("toggle",a);break;case"input":Ft(a,f),Fe("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!f.multiple},Fe("invalid",a);break;case"textarea":dd(a,f),Fe("invalid",a)}Za(i,f),c=null;for(var m in f)if(f.hasOwnProperty(m)){var x=f[m];m==="children"?typeof x=="string"?a.textContent!==x&&(f.suppressHydrationWarning!==!0&&Ao(a.textContent,x,e),c=["children",x]):typeof x=="number"&&a.textContent!==""+x&&(f.suppressHydrationWarning!==!0&&Ao(a.textContent,x,e),c=["children",""+x]):l.hasOwnProperty(m)&&x!=null&&m==="onScroll"&&Fe("scroll",a)}switch(i){case"input":Mt(a),Xt(a,f,!0);break;case"textarea":Mt(a),hd(a);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(a.onclick=jo)}a=c,r.updateQueue=a,a!==null&&(r.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[fn]=r,e[vi]=a,Th(e,r,!1,!1),r.stateNode=e;e:{switch(m=el(i,a),i){case"dialog":Fe("cancel",e),Fe("close",e),c=a;break;case"iframe":case"object":case"embed":Fe("load",e),c=a;break;case"video":case"audio":for(c=0;c<mi.length;c++)Fe(mi[c],e);c=a;break;case"source":Fe("error",e),c=a;break;case"img":case"image":case"link":Fe("error",e),Fe("load",e),c=a;break;case"details":Fe("toggle",e),c=a;break;case"input":Ft(e,a),c=Ut(e,a),Fe("invalid",e);break;case"option":c=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},c=F({},a,{value:void 0}),Fe("invalid",e);break;case"textarea":dd(e,a),c=bn(e,a),Fe("invalid",e);break;default:c=a}Za(i,c),x=c;for(f in x)if(x.hasOwnProperty(f)){var E=x[f];f==="style"?yd(e,E):f==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&md(e,E)):f==="children"?typeof E=="string"?(i!=="textarea"||E!=="")&&Ys(e,E):typeof E=="number"&&Ys(e,""+E):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(l.hasOwnProperty(f)?E!=null&&f==="onScroll"&&Fe("scroll",e):E!=null&&L(e,f,E,m))}switch(i){case"input":Mt(e),Xt(e,a,!1);break;case"textarea":Mt(e),hd(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Se(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=jo)}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&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}
vendor: 24,425 bytes, line 40
40return mt(r),null;case 6:if(e&&r.stateNode!=null)Nh(e,r,e.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(s(166));if(i=Tr(Si.current),Tr(hn.current),zo(r)){if(a=r.stateNode,i=r.memoizedProps,a[fn]=r,(f=a.nodeValue!==i)&&(e=jt,e!==null))switch(e.tag){case 3:Ao(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ao(a.nodeValue,i,(e.mode&1)!==0)}f&&(r.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[fn]=r,r.stateNode=a}return mt(r),null;case 13:if(ze($e),a=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Be&&Lt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Af(),vs(),r.flags|=98560,f=!1;else if(f=zo(r),a!==null&&a.dehydrated!==null){if(e===null){if(!f)throw Error(s(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(s(317));f[fn]=r}else vs(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;mt(r),f=!1}else nn!==null&&(Ou(nn),nn=null),f=!0;if(!f)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=i,r):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||($e.current&1)!==0?Ze===0&&(Ze=3):ju())),r.updateQueue!==null&&(r.flags|=4),mt(r),null);case 4:return bs(),wu(e,r),e===null&&gi(r.stateNode.containerInfo),mt(r),null;case 10:return Ql(r.type._context),mt(r),null;case 17:return Et(r.type)&&Io(),mt(r),null;case 19:if(ze($e),f=r.memoizedState,f===null)return mt(r),null;if(a=(r.flags&128)!==0,m=f.rendering,m===null)if(a)Ri(f,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(m=Wo(e),m!==null){for(r.flags|=128,Ri(f,!1),a=m.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=i,i=r.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 Me($e,$e.current&1|2),r.child}e=e.sibling}f.tail!==null&&We()>Cs&&(r.flags|=128,a=!0,Ri(f,!1),r.lanes=4194304)}else{if(!a)if(e=Wo(m),e!==null){if(r.flags|=128,a=!0,i=e.updateQueue,i!==null&&(r.updateQueue=i,r.flags|=4),Ri(f,!0),f.tail===null&&f.tailMode==="hidden"&&!m.alternate&&!Be)return mt(r),null}else 2*We()-f.renderingStartTime>Cs&&i!==1073741824&&(r.flags|=128,a=!0,Ri(f,!1),r.lanes=4194304);f.isBackwards?(m.sibling=r.child,r.child=m):(i=f.last,i!==null?i.sibling=m:r.child=m,f.last=m)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=We(),r.sibling=null,i=$e.current,Me($e,a?i&1|2:i&1),r):(mt(r),null);case 22:case 23:return Au(),a=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?(It&1073741824)!==0&&(mt(r),r.subtreeFlags&6&&(r.flags|=8192)):mt(r),null;case 24:return null;case 25:return null}throw Error(s(156,r.tag))}function x0(e,r){switch(Bl(r),r.tag){case 1:return Et(r.type)&&Io(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return bs(),ze(St),ze(ht),eu(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return Xl(r),null;case 13:if(ze($e),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(s(340));vs()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return ze($e),null;case 4:return bs(),null;case 10:return Ql(r.type._context),null;case 22:case 23:return Au(),null;case 24:return null;default:return null}}var ta=!1,gt=!1,_0=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Es(e,r){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){qe(e,r,a)}else i.current=null}function xu(e,r,i){try{i()}catch(a){qe(e,r,a)}}var Oh=!1;function b0(e,r){if(Al=_o,e=lf(),El(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,x=-1,E=-1,M=0,q=0,V=e,$=null;t:for(;;){for(var J;V!==i||c!==0&&V.nodeType!==3||(x=m+c),V!==f||a!==0&&V.nodeType!==3||(E=m+a),V.nodeType===3&&(m+=V.nodeValue.length),(J=V.firstChild)!==null;)$=V,V=J;for(;;){if(V===e)break t;if($===i&&++M===c&&(x=m),$===f&&++q===a&&(E=m),(J=V.nextSibling)!==null)break;V=$,$=V.parentNode}V=J}i=x===-1||E===-1?null:{start:x,end:E}}else i=null}i=i||{start:0,end:0}}else i=null;for(jl={focusedElem:e,selectionRange:i},_o=!1,Z=r;Z!==null;)if(r=Z,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Z=e;else for(;Z!==null;){r=Z;try{var ee=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var re=ee.memoizedProps,Qe=ee.memoizedState,P=r.stateNode,T=P.getSnapshotBeforeUpdate(r.elementType===r.type?re:rn(r.type,re),Qe);P.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var j=r.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(W){qe(r,r.return,W)}if(e=r.sibling,e!==null){e.return=r.return,Z=e;break}Z=r.return}return ee=Oh,Oh=!1,ee}function Ni(e,r,i){var a=r.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&&xu(r,i,f)}c=c.next}while(c!==a)}}function na(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==r)}}function _u(e){var r=e.ref;if(r!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof r=="function"?r(e):r.current=e}}function Ph(e){var r=e.alternate;r!==null&&(e.alternate=null,Ph(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[fn],delete r[vi],delete r[Ml],delete r[s0],delete r[i0])),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 jh(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 bu(e,r,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?i.nodeType===8?i.parentNode.insertBefore(e,r):i.insertBefore(e,r):(i.nodeType===8?(r=i.parentNode,r.insertBefore(e,i)):(r=i,r.appendChild(e)),i=i._reactRootContainer,i!=null||r.onclick!==null||(r.onclick=jo));else if(a!==4&&(e=e.child,e!==null))for(bu(e,r,i),e=e.sibling;e!==null;)bu(e,r,i),e=e.sibling}function Su(e,r,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?i.insertBefore(e,r):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Su(e,r,i),e=e.sibling;e!==null;)Su(e,r,i),e=e.sibling}var lt=null,sn=!1;function Yn(e,r,i){for(i=i.child;i!==null;)Lh(e,r,i),i=i.sibling}function Lh(e,r,i){if(dn&&typeof dn.onCommitFiberUnmount=="function")try{dn.onCommitFiberUnmount(mo,i)}catch{}switch(i.tag){case 5:gt||Es(i,r);case 6:var a=lt,c=sn;lt=null,Yn(e,r,i),lt=a,sn=c,lt!==null&&(sn?(e=lt,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):lt.removeChild(i.stateNode));break;case 18:lt!==null&&(sn?(e=lt,i=i.stateNode,e.nodeType===8?Dl(e.parentNode,i):e.nodeType===1&&Dl(e,i),ai(e)):Dl(lt,i.stateNode));break;case 4:a=lt,c=sn,lt=i.stateNode.containerInfo,sn=!0,Yn(e,r,i),lt=a,sn=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)&&xu(i,r,m),c=c.next}while(c!==a)}Yn(e,r,i);break;case 1:if(!gt&&(Es(i,r),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(x){qe(i,r,x)}Yn(e,r,i);break;case 21:Yn(e,r,i);break;case 22:i.mode&1?(gt=(a=gt)||i.memoizedState!==null,Yn(e,r,i),gt=a):Yn(e,r,i);break;default:Yn(e,r,i)}}function Ih(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new _0),r.forEach(function(a){var c=P0.bind(null,e,a);i.has(a)||(i.add(a),a.then(c,c))})}}function on(e,r){var i=r.deletions;if(i!==null)for(var a=0;a<i.length;a++){var c=i[a];try{var f=e,m=r,x=m;e:for(;x!==null;){switch(x.tag){case 5:lt=x.stateNode,sn=!1;break e;case 3:lt=x.stateNode.containerInfo,sn=!0;break e;case 4:lt=x.stateNode.containerInfo,sn=!0;break e}x=x.return}if(lt===null)throw Error(s(160));Lh(f,m,c),lt=null,sn=!1;var E=c.alternate;E!==null&&(E.return=null),c.return=null}catch(M){qe(c,r,M)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Dh(r,e),r=r.sibling}function Dh(e,r){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(on(r,e),mn(e),a&4){try{Ni(3,e,e.return),na(3,e)}catch(re){qe(e,e.return,re)}try{Ni(5,e,e.return)}catch(re){qe(e,e.return,re)}}break;case 1:on(r,e),mn(e),a&512&&i!==null&&Es(i,i.return);break;case 5:if(on(r,e),mn(e),a&512&&i!==null&&Es(i,i.return),e.flags&32){var c=e.stateNode;try{Ys(c,"")}catch(re){qe(e,e.return,re)}}if(a&4&&(c=e.stateNode,c!=null)){var f=e.memoizedProps,m=i!==null?i.memoizedProps:f,x=e.type,E=e.updateQueue;if(e.updateQueue=null,E!==null)try{x==="input"&&f.type==="radio"&&f.name!=null&&ve(c,f),el(x,m);var M=el(x,f);for(m=0;m<E.length;m+=2){var q=E[m],V=E[m+1];q==="style"?yd(c,V):q==="dangerouslySetInnerHTML"?md(c,V):q==="children"?Ys(c,V):L(c,q,V,M)}switch(x){case"input":at(c,f);break;case"textarea":fd(c,f);break;case"select":var $=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var J=f.value;J!=null?Mn(c,!!f.multiple,J,!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){qe(e,e.return,re)}}break;case 6:if(on(r,e),mn(e),a&4){if(e.stateNode===null)throw Error(s(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(re){qe(e,e.return,re)}}break;case 3:if(on(r,e),mn(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{ai(r.containerInfo)}catch(re){qe(e,e.return,re)}break;case 4:on(r,e),mn(e);break;case 13:on(r,e),mn(e),c=e.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(Cu=We())),a&4&&Ih(e);break;case 22:if(q=i!==null&&i.memoizedState!==null,e.mode&1?(gt=(M=gt)||q,on(r,e),gt=M):on(r,e),mn(e),a&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!q&&(e.mode&1)!==0)for(Z=e,q=e.child;q!==null;){for(V=Z=q;Z!==null;){switch($=Z,J=$.child,$.tag){case 0:case 11:case 14:case 15:Ni(4,$,$.return);break;case 1:Es($,$.return);var ee=$.stateNode;if(typeof ee.componentWillUnmount=="function"){a=$,i=$.return;try{r=a,ee.props=r.memoizedProps,ee.state=r.memoizedState,ee.componentWillUnmount()}catch(re){qe(a,i,re)}}break;case 5:Es($,$.return);break;case 22:if($.memoizedState!==null){Fh(V);continue}}J!==null?(J.return=$,Z=J):Fh(V)}q=q.sibling}e:for(q=null,V=e;;){if(V.tag===5){if(q===null){q=V;try{c=V.stateNode,M?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(x=V.stateNode,E=V.memoizedProps.style,m=E!=null&&E.hasOwnProperty("display")?E.display:null,x.style.display=gd("display",m))}catch(re){qe(e,e.return,re)}}}else if(V.tag===6){if(q===null)try{V.stateNode.nodeValue=M?"":V.memoizedProps}catch(re){qe(e,e.return,re)}}else if((V.tag!==22&&V.tag!==23||V.memoizedState===null||V===e)&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===e)break e;for(;V.sibling===null;){if(V.return===null||V.return===e)break e;q===V&&(q=null),V=V.return}q===V&&(q=null),V.sibling.return=V.return,V=V.sibling}}break;case 19:on(r,e),mn(e),a&4&&Ih(e);break;case 21:break;default:on(r,e),mn(e)}}function mn(e){var r=e.flags;if(r&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&&(Ys(c,""),a.flags&=-33);var f=jh(e);Su(e,f,c);break;case 3:case 4:var m=a.stateNode.containerInfo,x=jh(e);bu(e,x,m);break;default:throw Error(s(161))}}catch(E){qe(e,e.return,E)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function S0(e,r,i){Z=e,Mh(e)}function Mh(e,r,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||ta;if(!m){var x=c.alternate,E=x!==null&&x.memoizedState!==null||gt;x=ta;var M=gt;if(ta=m,(gt=E)&&!M)for(Z=c;Z!==null;)m=Z,E=m.child,m.tag===22&&m.memoizedState!==null?zh(c):E!==null?(E.return=m,Z=E):zh(c);for(;f!==null;)Z=f,Mh(f),f=f.sibling;Z=c,ta=x,gt=M}Uh(e)}else(c.subtreeFlags&8772)!==0&&f!==null?(f.return=c,Z=f):Uh(e)}}function Uh(e){for(;Z!==null;){var r=Z;if((r.flags&8772)!==0){var i=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:gt||na(5,r);break;case 1:var a=r.stateNode;if(r.flags&4&&!gt)if(i===null)a.componentDidMount();else{var c=r.elementType===r.type?i.memoizedProps:rn(r.type,i.memoizedProps);a.componentDidUpdate(c,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var f=r.updateQueue;f!==null&&Ff(r,f,a);break;case 3:var m=r.updateQueue;if(m!==null){if(i=null,r.child!==null)switch(r.child.tag){case 5:i=r.child.stateNode;break;case 1:i=r.child.stateNode}Ff(r,m,i)}break;case 5:var x=r.stateNode;if(i===null&&r.flags&4){i=x;var E=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&i.focus();break;case"img":E.src&&(i.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var M=r.alternate;if(M!==null){var q=M.memoizedState;if(q!==null){var V=q.dehydrated;V!==null&&ai(V)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}gt||r.flags&512&&_u(r)}catch($){qe(r,r.return,$)}}if(r===e){Z=null;break}if(i=r.sibling,i!==null){i.return=r.return,Z=i;break}Z=r.return}}function Fh(e){for(;Z!==null;){var r=Z;if(r===e){Z=null;break}var i=r.sibling;if(i!==null){i.return=r.return,Z=i;break}Z=r.return}}function zh(e){for(;Z!==null;){var r=Z;try{switch(r.tag){case 0:case 11:case 15:var i=r.return;try{na(4,r)}catch(E){qe(r,i,E)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var c=r.return;try{a.componentDidMount()}catch(E){qe(r,c,E)}}var f=r.return;try{_u(r)}catch(E){qe(r,f,E)}break;case 5:var m=r.return;try{_u(r)}catch(E){qe(r,m,E)}}}catch(E){qe(r,r.return,E)}if(r===e){Z=null;break}var x=r.sibling;if(x!==null){x.return=r.return,Z=x;break}Z=r.return}}var E0=Math.ceil,ra=A.ReactCurrentDispatcher,Eu=A.ReactCurrentOwner,qt=A.ReactCurrentBatchConfig,Ne=0,rt=null,Ge=null,ut=0,It=0,ks=Vn(0),Ze=0,Oi=null,Nr=0,sa=0,ku=0,Pi=null,Ct=null,Cu=0,Cs=1/0,On=null,ia=!1,Tu=null,Jn=null,oa=!1,Xn=null,aa=0,Ai=0,Ru=null,la=-1,ua=0;function _t(){return(Ne&6)!==0?We():la!==-1?la:la=We()}function Zn(e){return(e.mode&1)===0?1:(Ne&2)!==0&&ut!==0?ut&-ut:a0.transition!==null?(ua===0&&(ua=Ad()),ua):(e=Ie,e!==0||(e=window.event,e=e===void 0?16:Bd(e.type)),e)}function an(e,r,i,a){if(50<Ai)throw Ai=0,Ru=null,Error(s(185));ni(e,i,a),((Ne&2)===0||e!==rt)&&(e===rt&&((Ne&2)===0&&(sa|=i),Ze===4&&er(e,ut)),Tt(e,a),i===1&&Ne===0&&(r.mode&1)===0&&(Cs=We()+500,Mo&&Qn()))}function Tt(e,r){var i=e.callbackNode;av(e,r);var a=vo(e,e===rt?ut:0);if(a===0)i!==null&&Nd(i),e.callbackNode=null,e.callbackPriority=0;else if(r=a&-a,e.callbackPriority!==r){if(i!=null&&Nd(i),r===1)e.tag===0?o0($h.bind(null,e)):Tf($h.bind(null,e)),n0(function(){(Ne&6)===0&&Qn()}),i=null;else{switch(jd(a)){case 1:i=al;break;case 4:i=Od;break;case 16:i=po;break;case 536870912:i=Pd;break;default:i=po}i=Yh(i,Bh.bind(null,e))}e.callbackPriority=r,e.callbackNode=i}}function Bh(e,r){if(la=-1,ua=0,(Ne&6)!==0)throw Error(s(327));var i=e.callbackNode;if(Ts()&&e.callbackNode!==i)return null;var a=vo(e,e===rt?ut:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||r)r=ca(e,a);else{r=a;var c=Ne;Ne|=2;var f=qh();(rt!==e||ut!==r)&&(On=null,Cs=We()+500,Pr(e,r));do try{T0();break}catch(x){Hh(e,x)}while(!0);Wl(),ra.current=f,Ne=c,Ge!==null?r=0:(rt=null,ut=0,r=Ze)}if(r!==0){if(r===2&&(c=ll(e),c!==0&&(a=c,r=Nu(e,c))),r===1)throw i=Oi,Pr(e,0),er(e,a),Tt(e,We()),i;if(r===6)er(e,a);else{if(c=e.current.alternate,(a&30)===0&&!k0(c)&&(r=ca(e,a),r===2&&(f=ll(e),f!==0&&(a=f,r=Nu(e,f))),r===1))throw i=Oi,Pr(e,0),er(e,a),Tt(e,We()),i;switch(e.finishedWork=c,e.finishedLanes=a,r){case 0:case 1:throw Error(s(345));case 2:Ar(e,Ct,On);break;case 3:if(er(e,a),(a&130023424)===a&&(r=Cu+500-We(),10<r)){if(vo(e,0)!==0)break;if(c=e.suspendedLanes,(c&a)!==a){_t(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Il(Ar.bind(null,e,Ct,On),r);break}Ar(e,Ct,On);break;case 4:if(er(e,a),(a&4194240)===a)break;for(r=e.eventTimes,c=-1;0<a;){var m=31-en(a);f=1<<m,m=r[m],m>c&&(c=m),a&=~f}if(a=c,a=We()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*E0(a/1960))-a,10<a){e.timeoutHandle=Il(Ar.bind(null,e,Ct,On),a);break}Ar(e,Ct,On);break;case 5:Ar(e,Ct,On);break;default:throw Error(s(329))}}}return Tt(e,We()),e.callbackNode===i?Bh.bind(null,e):null}function Nu(e,r){var i=Pi;return e.current.memoizedState.isDehydrated&&(Pr(e,r).flags|=256),e=ca(e,r),e!==2&&(r=Ct,Ct=i,r!==null&&Ou(r)),e}function Ou(e){Ct===null?Ct=e:Ct.push.apply(Ct,e)}function k0(e){for(var r=e;;){if(r.flags&16384){var i=r.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(!tn(f(),c))return!1}catch{return!1}}}if(i=r.child,r.subtreeFlags&16384&&i!==null)i.return=r,r=i;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function er(e,r){for(r&=~ku,r&=~sa,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var i=31-en(r),a=1<<i;e[i]=-1,r&=~a}}function $h(e){if((Ne&6)!==0)throw Error(s(327));Ts();var r=vo(e,0);if((r&1)===0)return Tt(e,We()),null;var i=ca(e,r);if(e.tag!==0&&i===2){var a=ll(e);a!==0&&(r=a,i=Nu(e,a))}if(i===1)throw i=Oi,Pr(e,0),er(e,r),Tt(e,We()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Ar(e,Ct,On),Tt(e,We()),null}function Pu(e,r){var i=Ne;Ne|=1;try{return e(r)}finally{Ne=i,Ne===0&&(Cs=We()+500,Mo&&Qn())}}function Or(e){Xn!==null&&Xn.tag===0&&(Ne&6)===0&&Ts();var r=Ne;Ne|=1;var i=qt.transition,a=Ie;try{if(qt.transition=null,Ie=1,e)return e()}finally{Ie=a,qt.transition=i,Ne=r,(Ne&6)===0&&Qn()}}function Au(){It=ks.current,ze(ks)}function Pr(e,r){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,t0(i)),Ge!==null)for(i=Ge.return;i!==null;){var a=i;switch(Bl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Io();break;case 3:bs(),ze(St),ze(ht),eu();break;case 5:Xl(a);break;case 4:bs();break;case 13:ze($e);break;case 19:ze($e);break;case 10:Ql(a.type._context);break;case 22:case 23:Au()}i=i.return}if(rt=e,Ge=e=tr(e.current,null),ut=It=r,Ze=0,Oi=null,ku=sa=Nr=0,Ct=Pi=null,Cr!==null){for(r=0;r<Cr.length;r++)if(i=Cr[r],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}Cr=null}return e}function Hh(e,r){do{var i=Ge;try{if(Wl(),Qo.current=Jo,Ko){for(var a=He.memoizedState;a!==null;){var c=a.queue;c!==null&&(c.pending=null),a=a.next}Ko=!1}if(Rr=0,nt=Xe=He=null,Ei=!1,ki=0,Eu.current=null,i===null||i.return===null){Ze=1,Oi=r,Ge=null;break}e:{var f=e,m=i.return,x=i,E=r;if(r=ut,x.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var M=E,q=x,V=q.tag;if((q.mode&1)===0&&(V===0||V===11||V===15)){var $=q.alternate;$?(q.updateQueue=$.updateQueue,q.memoizedState=$.memoizedState,q.lanes=$.lanes):(q.updateQueue=null,q.memoizedState=null)}var J=ph(m);if(J!==null){J.flags&=-257,mh(J,m,x,f,r),J.mode&1&&hh(f,M,r),r=J,E=M;var ee=r.updateQueue;if(ee===null){var re=new Set;re.add(E),r.updateQueue=re}else ee.add(E);break e}else{if((r&1)===0){hh(f,M,r),ju();break e}E=Error(s(426))}}else if(Be&&x.mode&1){var Qe=ph(m);if(Qe!==null){(Qe.flags&65536)===0&&(Qe.flags|=256),mh(Qe,m,x,f,r),ql(Ss(E,x));break e}}f=E=Ss(E,x),Ze!==4&&(Ze=2),Pi===null?Pi=[f]:Pi.push(f),f=m;do{switch(f.tag){case 3:f.flags|=65536,r&=-r,f.lanes|=r;var P=dh(f,E,r);Uf(f,P);break e;case 1:x=E;var T=f.type,j=f.stateNode;if((f.flags&128)===0&&(typeof T.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(Jn===null||!Jn.has(j)))){f.flags|=65536,r&=-r,f.lanes|=r;var W=fh(f,x,r);Uf(f,W);break e}}f=f.return}while(f!==null)}Wh(i)}catch(se){r=se,Ge===i&&i!==null&&(Ge=i=i.return);continue}break}while(!0)}function qh(){var e=ra.current;return ra.current=Jo,e===null?Jo:e}function ju(){(Ze===0||Ze===3||Ze===2)&&(Ze=4),rt===null||(Nr&268435455)===0&&(sa&268435455)===0||er(rt,ut)}function ca(e,r){var i=Ne;Ne|=2;var a=qh();(rt!==e||ut!==r)&&(On=null,Pr(e,r));do try{C0();break}catch(c){Hh(e,c)}while(!0);if(Wl(),Ne=i,ra.current=a,Ge!==null)throw Error(s(261));return rt=null,ut=0,Ze}function C0(){for(;Ge!==null;)Vh(Ge)}function T0(){for(;Ge!==null&&!Xy();)Vh(Ge)}function Vh(e){var r=Gh(e.alternate,e,It);e.memoizedProps=e.pendingProps,r===null?Wh(e):Ge=r,Eu.current=null}function Wh(e){var r=e;do{var i=r.alternate;if(e=r.return,(r.flags&32768)===0){if(i=w0(i,r,It),i!==null){Ge=i;return}}else{if(i=x0(i,r),i!==null){i.flags&=32767,Ge=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ze=6,Ge=null;return}}if(r=r.sibling,r!==null){Ge=r;return}Ge=r=e}while(r!==null);Ze===0&&(Ze=5)}function Ar(e,r,i){var a=Ie,c=qt.transition;try{qt.transition=null,Ie=1,R0(e,r,i,a)}finally{qt.transition=c,Ie=a}return null}function R0(e,r,i,a){do Ts();while(Xn!==null);if((Ne&6)!==0)throw Error(s(327));i=e.finishedWork;var c=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var f=i.lanes|i.childLanes;if(lv(e,f),e===rt&&(Ge=rt=null,ut=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||oa||(oa=!0,Yh(po,function(){return Ts(),null})),f=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||f){f=qt.transition,qt.transition=null;var m=Ie;Ie=1;var x=Ne;Ne|=4,Eu.current=null,b0(e,i),Dh(i,e),Kv(jl),_o=!!Al,jl=Al=null,e.current=i,S0(i),Zy(),Ne=x,Ie=m,qt.transition=f}else e.current=i;if(oa&&(oa=!1,Xn=e,aa=c),f=e.pendingLanes,f===0&&(Jn=null),nv(i.stateNode),Tt(e,We()),r!==null)for(a=e.onRecoverableError,i=0;i<r.length;i++)c=r[i],a(c.value,{componentStack:c.stack,digest:c.digest});if(ia)throw ia=!1,e=Tu,Tu=null,e;return(aa&1)!==0&&e.tag!==0&&Ts(),f=e.pendingLanes,(f&1)!==0?e===Ru?Ai++:(Ai=0,Ru=e):Ai=0,Qn(),null}function Ts(){if(Xn!==null){var e=jd(aa),r=qt.transition,i=Ie;try{if(qt.transition=null,Ie=16>e?16:e,Xn===null)var a=!1;else{if(e=Xn,Xn=null,aa=0,(Ne&6)!==0)throw Error(s(331));var c=Ne;for(Ne|=4,Z=e.current;Z!==null;){var f=Z,m=f.child;if((Z.flags&16)!==0){var x=f.deletions;if(x!==null){for(var E=0;E<x.length;E++){var M=x[E];for(Z=M;Z!==null;){var q=Z;switch(q.tag){case 0:case 11:case 15:Ni(8,q,f)}var V=q.child;if(V!==null)V.return=q,Z=V;else for(;Z!==null;){q=Z;var $=q.sibling,J=q.return;if(Ph(q),q===M){Z=null;break}if($!==null){$.return=J,Z=$;break}Z=J}}}var ee=f.alternate;if(ee!==null){var re=ee.child;if(re!==null){ee.child=null;do{var Qe=re.sibling;re.sibling=null,re=Qe}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:Ni(9,f,f.return)}var P=f.sibling;if(P!==null){P.return=f.return,Z=P;break e}Z=f.return}}var T=e.current;for(Z=T;Z!==null;){m=Z;var j=m.child;if((m.subtreeFlags&2064)!==0&&j!==null)j.return=m,Z=j;else e:for(m=T;Z!==null;){if(x=Z,(x.flags&2048)!==0)try{switch(x.tag){case 0:case 11:case 15:na(9,x)}}catch(se){qe(x,x.return,se)}if(x===m){Z=null;break e}var W=x.sibling;if(W!==null){W.return=x.return,Z=W;break e}Z=x.return}}if(Ne=c,Qn(),dn&&typeof dn.onPostCommitFiberRoot=="function")try{dn.onPostCommitFiberRoot(mo,e)}catch{}a=!0}return a}finally{Ie=i,qt.transition=r}}return!1}
vendor: 5,100 bytes, line 40
40function Qh(e,r,i){r=Ss(i,r),r=dh(e,r,1),e=Gn(e,r,1),r=_t(),e!==null&&(ni(e,1,r),Tt(e,r))}function qe(e,r,i){if(e.tag===3)Qh(e,e,i);else for(;r!==null;){if(r.tag===3){Qh(r,e,i);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Jn===null||!Jn.has(a))){e=Ss(i,e),e=fh(r,e,1),r=Gn(r,e,1),e=_t(),r!==null&&(ni(r,1,e),Tt(r,e));break}}r=r.return}}function N0(e,r,i){var a=e.pingCache;a!==null&&a.delete(r),r=_t(),e.pingedLanes|=e.suspendedLanes&i,rt===e&&(ut&i)===i&&(Ze===4||Ze===3&&(ut&130023424)===ut&&500>We()-Cu?Pr(e,0):ku|=i),Tt(e,r)}function Kh(e,r){r===0&&((e.mode&1)===0?r=1:(r=yo,yo<<=1,(yo&130023424)===0&&(yo=4194304)));var i=_t();e=Tn(e,r),e!==null&&(ni(e,r,i),Tt(e,i))}function O0(e){var r=e.memoizedState,i=0;r!==null&&(i=r.retryLane),Kh(e,i)}function P0(e,r){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(r),Kh(e,i)}var Gh;Gh=function(e,r,i){if(e!==null)if(e.memoizedProps!==r.pendingProps||St.current)kt=!0;else{if((e.lanes&i)===0&&(r.flags&128)===0)return kt=!1,v0(e,r,i);kt=(e.flags&131072)!==0}else kt=!1,Be&&(r.flags&1048576)!==0&&Rf(r,Fo,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;ea(e,r),e=r.pendingProps;var c=ms(r,ht.current);_s(r,i),c=ru(null,r,a,e,c,i);var f=su();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Et(a)?(f=!0,Do(r)):f=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Yl(r),c.updater=Xo,r.stateNode=c,c._reactInternals=r,cu(r,a,e,i),r=pu(null,r,a,!0,f,i)):(r.tag=0,Be&&f&&zl(r),xt(null,r,c,i),r=r.child),r;case 16:a=r.elementType;e:{switch(ea(e,r),e=r.pendingProps,c=a._init,a=c(a._payload),r.type=a,c=r.tag=j0(a),e=rn(a,e),c){case 0:r=hu(null,r,a,e,i);break e;case 1:r=_h(null,r,a,e,i);break e;case 11:r=gh(null,r,a,e,i);break e;case 14:r=yh(null,r,a,rn(a.type,e),i);break e}throw Error(s(306,a,""))}return r;case 0:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:rn(a,c),hu(e,r,a,c,i);case 1:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:rn(a,c),_h(e,r,a,c,i);case 3:e:{if(bh(r),e===null)throw Error(s(387));a=r.pendingProps,f=r.memoizedState,c=f.element,Mf(e,r),Vo(r,a,null,i);var m=r.memoizedState;if(a=m.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},r.updateQueue.baseState=f,r.memoizedState=f,r.flags&256){c=Ss(Error(s(423)),r),r=Sh(e,r,a,i,c);break e}else if(a!==c){c=Ss(Error(s(424)),r),r=Sh(e,r,a,i,c);break e}else for(Lt=qn(r.stateNode.containerInfo.firstChild),jt=r,Be=!0,nn=null,i=If(r,null,a,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(vs(),a===c){r=Nn(e,r,i);break e}xt(e,r,a,i)}r=r.child}return r;case 5:return zf(r),e===null&&Hl(r),a=r.type,c=r.pendingProps,f=e!==null?e.memoizedProps:null,m=c.children,Ll(a,c)?m=null:f!==null&&Ll(a,f)&&(r.flags|=32),xh(e,r),xt(e,r,m,i),r.child;case 6:return e===null&&Hl(r),null;case 13:return Eh(e,r,i);case 4:return Jl(r,r.stateNode.containerInfo),a=r.pendingProps,e===null?r.child=ws(r,null,a,i):xt(e,r,a,i),r.child;case 11:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:rn(a,c),gh(e,r,a,c,i);case 7:return xt(e,r,r.pendingProps,i),r.child;case 8:return xt(e,r,r.pendingProps.children,i),r.child;case 12:return xt(e,r,r.pendingProps.children,i),r.child;case 10:e:{if(a=r.type._context,c=r.pendingProps,f=r.memoizedProps,m=c.value,Me($o,a._currentValue),a._currentValue=m,f!==null)if(tn(f.value,m)){if(f.children===c.children&&!St.current){r=Nn(e,r,i);break e}}else for(f=r.child,f!==null&&(f.return=r);f!==null;){var x=f.dependencies;if(x!==null){m=f.child;for(var E=x.firstContext;E!==null;){if(E.context===a){if(f.tag===1){E=Rn(-1,i&-i),E.tag=2;var M=f.updateQueue;if(M!==null){M=M.shared;var q=M.pending;q===null?E.next=E:(E.next=q.next,q.next=E),M.pending=E}}f.lanes|=i,E=f.alternate,E!==null&&(E.lanes|=i),Kl(f.return,i,r),x.lanes|=i;break}E=E.next}}else if(f.tag===10)m=f.type===r.type?null:f.child;else if(f.tag===18){if(m=f.return,m===null)throw Error(s(341));m.lanes|=i,x=m.alternate,x!==null&&(x.lanes|=i),Kl(m,i,r),m=f.sibling}else m=f.child;if(m!==null)m.return=f;else for(m=f;m!==null;){if(m===r){m=null;break}if(f=m.sibling,f!==null){f.return=m.return,m=f;break}m=m.return}f=m}xt(e,r,c.children,i),r=r.child}return r;case 9:return c=r.type,a=r.pendingProps.children,_s(r,i),c=$t(c),a=a(c),r.flags|=1,xt(e,r,a,i),r.child;case 14:return a=r.type,c=rn(a,r.pendingProps),c=rn(a.type,c),yh(e,r,a,c,i);case 15:return vh(e,r,r.type,r.pendingProps,i);case 17:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:rn(a,c),ea(e,r),r.tag=1,Et(a)?(e=!0,Do(r)):e=!1,_s(r,i),uh(r,a,c),cu(r,a,c,i),pu(null,r,a,!0,e,i);case 19:return Ch(e,r,i);case 22:return wh(e,r,i)}throw Error(s(156,r.tag))};function Yh(e,r){return Rd(e,r)}function A0(e,r,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 7,566 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vt(e,r,i,a){return new A0(e,r,i,a)}function Lu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function j0(e){if(typeof e=="function")return Lu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pe)return 11;if(e===De)return 14}return 2}function tr(e,r){var i=e.alternate;return i===null?(i=Vt(e.tag,r,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=r,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,r=e.dependencies,i.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function da(e,r,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 oe:return jr(i.children,c,f,r);case B:m=8,c|=8;break;case ue:return e=Vt(12,i,r,c|2),e.elementType=ue,e.lanes=f,e;case Le:return e=Vt(13,i,r,c),e.elementType=Le,e.lanes=f,e;case Re:return e=Vt(19,i,r,c),e.elementType=Re,e.lanes=f,e;case xe:return fa(i,c,f,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case we:m=10;break e;case Ee:m=9;break e;case Pe:m=11;break e;case De:m=14;break e;case fe:m=16,a=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return r=Vt(m,i,r,c),r.elementType=e,r.type=a,r.lanes=f,r}function jr(e,r,i,a){return e=Vt(7,e,a,r),e.lanes=i,e}function fa(e,r,i,a){return e=Vt(22,e,a,r),e.elementType=xe,e.lanes=i,e.stateNode={isHidden:!1},e}function Iu(e,r,i){return e=Vt(6,e,null,r),e.lanes=i,e}function Du(e,r,i){return r=Vt(4,e.children!==null?e.children:[],e.key,r),r.lanes=i,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function L0(e,r,i,a,c){this.tag=r,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ul(0),this.expirationTimes=ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ul(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Mu(e,r,i,a,c,f,m,x,E){return e=new L0(e,r,i,x,E),r===1?(r=1,f===!0&&(r|=8)):r=0,f=Vt(3,null,null,r),e.current=f,f.stateNode=e,f.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yl(f),e}function I0(e,r,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Q,key:a==null?null:""+a,children:e,containerInfo:r,implementation:i}}function Jh(e){if(!e)return Wn;e=e._reactInternals;e:{if(_r(e)!==e||e.tag!==1)throw Error(s(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Et(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(Et(i))return kf(e,i,r)}return r}function Xh(e,r,i,a,c,f,m,x,E){return e=Mu(i,a,!0,e,c,f,m,x,E),e.context=Jh(null),i=e.current,a=_t(),c=Zn(i),f=Rn(a,c),f.callback=r??null,Gn(i,f,c),e.current.lanes=c,ni(e,c,a),Tt(e,a),e}function ha(e,r,i,a){var c=r.current,f=_t(),m=Zn(c);return i=Jh(i),r.context===null?r.context=i:r.pendingContext=i,r=Rn(f,m),r.payload={element:e},a=a===void 0?null:a,a!==null&&(r.callback=a),e=Gn(c,r,m),e!==null&&(an(e,c,m,f),qo(e,c,m)),m}function pa(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,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<r?i:r}}function Uu(e,r){Zh(e,r),(e=e.alternate)&&Zh(e,r)}function D0(){return null}var ep=typeof reportError=="function"?reportError:function(e){console.error(e)};function Fu(e){this._internalRoot=e}ma.prototype.render=Fu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(s(409));ha(e,r,null,null)},ma.prototype.unmount=Fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Or(function(){ha(null,e,null,null)}),r[Sn]=null}};function ma(e){this._internalRoot=e}ma.prototype.unstable_scheduleHydration=function(e){if(e){var r=Dd();e={blockedOn:null,target:e,priority:r};for(var i=0;i<Bn.length&&r!==0&&r<Bn[i].priority;i++);Bn.splice(i,0,e),i===0&&Fd(e)}};function zu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ga(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tp(){}function M0(e,r,i,a,c){if(c){if(typeof a=="function"){var f=a;a=function(){var M=pa(m);f.call(M)}}var m=Xh(r,a,e,0,null,!1,!1,"",tp);return e._reactRootContainer=m,e[Sn]=m.current,gi(e.nodeType===8?e.parentNode:e),Or(),m}for(;c=e.lastChild;)e.removeChild(c);if(typeof a=="function"){var x=a;a=function(){var M=pa(E);x.call(M)}}var E=Mu(e,0,!1,null,null,!1,!1,"",tp);return e._reactRootContainer=E,e[Sn]=E.current,gi(e.nodeType===8?e.parentNode:e),Or(function(){ha(r,E,i,a)}),E}function ya(e,r,i,a,c){var f=i._reactRootContainer;if(f){var m=f;if(typeof c=="function"){var x=c;c=function(){var E=pa(m);x.call(E)}}ha(r,m,e,c)}else m=M0(i,r,e,c,a);return pa(m)}Ld=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var i=ti(r.pendingLanes);i!==0&&(cl(r,i|1),Tt(r,We()),(Ne&6)===0&&(Cs=We()+500,Qn()))}break;case 13:Or(function(){var a=Tn(e,1);if(a!==null){var c=_t();an(a,e,1,c)}}),Uu(e,1)}},dl=function(e){if(e.tag===13){var r=Tn(e,134217728);if(r!==null){var i=_t();an(r,e,134217728,i)}Uu(e,134217728)}},Id=function(e){if(e.tag===13){var r=Zn(e),i=Tn(e,r);if(i!==null){var a=_t();an(i,e,r,a)}Uu(e,r)}},Dd=function(){return Ie},Md=function(e,r){var i=Ie;try{return Ie=e,r()}finally{Ie=i}},rl=function(e,r,i){switch(r){case"input":if(at(e,i),r=i.name,i.type==="radio"&&r!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<i.length;r++){var a=i[r];if(a!==e&&a.form===e.form){var c=Lo(a);if(!c)throw Error(s(90));ot(a),at(a,c)}}}break;case"textarea":fd(e,i);break;case"select":r=i.value,r!=null&&Mn(e,!!i.multiple,r,!1)}},_d=Pu,bd=Or;var U0={usingClientEntryPoint:!1,Events:[wi,hs,Lo,wd,xd,Pu]},ji={findFiberByHostInstance:br,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},F0={bundleType:ji.bundleType,version:ji.version,rendererPackageName:ji.rendererPackageName,rendererConfig:ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Cd(e),e===null?null:e.stateNode},findFiberByHostInstance:ji.findFiberByHostInstance||D0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var va=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!va.isDisabled&&va.supportsFiber)try{mo=va.inject(F0),dn=va}catch{}}return Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U0,Rt.createPortal=function(e,r){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zu(r))throw Error(s(200));return I0(e,r,null,i)},Rt.createRoot=function(e,r){if(!zu(e))throw Error(s(299));var i=!1,a="",c=ep;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Mu(e,1,!1,null,null,i,!1,a,c),e[Sn]=r.current,gi(e.nodeType===8?e.parentNode:e),new Fu(r)},Rt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Cd(r),e=e===null?null:e.stateNode,e},Rt.flushSync=function(e){return Or(e)},Rt.hydrate=function(e,r,i){if(!ga(r))throw Error(s(200));return ya(null,e,r,!0,i)},Rt.hydrateRoot=function(e,r,i){if(!zu(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)),r=Xh(r,null,e,1,i??null,c,!1,f,m),e[Sn]=r.current,gi(e),a)for(e=0;e<a.length;e++)i=a[e],c=i._getVersion,c=c(i._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[i,c]:r.mutableSourceEagerHydrationData.push(i,c);return new ma(r)},Rt.render=function(e,r,i){if(!ga(r))throw Error(s(200));return ya(null,e,r,!1,i)},Rt.unmountComponentAtNode=function(e){if(!ga(e))throw Error(s(40));return e._reactRootContainer?(Or(function(){ya(null,null,e,!1,function(){e._reactRootContainer=null,e[Sn]=null})}),!0):!1},Rt.unstable_batchedUpdates=Pu,Rt.unstable_renderSubtreeIntoContainer=function(e,r,i,a){if(!ga(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return ya(e,r,i,!1,a)},Rt.version="18.3.1-next-f1338f8080-20240426",Rt}var cp;function Km(){if(cp)return qu.exports;cp=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}return n(),qu.exports=G0(),qu.exports}var dp;function Y0(){if(dp)return xa;dp=1;var n=Km();return xa.createRoot=n.createRoot,xa.hydrateRoot=n.hydrateRoot,xa}var J0=Y0();const X0=Wm(J0),Z0=20,ew=1e6,In={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Qu=0;function tw(){return Qu=(Qu+1)%Number.MAX_VALUE,Qu.toString()}const Ku=new Map,fp=n=>{if(Ku.has(n))return;const t=setTimeout(()=>{Ku.delete(n),qi({type:In.REMOVE_TOAST,toastId:n})},ew);Ku.set(n,t)},nw=(n,t)=>{switch(t.type){case In.ADD_TOAST:return{...n,toasts:[t.toast,...n.toasts].slice(0,Z0)};case In.UPDATE_TOAST:return{...n,toasts:n.toasts.map(s=>s.id===t.toast.id?{...s,...t.toast}:s)};case In.DISMISS_TOAST:{const{toastId:s}=t;return s?fp(s):n.toasts.forEach(o=>{fp(o.id)}),{...n,toasts:n.toasts.map(o=>o.id===s||s===void 0?{...o,open:!1}:o)}}case In.REMOVE_TOAST:return t.toastId===void 0?{...n,toasts:[]}:{...n,toasts:n.toasts.filter(s=>s.id!==t.toastId)}}},Na=[];let Oa={toasts:[]};function qi(n){Oa=nw(Oa,n),Na.forEach(t=>{t(Oa)})}function rw({...n}){const t=tw(),s=l=>qi({type:In.UPDATE_TOAST,toast:{...l,id:t}}),o=()=>qi({type:In.DISMISS_TOAST,toastId:t});return qi({type:In.ADD_TOAST,toast:{...n,id:t,open:!0,onOpenChange:l=>{l||o()}}}),{id:t,dismiss:o,update:s}}function sw(){const[n,t]=I.useState(Oa);return I.useEffect(()=>(Na.push(t),()=>{const s=Na.indexOf(t);s>-1&&Na.splice(s,1)}),[n]),{...n,toast:rw,dismiss:s=>qi({type:In.DISMISS_TOAST,toastId:s})}}function Gm(n){var t,s,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var l=n.length;for(t=0;t<l;t++)n[t]&&(s=Gm(n[t]))&&(o&&(o+=" "),o+=s)}else for(s in n)n[s]&&(o&&(o+=" "),o+=s);return o}function Ym(){for(var n,t,s=0,o="",l=arguments.length;s<l;s++)(n=arguments[s])&&(t=Gm(n))&&(o&&(o+=" "),o+=t);return o}const hp=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,pp=Ym,Jm=(n,t)=>s=>{var o;if((t==null?void 0:t.variants)==null)return pp(n,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:l,defaultVariants:u}=t,d=Object.keys(l).map(g=>{const v=s==null?void 0:s[g],w=u==null?void 0:u[g];if(v===null)return null;const b=hp(v)||hp(w);return l[g][b]}),h=s&&Object.entries(s).reduce((g,v)=>{let[w,b]=v;return b===void 0||(g[w]=b),g},{}),p=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((g,v)=>{let{class:w,className:b,...O}=v;return Object.entries(O).every(D=>{let[N,S]=D;return Array.isArray(S)?S.includes({...u,...h}[N]):{...u,...h}[N]===S})?[...g,w,b]:g},[]);return pp(n,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 iw=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xm=(...n)=>n.filter((t,s,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===s).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var ow={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 aw=I.forwardRef(({color:n="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:d,...h},p)=>I.createElement("svg",{ref:p,...ow,width:t,height:t,stroke:n,strokeWidth:o?Number(s)*24/Number(t):s,className:Xm("lucide",l),...h},[...d.map(([g,v])=>I.createElement(g,v)),...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 Dt=(n,t)=>{const s=I.forwardRef(({className:o,...l},u)=>I.createElement(aw,{ref:u,iconNode:t,className:Xm(`lucide-${iw(n)}`,o),...l}));return s.displayName=`${n}`,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 lw=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],uw=Dt("BookOpen",lw);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const cw=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Zm=Dt("ChevronDown",cw);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const dw=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
75y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],fw=Dt("Compass",dw);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const hw=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]],pw=Dt("HeartHandshake",hw);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const mw=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],gw=Dt("House",mw);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const yw=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],vw=Dt("Layers",yw);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const ww=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],xw=Dt("Menu",ww);/** 96 * @license lucide-react v0.475.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const _w=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],bw=Dt("ShieldCheck",_w);/** 101 * @license lucide-react v0.475.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const Sw=[["path",{d:"M7 18v-6a5 5 0 1 1 10 0v6",key:"pcx96s"}],["path",{d:"M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z",key:"1b4s83"}],["path",{d:"M21 12h1",key:"jtio3y"}],["path",{d:"M18.5 4.5 18 5",key:"g5sp9y"}],["path",{d:"M2 12h1",key:"1uaihz"}],["path",{d:"M12 2v1",key:"11qlp1"}],["path",{d:"m4.929 4.929.707.707",key:"1i51kw"}],["path",{d:"M12 12v6",key:"3ahymv"}]],Ew=Dt("Siren",Sw);/** 106 * @license lucide-react v0.475.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const kw=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],mp=Dt("Sparkles",kw);/** 111 * @license lucide-react v0.475.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const Cw=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Tw=Dt("Star",Cw);/** 116 * @license lucide-react v0.475.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const Rw=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],Nw=Dt("Sunrise",Rw);/** 121 * @license lucide-react v0.475.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const Ow=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,153 bytes, line 125
125],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],eg=Dt("X",Ow),Pw=(n,t)=>{const s=new Array(n.length+t.length);for(let o=0;o<n.length;o++)s[o]=n[o];for(let o=0;o<t.length;o++)s[n.length+o]=t[o];return s},Aw=(n,t)=>({classGroupId:n,validator:t}),tg=(n=new Map,t=null,s)=>({nextPart:n,validators:t,classGroupId:s}),Ua="-",gp=[],jw="arbitrary..",Lw=n=>{const t=Dw(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return Iw(d);const h=d.split(Ua),p=h[0]===""&&h.length>1?1:0;return ng(h,p,t)},getConflictingClassGroupIds:(d,h)=>{if(h){const p=o[d],g=s[d];return p?g?Pw(g,p):p:g||gp}return s[d]||gp}}},ng=(n,t,s)=>{if(n.length-t===0)return s.classGroupId;const l=n[t],u=s.nextPart.get(l);if(u){const g=ng(n,t+1,u);if(g)return g}const d=s.validators;if(d===null)return;const h=t===0?n.join(Ua):n.slice(t).join(Ua),p=d.length;for(let g=0;g<p;g++){const v=d[g];if(v.validator(h))return v.classGroupId}},Iw=n=>n.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=n.slice(1,-1),s=t.indexOf(":"),o=t.slice(0,s);return o?jw+o:void 0})(),Dw=n=>{const{theme:t,classGroups:s}=n;return Mw(s,t)},Mw=(n,t)=>{const s=tg();for(const o in n){const l=n[o];zc(l,s,o,t)}return s},zc=(n,t,s,o)=>{const l=n.length;for(let u=0;u<l;u++){const d=n[u];Uw(d,t,s,o)}},Uw=(n,t,s,o)=>{if(typeof n=="string"){Fw(n,t,s);return}if(typeof n=="function"){zw(n,t,s,o);return}Bw(n,t,s,o)},Fw=(n,t,s)=>{const o=n===""?t:rg(t,n);o.classGroupId=s},zw=(n,t,s,o)=>{if($w(n)){zc(n(o),t,s,o);return}t.validators===null&&(t.validators=[]),t.validators.push(Aw(s,n))},Bw=(n,t,s,o)=>{const l=Object.entries(n),u=l.length;for(let d=0;d<u;d++){const[h,p]=l[d];zc(p,rg(t,h),s,o)}},rg=(n,t)=>{let s=n;const o=t.split(Ua),l=o.length;for(let u=0;u<l;u++){const d=o[u];let h=s.nextPart.get(d);h||(h=tg(),s.nextPart.set(d,h)),s=h}return s},$w=n=>"isThemeGetter"in n&&n.isThemeGetter===!0,Hw=n=>{if(n<1)return{get:()=>{},set:()=>{}};let t=0,s=Object.create(null),o=Object.create(null);const l=(u,d)=>{s[u]=d,t++,t>n&&(t=0,o=s,s=Object.create(null))};return{get(u){let d=s[u];if(d!==void 0)return d;if((d=o[u])!==void 0)return l(u,d),d},set(u,d){u in s?s[u]=d:l(u,d)}}},lc="!",yp=":",qw=[],vp=(n,t,s,o,l)=>({modifiers:n,hasImportantModifier:t,baseClassName:s,maybePostfixModifierPosition:o,isExternal:l}),Vw=n=>{const{prefix:t,experimentalParseClassName:s}=n;let o=l=>{const u=[];let d=0,h=0,p=0,g;const v=l.length;for(let N=0;N<v;N++){const S=l[N];if(d===0&&h===0){if(S===yp){u.push(l.slice(p,N)),p=N+1;continue}if(S==="/"){g=N;continue}}S==="["?d++:S==="]"?d--:S==="("?h++:S===")"&&h--}const w=u.length===0?l:l.slice(p);let b=w,O=!1;w.endsWith(lc)?(b=w.slice(0,-1),O=!0):w.startsWith(lc)&&(b=w.slice(1),O=!0);const D=g&&g>p?g-p:void 0;return vp(u,O,b,D)};if(t){const l=t+yp,u=o;o=d=>d.startsWith(l)?u(d.slice(l.length)):vp(qw,!1,d,void 0,!0)}if(s){const l=o;o=u=>s({className:u,parseClassName:l})}return o},Ww=n=>{const t=new Map;return n.orderSensitiveModifiers.forEach((s,o)=>{t.set(s,1e6+o)}),s=>{const o=[];let l=[];for(let u=0;u<s.length;u++){const d=s[u],h=d[0]==="[",p=t.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}},Qw=n=>({cache:Hw(n.cacheSize),parseClassName:Vw(n),sortModifiers:Ww(n),...Lw(n)}),Kw=/\s+/,Gw=(n,t)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:u}=t,d=[],h=n.trim().split(Kw);let p="";for(let g=h.length-1;g>=0;g-=1){const v=h[g],{isExternal:w,modifiers:b,hasImportantModifier:O,baseClassName:D,maybePostfixModifierPosition:N}=s(v);if(w){p=v+(p.length>0?" "+p:p);continue}let S=!!N,_=o(S?D.substring(0,N):D);if(!_){if(!S){p=v+(p.length>0?" "+p:p);continue}if(_=o(D),!_){p=v+(p.length>0?" "+p:p);continue}S=!1}const U=b.length===0?"":b.length===1?b[0]:u(b).join(":"),L=O?U+lc:U,A=L+_;if(d.indexOf(A)>-1)continue;d.push(A);const H=l(_,S);for(let Q=0;Q<H.length;++Q){const oe=H[Q];d.push(L+oe)}p=v+(p.length>0?" "+p:p)}return p},Yw=(...n)=>{let t=0,s,o,l="";for(;t<n.length;)(s=n[t++])&&(o=sg(s))&&(l&&(l+=" "),l+=o);return l},sg=n=>{if(typeof n=="string")return n;let t,s="";for(let o=0;o<n.length;
vendor: 4,258 bytes, line 125
125o++)n[o]&&(t=sg(n[o]))&&(s&&(s+=" "),s+=t);return s},Jw=(n,...t)=>{let s,o,l,u;const d=p=>{const g=t.reduce((v,w)=>w(v),n());return s=Qw(g),o=s.cache.get,l=s.cache.set,u=h,h(p)},h=p=>{const g=o(p);if(g)return g;const v=Gw(p,s);return l(p,v),v};return u=d,(...p)=>u(Yw(...p))},Xw=[],et=n=>{const t=s=>s[n]||Xw;return t.isThemeGetter=!0,t},ig=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,og=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zw=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tx=/\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$/,nx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,rx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rr=n=>Zw.test(n),_e=n=>!!n&&!Number.isNaN(Number(n)),sr=n=>!!n&&Number.isInteger(Number(n)),Gu=n=>n.endsWith("%")&&_e(n.slice(0,-1)),Pn=n=>ex.test(n),ag=()=>!0,ix=n=>tx.test(n)&&!nx.test(n),Bc=()=>!1,ox=n=>rx.test(n),ax=n=>sx.test(n),lx=n=>!te(n)&&!ne(n),ux=n=>xr(n,cg,Bc),te=n=>ig.test(n),Lr=n=>xr(n,dg,ix),wp=n=>xr(n,yx,_e),cx=n=>xr(n,hg,ag),dx=n=>xr(n,fg,Bc),xp=n=>xr(n,lg,Bc),fx=n=>xr(n,ug,ax),_a=n=>xr(n,pg,ox),ne=n=>og.test(n),Ii=n=>ts(n,dg),hx=n=>ts(n,fg),_p=n=>ts(n,lg),px=n=>ts(n,cg),mx=n=>ts(n,ug),ba=n=>ts(n,pg,!0),gx=n=>ts(n,hg,!0),xr=(n,t,s)=>{const o=ig.exec(n);return o?o[1]?t(o[1]):s(o[2]):!1},ts=(n,t,s=!1)=>{const o=og.exec(n);return o?o[1]?t(o[1]):s:!1},lg=n=>n==="position"||n==="percentage",ug=n=>n==="image"||n==="url",cg=n=>n==="length"||n==="size"||n==="bg-size",dg=n=>n==="length",yx=n=>n==="number",fg=n=>n==="family-name",hg=n=>n==="number"||n==="weight",pg=n=>n==="shadow",vx=()=>{const n=et("color"),t=et("font"),s=et("text"),o=et("font-weight"),l=et("tracking"),u=et("leading"),d=et("breakpoint"),h=et("container"),p=et("spacing"),g=et("radius"),v=et("shadow"),w=et("inset-shadow"),b=et("text-shadow"),O=et("drop-shadow"),D=et("blur"),N=et("perspective"),S=et("aspect"),_=et("ease"),U=et("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...A(),ne,te],Q=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto","contain","none"],B=()=>[ne,te,p],ue=()=>[rr,"full","auto",...B()],we=()=>[sr,"none","subgrid",ne,te],Ee=()=>["auto",{span:["full",sr,ne,te]},sr,ne,te],Pe=()=>[sr,"auto",ne,te],Le=()=>["auto","min","max","fr",ne,te],Re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],De=()=>["start","end","center","stretch","center-safe","end-safe"],fe=()=>["auto",...B()],xe=()=>[rr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],K=()=>[rr,"screen","full","dvw","lvw","svw","min","max","fit",...B()],ie=()=>[rr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...B()],F=()=>[n,ne,te],R=()=>[...A(),_p,xp,{position:[ne,te]}],z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],he=()=>["auto","cover","contain",px,ux,{size:[ne,te]}],pe=()=>[Gu,Ii,Lr],ce=()=>["","none","full",g,ne,te],G=()=>["",_e,Ii,Lr],ye=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[_e,Gu,_p,xp],tt=()=>["","none",D,ne,te],Mt=()=>["none",_e,ne,te],ot=()=>["none",_e,ne,te],Jt=()=>[_e,ne,te],Ut=()=>[rr,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Pn],breakpoint:[Pn],color:[ag],container:[Pn],"drop-shadow":[Pn],ease:["in","out","in-out"],font:[lx],"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",_e],text:[Pn],"text-shadow":[Pn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rr,te,ne,S]}
vendor: 6,149 bytes, line 125
125],container:["container"],columns:[{columns:[_e,te,ne,h]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:H()}],overflow:[{overflow:Q()}],"overflow-x":[{"overflow-x":Q()}],"overflow-y":[{"overflow-y":Q()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ue()}],"inset-x":[{"inset-x":ue()}],"inset-y":[{"inset-y":ue()}],start:[{"inset-s":ue(),start:ue()}],end:[{"inset-e":ue(),end:ue()}],"inset-bs":[{"inset-bs":ue()}],"inset-be":[{"inset-be":ue()}],top:[{top:ue()}],right:[{right:ue()}],bottom:[{bottom:ue()}],left:[{left:ue()}],visibility:["visible","invisible","collapse"],z:[{z:[sr,"auto",ne,te]}],basis:[{basis:[rr,"full","auto",h,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_e,rr,"auto","initial","none",te]}],grow:[{grow:["",_e,ne,te]}],shrink:[{shrink:["",_e,ne,te]}],order:[{order:[sr,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:Ee()}],"col-start":[{"col-start":Pe()}],"col-end":[{"col-end":Pe()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:Ee()}],"row-start":[{"row-start":Pe()}],"row-end":[{"row-end":Pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Le()}],"auto-rows":[{"auto-rows":Le()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...Re(),"normal"]}],"justify-items":[{"justify-items":[...De(),"normal"]}],"justify-self":[{"justify-self":["auto",...De()]}],"align-content":[{content:["normal",...Re()]}],"align-items":[{items:[...De(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...De(),{baseline:["","last"]}]}],"place-content":[{"place-content":Re()}],"place-items":[{"place-items":[...De(),"baseline"]}],"place-self":[{"place-self":["auto",...De()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pbs:[{pbs:B()}],pbe:[{pbe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:fe()}],mx:[{mx:fe()}],my:[{my:fe()}],ms:[{ms:fe()}],me:[{me:fe()}],mbs:[{mbs:fe()}],mbe:[{mbe:fe()}],mt:[{mt:fe()}],mr:[{mr:fe()}],mb:[{mb:fe()}],ml:[{ml:fe()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:xe()}],"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",...xe()]}],"min-w":[{"min-w":[h,"screen","none",...xe()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...xe()]}],h:[{h:["screen","lh",...xe()]}],"min-h":[{"min-h":["screen","lh","none",...xe()]}],"max-h":[{"max-h":["screen","lh",...xe()]}],"font-size":[{text:["base",s,Ii,Lr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,gx,cx]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Gu,te]}],"font-family":[{font:[hx,dx,t]}],"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":[_e,"none",ne,wp]}],leading:[{leading:[u,...B()]}],"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:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:[_e,"from-font","auto",ne,Lr]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[_e,"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:B()}],"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:z()}],"bg-size":[{bg:he()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},sr,ne,te],radial:["",ne,te],conic:[sr,ne,te]},mx,fx]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:pe()}
vendor: 8,988 bytes, line 125
125],"gradient-via-pos":[{via:pe()}],"gradient-to-pos":[{to:pe()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],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:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...ye(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_e,ne,te]}],"outline-w":[{outline:["",_e,Ii,Lr]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",v,ba,_a]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",w,ba,_a]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[_e,Lr]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",b,ba,_a]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[_e,ne,te]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"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":[_e]}],"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":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"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":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"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":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"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":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"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":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"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":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"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":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"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":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"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":A()}],"mask-image-conic-pos":[{"mask-conic":[_e]}],"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":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:z()}],"mask-size":[{mask:he()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:tt()}],brightness:[{brightness:[_e,ne,te]}],contrast:[{contrast:[_e,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",O,ba,_a]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",_e,ne,te]}],"hue-rotate":[{"hue-rotate":[_e,ne,te]}],invert:[{invert:["",_e,ne,te]}],saturate:[{saturate:[_e,ne,te]}],sepia:[{sepia:["",_e,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":tt()}],"backdrop-brightness":[{"backdrop-brightness":[_e,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[_e,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_e,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_e,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",_e,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[_e,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[_e,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",_e,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"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:[_e,"initial",ne,te]}],ease:[{ease:["linear","initial",_,ne,te]}],delay:[{delay:[_e,ne,te]}],animate:[{animate:["none",U,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,ne,te]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Mt()}],"rotate-x":[{"rotate-x":Mt()}],"rotate-y":[{"rotate-y":Mt()}],"rotate-z":[{"rotate-z":Mt()}],scale:[{scale:ot()}],"scale-x":[{"scale-x":ot()}],"scale-y":[{"scale-y":ot()}],"scale-z":[{"scale-z":ot()}],"scale-3d":["scale-3d"],skew:[{skew:Jt()}],"skew-x":[{"skew-x":Jt()}],"skew-y":[{"skew-y":Jt()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ut()}],"translate-x":[{"translate-x":Ut()}],"translate-y":[{"translate-y":Ut()}],"translate-z":[{"translate-z":Ut()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"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":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mbs":[{"scroll-mbs":B()}],"scroll-mbe":[{"scroll-mbe":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pbs":[{"scroll-pbs":B()}],"scroll-pbe":[{"scroll-pbe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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"]}
125],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",...F()]}],"stroke-w":[{stroke:[_e,Ii,Lr,wp]}],stroke:[{stroke:["none",...F()]}],"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"]}},wx=Jw(vx);function _n(...n){return wx(Ym(n))}const mg=I.forwardRef(({...n},t)=>y.jsx("div",{ref:t,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]",...n}));mg.displayName="ToastProvider";const gg=I.forwardRef(({...n},t)=>y.jsx("div",{ref:t,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]",...n}));gg.displayName="ToastViewport";const xx=Jm("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"}}),yg=I.forwardRef(({className:n,variant:t,...s},o)=>y.jsx("div",{ref:o,className:_n(xx({variant:t}),n),...s}));yg.displayName="Toast";const _x=I.forwardRef(({className:n,...t},s)=>y.jsx("div",{ref:s,className:_n("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",n),...t}));_x.displayName="ToastAction";const vg=I.forwardRef(({className:n,...t},s)=>y.jsx("button",{ref:s,className:_n("absolute right-2 top-2 rounded-md p-1 text-foreground
125/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",n),"toast-close":"",...t,children:y.jsx(eg,{className:"h-4 w-4"})}));vg.displayName="ToastClose";const wg=I.forwardRef(({className:n,...t},s)=>y.jsx("div",{ref:s,className:_n("text-sm font-semibold",n),...t}));wg.displayName="ToastTitle";const xg=I.forwardRef(({className:n,...t},s)=>y.jsx("div",{ref:s,className:_n("text-sm opacity-90",n),...t}));xg.displayName="ToastDescription";function bx(){const{toasts:n}=sw();return y.jsxs(mg,{children:[n.map(function({id:t,title:s,description:o,action:l,...u}){return y.jsxs(yg,{...u,children:[y.jsxs("div",{className:"grid gap-1",children:[s&&y.jsx(wg,{children:s}),o&&y.jsx(xg,{children:o})]}),l,y.jsx(vg,{})]},t)}),y.jsx(gg,{})]})}var ro=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sx={setTimeout:(n,t)=>setTimeout(n,t),clearTimeout:n=>clearTimeout(n),setInterval:(n,t)=>setInterval(n,t),clearInterval:n=>clearInterval(n)},ar,Uc,Lm,Ex=(Lm=class{constructor(){de(this,ar,Sx);de(this,Uc,!1)}setTimeoutProvider(n){X(this,ar,n)}setTimeout(n,t){return k(this,ar).setTimeout(n,t)}clearTimeout(n){k(this,ar).clearTimeout(n)}setInterval(n,t){return k(this,ar).setInterval(n,t)}clearInterval(n){k(this,ar).clearInterval(n)}},ar=new WeakMap,Uc=new WeakMap,Lm),Ur=new Ex;function kx(n){setTimeout(n,0)}var Jr=typeof window>"u"||"Deno"in globalThis;function Ot(){}function Cx(n,t){return typeof n=="function"?n(t):n}function uc(n){return typeof n=="number"&&n>=0&&n!==1/0}function _g(n,t){return Math.max(n+(t||0)-Date.now(),0)}function yr(n,t){return typeof n=="function"?n(t):n}function Qt(n,t){return typeof n=="function"?n(t):n}function bp(n,t){const{type:s="all",exact:o,fetchStatus:l,predicate:u,queryKey:d,stale:h}=n;if(d){if(o){if(t.queryHash!==$c(d,t.options))return!1}else if(!Qi(t.queryKey,d))return!1}if(s!=="all"){const p=t.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof h=="boolean"&&t.isStale()!==h||l&&l!==t.state.fetchStatus||u&&!u(t))}function Sp(n,t){const{exact:s,status:o,predicate:l,mutationKey:u}=n;if(u){if(!t.options.mutationKey)return!1;if(s){if(Wi(t.options.mutationKey)!==Wi(u))return!1}else if(!Qi(t.options.mutationKey,u))return!1}return!(o&&t.state.status!==o||l&&!l(t))}function $c(n,t){return((t==null?void 0:t.queryKeyHashFn)||Wi)(n)}function Wi(n){return JSON.stringify(n,(t,s)=>dc(s)?Object.keys(s).sort().reduce((o,l)=>(o[l]=s[l],o),{}):s)}function Qi(n,t){return n===t?!0:typeof n!=typeof t?!1:n&&t&&typeof n=="object"&&typeof t=="object"?Object.keys(t).every(s=>Qi(n[s],t[s])):!1}var Tx=Object.prototype.hasOwnProperty;function bg(n,t,s=0){if(n===t)return n;if(s>500)return t;const o=Ep(n)&&Ep(t);if(!o&&!(dc(n)&&dc(t)))return t;const u=(o?n:Object.keys(n)).length,d=o?t:Object.keys(t),h=d.length,p=o?new Array(h):{};let g=0;for(let v=0;v<h;v++){const w=o?v:d[v],b=n[w],O=t[w];if(b===O){p[w]=b,(o?v<u:Tx.call(n,w))&&g++;continue}if(b===null||O===null||typeof b!="object"||typeof O!="object"){p[w]=O;continue}const D=bg(b,O,s+1);p[w]=D,D===b&&g++}return u===h&&g===u?n:p}function cc(n,t){if(!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(const s in n)if(n[s]!==t[s])return!1;return!0}function Ep(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function dc(n){if(!kp(n))return!1;const t=n.constructor;if(t===void 0)return!0;const s=t.prototype;return!(!kp(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function kp(n){return Object.prototype.toString.call(n)==="[object Object]"}function Rx(n){return new Promise(t=>{Ur.setTimeout(t,n)})}function fc(n,t,s){return typeof s.structuralSharing=="function"?s.structuralSharing(n,t):s.structuralSharing!==!1?bg(n,t):t}function Nx(n,t,s=0){const o=[...n,t];return s&&o.length>s?o.slice(1):o}function Ox(n,t,s=0){const o=[t,...n];return s&&o.length>s?o.slice(0,-1):o}var Hc=Symbol();function Sg(n,t){return!n.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!n.queryFn||n.queryFn===Hc?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function Eg(n,t){return typeof n=="function"?n(...t):!!n}function Px(n,t,s){let o=!1,l;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(l??(l=t()),o||(o=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),n}var zr,lr,As,Im,Ax=(Im=class extends ro{constructor(){super();de(this,zr);de(this,lr);de(this,As);X(this,As,t=>{if(!Jr&&window.addEventListener){const s=()=>t();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){k(this,lr)||this.setEventListener(k(this,As))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,lr))==null||t.call(this),X(this,lr,void 0))}setEventListener(t){var s;X(this,As,t),(s=k(this,lr))==null||s.call(this),X(this,lr,t(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(t){k(this,zr)!==t&&(X(this,zr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,992 bytes, line 125
125this.listeners.forEach(s=>{s(t)})}isFocused(){var t;return typeof k(this,zr)=="boolean"?k(this,zr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},zr=new WeakMap,lr=new WeakMap,As=new WeakMap,Im),qc=new Ax;function hc(){let n,t;const s=new Promise((l,u)=>{n=l,t=u});s.status="pending",s.catch(()=>{});function o(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{o({status:"fulfilled",value:l}),n(l)},s.reject=l=>{o({status:"rejected",reason:l}),t(l)},s}var jx=kx;function Lx(){let n=[],t=0,s=h=>{h()},o=h=>{h()},l=jx;const u=h=>{t?n.push(h):l(()=>{s(h)})},d=()=>{const h=n;n=[],h.length&&l(()=>{o(()=>{h.forEach(p=>{s(p)})})})};return{batch:h=>{let p;t++;try{p=h()}finally{t--,t||d()}return p},batchCalls:h=>(...p)=>{u(()=>{h(...p)})},schedule:u,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{o=h},setScheduler:h=>{l=h}}}var dt=Lx(),js,ur,Ls,Dm,Ix=(Dm=class extends ro{constructor(){super();de(this,js,!0);de(this,ur);de(this,Ls);X(this,Ls,t=>{if(!Jr&&window.addEventListener){const s=()=>t(!0),o=()=>t(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",o)}}})}onSubscribe(){k(this,ur)||this.setEventListener(k(this,Ls))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,ur))==null||t.call(this),X(this,ur,void 0))}setEventListener(t){var s;X(this,Ls,t),(s=k(this,ur))==null||s.call(this),X(this,ur,t(this.setOnline.bind(this)))}setOnline(t){k(this,js)!==t&&(X(this,js,t),this.listeners.forEach(o=>{o(t)}))}isOnline(){return k(this,js)}},js=new WeakMap,ur=new WeakMap,Ls=new WeakMap,Dm),Fa=new Ix;function Dx(n){return Math.min(1e3*2**n,3e4)}function kg(n){return(n??"online")==="online"?Fa.isOnline():!0}var pc=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Cg(n){let t=!1,s=0,o;const l=hc(),u=()=>l.status!=="pending",d=N=>{var S;if(!u()){const _=new pc(N);b(_),(S=n.onCancel)==null||S.call(n,_)}},h=()=>{t=!0},p=()=>{t=!1},g=()=>qc.isFocused()&&(n.networkMode==="always"||Fa.isOnline())&&n.canRun(),v=()=>kg(n.networkMode)&&n.canRun(),w=N=>{u()||(o==null||o(),l.resolve(N))},b=N=>{u()||(o==null||o(),l.reject(N))},O=()=>new Promise(N=>{var S;o=_=>{(u()||g())&&N(_)},(S=n.onPause)==null||S.call(n)}).then(()=>{var N;o=void 0,u()||(N=n.onContinue)==null||N.call(n)}),D=()=>{if(u())return;let N;const S=s===0?n.initialPromise:void 0;try{N=S??n.fn()}catch(_){N=Promise.reject(_)}Promise.resolve(N).then(w).catch(_=>{var Q;if(u())return;const U=n.retry??(Jr?0:3),L=n.retryDelay??Dx,A=typeof L=="function"?L(s,_):L,H=U===!0||typeof U=="number"&&s<U||typeof U=="function"&&U(s,_);if(t||!H){b(_);return}s++,(Q=n.onFail)==null||Q.call(n,s,_),Rx(A).then(()=>g()?void 0:O()).then(()=>{t?b(_):D()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(o==null||o(),l),cancelRetry:h,continueRetry:p,canStart:v,start:()=>(v()?D():O().then(D),l)}}var Br,Mm,Tg=(Mm=class{constructor(){de(this,Br)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),uc(this.gcTime)&&X(this,Br,Ur.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(Jr?1/0:300*1e3))}clearGcTimeout(){k(this,Br)&&(Ur.clearTimeout(k(this,Br)),X(this,Br,void 0))}},Br=new WeakMap,Mm),$r,Is,Wt,Hr,it,Xi,qr,ln,An,Um,Mx=(Um=class extends Tg{constructor(t){super();de(this,ln);de(this,$r);de(this,Is);de(this,Wt);de(this,Hr);de(this,it);de(this,Xi);de(this,qr);X(this,qr,!1),X(this,Xi,t.defaultOptions),this.setOptions(t.options),this.observers=[],X(this,Hr,t.client),X(this,Wt,k(this,Hr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,X(this,$r,Tp(this.options)),this.state=t.state??k(this,$r),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=k(this,it))==null?void 0:t.promise}setOptions(t){if(this.options={...k(this,Xi),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Tp(this.options);s.data!==void 0&&(this.setState(Cp(s.data,s.dataUpdatedAt)),X(this,$r,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,Wt).remove(this)}setData(t,s){const o=fc(this.state.data,t,this.options);return ke(this,ln,An).call(this,{data:o,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),o}setState(t,s){ke(this,ln,An).call(this,{type:"setState",state:t,setStateOptions:s})}cancel(t){var o,l;const s=(o=k(this,it))==null?void 0:o.promise;return(l=k(this,it))==null||l.cancel(t),s?s.then(Ot).catch(Ot):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,$r))}isActive(){return this.observers.some(t=>Qt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Hc||this.state.dataUpdateCount+this.state.errorUpdate
125Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>yr(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!_g(this.state.dataUpdatedAt,t)}onFocus(){var s;const t=this.observers.find(o=>o.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(s=k(this,it))==null||s.continue()}onOnline(){var s;const t=this.observers.find(o=>o.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(s=k(this,it))==null||s.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),k(this,Wt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(s=>s!==t),this.observers.length||(k(this,it)&&(k(this,qr)?k(this,it).cancel({revert:!0}):k(this,it).cancelRetry()),this.scheduleGc()),k(this,Wt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,ln,An).call(this,{type:"invalidate"})}async fetch(t,s){var p,g,v,w,b,O,D,N,S,_,U,L;if(this.state.fetchStatus!=="idle"&&((p=k(this,it))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(k(this,it))return k(this,it).continueRetry(),k(this,it).promise}if(t&&this.setOptions(t),!this.options.queryFn){const A=this.observers.find(H=>H.options.queryFn);A&&this.setOptions(A.options)}const o=new AbortController,l=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>(X(this,qr,!0),o.signal)})},u=()=>{const A=Sg(this.options,s),Q=(()=>{const oe={client:k(this,Hr),queryKey:this.queryKey,meta:this.meta};return l(oe),oe})();return X(this,qr,!1),this.options.persister?this.options.persister(A,Q,this):A(Q)},h=(()=>{const A={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:k(this,Hr),state:this.state,fetchFn:u};return l(A),A})();(g=this.options.behavior)==null||g.onFetch(h,this),X(this,Is,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=h.fetchOptions)==null?void 0:v.meta))&&ke(this,ln,An).call(this,{type:"fetch",meta:(w=h.fetchOptions)==null?void 0:w.meta}),X(this,it,Cg({initialPromise:s==null?void 0:s.initialPromise,fn:h.fetchFn,onCancel:A=>{A instanceof pc&&A.revert&&this.setState({...k(this,Is),fetchStatus:"idle"}),o.abort()},onFail:(A,H)=>{ke(this,ln,An).call(this,{type:"failed",failureCount:A,error:H})},onPause:()=>{ke(this,ln,An).call(this,{type:"pause"})},onContinue:()=>{ke(this,ln,An).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const A=await k(this,it).start();if(A===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(A),(O=(b=k(this,Wt).config).onSuccess)==null||O.call(b,A,this),(N=(D=k(this,Wt).config).onSettled)==null||N.call(D,A,this.state.error,this),A}catch(A){if(A instanceof pc){if(A.silent)return k(this,it).promise;if(A.revert){if(this.state.data===void 0)throw A;return this.state.data}}throw ke(this,ln,An).call(this,{type:"error",error:A}),(_=(S=k(this,Wt).config).onError)==null||_.call(S,A,this),(L=(U=k(this,Wt).config).onSettled)==null||L.call(U,this.state.data,A,this),A}finally{this.scheduleGc()}}},$r=new WeakMap,Is=new WeakMap,Wt=new WeakMap,Hr=new WeakMap,it=new WeakMap,Xi=new WeakMap,qr=new WeakMap,ln=new WeakSet,An=function(t){const s=o=>{switch(t.type){case"failed":return{...o,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...Rg(o.data,this.options),fetchMeta:t.meta??null};case"success":const l={...o,...Cp(t.data,t.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return X(this,Is,t.manual?l:void 0),l;case"error":const u=t.error;
vendor: 9,603 bytes, line 125
125return{...o,error:u,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...t.state}}};this.state=s(this.state),dt.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),k(this,Wt).notify({query:this,type:"updated",action:t})})},Um);function Rg(n,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:kg(t.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function Cp(n,t){return{data:n,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Tp(n){const t=typeof n.initialData=="function"?n.initialData():n.initialData,s=t!==void 0,o=s?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Nt,Ce,Zi,bt,Vr,Ds,jn,cr,eo,Ms,Us,Wr,Qr,dr,Fs,je,zi,mc,gc,yc,vc,wc,xc,_c,Ng,Fm,Ux=(Fm=class extends ro{constructor(t,s){super();de(this,je);de(this,Nt);de(this,Ce);de(this,Zi);de(this,bt);de(this,Vr);de(this,Ds);de(this,jn);de(this,cr);de(this,eo);de(this,Ms);de(this,Us);de(this,Wr);de(this,Qr);de(this,dr);de(this,Fs,new Set);this.options=s,X(this,Nt,t),X(this,cr,null),X(this,jn,hc()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(k(this,Ce).addObserver(this),Rp(k(this,Ce),this.options)?ke(this,je,zi).call(this):this.updateResult(),ke(this,je,vc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bc(k(this,Ce),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bc(k(this,Ce),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ke(this,je,wc).call(this),ke(this,je,xc).call(this),k(this,Ce).removeObserver(this)}setOptions(t){const s=this.options,o=k(this,Ce);if(this.options=k(this,Nt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Qt(this.options.enabled,k(this,Ce))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ke(this,je,_c).call(this),k(this,Ce).setOptions(this.options),s._defaulted&&!cc(this.options,s)&&k(this,Nt).getQueryCache().notify({type:"observerOptionsUpdated",query:k(this,Ce),observer:this});const l=this.hasListeners();l&&Np(k(this,Ce),o,this.options,s)&&ke(this,je,zi).call(this),this.updateResult(),l&&(k(this,Ce)!==o||Qt(this.options.enabled,k(this,Ce))!==Qt(s.enabled,k(this,Ce))||yr(this.options.staleTime,k(this,Ce))!==yr(s.staleTime,k(this,Ce)))&&ke(this,je,mc).call(this);const u=ke(this,je,gc).call(this);l&&(k(this,Ce)!==o||Qt(this.options.enabled,k(this,Ce))!==Qt(s.enabled,k(this,Ce))||u!==k(this,dr))&&ke(this,je,yc).call(this,u)}getOptimisticResult(t){const s=k(this,Nt).getQueryCache().build(k(this,Nt),t),o=this.createResult(s,t);return zx(this,o)&&(X(this,bt,o),X(this,Ds,this.options),X(this,Vr,k(this,Ce).state)),o}getCurrentResult(){return k(this,bt)}trackResult(t,s){return new Proxy(t,{get:(o,l)=>(this.trackProp(l),s==null||s(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&k(this,jn).status==="pending"&&k(this,jn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,l))})}trackProp(t){k(this,Fs).add(t)}getCurrentQuery(){return k(this,Ce)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const s=k(this,Nt).defaultQueryOptions(t),o=k(this,Nt).getQueryCache().build(k(this,Nt),s);return o.fetch().then(()=>this.createResult(o,s))}fetch(t){return ke(this,je,zi).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),k(this,bt)))}createResult(t,s){var ue;const o=k(this,Ce),l=this.options,u=k(this,bt),d=k(this,Vr),h=k(this,Ds),g=t!==o?t.state:k(this,Zi),{state:v}=t;let w={...v},b=!1,O;if(s._optimisticResults){const we=this.hasListeners(),Ee=!we&&Rp(t,s),Pe=we&&Np(t,o,s,l);(Ee||Pe)&&(w={...w,...Rg(v.data,t.options)}),s._optimisticResults==="isRestoring"&&(w.fetchStatus="idle")}let{error:D,errorUpdatedAt:N,status:S}=w;O=w.data;let _=!1;if(s.placeholderData!==void 0&&O===void 0&&S==="pending"){let we;u!=null&&u.isPlaceholderData&&s.placeholderData===(h==null?void 0:h.placeholderData)?(we=u.data,_=!0):we=typeof s.placeholderData=="function"?s.placeholderData((ue=k(this,Us))==null?void 0:ue.state.data,k(this,Us)):s.placeholderData,we!==void 0&&(S="success",O=fc(u==null?void 0:u.data,we,s),b=!0)}if(s.select&&O!==void 0&&!_)if(u&&O===(d==null?void 0:d.data)&&s.select===k(this,eo))O=k(this,Ms);else try{X(this,eo,s.select),O=s.select(O),O=fc(u==null?void 0:u.data,O,s),X(this,Ms,O),X(this,cr,null)}catch(we){X(this,cr,we)}k(this,cr)&&(D=k(this,cr),O=k(this,Ms),N=Date.now(),S="error");const U=w.fetchStatus==="fetching",L=S==="pending",A=S==="error",H=L&&U,Q=O!==void 0,B={status:S,fetchStatus:w.fetchStatus,isPending:L,isSuccess:S==="success",isError:A,isInitialLoading:H,isLoading:H,data:O,dataUpdatedAt:w.dataUpdatedAt,error:D,errorUpdatedAt:N,failureCount:w.fetchFailureCount,failureReason:w.fetchFailureReason,errorUpdateCount:w.errorUpdateCount,isFetched:w.dataUpdateCount>0||w.errorUpdateCount>0,isFetchedAfterMount:w.dataUpdateCount>g.dataUpdateCount||w.errorUpdateCount>g.errorUpdateCount,isFetching:U,isRefetching:U&&!L,isLoadingError:A&&!Q,isPaused:w.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:A&&Q,isStale:Vc(t,s),refetch:this.refetch,promise:k(this,jn),isEnabled:Qt(s.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const we=B.data!==void 0,Ee=B.status==="error"&&!we,Pe=De=>{Ee?De.reject(B.error):we&&De.resolve(B.data)},Le=()=>{const De=X(this,jn,B.promise=hc());Pe(De)},Re=k(this,jn);switch(Re.status){case"pending":t.queryHash===o.queryHash&&Pe(Re);break;case"fulfilled":(Ee||B.data!==Re.value)&&Le();break;case"rejected":(!Ee||B.error!==Re.reason)&&Le();break}}return B}updateResult(){const t=k(this,bt),s=this.createResult(k(this,Ce),this.options);if(X(this,Vr,k(this,Ce).state),X(this,Ds,this.options),k(this,Vr).data!==void 0&&X(this,Us,k(this,Ce)),cc(s,t))return;X(this,bt,s);const o=()=>{if(!t)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!k(this,Fs).size)return!0;const d=new Set(u??k(this,Fs));return this.options.throwOnError&&d.add("error"),Object.keys(k(this,bt)).some(h=>{const p=h;return k(this,bt)[p]!==t[p]&&d.has(p)})};ke(this,je,Ng).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ke(this,je,vc).call(this)}},Nt=new WeakMap,Ce=new WeakMap,Zi=new WeakMap,bt=new WeakMap,Vr=new WeakMap,Ds=new WeakMap,jn=new WeakMap,cr=new WeakMap,eo=new WeakMap,Ms=new WeakMap,Us=new WeakMap,Wr=new WeakMap,Qr=new WeakMap,dr=new WeakMap,Fs=new WeakMap,je=new WeakSet,zi=function(t){ke(this,je,_c).call(this);let s=k(this,Ce).fetch(this.options,t);return t!=null&&t.throwOnError||(s=s.catch(Ot)),s},mc=function(){ke(this,je,wc).call(this);const t=yr(this.options.staleTime,k(this,Ce));if(Jr||k(this,bt).isStale||!uc(t))return;const o=_g(k(this,bt).dataUpdatedAt,t)+1;X(this,Wr,Ur.setTimeout(()=>{k(this,bt).isStale||this.updateResult()},o))},gc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(k(this,Ce)):this.options.refetchInterval)??!1},yc=function(t){ke(this,je,xc).call(this),X(this,dr,t),!(Jr||Qt(this.options.enabled,k(this,Ce))===!1||!uc(k(this,dr))||k(this,dr)===0)&&X(this,Qr,Ur.setInterval(()=>{(this.options.refetchIntervalInBackground||qc.isFocused())&&ke(this,je,zi).call(this)},k(this,dr)))},vc=function(){ke(this,je,mc).call(this),ke(this,je,yc).call(this,ke(this,je,gc).call(this))},wc=function(){k(this,Wr)&&(Ur.clearTimeout(k(this,Wr)),X(this,Wr,void 0))},xc=function(){k(this,Qr)&&(Ur.clearInterval(k(this,Qr)),X(this,Qr,void 0))},_c=function(){const t=k(this,Nt).getQueryCache().build(k(this,Nt),this.options);if(t===k(this,Ce))return;const s=k(this,Ce);X(this,Ce,t),X(this,Zi,t.state),this.hasListeners()&&(s==null||s.removeObserver(this),t.addObserver(this))},Ng=function(t){dt.batch(()=>{t.listeners&&this.listeners.forEach(s=>{s(k(this,bt))}),k(this,Nt).getQueryCache().notify({query:k(this,Ce),type:"observerResultsUpdated"})})},Fm);function Fx(n,t){return Qt(t.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&t.retryOnMount===!1)}function Rp(n,t){return Fx(n,t)||n.state.data!==void 0&&bc(n,t,t.refetchOnMount)}function bc(n,t,s){if(Qt(t.enabled,n)!==!1&&yr(t.staleTime,n)!=="static"){const o=typeof s=="function"?s(n):s;return o==="always"||o!==!1&&Vc(n,t)}return!1}function Np(n,t,s,o){return(n!==t||Qt(o.enabled,n)===!1)&&(!s.suspense||n.state.status!=="error")&&Vc(n,s)}function Vc(n,t){return Qt(t.enabled,n)!==!1&&n.isStaleByTime(yr(t.staleTime,n))}function zx(n,t){return!cc(n.getCurrentResult(),t)}function Op(n){return{onFetch:(t,s)=>{var v,w,b,O,D;const o=t.options,l=(b=(w=(v=t.fetchOptions)==null?void 0:v.meta)==null?void 0:w.fetchMore)==null?void 0:b.direction,u=((O=t.state.data)==null?void 0:O.pages)||[],d=((D=t.state.data)==null?void 0:D.pageParams)||[];let h={pages:[],pageParams:[]},p=0;const g=async()=>{let N=!1;const S=L=>{Px(L,()=>t.signal,()=>N=!0)},_=Sg(t.options,t.fetchOptions),U=async(L,A,H)=>
vendor: 4,311 bytes, line 125
125{if(N)return Promise.reject();if(A==null&&L.pages.length)return Promise.resolve(L);const oe=(()=>{const Ee={client:t.client,queryKey:t.queryKey,pageParam:A,direction:H?"backward":"forward",meta:t.options.meta};return S(Ee),Ee})(),B=await _(oe),{maxPages:ue}=t.options,we=H?Ox:Nx;return{pages:we(L.pages,B,ue),pageParams:we(L.pageParams,A,ue)}};if(l&&u.length){const L=l==="backward",A=L?Bx:Pp,H={pages:u,pageParams:d},Q=A(o,H);h=await U(H,Q,L)}else{const L=n??u.length;do{const A=p===0?d[0]??o.initialPageParam:Pp(o,h);if(p>0&&A==null)break;h=await U(h,A),p++}while(p<L)}return h};t.options.persister?t.fetchFn=()=>{var N,S;return(S=(N=t.options).persister)==null?void 0:S.call(N,g,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},s)}:t.fetchFn=g}}}function Pp(n,{pages:t,pageParams:s}){const o=t.length-1;return t.length>0?n.getNextPageParam(t[o],t,s[o],s):void 0}function Bx(n,{pages:t,pageParams:s}){var o;return t.length>0?(o=n.getPreviousPageParam)==null?void 0:o.call(n,t[0],t,s[0],s):void 0}var to,gn,vt,Kr,yn,ir,zm,$x=(zm=class extends Tg{constructor(t){super();de(this,yn);de(this,to);de(this,gn);de(this,vt);de(this,Kr);X(this,to,t.client),this.mutationId=t.mutationId,X(this,vt,t.mutationCache),X(this,gn,[]),this.state=t.state||Hx(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){k(this,gn).includes(t)||(k(this,gn).push(t),this.clearGcTimeout(),k(this,vt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){X(this,gn,k(this,gn).filter(s=>s!==t)),this.scheduleGc(),k(this,vt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){k(this,gn).length||(this.state.status==="pending"?this.scheduleGc():k(this,vt).remove(this))}continue(){var t;return((t=k(this,Kr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var d,h,p,g,v,w,b,O,D,N,S,_,U,L,A,H,Q,oe;const s=()=>{ke(this,yn,ir).call(this,{type:"continue"})},o={client:k(this,to),meta:this.options.meta,mutationKey:this.options.mutationKey};X(this,Kr,Cg({fn:()=>this.options.mutationFn?this.options.mutationFn(t,o):Promise.reject(new Error("No mutationFn found")),onFail:(B,ue)=>{ke(this,yn,ir).call(this,{type:"failed",failureCount:B,error:ue})},onPause:()=>{ke(this,yn,ir).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,vt).canRun(this)}));const l=this.state.status==="pending",u=!k(this,Kr).canStart();try{if(l)s();else{ke(this,yn,ir).call(this,{type:"pending",variables:t,isPaused:u}),k(this,vt).config.onMutate&&await k(this,vt).config.onMutate(t,this,o);const ue=await((h=(d=this.options).onMutate)==null?void 0:h.call(d,t,o));ue!==this.state.context&&ke(this,yn,ir).call(this,{type:"pending",context:ue,variables:t,isPaused:u})}const B=await k(this,Kr).start();return await((g=(p=k(this,vt).config).onSuccess)==null?void 0:g.call(p,B,t,this.state.context,this,o)),await((w=(v=this.options).onSuccess)==null?void 0:w.call(v,B,t,this.state.context,o)),await((O=(b=k(this,vt).config).onSettled)==null?void 0:O.call(b,B,null,this.state.variables,this.state.context,this,o)),await((N=(D=this.options).onSettled)==null?void 0:N.call(D,B,null,t,this.state.context,o)),ke(this,yn,ir).call(this,{type:"success",data:B}),B}catch(B){try{await((_=(S=k(this,vt).config).onError)==null?void 0:_.call(S,B,t,this.state.context,this,o))}catch(ue){Promise.reject(ue)}try{await((L=(U=this.options).onError)==null?void 0:L.call(U,B,t,this.state.context,o))}catch(ue){Promise.reject(ue)}try{await((H=(A=k(this,vt).config).onSettled)==null?void 0:H.call(A,void 0,B,this.state.variables,this.state.context,this,o))}catch(ue){Promise.reject(ue)}try{await((oe=(Q=this.options).onSettled)==null?void 0:oe.call(Q,void 0,B,t,this.state.context,o))}catch(ue){Promise.reject(ue)}throw ke(this,yn,ir).call(this,{type:"error",error:B}),B}finally{k(this,vt).runNext(this)}}},to=new WeakMap,gn=new WeakMap,vt=new WeakMap,Kr=new WeakMap,yn=new WeakSet,ir=function(t){const s=o=>{switch(t.type){case"failed":return{...o,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};
125case"pending":return{...o,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...o,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:t.error,failureCount:o.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=s(this.state),dt.batch(()=>{k(this,gn).forEach(o=>{o.onMutationUpdate(t)}),k(this,vt).notify({mutation:this,type:"updated",action:t})})},zm);function Hx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ln,un,no,Bm,qx=(Bm=class extends ro{constructor(t={}){super();de(this,Ln);de(this,un);de(this,no);this.config=t,X(this,Ln,new Set),X(this,un,new Map),X(this,no,0)}build(t,s,o){const l=new $x({client:t,mutationCache:this,mutationId:++wa(this,no)._,options:t.defaultMutationOptions(s),state:o});return this.add(l),l}add(t){k(this,Ln).add(t);const s=Sa(t);if(typeof s=="string"){const o=k(this,un).get(s);o?o.push(t):k(this,un).set(s,[t])}this.notify({type:"added",mutation:t})}remove(t){if(k(this,Ln).delete(t)){const s=Sa(t);if(typeof s=="string"){const o=k(this,un).get(s);if(o)if(o.length>1){const l=o.indexOf(t);l!==-1&&o.splice(l,1)}else o[0]===t&&k(this,un).delete(s)}}this.notify({type:"removed",mutation:t})}canRun(t){const s=Sa(t);if(typeof s=="string"){const o=k(this,un).get(s),l=o==null?void 0:o.find(u=>u.state.status==="pending");return!l||l===t}else return!0}runNext(t){var o;const s=Sa(t);if(typeof s=="string"){const l=(o=k(this,un).get(s))==null?void 0:o.find(u=>
vendor: 4,780 bytes, line 125
125u!==t&&u.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){dt.batch(()=>{k(this,Ln).forEach(t=>{this.notify({type:"removed",mutation:t})}),k(this,Ln).clear(),k(this,un).clear()})}getAll(){return Array.from(k(this,Ln))}find(t){const s={exact:!0,...t};return this.getAll().find(o=>Sp(s,o))}findAll(t={}){return this.getAll().filter(s=>Sp(t,s))}notify(t){dt.batch(()=>{this.listeners.forEach(s=>{s(t)})})}resumePausedMutations(){const t=this.getAll().filter(s=>s.state.isPaused);return dt.batch(()=>Promise.all(t.map(s=>s.continue().catch(Ot))))}},Ln=new WeakMap,un=new WeakMap,no=new WeakMap,Bm);function Sa(n){var t;return(t=n.options.scope)==null?void 0:t.id}var vn,$m,Vx=($m=class extends ro{constructor(t={}){super();de(this,vn);this.config=t,X(this,vn,new Map)}build(t,s,o){const l=s.queryKey,u=s.queryHash??$c(l,s);let d=this.get(u);return d||(d=new Mx({client:t,queryKey:l,queryHash:u,options:t.defaultQueryOptions(s),state:o,defaultOptions:t.getQueryDefaults(l)}),this.add(d)),d}add(t){k(this,vn).has(t.queryHash)||(k(this,vn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const s=k(this,vn).get(t.queryHash);s&&(t.destroy(),s===t&&k(this,vn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){dt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return k(this,vn).get(t)}getAll(){return[...k(this,vn).values()]}find(t){const s={exact:!0,...t};return this.getAll().find(o=>bp(s,o))}findAll(t={}){const s=this.getAll();return Object.keys(t).length>0?s.filter(o=>bp(t,o)):s}notify(t){dt.batch(()=>{this.listeners.forEach(s=>{s(t)})})}onFocus(){dt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){dt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},vn=new WeakMap,$m),Ve,fr,hr,zs,Bs,pr,$s,Hs,Hm,Wx=(Hm=class{constructor(n={}){de(this,Ve);de(this,fr);de(this,hr);de(this,zs);de(this,Bs);de(this,pr);de(this,$s);de(this,Hs);X(this,Ve,n.queryCache||new Vx),X(this,fr,n.mutationCache||new qx),X(this,hr,n.defaultOptions||{}),X(this,zs,new Map),X(this,Bs,new Map),X(this,pr,0)}mount(){wa(this,pr)._++,k(this,pr)===1&&(X(this,$s,qc.subscribe(async n=>{n&&(await this.resumePausedMutations(),k(this,Ve).onFocus())})),X(this,Hs,Fa.subscribe(async n=>{n&&(await this.resumePausedMutations(),k(this,Ve).onOnline())})))}unmount(){var n,t;wa(this,pr)._--,k(this,pr)===0&&((n=k(this,$s))==null||n.call(this),X(this,$s,void 0),(t=k(this,Hs))==null||t.call(this),X(this,Hs,void 0))}isFetching(n){return k(this,Ve).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return k(this,fr).findAll({...n,status:"pending"}).length}getQueryData(n){var s;const t=this.defaultQueryOptions({queryKey:n});return(s=k(this,Ve).get(t.queryHash))==null?void 0:s.state.data}ensureQueryData(n){const t=this.defaultQueryOptions(n),s=k(this,Ve).build(this,t),o=s.state.data;return o===void 0?this.fetchQuery(n):(n.revalidateIfStale&&s.isStaleByTime(yr(t.staleTime,s))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(n){return k(this,Ve).findAll(n).map(({queryKey:t,state:s})=>{const o=s.data;return[t,o]})}setQueryData(n,t,s){const o=this.defaultQueryOptions({queryKey:n}),l=k(this,Ve).get(o.queryHash),u=l==null?void 0:l.state.data,d=Cx(t,u);if(d!==void 0)return k(this,Ve).build(this,o).setData(d,{...s,manual:!0})}setQueriesData(n,t,s){return dt.batch(()=>k(this,Ve).findAll(n).map(({queryKey:o})=>[o,this.setQueryData(o,t,s)]))}getQueryState(n){var s;const t=this.defaultQueryOptions({queryKey:n});return(s=k(this,Ve).get(t.queryHash))==null?void 0:s.state}removeQueries(n){const t=k(this,Ve);dt.batch(()=>{t.findAll(n).forEach(s=>{t.remove(s)})})}resetQueries(n,t){const s=k(this,Ve);return dt.batch(()=>(s.findAll(n).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...n},t)))}cancelQueries(n,t={}){const s={revert:!0,...t},o=dt.batch(()=>k(this,Ve).findAll(n).map(l=>l.cancel(s)));return Promise.all(o).then(Ot).catch(Ot)}invalidateQueries(n,t={}){return dt.batch(()=>(k(this,Ve).findAll(n).forEach(s=>{s.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},t)))}refetchQueries(n,t={}){const s={...t,cancelRefetch:t.cancelRefetch??!0},o=dt.batch(()=>k(this,Ve).findAll(n).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(Ot)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(Ot)}fetchQuery(n){const t=this.defaultQueryOptions(n);t.retry===void 0&&(t.retry=!1);const s=k(this,Ve).build(this,t);return s.isStaleByTime(yr(t.staleTime,s))?s.fetch(t):Promise.resolve(s.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(Ot).catch(Ot)}
125fetchInfiniteQuery(n){return n.behavior=Op(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Ot).catch(Ot)}ensureInfiniteQueryData(n){return n.behavior=Op(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Fa.isOnline()?k(this,fr).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,Ve)}getMutationCache(){return k(this,fr)}getDefaultOptions(){return k(this,hr)}setDefaultOptions(n){X(this,hr,n)}setQueryDefaults(n,t){k(this,zs).set(Wi(n),{queryKey:n,defaultOptions:t})}getQueryDefaults(n){const t=[...k(this,zs).values()],s={};return t.forEach(o=>{Qi(n,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(n,t){k(this,Bs).set(Wi(n),{mutationKey:n,defaultOptions:t})}getMutationDefaults(n){const t=[...k(this,Bs).values()],s={};return t.forEach(o=>{Qi(n,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(n){if(n._defaulted)return n;const t={...k(this,hr).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return t.queryHash||(t.queryHash=$c(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Hc&&(t.enabled=!1),t}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...k(this,hr).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){k(this,Ve).clear(),k(this,fr).clear()}},Ve=new WeakMap,fr=new WeakMap,hr=new WeakMap,zs=new WeakMap,Bs=new WeakMap,pr=new WeakMap,$s=new WeakMap,Hs=new WeakMap,Hm),Og=I.createContext(void 0),Qx=n=>{const t=I.useContext(Og);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Kx=({client:n,children:t})=>(I.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),y.jsx(Og.Provider,{value:n,children:t})),Pg=I.createContext(!1),Gx=()=>I.useContext(Pg);Pg.Provider;function Yx(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var Jx=I.createContext(Yx()),Xx=()=>I.useContext(Jx),Zx=(n,t,s)=>{const o=s!=null&&s.state.error&&typeof n.throwOnError=="function"?Eg(n.throwOnError,[s.state.error,s]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||o)&&(t.isReset()||(n.retryOnMount=!1))},e1=n=>{I.useEffect(()=>{n.clearReset()},[n])},t1=({result:n,errorResetBoundary:t,throwOnError:s,query:o,suspense:l})=>n.isError&&!t.isReset()&&!n.isFetching&&o&&(l&&n.data===void 0||Eg(s,[n.error,o])),n1=n=>{if(n.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),o=n.staleTime;n.staleTime=typeof o=="function"?(...l)=>s(o(...l)):s(o),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},r1=(n,t)=>n.isLoading&&n.isFetching&&!t,s1=(n,t)=>(n==null?void 0:n.suspense)&&t.isPending,Ap=(n,t,s)=>t.fetchOptimistic(n).catch(()=>{s.clearReset()});function i1(n,t,s){var b,O,D,N;const o=Gx(),l=Xx(),u=Qx(),d=u.defaultQueryOptions(n);(O=(b=u.getDefaultOptions().queries)==null?void 0:b._experimental_beforeQuery)==null||O.call(b,d);const h=u.getQueryCache().get(d.queryHash);d._optimisticResults=o?"isRestoring":"optimistic",n1(d),Zx(d,l,h),e1(l);const p=!u.getQueryCache().get(d.queryHash),[g]=I.useState(()=>new t(u,d)),v=g.getOptimisticResult(d),w=!o&&n.subscribed!==!1;if(I.useSyncExternalStore(I.useCallback(S=>{const _=w?g.subscribe(dt.batchCalls(S)):Ot;return g.updateResult(),_},[g,w]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),I.useEffect(()=>{g.setOptions(d)},[d,g]),s1(d,v))throw Ap(d,g,l);if(t1({result:v,errorResetBoundary:l,throwOnError:d.throwOnError,query:h,suspense:d.suspense}))throw v.error;if((N=(D=u.getDefaultOptions().queries)==null?void 0:D._experimental_afterQuery)==null||N.call(D,d,v),d.experimental_prefetchInRender&&!Jr&&r1(v,o)){const S=p?Ap(d,g,l):h==null?void 0:h.promise;S==null||S.catch(Ot).finally(()=>{g.updateResult()})}return d.notifyOnChangeProps?v:g.trackResult(v)}function o1(n,t){return i1(n,Ux)}const a1=new Wx({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});Km();/** 126 * @remix-run/router v1.23.3 127 * 128 * Copyright (c) Remix Software Inc. 129 * 130 * This source code is licensed under the MIT license found in the 131 * LICENSE.md file in the root directory of this source tree. 132 * 133 * @license MIT 134 */function Ki(){return Ki=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(n[o]=s[o])}return n},Ki.apply(null,arguments)}var mr;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(mr||(mr={}));const jp="popstate";function l1(n){n===void 0&&(n={});function t(o,l){let{pathname:u,search:d,hash:h}=o.location;return Sc("",{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:za(l)}return c1(t,s,null,n)}function Je(n,t){if(n===!1||n===null||typeof n>"u")throw new Error(t)}function Wc(n,t){if(!n){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function u1(){return Math.random().toString(36).substr(2,8)}function Lp(n,t){return{usr:n.state,key:n.key,idx:t}}function Sc(n,t,s,o){return s===void 0&&(s=null),Ki({pathname:typeof n=="string"?n:n.pathname,search:"",hash:""},typeof t=="string"?Vs(t):t,{state:s,key:t&&t.key||o||u1()})}function za(n){let{pathname:t="/",search:s="",hash:o=""}=n;return s&&s!=="?"&&(t+=s.charAt(0)==="?"?s:"?"+s),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function Vs(n){let t={};if(n){let s=n.indexOf("#");s>=0&&(t.hash=n.substr(s),n=n.substr(0,s));let o=n.indexOf("?");o>=0&&(t.search=n.substr(o),n=n.substr(0,o)),n&&(t.pathname=n)}return t}function c1(n,t,s,o){o===void 0&&(o={});let{window:l=document.defaultView,v5Compat:u=!1}=o,d=l.history,h=mr.Pop,p=null,g=v();g==null&&(g=0,d.replaceState(Ki({},d.state,{idx:g}),""));function v(){return(d.state||{idx:null}).idx}function w(){h=mr.Pop;let S=v(),_=S==null?null:S-g;g=S,p&&p({action:h,location:N.location,delta:_})}function b(S,_){h=mr.Push;let U=Sc(N.location,S,_);g=v()+1;let L=Lp(U,g),A=N.createHref(U);try{d.pushState(L,"",A)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;l.location.assign(A)}u&&p&&p({action:h,location:N.location,delta:1})}function O(S,_){h=mr.Replace;let U=Sc(N.location,S,_);g=v();let L=Lp(U,g),A=N.createHref(U);d.replaceState(L,"",A),u&&p&&p({action:h,location:N.location,delta:0})}function D(S){let _=l.location.origin!=="null"?l.location.origin:l.location.href,U=typeof S=="string"?S:za(S);return U=U.replace(/ $/,"%20"),Je(_,"No window.location.(origin|href) available to create URL for href: "+U),new URL(U,_)}let N={get action(){return h},get location(){return n(l,d)},listen(S){if(p)throw new Error("A history only accepts one active listener");return l.addEventListener(jp,w),p=S,()=>{l.removeEventListener(jp,w),p=null}},createHref(S){return t(l,S)},createURL:D,encodeLocation(S){let _=D(S);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:b,replace:O,go(S){return d.go(S)}};return N}var Ip;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(Ip||(Ip={}));function d1(n,t,s){return s===void 0&&(s="/"),f1(n,t,s)}function f1(n,t,s,o){let l=typeof t=="string"?Vs(t):t,u=Qc(l.pathname||"/",s);if(u==null)return null;let d=Ag(n);h1(d);let h=null,p=k1(u);for(let g=0;h==null&&g<d.length;++g)h=b1(d[g],p);return h}function Ag(n,t,s,o){t===void 0&&(t=[]),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 val
134id. 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]),v=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+'".')),Ag(u.children,t,v,g)),!(u.path==null&&!u.index)&&t.push({path:g,score:x1(g,u.index),routesMeta:v})};return n.forEach((u,d)=>{var h;if(u.path===""||!((h=u.path)!=null&&h.includes("?")))l(u,d);else for(let p of jg(u.path))l(u,d,p)}),t}function jg(n){let t=n.split("/");if(t.length===0)return[];let[s,...o]=t,l=s.endsWith("?"),u=s.replace(/\?$/,"");if(o.length===0)return l?[u,""]:[u];let d=jg(o.join("/")),h=[];return h.push(...d.map(p=>p===""?u:[u,p].join("/"))),l&&h.push(...d),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function h1(n){n.sort((t,s)=>t.score!==s.score?s.score-t.score:_1(t.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}const p1=/^:[\w-]+$/,m1=3,g1=2,y1=1,v1=10,w1=-2,Dp=n=>n==="*";function x1(n,t){let s=n.split("/"),o=s.length;return s.some(Dp)&&(o+=w1),t&&(o+=g1),s.filter(l=>!Dp(l)).reduce((l,u)=>l+(p1.test(u)?m1:u===""?y1:v1),o)}function _1(n,t){return n.length===t.length&&n.slice(0,-1).every((o,l)=>o===t[l])?n[n.length-1]-t[t.length-1]:0}function b1(n,t,s){let{routesMeta:o}=n,l={},u="/",d=[];for(let h=0;h<o.length;++h){let p=o[h],g=h===o.length-1,v=u==="/"?t:t.slice(u.length)||"/",w=S1({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},v),b=p.route;if(!w)return null;
vendor: 7,122 bytes, lines 134-143
134Object.assign(l,w.params),d.push({params:l,pathname:vr([u,w.pathname]),pathnameBase:O1(vr([u,w.pathnameBase])),route:b}),w.pathnameBase!=="/"&&(u=vr([u,w.pathnameBase]))}return d}function S1(n,t){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,o]=E1(n.path,n.caseSensitive,n.end),l=t.match(s);if(!l)return null;let u=l[0],d=u.replace(/(.)\/+$/,"$1"),h=l.slice(1);return{params:o.reduce((g,v,w)=>{let{paramName:b,isOptional:O}=v;if(b==="*"){let N=h[w]||"";d=u.slice(0,u.length-N.length).replace(/(.)\/+$/,"$1")}const D=h[w];return O&&!D?g[b]=void 0:g[b]=(D||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:d,pattern:n}}function E1(n,t,s){t===void 0&&(t=!1),s===void 0&&(s=!0),Wc(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let o=[],l="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,p)=>(o.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(o.push({paramName:"*"}),l+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?l+="\\/*$":n!==""&&n!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),o]}function k1(n){try{return n.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Wc(!1,'The URL path "'+n+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),n}}function Qc(n,t){if(t==="/")return n;if(!n.toLowerCase().startsWith(t.toLowerCase()))return null;let s=t.endsWith("/")?t.length-1:t.length,o=n.charAt(s);return o&&o!=="/"?null:n.slice(s)||"/"}const C1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,T1=n=>C1.test(n);function R1(n,t){t===void 0&&(t="/");let{pathname:s,search:o="",hash:l=""}=typeof n=="string"?Vs(n):n,u;if(s)if(T1(s))u=s;else{if(s.includes("//")){let d=s;s=Dg(s),Wc(!1,"Pathnames cannot have embedded double slashes - normalizing "+(d+" -> "+s))}s.startsWith("/")?u=Mp(s.substring(1),"/"):u=Mp(s,t)}else u=t;return{pathname:u,search:P1(o),hash:A1(l)}}function Mp(n,t){let s=t.replace(/\/+$/,"").split("/");return n.split("/").forEach(l=>{l===".."?s.length>1&&s.pop():l!=="."&&s.push(l)}),s.length>1?s.join("/"):"/"}function Yu(n,t,s,o){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+t+"` 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 N1(n){return n.filter((t,s)=>s===0||t.route.path&&t.route.path.length>0)}function Lg(n,t){let s=N1(n);return t?s.map((o,l)=>l===s.length-1?o.pathname:o.pathnameBase):s.map(o=>o.pathnameBase)}function Ig(n,t,s,o){o===void 0&&(o=!1);let l;typeof n=="string"?l=Vs(n):(l=Ki({},n),Je(!l.pathname||!l.pathname.includes("?"),Yu("?","pathname","search",l)),Je(!l.pathname||!l.pathname.includes("#"),Yu("#","pathname","hash",l)),Je(!l.search||!l.search.includes("#"),Yu("#","search","hash",l)));let u=n===""||l.pathname==="",d=u?"/":l.pathname,h;if(d==null)h=s;else{let w=t.length-1;if(!o&&d.startsWith("..")){let b=d.split("/");for(;b[0]==="..";)b.shift(),w-=1;l.pathname=b.join("/")}h=w>=0?t[w]:"/"}let p=R1(l,h),g=d&&d!=="/"&&d.endsWith("/"),v=(u||d===".")&&s.endsWith("/");return!p.pathname.endsWith("/")&&(g||v)&&(p.pathname+="/"),p}const Dg=n=>n.replace(/\/\/+/g,"/"),vr=n=>Dg(n.join("/")),O1=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),P1=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,A1=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function j1(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}const Mg=["post","put","patch","delete"];new Set(Mg);const L1=["get",...Mg];new Set(L1);/** 135 * React Router v6.30.4 136 * 137 * Copyright (c) Remix Software Inc. 138 * 139 * This source code is licensed under the MIT license found in the 140 * LICENSE.md file in the root directory of this source tree. 141 * 142 * @license MIT 143 */function Gi(){return Gi=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(n[o]=s[o])}return n},Gi.apply(null,arguments)}const Kc=I.createContext(null),I1=I.createContext(null),ns=I.createContext(null),so=I.createContext(null),rs=I.createContext({outlet:null,matches:[],isDataRoute:!1}),Ug=I.createContext(null);function D1(n,t){let{relative:s}=t===void 0?{}:t;io()||Je(!1);let{basename:o,navigator:l}=I.useContext(ns),{hash:u,pathname:d,search:h}=zg(n,{relative:s}),p=d;return o!=="/"&&(p=d==="/"?o:vr([o,d])),l.createHref({pathname:p,search:h,hash:u})}function io(){return I.useContext(so)!=null}function Ws(){return io()||Je(!1),I.useContext(so).location}function M1(){return I.useContext(so).navigationType}function Fg(n){I.useContext(ns).static||I.useLayoutEffect(n)}function U1(){let{isDataRoute:n}=I.useContext(rs);return n?J1():F1()}function F1(){io()||Je(!1);let n=I.useContext(Kc),{basename:t,future:s,navigator:o}=I.useContext(ns),{matches:l}=I.useContext(rs),{pathname:u}=Ws(),d=JSON.stringify(Lg(l,s.v7_relativeSplatPath)),h=I.useRef(!1);return Fg(()=>{h.current=!0}),I.useCallback(function(g,v){if(v===void 0&&(v={}),!h.current)return;if(typeof g=="number"){o.go(g);return}let w=Ig(g,JSON.parse(d),u,v.relative==="path");n==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:vr([t,w.pathname])),(v.replace?o.replace:o.push)(w,v.state,v)},[t,o,d,u,n])}function zg(n,t){let{relative:s}=t===void 0?{}:t,{future:o}=I.useContext(ns),{matches:l}=I.useContext(rs),{pathname:u}=Ws(),d=JSON.stringify(Lg(l,o.v7_relativeSplatPath));return I.useMemo(()=>Ig(n,JSON.parse(d),u,s==="path"),[n,d,u,s])}function z1(n,t){return B1(n,t)}function B1(n,t,s,o){io()||Je(!1);let{navigator:l}=I.useContext(ns),{matches:u}=I.useContext(rs),d=u[u.length-1],h=d?d.params:{};d&&d.pathname;let p=d?d.pathnameBase:"/";d&&d.route;let g=Ws(),v;if(t){var w;let S=typeof t=="string"?Vs(t):t;p==="/"||(w=S.pathname)!=null&&w.startsWith(p)||Je(!1),v=S}else v=g;let b=v.pathname||"/",O=b;if(p!=="/"){let S=p.replace(/^\//,"").split("/");O="/"+b.replace(/^\//,"").split("/").slice(S.length).join("/")}let D=d1(n,{pathname:O}),N=W1(D&&D.map(S=>Object.assign({},S,{params:Object.assign({},h,S.params),pathname:vr([p,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?p:vr([p,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),u,s,o);return t&&N?I.createElement(so.Provider,{value:{location:Gi({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:mr.Pop}},N):N}function $1(){let n=Y1(),t=j1(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application
143Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},t),s?I.createElement("pre",{style:l},s):null,null)}const H1=I.createElement($1,null);class q1 extends I.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,s){return s.location!==t.location||s.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:s.error,location:s.location,revalidation:t.revalidation||s.revalidation}}componentDidCatch(t,s){console.error("React Router caught the following error during render",t,s)}render(){return this.state.error!==void 0?I.createElement(rs.Provider,{value:this.props.routeContext},I.createElement(Ug.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function V1(n){let{routeContext:t,match:s,children:o}=n,l=I.useContext(Kc);return l&&l.static&&l.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=s.route.id),I.createElement(rs.Provider,{value:t},o)}function W1(n,t,s,o){var l;if(t===void 0&&(t=[]),s===void 0&&(s=null),o===void 0&&(o=null),n==null){var u;if(!s)return null;if(s.errors)n=s.matches;else if((u=o)!=null&&u.v7_partialHydration&&t.length===0&&!s.initialized&&s.matches.length>0)n=s.matches;else return null}let d=n,h=(l=s)==null?void 0:l.errors;if(h!=null){let v=d.findIndex(w=>w.route.id&&(h==null?void 0:h[w.route.id])!==void 0);v>=0||Je(!1),d=d.slice(0,Math.min(d.length,v+1))}let p=!1,g=-1;if(s&&o&&o.v7_partialHydration)for(let v=0;v<d.length;v++){let w=d[v];if((w.route.HydrateFallback||w.route.hydrateFallbackElement)&&(g=v),w.route.id){let{loaderData:b,errors:O}=s,D=w.route.loader&&b[w.route.id]===void 0&&(!O||O[w.route.id]===void 0);if(w.route.lazy||D){p=!0,g>=0?d=d.slice(0,g+1):d=[d[0]];break}}}return d.reduceRight((v,w,b)=>{let O,D=!1,N=null,S=null;s&&(O=h&&w.route.id?h[w.route.id]:void 0,N=w.route.errorElement||H1,p&&(g<0&&b===0?(X1("route-fallback"),D=!0,S=null):g===b&&(D=!0,S=w.route.hydrateFallbackElement||null)));let _=t.concat(d.slice(0,b+1)),U=()=>{let L;return O?L=N:D?L=S:w.route.Component?L=I.createElement(w.route.Component,null):w.route.element?L=w.route.element:L=v,I.createElement(V1,{match:w,routeContext:{outlet:v,matches:_,isDataRoute:s!=null},children:L})};return s&&(w.route.ErrorBoundary||w.route.errorElement||b===0)?I.createElement(q1,{location:s.location,revalidation:s.revalidation,component:N,error:O,children:U(),routeC
143ontext:{outlet:null,matches:_,isDataRoute:!0}}):U()},null)}var Bg=(function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n})(Bg||{}),$g=(function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n})($g||{});function Q1(n){let t=I.useContext(Kc);return t||Je(!1),t}function K1(n){let t=I.useContext(I1);return t||Je(!1),t}function G1(n){let t=I.useContext(rs);return t||Je(!1),t}function Hg(n){let t=G1(),s=t.matches[t.matches.length-1];return s.route.id||Je(!1),s.route.id}function Y1(){var n;let t=I.useContext(Ug),s=K1(),o=Hg();return t!==void 0?t:(n=s.errors)==null?void 0:n[o]}function J1(){let{router:n}=Q1(Bg.UseNavigateStable),t=Hg($g.UseNavigateStable),s=I.useRef(!1);return Fg(()=>{s.current=!0}),I.useCallback(function(l,u){u===void 0&&(u={}),s.current&&(typeof l=="number"?n.navigate(l):n.navigate(l,Gi({fromRouteId:t},u)))},[n,t])}const Up={};function X1(n,t,s){Up[n]||(Up[n]=!0)}function Z1(n,t){n==null||n.v7_startTransition,n==null||n.v7_relativeSplatPath}function or(n){Je(!1)}function e_(n){let{basename:t="/",children:s=null,location:o,navigationType:l=mr.Pop,navigator:u,static:d=!1,future:h}=n;io()&&Je(!1);let p=t.replace(/^\/*/,"/"),g=I.useMemo(()=>({basename:p,navigator:u,static:d,future:Gi({v7_relativeSplatPath:!1},h)}),[p,h,u,d]);typeof o=="string"&&(o=Vs(o));let{pathname:v="/",search:w="",hash:b="",state:O=null,key:D="default"}=o,N=I.useMemo(()=>{let S=Qc(v,p);return S==null?null:{location:{pathname:S,search:w,hash:b,state:O,key:D},navigationType:l}},[p,v,w,b,O,D,l]);return N==null?null:I.createElement(ns.Provider,{value:g},I.createElement(so.Provider,{children:s,value:N}))}function t_(n){let{children:t,location:s}=n;return z1(Ec(t),s)}new Promise(()=>{});function Ec(n,t){t===void 0&&(t=[]);let s=[];return I.Children.forEach(n,(o,l)=>{if(!I.isValidElement(o))return;let u=[...t,l];if(o.type===I.Fragment){s.push.apply(s,Ec(o.props.children,u));return}o.type!==or&&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}/** 144 * React Router DOM v6.30.4 145 * 146 * Copyright (c) Remix Software Inc. 147 * 148 * This source code is licensed under the MIT license found in the 149 * LICENSE.md file in the root directory of this source tree. 150 * 151 * @license MIT 152 */function kc(){return kc=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var o in s)({}).hasOwnProperty.call(s,o)&&(n[o]=s[o])}return n},kc.apply(null,arguments)}function n_(n,t){if(n==null)return{};var s={};for(var o in n)if({}.hasOwnProperty.call(n,o)){if(t.indexOf(o)!==-1)continue;s[o]=n[o]}return s}function r_(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function s_(n,t){return n.button===0&&(!t||t==="_self")&&!r_(n)}const i_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],o_="6";try{window.__reactRouterVersion=o_}catch{}const a_="startTransition",Fp=Qm[a_];function l_(n){let{basename:t,children:s,future:o,window:l}=n,u=I.useRef();u.current==null&&(u.current=l1({window:l,v5Compat:!0}));let d=u.current,[h,p]=I.useState({action:d.action,location:d.location}),{v7_startTransition:g}=o||{},v=I.useCallback(w=>{g&&Fp?Fp(()=>p(w)):p(w)},[p,g]);return I.useLayoutEffect(()=>d.listen(v),[d,v]),I.useEffect(()=>Z1(o),[o]),I.createElement(e_,{basename:t,children:s,location:h.location,navigationType:h.action,navigator:d,future:o})}const u_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",c_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gr=I.forwardRef(function(t,s){let{onClick:o,relative:l,reloadDocument:u,replace:d,state:h,target:p,to:g,preventScrollReset:v,viewTransition:w}
vendor: 9,131 bytes, lines 152-153
152=t,b=n_(t,i_),{basename:O}=I.useContext(ns),D,N=!1;if(typeof g=="string"&&c_.test(g)&&(D=g,u_))try{let L=new URL(window.location.href),A=g.startsWith("//")?new URL(L.protocol+g):new URL(g),H=Qc(A.pathname,O);A.origin===L.origin&&H!=null?g=H+A.search+A.hash:N=!0}catch{}let S=D1(g,{relative:l}),_=d_(g,{replace:d,state:h,target:p,preventScrollReset:v,relative:l,viewTransition:w});function U(L){o&&o(L),L.defaultPrevented||_(L)}return I.createElement("a",kc({},b,{href:D||S,onClick:N||u?o:U,ref:s,target:p}))});var zp;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(zp||(zp={}));var Bp;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(Bp||(Bp={}));function d_(n,t){let{target:s,replace:o,state:l,preventScrollReset:u,relative:d,viewTransition:h}=t===void 0?{}:t,p=U1(),g=Ws(),v=zg(n,{relative:d});return I.useCallback(w=>{if(s_(w,s)){w.preventDefault();let b=o!==void 0?o:za(g)===za(v);p(n,{replace:b,state:l,preventScrollReset:u,relative:d,viewTransition:h})}},[g,p,v,o,l,s,n,u,d,h])}function qg(n,t){return function(){return n.apply(t,arguments)}}const{toString:f_}=Object.prototype,{getPrototypeOf:qs}=Object,{iterator:oo,toStringTag:Vg}=Symbol,Ba=(({hasOwnProperty:n})=>(t,s)=>n.call(t,s))(Object.prototype),Yi=(n,t)=>{let s=n;const o=[];for(;s!=null&&s!==Object.prototype;){if(o.indexOf(s)!==-1)return!1;if(o.push(s),Ba(s,t))return!0;s=qs(s)}return!1},h_=(n,t)=>n!=null&&Yi(n,t)?n[t]:void 0,Gc=(n=>t=>{const s=f_.call(t);return n[s]||(n[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),Gt=n=>(n=n.toLowerCase(),t=>Gc(t)===n),Wa=n=>t=>typeof t===n,{isArray:Xr}=Array,Zr=Wa("undefined");function Qs(n){return n!==null&&!Zr(n)&&n.constructor!==null&&!Zr(n.constructor)&&Pt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const Wg=Gt("ArrayBuffer");function p_(n){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(n):t=n&&n.buffer&&Wg(n.buffer),t}const m_=Wa("string"),Pt=Wa("function"),Qg=Wa("number"),Ks=n=>n!==null&&typeof n=="object",g_=n=>n===!0||n===!1,Pa=n=>{if(!Ks(n))return!1;const t=qs(n);return(t===null||t===Object.prototype||qs(t)===null)&&!Yi(n,Vg)&&!Yi(n,oo)},y_=n=>{if(!Ks(n)||Qs(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},v_=Gt("Date"),w_=Gt("File"),x_=n=>!!(n&&typeof n.uri<"u"),__=n=>n&&typeof n.getParts<"u",b_=Gt("Blob"),S_=Gt("FileList"),E_=Gt("Set"),k_=n=>Ks(n)&&Pt(n.pipe);function C_(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const $p=C_(),Hp=typeof $p.FormData<"u"?$p.FormData:void 0,T_=n=>{if(!n)return!1;if(Hp&&n instanceof Hp)return!0;const t=qs(n);if(!t||t===Object.prototype||!Pt(n.append))return!1;const s=Gc(n);return s==="formdata"||s==="object"&&Pt(n.toString)&&n.toString()==="[object FormData]"},R_=Gt("URLSearchParams"),[N_,O_,P_,A_]=["ReadableStream","Request","Response","Headers"].map(Gt),j_=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ao(n,t,{allOwnKeys:s=!1}={}){if(n===null||typeof n>"u")return;let o,l;if(typeof n!="object"&&(n=[n]),Xr(n))for(o=0,l=n.length;o<l;o++)t.call(null,n[o],o,n);else{if(Qs(n))return;const u=s?Object.getOwnPropertyNames(n):Object.keys(n),d=u.length;let h;for(o=0;o<d;o++)h=u[o],t.call(null,n[h],h,n)}}function Kg(n,t){if(Qs(n))return null;t=t.toLowerCase();const s=Object.keys(n);let o=s.length,l;for(;o-- >0;)if(l=s[o],t===l.toLowerCase())return l;return null}const Fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Gg=n=>!Zr(n)&&n!==Fr;function Cc(...n){const{caseless:t,skipUndefined:s}=Gg(this)&&this||{},o={},l=(u,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;const h=t&&typeof d=="string"&&Kg(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||!Zr(u))&&(o[h]=u)};for(let u=0,d=n.length;u<d;u++){const h=n[u];if(!h||Qs(h)||(ao(h,l),typeof h!="object"||Xr(h)))continue;const p=Object.getOwnPropertySymbols(h);for(let g=0;g<p.length;g++){const v=p[g];V_.call(h,v)&&l(h[v],v)}}return o}const L_=(n,t,s,{allOwnKeys:o}={})=>(ao(t,(l,u)=>{s&&Pt(l)?Object.defineProperty(n,u,{__proto__:null,value:qg(l,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,u,{__proto__:null,value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),n),I_=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),D_=(n,t,s,o)=>{n.prototype=Object.create(t.prototype,o),Object.defineProperty(n.prototype,"constructor",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{__proto__:null,value:t.prototype}),s&&Object.assign(n.prototype,s)},M_=(n,t,s,o)=>{let l,u,d;const h={};if(t=t||{},n==null)return t;do{for(l=Object.getOwnPropertyNames(n),u=l.length;u-- >0;)d=l[u],(!o||o(d,n,t))&&!h[d]&&(t[d]=n[d],h[d]=!0);n=s!==!1&&qs(n)}while(n&&(!s||s(n,t))&&n!==Object.prototype);return t},U_=(n,t,s)=>{n=String(n),(s===void 0||s>n.length)&&(s=n.length),s-=t.length;const o=n.indexOf(t,s);return o!==-1&&o===s},F_=n=>{if(!n)return null;if(Xr(n))return n;let t=n.length;if(!Qg(t))return null;const s=new Array(t);for(;t-- >0;)s[t]=n[t];return s},z_=(n=>t=>n&&t instanceof n)(typeof Uint8Array<"u"&&qs(Uint8Array)),B_=(n,t)=>{const o=(n&&n[oo]).call(n);let l;for(;(l=o.next())&&!l.done;){const u=l.value;t.call(n,u[0],u[1])}},$_=(n,t)=>{let s;const o=[];for(;(s=n.exec(t))!==null;)o.push(s);return o},H_=Gt("HTMLFormElement"),q_=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,o,l){return o.toUpperCase()+l}),{propertyIsEnumerable:V_}=Object.prototype,W_=Gt("RegExp"),Yg=(n,t)=>{const s=Object.getOwnPropertyDescriptors(n),o={};ao(s,(l,u)=>{let d;(d=t(l,u,n))!==!1&&(o[u]=d||l)}),Object.defineProperties(n,o)},Q_=n=>{Yg(n,(t,s)=>{if(Pt(n)&&["arguments","caller","callee"].includes(s))return!1;const o=n[s];if(Pt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},K_=(n,t)=>{const s={},o=l=>{l.forEach(u=>{s[u]=!0})};return Xr(n)?o(n):o(String(n).split(t)),s},G_=()=>{},Y_=(n,t)=>n!=null&&Number.isFinite(n=+n)?n:t;function J_(n){return!!(n&&Pt(n.append)&&n[Vg]==="FormData"&&n[oo])}const X_=n=>{const t=new WeakSet,s=o=>{if(Ks(o)){if(t.has(o))return;if(Qs(o))return o;if(!("toJSON"in o)){t.add(o);let l;if(E_(o)){l=[];for(const u of o){const d=s(u);!Zr(d)&&l.push(d)}}else l=Xr(o)?[]:{},ao(o,(u,d)=>{const h=s(u);!Zr(h)&&(l[d]=h)});return t.delete(o),l}}return o};return s(n)},Z_=Gt("AsyncFunction"),eb=n=>n&&(Ks(n)||Pt(n))&&Pt(n.then)&&Pt(n.catch),Jg=((n,t)=>n?setImmediate:t?((s,o)=>(Fr.addEventListener("message",({source:l,data:u})=>{l===Fr&&u===s&&o.length&&o.shift()()},!1),l=>{o.push(l),Fr.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",Pt(Fr.postMessage)),tb=typeof queueMicrotask<"u"?queueMicrotask.bind(Fr):typeof process<"u"&&process.nextTick||Jg,Xg=n=>n!=null&&Pt(n[oo]),nb=n=>n!=null&&Yi(n,oo)&&Xg(n),C={isArray:Xr,isArrayBuffer:Wg,isBuffer:Qs,isFormData:T_,isArrayBufferView:p_,isString:m_,isNumber:Qg,isBoolean:g_,isObject:Ks,isPlainObject:Pa,isEmptyObject:y_,isReadableStream:N_,isRequest:O_,isResponse:P_,isHeaders:A_,isUndefined:Zr,isDate:v_,isFile:w_,isReactNativeBlob:x_,isReactNative:__,isBlob:b_,isRegExp:W_,isFunction:Pt,isStream:k_,isURLSearchParams:R_,isTypedArray:z_,isFileList:S_,forEach:ao,merge:Cc,extend:L_,trim:j_,stripBOM:I_,inherits:D_,toFlatObject:M_,kindOf:Gc,kindOfTest:Gt,endsWith:U_,toArray:F_,forEachEntry:B_,matchAll:$_,isHTMLForm:H_,hasOwnProperty:Ba,hasOwnProp:Ba,hasOwnInPrototypeChain:Yi,getSafeProp:h_,reduceDescriptors:Yg,freezeMethods:Q_,toObjectSet:K_,toCamelCase:q_,noop:G_,toFiniteNumber:Y_,findKey:Kg,global:Fr,isContextDefined:Gg,isSpecCompliantForm:J_,toJSONObject:X_,isAsyncFn:Z_,isThenable:eb,setImmediate:Jg,asap:tb,isIterable:Xg,isSafeIterable:nb},rb=C.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"]),sb=n=>{const t={};let s,o,l;return n&&n.split(` 153`).forEach(function(d){l=d.indexOf(":"),s=d.substring(0,l).trim().toLowerCase(),o=d.substring(l+1).trim();const h=C.hasOwnProp(t,s);!s||h&&C.hasOwnProp(rb,s)||(s==="set-cookie"?h?t[s].push(o):t[s]=[o]:t[s]=h?t[s]+", "+o:o)}),t};function ib(n){let t=0,s=n.length;for(;t<s;){const o=n.charCodeAt(t);if(o!==9&&o!==32)break;t+=1}for(;s>t;){const o=n.charCodeAt(s-1);if(o!==9&&o!==32)break;s-=1}return t===0&&s===n.length?n:n.slice(t,s)}const ob=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),ab=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Yc(n,t){return C.isArray(n)?n.map(s=>Yc(s,t)):ib(String(n).replace(t,""))}const lb=n=>Yc(n,ob),ub=n=>Yc(n,ab);function Zg(n){const t=Object.create(null);
153return C.forEach(n.toJSON(),(s,o)=>{t[o]=ub(s)}),t}const qp=Symbol("internals");function Di(n){return n&&String(n).trim().toLowerCase()}function Aa(n){return n===!1||n==null?n:C.isArray(n)?n.map(Aa):lb(String(n))}function cb(n){const t=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=s.exec(n);)t[o[1]]=o[2];return t}const db=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Ju(n){let t=0,s=n.length;for(;t<s;){const o=n.charCodeAt(t);if(o!==9&&o!==32)break;t+=1}for(;s>t;){const o=n.charCodeAt(s-1);if(o!==9&&o!==32)break;s-=1}return t===0&&s===n.length?n:n.slice(t,s)}function fb(n){const t=n.length-1;if(t<1||n.charCodeAt(0)!==34||n.charCodeAt(t)!==34)return n;let s="";for(let o=1;o<t;o++){const l=n.charCodeAt(o);if(l===34||l===92&&(o+=1,o>=t))return n;s+=n[o]}return s}function hb(n){const t=Object.create(null),s=String(n);let o=0,l=!1,u=!1;function d(h){const p=Ju(s.slice(o,h)),g=p.indexOf("=");if(g<1)return;const v=Ju(p.slice(0,g));if(!db.test(v))return;const w=v.toLowerCase();if(w==="__proto__"||w==="constructor"||w==="prototype")return;const b=Ju(p.slice(g+1));t[w]=fb(b)}for(let h=0;h<s.length;h++){const p=s.charCodeAt(h);l?u?u=!1:p===92?u=!0:p===34&&(l=!1):p===34?l=!0:(p===44||p===59)&&(d(h),o=h+1)}return d(s.length),t}const pb=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Xu(n,t,s,o,l){if(C.isFunction(o))return o.call(this,t,s);if(l&&(t=s),!!C.isString(t)){if(C.isString(o))return t.indexOf(o)!==-1;if(C.isRegExp(o))return o.test(t)}}function mb(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,s,o)=>s.toUpperCase()+o)}function gb(n,t){const s=C.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(n,o+s,{__proto__:null,value:function(l,u,d){return this[o].call(this,t,l,u,d)},configurable:!0})})}let wt=class{constructor(t){t&&this.set(t)}set(t,s,o){const l=this;function u(h,p,g){const v=Di(p);if(!v)return;const w=C.findKey(l,v);(!w||l[w]===void 0||g===!0||g===void 0&&l[w]!==!1)&&(l[w||p]=Aa(h))}const d=(h,p)=>C.forEach(h,(g,v)=>u(g,v,p));if(C.isPlainObject(t)||t instanceof this.constructor)d(t,s);else if(C.isString(t)&&(t=t.trim())&&!pb(t))d(sb(t),s);else if(C.isObject(t)&&C.isSafeIterable(t)){let h=Object.create(null),p,g;for(const v of t){if(!C.isArray(v))throw new TypeError("Object iterator must return a key-value pair");g=v[0],C.hasOwnProp(h,g)?(p=h[g],h[g]=C.isArray(p)?[...p,v[1]]:[p,v[1]]):h[g]=v[1]}d(h,s)}else t!=null&&u(s,t,o);return this}get(t,s){if(t=Di(t),t){const o=C.findKey(this,t);if(o){const l=this[o];if(!s)return l;if(s===!0)return cb(l);if(C.isFunction(s))return s.call(this,l,o);if(C.isRegExp(s))return s.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,s){if(t=Di(t),t){const o=C.findKey(this,t);return!!(o&&this[o]!==void 0&&(!s||Xu(this,this[o],o,s)))}return!1}delete(t,s){const o=this;let l=!1;function u(d){if(d=Di(d),d){const h=C.findKey(o,d);h&&(!s||Xu(o,o[h],h,s))&&(delete o[h],l=!0)}}return C.isArray(t)?t.forEach(u):u(t),l}clear(t){const s=Object.keys(this);let o=s.length,l=!1;for(;o--;){const u=s[o];(!t||Xu(this,this[u],u,t,!0))&&(delete this[u],l=!0)}return l}normalize(t){const s=this,o={};
vendor: 1,898 bytes, lines 153-154
153return C.forEach(this,(l,u)=>{const d=C.findKey(o,u);if(d){s[d]=Aa(l),delete s[u];return}const h=t?mb(u):String(u).trim();h!==u&&delete s[u],s[h]=Aa(l),o[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const s=Object.create(null);return C.forEach(this,(o,l)=>{o!=null&&o!==!1&&(s[l]=t&&C.isArray(o)?o.join(", "):o)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,s])=>t+": "+s).join(` 154`)}getSetCookie(){const t=this.get("set-cookie");return C.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return hb(t)}static concat(t,...s){const o=new this(t);return s.forEach(l=>o.set(l)),o}static accessor(t){const o=(this[qp]=this[qp]={accessors:{}}).accessors,l=this.prototype;function u(d){const h=Di(d);o[h]||(gb(l,d),o[h]=!0)}return C.isArray(t)?t.forEach(u):u(t),this}};wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(wt.prototype,({value:n},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(o){this[s]=o}}});C.freezeMethods(wt);const $a="[REDACTED ****]";function yb(n){if(C.hasOwnProp(n,"toJSON"))return!0;let t=Object.getPrototypeOf(n);for(;t&&t!==Object.prototype;){if(C.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function vb(n,t){const s=new Set(t.map(u=>String(u).toLowerCase())),o=[],l=u=>{if(u===null||typeof u!="object"||C.isBuffer(u))return u;if(o.indexOf(u)!==-1)return;u instanceof wt&&(u=u.toJSON()),o.push(u);let d;if(C.isArray(u))d=[],u.forEach((h,p)=>{const g=l(h);C.isUndefined(g)||(d[p]=g)});else{if(!C.isPlainObject(u)&&yb(u))return o.pop(),u;d=Object.create(null);for(const[h,p]of Object.entries(u)){const g=s.has(h.toLowerCase())?$a:l(p);
154C.isUndefined(g)||(d[h]=g)}}return o.pop(),d};return l(n)}function Vp(n){try{return String(n)}catch{return""}}function wb(n){return n.errors.map(s=>{try{return s&&s.message?Vp(s.message):Vp(s)}catch{return""}}).filter(Boolean).join("; ")||n.name||"AggregateError"}let Y=class ey extends Error{static from(t,s,o,l,u,d){let h=t.message;!h&&C.isArray(t.errors)&&t.errors.length&&(h=wb(t));const p=new ey(h,s||t.code,o,l,u);return Object.defineProperty(p,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),p.name=t.name,t.status!=null&&p.status==null&&(p.status=t.status),d&&Object.assign(p,d),p}constructor(t,s,o,l,u){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),o&&(this.config=o),l&&(this.request=l),u&&(this.response=u,this.status=u.status)}toJSON(){const t=this.config,s=t&&C.hasOwnProp(t,"redact")?t.redact:void 0,o=C.isArray(s)&&s.length>0?vb(t,s):C.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:o,code:this.code,status:this.status}}};Y.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Y.ERR_BAD_OPTION="ERR_BAD_OPTION";Y.ECONNABORTED="ECONNABORTED";Y.ETIMEDOUT="ETIMEDOUT";Y.ECONNREFUSED="ECONNREFUSED";Y.ERR_NETWORK="ERR_NETWORK";Y.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Y.ERR_DEPRECATED="ERR_DEPRECATED";Y.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Y.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Y.ERR_CANCELED="ERR_CANCELED";Y.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Y.ERR_INVALID_URL="ERR_INVALID_URL";Y.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const xb=null,ty=100;function Tc(n){return C.isPlainObject(n)||C.isArray(n)}function ny(n){return C.endsWith(n,"[]")?n.slice(0,-2):n}function Zu(n,t,s){return n?n.concat(t).map(function(l,u){return l=ny(l),!s&&u?"["+l+"]":l}).join(s?".":""):t}function _b(n){return C.isArray(n)&&!n.some(Tc)}const bb=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function Qa(n,t,s){if(!C.isObject(n))throw new TypeError("target must be an object");t=t||new FormData,s=C.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,L){return!C.isUndefined(L[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?ty:s.maxDepth,g=h&&C.isSpecCompliantForm(t),v=[];
vendor: 6,824 bytes, line 154
154if(!C.isFunction(l))throw new TypeError("visitor must be a function");function w(_){if(_===null)return"";if(C.isDate(_))return _.toISOString();if(C.isBoolean(_))return _.toString();if(!g&&C.isBlob(_))throw new Y("Blob is not supported. Use a Buffer instead.");if(C.isArrayBuffer(_)||C.isTypedArray(_)){if(g&&typeof h=="function")return new h([_]);throw new Y("Blob is not supported. Use a Buffer instead.",Y.ERR_NOT_SUPPORT)}return _}function b(_){if(_>p)throw new Y("Object is too deeply nested ("+_+" levels). Max depth: "+p,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function O(_,U){if(p===1/0)return JSON.stringify(_);const L=[];return JSON.stringify(_,function(H,Q){if(!C.isObject(Q))return Q;for(;L.length&&L[L.length-1]!==this;)L.pop();return L.push(Q),b(U+L.length-1),Q})}function D(_,U,L){let A=_;if(C.isReactNative(t)&&C.isReactNativeBlob(_))return t.append(Zu(L,U,u),w(_)),!1;if(_&&!L&&typeof _=="object"){if(C.endsWith(U,"{}"))U=o?U:U.slice(0,-2),_=O(_,1);else if(C.isArray(_)&&_b(_)||(C.isFileList(_)||C.endsWith(U,"[]"))&&(A=C.toArray(_)))return U=ny(U),A.forEach(function(Q,oe){!(C.isUndefined(Q)||Q===null)&&t.append(d===!0?Zu([U],oe,u):d===null?U:U+"[]",w(Q))}),!1}return Tc(_)?!0:(t.append(Zu(L,U,u),w(_)),!1)}const N=Object.assign(bb,{defaultVisitor:D,convertValue:w,isVisitable:Tc});function S(_,U,L=0){if(!C.isUndefined(_)){if(b(L),v.indexOf(_)!==-1)throw new Error("Circular reference detected in "+U.join("."));v.push(_),C.forEach(_,function(H,Q){(!(C.isUndefined(H)||H===null)&&l.call(t,H,C.isString(Q)?Q.trim():Q,U,N))===!0&&S(H,U?U.concat(Q):[Q],L+1)}),v.pop()}}if(!C.isObject(n))throw new TypeError("data must be an object");return S(n),t}function Wp(n){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(n).replace(/[!'()~]|%20/g,function(o){return t[o]})}function Jc(n,t){this._pairs=[],n&&Qa(n,this,t)}const ry=Jc.prototype;ry.append=function(t,s){this._pairs.push([t,s])};ry.toString=function(t){const s=t?o=>t.call(this,o,Wp):Wp;return this._pairs.map(function(l){return s(l[0])+"="+s(l[1])},"").join("&")};function Sb(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function sy(n,t,s){if(!t)return n;n=n||"";const o=C.isFunction(s)?{serialize:s}:s,l=C.getSafeProp(o,"encode")||Sb,u=C.getSafeProp(o,"serialize");let d;if(u?d=u(t,o):d=C.isURLSearchParams(t)?t.toString():new Jc(t,o).toString(l),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class Qp{constructor(){this.handlers=[]}use(t,s,o){return this.handlers.push({fulfilled:t,rejected:s,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Xc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Eb=typeof URLSearchParams<"u"?URLSearchParams:Jc,kb=typeof FormData<"u"?FormData:null,Cb=typeof Blob<"u"?Blob:null,Tb={isBrowser:!0,classes:{URLSearchParams:Eb,FormData:kb,Blob:Cb},protocols:["http","https","file","blob","url","data"]},Zc=typeof window<"u"&&typeof document<"u",Rc=typeof navigator=="object"&&navigator||void 0,Rb=Zc&&(!Rc||["ReactNative","NativeScript","NS"].indexOf(Rc.product)<0),Nb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ob=Zc&&window.location.href||"http://localhost",Pb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zc,hasStandardBrowserEnv:Rb,hasStandardBrowserWebWorkerEnv:Nb,navigator:Rc,origin:Ob},Symbol.toStringTag,{value:"Module"})),ft={...Pb,...Tb};function Ab(n,t){return Qa(n,new ft.classes.URLSearchParams,{visitor:function(s,o,l,u){return ft.isNode&&C.isBuffer(s)?(this.append(o,s.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}const Kp=ty;function iy(n){if(n>Kp)throw new Y("FormData field is too deeply nested ("+n+" levels). Max depth: "+Kp,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function jb(n){const t=[],s=/[^.[\]]+|\[([^.[\]]*)]/g;let o;for(;(o=s.exec(n))!==null;)iy(t.length),t.push(o[0]==="[]"?"":o[1]||o[0]);return t}function Lb(n){const t={},s=Object.keys(n);let o;const l=s.length;let u;for(o=0;o<l;o++)u=s[o],t[u]=n[u];return t}function oy(n){function t(s,o,l,u){iy(u);let d=s[u++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),p=u>=s.length;return d=!d&&C.isArray(l)?l.length:d,p?(C.hasOwnProp(l,d)?l[d]=C.isArray(l[d])?l[d].concat(o):[l[d],o]:l[d]=o,!h):((!C.hasOwnProp(l,d)||!C.isObject(l[d]))&&(l[d]=[]),t(s,o,l[d],u)&&C.isArray(l[d])&&(l[d]=Lb(l[d])),!h)}if(C.isFormData(n)&&C.isFunction(n.entries)){const s={};return C.forEachEntry(n,(o,l)=>{t(jb(o),l,s,0)}),s}return null}const Rs=(n,t)=>n!=null&&C.hasOwnProp(n,t)?n[t]:void 0;function Ib(n,t,s){if(C.isString(n))try{return(t||JSON.parse)(n),C.trim(n)}catch(o){if(o.name!=="SyntaxError")throw o}return(s||JSON.stringify)(n)}const lo={transitional:Xc,adapter:["xhr","http","fetch"],transformRequest:[function(t,s){const o=s.getContentType()||"",l=o.indexOf("application/json")>-1,u=C.isObject(t);if(u&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return l?JSON.stringify(oy(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t)||C.isReadableStream(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(u){const p=Rs(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1)return Ab(t,p).toString();if((h=C.isFileList(t))||o.indexOf("multipart/form-data")>-1){const g=Rs(this,"env"),v=g&&g.FormData;return Qa(h?{"files[]":t}:t,v&&new v,p)}}return u||l?(s.setContentType("application/json",!1),Ib(t)):t}],transformResponse:[function(t){const s=Rs(this,"transitional")||lo.transitional,o=s&&s.forcedJSONParsing,l=Rs(this,"responseType"),u=l==="json";if(C.isResponse(t)||C.isReadableStream(t))return t;if(t&&C.isString(t)&&(o&&!l||u)){const h=!(s&&s.silentJSONParsing)&&u;try{return JSON.parse(t,Rs(this,"parseReviver"))}catch(p){if(h)throw p.name==="SyntaxError"?Y.from(p,Y.ERR_BAD_RESPONSE,this,null,Rs(this,"response")):p}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ft.classes.FormData,Blob:ft.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch","query"],n=>{lo.headers[n]={}});function ec(n,t){const s=this||lo,o=t||s,l=wt.from(o.headers);let u=o.data;
vendor: 8,891 bytes, line 154
154return C.forEach(n,function(h){u=h.call(s,u,l.normalize(),t?t.status:void 0)}),l.normalize(),u}function ay(n){return!!(n&&n.__CANCEL__)}let uo=class extends Y{constructor(t,s,o){super(t??"canceled",Y.ERR_CANCELED,s,o),this.name="CanceledError",this.__CANCEL__=!0}};function ly(n,t,s){const o=s.config.validateStatus;!s.status||!o||o(s.status)?n(s):t(new Y("Request failed with status code "+s.status,s.status>=400&&s.status<500?Y.ERR_BAD_REQUEST:Y.ERR_BAD_RESPONSE,s.config,s.request,s))}function Db(n){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n);return t&&t[1]||""}function Mb(n,t){n=n||10;const s=new Array(n),o=new Array(n);let l=0,u=0,d;return t=t!==void 0?t:1e3,function(p){const g=Date.now(),v=o[u];d||(d=g),s[l]=p,o[l]=g;let w=u,b=0;for(;w!==l;)b+=s[w++],w=w%n;if(l=(l+1)%n,l===u&&(u=(u+1)%n),g-d<t)return;const O=v&&g-v;return O?Math.round(b*1e3/O):void 0}}function Ub(n,t){let s=0,o=1e3/t,l,u;const d=(g,v=Date.now())=>{s=v,l=null,u&&(clearTimeout(u),u=null),n(...g)};return[(...g)=>{const v=Date.now(),w=v-s;w>=o?d(g,v):(l=g,u||(u=setTimeout(()=>{u=null,d(l)},o-w)))},()=>l&&d(l)]}const Ha=(n,t,s=3)=>{let o=0;const l=Mb(50,250);return Ub(u=>{if(!u||typeof u.loaded!="number")return;const d=u.loaded,h=u.lengthComputable?u.total:void 0,p=Math.max(0,h!=null?Math.min(d,h):d),g=Math.max(0,p-o),v=l(g);o=Math.max(o,p);const w={loaded:p,total:h,progress:h?p/h:void 0,bytes:g,rate:v||void 0,estimated:v&&h?(h-p)/v:void 0,event:u,lengthComputable:h!=null,[t?"download":"upload"]:!0};n(w)},s)},Gp=(n,t)=>{const s=n!=null;return[o=>t[0]({lengthComputable:s,total:n,loaded:o}),t[1]]},Yp=(n,t=C.asap)=>(...s)=>t(()=>n(...s)),Fb=ft.hasStandardBrowserEnv?((n,t)=>s=>(s=new URL(s,ft.origin),n.protocol===s.protocol&&n.host===s.host&&(t||n.port===s.port)))(new URL(ft.origin),ft.navigator&&/(msie|trident)/i.test(ft.navigator.userAgent)):()=>!0,zb=ft.hasStandardBrowserEnv?{write(n,t,s,o,l,u,d){if(typeof document>"u")return;const h=[`${n}=${encodeURIComponent(t)}`];C.isNumber(s)&&h.push(`expires=${new Date(s).toUTCString()}`),C.isString(o)&&h.push(`path=${o}`),C.isString(l)&&h.push(`domain=${l}`),u===!0&&h.push("secure"),C.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(n){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let s=0;s<t.length;s++){const o=t[s].replace(/^\s+/,""),l=o.indexOf("=");if(l!==-1&&o.slice(0,l)===n)try{return decodeURIComponent(o.slice(l+1))}catch{return o.slice(l+1)}}return null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Bb(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function $b(n,t){if(!t)return n;let s=n.length;for(;s>0&&n.charCodeAt(s-1)===47;)s--;return n.slice(0,s)+"/"+t.replace(/^\/+/,"")}const Hb=/^https?:(?!\/\/)/i,qb=/[\t\n\r]/g;function Vb(n){let t=0;for(;t<n.length&&n.charCodeAt(t)<=32;)t++;return n.slice(t)}function Wb(n){return Vb(n).replace(qb,"")}function Qb(n){return n&&n.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,s,o="")=>`${s}${o}${$a}`)}function Kb(n){const t=n.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${$a}@`),s=t.indexOf("#"),l=(s===-1?t:t.slice(0,s)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${$a}`);return s===-1?l:`${l}#${Qb(t.slice(s+1))}`}function Jp(n,t){if(typeof n=="string"){const s=Wb(n);if(Hb.test(s))throw new Y(`Invalid URL ${JSON.stringify(Kb(s))}: missing "//" after protocol`,Y.ERR_INVALID_URL,t)}}function uy(n,t,s,o){Jp(t,o);let l=!Bb(t);return n&&(l||s===!1)?(Jp(n,o),$b(n,t)):t}const Xp=n=>n instanceof wt?{...n}:n,Gb=n=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(n).concat(Object.getOwnPropertySymbols(n).filter(t=>Object.getOwnPropertyDescriptor(n,t).enumerable)):Object.keys(n);function es(n,t){n=n||{},t=t||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function o(v,w,b,O){return C.isPlainObject(v)&&C.isPlainObject(w)?C.merge.call({caseless:O},v,w):C.isPlainObject(w)?C.merge({},w):C.isArray(w)?w.slice():w}function l(v,w,b,O){if(C.isUndefined(w)){if(!C.isUndefined(v))return o(void 0,v,b,O)}else return o(v,w,b,O)}function u(v,w){if(!C.isUndefined(w))return o(void 0,w)}function d(v,w){if(C.isUndefined(w)){if(!C.isUndefined(v))return o(void 0,v)}else return o(void 0,w)}function h(v){const w=C.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!C.isUndefined(w))if(C.isPlainObject(w)){if(C.hasOwnProp(w,v))return w[v]}else return;const b=C.hasOwnProp(n,"transitional")?n.transitional:void 0;if(C.isPlainObject(b)&&C.hasOwnProp(b,v))return b[v]}function p(v,w,b){if(C.hasOwnProp(t,b))return o(v,w);if(C.hasOwnProp(n,b))return o(void 0,v)}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:(v,w,b)=>l(Xp(v),Xp(w),b,!0)};return C.forEach(Gb({...n,...t}),function(w){if(w==="__proto__"||w==="constructor"||w==="prototype")return;const b=C.hasOwnProp(g,w)?g[w]:l,O=C.hasOwnProp(n,w)?n[w]:void 0,D=C.hasOwnProp(t,w)?t[w]:void 0,N=b(O,D,w);C.isUndefined(N)&&b!==p||(s[w]=N)}),C.hasOwnProp(t,"validateStatus")&&C.isUndefined(t.validateStatus)&&h("validateStatusUndefinedResolves")===!1&&(C.hasOwnProp(n,"validateStatus")?s.validateStatus=o(void 0,n.validateStatus):delete s.validateStatus),s}const Yb=["content-type","content-length"];function Jb(n,t,s){if(s!=="content-only"){n.set(t);return}Object.entries(t||{}).forEach(([o,l])=>{Yb.includes(o.toLowerCase())&&n.set(o,l)})}const Xb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(t,s)=>String.fromCharCode(parseInt(s,16)));function cy(n){const t=es({},n),s=b=>C.hasOwnProp(t,b)?t[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"),v=s("allowAbsoluteUrls"),w=s("url");if(t.headers=h=wt.from(h),t.url=sy(uy(g,w,v,t),s("params"),s("paramsSerializer")),p){const b=C.getSafeProp(p,"username")||"",O=C.getSafeProp(p,"password")||"";try{h.set("Authorization","Basic "+btoa(b+":"+(O?Xb(O):"")))}catch(D){throw Y.from(D,Y.ERR_BAD_OPTION_VALUE,n)}}if(C.isFormData(o)&&(ft.hasStandardBrowserEnv||ft.hasStandardBrowserWebWorkerEnv||C.isReactNative(o)?h.setContentType(void 0):C.isFunction(o.getHeaders)&&Jb(h,o.getHeaders(),s("formDataHeaderPolicy"))),ft.hasStandardBrowserEnv&&(C.isFunction(l)&&(l=l(t)),l===!0||l==null&&Fb(t.url))){const O=u&&d&&zb.read(d);O&&h.set(u,O)}return t}const Zb=typeof XMLHttpRequest<"u",eS=Zb&&function(n){return new Promise(function(s,o){const l=cy(n);let u=l.data;const d=wt.from(l.headers).normalize();let{responseType:h,onUploadProgress:p,onDownloadProgress:g}=l,v,w,b,O,D;function N(){O&&O(),D&&D(),l.cancelToken&&l.cancelToken.unsubscribe(v),l.signal&&l.signal.removeEventListener("abort",v)}let S=new XMLHttpRequest;S.open(l.method.toUpperCase(),l.url,!0),S.timeout=l.timeout;function _(){if(!S)return;const L=wt.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),H={data:!h||h==="text"||h==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:L,config:n,request:S};ly(function(oe){s(oe),N()},function(oe){o(oe),N()},H),S=null}"onloadend"in S?S.onloadend=_:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(_)},S.onabort=function(){S&&(o(new Y("Request aborted",Y.ECONNABORTED,n,S)),N(),S=null)},S.onerror=function(A){const H=A&&A.message?A.message:"Network Error",Q=new Y(H,Y.ERR_NETWORK,n,S);Q.event=A||null,o(Q),N(),S=null},S.ontimeout=function(){let A=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const H=l.transitional||Xc;l.timeoutErrorMessage&&(A=l.timeoutErrorMessage),o(new Y(A,H.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,n,S)),N(),S=null},u===void 0&&d.setContentType(null),"setRequestHeader"in S&&C.forEach(Zg(d),function(A,H){S.setRequestHeader(H,A)}),C.isUndefined(l.withCredentials)||(S.withCredentials=!!l.withCredentials),h&&h!=="json"&&(S.responseType=l.responseType),g&&([b,D]=Ha(g,!0),S.addEventListener("progress",b)),p&&S.upload&&([w,O]=Ha(p),S.upload.addEventListener("progress",w),S.upload.addEventListener("loadend",O)),(l.cancelToken||l.signal)&&(v=L=>{S&&(o(!L||L.type?new uo(null,n,S):L),S.abort(),N(),S=null)},l.cancelToken&&l.cancelToken.subscribe(v),l.signal&&(l.signal.aborted?v():l.signal.addEventListener("abort",v)));const U=Db(l.url);if(U&&!ft.protocols.includes(U)){o(new Y("Unsupported protocol "+U+":",Y.ERR_BAD_REQUEST,n)),N();return}S.send(u||null)})},tS=(n,t)=>
154{if(n=n?n.filter(Boolean):[],!t&&!n.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 Y?g:new uo(g instanceof Error?g.message:g))}};let u=t&&setTimeout(()=>{u=null,l(new Y(`timeout of ${t}ms exceeded`,Y.ETIMEDOUT))},t);const d=()=>{n&&(u&&clearTimeout(u),u=null,n.forEach(p=>{p.unsubscribe?p.unsubscribe(l):p.removeEventListener("abort",l)}),n=null)};n.forEach(p=>{if(!o){if(p.aborted){l.call(p);return}p.addEventListener("abort",l,{once:!0})}});const{signal:h}=s;return h.unsubscribe=()=>C.asap(d),h},nS=function*(n,t){let s=n.byteLength;if(s<t){yield n;return}let o=0,l;for(;o<s;)l=o+t,yield n.slice(o,l),o=l},rS=async function*(n,t){for await(const s of sS(n))yield*nS(s,t)},sS=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const t=n.getReader();try{for(;;){const{done:s,value:o}=await t.read();if(s)break;yield o}}finally{await t.cancel()}},Zp=(n,t,s,o)=>{const l=rS(n,t);let u=0,d,h=p=>{d||(d=!0,o&&o(p))};return new ReadableStream({async pull(p){try{const{done:g,value:v}=await l.next();if(g){h(),p.close();return}let w=v.byteLength;if(s){let b=u+=w;s(b)}p.enqueue(new Uint8Array(v))}catch(g){throw h(g),g}},cancel(p){return h(p),l.return()}},{highWaterMark:2})},em=n=>n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102,dy=(n,t,s)=>t+2<s&&em(n.charCodeAt(t+1))&&em(n.charCodeAt(t+2)),tm=n=>n<=57?n-48:(n&223)-55,iS=n=>n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===43||n===47||n===45||n===95,oS=n=>n===9||n===10||n===12||n===13||n===32,aS=n=>{const t=Math.floor(n/4),s=n%4;return t*3+(s===2?1:s===3?2:0)},lS=n=>{const t=n.length;let s=0;return t>0&&n.charCodeAt(t-1)===61&&(s++,t>1&&n.charCodeAt(t-2)===61&&s++),Math.floor((t-s)*3/4)},uS=n=>{const t=n.length;let s=0,o=0,l=!1;for(let u=0;u<t;u++){let d=n.charCodeAt(u);if(d===37&&dy(n,u,t)&&(d=tm(n.charCodeAt(u+1))*16+tm(n.charCodeAt(u+2)),u+=2),!oS(d)){if(d===61){o++;continue}if(!iS(d)||o>0){l=!0;continue}s++}}return l||o>2||o>0&&(s+o)%4!==0||s%4===1?lS(n):aS(s)},cS=(n,t)=>{if(!n||typeof n!="string"||!n.startsWith("data:"))return 0;const s=n.indexOf(",");if(s<0)return 0;const o=n.slice(5,s),l=n.slice(s+1);if(/;base64/i.test(o))return t(l);let d=0;for(let h=0,p=l.length;h<p;h++){const g=l.charCodeAt(h);if(g===37&&dy(l,h,p))d+=1,h+=2;else if(g<128)d+=1;else if(g<2048)d+=2;else if(g>=55296&&g<=56319&&h+1<p){const v=l.charCodeAt(h+1);v>=56320&&v<=57343?(d+=4,h++):d+=3}else d+=3}return d};function dS(n){const t=typeof n=="string"?n.indexOf("#"):-1;return cS(t===-1?n:n.slice(0,t),uS)}const ed="1.19.0",nm=64*1024,{isFunction:Ea}=C,fS=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(t,s)=>String.fromCharCode(parseInt(s,16))),rm=n=>{if(!C.isString(n))return n;try{return decodeURIComponent(n)}catch{return n}},sm=(n,...t)=>{try{return!!n(...t)}catch{return!1}},hS=n=>{const t=n.indexOf("://");let s=n;return t!==-1&&(s=s.slice(t+3)),s.includes("@")||s.includes(":")},pS=n=>{const t=C.global!==void 0&&C.global!==null?C.global:globalThis,{ReadableStream:s,TextEncoder:o}=t;n=C.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},n);const{fetch:l,Request:u,Response:d}=n,h=l?Ea(l):typeof fetch=="function",p=Ea(u),g=Ea(d);if(!h)return!1;const v=h&&Ea(s),w=h&&(typeof o=="function"?(_=>U=>_.encode(U))(new o):async _=>new Uint8Array(await new u(_).arrayBuffer())),b=p&&v&&sm(()=>{let _=!1;const U=new u(ft.origin,{body:new s,method:"POST",get duplex(){return _=!0,"half"}}),L=U.headers.has("Content-Type");return U.body!=null&&U.body.cancel(),_&&!L}),O=g&&v&&sm(()=>C.isReadableStream(new d("").body)),D={stream:O&&(_=>_.body)};h&&["text","arrayBuffer","blob","formData","stream"].forEach(_=>{!D[_]&&(D[_]=(U,L)=>{let A=U&&U[_];if(A)return A.call(U);throw new Y(`Response type '${_}' is not supported`,Y.ERR_NOT_SUPPORT,L)})});const N=async _=>{if(_==null)return 0;if(C.isBlob(_))return _.size;if(C.isSpecCompliantForm(_))return(await new u(ft.origin,{method:"POST",body:_}).arrayBuffer()).byteLength;if(C.isArrayBufferView(_)||C.isArrayBuffer(_))return _.byteLength;if(C.isURLSearchParams(_)&&(_=_+""),C.isString(_))return(await w(_)).byteLength},S=async(_,U)=>{const L=C.toFiniteNumber(_.getContentLength());return L??N(U)};return async _=>{let{url:U,method:L,data:A,signal:H,cancelToken:Q,timeout:oe,onDownloadProgress:B,onUploadProgress:ue,responseType:we,headers:Ee,withCredentials:Pe="same-origin",fetchOptions:Le,maxContentLength:Re,maxBodyLength:De}=cy(_);const fe=C.isNumber(Re)&&Re>-1,xe=C.isNumber(De)&&De>-1,K=G=>C.hasOwnProp(_,G)?_[G]:void 0;let ie=l||fetch;we=we?(we+"").toLowerCase():"text";let F=tS([H,Q&&Q.toAbortSignal()],oe),R=null;const z=F&&F.unsubscribe&&(()=>{F.unsubscribe()});let he,pe=null;const ce=()=>new Y("Request body larger than maxBodyLength limit",Y.ERR_BAD_REQUEST,_,R);try{let G;const ye=K("auth");
vendor: 9,027 bytes, lines 154-160
154if(ye){const ve=C.getSafeProp(ye,"username")||"",at=C.getSafeProp(ye,"password")||"";G={username:ve,password:at}}if(hS(U)){const ve=new URL(U,ft.origin);if(!G&&(ve.username||ve.password)){const at=rm(ve.username),Xt=rm(ve.password);G={username:at,password:Xt}}(ve.username||ve.password)&&(ve.username="",ve.password="",U=ve.href)}if(G&&(Ee.delete("authorization"),Ee.set("Authorization","Basic "+btoa(fS((G.username||"")+":"+(G.password||""))))),fe&&typeof U=="string"&&U.startsWith("data:")&&dS(U)>Re)throw new Y("maxContentLength size of "+Re+" exceeded",Y.ERR_BAD_RESPONSE,_,R);if(xe&&L!=="get"&&L!=="head"){const ve=await N(A);if(typeof ve=="number"&&isFinite(ve)&&(he=ve,ve>De))throw ce()}const Se=xe&&(C.isReadableStream(A)||C.isStream(A)),ge=(ve,at,Xt)=>Zp(ve,nm,Zt=>{if(xe&&Zt>De)throw pe=ce();at&&at(Zt)},Xt);if(b&&L!=="get"&&L!=="head"&&(ue||Se)){if(he=he??await S(Ee,A),he!==0||Se){let ve=new u(U,{method:"POST",body:A,duplex:"half"}),at;if(C.isFormData(A)&&(at=ve.headers.get("content-type"))&&Ee.setContentType(at),ve.body){const[Xt,Zt]=ue&&Gp(he,Ha(Yp(ue)))||[];A=ge(ve.body,Xt,Zt)}}}else if(Se&&!p&&v&&L!=="get"&&L!=="head")A=ge(A);else if(Se&&p&&!b&&L!=="get"&&L!=="head")throw new Y("Stream request bodies are not supported by the current fetch implementation",Y.ERR_NOT_SUPPORT,_,R);C.isString(Pe)||(Pe=Pe?"include":"omit");const tt=p&&"credentials"in u.prototype;if(C.isFormData(A)){const ve=Ee.getContentType();ve&&/^multipart\/form-data/i.test(ve)&&!/boundary=/i.test(ve)&&Ee.delete("content-type")}Ee.set("User-Agent","axios/"+ed,!1);const Mt={...Le,signal:F,method:L.toUpperCase(),headers:Zg(Ee.normalize()),body:A,duplex:"half",credentials:tt?Pe:void 0};R=p&&new u(U,Mt);let ot=await(p?ie(R,Le):ie(U,Mt));const Jt=wt.from(ot.headers);if(fe){const ve=C.toFiniteNumber(Jt.getContentLength());if(ve!=null&&ve>Re)throw new Y("maxContentLength size of "+Re+" exceeded",Y.ERR_BAD_RESPONSE,_,R)}const Ut=O&&(we==="stream"||we==="response");if(O&&ot.body&&(B||fe||Ut&&z)){const ve={};["status","statusText","headers"].forEach(bn=>{ve[bn]=ot[bn]});const at=C.toFiniteNumber(Jt.getContentLength()),[Xt,Zt]=B&&Gp(at,Ha(Yp(B),!0))||[];let Dn=0;const Mn=bn=>{if(fe&&(Dn=bn,Dn>Re))throw new Y("maxContentLength size of "+Re+" exceeded",Y.ERR_BAD_RESPONSE,_,R);Xt&&Xt(bn)};ot=new d(Zp(ot.body,nm,Mn,()=>{Zt&&Zt(),z&&z()}),ve)}we=we||"text";let Ft=await D[C.findKey(D,we)||"text"](ot,_);if(fe&&!O&&!Ut){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>Re)throw new Y("maxContentLength size of "+Re+" exceeded",Y.ERR_BAD_RESPONSE,_,R)}return!Ut&&z&&z(),await new Promise((ve,at)=>{ly(ve,at,{data:Ft,headers:wt.from(ot.headers),status:ot.status,statusText:ot.statusText,config:_,request:R})})}catch(G){if(z&&z(),F&&F.aborted&&F.reason instanceof Y){const ye=F.reason;throw ye.config=_,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 Y)throw R&&!G.request&&(G.request=R),G;if(G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)){const ye=new Y("Network Error",Y.ERR_NETWORK,_,R,G&&G.response);throw Object.defineProperty(ye,"cause",{__proto__:null,value:G.cause||G,writable:!0,enumerable:!1,configurable:!0}),ye}throw Y.from(G,G&&G.code,_,R,G&&G.response)}}},mS=new Map,fy=n=>{let t=n&&n.env||{};const{fetch:s,Request:o,Response:l}=t,u=[o,l,s];let d=u.length,h=d,p,g,v=mS;for(;h--;)p=u[h],g=v.get(p),g===void 0&&v.set(p,g=h?new Map:pS(t)),v=g;return g};fy();const td={http:xb,xhr:eS,fetch:{get:fy}};C.forEach(td,(n,t)=>{if(n){try{Object.defineProperty(n,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(n,"adapterName",{__proto__:null,value:t})}});const im=n=>`- ${n}`,gS=n=>C.isFunction(n)||n===null||n===!1;function yS(n,t){n=C.isArray(n)?n:[n];const{length:s}=n;let o,l;const u={};for(let d=0;d<s;d++){o=n[d];let h;if(l=o,!gS(o)&&(l=td[(h=String(o)).toLowerCase()],l===void 0))throw new Y(`Unknown adapter '${h}'`);if(l&&(C.isFunction(l)||(l=l.get(t))))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 : 155`+d.map(im).join(` 156`):" "+im(d[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+h,Y.ERR_NOT_SUPPORT)}return l}const hy={getAdapter:yS,adapters:td};function tc(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new uo(null,n)}function nc(n){return tc(n),n.headers=wt.from(n.headers),n.data=ec.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),hy.getAdapter(n.adapter||lo.adapter,n)(n).then(function(o){tc(n),n.response=o;try{o.data=ec.call(n,n.transformResponse,o)}finally{delete n.response}return o.headers=wt.from(o.headers),o},function(o){if(!ay(o)&&(tc(n),o&&o.response)){n.response=o.response;try{o.response.data=ec.call(n,n.transformResponse,o.response)}finally{delete n.response}o.response.headers=wt.from(o.response.headers)}return Promise.reject(o)})}const Ka={};["object","boolean","number","function","string","symbol"].forEach((n,t)=>{Ka[n]=function(o){return typeof o===n||"a"+(t<1?"n ":" ")+n}});const om={};Ka.transitional=function(t,s,o){function l(u,d){return"[Axios v"+ed+"] Transitional option '"+u+"'"+d+(o?". "+o:"")}return(u,d,h)=>{if(t===!1)throw new Y(l(d," has been removed"+(s?" in "+s:"")),Y.ERR_DEPRECATED);return s&&!om[d]&&(om[d]=!0,console.warn(l(d," has been deprecated since v"+s+" and will be removed in the near future"))),t?t(u,d,h):!0}};Ka.spelling=function(t){return(s,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function vS(n,t,s){if(typeof n!="object"||n===null)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const o=Object.keys(n);let l=o.length;for(;l-- >0;){const u=o[l],d=Object.prototype.hasOwnProperty.call(t,u)?t[u]:void 0;if(d){const h=n[u],p=h===void 0||d(h,u,n);if(p!==!0)throw new Y("option "+u+" must be "+p,Y.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new Y("Unknown option "+u,Y.ERR_BAD_OPTION)}}const ja={assertOptions:vS,validators:Ka},yt=ja.validators;let Yr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Qp,response:new Qp}}async request(t,s){try{return await this._request(t,s)}catch(o){if(o instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=(()=>{if(!l.stack)return"";const d=l.stack.indexOf(` 157`);return d===-1?"":l.stack.slice(d+1)})();try{if(!o.stack)o.stack=u;else if(u){const d=u.indexOf(` 158`),h=d===-1?-1:u.indexOf(` 159`,d+1),p=h===-1?"":u.slice(h+1);String(o.stack).endsWith(p)||(o.stack+=` 160`+u)}}catch{}}throw o}}_request(t,s){typeof t=="string"?(s=s||{},s.url=t):s=t||{},s=es(this.defaults,s);const{transitional:o,paramsSerializer:l,headers:u}=s;o!==void 0&&ja.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&&(C.isFunction(l)?s.paramsSerializer={serialize:l}:ja.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),ja.assertOptions(s,{baseUrl:yt.spelling("baseURL"),withXsrfToken:yt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let d=u&&C.merge(u.common,u[s.method]);u&&C.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(N){if(typeof N.runWhen=="function"&&N.runWhen(s)===!1)return;p=p&&N.synchronous;const S=s.transitional||Xc;S&&S.legacyInterceptorReqResOrdering?h.unshift(N.fulfilled,N.rejected):h.push(N.fulfilled,N.rejected)});const g=[];this.interceptors.response.forEach(function(N){g.push(N.fulfilled,N.rejected)});let v,w=0,b;if(!p){const D=[nc.bind(this),void 0];for(D.unshift(...h),D.push(...g),b=D.length,v=Promise.resolve(s);w<b;)v=v.then(D[w++],D[w++]);return v}b=h.length;let O=s;for(;w<b;){const D=h[w++],N=h[w++];try{O=D?D(O):O}catch(S){if(!N){v=Promise.reject(S);break}try{const _=N.call(this,S);C.isThenable(_)&&(v=Promise.resolve(_).then(()=>nc.call(this,O)))}catch(_){v=Promise.reject(_)}break}}if(!v)try{v=nc.call(this,O)}catch(D){v=Promise.reject(D)}for(w=0,b=g.length;w<b;)v=v.then(g[w++],g[w++]);return v}getUri(t){t=es(this.defaults,t);const s=uy(t.baseURL,t.url,t.allowAbsoluteUrls,t);return sy(s,t.params,t.paramsSerializer)}};
vendor: 1,715 bytes, line 160
160C.forEach(["delete","get","head","options"],function(t){Yr.prototype[t]=function(s,o){return this.request(es(o||{},{method:t,url:s,data:o&&C.hasOwnProp(o,"data")?o.data:void 0}))}});C.forEach(["post","put","patch","query"],function(t){function s(o){return function(u,d,h){return this.request(es(h||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:u,data:d}))}}Yr.prototype[t]=s(),t!=="query"&&(Yr.prototype[t+"Form"]=s(!0))});let wS=class py{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(u){s=u});const o=this;this.promise.then(l=>{if(!o._listeners)return;let u=o._listeners.length;for(;u-- >0;)o._listeners[u](l);o._listeners=null}),this.promise.then=l=>{let u;const d=new Promise(h=>{o.subscribe(h),u=h}).then(l);return d.cancel=function(){o.unsubscribe(u)},d},t(function(u,d,h){o.reason||(o.reason=new uo(u,d,h),s(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const s=this._listeners.indexOf(t);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const t=new AbortController,s=o=>{t.abort(o)};return this.subscribe(s),t.signal.unsubscribe=()=>this.unsubscribe(s),t.signal}static source(){let t;return{token:new py(function(l){t=l}),cancel:t}}};function xS(n){return function(s){return n.apply(null,s)}}function _S(n){return C.isObject(n)&&n.isAxiosError===!0}const Nc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
160alContent: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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Nc).forEach(([n,t])=>{Nc[t]=n});function my(n){const t=new Yr(n),s=qg(Yr.prototype.request,t);return C.extend(s,Yr.prototype,t,{allOwnKeys:!0}),C.extend(s,t,null,{allOwnKeys:!0}),s.create=function(l){return my(es(n,l))},s}const Ke=my(lo);Ke.Axios=Yr;Ke.CanceledError=uo;Ke.CancelToken=wS;Ke.isCancel=ay;Ke.VERSION=ed;Ke.toFormData=Qa;Ke.AxiosError=Y;Ke.Cancel=Ke.CanceledError;Ke.all=function(t){return Promise.all(t)};Ke.spread=xS;Ke.isAxiosError=_S;Ke.mergeConfig=es;Ke.AxiosHeaders=wt;Ke.formToJSON=n=>oy(C.isHTMLForm(n)?new FormData(n):n);Ke.getAdapter=hy.getAdapter;Ke.HttpStatusCode=Nc;Ke.default=Ke;const{Axios:AC,AxiosError:jC,CanceledError:LC,isCancel:IC,CancelToken:DC,VERSION:MC,all:UC,Cancel:FC,isAxiosError:zC,spread:BC,toFormData:$C,AxiosHeaders:HC,HttpStatusCode:qC,formToJSON:VC,getAdapter:WC,mergeConfig:QC,create:KC}=Ke,gy=typeof window>"u",am=!gy&&window.self!==window.top,bS=!gy&&typeof document>"u",yy=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),ct=[];for(let n=0;n<256;++n)ct.push((n+256).toString(16).slice(1));function SS(n,t=0){return(ct[n[t+0]]+ct[n[t+1]]+ct[n[t+2]]+ct[n[t+3]]+"-"+ct[n[t+4]]+ct[n[t+5]]+"-"+ct[n[t+6]]+ct[n[t+7]]+"-"+ct[n[t+8]]+ct[n[t+9]]+"-"+ct[n[t+10]]+ct[n[t+11]]+ct[n[t+12]]+ct[n[t+13]]+ct[n[t+14]]+ct[n[t+15]]).toLowerCase()}let rc;const ES=new Uint8Array(16);function kS(){if(!rc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");rc=crypto.getRandomValues.bind(crypto)}return rc(ES)}const CS=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lm={randomUUID:CS};function TS(n,t,s){var l;n=n||{};const o=n.random??((l=n.rng)==null?void 0:l.call(n))??kS();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,SS(o)}function RS(n,t,s){return lm.randomUUID&&!n?lm.randomUUID():TS(n)}const Mi=typeof window<"u"?window:{base44SharedInstances:{}};function NS(n,t){return Mi.base44SharedInstances||(Mi.base44SharedInstances={}),Mi.base44SharedInstances[n]||(Mi.base44SharedInstances[n]={instance:t()}),Mi.base44SharedInstances[n].instance}const OS="__user_heartbeat_event__",PS="__initialization_event__",AS="__session_duration_event__",um="analytics-enable",cm="base44_analytics_session_id",jS={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},LS="analytics",Ae=NS(LS,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,fallbackSessionId:null,config:{...jS,...$S()}})),IS=({axiosClient:n,serverUrl:t,appId:s,userAuthModule:o,enabled:l})=>{var u;const{maxQueueSize:d,throttleTime:h,batchSize:p}=Ae.config;if(!l||!(!((u=Ae.config)===null||u===void 0)&&u.enabled)||bS)return{track:()=>{},cleanup:()=>{}};let g;const v=`${t}/api/apps/${s}/analytics/track/batch`,w=async A=>{await n.request({method:"POST",url:`/apps/${s}/analytics/track/batch`,data:{events:A}})},b=A=>{try{const H=JSON.stringify({events:A}),Q=new Blob([H],{type:"application/json"});return typeof navigator>"u"||H.length>6e4||!navigator.sendBeacon(v,Q)}catch{return!1}},O=async(A,H={})=>
160{if(A.length===0)return;const Q=await BS(o),oe=A.map(zS(Q));try{(!H.isBeacon||!b(oe))&&await w(oe)}catch{}},D=()=>{fm(O,{throttleTime:h,batchSize:p})},N=A=>{if(Ae.requestsQueue.length>=d)return;const H=FS();Ae.requestsQueue.push({...A,...H}),D()},S=()=>{fm(O,{throttleTime:h,batchSize:p}),g=hm(N),MS()},_=()=>{dm(),g==null||g(),US(N);const A=Ae.requestsQueue.splice(0);O(A,{isBeacon:!0})},U=()=>{typeof window>"u"||(document.visibilityState==="hidden"?_():document.visibilityState==="visible"&&S())},L=()=>{dm(),g==null||g(),typeof window<"u"&&window.removeEventListener("visibilitychange",U)};return D(),g=hm(N),DS(N),typeof window<"u"&&window.addEventListener("visibilitychange",U),{track:N,cleanup:L}};function dm(){Ae.isProcessing=!1}async function fm(n,t){if(Ae.isProcessing)return;Ae.isProcessing=!0;const{throttleTime:s=1e3,batchSize:o=30}=t??{};for(;Ae.isProcessing&&Ae.requestsQueue.length>0;){const l=Ae.requestsQueue.splice(0,o);l.length&&await n(l),await new Promise(u=>setTimeout(u,s))}Ae.isProcessing=!1}function hm(n){var t;if(typeof window>"u"||Ae.isHeartBeatProcessing||((t=Ae.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Ae.isHeartBeatProcessing=!0;const s=setInterval(()=>{n({eventName:OS})},Ae.config.heartBeatInterval);return()=>{clearInterval(s),Ae.isHeartBeatProcessing=!1}}function DS(n){typeof window>"u"||Ae.wasInitializationTracked||(Ae.wasInitializationTracked=!0,n({eventName:PS,properties:{referrer:document==null?void 0:document.referrer}}))}function MS(){typeof window>"u"||Ae.sessionStartTime!==null||(Ae.sessionStartTime=new Date().toISOString())}function US(n){if(typeof window>"u"||Ae.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Ae.sessionStartTime).getTime();Ae.sessionStartTime=null,n({eventName:AS,properties:{sessionDuration:t}})}function FS(){var n,t;return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"&&(t=(n=window.location)===null||n===void 0?void 0:n.pathname)!==null&&t!==void 0?t:null}}function zS(n){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...n})}let Bi=null;function pm(){Ae.sessionContext=null,Bi=null}async function BS(n){if(!Ae.sessionContext){if(!n.hasToken())return{user_id:null,session_id:qa()};if(!Bi){const o=qa();Bi=n.me().then(l=>({user_id:l.id,session_id:o})).catch(()=>({user_id:null,session_id:o}))}const t=Bi,s=await t;return Bi===t&&(Ae.sessionContext=s),s}return Ae.sessionContext}function $S(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(um);if(t==null||!t.length)return;const s=new URLSearchParams(window.location.search);s.delete(um);const o=window.location.pathname+(s.toString()?"?"+s.toString():"");return window.history.replaceState({},"",o),{enabled:t==="true"}}function mm(){var n;return(n=Ae.fallbackSessionId)!==null&&n!==void 0?n:Ae.fallbackSessionId=yy()}function qa(){if(typeof window>"u")return mm();try{const n=localStorage.getItem(cm);if(!n){const t=yy();return localStorage.setItem(cm,t),t}return n}catch{return mm()}}class HS extends Error{constructor(t,s,o,l,u){super(t),this.name="Base44Error",this.status=s,this.code=o,this.data=l,this.originalError=u}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Os({baseURL:n,headers:t={},token:s,interceptResponses:o=!0,onError:l}){const u=Ke.create({baseURL:n,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return s&&(u.defaults.headers.common.Authorization=`Bearer ${s}`),u.interceptors.request.use(d=>{typeof window<"u"&&(window.location&&d.headers.set("X-Origin-URL",window.location.href),d.headers.get("Authorization")||d.headers.set("X-Base44-Anonymous-Id",qa()));const h=RS();if(d.requestId=h,am)try{window.parent.postMessage({type:"api-request-start",requestId:h,data:{url:n+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{am&&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,v,w,b,O,D,N,S,_,U,L,A,H;const Q=((p=(h=d.response)===null||h===void 0?void 0:h.data)===null||p===void 0?void 0:p.message)||((v=(g=d.response)===null||g===void 0?void 0:g.data)===null||v===void 0?void 0:v.detail)||d.message,oe=new HS(Q,(w=d.response)===null||w===void 0?void 0:w.status,(U=(D=(O=(b=d.response)===null||b===void 0?void 0:b.data)===null||O===void 0?void 0:O.code)!==null&&D!==void 0?D:(_=(S=(N=d.response)===null||N===void 0?void 0:N.headers)===null||S===void 0?void 0:S.get)===null||_===void 0?void 0:_.call(S,"x-base44-connector-error"))!==null&&U!==void 0?U:(A=(L=d.response)===null||L===void 0?void 0:L.headers)===null||A===void 0?void 0:A["x-base44-connector-error"],(H=d.response)===null||H===void 0?void 0:H.data,d);return l==null||l(oe),Promise.reject(oe)}),u}function gm(n){const{axios:t,appId:s,getSocket:o}=n;return new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return VS(t,s,u,o)}})}function qS(n){var t;try{const s=JSON.parse(n);return{type:s.type,data:s.data,id:s.id||((t=s.data)===null||t===void 0?void 0:t.id),timestamp:s.timestamp||new Date().toISOString()}}catch(s){return console.warn("[Base44 SDK] Failed to parse realtime message:",s),null}}function VS(n,t,s,o){const l=`/apps/${t}/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),n.get(l,{params:g})},async filter(u,d,h,p,g){const v={q:JSON.stringify(u)};return d&&(v.sort=d),h&&(v.limit=h),p&&(v.skip=p),g&&(v.fields=Array.isArray(g)?g.join(","):g),n.get(l,{params:v})},async get(u){return n.get(`${l}/${u}`)},async create(u){return n.post(l,u)},async update(u,d){return n.put(`${l}/${u}`,d)},async delete(u){return n.delete(`${l}/${u}`)},async deleteMany(u){return n.delete(l,{data:u})},async bulkCreate(u){return n.post(`${l}/bulk`,u)},async updateMany(u,d){return n.patch(`${l}/update-many`,{query:u,data:d})},async bulkUpdate(u){return n.put(`${l}/bulk`,u)},async importEntities(u){const d=new FormData;return d.append("file",u,u.name),n.post(`${l}/import`,d,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(u){const d=`entities:${t}:${s}`;return o().subscribeToRoom(d,{update_model:g=>{var v;const w=qS(g.data);if(w){w.type!=="delete"&&(!((v=w.data)===null||v===void 0)&&v._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${s}#${w.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("${w.id}")\` to fetch the full record.`);try{u(w)}catch(b){console.error("[Base44 SDK] Subscription callback error:",b)}}}})}}}function WS(n,t){return{async call(s,o,l){if(!(s!=null&&s.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(o!=null&&o.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:u,queryParams:d,...h}=l??{},p={...h,...u&&{path_params:u},...d&&{query_params:d}};return await n.post(`/apps/${t}/integrations/custom/${s}/${o}`,p)}}}function ym(n,t){const s=WS(n,t);return new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return l==="custom"?s:new Proxy({},{get(u,d){if(!(typeof d!="string"||d==="then"||d.startsWith("_")))return async 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(v=>
160v instanceof File)?(p=new FormData,Object.keys(h).forEach(v=>{h[v]instanceof File?p.append(v,h[v],h[v].name):typeof h[v]=="object"&&h[v]!==null?p.append(v,JSON.stringify(h[v])):p.append(v,h[v])}),g="multipart/form-data"):(p=h,g="application/json"),l==="Core"?n.post(`/apps/${t}/integration-endpoints/Core/${d}`,p||h,{headers:{"Content-Type":g}}):n.post(`/apps/${t}/integration-endpoints/installable/${l}/integration-endpoints/${d}`,p||h,{headers:{"Content-Type":g}})}}})}})}function QS(){return typeof window>"u"?!1:window!==window.parent}function KS(n,t,s){const u=Math.round(window.screenX+(window.outerWidth-500)/2),d=Math.round(window.screenY+(window.outerHeight-600)/2),h=window.open(n,"base44_auth",`width=500,height=600,left=${u},top=${d},resizable=yes,scrollbars=yes`);if(!h)return;const p=()=>{window.removeEventListener("message",g),clearInterval(v),h.closed||h.close()},g=w=>{var b;if(w.origin!==s||w.source!==h||!(!((b=w.data)===null||b===void 0)&&b.access_token))return;p();const O=new URL(t),{access_token:D,is_new_user:N}=w.data;O.searchParams.set("access_token",D),N!=null&&O.searchParams.set("is_new_user",String(N)),window.location.href=O.toString()},v=setInterval(()=>{h.closed&&p()},500);window.addEventListener("message",g)}function GS(n,t,s,o){let l=null;const u=()=>{l=null};let d=!!o.token;return{hasToken(){return d},async me(){const h=l??n.get(`/apps/${s}/entities/User/me`).finally(()=>{l===h&&(l=null)});return l=h,h},async updateMe(h){return n.put(`/apps/${s}/entities/User/me`,h)},redirectToLogin(h){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const p=h?new URL(h,window.location.origin).toString():window.location.href,g=`${o.appBaseUrl}/login?from_url=${encodeURIComponent(p)}`;window.location.href=g},loginWithProvider(h,p="/"){const g=new URL(p,window.location.origin).toString(),v=`app_id=${s}&from_url=${encodeURIComponent(g)}`;let w;h==="sso"?w=`/apps/${s}/auth/sso/login`:w=`/apps/auth${h==="google"?"":`/${h}`}/login`;const b=`${o.appBaseUrl}/api${w}?${v}`;if(QS()){const O=`${b}&popup_origin=${encodeURIComponent(window.location.origin)}`;return KS(O,g,window.location.origin)}window.location.href=b},logout(h){if(delete n.defaults.headers.common.Authorization,u(),pm(),d=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(v){console.error("Failed to remove token from localStorage:",v)}const p=h||window.location.href,g=`${o.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(p)}`;window.location.href=g}},setToken(h,p=!0){if(h&&(u(),pm(),d=!0,n.defaults.headers.common.Authorization=`Bearer ${h}`,t.defaults.headers.common.Authorization=`Bearer ${h}`,p&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",h),window.localStorage.setItem("token",h)}catch(g){console.error("Failed to save token to localStorage:",g)}},async loginViaEmailPassword(h,p,g){var v;try{const w=await n.post(`/apps/${s}/auth/login`,{email:h,password:p,...g&&{turnstile_token:g}}),{access_token:b,user:O}=w;return b&&this.setToken(b),{access_token:b,user:O}}catch(w){throw((v=w.response)===null||v===void 0?void 0:v.status)===401&&await this.logout(),w}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(h,p){return n.post(`/apps/${s}/users/invite-user`,{user_email:h,role:p})},register(h){return n.post(`/apps/${s}/auth/register`,h)},verifyOtp({email:h,otpCode:p}){return n.post(`/apps/${s}/auth/verify-otp`,{email:h,otp_code:p})},resendOtp(h){return n.post(`/apps/${s}/auth/resend-otp`,{email:h})},resetPasswordRequest(h){return n.post(`/apps/${s}/auth/reset-password-request`,{email:h})},resetPassword({resetToken:h,newPassword:p}){return n.post(`/apps/${s}/auth/reset-password`,{reset_token:h,new_password:p})},changePassword({userId:h,currentPassword:p,newPassword:g}){return n.post(`/apps/${s}/auth/change-password`,{user_id:h,current_password:p,new_password:g})}}}function YS(n,t){return{async getAccessToken(s){const o=`/apps/${t}/auth/sso/accesstoken/${s}`;return n.get(o)},async getIdToken(s){const o=`/apps/${t}/auth/sso/idtoken/${s}`;return n.get(o)}}}const JS=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);function XS(n,t){return{async getAccessToken(s){if(!s||typeof s!="str
160ing")throw new Error("Integration type is required and must be a string");return(await n.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(s)}`)).access_token},async getConnection(s){var o;if(!s||typeof s!="string")throw new Error("Integration type is required and must be a string");const u=await n.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(s)}`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async getWorkspaceConnection(s){var o;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await n.get(`/apps/${t}/external-auth/tokens/connectors/${encodeURIComponent(s)}`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async getCurrentAppUserAccessToken(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await n.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}/token`)).access_token},async getCurrentAppUserConnection(s){var o;if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");const u=await n.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}/token`);return{accessToken:u.access_token,connectionConfig:(o=u.connection_config)!==null&&o!==void 0?o:null}},async callApi(s,o){return vy(s,"Integration type"),ZS(n,`/apps/${t}/connectors/${encodeURIComponent(s)}/call`,o)}}}function vy(n,t){if(!n||typeof n!="string")throw new Error(`${t} is required and must be a string`)}async function ZS(n,t,s){var o,l,u,d,h,p,g,v,w;if(!s||typeof s!="object")throw new Error("Request is required and must be an object");vy(s.path,"Request path");const b=(o=s.method)!==null&&o!==void 0?o:"GET";if(!JS.has(b))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const D=await n.post(t,{method:b,...s.host==null?{}:{host:s.host},path:s.path,query:(l=s.query)!==null&&l!==void 0?l:{},headers:(u=s.headers)!==null&&u!==void 0?u:{},body:(d=s.body)!==null&&d!==void 0?d:null});return{success:D.success,phase:D.phase,status:(h=D.status_code)!==null&&h!==void 0?h:null,data:D.data,dataBase64:(p=D.data_base64)!==null&&p!==void 0?p:null,contentType:(g=D.content_type)!==null&&g!==void 0?g:null,headers:(v=D.headers)!==null&&v!==void 0?v:{},creditsCharged:(w=D.credits_charged)!==null&&w!==void 0?w:0}}function eE(n,t){return{async connectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");return(await n.post(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}/initiate`)).redirect_url},async disconnectAppUser(s){if(!s||typeof s!="string")throw new Error("Connector ID is required and must be a string");await n.delete(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(s)}`)}}}function gr(n={}){const{storageKey:t="base44_access_token",paramName:s="access_token",saveToStorage:o=!0,removeFromUrl:l=!0}=n;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&&tE(u,{storageKey:t}),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(t),u}catch(d){console.error("Error retrieving token from local storage:",d)}return null}function tE(n,t){const{storageKey:s="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!n)return!1;try{return window.localStorage.setItem(s,n),window.localStorage.setItem("token",n),!0}catch(o){return console.error("Error saving token to local storage:",o),!1}}function nE({axios:n,serviceRoleAxios:t,appId:s,serverUrl:o,functionsVersion:l,platformHeaders:u}){const d=new Headers(u),h=p=>{const g=p.defaults.headers.common.Authorization;return typeof g=="string"&&g.startsWith("Bearer ")?g:null};return async function(g,v={}){rE(g);const{fetch:w=fetch,...b}=v,O=new Headers(v.headers),D=(N,S)=>{S&&!O.has(N)&&O.set(N,S)};return D("Authorization",h(n)),D("Base44-Service-Authorization",h(t)),D("Base44-App-Id",s),D("Base44-Api-Url",o),D("Base44-Functions-Version",l),D("Base44-State",d.get("Base44-State")),D("X-Data-Env",d.get("X-Data-Env")),w(g,{...b,headers:O})}}
160function rE(n){if(typeof n!="string"||n==="")throw new Error("fetchWithAuth() requires a path, such as '/api/orders'.");const t=n.replace(/[\t\n\r]/g,"").replace(/^[\x00-\x20]+/,"");if(!t.startsWith("/")||t.startsWith("//")||t.startsWith("/\\"))throw new Error(`fetchWithAuth() only sends requests to your app's own origin, so your app's credentials never reach a third party. "${n}" is not a path on it â pass a relative path such as '/api/orders'. Use base44.functions.fetch() to call a Base44 backend function, or plain fetch() for another origin.`)}function vm(n,t,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"),n.post(`/apps/${t}/functions/${u}`,h||d,{headers:{"Content-Type":p}})},async fetch(u,d={}){const p=`/functions${u.startsWith("/")?u:`/${u}`}`,g=l(d.headers),v={...d,headers:g};return await fetch(o(s==null?void 0:s.baseURL,p),v)}}}function wm({axios:n,getSocket:t,appId:s,serverUrl:o,token:l}){const u=`/apps/${s}/agents`,d={},h=()=>n.get(`${u}/conversations`),p=N=>n.get(`${u}/conversations/${N}`);return{getConversations:h,getConversation:p,listConversations:N=>n.get(`${u}/conversations`,{params:N}),createConversation:N=>n.post(`${u}/conversations`,N),addMessage:async(N,S)=>n.post(`${u}/conversations/v2/${N.id}/messages`,S),subscribeToConversation:(N,S)=>{const _=`/agent-conversations/${N}`,U=t(),L=p(N).then(A=>(d[N]=A,A));return U.subscribeToRoom(_,{connect:()=>{},update_model:async({data:A})=>{const H=JSON.parse(A);if(H._message){await L;const Q=H._message,oe=d[N];if(oe){const B=oe.messages||[],ue=B.findIndex(Ee=>Ee.id===Q.id),we=ue!==-1?B.map((Ee,Pe)=>Pe===ue?Q:Ee):[...B,Q];d[N]={...oe,messages:we},S==null||S(d[N])}}}})},getWhatsAppConnectURL:N=>{const S=`${o}/api/apps/${s}/agents/${encodeURIComponent(N)}/whatsapp`,_=l??gr();return _?`${S}?token=${_}`:S},getTelegramConnectURL:N=>{const S=`${o}/api/apps/${s}/agents/${encodeURIComponent(N)}/telegram`,_=l??gr();return _?`${S}?token=${_}`:S}}}function xm({serverUrl:n,token:t,appId:s}){return{connection:()=>{var l;return{baseURL:`${n}/api/apps/${s}/ai/openai/v1`,token:(l=t??gr())!==null&&l!==void 0?l:""}}}}function _m(n,t){const s=`/app-logs/${t}`;return{async logUserInApp(o){await n.post(`${s}/log-user-in-app/${o}`)},async fetchLogs(o={}){return await n.get(s,{params:o})},async getStats(o={}){return await n.get(`${s}/stats`,{params:o})}}}function sE(n,t){return{async getPublicSettings(){return n.get(`/apps/public/prod/public-settings/by-id/${t}`)}}}function iE(n,t){return{async inviteUser(s,o){if(o!=="user"&&o!=="admin")throw new Error(`Invalid role: "${o}". Role must be either "user" or "admin".`);return await n.post(`/apps/${t}/runtime/users/invite-user`,{user_email:s,role:o})}}}const xn=Object.create(null);xn.open="0";xn.close="1";xn.ping="2";xn.pong="3";xn.message="4";xn.upgrade="5";xn.noop="6";const La=Object.create(null);Object.keys(xn).forEach(n=>{La[xn[n]]=n});const Oc={type:"error",data:"parser error"},wy=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",xy=typeof ArrayBuffer=="function",_y=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,nd=({type:n,data:t},s,o)=>wy&&t instanceof Blob?s?o(t):bm(t,o):xy&&(t instanceof ArrayBuffer||_y(t))?s?o(t):bm(new Blob([t]),o):o(xn[n]+(t||"")),bm=(n,t)=>{const s=new FileReader;return s.onload=function(){const o=s.result.split(",")[1];t("b"+(o||""))},s.readAsDataURL(n)};function Sm(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let sc;function oE(n,t){if(wy&&n.data instanceof Blob)return n.data.arrayBuffer().then(Sm).then(t);if(xy&&(n.data instanceof ArrayBuffer||_y(n.data)))return t(Sm(n.data));nd(n,!1,s=>{sc||(sc=new TextEncoder),t(sc.encode(s))})}const Em="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
160+/",$i=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n<Em.length;n++)$i[Em.charCodeAt(n)]=n;const aE=n=>{let t=n.length*.75,s=n.length,o,l=0,u,d,h,p;n[n.length-1]==="="&&(t--,n[n.length-2]==="="&&t--);const g=new ArrayBuffer(t),v=new Uint8Array(g);for(o=0;o<s;o+=4)u=$i[n.charCodeAt(o)],d=$i[n.charCodeAt(o+1)],h=$i[n.charCodeAt(o+2)],p=$i[n.charCodeAt(o+3)],v[l++]=u<<2|d>>4,v[l++]=(d&15)<<4|h>>2,v[l++]=(h&3)<<6|p&63;return g},lE=typeof ArrayBuffer=="function",rd=(n,t)=>{if(typeof n!="string")return{type:"message",data:by(n,t)};const s=n.charAt(0);return s==="b"?{type:"message",data:uE(n.substring(1),t)}:La[s]?n.length>1?{type:La[s],data:n.substring(1)}:{type:La[s]}:Oc},uE=(n,t)=>{if(lE){const s=aE(n);return by(s,t)}else return{base64:!0,data:n}},by=(n,t)=>{switch(t){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},Sy="�",cE=(n,t)=>{const s=n.length,o=new Array(s);let l=0;n.forEach((u,d)=>{nd(u,!1,h=>{o[d]=h,++l===s&&t(o.join(Sy))})})},dE=(n,t)=>{const s=n.split(Sy),o=[];for(let l=0;l<s.length;l++){const u=rd(s[l],t);if(o.push(u),u.type==="error")break}return o};function fE(){return new TransformStream({transform(n,t){oE(n,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))}n.data&&typeof n.data!="string"&&(l[0]|=128),t.enqueue(l),t.enqueue(s)})}})}let ic;function ka(n){return n.reduce((t,s)=>t+s.length,0)}function Ca(n,t){if(n[0].length===t)return n.shift();const s=new Uint8Array(t);let o=0;for(let l=0;l<t;l++)s[l]=n[0][o++],o===n[0].length&&(n.shift(),o=0);return n.length&&o<n[0].length&&(n[0]=n[0].slice(o)),s}function hE(n,t){ic||(ic=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(ka(s)<1)break;const p=Ca(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(ka(s)<2)break;const p=Ca(s,2);l=new DataView(p.buffer,p.byteOffset,p.length).getUint16(0),o=3}else if(o===2){if(ka(s)<8)break;const p=Ca(s,8),g=new DataView(p.buffer,p.byteOffset,p.length),v=g.getUint32(0);if(v>Math.pow(2,21)-1){h.enqueue(Oc);break}l=v*Math.pow(2,32)+g.getUint32(4),o=3}else{if(ka(s)<l)break;const p=Ca(s,l);h.enqueue(rd(u?p:ic.decode(p),t)),o=0}if(l===0||l>n){h.enqueue(Oc);break}}}})}const Ey=4;function Ye(n){if(n)return pE(n)}function pE(n){for(var t in Ye.prototype)n[t]=Ye.prototype[t];return n}Ye.prototype.on=Ye.prototype.addEventListener=function(n,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(t),this};Ye.prototype.once=function(n,t){function s(){this.off(n,s),t.apply(this,arguments)}return s.fn=t,this.on(n,s),this};Ye.prototype.off=Ye.prototype.removeListener=Ye.prototype.removeAllListeners=Ye.prototype.removeEventListener=function(n,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+n];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var o,l=0;l<s.length;l++)if(o=s[l],o===t||o.fn===t){s.splice(l,1);break}return s.length===0&&delete this._callbacks["$"+n],this};Ye.prototype.emit=function(n){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),s=this._callbacks["$"+n],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(s){s=s.slice(0);for(var o=0,l=s.length;o<l;++o)s[o].apply(this,t)}return this};Ye.prototype.emitReserved=Ye.prototype.emit;Ye.prototype.listeners=function(n){return this._callbacks=this._callbacks||{},this._callbacks["$"+n]||[]};Ye.prototype.hasListeners=function(n){return!!this.listeners(n).length};const Ga=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,s)=>s(t,0),Kt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),mE="arraybuffer";function ky(n,...t){return t.reduce((s,o)=>(n.hasOwnProperty(o)&&(s[o]=n[o]),s),{})}const gE=Kt.setTimeout,yE=Kt.clearTimeout;function Ya(n,t){t.useNativeTimers?(n.setTimeoutFn=gE.bind(Kt),n.clearTimeoutFn=yE.bind(Kt)):(n.setTimeoutFn=Kt.setTimeout.bind(Kt),n.clearTimeoutFn=Kt.clearTimeout.bind(Kt))}const vE=1.33;function wE(n){return typeof n=="string"?xE(n):Math.ceil((n.byteLength||n.size)*vE
vendor: 4,550 bytes, line 160
160)}function xE(n){let t=0,s=0;for(let o=0,l=n.length;o<l;o++)t=n.charCodeAt(o),t<128?s+=1:t<2048?s+=2:t<55296||t>=57344?s+=3:(o++,s+=4);return s}function Cy(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function _E(n){let t="";for(let s in n)n.hasOwnProperty(s)&&(t.length&&(t+="&"),t+=encodeURIComponent(s)+"="+encodeURIComponent(n[s]));return t}function bE(n){let t={},s=n.split("&");for(let o=0,l=s.length;o<l;o++){let u=s[o].split("=");t[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return t}class SE extends Error{constructor(t,s,o){super(t),this.description=s,this.context=o,this.type="TransportError"}}class sd extends Ye{constructor(t){super(),this.writable=!1,Ya(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,s,o){return super.emitReserved("error",new SE(t,s,o)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const s=rd(t,this.socket.binaryType);this.onPacket(s)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,s={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(s)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const s=_E(t);return s.length?"?"+s:""}}class EE extends sd{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const s=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let o=0;this._polling&&(o++,this.once("pollComplete",function(){--o||s()})),this.writable||(o++,this.once("drain",function(){--o||s()}))}else s()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const s=o=>{if(this.readyState==="opening"&&o.type==="open"&&this.onOpen(),o.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(o)};dE(t,this.socket.binaryType).forEach(s),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,cE(t,s=>{this.doWrite(s,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",s=this.query||{};return this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=Cy()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.createUri(t,s)}}let Ty=!1;try{Ty=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const kE=Ty;function CE(){}class TE extends EE{constructor(t){if(super(t),typeof location<"u"){const s=location.protocol==="https:";let o=location.port;o||(o=s?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||o!==t.port}}doWrite(t,s){const o=this.request({method:"POST",data:t});o.on("success",s),o.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(s,o)=>{this.onError("xhr poll error",s,o)}),this.pollXhr=t}}class wn extends Ye{constructor(t,s,o){super(),this.createRequest=t,Ya(this,o),this._opts=o,this._method=o.method||"GET",this._uri=s,this._data=o.data!==void 0?o.data:null,this._create()}_create(){var t;const s=ky(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;const o=this._xhr=this.createRequest(s);try{o.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){o.setDisableHeaderCheck&&o.setDisableHeaderCheck(!0);for(let l in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(l)&&o.setRequestHeader(l,this._opts.extraHeaders[l])}}catch{}if(this._method==="POST")try{o.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{o.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(o),"withCredentials"in o&&(o.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(o.timeout=this._opts.requestTimeout),o.onreadystatechange=()=>{var l;
vendor: 12,516 bytes, line 160
160o.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=wn.requestsCount++,wn.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=CE,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete wn.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}wn.requestsCount=0;wn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",km);else if(typeof addEventListener=="function"){const n="onpagehide"in Kt?"pagehide":"unload";addEventListener(n,km,!1)}}function km(){for(let n in wn.requests)wn.requests.hasOwnProperty(n)&&wn.requests[n].abort()}const RE=(function(){const n=Ry({xdomain:!1});return n&&n.responseType!==null})();class NE extends TE{constructor(t){super(t);const s=t&&t.forceBase64;this.supportsBinary=RE&&!s}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new wn(Ry,this.uri(),t)}}function Ry(n){const t=n.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||kE))return new XMLHttpRequest}catch{}if(!t)try{return new Kt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Ny=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class OE extends sd{get name(){return"websocket"}doOpen(){const t=this.uri(),s=this.opts.protocols,o=Ny?{}:ky(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(o.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,s,o)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let s=0;s<t.length;s++){const o=t[s],l=s===t.length-1;nd(o,this.supportsBinary,u=>{try{this.doWrite(o,u)}catch{}l&&Ga(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",s=this.query||{};return this.opts.timestampRequests&&(s[this.opts.timestampParam]=Cy()),this.supportsBinary||(s.b64=1),this.createUri(t,s)}}const oc=Kt.WebSocket||Kt.MozWebSocket;class PE extends OE{createSocket(t,s,o){return Ny?new oc(t,s,o):s?new oc(t,s):new oc(t)}doWrite(t,s){this.ws.send(s)}}class AE extends sd{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const s=hE(Number.MAX_SAFE_INTEGER,this.socket.binaryType),o=t.readable.pipeThrough(s).getReader(),l=fE();l.readable.pipeTo(t.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(t){this.writable=!1;for(let s=0;s<t.length;s++){const o=t[s],l=s===t.length-1;this._writer.write(o).then(()=>{l&&Ga(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const jE={websocket:PE,webtransport:AE,polling:NE},LE=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,IE=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Pc(n){if(n.length>8e3)throw"URI too long";const t=n,s=n.indexOf("["),o=n.indexOf("]");s!=-1&&o!=-1&&(n=n.substring(0,s)+n.substring(s,o).replace(/:/g,";")+n.substring(o,n.length));let l=LE.exec(n||""),u={},d=14;for(;d--;)u[IE[d]]=l[d]||"";return s!=-1&&o!=-1&&(u.source=t,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=DE(u,u.path),u.queryKey=ME(u,u.query),u}function DE(n,t){const s=/\/{2,9}/g,o=t.replace(s,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&o.splice(0,1),t.slice(-1)=="/"&&o.splice(o.length-1,1),o}function ME(n,t){const s={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(o,l,u){l&&(s[l]=u)}),s}const Ac=typeof addEventListener=="function"&&typeof removeEventListener=="function",Ia=[];Ac&&addEventListener("offline",()=>{Ia.forEach(n=>n())},!1);class wr extends Ye{constructor(t,s){if(super(),this.binaryType=mE,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){const o=Pc(t);s.hostname=o.host,s.secure=o.protocol==="https"||o.protocol==="wss",s.port=o.port,o.query&&(s.query=o.query)}else s.host&&(s.hostname=Pc(s.host).host);Ya(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=bE(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"})},Ia.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const s=Object.assign({},this.opts.query);s.EIO=Ey,s.transport=t,this.id&&(s.sid=this.id);const o=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](o)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&wr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",wr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let o=0;o<this.writeBuffer.length;o++){const l=this.writeBuffer[o].data;if(l&&(s+=wE(l)),o>0&&s>this._maxPayload)return this.writeBuffer.slice(0,o);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ga(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,o){return this._sendPacket("message",t,s,o),this}send(t,s,o){return this._sendPacket("message",t,s,o),this}_sendPacket(t,s,o,l){if(typeof s=="function"&&(l=s,s=void 0),typeof o=="function"&&(l=o,o=null),this.readyState==="closing"||this.readyState==="closed")return;o=o||{},o.compress=o.compress!==!1;const u={type:t,data:s,options:o};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},o=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?o():t()}):this.upgrading?o():t()),this}_onError(t){if(wr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Ac&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const o=Ia.indexOf(this._offlineEventListener);o!==-1&&Ia.splice(o,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}wr.protocol=Ey;class UE extends wr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let s=this.createTransport(t),o=!1;wr.priorWebsocketSuccess=!1;const l=()=>{o||(s.send([{type:"ping",data:"probe"}]),s.once("packet",w=>{if(!o)if(w.type==="pong"&&w.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",s),!s)return;wr.priorWebsocketSuccess=s.name==="websocket",this.transport.pause(()=>{o||this.readyState!=="closed"&&(v(),this.setTransport(s),s.send([{type:"upgrade"}
vendor: 10,501 bytes, line 160
160]),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,v(),s.close(),s=null)}const d=w=>{const b=new Error("probe error: "+w);b.transport=s.name,u(),this.emitReserved("upgradeError",b)};function h(){d("transport closed")}function p(){d("socket closed")}function g(w){s&&w.name!==s.name&&u()}const v=()=>{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&&t!=="webtransport"?this.setTimeoutFn(()=>{o||s.open()},200):s.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const s=[];for(let o=0;o<t.length;o++)~this.transports.indexOf(t[o])&&s.push(t[o]);return s}}let FE=class extends UE{constructor(t,s={}){const o=typeof t=="object",l=o?{...t}:{...s};(!l.transports||l.transports&&typeof l.transports[0]=="string")&&(l.transports=(l.transports||["polling","websocket","webtransport"]).map(u=>jE[u]).filter(u=>!!u)),super(o?l:t,l)}};function zE(n,t="",s){let o=n;s=s||typeof location<"u"&&location,n==null&&(n=s.protocol+"//"+s.host),typeof n=="string"&&(n.charAt(0)==="/"&&(n.charAt(1)==="/"?n=s.protocol+n:n=s.host+n),/^(https?|wss?):\/\//.test(n)||(typeof s<"u"?n=s.protocol+"//"+n:n="https://"+n),o=Pc(n)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";const u=o.host.indexOf(":")!==-1?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+u+":"+o.port+t,o.href=o.protocol+"://"+u+(s&&s.port===o.port?"":":"+o.port),o}const BE=typeof ArrayBuffer=="function",$E=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,Oy=Object.prototype.toString,HE=typeof Blob=="function"||typeof Blob<"u"&&Oy.call(Blob)==="[object BlobConstructor]",qE=typeof File=="function"||typeof File<"u"&&Oy.call(File)==="[object FileConstructor]";function id(n){return BE&&(n instanceof ArrayBuffer||$E(n))||HE&&n instanceof Blob||qE&&n instanceof File}function Da(n,t){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let s=0,o=n.length;s<o;s++)if(Da(n[s]))return!0;return!1}if(id(n))return!0;if(n.toJSON&&typeof n.toJSON=="function"&&arguments.length===1)return Da(n.toJSON(),!0);for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)&&Da(n[s]))return!0;return!1}function VE(n){const t=[],s=n.data,o=n;return o.data=jc(s,t),o.attachments=t.length,{packet:o,buffers:t}}function jc(n,t){if(!n)return n;if(id(n)){const s={_placeholder:!0,num:t.length};return t.push(n),s}else if(Array.isArray(n)){const s=new Array(n.length);for(let o=0;o<n.length;o++)s[o]=jc(n[o],t);return s}else if(typeof n=="object"&&!(n instanceof Date)){const s={};for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(s[o]=jc(n[o],t));return s}return n}function WE(n,t){return n.data=Lc(n.data,t),delete n.attachments,n}function Lc(n,t){if(!n)return n;if(n&&n._placeholder===!0){if(typeof n.num=="number"&&n.num>=0&&n.num<t.length)return t[n.num];throw new Error("illegal attachments")}else if(Array.isArray(n))for(let s=0;s<n.length;s++)n[s]=Lc(n[s],t);else if(typeof n=="object")for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(n[s]=Lc(n[s],t));return n}const QE=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Te;(function(n){n[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK"})(Te||(Te={}));class KE{constructor(t){this.replacer=t}encode(t){return(t.type===Te.EVENT||t.type===Te.ACK)&&Da(t)?this.encodeAsBinary({type:t.type===Te.EVENT?Te.BINARY_EVENT:Te.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let s=""+t.type;return(t.type===Te.BINARY_EVENT||t.type===Te.BINARY_ACK)&&(s+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(s+=t.nsp+","),t.id!=null&&(s+=t.id),t.data!=null&&(s+=JSON.stringify(t.data,this.replacer)),s}encodeAsBinary(t){const s=VE(t),o=this.encodeAsString(s.packet),l=s.buffers;return l.unshift(o),l}}class od extends Ye{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let s;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");s=this.decodeString(t);const o=s.type===Te.BINARY_EVENT;o||s.type===Te.BINARY_ACK?(s.type=o?Te.EVENT:Te.ACK,this.reconstructor=new GE(s),s.attachments===0&&super.emitReserved("decoded",s)):super.emitReserved("decoded",s)}else if(id(t)||t.base64)if(this.reconstructor)s=this.reconstructor.takeBinaryData(t),s&&(this.reconstructor=null,super.emitReserved("decoded",s));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let s=0;const o={type:Number(t.charAt(0))};if(Te[o.type]===void 0)throw new Error("unknown packet type "+o.type);if(o.type===Te.BINARY_EVENT||o.type===Te.BINARY_ACK){const u=s+1;for(;t.charAt(++s)!=="-"&&s!=t.length;);const d=t.substring(u,s);if(d!=Number(d)||t.charAt(s)!=="-")throw new Error("Illegal attachments");const h=Number(d);if(!YE(h)||h<0)throw new Error("Illegal attachments");if(h>this.opts.maxAttachments)throw new Error("too many attachments");o.attachments=h}if(t.charAt(s+1)==="/"){const u=s+1;for(;++s&&!(t.charAt(s)===","||s===t.length););o.nsp=t.substring(u,s)}else o.nsp="/";const l=t.charAt(s+1);if(l!==""&&Number(l)==l){const u=s+1;for(;++s;){const d=t.charAt(s);if(d==null||Number(d)!=d){--s;break}if(s===t.length)break}o.id=Number(t.substring(u,s+1))}if(t.charAt(++s)){const u=this.tryParse(t.substr(s));if(od.isPayloadValid(o.type,u))o.data=u;else throw new Error("invalid payload")}return o}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,s){switch(t){case Te.CONNECT:return Cm(s);case Te.DISCONNECT:return s===void 0;case Te.CONNECT_ERROR:return typeof s=="string"||Cm(s);case Te.EVENT:case Te.BINARY_EVENT:return Array.isArray(s)&&(typeof s[0]=="number"||typeof s[0]=="string"&&QE.indexOf(s[0])===-1);case Te.ACK:case Te.BINARY_ACK:return Array.isArray(s)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class GE{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const s=WE(this.reconPack,this.buffers);return this.finishedReconstruction(),s}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const YE=Number.isInteger||function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n)===n};function Cm(n){return Object.prototype.toString.call(n)==="[object Object]"}const JE=Object.freeze(Object.defineProperty({__proto__:null,Decoder:od,Encoder:KE,get PacketType(){return Te}},Symbol.toStringTag,{value:"Module"}));function cn(n,t,s){return n.on(t,s),function(){n.off(t,s)}}const XE=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Py extends Ye{constructor(t,s,o){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=s,o&&o.auth&&(this.auth=o.auth),this._opts=Object.assign({},o),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[cn(t,"open",this.onopen.bind(this)),cn(t,"packet",this.onpacket.bind(this)),cn(t,"error",this.onerror.bind(this)),cn(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...s){var o,l,u;if(XE.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(s.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(s),this;const d={type:Te.EVENT,data:s};if(d.options={},d.options.compress=this.flags.compress!==!1,typeof s[s.length-1]=="function"){const v=this.ids++,w=s.pop();this._registerAckCallback(v,w),d.id=v}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(t,s){var o;const l=(o=this.flags.timeout)!==null&&o!==void 0?o:this._opts.ackTimeout;if(l===void 0){this.acks[t]=s;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===t&&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[t]=d}emitWithAck(t,...s){return new Promise((o,l)=>{const u=(d,h)=>d?l(d):o(h);u.withError=!0,s.push(u),this.emit(t,...s)})}_addToQueue(t){let s;typeof t[t.length-1]=="function"&&(s=t.pop());const o={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((l,...u)=>(this._queue[0],l!==null?o.tryCount>this._opts.retries&&(this._queue.shift(),s&&s(l)):(this._queue.shift(),s&&s(null,...u)),o.pending=!1,this._drainQueue())),this._queue.push(o),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const s=this._queue[0];s.pending&&!t||(s.pending=!0,s.tryCount++,this.flags=s.flags,this.emit.apply(this,s.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Te.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,s){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,s),this._clearAcks()}
vendor: 6,031 bytes, line 160
160_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(o=>String(o.id)===t)){const o=this.acks[t];delete this.acks[t],o.withError&&o.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Te.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Te.EVENT:case Te.BINARY_EVENT:this.onevent(t);break;case Te.ACK:case Te.BINARY_ACK:this.onack(t);break;case Te.DISCONNECT:this.ondisconnect();break;case Te.CONNECT_ERROR:this.destroy();const o=new Error(t.data.message);o.data=t.data.data,this.emitReserved("connect_error",o);break}}onevent(t){const s=t.data||[];t.id!=null&&s.push(this.ack(t.id)),this.connected?this.emitEvent(s):this.receiveBuffer.push(Object.freeze(s))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const s=this._anyListeners.slice();for(const o of s)o.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const s=this;let o=!1;return function(...l){o||(o=!0,s.packet({type:Te.ACK,id:t,data:l}))}}onack(t){const s=this.acks[t.id];typeof s=="function"&&(delete this.acks[t.id],s.withError&&t.data.unshift(null),s.apply(this,t.data))}onconnect(t,s){this.id=t,this.recovered=s&&this._pid===s,this._pid=s,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Te.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const s=this._anyListeners;for(let o=0;o<s.length;o++)if(t===s[o])return s.splice(o,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const s=this._anyOutgoingListeners;for(let o=0;o<s.length;o++)if(t===s[o])return s.splice(o,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const s=this._anyOutgoingListeners.slice();for(const o of s)o.apply(this,t.data)}}}function Gs(n){n=n||{},this.ms=n.min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}Gs.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),s=Math.floor(t*this.jitter*n);n=(Math.floor(t*10)&1)==0?n-s:n+s}return Math.min(n,this.max)|0};Gs.prototype.reset=function(){this.attempts=0};Gs.prototype.setMin=function(n){this.ms=n};Gs.prototype.setMax=function(n){this.max=n};Gs.prototype.setJitter=function(n){this.jitter=n};class Ic extends Ye{constructor(t,s){var o;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(s=t,t=void 0),s=s||{},s.path=s.path||"/socket.io",this.opts=s,Ya(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=t;const l=s.parser||JE;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=s.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var s;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(s=this.backoff)===null||s===void 0||s.setMin(t),this)}randomizationFactor(t){var s;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(s=this.backoff)===null||s===void 0||s.setJitter(t),this)}reconnectionDelayMax(t){var s;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(s=this.backoff)===null||s===void 0||s.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new FE(this.uri,this.opts);const s=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const l=cn(s,"open",function(){o.onopen(),t&&t()}),u=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),t?t(h):this.maybeReconnectOnOpen()},d=cn(s,"error",u);if(this._timeout!==!1){const h=this._timeout,p=this.setTimeoutFn(()=>
160{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(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(cn(t,"ping",this.onping.bind(this)),cn(t,"data",this.ondata.bind(this)),cn(t,"error",this.onerror.bind(this)),cn(t,"close",this.onclose.bind(this)),cn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(s){this.onclose("parse error",s)}}ondecoded(t){Ga(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,s){let o=this.nsps[t];return o?this._autoConnect&&!o.active&&o.connect():(o=new Py(this,t,s),this.nsps[t]=o),o}_destroy(t){const s=Object.keys(this.nsps);for(const o of s)if(this.nsps[o].active)return;this._close()}_packet(t){const s=this.encoder.encode(t);for(let o=0;o<s.length;o++)this.engine.write(s[o],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,s){var o;this.cleanup(),(o=this.engine)===null||o===void 0||o.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const s=this.backoff.duration();this._reconnecting=!0;const o=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(l=>{l?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",l)):t.onreconnect()}))},s);this.opts.autoUnref&&o.unref(),this.subs.push(()=>{this.clearTimeoutFn(o)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Ui={};function Ma(n,t){typeof n=="object"&&(t=n,n=void 0),t=t||{};const s=zE(n,t.path||"/socket.io"),o=s.source,l=s.id,u=s.path,d=Ui[l]&&u in Ui[l].nsps,h=t.forceNew||t["force new connection"]||t.multiplex===!1||d;let p;return h?p=new Ic(o,t):(Ui[l]||(Ui[l]=new Ic(o,t)),p=Ui[l]),s.query&&!t.query&&(t.query=s.queryKey),p.socket(s.path,t)}Object.assign(Ma,{Manager:Ic,Socket:Py,io:Ma,connect:Ma});const ZE=250;function Tm(n,t){var s;const o=(s=n.token)!==null&&s!==void 0?s:gr(),l={app_id:n.appId,token:o};o||(l.anonymous_id=qa());const u=Ma(n.serverUrl,{path:n.mountPath,transports:n.transports,query:l});return u.on("connect",async()=>{var d;return console.log("connect",u.id),(d=t.connect)===null||d===void 0?void 0:d.call(t)}),u.on("update_model",async d=>{var h;return(h=t.update_model)===null||h===void 0?void 0:h.call(t,d)}),u.on("error",async d=>{var h;return(h=t.error)===null||h===void 0?void 0:h.call(t,d)}),u.on("connect_error",async d=>{var h;return console.error("connect_error",d),(h=t.error)===null||h===void 0?void 0:h.call(t,d)}),u}function ek({config:n}){let t={...n};const s={},o={},l={connect:async()=>{const _=[];Object.keys(s).forEach(U=>{const L=b(U);L.length!==0&&(g(U),L.forEach(({connect:A})=>{const H=async()=>A==null?void 0:A();_.push(H())}))}),await Promise.all(_)},update_model:async _=>{const L=b(_.room).map(A=>{var H;return(H=A.update_model)===null||H===void 0?void 0:H.call(A,_)});await Promise.all(L)},error:async _=>{console.error("error",_);const U=Object.values(s).flat().map(L=>{var A;return(A=L.error)===null||A===void 0?void 0:A.call(L,_)});await Promise.all(U)}};let u=Tm(n,l);function d(){h()}function h(){D(),u&&u.disconnect()}function p(_){d(),t={...t,..._},u=Tm(t,l)}function g(_){u.emit("join",_)}function v(_){u.emit("leave",_)}async function w(_,U){var L;const A=JSON.stringify(U);return(L=l.update_model)===null||L===void 0?void 0:L.call(l,{room:_,data:A})}function b(_){var U;return(U=s[_])!==null&&U!==void 0?U:[]}function O(_){const U=o[_];U&&(clearTimeout(U),delete o[_])}
160function D(){Object.keys(o).forEach(_=>{var U,L;clearTimeout(o[_]),delete o[_],((L=(U=s[_])===null||U===void 0?void 0:U.length)!==null&&L!==void 0?L:0)===0&&delete s[_]})}function N(_){O(_),o[_]=setTimeout(()=>{var U,L;delete o[_],!(((L=(U=s[_])===null||U===void 0?void 0:U.length)!==null&&L!==void 0?L:0)>0)&&(v(_),delete s[_])},ZE)}return{socket:u,subscribeToRoom:(_,U)=>{s[_]?O(_):(g(_),s[_]=[]),s[_].push(U);let L=!1;return()=>{var A,H;L||(L=!0,s[_]=(H=(A=s[_])===null||A===void 0?void 0:A.filter(Q=>Q!==U))!==null&&H!==void 0?H:[],s[_].length===0&&N(_))}},updateConfig:p,updateModel:w,disconnect:h}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(` 161 PartySocket requires a global 'EventTarget' class to be available! 162 You can polyfill this global by adding this to your code before any partysocket imports: 163 164 \`\`\` 165 import 'partysocket/event-target-polyfill'; 166 \`\`\` 167 Please file an issue at https://github.com/partykit/partykit if you're still having trouble. 168`);var Ay=class extends Event{constructor(t,s){super("error",s);Ue(this,"message");Ue(this,"error");this.message=t.message,this.error=t}},jy=class extends Event{constructor(t=1e3,s="",o){super("close",o);Ue(this,"code");Ue(this,"reason");Ue(this,"wasClean",!0);this.code=t,this.reason=s}},ac={Event,ErrorEvent:Ay,CloseEvent:jy};function tk(n,t){if(!n)throw new Error(t)}function nk(n){return new n.constructor(n.type,n)}function rk(n){return"data"in n?new MessageEvent(n.type,n):"code"in n||"reason"in n?new jy(n.code||1999,n.reason||"unknown reason",n):"error"in n?new Ay(n.error,n):new Event(n.type,n)}var qm,sk=typeof process<"u"&&typeof((qm=process.versions)==null?void 0:qm.node)<"u"&&typeof document>"u",Ta=sk?rk:nk,Ir={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},Rm=!1,ik=class Dr extends EventTarget{constructor(s,o,l={}){super();Ue(this,"_ws");Ue(this,"_retryCount",-1);Ue(this,"_uptimeTimeout");Ue(this,"_connectTimeout");Ue(this,"_shouldReconnect",!0);Ue(this,"_connectLock",!1);Ue(this,"_binaryType","blob");Ue(this,"_closeCalled",!1);Ue(this,"_messageQueue",[]);Ue(this,"_url");Ue(this,"_protocols");Ue(this,"_options");Ue(this,"onclose",null);Ue(this,"onerror",null);Ue(this,"onmessage",null);Ue(this,"onopen",null);Ue(this,"_handleOpen",s=>{this._debug("open event");const{minUptime:o=Ir.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),o),tk(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(l=>{var u;return(u=this._ws)==null?void 0:u.send(l)}),this._messageQueue=[],this.onopen&&this.onopen(s),this.dispatchEvent(Ta(s))});Ue(this,"_handleMessage",s=>{this._debug("message event"),this.onmessage&&this.onmessage(s),this.dispatchEvent(Ta(s))});Ue(this,"_handleError",s=>{this._debug("error event",s.message),this._disconnect(void 0,s.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(s),this._debug("exec error listeners"),this.dispatchEvent(Ta(s)),this._connect()});Ue(this,"_handleClose",s=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(s),this.dispatchEvent(Ta(s))});this._url=s,this._protocols=o,this._options=l,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return Dr.CONNECTING}get OPEN(){return Dr.OPEN}get CLOSING(){return Dr.CLOSING}get CLOSED(){return Dr.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(s){this._binaryType=s,this._ws&&(this._ws.binaryType=s)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((o,l)=>(typeof l=="string"?o+=l.length:l instanceof Blob?o+=l.size:o+=l.byteLength,o),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?Dr.CLOSED:Dr.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(s=1e3,o){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(s,o)}reconnect(s,o){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(s,o),this._connect())}
168send(s){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",s),this._ws.send(s);else{const{maxEnqueuedMessages:o=Ir.maxEnqueuedMessages}=this._options;this._messageQueue.length<o&&(this._debug("enqueue",s),this._messageQueue.push(s))}}_debug(...s){this._options.debug&&console.log.apply(console,["RWS>",...s])}_getNextDelay(){const{reconnectionDelayGrowFactor:s=Ir.reconnectionDelayGrowFactor,minReconnectionDelay:o=Ir.minReconnectionDelay,maxReconnectionDelay:l=Ir.maxReconnectionDelay}=this._options;let u=0;return this._retryCount>0&&(u=o*Math.pow(s,this._retryCount-1),u>l&&(u=l)),this._debug("next delay",u),u}_wait(){return new Promise(s=>{setTimeout(s,this._getNextDelay())})}_getNextProtocols(s){if(!s)return Promise.resolve(null);if(typeof s=="string"||Array.isArray(s))return Promise.resolve(s);if(typeof s=="function"){const o=s();if(!o)return Promise.resolve(null);if(typeof o=="string"||Array.isArray(o))return Promise.resolve(o);if(o.then)return o}throw Error("Invalid protocols")}_getNextUrl(s){if(typeof s=="string")return Promise.resolve(s);if(typeof s=="function"){const o=s();if(typeof o=="string")return Promise.resolve(o);if(o.then)return o}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
168const{maxRetries:s=Ir.maxRetries,connectionTimeout:o=Ir.connectionTimeout}=this._options;if(this._retryCount>=s){this._debug("max retries reached",this._retryCount,">=",s);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([l,u])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!Rm&&(console.error(`â¼ï¸ No WebSocket implementation available. You should define options.WebSocket. 169 170For example, if you're using node.js, run \`npm install ws\`, and then in your code: 171 172import PartySocket from 'partysocket'; 173import WS from 'ws'; 174 175const partysocket = new PartySocket({ 176 host: "127.0.0.1:1999", 177 room: "test-room", 178 WebSocket: WS 179}); 180 181`),Rm=!0);const d=this._options.WebSocket||WebSocket;this._debug("connect",{url:l,protocols:u}),this._ws=u?new d(l,u):new d(l),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),o)}).catch(l=>{this._connectLock=!1,this._handleError(new ac.ErrorEvent(Error(l.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new ac.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(s=1e3,o){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(s,o),this._handleClose(new ac.CloseEvent(s,o,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*! 182 * Reconnecting WebSocket 183 * by Pedro Ladaria <[email protected]> 184 * https://github.com/pladaria/reconnecting-websocket 185 * License MIT 186 */const ok=1e3,ak=3e3,lk=new Set([405,409,422,503]),uk=new Set([400,403,404]);function ck(n){const t=n&&typeof n=="object"?n.status:void 0;return typeof t=="number"?t:void 0}function dk(n){return n instanceof Error?n:new Error(String(n))}class fk{constructor(t,s,o,l,u){var d;this.onClose=u,this.listeners=new Set,this.heartbeat=null,this.closed=!1,this.id=(d=l==null?void 0:l.id)!==null&&d!==void 0?d:crypto.randomUUID();let h=o.transport==="proxy";const p=async()=>{var b;if(this.closed)throw new Error("Actor connection is closed");if(!h)try{const{websocket_url:O,token:D}=await o.mintConnectionToken(t,s,this.id),N=O.includes("?")?"&":"?";return`${O}${N}token=${encodeURIComponent(D)}`}catch(O){const D=ck(O);if(!(o.transport!=="direct"&&D!==void 0&&lk.has(D))){D!==void 0&&uk.has(D)&&this.close();try{(b=o.onMintError)===null||b===void 0||b.call(o,dk(O))}catch{}throw O}h=!0}return pk(o.host,t,s,this.id,o.appId,o.getAuthToken(),o.functionsVersion)},g=new ik(p);this.ws=g;let v=Date.now();const w=()=>{v=Date.now()};g.addEventListener("open",w),g.addEventListener("message",b=>{w();let O;try{O=JSON.parse(b.data)}catch{return}if((O&&typeof O=="object"?O.type:void 0)!=="__pong")for(const N of this.listeners)N(O)}),this.heartbeat=setInterval(()=>{if(Date.now()-v>ak){w(),g.readyState===g.OPEN&&g.reconnect();return}try{g.send(JSON.stringify({type:"__ping"}))}catch{}},ok)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.closed||this.ws.send(JSON.stringify(t))}close(){this.closed||(this.closed=!0,this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose())}}function hk(n,t,s,o){let l=null;return{connect(u){if(l)return l;const d=new fk(n,t,s,u,()=>
186{o.delete(d),l===d&&(l=null)});return l=d,o.add(d),d}}}function pk(n,t,s,o,l,u,d){let h=n.replace(/^(http|https|ws|wss):\/\//,"");h.endsWith("/")&&(h=h.slice(0,-1));const p=h.startsWith("localhost:")||h.startsWith("127.0.0.1:")||h.startsWith("192.168.")||h.startsWith("10.")||h.startsWith("172.")&&h.split(".")[1]>="16"&&h.split(".")[1]<="31"||h.startsWith("[::ffff:7f00:1]:"),g=new URLSearchParams([["_pk",o],["app_id",l],["handler",t]]);return u&&g.append("token",u),d&&g.append("fv",d),`${p?"ws":"wss"}://${h}/parties/${t}/${s}?${g}`}function mk(n,t){return n&&!n.startsWith("/")?n:t??n}function gk(n){const t=new Set;return{module:new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"))return u=>hk(l,u,n,t)}}),closeAll:()=>{for(const o of[...t])o.close()}}}function yk(n){var t,s,o,l;const{serverUrl:u="https://base44.app",appId:d,analytics:h,token:p,serviceToken:g,requiresAuth:v=!1,appBaseUrl:w,options:b,functionsVersion:O,headers:D}=n,N=typeof w=="string"?w:"",S={serverUrl:u,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:d,token:p};let _=null;const U=()=>(_||(_=ek({config:S})),_),L={...D,"X-App-Id":String(d)},A=O?{...L,"Base44-Functions-Version":O}:L,H=Os({baseURL:`${u}/api`,headers:L,token:p,onError:b==null?void 0:b.onError}),Q=Os({baseURL:`${u}/api`,headers:A,token:p,interceptResponses:!1,onError:b==null?void 0:b.onError}),oe={...L,...p?{"on-behalf-of":`Bearer ${p}`}:{}},B=Os({baseURL:`${u}/api`,headers:oe,token:g,onError:b==null?void 0:b.onError}),ue=Os({baseURL:`${u}/api`,headers:A,token:g,interceptResponses:!1}),we=Os({baseURL:`${u}/api`,headers:L}),Ee=GS(H,Q,d,{appBaseUrl:N,token:p});if(typeof window<"u"){const fe=p||gr();fe&&Ee.setToken(fe)}const Pe=gk({appId:d,host:mk(u,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:O,getAuthToken:()=>p||gr(),mintConnectionToken:async(fe,xe,K)=>{const ie=p||gr();return await we.post(`/apps/${d}/actors/${encodeURIComponent(fe)}/connection-token`,{room:xe,connection_id:K},{headers:{...ie?{Authorization:`Bearer ${ie}`}:{},...O?{"Base44-Functions-Version":O}:{}}})},transport:b==null?void 0:b.actorsTransport,onMintError:b==null?void 0:b.onError}),Le={entities:gm({axios:H,appId:d,getSocket:U}),integrations:ym(H,d),connectors:eE(H,d),auth:Ee,functions:vm(Q,d,{getAuthHeaders:()=>{const fe={},xe=p||gr();return xe&&(fe.Authorization=`Bearer ${xe}`),fe},baseURL:(s=Q.defaults)===null||s===void 0?void 0:s.baseURL}),agents:wm({axios:H,getSocket:U,appId:d,serverUrl:u,token:p}),aiGateway:xm({serverUrl:u,token:p,appId:d}),appLogs:_m(H,d),app:sE(H,d),users:iE(H,d),analytics:IS({axiosClient:H,serverUrl:u,appId:d,userAuthModule:Ee,enabled:(o=h==null?void 0:h.enabled)!==null&&o!==void 0?o:!0}),actors:Pe.module,cleanup:()=>{Le.analytics.cleanup(),Pe.closeAll(),_&&_.disconnect()}},Re={entities:gm({axios:B,appId:d,getSocket:U}),integrations:ym(B,d),sso:YS(B,d),connectors:XS(B,d),functions:vm(ue,d,{getAuthHeaders:()=>{const fe={};return g&&(fe.Authorization=`Bearer ${g}`),fe},baseURL:(l=ue.defaults)===null||l===void 0?void 0:l.baseURL}),agents:wm({axios:B,getSocket:U,appId:d,serverUrl:u,token:p}),aiGateway:xm({serverUrl:u,token:g,appId:d}),appLogs:_m(B,d),cleanup:()=>{_&&_.disconnect()}};return v&&typeof window<"u"&&setTimeout(async()=>{try{await Le.auth.isAuthenticated()||Le.auth.redirectToLogin(window.location.href)}catch(fe){console.error("Authentication check failed:",fe),Le.auth.redirectToLogin(window.location.href)}},0),{...Le,fetchWithAuth:nE({axios:H,serviceRoleAxios:B,appId:String(d),serverUrl:u,functionsVersion:O,platformHeaders:D}),setToken(fe){Le.auth.setToken(fe),_&&_.updateConfig({token:fe}),S.token=fe},getConfig(){return{serverUrl:u,appId:d,requiresAuth:v}},get asServiceRole(){if(!g)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return Re}}}const Ly=typeof window>"u",vk=Ly?{localStorage:new Map}:window,Vi=vk.localStorage,wk=n=>n.replace(/([A-Z])/g,"_$1").toLowerCase(),Ns=(n,{defaultValue:t=void 0,removeFromUrl:s=!1}={})=>{if(Ly)return t;const o=`base44_${wk(n)}`,l=new URLSearchParams(window.location.search),u=l.get(n);if(s){l.delete(n);const h=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,h)}if(u)return Vi.setItem(o,u),u;if(t)return Vi.setItem(o,t),t;const d=Vi.getItem(o);return d||null},xk=()=>(Ns("clear_access_token")==="true"&&(Vi.removeItem("base44_access_token"),Vi.removeItem("token")),{appId:Ns("app_id",{defaultValue:"6a6c365065d5c31f30046734"}),token:Ns("access_token",{removeFromUrl:!0}),fromUrl:Ns("from_url",{defaultValue:window.location.href}),functionsVersion:Ns("functions_version",{defaultValue:"prod"}),appBaseUrl:Ns("app_base_url",{defaultValue:void 0})}),Hi={...xk()},{appId:_k,token:bk,functionsVersion:Sk,appBaseUrl:Ek}=Hi,Ps=yk({appId:_k,token:bk,functionsVersion:Sk,serverUrl:"",requiresAuth:!1,appBaseUrl:Ek});function kk({}){var l;const t=Ws().pathname.substring(1),{data:s,isFetched:o}=o1({queryKey:["user"],queryFn:async()=>{try{return{user:await Ps.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return y.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:y.jsx("div",{className:"max-w-md w-full",children:y.jsxs("div",{className:"text-center space-y-6",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),y.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),y.jsxs("div",{className:"space-y-3",children:[y.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),y.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",y.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),o&&s.isAuthenticated&&((l=s.user)==null?void 0:l.role)==="admin"&&y.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:y.jsxs("div",{className:"flex items-start space-x-3",children:[y.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:y.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),y.jsxs("div",{className:"text-left space-y-1",children:[y.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),y.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."})]})]})}),y.jsx("div",{className:"pt-6",children:y.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:[y.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y.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 Iy=I.createContext(),Ck=({children:n})=>{const[t,s]=I.useState(null),[o,l]=I.useState(!1),[u,d]=I.useState(!0),[h,p]=I.useState(!0),[g,v]=I.useState(null),[w,b]=I.use
186State(!1),[O,D]=I.useState(null);I.useEffect(()=>{N()},[]);const N=async()=>{var L,A;try{p(!0),v(null);const H=Os({baseURL:"/api/apps/public",headers:{"X-App-Id":Hi.appId},token:Hi.token,interceptResponses:!0});try{const Q=await H.get(`/prod/public-settings/by-id/${Hi.appId}`);D(Q),Hi.token?await S():(d(!1),l(!1),b(!0)),p(!1)}catch(Q){if(console.error("App state check failed:",Q),Q.status===403&&((A=(L=Q.data)==null?void 0:L.extra_data)!=null&&A.reason)){const oe=Q.data.extra_data.reason;v(oe==="auth_required"?{type:"auth_required",message:"Authentication required"}:oe==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:oe,message:Q.message})}else v({type:"unknown",message:Q.message||"Failed to load app"});p(!1),d(!1)}}catch(H){console.error("Unexpected error:",H),v({type:"unknown",message:H.message||"An unexpected error occurred"}),p(!1),d(!1)}},S=async()=>{try{d(!0);const L=await Ps.auth.me();s(L),l(!0),d(!1),b(!0)}catch(L){console.error("User auth check failed:",L),d(!1),l(!1),b(!0),(L.status===401||L.status===403)&&v({type:"auth_required",message:"Authentication required"})}},_=(L=!0)=>{s(null),l(!1),L?Ps.auth.logout(window.location.href):Ps.auth.logout()},U=()=>{Ps.auth.redirectToLogin(window.location.href)};return y.jsx(Iy.Provider,{value:{user:t,isAuthenticated:o,isLoadingAuth:u,isLoadingPublicSettings:h,authError:g,appPublicSettings:O,authChecked:w,logout:_,navigateToLogin:U,checkUserAuth:S,checkAppState:N},children:n})},Tk=()=>{const n=I.useContext(Iy);if(!n)throw new Error("useAuth must be used within an AuthProvider");return n},Rk=()=>y.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:y.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:y.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:y.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"})})}),y.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),y.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."}),y.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[y.jsx("p",{children:"If you believe this is an error, you can:"}),y.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[y.jsx("li",{children:"Verify you are logged in with the correct account"}),y.jsx("li",{children:"Contact the app administrator for access"}),y.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),Nk=n=>{const t=n.slice(1);try{return decodeURIComponent(t)}catch{return t}};function Ok(){const{pathname:n,hash:t}=Ws(),s=M1();return I.useEffect(()=>{if(s!=="POP"){if(t){const o=Nk(t),l=window.setTimeout(()=>{var u;(u=document.getElementById(o))==null||u.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(l)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[n,t,s]),null}const Pk="modulepreload",Ak=function(n){return"/"+n},Nm={},Yt=function(t,s,o){let l=Promise.resolve();if(s&&s.length>0){let d=function(g){return Promise.all(g.map(v=>Promise.resolve(v).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),p=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));l=d(s.map(g=>{if(g=Ak(g),g in Nm)return;Nm[g]=!0;const v=g.endsWith(".css"),w=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${w}`))return;const b=document.createElement("link");if(b.rel=v?"stylesheet":Pk,v||(b.as="script"),b.crossOrigin="",b.href=g,p&&b.setAttribute("nonce",p),document.head.appendChild(b),v)return new Promise((O,D)=>{b.addEventListener("load",O),b.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${g}`)))})}))}function u(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return l.then(d=>{for(const h of d||[])h.status==="rejected"&&u(h.reason);return t().catch(u)})};function jk(n){const[t,s]=I.useState(null);return I.useLayoutEffect(()=>{const o=n.current;if(!o)return;const l=o.getBoundingClientRect();s({width:l.width,height:l.height});
186const u=new ResizeObserver(([d])=>{const{width:h,height:p}=d.contentRect;s({width:h,height:p})});return u.observe(o),()=>u.disconnect()},[n]),t}const Ra="https://static.wixstatic.com/media/12d367_4f26ccd17f8f4e3a8958306ea08c2332~mv2.png",Lk=["media.base44.com","static.wixstatic.com"],Ik=1024,Dk=[1,2,3],Mk=6e3;function Uk(n){try{const t=new URL(n);if(!Lk.includes(t.hostname))return null;const s=t.pathname.indexOf("/v1/"),o=s===-1?t.pathname:t.pathname.slice(0,s),l=o.split("/").pop();return!l||/\.svg$/i.test(l)?null:{baseUrl:`${t.origin}${o}`,filename:l}}catch{return null}}const Om=n=>Math.min(Math.max(Math.round(n),1),Mk),Pm=n=>Math.min(1,Math.max(0,n));function Dc({baseUrl:n,filename:t},{width:s,height:o,crop:l,focalPoint:u,quality:d}){const h=[`w_${Om(s)}`,`h_${Om(o||s)}`];l&&h.push(u?`fp_${Pm(u.x).toFixed(2)}_${Pm(u.y).toFixed(2)}`:"al_c"),h.push(`q_${d}`,"usm_0.66_1.00_0.01","enc_webp","quality_auto");const p=/\.gif$/i.test(t)?t:t.replace(/\.[a-z0-9]+$/i,"")+".webp";return`${n}/v1/${l?"fill":"fit"}/${h.join(",")}/${p}`}function Fk(n,t){return Dk.map(s=>`${Dc(n,{...t,width:t.width*s,height:t.height?t.height*s:void 0})} ${s}x`).join(", ")}const Dy=I.forwardRef(({aspectRatio:n,className:t,style:s,children:o},l)=>y.jsx("span",{ref:l,className:_n("inline-block relative",t),style:{aspectRatio:n,...s},children:o}));Dy.displayName="ImageWrapper";const My=I.forwardRef(({parsed:n,fittingType:t,focalPoint:s,quality:o,priority:l,className:u,style:d,aspectRatio:h,onLoad:p,...g},v)=>{const w=I.useRef(null),b=I.useRef(null),O=jk(w),[D,N]=I.useState(!1);I.useImperativeHandle(v,()=>b.current),I.useEffect(()=>{N(!1)},[n.baseUrl]);const S=t!=="fit",_=O&&{width:O.width||Ik,height:O.height?O.height:void 0,crop:S,focalPoint:S?s:void 0,quality:o};return y.jsxs(Dy,{ref:w,aspectRatio:h,className:u,style:d,children:[_&&!D&&y.jsx("img",{src:Dc(n,{..._,width:20,height:_.height?Math.max(1,Math.round(20*_.height/_.width)):void 0,quality:20}),alt:"","aria-hidden":"true",className:"w-full h-full inset-0 absolute",style:{objectFit:t==="fit"?"contain":"cover",filter:"blur(10px)",transform:"scale(1.1)"}}),_&&y.jsx("img",{ref:b,src:Dc(n,_),srcSet:Fk(n,_),loading:l?"eager":"lazy",fetchpriority:l?"high":void 0,decoding:l?"sync":"async",className:_n("w-full h-full inset-0 absolute",t==="fit"?"object-contain":"object-cover"),onLoad:U=>{N(!0),p==null||p(U)},...g})]})});My.displayName="ResponsiveImage";const Ja=I.forwardRef(({src:n,fittingType:t="fill",originWidth:s,originHeight:o,focalPointX:l,focalPointY:u,quality:d=90,priority:h=!1,...p},g)=>{const[v,w]=I.useState(n);I.useEffect(()=>{w(n)},[n]);const b={...p,onError:()=>w(Ra)};if(!n)return y.jsx("img",{ref:g,src:Ra,...b,"data-empty-image":!0});const O=v===Ra?null:Uk(v);if(!O){const S=v===Ra;return y.jsx("img",{ref:g,src:v,...b,"data-error-image":S||void 0})}const D=typeof l=="number"&&typeof u=="number"?{x:l,y:u}:void 0,N=s&&o?`${s} / ${o}`:void 0;return y.jsx(My,{ref:g,parsed:O,fittingType:t,focalPoint:D,quality:d,priority:h,aspectRatio:N,...b})});Ja.displayName="Image";const ad=[{label:"Start Here",href:"#welcome"},{label:"The Method",href:"#method",heading:"The Taabe Methodâ¢",children:[{icon:Nw,title:"Awareness",desc:"See what's actually there.",href:"#method"},{icon:vw,title:"Integration",desc:"Let it settle into your life.",href:"#method"},{icon:mp,title:"Embodiment",desc:"Change that becomes ordinary.",href:"#method"},{icon:fw,title:"Remembering",desc:"Nothing added. Only what's in the way removed.",href:"#method"}],featured:{title:"Four ideas, not a protocol",desc:"How Todd works, and why every session unfolds differently.",cta:"Explore the Method",href:"#method"}},{label:"Work With Todd",href:"#services",heading:"Ways to Work Together",children:[{icon:Tw,title:"Quantum Ascension Healing",desc:"Where most people begin.",href:"#services"},{icon:bw,title:"Entity Interference Release",desc:"Advanced two-h
186our session.",href:"#services"},{icon:gw,title:"Land & Home Clearing",desc:"For the space you live in.",href:"#services"},{icon:Ew,title:"Emergency Intervention",desc:"Within 24 hours of booking.",href:"#services"}],featured:{title:"Not sure which one?",desc:"Send Todd a question. He'll tell you honestly what he thinks would help.",cta:"Ask a Question",href:"#contact"}},{label:"Todd",href:"#about",heading:"About Todd Williamson",children:[{icon:uw,title:"His Story",desc:"Twenty years asking what actually helps.",href:"#about"},{icon:pw,title:"Why People Choose Him",desc:"It's rarely about the healing.",href:"#why-todd"},{icon:mp,title:"The Meaning of Taabe",desc:"The sun, and an ancestral thread.",href:"#about"}]},{label:"Questions",href:"#faq"},{label:"Contact",href:"#contact"}],Uy=ad.filter(n=>n.children),zk=ad.filter(n=>!n.children);var Vm;const Fi=(Vm=Uy.find(n=>n.featured))==null?void 0:Vm.featured;function Bk({onSelect:n}){return y.jsxs("div",{className:"anim-panel-in w-full rounded-3xl border border-[rgba(214,181,107,0.25)] bg-[rgba(16,44,31,0.97)] backdrop-blur-2xl shadow-[0_30px_90px_rgba(0,0,0,0.6),inset_0_1px_0_rgba(255,255,255,0.08)] p-8",children:[y.jsxs("div",{className:"grid md:grid-cols-[repeat(3,1fr)_0.9fr] gap-7",children:[Uy.map(t=>y.jsxs("div",{children:[y.jsx("a",{href:t.href,onClick:n,className:"block text-[0.68rem] tracking-[0.2em] uppercase text-[#8fc5a5] font-extrabold mb-4 hover:text-[#fff0b8] transition-colors",children:t.heading||t.label}),y.jsx("div",{className:"space-y-1.5",children:t.children.map(s=>y.jsxs("a",{href:s.href,onClick:n,className:"group flex gap-3 p-2.5 rounded-2xl border border-transparent hover:border-[rgba(214,181,107,0.3)] hover:bg-white/5 transition-all duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#fff0b8]",children:[y.jsx("span",{className:"mt-0.5 w-9 h-9 shrink-0 rounded-xl grid place-items-center border border-[rgba(214,181,107,0.35)] text-[#fff0b8] group-hover:shadow-[0_0_18px_rgba(214,181,107,0.35)] transition-shadow",children:y.jsx(s.icon,{className:"w-4 h-4"})}),y.jsxs("span",{children:[y.jsx("span",{className:"block font-heading text-lg text-[#f8fff9] leading-tight",children:s.title}),y.jsx("span",{className:"block text-[0.8rem] text-[#a8b9ae]",children:s.desc})]})]},s.title))})]},t.label)),Fi&&y.jsxs("a",{href:Fi.href,onClick:n,className:"rounded-2xl overflow-hidden border border-[rgba(214,181,107,0.3)] bg-gradient-to-br from-[rgba(36,110,76,0.7)] to-[rgba(17,48,35,0.9)] flex flex-col hover:shadow-[0_0_40px_rgba(214,181,107,0.22)] transition-shadow",children:[y.jsx(Ja,{src:"https://media.base44.com/images/public/6a6c365065d5c31f30046734/49f4331cd_logo_small.png",alt:"Sacred geometry â The Taabe Method",fittingType:"fit",className:"w-full h-[170px] block bg-[rgba(3,10,7,0.6)]"}),y.jsxs("div",{className:"p-6 flex flex-col justify-end flex-1",children:[y.jsx("div",{className:"font-heading text-2xl text-[#f8fff9] mb-2",children:Fi.title}),y.jsx("p",{className:"text-[0.85rem] text-[#dbe9df] mb-4",children:Fi.desc}),y.jsxs("span",{className:"text-[0.7rem] tracking-[0.14em] uppercase font-black text-[#fff0b8]",children:[Fi.cta," â"]})]})]})]}),y.jsx("div",{className:"flex flex-wrap gap-2.5 mt-7 pt-6 border-t border-[rgba(214,181,107,0.16)]",children:zk.map(t=>y.jsx("a",{href:t.href,onClick:n,className:"px-4 py-2.5 rounded-full border border-[rgba(214,181,107,0.28)] bg-white/5 text-[0.72rem] font-extrabold tracking-[0.12em] uppercase text-[#e8f1eb] hover:text-[#fff0b8] hover:shadow-[0_0_22px_rgba(214,181,107,0.28)] transition-all",children:t.label},t.label))})]})}function $k({open:n,onClose:t}){const[s,o]=Mr.useState(null);return n?y.jsx("div",{className:"contents",children:y.jsx("div",{className:"anim-fade-up lg:hidden overflow-hidden border-t border-[rgba(214,181,107,0.2)] bg-[rgba(4,14,10,0.95)] backdrop-blur-xl",children:y.jsxs("div",{className:"w-[92%] mx-auto py-5 space-y-1",children:[ad.map(l=>y.jsx("div",{className:"border-b border-white/5 last:border-0",children:l.children?y.jsxs(y.Fragment,{children:[y.jsxs("button",{"aria-expanded":s===l.label,onClick:()=>o(s===l.label?null:l.label),className:"w-full flex items-center justify-between py-4 text-[#e8f1eb] text-sm font-extrabold tracking-[0.12em] uppercase",children:[l.label,y.jsx(Zm,{className:`w-4 h-4 transition-transform duration-200 ${s===l.label?"rotate-180":""}`})]}),s===l.label&&y.jsx("div",{className:"pb-3 space-y-1",children:l.children.map(u=>y.jsxs("a",{href:u.href,onClick:t,className:"flex items-center gap-3 py-3 px-3 rounded-xl hover:bg-white/5 text-[#dbe9df]",children:[y.jsx(u.icon,{className:"w-4 h-4 text-[#fff0b8]"}),u.title]},u.title))})]}):y.jsx("a",{href:l.href,onClick:t,className:"block py-4 text-[#e8f1eb] text-sm font-extrabold tracking-[0.12em] uppercase",children:l.label})},l.label)),y.jsx("a",{href:"#services",onClick:t,className:"block text-center mt-4 px-5 py-4 rounded-full bg-gradient-to-br from-[#8d692e] via-[#f0d58e] to-[#a67a32] text-[#07110d] font-black text-xs tracking-[0.12em] uppercase",children:"Choose Your Path"})]})})}):null}const Hk="https://media.base44.com/images/public/6a6c365065d5c31f30046734/03ff7fe7d_logo_trans_New.png";function ld(){const[n,t]=Mr.useState(null),[s,o]=Mr.useState(!1),l=Mr.useRef(null),u=Mr.useRef(null),d=p=>{clearTimeout(l.current),t(p)},h=()=>{clearTimeout(l.current),l.current=setTimeout(()=>t(null),220)};return Mr.useEffect(()=>{const p=v=>v.key==="Escape"&&t(null),g=v=>{u.current&&!u.current.contains(v.target)&&t(null)};return document.addEventListener("keydown",p),document.addEventListener("mousedown",g),()=>{document.removeEventListener("keydown",p),document.removeEventListener("mousedown",g),clearTimeout(l.current)}},[]),y.jsxs("header",{ref:u,className:"fixed top-0 left-0 w-full z-50",children:[y.jsxs("div",{className:"border-b border-[rgba(214,181,107,0.16)] bg-[rgba(15,42,29,0.6)] backdrop-blur-2xl shadow-[inset_0_1px_0_rgba(255,255,255,0.06)]",children:[y.jsxs("div",{className:"w-[min(1240px,94%)] mx-auto h-[104px] flex items-center justify-between gap-6",children:[y.jsx("a",{href:"#top","aria-label":"Taabe Healing home",className:"flex items-center shrink-0",children:y.jsx(Ja,{src:Hk,alt:"Taabe Healing",fittingType:"fit",quality:55,className:"h-[92px] w-[92px] drop-shadow-[0_0_18px_rgba(214,181,107,0.35)]"})}),y.jsx("nav",{className:"hidden lg:flex items-center justify-center flex-1 relative","aria-label":"Main",onMouseEnter:()=>d("all"),onMouseLeave:h,children:y.jsxs("button",{type:"button","aria-expanded":n==="all",onClick:()=>t(n==="all"?null:"all"),className:"flex items-center gap-2 px-6 py-3 rounded-full font-heading text-[1.35rem] tracking-[0.24em] uppercase text-[#f8fff9] transition-all duration-200 motion-safe:hover:scale-[1.04] hover:text-[#fff0b8] hover:bg-white/5 hover:shadow-[0_0_28px_rgba(214,181,107,0.28)] focu
186s:outline-none focus-visible:ring-2 focus-visible:ring-[#fff0b8]",children:["Taabe Healing",y.jsx(Zm,{className:`w-4 h-4 transition-transform duration-200 ${n==="all"?"rotate-180":""}`})]})}),y.jsxs("div",{className:"hidden lg:flex items-center gap-3 shrink-0",children:[y.jsx("a",{href:"mailto:[email protected]?subject=Inquiry",className:"text-[0.72rem] font-extrabold tracking-[0.12em] uppercase text-[#dbe9df] hover:text-[#fff0b8] transition-colors",children:"Contact"}),y.jsx("a",{href:"#services",className:"px-5 py-3 rounded-full bg-gradient-to-br from-[#8d692e] via-[#f0d58e] to-[#a67a32] text-[#07110d] text-[0.72rem] font-black tracking-[0.12em] uppercase shadow-[0_0_24px_rgba(214,181,107,0.3)] transition-all duration-200 motion-safe:hover:scale-[1.05] motion-safe:hover:-translate-y-0.5",children:"Choose Your Path"})]}),y.jsx("button",{className:"lg:hidden p-2 text-[#fff0b8]","aria-label":"Toggle menu","aria-expanded":s,onClick:()=>o(p=>!p),children:s?y.jsx(eg,{className:"w-6 h-6"}):y.jsx(xw,{className:"w-6 h-6"})})]}),y.jsx($k,{open:s,onClose:()=>o(!1)})]}),n==="all"&&y.jsx("div",{className:"hidden lg:block absolute left-0 right-0 top-[104px] flex justify-center pointer-events-none",onMouseEnter:()=>d("all"),onMouseLeave:h,children:y.jsx("div",{className:"w-[min(1120px,94vw)] mx-auto pointer-events-auto",children:y.jsx(Bk,{onSelect:()=>t(null)})})})]})}function qk(n={rootMargin:"-70px",threshold:0}){const t=I.useRef(null),[s,o]=I.useState(!1);return I.useEffect(()=>{const l=t.current;if(!l||s)return;const u=new IntersectionObserver(([d])=>{d.isIntersecting&&(o(!0),u.disconnect())},n);return u.observe(l),()=>u.disconnect()},[s]),[t,s]}const Ji=({children:n})=>y.jsx("div",{className:"text-[0.76rem] tracking-[0.2em] uppercase text-[#fff0b8] font-extrabold mb-4",children:n}),Fy="inline-flex items-center justify-center gap-2.5 px-7 py-4 rounded-full font-black text-[0.78rem] tracking-[0.12em] uppercase transition-all duration-300 cursor-pointer hover:-translate-y-1 hover:scale-[1.015]",ud=({href:n,children:t,className:s="",...o})=>y.jsx("a",{href:n,className:`${Fy} bg-gradient-to-br from-[#8d692e] via-[#f0d58e] to-[#a67a32] text-[#07110d] shadow-[0_0_34px_rgba(214,181,107,0.23)] hover:shadow-[0_0_34px_rgba(255,255,255,0.25),0_18px_45px_rgba(0,0,0,0.34)] ${s}`,...o,children:t}),zy=({href:n,children:t,className:s="",...o})=>y.jsx("a",{href:n,className:`${Fy} bg-white/5 text-[#f8fff9] border border-[rgba(214,181,107,0.35)] hover:shadow-[0_0_34px_rgba(255,255,255,0.15),0_18px_45px_rgba(0,0,0,0.34)] ${s}`,...o,children:t}),YC=({children:n,className:t="",as:s="div"})=>{const[o,l]=qk();return y.jsx(s,{ref:o,className:`reveal ${l?"reveal-in":""} relative rounded-[26px] border border-[rgba(214,181,107,0.28)] bg-gradient-to-br from-[rgba(37,92,68,0.62)] to-[rgba(17,48,35,0.82)
186] shadow-[0_24px_60px_rgba(0,0,0,0.28)] transition-[transform,border-color,box-shadow] duration-500 hover:-translate-y-2 hover:border-[rgba(255,240,184,0.72)] hover:shadow-[0_0_34px_rgba(255,255,255,0.18),0_0_62px_rgba(214,181,107,0.16),0_30px_80px_rgba(0,0,0,0.48)] ${t}`,children:n})},Vk=["20+ Years of Experience","Private One-to-One Sessions","Live or Remote Worldwide","Personalized Healing Experience"];function Wk(){return y.jsxs("section",{className:"relative min-h-screen pt-[96px] md:pt-[118px] pb-16 md:pb-24 overflow-hidden bg-[radial-gradient(circle_at_50%_26%,rgba(72,180,124,0.24),transparent_36%),linear-gradient(135deg,#0d2419_0%,#143526_54%,#1a5137_100%)]",children:[y.jsx("div",{className:"hidden md:block absolute left-1/2 top-[4%] -translate-x-1/2 w-[900px] h-[650px] rounded-full bg-[radial-gradient(circle,rgba(214,181,107,0.15),transparent_68%)] blur-2xl pointer-events-none"}),y.jsx("div",{className:"relative z-10 w-[min(1180px,92%)] mx-auto",children:y.jsxs("div",{className:"anim-fade-up max-w-[980px] mx-auto text-center px-2",children:[y.jsx(Ji,{children:"Energy healing & spiritual mentorship with Todd Williamson"}),y.jsxs("h1",{className:"font-heading text-[clamp(2.5rem,5.4vw,5.7rem)] leading-[1.06] tracking-[-0.035em] text-[#f8fff9]",children:["Find the ",y.jsx("span",{className:"text-[#fff0b8]",children:"Clarity"})," That Brings Your Life Into ",y.jsx("span",{className:"text-[#fff0b8]",children:"Alignment."})]}),y.jsx("p",{className:"text-[clamp(1.02rem,1.35vw,1.22rem)] text-[#dbe9df] max-w-[820px] mx-auto mt-8 leading-relaxed",children:"For more than two decades, Todd Williamson has worked with individuals to uncover the deeper energetic patterns influencing their health, relationships, purpose, and personal evolution. Integrating multidimensional healing and intuitive perception, he assists clients in revealing what has remained unseen, restoring coherence and supporting lasting transformation."}),y.jsx("p",{className:"font-heading italic text-[clamp(1.35rem,2.3vw,1.9rem)] text-[#fff0b8] max-w-[760px] mx-auto mt-7 mb-9",children:"Healing occurs when one inner-stands the unseen."}),y.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-3.5",children:[y.jsx(ud,{href:"#services",children:"Book a Healing Session"}),y.jsx(zy,{href:"/taabe-method",children:"Discover The Taabe Methodâ¢"})]}),y.jsx("div",{className:"flex justify-center gap-3.5 flex-wrap mt-10",children:Vk.map(n=>y.jsx("span",{className:"px-3.5 py-2.5 border border-[rgba(214,181,107,0.28)] rounded-full bg-white/5 text-[0.72rem] tracking-[0.08em] uppercase text-[#dce8df]",children:n},n))})]})})]})}const Qk=["You've invested in your healing journey, yet something still feels unresolved.","You find yourself repeating the same emotional, relationship, or life patterns despite your best efforts.","You feel disconnected from yourself and can't explain why.","You sense there is more influencing your experience than what can be seen or understood physically.","You're seeking greater clarity, inner peace, healing, and a deeper understanding of yourself."];function Kk(){return y.jsx("section",{id:"welcome",className:"py-16 md:py-[110px] bg-[radial-gradient(circle_at_50%_18%,rgba(214,181,107,0.14),transparent_30%),linear-gradient(180deg,#0d2419,#123020)]",children:y.jsxs("div",{className:"w-[min(1080px,92%)] mx-auto",children:[y.jsxs("div",{className:"max-w-[820px]",children:[y.jsx(Ji,{children:"Start Here"}),y.jsx("h2",{className:"font-heading text-[clamp(2.1rem,4.6vw,4.1rem)] leading-[1.06] tracking-[-0.03em] text-[#f8fff9]",children:"Does Any of This Feel Familiar?"}),y.jsx("p",{className:"text-[#dbe9df] text-lg mt-5",children:"Perhaps you've found your way here because..."})]}),y.jsx("div",{className:"grid md:grid-cols-2 gap-x-8 gap-y-4 mt-10",children:Qk.map(n=>y.jsx("p",{className:"pl-5 border-l border-[rgba(214,181,107,0.45)] text-[#dbe9df] text-[1.05rem] leading-relaxed py-1",children:n},n))}),y.jsx("p",{className:"font-heading text-[clamp(1.5rem,2.6vw,2.2rem)] text-[#fff0b8] mt-12 max-w-[760px] leading-snug",children:"Often the answers are not found by doing more, but by revealing what has remained hidden."}),y.jsx("p",{className:"text-[#dbe9df] text-lg mt-4 max-w-[780px]",children:"When deeper patterns come into awareness, coherence is restored and lasting transformation becomes possible."})]})})}const Gk=I.lazy(()=>Yt(()=>import("./Philosophy-y0yP1dUS.js"),[])),Yk=I.lazy(()=>Yt(()=>import("./AboutTodd-BrKmIQv3.js"),[]));I.lazy(()=>Yt(()=>import("./WhyTodd-D-L4rq4F.js"),[]));const Jk=I.lazy(()=>Yt(()=>import("./Method-BJuMFKpK.js"),[])),Xk=I.lazy(()=>Yt(()=>import("./Process-HxJyQJYY.js"),[])),Zk=I.lazy(()=>Yt(()=>import("./Services-DrihpXJ_.js"),[])),eC=I.lazy(()=>Yt(()=>import("./WhyContinue-CAf_hCSw.js"),[])),tC=I.lazy(()=>Yt(()=>import("./Journey-CcJtBOOK.js"),[])),nC=I.lazy(()=>Yt(()=>import("./Meaning-B-jV3f-h.js"),[])),rC=I.lazy(()=>Yt(()=>import("./Faq-BYHIlS68.js"),[])),sC=I.lazy(()=>Yt(()=>import("./Contact-CoSAESF5.js"),[])),iC=I.lazy(()=>Yt(()=>import("./CtaFooter-hvp7PmXk.js"),[]));function oC(){return y.jsxs("main",{id:"top",className:"bg-[#0d2419] text-[#f8fff9] font-body overflow-x-hidden",children:[y.jsx(ld,{}),y.jsx(Wk,{}),y.jsx(Kk,{}),y.jsxs(I.Suspense,{fallback:null,children:[y.jsx(Gk,{}),y.jsx(Yk,{}),y.jsx(Xk,{}),y.jsx(Zk,{}),y.jsx(Jk,{}),y.jsx(eC,{}),y.jsx(tC,{}),y.jsx(nC,{}),y.jsx(rC,{}),y.jsx(sC,{}),y.jsx(iC,{})]})]})}const By={logo:"https://media.base44.com/images/public/user_6855561ea5188ae2e626f674/f22d3934b_new_T_Logo.png",toddPortrait:"https://media.base44.com/images/public/user_6855561ea5188ae2e626f674/87c60eca7_IMG_9383.jpg"},Am=[{to:"/",label:"Home"},{to:"/about",label:"About"},{to:"/energy-healing-guide",label:"Guide"},{to:"/contact",label:"Contact"}];function cd({children:n}){return y.jsxs("div",{className:"bg-[#0d2419] min-h-screen flex flex-col",children:[y.jsx("header",{className:"border-b border-[rgba(214,181,107,0.2)] bg-[rgba(15,42,29,0.9)]",children:y.jsxs("nav",{className:"w-[min(1180px,92%)] mx-auto flex items-center justify-between gap-4 py-4 flex-wrap",children:[y.jsxs(Gr,{to:"/",className:"flex items-center gap-3",children:[y.jsx(Ja,{src:By.logo,alt:"Taabe Healing",className:"w-10 h-10",fittingType:"fit"}),y.jsx("span",{className:"font-heading text-xl text-[#f8fff9] tracking-[0.12em]",children:"TAABE HEALING"})]}),y.jsx("div",{className:"flex gap-5 text-[0.8rem] tracking-[0.12em] uppercase text-[#dbe9df]",children:Am.map(t=>y.jsx(Gr,{to:t.to,className:"hover:text-[#fff0b8] transition-colors",children:t.label},t.to))})]})}),y.jsx("main",{className:"flex-1",children:n}),y.jsx("footer",{className:"py-10 bg-[#0a1c14] text-[#9fb3a6] text-[0.83rem]",children:y.jsx("div",{className:"w-[min(1180px,92%)] mx-auto",children:y.jsxs("div",{className:"flex flex-wrap justify-between gap-5",children:[y.jsx("strong",{className:"text-[#dbe9df]",children:"Taabe Healing"}),y.jsx("div",{className:"flex gap-5",children:Am.map(t=>y.jsx(Gr,{to:t.to,className:"hover:text-[#fff0b8] transition-colors",children:t.label},t.to))}),y.jsx("a",{href:"mailto:[email protected]",className:"hover:text-[#fff0b8] transition-colors",children:"[email protected]"})]})})})]})}function aC(){return y.jsx(cd,{children:y.jsxs("article",{className:"w-[min(820px,92%)] mx-auto py-16 md:py-24",children:[y.jsx("h1",{className:"font-heading text-[clamp(2.2rem,5vw,4rem)] leading-[1.06] tracking-[-0.03em] text-[#f8fff9]",children:"About Taabe Healing"}),y.jsxs("div",{className:"mt-8 space-y-5 text-[#dbe9df] text-lg leading-relaxed",children:[y.jsx("p",{children:"Taabe Healing is the one-to-one practice of Todd Williamson, an energy healer and spiritual mentor with more than twenty years of experience in intuitive perception, energetic clearing, and quiet, patient guidance. This site exists so that you can understand exactly who Todd is, how he works, and what a session actually involves before you ever send a message. Nothing here is designed to pressure you into booking."}),y.jsx("p",{children:"The practice offers four core kinds of work: Quantum Ascension Healing for people ready to move through a long stretch of feeling stuck, Entity Interference Release for those experiencing energy that does not feel like the
186ir own, Land and Home Energetic Clearing for spaces that feel heavy or unsettled, and Emergency Energetic Intervention for situations that cannot wait. Each is described in full elsewhere on the site, including who it is for, what happens during the session, and what integration looks like afterwards."}),y.jsx("p",{children:"Taabe Healing is for people who have already tried a great deal â therapy, modalities, books, practices â and who sense that what they are missing is not another technique but someone willing to genuinely listen and tell them the truth about what they find. Sessions are held live on Zoom or fully remotely, one person at a time, never rushed. Every session is followed by written notes and a thirty-minute conversation once things have had time to settle."}),y.jsx("p",{children:"Taabe is a Comanche word for sun â for illumination and vitality â and it reflects the belief at the centre of this work: that healing is less about becoming someone new and more about remembering who you already were underneath everything you have carried."})]}),y.jsxs("div",{className:"mt-10 flex flex-wrap gap-4 text-[#fff0b8]",children:[y.jsx(Gr,{to:"/contact",className:"underline underline-offset-4",children:"Contact Todd"}),y.jsx(Gr,{to:"/energy-healing-guide",className:"underline underline-offset-4",children:"Read the guide to energy healing sessions"})]})]})})}const Mc=I.forwardRef(({className:n,type:t,...s},o)=>y.jsx("input",{type:t,className:_n("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:o,...s}));Mc.displayName="Input";const $y=I.forwardRef(({className:n,...t},s)=>y.jsx("textarea",{className:_n("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:s,...t}));$y.displayName="Textarea";function jm(n,t){if(typeof n=="function")return n(t);n!=null&&(n.current=t)}function lC(...n){return t=>{let s=!1;const o=n.map(l=>{const u=jm(l,t);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():jm(n[l],null)}}}}var uC=Symbol.for("react.lazy"),Va=Qm[" use ".trim().toString()];function cC(n){return typeof n=="object"&&n!==null&&"then"in n}function Hy(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===uC&&"_payload"in n&&cC(n._payload)}function dC(n){const t=hC(n),s=I.forwardRef((o,l)=>{let{children:u,...d}=o;Hy(u)&&typeof Va=="function"&&(u=Va(u._payload));const h=I.Children.toArray(u),p=h.find(mC);if(p){const g=p.props.children,v=h.map(w=>w===p?I.Children.count(g)>1?I.Children.only(null):I.isValidElement(g)?g.props.children:null:w);return y.jsx(t,{...d,ref:l,children:I.isValidElement(g)?I.cloneElement(g,void 0,v):null})}return y.jsx(t,{...d,ref:l,children:u})});return s.displayName=`${n}.Slot`,s}var fC=dC("Slot");function hC(n){const t=I.forwardRef((s,o)=>{let{children:l,...u}=s;if(Hy(l)&&typeof Va=="function"&&(l=Va(l._payload)),I.isValidElement(l)){const d=yC(l),h=gC(u,l.props);return l.type!==I.Fragment&&(h.ref=o?lC(o,d):d),I.cloneElement(l,h)}return I.Children.count(l)>1?I.Children.only(null):null});return t.displayName=`${n}.SlotClone`,t}var pC=Symbol("radix.slottable");function mC(n){return I.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===pC}function gC(n,t){const s={...t};for(const o in t){const l=n[o],u=t[o];/^on[A-Z]/.test(o)?l&&u?s[o]=(...h)=>{const p=u(...h);return l(...h),p}:l&&(s[o]=l):o==="style"?s[o]={...l,...u}:o==="className"&&(s[o]=[l,u].filter(Boolean).join(" "))}return{...n,...s}}function yC(n){var o,l;let t=(o=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:o.get,s=t&&"isReactWarning"in t&&t.isReactWarning;return s?n.ref:(t=(l=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:l.get,s=t&&"isReactWarning"in t&&t.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}const vC=Jm("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),qy=I.forwardRef(({className:n,variant:t,size:s,asChild:o=!1,...l},u)=>{const d=o?fC:"button";return y.jsx(d,{className:_n(vC({variant:t,size:s,className:n})),ref:u,...l})});qy.displayName="Button";
186function wC(){const[n,t]=I.useState({name:"",email:"",question:""}),[s,o]=I.useState("idle"),l=async u=>{u.preventDefault(),o("sending");try{await Ps.entities.ContactMessage.create(n),t({name:"",email:"",question:""}),o("sent")}catch{o("error")}};return y.jsx(cd,{children:y.jsxs("section",{className:"w-[min(820px,92%)] mx-auto py-16 md:py-24",children:[y.jsx("h1",{className:"font-heading text-[clamp(2.2rem,5vw,4rem)] leading-[1.06] tracking-[-0.03em] text-[#f8fff9]",children:"Contact Taabe Healing"}),y.jsx("p",{className:"mt-6 text-[#dbe9df] text-lg",children:"Ask a question, describe what you're experiencing, or request a session. Todd reads and answers every message himself, usually within a couple of days."}),y.jsxs("p",{className:"mt-4 text-[#dbe9df]",children:["Email:"," ",y.jsx("a",{href:"mailto:[email protected]",className:"text-[#fff0b8] underline underline-offset-4",children:"[email protected]"})]}),y.jsxs("form",{onSubmit:l,className:"mt-10 space-y-4 max-w-[560px]",children:[y.jsx(Mc,{required:!0,placeholder:"Your name",value:n.name,onChange:u=>t({...n,name:u.target.value}),className:"bg-white/5 border-[rgba(214,181,107,0.28)] text-[#f8fff9]"}),y.jsx(Mc,{required:!0,type:"email",placeholder:"Your email",value:n.email,onChange:u=>t({...n,email:u.target.value}),className:"bg-white/5 border-[rgba(214,181,107,0.28)] text-[#f8fff9]"}),y.jsx($y,{required:!0,rows:5,placeholder:"What's going on?",value:n.question,onChange:u=>t({...n,question:u.target.value}),className:"bg-white/5 border-[rgba(214,181,107,0.28)] text-[#f8fff9]"}),y.jsx(qy,{type:"submit",disabled:s==="sending",className:"bg-[#d6b56b] text-[#0d2419] hover:bg-[#e6c87f]",children:s==="sending"?"Sendingâ¦":"Send message"}),s==="sent"&&y.jsx("p",{className:"text-[#fff0b8]",children:"Thank you â your message is with Todd."}),s==="error"&&y.jsx("p",{className:"text-red-300",children:"Something went wrong. Please email instead."})]})]})})}function xC(){return y.jsx(cd,{children:y.jsxs("article",{className:"w-[min(820px,92%)] mx-auto py-16 md:py-24",children:[y.jsx("h1",{className:"font-heading text-[clamp(2.2rem,5vw,4rem)] leading-[1.06] tracking-[-0.03em] text-[#f8fff9]",children:"What actually happens in a remote energy healing session"}),y.jsxs("div",{className:"mt-8 space-y-6 text-[#dbe9df] text-lg leading-relaxed",children:[y.jsx("p",{children:"Most people arrive at energy healing after everything else. They have talked it through, read the books, tried the practices, and still carry a sense that something underneath has not moved. This guide explains, plainly, what a session with Todd Williamson involves â so that curiosity does not have to compete with uncertainty."}),y.jsx("h2",{className:"font-heading text-3xl text-[#f8fff9] pt-2",children:"Before the session"}),y.jsx("p",{children:"Every engagement begins with questions about you: what is happening, how long it has been happening, and what you have already tried. This is not a formality. What Todd w
186orks with during a session is shaped by what he learns beforehand, and it also lets him say honestly if he does not think this work is what you need."}),y.jsx("h2",{className:"font-heading text-3xl text-[#f8fff9] pt-2",children:"During the session"}),y.jsx("p",{children:"Sessions are held live on Zoom or fully remotely, and distance makes no difference to the work â energy is not bound by geography, which is why remote sessions have been standard in this practice for years. You do not need to prepare anything, hold a posture, or believe in anything in particular. Most people sit or lie down somewhere quiet. Todd works with what he perceives and describes it as he goes, so you are never left wondering what is happening. Some people feel warmth, pressure, or release in the body; others feel very little in the moment and notice the shift in the days that follow. Both are normal."}),y.jsx("h2",{className:"font-heading text-3xl text-[#f8fff9] pt-2",children:"Afterwards, and integration"}),y.jsx("p",{children:"You receive written notes, and then a thirty-minute conversation once things have had time to settle. Integration is the real work: clarity, new questions, tiredness, or a wave of old feeling are all signs that something is moving rather than signs that something went wrong. Todd will tell you whether he thinks more work is useful â and often the honest answer is that nothing further is needed."}),y.jsx("h2",{className:"font-heading text-3xl text-[#f8fff9] pt-2",children:"What this work is not"}),y.jsx("p",{children:"Energy healing is not medical or mental health treatment. It does not diagnose, treat, or cure conditions, and it is never a replacement for qualified healthcare or emergency services. It sits alongside them."})]}),y.jsxs("div",{className:"mt-10 flex flex-wrap gap-4 text-[#fff0b8]",children:[y.jsx(Gr,{to:"/contact",className:"underline underline-offset-4",children:"Ask a question"}),y.jsx(Gr,{to:"/about",className:"underline underline-offset-4",children:"About Todd"})]})]})})}const _C=[["A Journey Into Consciousness",["My path formally began at the renowned Berkeley Psychic Institute, where I immersed myself in the study of clairvoyance, energetic anatomy, meditation, and spirit-to-spirit communication.","What started as personal curiosity quickly became a calling.","Through years of dedicated practice, training, and thousands of hours of working with people from all walks of life, I discovered something that continues to inspire me every day:","Every person possesses an extraordinary innate intelligence and capacity for healing.","Often, that intelligence simply becomes obscured by the experiences we carry throughout our lives.","Trauma. Stress. Conditioning. Loss. Fear. Energetic overwhelm.","These experiences can shape the way
186we perceive ourselves, our relationships, our health, and the possibilities available to us.","My work has never been about fixing people. It has always been about helping them rediscover the clarity that already exists beneath those layers."]],["From Student to Teacher",["My commitment to this work eventually led me to serve as Director of the Berkeley Psychic Institute in Santa Rosa, California, where I had the privilege of training and mentoring hundreds of students in professional clairvoyance, intuitive development, energetic awareness, and spirit-to-spirit communication.","Teaching deepened my understanding in ways I never expected.","I discovered that true transformation doesn't come from giving people answers. It comes from helping them develop the awareness to discover their own.","That realization continues to influence every healing session, every class, and every conversation I have today."]],["The Evolution of My Work",["Over the years, my practice expanded beyond traditional clairvoyant training.","I began integrating multidimensional healing, energetic anatomy, breathwork, nervous system regulation, meditation, frequency-based practices, and consciousness exploration into a unified approach that honored the whole person.","Rather than viewing physical, emotional, mental, and spiritual experiences as separate, I came to understand them as deeply interconnected expressions of the same living system.","This perspective became the foundation for what is now known as The Taabe Methodâ¢."]],["The Taabe Methodâ¢",["The Taabe Method⢠is the culmination of more than twenty years of study, professional practice, teaching, and personal experience.","It is not based on a single modality.","It is an integrated approach that brings together intuitive perception, multidimensional healing, energetic anatomy, nervous system regulation, breathwork, meditation, consciousness-based practices, and practical tools that support lasting transformation.","Its purpose is not to create dependence on a practitioner. Its purpose is to help individuals reconnect with their own innate wisdom, clarity, and capacity for healing.","Because I believe the most meaningful healing occurs when people remember the intelligence that has always existed within them."]],["Continuing the Mission",["Today, I continue that mission as Co-Director of Education at the School for Intuitive Ascension (SIA), where I develop curriculum, teach transformational programs, facilitate healing sessions, and guide students through courses including Energetic Sovereignty, Clairvoyant Mastery, and The Ascension Accelerator, where practitioners learn The Taabe Method⢠as part of their professional development.","Whether I am working with a private client or teaching a classroom of students, my intention remains the same:","To help people cultivate greater awareness, restore coherence within their lives, and reconnect with the deeper truth of who they are."]],["My Philosophy",["I believe healing is not about becoming someone different.","It is about remembering who you are beneath the layers of fear, conditioning, trauma, and energetic distortion.","I believe consciousness is fundamental. I believe clarity creates choice. I believe the nervous system must feel safe before lasting transformation can occur.","I believe each of us possesses an innate capacity for healing, growth, and self-discovery.","And I believe that when we begin to inner-stand the hidden patterns shaping our lives, we gain the freedom to create new possibilities."]],["An Invitation",["If you've found your way here, perhaps you're searching for answers that haven't been easy to find.","Perhaps you've explored many paths and still feel that something deeper is calling for your attention.","Wherever you are on your journey, know that you don't have to navigate it alone.","It would be an honor to walk alongside you, helping uncover the deeper patterns that may be influencing your experience and supporting you as you reconnect with your own clarity, coherence, and capacity for transformation.","Because sometimes, the greatest breakthrough isn't discovering something new. It's remembering what has always been within you."]]];function bC(){return y.jsxs("main",{className:"bg-[#0d2419] text-[#f8fff9] min-h-screen font-body",children:[y.jsx(ld,{}),y.jsx("section",{className:"pt-[140px] pb-20 md:pb-28",children:y.jsxs("div",{className:"w-[min(980px,92%)] mx-auto",children:[y.jsx(Ji,{children:"Meet Todd"}),y.jsx("h1",{className:"font-heading text-[clamp(3rem,7vw,6.2rem)] leading-[1.02] tracking-[-0.04em]",children:"Todd's Story"}),y.jsxs("div",{className:"grid md:grid-cols-[0.7fr_1.3fr] gap-10 mt-10 items-start",children:[y.jsx("img",{src:By.toddPortrait,alt:"Todd Williamson",className:"w-full rounded-[26px] border border-[rgba(214,181,107,0.28)] shadow-[0_24px_70px_rgba(0,0,0,0.4)]"}),y.jsxs("div",{className:"space-y-5 text-[#dbe9df] text-lg leading-relaxed",children:[y.jsx("p",{children:"There are moments in life that quietly change the direction of everything that follows."}),y.jsx("p",{children:"For me, that journey began more than two decades ago with a simple but profound question:"}),y.jsx("blockquote",{className:"font-heading italic text-[clamp(1.8rem,3vw,2.6rem)] text-[#fff0b8] leading-snug",children:"Is there more to our existence than what we can see with our physical senses?"}),y.jsx("p",{children:"That question led me into a lifelong exploration of consciousness, energy, healing, and human potentialâan exploration that continues to shape every aspect of my life and work today."})]})]}),y.jsx("div",{className:"mt-16 space-y-16",children:_C.map(([n,t])=>y.jsxs("section",{children:[y.jsx("h2",{className:"font-heading text-[clamp(2rem,4vw,3.2rem)] text-[#f8fff9] mb-6",children:n}),y.jsx("div",{className:"space-y-5 text-[#dbe9df] text-lg leading-relaxed max-w-[820px]",children:t.map(s=>y.jsx("p",{children:s},s))})]},n))}),y.jsx("div",{className:"mt-20 pt-12 border-t border-[rgba(214,181,107,0.2)]",children:y.jsx(ud,{href:"#services",children:"Book a Healing Session"})})]})})]})}const SC=[["1. Awareness","Healing begins through awareness. Awareness is the willingness to honestly observe your inner and outer experience without judgment. It invites you to see what has remained hidden, feel what has been avoided, and express what has remained unspoken. Awareness creates choice."],["2. Inner-standing","Awareness becomes transformation through inner-standing. Understanding is intellectual. Inner-standing is embodied. It is the lived integration of awareness into everyday life. Knowledge informs. Inner-standing transforms."],["3. Coherence","As awareness and inner-standing deepen, coherence naturally begins to emerge. The nervous system becomes more regulated. The energetic field reorganizes. Mind, body, emotions, and spirit begin functioning as one integrated
186whole. Coherence creates the internal environment where lasting healing becomes possible."],["4. Transformation","Transformation is not something that is forced. It is the natural expression of awareness, inner-standing, and coherence. The goal is not to become someone new. The goal is to remember the wholeness that has always existed within."]],EC=["Multidimensional Healing","Intuitive Perception","Energetic Anatomy","Nervous System Regulation","Breathwork","Meditation","Consciousness Development","Frequency-Based Practices","Practical Daily Integration"];function kC(){return y.jsxs("main",{className:"bg-[#0d2419] text-[#f8fff9] min-h-screen font-body",children:[y.jsx(ld,{}),y.jsx("section",{className:"pt-[140px] pb-20 md:pb-28",children:y.jsxs("div",{className:"w-[min(1000px,92%)] mx-auto",children:[y.jsx(Ji,{children:"The Taabe Methodâ¢"}),y.jsxs("h1",{className:"font-heading text-[clamp(3rem,7vw,6rem)] leading-[1.02] tracking-[-0.04em]",children:["Healing Begins Through ",y.jsx("span",{className:"text-[#fff0b8]",children:"Awareness."})]}),y.jsxs("div",{className:"space-y-5 text-[#dbe9df] text-lg leading-relaxed mt-10 max-w-[850px]",children:[y.jsx("p",{children:"The Taabe Method⢠is Todd Williamson's signature approach to multidimensional healing and consciousness-based transformation."}),y.jsx("p",{children:"Developed through more than two decades of study, professional practice, teaching, and personal experience, The Taabe Method⢠integrates multidimensional healing, intuitive perception, energetic anatomy, nervous system regulation, breathwork, meditation, and consciousness-based practices into one cohesive framework."}),y.jsx("p",{className:"font-heading italic text-[clamp(1.6rem,2.8vw,2.3rem)] text-[#fff0b8]",children:"What cannot be seen, felt, or expressed cannot be transformed."}),y.jsx("p",{children:"Healing begins through awareness. As awareness deepens, inner-standing emerges. From inner-standing comes coherence. From coherence, transformation naturally follows."})]}),y.jsxs("section",{className:"mt-16",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.2rem,4.5vw,3.6rem)]",children:"The Philosophy"}),y.jsxs("div",{className:"space-y-5 text-[#dbe9df] text-lg leading-relaxed mt-6 max-w-[850px]",children:[y.jsx("p",{children:"Healing is not about becoming someone different. It is about remembering who you are beneath the layers of fear, conditioning, trauma, emotional pain, limiting beliefs, and energetic distortion."}),y.jsx("p",{children:"Every experience leaves an imprint. These imprints influence the nervous system, energetic anatomy, emotions, relationships, health, behaviors, and the way we perceive ourselves and the world around us."}),y.jsx("p",{children:"The Taabe Method⢠recognizes that every individual arrives at a different place in their healing journey. Some seek greater awareness. Others are ready to release long-held energetic imprints. Some are integrating years of inner work, while others are expanding into new levels of consciousness and personal evolution."}),y.jsx("p",{children:"Whatever brings someone to this work, the intention remains the same: to create the conditions that support healing, restore coherence, and reconnect individuals with their innate capacity for transformation."})]})]}),y.jsxs("section",{className:"mt-16",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.2rem,4.5vw,3.6rem)]",children:"The Four Foundations of The Taabe Methodâ¢"}),y.jsx("div",{className:"grid md:grid-cols-2 gap-5 mt-8",children:SC.map(([n,t])=>y.jsxs("article",{className:"rounded-[24px] border border-[rgba(214,181,107,0.28)] bg-white/5 p-7",children:[y.jsx("h3",{className:"font-heading text-2xl text-[#fff0b8] mb-3",children:n}),y.jsx("p",{className:"text-[#dbe9df] leading-relaxed",children:t})]},n))})]}),y.jsxs("section",{className:"mt-16",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.2rem,4.5vw,3.6rem)]",children:"The Foundations of the Work"}),y.jsx("p",{className:"text-[#dbe9df] text-lg mt-5 max-w-[820px]",children:"Every healing experience within The Taabe Method⢠draws upon an integrated body of work that includes:"}),y.jsx("div",{className:"flex flex-wrap gap-2.5 mt-6",children:EC.map(n=>y.jsx("span",{className:"px-4 py-2.5 rounded-full border border-[rgba(214,181,107,0.28)] bg-white/5 text-[#e5f0e8]",children:n},n))}),y.jsx("p",{className:"text-[#dbe9df] text-lg mt-6 max-w-[820px]",children:"These are not separate modalities. Together they form one unified methodology designed to support the whole person."})]}),y.jsxs("section",{className:"mt-16 space-y-5 text-[#dbe9df] text-lg leading-relaxed max-w-[850px]",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.2rem,4.5vw,3.6rem)] text-[#f8fff9]",children:"The Role of the Practitioner"}),y.jsx("p",{children:"The practitioner is not the source of healing. The practitioner's role is to facilitate the conditions that best support each individual's next stage of healing and personal evolution."}),y.jsx("p",{children:"For some, this may involve bringing hidden patterns into conscious awareness. For others, it may involve facilitating the release of unresolved energetic imprints, supporting nervous system regulation, integrating previous healing experiences, or creating space for greater levels of consciousness and coherence to emerge."}),y.jsx("p",{children:"Every healing journey is unique. The role of the practitioner is to meet each individual where they are, facilitate what is most supportive in that moment, and honor the innate intelligence already present within them."}),y.jsx("p",{className:"font-heading italic text-[clamp(1.6rem,2.8vw,2.3rem)] text-[#fff0b8]",children:"Healing is not something that is given. It is something that is remembered."})]}),y.jsxs("section",{className:"mt-16 space-y-5 text-[#dbe9df] text-lg leading-relaxed max-w-[850px]",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.2rem,4.5vw,3.6rem)] text-[#f8fff9]",children:"Who The Taabe Method⢠Is For"}),y.jsx("p",{children:"The Taabe Method⢠is designed for individuals who are ready to move beyond symptom management and explore healing at its source."}),y.jsxs("ul",{className:"space-y-2 list-disc pl-6",children:[y.jsx("li",{children:"Feel stuck despite years of personal growth."}),y.jsx("li",{children:"Experience recurring emotional, behavioral, or relationship patterns."}),y.jsx("li",{children:"Desire greater clarity and self-awareness."}),y.jsx("li",{children:"Feel called toward deeper consciousness and personal evolution."}
186),y.jsx("li",{children:"Want to reconnect with their innate wisdom and capacity for healing."}),y.jsx("li",{children:"Are ready to become an active participant in their own transformation."})]})]}),y.jsxs("section",{className:"mt-16 space-y-5 text-[#dbe9df] text-lg leading-relaxed max-w-[850px]",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.2rem,4.5vw,3.6rem)] text-[#f8fff9]",children:"The Invitation"}),y.jsx("p",{children:"The Taabe Method⢠is more than a healing methodology. It is a way of seeing. A way of feeling. A way of listening. A way of remembering."}),y.jsx("p",{children:"It is an invitation to cultivate greater awareness, develop deeper inner-standing, restore coherence throughout every aspect of your being, and reconnect with the intelligence, wisdom, and wholeness that have always existed within you."})]}),y.jsxs("section",{className:"mt-16 text-center py-12 border-y border-[rgba(214,181,107,0.2)]",children:[y.jsx("h2",{className:"font-heading text-[clamp(2.4rem,5vw,4rem)]",children:"Healing Begins Through Awareness."}),y.jsx("p",{className:"font-heading italic text-[clamp(1.4rem,2.6vw,2rem)] text-[#fff0b8] mt-5",children:"What cannot be seen, felt, or expressed cannot be transformed."}),y.jsx("p",{className:"text-[#dbe9df] text-lg mt-5",children:"Awareness creates choice. Inner-standing embodies wisdom. Coherence restores harmony. Transformation becomes possible."})]}),y.jsxs("section",{className:"mt-16 text-center",children:[y.jsx(Ji,{children:"Begin Your Journey"}),y.jsx("p",{className:"text-[#dbe9df] text-lg max-w-[760px] mx-auto",children:"Whether you are seeking a single healing session or a comprehensive transformational experience, every offering within Taabe Healing is grounded in the principles of The Taabe Methodâ¢."}),y.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-3 mt-8",children:[y.jsx(ud,{href:"/#services",children:"Book a Healing Session"}),y.jsx(zy,{href:"/#services",children:"Explore Healing Experiences"})]})]})]})})]})}const CC=()=>{const{isLoadingAuth:n,isLoadingPublicSettings:t,authError:s,navigateToLogin:o}=Tk();if(t||n)return y.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:y.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(s){if(s.type==="user_not_registered")return y.jsx(Rk,{});if(s.type==="auth_required")return o(),null}return y.jsxs(t_,{children:[y.jsx(or,{path:"/",element:y.jsx(oC,{})}),y.jsx(or,{path:"/about",element:y.jsx(aC,{})}),y.jsx(or,{path:"/contact",element:y.jsx(wC,{})}),y.jsx(or,{path:"/energy-healing-guide",element:y.jsx(xC,{})}),y.jsx(or,{path:"/todd-story",element:y.jsx(bC,{})}),y.jsx(or,{path:"/taabe-method",element:y.jsx(kC,{})}),y.jsx(or,{path:"*",element:y.jsx(kk,{})})]})};function TC(){return y.jsx(Ck,{children:y.jsxs(Kx,{client:a1,children:[y.jsxs(l_,{children:[y.jsx(Ok,{}),y.jsx(CC,{})]}),y.jsx(bx,{})]})})}X0.createRoot(document.getElementById("root")).render(y.jsx(TC,{}));export{zy as B,Zm as C,Ji as E,YC as G,Ja as I,Gr as L,Mr as R,By as a,ud as b,Ps as c,y as j,I as r};
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.