PageSourceSearch

https://coachaddy.ai/assets/index-BEhZBZPr.js

js coachaddy.ai collected 2026-10-05 15:30:06 UTC 483,760 bytes, 167 lines download raw bytes

vendor: 4,614 bytes, lines 1-9
1var Zm=t=>{throw TypeError(t)};var Ic=(t,e,r)=>e.has(t)||Zm("Cannot "+r);var P=(t,e,r)=>(Ic(t,e,"read from private field"),r?r.call(t):e.get(t)),ye=(t,e,r)=>e.has(t)?Zm("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),ee=(t,e,r,i)=>(Ic(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r),Pe=(t,e,r)=>(Ic(t,e,"access private method"),r);var Xa=(t,e,r,i)=>({set _(a){ee(t,e,a,r)},get _(){return P(t,e,i)}});function FS(t,e){for(var r=0;r<e.length;r++){const i=e[r];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in t)){const u=Object.getOwnPropertyDescriptor(i,a);u&&Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function r(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(a){if(a.ep)return;a.ep=!0;const u=r(a);fetch(a.href,u)}})();function Mv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Fc={exports:{}},Ji={},Vc={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 eg;function VS(){if(eg)return be;eg=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function w(_){return _===null||typeof _!="object"?null:(_=y&&_[y]||_["@@iterator"],typeof _=="function"?_:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,k={};function x(_,z,ce){this.props=_,this.context=z,this.refs=k,this.updater=ce||E}x.prototype.isReactComponent={},x.prototype.setState=function(_,z){if(typeof _!="object"&&typeof _!="function"&&_!=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,_,z,"setState")},x.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function R(){}R.prototype=x.prototype;function B(_,z,ce){this.props=_,this.context=z,this.refs=k,this.updater=ce||E}var D=B.prototype=new R;D.constructor=B,S(D,x.prototype),D.isPureReactComponent=!0;var V=Array.isArray,U=Object.prototype.hasOwnProperty,Y={current:null},oe={key:!0,ref:!0,__self:!0,__source:!0};function N(_,z,ce){var fe,ke={},Te=null,xe=null;if(z!=null)for(fe in z.ref!==void 0&&(xe=z.ref),z.key!==void 0&&(Te=""+z.key),z)U.call(z,fe)&&!oe.hasOwnProperty(fe)&&(ke[fe]=z[fe]);var Ne=arguments.length-2;if(Ne===1)ke.children=ce;else if(1<Ne){for(var Me=Array(Ne),st=0;st<Ne;st++)Me[st]=arguments[st+2];ke.children=Me}if(_&&_.defaultProps)for(fe in Ne=_.defaultProps,Ne)ke[fe]===void 0&&(ke[fe]=Ne[fe]);return{$$typeof:t,type:_,key:Te,ref:xe,props:ke,_owner:Y.current}}function H(_,z){return{$$typeof:t,type:_.type,key:z,ref:_.ref,props:_.props,_owner:_._owner}}function Q(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function J(_){var z={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(ce){return z[ce]})}var $=/\/+/g;function ne(_,z){return typeof _=="object"&&_!==null&&_.key!=null?J(""+_.key):z.toString(36)}function Ce(_,z,ce,fe,ke){var Te=typeof _;(Te==="undefined"||Te==="boolean")&&(_=null);var xe=!1;if(_===null)xe=!0;else switch(Te){case"string":case"number":xe=!0;break;case"object":switch(_.$$typeof){case t:case e:xe=!0}}if(xe)return xe=_,ke=ke(xe),_=fe===""?"."+ne(xe,0):fe,V(ke)?(ce="",_!=null&&(ce=_.replace($,"$&/")+"/"),Ce(ke,z,ce,"",function(st){return st})):ke!=null&&(Q(ke)&&(ke=H(ke,ce+(!ke.key||xe&&xe.key===ke.key?"":(""+ke.ke
vendor: 10,975 bytes, lines 9-33
9y).replace($,"$&/")+"/")+_)),z.push(ke)),1;if(xe=0,fe=fe===""?".":fe+":",V(_))for(var Ne=0;Ne<_.length;Ne++){Te=_[Ne];var Me=fe+ne(Te,Ne);xe+=Ce(Te,z,ce,Me,ke)}else if(Me=w(_),typeof Me=="function")for(_=Me.call(_),Ne=0;!(Te=_.next()).done;)Te=Te.value,Me=fe+ne(Te,Ne++),xe+=Ce(Te,z,ce,Me,ke);else if(Te==="object")throw z=String(_),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return xe}function pe(_,z,ce){if(_==null)return _;var fe=[],ke=0;return Ce(_,fe,"","",function(Te){return z.call(ce,Te,ke++)}),fe}function he(_){if(_._status===-1){var z=_._result;z=z(),z.then(function(ce){(_._status===0||_._status===-1)&&(_._status=1,_._result=ce)},function(ce){(_._status===0||_._status===-1)&&(_._status=2,_._result=ce)}),_._status===-1&&(_._status=0,_._result=z)}if(_._status===1)return _._result.default;throw _._result}var de={current:null},F={transition:null},le={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:F,ReactCurrentOwner:Y};function X(){throw Error("act(...) is not supported in production builds of React.")}return be.Children={map:pe,forEach:function(_,z,ce){pe(_,function(){z.apply(this,arguments)},ce)},count:function(_){var z=0;return pe(_,function(){z++}),z},toArray:function(_){return pe(_,function(z){return z})||[]},only:function(_){if(!Q(_))throw Error("React.Children.only expected to receive a single React element child.");return _}},be.Component=x,be.Fragment=r,be.Profiler=a,be.PureComponent=B,be.StrictMode=i,be.Suspense=h,be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,be.act=X,be.cloneElement=function(_,z,ce){if(_==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+_+".");var fe=S({},_.props),ke=_.key,Te=_.ref,xe=_._owner;if(z!=null){if(z.ref!==void 0&&(Te=z.ref,xe=Y.current),z.key!==void 0&&(ke=""+z.key),_.type&&_.type.defaultProps)var Ne=_.type.defaultProps;for(Me in z)U.call(z,Me)&&!oe.hasOwnProperty(Me)&&(fe[Me]=z[Me]===void 0&&Ne!==void 0?Ne[Me]:z[Me])}var Me=arguments.length-2;if(Me===1)fe.children=ce;else if(1<Me){Ne=Array(Me);for(var st=0;st<Me;st++)Ne[st]=arguments[st+2];fe.children=Ne}return{$$typeof:t,type:_.type,key:ke,ref:Te,props:fe,_owner:xe}},be.createContext=function(_){return _={$$typeof:c,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},_.Provider={$$typeof:u,_context:_},_.Consumer=_},be.createElement=N,be.createFactory=function(_){var z=N.bind(null,_);return z.type=_,z},be.createRef=function(){return{current:null}},be.forwardRef=function(_){return{$$typeof:f,render:_}},be.isValidElement=Q,be.lazy=function(_){return{$$typeof:g,_payload:{_status:-1,_result:_},_init:he}},be.memo=function(_,z){return{$$typeof:m,type:_,compare:z===void 0?null:z}},be.startTransition=function(_){var z=F.transition;F.transition={};try{_()}finally{F.transition=z}},be.unstable_act=X,be.useCallback=function(_,z){return de.current.useCallback(_,z)},be.useContext=function(_){return de.current.useContext(_)},be.useDebugValue=function(){},be.useDeferredValue=function(_){return de.current.useDeferredValue(_)},be.useEffect=function(_,z){return de.current.useEffect(_,z)},be.useId=function(){return de.current.useId()},be.useImperativeHandle=function(_,z,ce){return de.current.useImperativeHandle(_,z,ce)},be.useInsertionEffect=function(_,z){return de.current.useInsertionEffect(_,z)},be.useLayoutEffect=function(_,z){return de.current.useLayoutEffect(_,z)},be.useMemo=function(_,z){return de.current.useMemo(_,z)},be.useReducer=function(_,z,ce){return de.current.useReducer(_,z,ce)},be.useRef=function(_){return de.current.useRef(_)},be.useState=function(_){return de.current.useState(_)},be.useSyncExternalStore=function(_,z,ce){return de.current.useSyncExternalStore(_,z,ce)},be.useTransition=function(){return de.current.useTransition()},be.version="18.3.1",be}var tg;function df(){return tg||(tg=1,Vc.exports=VS()),Vc.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 ng;function BS(){if(ng)return Ji;ng=1;var t=df(),e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(f,h,m){var g,y={},w=null,E=null;m!==void 0&&(w=""+m),h.key!==void 0&&(w=""+h.key),h.ref!==void 0&&(E=h.ref);for(g in h)i.call(h,g)&&!u.hasOwnProperty(g)&&(y[g]=h[g]);if(f&&f.defaultProps)for(g in h=f.defaultProps,h)y[g]===void 0&&(y[g]=h[g]);return{$$typeof:e,type:f,key:w,ref:E,props:y,_owner:a.current}}return Ji.Fragment=r,Ji.jsx=c,Ji.jsxs=c,Ji}var rg;function US(){return rg||(rg=1,Fc.exports=BS()),Fc.exports}var C=US(),M=df();const zS=Mv(M),$S=FS({__proto__:null,default:zS},[M]);var Ja={},Bc={exports:{}},Nt={},Uc={exports:{}},zc={};/**
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 sg;function WS(){return sg||(sg=1,(function(t){function e(F,le){var X=F.length;F.push(le);e:for(;0<X;){var _=X-1>>>1,z=F[_];if(0<a(z,le))F[_]=le,F[X]=z,X=_;else break e}}function r(F){return F.length===0?null:F[0]}function i(F){if(F.length===0)return null;var le=F[0],X=F.pop();if(X!==le){F[0]=X;e:for(var _=0,z=F.length,ce=z>>>1;_<ce;){var fe=2*(_+1)-1,ke=F[fe],Te=fe+1,xe=F[Te];if(0>a(ke,X))Te<z&&0>a(xe,ke)?(F[_]=xe,F[Te]=X,_=Te):(F[_]=ke,F[fe]=X,_=fe);else if(Te<z&&0>a(xe,X))F[_]=xe,F[Te]=X,_=Te;else break e}}return le}function a(F,le){var X=F.sortIndex-le.sortIndex;return X!==0?X:F.id-le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,f=c.now();t.unstable_now=function(){return c.now()-f}}var h=[],m=[],g=1,y=null,w=3,E=!1,S=!1,k=!1,x=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function D(F){for(var le=r(m);le!==null;){if(le.callback===null)i(m);else if(le.startTime<=F)i(m),le.sortIndex=le.expirationTime,e(h,le);else break;le=r(m)}}function V(F){if(k=!1,D(F),!S)if(r(h)!==null)S=!0,he(U);else{var le=r(m);le!==null&&de(V,le.startTime-F)}}function U(F,le){S=!1,k&&(k=!1,R(N),N=-1),E=!0;var X=w;try{for(D(le),y=r(h);y!==null&&(!(y.expirationTime>le)||F&&!J());){var _=y.callback;if(typeof _=="function"){y.callback=null,w=y.priorityLevel;var z=_(y.expirationTime<=le);le=t.unstable_now(),typeof z=="function"?y.callback=z:y===r(h)&&i(h),D(le)}else i(h);y=r(h)}if(y!==null)var ce=!0;else{var fe=r(m);fe!==null&&de(V,fe.startTime-le),ce=!1}return ce}finally{y=null,w=X,E=!1}}var Y=!1,oe=null,N=-1,H=5,Q=-1;function J(){return!(t.unstable_now()-Q<H)}function $(){if(oe!==null){var F=t.unstable_now();Q=F;var le=!0;try{le=oe(!0,F)}finally{le?ne():(Y=!1,oe=null)}}else Y=!1}var ne;if(typeof B=="function")ne=function(){B($)};else if(typeof MessageChannel<"u"){var Ce=new MessageChannel,pe=Ce.port2;Ce.port1.onmessage=$,ne=function(){pe.postMessage(null)}}else ne=function(){x($,0)};function he(F){oe=F,Y||(Y=!0,ne())}function de(F,le){N=x(function(){F(t.unstable_now())},le)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(F){F.callback=null},t.unstable_continueExecution=function(){S||E||(S=!0,he(U))},t.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<F?Math.floor(1e3/F):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_getFirstCallbackNode=function(){return r(h)},t.unstable_next=function(F){switch(w){case 1:case 2:case 3:var le=3;break;default:le=w}var X=w;w=le;try{return F()}finally{w=X}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(F,le){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var X=w;w=F;try{return le()}finally{w=X}},t.unstable_scheduleCallback=function(F,le,X){var _=t.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?_+X:_):X=_,F){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=X+z,F={id:g++,callback:le,priorityLevel:F,startTime:X,expirationTime:z,sortIndex:-1},X>_?(F.sortIndex=X,e(m,F),r(h)===null&&F===r(m)&&(k?(R(N),N=-1):k=!0,de(V,X-_))):(F.sortIndex=z,e(h,F),S||E||(S=!0,he(U))),F},t.unstable_shouldYield=J,t.unstable_wrapCallback=function(F){var le=w;return function(){var X=w;w=le;try{return F.apply(this,arguments)}finally{w=X}}}})(zc)),zc}var ig;function qS(){return ig||(ig=1,Uc.exports=WS()),Uc.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 og;function HS(){if(og)return Nt;og=1;var t=df(),e=qS();function r(n){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+n,o=1;o<arguments.length;o++)s+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+n+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function u(n,s){c(n,s),c(n+"Capture",s)}function c(n,s){for(a[n]=s,n=0;n<s.length;n++)i.add(s[n])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},y={};function w(n){return h.call(y,n)?!0:h.call(g,n)?!1:m.test(n)?y[n]=!0:(g[n]=!0,!1)}function E(n,s,o,l){if(o!==null&&o.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return l?!1:o!==null?!o.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function S(n,s,o,l){if(s===null||typeof s>"u"||E(n,s,o,l))return!0;
vendor: 31,993 bytes, lines 33-37
33if(l)return!1;if(o!==null)switch(o.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function k(n,s,o,l,d,p,v){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=l,this.attributeNamespace=d,this.mustUseProperty=o,this.propertyName=n,this.type=s,this.sanitizeURL=p,this.removeEmptyString=v}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){x[n]=new k(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var s=n[0];x[s]=new k(s,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){x[n]=new k(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){x[n]=new k(n,2,!1,n,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(n){x[n]=new k(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){x[n]=new k(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){x[n]=new k(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){x[n]=new k(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){x[n]=new k(n,5,!1,n.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function B(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var s=n.replace(R,B);x[s]=new k(s,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var s=n.replace(R,B);x[s]=new k(s,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var s=n.replace(R,B);x[s]=new k(s,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){x[n]=new k(n,1,!1,n.toLowerCase(),null,!1,!1)}),x.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){x[n]=new k(n,1,!1,n.toLowerCase(),null,!0,!0)});function D(n,s,o,l){var d=x.hasOwnProperty(s)?x[s]:null;(d!==null?d.type!==0:l||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(S(s,o,d,l)&&(o=null),l||d===null?w(s)&&(o===null?n.removeAttribute(s):n.setAttribute(s,""+o)):d.mustUseProperty?n[d.propertyName]=o===null?d.type===3?!1:"":o:(s=d.attributeName,l=d.attributeNamespace,o===null?n.removeAttribute(s):(d=d.type,o=d===3||d===4&&o===!0?"":""+o,l?n.setAttributeNS(l,s,o):n.setAttribute(s,o))))}var V=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),Y=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),Q=Symbol.for("react.provider"),J=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),Ce=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),F=Symbol.iterator;function le(n){return n===null||typeof n!="object"?null:(n=F&&n[F]||n["@@iterator"],typeof n=="function"?n:null)}var X=Object.assign,_;function z(n){if(_===void 0)try{throw Error()}catch(o){var s=o.stack.trim().match(/\n( *(at )?)/);_=s&&s[1]||""}return`
34`+_+n}var ce=!1;function fe(n,s){if(!n||ce)return"";ce=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(j){var l=j}Reflect.construct(n,[],s)}else{try{s.call()}catch(j){l=j}n.call(s.prototype)}else{try{throw Error()}catch(j){l=j}n()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var d=j.stack.split(`
35`),p=l.stack.split(`
36`),v=d.length-1,b=p.length-1;1<=v&&0<=b&&d[v]!==p[b];)b--;for(;1<=v&&0<=b;v--,b--)if(d[v]!==p[b]){if(v!==1||b!==1)do if(v--,b--,0>b||d[v]!==p[b]){var T=`
37`+d[v].replace(" at new "," at ");return n.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",n.displayName)),T}while(1<=v&&0<=b);break}}}finally{ce=!1,Error.prepareStackTrace=o}return(n=n?n.displayName||n.name:"")?z(n):""}function ke(n){switch(n.tag){case 5:return z(n.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return n=fe(n.type,!1),n;case 11:return n=fe(n.type.render,!1),n;case 1:return n=fe(n.type,!0),n;default:return""}}function Te(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case oe:return"Fragment";case Y:return"Portal";case H:return"Profiler";case N:return"StrictMode";case ne:return"Suspense";case Ce:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case J:return(n.displayName||"Context")+".Consumer";case Q:return(n._context.displayName||"Context")+".Provider";case $:var s=n.render;return n=n.displayName,n||(n=s.displayName||s.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case pe:return s=n.displayName||null,s!==null?s:Te(n.type)||"Memo";case he:s=n._payload,n=n._init;try{return Te(n(s))}catch{}}return null}function xe(n){var s=n.type;switch(n.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=s.render,n=n.displayName||n.name||"",s.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(s);case 8:return s===N?"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 s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function Ne(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Me(n){var s=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function st(n){var s=Me(n)?"checked":"value",o=Object.getOwnPropertyDescriptor(n.constructor.prototype,s),l=""+n[s];if(!n.hasOwnProperty(s)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var d=o.get,p=o.set;return Object.defineProperty(n,s,{configurable:!0,get:function(){return d.call(this)},set:function(v){l=""+v,p.call(this,v)}}),Object.defineProperty(n,s,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(v){l=""+v},stopTracking:function(){n._valueTracker=null,delete n[s]}}}}function $n(n){n._valueTracker||(n._valueTracker=st(n))}function Pr(n){if(!n)return!1;var s=n._valueTracker;if(!s)return!0;var o=s.getValue(),l="";return n&&(l=Me(n)?n.checked?"true":"false":n.value),n=l,n!==o?(s.setValue(n),!0):!1}function zo(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Wl(n,s){var o=s.checked;return X({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??n._wrapperState.initialChecked})}function oh(n,s){var o=s.defaultValue==null?"":s.defaultValue,l=s.checked!=null?s.checked:s.defaultChecked;o=Ne(s.value!=null?s.value:o),n._wrapperState={initialChecked:l,initialValue:o,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function ah(n,s){s=s.checked,s!=null&&D(n,"checked",s,!1)}function ql(n,s){ah(n,s);var o=Ne(s.value),l=s.type;if(o!=null)l==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+o):n.value!==""+o&&(n.value=""+o);else if(l==="submit"||l==="reset"){n.removeAttribute("value");return}s.hasOwnProperty("value")?Hl(n,s.type,o):s.hasOwnProperty("defaultValue")&&Hl(n,s.type,Ne(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(n.defaultChecked=!!s.defaultChecked)}function lh(n,s,o){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var l=s.type;if(!(l!=="submit"&&l!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+n._wrapperState.initialValue,o||s===n.value||(n.value=s),n.defaultValue=s}o=n.name,o!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,o!==""&&(n.name=o)}function Hl(n,s,o){(s!=="number"||zo(n.ownerDocument)!==n)&&(o==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+o&&(n.defaultValue=""+o))}var hi=Array.isArray;function cs(n,s,o,l){if(n=n.options,s){s={};for(var d=0;d<o.length;d++)s["$"+o[d]]=!0;for(o=0;o<n.length;o++)d=s.hasOwnProperty("$"+n[o].value),n[o].selected!==d&&(n[o].selected=d),d&&l&&(n[o].defaultSelected=!0)}else{for(o=""+Ne(o),s=null,d=0;d<n.length;d++){if(n[d].value===o){n[d].selected=!0,l&&(n[d].defaultSelected=!0);return}s!==null||n[d].disabled||(s=n[d])}s!==null&&(s.selected=!0)}}function Kl(n,s){if(s.dangerouslySetInnerHTML!=null)throw Error(r(91));return X({},s,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function uh(n,s){var o=s.value;if(o==null){if(o=s.children,s=s.defaultValue,o!=null){if(s!=null)throw Error(r(92));if(hi(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),o=s}n._wrapperState={initialValue:Ne(o)}}function ch(n,s){var o=Ne(s.value),l=Ne(s.defaultValue);o!=null&&(o=""+o,o!==n.value&&(n.value=o),s.defaultValue==null&&n.defaultValue!==o&&(n.defaultValue=o)),l!=null&&(n.defaultValue=""+l)}function dh(n){var s=n.textContent;s===n._wrapperState.initialValue&&s!==""&&s!==null&&(n.value=s)}function fh(n){switch(n){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 Ql(n,s){return n==null||n==="http://www.w3.org/1999/xhtml"?fh(s):n==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var $o,hh=(function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,o,l,d){MSApp.execUnsafeLocalFunction(function(){return n(s,o,l,d)})}:n})(function(n,s){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=s;else{for($o=$o||document.createElement("div"),$o.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=$o.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;s.firstChild;)n.appendChild(s.firstChild)}});function pi(n,s){if(s){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=s;return}}n.textContent=s}var mi={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},zx=["Webkit","ms","Moz","O"];Object.keys(mi).forEach(function(n){zx.forEach(function(s){s=s+n.charAt(0).toUpperCase()+n.substring(1),mi[s]=mi[n]})});function ph(n,s,o){return s==null||typeof s=="boolean"||s===""?"":o||typeof s!="number"||s===0||mi.hasOwnProperty(n)&&mi[n]?(""+s).trim():s+"px"}function mh(n,s){n=n.style;for(var o in s)if(s.hasOwnProperty(o)){var l=o.indexOf("--")===0,d=ph(o,s[o],l);o==="float"&&(o="cssFloat"),l?n.setProperty(o,d):n[o]=d}}var $x=X({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 Gl(n,s){if(s){if($x[n]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(r(137,n));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(r(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(r(61))}if(s.style!=null&&typeof s.style!="object")throw Error(r(62))}}function Yl(n,s){if(n.indexOf("-")===-1)return typeof s.is=="string";switch(n){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 Xl=null;function Jl(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Zl=null,ds=null,fs=null;function gh(n){if(n=Ii(n)){if(typeof Zl!="function")throw Error(r(280));var s=n.stateNode;s&&(s=fa(s),Zl(n.stateNode,n.type,s))}}function yh(n){ds?fs?fs.push(n):fs=[n]:ds=n}function vh(){if(ds){var n=ds,s=fs;if(fs=ds=null,gh(n),s)for(n=0;n<s.length;n++)gh(s[n])}}function wh(n,s){return n(s)}function xh(){}var eu=!1;function Sh(n,s,o){if(eu)return n(s,o);eu=!0;try{return wh(n,s,o)}finally{eu=!1,(ds!==null||fs!==null)&&(xh(),vh())}}function gi(n,s){var o=n.stateNode;if(o===null)return null;var l=fa(o);if(l===null)return null;o=l[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(n=n.type,l=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!l;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(r(231,s,typeof o));return o}var tu=!1;if(f)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){tu=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{tu=!1}function Wx(n,s,o,l,d,p,v,b,T){var j=Array.prototype.slice.call(arguments,3);try{s.apply(o,j)}catch(q){this.onError(q)}}var vi=!1,Wo=null,qo=!1,nu=null,qx={onError:function(n){vi=!0,Wo=n}};function Hx(n,s,o,l,d,p,v,b,T){vi=!1,Wo=null,Wx.apply(qx,arguments)}function Kx(n,s,o,l,d,p,v,b,T){if(Hx.apply(this,arguments),vi){if(vi){var j=Wo;vi=!1,Wo=null}else throw Error(r(198));qo||(qo=!0,nu=j)}}function Ar(n){var s=n,o=n;if(n.alternate)for(;s.return;)s=s.return;else{n=s;do s=n,(s.flags&4098)!==0&&(o=s.return),n=s.return;while(n)}return s.tag===3?o:null}function kh(n){if(n.tag===13){var s=n.memoizedState;if(s===null&&(n=n.alternate,n!==null&&(s=n.memoizedState)),s!==null)return s.dehydrated}return null}function Eh(n){if(Ar(n)!==n)throw Error(r(188))}function Qx(n){var s=n.alternate;if(!s){if(s=Ar(n),s===null)throw Error(r(188));return s!==n?null:n}for(var o=n,l=s;;){var d=o.return;if(d===null)break;var p=d.alternate;if(p===null){if(l=d.return,l!==null){o=l;continue}break}if(d.child===p.child){for(p=d.child;p;){if(p===o)return Eh(d),n;if(p===l)return Eh(d),s;p=p.sibling}throw Error(r(188))}if(o.return!==l.return)o=d,l=p;else{for(var v=!1,b=d.child;b;){if(b===o){v=!0,o=d,l=p;break}if(b===l){v=!0,l=d,o=p;break}b=b.sibling}if(!v){for(b=p.child;b;){if(b===o){v=!0,o=p,l=d;break}if(b===l){v=!0,l=p,o=d;break}b=b.sibling}if(!v)throw Error(r(189))}}if(o.alternate!==l)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?n:s}function bh(n){return n=Qx(n),n!==null?Ch(n):null}function Ch(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var s=Ch(n);if(s!==null)return s;n=n.sibling}return null}var Th=e.unstable_scheduleCallback,Ph=e.unstable_cancelCallback,Gx=e.unstable_shouldYield,Yx=e.unstable_requestPaint,Ke=e.unstable_now,Xx=e.unstable_getCurrentPriorityLevel,ru=e.unstable_ImmediatePriority,Ah=e.unstable_UserBlockingPriority,Ho=e.unstable_NormalPriority,Jx=e.unstable_LowPriority,Rh=e.unstable_IdlePriority,Ko=null,fn=null;function Zx(n){if(fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(Ko,n,void 0,(n.current.flags&128)===128)}catch{}}var Zt=Math.clz32?Math.clz32:n1,e1=Math.log,t1=Math.LN2;function n1(n){return n>>>=0,n===0?32:31-(e1(n)/t1|0)|0}var Qo=64,Go=4194304;function wi(n){switch(n&-n){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 n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Yo(n,s){var o=n.pendingLanes;if(o===0)return 0;var l=0,d=n.suspendedLanes,p=n.pingedLanes,v=o&268435455;if(v!==0){var b=v&~d;b!==0?l=wi(b):(p&=v,p!==0&&(l=wi(p)))}else v=o&~d,v!==0?l=wi(v):p!==0&&(l=wi(p));if(l===0)return 0;if(s!==0&&s!==l&&(s&d)===0&&(d=l&-l,p=s&-s,d>=p||d===16&&(p&4194240)!==0))return s;if((l&4)!==0&&(l|=o&16),s=n.entangledLanes,s!==0)for(n=n.entanglements,s&=l;0<s;)o=31-Zt(s),d=1<<o,l|=n[o],s&=~d;return l}function r1(n,s){switch(n){case 1:case 2:case 4:return s+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 s+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 s1(n,s){for(var o=n.suspendedLanes,l=n.pingedLanes,d=n.expirationTimes,p=n.pendingLanes;0<p;){var v=31-Zt(p),b=1<<v,T=d[v];T===-1?((b&o)===0||(b&l)!==0)&&(d[v]=r1(b,s)):T<=s&&(n.expiredLanes|=b),p&=~b}}function su(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function _h(){var n=Qo;return Qo<<=1,(Qo&4194240)===0&&(Qo=64),n}function iu(n){for(var s=[],o=0;31>o;o++)s.push(n);return s}function xi(n,s,o){n.pendingLanes|=s,s!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,s=31-Zt(s),n[s]=o}function i1(n,s){var o=n.pendingLanes&~s;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=s,n.mutableReadLanes&=s,n.entangledLanes&=s,s=n.entanglements;var l=n.eventTimes;for(n=n.expirationTimes;0<o;){var d=31-Zt(o),p=1<<d;s[d]=0,l[d]=-1,n[d]=-1,o&=~p}}function ou(n,s){var o=n.entangledLanes|=s;for(n=n.entanglements;o;){var l=31-Zt(o),d=1<<l;d&s|n[l]&s&&(n[l]|=s),o&=~d}}var je=0;function Nh(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var Oh,au,Lh,Mh,jh,lu=!1,Xo=[],Wn=null,qn=null,Hn=null,Si=new Map,ki=new Map,Kn=[],o1="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 Dh(n,s){switch(n){case"focusin":case"focusout":Wn=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":Si.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":ki.delete(s.pointerId)}}function Ei(n,s,o,l,d,p){return n===null||n.nativeEvent!==p?(n={blockedOn:s,domEventName:o,eventSystemFlags:l,nativeEvent:p,targetContainers:[d]},s!==null&&(s=Ii(s),s!==null&&au(s)),n):(n.eventSystemFlags|=l,s=n.targetContainers,d!==null&&s.indexOf(d)===-1&&s.push(d),n)}function a1(n,s,o,l,d){switch(s){case"focusin":return Wn=Ei(Wn,n,s,o,l,d),!0;case"dragenter":return qn=Ei(qn,n,s,o,l,d),!0;case"mouseover":return Hn=Ei(Hn,n,s,o,l,d),!0;case"pointerover":var p=d.pointerId;return Si.set(p,Ei(Si.get(p)||null,n,s,o,l,d)),!0;case"gotpointercapture":return p=d.pointerId,ki.set(p,Ei(ki.get(p)||null,n,s,o,l,d)),!0}return!1}function Ih(n){var s=Rr(n.target);if(s!==null){var o=Ar(s);if(o!==null){if(s=o.tag,s===13){if(s=kh(o),s!==null){n.blockedOn=s,jh(n.priority,function(){Lh(o)});return}}else if(s===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Jo(n){if(n.blockedOn!==null)return!1;for(var s=n.targetContainers;0<s.length;){var o=cu(n.domEventName,n.eventSystemFlags,s[0],n.nativeEvent);if(o===null){o=n.nativeEvent;var l=new o.constructor(o.type,o);Xl=l,o.target.dispatchEvent(l),Xl=null}else return s=Ii(o),s!==null&&au(s),n.blockedOn=o,!1;s.shift()}return!0}function Fh(n,s,o){Jo(n)&&o.delete(s)}function l1(){lu=!1,Wn!==null&&Jo(Wn)&&(Wn=null),qn!==null&&Jo(qn)&&(qn=null),Hn!==null&&Jo(Hn)&&(Hn=null),Si.forEach(Fh),ki.forEach(Fh)}function bi(n,s){n.blockedOn===s&&(n.blockedOn=null,lu||(lu=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,l1)))}function Ci(n){function s(d){return bi(d,n)}if(0<Xo.length){bi(Xo[0],n);for(var o=1;o<Xo.length;o++){var l=Xo[o];l.blockedOn===n&&(l.blockedOn=null)}}for(Wn!==null&&bi(Wn,n),qn!==null&&bi(qn,n),Hn!==null&&bi(Hn,n),Si.forEach(s),ki.forEach(s),o=0;o<Kn.length;o++)l=Kn[o],l.blockedOn===n&&(l.blockedOn=null);for(;0<Kn.length&&(o=Kn[0],o.blockedOn===null);)Ih(o),o.blockedOn===null&&Kn.shift()}var hs=V.ReactCurrentBatchConfig,Zo=!0;function u1(n,s,o,l){var d=je,p=hs.transition;hs.transition=null;try{je=1,uu(n,s,o,l)}finally{je=d,hs.transition=p}}function c1(n,s,o,l){var d=je,p=hs.transition;hs.transition=null;try{je=4,uu(n,s,o,l)}finally{je=d,hs.transition=p}}function uu(n,s,o,l){if(Zo){var d=cu(n,s,o,l);if(d===null)Pu(n,s,l,ea,o),Dh(n,l);else if(a1(d,n,s,o,l))l.stopPropagation();else if(Dh(n,l),s&4&&-1<o1.indexOf(n)){for(;d!==null;){var p=Ii(d);if(p!==null&&Oh(p),p=cu(n,s,o,l),p===null&&Pu(n,s,l,ea,o),p===d)break;d=p}d!==null&&l.stopPropagation()}else Pu(n,s,l,null,o)}}var ea=null;function cu(n,s,o,l){if(ea=null,n=Jl(l),n=Rr(n),n!==null)if(s=Ar(n),s===null)n=null;else if(o=s.tag,o===13){if(n=kh(s),n!==null)return n;n=null}else if(o===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;n=null}else s!==n&&(n=null);return ea=n,null}function Vh(n){switch(n){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(Xx()){case ru:return 1;case Ah:return 4;case Ho:case Jx:return 16;case Rh:return 536870912;default:return 16}default:return 16}}var Qn=null,du=null,ta=null;function Bh(){if(ta)return ta;var n,s=du,o=s.length,l,d="value"in Qn?Qn.value:Qn.textContent,p=d.length;for(n=0;n<o&&s[n]===d[n];n++);var v=o-n;for(l=1;l<=v&&s[o-l]===d[p-l];l++);return ta=d.slice(n,1<l?1-l:void 0)}function na(n){var s=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),32<=n||n===13?n:0}function ra(){return!0}function Uh(){return!1}function Dt(n){function s(o,l,d,p,v){this._reactName=o,this._targetInst=d,this.type=l,this.nativeEvent=p,this.target=v,this.currentTarget=null;for(var b in n)n.hasOwnProperty(b)&&(o=n[b],this[b]=o?o(p):p[b]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?ra:Uh,this.isPropagationStopped=Uh,this}return X(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=ra)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=ra)},persist:function(){},isPersistent:ra}),s}var ps={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fu=Dt(ps),Ti=X({},ps,{view:0,detail:0}),d1=Dt(Ti),hu,pu,Pi,sa=X({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gu,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Pi&&(Pi&&n.type==="mousemove"?(hu=n.screenX-Pi.screenX,pu=n.screenY-Pi.screenY):pu=hu=0,Pi=n),hu)},movementY:function(n){return"movementY"in n?n.movementY:pu}}),zh=Dt(sa),f1=X({},sa,{dataTransfer:0}),h1=Dt(f1),p1=X({},Ti,{relatedTarget:0}),mu=Dt(p1),m1=X({},ps,{animationName:0,elapsedTime:0,pseudoElement:0}),g1=Dt(m1),y1=X({},ps,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),v1=Dt(y1),w1=X({},ps,{data:0}),$h=Dt(w1),x1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S1={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"},k1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E1(n){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(n):(n=k1[n])?!!s[n]:!1}function gu(){return E1}var b1=X({},Ti,{key:function(n){if(n.key){var s=x1[n.key]||n.key;if(s!=="Unidentified")return s}return n.type==="keypress"?(n=na(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?S1[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gu,charCode:function(n){return n.type==="keypress"?na(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?na(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),C1=Dt(b1),T1=X({},sa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wh=Dt(T1),P1=X({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gu}),A1=Dt(P1),R1=X({},ps,{propertyName:0,elapsedTime:0,pseudoElement:0}),_1=Dt(R1),N1=X({},sa,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),O1=Dt(N1),L1=[9,13,27,32],yu=f&&"CompositionEvent"in window,Ai=null;f&&"documentMode"in document&&(Ai=document.documentMode);var M1=f&&"TextEvent"in window&&!Ai,qh=f&&(!yu||Ai&&8<Ai&&11>=Ai),Hh=" ",Kh=!1;function Qh(n,s){switch(n){case"keyup":return L1.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gh(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ms=!1;function j1(n,s){switch(n){case"compositionend":return Gh(s);case"keypress":return s.which!==32?null:(Kh=!0,Hh);case"textInput":return n=s.data,n===Hh&&Kh?null:n;default:return null}}function D1(n,s){if(ms)return n==="compositionend"||!yu&&Qh(n,s)?(n=Bh(),ta=du=Qn=null,ms=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return qh&&s.locale!=="ko"?null:s.data;default:return null}}var I1={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 Yh(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s==="input"?!!I1[n.type]:s==="textarea"}function Xh(n,s,o,l){yh(l),s=ua(s,"onChange"),0<s.length&&(o=new fu("onChange","change",null,o,l),n.push({event:o,listeners:s}))}var Ri=null,_i=null;function F1(n){mp(n,0)}function ia(n){var s=xs(n);if(Pr(s))return n}function V1(n,s){if(n==="change")return s}var Jh=!1;if(f){var vu;if(f){var wu="oninput"in document;if(!wu){var Zh=document.createElement("div");Zh.setAttribute("oninput","return;"),wu=typeof Zh.oninput=="function"}vu=wu}else vu=!1;Jh=vu&&(!document.documentMode||9<document.documentMode)}function ep(){Ri&&(Ri.detachEvent("onpropertychange",tp),_i=Ri=null)}function tp(n){if(n.propertyName==="value"&&ia(_i)){var s=[];Xh(s,_i,n,Jl(n)),Sh(F1,s)}}function B1(n,s,o){n==="focusin"?(ep(),Ri=s,_i=o,Ri.attachEvent("onpropertychange",tp)):n==="focusout"&&ep()}function U1(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ia(_i)}function z1(n,s){if(n==="click")return ia(s)}function $1(n,s){if(n==="input"||n==="change")return ia(s)}function W1(n,s){return n===s&&(n!==0||1/n===1/s)||n!==n&&s!==s}var en=typeof Object.is=="function"?Object.is:W1;function Ni(n,s){if(en(n,s))return!0;if(typeof n!="object"||n===null||typeof s!="object"||s===null)return!1;var o=Object.keys(n),l=Object.keys(s);if(o.length!==l.length)return!1;for(l=0;l<o.length;l++){var d=o[l];if(!h.call(s,d)||!en(n[d],s[d]))return!1}return!0}function np(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function rp(n,s){var o=np(n);n=0;for(var l;o;){if(o.nodeType===3){if(l=n+o.textContent.length,n<=s&&l>=s)return{node:o,offset:s-n};n=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=np(o)}}function sp(n,s){return n&&s?n===s?!0:n&&n.nodeType===3?!1:s&&s.nodeType===3?sp(n,s.parentNode):"contains"in n?n.contains(s):n.compareDocumentPosition?!!(n.compareDocumentPosition(s)&16):!1:!1}function ip(){for(var n=window,s=zo();s instanceof n.HTMLIFrameElement;){try{var o=typeof s.contentWindow.location.href=="string"}catch{o=!1}
vendor: 2,125 bytes, line 37
37if(o)n=s.contentWindow;else break;s=zo(n.document)}return s}function xu(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s&&(s==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||s==="textarea"||n.contentEditable==="true")}function q1(n){var s=ip(),o=n.focusedElem,l=n.selectionRange;if(s!==o&&o&&o.ownerDocument&&sp(o.ownerDocument.documentElement,o)){if(l!==null&&xu(o)){if(s=l.start,n=l.end,n===void 0&&(n=s),"selectionStart"in o)o.selectionStart=s,o.selectionEnd=Math.min(n,o.value.length);else if(n=(s=o.ownerDocument||document)&&s.defaultView||window,n.getSelection){n=n.getSelection();var d=o.textContent.length,p=Math.min(l.start,d);l=l.end===void 0?p:Math.min(l.end,d),!n.extend&&p>l&&(d=l,l=p,p=d),d=rp(o,p);var v=rp(o,l);d&&v&&(n.rangeCount!==1||n.anchorNode!==d.node||n.anchorOffset!==d.offset||n.focusNode!==v.node||n.focusOffset!==v.offset)&&(s=s.createRange(),s.setStart(d.node,d.offset),n.removeAllRanges(),p>l?(n.addRange(s),n.extend(v.node,v.offset)):(s.setEnd(v.node,v.offset),n.addRange(s)))}}for(s=[],n=o;n=n.parentNode;)n.nodeType===1&&s.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<s.length;o++)n=s[o],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var H1=f&&"documentMode"in document&&11>=document.documentMode,gs=null,Su=null,Oi=null,ku=!1;function op(n,s,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;ku||gs==null||gs!==zo(l)||(l=gs,"selectionStart"in l&&xu(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Oi&&Ni(Oi,l)||(Oi=l,l=ua(Su,"onSelect"),0<l.length&&(s=new fu("onSelect","select",null,s,o),n.push({event:s,listeners:l}),s.target=gs)))}function oa(n,s){var o={};return o[n.toLowerCase()]=s.toLowerCase(),o["Webkit"+n]="webkit"+s,o["Moz"+n]="moz"+s,o}var ys={animationend:oa("Animation","AnimationEnd"),animationiteration:oa("Animation","AnimationIteration"),animationstart:
vendor: 6,092 bytes, line 37
37oa("Animation","AnimationStart"),transitionend:oa("Transition","TransitionEnd")},Eu={},ap={};f&&(ap=document.createElement("div").style,"AnimationEvent"in window||(delete ys.animationend.animation,delete ys.animationiteration.animation,delete ys.animationstart.animation),"TransitionEvent"in window||delete ys.transitionend.transition);function aa(n){if(Eu[n])return Eu[n];if(!ys[n])return n;var s=ys[n],o;for(o in s)if(s.hasOwnProperty(o)&&o in ap)return Eu[n]=s[o];return n}var lp=aa("animationend"),up=aa("animationiteration"),cp=aa("animationstart"),dp=aa("transitionend"),fp=new Map,hp="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 Gn(n,s){fp.set(n,s),u(s,[n])}for(var bu=0;bu<hp.length;bu++){var Cu=hp[bu],K1=Cu.toLowerCase(),Q1=Cu[0].toUpperCase()+Cu.slice(1);Gn(K1,"on"+Q1)}Gn(lp,"onAnimationEnd"),Gn(up,"onAnimationIteration"),Gn(cp,"onAnimationStart"),Gn("dblclick","onDoubleClick"),Gn("focusin","onFocus"),Gn("focusout","onBlur"),Gn(dp,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Li="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(" "),G1=new Set("cancel close invalid load scroll toggle".split(" ").concat(Li));function pp(n,s,o){var l=n.type||"unknown-event";n.currentTarget=o,Kx(l,s,void 0,n),n.currentTarget=null}function mp(n,s){s=(s&4)!==0;for(var o=0;o<n.length;o++){var l=n[o],d=l.event;l=l.listeners;e:{var p=void 0;if(s)for(var v=l.length-1;0<=v;v--){var b=l[v],T=b.instance,j=b.currentTarget;if(b=b.listener,T!==p&&d.isPropagationStopped())break e;pp(d,b,j),p=T}else for(v=0;v<l.length;v++){if(b=l[v],T=b.instance,j=b.currentTarget,b=b.listener,T!==p&&d.isPropagationStopped())break e;pp(d,b,j),p=T}}}if(qo)throw n=nu,qo=!1,nu=null,n}function Ie(n,s){var o=s[Lu];o===void 0&&(o=s[Lu]=new Set);var l=n+"__bubble";o.has(l)||(gp(s,n,2,!1),o.add(l))}function Tu(n,s,o){var l=0;s&&(l|=4),gp(o,n,l,s)}var la="_reactListening"+Math.random().toString(36).slice(2);function Mi(n){if(!n[la]){n[la]=!0,i.forEach(function(o){o!=="selectionchange"&&(G1.has(o)||Tu(o,!1,n),Tu(o,!0,n))});var s=n.nodeType===9?n:n.ownerDocument;s===null||s[la]||(s[la]=!0,Tu("selectionchange",!1,s))}}function gp(n,s,o,l){switch(Vh(s)){case 1:var d=u1;break;case 4:d=c1;break;default:d=uu}o=d.bind(null,s,o,n),d=void 0,!tu||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(d=!0),l?d!==void 0?n.addEventListener(s,o,{capture:!0,passive:d}):n.addEventListener(s,o,!0):d!==void 0?n.addEventListener(s,o,{passive:d}):n.addEventListener(s,o,!1)}function Pu(n,s,o,l,d){var p=l;if((s&1)===0&&(s&2)===0&&l!==null)e:for(;;){if(l===null)return;var v=l.tag;if(v===3||v===4){var b=l.stateNode.containerInfo;if(b===d||b.nodeType===8&&b.parentNode===d)break;if(v===4)for(v=l.return;v!==null;){var T=v.tag;if((T===3||T===4)&&(T=v.stateNode.containerInfo,T===d||T.nodeType===8&&T.parentNode===d))return;v=v.return}for(;b!==null;){if(v=Rr(b),v===null)return;if(T=v.tag,T===5||T===6){l=p=v;continue e}b=b.parentNode}}l=l.return}Sh(function(){var j=p,q=Jl(o),K=[];e:{var W=fp.get(n);if(W!==void 0){var Z=fu,re=n;switch(n){case"keypress":if(na(o)===0)break e;case"keydown":case"keyup":Z=C1;break;case"focusin":re="focus",Z=mu;break;case"focusout":re="blur",Z=mu;break;case"beforeblur":case"afterblur":Z=mu;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=h1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=A1;break;case lp:case up:case cp:Z=g1;break;case dp:Z=_1;break;case"scroll":Z=d1;break;case"wheel":Z=O1;break;case"copy":case"cut":case"paste":Z=v1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=Wh}var ae=(s&4)!==0,Qe=!ae&&n==="scroll",O=ae?W!==null?W+"Capture":null:W;ae=[];for(var A=j,L;A!==null;){L=A;var G=L.stateNode;if(L.tag===5&&G!==null&&(L=G,O!==null&&(G=gi(A,O),G!=null&&ae.push(ji(A,G,L)))),Qe)break;A=A.return}0<ae.length&&(W=new Z(W,re,null,o,q),K.push({event:W,listeners:ae}))}}if((s&7)===0){e:{if(W=n==="mouseover"||n==="pointerover",Z=n==="mouseout"||n==="pointerout",W&&o!==Xl&&(re=o.relatedTarget||o.fromElement)&&(Rr(re)||re[Cn]))break e;if((Z||W)&&(W=q.window===q?q:(W=q.ownerDocument)?W.defaultView||W.parentWindow:window,Z?(re=o.relatedTarget||o.toElement,Z=j,re=re?Rr(re):null,re!==null&&(Qe=Ar(re),re!==Qe||re.tag!==5&&re.tag!==6)&&(re=null)):(Z=null,re=j),Z!==re)){if(ae=zh,G="onMouseLeave",O="onMouseEnter",A="mou
37se",(n==="pointerout"||n==="pointerover")&&(ae=Wh,G="onPointerLeave",O="onPointerEnter",A="pointer"),Qe=Z==null?W:xs(Z),L=re==null?W:xs(re),W=new ae(G,A+"leave",Z,o,q),W.target=Qe,W.relatedTarget=L,G=null,Rr(q)===j&&(ae=new ae(O,A+"enter",re,o,q),ae.target=L,ae.relatedTarget=Qe,G=ae),Qe=G,Z&&re)t:{for(ae=Z,O=re,A=0,L=ae;L;L=vs(L))A++;for(L=0,G=O;G;G=vs(G))L++;for(;0<A-L;)ae=vs(ae),A--;for(;0<L-A;)O=vs(O),L--;for(;A--;){if(ae===O||O!==null&&ae===O.alternate)break t;ae=vs(ae),O=vs(O)}ae=null}else ae=null;Z!==null&&yp(K,W,Z,ae,!1),re!==null&&Qe!==null&&yp(K,Qe,re,ae,!0)}}e:{if(W=j?xs(j):window,Z=W.nodeName&&W.nodeName.toLowerCase(),Z==="select"||Z==="input"&&W.type==="file")var ue=V1;else if(Yh(W))if(Jh)ue=$1;else{ue=U1;var me=B1}else(Z=W.nodeName)&&Z.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(ue=z1);if(ue&&(ue=ue(n,j))){Xh(K,ue,o,q);break e}me&&me(n,W,j),n==="focusout"&&(me=W._wrapperState)&&me.controlled&&W.type==="number"&&Hl(W,"number",W.value)}switch(me=j?xs(j):window,n){case"focusin":(Yh(me)||me.contentEditable==="true")&&(gs=me,Su=j,Oi=null);break;case"focusout":Oi=Su=gs=null;break;case"mousedown":ku=!0;break;case"contextmenu":case"mouseup":case"dragend":ku=!1,op(K,o,q);break;case"selectionchange":if(H1)break;case"keydown":case"keyup":op(K,o,q)}var ge;if(yu)e:{switch(n){case"compositionstart":var we="onCompositionStart";break e;case"compositionend":we="onCompositionEnd";break e;case"compositionupdate":we="onCompositionUpdate";break e}we=void 0}else ms?Qh(n,o)&&(we="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(we="onCompositionStart");we&&(qh&&o.locale!=="ko"&&(ms||we!=="onCompositionStart"?we==="onCompositionEnd"&&ms&&(ge=Bh()):(Qn=q,du="value"in Qn?Qn.value:Qn.textContent,ms=!0)),me=ua(j,we),0<me.length&&(we=new $h(we,n,null,o,q),K.push({event:we,listeners:me}),ge?we.data=ge:(ge=Gh(o),ge!==null&&(we.data=ge)))),(ge=M1?j1(n,o):D1(n,o))&&(j=ua(j,"onBeforeInput"),0<j.length&&(q=new $h("onBeforeInput","beforeinput",null,o,q),K.push({event:q,listeners:j}),q.data=ge))}mp(K,s)})}function ji(n,s,o){return{instance:n,listener:s,currentTarget:o}}function ua(n,s){for(var o=s+"Capture",l=[];n!==null;){var d=n,p=d.stateNode;d.tag===5&&p!==null&&(d=p,p=gi(n,o),p!=null&&l.unshift(ji(n,p,d)),p=gi(n,s),p!=null&&l.push(ji(n,p,d))),n=n.return}return l}function vs(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function yp(n,s,o,l,d){for(var p=s._reactName,v=[];o!==null&&o!==l;){var b=o,T=b.alternate,j=b.stateNode;if(T!==null&&T===l)break;b.tag===5&&j!==null&&(b=j,d?(T=gi(o,p),T!=null&&v.unshift(ji(o,T,b))):d||(T=gi(o,p),T!=null&&v.push(ji(o,T,b)))),o=o.return}v.length!==0&&n.push({event:s,listeners:v})}var Y1=/\r\n?/g,X1=/\u0000|\uFFFD/g;function vp(n){return(typeof n=="string"?n:""+n).replace(Y1,`
38`).replace(X1,"")}function ca(n,s,o){if(s=vp(s),vp(n)!==s&&o)throw Error(r(425))}function da(){}var Au=null,Ru=null;function _u(n,s){return n==="textarea"||n==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Nu=typeof setTimeout=="function"?setTimeout:void 0,J1=typeof clearTimeout=="function"?clearTimeout:void 0,wp=typeof Promise=="function"?Promise:void 0,Z1=typeof queueMicrotask=="function"?queueMicrotask:typeof wp<"u"?function(n){return wp.resolve(null).then(n).catch(eS)}:Nu;function eS(n){setTimeout(function(){throw n})}function Ou(n,s){var o=s,l=0;do{var d=o.nextSibling;if(n.removeChild(o),d&&d.nodeType===8)if(o=d.data,o==="/$"){if(l===0){n.removeChild(d),Ci(s);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=d}while(o);Ci(s)}function Yn(n){for(;n!=null;n=n.nextSibling){var s=n.nodeType;if(s===1||s===3)break;if(s===8){if(s=n.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return n}function xp(n){n=n.previousSibling;for(var s=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"){if(s===0)return n;s--}else o==="/$"&&s++}n=n.previousSibling}return null}var ws=Math.random().toString(36).slice(2),hn="__reactFiber$"+ws,Di="__reactProps$"+ws,Cn="__reactContainer$"+ws,Lu="__reactEvents$"+ws,tS="__reactListeners$"+ws,nS="__reactHandles$"+ws;function Rr(n){var s=n[hn];if(s)return s;for(var o=n.parentNode;o;){if(s=o[Cn]||o[hn]){if(o=s.alternate,s.child!==null||o!==null&&o.child!==null)for(n=xp(n);n!==null;){if(o=n[hn])return o;n=xp(n)}return s}n=o,o=n.parentNode}return null}function Ii(n){return n=n[hn]||n[Cn],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function xs(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(r(33))}function fa(n){return n[Di]||null}var Mu=[],Ss=-1;function Xn(n){return{current:n}}function Fe(n){0>Ss||(n.current=Mu[Ss],Mu[Ss]=null,Ss--)}function De(n,s){Ss++,Mu[Ss]=n.current,n.current=s}var Jn={},pt=Xn(Jn),Tt=Xn(!1),_r=Jn;function ks(n,s){var o=n.type.contextTypes;if(!o)return Jn;var l=n.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===s)return l.__reactInternalMemoizedMaskedChildContext;var d={},p;for(p in o)d[p]=s[p];return l&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=s,n.__reactInternalMemoizedMaskedChildContext=d),d}function Pt(n){return n=n.childContextTypes,n!=null}function ha(){Fe(Tt),Fe(pt)}function Sp(n,s,o){if(pt.current!==Jn)throw Error(r(168));De(pt,s),De(Tt,o)}function kp(n,s,o){var l=n.stateNode;if(s=s.childContextTypes,typeof l.getChildContext!="function")return o;l=l.getChildContext();for(var d in l)if(!(d in s))throw Error(r(108,xe(n)||"Unknown",d));return X({},o,l)}function pa(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Jn,_r=pt.current,De(pt,n),De(Tt,Tt.current),!0}function Ep(n,s,o){var l=n.stateNode;if(!l)throw Error(r(169));o?(n=kp(n,s,_r),l.__reactInternalMemoizedMergedChildContext=n,Fe(Tt),Fe(pt),De(pt,n)):Fe(Tt),De(Tt,o)}var Tn=null,ma=!1,ju=!1;function bp(n){Tn===null?Tn=[n]:Tn.push(n)}function rS(n){ma=!0,bp(n)}function Zn(){if(!ju&&Tn!==null){ju=!0;var n=0,s=je;try{var o=Tn;for(je=1;n<o.length;n++){var l=o[n];do l=l(!0);while(l!==null)}Tn=null,ma=!1}catch(d){throw Tn!==null&&(Tn=Tn.slice(n+1)),Th(ru,Zn),d}finally{je=s,ju=!1}}return null}var Es=[],bs=0,ga=null,ya=0,zt=[],$t=0,Nr=null,Pn=1,An="";function Or(n,s){Es[bs++]=ya,Es[bs++]=ga,ga=n,ya=s}function Cp(n,s,o){zt[$t++]=Pn,zt[$t++]=An,zt[$t++]=Nr,Nr=n;var l=Pn;n=An;var d=32-Zt(l)-1;l&=~(1<<d),o+=1;var p=32-Zt(s)+d;if(30<p){var v=d-d%5;p=(l&(1<<v)-1).toString(32),l>>=v,d-=v,Pn=1<<32-Zt(s)+d|o<<d|l,An=p+n}else Pn=1<<p|o<<d|l,An=n}function Du(n){n.return!==null&&(Or(n,1),Cp(n,1,0))}function Iu(n){for(;n===ga;)ga=Es[--bs],Es[bs]=null,ya=Es[--bs],Es[bs]=null;for(;n===Nr;)Nr=zt[--$t],zt[$t]=null,An=zt[--$t],zt[$t]=null,Pn=zt[--$t],zt[$t]=null}var It=null,Ft=null,Be=!1,tn=null;function Tp(n,s){var o=Kt(5,null,null,0);o.elementType="DELETED",o.stateNode=s,o.return=n,s=n.deletions,s===null?(n.deletions=[o],n.flags|=16):s.push(o)}function Pp(n,s){switch(n.tag){case 5:var o=n.type;return s=s.nodeType!==1||o.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(n.stateNode=s,It=n,Ft=Yn(s.firstChild),!0):!1;case 6:return s=n.pendingProps===""||s.nodeType!==3?null:s,s!==null?(n.stateNode=s,It=n,Ft=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(o=Nr!==null?{id:Pn,overflow:An}:null,n.memoizedState={dehydrated:s,treeContext:o,retryLane:1073741824},o=Kt(18,null,null,0),o.stateNode=s,o.return=n,n.child=o,It=n,Ft=null,!0):!1;default:return!1}}function Fu(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Vu(n){if(Be){var s=Ft;if(s){var o=s;if(!Pp(n,s)){if(Fu(n))throw Error(r(418));s=Yn(o.nextSibling);var l=It;s&&Pp(n,s)?Tp(l,o):(n.flags=n.flags&-4097|2,Be=!1,It=n)}}else{if(Fu(n))throw Error(r(418));n.flags=n.flags&-4097|2,Be=!1,It=n}}}function Ap(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;It=n}function va(n){if(n!==It)return!1;if(!Be)return Ap(n),Be=!0,!1;var s;if((s=n.tag!==3)&&!(s=n.tag!==5)&&(s=n.type,s=s!=="head"&&s!=="body"&&!_u(n.type,n.memoizedProps)),s&&(s=Ft)){if(Fu(n))throw Rp(),Error(r(418));for(;s;)Tp(n,s),s=Yn(s.nextSibling)}if(Ap(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));e:{for(n=n.nextSibling,s=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"){if(s===0){Ft=Yn(n.nextSibling);break e}s--}else o!=="$"&&o!=="$!"&&o!=="$?"||s++}n=n.nextSibling}Ft=null}}else Ft=It?Yn(n.stateNode.nextSibling):null;return!0}function Rp(){for(var n=Ft;n;)n=Yn(n.nextSibling)}function Cs(){Ft=It=null,Be=!1}function Bu(n){tn===null?tn=[n]:tn.push(n)}var sS=V.ReactCurrentBatchConfig;function Fi(n,s,o){if(n=o.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(r(309));var l=o.stateNode}if(!l)throw Error(r(147,n));var d=l,p=""+n;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===p?s.ref:(s=function(v){var b=d.refs;v===null?delete b[p]:b[p]=v},s._stringRef=p,s)}
vendor: 4,949 bytes, line 38
38if(typeof n!="string")throw Error(r(284));if(!o._owner)throw Error(r(290,n))}return n}function wa(n,s){throw n=Object.prototype.toString.call(s),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":n))}function _p(n){var s=n._init;return s(n._payload)}function Np(n){function s(O,A){if(n){var L=O.deletions;L===null?(O.deletions=[A],O.flags|=16):L.push(A)}}function o(O,A){if(!n)return null;for(;A!==null;)s(O,A),A=A.sibling;return null}function l(O,A){for(O=new Map;A!==null;)A.key!==null?O.set(A.key,A):O.set(A.index,A),A=A.sibling;return O}function d(O,A){return O=ar(O,A),O.index=0,O.sibling=null,O}function p(O,A,L){return O.index=L,n?(L=O.alternate,L!==null?(L=L.index,L<A?(O.flags|=2,A):L):(O.flags|=2,A)):(O.flags|=1048576,A)}function v(O){return n&&O.alternate===null&&(O.flags|=2),O}function b(O,A,L,G){return A===null||A.tag!==6?(A=Nc(L,O.mode,G),A.return=O,A):(A=d(A,L),A.return=O,A)}function T(O,A,L,G){var ue=L.type;return ue===oe?q(O,A,L.props.children,G,L.key):A!==null&&(A.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===he&&_p(ue)===A.type)?(G=d(A,L.props),G.ref=Fi(O,A,L),G.return=O,G):(G=$a(L.type,L.key,L.props,null,O.mode,G),G.ref=Fi(O,A,L),G.return=O,G)}function j(O,A,L,G){return A===null||A.tag!==4||A.stateNode.containerInfo!==L.containerInfo||A.stateNode.implementation!==L.implementation?(A=Oc(L,O.mode,G),A.return=O,A):(A=d(A,L.children||[]),A.return=O,A)}function q(O,A,L,G,ue){return A===null||A.tag!==7?(A=Br(L,O.mode,G,ue),A.return=O,A):(A=d(A,L),A.return=O,A)}function K(O,A,L){if(typeof A=="string"&&A!==""||typeof A=="number")return A=Nc(""+A,O.mode,L),A.return=O,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case U:return L=$a(A.type,A.key,A.props,null,O.mode,L),L.ref=Fi(O,null,A),L.return=O,L;case Y:return A=Oc(A,O.mode,L),A.return=O,A;case he:var G=A._init;return K(O,G(A._payload),L)}if(hi(A)||le(A))return A=Br(A,O.mode,L,null),A.return=O,A;wa(O,A)}return null}function W(O,A,L,G){var ue=A!==null?A.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return ue!==null?null:b(O,A,""+L,G);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case U:return L.key===ue?T(O,A,L,G):null;case Y:return L.key===ue?j(O,A,L,G):null;case he:return ue=L._init,W(O,A,ue(L._payload),G)}if(hi(L)||le(L))return ue!==null?null:q(O,A,L,G,null);wa(O,L)}return null}function Z(O,A,L,G,ue){if(typeof G=="string"&&G!==""||typeof G=="number")return O=O.get(L)||null,b(A,O,""+G,ue);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case U:return O=O.get(G.key===null?L:G.key)||null,T(A,O,G,ue);case Y:return O=O.get(G.key===null?L:G.key)||null,j(A,O,G,ue);case he:var me=G._init;return Z(O,A,L,me(G._payload),ue)}if(hi(G)||le(G))return O=O.get(L)||null,q(A,O,G,ue,null);wa(A,G)}return null}function re(O,A,L,G){for(var ue=null,me=null,ge=A,we=A=0,at=null;ge!==null&&we<L.length;we++){ge.index>we?(at=ge,ge=null):at=ge.sibling;var Oe=W(O,ge,L[we],G);if(Oe===null){ge===null&&(ge=at);break}n&&ge&&Oe.alternate===null&&s(O,ge),A=p(Oe,A,we),me===null?ue=Oe:me.sibling=Oe,me=Oe,ge=at}if(we===L.length)return o(O,ge),Be&&Or(O,we),ue;if(ge===null){for(;we<L.length;we++)ge=K(O,L[we],G),ge!==null&&(A=p(ge,A,we),me===null?ue=ge:me.sibling=ge,me=ge);return Be&&Or(O,we),ue}for(ge=l(O,ge);we<L.length;we++)at=Z(ge,O,we,L[we],G),at!==null&&(n&&at.alternate!==null&&ge.delete(at.key===null?we:at.key),A=p(at,A,we),me===null?ue=at:me.sibling=at,me=at);return n&&ge.forEach(function(lr){return s(O,lr)}),Be&&Or(O,we),ue}function ae(O,A,L,G){var ue=le(L);if(typeof ue!="function")throw Error(r(150));if(L=ue.call(L),L==null)throw Error(r(151));for(var me=ue=null,ge=A,we=A=0,at=null,Oe=L.next();ge!==null&&!Oe.done;we++,Oe=L.next()){ge.index>we?(at=ge,ge=null):at=ge.sibling;var lr=W(O,ge,Oe.value,G);if(lr===null){ge===null&&(ge=at);break}n&&ge&&lr.alternate===null&&s(O,ge),A=p(lr,A,we),me===null?ue=lr:me.sibling=lr,me=lr,ge=at}if(Oe.done)return o(O,ge),Be&&Or(O,we),ue;if(ge===null){for(;!Oe.done;we++,Oe=L.next())Oe=K(O,Oe.value,G),Oe!==null&&(A=p(Oe,A,we),me===null?ue=Oe:me.sibling=Oe,me=Oe);return Be&&Or(O,we),ue}for(ge=l(O,ge);!Oe.done;we++,Oe=L.next())Oe=Z(ge,O,we,Oe.value,G),Oe!==null&&(n&&Oe.alternate!==null&&ge.delete(Oe.key===null?we:Oe.key),A=p(Oe,A,we),me===null?ue=Oe:me.sibling=Oe,me=Oe);return n&&ge.forEach(function(IS){return s(O,IS)}),Be&&Or(O,we),ue}function Qe(O,A,L,G){if(typeof L=="object"&&L!==null&&L.type===oe&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case U:e:{for(var ue=L.key,me=A;me!==null;){if(me.key===ue){if(ue=L.type,ue===oe){if(me.tag===7){o(O,me.sibling),A=d(me,L.props.children),A.return=O,O=A;break e}}else if(me.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===he&&_p(ue)===me.type){o(O,me.sibling),A=d(me,L.props),A.ref=Fi(O,me,L),A.return=O,O=A;break e}o(O,me);break}else s(O,me);me=me.sibling}L.type===oe?(A=Br(L.props.children,O.mode,G,L.key),A.return=O,O=A):(G=$a(L.type,L.
vendor: 4,714 bytes, line 38
38key,L.props,null,O.mode,G),G.ref=Fi(O,A,L),G.return=O,O=G)}return v(O);case Y:e:{for(me=L.key;A!==null;){if(A.key===me)if(A.tag===4&&A.stateNode.containerInfo===L.containerInfo&&A.stateNode.implementation===L.implementation){o(O,A.sibling),A=d(A,L.children||[]),A.return=O,O=A;break e}else{o(O,A);break}else s(O,A);A=A.sibling}A=Oc(L,O.mode,G),A.return=O,O=A}return v(O);case he:return me=L._init,Qe(O,A,me(L._payload),G)}if(hi(L))return re(O,A,L,G);if(le(L))return ae(O,A,L,G);wa(O,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,A!==null&&A.tag===6?(o(O,A.sibling),A=d(A,L),A.return=O,O=A):(o(O,A),A=Nc(L,O.mode,G),A.return=O,O=A),v(O)):o(O,A)}return Qe}var Ts=Np(!0),Op=Np(!1),xa=Xn(null),Sa=null,Ps=null,Uu=null;function zu(){Uu=Ps=Sa=null}function $u(n){var s=xa.current;Fe(xa),n._currentValue=s}function Wu(n,s,o){for(;n!==null;){var l=n.alternate;if((n.childLanes&s)!==s?(n.childLanes|=s,l!==null&&(l.childLanes|=s)):l!==null&&(l.childLanes&s)!==s&&(l.childLanes|=s),n===o)break;n=n.return}}function As(n,s){Sa=n,Uu=Ps=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&s)!==0&&(At=!0),n.firstContext=null)}function Wt(n){var s=n._currentValue;if(Uu!==n)if(n={context:n,memoizedValue:s,next:null},Ps===null){if(Sa===null)throw Error(r(308));Ps=n,Sa.dependencies={lanes:0,firstContext:n}}else Ps=Ps.next=n;return s}var Lr=null;function qu(n){Lr===null?Lr=[n]:Lr.push(n)}function Lp(n,s,o,l){var d=s.interleaved;return d===null?(o.next=o,qu(s)):(o.next=d.next,d.next=o),s.interleaved=o,Rn(n,l)}function Rn(n,s){n.lanes|=s;var o=n.alternate;for(o!==null&&(o.lanes|=s),o=n,n=n.return;n!==null;)n.childLanes|=s,o=n.alternate,o!==null&&(o.childLanes|=s),o=n,n=n.return;return o.tag===3?o.stateNode:null}var er=!1;function Hu(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Mp(n,s){n=n.updateQueue,s.updateQueue===n&&(s.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function _n(n,s){return{eventTime:n,lane:s,tag:0,payload:null,callback:null,next:null}}function tr(n,s,o){var l=n.updateQueue;if(l===null)return null;if(l=l.shared,(_e&2)!==0){var d=l.pending;return d===null?s.next=s:(s.next=d.next,d.next=s),l.pending=s,Rn(n,o)}return d=l.interleaved,d===null?(s.next=s,qu(l)):(s.next=d.next,d.next=s),l.interleaved=s,Rn(n,o)}function ka(n,s,o){if(s=s.updateQueue,s!==null&&(s=s.shared,(o&4194240)!==0)){var l=s.lanes;l&=n.pendingLanes,o|=l,s.lanes=o,ou(n,o)}}function jp(n,s){var o=n.updateQueue,l=n.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var d=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var v={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};p===null?d=p=v:p=p.next=v,o=o.next}while(o!==null);p===null?d=p=s:p=p.next=s}else d=p=s;o={baseState:l.baseState,firstBaseUpdate:d,lastBaseUpdate:p,shared:l.shared,effects:l.effects},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=s:n.next=s,o.lastBaseUpdate=s}function Ea(n,s,o,l){var d=n.updateQueue;er=!1;var p=d.firstBaseUpdate,v=d.lastBaseUpdate,b=d.shared.pending;if(b!==null){d.shared.pending=null;var T=b,j=T.next;T.next=null,v===null?p=j:v.next=j,v=T;var q=n.alternate;q!==null&&(q=q.updateQueue,b=q.lastBaseUpdate,b!==v&&(b===null?q.firstBaseUpdate=j:b.next=j,q.lastBaseUpdate=T))}if(p!==null){var K=d.baseState;v=0,q=j=T=null,b=p;do{var W=b.lane,Z=b.eventTime;if((l&W)===W){q!==null&&(q=q.next={eventTime:Z,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var re=n,ae=b;switch(W=s,Z=o,ae.tag){case 1:if(re=ae.payload,typeof re=="function"){K=re.call(Z,K,W);break e}K=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=ae.payload,W=typeof re=="function"?re.call(Z,K,W):re,W==null)break e;K=X({},K,W);break e;case 2:er=!0}}b.callback!==null&&b.lane!==0&&(n.flags|=64,W=d.effects,W===null?d.effects=[b]:W.push(b))}else Z={eventTime:Z,lane:W,tag:b.tag,payload:b.payload,callback:b.callback,next:null},q===null?(j=q=Z,T=K):q=q.next=Z,v|=W;if(b=b.next,b===null){if(b=d.shared.pending,b===null)break;W=b,b=W.next,W.next=null,d.lastBaseUpdate=W,d.shared.pending=null}}while(!0);if(q===null&&(T=K),d.baseState=T,d.firstBaseUpdate=j,d.lastBaseUpdate=q,s=d.shared.interleaved,s!==null){d=s;do v|=d.lane,d=d.next;while(d!==s)}else p===null&&(d.shared.lanes=0);Dr|=v,n.lanes=v,n.memoizedState=K}}function Dp(n,s,o){if(n=s.effects,s.effects=null,n!==null)for(s=0;s<n.length;s++){var l=n[s],d=l.callback;if(d!==null){if(l.callback=null,l=o,typeof d!="function")throw Error(r(191,d));d.call(l)}}}var Vi={},pn=Xn(Vi),Bi=Xn(Vi),Ui=Xn(Vi);
vendor: 6,573 bytes, line 38
38function Mr(n){if(n===Vi)throw Error(r(174));return n}function Ku(n,s){switch(De(Ui,s),De(Bi,n),De(pn,Vi),n=s.nodeType,n){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:Ql(null,"");break;default:n=n===8?s.parentNode:s,s=n.namespaceURI||null,n=n.tagName,s=Ql(s,n)}Fe(pn),De(pn,s)}function Rs(){Fe(pn),Fe(Bi),Fe(Ui)}function Ip(n){Mr(Ui.current);var s=Mr(pn.current),o=Ql(s,n.type);s!==o&&(De(Bi,n),De(pn,o))}function Qu(n){Bi.current===n&&(Fe(pn),Fe(Bi))}var Ue=Xn(0);function ba(n){for(var s=n;s!==null;){if(s.tag===13){var o=s.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Gu=[];function Yu(){for(var n=0;n<Gu.length;n++)Gu[n]._workInProgressVersionPrimary=null;Gu.length=0}var Ca=V.ReactCurrentDispatcher,Xu=V.ReactCurrentBatchConfig,jr=0,ze=null,et=null,it=null,Ta=!1,zi=!1,$i=0,iS=0;function mt(){throw Error(r(321))}function Ju(n,s){if(s===null)return!1;for(var o=0;o<s.length&&o<n.length;o++)if(!en(n[o],s[o]))return!1;return!0}function Zu(n,s,o,l,d,p){if(jr=p,ze=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Ca.current=n===null||n.memoizedState===null?uS:cS,n=o(l,d),zi){p=0;do{if(zi=!1,$i=0,25<=p)throw Error(r(301));p+=1,it=et=null,s.updateQueue=null,Ca.current=dS,n=o(l,d)}while(zi)}if(Ca.current=Ra,s=et!==null&&et.next!==null,jr=0,it=et=ze=null,Ta=!1,s)throw Error(r(300));return n}function ec(){var n=$i!==0;return $i=0,n}function mn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?ze.memoizedState=it=n:it=it.next=n,it}function qt(){if(et===null){var n=ze.alternate;n=n!==null?n.memoizedState:null}else n=et.next;var s=it===null?ze.memoizedState:it.next;if(s!==null)it=s,et=n;else{if(n===null)throw Error(r(310));et=n,n={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},it===null?ze.memoizedState=it=n:it=it.next=n}return it}function Wi(n,s){return typeof s=="function"?s(n):s}function tc(n){var s=qt(),o=s.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var l=et,d=l.baseQueue,p=o.pending;if(p!==null){if(d!==null){var v=d.next;d.next=p.next,p.next=v}l.baseQueue=d=p,o.pending=null}if(d!==null){p=d.next,l=l.baseState;var b=v=null,T=null,j=p;do{var q=j.lane;if((jr&q)===q)T!==null&&(T=T.next={lane:0,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),l=j.hasEagerState?j.eagerState:n(l,j.action);else{var K={lane:q,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};T===null?(b=T=K,v=l):T=T.next=K,ze.lanes|=q,Dr|=q}j=j.next}while(j!==null&&j!==p);T===null?v=l:T.next=b,en(l,s.memoizedState)||(At=!0),s.memoizedState=l,s.baseState=v,s.baseQueue=T,o.lastRenderedState=l}if(n=o.interleaved,n!==null){d=n;do p=d.lane,ze.lanes|=p,Dr|=p,d=d.next;while(d!==n)}else d===null&&(o.lanes=0);return[s.memoizedState,o.dispatch]}function nc(n){var s=qt(),o=s.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var l=o.dispatch,d=o.pending,p=s.memoizedState;if(d!==null){o.pending=null;var v=d=d.next;do p=n(p,v.action),v=v.next;while(v!==d);en(p,s.memoizedState)||(At=!0),s.memoizedState=p,s.baseQueue===null&&(s.baseState=p),o.lastRenderedState=p}return[p,l]}function Fp(){}function Vp(n,s){var o=ze,l=qt(),d=s(),p=!en(l.memoizedState,d);if(p&&(l.memoizedState=d,At=!0),l=l.queue,rc(zp.bind(null,o,l,n),[n]),l.getSnapshot!==s||p||it!==null&&it.memoizedState.tag&1){if(o.flags|=2048,qi(9,Up.bind(null,o,l,d,s),void 0,null),ot===null)throw Error(r(349));(jr&30)!==0||Bp(o,s,d)}return d}function Bp(n,s,o){n.flags|=16384,n={getSnapshot:s,value:o},s=ze.updateQueue,s===null?(s={lastEffect:null,stores:null},ze.updateQueue=s,s.stores=[n]):(o=s.stores,o===null?s.stores=[n]:o.push(n))}function Up(n,s,o,l){s.value=o,s.getSnapshot=l,$p(s)&&Wp(n)}function zp(n,s,o){return o(function(){$p(s)&&Wp(n)})}function $p(n){var s=n.getSnapshot;n=n.value;try{var o=s();return!en(n,o)}catch{return!0}}function Wp(n){var s=Rn(n,1);s!==null&&on(s,n,1,-1)}function qp(n){var s=mn();return typeof n=="function"&&(n=n()),s.memoizedState=s.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Wi,lastRenderedState:n},s.queue=n,n=n.dispatch=lS.bind(null,ze,n),[s.memoizedState,n]}function qi(n,s,o,l){return n={tag:n,create:s,destroy:o,deps:l,next:null},s=ze.updateQueue,s===null?(s={lastEffect:null,stores:null},ze.updateQueue=s,s.lastEffect=n.next=n):(o=s.lastEffect,o===null?s.lastEffect=n.next=n:(l=o.next,o.next=n,n.next=l,s.lastEffect=n)),n}function Hp(){return qt().memoizedState}function Pa(n,s,o,l){var d=mn();ze.flags|=n,d.memoizedState=qi(1|s,o,void 0,l===void 0?null:l)}function Aa(n,s,o,l){var d=qt();l=l===void 0?null:l;var p=void 0;if(et!==null){var v=et.memoizedState;if(p=v.destroy,l!==null&&Ju(l,v.deps)){d.memoizedState=qi(s,o,p,l);return}}ze.flags|=n,d.memoizedState=qi(1|s,o,p,l)}function Kp(n,s){return Pa(8390656,8,n,s)}function rc(n,s){return Aa(2048,8,n,s)}function Qp(n,s){return Aa(4,2,n,s)}function Gp(n,s){return Aa(4,4,n,s)}function Yp(n,s){if(typeof s=="function")return n=n(),s(n),function(){s(null)};if(s!=null)return n=n(),s.current=n,function(){s.current=null}}function Xp(n,s,o){return o=o!=null?o.concat([n]):null,Aa(4,4,Yp.bind(null,s,n),o)}function sc(){}function Jp(n,s){var o=qt();s=s===void 0?null:s;var l=o.memoizedState;return l!==null&&s!==null&&Ju(s,l[1])?l[0]:(o.memoizedState=[n,s],n)}function Zp(n,s){var o=qt();s=s===void 0?null:s;var l=o.memoizedState;return l!==null&&s!==null&&Ju(s,l[1])?l[0]:(n=n(),o.memoizedState=[n,s],n)}function em(n,s,o){return(jr&21)===0?(n.baseState&&(n.baseState=!1,At=!0),n.memoizedState=o):(en(o,s)||(o=_h(),ze.lanes|=o,Dr|=o,n.baseState=!0),s)}function oS(n,s){var o=je;je=o!==0&&4>o?o:4,n(!0);var l=Xu.transition;Xu.transition={};try{n(!1),s()}finally{je=o,Xu.transition=l}}function tm(){return qt().memoizedState}function aS(n,s,o){var l=ir(n);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},nm(n))rm(s,o);else if(o=Lp(n,s,o,l),o!==null){var d=kt();on(o,n,l,d),sm(o,s,l)}}function lS(n,s,o){var l=ir(n),d={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(nm(n))rm(s,d);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=s.lastRenderedReducer,p!==null))try{var v=s.lastRenderedState,b
vendor: 6,825 bytes, lines 38-40
38=p(v,o);if(d.hasEagerState=!0,d.eagerState=b,en(b,v)){var T=s.interleaved;T===null?(d.next=d,qu(s)):(d.next=T.next,T.next=d),s.interleaved=d;return}}catch{}finally{}o=Lp(n,s,d,l),o!==null&&(d=kt(),on(o,n,l,d),sm(o,s,l))}}function nm(n){var s=n.alternate;return n===ze||s!==null&&s===ze}function rm(n,s){zi=Ta=!0;var o=n.pending;o===null?s.next=s:(s.next=o.next,o.next=s),n.pending=s}function sm(n,s,o){if((o&4194240)!==0){var l=s.lanes;l&=n.pendingLanes,o|=l,s.lanes=o,ou(n,o)}}var Ra={readContext:Wt,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},uS={readContext:Wt,useCallback:function(n,s){return mn().memoizedState=[n,s===void 0?null:s],n},useContext:Wt,useEffect:Kp,useImperativeHandle:function(n,s,o){return o=o!=null?o.concat([n]):null,Pa(4194308,4,Yp.bind(null,s,n),o)},useLayoutEffect:function(n,s){return Pa(4194308,4,n,s)},useInsertionEffect:function(n,s){return Pa(4,2,n,s)},useMemo:function(n,s){var o=mn();return s=s===void 0?null:s,n=n(),o.memoizedState=[n,s],n},useReducer:function(n,s,o){var l=mn();return s=o!==void 0?o(s):s,l.memoizedState=l.baseState=s,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:s},l.queue=n,n=n.dispatch=aS.bind(null,ze,n),[l.memoizedState,n]},useRef:function(n){var s=mn();return n={current:n},s.memoizedState=n},useState:qp,useDebugValue:sc,useDeferredValue:function(n){return mn().memoizedState=n},useTransition:function(){var n=qp(!1),s=n[0];return n=oS.bind(null,n[1]),mn().memoizedState=n,[s,n]},useMutableSource:function(){},useSyncExternalStore:function(n,s,o){var l=ze,d=mn();if(Be){if(o===void 0)throw Error(r(407));o=o()}else{if(o=s(),ot===null)throw Error(r(349));(jr&30)!==0||Bp(l,s,o)}d.memoizedState=o;var p={value:o,getSnapshot:s};return d.queue=p,Kp(zp.bind(null,l,p,n),[n]),l.flags|=2048,qi(9,Up.bind(null,l,p,o,s),void 0,null),o},useId:function(){var n=mn(),s=ot.identifierPrefix;if(Be){var o=An,l=Pn;o=(l&~(1<<32-Zt(l)-1)).toString(32)+o,s=":"+s+"R"+o,o=$i++,0<o&&(s+="H"+o.toString(32)),s+=":"}else o=iS++,s=":"+s+"r"+o.toString(32)+":";return n.memoizedState=s},unstable_isNewReconciler:!1},cS={readContext:Wt,useCallback:Jp,useContext:Wt,useEffect:rc,useImperativeHandle:Xp,useInsertionEffect:Qp,useLayoutEffect:Gp,useMemo:Zp,useReducer:tc,useRef:Hp,useState:function(){return tc(Wi)},useDebugValue:sc,useDeferredValue:function(n){var s=qt();return em(s,et.memoizedState,n)},useTransition:function(){var n=tc(Wi)[0],s=qt().memoizedState;return[n,s]},useMutableSource:Fp,useSyncExternalStore:Vp,useId:tm,unstable_isNewReconciler:!1},dS={readContext:Wt,useCallback:Jp,useContext:Wt,useEffect:rc,useImperativeHandle:Xp,useInsertionEffect:Qp,useLayoutEffect:Gp,useMemo:Zp,useReducer:nc,useRef:Hp,useState:function(){return nc(Wi)},useDebugValue:sc,useDeferredValue:function(n){var s=qt();return et===null?s.memoizedState=n:em(s,et.memoizedState,n)},useTransition:function(){var n=nc(Wi)[0],s=qt().memoizedState;return[n,s]},useMutableSource:Fp,useSyncExternalStore:Vp,useId:tm,unstable_isNewReconciler:!1};function nn(n,s){if(n&&n.defaultProps){s=X({},s),n=n.defaultProps;for(var o in n)s[o]===void 0&&(s[o]=n[o]);return s}return s}function ic(n,s,o,l){s=n.memoizedState,o=o(l,s),o=o==null?s:X({},s,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var _a={isMounted:function(n){return(n=n._reactInternals)?Ar(n)===n:!1},enqueueSetState:function(n,s,o){n=n._reactInternals;var l=kt(),d=ir(n),p=_n(l,d);p.payload=s,o!=null&&(p.callback=o),s=tr(n,p,d),s!==null&&(on(s,n,d,l),ka(s,n,d))},enqueueReplaceState:function(n,s,o){n=n._reactInternals;var l=kt(),d=ir(n),p=_n(l,d);p.tag=1,p.payload=s,o!=null&&(p.callback=o),s=tr(n,p,d),s!==null&&(on(s,n,d,l),ka(s,n,d))},enqueueForceUpdate:function(n,s){n=n._reactInternals;var o=kt(),l=ir(n),d=_n(o,l);d.tag=2,s!=null&&(d.callback=s),s=tr(n,d,l),s!==null&&(on(s,n,l,o),ka(s,n,l))}};function im(n,s,o,l,d,p,v){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(l,p,v):s.prototype&&s.prototype.isPureReactComponent?!Ni(o,l)||!Ni(d,p):!0}function om(n,s,o){var l=!1,d=Jn,p=s.contextType;return typeof p=="object"&&p!==null?p=Wt(p):(d=Pt(s)?_r:pt.current,l=s.contextTypes,p=(l=l!=null)?ks(n,d):Jn),s=new s(o,p),n.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=_a,n.stateNode=s,s._reactInternals=n,l&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=d,n.__reactInternalMemoizedMaskedChildContext=p),s}function am(n,s,o,l){n=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(o,l),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(o,l),s.state!==n&&_a.enqueueReplaceState(s,s.state,null)}function oc(n,s,o,l){var d=n.stateNode;d.props=o,d.state=n.memoizedState,d.refs={},Hu(n);var p=s.contextType;typeof p=="object"&&p!==null?d.context=Wt(p):(p=Pt(s)?_r:pt.current,d.context=ks(n,p)),d.state=n.memoizedState,p=s.getDerivedStateFromProps,typeof p=="function"&&(ic(n,s,p,o),d.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(s=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),s!==d.state&&_a.enqueueReplaceState(d,d.state,null),Ea(n,o,d,l),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308)}function _s(n,s){try{var o="",l=s;do o+=ke(l),l=l.return;while(l);var d=o}catch(p){d=`
39Error generating stack: `+p.message+`
40`+p.stack}return{value:n,source:s,stack:d,digest:null}}function ac(n,s,o){return{value:n,source:null,stack:o??null,digest:s??null}}function lc(n,s){try{console.error(s.value)}catch(o){setTimeout(function(){throw o})}}var fS=typeof WeakMap=="function"?WeakMap:Map;function lm(n,s,o){o=_n(-1,o),o.tag=3,o.payload={element:null};var l=s.value;return o.callback=function(){Ia||(Ia=!0,Ec=l),lc(n,s)},o}function um(n,s,o){o=_n(-1,o),o.tag=3;var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var d=s.value;o.payload=function(){return l(d)},o.callback=function(){lc(n,s)}}var p=n.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(o.callback=function(){lc(n,s),typeof l!="function"&&(rr===null?rr=new Set([this]):rr.add(this));var v=s.stack;this.componentDidCatch(s.value,{componentStack:v!==null?v:""})}),o}function cm(n,s,o){var l=n.pingCache;if(l===null){l=n.pingCache=new fS;var d=new Set;l.set(s,d)}else d=l.get(s),d===void 0&&(d=new Set,l.set(s,d));
vendor: 15,802 bytes, line 40
40d.has(o)||(d.add(o),n=TS.bind(null,n,s,o),s.then(n,n))}function dm(n){do{var s;if((s=n.tag===13)&&(s=n.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return n;n=n.return}while(n!==null);return null}function fm(n,s,o,l,d){return(n.mode&1)===0?(n===s?n.flags|=65536:(n.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(s=_n(-1,1),s.tag=2,tr(o,s,1))),o.lanes|=1),n):(n.flags|=65536,n.lanes=d,n)}var hS=V.ReactCurrentOwner,At=!1;function St(n,s,o,l){s.child=n===null?Op(s,null,o,l):Ts(s,n.child,o,l)}function hm(n,s,o,l,d){o=o.render;var p=s.ref;return As(s,d),l=Zu(n,s,o,l,p,d),o=ec(),n!==null&&!At?(s.updateQueue=n.updateQueue,s.flags&=-2053,n.lanes&=~d,Nn(n,s,d)):(Be&&o&&Du(s),s.flags|=1,St(n,s,l,d),s.child)}function pm(n,s,o,l,d){if(n===null){var p=o.type;return typeof p=="function"&&!_c(p)&&p.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(s.tag=15,s.type=p,mm(n,s,p,l,d)):(n=$a(o.type,null,l,s,s.mode,d),n.ref=s.ref,n.return=s,s.child=n)}if(p=n.child,(n.lanes&d)===0){var v=p.memoizedProps;if(o=o.compare,o=o!==null?o:Ni,o(v,l)&&n.ref===s.ref)return Nn(n,s,d)}return s.flags|=1,n=ar(p,l),n.ref=s.ref,n.return=s,s.child=n}function mm(n,s,o,l,d){if(n!==null){var p=n.memoizedProps;if(Ni(p,l)&&n.ref===s.ref)if(At=!1,s.pendingProps=l=p,(n.lanes&d)!==0)(n.flags&131072)!==0&&(At=!0);else return s.lanes=n.lanes,Nn(n,s,d)}return uc(n,s,o,l,d)}function gm(n,s,o){var l=s.pendingProps,d=l.children,p=n!==null?n.memoizedState:null;if(l.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(Os,Vt),Vt|=o;else{if((o&1073741824)===0)return n=p!==null?p.baseLanes|o:o,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:n,cachePool:null,transitions:null},s.updateQueue=null,De(Os,Vt),Vt|=n,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=p!==null?p.baseLanes:o,De(Os,Vt),Vt|=l}else p!==null?(l=p.baseLanes|o,s.memoizedState=null):l=o,De(Os,Vt),Vt|=l;return St(n,s,d,o),s.child}function ym(n,s){var o=s.ref;(n===null&&o!==null||n!==null&&n.ref!==o)&&(s.flags|=512,s.flags|=2097152)}function uc(n,s,o,l,d){var p=Pt(o)?_r:pt.current;return p=ks(s,p),As(s,d),o=Zu(n,s,o,l,p,d),l=ec(),n!==null&&!At?(s.updateQueue=n.updateQueue,s.flags&=-2053,n.lanes&=~d,Nn(n,s,d)):(Be&&l&&Du(s),s.flags|=1,St(n,s,o,d),s.child)}function vm(n,s,o,l,d){if(Pt(o)){var p=!0;pa(s)}else p=!1;if(As(s,d),s.stateNode===null)Oa(n,s),om(s,o,l),oc(s,o,l,d),l=!0;else if(n===null){var v=s.stateNode,b=s.memoizedProps;v.props=b;var T=v.context,j=o.contextType;typeof j=="object"&&j!==null?j=Wt(j):(j=Pt(o)?_r:pt.current,j=ks(s,j));var q=o.getDerivedStateFromProps,K=typeof q=="function"||typeof v.getSnapshotBeforeUpdate=="function";K||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(b!==l||T!==j)&&am(s,v,l,j),er=!1;var W=s.memoizedState;v.state=W,Ea(s,l,v,d),T=s.memoizedState,b!==l||W!==T||Tt.current||er?(typeof q=="function"&&(ic(s,o,q,l),T=s.memoizedState),(b=er||im(s,o,b,l,W,T,j))?(K||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(s.flags|=4194308)):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=l,s.memoizedState=T),v.props=l,v.state=T,v.context=j,l=b):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),l=!1)}else{v=s.stateNode,Mp(n,s),b=s.memoizedProps,j=s.type===s.elementType?b:nn(s.type,b),v.props=j,K=s.pendingProps,W=v.context,T=o.contextType,typeof T=="object"&&T!==null?T=Wt(T):(T=Pt(o)?_r:pt.current,T=ks(s,T));var Z=o.getDerivedStateFromProps;(q=typeof Z=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(b!==K||W!==T)&&am(s,v,l,T),er=!1,W=s.memoizedState,v.state=W,Ea(s,l,v,d);var re=s.memoizedState;b!==K||W!==re||Tt.current||er?(typeof Z=="function"&&(ic(s,o,Z,l),re=s.memoizedState),(j=er||im(s,o,j,l,W,re,T)||!1)?(q||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(l,re,T),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(l,re,T)),typeof v.componentDidUpdate=="function"&&(s.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof v.componentDidUpdate!="function"||b===n.memoizedProps&&W===n.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&W===n.memoizedState||(s.flags|=1024),s.memoizedProps=l,s.memoizedState=re),v.props=l,v.state=re,v.context=T,l=j):(typeof v.componentDidUpdate!="function"||b===n.memoizedProps&&W===n.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&W===n.memoizedState||(s.flags|=1024),l=!1)}return cc(n,s,o,l,p,d)}function cc(n,s,o,l,d,p){ym(n,s);var v=(s.flags&128)!==0;if(!l&&!v)return d&&Ep(s,o,!1),Nn(n,s,p);l=s.stateNode,hS.current=s;var b=v&&typeof o.getDerivedStateFromError!="function"?null:l.render();return s.flags|=1,n!==null&&v?(s.child=Ts(s,n.child,null,p),s.child=Ts(s,null,b,p)):St(n,s,b,p),s.memoizedState=l.state,d&&Ep(s,o,!0),s.child}function wm(n){var s=n.stateNode;s.pendingContext?Sp(n,s.pendingContext,s.pendingContext!==s.context):s.context&&Sp(n,s.context,!1),Ku(n,s.containerInfo)}function xm(n,s,o,l,d){return Cs(),Bu(d),s.flags|=256,St(n,s,o,l),s.child}var dc={dehydrated:null,treeContext:null,retryLane:0};function fc(n){return{baseLanes:n,cachePool:null,transitions:null}}function Sm(n,s,o){var l=s.pendingProps,d=Ue.current,p=!1,v=(s.flags&128)!==0,b;if((b=v)||(b=n!==null&&n.memoizedState===null?!1:(d&2)!==0),b?(p=!0,s.flags&=-129):(n===null||n.memoizedState!==null)&&(d|=1),De(Ue,d&1),n===null)return Vu(s),n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((s.mode&1)===0?s.lanes=1:n.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(v=l.children,n=l.fallback,p?(l=s.mode,p=s.child,v={mode:"hidden",children:v},(l&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=v):p=Wa(v,l,0,null),n=Br(n,l,o,null),p.return=s,n.return=s,p.sibling=n,s.child=p,s.child.memoizedState=fc(o),s.memoizedState=dc,n):hc(s,v));if(d=n.memoizedState,d!==null&&(b=d.dehydrated,b!==null))return pS(n,s,v,l,b,d,o);if(p){p=l.fallback,v=s.mode,d=n.child,b=d.sibling;var T={mode:"hidden",children:l.children};return(v&1)===0&&s.child!==d?(l=s.child,l.childLanes=0,l.pendingProps=T,s.deletions=null):(l=ar(d,T),l.subtreeFlags=d.subtreeFlags&14680064),b!==null?p=ar(b,p):(p=Br(p,v,o,null),p.flags|=2),p.return=s,l.return=s,l.sibling=p,s.child=l,l=p,p=s.child,v=n.child.memoizedState,v=v===null?fc(o):{baseLanes:v.baseLanes|o,cachePool:null,transitions:v.transitions},p.memoizedState=v,p.childLanes=n.childLanes&~o,s.memoizedState=dc,l}return p=n.child,n=p.sibling,l=ar(p,{mode:"visible",children:l.children}),(s.mode&1)===0&&(l.lanes=o),l.return=s,l.sibling=null,n!==null&&(o=s.deletions,o===null?(s.deletions=[n],s.flags|=16):o.push(n)),s.child=l,s.memoizedState=null,l}function hc(n,s){return s=Wa({mode:"visible",children:s},n.mode,0,null),s.return=n,n.child=s}function Na(n,s,o,l){return l!==null&&Bu(l),Ts(s,n.child,null,o),n=hc(s,s.pendingProps.children),n.flags|=2,s.memoizedState=null,n}function pS(n,s,o,l,d,p,v){if(o)return s.flags&256?(s.flags&=-257,l=ac(Error(r(422))),Na(n,s,v,l)):s.memoizedState!==null?(s.child=n.child,s.flags|=128,null):(p=l.fallback,d=s.mode,l=Wa({mode:"visible",children:l.children},d,0,null),p=Br(p,d,v,null),p.flags|=2,l.return=s,p.return=s,l.sibling=p,s.child=l,(s.mode&1)!==0&&Ts(s,n.child,null,v),s.child.memoizedState=fc(v),s.memoizedState=dc,p);if((s.mode&1)===0)return Na(n,s,v,null);if(d.data==="$!"){if(l=d.nextSibling&&d.nextSibling.dataset,l)var b=l.dgst;return l=b,p=Error(r(419)),l=ac(p,l,void 0),Na(n,s,v,l)}if(b=(v&n.childLanes)!==0,At||b){if(l=ot,l!==null){switch(v&-v){case 4:d=2;break;case 16:d=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:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(l.suspendedLanes|v))!==0?0:d,d!==0&&d!==p.retryLane&&(p.retryLane=d,Rn(n,d),on(l,n,d,-1))}return Rc(),l=ac(Error(r(421))),Na(n,s,v,l)}return d.data==="$?"?(s.flags|=128,s.child=n.child,s=PS.bind(null,n),d._reactRetry=s,null):(n=p.treeContext,Ft=Yn(d.nextSibling),It=s,Be=!0,tn=null,n!==null&&(zt[$t++]=Pn,zt[$t++]=An,zt[$t++]=Nr,Pn=n.id,An=n.overflow,Nr=s),s=hc(s,l.children),s.flags|=4096,s)}function km(n,s,o){n.lanes|=s;var l=n.alternate;l!==null&&(l.lanes|=s),Wu(n.return,s,o)}function pc(n,s,o,l,d){var p=n.memoizedState;p===null?n.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:d}:(p.isBackwards=s,p.rendering=null,p.renderingStartTime=0,p.last=l,p.tail=o,p.tailMode=d)}function Em(n,s,o){var l=s.pendingProps,d=l.revealOrder,p=l.tail;if(St(n,s,l.children,o),l=Ue.current,(l&2)!==0)l=l&1|2,s.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=s.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&km(n,o,s);else if(n.tag===19)km(n,o,s);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===s)break e;for(;n.sibling===null;){if(n.return===null||n.return===s)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}l&=1}if(De(Ue,l),(s.mode&1)===0)s.memoizedState=null;else switch(d){case"forwards":for(o=s.child,d=null;o!==null;)n=o.alternate,n!==null&&ba(n)===null&&(d=o),o=o.sibling;o=d,o===null?(d=s.child,s.child=null):(d=o.sibling,o.sibling=null),pc(s,!1,d,o,p);break;case"backwards":for(o=null,d=s.child,s.child=null;d!==null;){if(n=d.alternate,n!==null&&ba(n)===null){s.child=d;break}n=d.sibling,d.sibling=o,o=d,d=n}pc(s,!0,o,null,p);break;case"together":pc(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Oa(n,s){(s.mode&1)===0&&n!==null&&(n.alternate=null,s.alternate=null,s.flags|=2)}function Nn(n,s,o){if(n!==null&&(s.dependencies=n.dependencies),Dr|=s.lanes,(o&s.childLanes)===0)return null;if(n!==null&&s.child!==n.child)throw Error(r(153));if(s.child!==null){for(n=s.child,o=ar(n,n.pendingProps),s.child=o,o.return=s;n.sibling!==null;)n=n.sibling,o=o.sibling=ar(n,n.pendingProps),o.return=s;o.sibling=null}return s.child}function mS(n,s,o){switch(s.tag){case 3:wm(s),Cs();break;case 5:Ip(s);break;case 1:Pt(s.type)&&pa(s);break;case 4:Ku(s,s.stateNode.containerInfo);break;case 10:var l=s.type._context,d=s.memoizedProps.value;De(xa,l._currentValue),l._currentValue=d;break;case 13:if(l=s.memoizedState,l!==null)return l.dehydrated!==null?(De(Ue,Ue.current&1),s.flags|=128,null):(o&s.child.childLanes)!==0?Sm(n,s,o):(De(Ue,Ue.current&1),n=Nn(n,s,o),n!==null?n.sibling:null);De(Ue,Ue.current&1);break;case 19:if(l=(o&s.childLanes)!==0,(n.flags&128)!==0){if(l)return Em(n,s,o);s.flags|=128}if(d=s.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),De(Ue,Ue.current),l)break;return null;case 22:case 23:return s.lanes=0,gm(n,s,o)}return Nn(n,s,o)}var bm,mc,Cm,Tm;bm=function(n,s){for(var o=s.child;o!==null;){if(o.tag===5||o.tag===6)n.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===s)break;for(;o.sibling===null;){if(o.return===null||o.return===s)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},mc=function(){},Cm=function(n,s,o,l){var d=n.memoizedProps;if(d!==l){n=s.stateNode,Mr(pn.current);var p=null;switch(o){case"input":d=Wl(n,d),l=Wl(n,l),p=[];break;case"select":d=X({},d,{value:void 0}),l=X({},l,{value:void 0}),p=[];break;case"textarea":d=Kl(n,d),l=Kl(n,l),p=[];break;default:typeof d.onClick!="function"&&typeof l.onClick=="function"&&(n.onclick=da)}Gl(o,l);var v;o=null;for(j in d)if(!l.hasOwnProperty(j)&&d.hasOwnProperty(j)&&d[j]!=null)if(j==="style"){var b=d[j];for(v in b)b.hasOwnProperty(v)&&(o||(o={}),o[v]="")}else j!=="dangerouslySetInnerHTML"&&j!=="children"&&j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(a.hasOwnProperty(j)?p||(p=[]):(p=p||[]).push(j,null));for(j in l){var T=l[j];if(b=d!=null?d[j]:void 0,l.hasOwnProperty(j)&&T!==b&&(T!=null||b!=null))if(j==="style")if(b){for(v in b)!b.hasOwnProperty(v)||T&&T.hasOwnProperty(v)||(o||(o={}),o[v]="");for(v in T)T.hasOwnProperty(v)&&b[v]!==T[v]&&(o||(o={}),o[v]=T[v])}else o||(p||(p=[]),p.push(j,o)),o=T;else j==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,b=b?b.__html:void 0,T!=null&&b!==T&&(p=p||[]).push(j,T)):j==="children"?typeof T!="string"&&typeof T!="number"||(p=p||[]).push(j,""+T):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&(a.hasOwnProperty(j)?(T!=null&&j==="onScroll"&&Ie("scroll",n),p||b===T||(p=[])):(p=p||[]).push(j,T))}o&&(p=p||[]).push("style",o);var j=p;(s.updateQueue=j)&&(s.flags|=4)}},Tm=function(n,s,o,l){o!==l&&(s.flags|=4)};function Hi(n,s){if(!Be)switch(n.tailMode){case"hidden":s=n.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?s||n.tail===null?n.tail=null:n.tail.sibling=null:l.sibling=null}}function gt(n){var s=n.alternate!==null&&n.alternate.child===n.child,o=0,l=0;if(s)for(var d=n.child;d!==null;)o|=d.lanes|d.childLanes,l|=d.subtreeFlags&14680064,l|=d.flags&14680064,d.return=n,d=d.sibling;else for(d=n.child;d!==null;)o|=d.lanes|d.childLanes,l|=d.subtreeFlags,l|=d.flags,d.return=n,d=d.sibling;return n.subtreeFlags|=l,n.childLanes=o,s}function gS(n,s,o){var l=s.pendingProps;switch(Iu(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(s),null;case 1:return Pt(s.type)&&ha(),gt(s),null;case 3:return l=s.stateNode,Rs(),Fe(Tt),Fe(pt),Yu(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(n===null||n.child===null)&&(va(s)?s.flags|=4:n===null||n.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,tn!==null&&(Tc(tn),tn=null))),mc(n,s),gt(s),null;case 5:Qu(s);var d=Mr(Ui.current);if(o=s.type,n!==null&&s.stateNode!=null)Cm(n,s,o,l,d),n.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!l){if(s.stateNode===null)throw Error(r(166));return gt(s),null}if(n=Mr(pn.current),va(s)){l=s.stateNode,o=s.type;var p=s.memoizedProps;switch(l[hn]=s,l[Di]=p,n=(s.mode&1)!==0,o){case"dialog":Ie("cancel",l),Ie("close",l);break;case"iframe":case"object":case"embed":Ie("load",l);break;case"video":case"audio":for(d=0;d<Li.length;d++)Ie(Li[d],l);break;case"source":Ie("error",l);break;case"img":case"image":case"link":Ie("error",l),Ie("load",l);break;case"details":Ie("toggle",l);break;case"input":oh(l,p),Ie("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!p.multiple},Ie("invalid",l);break;case"textarea":uh(l,p),Ie("invalid",l)}Gl(o,p),d=null;for(var v in p)if(p.hasOwnProperty(v)){var b=p[v];v==="children"?typeof b=="string"?l.textContent!==b&&(p.suppressHydrationWarning!==!0&&ca(l.textContent,b,n),d=["children",b]):typeof b=="number"&&l.textContent!==""+b&&(p.suppressHydrationWarning!==!0&&ca(l.textContent,b,n),d=["children",""+b]):a.hasOwnProperty(v)&&b!=null&&v==="onScroll"&&Ie("scroll",l)}switch(o){case"input":$n(l),lh(l,p,!0);break;case"textarea":$n(l),dh(l);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(l.onclick=da)}l=d,s.updateQueue=l,l!==null&&(s.flags|=4)}else{v=d.nodeType===9?d:d.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=fh(o)),n==="http://www.w3.org/1999/xhtml"?o==="script"?(n=v.createElement("div"),n.innerHTML="<script><\/script>
40",n=n.removeChild(n.firstChild)):typeof l.is=="string"?n=v.createElement(o,{is:l.is}):(n=v.createElement(o),o==="select"&&(v=n,l.multiple?v.multiple=!0:l.size&&(v.size=l.size))):n=v.createElementNS(n,o),n[hn]=s,n[Di]=l,bm(n,s,!1,!1),s.stateNode=n;e:{switch(v=Yl(o,l),o){case"dialog":Ie("cancel",n),Ie("close",n),d=l;break;case"iframe":case"object":case"embed":Ie("load",n),d=l;break;case"video":case"audio":for(d=0;d<Li.length;d++)Ie(Li[d],n);d=l;break;case"source":Ie("error",n),d=l;break;case"img":case"image":case"link":Ie("error",n),Ie("load",n),d=l;break;case"details":Ie("toggle",n),d=l;break;case"input":oh(n,l),d=Wl(n,l),Ie("invalid",n);break;case"option":d=l;break;case"select":n._wrapperState={wasMultiple:!!l.multiple},d=X({},l,{value:void 0}),Ie("invalid",n);break;case"textarea":uh(n,l),d=Kl(n,l),Ie("invalid",n);break;default:d=l}Gl(o,d),b=d;for(p in b)if(b.hasOwnProperty(p)){var T=b[p];p==="style"?mh(n,T):p==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&hh(n,T)):p==="children"?typeof T=="string"?(o!=="textarea"||T!=="")&&pi(n,T):typeof T=="number"&&pi(n,""+T):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(a.hasOwnProperty(p)?T!=null&&p==="onScroll"&&Ie("scroll",n):T!=null&&D(n,p,T,v))}switch(o){case"input":$n(n),lh(n,l,!1);break;case"textarea":$n(n),dh(n);break;case"option":l.value!=null&&n.setAttribute("value",""+Ne(l.value));break;case"select":n.multiple=!!l.multiple,p=l.value,p!=null?cs(n,!!l.multiple,p,!1):l.defaultValue!=null&&cs(n,!!l.multiple,l.defaultValue,!0);break;default:typeof d.onClick=="function"&&(n.onclick=da)}switch(o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return gt(s),null;case 6:if(n&&s.stateNode!=null)Tm(n,s,n.memoizedProps,l);else{if(typeof l!="string"&&s.stateNode===null)throw Error(r(166));if(o=Mr(Ui.current),Mr(pn.current),va(s)){if(l=s.stateNode,o=s.memoizedProps,l[hn]=s,(p=l.nodeValue!==o)&&(n=It,n!==null))switch(n.tag){case 3:ca(l.nodeValue,o,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&ca(l.nodeValue,o,(n.mode&1)!==0)}p&&(s.flags|=4)}else l=(o.nodeType===9?o:o.ownerDocument).createTextNode(l),l[hn]=s,s.stateNode=l}return gt(s),null;case 13:if(Fe(Ue),l=s.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Be&&Ft!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Rp(),Cs(),s.flags|=98560,p=!1;else if(p=va(s),l!==null&&l.dehydrated!==null){if(n===null){if(!p)throw Error(r(318));if(p=s.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(r(317));p[hn]=s}else Cs(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;gt(s),p=!1}else tn!==null&&(Tc(tn),tn=null),p=!0;if(!p)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=o,s):(l=l!==null,l!==(n!==null&&n.memoizedState!==null)&&l&&(s.child.flags|=8192,(s.mode&1)!==0&&(n===null||(Ue.current&1)!==0?tt===0&&(tt=3):Rc())),s.updateQueue!==null&&(s.flags|=4),gt(s),null);case 4:return Rs(),mc(n,s),n===null&&Mi(s.stateNode.containerInfo),gt(s),null;case 10:return $u(s.type._context),gt(s),null;case 17:return Pt(s.type)&&ha(),gt(s),null;case 19:if(Fe(Ue),p=s.memoizedState,p===null)return gt(s),null;if(l=(s.flags&128)!==0,v=p.rendering,v===null)if(l)Hi(p,!1);else{if(tt!==0||n!==null&&(n.flags&128)!==0)for(n=s.child;n!==null;){if(v=ba(n),v!==null){for(s.flags|=128,Hi(p,!1),l=v.updateQueue,l!==null&&(s.updateQueue=l,s.flags|=4),s.subtreeFlags=0,l=o,o=s.child;o!==null;)p=o,n=l,p.flags&=14680066,v=p.alternate,v===null?(p.childLanes=0,p.lanes=n,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=v.childLanes,p.lanes=v.lanes,p.child=v.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=v.memoizedProps,p.memoizedState=v.memoizedState,p.updateQueue=v.updateQueue,p.type=v.type,n=v.dependencies,p.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),o=o.sibling;return De(Ue,Ue.current&1|2),s.child}n=n.sibling}p.tail!==null&&Ke()>Ls&&(s.flags|=128,l=!0,Hi(p,!1),s.lanes=4194304)}else{if(!l)if(n=ba(v),n!==null){if(s.flags|=128,l=!0,o=n.updateQueue,o!==null&&(s.updateQueue=o,s.flags|=4),Hi(p,!0),p.tail===null&&p.tailMode==="hidden"&&!v.alternate&&!Be)return gt(s),null}else 2*Ke()-p.renderingStartTime>Ls&&o!==1073741824&&(s.flags|=128,l=!0,Hi(p,!1),s.lanes=4194304);p.isBackwards?(v.sibling=s.child,s.child=v):(o=p.last,o!==null?o.sibling=v:s.child=v,p.last=v)}return p.tail!==null?(s=p.tail,p.rendering=s,p.tail=s.sibling,p.renderingStartTime=Ke(),s.sibling=null,o=Ue.current,De(Ue,l?o&1|2:o&1),s):(gt(s),null);case 22:case 23:return Ac(),l=s.memoizedState!==null,n!==null&&n.memoizedState!==null!==l&&(s.flags|=8192),l&&(s.mode&1)!==0?(Vt&1073741824)!==0&&(gt(s),s.subtreeFlags&6&&(s.flags|=8192)):gt(s),null;case 24:return null;case 25:return null}throw Error(r(156,s.tag))}function yS(n,s){switch(Iu(s),s.tag){case 1:return Pt(s.type)&&ha(),n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 3:return Rs(),Fe(Tt),Fe(pt),Yu(),n=s.flags,(n&65536)!==0&&(n&128)===0?(s.flags=n&-65537|128,s):null;case 5:return Qu(s),null;case 13:if(Fe(Ue),n=s.memoizedState,n!==null&&n.dehydrated!==null){if(s.alternate===null)throw Error(r(340));Cs()}return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 19:return Fe(Ue),null;case 4:return Rs(),null;case 10:return $u(s.type._context),null;case 22:case 23:return Ac(),null;case 24:return null;default:return null}}var La=!1,yt=!1,vS=typeof WeakSet=="function"?WeakSet:Set,te=null;function Ns(n,s){var o=n.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){We(n,s,l)}else o.current=null}function gc(n,s,o){try{o()}catch(l){We(n,s,l)}}var Pm=!1;function wS(n,s){if(Au=Zo,n=ip(),xu(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var d=l.anchorOffset,p=l.focusNode;
vendor: 14,977 bytes, line 40
40l=l.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var v=0,b=-1,T=-1,j=0,q=0,K=n,W=null;t:for(;;){for(var Z;K!==o||d!==0&&K.nodeType!==3||(b=v+d),K!==p||l!==0&&K.nodeType!==3||(T=v+l),K.nodeType===3&&(v+=K.nodeValue.length),(Z=K.firstChild)!==null;)W=K,K=Z;for(;;){if(K===n)break t;if(W===o&&++j===d&&(b=v),W===p&&++q===l&&(T=v),(Z=K.nextSibling)!==null)break;K=W,W=K.parentNode}K=Z}o=b===-1||T===-1?null:{start:b,end:T}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ru={focusedElem:n,selectionRange:o},Zo=!1,te=s;te!==null;)if(s=te,n=s.child,(s.subtreeFlags&1028)!==0&&n!==null)n.return=s,te=n;else for(;te!==null;){s=te;try{var re=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(re!==null){var ae=re.memoizedProps,Qe=re.memoizedState,O=s.stateNode,A=O.getSnapshotBeforeUpdate(s.elementType===s.type?ae:nn(s.type,ae),Qe);O.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var L=s.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(G){We(s,s.return,G)}if(n=s.sibling,n!==null){n.return=s.return,te=n;break}te=s.return}return re=Pm,Pm=!1,re}function Ki(n,s,o){var l=s.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var d=l=l.next;do{if((d.tag&n)===n){var p=d.destroy;d.destroy=void 0,p!==void 0&&gc(s,o,p)}d=d.next}while(d!==l)}}function Ma(n,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var o=s=s.next;do{if((o.tag&n)===n){var l=o.create;o.destroy=l()}o=o.next}while(o!==s)}}function yc(n){var s=n.ref;if(s!==null){var o=n.stateNode;switch(n.tag){case 5:n=o;break;default:n=o}typeof s=="function"?s(n):s.current=n}}function Am(n){var s=n.alternate;s!==null&&(n.alternate=null,Am(s)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(s=n.stateNode,s!==null&&(delete s[hn],delete s[Di],delete s[Lu],delete s[tS],delete s[nS])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Rm(n){return n.tag===5||n.tag===3||n.tag===4}function _m(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Rm(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function vc(n,s,o){var l=n.tag;if(l===5||l===6)n=n.stateNode,s?o.nodeType===8?o.parentNode.insertBefore(n,s):o.insertBefore(n,s):(o.nodeType===8?(s=o.parentNode,s.insertBefore(n,o)):(s=o,s.appendChild(n)),o=o._reactRootContainer,o!=null||s.onclick!==null||(s.onclick=da));else if(l!==4&&(n=n.child,n!==null))for(vc(n,s,o),n=n.sibling;n!==null;)vc(n,s,o),n=n.sibling}function wc(n,s,o){var l=n.tag;if(l===5||l===6)n=n.stateNode,s?o.insertBefore(n,s):o.appendChild(n);else if(l!==4&&(n=n.child,n!==null))for(wc(n,s,o),n=n.sibling;n!==null;)wc(n,s,o),n=n.sibling}var ut=null,rn=!1;function nr(n,s,o){for(o=o.child;o!==null;)Nm(n,s,o),o=o.sibling}function Nm(n,s,o){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(Ko,o)}catch{}switch(o.tag){case 5:yt||Ns(o,s);case 6:var l=ut,d=rn;ut=null,nr(n,s,o),ut=l,rn=d,ut!==null&&(rn?(n=ut,o=o.stateNode,n.nodeType===8?n.parentNode.removeChild(o):n.removeChild(o)):ut.removeChild(o.stateNode));break;case 18:ut!==null&&(rn?(n=ut,o=o.stateNode,n.nodeType===8?Ou(n.parentNode,o):n.nodeType===1&&Ou(n,o),Ci(n)):Ou(ut,o.stateNode));break;case 4:l=ut,d=rn,ut=o.stateNode.containerInfo,rn=!0,nr(n,s,o),ut=l,rn=d;break;case 0:case 11:case 14:case 15:if(!yt&&(l=o.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){d=l=l.next;do{var p=d,v=p.destroy;p=p.tag,v!==void 0&&((p&2)!==0||(p&4)!==0)&&gc(o,s,v),d=d.next}while(d!==l)}nr(n,s,o);break;case 1:if(!yt&&(Ns(o,s),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(b){We(o,s,b)}nr(n,s,o);break;case 21:nr(n,s,o);break;case 22:o.mode&1?(yt=(l=yt)||o.memoizedState!==null,nr(n,s,o),yt=l):nr(n,s,o);break;default:nr(n,s,o)}}function Om(n){var s=n.updateQueue;if(s!==null){n.updateQueue=null;var o=n.stateNode;o===null&&(o=n.stateNode=new vS),s.forEach(function(l){var d=AS.bind(null,n,l);o.has(l)||(o.add(l),l.then(d,d))})}}function sn(n,s){var o=s.deletions;if(o!==null)for(var l=0;l<o.length;l++){var d=o[l];try{var p=n,v=s,b=v;e:for(;b!==null;){switch(b.tag){case 5:ut=b.stateNode,rn=!1;break e;case 3:ut=b.stateNode.containerInfo,rn=!0;break e;case 4:ut=b.stateNode.containerInfo,rn=!0;break e}b=b.return}if(ut===null)throw Error(r(160));Nm(p,v,d),ut=null,rn=!1;var T=d.alternate;T!==null&&(T.return=null),d.return=null}catch(j){We(d,s,j)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Lm(s,n),s=s.sibling}function Lm(n,s){var o=n.alternate,l=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(sn(s,n),gn(n),l&4){try{Ki(3,n,n.return),Ma(3,n)}catch(ae){We(n,n.return,ae)}try{Ki(5,n,n.return)}catch(ae){We(n,n.return,ae)}}break;case 1:sn(s,n),gn(n),l&512&&o!==null&&Ns(o,o.return);break;case 5:if(sn(s,n),gn(n),l&512&&o!==null&&Ns(o,o.return),n.flags&32){var d=n.stateNode;try{pi(d,"")}catch(ae){We(n,n.return,ae)}}if(l&4&&(d=n.stateNode,d!=null)){var p=n.memoizedProps,v=o!==null?o.memoizedProps:p,b=n.type,T=n.updateQueue;if(n.updateQueue=null,T!==null)try{b==="input"&&p.type==="radio"&&p.name!=null&&ah(d,p),Yl(b,v);var j=Yl(b,p);for(v=0;v<T.length;v+=2){var q=T[v],K=T[v+1];q==="style"?mh(d,K):q==="dangerouslySetInnerHTML"?hh(d,K):q==="children"?pi(d,K):D(d,q,K,j)}switch(b){case"input":ql(d,p);break;case"textarea":ch(d,p);break;case"select":var W=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!p.multiple;var Z=p.value;Z!=null?cs(d,!!p.multiple,Z,!1):W!==!!p.multiple&&(p.defaultValue!=null?cs(d,!!p.multiple,p.defaultValue,!0):cs(d,!!p.multiple,p.multiple?[]:"",!1))}d[Di]=p}catch(ae){We(n,n.return,ae)}}break;case 6:if(sn(s,n),gn(n),l&4){if(n.stateNode===null)throw Error(r(162));d=n.stateNode,p=n.memoizedProps;try{d.nodeValue=p}catch(ae){We(n,n.return,ae)}}break;case 3:if(sn(s,n),gn(n),l&4&&o!==null&&o.memoizedState.isDehydrated)try{Ci(s.containerInfo)}catch(ae){We(n,n.return,ae)}break;case 4:sn(s,n),gn(n);break;case 13:sn(s,n),gn(n),d=n.child,d.flags&8192&&(p=d.memoizedState!==null,d.stateNode.isHidden=p,!p||d.alternate!==null&&d.alternate.memoizedState!==null||(kc=Ke())),l&4&&Om(n);break;case 22:if(q=o!==null&&o.memoizedState!==null,n.mode&1?(yt=(j=yt)||q,sn(s,n),yt=j):sn(s,n),gn(n),l&8192){if(j=n.memoizedState!==null,(n.stateNode.isHidden=j)&&!q&&(n.mode&1)!==0)for(te=n,q=n.child;q!==null;){for(K=te=q;te!==null;){switch(W=te,Z=W.child,W.tag){case 0:case 11:case 14:case 15:Ki(4,W,W.return);break;case 1:Ns(W,W.return);var re=W.stateNode;if(typeof re.componentWillUnmount=="function"){l=W,o=W.return;try{s=l,re.props=s.memoizedProps,re.state=s.memoizedState,re.componentWillUnmount()}catch(ae){We(l,o,ae)}}break;case 5:Ns(W,W.return);break;case 22:if(W.memoizedState!==null){Dm(K);continue}}Z!==null?(Z.return=W,te=Z):Dm(K)}q=q.sibling}e:for(q=null,K=n;;){if(K.tag===5){if(q===null){q=K;try{d=K.stateNode,j?(p=d.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(b=K.stateNode,T=K.memoizedProps.style,v=T!=null&&T.hasOwnProperty("display")?T.display:null,b.style.display=ph("display",v))}catch(ae){We(n,n.return,ae)}}}else if(K.tag===6){if(q===null)try{K.stateNode.nodeValue=j?"":K.memoizedProps}catch(ae){We(n,n.return,ae)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===n)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===n)break e;for(;K.sibling===null;){if(K.return===null||K.return===n)break e;q===K&&(q=null),K=K.return}q===K&&(q=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:sn(s,n),gn(n),l&4&&Om(n);break;case 21:break;default:sn(s,n),gn(n)}}function gn(n){var s=n.flags;if(s&2){try{e:{for(var o=n.return;o!==null;){if(Rm(o)){var l=o;break e}o=o.return}throw Error(r(160))}switch(l.tag){case 5:var d=l.stateNode;l.flags&32&&(pi(d,""),l.flags&=-33);var p=_m(n);wc(n,p,d);break;case 3:case 4:var v=l.stateNode.containerInfo,b=_m(n);vc(n,b,v);break;default:throw Error(r(161))}}catch(T){We(n,n.return,T)}n.flags&=-3}s&4096&&(n.flags&=-4097)}function xS(n,s,o){te=n,Mm(n)}function Mm(n,s,o){for(var l=(n.mode&1)!==0;te!==null;){var d=te,p=d.child;if(d.tag===22&&l){var v=d.memoizedState!==null||La;if(!v){var b=d.alternate,T=b!==null&&b.memoizedState!==null||yt;b=La;var j=yt;if(La=v,(yt=T)&&!j)for(te=d;te!==null;)v=te,T=v.child,v.tag===22&&v.memoizedState!==null?Im(d):T!==null?(T.return=v,te=T):Im(d);for(;p!==null;)te=p,Mm(p),p=p.sibling;te=d,La=b,yt=j}jm(n)}else(d.subtreeFlags&8772)!==0&&p!==null?(p.return=d,te=p):jm(n)}}function jm(n){for(;te!==null;){var s=te;if((s.flags&8772)!==0){var o=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:yt||Ma(5,s);break;case 1:var l=s.stateNode;if(s.flags&4&&!yt)if(o===null)l.componentDidMount();else{var d=s.elementType===s.type?o.memoizedProps:nn(s.type,o.memoizedProps);l.componentDidUpdate(d,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var p=s.updateQueue;p!==null&&Dp(s,p,l);break;case 3:var v=s.updateQueue;if(v!==null){if(o=null,s.child!==null)switch(s.child.tag){case 5:o=s.child.stateNode;break;case 1:o=s.child.stateNode}Dp(s,v,o)}break;case 5:var b=s.stateNode;if(o===null&&s.flags&4){o=b;var T=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&o.focus();break;case"img":T.src&&(o.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var j=s.alternate;if(j!==null){var q=j.memoizedState;if(q!==null){var K=q.dehydrated;K!==null&&Ci(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}yt||s.flags&512&&yc(s)}catch(W){We(s,s.return,W)}}if(s===n){te=null;break}if(o=s.sibling,o!==null){o.return=s.return,te=o;break}te=s.return}}function Dm(n){for(;te!==null;){var s=te;if(s===n){te=null;break}var o=s.sibling;if(o!==null){o.return=s.return,te=o;break}te=s.return}}function Im(n){for(;te!==null;){var s=te;try{switch(s.tag){case 0:case 11:case 15:var o=s.return;try{Ma(4,s)}catch(T){We(s,o,T)}break;case 1:var l=s.stateNode;if(typeof l.componentDidMount=="function"){var d=s.return;try{l.componentDidMount()}catch(T){We(s,d,T)}}var p=s.return;try{yc(s)}catch(T){We(s,p,T)}break;case 5:var v=s.return;try{yc(s)}catch(T){We(s,v,T)}}}catch(T){We(s,s.return,T)}if(s===n){te=null;break}var b=s.sibling;if(b!==null){b.return=s.return,te=b;break}te=s.return}}var SS=Math.ceil,ja=V.ReactCurrentDispatcher,xc=V.ReactCurrentOwner,Ht=V.ReactCurrentBatchConfig,_e=0,ot=null,Xe=null,ct=0,Vt=0,Os=Xn(0),tt=0,Qi=null,Dr=0,Da=0,Sc=0,Gi=null,Rt=null,kc=0,Ls=1/0,On=null,Ia=!1,Ec=null,rr=null,Fa=!1,sr=null,Va=0,Yi=0,bc=null,Ba=-1,Ua=0;function kt(){return(_e&6)!==0?Ke():Ba!==-1?Ba:Ba=Ke()}function ir(n){return(n.mode&1)===0?1:(_e&2)!==0&&ct!==0?ct&-ct:sS.transition!==null?(Ua===0&&(Ua=_h()),Ua):(n=je,n!==0||(n=window.event,n=n===void 0?16:Vh(n.type)),n)}function on(n,s,o,l){if(50<Yi)throw Yi=0,bc=null,Error(r(185));xi(n,o,l),((_e&2)===0||n!==ot)&&(n===ot&&((_e&2)===0&&(Da|=o),tt===4&&or(n,ct)),_t(n,l),o===1&&_e===0&&(s.mode&1)===0&&(Ls=Ke()+500,ma&&Zn()))}function _t(n,s){var o=n.callbackNode;s1(n,s);var l=Yo(n,n===ot?ct:0);if(l===0)o!==null&&Ph(o),n.callbackNode=null,n.callbackPriority=0;else if(s=l&-l,n.callbackPriority!==s){if(o!=null&&Ph(o),s===1)n.tag===0?rS(Vm.bind(null,n)):bp(Vm.bind(null,n)),Z1(function(){(_e&6)===0&&Zn()}),o=null;else{switch(Nh(l)){case 1:o=ru;break;case 4:o=Ah;break;case 16:o=Ho;break;case 536870912:o=Rh;break;default:o=Ho}o=Km(o,Fm.bind(null,n))}n.callbackPriority=s,n.callbackNode=o}}function Fm(n,s){if(Ba=-1,Ua=0,(_e&6)!==0)throw Error(r(327));var o=n.callbackNode;if(Ms()&&n.callbackNode!==o)return null;var l=Yo(n,n===ot?ct:0);if(l===0)return null;if((l&30)!==0||(l&n.expiredLanes)!==0||s)s=za(n,l);else{s=l;var d=_e;_e|=2;var p=Um();(ot!==n||ct!==s)&&(On=null,Ls=Ke()+500,Fr(n,s));do try{bS();break}catch(b){Bm(n,b)}while(!0);zu(),ja.current=p,_e=d,Xe!==null?s=0:(ot=null,ct=0,s=tt)}if(s!==0){if(s===2&&(d=su(n),d!==0&&(l=d,s=Cc(n,d))),s===1)throw o=Qi,Fr(n,0),or(n,l),_t(n,Ke()),o;if(s===6)or(n,l);else{if(d=n.current.alternate,(l&30)===0&&!kS(d)&&(s=za(n,l),s===2&&(p=su(n),p!==0&&(l=p,s=Cc(n,p))),s===1))throw o=Qi,Fr(n,0),or(n,l),_t(n,Ke()),o;switch(n.finishedWork=d,n.finishedLanes=l,s){case 0:case 1:throw Error(r(345));case 2:Vr(n,Rt,On);break;case 3:if(or(n,l),(l&130023424)===l&&(s=kc+500-Ke(),10<s)){if(Yo(n,0)!==0)break;if(d=n.suspendedLanes,(d&l)!==l){kt(),n.pingedLanes|=n.suspendedLanes&d;break}n.timeoutHandle=Nu(Vr.bind(null,n,Rt,On),s);break}Vr(n,Rt,On);break;case 4:if(or(n,l),(l&4194240)===l)break;for(s=n.eventTimes,d=-1;0<l;){var v=31-Zt(l);p=1<<v,v=s[v],v>d&&(d=v),l&=~p}if(l=d,l=Ke()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*SS(l/1960))-l,10<l){n.timeoutHandle=Nu(Vr.bind(null,n,Rt,On),l);break}Vr(n,Rt,On);break;case 5:Vr(n,Rt,On);break;default:throw Error(r(329))}}}return _t(n,Ke()),n.callbackNode===o?Fm.bind(null,n):null}function Cc(n,s){var o=Gi;return n.current.memoizedState.isDehydrated&&(Fr(n,s).flags|=256),n=za(n,s),n!==2&&(s=Rt,Rt=o,s!==null&&Tc(s)),n}function Tc(n){Rt===null?Rt=n:Rt.push.apply(Rt,n)}function kS(n){for(var s=n;;){if(s.flags&16384){var o=s.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var l=0;l<o.length;l++){var d=o[l],p=d.getSnapshot;d=d.value;try{if(!en(p(),d))return!1}catch{return!1}}}if(o=s.child,s.subtreeFlags&16384&&o!==null)o.return=s,s=o;else{if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function or(n,s){for(s&=~Sc,s&=~Da,n.suspendedLanes|=s,n.pingedLanes&=~s,n=n.expirationTimes;0<s;){var o=31-Zt(s),l=1<<o;n[o]=-1,s&=~l}}function Vm(n){if((_e&6)!==0)throw Error(r(327));Ms();var s=Yo(n,0);if((s&1)===0)return _t(n,Ke()),null;var o=za(n,s);if(n.tag!==0&&o===2){var l=su(n);l!==0&&(s=l,o=Cc(n,l))}if(o===1)throw o=Qi,Fr(n,0),or(n,s),_t(n,Ke()),o;if(o===6)throw Error(r(345));return n.finishedWork=n.current.alternate,n.finishedLanes=s,Vr(n,Rt,On),_t(n,Ke()),null}function Pc(n,s){var o=_e;_e|=1;try{return n(s)}finally{_e=o,_e===0&&(Ls=Ke()+500,ma&&Zn())}}function Ir(n){sr!==null&&sr.tag===0&&(_e&6)===0&&Ms();var s=_e;_e|=1;var o=Ht.transition,l=je;try{if(Ht.transition=null,je=1,n)return n()}finally{je=l,Ht.transition=o,_e=s,(_e&6)===0&&Zn()}}function Ac(){Vt=Os.current,Fe(Os)}function Fr(n,s){n.finishedWork=null,n.finishedLanes=0;var o=n.timeoutHandle;if(o!==-1&&(n.timeoutHandle=-1,J1(o)),Xe!==null)for(o=Xe.return;o!==null;){var l=o;switch(Iu(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&ha();break;case 3:Rs(),Fe(Tt),Fe(pt),Yu();break;case 5:Qu(l);break;case 4:Rs();break;case 13:Fe(Ue);break;case 19:Fe(Ue);break;
vendor: 6,952 bytes, line 40
40case 10:$u(l.type._context);break;case 22:case 23:Ac()}o=o.return}if(ot=n,Xe=n=ar(n.current,null),ct=Vt=s,tt=0,Qi=null,Sc=Da=Dr=0,Rt=Gi=null,Lr!==null){for(s=0;s<Lr.length;s++)if(o=Lr[s],l=o.interleaved,l!==null){o.interleaved=null;var d=l.next,p=o.pending;if(p!==null){var v=p.next;p.next=d,l.next=v}o.pending=l}Lr=null}return n}function Bm(n,s){do{var o=Xe;try{if(zu(),Ca.current=Ra,Ta){for(var l=ze.memoizedState;l!==null;){var d=l.queue;d!==null&&(d.pending=null),l=l.next}Ta=!1}if(jr=0,it=et=ze=null,zi=!1,$i=0,xc.current=null,o===null||o.return===null){tt=1,Qi=s,Xe=null;break}e:{var p=n,v=o.return,b=o,T=s;if(s=ct,b.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var j=T,q=b,K=q.tag;if((q.mode&1)===0&&(K===0||K===11||K===15)){var W=q.alternate;W?(q.updateQueue=W.updateQueue,q.memoizedState=W.memoizedState,q.lanes=W.lanes):(q.updateQueue=null,q.memoizedState=null)}var Z=dm(v);if(Z!==null){Z.flags&=-257,fm(Z,v,b,p,s),Z.mode&1&&cm(p,j,s),s=Z,T=j;var re=s.updateQueue;if(re===null){var ae=new Set;ae.add(T),s.updateQueue=ae}else re.add(T);break e}else{if((s&1)===0){cm(p,j,s),Rc();break e}T=Error(r(426))}}else if(Be&&b.mode&1){var Qe=dm(v);if(Qe!==null){(Qe.flags&65536)===0&&(Qe.flags|=256),fm(Qe,v,b,p,s),Bu(_s(T,b));break e}}p=T=_s(T,b),tt!==4&&(tt=2),Gi===null?Gi=[p]:Gi.push(p),p=v;do{switch(p.tag){case 3:p.flags|=65536,s&=-s,p.lanes|=s;var O=lm(p,T,s);jp(p,O);break e;case 1:b=T;var A=p.type,L=p.stateNode;if((p.flags&128)===0&&(typeof A.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(rr===null||!rr.has(L)))){p.flags|=65536,s&=-s,p.lanes|=s;var G=um(p,b,s);jp(p,G);break e}}p=p.return}while(p!==null)}$m(o)}catch(ue){s=ue,Xe===o&&o!==null&&(Xe=o=o.return);continue}break}while(!0)}function Um(){var n=ja.current;return ja.current=Ra,n===null?Ra:n}function Rc(){(tt===0||tt===3||tt===2)&&(tt=4),ot===null||(Dr&268435455)===0&&(Da&268435455)===0||or(ot,ct)}function za(n,s){var o=_e;_e|=2;var l=Um();(ot!==n||ct!==s)&&(On=null,Fr(n,s));do try{ES();break}catch(d){Bm(n,d)}while(!0);if(zu(),_e=o,ja.current=l,Xe!==null)throw Error(r(261));return ot=null,ct=0,tt}function ES(){for(;Xe!==null;)zm(Xe)}function bS(){for(;Xe!==null&&!Gx();)zm(Xe)}function zm(n){var s=Hm(n.alternate,n,Vt);n.memoizedProps=n.pendingProps,s===null?$m(n):Xe=s,xc.current=null}function $m(n){var s=n;do{var o=s.alternate;if(n=s.return,(s.flags&32768)===0){if(o=gS(o,s,Vt),o!==null){Xe=o;return}}else{if(o=yS(o,s),o!==null){o.flags&=32767,Xe=o;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{tt=6,Xe=null;return}}if(s=s.sibling,s!==null){Xe=s;return}Xe=s=n}while(s!==null);tt===0&&(tt=5)}function Vr(n,s,o){var l=je,d=Ht.transition;try{Ht.transition=null,je=1,CS(n,s,o,l)}finally{Ht.transition=d,je=l}return null}function CS(n,s,o,l){do Ms();while(sr!==null);if((_e&6)!==0)throw Error(r(327));o=n.finishedWork;var d=n.finishedLanes;if(o===null)return null;if(n.finishedWork=null,n.finishedLanes=0,o===n.current)throw Error(r(177));n.callbackNode=null,n.callbackPriority=0;var p=o.lanes|o.childLanes;if(i1(n,p),n===ot&&(Xe=ot=null,ct=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||Fa||(Fa=!0,Km(Ho,function(){return Ms(),null})),p=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||p){p=Ht.transition,Ht.transition=null;var v=je;je=1;var b=_e;_e|=4,xc.current=null,wS(n,o),Lm(o,n),q1(Ru),Zo=!!Au,Ru=Au=null,n.current=o,xS(o),Yx(),_e=b,je=v,Ht.transition=p}else n.current=o;if(Fa&&(Fa=!1,sr=n,Va=d),p=n.pendingLanes,p===0&&(rr=null),Zx(o.stateNode),_t(n,Ke()),s!==null)for(l=n.onRecoverableError,o=0;o<s.length;o++)d=s[o],l(d.value,{componentStack:d.stack,digest:d.digest});if(Ia)throw Ia=!1,n=Ec,Ec=null,n;return(Va&1)!==0&&n.tag!==0&&Ms(),p=n.pendingLanes,(p&1)!==0?n===bc?Yi++:(Yi=0,bc=n):Yi=0,Zn(),null}function Ms(){if(sr!==null){var n=Nh(Va),s=Ht.transition,o=je;try{if(Ht.transition=null,je=16>n?16:n,sr===null)var l=!1;else{if(n=sr,sr=null,Va=0,(_e&6)!==0)throw Error(r(331));var d=_e;for(_e|=4,te=n.current;te!==null;){var p=te,v=p.child;if((te.flags&16)!==0){var b=p.deletions;if(b!==null){for(var T=0;T<b.length;T++){var j=b[T];for(te=j;te!==null;){var q=te;switch(q.tag){case 0:case 11:case 15:Ki(8,q,p)}var K=q.child;if(K!==null)K.return=q,te=K;else for(;te!==null;){q=te;var W=q.sibling,Z=q.return;if(Am(q),q===j){te=null;break}if(W!==null){W.return=Z,te=W;break}te=Z}}}var re=p.alternate;if(re!==null){var ae=re.child;if(ae!==null){re.child=null;do{var Qe=ae.sibling;ae.sibling=null,ae=Qe}while(ae!==null)}}te=p}}if((p.subtreeFlags&2064)!==0&&v!==null)v.return=p,te=v;else e:for(;te!==null;){if(p=te,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:Ki(9,p,p.return)}var O=p.sibling;if(O!==null){O.return=p.return,te=O;break e}te=p.return}}var A=n.current;for(te=A;te!==null;){v=te;var L=v.child;if((v.subtreeFlags&2064)!==0&&L!==null)L.return=v,te=L;else e:for(v=A;te!==null;){if(b=te,(b.flags&2048)!==0)try{switch(b.tag){case 0:case 11:case 15:Ma(9,b)}}catch(ue){We(b,b.return,ue)}if(b===v){te=null;break e}var G=b.sibling;if(G!==null){G.return=b.return,te=G;break e}te=b.return}}if(_e=d,Zn(),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(Ko,n)}catch{}l=!0}return l}finally{je=o,Ht.transition=s}}return!1}function Wm(n,s,o){s=_s(o,s),s=lm(n,s,1),n=tr(n,s,1),s=kt(),n!==null&&(xi(n,1,s),_t(n,s))}function We(n,s,o){if(n.tag===3)Wm(n,n,o);else for(;s!==null;){if(s.tag===3){Wm(s,n,o);break}else if(s.tag===1){var l=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(rr===null||!rr.has(l))){n=_s(o,n),n=um(s,n,1),s=tr(s,n,1),n=kt(),s!==null&&(xi(s,1,n),_t(s,n));break}}s=s.return}}function TS(n,s,o){var l=n.pingCache;l!==null&&l.delete(s),s=kt(),n.pingedLanes|=n.suspendedLanes&o,ot===n&&(ct&o)===o&&(tt===4||tt===3&&(ct&130023424)===ct&&500>Ke()-kc?Fr(n,0):Sc|=o),_t(n,s)}function qm(n,s){s===0&&((n.mode&1)===0?s=1:(s=Go,Go<<=1,(Go&130023424)===0&&(Go=4194304)));var o=kt();n=Rn(n,s),n!==null&&(xi(n,s,o),_t(n,o))}function PS(n){var s=n.memoizedState,o=0;s!==null&&(o=s.retryLane),qm(n,o)}function AS(n,s){var o=0;switch(n.tag){case 13:var l=n.stateNode,d=n.memoizedState;d!==null&&(o=d.retryLane);break;case 19:l=n.stateNode;break;default:throw Error(r(314))}l!==null&&l.delete(s),qm(n,o)}var Hm;Hm=function(n,s,o){if(n!==null)if(n.memoizedProps!==s.pendingProps||Tt.current)At=!0;else{if((n.lanes&o)===0&&(s.flags&128)===0)return At=!1,mS(n,s,o);At=(n.flags&131072)!==0}else At=!1,Be&&(s.flags&1048576)!==0&&Cp(s,ya,s.index);switch(s.lanes=0,s.tag){case 2:var l=s.type;Oa(n,s),n=s.pendingProps;var d=ks(s,pt.current);As(s,o),d=Zu(null,s,l,n,d,o);var p=ec();return s.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Pt(l)?(p=!0,pa(s)):p=!1,s.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,Hu(s),d.updater=_a,s.stateNode=d,d._reactInternals=s,oc(s,l,n,o),s=cc(null,
vendor: 10,392 bytes, line 40
40s,l,!0,p,o)):(s.tag=0,Be&&p&&Du(s),St(null,s,d,o),s=s.child),s;case 16:l=s.elementType;e:{switch(Oa(n,s),n=s.pendingProps,d=l._init,l=d(l._payload),s.type=l,d=s.tag=_S(l),n=nn(l,n),d){case 0:s=uc(null,s,l,n,o);break e;case 1:s=vm(null,s,l,n,o);break e;case 11:s=hm(null,s,l,n,o);break e;case 14:s=pm(null,s,l,nn(l.type,n),o);break e}throw Error(r(306,l,""))}return s;case 0:return l=s.type,d=s.pendingProps,d=s.elementType===l?d:nn(l,d),uc(n,s,l,d,o);case 1:return l=s.type,d=s.pendingProps,d=s.elementType===l?d:nn(l,d),vm(n,s,l,d,o);case 3:e:{if(wm(s),n===null)throw Error(r(387));l=s.pendingProps,p=s.memoizedState,d=p.element,Mp(n,s),Ea(s,l,null,o);var v=s.memoizedState;if(l=v.element,p.isDehydrated)if(p={element:l,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},s.updateQueue.baseState=p,s.memoizedState=p,s.flags&256){d=_s(Error(r(423)),s),s=xm(n,s,l,o,d);break e}else if(l!==d){d=_s(Error(r(424)),s),s=xm(n,s,l,o,d);break e}else for(Ft=Yn(s.stateNode.containerInfo.firstChild),It=s,Be=!0,tn=null,o=Op(s,null,l,o),s.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Cs(),l===d){s=Nn(n,s,o);break e}St(n,s,l,o)}s=s.child}return s;case 5:return Ip(s),n===null&&Vu(s),l=s.type,d=s.pendingProps,p=n!==null?n.memoizedProps:null,v=d.children,_u(l,d)?v=null:p!==null&&_u(l,p)&&(s.flags|=32),ym(n,s),St(n,s,v,o),s.child;case 6:return n===null&&Vu(s),null;case 13:return Sm(n,s,o);case 4:return Ku(s,s.stateNode.containerInfo),l=s.pendingProps,n===null?s.child=Ts(s,null,l,o):St(n,s,l,o),s.child;case 11:return l=s.type,d=s.pendingProps,d=s.elementType===l?d:nn(l,d),hm(n,s,l,d,o);case 7:return St(n,s,s.pendingProps,o),s.child;case 8:return St(n,s,s.pendingProps.children,o),s.child;case 12:return St(n,s,s.pendingProps.children,o),s.child;case 10:e:{if(l=s.type._context,d=s.pendingProps,p=s.memoizedProps,v=d.value,De(xa,l._currentValue),l._currentValue=v,p!==null)if(en(p.value,v)){if(p.children===d.children&&!Tt.current){s=Nn(n,s,o);break e}}else for(p=s.child,p!==null&&(p.return=s);p!==null;){var b=p.dependencies;if(b!==null){v=p.child;for(var T=b.firstContext;T!==null;){if(T.context===l){if(p.tag===1){T=_n(-1,o&-o),T.tag=2;var j=p.updateQueue;if(j!==null){j=j.shared;var q=j.pending;q===null?T.next=T:(T.next=q.next,q.next=T),j.pending=T}}p.lanes|=o,T=p.alternate,T!==null&&(T.lanes|=o),Wu(p.return,o,s),b.lanes|=o;break}T=T.next}}else if(p.tag===10)v=p.type===s.type?null:p.child;else if(p.tag===18){if(v=p.return,v===null)throw Error(r(341));v.lanes|=o,b=v.alternate,b!==null&&(b.lanes|=o),Wu(v,o,s),v=p.sibling}else v=p.child;if(v!==null)v.return=p;else for(v=p;v!==null;){if(v===s){v=null;break}if(p=v.sibling,p!==null){p.return=v.return,v=p;break}v=v.return}p=v}St(n,s,d.children,o),s=s.child}return s;case 9:return d=s.type,l=s.pendingProps.children,As(s,o),d=Wt(d),l=l(d),s.flags|=1,St(n,s,l,o),s.child;case 14:return l=s.type,d=nn(l,s.pendingProps),d=nn(l.type,d),pm(n,s,l,d,o);case 15:return mm(n,s,s.type,s.pendingProps,o);case 17:return l=s.type,d=s.pendingProps,d=s.elementType===l?d:nn(l,d),Oa(n,s),s.tag=1,Pt(l)?(n=!0,pa(s)):n=!1,As(s,o),om(s,l,d),oc(s,l,d,o),cc(null,s,l,!0,n,o);case 19:return Em(n,s,o);case 22:return gm(n,s,o)}throw Error(r(156,s.tag))};function Km(n,s){return Th(n,s)}function RS(n,s,o,l){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kt(n,s,o,l){return new RS(n,s,o,l)}function _c(n){return n=n.prototype,!(!n||!n.isReactComponent)}function _S(n){if(typeof n=="function")return _c(n)?1:0;if(n!=null){if(n=n.$$typeof,n===$)return 11;if(n===pe)return 14}return 2}function ar(n,s){var o=n.alternate;return o===null?(o=Kt(n.tag,s,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=s,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&14680064,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,s=n.dependencies,o.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o}function $a(n,s,o,l,d,p){var v=2;if(l=n,typeof n=="function")_c(n)&&(v=1);else if(typeof n=="string")v=5;else e:switch(n){case oe:return Br(o.children,d,p,s);case N:v=8,d|=8;break;case H:return n=Kt(12,o,s,d|2),n.elementType=H,n.lanes=p,n;case ne:return n=Kt(13,o,s,d),n.elementType=ne,n.lanes=p,n;case Ce:return n=Kt(19,o,s,d),n.elementType=Ce,n.lanes=p,n;case de:return Wa(o,d,p,s);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Q:v=10;break e;case J:v=9;break e;case $:v=11;break e;case pe:v=14;break e;case he:v=16,l=null;break e}throw Error(r(130,n==null?n:typeof n,""))}return s=Kt(v,o,s,d),s.elementType=n,s.type=l,s.lanes=p,s}function Br(n,s,o,l){return n=Kt(7,n,l,s),n.lanes=o,n}function Wa(n,s,o,l){return n=Kt(22,n,l,s),n.elementType=de,n.lanes=o,n.stateNode={isHidden:!1},n}function Nc(n,s,o){return n=Kt(6,n,null,s),n.lanes=o,n}function Oc(n,s,o){return s=Kt(4,n.children!==null?n.children:[],n.key,s),s.lanes=o,s.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},s}function NS(n,s,o,l,d){this.tag=s,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=iu(0),this.expirationTimes=iu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=iu(0),this.identifierPrefix=l,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Lc(n,s,o,l,d,p,v,b,T){return n=new NS(n,s,o,b,T),s===1?(s=1,p===!0&&(s|=8)):s=0,p=Kt(3,null,null,s),n.current=p,p.stateNode=n,p.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hu(p),n}function OS(n,s,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Y,key:l==null?null:""+l,children:n,containerInfo:s,implementation:o}}function Qm(n){if(!n)return Jn;n=n._reactInternals;e:{if(Ar(n)!==n||n.tag!==1)throw Error(r(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Pt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(r(171))}if(n.tag===1){var o=n.type;if(Pt(o))return kp(n,o,s)}return s}function Gm(n,s,o,l,d,p,v,b,T){return n=Lc(o,l,!0,n,d,p,v,b,T),n.context=Qm(null),o=n.current,l=kt(),d=ir(o),p=_n(l,d),p.callback=s??null,tr(o,p,d),n.current.lanes=d,xi(n,d,l),_t(n,l),n}function qa(n,s,o,l){var d=s.current,p=kt(),v=ir(d);return o=Qm(o),s.context===null?s.context=o:s.pendingContext=o,s=_n(p,v),s.payload={element:n},l=l===void 0?null:l,l!==null&&(s.callback=l),n=tr(d,s,v),n!==null&&(on(n,d,v,p),ka(n,d,v)),v}function Ha(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Ym(n,s){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<s?o:s}}function Mc(n,s){Ym(n,s),(n=n.alternate)&&Ym(n,s)}function LS(){return null}var Xm=typeof reportError=="function"?reportError:function(n){console.error(n)};function jc(n){this._internalRoot=n}Ka.prototype.render=jc.prototype.render=function(n){var s=this._internalRoot;if(s===null)throw Error(r(409));qa(n,s,null,null)},Ka.prototype.unmount=jc.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var s=n.containerInfo;Ir(function(){qa(null,n,null,null)}),s[Cn]=null}};function Ka(n){this._internalRoot=n}Ka.prototype.unstable_scheduleHydration=function(n){if(n){var s=Mh();n={blockedOn:null,target:n,priority:s};for(var o=0;o<Kn.length&&s!==0&&s<Kn[o].priority;o++);Kn.splice(o,0,n),o===0&&Ih(n)}};function Dc(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Qa(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Jm(){}function MS(n,s,o,l,d){if(d){if(typeof l=="function"){var p=l;l=function(){var j=Ha(v);p.call(j)}}var v=Gm(s,l,n,0,null,!1,!1,"",Jm);return n._reactRootContainer=v,n[Cn]=v.current,Mi(n.nodeType===8?n.parentNode:n),Ir(),v}for(;d=n.lastChild;)n.removeChild(d);if(typeof l=="function"){var b=l;l=function(){var j=Ha(T);b.call(j)}}var T=Lc(n,0,!1,null,null,!1,!1,"",Jm);return n._reactRootContainer=T,n[Cn]=T.current,Mi(n.nodeType===8?n.parentNode:n),Ir(function(){qa(s,T,o,l)}),T}function Ga(n,s,o,l,d){var p=o._reactRootContainer;if(p){var v=p;if(typeof d=="function"){var b=d;d=function(){var T=Ha(v);b.call(T)}}qa(s,v,n,d)}else v=MS(o,s,n,d,l);return Ha(v)}Oh=function(n){switch(n.tag){case 3:var s=n.stateNode;if(s.current.memoizedState.isDehydrated){var o=wi(s.pendingLanes);o!==0&&(ou(s,o|1),_t(s,Ke()),(_e&6)===0&&(Ls=Ke()+500,Zn()))}break;case 13:Ir(function(){var l=Rn(n,1);if(l!==null){var d=kt();on(l,n,1,d)}}),Mc(n,1)}},au=function(n){if(n.tag===13){var s=Rn(n,134217728);if(s!==null){var o=kt();on(s,n,134217728,o)}Mc(n,134217728)}},Lh=function(n){if(n.tag===13){var s=ir(n),o=Rn(n,s);if(o!==null){var l=kt();on(o,n,s,l)}Mc(n,s)}},Mh=function(){return je},jh=function(n,s){var o=je;try{return je=n,s()}finally{je=o}},Zl=function(n,s,o){switch(s){case"input":if(ql(n,o),s=o.name,o.type==="radio"&&s!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<o.length;s++){var l=o[s];if(l!==n&&l.form===n.form){var d=fa(l);if(!d)throw Error(r(90));Pr(l),ql(l,d)}}}break;case"textarea":ch(n,o);break;case"select":s=o.value,s!=null&&cs(n,!!o.multiple,s,!1)}},wh=Pc,xh=Ir;var jS={usingClientEntryPoint:!1,Events:[Ii,xs,fa,yh,vh,Pc]},Xi={findFiberByHostInstance:Rr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},DS={bundleType:Xi.bundleType,version:Xi.version,rendererPackageName:Xi.rendererPackageName,rendererConfig:Xi.rendererConfig,overrideHookState:null,overri
40deHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:V.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=bh(n),n===null?null:n.stateNode},findFiberByHostInstance:Xi.findFiberByHostInstance||LS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ya=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ya.isDisabled&&Ya.supportsFiber)try{Ko=Ya.inject(DS),fn=Ya}catch{}}return Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jS,Nt.createPortal=function(n,s){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Dc(s))throw Error(r(200));return OS(n,s,null,o)},Nt.createRoot=function(n,s){if(!Dc(n))throw Error(r(299));var o=!1,l="",d=Xm;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(l=s.identifierPrefix),s.onRecoverableError!==void 0&&(d=s.onRecoverableError)),s=Lc(n,1,!1,null,null,o,!1,l,d),n[Cn]=s.current,Mi(n.nodeType===8?n.parentNode:n),new jc(s)},Nt.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var s=n._reactInternals;if(s===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=bh(s),n=n===null?null:n.stateNode,n},Nt.flushSync=function(n){return Ir(n)},Nt.hydrate=function(n,s,o){if(!Qa(s))throw Error(r(200));return Ga(null,n,s,!0,o)},Nt.hydrateRoot=function(n,s,o){if(!Dc(n))throw Error(r(405));var l=o!=null&&o.hydratedSources||null,d=!1,p="",v=Xm;if(o!=null&&(o.unstable_strictMode===!0&&(d=!0),o.identifierPrefix!==void 0&&(p=o.identifierPrefix),o.onRecoverableError!==void 0&&(v=o.onRecoverableError)),s=Gm(s,null,n,1,o??null,d,!1,p,v),n[Cn]=s.current,Mi(n),l)for(n=0;n<l.length;n++)o=l[n],d=o._getVersion,d=d(o._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[o,d]:s.mutableSourceEagerHydrationData.push(o,d);return new Ka(s)},Nt.render=function(n,s,o){if(!Qa(s))throw Error(r(200));return Ga(null,n,s,!1,o)},Nt.unmountComponentAtNode=function(n){if(!Qa(n))throw Error(r(40));return n._reactRootContainer?(Ir(function(){Ga(null,null,n,!1,function(){n._reactRootContainer=null,n[Cn]=null})}),!0):!1},Nt.unstable_batchedUpdates=Pc,Nt.unstable_renderSubtreeIntoContainer=function(n,s,o,l){if(!Qa(o))throw Error(r(200));if(n==null||n._reactInternals===void 0)throw Error(r(38));return Ga(n,s,o,!1,l)},Nt.version="18.3.1-next-f1338f8080-20240426",Nt}var ag;function jv(){if(ag)return Bc.exports;ag=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Bc.exports=HS(),Bc.exports}var lg;function KS(){if(lg)return Ja;lg=1;var t=jv();return Ja.createRoot=t.createRoot,Ja.hydrateRoot=t.hydrateRoot,Ja}var QS=KS();const GS=Mv(QS),YS=20,XS=1e6,In={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let $c=0;function JS(){return $c=($c+1)%Number.MAX_VALUE,$c.toString()}const Wc=new Map,ug=t=>{if(Wc.has(t))return;const e=setTimeout(()=>{Wc.delete(t),co({type:In.REMOVE_TOAST,toastId:t})},XS);Wc.set(t,e)},ZS=(t,e)=>{switch(e.type){case In.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,YS)};case In.UPDATE_TOAST:return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case In.DISMISS_TOAST:{const{toastId:r}=e;return r?ug(r):t.toasts.forEach(i=>{ug(i.id)}),{...t,toasts:t.toasts.map(i=>
40i.id===r||r===void 0?{...i,open:!1}:i)}}case In.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},ll=[];let ul={toasts:[]};function co(t){ul=ZS(ul,t),ll.forEach(e=>{e(ul)})}function ek({...t}){const e=JS(),r=a=>co({type:In.UPDATE_TOAST,toast:{...a,id:e}}),i=()=>co({type:In.DISMISS_TOAST,toastId:e});return co({type:In.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:a=>{a||i()}}}),{id:e,dismiss:i,update:r}}function tk(){const[t,e]=M.useState(ul);return M.useEffect(()=>(ll.push(e),()=>{const r=ll.indexOf(e);r>-1&&ll.splice(r,1)}),[t]),{...t,toast:ek,dismiss:r=>co({type:In.DISMISS_TOAST,toastId:r})}}function Dv(t){var e,r,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(r=Dv(t[e]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}function Iv(){for(var t,e,r=0,i="",a=arguments.length;r<a;r++)(t=arguments[r])&&(e=Dv(t))&&(i&&(i+=" "),i+=e);return i}const cg=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,dg=Iv,nk=(t,e)=>r=>{var i;if((e==null?void 0:e.variants)==null)return dg(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:u}=e,c=Object.keys(a).map(m=>{const g=r==null?void 0:r[m],y=u==null?void 0:u[m];if(g===null)return null;const w=cg(g)||cg(y);return a[m][w]}),f=r&&Object.entries(r).reduce((m,g)=>{let[y,w]=g;return w===void 0||(m[y]=w),m},{}),h=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((m,g)=>{let{class:y,className:w,...E}=g;return Object.entries(E).every(S=>{let[k,x]=S;return Array.isArray(x)?x.includes({...u,...f}[k]):{...u,...f}[k]===x})?[...m,y,w]:m},[]);return dg(t,c,h,r==null?void 0:r.class,r==null?void 0:r.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 rk=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fv=(...t)=>t.filter((e,r,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===r).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 sk={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 ik=M.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:a="",children:u,iconNode:c,...f},h)=>M.createElement("svg",{ref:h,...sk,width:e,height:e,stroke:t,strokeWidth:i?Number(r)*24/Number(e):r,className:Fv("lucide",a),...f},[...c.map(([m,g])=>M.createElement(m,g)),...Array.isArray(u)?u:[u]]));/**
56 * @license lucide-react v0.475.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const Ct=(t,e)=>{const r=M.forwardRef(({className:i,...a},u)=>M.createElement(ik,{ref:u,iconNode:e,className:Fv(`lucide-${rk(t)}`,i),...a}));return r.displayName=`${t}`,r};/**
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 ok=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Vv=Ct("ArrowLeft",ok);/**
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 ak=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],lk=Ct("ArrowRight",ak);/**
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 uk=[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}
75],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]],ck=Ct("ChartNoAxesColumnIncreasing",uk);/**
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 dk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],fk=Ct("CircleHelp",dk);/**
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 hk=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],pk=Ct("Database",hk);/**
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 mk=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],gk=Ct("Eye",mk);/**
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 yk=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],vk=Ct("FileText",yk);/**
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 wk=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],xk=Ct("Lock",wk);/**
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 Sk=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],kk=Ct("MessageSquare",Sk);/**
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 Ek=[["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"}]],qc=Ct("Shield",Ek);/**
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 bk=[["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"}]],Ck=Ct("Sparkles",bk);/**
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 Tk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Pk=Ct("Target",Tk);/**
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 Ak=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]],Rk=Ct("UserCheck",Ak);/**
126 * @license lucide-react v0.475.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const _k=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Nk=Ct("Users",_k);/**
131 * @license lucide-react v0.475.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const Ok=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 7,536 bytes, line 135
135],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lk=Ct("X",Ok),ff="-",Mk=t=>{const e=Dk(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:c=>{const f=c.split(ff);return f[0]===""&&f.length!==1&&f.shift(),Bv(f,e)||jk(c)},getConflictingClassGroupIds:(c,f)=>{const h=r[c]||[];return f&&i[c]?[...h,...i[c]]:h}}},Bv=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],i=e.nextPart.get(r),a=i?Bv(t.slice(1),i):void 0;if(a)return a;if(e.validators.length===0)return;const u=t.join(ff);return(c=e.validators.find(({validator:f})=>f(u)))==null?void 0:c.classGroupId},fg=/^\[(.+)\]$/,jk=t=>{if(fg.test(t)){const e=fg.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},Dk=t=>{const{theme:e,classGroups:r}=t,i={nextPart:new Map,validators:[]};for(const a in r)gd(r[a],i,a,e);return i},gd=(t,e,r,i)=>{t.forEach(a=>{if(typeof a=="string"){const u=a===""?e:hg(e,a);u.classGroupId=r;return}if(typeof a=="function"){if(Ik(a)){gd(a(i),e,r,i);return}e.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([u,c])=>{gd(c,hg(e,u),r,i)})})},hg=(t,e)=>{let r=t;return e.split(ff).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},Ik=t=>t.isThemeGetter,Fk=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,i=new Map;const a=(u,c)=>{r.set(u,c),e++,e>t&&(e=0,i=r,r=new Map)};return{get(u){let c=r.get(u);if(c!==void 0)return c;if((c=i.get(u))!==void 0)return a(u,c),c},set(u,c){r.has(u)?r.set(u,c):a(u,c)}}},yd="!",vd=":",Vk=vd.length,Bk=t=>{const{prefix:e,experimentalParseClassName:r}=t;let i=a=>{const u=[];let c=0,f=0,h=0,m;for(let S=0;S<a.length;S++){let k=a[S];if(c===0&&f===0){if(k===vd){u.push(a.slice(h,S)),h=S+Vk;continue}if(k==="/"){m=S;continue}}k==="["?c++:k==="]"?c--:k==="("?f++:k===")"&&f--}const g=u.length===0?a:a.substring(h),y=Uk(g),w=y!==g,E=m&&m>h?m-h:void 0;return{modifiers:u,hasImportantModifier:w,baseClassName:y,maybePostfixModifierPosition:E}};if(e){const a=e+vd,u=i;i=c=>c.startsWith(a)?u(c.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(r){const a=i;i=u=>r({className:u,parseClassName:a})}return i},Uk=t=>t.endsWith(yd)?t.substring(0,t.length-1):t.startsWith(yd)?t.substring(1):t,zk=t=>{const e=Object.fromEntries(t.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let u=[];return i.forEach(c=>{c[0]==="["||e[c]?(a.push(...u.sort(),c),u=[]):u.push(c)}),a.push(...u.sort()),a}},$k=t=>({cache:Fk(t.cacheSize),parseClassName:Bk(t),sortModifiers:zk(t),...Mk(t)}),Wk=/\s+/,qk=(t,e)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:u}=e,c=[],f=t.trim().split(Wk);let h="";for(let m=f.length-1;m>=0;m-=1){const g=f[m],{isExternal:y,modifiers:w,hasImportantModifier:E,baseClassName:S,maybePostfixModifierPosition:k}=r(g);if(y){h=g+(h.length>0?" "+h:h);continue}let x=!!k,R=i(x?S.substring(0,k):S);if(!R){if(!x){h=g+(h.length>0?" "+h:h);continue}if(R=i(S),!R){h=g+(h.length>0?" "+h:h);continue}x=!1}const B=u(w).join(":"),D=E?B+yd:B,V=D+R;if(c.includes(V))continue;c.push(V);const U=a(R,x);for(let Y=0;Y<U.length;++Y){const oe=U[Y];c.push(D+oe)}h=g+(h.length>0?" "+h:h)}return h};function Hk(){let t=0,e,r,i="";for(;t<arguments.length;)(e=arguments[t++])&&(r=Uv(e))&&(i&&(i+=" "),i+=r);return i}const Uv=t=>{if(typeof t=="string")return t;let e,r="";for(let i=0;i<t.length;i++)t[i]&&(e=Uv(t[i]))&&(r&&(r+=" "),r+=e);return r};function Kk(t,...e){let r,i,a,u=c;function c(h){const m=e.reduce((g,y)=>y(g),t());return r=$k(m),i=r.cache.get,a=r.cache.set,u=f,f(h)}function f(h){const m=i(h);if(m)return m;const g=qk(h,r);return a(h,g),g}return function(){return u(Hk.apply(null,arguments))}}const nt=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},zv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,$v=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qk=/^\d+\/\d+$/,Gk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yk=/\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$/,Xk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Jk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,js=t=>Qk.test(t),Ee=t=>!!t&&!Number.isNaN(Number(t)),ur=t=>!!t&&Number.isInteger(Number(t)),Hc=t=>t.endsWith("%")&&Ee(t.slice(0,-1)),Ln=t=>Gk.test(t),eE=()=>!0,tE=t=>Yk.test(t)&&!Xk.test(t),Wv=()=>!1,nE=t=>Jk.test(t),rE=t=>Zk.test(t),sE=t=>!se(t)&&!ie(t),iE=t=>ii(t,Kv,Wv),se=t=>zv.test(t),Ur=t=>ii(t,Qv,tE),Kc=t=>ii(t,cE,Ee),pg=t=>ii(t,qv,Wv),oE=t=>ii(t,Hv,rE),Za=t=>ii(t,Gv,nE),ie=t=>$v.test(t),Zi=t=>oi(t,Qv),aE=t=>oi(t,dE),mg=t=>oi(t,qv),lE=t=>oi(t,Kv),uE=t=>oi(t,Hv),el=t=>oi(t,Gv,!0),ii=(t,e,r)=>{const i=zv.exec(t);return i?i[1]?e(i[1]):r(i[2]):!1},oi=(t,e,r=!1)=>{const i=$v.exec(t);return i?i[1]?e(i[1]):r:!1},qv=t=>t==="position"||t==="percentage",Hv=t=>t==="image"||t==="url",Kv=t=>t==="length"||t==="size"||t==="bg-size",Qv=t=>t==="length",cE=t=>t==="number",dE=t=>t==="family-name",Gv=t=>t==="shadow",fE=()=>{const t=nt("color"),e=nt("font"),r=nt("text"),i=nt("font-weight"),a=nt("tracking"),u=nt("leading"),c=nt("breakpoint"),f=nt("container"),h=nt("spacing"),m=nt("radius"),g=nt("shadow"),y=nt("inset-shadow"),w=nt("text-shadow"),E=nt("drop-shadow"),S=nt("blur"),k=nt("perspective"),x=nt("aspect"),R=nt("ease"),B=nt("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...V(),ie,se],Y=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto","contain","none"],N=()=>[ie,se,h],H=()=>[js,"full","auto",...N()],Q=()=>[ur,"none","subgrid",ie,se],J=()=>["auto",{span:["full",ur,ie,se]},ur,ie,se],$=()=>[ur,"auto",ie,se],ne=()=>["auto","min","max","fr",ie,se],Ce=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],pe=()=>["start","end","center","stretch","center-safe","end-safe"],he=()=>["auto",...N()],de=()=>[js,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],F=()=>[t,ie,se],le=()=>[...V(),mg,pg,{position:[ie,se]}],X=()=>["no-repeat",{repeat:["","x","y","space","round"]}],_=()=>["auto","cover","contain",lE,iE,{size:[ie,se]}],z=()=>[Hc,Zi,Ur],ce=()=>["","none","full",m,ie,se],fe=()=>["",Ee,Zi,Ur],ke=()=>["solid","dashed","dotted","double"],Te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>[Ee,Hc,mg,pg],Ne=()=>["","none",S,ie,se],Me=()=>["none",Ee,ie,se],st=()=>["none",Ee,ie,se],$n=()=>[Ee,ie,se],Pr=()=>[js,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ln],breakpoint:[Ln],color:[eE],container:[Ln],"drop-shadow":[Ln],ease:["in","out","in-out"],font:[sE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ln],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ln],shadow:[Ln],spacing:["px",Ee],text:[Ln],"text-shadow":[Ln],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",js,se,ie,x]}
vendor: 12,904 bytes, line 135
135],container:["container"],columns:[{columns:[Ee,se,ie,f]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:U()}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{start:H()}],end:[{end:H()}],top:[{top:H()}],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[ur,"auto",ie,se]}],basis:[{basis:[js,"full","auto",f,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,js,"auto","initial","none",se]}],grow:[{grow:["",Ee,ie,se]}],shrink:[{shrink:["",Ee,ie,se]}],order:[{order:[ur,"first","last","none",ie,se]}],"grid-cols":[{"grid-cols":Q()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":Q()}],"row-start-end":[{row:J()}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...Ce(),"normal"]}],"justify-items":[{"justify-items":[...pe(),"normal"]}],"justify-self":[{"justify-self":["auto",...pe()]}],"align-content":[{content:["normal",...Ce()]}],"align-items":[{items:[...pe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...pe(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ce()}],"place-items":[{"place-items":[...pe(),"baseline"]}],"place-self":[{"place-self":["auto",...pe()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:he()}],mx:[{mx:he()}],my:[{my:he()}],ms:[{ms:he()}],me:[{me:he()}],mt:[{mt:he()}],mr:[{mr:he()}],mb:[{mb:he()}],ml:[{ml:he()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:de()}],w:[{w:[f,"screen",...de()]}],"min-w":[{"min-w":[f,"screen","none",...de()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...de()]}],h:[{h:["screen","lh",...de()]}],"min-h":[{"min-h":["screen","lh","none",...de()]}],"max-h":[{"max-h":["screen","lh",...de()]}],"font-size":[{text:["base",r,Zi,Ur]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ie,Kc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Hc,se]}],"font-family":[{font:[aE,se,e]}],"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:[a,ie,se]}],"line-clamp":[{"line-clamp":[Ee,"none",ie,Kc]}],leading:[{leading:[u,...N()]}],"list-image":[{"list-image":["none",ie,se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,se]}],"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:[...ke(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ee,"from-font","auto",ie,Ur]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[Ee,"auto",ie,se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:X()}],"bg-size":[{bg:_()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ur,ie,se],radial:["",ie,se],conic:[ur,ie,se]},uE,oE]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:z()}],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"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:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ke(),"hidden","none"]}],"divide-style":[{divide:[...ke(),"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-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:[...ke(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ee,ie,se]}],"outline-w":[{outline:["",Ee,Zi,Ur]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",g,el,Za]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",y,el,Za]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[Ee,Ur]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",w,el,Za]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[Ee,ie,se]}],"mix-blend":[{"mix-blend":[...Te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Te()}],"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":[Ee]}],"mask-image-linear-from-pos":[{"mask-linear-from":xe()}],"mask-image-linear-to-pos":[{"mask-linear-to":xe()}],"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":xe()}],"mask-image-t-to-pos":[{"mask-t-to":xe()}],"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":xe()}],"mask-image-r-to-pos":[{"mask-r-to":xe()}],"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":xe()}],"mask-image-b-to-pos":[{"mask-b-to":xe()}],"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":xe()}],"mask-image-l-to-pos":[{"mask-l-to":xe()}],"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":xe()}],"mask-image-x-to-pos":[{"mask-x-to":xe()}],"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":xe()}],"mask-image-y-to-pos":[{"mask-y-to":xe()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[ie,se]}],"mask-image-radial-from-pos":[{"mask-radial-from":xe()}],"mask-image-radial-to-pos":[{"mask-radial-to":xe()}],"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":V()}],"mask-image-conic-pos":[{"mask-conic":[Ee]}],"mask-image-conic-from-pos":[{"mask-conic-from":xe()}],"mask-image-conic-to-pos":[{"mask-conic-to":xe()}],"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:le()}],"mask-repeat":[{mask:X()}],"mask-size":[{mask:_()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,se]}],filter:[{filter:["","none",ie,se]}],blur:[{blur:Ne()}],brightness:[{brightness:[Ee,ie,se]}],contrast:[{contrast:[Ee,ie,se]}],"drop-shadow":[{"drop-shadow":["","none",E,el,Za]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",Ee,ie,se]}],"hue-rotate":[{"hue-rotate":[Ee,ie,se]}],invert:[{invert:["",Ee,ie,se]}],saturate:[{saturate:[Ee,ie,se]}],sepia:[{sepia:["",Ee,ie,se]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,se]}],"backdrop-blur":[{"backdrop-blur":Ne()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,ie,se]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,ie,se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,ie,se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,ie,se]}],"backdrop-invert":[{"backdrop-invert":["",Ee,ie,se]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,ie,se]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,ie,se]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,ie,se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ee,"initial",ie,se]}],ease:[{ease:["linear","initial",R,ie,se]}],delay:[{delay:[Ee,ie,se]}],animate:[{animate:["none",B,ie,se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,ie,se]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:Me()}],"rotate-x":[{"rotate-x":Me()}],"rotate-y":[{"rotate-y":Me()}],"rotate-z":[{"rotate-z":Me()}],scale:[{scale:st()}],"scale-x":[{"scale-x":st()}],"scale-y":[{"scale-y":st()}],"scale-z":[{"scale-z":st()}],"scale-3d":["scale-3d"],skew:[{skew:$n()}],"skew-x":[{"skew-x":$n()}],"skew-y":[{"skew-y":$n()}],transform:[{transform:[ie,se,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Pr()}],"translate-x":[{"translate-x":Pr()}],"translate-y":[{"translate-y":Pr()}],"translate-z":[{"translate-z":Pr()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}
vendor: 6,657 bytes, line 135
135],"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",ie,se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie,se]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[Ee,Zi,Ur,Kc]}],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","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-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-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-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-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"]}},Yv=Kk(fE);function _o(...t){return Yv(Iv(t))}const Xv=M.forwardRef(({...t},e)=>C.jsx("div",{ref:e,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]",...t}));Xv.displayName="ToastProvider";const Jv=M.forwardRef(({...t},e)=>C.jsx("div",{ref:e,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]",...t}));Jv.displayName="ToastViewport";const hE=nk("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"}}),Zv=M.forwardRef(({className:t,variant:e,...r},i)=>C.jsx("div",{ref:i,className:_o(hE({variant:e}),t),...r}));Zv.displayName="Toast";const pE=M.forwardRef(({className:t,...e},r)=>C.jsx("div",{ref:r,className:_o("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",t),...e}));pE.displayName="ToastAction";const e0=M.forwardRef(({className:t,...e},r)=>C.jsx("button",{ref:r,className:_o("absolute right-2 top-2 rounded-md p-1 text-foreground
135/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",t),"toast-close":"",...e,children:C.jsx(Lk,{className:"h-4 w-4"})}));e0.displayName="ToastClose";const t0=M.forwardRef(({className:t,...e},r)=>C.jsx("div",{ref:r,className:_o("text-sm font-semibold",t),...e}));t0.displayName="ToastTitle";const n0=M.forwardRef(({className:t,...e},r)=>C.jsx("div",{ref:r,className:_o("text-sm opacity-90",t),...e}));n0.displayName="ToastDescription";function mE(){const{toasts:t}=tk();return C.jsxs(Xv,{children:[t.map(function({id:e,title:r,description:i,action:a,...u}){return C.jsxs(Zv,{...u,children:[C.jsxs("div",{className:"grid gap-1",children:[r&&C.jsx(t0,{children:r}),i&&C.jsx(n0,{children:i})]}),a,C.jsx(e0,{})]},e)}),C.jsx(Jv,{})]})}var No=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gE={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},fr,cf,bv,yE=(bv=class{constructor(){ye(this,fr,gE);ye(this,cf,!1)}setTimeoutProvider(t){ee(this,fr,t)}setTimeout(t,e){return P(this,fr).setTimeout(t,e)}clearTimeout(t){P(this,fr).clearTimeout(t)}setInterval(t,e){return P(this,fr).setInterval(t,e)}clearInterval(t){P(this,fr).clearInterval(t)}},fr=new WeakMap,cf=new WeakMap,bv),qr=new yE;function vE(t){setTimeout(t,0)}var is=typeof window>"u"||"Deno"in globalThis;function Lt(){}function wE(t,e){return typeof t=="function"?t(e):t}function wd(t){return typeof t=="number"&&t>=0&&t!==1/0}function r0(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Sr(t,e){return typeof t=="function"?t(e):t}function Xt(t,e){return typeof t=="function"?t(e):t}function gg(t,e){const{type:r="all",exact:i,fetchStatus:a,predicate:u,queryKey:c,stale:f}=t;if(c){if(i){if(e.queryHash!==hf(c,e.options))return!1}else if(!yo(e.queryKey,c))return!1}if(r!=="all"){const h=e.isActive();if(r==="active"&&!h||r==="inactive"&&h)return!1}return!(typeof f=="boolean"&&e.isStale()!==f||a&&a!==e.state.fetchStatus||u&&!u(e))}function yg(t,e){const{exact:r,status:i,predicate:a,mutationKey:u}=t;if(u){if(!e.options.mutationKey)return!1;if(r){if(go(e.options.mutationKey)!==go(u))return!1}else if(!yo(e.options.mutationKey,u))return!1}return!(i&&e.state.status!==i||a&&!a(e))}function hf(t,e){return((e==null?void 0:e.queryKeyHashFn)||go)(t)}function go(t){return JSON.stringify(t,(e,r)=>Sd(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function yo(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(r=>yo(t[r],e[r])):!1}var xE=Object.prototype.hasOwnProperty;function s0(t,e){if(t===e)return t;const r=vg(t)&&vg(e);if(!r&&!(Sd(t)&&Sd(e)))return e;const a=(r?t:Object.keys(t)).length,u=r?e:Object.keys(e),c=u.length,f=r?new Array(c):{};let h=0;for(let m=0;m<c;m++){const g=r?m:u[m],y=t[g],w=e[g];if(y===w){f[g]=y,(r?m<a:xE.call(t,g))&&h++;continue}if(y===null||w===null||typeof y!="object"||typeof w!="object"){f[g]=w;continue}const E=s0(y,w);f[g]=E,E===y&&h++}return a===c&&h===a?t:f}function xd(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(t[r]!==e[r])return!1;return!0}function vg(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Sd(t){if(!wg(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!wg(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function wg(t){return Object.prototype.toString.call(t)==="[object Object]"}function SE(t){return new Promise(e=>{qr.setTimeout(e,t)})}function kd(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?s0(t,e):e}function kE(t,e,r=0){const i=[...t,e];return r&&i.length>r?i.slice(1):i}function EE(t,e,r=0){const i=[e,...t];return r&&i.length>r?i.slice(0,-1):i}var pf=Symbol();function i0(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===pf?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function bE(t,e){return typeof t=="function"?t(...e):!!t}var Qr,hr,$s,Cv,CE=(Cv=class extends No{constructor(){super();ye(this,Qr);ye(this,hr);ye(this,$s);ee(this,$s,e=>{if(!is&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){P(this,hr)||this.setEventListener(P(this,$s))}onUnsubscribe(){var e;this.hasListeners()||((e=P(this,hr))==null||e.call(this),ee(this,hr,void 0))}setEventListener(e){var r;ee(this,$s,e),(r=P(this,hr))==null||r.call(this),ee(this,hr,e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(e){P(this,Qr)!==e&&(ee(this,Qr,e),this.onFocus())}onFocus(){const e=this.isFocused();
135this.listeners.forEach(r=>{r(e)})}isFocused(){var e;return typeof P(this,Qr)=="boolean"?P(this,Qr):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Qr=new WeakMap,hr=new WeakMap,$s=new WeakMap,Cv),mf=new CE;function Ed(){let t,e;const r=new Promise((a,u)=>{t=a,e=u});r.status="pending",r.catch(()=>{});function i(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{i({status:"fulfilled",value:a}),t(a)},r.reject=a=>{i({status:"rejected",reason:a}),e(a)},r}var TE=vE;function PE(){let t=[],e=0,r=f=>{f()},i=f=>{f()},a=TE;const u=f=>{e?t.push(f):a(()=>{r(f)})},c=()=>{const f=t;t=[],f.length&&a(()=>{i(()=>{f.forEach(h=>{r(h)})})})};return{batch:f=>{let h;e++;try{h=f()}finally{e--,e||c()}return h},batchCalls:f=>(...h)=>{u(()=>{f(...h)})},schedule:u,setNotifyFunction:f=>{r=f},setBatchNotifyFunction:f=>{i=f},setScheduler:f=>{a=f}}}var ht=PE(),Ws,pr,qs,Tv,AE=(Tv=class extends No{constructor(){super();ye(this,Ws,!0);ye(this,pr);ye(this,qs);ee(this,qs,e=>{if(!is&&window.addEventListener){const r=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}})}onSubscribe(){P(this,pr)||this.setEventListener(P(this,qs))}onUnsubscribe(){var e;this.hasListeners()||((e=P(this,pr))==null||e.call(this),ee(this,pr,void 0))}setEventListener(e){var r;ee(this,qs,e),(r=P(this,pr))==null||r.call(this),ee(this,pr,e(this.setOnline.bind(this)))}setOnline(e){P(this,Ws)!==e&&(ee(this,Ws,e),this.listeners.forEach(i=>{i(e)}))}isOnline(){return P(this,Ws)}},Ws=new WeakMap,pr=new WeakMap,qs=new WeakMap,Tv),Sl=new AE;function RE(t){return Math.min(1e3*2**t,3e4)}function o0(t){return(t??"online")==="online"?Sl.isOnline():!0}var bd=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function a0(t){let e=!1,r=0,i;const a=Ed(),u=()=>a.status!=="pending",c=k=>{var x;if(!u()){const R=new bd(k);w(R),(x=t.onCancel)==null||x.call(t,R)}},f=()=>{e=!0},h=()=>{e=!1},m=()=>mf.isFocused()&&(t.networkMode==="always"||Sl.isOnline())&&t.canRun(),g=()=>o0(t.networkMode)&&t.canRun(),y=k=>{u()||(i==null||i(),a.resolve(k))},w=k=>{u()||(i==null||i(),a.reject(k))},E=()=>new Promise(k=>{var x;i=R=>{(u()||m())&&k(R)},(x=t.onPause)==null||x.call(t)}).then(()=>{var k;i=void 0,u()||(k=t.onContinue)==null||k.call(t)}),S=()=>{if(u())return;let k;const x=r===0?t.initialPromise:void 0;try{k=x??t.fn()}catch(R){k=Promise.reject(R)}Promise.resolve(k).then(y).catch(R=>{var Y;if(u())return;const B=t.retry??(is?0:3),D=t.retryDelay??RE,V=typeof D=="function"?D(r,R):D,U=B===!0||typeof B=="number"&&r<B||typeof B=="function"&&B(r,R);if(e||!U){w(R);return}r++,(Y=t.onFail)==null||Y.call(t,r,R),SE(V).then(()=>m()?void 0:E()).then(()=>{e?w(R):S()})})};return{promise:a,status:()=>a.status,cancel:c,continue:()=>(i==null||i(),a),cancelRetry:f,continueRetry:h,canStart:g,start:()=>(g()?S():E().then(S),a)}}var Gr,Pv,l0=(Pv=class{constructor(){ye(this,Gr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wd(this.gcTime)&&ee(this,Gr,qr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(is?1/0:300*1e3))}clearGcTimeout(){P(this,Gr)&&(qr.clearTimeout(P(this,Gr)),ee(this,Gr,void 0))}},Gr=new WeakMap,Pv),Yr,Hs,Yt,Xr,lt,Co,Jr,ln,Mn,Av,_E=(Av=class extends l0{constructor(e){super();ye(this,ln);ye(this,Yr);ye(this,Hs);ye(this,Yt);ye(this,Xr);ye(this,lt);ye(this,Co);ye(this,Jr);ee(this,Jr,!1),ee(this,Co,e.defaultOptions),this.setOptions(e.options),this.observers=[],ee(this,Xr,e.client),ee(this,Yt,P(this,Xr).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,ee(this,Yr,xg(this.options)),this.state=e.state??P(this,Yr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=P(this,lt))==null?void 0:e.promise}setOptions(e){if(this.options={...P(this,Co),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=xg(this.options);r.data!==void 0&&(this.setData(r.data,{updatedAt:r.dataUpdatedAt,manual:!0}),ee(this,Yr,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,Yt).remove(this)}setData(e,r){const i=kd(this.state.data,e,this.options);return Pe(this,ln,Mn).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(e,r){Pe(this,ln,Mn).call(this,{type:"setState",state:e,setStateOptions:r})}cancel(e){var i,a;const r=(i=P(this,lt))==null?void 0:i.promise;
135return(a=P(this,lt))==null||a.cancel(e),r?r.then(Lt).catch(Lt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,Yr))}isActive(){return this.observers.some(e=>Xt(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Sr(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!r0(this.state.dataUpdatedAt,e)}onFocus(){var r;const e=this.observers.find(i=>i.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(r=P(this,lt))==null||r.continue()}onOnline(){var r;const e=this.observers.find(i=>i.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(r=P(this,lt))==null||r.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),P(this,Yt).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(P(this,lt)&&(P(this,Jr)?P(this,lt).cancel({revert:!0}):P(this,lt).cancelRetry()),this.scheduleGc()),P(this,Yt).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,ln,Mn).call(this,{type:"invalidate"})}async fetch(e,r){var h,m,g,y,w,E,S,k,x,R,B,D;if(this.state.fetchStatus!=="idle"&&((h=P(this,lt))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(P(this,lt))return P(this,lt).continueRetry(),P(this,lt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const V=this.observers.find(U=>U.options.queryFn);V&&this.setOptions(V.options)}const i=new AbortController,a=V=>{Object.defineProperty(V,"signal",{enumerable:!0,get:()=>(ee(this,Jr,!0),i.signal)})},u=()=>{const V=i0(this.options,r),Y=(()=>{const oe={client:P(this,Xr),queryKey:this.queryKey,meta:this.meta};return a(oe),oe})();return ee(this,Jr,!1),this.options.persister?this.options.persister(V,Y,this):V(Y)},f=(()=>{const V={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:P(this,Xr),state:this.state,fetchFn:u};return a(V),V})();(m=this.options.behavior)==null||m.onFetch(f,this),ee(this,Hs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=f.fetchOptions)==null?void 0:g.meta))&&Pe(this,ln,Mn).call(this,{type:"fetch",meta:(y=f.fetchOptions)==null?void 0:y.meta}),ee(this,lt,a0({initialPromise:r==null?void 0:r.initialPromise,fn:f.fetchFn,onCancel:V=>{V instanceof bd&&V.revert&&this.setState({...P(this,Hs),fetchStatus:"idle"}),i.abort()},onFail:(V,U)=>{Pe(this,ln,Mn).call(this,{type:"failed",failureCount:V,error:U})},onPause:()=>{Pe(this,ln,Mn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,ln,Mn).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0}));try{const V=await P(this,lt).start();if(V===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(V),(E=(w=P(this,Yt).config).onSuccess)==null||E.call(w,V,this),(k=(S=P(this,Yt).config).onSettled)==null||k.call(S,V,this.state.error,this),V}catch(V){if(V instanceof bd){if(V.silent)return P(this,lt).promise;if(V.revert){if(this.state.data===void 0)throw V;return this.state.data}}throw Pe(this,ln,Mn).call(this,{type:"error",error:V}),(R=(x=P(this,Yt).config).onError)==null||R.call(x,V,this),(D=(B=P(this,Yt).config).onSettled)==null||D.call(B,this.state.data,V,this),V}finally{this.scheduleGc()}}},Yr=new WeakMap,Hs=new WeakMap,Yt=new WeakMap,Xr=new WeakMap,lt=new WeakMap,Co=new WeakMap,Jr=new WeakMap,ln=new WeakSet,Mn=function(e){const r=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...u0(i.data,this.options),fetchMeta:e.meta??null};case"success":const a={...i,data:e.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ee(this,Hs,e.manual?a:void 0),a;case"error":const u=e.error;
vendor: 13,763 bytes, line 135
135return{...i,error:u,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=r(this.state),ht.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),P(this,Yt).notify({query:this,type:"updated",action:e})})},Av);function u0(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:o0(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function xg(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,i=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Ot,Ae,To,Et,Zr,Ks,jn,mr,Po,Qs,Gs,es,ts,gr,Ys,Le,so,Cd,Td,Pd,Ad,Rd,_d,Nd,c0,Rv,NE=(Rv=class extends No{constructor(e,r){super();ye(this,Le);ye(this,Ot);ye(this,Ae);ye(this,To);ye(this,Et);ye(this,Zr);ye(this,Ks);ye(this,jn);ye(this,mr);ye(this,Po);ye(this,Qs);ye(this,Gs);ye(this,es);ye(this,ts);ye(this,gr);ye(this,Ys,new Set);this.options=r,ee(this,Ot,e),ee(this,mr,null),ee(this,jn,Ed()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(P(this,Ae).addObserver(this),Sg(P(this,Ae),this.options)?Pe(this,Le,so).call(this):this.updateResult(),Pe(this,Le,Ad).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Od(P(this,Ae),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Od(P(this,Ae),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,Le,Rd).call(this),Pe(this,Le,_d).call(this),P(this,Ae).removeObserver(this)}setOptions(e){const r=this.options,i=P(this,Ae);if(this.options=P(this,Ot).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Xt(this.options.enabled,P(this,Ae))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,Le,Nd).call(this),P(this,Ae).setOptions(this.options),r._defaulted&&!xd(this.options,r)&&P(this,Ot).getQueryCache().notify({type:"observerOptionsUpdated",query:P(this,Ae),observer:this});const a=this.hasListeners();a&&kg(P(this,Ae),i,this.options,r)&&Pe(this,Le,so).call(this),this.updateResult(),a&&(P(this,Ae)!==i||Xt(this.options.enabled,P(this,Ae))!==Xt(r.enabled,P(this,Ae))||Sr(this.options.staleTime,P(this,Ae))!==Sr(r.staleTime,P(this,Ae)))&&Pe(this,Le,Cd).call(this);const u=Pe(this,Le,Td).call(this);a&&(P(this,Ae)!==i||Xt(this.options.enabled,P(this,Ae))!==Xt(r.enabled,P(this,Ae))||u!==P(this,gr))&&Pe(this,Le,Pd).call(this,u)}getOptimisticResult(e){const r=P(this,Ot).getQueryCache().build(P(this,Ot),e),i=this.createResult(r,e);return LE(this,i)&&(ee(this,Et,i),ee(this,Ks,this.options),ee(this,Zr,P(this,Ae).state)),i}getCurrentResult(){return P(this,Et)}trackResult(e,r){return new Proxy(e,{get:(i,a)=>(this.trackProp(a),r==null||r(a),a==="promise"&&!this.options.experimental_prefetchInRender&&P(this,jn).status==="pending"&&P(this,jn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(i,a))})}trackProp(e){P(this,Ys).add(e)}getCurrentQuery(){return P(this,Ae)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const r=P(this,Ot).defaultQueryOptions(e),i=P(this,Ot).getQueryCache().build(P(this,Ot),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(e){return Pe(this,Le,so).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),P(this,Et)))}createResult(e,r){var H;const i=P(this,Ae),a=this.options,u=P(this,Et),c=P(this,Zr),f=P(this,Ks),m=e!==i?e.state:P(this,To),{state:g}=e;let y={...g},w=!1,E;if(r._optimisticResults){const Q=this.hasListeners(),J=!Q&&Sg(e,r),$=Q&&kg(e,i,r,a);(J||$)&&(y={...y,...u0(g.data,e.options)}),r._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:S,errorUpdatedAt:k,status:x}=y;E=y.data;let R=!1;if(r.placeholderData!==void 0&&E===void 0&&x==="pending"){let Q;u!=null&&u.isPlaceholderData&&r.placeholderData===(f==null?void 0:f.placeholderData)?(Q=u.data,R=!0):Q=typeof r.placeholderData=="function"?r.placeholderData((H=P(this,Gs))==null?void 0:H.state.data,P(this,Gs)):r.placeholderData,Q!==void 0&&(x="success",E=kd(u==null?void 0:u.data,Q,r),w=!0)}if(r.select&&E!==void 0&&!R)if(u&&E===(c==null?void 0:c.data)&&r.select===P(this,Po))E=P(this,Qs);else try{ee(this,Po,r.select),E=r.select(E),E=kd(u==null?void 0:u.data,E,r),ee(this,Qs,E),ee(this,mr,null)}catch(Q){ee(this,mr,Q)}P(this,mr)&&(S=P(this,mr),E=P(this,Qs),k=Date.now(),x="error");const B=y.fetchStatus==="fetching",D=x==="pending",V=x==="error",U=D&&B,Y=E!==void 0,N={status:x,fetchStatus:y.fetchStatus,isPending:D,isSuccess:x==="success",isError:V,isInitialLoading:U,isLoading:U,data:E,dataUpdatedAt:y.dataUpdatedAt,error:S,errorUpdatedAt:k,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>m.dataUpdateCount||y.errorUpdateCount>m.errorUpdateCount,isFetching:B,isRefetching:B&&!D,isLoadingError:V&&!Y,isPaused:y.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:V&&Y,isStale:gf(e,r),refetch:this.refetch,promise:P(this,jn),isEnabled:Xt(r.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const Q=ne=>{N.status==="error"?ne.reject(N.error):N.data!==void 0&&ne.resolve(N.data)},J=()=>{const ne=ee(this,jn,N.promise=Ed());Q(ne)},$=P(this,jn);switch($.status){case"pending":e.queryHash===i.queryHash&&Q($);break;case"fulfilled":(N.status==="error"||N.data!==$.value)&&J();break;case"rejected":(N.status!=="error"||N.error!==$.reason)&&J();break}}return N}updateResult(){const e=P(this,Et),r=this.createResult(P(this,Ae),this.options);if(ee(this,Zr,P(this,Ae).state),ee(this,Ks,this.options),P(this,Zr).data!==void 0&&ee(this,Gs,P(this,Ae)),xd(r,e))return;ee(this,Et,r);const i=()=>{if(!e)return!0;const{notifyOnChangeProps:a}=this.options,u=typeof a=="function"?a():a;if(u==="all"||!u&&!P(this,Ys).size)return!0;const c=new Set(u??P(this,Ys));return this.options.throwOnError&&c.add("error"),Object.keys(P(this,Et)).some(f=>{const h=f;return P(this,Et)[h]!==e[h]&&c.has(h)})};Pe(this,Le,c0).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,Le,Ad).call(this)}},Ot=new WeakMap,Ae=new WeakMap,To=new WeakMap,Et=new WeakMap,Zr=new WeakMap,Ks=new WeakMap,jn=new WeakMap,mr=new WeakMap,Po=new WeakMap,Qs=new WeakMap,Gs=new WeakMap,es=new WeakMap,ts=new WeakMap,gr=new WeakMap,Ys=new WeakMap,Le=new WeakSet,so=function(e){Pe(this,Le,Nd).call(this);let r=P(this,Ae).fetch(this.options,e);return e!=null&&e.throwOnError||(r=r.catch(Lt)),r},Cd=function(){Pe(this,Le,Rd).call(this);const e=Sr(this.options.staleTime,P(this,Ae));if(is||P(this,Et).isStale||!wd(e))return;const i=r0(P(this,Et).dataUpdatedAt,e)+1;ee(this,es,qr.setTimeout(()=>{P(this,Et).isStale||this.updateResult()},i))},Td=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(P(this,Ae)):this.options.refetchInterval)??!1},Pd=function(e){Pe(this,Le,_d).call(this),ee(this,gr,e),!(is||Xt(this.options.enabled,P(this,Ae))===!1||!wd(P(this,gr))||P(this,gr)===0)&&ee(this,ts,qr.setInterval(()=>{(this.options.refetchIntervalInBackground||mf.isFocused())&&Pe(this,Le,so).call(this)},P(this,gr)))},Ad=function(){Pe(this,Le,Cd).call(this),Pe(this,Le,Pd).call(this,Pe(this,Le,Td).call(this))},Rd=function(){P(this,es)&&(qr.clearTimeout(P(this,es)),ee(this,es,void 0))},_d=function(){P(this,ts)&&(qr.clearInterval(P(this,ts)),ee(this,ts,void 0))},Nd=function(){const e=P(this,Ot).getQueryCache().build(P(this,Ot),this.options);if(e===P(this,Ae))return;const r=P(this,Ae);ee(this,Ae,e),ee(this,To,e.state),this.hasListeners()&&(r==null||r.removeObserver(this),e.addObserver(this))},c0=function(e){ht.batch(()=>{e.listeners&&this.listeners.forEach(r=>{r(P(this,Et))}),P(this,Ot).getQueryCache().notify({query:P(this,Ae),type:"observerResultsUpdated"})})},Rv);function OE(t,e){return Xt(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Sg(t,e){return OE(t,e)||t.state.data!==void 0&&Od(t,e,e.refetchOnMount)}function Od(t,e,r){if(Xt(e.enabled,t)!==!1&&Sr(e.staleTime,t)!=="static"){const i=typeof r=="function"?r(t):r;return i==="always"||i!==!1&&gf(t,e)}return!1}function kg(t,e,r,i){return(t!==e||Xt(i.enabled,t)===!1)&&(!r.suspense||t.state.status!=="error")&&gf(t,r)}function gf(t,e){return Xt(e.enabled,t)!==!1&&t.isStaleByTime(Sr(e.staleTime,t))}function LE(t,e){return!xd(t.getCurrentResult(),e)}function Eg(t){return{onFetch:(e,r)=>{var g,y,w,E,S;const i=e.options,a=(w=(y=(g=e.fetchOptions)==null?void 0:g.meta)==null?void 0:y.fetchMore)==null?void 0:w.direction,u=((E=e.state.data)==null?void 0:E.pages)||[],c=((S=e.state.data)==null?void 0:S.pageParams)||[];let f={pages:[],pageParams:[]},h=0;const m=async()=>{let k=!1;const x=D=>{Object.defineProperty(D,"signal",{enumerable:!0,get:()=>(e.signal.aborted?k=!0:e.signal.addEventListener("abort",()=>{k=!0}),e.signal)})},R=i0(e.options,e.fetchOptions),B=async(D,V,U)=>{if(k)return Promise.reject();if(V==null&&D.pages.length)return Promise.resolve(D);const oe=(()=>{const J={client:e.client,queryKey:e.queryKey,pageParam:V,direction:U?"backward":"forward",meta:e.options.meta};return x(J),J})(),N=await R(oe),{maxPages:H}=e.options,Q=U?EE:kE;return{pages:Q(D.pages,N,H),pageParams:Q(D.pageParams,V,H)}};if(a&&u.length){const D=a==="backward",V=D?ME:bg,U={pages:u,pageParams:c},Y=V(i,U);f=await B(U,Y,D)}else{const D=t??u.length;do{const V=h===0?c[0]??i.initialPageParam:bg(i,f);if(h>0&&V==null)break;f=await B(f,V),h++}while(h<D)}return f};e.options.persister?e.fetchFn=()=>{var k,x;return(x=(k=e.options).persister)==null?void 0:x.call(k,m,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r)}:e.fetchFn=m}}}function bg(t,{pages:e,pageParams:r}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,r[i],r):void 0}function ME(t,{pages:e,pageParams:r}){var i;return e.length>0?(i=t.getPreviousPageParam)==null?void 0:i.call(t,e[0],e,r[0],r):void 0}var Ao,vn,bt,ns,wn,cr,_v,jE=(_v=class extends l0{constructor(e){super();ye(this,wn);ye(this,Ao);ye(this,vn);ye(this,bt);ye(this,ns);ee(this,Ao,e.client),this.mutationId=e.mutationId,ee(this,bt,e.mutationCache),ee(this,vn,[]),this.state=e.state||DE(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){P(this,vn).includes(e)||(P(this,vn).push(e),this.clearGcTimeout(),P(this,bt).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){ee(this,vn,P(this,vn).filter(r=>r!==e)),this.scheduleGc(),P(this,bt).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){P(this,vn).length||(this.state.status==="pending"?this.scheduleGc():P(this,bt).remove(this))}continue(){var e;return((e=P(this,ns))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var c,f,h,m,g,y,w,E,S,k,x,R,B,D,V,U,Y,oe,N,H;const r=()=>{Pe(this,wn,cr).call(this,{type:"continue"})},i={client:P(this,Ao),meta:this.options.meta,mutationKey:this.options.mutationKey};ee(this,ns,a0({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(Q,J)=>{Pe(this,wn,cr).call(this,{type:"failed",failureCount:Q,error:J})},onPause:()=>{Pe(this,wn,cr).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,bt).canRun(this)}));const a=this.state.status==="pending",u=!P(this,ns).canStart();try{if(a)r();else{Pe(this,wn,cr).call(this,{type:"pending",variables:e,isPaused:u}),await((f=(c=P(this,bt).config).onMutate)==null?void 0:f.call(c,e,this,i));const J=await((m=(h=this.options).onMutate)==null?void 0:m.call(h,e,i));J!==this.state.context&&Pe(this,wn,cr).call(this,{type:"pending",context:J,variables:e,isPaused:u})}const Q=await P(this,ns).start();return await((y=(g=P(this,bt).config).onSuccess)==null?void 0:y.call(g,Q,e,this.state.context,this,i)),await((E=(w=this.options).onSuccess)==null?void 0:E.call(w,Q,e,this.state.context,i)),await((k=(S=P(this,bt).config).onSettled)==null?void 0:k.call(S,Q,null,this.state.variables,this.state.context,this,i)),await((R=(x=this.options).onSettled)==null?void 0:R.call(x,Q,null,e,this.state.context,i)),Pe(this,wn,cr).call(this,{type:"success",data:Q}),Q}catch(Q){try{throw await((D=(B=P(this,bt).config).onError)==null?void 0:D.call(B,Q,e,this.state.context,this,i)),await((U=(V=this.options).onError)==null?void 0:U.call(V,Q,e,this.state.context,i)),await((oe=(Y=P(this,bt).config).onSettled)==null?void 0:oe.call(Y,void 0,Q,this.state.variables,this.state.context,this,i)),await((H=(N=this.options).onSettled)==null?void 0:H.call(N,void 0,Q,e,this.state.context,i)),Q}finally{Pe(this,wn,cr).call(this,{type:"error",error:Q})}}finally{P(this,bt).runNext(this)}}},Ao=new WeakMap,vn=new WeakMap,bt=new WeakMap,ns=new WeakMap,wn=new WeakSet,cr=function(e){const r=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};
135case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),ht.batch(()=>{P(this,vn).forEach(i=>{i.onMutationUpdate(e)}),P(this,bt).notify({mutation:this,type:"updated",action:e})})},_v);function DE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Dn,un,Ro,Nv,IE=(Nv=class extends No{constructor(e={}){super();ye(this,Dn);ye(this,un);ye(this,Ro);this.config=e,ee(this,Dn,new Set),ee(this,un,new Map),ee(this,Ro,0)}build(e,r,i){const a=new jE({client:e,mutationCache:this,mutationId:++Xa(this,Ro)._,options:e.defaultMutationOptions(r),state:i});return this.add(a),a}add(e){P(this,Dn).add(e);const r=tl(e);if(typeof r=="string"){const i=P(this,un).get(r);i?i.push(e):P(this,un).set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(P(this,Dn).delete(e)){const r=tl(e);if(typeof r=="string"){const i=P(this,un).get(r);if(i)if(i.length>1){const a=i.indexOf(e);a!==-1&&i.splice(a,1)}else i[0]===e&&P(this,un).delete(r)}}this.notify({type:"removed",mutation:e})}canRun(e){const r=tl(e);if(typeof r=="string"){const i=P(this,un).get(r),a=i==null?void 0:i.find(u=>u.state.status==="pending");return!a||a===e}else return!0}runNext(e){var i;const r=tl(e);if(typeof r=="string"){const a=(i=P(this,un).get(r))==null?void 0:i.find(u=>
vendor: 4,729 bytes, line 135
135u!==e&&u.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ht.batch(()=>{P(this,Dn).forEach(e=>{this.notify({type:"removed",mutation:e})}),P(this,Dn).clear(),P(this,un).clear()})}getAll(){return Array.from(P(this,Dn))}find(e){const r={exact:!0,...e};return this.getAll().find(i=>yg(r,i))}findAll(e={}){return this.getAll().filter(r=>yg(e,r))}notify(e){ht.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>r.state.isPaused);return ht.batch(()=>Promise.all(e.map(r=>r.continue().catch(Lt))))}},Dn=new WeakMap,un=new WeakMap,Ro=new WeakMap,Nv);function tl(t){var e;return(e=t.options.scope)==null?void 0:e.id}var xn,Ov,FE=(Ov=class extends No{constructor(e={}){super();ye(this,xn);this.config=e,ee(this,xn,new Map)}build(e,r,i){const a=r.queryKey,u=r.queryHash??hf(a,r);let c=this.get(u);return c||(c=new _E({client:e,queryKey:a,queryHash:u,options:e.defaultQueryOptions(r),state:i,defaultOptions:e.getQueryDefaults(a)}),this.add(c)),c}add(e){P(this,xn).has(e.queryHash)||(P(this,xn).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=P(this,xn).get(e.queryHash);r&&(e.destroy(),r===e&&P(this,xn).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ht.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return P(this,xn).get(e)}getAll(){return[...P(this,xn).values()]}find(e){const r={exact:!0,...e};return this.getAll().find(i=>gg(r,i))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(i=>gg(e,i)):r}notify(e){ht.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){ht.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ht.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},xn=new WeakMap,Ov),qe,yr,vr,Xs,Js,wr,Zs,ei,Lv,VE=(Lv=class{constructor(t={}){ye(this,qe);ye(this,yr);ye(this,vr);ye(this,Xs);ye(this,Js);ye(this,wr);ye(this,Zs);ye(this,ei);ee(this,qe,t.queryCache||new FE),ee(this,yr,t.mutationCache||new IE),ee(this,vr,t.defaultOptions||{}),ee(this,Xs,new Map),ee(this,Js,new Map),ee(this,wr,0)}mount(){Xa(this,wr)._++,P(this,wr)===1&&(ee(this,Zs,mf.subscribe(async t=>{t&&(await this.resumePausedMutations(),P(this,qe).onFocus())})),ee(this,ei,Sl.subscribe(async t=>{t&&(await this.resumePausedMutations(),P(this,qe).onOnline())})))}unmount(){var t,e;Xa(this,wr)._--,P(this,wr)===0&&((t=P(this,Zs))==null||t.call(this),ee(this,Zs,void 0),(e=P(this,ei))==null||e.call(this),ee(this,ei,void 0))}isFetching(t){return P(this,qe).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return P(this,yr).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=P(this,qe).get(e.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),r=P(this,qe).build(this,e),i=r.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(Sr(e.staleTime,r))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return P(this,qe).findAll(t).map(({queryKey:e,state:r})=>{const i=r.data;return[e,i]})}setQueryData(t,e,r){const i=this.defaultQueryOptions({queryKey:t}),a=P(this,qe).get(i.queryHash),u=a==null?void 0:a.state.data,c=wE(e,u);if(c!==void 0)return P(this,qe).build(this,i).setData(c,{...r,manual:!0})}setQueriesData(t,e,r){return ht.batch(()=>P(this,qe).findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,r)]))}getQueryState(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=P(this,qe).get(e.queryHash))==null?void 0:r.state}removeQueries(t){const e=P(this,qe);ht.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=P(this,qe);return ht.batch(()=>(r.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const r={revert:!0,...e},i=ht.batch(()=>P(this,qe).findAll(t).map(a=>a.cancel(r)));return Promise.all(i).then(Lt).catch(Lt)}invalidateQueries(t,e={}){return ht.batch(()=>(P(this,qe).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const r={...e,cancelRefetch:e.cancelRefetch??!0},i=ht.batch(()=>P(this,qe).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let u=a.fetch(void 0,r);return r.throwOnError||(u=u.catch(Lt)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(Lt)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=P(this,qe).build(this,e);return r.isStaleByTime(Sr(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}
135prefetchQuery(t){return this.fetchQuery(t).then(Lt).catch(Lt)}fetchInfiniteQuery(t){return t.behavior=Eg(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Lt).catch(Lt)}ensureInfiniteQueryData(t){return t.behavior=Eg(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Sl.isOnline()?P(this,yr).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,qe)}getMutationCache(){return P(this,yr)}getDefaultOptions(){return P(this,vr)}setDefaultOptions(t){ee(this,vr,t)}setQueryDefaults(t,e){P(this,Xs).set(go(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...P(this,Xs).values()],r={};return e.forEach(i=>{yo(t,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(t,e){P(this,Js).set(go(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...P(this,Js).values()],r={};return e.forEach(i=>{yo(t,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...P(this,vr).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=hf(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===pf&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...P(this,vr).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){P(this,qe).clear(),P(this,yr).clear()}},qe=new WeakMap,yr=new WeakMap,vr=new WeakMap,Xs=new WeakMap,Js=new WeakMap,wr=new WeakMap,Zs=new WeakMap,ei=new WeakMap,Lv),d0=M.createContext(void 0),BE=t=>{const e=M.useContext(d0);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},UE=({client:t,children:e})=>(M.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),C.jsx(d0.Provider,{value:t,children:e})),f0=M.createContext(!1),zE=()=>M.useContext(f0);f0.Provider;function $E(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var WE=M.createContext($E()),qE=()=>M.useContext(WE),HE=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},KE=t=>{M.useEffect(()=>{t.clearReset()},[t])},QE=({result:t,errorResetBoundary:e,throwOnError:r,query:i,suspense:a})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(a&&t.data===void 0||bE(r,[t.error,i])),GE=t=>{if(t.suspense){const r=a=>a==="static"?a:Math.max(a??1e3,1e3),i=t.staleTime;t.staleTime=typeof i=="function"?(...a)=>r(i(...a)):r(i),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},YE=(t,e)=>t.isLoading&&t.isFetching&&!e,XE=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,Cg=(t,e,r)=>e.fetchOptimistic(t).catch(()=>{r.clearReset()});function JE(t,e,r){var y,w,E,S,k;const i=zE(),a=qE(),u=BE(),c=u.defaultQueryOptions(t);(w=(y=u.getDefaultOptions().queries)==null?void 0:y._experimental_beforeQuery)==null||w.call(y,c),c._optimisticResults=i?"isRestoring":"optimistic",GE(c),HE(c,a),KE(a);const f=!u.getQueryCache().get(c.queryHash),[h]=M.useState(()=>new e(u,c)),m=h.getOptimisticResult(c),g=!i&&t.subscribed!==!1;if(M.useSyncExternalStore(M.useCallback(x=>{const R=g?h.subscribe(ht.batchCalls(x)):Lt;return h.updateResult(),R},[h,g]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),M.useEffect(()=>{h.setOptions(c)},[c,h]),XE(c,m))throw Cg(c,h,a);if(QE({result:m,errorResetBoundary:a,throwOnError:c.throwOnError,query:u.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw m.error;if((S=(E=u.getDefaultOptions().queries)==null?void 0:E._experimental_afterQuery)==null||S.call(E,c,m),c.experimental_prefetchInRender&&!is&&YE(m,i)){const x=f?Cg(c,h,a):(k=u.getQueryCache().get(c.queryHash))==null?void 0:k.promise;x==null||x.catch(Lt).finally(()=>{h.updateResult()})}return c.notifyOnChangeProps?m:h.trackResult(m)}function ZE(t,e){return JE(t,NE)}const eb=new VE({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});function tb(){const[t,e]=M.useState(!1),r=M.useRef(!1),[i,a]=M.useState(!1),u=M.useRef(!1),[c,f]=M.use
135State(!1),h=M.useRef(!1),m=M.useRef([]),g=M.useRef([]),y=M.useRef([]),w=M.useRef(null),E=(N=!1)=>{const H=document.createElement("div");return H.style.position="absolute",H.style.pointerEvents="none",H.style.transition="all 0.1s ease-in-out",H.style.zIndex="9999",N?H.style.border="2px solid #2563EB":(H.style.border="2px solid #95a5fc",H.style.backgroundColor="rgba(99, 102, 241, 0.05)"),H},S=(N,H,Q=!1)=>{if(!H||!r.current)return;H.offsetWidth;const J=H.getBoundingClientRect();N.style.top=`${J.top+window.scrollY}px`,N.style.left=`${J.left+window.scrollX}px`,N.style.width=`${J.width}px`,N.style.height=`${J.height}px`;let $=N.querySelector("div");$||($=document.createElement("div"),$.textContent=H.tagName.toLowerCase(),$.style.position="absolute",$.style.top="-27px",$.style.left="-2px",$.style.padding="2px 8px",$.style.fontSize="11px",$.style.fontWeight=Q?"500":"400",$.style.color=Q?"#ffffff":"#526cff",$.style.backgroundColor=Q?"#526cff":"#DBEAFE",$.style.borderRadius="3px",$.style.boxShadow="none",$.style.minWidth="24px",$.style.textAlign="center",N.appendChild($))},k=N=>{if(!N)return[];const H=[...document.querySelectorAll(`[data-source-location="${N}"]`)];return H.length>0?H:[...document.querySelectorAll(`[data-visual-selector-id="${N}"]`)]},x=()=>{m.current.forEach(N=>{N&&N.parentNode&&N.remove()}),m.current=[],y.current=[]},R=N=>{if(!r.current||u.current)return;if(h.current){x();return}if(N.target.tagName.toLowerCase()==="path"){x();return}const H=N.target.closest("[data-source-location], [data-visual-selector-id]");if(!H){x();return}const Q=H.dataset.sourceLocation||H.dataset.visualSelectorId;if(H.dataset.sourceLocation,w.current===Q){x();return}const J=k(Q);x(),J.forEach($=>{const ne=E(!1);document.body.appendChild(ne),m.current.push(ne),S(ne,$)}),y.current=J},B=()=>{u.current||x()},D=N=>{var pe;if(!r.current)return;if(h.current){N.preventDefault(),N.stopPropagation(),N.stopImmediatePropagation(),window.parent.postMessage({type:"close-dropdowns"},"*");return}if(N.target.tagName.toLowerCase()==="path")return;N.preventDefault(),N.stopPropagation(),N.stopImmediatePropagation();const H=N.target.closest("[data-source-location], [data-visual-selector-id]");if(!H)return;const Q=H.dataset.sourceLocation||H.dataset.visualSelectorId;H.dataset.sourceLocation,g.current.forEach(he=>{he&&he.parentNode&&he.remove()}),g.current=[],k(Q).forEach(he=>{const de=E(!0);document.body.appendChild(de),g.current.push(de),S(de,he,!0)}),w.current=Q,x();const $=H.getBoundingClientRect(),ne={top:$.top,left:$.left,right:$.right,bottom:$.bottom,width:$.width,height:$.height,centerX:$.left+$.width/2,centerY:$.top+$.height/2},Ce={type:"element-selected",tagName:H.tagName,classes:((pe=H.className)==null?void 0:pe.baseVal)||H.className||"",visualSelectorId:Q,content:H.innerText,dataSourceLocation:H.dataset.sourceLocation,isDynamicContent:H.dataset.dynamicContent==="true",linenumber:H.dataset.linenumber,filename:H.dataset.filename,position:ne};window.parent.postMessage(Ce,"*")},V=()=>{g.current.forEach(N=>{N&&N.parentNode&&N.remove()}),g.current=[],w.current=null},U=(N,H,Q=!1)=>{const J=k(N);J.length!==0&&(J.forEach($=>{var ne;if(Q)$.className=H;else{const Ce=((ne=$.className)==null?void 0:ne.baseVal)||$.className||"";$.className=Yv(Ce,H)}}),setTimeout(()=>{var $,ne;w.current===N&&g.current.forEach((Ce,pe)=>{pe<J.length&&S(Ce,J[pe])}),y.current.length>0&&((ne=($=y.current[0])==null?void 0:$.dataset)==null?void 0:ne.visualSelectorId)===N&&m.current.forEach((pe,he)=>{he<y.current.length&&S(pe,y.current[he])})},50))},Y=(N,H)=>{const Q=k(N);Q.length!==0&&(Q.forEach(J=>{J.innerText=H}),setTimeout(()=>{w.current===N&&g.current.forEach((J,$)=>{$<Q.length&&S(J,Q[$])})},50))},oe=N=>{e(N),r.current=N,N?(document.body.style.cursor="crosshair",document.addEventListener("mouseover",R),document.addEventListener("mouseout",B),document.addEventListener("click",D,!0)):(x(),g.current.forEach(H=>{H&&H.parentNode&&H.remove()}),g.current=[],y.current=[],w.current=null,document.body.style.cursor="default",document.removeEventListener("mouseover",R),document.removeEventListener("mouseout",B),document.removeEventListener("click",D,!0))};return M.useEffect(()=>{document.querySelectorAll("[data-linenumber]:not([data-visual-selector-id])").forEach((J,$)=>
135{const ne=`visual-id-${J.dataset.filename}-${J.dataset.linenumber}-${$}`;J.dataset.visualSelectorId=ne});const H=()=>{if(w.current){const J=k(w.current);if(J.length>0){const ne=J[0].getBoundingClientRect(),Ce=window.innerHeight,pe=window.innerWidth,he=ne.top<Ce&&ne.bottom>0&&ne.left<pe&&ne.right>0,de={top:ne.top,left:ne.left,right:ne.right,bottom:ne.bottom,width:ne.width,height:ne.height,centerX:ne.left+ne.width/2,centerY:ne.top+ne.height/2};window.parent.postMessage({type:"element-position-update",position:de,isInViewport:he,visualSelectorId:w.current},"*")}}},Q=J=>{const $=J.data;switch($.type){case"toggle-visual-edit-mode":oe($.data.enabled);break;case"update-classes":$.data&&$.data.classes!==void 0?U($.data.visualSelectorId,$.data.classes,$.data.replace||!1):console.warn("[Agent] Invalid update-classes message:",$);break;case"unselect-element":V();break;case"refresh-page":window.location.reload();break;case"update-content":$.data&&$.data.content!==void 0?Y($.data.visualSelectorId,$.data.content):console.warn("[Agent] Invalid update-content message:",$);break;case"request-element-position":if(w.current){const ne=k(w.current);if(ne.length>0){const pe=ne[0].getBoundingClientRect(),he=window.innerHeight,de=window.innerWidth,F=pe.top<he&&pe.bottom>0&&pe.left<de&&pe.right>0,le={top:pe.top,left:pe.left,right:pe.right,bottom:pe.bottom,width:pe.width,height:pe.height,centerX:pe.left+pe.width/2,centerY:pe.top+pe.height/2};window.parent.postMessage({type:"element-position-update",position:le,isInViewport:F,visualSelectorId:w.current},"*")}}break;case"popover-drag-state":$.data&&$.data.isDragging!==void 0&&(a($.data.isDragging),u.current=$.data.isDragging,$.data.isDragging&&x());break;case"dropdown-state":$.data&&$.data.isOpen!==void 0&&(f($.data.isOpen),h.current=$.data.isOpen,$.data.isOpen&&x());break}};return window.addEventListener("message",Q),window.addEventListener("scroll",H,!0),document.addEventListener("scroll",H,!0),window.parent.postMessage({type:"visual-edit-agent-ready"},"*"),()=>{window.removeEventListener("message",Q),window.removeEventListener("scroll",H,!0),document.removeEventListener("scroll",H,!0),document.removeEventListener("mouseover",R),document.removeEventListener("mouseout",B),document.removeEventListener("click",D,!0),x(),g.current.forEach(J=>{J&&J.parentNode&&J.remove()})}},[]),M.useEffect(()=>{r.current=t},[t]),M.useEffect(()=>{u.current=i},[i]),M.useEffect(()=>{h.current=c},[c]),M.useEffect(()=>{const N=()=>{if(w.current){const Q=k(w.current);g.current.forEach((J,$)=>{$<Q.length&&S(J,Q[$])})}y.current.length>0&&m.current.forEach((Q,J)=>{J<y.current.length&&S(Q,y.current[J])})},H=new MutationObserver(Q=>{Q.some($=>{const ne=pe=>{if(pe.nodeType===Node.ELEMENT_NODE){if(pe.dataset&&pe.dataset.visualSelectorId)return!0;for(let he=0;he<pe.children.length;he++)if(ne(pe.children[he]))return!0}return!1};return $.type==="attributes"&&($.attributeName==="style"||$.attributeName==="class"||$.attributeName==="width"||$.attributeName==="height")&&ne($.target)})&&setTimeout(N,50)});return H.observe(document.body,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["style","class","width","height"]}),window.addEventListener("resize",N),window.addEventListener("scroll",N),()=>{window.removeEventListener("resize",N),window.removeEventListener("scroll",N),H.disconnect()}},[]),null}jv();/**
136 * @remix-run/router v1.23.0
137 *
138 * Copyright (c) Remix Software Inc.
139 *
140 * This source code is licensed under the MIT license found in the
141 * LICENSE.md file in the root directory of this source tree.
142 *
143 * @license MIT
144 */function vo(){return vo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},vo.apply(this,arguments)}var xr;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(xr||(xr={}));const Tg="popstate";function nb(t){t===void 0&&(t={});function e(i,a){let{pathname:u,search:c,hash:f}=i.location;return Ld("",{pathname:u,search:c,hash:f},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}
vendor: 10,154 bytes, lines 144-153
144function r(i,a){return typeof a=="string"?a:kl(a)}return sb(e,r,null,t)}function Ze(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function h0(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function rb(){return Math.random().toString(36).substr(2,8)}function Pg(t,e){return{usr:t.state,key:t.key,idx:e}}function Ld(t,e,r,i){return r===void 0&&(r=null),vo({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?ai(e):e,{state:r,key:e&&e.key||i||rb()})}function kl(t){let{pathname:e="/",search:r="",hash:i=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function ai(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let i=t.indexOf("?");i>=0&&(e.search=t.substr(i),t=t.substr(0,i)),t&&(e.pathname=t)}return e}function sb(t,e,r,i){i===void 0&&(i={});let{window:a=document.defaultView,v5Compat:u=!1}=i,c=a.history,f=xr.Pop,h=null,m=g();m==null&&(m=0,c.replaceState(vo({},c.state,{idx:m}),""));function g(){return(c.state||{idx:null}).idx}function y(){f=xr.Pop;let x=g(),R=x==null?null:x-m;m=x,h&&h({action:f,location:k.location,delta:R})}function w(x,R){f=xr.Push;let B=Ld(k.location,x,R);m=g()+1;let D=Pg(B,m),V=k.createHref(B);try{c.pushState(D,"",V)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;a.location.assign(V)}u&&h&&h({action:f,location:k.location,delta:1})}function E(x,R){f=xr.Replace;let B=Ld(k.location,x,R);m=g();let D=Pg(B,m),V=k.createHref(B);c.replaceState(D,"",V),u&&h&&h({action:f,location:k.location,delta:0})}function S(x){let R=a.location.origin!=="null"?a.location.origin:a.location.href,B=typeof x=="string"?x:kl(x);return B=B.replace(/ $/,"%20"),Ze(R,"No window.location.(origin|href) available to create URL for href: "+B),new URL(B,R)}let k={get action(){return f},get location(){return t(a,c)},listen(x){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(Tg,y),h=x,()=>{a.removeEventListener(Tg,y),h=null}},createHref(x){return e(a,x)},createURL:S,encodeLocation(x){let R=S(x);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:w,replace:E,go(x){return c.go(x)}};return k}var Ag;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Ag||(Ag={}));function ib(t,e,r){return r===void 0&&(r="/"),ob(t,e,r)}function ob(t,e,r,i){let a=typeof e=="string"?ai(e):e,u=yf(a.pathname||"/",r);if(u==null)return null;let c=p0(t);ab(c);let f=null;for(let h=0;f==null&&h<c.length;++h){let m=wb(u);f=gb(c[h],m)}return f}function p0(t,e,r,i){e===void 0&&(e=[]),r===void 0&&(r=[]),i===void 0&&(i="");let a=(u,c,f)=>{let h={relativePath:f===void 0?u.path||"":f,caseSensitive:u.caseSensitive===!0,childrenIndex:c,route:u};h.relativePath.startsWith("/")&&(Ze(h.relativePath.startsWith(i),'Absolute route path "'+h.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),h.relativePath=h.relativePath.slice(i.length));let m=kr([i,h.relativePath]),g=r.concat(h);u.children&&u.children.length>0&&(Ze(u.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),p0(u.children,e,g,m)),!(u.path==null&&!u.index)&&e.push({path:m,score:pb(m,u.index),routesMeta:g})};return t.forEach((u,c)=>{var f;if(u.path===""||!((f=u.path)!=null&&f.includes("?")))a(u,c);else for(let h of m0(u.path))a(u,c,h)}),e}function m0(t){let e=t.split("/");if(e.length===0)return[];let[r,...i]=e,a=r.endsWith("?"),u=r.replace(/\?$/,"");if(i.length===0)return a?[u,""]:[u];let c=m0(i.join("/")),f=[];return f.push(...c.map(h=>h===""?u:[u,h].join("/"))),a&&f.push(...c),f.map(h=>t.startsWith("/")&&h===""?"/":h)}function ab(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:mb(e.routesMeta.map(i=>i.childrenIndex),r.routesMeta.map(i=>i.childrenIndex)))}const lb=/^:[\w-]+$/,ub=3,cb=2,db=1,fb=10,hb=-2,Rg=t=>t==="*";function pb(t,e){let r=t.split("/"),i=r.length;return r.some(Rg)&&(i+=hb),e&&(i+=cb),r.filter(a=>!Rg(a)).reduce((a,u)=>a+(lb.test(u)?ub:u===""?db:fb),i)}function mb(t,e){return t.length===e.length&&t.slice(0,-1).every((i,a)=>i===e[a])?t[t.length-1]-e[e.length-1]:0}function gb(t,e,r){let{routesMeta:i}=t,a={},u="/",c=[];for(let f=0;f<i.length;++f){let h=i[f],m=f===i.length-1,g=u==="/"?e:e.slice(u.length)||"/",y=yb({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},g),w=h.route;if(!y)return null;Object.assign(a,y.params),c.push({params:a,pathname:kr([u,y.pathname]),pathnameBase:Eb(kr([u,y.pathnameBase])),route:w}),y.pathnameBase!=="/"&&(u=kr([u,y.pathnameBase]))}return c}function yb(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,i]=vb(t.path,t.caseSensitive,t.end),a=e.match(r);if(!a)return null;let u=a[0],c=u.replace(/(.)\/+$/,"$1"),f=a.slice(1);return{params:i.reduce((m,g,y)=>{let{paramName:w,isOptional:E}=g;if(w==="*"){let k=f[y]||"";c=u.slice(0,u.length-k.length).replace(/(.)\/+$/,"$1")}const S=f[y];return E&&!S?m[w]=void 0:m[w]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:c,pattern:t}}function vb(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),h0(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let i=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,h)=>(i.push({paramName:f,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(i.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),i]}function wb(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return h0(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function yf(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,i=t.charAt(r);return i&&i!=="/"?null:t.slice(r)||"/"}function xb(t,e){e===void 0&&(e="/");let{pathname:r,search:i="",hash:a=""}=typeof t=="string"?ai(t):t;return{pathname:r?r.startsWith("/")?r:Sb(r,e):e,search:bb(i),hash:Cb(a)}}function Sb(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function Qc(t,e,r,i){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(i)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function kb(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function g0(t,e){let r=kb(t);return e?r.map((i,a)=>a===r.length-1?i.pathname:i.pathnameBase):r.map(i=>i.pathnameBase)}function y0(t,e,r,i){i===void 0&&(i=!1);let a;typeof t=="string"?a=ai(t):(a=vo({},t),Ze(!a.pathname||!a.pathname.includes("?"),Qc("?","pathname","search",a)),Ze(!a.pathname||!a.pathname.includes("#"),Qc("#","pathname","hash",a)),Ze(!a.search||!a.search.includes("#"),Qc("#","search","hash",a)));let u=t===""||a.pathname==="",c=u?"/":a.pathname,f;if(c==null)f=r;else{let y=e.length-1;if(!i&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),y-=1;a.pathname=w.join("/")}f=y>=0?e[y]:"/"}let h=xb(a,f),m=c&&c!=="/"&&c.endsWith("/"),g=(u||c===".")&&r.endsWith("/");return!h.pathname.endsWith("/")&&(m||g)&&(h.pathname+="/"),h}const kr=t=>t.join("/").replace(/\/\/+/g,"/"),Eb=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),bb=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Cb=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function Tb(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const v0=["post","put","patch","delete"];new Set(v0);const Pb=["get",...v0];new Set(Pb);/**
145 * React Router v6.30.1
146 *
147 * Copyright (c) Remix Software Inc.
148 *
149 * This source code is licensed under the MIT license found in the
150 * LICENSE.md file in the root directory of this source tree.
151 *
152 * @license MIT
153 */function wo(){return wo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},wo.apply(this,arguments)}const vf=M.createContext(null),Ab=M.createContext(null),as=M.createContext(null),Nl=M.createContext(null),ls=M.createContext({outlet:null,matches:[],isDataRoute:!1}),w0=M.createContext(null);function Rb(t,e){let{relative:r}=e===void 0?{}:e;Oo()||Ze(!1);let{basename:i,navigator:a}=M.useContext(as),{hash:u,pathname:c,search:f}=S0(t,{relative:r}),h=c;return i!=="/"&&(h=c==="/"?i:kr([i,c])),a.createHref({pathname:h,search:f,hash:u})}function Oo(){return M.useContext(Nl)!=null}function li(){return Oo()||Ze(!1),M.useContext(Nl).location}function x0(t){M.useContext(as).static||M.useLayoutEffect(t)}function _b(){let{isDataRoute:t}=M.useContext(ls);return t?$b():Nb()}function Nb(){Oo()||Ze(!1);let t=M.useContext(vf),{basename:e,future:r,navigator:i}=M.useContext(as),{matches:a}=M.useContext(ls),{pathname:u}=li(),c=JSON.stringify(g0(a,r.v7_relativeSplatPath)),f=M.useRef(!1);return x0(()=>{f.current=!0}),M.useCallback(function(m,g){if(g===void 0&&(g={}),!f.current)return;if(typeof m=="number"){i.go(m);return}let y=y0(m,JSON.parse(c),u,g.relative==="path");t==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:kr([e,y.pathname])),(g.replace?i.replace:i.push)(y,g.state,g)},[e,i,c,u,t])}function S0(t,e){let{relative:r}=e===void 0?{}:e,{future:i}=M.useContext(as),{matches:a}=M.useContext(ls),{pathname:u}=li(),c=JSON.stringify(g0(a,i.v7_relativeSplatPath));return M.useMemo(()=>y0(t,JSON.parse(c),u,r==="path"),[t,c,u,r])}function Ob(t,e){return Lb(t,e)}
vendor: 7,111 bytes, lines 153-162
153function Lb(t,e,r,i){Oo()||Ze(!1);let{navigator:a}=M.useContext(as),{matches:u}=M.useContext(ls),c=u[u.length-1],f=c?c.params:{};c&&c.pathname;let h=c?c.pathnameBase:"/";c&&c.route;let m=li(),g;if(e){var y;let x=typeof e=="string"?ai(e):e;h==="/"||(y=x.pathname)!=null&&y.startsWith(h)||Ze(!1),g=x}else g=m;let w=g.pathname||"/",E=w;if(h!=="/"){let x=h.replace(/^\//,"").split("/");E="/"+w.replace(/^\//,"").split("/").slice(x.length).join("/")}let S=ib(t,{pathname:E}),k=Fb(S&&S.map(x=>Object.assign({},x,{params:Object.assign({},f,x.params),pathname:kr([h,a.encodeLocation?a.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?h:kr([h,a.encodeLocation?a.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),u,r,i);return e&&k?M.createElement(Nl.Provider,{value:{location:wo({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:xr.Pop}},k):k}function Mb(){let t=zb(),e=Tb(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},e),r?M.createElement("pre",{style:a},r):null,null)}const jb=M.createElement(Mb,null);class Db extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?M.createElement(ls.Provider,{value:this.props.routeContext},M.createElement(w0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ib(t){let{routeContext:e,match:r,children:i}=t,a=M.useContext(vf);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),M.createElement(ls.Provider,{value:e},i)}function Fb(t,e,r,i){var a;if(e===void 0&&(e=[]),r===void 0&&(r=null),i===void 0&&(i=null),t==null){var u;if(!r)return null;if(r.errors)t=r.matches;else if((u=i)!=null&&u.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let c=t,f=(a=r)==null?void 0:a.errors;if(f!=null){let g=c.findIndex(y=>y.route.id&&(f==null?void 0:f[y.route.id])!==void 0);g>=0||Ze(!1),c=c.slice(0,Math.min(c.length,g+1))}let h=!1,m=-1;if(r&&i&&i.v7_partialHydration)for(let g=0;g<c.length;g++){let y=c[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(m=g),y.route.id){let{loaderData:w,errors:E}=r,S=y.route.loader&&w[y.route.id]===void 0&&(!E||E[y.route.id]===void 0);if(y.route.lazy||S){h=!0,m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}return c.reduceRight((g,y,w)=>{let E,S=!1,k=null,x=null;r&&(E=f&&y.route.id?f[y.route.id]:void 0,k=y.route.errorElement||jb,h&&(m<0&&w===0?(Wb("route-fallback"),S=!0,x=null):m===w&&(S=!0,x=y.route.hydrateFallbackElement||null)));let R=e.concat(c.slice(0,w+1)),B=()=>{let D;return E?D=k:S?D=x:y.route.Component?D=M.createElement(y.route.Component,null):y.route.element?D=y.route.element:D=g,M.createElement(Ib,{match:y,routeContext:{outlet:g,matches:R,isDataRoute:r!=null},children:D})};return r&&(y.route.ErrorBoundary||y.route.errorElement||w===0)?M.createElement(Db,{location:r.location,revalidation:r.revalidation,component:k,error:E,children:B(),routeContext:{outlet:null,matches:R,isDataRoute:!0}}):B()},null)}var k0=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(k0||{}),E0=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(E0||{});function Vb(t){let e=M.useContext(vf);return e||Ze(!1),e}function Bb(t){let e=M.useContext(Ab);return e||Ze(!1),e}function Ub(t){let e=M.useContext(ls);return e||Ze(!1),e}function b0(t){let e=Ub(),r=e.matches[e.matches.length-1];return r.route.id||Ze(!1),r.route.id}function zb(){var t;let e=M.useContext(w0),r=Bb(),i=b0();return e!==void 0?e:(t=r.errors)==null?void 0:t[i]}function $b(){let{router:t}=Vb(k0.UseNavigateStable),e=b0(E0.UseNavigateStable),r=M.useRef(!1);return x0(()=>{r.current=!0}),M.useCallback(function(a,u){u===void 0&&(u={}),r.current&&(typeof a=="number"?t.navigate(a):t.navigate(a,wo({fromRouteId:e},u)))},[t,e])}const _g={};function Wb(t,e,r){_g[t]||(_g[t]=!0)}function qb(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function cl(t){Ze(!1)}function Hb(t){let{basename:e="/",children:r=null,location:i,navigationType:a=xr.Pop,navigator:u,static:c=!1,future:f}=t;Oo()&&Ze(!1);let h=e.replace(/^\/*/,"/"),m=M.useMemo(()=>({basename:h,navigator:u,static:c,future:wo({v7_relativeSplatPath:!1},f)}),[h,f,u,c]);typeof i=="string"&&(i=ai(i));let{pathname:g="/",search:y="",hash:w="",state:E=null,key:S="default"}=i,k=M.useMemo(()=>{let x=yf(g,h);return x==null?null:{location:{pathname:x,search:y,hash:w,state:E,key:S},navigationType:a}},[h,g,y,w,E,S,a]);return k==null?null:M.createElement(as.Provider,{value:m},M.createElement(Nl.Provider,{children:r,value:k}))}function Kb(t){let{children:e,location:r}=t;return Ob(Md(e),r)}new Promise(()=>{});function Md(t,e){e===void 0&&(e=[]);let r=[];return M.Children.forEach(t,(i,a)=>{if(!M.isValidElement(i))return;let u=[...e,a];if(i.type===M.Fragment){r.push.apply(r,Md(i.props.children,u));return}i.type!==cl&&Ze(!1),!i.props.index||!i.props.children||Ze(!1);let c={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Md(i.props.children,u)),r.push(c)}),r}/**
154 * React Router DOM v6.30.1
155 *
156 * Copyright (c) Remix Software Inc.
157 *
158 * This source code is licensed under the MIT license found in the
159 * LICENSE.md file in the root directory of this source tree.
160 *
161 * @license MIT
162 */function jd(){return jd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},jd.apply(this,arguments)}function Qb(t,e){if(t==null)return{};var r={},i=Object.keys(t),a,u;for(u=0;
162u<i.length;u++)a=i[u],!(e.indexOf(a)>=0)&&(r[a]=t[a]);return r}function Gb(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Yb(t,e){return t.button===0&&(!e||e==="_self")&&!Gb(t)}const Xb=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Jb="6";try{window.__reactRouterVersion=Jb}catch{}const Zb="startTransition",Ng=$S[Zb];function eC(t){let{basename:e,children:r,future:i,window:a}=t,u=M.useRef();u.current==null&&(u.current=nb({window:a,v5Compat:!0}));let c=u.current,[f,h]=M.useState({action:c.action,location:c.location}),{v7_startTransition:m}=i||{},g=M.useCallback(y=>{m&&Ng?Ng(()=>h(y)):h(y)},[h,m]);return M.useLayoutEffect(()=>c.listen(g),[c,g]),M.useEffect(()=>qb(i),[i]),M.createElement(Hb,{basename:e,children:r,location:f.location,navigationType:f.action,navigator:c,future:i})}const tC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Fn=M.forwardRef(function(e,r){let{onClick:i,relative:a,reloadDocument:u,replace:c,state:f,target:h,to:m,preventScrollReset:g,viewTransition:y}=e,w=Qb(e,Xb),{basename:E}=M.useContext(as),S,k=!1;if(typeof m=="string"&&nC.test(m)&&(S=m,tC))try{let D=new URL(window.location.href),V=m.startsWith("//")?new URL(D.protocol+m):new URL(m),U=yf(V.pathname,E);V.origin===D.origin&&U!=null?m=U+V.search+V.hash:k=!0}catch{}let x=Rb(m,{relative:a}),R=rC(m,{replace:c,state:f,target:h,preventScrollReset:g,relative:a,viewTransition:y});function B(D){i&&i(D),D.defaultPrevented||R(D)}return M.createElement("a",jd({},w,{href:S||x,onClick:k||u?i:B,ref:r,target:h}))});var Og;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Og||(Og={}));var Lg;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Lg||(Lg={}));function rC(t,e){let{target:r,replace:i,state:a,preventScrollReset:u,relative:c,viewTransition:f}=e===void 0?{}:e,h=_b(),m=li(),g=S0(t,{relative:c}
vendor: 4,454 bytes, line 162
162);return M.useCallback(y=>{if(Yb(y,r)){y.preventDefault();let w=i!==void 0?i:kl(m)===kl(g);h(t,{replace:w,state:a,preventScrollReset:u,relative:c,viewTransition:f})}},[m,h,g,i,a,r,t,u,c,f])}function C0(t,e){return function(){return t.apply(e,arguments)}}const{toString:sC}=Object.prototype,{getPrototypeOf:wf}=Object,{iterator:Ol,toStringTag:T0}=Symbol,Ll=(t=>e=>{const r=sC.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),dn=t=>(t=t.toLowerCase(),e=>Ll(e)===t),Ml=t=>e=>typeof e===t,{isArray:ui}=Array,ti=Ml("undefined");function Lo(t){return t!==null&&!ti(t)&&t.constructor!==null&&!ti(t.constructor)&&Mt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const P0=dn("ArrayBuffer");function iC(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&P0(t.buffer),e}const oC=Ml("string"),Mt=Ml("function"),A0=Ml("number"),Mo=t=>t!==null&&typeof t=="object",aC=t=>t===!0||t===!1,dl=t=>{if(Ll(t)!=="object")return!1;const e=wf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(T0 in t)&&!(Ol in t)},lC=t=>{if(!Mo(t)||Lo(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},uC=dn("Date"),cC=dn("File"),dC=dn("Blob"),fC=dn("FileList"),hC=t=>Mo(t)&&Mt(t.pipe),pC=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Mt(t.append)&&((e=Ll(t))==="formdata"||e==="object"&&Mt(t.toString)&&t.toString()==="[object FormData]"))},mC=dn("URLSearchParams"),[gC,yC,vC,wC]=["ReadableStream","Request","Response","Headers"].map(dn),xC=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jo(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let i,a;if(typeof t!="object"&&(t=[t]),ui(t))for(i=0,a=t.length;i<a;i++)e.call(null,t[i],i,t);else{if(Lo(t))return;const u=r?Object.getOwnPropertyNames(t):Object.keys(t),c=u.length;let f;for(i=0;i<c;i++)f=u[i],e.call(null,t[f],f,t)}}function R0(t,e){if(Lo(t))return null;e=e.toLowerCase();const r=Object.keys(t);let i=r.length,a;for(;i-- >0;)if(a=r[i],e===a.toLowerCase())return a;return null}const Hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_0=t=>!ti(t)&&t!==Hr;function Dd(){const{caseless:t,skipUndefined:e}=_0(this)&&this||{},r={},i=(a,u)=>{const c=t&&R0(r,u)||u;dl(r[c])&&dl(a)?r[c]=Dd(r[c],a):dl(a)?r[c]=Dd({},a):ui(a)?r[c]=a.slice():(!e||!ti(a))&&(r[c]=a)};for(let a=0,u=arguments.length;a<u;a++)arguments[a]&&jo(arguments[a],i);return r}const SC=(t,e,r,{allOwnKeys:i}={})=>(jo(e,(a,u)=>{r&&Mt(a)?t[u]=C0(a,r):t[u]=a},{allOwnKeys:i}),t),kC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),EC=(t,e,r,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},bC=(t,e,r,i)=>{let a,u,c;const f={};if(e=e||{},t==null)return e;do{for(a=Object.getOwnPropertyNames(t),u=a.length;u-- >0;)c=a[u],(!i||i(c,t,e))&&!f[c]&&(e[c]=t[c],f[c]=!0);t=r!==!1&&wf(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},CC=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const i=t.indexOf(e,r);return i!==-1&&i===r},TC=t=>{if(!t)return null;if(ui(t))return t;let e=t.length;if(!A0(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},PC=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&wf(Uint8Array)),AC=(t,e)=>{const i=(t&&t[Ol]).call(t);let a;for(;(a=i.next())&&!a.done;){const u=a.value;e.call(t,u[0],u[1])}},RC=(t,e)=>{let r;const i=[];for(;(r=t.exec(e))!==null;)i.push(r);return i},_C=dn("HTMLFormElement"),NC=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,i,a){return i.toUpperCase()+a}),Mg=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),OC=dn("RegExp"),N0=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),i={};jo(r,(a,u)=>{let c;(c=e(a,u,t))!==!1&&(i[u]=c||a)}),Object.defineProperties(t,i)},LC=t=>{N0(t,(e,r)=>{if(Mt(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const i=t[r];if(Mt(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},MC=(t,e)=>{const r={},i=a=>{a.forEach(u=>{r[u]=!0})};return ui(t)?i(t):i(String(t).split(e)),r},jC=()=>{},DC=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function IC(t){return!!(t&&Mt(t.append)&&t[T0]==="FormData"&&t[Ol])}const FC=t=>{const e=new Array(10),r=(i,a)=>
vendor: 4,592 bytes, line 162
162{if(Mo(i)){if(e.indexOf(i)>=0)return;if(Lo(i))return i;if(!("toJSON"in i)){e[a]=i;const u=ui(i)?[]:{};return jo(i,(c,f)=>{const h=r(c,a+1);!ti(h)&&(u[f]=h)}),e[a]=void 0,u}}return i};return r(t,0)},VC=dn("AsyncFunction"),BC=t=>t&&(Mo(t)||Mt(t))&&Mt(t.then)&&Mt(t.catch),O0=((t,e)=>t?setImmediate:e?((r,i)=>(Hr.addEventListener("message",({source:a,data:u})=>{a===Hr&&u===r&&i.length&&i.shift()()},!1),a=>{i.push(a),Hr.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Mt(Hr.postMessage)),UC=typeof queueMicrotask<"u"?queueMicrotask.bind(Hr):typeof process<"u"&&process.nextTick||O0,zC=t=>t!=null&&Mt(t[Ol]),I={isArray:ui,isArrayBuffer:P0,isBuffer:Lo,isFormData:pC,isArrayBufferView:iC,isString:oC,isNumber:A0,isBoolean:aC,isObject:Mo,isPlainObject:dl,isEmptyObject:lC,isReadableStream:gC,isRequest:yC,isResponse:vC,isHeaders:wC,isUndefined:ti,isDate:uC,isFile:cC,isBlob:dC,isRegExp:OC,isFunction:Mt,isStream:hC,isURLSearchParams:mC,isTypedArray:PC,isFileList:fC,forEach:jo,merge:Dd,extend:SC,trim:xC,stripBOM:kC,inherits:EC,toFlatObject:bC,kindOf:Ll,kindOfTest:dn,endsWith:CC,toArray:TC,forEachEntry:AC,matchAll:RC,isHTMLForm:_C,hasOwnProperty:Mg,hasOwnProp:Mg,reduceDescriptors:N0,freezeMethods:LC,toObjectSet:MC,toCamelCase:NC,noop:jC,toFiniteNumber:DC,findKey:R0,global:Hr,isContextDefined:_0,isSpecCompliantForm:IC,toJSONObject:FC,isAsyncFn:VC,isThenable:BC,setImmediate:O0,asap:UC,isIterable:zC};function Se(t,e,r,i,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a,this.status=a.status?a.status:null)}I.inherits(Se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:I.toJSONObject(this.config),code:this.code,status:this.status}}});const L0=Se.prototype,M0={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{M0[t]={value:t}});Object.defineProperties(Se,M0);Object.defineProperty(L0,"isAxiosError",{value:!0});Se.from=(t,e,r,i,a,u)=>{const c=Object.create(L0);I.toFlatObject(t,c,function(g){return g!==Error.prototype},m=>m!=="isAxiosError");const f=t&&t.message?t.message:"Error",h=e==null&&t?t.code:e;return Se.call(c,f,h,r,i,a),t&&c.cause==null&&Object.defineProperty(c,"cause",{value:t,configurable:!0}),c.name=t&&t.name||"Error",u&&Object.assign(c,u),c};const $C=null;function Id(t){return I.isPlainObject(t)||I.isArray(t)}function j0(t){return I.endsWith(t,"[]")?t.slice(0,-2):t}function jg(t,e,r){return t?t.concat(e).map(function(a,u){return a=j0(a),!r&&u?"["+a+"]":a}).join(r?".":""):e}function WC(t){return I.isArray(t)&&!t.some(Id)}const qC=I.toFlatObject(I,{},null,function(e){return/^is[A-Z]/.test(e)});function jl(t,e,r){if(!I.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=I.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,x){return!I.isUndefined(x[k])});const i=r.metaTokens,a=r.visitor||g,u=r.dots,c=r.indexes,h=(r.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(e);if(!I.isFunction(a))throw new TypeError("visitor must be a function");function m(S){if(S===null)return"";if(I.isDate(S))return S.toISOString();if(I.isBoolean(S))return S.toString();if(!h&&I.isBlob(S))throw new Se("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(S)||I.isTypedArray(S)?h&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function g(S,k,x){let R=S;if(S&&!x&&typeof S=="object"){if(I.endsWith(k,"{}"))k=i?k:k.slice(0,-2),S=JSON.stringify(S);else if(I.isArray(S)&&WC(S)||(I.isFileList(S)||I.endsWith(k,"[]"))&&(R=I.toArray(S)))return k=j0(k),R.forEach(function(D,V){!(I.isUndefined(D)||D===null)&&e.append(c===!0?jg([k],V,u):c===null?k:k+"[]",m(D))}),!1}return Id(S)?!0:(e.append(jg(x,k,u),m(S)),!1)}const y=[],w=Object.assign(qC,{defaultVisitor:g,convertValue:m,isVisitable:Id});function E(S,k){if(!I.isUndefined(S)){if(y.indexOf(S)!==-1)throw Error("Circular reference detected in "+k.join("."));y.push(S),I.forEach(S,function(R,B){(!(I.isUndefined(R)||R===null)&&a.call(e,R,I.isString(B)?B.trim():B,k,w))===!0&&E(R,k?k.concat(B):[B])}),y.pop()}}if(!I.isObject(t))throw new TypeError("data must be an object");return E(t),e}
vendor: 5,375 bytes, lines 162-163
162function Dg(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function xf(t,e){this._pairs=[],t&&jl(t,this,e)}const D0=xf.prototype;D0.append=function(e,r){this._pairs.push([e,r])};D0.toString=function(e){const r=e?function(i){return e.call(this,i,Dg)}:Dg;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function HC(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function I0(t,e,r){if(!e)return t;const i=r&&r.encode||HC;I.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let u;if(a?u=a(e,r):u=I.isURLSearchParams(e)?e.toString():new xf(e,r).toString(i),u){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class Ig{constructor(){this.handlers=[]}use(e,r,i){return this.handlers.push({fulfilled:e,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){I.forEach(this.handlers,function(i){i!==null&&e(i)})}}const F0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},KC=typeof URLSearchParams<"u"?URLSearchParams:xf,QC=typeof FormData<"u"?FormData:null,GC=typeof Blob<"u"?Blob:null,YC={isBrowser:!0,classes:{URLSearchParams:KC,FormData:QC,Blob:GC},protocols:["http","https","file","blob","url","data"]},Sf=typeof window<"u"&&typeof document<"u",Fd=typeof navigator=="object"&&navigator||void 0,XC=Sf&&(!Fd||["ReactNative","NativeScript","NS"].indexOf(Fd.product)<0),JC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ZC=Sf&&window.location.href||"http://localhost",eT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Sf,hasStandardBrowserEnv:XC,hasStandardBrowserWebWorkerEnv:JC,navigator:Fd,origin:ZC},Symbol.toStringTag,{value:"Module"})),wt={...eT,...YC};function tT(t,e){return jl(t,new wt.classes.URLSearchParams,{visitor:function(r,i,a,u){return wt.isNode&&I.isBuffer(r)?(this.append(i,r.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...e})}function nT(t){return I.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function rT(t){const e={},r=Object.keys(t);let i;const a=r.length;let u;for(i=0;i<a;i++)u=r[i],e[u]=t[u];return e}function V0(t){function e(r,i,a,u){let c=r[u++];if(c==="__proto__")return!0;const f=Number.isFinite(+c),h=u>=r.length;return c=!c&&I.isArray(a)?a.length:c,h?(I.hasOwnProp(a,c)?a[c]=[a[c],i]:a[c]=i,!f):((!a[c]||!I.isObject(a[c]))&&(a[c]=[]),e(r,i,a[c],u)&&I.isArray(a[c])&&(a[c]=rT(a[c])),!f)}if(I.isFormData(t)&&I.isFunction(t.entries)){const r={};return I.forEachEntry(t,(i,a)=>{e(nT(i),a,r,0)}),r}return null}function sT(t,e,r){if(I.isString(t))try{return(e||JSON.parse)(t),I.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(t)}const Do={transitional:F0,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const i=r.getContentType()||"",a=i.indexOf("application/json")>-1,u=I.isObject(e);if(u&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return a?JSON.stringify(V0(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e)||I.isReadableStream(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let f;if(u){if(i.indexOf("application/x-www-form-urlencoded")>-1)return tT(e,this.formSerializer).toString();if((f=I.isFileList(e))||i.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return jl(f?{"files[]":e}:e,h&&new h,this.formSerializer)}}return u||a?(r.setContentType("application/json",!1),sT(e)):e}],transformResponse:[function(e){const r=this.transitional||Do.transitional,i=r&&r.forcedJSONParsing,a=this.responseType==="json";if(I.isResponse(e)||I.isReadableStream(e))return e;if(e&&I.isString(e)&&(i&&!this.responseType||a)){const c=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(e,this.parseReviver)}catch(f){if(c)throw f.name==="SyntaxError"?Se.from(f,Se.ERR_BAD_RESPONSE,this,null,this.response):f}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wt.classes.FormData,Blob:wt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],t=>{Do.headers[t]={}});const iT=I.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"]),oT=t=>{const e={};let r,i,a;return t&&t.split(`
163`).forEach(function(c){a=c.indexOf(":"),r=c.substring(0,a).trim().toLowerCase(),i=c.substring(a+1).trim(),!(!r||e[r]&&iT[r])&&(r==="set-cookie"?e[r]?e[r].push(i):e[r]=[i]:e[r]=e[r]?e[r]+", "+i:i)}),e},Fg=Symbol("internals");function eo(t){return t&&String(t).trim().toLowerCase()}function fl(t){return t===!1||t==null?t:I.isArray(t)?t.map(fl):String(t)}function aT(t){const e=Object.create(null),r=/([^\s,;
163=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=r.exec(t);)e[i[1]]=i[2];return e}const lT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Gc(t,e,r,i,a){if(I.isFunction(i))return i.call(this,e,r);if(a&&(e=r),!!I.isString(e)){if(I.isString(i))return e.indexOf(i)!==-1;if(I.isRegExp(i))return i.test(e)}}function uT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,i)=>r.toUpperCase()+i)}function cT(t,e){const r=I.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+r,{value:function(a,u,c){return this[i].call(this,e,a,u,c)},configurable:!0})})}let jt=class{constructor(e){e&&this.set(e)}set(e,r,i){const a=this;function u(f,h,m){const g=eo(h);if(!g)throw new Error("header name must be a non-empty string");const y=I.findKey(a,g);(!y||a[y]===void 0||m===!0||m===void 0&&a[y]!==!1)&&(a[y||h]=fl(f))}const c=(f,h)=>I.forEach(f,(m,g)=>u(m,g,h));if(I.isPlainObject(e)||e instanceof this.constructor)c(e,r);else if(I.isString(e)&&(e=e.trim())&&!lT(e))c(oT(e),r);else if(I.isObject(e)&&I.isIterable(e)){let f={},h,m;for(const g of e){if(!I.isArray(g))throw TypeError("Object iterator must return a key-value pair");f[m=g[0]]=(h=f[m])?I.isArray(h)?[...h,g[1]]:[h,g[1]]:g[1]}c(f,r)}else e!=null&&u(r,e,i);return this}get(e,r){if(e=eo(e),e){const i=I.findKey(this,e);if(i){const a=this[i];if(!r)return a;
vendor: 4,443 bytes, lines 163-164
163if(r===!0)return aT(a);if(I.isFunction(r))return r.call(this,a,i);if(I.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=eo(e),e){const i=I.findKey(this,e);return!!(i&&this[i]!==void 0&&(!r||Gc(this,this[i],i,r)))}return!1}delete(e,r){const i=this;let a=!1;function u(c){if(c=eo(c),c){const f=I.findKey(i,c);f&&(!r||Gc(i,i[f],f,r))&&(delete i[f],a=!0)}}return I.isArray(e)?e.forEach(u):u(e),a}clear(e){const r=Object.keys(this);let i=r.length,a=!1;for(;i--;){const u=r[i];(!e||Gc(this,this[u],u,e,!0))&&(delete this[u],a=!0)}return a}normalize(e){const r=this,i={};return I.forEach(this,(a,u)=>{const c=I.findKey(i,u);if(c){r[c]=fl(a),delete r[u];return}const f=e?uT(u):String(u).trim();f!==u&&delete r[u],r[f]=fl(a),i[f]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return I.forEach(this,(i,a)=>{i!=null&&i!==!1&&(r[a]=e&&I.isArray(i)?i.join(", "):i)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
164`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const i=new this(e);return r.forEach(a=>i.set(a)),i}static accessor(e){const i=(this[Fg]=this[Fg]={accessors:{}}).accessors,a=this.prototype;function u(c){const f=eo(c);i[f]||(cT(a,c),i[f]=!0)}return I.isArray(e)?e.forEach(u):u(e),this}};jt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(jt.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[r]=i}}});I.freezeMethods(jt);function Yc(t,e){const r=this||Do,i=e||r,a=jt.from(i.headers);let u=i.data;return I.forEach(t,function(f){u=f.call(r,u,a.normalize(),e?e.status:void 0)}),a.normalize(),u}function B0(t){return!!(t&&t.__CANCEL__)}function ci(t,e,r){Se.call(this,t??"canceled",Se.ERR_CANCELED,e,r),this.name="CanceledError"}I.inherits(ci,Se,{__CANCEL__:!0});function U0(t,e,r){const i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):e(new Se("Request failed with status code "+r.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function dT(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function fT(t,e){t=t||10;const r=new Array(t),i=new Array(t);let a=0,u=0,c;return e=e!==void 0?e:1e3,function(h){const m=Date.now(),g=i[u];c||(c=m),r[a]=h,i[a]=m;let y=u,w=0;for(;y!==a;)w+=r[y++],y=y%t;if(a=(a+1)%t,a===u&&(u=(u+1)%t),m-c<e)return;const E=g&&m-g;return E?Math.round(w*1e3/E):void 0}}function hT(t,e){let r=0,i=1e3/e,a,u;const c=(m,g=Date.now())=>{r=g,a=null,u&&(clearTimeout(u),u=null),t(...m)};return[(...m)=>{const g=Date.now(),y=g-r;y>=i?c(m,g):(a=m,u||(u=setTimeout(()=>{u=null,c(a)},i-y)))},()=>a&&c(a)]}const El=(t,e,r=3)=>{let i=0;const a=fT(50,250);return hT(u=>{const c=u.loaded,f=u.lengthComputable?u.total:void 0,h=c-i,m=a(h),g=c<=f;i=c;const y={loaded:c,total:f,progress:f?c/f:void 0,bytes:h,rate:m||void 0,estimated:m&&f&&g?(f-c)/m:void 0,event:u,lengthComputable:f!=null,[e?"download":"upload"]:!0};t(y)},r)},Vg=(t,e)=>{const r=t!=null;return[i=>e[0]({lengthComputable:r,total:t,loaded:i}),e[1]]},Bg=t=>(...e)=>I.asap(()=>t(...e)),pT=wt.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,wt.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(wt.origin),wt.navigator&&/(msie|trident)/i.test(wt.navigator.userAgent)):()=>!0,mT=wt.hasStandardBrowserEnv?{write(t,e,r,i,a,u){const c=[t+"="+encodeURIComponent(e)];I.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),I.isString(i)&&c.push("path="+i),I.isString(a)&&c.push("domain="+a),u===!0&&c.push("secure"),document.cookie=c.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gT(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function yT(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function z0(t,e,r){let i=!gT(e);return t&&(i||r==!1)?yT(t,e):e}const Ug=t=>t instanceof jt?{...t}:t;function os(t,e){e=e||{};const r={};function i(m,g,y,w){return I.isPlainObject(m)&&I.isPlainObject(g)?I.merge.call({caseless:w}
vendor: 13,628 bytes, lines 164-167
164,m,g):I.isPlainObject(g)?I.merge({},g):I.isArray(g)?g.slice():g}function a(m,g,y,w){if(I.isUndefined(g)){if(!I.isUndefined(m))return i(void 0,m,y,w)}else return i(m,g,y,w)}function u(m,g){if(!I.isUndefined(g))return i(void 0,g)}function c(m,g){if(I.isUndefined(g)){if(!I.isUndefined(m))return i(void 0,m)}else return i(void 0,g)}function f(m,g,y){if(y in e)return i(m,g);if(y in t)return i(void 0,m)}const h={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:f,headers:(m,g,y)=>a(Ug(m),Ug(g),y,!0)};return I.forEach(Object.keys({...t,...e}),function(g){const y=h[g]||a,w=y(t[g],e[g],g);I.isUndefined(w)&&y!==f||(r[g]=w)}),r}const $0=t=>{const e=os({},t);let{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:u,headers:c,auth:f}=e;if(e.headers=c=jt.from(c),e.url=I0(z0(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),f&&c.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):""))),I.isFormData(r)){if(wt.hasStandardBrowserEnv||wt.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(I.isFunction(r.getHeaders)){const h=r.getHeaders(),m=["content-type","content-length"];Object.entries(h).forEach(([g,y])=>{m.includes(g.toLowerCase())&&c.set(g,y)})}}if(wt.hasStandardBrowserEnv&&(i&&I.isFunction(i)&&(i=i(e)),i||i!==!1&&pT(e.url))){const h=a&&u&&mT.read(u);h&&c.set(a,h)}return e},vT=typeof XMLHttpRequest<"u",wT=vT&&function(t){return new Promise(function(r,i){const a=$0(t);let u=a.data;const c=jt.from(a.headers).normalize();let{responseType:f,onUploadProgress:h,onDownloadProgress:m}=a,g,y,w,E,S;function k(){E&&E(),S&&S(),a.cancelToken&&a.cancelToken.unsubscribe(g),a.signal&&a.signal.removeEventListener("abort",g)}let x=new XMLHttpRequest;x.open(a.method.toUpperCase(),a.url,!0),x.timeout=a.timeout;function R(){if(!x)return;const D=jt.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),U={data:!f||f==="text"||f==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:D,config:t,request:x};U0(function(oe){r(oe),k()},function(oe){i(oe),k()},U),x=null}"onloadend"in x?x.onloadend=R:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(R)},x.onabort=function(){x&&(i(new Se("Request aborted",Se.ECONNABORTED,t,x)),x=null)},x.onerror=function(V){const U=V&&V.message?V.message:"Network Error",Y=new Se(U,Se.ERR_NETWORK,t,x);Y.event=V||null,i(Y),x=null},x.ontimeout=function(){let V=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const U=a.transitional||F0;a.timeoutErrorMessage&&(V=a.timeoutErrorMessage),i(new Se(V,U.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,t,x)),x=null},u===void 0&&c.setContentType(null),"setRequestHeader"in x&&I.forEach(c.toJSON(),function(V,U){x.setRequestHeader(U,V)}),I.isUndefined(a.withCredentials)||(x.withCredentials=!!a.withCredentials),f&&f!=="json"&&(x.responseType=a.responseType),m&&([w,S]=El(m,!0),x.addEventListener("progress",w)),h&&x.upload&&([y,E]=El(h),x.upload.addEventListener("progress",y),x.upload.addEventListener("loadend",E)),(a.cancelToken||a.signal)&&(g=D=>{x&&(i(!D||D.type?new ci(null,t,x):D),x.abort(),x=null)},a.cancelToken&&a.cancelToken.subscribe(g),a.signal&&(a.signal.aborted?g():a.signal.addEventListener("abort",g)));const B=dT(a.url);if(B&&wt.protocols.indexOf(B)===-1){i(new Se("Unsupported protocol "+B+":",Se.ERR_BAD_REQUEST,t));return}x.send(u||null)})},xT=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let i=new AbortController,a;const u=function(m){if(!a){a=!0,f();const g=m instanceof Error?m:this.reason;i.abort(g instanceof Se?g:new ci(g instanceof Error?g.message:g))}};let c=e&&setTimeout(()=>{c=null,u(new Se(`timeout ${e} of ms exceeded`,Se.ETIMEDOUT))},e);const f=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(m=>{m.unsubscribe?m.unsubscribe(u):m.removeEventListener("abort",u)}),t=null)};t.forEach(m=>m.addEventListener("abort",u));const{signal:h}=i;return h.unsubscribe=()=>I.asap(f),h}},ST=function*(t,e){let r=t.byteLength;if(r<e){yield t;return}let i=0,a;for(;i<r;)a=i+e,yield t.slice(i,a),i=a},kT=async function*(t,e){for await(const r of ET(t))yield*ST(r,e)},ET=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:r,value:i}=await e.read();if(r)break;yield i}}finally{await e.cancel()}},zg=(t,e,r,i)=>{const a=kT(t,e);let u=0,c,f=h=>{c||(c=!0,i&&i(h))};return new ReadableStream({async pull(h){try{const{done:m,value:g}=await a.next();if(m){f(),h.close();return}let y=g.byteLength;if(r){let w=u+=y;r(w)}h.enqueue(new Uint8Array(g))}catch(m){throw f(m),m}},cancel(h){return f(h),a.return()}},{highWaterMark:2})},$g=64*1024,{isFunction:nl}=I,bT=(({Request:t,Response:e})=>({Request:t,Response:e}))(I.global),{ReadableStream:Wg,TextEncoder:qg}=I.global,Hg=(t,...e)=>{try{return!!t(...e)}catch{return!1}},CT=t=>{t=I.merge.call({skipUndefined:!0},bT,t);const{fetch:e,Request:r,Response:i}=t,a=e?nl(e):typeof fetch=="function",u=nl(r),c=nl(i);if(!a)return!1;const f=a&&nl(Wg),h=a&&(typeof qg=="function"?(S=>k=>S.encode(k))(new qg):async S=>new Uint8Array(await new r(S).arrayBuffer())),m=u&&f&&Hg(()=>{let S=!1;const k=new r(wt.origin,{body:new Wg,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!k}),g=c&&f&&Hg(()=>I.isReadableStream(new i("").body)),y={stream:g&&(S=>S.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!y[S]&&(y[S]=(k,x)=>{let R=k&&k[S];if(R)return R.call(k);throw new Se(`Response type '${S}' is not supported`,Se.ERR_NOT_SUPPORT,x)})});const w=async S=>{if(S==null)return 0;if(I.isBlob(S))return S.size;if(I.isSpecCompliantForm(S))return(await new r(wt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(I.isArrayBufferView(S)||I.isArrayBuffer(S))return S.byteLength;if(I.isURLSearchParams(S)&&(S=S+""),I.isString(S))return(await h(S)).byteLength},E=async(S,k)=>{const x=I.toFiniteNumber(S.getContentLength());return x??w(k)};return async S=>{let{url:k,method:x,data:R,signal:B,cancelToken:D,timeout:V,onDownloadProgress:U,onUploadProgress:Y,responseType:oe,headers:N,withCredentials:H="same-origin",fetchOptions:Q}=$0(S),J=e||fetch;oe=oe?(oe+"").toLowerCase():"text";let $=xT([B,D&&D.toAbortSignal()],V),ne=null;const Ce=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let pe;try{if(Y&&m&&x!=="get"&&x!=="head"&&(pe=await E(N,R))!==0){let _=new r(k,{method:"POST",body:R,duplex:"half"}),z;if(I.isFormData(R)&&(z=_.headers.get("content-type"))&&N.setContentType(z),_.body){const[ce,fe]=Vg(pe,El(Bg(Y)));R=zg(_.body,$g,ce,fe)}}I.isString(H)||(H=H?"include":"omit");const he=u&&"credentials"in r.prototype,de={...Q,signal:$,method:x.toUpperCase(),headers:N.normalize().toJSON(),body:R,duplex:"half",credentials:he?H:void 0};ne=u&&new r(k,de);let F=await(u?J(ne,Q):J(k,de));const le=g&&(oe==="stream"||oe==="response");if(g&&(U||le&&Ce)){const _={};["status","statusText","headers"].forEach(ke=>{_[ke]=F[ke]});const z=I.toFiniteNumber(F.headers.get("content-length")),[ce,fe]=U&&Vg(z,El(Bg(U),!0))||[];F=new i(zg(F.body,$g,ce,()=>{fe&&fe(),Ce&&Ce()}),_)}oe=oe||"text";let X=await y[I.findKey(y,oe)||"text"](F,S);return!le&&Ce&&Ce(),await new Promise((_,z)=>{U0(_,z,{data:X,headers:jt.from(F.headers),status:F.status,statusText:F.statusText,config:S,request:ne})})}catch(he){throw Ce&&Ce(),he&&he.name==="TypeError"&&/Load failed|fetch/i.test(he.message)?Object.assign(new Se("Network Error",Se.ERR_NETWORK,S,ne),{cause:he.cause||he}):Se.from(he,he&&he.code,S,ne)}}},TT=new Map,W0=t=>{let e=t?t.env:{};const{fetch:r,Request:i,Response:a}=e,u=[i,a,r];let c=u.length,f=c,h,m,g=TT;for(;f--;)h=u[f],m=g.get(h),m===void 0&&g.set(h,m=f?new Map:CT(e)),g=m;return m};W0();const Vd={http:$C,xhr:wT,fetch:{get:W0}};I.forEach(Vd,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Kg=t=>`- ${t}`,PT=t=>I.isFunction(t)||t===null||t===!1,q0={getAdapter:(t,e)=>{t=I.isArray(t)?t:[t];const{length:r}=t;let i,a;const u={};for(let c=0;c<r;c++){i=t[c];let f;if(a=i,!PT(i)&&(a=Vd[(f=String(i)).toLowerCase()],a===void 0))throw new Se(`Unknown adapter '${f}'`);if(a&&(I.isFunction(a)||(a=a.get(e))))break;u[f||"#"+c]=a}if(!a){const c=Object.entries(u).map(([h,m])=>`adapter ${h} `+(m===!1?"is not supported by the environment":"is not available in the build"));let f=r?c.length>1?`since :
165`+c.map(Kg).join(`
166`):" "+Kg(c[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return a},adapters:Vd};function Xc(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ci(null,t)}function Qg(t){return Xc(t),t.headers=jt.from(t.headers),t.data=Yc.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),q0.getAdapter(t.adapter||Do.adapter,t)(t).then(function(i){return Xc(t),i.data=Yc.call(t,t.transformResponse,i),i.headers=jt.from(i.headers),i},function(i){return B0(i)||(Xc(t),i&&i.response&&(i.response.data=Yc.call(t,t.transformResponse,i.response),i.response.headers=jt.from(i.response.headers))),Promise.reject(i)})}const H0="1.12.2",Dl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Dl[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const Gg={};Dl.transitional=function(e,r,i){function a(u,c){return"[Axios v"+H0+"] Transitional option '"+u+"'"+c+(i?". "+i:"")}return(u,c,f)=>{if(e===!1)throw new Se(a(c," has been removed"+(r?" in "+r:"")),Se.ERR_DEPRECATED);return r&&!Gg[c]&&(Gg[c]=!0,console.warn(a(c," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(u,c,f):!0}};Dl.spelling=function(e){return(r,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function AT(t,e,r){if(typeof t!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let a=i.length;for(;a-- >0;){const u=i[a],c=e[u];if(c){const f=t[u],h=f===void 0||c(f,u,t);if(h!==!0)throw new Se("option "+u+" must be "+h,Se.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Se("Unknown option "+u,Se.ERR_BAD_OPTION)}}const hl={assertOptions:AT,validators:Dl},yn=hl.validators;let rs=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Ig,response:new Ig}}async request(e,r){try{return await this._request(e,r)}catch(i){if(i instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const u=a.stack?a.stack.replace(/^.+\n/,""):"";try{i.stack?u&&!String(i.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(i.stack+=`
167`+u):i.stack=u}catch{}}throw i}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=os(this.defaults,r);const{transitional:i,paramsSerializer:a,headers:u}=r;i!==void 0&&hl.assertOptions(i,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),a!=null&&(I.isFunction(a)?r.paramsSerializer={serialize:a}:hl.assertOptions(a,{encode:yn.function,serialize:yn.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),hl.assertOptions(r,{baseUrl:yn.spelling("baseURL"),withXsrfToken:yn.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=u&&I.merge(u.common,u[r.method]);u&&I.forEach(["delete","get","head","post","put","patch","common"],S=>{delete u[S]}),r.headers=jt.concat(c,u);const f=[];let h=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(r)===!1||(h=h&&k.synchronous,f.unshift(k.fulfilled,k.rejected))});const m=[];this.interceptors.response.forEach(function(k){m.push(k.fulfilled,k.rejected)});let g,y=0,w;if(!h){const S=[Qg.bind(this),void 0];for(S.unshift(...f),S.push(...m),w=S.length,g=Promise.resolve(r);y<w;)g=g.then(S[y++],S[y++]);return g}w=f.length;let E=r;for(;y<w;){const S=f[y++],k=f[y++];try{E=S(E)}catch(x){k.call(this,x);break}}try{g=Qg.call(this,E)}catch(S){return Promise.reject(S)}for(y=0,w=m.length;y<w;)g=g.then(m[y++],m[y++]);return g}getUri(e){e=os(this.defaults,e);const r=z0(e.baseURL,e.url,e.allowAbsoluteUrls);return I0(r,e.params,e.paramsSerializer)}};I.forEach(["delete","get","head","options"],function(e){rs.prototype[e]=function(r,i){return this.request(os(i||{},{method:e,url:r,data:(i||{}).data}))}});I.forEach(["post","put","patch"],function(e){function r(i){return function(u,c,f){return this.request(os(f||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:u,data:c}))}}rs.prototype[e]=r(),rs.prototype[e+"Form"]=r(!0)});let RT=class K0{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(u){r=u});const i=this;this.promise.then(a=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](a);i._listeners=null}),this.promise.then=a=>{let u;const c=new Promise(f=>{i.subscribe(f),u=f}).then(a);return c.cancel=function(){i.unsubscribe(u)},c},e(function(u,c,f){i.reason||(i.reason=new ci(u,c,f),r(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
167subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=i=>{e.abort(i)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new K0(function(a){e=a}),cancel:e}}};function _T(t){return function(r){return t.apply(null,r)}}function NT(t){return I.isObject(t)&&t.isAxiosError===!0}const Bd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bd).forEach(([t,e])=>{Bd[e]=t});function Q0(t){const e=new rs(t),r=C0(rs.prototype.request,e);return I.extend(r,rs.prototype,e,{allOwnKeys:!0}),I.extend(r,e,null,{allOwnKeys:!0}),r.create=function(a){return Q0(os(t,a))},r}const Ye=Q0(Do);Ye.Axios=rs;Ye.CanceledError=ci;Ye.CancelToken=RT;Ye.isCancel=B0;Ye.VERSION=H0;Ye.toFormData=jl;Ye.AxiosError=Se;Ye.Cancel=Ye.CanceledError;Ye.all=function(e){return Promise.all(e)};Ye.spread=_T;Ye.isAxiosError=NT;Ye.mergeConfig=os;Ye.AxiosHeaders=jt;Ye.formToJSON=t=>V0(I.isHTMLForm(t)?new FormData(t):t);Ye.getAdapter=q0.getAdapter;Ye.HttpStatusCode=Bd;Ye.default=Ye;const{Axios:L2,AxiosError:M2,CanceledError:j2,isCancel:D2,CancelToken:I2,VERSION:F2,all:V2,Cancel:B2,isAxiosError:U2,spread:z2,toFormData:$2,AxiosHeaders:W2,HttpStatusCode:q2,formToJSON:H2,getAdapter:K2,mergeConfig:Q2}=Ye,OT=typeof window>"u",Yg=!OT&&window.self!==window.top,dt=[];for(let t=0;t<256;++t)dt.push((t+256).toString(16).slice(1));function LT(t,e=0){return(dt[t[e+0]]+dt[t[e+1]]+dt[t[e+2]]+dt[t[e+3]]+"-"+dt[t[e+4]]+dt[t[e+5]]+"-"+dt[t[e+6]]+dt[t[e+7]]+"-"+dt[t[e+8]]+dt[t[e+9]]+"-"+dt[t[e+10]]+dt[t[e+11]]+dt[t[e+12]]+dt[t[e+13]]+dt[t[e+14]]+dt[t[e+15]]).toLowerCase()}let Jc;const MT=new Uint8Array(16);function jT(){if(!Jc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Jc=crypto.getRandomValues.bind(crypto)}return Jc(MT)}const DT=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Xg={randomUUID:DT};function IT(t,e,r){var a;t=t||{};const i=t.random??((a=t.rng)==null?void 0:a.call(t))??jT();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,LT(i)}function FT(t,e,r){return Xg.randomUUID&&!t?Xg.randomUUID():IT(t)}class VT extends Error{constructor(e,r,i,a,u){super(e),this.name="Base44Error",this.status=r,this.code=i,this.data=a,this.originalError=u}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function io({baseURL:t,headers:e={},token:r,interceptResponses:i=!0,onError:a}){const u=Ye.create({baseURL:t,headers:{"Content-Type":"application/json",Accept:"application/json",...e}});return r&&(u.defaults.headers.common.Authorization=`Bearer ${r}`),u.interceptors.request.use(c=>{typeof window<"u"&&c.headers.set("X-Origin-URL",window.location.href);const f=FT();if(c.requestId=f,Yg)try{window.parent.postMessage({type:"api-request-start",requestId:f,data:{url:t+c.url,method:c.method,body:c.data instanceof FormData?"[FormData object]":c.data}},"*")}catch{}return c}),i&&u.interceptors.response.use(c=>{var f;
167const h=(f=c.config)===null||f===void 0?void 0:f.requestId;try{Yg&&h&&window.parent.postMessage({type:"api-request-end",requestId:h,data:{statusCode:c.status,response:c.data}},"*")}catch{}return c.data},c=>{var f,h,m,g,y,w,E,S;const k=((h=(f=c.response)===null||f===void 0?void 0:f.data)===null||h===void 0?void 0:h.message)||((g=(m=c.response)===null||m===void 0?void 0:m.data)===null||g===void 0?void 0:g.detail)||c.message,x=new VT(k,(y=c.response)===null||y===void 0?void 0:y.status,(E=(w=c.response)===null||w===void 0?void 0:w.data)===null||E===void 0?void 0:E.code,(S=c.response)===null||S===void 0?void 0:S.data,c);return a==null||a(x),Promise.reject(x)}),u}function Jg(t,e){return new Proxy({},{get(r,i){if(!(typeof i!="string"||i==="then"||i.startsWith("_")))return BT(t,e,i)}})}function BT(t,e,r){const i=`/apps/${e}/entities/${r}`;return{async list(a,u,c,f){const h={};return a&&(h.sort=a),u&&(h.limit=u),c&&(h.skip=c),f&&(h.fields=Array.isArray(f)?f.join(","):f),t.get(i,{params:h})},async filter(a,u,c,f,h){const m={q:JSON.stringify(a)};return u&&(m.sort=u),c&&(m.limit=c),f&&(m.skip=f),h&&(m.fields=Array.isArray(h)?h.join(","):h),t.get(i,{params:m})},async get(a){return t.get(`${i}/${a}`)},async create(a){return t.post(i,a)},async update(a,u){return t.put(`${i}/${a}`,u)},async delete(a){return t.delete(`${i}/${a}`)},async deleteMany(a){return t.delete(i,{data:a})},async bulkCreate(a){return t.post(`${i}/bulk`,a)},async importEntities(a){const u=new FormData;return u.append("file",a,a.name),t.post(`${i}/import`,u,{headers:{"Content-Type":"multipart/form-data"}})}}}function Zg(t,e){return new Proxy({},{get(r,i){if(!(typeof i!="string"||i==="then"||i.startsWith("_")))return new Proxy({},{get(a,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return async c=>{if(typeof c=="string")throw new Error(`Integration ${u} must receive an object with named parameters, received: ${c}`);let f,h;return c instanceof FormData||c&&Object.values(c).some(m=>m instanceof File)?(f=new FormData,Object.keys(c).forEach(m=>{c[m]instanceof File?f.append(m,c[m],c[m].name):typeof c[m]=="object"&&c[m]!==null?f.append(m,JSON.stringify(c[m])):f.append(m,c[m])}),h="multipart/form-data"):(f=c,h="application/json"),i==="Core"?t.post(`/apps/${e}/integration-endpoints/Core/${u}`,f||c,{headers:{"Content-Type":h}}):t.post(`/apps/${e}/integration-endpoints/installable/${i}/integration-endpoints/${u}`,f||c,{headers:{"Content-Type":h}})}}})}})}function UT(t,e,r,i){return{async me(){return t.get(`/apps/${r}/entities/User/me`)},async updateMe(a){return t.put(`/apps/${r}/entities/User/me`,a)},redirectToLogin(a){var u;if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const c=a?new URL(a,window.location.origin).toString():window.location.href,f=`${(u=i.appBaseUrl)!==null&&u!==void 0?u:""}/login?from_url=${encodeURIComponent(c)}`;window.location.href=f},logout(a){if(delete t.defaults.headers.common.Authorization,typeof window<"u"&&window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(u){console.error("Failed to remove token from localStorage:",u)}typeof window<"u"&&(a?window.location.href=a:window.location.reload())},setToken(a,u=!0){if(a&&(t.defaults.headers.common.Authorization=`Bearer ${a}`,e.defaults.headers.common.Authorization=`Bearer ${a}`,u&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",a),window.localStorage.setItem("token",a)}catch(c){console.error("Failed to save token to localStorage:",c)}},async loginViaEmailPassword(a,u,c){var f;try{const h=await t.post(`/apps/${r}/auth/login`,{email:a,password:u,...c&&{turnstile_token:c}}),{access_token:m,user:g}=h;return m&&this.setToken(m),{access_token:m,user:g}}catch(h){throw((f=h.response)===null||f===void 0?void 0:f.status)===401&&await this.logout(),h}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(a,u){return t.post(`/apps/${r}/users/invite-user`,{user_email:a,role:u})},register(a){return t.post(`/apps/${r}/auth/register`,a)},verifyOtp({email:a,otpCode:u}){return t.post(`/apps/${r}/auth/verify-otp`,{email:a,otp_code:u})},resendOtp(a){return t.post(`/apps/${r}/auth/resend-otp`,{email:a})},resetPasswordRequest(a){return t.post(`/apps/${r}/auth/reset-password-request`,{email:a})},resetPassword({resetToken:a,newPassword:u}){return t.post(`/apps/${r}/auth/reset-password`,{reset_token:a,new_password:u})},changePassword({userId:a,currentPassword:u,newPassword:c}){return t.post(`/apps/${r}/auth/change-password`,{user_id:a,current_password:u,new_password:c})}}}function zT(t,e,r){return{async getAccessToken(i){const a=`/apps/${e}/auth/sso/accesstoken/${i}`,u={};return r&&(u["on-behalf-of"]=`Bearer ${r}`),t.get(a,{headers:u})}}}function $T(t,e){return{async getAccessToken(r){if(!r||typeof r!="string")throw new Error("Integration type is required and must be a string");return(await t.get(`/apps/${e}/external-auth/tokens/${r}`)).access_token}}}function kf(t={}){const{storageKey:e="base44_access_token",paramName:r="access_token",saveToStorage:i=!0,removeFromUrl:a=!0}=t;let u=null;if(typeof window<"u"&&window.location)try{const c=new URLSearchParams(window.location.search);if(u=c.get(r),u){if(i&&WT(u,{storageKey:e}),a){c.delete(r);const f=`${window.location.pathname}
167${c.toString()?`?${c.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,f)}return u}}catch(c){console.error("Error retrieving token from URL:",c)}if(typeof window<"u"&&window.localStorage)try{return u=window.localStorage.getItem(e),u}catch(c){console.error("Error retrieving token from localStorage:",c)}return null}function WT(t,e){const{storageKey:r="base44_access_token"}=e;if(typeof window>"u"||!window.localStorage||!t)return!1;try{return window.localStorage.setItem(r,t),window.localStorage.setItem("token",t),!0}catch(i){return console.error("Error saving token to localStorage:",i),!1}}function ey(t,e){return{async invoke(r,i){if(typeof i=="string")throw new Error(`Function ${r} must receive an object with named parameters, received: ${i}`);let a,u;return i instanceof FormData||i&&Object.values(i).some(c=>c instanceof File)?(a=new FormData,Object.keys(i).forEach(c=>{i[c]instanceof File?a.append(c,i[c],i[c].name):typeof i[c]=="object"&&i[c]!==null?a.append(c,JSON.stringify(i[c])):a.append(c,i[c])}),u="multipart/form-data"):(a=i,u="application/json"),t.post(`/apps/${e}/functions/${r}`,a||i,{headers:{"Content-Type":u}})}}}function ty({axios:t,socket:e,appId:r,serverUrl:i,token:a}){const u=`/apps/${r}/agents`;return{getConversations:()=>t.get(`${u}/conversations`),getConversation:E=>t.get(`${u}/conversations/${E}`),listConversations:E=>t.get(`${u}/conversations`,{params:E}),createConversation:E=>t.post(`${u}/conversations`,E),addMessage:async(E,S)=>{const k=`/agent-conversations/${E.id}`;return await e.updateModel(k,{...E,messages:[...E.messages||[],S]}),t.post(`${u}/conversations/${E.id}/messages`,S)},subscribeToConversation:(E,S)=>{const k=`/agent-conversations/${E}`;return e.subscribeToRoom(k,{connect:()=>{},update_model:({data:x})=>{const R=JSON.parse(x);S==null||S(R)}})},getWhatsAppConnectURL:E=>{const S=`${i}/api/apps/${r}/agents/${encodeURIComponent(E)}/whatsapp`,k=a??kf();return k?`${S}?token=${k}`:S}}}function ny(t,e){const r=`/app-logs/${e}`;return{async logUserInApp(i){await t.post(`${r}/log-user-in-app/${i}`)},async fetchLogs(i={}){return await t.get(r,{params:i})},async getStats(i={}){return await t.get(`${r}/stats`,{params:i})}}}const bn=Object.create(null);bn.open="0";bn.close="1";bn.ping="2";bn.pong="3";bn.message="4";bn.upgrade="5";bn.noop="6";const pl=Object.create(null);Object.keys(bn).forEach(t=>{pl[bn[t]]=t});const Ud={type:"error",data:"parser error"},G0=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Y0=typeof ArrayBuffer=="function",X0=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Ef=({type:t,data:e},r,i)=>G0&&e instanceof Blob?r?i(e):ry(e,i):Y0&&(e instanceof ArrayBuffer||X0(e))?r?i(e):ry(new Blob([e]),i):i(bn[t]+(e||"")),ry=(t,e)=>{const r=new FileReader;return r.onload=function(){const i=r.result.split(",")[1];e("b"+(i||""))},r.readAsDataURL(t)};function sy(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let Zc;function qT(t,e){if(G0&&t.data instanceof Blob)return t.data.arrayBuffer().then(sy).then(e);if(Y0&&(t.data instanceof ArrayBuffer||X0(t.data)))return e(sy(t.data));Ef(t,!1,r=>{Zc||(Zc=new TextEncoder),e(Zc.encode(r))})}const iy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<iy.length;t++)oo[iy.charCodeAt(t)]=t;const HT=t=>{let e=t.length*.75,r=t.length,i,a=0,u,c,f,h;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const m=new ArrayBuffer(e),g=new Uint8Array(m);for(i=0;i<r;i+=4)u=oo[t.charCodeAt(i)],c=oo[t.charCodeAt(i+1)],f=oo[t.charCodeAt(i+2)],h=oo[t.charCodeAt(i+3)],g[a++]=u<<2|c>>4,g[a++]=(c&15)<<4|f>>2,g[a++]=(f&3)<<6|h&63;return m},KT=typeof ArrayBuffer=="function",bf=(t,e)=>{if(typeof t!="string")return{type:"message",data:J0(t,e)};const r=t.charAt(0);return r==="b"?{type:"message",data:QT(t.substring(1),e)}:pl[r]?t.length>1?{type:pl[r],data:t.substring(1)}:{type:pl[r]}:Ud},QT=(t,e)=>{if(KT){const r=HT(t);return J0(r,e)}else return{base64:!0,data:t}},J0=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},Z0="�",GT=(t,e)=>{const r=t.length,i=new Array(r);let a=0;t.forEach((u,c)=>{Ef(u,!1,f=>{i[c]=f,++a===r&&e(i.join(Z0))})})},YT=(t,e)=>{const r=t.split(Z0),i=[];for(let a=0;a<r.length;a++){const u=bf(r[a],e);if(i.push(u),u.type==="error")break}return i};function XT(){return new TransformStream({transform(t,e){qT(t,r=>{const i=r.length;let a;if(i<126)a=new Uint8Array(1),new DataView(a.buffer).setUint8(0,i);else if(i<65536){a=new Uint8Array(3);const u=new DataView(a.buffer);u.setUint8(0,126),u.setUint16(1,i)}else{a=new Uint8Array(9);const u=new DataView(a.buffer);u.setUint8(0,127),u.setBigUint64(1,BigInt(i))}t.data&&typeof t.data!="string"&&(a[0]|=128),e.enqueue(a),e.enqueue(r)})}})}let ed;function rl(t){return t.reduce((e,r)=>e+r.length,0)}function sl(t,e){if(t[0].length===e)return t.shift();
vendor: 37,057 bytes, line 167
167const r=new Uint8Array(e);let i=0;for(let a=0;a<e;a++)r[a]=t[0][i++],i===t[0].length&&(t.shift(),i=0);return t.length&&i<t[0].length&&(t[0]=t[0].slice(i)),r}function JT(t,e){ed||(ed=new TextDecoder);const r=[];let i=0,a=-1,u=!1;return new TransformStream({transform(c,f){for(r.push(c);;){if(i===0){if(rl(r)<1)break;const h=sl(r,1);u=(h[0]&128)===128,a=h[0]&127,a<126?i=3:a===126?i=1:i=2}else if(i===1){if(rl(r)<2)break;const h=sl(r,2);a=new DataView(h.buffer,h.byteOffset,h.length).getUint16(0),i=3}else if(i===2){if(rl(r)<8)break;const h=sl(r,8),m=new DataView(h.buffer,h.byteOffset,h.length),g=m.getUint32(0);if(g>Math.pow(2,21)-1){f.enqueue(Ud);break}a=g*Math.pow(2,32)+m.getUint32(4),i=3}else{if(rl(r)<a)break;const h=sl(r,a);f.enqueue(bf(u?h:ed.decode(h),e)),i=0}if(a===0||a>t){f.enqueue(Ud);break}}}})}const ew=4;function Je(t){if(t)return ZT(t)}function ZT(t){for(var e in Je.prototype)t[e]=Je.prototype[e];return t}Je.prototype.on=Je.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Je.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this};Je.prototype.off=Je.prototype.removeListener=Je.prototype.removeAllListeners=Je.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+t];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var i,a=0;a<r.length;a++)if(i=r[a],i===e||i.fn===e){r.splice(a,1);break}return r.length===0&&delete this._callbacks["$"+t],this};Je.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),r=this._callbacks["$"+t],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(r){r=r.slice(0);for(var i=0,a=r.length;i<a;++i)r[i].apply(this,e)}return this};Je.prototype.emitReserved=Je.prototype.emit;Je.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Je.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Il=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,r)=>r(e,0),Jt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),eP="arraybuffer";function tw(t,...e){return e.reduce((r,i)=>(t.hasOwnProperty(i)&&(r[i]=t[i]),r),{})}const tP=Jt.setTimeout,nP=Jt.clearTimeout;function Fl(t,e){e.useNativeTimers?(t.setTimeoutFn=tP.bind(Jt),t.clearTimeoutFn=nP.bind(Jt)):(t.setTimeoutFn=Jt.setTimeout.bind(Jt),t.clearTimeoutFn=Jt.clearTimeout.bind(Jt))}const rP=1.33;function sP(t){return typeof t=="string"?iP(t):Math.ceil((t.byteLength||t.size)*rP)}function iP(t){let e=0,r=0;for(let i=0,a=t.length;i<a;i++)e=t.charCodeAt(i),e<128?r+=1:e<2048?r+=2:e<55296||e>=57344?r+=3:(i++,r+=4);return r}function nw(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function oP(t){let e="";for(let r in t)t.hasOwnProperty(r)&&(e.length&&(e+="&"),e+=encodeURIComponent(r)+"="+encodeURIComponent(t[r]));return e}function aP(t){let e={},r=t.split("&");for(let i=0,a=r.length;i<a;i++){let u=r[i].split("=");e[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return e}class lP extends Error{constructor(e,r,i){super(e),this.description=r,this.context=i,this.type="TransportError"}}class Cf extends Je{constructor(e){super(),this.writable=!1,Fl(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,r,i){return super.emitReserved("error",new lP(e,r,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const r=bf(e,this.socket.binaryType);this.onPacket(r)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,r={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const r=oP(e);return r.length?"?"+r:""}}class uP extends Cf{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const r=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||r()})),this.writable||(i++,this.once("drain",function(){--i||r()}))}else r()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const r=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};YT(e,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,GT(e,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=nw()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(e,r)}}let rw=!1;try{rw=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const cP=rw;function dP(){}class fP extends uP{constructor(e){if(super(e),typeof location<"u"){const r=location.protocol==="https:";let i=location.port;i||(i=r?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||i!==e.port}}doWrite(e,r){const i=this.request({method:"POST",data:e});i.on("success",r),i.on("error",(a,u)=>{this.onError("xhr post error",a,u)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(r,i)=>{this.onError("xhr poll error",r,i)}),this.pollXhr=e}}class Sn extends Je{constructor(e,r,i){super(),this.createRequest=e,Fl(this,i),this._opts=i,this._method=i.method||"GET",this._uri=r,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var e;const r=tw(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(r);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let a in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(a)&&i.setRequestHeader(a,this._opts.extraHeaders[a])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var a;i.readyState===3&&((a=this._opts.cookieJar)===null||a===void 0||a.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(a){this.setTimeoutFn(()=>{this._onError(a)},0);return}typeof document<"u"&&(this._index=Sn.requestsCount++,Sn.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=dP,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Sn.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Sn.requestsCount=0;Sn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",oy);else if(typeof addEventListener=="function"){const t="onpagehide"in Jt?"pagehide":"unload";addEventListener(t,oy,!1)}}function oy(){for(let t in Sn.requests)Sn.requests.hasOwnProperty(t)&&Sn.requests[t].abort()}const hP=(function(){const t=sw({xdomain:!1});return t&&t.responseType!==null})();class pP extends fP{constructor(e){super(e);const r=e&&e.forceBase64;this.supportsBinary=hP&&!r}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new Sn(sw,this.uri(),e)}}function sw(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||cP))return new XMLHttpRequest}catch{}if(!e)try{return new Jt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const iw=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class mP extends Cf{get name(){return"websocket"}doOpen(){const e=this.uri(),r=this.opts.protocols,i=iw?{}:tw(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,r,i)}catch(a){return this.emitReserved("error",a)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let r=0;r<e.length;r++){const i=e[r],a=r===e.length-1;Ef(i,this.supportsBinary,u=>{try{this.doWrite(i,u)}catch{}a&&Il(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=nw()),this.supportsBinary||(r.b64=1),this.createUri(e,r)}}const td=Jt.WebSocket||Jt.MozWebSocket;class gP extends mP{createSocket(e,r,i){return iw?new td(e,r,i):r?new td(e,r):new td(e)}doWrite(e,r){this.ws.send(r)}}class yP extends Cf{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const r=JT(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(r).getReader(),a=XT();a.readable.pipeTo(e.writable),this._writer=a.writable.getWriter();const u=()=>{i.read().then(({done:f,value:h})=>{f||(this.onPacket(h),u())}).catch(f=>{})};u();const c={type:"open"};this.query.sid&&(c.data=`{"sid":"${this.query.sid}"}`),this._writer.write(c).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let r=0;r<e.length;r++){const i=e[r],a=r===e.length-1;this._writer.write(i).then(()=>{a&&Il(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const vP={websocket:gP,webtransport:yP,polling:pP},wP=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,xP=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function zd(t){if(t.length>8e3)throw"URI too long";const e=t,r=t.indexOf("["),i=t.indexOf("]");r!=-1&&i!=-1&&(t=t.substring(0,r)+t.substring(r,i).replace(/:/g,";")+t.substring(i,t.length));let a=wP.exec(t||""),u={},c=14;for(;c--;)u[xP[c]]=a[c]||"";return r!=-1&&i!=-1&&(u.source=e,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=SP(u,u.path),u.queryKey=kP(u,u.query),u}function SP(t,e){const r=/\/{2,9}/g,i=e.replace(r,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function kP(t,e){const r={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,a,u){a&&(r[a]=u)}),r}const $d=typeof addEventListener=="function"&&typeof removeEventListener=="function",ml=[];$d&&addEventListener("offline",()=>{ml.forEach(t=>t())},!1);class Er extends Je{constructor(e,r){if(super(),this.binaryType=eP,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(r=e,e=null),e){const i=zd(e);r.hostname=i.host,r.secure=i.protocol==="https"||i.protocol==="wss",r.port=i.port,i.query&&(r.query=i.query)}else r.host&&(r.hostname=zd(r.host).host);Fl(this,r),this.secure=r.secure!=null?r.secure:typeof location<"u"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=r.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},r.transports.forEach(i=>{const a=i.prototype.name;this.transports.push(a),this._transportsByName[a]=i}),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},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=aP(this.opts.query)),$d&&(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"})},ml.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const r=Object.assign({},this.opts.query);r.EIO=ew,r.transport=e,this.id&&(r.sid=this.id);const i=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Er.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const r=this.createTransport(e);r.open(),this.setTransport(r)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",r=>this._onClose("transport close",r))}onOpen(){this.readyState="open",Er.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const r=new Error("server error");r.code=e.data,this._onError(r);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),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 e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let i=0;i<this.writeBuffer.length;i++){const a=this.writeBuffer[i].data;if(a&&(r+=sP(a)),i>0&&r>this._maxPayload)return this.writeBuffer.slice(0,i);r+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Il(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,r,i){return this._sendPacket("message",e,r,i),this}send(e,r,i){return this._sendPacket("message",e,r,i),this}_sendPacket(e,r,i,a){if(typeof r=="function"&&(a=r,r=void 0),typeof i=="function"&&(a=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const u={type:e,data:r,options:i};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),a&&this.once("flush",a),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),e()},i=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}_onError(e){if(Er.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,r){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(),$d&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=ml.indexOf(this._offlineEventListener);i!==-1&&ml.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,r),this.writeBuffer=[],this._prevBufferLen=0}}}Er.protocol=ew;class EP extends Er{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let r=this.createTransport(e),i=!1;Er.priorWebsocketSuccess=!1;const a=()=>{i||(r.send([{type:"ping",data:"probe"}]),r.once("packet",y=>{if(!i)if(y.type==="pong"&&y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;Er.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(g(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const w=new Error("probe error");w.transport=r.name,this.emitReserved("upgradeError",w)}}))};function u(){i||(i=!0,g(),r.close(),r=null)}const c=y=>{const w=new Error("probe error: "+y);w.transport=r.name,u(),this.emitReserved("upgradeError",w)};function f(){c("transport closed")}function h(){c("socket closed")}function m(y){r&&y.name!==r.name&&u()}const g=()=>{r.removeListener("open",a),r.removeListener("error",c),r.removeListener("close",f),this.off("close",h),this.off("upgrading",m)};r.once("open",a),r.once("error",c),r.once("close",f),this.once("close",h),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||r.open()},200):r.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const r=[];for(let i=0;i<e.length;i++)~this.transports.indexOf(e[i])&&r.push(e[i]);return r}}let bP=class extends EP{constructor(e,r={}){const i=typeof e=="object"?e:r;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(a=>vP[a]).filter(a=>!!a)),super(e,i)}};function CP(t,e="",r){let i=t;r=r||typeof location<"u"&&location,t==null&&(t=r.protocol+"//"+r.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=r.protocol+t:t=r.host+t),/^(https?|wss?):\/\//.test(t)||(typeof r<"u"?t=r.protocol+"//"+t:t="https://"+t),i=zd(t)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const u=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+u+":"+i.port+e,i.href=i.protocol+"://"+u+(r&&r.port===i.port?"":":"+i.port),i}const TP=typeof ArrayBuffer=="function",PP=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,ow=Object.prototype.toString,AP=typeof Blob=="function"||typeof Blob<"u"&&ow.call(Blob)==="[object BlobConstructor]",RP=typeof File=="function"||typeof File<"u"&&ow.call(File)==="[object FileConstructor]";function Tf(t){return TP&&(t instanceof ArrayBuffer||PP(t))||AP&&t instanceof Blob||RP&&t instanceof File}function gl(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let r=0,i=t.length;r<i;r++)if(gl(t[r]))return!0;return!1}if(Tf(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return gl(t.toJSON(),!0);for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&gl(t[r]))return!0;return!1}function _P(t){const e=[],r=t.data,i=t;return i.data=Wd(r,e),i.attachments=e.length,{packet:i,buffers:e}}function Wd(t,e){if(!t)return t;if(Tf(t)){const r={_placeholder:!0,num:e.length};return e.push(t),r}else if(Array.isArray(t)){const r=new Array(t.length);for(let i=0;i<t.length;i++)r[i]=Wd(t[i],e);return r}else if(typeof t=="object"&&!(t instanceof Date)){const r={};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=Wd(t[i],e));return r}return t}function NP(t,e){return t.data=qd(t.data,e),delete t.attachments,t}function qd(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r]=qd(t[r],e);else if(typeof t=="object")for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=qd(t[r],e));return t}const OP=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],LP=5;var Re;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Re||(Re={}));class MP{constructor(e){this.replacer=e}encode(e){return(e.type===Re.EVENT||e.type===Re.ACK)&&gl(e)?this.encodeAsBinary({type:e.type===Re.EVENT?Re.BINARY_EVENT:Re.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let r=""+e.type;return(e.type===Re.BINARY_EVENT||e.type===Re.BINARY_ACK)&&(r+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(r+=e.nsp+","),e.id!=null&&(r+=e.id),e.data!=null&&(r+=JSON.stringify(e.data,this.replacer)),r}encodeAsBinary(e){const r=_P(e),i=this.encodeAsString(r.packet),a=r.buffers;return a.unshift(i),a}}function ay(t){return Object.prototype.toString.call(t)==="[object Object]"}class Pf extends Je{constructor(e){super(),this.reviver=e}add(e){let r;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=this.decodeString(e);const i=r.type===Re.BINARY_EVENT;i||r.type===Re.BINARY_ACK?(r.type=i?Re.EVENT:Re.ACK,this.reconstructor=new jP(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(Tf(e)||e.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(e),r&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let r=0;const i={type:Number(e.charAt(0))};if(Re[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Re.BINARY_EVENT||i.type===Re.BINARY_ACK){const u=r+1;for(;e.charAt(++r)!=="-"&&r!=e.length;);const c=e.substring(u,r);if(c!=Number(c)||e.charAt(r)!=="-")throw new Error("Illegal attachments");i.attachments=Number(c)}if(e.charAt(r+1)==="/"){const u=r+1;for(;++r&&!(e.charAt(r)===","||r===e.length););i.nsp=e.substring(u,r)}else i.nsp="/";const a=e.charAt(r+1);if(a!==""&&Number(a)==a){const u=r+1;for(;++r;){const c=e.charAt(r);if(c==null||Number(c)!=c){--r;break}if(r===e.length)break}i.id=Number(e.substring(u,r+1))}if(e.charAt(++r)){const u=this.tryParse(e.substr(r));if(Pf.isPayloadValid(i.type,u))i.data=u;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,r){switch(e){case Re.CONNECT:return ay(r);case Re.DISCONNECT:return r===void 0;case Re.CONNECT_ERROR:return typeof r=="string"||ay(r);case Re.EVENT:case Re.BINARY_EVENT:return Array.isArray(r)&&(typeof r[0]=="number"||typeof r[0]=="string"&&OP.indexOf(r[0])===-1);case Re.ACK:case Re.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class jP{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const r=NP(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const DP=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Pf,Encoder:MP,get PacketType(){return Re},protocol:LP},Symbol.toStringTag,{value:"Module"}));function cn(t,e,r){return t.on(e,r),function(){t.off(e,r)}}const IP=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class aw extends Je{constructor(e,r,i){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=e,this.nsp=r,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[cn(e,"open",this.onopen.bind(this)),cn(e,"packet",this.onpacket.bind(this)),cn(e,"error",this.onerror.bind(this)),cn(e,"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(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...r){var i,a,u;if(IP.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(r.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;const c={type:Re.EVENT,data:r};if(c.options={},c.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const g=this.ids++,y=r.pop();this._registerAckCallback(g,y),c.id=g}const f=(a=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||a===void 0?void 0:a.writable,h=this.connected&&!(!((u=this.io.engine)===null||u===void 0)&&u._hasPingExpired());return this.flags.volatile&&!f||(h?(this.notifyOutgoingListeners(c),this.packet(c)):this.sendBuffer.push(c)),this.flags={},this}_registerAckCallback(e,r){var i;const a=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(a===void 0){this.acks[e]=r;return}const u=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let f=0;f<this.sendBuffer.length;f++)this.sendBuffer[f].id===e&&this.sendBuffer.splice(f,1);r.call(this,new Error("operation has timed out"))},a),c=(...f)=>{this.io.clearTimeoutFn(u),r.apply(this,f)};c.withError=!0,this.acks[e]=c}emitWithAck(e,...r){return new Promise((i,a)=>{const u=(c,f)=>c?a(c):i(f);u.withError=!0,r.push(u),this.emit(e,...r)})}_addToQueue(e){let r;typeof e[e.length-1]=="function"&&(r=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((a,...u)=>i!==this._queue[0]?void 0:(a!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(a)):(this._queue.shift(),r&&r(null,...u)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!e||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Re.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,r),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(i=>String(i.id)===e)){const i=this.acks[e];delete this.acks[e],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Re.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.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 Re.EVENT:case Re.BINARY_EVENT:this.onevent(e);break;case Re.ACK:case Re.BINARY_ACK:this.onack(e);break;case Re.DISCONNECT:this.ondisconnect();break;case Re.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const r=e.data||[];e.id!=null&&r.push(this.ack(e.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const i of r)i.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const r=this;let i=!1;return function(...a){i||(i=!0,r.packet({type:Re.ACK,id:e,data:a}))}}onack(e){const r=this.acks[e.id];typeof r=="function"&&(delete this.acks[e.id],r.withError&&e.data.unshift(null),r.apply(this,e.data))}onconnect(e,r){this.id=e,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Re.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const r=this._anyListeners;for(let i=0;i<r.length;i++)if(e===r[i])return r.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const r=this._anyOutgoingListeners;for(let i=0;i<r.length;i++)if(e===r[i])return r.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const r=this._anyOutgoingListeners.slice();for(const i of r)i.apply(this,e.data)}}}function di(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}di.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-r:t+r}return Math.min(t,this.max)|0};di.prototype.reset=function(){this.attempts=0};di.prototype.setMin=function(t){this.ms=t};di.prototype.setMax=function(t){this.max=t};di.prototype.setJitter=function(t){this.jitter=t};class Hd extends Je{constructor(e,r){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(r=e,e=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,Fl(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((i=r.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new di({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=e;const a=r.parser||DP;this.encoder=new a.Encoder,this.decoder=new a.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var r;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(r=this.backoff)===null||r===void 0||r.setMin(e),this)}randomizationFactor(e){var r;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(r=this.backoff)===null||r===void 0||r.setJitter(e),this)}reconnectionDelayMax(e){var r;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(r=this.backoff)===null||r===void 0||r.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new bP(this.uri,this.opts);const r=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const a=cn(r,"open",function(){i.onopen(),e&&e()}),u=f=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",f),e?e(f):this.maybeReconnectOnOpen()},c=cn(r,"error",u);if(this._timeout!==!1){const f=this._timeout,h=this.setTimeoutFn(()=>{a(),u(new Error("timeout")),r.close()},f);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(a),this.subs.push(c),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(cn(e,"ping",this.onping.bind(this)),cn(e,"data",this.ondata.bind(this)),cn(e,"error",this.onerror.bind(this)),cn(e,"close",this.onclose.bind(this)),cn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(r){this.onclose("parse error",r)}}ondecoded(e){Il(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,r){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new aw(this,e,r),this.nsps[e]=i),i}_destroy(e){const r=Object.keys(this.nsps);for(const i of r)if(this.nsps[i].active)return;this._close()}_packet(e){const r=this.encoder.encode(e);for(let i=0;i<r.length;
167i++)this.engine.write(r[i],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,r){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(a=>{a?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",a)):e.onreconnect()}))},r);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const to={};function yl(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const r=CP(t,e.path||"/socket.io"),i=r.source,a=r.id,u=r.path,c=to[a]&&u in to[a].nsps,f=e.forceNew||e["force new connection"]||e.multiplex===!1||c;let h;return f?h=new Hd(i,e):(to[a]||(to[a]=new Hd(i,e)),h=to[a]),r.query&&!e.query&&(e.query=r.queryKey),h.socket(r.path,e)}Object.assign(yl,{Manager:Hd,Socket:aw,io:yl,connect:yl});function ly(t,e){var r;const i=yl(t.serverUrl,{path:t.mountPath,transports:t.transports,query:{app_id:t.appId,token:(r=t.token)!==null&&r!==void 0?r:kf()}});return i.on("connect",async()=>{var a;return console.log("connect",i.id),(a=e.connect)===null||a===void 0?void 0:a.call(e)}),i.on("update_model",async a=>{var u;return(u=e.update_model)===null||u===void 0?void 0:u.call(e,a)}),i.on("error",async a=>{var u;return(u=e.error)===null||u===void 0?void 0:u.call(e,a)}),i.on("connect_error",async a=>{var u;return console.error("connect_error",a),(u=e.error)===null||u===void 0?void 0:u.call(e,a)}),i}function FP({config:t}){let e={...t};const r={},i={connect:async()=>{const E=[];Object.keys(r).forEach(S=>{h(S);const k=y(S);k==null||k.forEach(({connect:x})=>{const R=async()=>x==null?void 0:x();E.push(R())})}),await Promise.all(E)},update_model:async E=>{const k=y(E.room).map(x=>{var R;return(R=x.update_model)===null||R===void 0?void 0:R.call(x,E)});await Promise.all(k)},error:async E=>{console.error("error",E);const S=Object.values(r).flat().map(k=>{var x;return(x=k.error)===null||x===void 0?void 0:x.call(k,E)});await Promise.all(S)}};let a=ly(t,i);function u(){c()}function c(){a&&a.disconnect()}function f(E){u(),e={...e,...E},a=ly(e,i)}function h(E){a.emit("join",E)}function m(E){a.emit("leave",E)}async function g(E,S){var k;const x=JSON.stringify(S);return(k=i.update_model)===null||k===void 0?void 0:k.call(i,{room:E,data:x})}function y(E){return r[E]}return{socket:a,subscribeToRoom:(E,S)=>(r[E]||(h(E),r[E]=[]),r[E].push(S),()=>{var k,x;r[E]=(x=(k=r[E])===null||k===void 0?void 0:k.filter(R=>R!==S))!==null&&x!==void 0?x:[],r[E].length===0&&m(E)}),updateConfig:f,updateModel:g,disconnect:c}}function VP(t){const{serverUrl:e="https://base44.app",appId:r,token:i,serviceToken:a,requiresAuth:u=!1,appBaseUrl:c,options:f,functionsVersion:h,headers:m}=t,y=FP({config:{serverUrl:e,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:r,token:i}}),w={...m,"X-App-Id":String(r)},E=h?{...w,"Base44-Functions-Version":h}:w,S=io({baseURL:`${e}/api`,headers:w,token:i,onError:f==null?void 0:f.onError}),k=io({baseURL:`${e}/api`,headers:E,token:i,interceptResponses:!1,onError:f==null?void 0:f.onError}),x=io({baseURL:`${e}/api`,headers:w,token:a,onError:f==null?void 0:f.onError}),R=io({baseURL:`${e}/api`,headers:E,token:a,interceptResponses:!1}),B={entities:Jg(S,r),integrations:Zg(S,r),auth:UT(S,k,r,{appBaseUrl:c}),functions:ey(k,r),agents:ty({axios:S,socket:y,appId:r,serverUrl:e,token:i}),appLogs:ny(S,r),cleanup:()=>{y.disconnect()}},D={entities:Jg(x,r),integrations:Zg(x,r),sso:zT(x,r,i),connectors:$T(x,r),functions:ey(R,r),agents:ty({axios:x,socket:y,appId:r,serverUrl:e,token:i}),appLogs:ny(x,r),cleanup:()=>{y.disconnect()}};if(typeof window<"u"){const U=i||kf();U&&B.auth.setToken(U)}return u&&typeof window<"u"&&setTimeout(async()=>{try{await B.auth.isAuthenticated()||B.auth.redirectToLogin(window.location.href)}catch(U){console.error("Authentication check failed:",U),B.auth.redirectToLogin(window.location.href)}},0),{...B,setToken(U){B.auth.setToken(U),y.updateConfig({token:U})},getConfig(){return{serverUrl:e,appId:r,requiresAuth:u}},get asServiceRole(){if(!a)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return D}}}const lw=typeof window>"u",BP=lw?{localStorage:new Map}:window,nd=BP.localStorage,UP=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),no=(t,{defaultValue:e=void 0,removeFromUrl:r=!1}={})=>
167{if(lw)return e;const i=`base44_${UP(t)}`,a=new URLSearchParams(window.location.search),u=a.get(t);if(r){a.delete(t);const f=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,f)}if(u)return nd.setItem(i,u),u;if(e)return nd.setItem(i,e),e;const c=nd.getItem(i);return c||null},zP=()=>({appId:no("app_id",{defaultValue:"6923af4964eb0fd4e1af5b2e"}),serverUrl:no("server_url",{defaultValue:"https://base44.app"}),token:no("access_token",{removeFromUrl:!0}),fromUrl:no("from_url",{defaultValue:window.location.href}),functionsVersion:no("functions_version")}),Ds={...zP()},{appId:$P,serverUrl:WP,token:qP,functionsVersion:HP}=Ds,Is=VP({appId:$P,serverUrl:WP,token:qP,functionsVersion:HP,requiresAuth:!1}),uw=M.createContext(),KP=({children:t})=>{const[e,r]=M.useState(null),[i,a]=M.useState(!1),[u,c]=M.useState(!0),[f,h]=M.useState(!0),[m,g]=M.useState(null),[y,w]=M.useState(null);M.useEffect(()=>{E()},[]);const E=async()=>{var R,B;try{h(!0),g(null);const D=io({baseURL:`${Ds.serverUrl}/api/apps/public`,headers:{"X-App-Id":Ds.appId},token:Ds.token,interceptResponses:!0});try{const V=await D.get(`/prod/public-settings/by-id/${Ds.appId}`);w(V),Ds.token?await S():(c(!1),a(!1)),h(!1)}catch(V){if(console.error("App state check failed:",V),V.status===403&&((B=(R=V.data)==null?void 0:R.extra_data)!=null&&B.reason)){const U=V.data.extra_data.reason;g(U==="auth_required"?{type:"auth_required",message:"Authentication required"}:U==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:U,message:V.message})}else g({type:"unknown",message:V.message||"Failed to load app"});h(!1),c(!1)}}catch(D){console.error("Unexpected error:",D),g({type:"unknown",message:D.message||"An unexpected error occurred"}),h(!1),c(!1)}},S=async()=>{try{c(!0);const R=await Is.auth.me();r(R),a(!0),c(!1)}catch(R){console.error("User auth check failed:",R),c(!1),a(!1),(R.status===401||R.status===403)&&g({type:"auth_required",message:"Authentication required"})}},k=(R=!0)=>{r(null),a(!1),R?Is.auth.logout(window.location.href):Is.auth.logout()},x=()=>{Is.auth.redirectToLogin(window.location.href)};return C.jsx(uw.Provider,{value:{user:e,isAuthenticated:i,isLoadingAuth:u,isLoadingPublicSettings:f,authError:m,appPublicSettings:y,logout:k,navigateToLogin:x,checkAppState:E},children:t})},cw=()=>{const t=M.useContext(uw);if(!t)throw new Error("useAuth must be used within an AuthProvider");return t};function Vn(t){return"/"+t.toLowerCase().replace(/ /g,"-")}const Af=M.createContext(null);function QP(t){const e=M.useRef(null);return e.current===null&&(e.current=t()),e.current}const dw=M.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),fw=M.createContext({}),Bt=t=>t;let hw=Bt;function Rf(t){let e;return()=>(e===void 0&&(e=t()),e)}const ni=(t,e,r)=>{const i=e-t;return i===0?1:(r-t)/i},Bn=t=>t*1e3,Un=t=>t/1e3,_f=typeof window<"u",GP=_f?M.useLayoutEffect:M.useEffect,YP={useManualTiming:!1};function XP(t){let e=new Set,r=new Set,i=!1,a=!1;const u=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function f(m){u.has(m)&&(h.schedule(m),t()),m(c)}const h={schedule:(m,g=!1,y=!1)=>{const E=y&&i?e:r;return g&&u.add(m),E.has(m)||E.add(m),m},cancel:m=>{r.delete(m),u.delete(m)},process:m=>{if(c=m,i){a=!0;return}i=!0,[e,r]=[r,e],e.forEach(f),e.clear(),i=!1,a&&(a=!1,h.process(m))}};return h}const il=["read","resolveKeyframes","update","preRender","render","postRender"],JP=40;function pw(t,e){let r=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},u=()=>r=!0,c=il.reduce((R,B)=>(R[B]=XP(u),R),{}),{read:f,resolveKeyframes:h,update:m,preRender:g,render:y,postRender:w}=c,E=()=>{const R=performance.now();r=!1,a.delta=i?1e3/60:Math.max(Math.min(R-a.timestamp,JP),1),a.timestamp=R,a.isProcessing=!0,f.process(a),h.process(a),m.process(a),g.process(a),y.process(a),w.process(a),a.isProcessing=!1,r&&e&&(i=!1,t(E))},S=()=>{r=!0,i=!0,a.isProcessing||t(E)};return{schedule:il.reduce((R,B)=>{const D=c[B];return R[B]=(V,U=!1,Y=!1)=>(r||S(),D.schedule(V,U,Y)),R},{}),cancel:R=>{for(let B=0;B<il.length;B++)c[il[B]].cancel(R)},state:a,steps:c}}const{schedule:Ve,cancel:br,state:ft,steps:rd}=pw(typeof requestAnimationFrame<"u"?requestAnimationFrame:Bt,!0),mw=M.createContext({strict:!1}),uy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ri={};for(const t in uy)ri[t]={isEnabled:e=>uy[t].some(r=>!!e[r])};function ZP(t){for(const e in t)ri[e]={...ri[e],...t[e]}}const eA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function bl(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eA.has(t)}let gw=t=>!bl(t);function tA(t){t&&(gw=e=>e.startsWith("on")?!bl(e):t(e))}try{tA(require("@emotion/is-prop-valid").default)}catch{}function nA(t,e,r){const i={};for(const a in t)a==="values"&&typeof t.values=="object"||(gw(a)||r===!0&&bl(a)||!e&&!bl(a)||t.draggable&&a.startsWith("onDrag"))&&(i[a]=t[a]);return i}function rA(t){if(typeof Proxy>"u")return t;const e=new Map,r=(...i)=>t(...i);return new Proxy(r,{get:(i,a)=>a==="create"?t:(e.has(a)||e.set(a,t(a)),e.get(a))})}const Vl=M.createContext({});function xo(t){return typeof t=="string"||Array.isArray(t)}function Bl(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Nf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Of=["initial",...Nf];function Ul(t){return Bl(t.animate)||Of.some(e=>xo(t[e]))}function yw(t){return!!(Ul(t)||t.variants)}function sA(t,e){if(Ul(t)){const{initial:r,animate:i}=t;return{initial:r===!1||xo(r)?r:void 0,animate:xo(i)?i:void 0}}return t.inherit!==!1?e:{}}function iA(t){const{initial:e,animate:r}=sA(t,M.useContext(Vl));return M.useMemo(()=>({initial:e,animate:r}),[cy(e),cy(r)])}function cy(t){return Array.isArray(t)?t.join(" "):t}const oA=Symbol.for("motionComponentSymbol");function Fs(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function aA(t,e,r){return M.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),r&&(typeof r=="function"?r(i):Fs(r)&&(r.current=i))},[e])}const Lf=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),lA="framerAppearId",vw="data-"+Lf(lA),{schedule:Mf}=pw(queueMicrotask,!1),ww=M.createContext({});function uA(t,e,r,i,a){var u,c;const{visualElement:f}=M.useContext(Vl),h=M.useContext(mw),m=M.useContext(Af),g=M.useContext(dw).reducedMotion,y=M.useRef(null);i=i||h.renderer,!y.current&&i&&(y.current=i(t,{visualState:e,parent:f,props:r,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g}));const w=y.current,E=M.useContext(ww);w&&!w.projection&&a&&(w.type==="html"||w.type==="svg")&&cA(y.current,r,a,E);const S=M.useRef(!1);M.useInsertionEffect(()=>{w&&S.current&&w.update(r,m)});const k=r[vw],x=M.useRef(!!k&&!(!((u=window.MotionHandoffIsComplete)===null||u===void 0)&&u.call(window,k))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,k)));return GP(()=>{w&&(S.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),Mf.render(w.render),x.current&&w.animationState&&w.animationState.animateChanges())}),M.useEffect(()=>{w&&(!x.current&&w.animationState&&w.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var R;(R=window.MotionHandoffMarkAsComplete)===null||R===void 0||R.call(window,k)}),x.current=!1))}),w}function cA(t,e,r,i){const{layoutId:a,layout:u,drag:c,dragConstraints:f,layoutScroll:h,layoutRoot:m}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:xw(t.parent)),t.projection.setOptions({layoutId:a,layout:u,alwaysMeasureLayout:!!c||f&&Fs(f),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:i,layoutScroll:h,layoutRoot:m})}function xw(t){if(t)return t.options.allowProjection!==!1?t.projection:xw(t.parent)}function dA({preloadedFeatures:t,createVisualElement:e,useRender:r,useVisualState:i,Component:a}){var u,c;t&&ZP(t);function f(m,g){let y;const w={...M.useContext(dw),...m,layoutId:fA(m)},{isStatic:E}=w,S=iA(m),k=i(m,E);if(!E&&_f){hA();const x=pA(w);y=x.MeasureLayout,S.visualElement=uA(a,k,w,e,x.ProjectionNode)}return C.jsxs(Vl.Provider,{value:S,children:[y&&S.visualElement?C.jsx(y,{visualElement:S.visualElement,...w}):null,r(a,m,aA(k,S.visualElement,g),k,E,S.visualElement)]})}
vendor: 18,256 bytes, line 167
167f.displayName=`motion.${typeof a=="string"?a:`create(${(c=(u=a.displayName)!==null&&u!==void 0?u:a.name)!==null&&c!==void 0?c:""})`}`;const h=M.forwardRef(f);return h[oA]=a,h}function fA({layoutId:t}){const e=M.useContext(fw).id;return e&&t!==void 0?e+"-"+t:t}function hA(t,e){M.useContext(mw).strict}function pA(t){const{drag:e,layout:r}=ri;if(!e&&!r)return{};const i={...e,...r};return{MeasureLayout:e!=null&&e.isEnabled(t)||r!=null&&r.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const mA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function jf(t){return typeof t!="string"||t.includes("-")?!1:!!(mA.indexOf(t)>-1||/[A-Z]/u.test(t))}function Sw(t,{style:e,vars:r},i,a){Object.assign(t.style,e,a&&a.getProjectionStyles(i));for(const u in r)t.style.setProperty(u,r[u])}const kw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ew(t,e,r,i){Sw(t,e,void 0,i);for(const a in e.attrs)t.setAttribute(kw.has(a)?a:Lf(a),e.attrs[a])}const xt=t=>!!(t&&t.getVelocity),Cl={};function gA(t){Object.assign(Cl,t)}const Io=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],us=new Set(Io);function bw(t,{layout:e,layoutId:r}){return us.has(t)||t.startsWith("origin")||(e||r!==void 0)&&(!!Cl[t]||t==="opacity")}function Df(t,e,r){var i;const{style:a}=t,u={};for(const c in a)(xt(a[c])||e.style&&xt(e.style[c])||bw(c,t)||((i=r==null?void 0:r.getValue(c))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(u[c]=a[c]);return u}function Cw(t,e,r){const i=Df(t,e,r);for(const a in t)if(xt(t[a])||xt(e[a])){const u=Io.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[u]=t[a]}return i}function dy(t){const e=[{},{}];return t==null||t.values.forEach((r,i)=>{e[0][i]=r.get(),e[1][i]=r.getVelocity()}),e}function If(t,e,r,i){if(typeof e=="function"){const[a,u]=dy(i);e=e(r!==void 0?r:t.custom,a,u)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[a,u]=dy(i);e=e(r!==void 0?r:t.custom,a,u)}return e}const Kd=t=>Array.isArray(t),yA=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),vA=t=>Kd(t)?t[t.length-1]||0:t;function vl(t){const e=xt(t)?t.get():t;return yA(e)?e.toValue():e}function wA({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},i,a,u){const c={latestValues:xA(i,a,u,t),renderState:e()};return r&&(c.mount=f=>r(i,f,c)),c}const Tw=t=>(e,r)=>{const i=M.useContext(Vl),a=M.useContext(Af),u=()=>wA(t,e,i,a);return r?u():QP(u)};function xA(t,e,r,i){const a={},u=i(t,{});for(const w in u)a[w]=vl(u[w]);let{initial:c,animate:f}=t;const h=Ul(t),m=yw(t);e&&m&&!h&&t.inherit!==!1&&(c===void 0&&(c=e.initial),f===void 0&&(f=e.animate));let g=r?r.initial===!1:!1;g=g||c===!1;const y=g?f:c;if(y&&typeof y!="boolean"&&!Bl(y)){const w=Array.isArray(y)?y:[y];for(let E=0;E<w.length;E++){const S=If(t,w[E]);if(S){const{transitionEnd:k,transition:x,...R}=S;for(const B in R){let D=R[B];if(Array.isArray(D)){const V=g?D.length-1:0;D=D[V]}D!==null&&(a[B]=D)}for(const B in k)a[B]=k[B]}}}return a}const Ff=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Pw=()=>({...Ff(),attrs:{}}),Aw=(t,e)=>e&&typeof t=="number"?e.transform(t):t,zn=(t,e,r)=>r>e?e:r<t?t:r,fi={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},So={...fi,transform:t=>zn(0,1,t)},ol={...fi,default:1},Fo=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),dr=Fo("deg"),kn=Fo("%"),ve=Fo("px"),SA=Fo("vh"),kA=Fo("vw"),fy={...kn,parse:t=>kn.parse(t)/100,transform:t=>kn.transform(t*100)},EA={borderWidth:ve,borderTopWidth:ve,borderRightWidth:ve,borderBottomWidth:ve,borderLeftWidth:ve,borderRadius:ve,radius:ve,borderTopLeftRadius:ve,borderTopRightRadius:ve,borderBottomRightRadius:ve,borderBottomLeftRadius:ve,width:ve,maxWidth:ve,height:ve,maxHeight:ve,top:ve,right:ve,bottom:ve,left:ve,padding:ve,paddingTop:ve,paddingRight:ve,paddingBottom:ve,paddingLeft:ve,margin:ve,marginTop:ve,marginRight:ve,marginBottom:ve,marginLeft:ve,backgroundPositionX:ve,backgroundPositionY:ve},bA={rotate:dr,rotateX:dr,rotateY:dr,rotateZ:dr,scale:ol,scaleX:ol,scaleY:ol,scaleZ:ol,skew:dr,skewX:dr,skewY:dr,distance:ve,translateX:ve,translateY:ve,translateZ:ve,x:ve,y:ve,z:ve,perspective:ve,transformPerspective:ve,opacity:So,originX:fy,originY:fy,originZ:ve},hy={...fi,transform:Math.round},Vf={...EA,...bA,zIndex:hy,size:ve,fillOpacity:So,strokeOpacity:So,numOctaves:hy},CA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},TA=Io.length;function PA(t,e,r){let i="",a=!0;for(let u=0;u<TA;u++){const c=Io[u],f=t[c];if(f===void 0)continue;let h=!0;if(typeof f=="number"?h=f===(c.startsWith("scale")?1:0):h=parseFloat(f)===0,!h||r){const m=Aw(f,Vf[c]);if(!h){a=!1;const g=CA[c]||c;i+=`${g}(${m}) `}r&&(e[c]=m)}}return i=i.trim(),r?i=r(e,a?"":i):a&&(i="none"),i}const Rw=t=>e=>typeof e=="string"&&e.startsWith(t),_w=Rw("--"),AA=Rw("var(--"),Bf=t=>AA(t)?RA.test(t.split("/*")[0].trim()):!1,RA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Uf(t,e,r){const{style:i,vars:a,transformOrigin:u}=t;let c=!1,f=!1;for(const h in e){const m=e[h];if(us.has(h)){c=!0;continue}else if(_w(h)){a[h]=m;continue}else{const g=Aw(m,Vf[h]);h.startsWith("origin")?(f=!0,u[h]=g):i[h]=g}}if(e.transform||(c||r?i.transform=PA(e,t.transform,r):i.transform&&(i.transform="none")),f){const{originX:h="50%",originY:m="50%",originZ:g=0}=u;i.transformOrigin=`${h} ${m} ${g}`}}function py(t,e,r){return typeof t=="string"?t:ve.transform(e+r*t)}function _A(t,e,r){const i=py(e,t.x,t.width),a=py(r,t.y,t.height);return`${i} ${a}`}const NA={offset:"stroke-dashoffset",array:"stroke-dasharray"},OA={offset:"strokeDashoffset",array:"strokeDasharray"};function LA(t,e,r=1,i=0,a=!0){t.pathLength=1;const u=a?NA:OA;t[u.offset]=ve.transform(-i);const c=ve.transform(e),f=ve.transform(r);t[u.array]=`${c} ${f}`}function zf(t,{attrX:e,attrY:r,attrScale:i,originX:a,originY:u,pathLength:c,pathSpacing:f=1,pathOffset:h=0,...m},g,y){if(Uf(t,m,y),g){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:w,style:E,dimensions:S}=t;w.transform&&(S&&(E.transform=w.transform),delete w.transform),S&&(a!==void 0||u!==void 0||E.transform)&&(E.transformOrigin=_A(S,a!==void 0?a:.5,u!==void 0?u:.5)),e!==void 0&&(w.x=e),r!==void 0&&(w.y=r),i!==void 0&&(w.scale=i),c!==void 0&&LA(w,c,f,h,!1)}const $f=t=>typeof t=="string"&&t.toLowerCase()==="svg",MA={useVisualState:Tw({scrapeMotionValuesFromProps:Cw,createRenderState:Pw,onMount:(t,e,{renderState:r,latestValues:i})=>{Ve.read(()=>{try{r.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Ve.render(()=>{zf(r,i,$f(e.tagName),t.transformTemplate),Ew(e,r)})}})},jA={useVisualState:Tw({scrapeMotionValuesFromProps:Df,createRenderState:Ff})};function Nw(t,e,r){for(const i in e)!xt(e[i])&&!bw(i,r)&&(t[i]=e[i])}function DA({transformTemplate:t},e){return M.useMemo(()=>{const r=Ff();return Uf(r,e,t),Object.assign({},r.vars,r.style)},[e])}function IA(t,e){const r=t.style||{},i={};return Nw(i,r,t),Object.assign(i,DA(t,e)),i}function FA(t,e){const r={},i=IA(t,e);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r}function VA(t,e,r,i){const a=M.useMemo(()=>{const u=Pw();return zf(u,e,$f(i),t.transformTemplate),{...u.attrs,style:{...u.style}}},[e]);if(t.style){const u={};Nw(u,t.style,t),a.style={...u,...a.style}}return a}function BA(t=!1){return(r,i,a,{latestValues:u},c)=>{const h=(jf(r)?VA:FA)(i,u,c,r),m=nA(i,typeof r=="string",t),g=r!==M.Fragment?{...m,...h,ref:a}:{},{children:y}=i,w=M.useMemo(()=>xt(y)?y.get():y,[y]);return M.createElement(r,{...g,children:w})}}function UA(t,e){return function(i,{forwardMotionProps:a}={forwardMotionProps:!1}){const c={...jf(i)?MA:jA,preloadedFeatures:t,useRender:BA(a),createVisualElement:e,Component:i};return dA(c)}}function Ow(t,e){if(!Array.isArray(e))return!1;const r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}function zl(t,e,r){const i=t.getProps();return If(i,e,r!==void 0?r:i.custom,t)}const zA=Rf(()=>window.ScrollTimeline!==void 0);class $A{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,r){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=r}attachTimeline(e,r){const i=this.animations.map(a=>{if(zA()&&a.attachTimeline)return a.attachTimeline(e);if(typeof r=="function")return r(a)});return()=>{i.forEach((a,u)=>{a&&a(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let r=0;r<this.animations.length;r++)e=Math.max(e,this.animations[r].duration);return e}runAll(e){this.animations.forEach(r=>r[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class WA extends $A{then(e,r){return Promise.all(this.animations).then(e).catch(r)}}function Wf(t,e){return t?t[e]||t.default||t:void 0}const Qd=2e4;function Lw(t){let e=0;const r=50;let i=t.next(e);for(;!i.done&&e<Qd;)e+=r,i=t.next(e);return e>=Qd?1/0:e}function qf(t){return typeof t=="function"}function my(t,e){t.timeline=e,t.onfinish=null}const Hf=t=>Array.isArray(t)&&typeof t[0]=="number",qA={linearEasing:void 0};function HA(t,e){const r=Rf(t);return()=>{var i;return(i=qA[e])!==null&&i!==void 0?i:r()}}const Tl=HA(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Mw=(t,e,r=10)=>{let i="";const a=Math.max(Math.round(e/r),2);for(let u=0;u<a;u++)i+=t(ni(0,a-1,u))+", ";return`linear(${i.substring(0,i.length-2)})`};function jw(t){return!!(typeof t=="function"&&Tl()||!t||typeof t=="string"&&(t in Gd||Tl())||Hf(t)||Array.isArray(t)&&t.every(jw))}const ao=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,Gd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ao([0,.65,.55,1]),circOut:ao([.55,0,1,.45]),backIn:ao([.31,.01,.66,-.59]),backOut:ao([.33,1.53,.69,.99])};function Dw(t,e){if(t)return typeof t=="function"&&Tl()?Mw(t,e):Hf(t)?ao(t):Array.isArray(t)?t.map(r=>Dw(r,e)||Gd.easeOut):Gd[t]}const an={x:!1,y:!1};function Iw(){return an.x||an.y}function KA(t,e,r){var i;if(t instanceof Element)return[t];if(typeof t=="string"){let a=document;const u=(i=void 0)!==null&&i!==void 0?i:a.querySelectorAll(t);return u?Array.from(u):[]}return Array.from(t)}function Fw(t,e){const r=KA(t),i=new AbortController,a={passive:!0,...e,signal:i.signal};return[r,a,()=>i.abort()]}function gy(t){return e=>{e.pointerType==="touch"||Iw()||t(e)}}function QA(t,e,r={}){const[i,a,u]=Fw(t,r),c=gy(f=>{const{target:h}=f,m=e(f);if(typeof m!="function"||!h)return;const g=gy(y=>{m(y),h.removeEventListener("pointerleave",g)});h.addEventListener("pointerleave",g,a)});return i.forEach(f=>{f.addEventListener("pointerenter",c,a)}),u}const Vw=(t,e)=>e?t===e?!0:Vw(t,e.parentElement):!1,Kf=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,GA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function YA(t){return GA.has(t.tagName)||t.tabIndex!==-1}const lo=new WeakSet;function yy(t){return e=>{e.key==="Enter"&&t(e)}}function sd(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const XA=(t,e)=>{const r=t.currentTarget;if(!r)return;const i=yy(()=>{if(lo.has(r))return;sd(r,"down");const a=yy(()=>{sd(r,"up")}),u=()=>sd(r,"cancel");r.addEventListener("keyup",a,e),r.addEventListener("blur",u,e)});r.addEventListener("keydown",i,e),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),e)};function vy(t){return Kf(t)&&!Iw()}function JA(t,e,r={}){const[i,a,u]=Fw(t,r),c=f=>{const h=f.currentTarget;if(!vy(f)||lo.has(h))return;lo.add(h);const m=e(f),g=(E,S)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",w),!(!vy(E)||!lo.has(h))&&(lo.delete(h),typeof m=="function"&&m(E,{success:S}))},y=E=>{g(E,r.useGlobalTarget||Vw(h,E.target))},w=E=>{g(E,!1)};window.addEventListener("pointerup",y,a),window.addEventListener("pointercancel",w,a)};return i.forEach(f=>{!YA(f)&&f.getAttribute("tabindex")===null&&(f.tabIndex=0),(r.useGlobalTarget?window:f).addEventListener("pointerdown",c,a),f.addEventListener("focus",m=>XA(m,a),a)}),u}function ZA(t){return t==="x"||t==="y"?an[t]?null:(an[t]=!0,()=>{an[t]=!1}):an.x||an.y?null:(an.x=an.y=!0,()=>{an.x=an.y=!1})}let wl;function eR(){wl=void 0}const En={now:()=>(wl===void 0&&En.set(ft.isProcessing||YP.useManualTiming?ft.timestamp:performance.now()),wl),set:t=>{wl=t,queueMicrotask(eR)}};function Qf(t,e){t.indexOf(e)===-1&&t.push(e)}function Gf(t,e){const r=t.indexOf(e);r>-1&&t.splice(r,1)}class Yf{constructor(){this.subscriptions=[]}add(e){return Qf(this.subscriptions,e),()=>Gf(this.subscriptions,e)}notify(e,r,i){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](e,r,i);else for(let u=0;u<a;u++){const c=this.subscriptions[u];c&&c(e,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Bw(t,e){return e?t*(1e3/e):0}const wy=30,tR=t=>!isNaN(parseFloat(t));class nR{constructor(e,r={}){this.version="11.16.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,a=!0)=>{const u=En.now();this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=r.owner}setCurrent(e){this.current=e,this.updatedAt=En.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=tR(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,r){this.events[e]||(this.events[e]=new Yf);const i=this.events[e].add(r);return e==="change"?()=>{i(),Ve.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,r){this.passiveEffect=e,this.stopPassiveEffect=r}set(e,r=!0){!r||!this.passiveEffect?this.updateAndNotify(e,r):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,r,i){this.set(r),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,r=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=En.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>wy)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,wy);return Bw(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(e){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=e(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ko(t,e){return new nR(t,e)}function rR(t,e,r){t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,ko(r))}function sR(t,e){const r=zl(t,e);let{transitionEnd:i={},transition:a={},...u}=r||{};u={...u,...i};for(const c in u){const f=vA(u[c]);rR(t,c,f)}}function iR(t){return!!(xt(t)&&t.add)}function Yd(t,e){const r=t.getValue("willChange");if(iR(r))return r.add(e)}function Uw(t){return t.props[vw]}const zw=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t,oR=1e-7,aR=12;function lR(t,e,r,i,a){let u,c,f=0;do c=e+(r-e)/2,u=zw(c,i,a)-t,u>0?r=c:e=c;while(Math.abs(u)>oR&&++f<aR);return c}function Vo(t,e,r,i){if(t===e&&r===i)return Bt;const a=u=>lR(u,0,1,t,r);return u=>u===0||u===1?u:zw(a(u),e,i)}const $w=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ww=t=>e=>1-t(1-e),qw=Vo(.33,1.53,.69,.99),Xf=Ww(qw),Hw=$w(Xf),Kw=t=>(t*=2)<1?.5*Xf(t):.5*(2-Math.pow(2,-10*(t-1))),Jf=t=>1-Math.sin(Math.acos(t)),Qw=Ww(Jf),Gw=$w(Jf),Yw=t=>/^0[^.\s]+$/u.test(t);function uR(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Yw(t):!0}const Xw=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),cR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function dR(t){const e=cR.exec(t);if(!e)return[,];const[,r,i,a]=e;return[`--${r??i}`,a]}function Jw(t,e,r=1){const[i,a]=dR(t);if(!i)return;const u=window.getComputedStyle(e).getPropertyValue(i);if(u){const c=u.trim();return Xw(c)?parseFloat(c):c}return Bf(a)?Jw(a,e,r+1):a}const fR=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),xy=t=>t===fi||t===ve,Sy=(t,e)=>parseFloat(t.split(", ")[e]),ky=(t,e)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const a=i.match(/^matrix3d\((.+)\)$/u);if(a)return Sy(a[1],e);{const u=i.match(/^matrix\((.+)\)$/u);return u?Sy(u[1],t):0}},hR=new Set(["x","y","z"]),pR=Io.filter(t=>!hR.has(t));function mR(t){const e=[];
vendor: 5,353 bytes, line 167
167return pR.forEach(r=>{const i=t.getValue(r);i!==void 0&&(e.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),e}const si={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ky(4,13),y:ky(5,14)};si.translateX=si.x;si.translateY=si.y;const Zw=t=>e=>e.test(t),gR={test:t=>t==="auto",parse:t=>t},ex=[fi,ve,kn,dr,kA,SA,gR],Ey=t=>ex.find(Zw(t)),ss=new Set;let Xd=!1,Jd=!1;function tx(){if(Jd){const t=Array.from(ss).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),r=new Map;e.forEach(i=>{const a=mR(i);a.length&&(r.set(i,a),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const a=r.get(i);a&&a.forEach(([u,c])=>{var f;(f=i.getValue(u))===null||f===void 0||f.set(c)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Jd=!1,Xd=!1,ss.forEach(t=>t.complete()),ss.clear()}function nx(){ss.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Jd=!0)})}function yR(){nx(),tx()}class Zf{constructor(e,r,i,a,u,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=r,this.name=i,this.motionValue=a,this.element=u,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ss.add(this),Xd||(Xd=!0,Ve.read(nx),Ve.resolveKeyframes(tx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:r,element:i,motionValue:a}=this;for(let u=0;u<e.length;u++)if(e[u]===null)if(u===0){const c=a==null?void 0:a.get(),f=e[e.length-1];if(c!==void 0)e[0]=c;else if(i&&r){const h=i.readValue(r,f);h!=null&&(e[0]=h)}e[0]===void 0&&(e[0]=f),a&&c===void 0&&a.set(e[0])}else e[u]=e[u-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ss.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ss.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const fo=t=>Math.round(t*1e5)/1e5,eh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function vR(t){return t==null}const wR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,th=(t,e)=>r=>!!(typeof r=="string"&&wR.test(r)&&r.startsWith(t)||e&&!vR(r)&&Object.prototype.hasOwnProperty.call(r,e)),rx=(t,e,r)=>i=>{if(typeof i!="string")return i;const[a,u,c,f]=i.match(eh);return{[t]:parseFloat(a),[e]:parseFloat(u),[r]:parseFloat(c),alpha:f!==void 0?parseFloat(f):1}},xR=t=>zn(0,255,t),id={...fi,transform:t=>Math.round(xR(t))},Kr={test:th("rgb","red"),parse:rx("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+id.transform(t)+", "+id.transform(e)+", "+id.transform(r)+", "+fo(So.transform(i))+")"};function SR(t){let e="",r="",i="",a="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),a=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),a=t.substring(4,5),e+=e,r+=r,i+=i,a+=a),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}const Zd={test:th("#"),parse:SR,transform:Kr.transform},Vs={test:th("hsl","hue"),parse:rx("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:i=1})=>"hsla("+Math.round(t)+", "+kn.transform(fo(e))+", "+kn.transform(fo(r))+", "+fo(So.transform(i))+")"},vt={test:t=>Kr.test(t)||Zd.test(t)||Vs.test(t),parse:t=>Kr.test(t)?Kr.parse(t):Vs.test(t)?Vs.parse(t):Zd.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Kr.transform(t):Vs.transform(t)},kR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ER(t){var e,r;return isNaN(t)&&typeof t=="string"&&(((e=t.match(eh))===null||e===void 0?void 0:e.length)||0)+(((r=t.match(kR))===null||r===void 0?void 0:r.length)||0)>0}const sx="number",ix="color",bR="var",CR="var(",by="${}",TR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Eo(t){const e=t.toString(),r=[],i={color:[],number:[],var:[]},a=[];let u=0;const f=e.replace(TR,h=>(vt.test(h)?(i.color.push(u),a.push(ix),r.push(vt.parse(h))):h.startsWith(CR)?(i.var.push(u),a.push(bR),r.push(h)):(i.number.push(u),a.push(sx),r.push(parseFloat(h))),++u,by)).split(by);return{values:r,split:f,indexes:i,types:a}}function ox(t){return Eo(t).values}function ax(t){const{split:e,types:r}=Eo(t),i=e.length;return a=>{let u="";for(let c=0;c<i;c++)if(u+=e[c],a[c]!==void 0){const f=r[c];f===sx?u+=fo(a[c]):f===ix?u+=vt.transform(a[c]):u+=a[c]}return u}}const PR=t=>typeof t=="number"?0:t;function AR(t){const e=ox(t);return ax(t)(e.map(PR))}const Cr={test:ER,parse:ox,createTransformer:ax,getAnimatableNone:AR},RR=new Set(["brightness","contrast","saturate","opacity"]);function _R(t){const[e,r]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=r.match(eh)||[];
vendor: 9,239 bytes, line 167
167if(!i)return t;const a=r.replace(i,"");let u=RR.has(e)?1:0;return i!==r&&(u*=100),e+"("+u+a+")"}const NR=/\b([a-z-]*)\(.*?\)/gu,ef={...Cr,getAnimatableNone:t=>{const e=t.match(NR);return e?e.map(_R).join(" "):t}},OR={...Vf,color:vt,backgroundColor:vt,outlineColor:vt,fill:vt,stroke:vt,borderColor:vt,borderTopColor:vt,borderRightColor:vt,borderBottomColor:vt,borderLeftColor:vt,filter:ef,WebkitFilter:ef},nh=t=>OR[t];function lx(t,e){let r=nh(t);return r!==ef&&(r=Cr),r.getAnimatableNone?r.getAnimatableNone(e):void 0}const LR=new Set(["auto","none","0"]);function MR(t,e,r){let i=0,a;for(;i<t.length&&!a;){const u=t[i];typeof u=="string"&&!LR.has(u)&&Eo(u).values.length&&(a=t[i]),i++}if(a&&r)for(const u of e)t[u]=lx(r,a)}class ux extends Zf{constructor(e,r,i,a,u){super(e,r,i,a,u,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:r,name:i}=this;if(!r||!r.current)return;super.readKeyframes();for(let h=0;h<e.length;h++){let m=e[h];if(typeof m=="string"&&(m=m.trim(),Bf(m))){const g=Jw(m,r.current);g!==void 0&&(e[h]=g),h===e.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!fR.has(i)||e.length!==2)return;const[a,u]=e,c=Ey(a),f=Ey(u);if(c!==f)if(xy(c)&&xy(f))for(let h=0;h<e.length;h++){const m=e[h];typeof m=="string"&&(e[h]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:r}=this,i=[];for(let a=0;a<e.length;a++)uR(e[a])&&i.push(a);i.length&&MR(e,i,r)}measureInitialState(){const{element:e,unresolvedKeyframes:r,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=si[i](e.measureViewportBox(),window.getComputedStyle(e.current)),r[0]=this.measuredOrigin;const a=r[r.length-1];a!==void 0&&e.getValue(i,a).jump(a,!1)}measureEndState(){var e;const{element:r,name:i,unresolvedKeyframes:a}=this;if(!r||!r.current)return;const u=r.getValue(i);u&&u.jump(this.measuredOrigin,!1);const c=a.length-1,f=a[c];a[c]=si[i](r.measureViewportBox(),window.getComputedStyle(r.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([h,m])=>{r.getValue(h).set(m)}),this.resolveNoneKeyframes()}}const Cy=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Cr.test(t)||t==="0")&&!t.startsWith("url("));function jR(t){const e=t[0];if(t.length===1)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}function DR(t,e,r,i){const a=t[0];if(a===null)return!1;if(e==="display"||e==="visibility")return!0;const u=t[t.length-1],c=Cy(a,e),f=Cy(u,e);return!c||!f?!1:jR(t)||(r==="spring"||qf(r))&&i}const IR=t=>t!==null;function $l(t,{repeat:e,repeatType:r="loop"},i){const a=t.filter(IR),u=e&&r!=="loop"&&e%2===1?0:a.length-1;return!u||i===void 0?a[u]:i}const FR=40;class cx{constructor({autoplay:e=!0,delay:r=0,type:i="keyframes",repeat:a=0,repeatDelay:u=0,repeatType:c="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=En.now(),this.options={autoplay:e,delay:r,type:i,repeat:a,repeatDelay:u,repeatType:c,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>FR?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&yR(),this._resolved}onKeyframesResolved(e,r){this.resolvedAt=En.now(),this.hasAttemptedResolve=!0;const{name:i,type:a,velocity:u,delay:c,onComplete:f,onUpdate:h,isGenerator:m}=this.options;if(!m&&!DR(e,i,a,u))if(c)this.options.duration=0;else{h==null||h($l(e,this.options,r)),f==null||f(),this.resolveFinishedPromise();return}const g=this.initPlayback(e,r);g!==!1&&(this._resolved={keyframes:e,finalKeyframe:r,...g},this.onPostResolved())}onPostResolved(){}then(e,r){return this.currentFinishedPromise.then(e,r)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const $e=(t,e,r)=>t+(e-t)*r;function od(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function VR({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,e/=100,r/=100;let a=0,u=0,c=0;if(!e)a=u=c=r;else{const f=r<.5?r*(1+e):r+e-r*e,h=2*r-f;a=od(h,f,t+1/3),u=od(h,f,t),c=od(h,f,t-1/3)}return{red:Math.round(a*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:i}}function Pl(t,e){return r=>r>0?e:t}const ad=(t,e,r)=>{const i=t*t,a=r*(e*e-i)+i;return a<0?0:Math.sqrt(a)},BR=[Zd,Kr,Vs],UR=t=>BR.find(e=>e.test(t));function Ty(t){const e=UR(t);if(!e)return!1;let r=e.parse(t);return e===Vs&&(r=VR(r)),r}const Py=(t,e)=>{const r=Ty(t),i=Ty(e);if(!r||!i)return Pl(t,e);const a={...r};return u=>(a.red=ad(r.red,i.red,u),a.green=ad(r.green,i.green,u),a.blue=ad(r.blue,i.blue,u),a.alpha=$e(r.alpha,i.alpha,u),Kr.transform(a))},zR=(t,e)=>r=>e(t(r)),Bo=(...t)=>t.reduce(zR),tf=new Set(["none","hidden"]);function $R(t,e){return tf.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}function WR(t,e){return r=>$e(t,e,r)}function rh(t){return typeof t=="number"?WR:typeof t=="string"?Bf(t)?Pl:vt.test(t)?Py:KR:Array.isArray(t)?dx:typeof t=="object"?vt.test(t)?Py:qR:Pl}function dx(t,e){const r=[...t],i=r.length,a=t.map((u,c)=>rh(u)(u,e[c]));return u=>{for(let c=0;c<i;c++)r[c]=a[c](u);return r}}function qR(t,e){const r={...t,...e},i={};for(const a in r)t[a]!==void 0&&e[a]!==void 0&&(i[a]=rh(t[a])(t[a],e[a]));return a=>{for(const u in i)r[u]=i[u](a);return r}}function HR(t,e){var r;const i=[],a={color:0,var:0,number:0};for(let u=0;u<e.values.length;u++){const c=e.types[u],f=t.indexes[c][a[c]],h=(r=t.values[f])!==null&&r!==void 0?r:0;i[u]=h,a[c]++}return i}const KR=(t,e)=>{const r=Cr.createTransformer(e),i=Eo(t),a=Eo(e);return i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length?tf.has(t)&&!a.values.length||tf.has(e)&&!i.values.length?$R(t,e):Bo(dx(HR(i,a),a.values),r):Pl(t,e)};function fx(t,e,r){return typeof t=="number"&&typeof e=="number"&&typeof r=="number"?$e(t,e,r):rh(t)(t,e)}const QR=5;function hx(t,e,r){const i=Math.max(e-QR,0);return Bw(r-t(i),e-i)}const He={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},ld=.001;function GR({duration:t=He.duration,bounce:e=He.bounce,velocity:r=He.velocity,mass:i=He.mass}){let a,u,c=1-e;c=zn(He.minDamping,He.maxDamping,c),t=zn(He.minDuration,He.maxDuration,Un(t)),c<1?(a=m=>{const g=m*c,y=g*t,w=g-r,E=nf(m,c),S=Math.exp(-y);return ld-w/E*S},u=m=>{const y=m*c*t,w=y*r+r,E=Math.pow(c,2)*Math.pow(m,2)*t,S=Math.exp(-y),k=nf(Math.pow(m,2),c);return(-a(m)+ld>0?-1:1)*((w-E)*S)/k}):(a=m=>{const g=Math.exp(-m*t),y=(m-r)*t+1;return-ld+g*y},u=m=>{const g=Math.exp(-m*t),y=(r-m)*(t*t);return g*y});const f=5/t,h=XR(a,u,f);if(t=Bn(t),isNaN(h))return{stiffness:He.stiffness,damping:He.damping,duration:t};{const m=Math.pow(h,2)*i;return{stiffness:m,damping:c*2*Math.sqrt(i*m),duration:t}}}const YR=12;function XR(t,e,r){let i=r;for(let a=1;a<YR;a++)i=i-t(i)/e(i);return i}function nf(t,e){return t*Math.sqrt(1-e*e)}const JR=["duration","bounce"],ZR=["stiffness","damping","mass"];function Ay(t,e){return e.some(r=>t[r]!==void 0)}function e_(t){let e={velocity:He.velocity,stiffness:He.stiffness,damping:He.damping,mass:He.mass,isResolvedFromDuration:!1,...t};if(!Ay(t,ZR)&&Ay(t,JR))if(t.visualDuration){const r=t.visualDuration,i=2*Math.PI/(r*1.2),a=i*i,u=2*zn(.05,1,1-(t.bounce||0))*Math.sqrt(a);e={...e,mass:He.mass,stiffness:a,damping:u}}else{const r=GR(t);e={...e,...r,mass:He.mass},e.isResolvedFromDuration=!0}return e}function px(t=He.visualDuration,e=He.bounce){const r=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:a}=r;const u=r.keyframes[0],c=r.keyframes[r.keyframes.length-1],f={done:!1,value:u},{stiffness:h,damping:m,mass:g,duration:y,velocity:w,isResolvedFromDuration:E}=e_({...r,velocity:-Un(r.velocity||0)}),S=w||0,k=m/(2*Math.sqrt(h*g)),x=c-u,R=Un(Math.sqrt(h/g)),B=Math.abs(x)<5;i||(i=B?He.restSpeed.granular:He.restSpeed.default),a||(a=B?He.restDelta.granular:He.restDelta.default);let D;if(k<1){const U=nf(R,k);D=Y=>{const oe=Math.exp(-k*R*Y);return c-oe*((S+k*R*x)/U*Math.sin(U*Y)+x*Math.cos(U*Y))}}else if(k===1)D=U=>c-Math.exp(-R*U)*(x+(S+R*x)*U);else{const U=R*Math.sqrt(k*k-1);D=Y=>{const oe=Math.exp(-k*R*Y),N=Math.min(U*Y,300);return c-oe*((S+k*R*x)*Math.sinh(N)+U*x*Math.cosh(N))/U}}const V={calculatedDuration:E&&y||null,next:U=>{const Y=D(U);if(E)f.done=U>=y;else{let oe=0;k<1&&(oe=U===0?Bn(S):hx(D,U,Y));const N=Math.abs(oe)<=i,H=Math.abs(c-Y)<=a;f.done=N&&H}return f.value=f.done?c:Y,f},toString:()=>{const U=Math.min(Lw(V),Qd),Y=Mw(oe=>V.next(U*oe).value,U,30);return U+"ms "+Y}};return V}function Ry({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:u=500,modifyTarget:c,min:f,max:h,restDelta:m=.5,restSpeed:g}){const y=t[0],w={done:!1,value:y},E=N=>f!==void 0&&N<f||h!==void 0&&N>h,S=N=>f===void 0?h:h===void 0||Math.abs(f-N)<Math.abs(h-N)?f:h;let k=r*e;const x=y+k,R=c===void 0?x:c(x);R!==x&&(k=R-y);const B=N=>
vendor: 4,327 bytes, line 167
167-k*Math.exp(-N/i),D=N=>R+B(N),V=N=>{const H=B(N),Q=D(N);w.done=Math.abs(H)<=m,w.value=w.done?R:Q};let U,Y;const oe=N=>{E(w.value)&&(U=N,Y=px({keyframes:[w.value,S(w.value)],velocity:hx(D,N,w.value),damping:a,stiffness:u,restDelta:m,restSpeed:g}))};return oe(0),{calculatedDuration:null,next:N=>{let H=!1;return!Y&&U===void 0&&(H=!0,V(N),oe(N)),U!==void 0&&N>=U?Y.next(N-U):(!H&&V(N),w)}}}const t_=Vo(.42,0,1,1),n_=Vo(0,0,.58,1),mx=Vo(.42,0,.58,1),r_=t=>Array.isArray(t)&&typeof t[0]!="number",s_={linear:Bt,easeIn:t_,easeInOut:mx,easeOut:n_,circIn:Jf,circInOut:Gw,circOut:Qw,backIn:Xf,backInOut:Hw,backOut:qw,anticipate:Kw},_y=t=>{if(Hf(t)){hw(t.length===4);const[e,r,i,a]=t;return Vo(e,r,i,a)}else if(typeof t=="string")return s_[t];return t};function i_(t,e,r){const i=[],a=r||fx,u=t.length-1;for(let c=0;c<u;c++){let f=a(t[c],t[c+1]);if(e){const h=Array.isArray(e)?e[c]||Bt:e;f=Bo(h,f)}i.push(f)}return i}function o_(t,e,{clamp:r=!0,ease:i,mixer:a}={}){const u=t.length;if(hw(u===e.length),u===1)return()=>e[0];if(u===2&&t[0]===t[1])return()=>e[1];t[0]>t[u-1]&&(t=[...t].reverse(),e=[...e].reverse());const c=i_(e,i,a),f=c.length,h=m=>{let g=0;if(f>1)for(;g<t.length-2&&!(m<t[g+1]);g++);const y=ni(t[g],t[g+1],m);return c[g](y)};return r?m=>h(zn(t[0],t[u-1],m)):h}function a_(t,e){const r=t[t.length-1];for(let i=1;i<=e;i++){const a=ni(0,e,i);t.push($e(r,1,a))}}function l_(t){const e=[0];return a_(e,t.length-1),e}function u_(t,e){return t.map(r=>r*e)}function c_(t,e){return t.map(()=>e||mx).splice(0,t.length-1)}function Al({duration:t=300,keyframes:e,times:r,ease:i="easeInOut"}){const a=r_(i)?i.map(_y):_y(i),u={done:!1,value:e[0]},c=u_(r&&r.length===e.length?r:l_(e),t),f=o_(c,e,{ease:Array.isArray(a)?a:c_(e,a)});return{calculatedDuration:t,next:h=>(u.value=f(h),u.done=h>=t,u)}}const d_=t=>{const e=({timestamp:r})=>t(r);return{start:()=>Ve.update(e,!0),stop:()=>br(e),now:()=>ft.isProcessing?ft.timestamp:En.now()}},f_={decay:Ry,inertia:Ry,tween:Al,keyframes:Al,spring:px},h_=t=>t/100;class sh extends cx{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:h}=this.options;h&&h()};const{name:r,motionValue:i,element:a,keyframes:u}=this.options,c=(a==null?void 0:a.KeyframeResolver)||Zf,f=(h,m)=>this.onKeyframesResolved(h,m);this.resolver=new c(u,f,r,i,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:u,velocity:c=0}=this.options,f=qf(r)?r:f_[r]||Al;let h,m;f!==Al&&typeof e[0]!="number"&&(h=Bo(h_,fx(e[0],e[1])),e=[0,100]);const g=f({...this.options,keyframes:e});u==="mirror"&&(m=f({...this.options,keyframes:[...e].reverse(),velocity:-c})),g.calculatedDuration===null&&(g.calculatedDuration=Lw(g));const{calculatedDuration:y}=g,w=y+a,E=w*(i+1)-a;return{generator:g,mirroredGenerator:m,mapPercentToKeyframes:h,calculatedDuration:y,resolvedDuration:w,totalDuration:E}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,r=!1){const{resolved:i}=this;if(!i){const{keyframes:N}=this.options;return{done:!0,value:N[N.length-1]}}const{finalKeyframe:a,generator:u,mirroredGenerator:c,mapPercentToKeyframes:f,keyframes:h,calculatedDuration:m,totalDuration:g,resolvedDuration:y}=i;if(this.startTime===null)return u.next(0);const{delay:w,repeat:E,repeatType:S,repeatDelay:k,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-g/this.speed,this.startTime)),r?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const R=this.currentTime-w*(this.speed>=0?1:-1),B=this.speed>=0?R<0:R>g;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let D=this.currentTime,V=u;if(E){const N=Math.min(this.currentTime,g)/y;let H=Math.floor(N),Q=N%1;!Q&&N>=1&&(Q=1),Q===1&&H--,H=Math.min(H,E+1),!!(H%2)&&(S==="reverse"?(Q=1-Q,k&&
vendor: 59,257 bytes, line 167
167(Q-=k/y)):S==="mirror"&&(V=c)),D=zn(0,1,Q)*y}const U=B?{done:!1,value:h[0]}:V.next(D);f&&(U.value=f(U.value));let{done:Y}=U;!B&&m!==null&&(Y=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const oe=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Y);return oe&&a!==void 0&&(U.value=$l(h,this.options,a)),x&&x(U.value),oe&&this.finish(),U}get duration(){const{resolved:e}=this;return e?Un(e.calculatedDuration):0}get time(){return Un(this.currentTime)}set time(e){e=Bn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const r=this.playbackSpeed!==e;this.playbackSpeed=e,r&&(this.time=Un(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=d_,onPlay:r,startTime:i}=this.options;this.driver||(this.driver=e(u=>this.tick(u))),r&&r();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const p_=new Set(["opacity","clipPath","filter","transform"]);function m_(t,e,r,{delay:i=0,duration:a=300,repeat:u=0,repeatType:c="loop",ease:f="easeInOut",times:h}={}){const m={[e]:r};h&&(m.offset=h);const g=Dw(f,a);return Array.isArray(g)&&(m.easing=g),t.animate(m,{delay:i,duration:a,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"})}const g_=Rf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Rl=10,y_=2e4;function v_(t){return qf(t.type)||t.type==="spring"||!jw(t.ease)}function w_(t,e){const r=new sh({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const a=[];let u=0;for(;!i.done&&u<y_;)i=r.sample(u),a.push(i.value),u+=Rl;return{times:void 0,keyframes:a,duration:u-Rl,ease:"linear"}}const gx={anticipate:Kw,backInOut:Hw,circInOut:Gw};function x_(t){return t in gx}class Ny extends cx{constructor(e){super(e);const{name:r,motionValue:i,element:a,keyframes:u}=this.options;this.resolver=new ux(u,(c,f)=>this.onKeyframesResolved(c,f),r,i,a),this.resolver.scheduleResolve()}initPlayback(e,r){var i;let{duration:a=300,times:u,ease:c,type:f,motionValue:h,name:m,startTime:g}=this.options;if(!(!((i=h.owner)===null||i===void 0)&&i.current))return!1;if(typeof c=="string"&&Tl()&&x_(c)&&(c=gx[c]),v_(this.options)){const{onComplete:w,onUpdate:E,motionValue:S,element:k,...x}=this.options,R=w_(e,x);e=R.keyframes,e.length===1&&(e[1]=e[0]),a=R.duration,u=R.times,c=R.ease,f="keyframes"}const y=m_(h.owner.current,m,e,{...this.options,duration:a,times:u,ease:c});return y.startTime=g??this.calcStartTime(),this.pendingTimeline?(my(y,this.pendingTimeline),this.pendingTimeline=void 0):y.onfinish=()=>{const{onComplete:w}=this.options;h.set($l(e,this.options,r)),w&&w(),this.cancel(),this.resolveFinishedPromise()},{animation:y,duration:a,times:u,type:f,ease:c,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:r}=e;return Un(r)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:r}=e;return Un(r.currentTime||0)}set time(e){const{resolved:r}=this;if(!r)return;const{animation:i}=r;i.currentTime=Bn(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:r}=e;return r.playbackRate}set speed(e){const{resolved:r}=this;if(!r)return;const{animation:i}=r;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:r}=e;return r.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:r}=e;return r.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:r}=this;if(!r)return Bt;const{animation:i}=r;my(i,e)}return Bt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:r}=e;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:r}=e;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:r,keyframes:i,duration:a,type:u,ease:c,times:f}=e;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:g,onComplete:y,element:w,...E}=this.options,S=new sh({...E,keyframes:i,duration:a,type:u,ease:c,times:f,isGenerator:!0}),k=Bn(this.time);m.setWithVelocity(S.sample(k-Rl).value,S.sample(k).value,Rl)}const{onStop:h}=this.options;h&&h(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:r,name:i,repeatDelay:a,repeatType:u,damping:c,type:f}=e;return g_()&&i&&p_.has(i)&&r&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUpdate&&!a&&u!=="mirror"&&c!==0&&f!=="inertia"}}const S_={type:"spring",stiffness:500,damping:25,restSpeed:10},k_=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),E_={type:"keyframes",duration:.8},b_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},C_=(t,{keyframes:e})=>e.length>2?E_:us.has(t)?t.startsWith("scale")?k_(e[1]):S_:b_;function T_({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:a,repeat:u,repeatType:c,repeatDelay:f,from:h,elapsed:m,...g}){return!!Object.keys(g).length}const ih=(t,e,r,i={},a,u)=>c=>{const f=Wf(i,t)||{},h=f.delay||i.delay||0;let{elapsed:m=0}=i;m=m-Bn(h);let g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...f,delay:-m,onUpdate:w=>{e.set(w),f.onUpdate&&f.onUpdate(w)},onComplete:()=>{c(),f.onComplete&&f.onComplete()},name:t,motionValue:e,element:u?void 0:a};T_(f)||(g={...g,...C_(t,g)}),g.duration&&(g.duration=Bn(g.duration)),g.repeatDelay&&(g.repeatDelay=Bn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(y=!0)),y&&!u&&e.get()!==void 0){const w=$l(g.keyframes,f);if(w!==void 0)return Ve.update(()=>{g.onUpdate(w),g.onComplete()}),new WA([])}return!u&&Ny.supports(g)?new Ny(g):new sh(g)};function P_({protectedKeys:t,needsAnimating:e},r){const i=t.hasOwnProperty(r)&&e[r]!==!0;return e[r]=!1,i}function yx(t,e,{delay:r=0,transitionOverride:i,type:a}={}){var u;let{transition:c=t.getDefaultTransition(),transitionEnd:f,...h}=e;i&&(c=i);const m=[],g=a&&t.animationState&&t.animationState.getState()[a];for(const y in h){const w=t.getValue(y,(u=t.latestValues[y])!==null&&u!==void 0?u:null),E=h[y];if(E===void 0||g&&P_(g,y))continue;const S={delay:r,...Wf(c||{},y)};let k=!1;if(window.MotionHandoffAnimation){const R=Uw(t);if(R){const B=window.MotionHandoffAnimation(R,y,Ve);B!==null&&(S.startTime=B,k=!0)}}Yd(t,y),w.start(ih(y,w,E,t.shouldReduceMotion&&us.has(y)?{type:!1}:S,t,k));const x=w.animation;x&&m.push(x)}return f&&Promise.all(m).then(()=>{Ve.update(()=>{f&&sR(t,f)})}),m}function rf(t,e,r={}){var i;const a=zl(t,e,r.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:u=t.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(u=r.transitionOverride);const c=a?()=>Promise.all(yx(t,a,r)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:w}=u;return A_(t,e,g+m,y,w,r)}:()=>Promise.resolve(),{when:h}=u;if(h){const[m,g]=h==="beforeChildren"?[c,f]:[f,c];return m().then(()=>g())}else return Promise.all([c(),f(r.delay)])}function A_(t,e,r=0,i=0,a=1,u){const c=[],f=(t.variantChildren.size-1)*i,h=a===1?(m=0)=>m*i:(m=0)=>f-m*i;return Array.from(t.variantChildren).sort(R_).forEach((m,g)=>{m.notify("AnimationStart",e),c.push(rf(m,e,{...u,delay:r+h(g)}).then(()=>m.notify("AnimationComplete",e)))}),Promise.all(c)}function R_(t,e){return t.sortNodePosition(e)}function __(t,e,r={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const a=e.map(u=>rf(t,u,r));i=Promise.all(a)}else if(typeof e=="string")i=rf(t,e,r);else{const a=typeof e=="function"?zl(t,e,r.custom):e;i=Promise.all(yx(t,a,r))}return i.then(()=>{t.notify("AnimationComplete",e)})}const N_=Of.length;function vx(t){if(!t)return;if(!t.isControllingVariants){const r=t.parent?vx(t.parent)||{}:{};return t.props.initial!==void 0&&(r.initial=t.props.initial),r}const e={};for(let r=0;r<N_;r++){const i=Of[r],a=t.props[i];(xo(a)||a===!1)&&(e[i]=a)}return e}const O_=[...Nf].reverse(),L_=Nf.length;function M_(t){return e=>Promise.all(e.map(({animation:r,options:i})=>__(t,r,i)))}function j_(t){let e=M_(t),r=Oy(),i=!0;const a=h=>(m,g)=>{var y;const w=zl(t,g,h==="exit"?(y=t.presenceContext)===null||y===void 0?void 0:y.custom:void 0);if(w){const{transition:E,transitionEnd:S,...k}=w;m={...m,...k,...S}}return m};function u(h){e=h(t)}function c(h){const{props:m}=t,g=vx(t.parent)||{},y=[],w=new Set;let E={},S=1/0;for(let x=0;x<L_;x++){const R=O_[x],B=r[R],D=m[R]!==void 0?m[R]:g[R],V=xo(D),U=R===h?B.isActive:null;U===!1&&(S=x);let Y=D===g[R]&&D!==m[R]&&V;if(Y&&i&&t.manuallyAnimateOnMount&&(Y=!1),B.protectedKeys={...E},!B.isActive&&U===null||!D&&!B.prevProp||Bl(D)||typeof D=="boolean")continue;const oe=D_(B.prevProp,D);let N=oe||R===h&&B.isActive&&!Y&&V||x>S&&V,H=!1;const Q=Array.isArray(D)?D:[D];let J=Q.reduce(a(R),{});U===!1&&(J={});const{prevResolvedValues:$={}}=B,ne={...$,...J},Ce=de=>{N=!0,w.has(de)&&(H=!0,w.delete(de)),B.needsAnimating[de]=!0;const F=t.getValue(de);F&&(F.liveStyle=!1)};for(const de in ne){const F=J[de],le=$[de];if(E.hasOwnProperty(de))continue;let X=!1;Kd(F)&&Kd(le)?X=!Ow(F,le):X=F!==le,X?F!=null?Ce(de):w.add(de):F!==void 0&&w.has(de)?Ce(de):B.protectedKeys[de]=!0}B.prevProp=D,B.prevResolvedValues=J,B.isActive&&(E={...E,...J}),i&&t.blockInitialAnimation&&(N=!1),N&&(!(Y&&oe)||H)&&y.push(...Q.map(de=>({animation:de,options:{type:R}})))}if(w.size){const x={};w.forEach(R=>{const B=t.getBaseTarget(R),D=t.getValue(R);D&&(D.liveStyle=!0),x[R]=B??null}),y.push({animation:x})}let k=!!y.length;return i&&(m.initial===!1||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(k=!1),i=!1,k?e(y):Promise.resolve()}function f(h,m){var g;if(r[h].isActive===m)return Promise.resolve();(g=t.variantChildren)===null||g===void 0||g.forEach(w=>{var E;return(E=w.animationState)===null||E===void 0?void 0:E.setActive(h,m)}),r[h].isActive=m;const y=c(h);for(const w in r)r[w].protectedKeys={};return y}return{animateChanges:c,setActive:f,setAnimateFunction:u,getState:()=>r,reset:()=>{r=Oy(),i=!0}}}function D_(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Ow(e,t):!1}function zr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Oy(){return{animate:zr(!0),whileInView:zr(),whileHover:zr(),whileTap:zr(),whileDrag:zr(),whileFocus:zr(),exit:zr()}}class Tr{constructor(e){this.isMounted=!1,this.node=e}update(){}}class I_ extends Tr{constructor(e){super(e),e.animationState||(e.animationState=j_(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Bl(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:r}=this.node.prevProps||{};e!==r&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let F_=0;class V_ extends Tr{constructor(){super(...arguments),this.id=F_++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const a=this.node.animationState.setActive("exit",!e);r&&!e&&a.then(()=>r(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const B_={animation:{Feature:I_},exit:{Feature:V_}};function bo(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}function Uo(t){return{point:{x:t.pageX,y:t.pageY}}}const U_=t=>e=>Kf(e)&&t(e,Uo(e));function ho(t,e,r,i){return bo(t,e,U_(r),i)}const Ly=(t,e)=>Math.abs(t-e);function z_(t,e){const r=Ly(t.x,e.x),i=Ly(t.y,e.y);return Math.sqrt(r**2+i**2)}class wx{constructor(e,r,{transformPagePoint:i,contextWindow:a,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=cd(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,E=z_(y.offset,{x:0,y:0})>=3;if(!w&&!E)return;const{point:S}=y,{timestamp:k}=ft;this.history.push({...S,timestamp:k});const{onStart:x,onMove:R}=this.handlers;w||(x&&x(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,y)},this.handlePointerMove=(y,w)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=ud(w,this.transformPagePoint),Ve.update(this.updatePoint,!0)},this.handlePointerUp=(y,w)=>{this.end();const{onEnd:E,onSessionEnd:S,resumeAnimation:k}=this.handlers;if(this.dragSnapToOrigin&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=cd(y.type==="pointercancel"?this.lastMoveEventInfo:ud(w,this.transformPagePoint),this.history);this.startEvent&&E&&E(y,x),S&&S(y,x)},!Kf(e))return;this.dragSnapToOrigin=u,this.handlers=r,this.transformPagePoint=i,this.contextWindow=a||window;const c=Uo(e),f=ud(c,this.transformPagePoint),{point:h}=f,{timestamp:m}=ft;this.history=[{...h,timestamp:m}];const{onSessionStart:g}=r;g&&g(e,cd(f,this.history)),this.removeListeners=Bo(ho(this.contextWindow,"pointermove",this.handlePointerMove),ho(this.contextWindow,"pointerup",this.handlePointerUp),ho(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),br(this.updatePoint)}}function ud(t,e){return e?{point:e(t.point)}:t}function My(t,e){return{x:t.x-e.x,y:t.y-e.y}}function cd({point:t},e){return{point:t,delta:My(t,xx(e)),offset:My(t,$_(e)),velocity:W_(e,.1)}}function $_(t){return t[0]}function xx(t){return t[t.length-1]}function W_(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null;const a=xx(t);for(;r>=0&&(i=t[r],!(a.timestamp-i.timestamp>Bn(e)));)r--;if(!i)return{x:0,y:0};const u=Un(a.timestamp-i.timestamp);if(u===0)return{x:0,y:0};const c={x:(a.x-i.x)/u,y:(a.y-i.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const Sx=1e-4,q_=1-Sx,H_=1+Sx,kx=.01,K_=0-kx,Q_=0+kx;function Ut(t){return t.max-t.min}function G_(t,e,r){return Math.abs(t-e)<=r}function jy(t,e,r,i=.5){t.origin=i,t.originPoint=$e(e.min,e.max,t.origin),t.scale=Ut(r)/Ut(e),t.translate=$e(r.min,r.max,t.origin)-t.originPoint,(t.scale>=q_&&t.scale<=H_||isNaN(t.scale))&&(t.scale=1),(t.translate>=K_&&t.translate<=Q_||isNaN(t.translate))&&(t.translate=0)}function po(t,e,r,i){jy(t.x,e.x,r.x,i?i.originX:void 0),jy(t.y,e.y,r.y,i?i.originY:void 0)}function Dy(t,e,r){t.min=r.min+e.min,t.max=t.min+Ut(e)}function Y_(t,e,r){Dy(t.x,e.x,r.x),Dy(t.y,e.y,r.y)}function Iy(t,e,r){t.min=e.min-r.min,t.max=t.min+Ut(e)}function mo(t,e,r){Iy(t.x,e.x,r.x),Iy(t.y,e.y,r.y)}function X_(t,{min:e,max:r},i){return e!==void 0&&t<e?t=i?$e(e,t,i.min):Math.max(t,e):r!==void 0&&t>r&&(t=i?$e(r,t,i.max):Math.min(t,r)),t}function Fy(t,e,r){return{min:e!==void 0?t.min+e:void 0,max:r!==void 0?t.max+r-(t.max-t.min):void 0}}function J_(t,{top:e,left:r,bottom:i,right:a}){return{x:Fy(t.x,r,a),y:Fy(t.y,e,i)}}function Vy(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,i]=[i,r]),{min:r,max:i}}function Z_(t,e){return{x:Vy(t.x,e.x),y:Vy(t.y,e.y)}}function eN(t,e){let r=.5;const i=Ut(t),a=Ut(e);return a>i?r=ni(e.min,e.max-i,t.min):i>a&&(r=ni(t.min,t.max-a,e.min)),zn(0,1,r)}function tN(t,e){const r={};return e.min!==void 0&&(r.min=e.min-t.min),e.max!==void 0&&(r.max=e.max-t.min),r}const sf=.35;function nN(t=sf){return t===!1?t=0:t===!0&&(t=sf),{x:By(t,"left","right"),y:By(t,"top","bottom")}}function By(t,e,r){return{min:Uy(t,e),max:Uy(t,r)}}function Uy(t,e){return typeof t=="number"?t:t[e]||0}const zy=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bs=()=>({x:zy(),y:zy()}),$y=()=>({min:0,max:0}),Ge=()=>({x:$y(),y:$y()});function Gt(t){return[t("x"),t("y")]}function Ex({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}function rN({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function sN(t,e){if(!e)return t;const r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function dd(t){return t===void 0||t===1}function of({scale:t,scaleX:e,scaleY:r}){return!dd(t)||!dd(e)||!dd(r)}function $r(t){return of(t)||bx(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function bx(t){return Wy(t.x)||Wy(t.y)}function Wy(t){return t&&t!=="0%"}function _l(t,e,r){const i=t-r,a=e*i;return r+a}function qy(t,e,r,i,a){return a!==void 0&&(t=_l(t,a,i)),_l(t,r,i)+e}function af(t,e=0,r=1,i,a){t.min=qy(t.min,e,r,i,a),t.max=qy(t.max,e,r,i,a)}function Cx(t,{x:e,y:r}){af(t.x,e.translate,e.scale,e.originPoint),af(t.y,r.translate,r.scale,r.originPoint)}const Hy=.999999999999,Ky=1.0000000000001;function iN(t,e,r,i=!1){const a=r.length;if(!a)return;e.x=e.y=1;let u,c;for(let f=0;f<a;f++){u=r[f],c=u.projectionDelta;const{visualElement:h}=u.options;h&&h.props.style&&h.props.style.display==="contents"||(i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&zs(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(e.x*=c.x.scale,e.y*=c.y.scale,Cx(t,c)),i&&$r(u.latestValues)&&zs(t,u.latestValues))}e.x<Ky&&e.x>Hy&&(e.x=1),e.y<Ky&&e.y>Hy&&(e.y=1)}function Us(t,e){t.min=t.min+e,t.max=t.max+e}function Qy(t,e,r,i,a=.5){const u=$e(t.min,t.max,a);af(t,e,r,u,i)}function zs(t,e){Qy(t.x,e.x,e.scaleX,e.scale,e.originX),Qy(t.y,e.y,e.scaleY,e.scale,e.originY)}function Tx(t,e){return Ex(sN(t.getBoundingClientRect(),e))}function oN(t,e,r){const i=Tx(t,r),{scroll:a}=e;return a&&(Us(i.x,a.offset.x),Us(i.y,a.offset.y)),i}const Px=({current:t})=>t?t.ownerDocument.defaultView:null,aN=new WeakMap;class lN{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=e}start(e,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=g=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Uo(g).point)},u=(g,y)=>{const{drag:w,dragPropagation:E,onDragStart:S}=this.getProps();if(w&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ZA(w),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Gt(x=>{let R=this.getAxisMotionValue(x).get()||0;if(kn.test(R)){const{projection:B}=this.visualElement;if(B&&B.layout){const D=B.layout.layoutBox[x];D&&(R=Ut(D)*(parseFloat(R)/100))}}this.originPoint[x]=R}),S&&Ve.postRender(()=>S(g,y)),Yd(this.visualElement,"transform");const{animationState:k}=this.visualElement;k&&k.setActive("whileDrag",!0)},c=(g,y)=>{const{dragPropagation:w,dragDirectionLock:E,onDirectionLock:S,onDrag:k}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:x}=y;if(E&&this.currentDirection===null){this.currentDirection=uN(x),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",y.point,x),this.updateAxis("y",y.point,x),this.visualElement.render(),k&&k(g,y)},f=(g,y)=>this.stop(g,y),h=()=>Gt(g=>{var y;return this.getAnimationState(g)==="paused"&&((y=this.getAxisMotionValue(g).animation)===null||y===void 0?void 0:y.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new wx(e,{onSessionStart:a,onStart:u,onMove:c,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:Px(this.visualElement)})}stop(e,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:a}=r;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&&Ve.postRender(()=>u(e,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:r}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(e,r,i){const{drag:a}=this.getProps();if(!i||!al(e,a,this.currentDirection))return;const u=this.getAxisMotionValue(e);let c=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(c=X_(c,this.constraints[e],this.elastic[e])),u.set(c)}resolveConstraints(){var e;const{dragConstraints:r,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,u=this.constraints;r&&Fs(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&a?this.constraints=J_(a.layoutBox,r):this.constraints=!1,this.elastic=nN(i),u!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Gt(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=tN(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!Fs(e))return!1;const i=e.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const u=oN(i,a.root,this.visualElement.getTransformPagePoint());let c=Z_(a.layout.layoutBox,u);if(r){const f=r(rN(c));this.hasMutatedConstraints=!!f,f&&(c=Ex(f))}return c}startAnimation(e){const{drag:r,dragMomentum:i,dragElastic:a,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:f}=this.getProps(),h=this.constraints||{},m=Gt(g=>{if(!al(g,r,this.currentDirection))return;let y=h&&h[g]||{};c&&(y={min:0,max:0});const w=a?200:1e6,E=a?40:1e7,S={type:"inertia",velocity:i?e[g]:0,bounceStiffness:w,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(g,S)});return Promise.all(m).then(f)}startAxisValueAnimation(e,r){const i=this.getAxisMotionValue(e);return Yd(this.visualElement,e),i.start(ih(e,i,0,r,this.visualElement,!1))}stopAnimation(){Gt(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Gt(e=>{var r;return(r=this.getAxisMotionValue(e).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(e){var r;return(r=this.getAxisMotionValue(e).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(e){const r=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),a=i[r];return a||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){Gt(r=>{const{drag:i}=this.getProps();if(!al(r,i,this.currentDirection))return;const{projection:a}=this.visualElement,u=this.getAxisMotionValue(r);if(a&&a.layout){const{min:c,max:f}=a.layout.layoutBox[r];u.set(e[r]-$e(c,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!Fs(r)||!i||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Gt(c=>{const f=this.getAxisMotionValue(c);if(f&&this.constraints!==!1){const h=f.get();a[c]=eN({min:h,max:h},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Gt(c=>{if(!al(c,e,null))return;const f=this.getAxisMotionValue(c),{min:h,max:m}=this.constraints[c];f.set($e(h,m,a[c]))})}addListeners(){if(!this.visualElement.current)return;aN.set(this.visualElement,this);const e=this.visualElement.current,r=ho(e,"pointerdown",h=>{const{drag:m,dragListener:g=!0}=this.getProps();m&&g&&this.start(h)}),i=()=>{const{dragConstraints:h}=this.getProps();Fs(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,u=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ve.read(i);const c=bo(window,"resize",()=>this.scalePositionWithinConstraints()),f=a.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:m})=>{this.isDragging&&m&&(Gt(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=h[g].translate,y.set(y.get()+h[g].translate))}),this.visualElement.render())}));return()=>{c(),r(),u(),f&&f()}}getProps(){const e=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:u=!1,dragElastic:c=sf,dragMomentum:f=!0}=e;return{...e,drag:r,dragDirectionLock:i,dragPropagation:a,dragConstraints:u,dragElastic:c,dragMomentum:f}}}function al(t,e,r){return(e===!0||e===t)&&(r===null||r===t)}function uN(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}class cN extends Tr{constructor(e){super(e),this.removeGroupControls=Bt,this.removeListeners=Bt,this.controls=new lN(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Bt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Gy=t=>(e,r)=>{t&&Ve.postRender(()=>t(e,r))};class dN extends Tr{constructor(){super(...arguments),this.removePointerDownListener=Bt}onPointerDown(e){this.session=new wx(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Px(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:r,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:Gy(e),onStart:Gy(r),onMove:i,onEnd:(u,c)=>{delete this.session,a&&Ve.postRender(()=>a(u,c))}}}mount(){this.removePointerDownListener=ho(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function fN(){const t=M.useContext(Af);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:r,register:i}=t,a=M.useId();M.useEffect(()=>i(a),[]);const u=M.useCallback(()=>r&&r(a),[a,r]);return!e&&r?[!1,u]:[!0]}const xl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Yy(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const ro={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(ve.test(t))t=parseFloat(t);else return t;const r=Yy(t,e.target.x),i=Yy(t,e.target.y);return`${r}% ${i}%`}},hN={correct:(t,{treeScale:e,projectionDelta:r})=>{const i=t,a=Cr.parse(t);if(a.length>5)return i;const u=Cr.createTransformer(t),c=typeof a[0]!="number"?1:0,f=r.x.scale*e.x,h=r.y.scale*e.y;a[0+c]/=f,a[1+c]/=h;const m=$e(f,h,.5);return typeof a[2+c]=="number"&&(a[2+c]/=m),typeof a[3+c]=="number"&&(a[3+c]/=m),u(a)}};class pN extends M.Component{componentDidMount(){const{visualElement:e,layoutGroup:r,switchLayoutGroup:i,layoutId:a}=this.props,{projection:u}=e;gA(mN),u&&(r.group&&r.group.add(u),i&&i.register&&a&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),xl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:r,visualElement:i,drag:a,isPresent:u}=this.props,c=i.projection;return c&&(c.isPresent=u,a||e.layoutDependency!==r||r===void 0?c.willUpdate():this.safeToRemove(),e.isPresent!==u&&(u?c.promote():c.relegate()||Ve.postRender(()=>{const f=c.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Mf.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:a}=e;a&&(a.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ax(t){const[e,r]=fN(),i=M.useContext(fw);return C.jsx(pN,{...t,layoutGroup:i,switchLayoutGroup:M.useContext(ww),isPresent:e,safeToRemove:r})}const mN={borderRadius:{...ro,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ro,borderTopRightRadius:ro,borderBottomLeftRadius:ro,borderBottomRightRadius:ro,boxShadow:hN};function gN(t,e,r){const i=xt(t)?t:ko(t);return i.start(ih("",i,e,r)),i.animation}function yN(t){return t instanceof SVGElement&&t.tagName!=="svg"}const vN=(t,e)=>t.depth-e.depth;class wN{constructor(){this.children=[],this.isDirty=!1}add(e){Qf(this.children,e),this.isDirty=!0}remove(e){Gf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(vN),this.isDirty=!1,this.children.forEach(e)}}function xN(t,e){const r=En.now(),i=({timestamp:a})=>{const u=a-r;u>=e&&(br(i),t(u-e))};return Ve.read(i,!0),()=>br(i)}const Rx=["TopLeft","TopRight","BottomLeft","BottomRight"],SN=Rx.length,Xy=t=>typeof t=="string"?parseFloat(t):t,Jy=t=>typeof t=="number"||ve.test(t);function kN(t,e,r,i,a,u){a?(t.opacity=$e(0,r.opacity!==void 0?r.opacity:1,EN(i)),t.opacityExit=$e(e.opacity!==void 0?e.opacity:1,0,bN(i))):u&&(t.opacity=$e(e.opacity!==void 0?e.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let c=0;c<SN;c++){const f=`border${Rx[c]}Radius`;let h=Zy(e,f),m=Zy(r,f);if(h===void 0&&m===void 0)continue;h||(h=0),m||(m=0),h===0||m===0||Jy(h)===Jy(m)?(t[f]=Math.max($e(Xy(h),Xy(m),i),0),(kn.test(m)||kn.test(h))&&(t[f]+="%")):t[f]=m}(e.rotate||r.rotate)&&(t.rotate=$e(e.rotate||0,r.rotate||0,i))}function Zy(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const EN=_x(0,.5,Qw),bN=_x(.5,.95,Bt);function _x(t,e,r){return i=>i<t?0:i>e?1:r(ni(t,e,i))}function ev(t,e){t.min=e.min,t.max=e.max}function Qt(t,e){ev(t.x,e.x),ev(t.y,e.y)}function tv(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nv(t,e,r,i,a){return t-=e,t=_l(t,1/r,i),a!==void 0&&(t=_l(t,1/a,i)),t}function CN(t,e=0,r=1,i=.5,a,u=t,c=t){if(kn.test(e)&&(e=parseFloat(e),e=$e(c.min,c.max,e/100)-c.min),typeof e!="number")return;let f=$e(u.min,u.max,i);t===u&&(f-=e),t.min=nv(t.min,e,r,f,a),t.max=nv(t.max,e,r,f,a)}function rv(t,e,[r,i,a],u,c){CN(t,e[r],e[i],e[a],e.scale,u,c)}const TN=["x","scaleX","originX"],PN=["y","scaleY","originY"];function sv(t,e,r,i){rv(t.x,e,TN,r?r.x:void 0,i?i.x:void 0),rv(t.y,e,PN,r?r.y:void 0,i?i.y:void 0)}function iv(t){return t.translate===0&&t.scale===1}function Nx(t){return iv(t.x)&&iv(t.y)}function ov(t,e){return t.min===e.min&&t.max===e.max}function AN(t,e){return ov(t.x,e.x)&&ov(t.y,e.y)}function av(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ox(t,e){return av(t.x,e.x)&&av(t.y,e.y)}function lv(t){return Ut(t.x)/Ut(t.y)}function uv(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class RN{constructor(){this.members=[]}add(e){Qf(this.members,e),e.scheduleRender()}remove(e){if(Gf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(e){const r=this.members.findIndex(a=>e===a);if(r===0)return!1;let i;for(let a=r;a>=0;a--){const u=this.members[a];if(u.isPresent!==!1){i=u;break}}return i?(this.promote(i),!0):!1}promote(e,r){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,r&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:a}=e.options;a===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:r,resumingFrom:i}=e;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function _N(t,e,r){let i="";const a=t.x.translate/e.x,u=t.y.translate/e.y,c=(r==null?void 0:r.z)||0;if((a||u||c)&&(i=`translate3d(${a}px, ${u}px, ${c}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),r){const{transformPerspective:m,rotate:g,rotateX:y,rotateY:w,skewX:E,skewY:S}=r;m&&(i=`perspective(${m}px) ${i}`),g&&(i+=`rotate(${g}deg) `),y&&(i+=`rotateX(${y}deg) `),w&&(i+=`rotateY(${w}deg) `),E&&(i+=`skewX(${E}deg) `),S&&(i+=`skewY(${S}deg) `)}const f=t.x.scale*e.x,h=t.y.scale*e.y;return(f!==1||h!==1)&&(i+=`scale(${f}, ${h})`),i||"none"}const Wr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},uo=typeof window<"u"&&window.MotionDebug!==void 0,fd=["","X","Y","Z"],NN={visibility:"hidden"},cv=1e3;let ON=0;function hd(t,e,r,i){const{latestValues:a}=e;a[t]&&(r[t]=a[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Lx(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const r=Uw(e);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:a,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",Ve,!(a||u))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Lx(i)}function Mx({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:a}){return class{constructor(c={},f=e==null?void 0:e()){this.id=ON++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,uo&&(Wr.totalNodes=Wr.resolvedTargetDeltas=Wr.recalculatedProjection=0),this.nodes.forEach(jN),this.nodes.forEach(BN),this.nodes.forEach(UN),this.nodes.forEach(DN),uo&&window.MotionDebug.record(Wr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new wN)}addEventListener(c,f){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Yf),this.eventHandlers.get(c).add(f)}notifyListeners(c,...f){const h=this.eventHandlers.get(c);h&&h.notify(...f)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=yN(c),this.instance=c;const{layoutId:h,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(m||h)&&(this.isLayoutDirty=!0),t){let y;const w=()=>this.root.updateBlockedByResize=!1;t(c,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=xN(w,250),xl.hasAnimatedSinceResize&&(xl.hasAnimatedSinceResize=!1,this.nodes.forEach(fv))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&g&&(h||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:w,hasRelativeTargetChanged:E,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const k=this.options.transition||g.getDefaultTransition()||HN,{onLayoutAnimationStart:x,onLayoutAnimationComplete:R}=g.getProps(),B=!this.targetLayout||!Ox(this.targetLayout,S)||E,D=!w&&E;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||D||w&&(B||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,D);const V={...Wf(k,"layout"),onPlay:x,onComplete:R};(g.shouldReduceMotion||this.options.layoutRoot)&&(V.delay=0,V.type=!1),this.startAnimation(V)}else w||fv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,br(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(zN),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:f,layout:h}=this.options;if(f===void 0&&!h)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(dv);return}this.isUpdating||this.nodes.forEach(FN),this.isUpdating=!1,this.nodes.forEach(VN),this.nodes.forEach(LN),this.nodes.forEach(MN),this.clearAllSnapshots();const f=En.now();ft.delta=zn(0,1e3/60,f-ft.timestamp),ft.timestamp=f,ft.isProcessing=!0,rd.update.process(ft),rd.preRender.process(ft),rd.render.process(ft),ft.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(IN),this.sharedNodes.forEach($N)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ve.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ve.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ge(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(f=!1),f){const h=i(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:h,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!Nx(this.projectionDelta),h=this.getTransformTemplate(),m=h?h(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;c&&(f||$r(this.latestValues)||g)&&(a(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const f=this.measurePageBox();let h=this.removeElementScroll(f);return c&&(h=this.removeTransform(h)),KN(h),{animationId:this.root.animationId,measuredBox:f,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:f}=this.options;if(!f)return Ge();const h=f.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(QN))){const{scroll:g}=this.root;g&&(Us(h.x,g.offset.x),Us(h.y,g.offset.y))}return h}removeElementScroll(c){var f;const h=Ge();if(Qt(h,c),!((f=this.scroll)===null||f===void 0)&&f.wasRoot)return h;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:y,options:w}=g;g!==this.root&&y&&w.layoutScroll&&(y.wasRoot&&Qt(h,c),Us(h.x,y.offset.x),Us(h.y,y.offset.y))}return h}applyTransform(c,f=!1){const h=Ge();Qt(h,c);for(let m=0;m<this.path.length;m++){const g=this.path[m];!f&&g.options.layoutScroll&&g.scroll&&g!==g.root&&zs(h,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),$r(g.latestValues)&&zs(h,g.latestValues)}return $r(this.latestValues)&&zs(h,this.latestValues),h}removeTransform(c){const f=Ge();Qt(f,c);for(let h=0;h<this.path.length;h++){const m=this.path[h];if(!m.instance||!$r(m.latestValues))continue;of(m.latestValues)&&m.updateSnapshot();const g=Ge(),y=m.measurePageBox();Qt(g,y),sv(f,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return $r(this.latestValues)&&sv(f,this.latestValues),f}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ft.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var f;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(c||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:w}=this.options;if(!(!this.layout||!(y||w))){if(this.resolvedRelativeTargetAt=ft.timestamp,!this.targetDelta&&!this.relativeTarget){const E=this.getClosestProjectingParent();E&&E.layout&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),mo(this.relativeTargetOrigin,this.layout.layoutBox,E.layout.layoutBox),Qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ge(),this.targetWithTransforms=Ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Y_(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qt(this.target,this.layout.layoutBox),Cx(this.target,this.targetDelta)):Qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const E=this.getClosestProjectingParent();E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?(this.relativeParent=E,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),mo(this.relativeTargetOrigin,this.target,E.target),Qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}uo&&Wr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||of(this.parent.latestValues)||bx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const f=this.getLead(),h=!!this.resumingFrom||this!==f;let m=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===ft.timestamp&&(m=!1),m)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;Qt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,E=this.treeScale.y;iN(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=Ge());const{target:S}=f;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(tv(this.prevProjectionDelta.x,this.projectionDelta.x),tv(this.prevProjectionDelta.y,this.projectionDelta.y)),po(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==E||!uv(this.projectionDelta.x,this.prevProjectionDelta.x)||!uv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S)),uo&&Wr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var f;if((f=this.options.visualElement)===null||f===void 0||f.scheduleRender(),c){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Bs(),this.projectionDelta=Bs(),this.projectionDeltaWithTransform=Bs()}setAnimationOrigin(c,f=!1){const h=this.snapshot,m=h?h.latestValues:{},g={...this.latestValues},y=Bs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const w=Ge(),E=h?h.source:void 0,S=this.layout?this.layout.source:void 0,k=E!==S,x=this.getStack(),R=!x||x.members.length<=1,B=!!(k&&!R&&this.options.crossfade===!0&&!this.path.some(qN));this.animationProgress=0;let D;this.mixTargetDelta=V=>{const U=V/1e3;hv(y.x,c.x,U),hv(y.y,c.y,U),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(mo(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),WN(this.relativeTarget,this.relativeTargetOrigin,w,U),D&&AN(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=Ge()),Qt(D,this.relativeTarget)),k&&(this.animationValues=g,kN(g,m,this.latestValues,U,B,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(br(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ve.update(()=>{xl.hasAnimatedSinceResize=!0,this.currentAnimation=gN(0,cv,{...c,onUpdate:f=>{this.mixTargetDelta(f),c.onUpdate&&c.onUpdate(f)},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(cv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:f,target:h,layout:m,latestValues:g}=c;if(!(!f||!h||!m)){if(this!==c&&this.layout&&m&&jx(this.options.animationType,this.layout.layoutBox,m.layoutBox)){h=this.target||Ge();const y=Ut(this.layout.layoutBox.x);h.x.min=c.target.x.min,h.x.max=h.x.min+y;const w=Ut(this.layout.layoutBox.y);h.y.min=c.target.y.min,h.y.max=h.y.min+w}Qt(f,h),zs(f,g),po(this.projectionDeltaWithTransform,this.layoutCorrected,f,g)}}registerSharedNode(c,f){this.sharedNodes.has(c)||this.sharedNodes.set(c,new RN),this.sharedNodes.get(c).add(f);const m=f.options.initialPromotionConfig;f.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(f):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:f}=this.options;return f?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:f}=this.options;return f?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:f,preserveFollowOpacity:h}={}){const m=this.getStack();m&&m.promote(this,h),c&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let f=!1;const{latestValues:h}=c;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(f=!0),!f)return;const m={};h.z&&hd("z",c,m,this.animationValues);for(let g=0;g<fd.length;g++)hd(`rotate${fd[g]}`,c,m,this.animationValues),hd(`skew${fd[g]}`,c,m,this.animationValues);c.render();for(const g in m)c.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);c.scheduleRender()}getProjectionStyles(c){var f,h;if(!this.instance||this.isSVG)return;if(!this.isVisible)return NN;const m={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=vl(c==null?void 0:c.pointerEvents)||"",m.transform=g?g(this.latestValues,""):"none",m;const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){const k={};return this.options.layoutId&&(k.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,k.pointerEvents=vl(c==null?void 0:c.pointerEvents)||""),this.hasProjected&&!$r(this.latestValues)&&(k.transform=g?g({},""):"none",this.hasProjected=!1),k}const w=y.animationValues||y.latestValues;this.applyTransformsToTarget(),m.transform=_N(this.projectionDeltaWithTransform,this.treeScale,w),g&&(m.transform=g(w,m.transform));const{x:E,y:S}=this.projectionDelta;m.transformOrigin=`${E.origin*100}% ${S.origin*100}% 0`,y.animationValues?m.opacity=y===this?(h=(f=w.opacity)!==null&&f!==void 0?f:this.latestValues.opacity)!==null&&h!==void 0?h:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:m.opacity=y===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const k in Cl){if(w[k]===void 0)continue;const{correct:x,applyTo:R}=Cl[k],B=m.transform==="none"?w[k]:x(w[k],y);if(R){const D=R.length;for(let V=0;V<D;V++)m[R[V]]=B}else m[k]=B}return this.options.layoutId&&(m.pointerEvents=y===this?vl(c==null?void 0:c.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var f;return(f=c.currentAnimation)===null||f===void 0?void 0:f.stop()}),this.root.nodes.forEach(dv),this.root.sharedNodes.clear()}}}function LN(t){t.updateLayout()}function MN(t){var e;const r=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:a}=t.layout,{animationType:u}=t.options,c=r.source!==t.layout.source;u==="size"?Gt(y=>{const w=c?r.measuredBox[y]:r.layoutBox[y],E=Ut(w);w.min=i[y].min,w.max=w.min+E}):jx(u,r.layoutBox,i)&&Gt(y=>{const w=c?r.measuredBox[y]:r.layoutBox[y],E=Ut(i[y]);w.max=w.min+E,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+E)});const f=Bs();po(f,i,r.layoutBox);const h=Bs();c?po(h,t.applyTransform(a,!0),r.measuredBox):po(h,i,r.layoutBox);const m=!Nx(f);let g=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:w,layout:E}=y;if(w&&E){const S=Ge();mo(S,r.layoutBox,w.layoutBox);const k=Ge();mo(k,i,E.layoutBox),Ox(S,k)||(g=!0),y.options.layoutRoot&&(t.relativeTarget=k,t.relativeTargetOrigin=S,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:h,layoutDelta:f,hasLayoutChanged:m,hasRelativeTargetChanged:g})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function jN(t){uo&&Wr.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function DN(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function IN(t){t.clearSnapshot()}function dv(t){t.clearMeasurements()}function FN(t){t.isLayoutDirty=!1}function VN(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function fv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function BN(t){t.resolveTargetDelta()}function UN(t){t.calcProjection()}function zN(t){t.resetSkewAndRotation()}function $N(t){t.removeLeadSnapshot()}function hv(t,e,r){t.translate=$e(e.translate,0,r),t.scale=$e(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function pv(t,e,r,i){t.min=$e(e.min,r.min,i),t.max=$e(e.max,r.max,i)}function WN(t,e,r,i){pv(t.x,e.x,r.x,i),pv(t.y,e.y,r.y,i)}function qN(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const HN={duration:.45,ease:[.4,0,.1,1]},mv=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),gv=mv("applewebkit/")&&!mv("chrome/")?Math.round:Bt;function yv(t){t.min=gv(t.min),t.max=gv(t.max)}function KN(t){yv(t.x),yv(t.y)}function jx(t,e,r){return t==="position"||t==="preserve-aspect"&&!G_(lv(e),lv(r),.2)}function QN(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const GN=Mx({attachResizeListener:(t,e)=>bo(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),pd={current:void 0},Dx=Mx({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!pd.current){const t=new GN({});t.mount(window),t.setOptions({layoutScroll:!0}),pd.current=t}return pd.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),YN={pan:{Feature:dN},drag:{Feature:cN,ProjectionNode:Dx,MeasureLayout:Ax}};function vv(t,e,r){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",r==="Start");const a="onHover"+r,u=i[a];u&&Ve.postRender(()=>u(e,Uo(e)))}class XN extends Tr{mount(){const{current:e}=this.node;e&&(this.unmount=QA(e,r=>(vv(this.node,r,"Start"),i=>vv(this.node,i,"End"))))}unmount(){}}class JN extends Tr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Bo(bo(this.node.current,"focus",()=>this.onFocus()),bo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function wv(t,e,r){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",r==="Start");const a="onTap"+(r==="End"?"":r),u=i[a];u&&Ve.postRender(()=>u(e,Uo(e)))}class ZN extends Tr{mount(){const{current:e}=this.node;e&&(this.unmount=JA(e,r=>(wv(this.node,r,"Start"),(i,{success:a})=>wv(this.node,i,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const lf=new WeakMap,md=new WeakMap,e2=t=>{const e=lf.get(t.target);e&&e(t)},t2=t=>{t.forEach(e2)};function n2({root:t,...e}){const r=t||document;md.has(r)||md.set(r,{});const i=md.get(r),a=JSON.stringify(e);return i[a]||(i[a]=new IntersectionObserver(t2,{root:t,...e})),i[a]}function r2(t,e,r){const i=n2(e);return lf.set(t,r),i.observe(t),()=>{lf.delete(t),i.unobserve(t)}}const s2={some:0,all:1};class i2 extends Tr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:r,margin:i,amount:a="some",once:u}=e,c={root:r?r.current:void 0,rootMargin:i,threshold:typeof a=="number"?a:s2[a]},f=h=>{const{isIntersecting:m}=h;if(this.isInView===m||(this.isInView=m,u&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),w=m?g:y;w&&w(h)};return r2(this.node.current,c,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:r}=this.node;["amount","margin","root"].some(o2(e,r))&&this.startObserver()}unmount(){}}function o2({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}const a2={inView:{Feature:i2},tap:{Feature:ZN},focus:{Feature:JN},hover:{Feature:XN}},l2={layout:{ProjectionNode:Dx,MeasureLayout:Ax}},uf={current:null},Ix={current:!1};
vendor: 4,415 bytes, line 167
167function u2(){if(Ix.current=!0,!!_f)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>uf.current=t.matches;t.addListener(e),e()}else uf.current=!1}function c2(t,e,r){for(const i in e){const a=e[i],u=r[i];if(xt(a))t.addValue(i,a);else if(xt(u))t.addValue(i,ko(a,{owner:t}));else if(u!==a)if(t.hasValue(i)){const c=t.getValue(i);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=t.getStaticValue(i);t.addValue(i,ko(c!==void 0?c:a,{owner:t}))}}for(const i in r)e[i]===void 0&&t.removeValue(i);return e}const xv=new WeakMap,d2=[...ex,vt,Cr],f2=t=>d2.find(Zw(t)),Sv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class h2{scrapeMotionValuesFromProps(e,r,i){return{}}constructor({parent:e,props:r,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:u,visualState:c},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=En.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Ve.render(this.render,!1,!0))};const{latestValues:h,renderState:m}=c;this.latestValues=h,this.baseTarget={...h},this.initialValues=r.initial?{...h}:{},this.renderState=m,this.parent=e,this.props=r,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=a,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=Ul(r),this.isVariantNode=yw(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:g,...y}=this.scrapeMotionValuesFromProps(r,{},this);for(const w in y){const E=y[w];h[w]!==void 0&&xt(E)&&E.set(h[w],!1)}}mount(e){this.current=e,xv.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),Ix.current||u2(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:uf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){xv.delete(this.current),this.projection&&this.projection.unmount(),br(this.notifyUpdate),br(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const r=this.features[e];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(e,r){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const i=us.has(e),a=r.on("change",f=>{this.latestValues[e]=f,this.props.onUpdate&&Ve.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),u=r.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,e,r)),this.valueSubscriptions.set(e,()=>{a(),u(),c&&c(),r.owner&&r.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ri){const r=ri[e];if(!r)continue;const{isEnabled:i,Feature:a}=r;if(!this.features[e]&&a&&i(this.props)&&(this.features[e]=new a(this)),this.features[e]){const u=this.features[e];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,r){this.latestValues[e]=r}update(e,r){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;
vendor: 4,383 bytes, line 167
167for(let i=0;i<Sv.length;i++){const a=Sv[i];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const u="on"+a,c=e[u];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=c2(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(e),()=>r.variantChildren.delete(e)}addValue(e,r){const i=this.values.get(e);r!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,r),this.values.set(e,r),this.latestValues[e]=r.get())}removeValue(e){this.values.delete(e);const r=this.valueSubscriptions.get(e);r&&(r(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,r){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&r!==void 0&&(i=ko(r===null?void 0:r,{owner:this}),this.addValue(e,i)),i}readValue(e,r){var i;let a=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);return a!=null&&(typeof a=="string"&&(Xw(a)||Yw(a))?a=parseFloat(a):!f2(a)&&Cr.test(r)&&(a=lx(e,r)),this.setBaseTarget(e,xt(a)?a.get():a)),xt(a)?a.get():a}setBaseTarget(e,r){this.baseTarget[e]=r}getBaseTarget(e){var r;const{initial:i}=this.props;let a;if(typeof i=="string"||typeof i=="object"){const c=If(this.props,i,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);c&&(a=c[e])}if(i&&a!==void 0)return a;const u=this.getBaseTargetFromProps(this.props,e);return u!==void 0&&!xt(u)?u:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,r){return this.events[e]||(this.events[e]=new Yf),this.events[e].add(r)}notify(e,...r){this.events[e]&&this.events[e].notify(...r)}}class Fx extends h2{constructor(){super(...arguments),this.KeyframeResolver=ux}sortInstanceNodePosition(e,r){return e.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(e,r){return e.style?e.style[r]:void 0}removeValueFromRenderState(e,{vars:r,style:i}){delete r[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;xt(e)&&(this.childSubscription=e.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function p2(t){return window.getComputedStyle(t)}class m2 extends Fx{constructor(){super(...arguments),this.type="html",this.renderInstance=Sw}readValueFromInstance(e,r){if(us.has(r)){const i=nh(r);return i&&i.default||0}else{const i=p2(e),a=(_w(r)?i.getPropertyValue(r):i[r])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:r}){return Tx(e,r)}build(e,r,i){Uf(e,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,r,i){return Df(e,r,i)}}class g2 extends Fx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ge}getBaseTargetFromProps(e,r){return e[r]}readValueFromInstance(e,r){if(us.has(r)){const i=nh(r);return i&&i.default||0}return r=kw.has(r)?r:Lf(r),e.getAttribute(r)}scrapeMotionValuesFromProps(e,r,i){return Cw(e,r,i)}build(e,r,i){zf(e,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,r,i,a){Ew(e,r,i,a)}mount(e){this.isSVGTag=$f(e.tagName),super.mount(e)}}const y2=(t,e)=>jf(t)?new g2(e):new m2(e,{allowProjection:t!==M.Fragment}),v2=UA({...B_,...a2,...YN,...l2},y2),rt=rA(v2);function w2(){return C.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-gray-50 via-purple-50 to-pink-50",children:[C.jsxs("section",{className:"relative overflow-hidden pt-20 pb-32",children:[C.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-purple-600/5 via-pink-500/5 to-transparent"}),C.jsxs("div",{className:"max-w-6xl mx-auto px-6 relative",children:[C.jsxs(rt.div,{initial:{opacity:0,y:20}
167,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center mb-16",children:[C.jsx("div",{className:"mb-8 flex justify-center",children:C.jsxs("div",{className:"relative",children:[C.jsx("div",{className:"w-40 h-40 rounded-full bg-gradient-to-br from-purple-600 to-pink-600 p-1",children:C.jsx("div",{className:"w-full h-full rounded-full bg-white overflow-hidden",children:C.jsx("img",{src:"https://firebasestorage.googleapis.com/v0/b/dark-blade-376415.appspot.com/o/avatar-images%2FLQsaf3tAWhdjPGUT7Csu_Coach-Ally%20Logo.png?alt=media&token=f1ebc3b6-cb88-4eab-89c8-800186abdc64",alt:"Coach Addy",className:"w-full h-full object-cover"})})}),C.jsx("div",{className:"absolute -bottom-2 -right-2 w-12 h-12 bg-green-500 rounded-full border-4 border-white flex items-center justify-center",children:C.jsx("div",{className:"w-3 h-3 bg-white rounded-full animate-pulse"})})]})}),C.jsx("h1",{className:"text-6xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-purple-700 via-purple-600 to-pink-600 bg-clip-text text-transparent tracking-tight",children:"Coach Addy AI"}),C.jsx("p",{className:"text-2xl md:text-3xl font-light italic text-purple-700 mb-4",children:"Your Guide to Reinvention"}),C.jsx("p",{className:"text-xl font-medium italic text-purple-600 mb-12",children:"on demand"}),C.jsxs("div",{className:"max-w-4xl mx-auto space-y-6 text-lg md:text-xl text-gray-700 leading-relaxed mb-8",children:[C.jsx("p",{className:"font-medium",children:"At a crossroads in your career? Feeling anxious about job disruptions? Wondering how to build a high-performing team? Facing the high-stake conversations?"}),C.jsx("p",{className:"text-gray-600",children:"You are not alone. That uncertainty in your head can become clear action."}),C.jsx("p",{className:"text-2xl font-bold text-gray-900",children:"Turn mental chaos into momentum - starting today."})]}),C.jsxs("p",{className:"text-lg text-gray-700 mb-6",children:["Coach Addy AI is your on-demand coach and mentor, delivering the clarity you need,"," ",C.jsx("span",{className:"font-bold text-gray-900",children:"completely FREE."})]}),C.jsxs("div",{className:"space-y-2 mb-8",children:[C.jsx("p",{className:"text-xl font-bold text-gray-900",children:"Feeling stuck? Get clear. Get going."}),C.jsx("p",{className:"text-2xl font-bold bg-gradient-to-r from-purple-700 to-pink-600 bg-clip-text text-transparent",children:"Live limitless. Lead Limitless."})]}),C.jsx("p",{className:"text-gray-600 text-lg",children:"25 years of leadership intel in your pocket, available whenever you need it."})]}),C.jsx(rt.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"max-w-4xl mx-auto",children:C.jsx("div",{className:"bg-white rounded-3xl shadow-2xl p-4 md:p-8 border border-purple-100",children:C.jsx("iframe",{src:"https://app.coachvox.ai/avatar/LQsaf3tAWhdjPGUT7Csu/embed",allow:"microphone;",style:{height:"720px",width:"100%",border:"none",borderRadius:"1rem"},title:"Coach Addy AI"})})})]})]}),C.jsx("section",{className:"py-24 bg-white",children:C.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[C.jsxs(rt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[C.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Why Coach Addy AI Works"}),C.jsx("p",{className:"text-2xl font-light italic text-purple-600 mb-4",children:"Your Guide to Reinvention."}),C.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"We're making professional coaching accessible to everyone, everywhere. Experience the perfect blend of coaching and mentoring that delivers the clarity you need to move forward."})]}),C.jsxs("div",{className:"mb-20",children:[C.jsx("h3",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-12 text-center",children:"Coach Addy AI helps you:"}),C.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-5xl mx-auto",children:[{icon:Nk,text:"Overcome leadership obstacles and build winning teams"},{icon:kk,text:"Practice and perfect high-stakes conversations"},{icon:ck,text:"Transform assessment results into actionable strengths"},{icon:Pk,text:"Expose blind spots blocking your progress"},{icon:lk,text:"Create a clear roadmap for your next career move"},{icon:Ck,text:"Navigate change and uncertainty with confidence"}].map((t,e)=>C.jsxs(rt.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:e*.1},className:"flex items-start gap-4 p-6 rounded-2xl bg-gradient-to-br from-purple-50 to-pink-50 border border-purple-100 hover:shadow-lg transition-shadow",children:[C.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-xl bg-gradient-to-br from-purple-600 to-pink-600 flex items-center justify-center",children:C.jsx(t.icon,{className:"w-6 h-6 text-white"})}),C.jsx("p",{className:"text-lg font-medium text-gray-800 leading-relaxed",children:t.text})]},e))})]}),C.jsx(rt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-4xl mx-auto",children:C.jsx("p",{className:"text-2xl md:text-3xl font-medium text-gray-900 leading-relaxed",children:"Think of Coach Addy AI as your personal leadership mentor, available whenever you need guidance or want to practice important conversations."})})]})}),C.jsx("section",{className:"py-24 bg-gradient-to-br from-purple-50 to-pink-50",children:C.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[C.jsxs(rt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[C.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:"Get Results in 4 Simple Ways"}),C.jsx("p",{className:"text-xl text-gray-600 font-medium",children:"Skip the endless self-help books. Get practical clarity instead."})]}),C.jsx("div",{className:"space-y-16",children:[{step:1,title:"Share Your Coaching Goals",description:"Workplace challenges? Career transitions? Imposter syndrome before important conversations? Looking to future-proof your career?",highlight:"Simply share what's keeping you stuck – type it out or speak naturally with voice-to-text."},{step:2,title:"Challenge Boundaries and Create New Possibilities",description:"Coach Addy AI helps you break through limiting beliefs and explore fresh perspectives you might not have considered.",highlight:"Expand your thinking, unlock new paths forward."}
167,{step:3,title:"Apply Your Personality Insights",description:"Already completed Gallup Strengths, DISC, or Soundwave? Coach Addy AI transforms those results into personalized action plans.",highlight:"Your strengths become your roadmap."},{step:4,title:"Practice Through Role-Play",description:"Rehearse difficult conversations, leadership scenarios, or challenging situations in a safe environment.",highlight:"Build confidence before the real moment arrives."}].map((t,e)=>C.jsx(rt.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:e*.1},className:"bg-white rounded-3xl p-8 md:p-12 shadow-xl border border-purple-100",children:C.jsxs("div",{className:"flex items-start gap-6",children:[C.jsx("div",{className:"flex-shrink-0 w-16 h-16 rounded-2xl bg-gradient-to-br from-purple-600 to-pink-600 flex items-center justify-center text-white text-2xl font-bold shadow-lg",children:t.step}),C.jsxs("div",{className:"flex-1",children:[C.jsxs("h3",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-4",children:["Step ",t.step,": ",t.title]}),C.jsx("p",{className:"text-lg text-gray-700 mb-4 leading-relaxed",children:t.description}),C.jsx("p",{className:"text-lg font-semibold italic text-purple-700",children:t.highlight})]})]})},e))})]})}),C.jsx("section",{className:"py-24 bg-white",children:C.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[C.jsxs(rt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[C.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:"Meet Your Coach"}),C.jsx("p",{className:"text-xl text-purple-600 font-medium",children:"The human behind Coach Addy AI"})]}),C.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[C.jsx(rt.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"order-2 md:order-1",children:C.jsxs("div",{className:"space-y-6 text-lg text-gray-700 leading-relaxed",children:[C.jsx("p",{children:"I'm Adeline, a leadership and team coach dedicated to helping leaders build high-performance teams and stay future-ready."}),C.jsx("p",{children:"With over 20 years of leadership experience, I created Coach Addy AI to make personalized coaching accessible to everyone, delivering clarity and actionable steps whenever you need them."}),C.jsxs("p",{children:[C.jsx("span",{className:"font-semibold text-gray-900",children:"My approach"}),' combines positive psychology, neuroscience-backed methods, and personality assessments to help you unlock your potential and thrive in uncertainty. Coach Addy AI is trained on my proprietary frameworks from my books "Reinvent 4.0" and "Life 2.0" – giving you access to proven transformation methodologies.']}),C.jsx("p",{className:"font-semibold text-gray-900",children:"Coach Addy AI is your strategic partner to human coaching. For in-depth, transformative coaching experiences, get in touch with the real coach."})]})}),C.jsx(rt.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"order-1 md:order-2",children:C.jsx("div",{className:"relative",children:C.jsx("div",{className:"aspect-square rounded-3xl bg-gradient-to-br from-purple-600 to-pink-600 p-1",children:C.jsx("div",{className:"w-full h-full rounded-3xl overflow-hidden",children:C.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6923af4964eb0fd4e1af5b2e/2eb32bd73_Adelinewpurpledress.jpg",alt:"Adeline - Leadership Coach",className:"w-full h-full object-cover object-[50%_20%]"})})})})})]})]})}),C.jsx("section",{className:"py-24 bg-gradient-to-br from-purple-600 to-pink-600 text-white",children:C.jsx("div",{className:"max-w-4xl mx-auto px-6 text-center",children:C.jsxs(rt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[C.jsx("p",{className:"text-xl md:text-2xl font-medium mb-6",children:"Whether you're facing decision paralysis, over
167whelm, or uncertainty,"}),C.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-8",children:"Coach Addy AI is your coaching partner on demand."}),C.jsx("p",{className:"text-2xl font-semibold",children:"Ready to move forward?"})]})})}),C.jsx("footer",{className:"bg-gray-900 text-white py-12",children:C.jsx("div",{className:"max-w-6xl mx-auto px-6",children:C.jsxs("div",{className:"text-center space-y-6",children:[C.jsx("h3",{className:"text-2xl font-bold",children:"Coach Addy AI – Your Guide to Reinvention"}),C.jsx("p",{className:"text-gray-300 text-lg max-w-3xl mx-auto",children:"Stop overthinking. Start acting. Coach Addy AI gives you free, personalized guidance that cuts through the noise and delivers clarity exactly when you need it."}),C.jsxs("div",{className:"flex justify-center gap-8 pt-6",children:[C.jsx(Fn,{to:Vn("FAQ"),className:"text-purple-400 hover:text-purple-300 transition-colors font-medium text-lg",children:"FAQ"}),C.jsx(Fn,{to:Vn("Privacy"),className:"text-purple-400 hover:text-purple-300 transition-colors font-medium text-lg",children:"Privacy Policy"})]})]})})})]})}function x2(){const t=[{question:"What is Coach Addy AI?",answer:"Coach Addy AI is an on-demand AI-powered coaching platform that provides personalized leadership and career guidance. It's trained on 25 years of leadership expertise and proven coaching frameworks to help you overcome obstacles, practice conversations, and create actionable plans for your career."},{question:"Is Coach Addy AI really free?",answer:"Yes! Coach Addy AI is completely free to use. We believe professional coaching should be accessible to everyone, everywhere. You can access unlimited coaching sessions without any cost."},{question:"How does Coach Addy AI work?",answer:"Simply share your challenges, goals, or questions through text or voice. Coach Addy AI will engage with you in a conversation, helping you explore different perspectives, identify blind spots, and create actionable steps forward. You can also use it to practice difficult conversations through role-play."},{question:"Can Coach Addy AI replace a human coach?",answer:"Coach Addy AI is designed as a strategic partner to human coaching, not a replacement. It provides on-demand guidance and clarity whenever you need it, but for deep transformative coaching experiences, we recommend connecting with a human coach."},{question:"What kind of topics can I discuss with Coach Addy AI?",answer:"You can discuss career transitions, leadership challenges, team building, workplace conflicts, imposter syndrome, career planning, difficult conversations, personality assessment interpretations (like Gallup Strengths, DISC, or Soundwave), and much more."},{question:"Is my conversation with Coach Addy AI private and confidential?",answer:"Yes. Your conversations are private and secure. Please refer to our Privacy Policy for detailed information about how we handle your data."},{question:"Can I use Coach Addy AI on my mobile device?",answer:"Absolutely! Coach Addy AI is fully responsive and works seamlessly on desktop, tablet, and mobile devices. You can access it anytime, anywhere."},{question:"What makes Coach Addy AI different from other AI chatbots?",answer:"Coach Addy AI is specifically trained on proven coaching methodologies from the books 'Reinvent 4.0' and 'Life 2.0,' combined with 20+ years of real leadership experience. It uses coaching techniques, positive psychology, and neuroscience-backed methods rather than just providing information."},{question:"How can I get the most out of Coach Addy AI?",answer:"Be specific about your challenges and goals. Use it regularly for reflection and planning. Try the role-play feature to practice important conversations. If you've taken personality assessments, share your results to get personalized insights."},{question:"Can I save my conversations?",answer:"Your conversation history is maintained within your session. For long-term tracking and deeper work, consider supplementing with a human coach who can provide continuity and accountability."},{question:"Who is behind Coach Addy AI?",answer:"Coach Addy AI was created by Adeline, a leadership and team coach with over 20 years of experience helping leaders build high-performance teams. The AI is trained on her proprietary coaching frameworks and methodologies."},{question:"How do I contact the human coach behind Coach Addy AI?",answer:"For in-depth transformative coaching experiences with Adeline, the human coach, you can reach out through the contact information provided on the main page."}];return C.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-gray-50 via-purple-50 to-pink-50",children:[C.jsx("div",{className:"bg-gradient-to-br from-purple-600 to-pink-600 text-white py-20",children:C.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[C.jsxs(Fn,{to:Vn("Home"),className:"inline-flex items-center gap-2 text-white/80 hover:text-white transition-colors mb-8",children:[C.jsx(Vv,{className:"w-5 h-5"}),"Back to Home"]}),C.jsxs(rt.div,{initial:{opacity:0,y:20}
167,animate:{opacity:1,y:0},className:"text-center",children:[C.jsx(fk,{className:"w-16 h-16 mx-auto mb-6"}),C.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-4",children:"Frequently Asked Questions"}),C.jsx("p",{className:"text-xl text-white/90",children:"Everything you need to know about Coach Addy AI"})]})]})}),C.jsx("div",{className:"py-16",children:C.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[C.jsx("div",{className:"space-y-6",children:t.map((e,r)=>C.jsxs(rt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:r*.05},className:"bg-white rounded-2xl p-8 shadow-lg border border-purple-100 hover:shadow-xl transition-shadow",children:[C.jsxs("h3",{className:"text-xl font-bold text-gray-900 mb-4 flex items-start gap-3",children:[C.jsx("span",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-gradient-to-br from-purple-600 to-pink-600 text-white flex items-center justify-center text-sm font-bold",children:r+1}),e.question]}),C.jsx("p",{className:"text-gray-700 leading-relaxed pl-11",children:e.answer})]},r))}),C.jsxs(rt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6},className:"mt-16 text-center bg-gradient-to-br from-purple-50 to-pink-50 rounded-3xl p-12 border border-purple-100",children:[C.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Still have questions?"}),C.jsx("p",{className:"text-lg text-gray-700 mb-6",children:"The best way to understand Coach Addy AI is to try it! Start a conversation and experience personalized coaching on demand."}),C.jsx(Fn,{to:Vn("Home"),className:"inline-flex items-center gap-2 bg-gradient-to-r from-purple-600 to-pink-600 text-white px-8 py-4 rounded-full font-semibold hover:shadow-lg transition-shadow",children:"Start Coaching Now"})]})]})}),C.jsx("footer",{className:"bg-gray-900 text-white py-12",children:C.jsx("div",{className:"max-w-6xl mx-auto px-6",children:C.jsxs("div",{className:"text-center space-y-6",children:[C.jsx("h3",{className:"text-2xl font-bold",children:"Coach Addy AI – Your Guide to Reinvention"}),C.jsxs("div",{className:"flex justify-center gap-8 pt-6",children:[C.jsx(Fn,{to:Vn("FAQ"),className:"text-purple-400 hover:text-purple-300 transition-colors font-medium",children:"FAQ"}),C.jsx(Fn,{to:Vn("Privacy"),className:"text-purple-400 hover:text-purple-300 transition-colors font-medium",children:"Privacy Policy"})]})]})})})]})}function S2(){const t=[{icon:pk,title:"Information We Collect",content:"When you use Coach Addy AI, we collect information you provide during coaching sessions, including your questions, goals, and conversation history. This helps us provide you with personalized coaching experiences."},{icon:xk,title:"How We Use Your Information",content:"Your information is used solely to provide and improve coaching services. We analyze conversation patterns to enhance the AI's coaching capabilities, but all data is anonymized and aggregated for this purpose."},{icon:qc,title:"Data Security",content:"We implement industry-standard security measures to protect your personal information. Your conversations are encrypted in transit and at rest. We regularly update our security practices to ensure your data remains safe."},{icon:gk,title:"Data Sharing and Privacy",content:"We do not sell, trade, or rent your personal information to third parties. Your coaching conversations remain confidential and are not shared with anyone outside of our secure systems."},{icon:Rk,title:"Your Rights",content:"You have the right to access, modify, or delete your personal data at any time. You can request a copy of your data or ask us to remove it from our systems by contacting us."},{icon:vk,title:"Cookies and Tracking",content:"We use essential cookies to maintain your session and provide a seamless experience. We do not use tracking cookies for advertising purposes."}];return C.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-gray-50 via-purple-50 to-pink-50",children:[C.jsx("div",{className:"bg-gradient-to-br from-purple-600 to-pink-600 text-white py-20",children:C.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[C.jsxs(Fn,{to:Vn("Home"),className:"inline-flex items-center gap-2 text-white/80 hover:text-white transition-colors mb-8",children:[C.jsx(Vv,{className:"w-5 h-5"}),"Back to Home"]}),C.jsxs(rt.div,{initial:{opacity:0,y:20}
167,animate:{opacity:1,y:0},className:"text-center",children:[C.jsx(qc,{className:"w-16 h-16 mx-auto mb-6"}),C.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-4",children:"Privacy Policy"}),C.jsx("p",{className:"text-xl text-white/90",children:"Your privacy and data security are our top priorities"})]})]})}),C.jsx("div",{className:"py-16",children:C.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[C.jsxs(rt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white rounded-3xl p-8 md:p-12 shadow-xl border border-purple-100 mb-12",children:[C.jsx("p",{className:"text-lg text-gray-700 leading-relaxed mb-6",children:"At Coach Addy AI, we are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy explains how we collect, use, and safeguard your data when you use our coaching platform."}),C.jsxs("p",{className:"text-gray-600",children:[C.jsx("strong",{children:"Last Updated:"})," ",new Date().toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})]})]}),C.jsx("div",{className:"space-y-8",children:t.map((e,r)=>C.jsxs(rt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:r*.1},className:"bg-white rounded-2xl p-8 shadow-lg border border-purple-100 hover:shadow-xl transition-shadow",children:[C.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[C.jsx("div",{className:"flex-shrink-0 w-12 h-12 rounded-xl bg-gradient-to-br from-purple-600 to-pink-600 flex items-center justify-center",children:C.jsx(e.icon,{className:"w-6 h-6 text-white"})}),C.jsx("h2",{className:"text-2xl font-bold text-gray-900",children:e.title})]}),C.jsx("p",{className:"text-gray-700 leading-relaxed pl-16",children:e.content})]},r))}),C.jsxs(rt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.7},className:"mt-12 bg-gradient-to-br from-purple-50 to-pink-50 rounded-3xl p-8 md:p-12 border border-purple-100",children:[C.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Additional Information"}),C.jsxs("div",{className:"space-y-6 text-gray-700",children:[C.jsxs("div",{children:[C.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Third-Party Services"}),C.jsx("p",{className:"leading-relaxed",children:"Coach Addy AI may use third-party services to provide our coaching platform. These services are carefully selected and comply with strict privacy standards. They do not have access to your conversation content."})]}),C.jsxs("div",{children:[C.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Children's Privacy"}),C.jsx("p",{className:"leading-relaxed",children:"Coach Addy AI is designed for adults and professionals. We do not knowingly collect information from individuals under 18 years of age."})]}),C.jsxs("div",{children:[C.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Changes to This Policy"}),C.jsx("p",{className:"leading-relaxed",children:'We may update this Privacy Policy from time to time. We will notify you of any significant changes by posting the new policy on this page and updating the "Last Updated" date.'})]}),C.jsxs("div",{children:[C.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:"Contact Us"}),C.jsx("p",{className:"leading-relaxed",children:"If you have any questions about this Privacy Policy or how we handle your data, please don't hesitate to contact us. Your trust is important to us."})]})]})]}),C.jsxs(rt.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8},className:"mt-12 text-center bg-white rounded-3xl p-12 shadow-xl border border-purple-100",children:[C.jsx(qc,{className:"w-16 h-16 mx-auto mb-6 text-purple-600"}),C.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Our Commitment to You"}),C.jsx("p",{className:"text-lg text-gray-700 max-w-2xl mx-auto leading-relaxed",children:"Your coaching journey is personal and confidential. We are committed to maintaining the highest standards of privacy and security to ensure you can focus on your growth with complete peace of mind."})]})]})}),C.jsx("footer",{className:"bg-gray-900 text-white py-12",children:C.jsx("div",{className:"max-w-6xl mx-auto px-6",children:C.jsxs("div",{className:"text-center space-y-6",children:[C.jsx("h3",{className:"text-2xl font-bold",children:"Coach Addy AI – Your Guide to Reinvention"}),C.jsxs("div",{className:"flex justify-center gap-8 pt-6",children:[C.jsx(Fn,{to:Vn("FAQ"),className:"text-purple-400 hover:text-purple-300 transition-colors font-medium",children:"FAQ"}),C.jsx(Fn,{to:Vn("Privacy"),className:"text-purple-400 hover:text-purple-300 transition-colors font-medium",children:"Privacy Policy"})]})]})})})]})}const k2={Home:w2,FAQ:x2,Privacy:S2},Vx={mainPage:"Home",Pages:k2};function E2(){const t=li(),{isAuthenticated:e}=cw(),{Pages:r,mainPage:i}=Vx,a=i;return M.useEffect(()=>{var u;(u=window.parent)==null||u.postMessage({type:"app_changed_url",url:window.location.href},"*")},[t]),M.useEffect(()=>{const u=t.pathname;let c;if(u==="/"||u==="")c=a;else{const f=u.replace(/^\//,"").split("/")[0];c=Object.keys(r).find(g=>g.toLowerCase()===f.toLowerCase())||null}e&&c&&Is.appLogs.logUserInApp(c).catch(()=>{})},[t,e,r,a]),null}function b2({}){var a;const e=li().pathname.substring(1),{data:r,isFetched:i}=ZE({queryKey:["user"],queryFn:async()=>{try{return{user:await Is.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return C.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:C.jsx("div",{className:"max-w-md w-full",children:C.jsxs("div",{className:"text-center space-y-6",children:[C.jsxs("div",{className:"space-y-2",children:[C.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),C.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),C.jsxs("div",{className:"space-y-3",children:[C.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),C.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",C.jsxs("span",{className:"font-medium text-slate-700",children:['"',e,'"']})," could not be found in this application."]})]}),i&&r.isAuthenticated&&((a=r.user)==null?void 0:a.role)==="admin"&&C.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:C.jsxs("div",{className:"flex items-start space-x-3",children:[C.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:C.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),C.jsxs("div",{className:"text-left space-y-1",children:[C.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),C.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),C.jsx("div",{className:"pt-6",children:C.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[C.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:C.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const C2=()=>C.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:C.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:C.jsxs("div",{className:"text-center",children:[C.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:C.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:C.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),C.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),C.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),C.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[C.jsx("p",{children:"If you believe this is an error, you can:"}),C.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[C.jsx("li",{children:"Verify you are logged in with the correct account"}),C.jsx("li",{children:"Contact the app administrator for access"}),C.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),{Pages:Bx,Layout:kv,mainPage:T2}=Vx,Ux=T2,P2=Bx[Ux],Ev=({children:t,currentPageName:e})=>kv?C.jsx(kv,{currentPageName:e,children:t}):C.jsx(C.Fragment,{children:t}),A2=()=>{const{isLoadingAuth:t,isLoadingPublicSettings:e,authError:r,isAuthenticated:i,navigateToLogin:a}=cw();if(e||t)return C.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:C.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(r){if(r.type==="user_not_registered")return C.jsx(C2,{});if(r.type==="auth_required")return a(),null}return C.jsxs(Kb,{children:[C.jsx(cl,{path:"/",element:C.jsx(Ev,{currentPageName:Ux,children:C.jsx(P2,{})})}),Object.entries(Bx).map(([u,c])=>C.jsx(cl,{path:`/${u}`,element:C.jsx(Ev,{currentPageName:u,children:C.jsx(c,{})})},u)),C.jsx(cl,{path:"*",element:C.jsx(b2,{})})]})};function R2(){return C.jsx(KP,{children:C.jsxs(UE,{client:eb,children:[C.jsxs(eC,{children:[C.jsx(E2,{}),C.jsx(A2,{})]}),C.jsx(mE,{}),C.jsx(tb,{})]})})}GS.createRoot(document.getElementById("root")).render(C.jsx(R2,{}));

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.