vendor: 4,689 bytes, lines 1-9
1var f1=Object.defineProperty;var Um=e=>{throw TypeError(e)};var h1=(e,t,r)=>t in e?f1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Me=(e,t,r)=>h1(e,typeof t!="symbol"?t+"":t,r),Yu=(e,t,r)=>t.has(e)||Um("Cannot "+r);var j=(e,t,r)=>(Yu(e,t,"read from private field"),r?r.call(e):t.get(e)),Ee=(e,t,r)=>t.has(e)?Um("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),re=(e,t,r,s)=>(Yu(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),Ae=(e,t,r)=>(Yu(e,t,"access private method"),r);var il=(e,t,r,s)=>({set _(a){re(e,t,a,r)},get _(){return j(e,t,s)}});function p1(e,t){for(var r=0;r<t.length;r++){const s=t[r];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in e)){const l=Object.getOwnPropertyDescriptor(s,a);l&&Object.defineProperty(e,a,l.get?l:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function r(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerPolicy&&(l.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?l.credentials="include":a.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(a){if(a.ep)return;a.ep=!0;const l=r(a);fetch(a.href,l)}})();function pf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xu={exports:{}},xi={},Ju={exports:{}},Oe={};/** 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 Bm;function m1(){if(Bm)return Oe;Bm=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function E(A){return A===null||typeof A!="object"?null:(A=v&&A[v]||A["@@iterator"],typeof A=="function"?A:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,b={};function S(A,H,we){this.props=A,this.context=H,this.refs=b,this.updater=we||_}S.prototype.isReactComponent={},S.prototype.setState=function(A,H){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,H,"setState")},S.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function k(){}k.prototype=S.prototype;function N(A,H,we){this.props=A,this.context=H,this.refs=b,this.updater=we||_}var C=N.prototype=new k;C.constructor=N,P(C,S.prototype),C.isPureReactComponent=!0;var T=Array.isArray,F=Object.prototype.hasOwnProperty,z={current:null},V={key:!0,ref:!0,__self:!0,__source:!0};function B(A,H,we){var xe,ye={},X=null,G=null;if(H!=null)for(xe in H.ref!==void 0&&(G=H.ref),H.key!==void 0&&(X=""+H.key),H)F.call(H,xe)&&!V.hasOwnProperty(xe)&&(ye[xe]=H[xe]);var fe=arguments.length-2;if(fe===1)ye.children=we;else if(1<fe){for(var he=Array(fe),Re=0;Re<fe;Re++)he[Re]=arguments[Re+2];ye.children=he}if(A&&A.defaultProps)for(xe in fe=A.defaultProps,fe)ye[xe]===void 0&&(ye[xe]=fe[xe]);return{$$typeof:e,type:A,key:X,ref:G,props:ye,_owner:z.current}}function J(A,H){return{$$typeof:e,type:A.type,key:H,ref:A.ref,props:A.props,_owner:A._owner}}function ee(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function le(A){var H={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(we){return H[we]})}var ve=/\/+/g;function oe(A,H){return typeof A=="object"&&A!==null&&A.key!=null?le(""+A.key):H.toString(36)}function ie(A,H,we,xe,ye){var X=typeof A;(X==="undefined"||X==="boolean")&&(A=null);var G=!1;if(A===null)G=!0;else switch(X){case"string":case"number":G=!0;break;case"object":switch(A.$$typeof){case e:case t:G=!0}}if(G)return G=A,ye=ye(G),A=xe===""?"."+oe(G,0):xe,T(ye)?(we="",A!=null&&(we=A.replace(ve,"$&/")+"/"),ie(ye,H,we,"",function(Re){return Re}
vendor: 10,978 bytes, lines 9-33
9)):ye!=null&&(ee(ye)&&(ye=J(ye,we+(!ye.key||G&&G.key===ye.key?"":(""+ye.key).replace(ve,"$&/")+"/")+A)),H.push(ye)),1;if(G=0,xe=xe===""?".":xe+":",T(A))for(var fe=0;fe<A.length;fe++){X=A[fe];var he=xe+oe(X,fe);G+=ie(X,H,we,he,ye)}else if(he=E(A),typeof he=="function")for(A=he.call(A),fe=0;!(X=A.next()).done;)X=X.value,he=xe+oe(X,fe++),G+=ie(X,H,we,he,ye);else if(X==="object")throw H=String(A),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.");return G}function ke(A,H,we){if(A==null)return A;var xe=[],ye=0;return ie(A,xe,"","",function(X){return H.call(we,X,ye++)}),xe}function se(A){if(A._status===-1){var H=A._result;H=H(),H.then(function(we){(A._status===0||A._status===-1)&&(A._status=1,A._result=we)},function(we){(A._status===0||A._status===-1)&&(A._status=2,A._result=we)}),A._status===-1&&(A._status=0,A._result=H)}if(A._status===1)return A._result.default;throw A._result}var ce={current:null},W={transition:null},Z={ReactCurrentDispatcher:ce,ReactCurrentBatchConfig:W,ReactCurrentOwner:z};function $(){throw Error("act(...) is not supported in production builds of React.")}return Oe.Children={map:ke,forEach:function(A,H,we){ke(A,function(){H.apply(this,arguments)},we)},count:function(A){var H=0;return ke(A,function(){H++}),H},toArray:function(A){return ke(A,function(H){return H})||[]},only:function(A){if(!ee(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},Oe.Component=S,Oe.Fragment=r,Oe.Profiler=a,Oe.PureComponent=N,Oe.StrictMode=s,Oe.Suspense=h,Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z,Oe.act=$,Oe.cloneElement=function(A,H,we){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var xe=P({},A.props),ye=A.key,X=A.ref,G=A._owner;if(H!=null){if(H.ref!==void 0&&(X=H.ref,G=z.current),H.key!==void 0&&(ye=""+H.key),A.type&&A.type.defaultProps)var fe=A.type.defaultProps;for(he in H)F.call(H,he)&&!V.hasOwnProperty(he)&&(xe[he]=H[he]===void 0&&fe!==void 0?fe[he]:H[he])}var he=arguments.length-2;if(he===1)xe.children=we;else if(1<he){fe=Array(he);for(var Re=0;Re<he;Re++)fe[Re]=arguments[Re+2];xe.children=fe}return{$$typeof:e,type:A.type,key:ye,ref:X,props:xe,_owner:G}},Oe.createContext=function(A){return A={$$typeof:u,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:l,_context:A},A.Consumer=A},Oe.createElement=B,Oe.createFactory=function(A){var H=B.bind(null,A);return H.type=A,H},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(A){return{$$typeof:d,render:A}},Oe.isValidElement=ee,Oe.lazy=function(A){return{$$typeof:y,_payload:{_status:-1,_result:A},_init:se}},Oe.memo=function(A,H){return{$$typeof:g,type:A,compare:H===void 0?null:H}},Oe.startTransition=function(A){var H=W.transition;W.transition={};try{A()}finally{W.transition=H}},Oe.unstable_act=$,Oe.useCallback=function(A,H){return ce.current.useCallback(A,H)},Oe.useContext=function(A){return ce.current.useContext(A)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(A){return ce.current.useDeferredValue(A)},Oe.useEffect=function(A,H){return ce.current.useEffect(A,H)},Oe.useId=function(){return ce.current.useId()},Oe.useImperativeHandle=function(A,H,we){return ce.current.useImperativeHandle(A,H,we)},Oe.useInsertionEffect=function(A,H){return ce.current.useInsertionEffect(A,H)},Oe.useLayoutEffect=function(A,H){return ce.current.useLayoutEffect(A,H)},Oe.useMemo=function(A,H){return ce.current.useMemo(A,H)},Oe.useReducer=function(A,H,we){return ce.current.useReducer(A,H,we)},Oe.useRef=function(A){return ce.current.useRef(A)},Oe.useState=function(A){return ce.current.useState(A)},Oe.useSyncExternalStore=function(A,H,we){return ce.current.useSyncExternalStore(A,H,we)},Oe.useTransition=function(){return ce.current.useTransition()},Oe.version="18.3.1",Oe}var $m;function mf(){return $m||($m=1,Ju.exports=m1()),Ju.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 Wm;function g1(){if(Wm)return xi;Wm=1;var e=mf(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,h,g){var y,v={},E=null,_=null;g!==void 0&&(E=""+g),h.key!==void 0&&(E=""+h.key),h.ref!==void 0&&(_=h.ref);for(y in h)s.call(h,y)&&!l.hasOwnProperty(y)&&(v[y]=h[y]);if(d&&d.defaultProps)for(y in h=d.defaultProps,h)v[y]===void 0&&(v[y]=h[y]);return{$$typeof:t,type:d,key:E,ref:_,props:v,_owner:a.current}}return xi.Fragment=r,xi.jsx=u,xi.jsxs=u,xi}var Vm;function y1(){return Vm||(Vm=1,Xu.exports=g1()),Xu.exports}var p=y1(),w=mf();const Sr=pf(w),ql=p1({__proto__:null,default:Sr},[w]);var al={},Zu={exports:{}},Ft={},ed={exports:{}},td={};/** 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 Hm;function v1(){return Hm||(Hm=1,(function(e){function t(W,Z){var $=W.length;W.push(Z);e:for(;0<$;){var A=$-1>>>1,H=W[A];if(0<a(H,Z))W[A]=Z,W[$]=H,$=A;else break e}}function r(W){return W.length===0?null:W[0]}function s(W){if(W.length===0)return null;var Z=W[0],$=W.pop();if($!==Z){W[0]=$;e:for(var A=0,H=W.length,we=H>>>1;A<we;){var xe=2*(A+1)-1,ye=W[xe],X=xe+1,G=W[X];if(0>a(ye,$))X<H&&0>a(G,ye)?(W[A]=G,W[X]=$,A=X):(W[A]=ye,W[xe]=$,A=xe);else if(X<H&&0>a(G,$))W[A]=G,W[X]=$,A=X;else break e}}return Z}function a(W,Z){var $=W.sortIndex-Z.sortIndex;return $!==0?$:W.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var h=[],g=[],y=1,v=null,E=3,_=!1,P=!1,b=!1,S=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(W){for(var Z=r(g);Z!==null;){if(Z.callback===null)s(g);else if(Z.startTime<=W)s(g),Z.sortIndex=Z.expirationTime,t(h,Z);else break;Z=r(g)}}function T(W){if(b=!1,C(W),!P)if(r(h)!==null)P=!0,se(F);else{var Z=r(g);Z!==null&&ce(T,Z.startTime-W)}}function F(W,Z){P=!1,b&&(b=!1,k(B),B=-1),_=!0;var $=E;try{for(C(Z),v=r(h);v!==null&&(!(v.expirationTime>Z)||W&&!le());){var A=v.callback;if(typeof A=="function"){v.callback=null,E=v.priorityLevel;var H=A(v.expirationTime<=Z);Z=e.unstable_now(),typeof H=="function"?v.callback=H:v===r(h)&&s(h),C(Z)}else s(h);v=r(h)}if(v!==null)var we=!0;else{var xe=r(g);xe!==null&&ce(T,xe.startTime-Z),we=!1}return we}finally{v=null,E=$,_=!1}}var z=!1,V=null,B=-1,J=5,ee=-1;function le(){return!(e.unstable_now()-ee<J)}function ve(){if(V!==null){var W=e.unstable_now();ee=W;var Z=!0;try{Z=V(!0,W)}finally{Z?oe():(z=!1,V=null)}}else z=!1}var oe;if(typeof N=="function")oe=function(){N(ve)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,ke=ie.port2;ie.port1.onmessage=ve,oe=function(){ke.postMessage(null)}}else oe=function(){S(ve,0)};function se(W){V=W,z||(z=!0,oe())}function ce(W,Z){B=S(function(){W(e.unstable_now())},Z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_continueExecution=function(){P||_||(P=!0,se(F))},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return E},e.unstable_getFirstCallbackNode=function(){return r(h)},e.unstable_next=function(W){switch(E){case 1:case 2:case 3:var Z=3;break;default:Z=E}var $=E;E=Z;try{return W()}finally{E=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(W,Z){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var $=E;E=W;try{return Z()}finally{E=$}},e.unstable_scheduleCallback=function(W,Z,$){var A=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?A+$:A):$=A,W){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=$+H,W={id:y++,callback:Z,priorityLevel:W,startTime:$,expirationTime:H,sortIndex:-1},$>A?(W.sortIndex=$,t(g,W),r(h)===null&&W===r(g)&&(b?(k(B),B=-1):b=!0,ce(T,$-A))):(W.sortIndex=H,t(h,W),P||_||(P=!0,se(F))),W},e.unstable_shouldYield=le,e.unstable_wrapCallback=function(W){var Z=E;return function(){var $=E;E=Z;try{return W.apply(this,arguments)}finally{E=$}}}})(td)),td}var qm;function x1(){return qm||(qm=1,ed.exports=v1()),ed.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 Qm;function w1(){if(Qm)return Ft;Qm=1;var e=mf(),t=x1();function r(n){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+n,i=1;i<arguments.length;i++)o+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+n+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function l(n,o){u(n,o),u(n+"Capture",o)}function u(n,o){for(a[n]=o,n=0;n<o.length;n++)s.add(o[n])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,g=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,y={},v={};function E(n){return h.call(v,n)?!0:h.call(y,n)?!1:g.test(n)?v[n]=!0:(y[n]=!0,!1)}function _(n,o,i,c){if(i!==null&&i.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return c?!1:i!==null?!i.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function P(n,o,i,c){if(o===null||typeof o>"u"||_(n,o,i,c))return!0;
vendor: 44,396 bytes, lines 33-38
33if(c)return!1;if(i!==null)switch(i.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function b(n,o,i,c,f,m,x){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=c,this.attributeNamespace=f,this.mustUseProperty=i,this.propertyName=n,this.type=o,this.sanitizeURL=m,this.removeEmptyString=x}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){S[n]=new b(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var o=n[0];S[o]=new b(o,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){S[n]=new b(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){S[n]=new b(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){S[n]=new b(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){S[n]=new b(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){S[n]=new b(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){S[n]=new b(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){S[n]=new b(n,5,!1,n.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function N(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 o=n.replace(k,N);S[o]=new b(o,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var o=n.replace(k,N);S[o]=new b(o,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var o=n.replace(k,N);S[o]=new b(o,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){S[n]=new b(n,1,!1,n.toLowerCase(),null,!1,!1)}),S.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){S[n]=new b(n,1,!1,n.toLowerCase(),null,!0,!0)});function C(n,o,i,c){var f=S.hasOwnProperty(o)?S[o]:null;(f!==null?f.type!==0:c||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(P(o,i,f,c)&&(i=null),c||f===null?E(o)&&(i===null?n.removeAttribute(o):n.setAttribute(o,""+i)):f.mustUseProperty?n[f.propertyName]=i===null?f.type===3?!1:"":i:(o=f.attributeName,c=f.attributeNamespace,i===null?n.removeAttribute(o):(f=f.type,i=f===3||f===4&&i===!0?"":""+i,c?n.setAttributeNS(c,o,i):n.setAttribute(o,i))))}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),z=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),ee=Symbol.for("react.provider"),le=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),W=Symbol.iterator;function Z(n){return n===null||typeof n!="object"?null:(n=W&&n[W]||n["@@iterator"],typeof n=="function"?n:null)}var $=Object.assign,A;function H(n){if(A===void 0)try{throw Error()}catch(i){var o=i.stack.trim().match(/\n( *(at )?)/);A=o&&o[1]||""}return` 34`+A+n}var we=!1;function xe(n,o){if(!n||we)return"";we=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(U){var c=U}Reflect.construct(n,[],o)}else{try{o.call()}catch(U){c=U}n.call(o.prototype)}else{try{throw Error()}catch(U){c=U}n()}}catch(U){if(U&&c&&typeof U.stack=="string"){for(var f=U.stack.split(` 35`),m=c.stack.split(` 36`),x=f.length-1,R=m.length-1;1<=x&&0<=R&&f[x]!==m[R];)R--;for(;1<=x&&0<=R;x--,R--)if(f[x]!==m[R]){if(x!==1||R!==1)do if(x--,R--,0>R||f[x]!==m[R]){var O=` 37`+f[x].replace(" at new "," at ");return n.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",n.displayName)),O}while(1<=x&&0<=R);break}}}finally{we=!1,Error.prepareStackTrace=i}return(n=n?n.displayName||n.name:"")?H(n):""}function ye(n){switch(n.tag){case 5:return H(n.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return n=xe(n.type,!1),n;case 11:return n=xe(n.type.render,!1),n;case 1:return n=xe(n.type,!0),n;default:return""}}function X(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 V:return"Fragment";case z:return"Portal";case J:return"Profiler";case B:return"StrictMode";case oe:return"Suspense";case ie:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case le:return(n.displayName||"Context")+".Consumer";case ee:return(n._context.displayName||"Context")+".Provider";case ve:var o=n.render;return n=n.displayName,n||(n=o.displayName||o.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ke:return o=n.displayName||null,o!==null?o:X(n.type)||"Memo";case se:o=n._payload,n=n._init;try{return X(n(o))}catch{}}return null}function G(n){var o=n.type;switch(n.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=o.render,n=n.displayName||n.name||"",o.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(o);case 8:return o===B?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function fe(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function he(n){var o=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Re(n){var o=he(n)?"checked":"value",i=Object.getOwnPropertyDescriptor(n.constructor.prototype,o),c=""+n[o];if(!n.hasOwnProperty(o)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var f=i.get,m=i.set;return Object.defineProperty(n,o,{configurable:!0,get:function(){return f.call(this)},set:function(x){c=""+x,m.call(this,x)}}),Object.defineProperty(n,o,{enumerable:i.enumerable}),{getValue:function(){return c},setValue:function(x){c=""+x},stopTracking:function(){n._valueTracker=null,delete n[o]}}}}function Te(n){n._valueTracker||(n._valueTracker=Re(n))}function Ne(n){if(!n)return!1;var o=n._valueTracker;if(!o)return!0;var i=o.getValue(),c="";return n&&(c=he(n)?n.checked?"true":"false":n.value),n=c,n!==i?(o.setValue(n),!0):!1}function We(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 Qe(n,o){var i=o.checked;return $({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??n._wrapperState.initialChecked})}function dt(n,o){var i=o.defaultValue==null?"":o.defaultValue,c=o.checked!=null?o.checked:o.defaultChecked;i=fe(o.value!=null?o.value:i),n._wrapperState={initialChecked:c,initialValue:i,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function _e(n,o){o=o.checked,o!=null&&C(n,"checked",o,!1)}function Ke(n,o){_e(n,o);var i=fe(o.value),c=o.type;if(i!=null)c==="number"?(i===0&&n.value===""||n.value!=i)&&(n.value=""+i):n.value!==""+i&&(n.value=""+i);else if(c==="submit"||c==="reset"){n.removeAttribute("value");return}o.hasOwnProperty("value")?St(n,o.type,i):o.hasOwnProperty("defaultValue")&&St(n,o.type,fe(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(n.defaultChecked=!!o.defaultChecked)}function Wt(n,o,i){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var c=o.type;if(!(c!=="submit"&&c!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+n._wrapperState.initialValue,i||o===n.value||(n.value=o),n.defaultValue=o}i=n.name,i!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,i!==""&&(n.name=i)}function St(n,o,i){(o!=="number"||We(n.ownerDocument)!==n)&&(i==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+i&&(n.defaultValue=""+i))}var Zn=Array.isArray;function er(n,o,i,c){if(n=n.options,o){o={};for(var f=0;f<i.length;f++)o["$"+i[f]]=!0;for(i=0;i<n.length;i++)f=o.hasOwnProperty("$"+n[i].value),n[i].selected!==f&&(n[i].selected=f),f&&c&&(n[i].defaultSelected=!0)}else{for(i=""+fe(i),o=null,f=0;f<n.length;f++){if(n[f].value===i){n[f].selected=!0,c&&(n[f].defaultSelected=!0);return}o!==null||n[f].disabled||(o=n[f])}o!==null&&(o.selected=!0)}}function Dn(n,o){if(o.dangerouslySetInnerHTML!=null)throw Error(r(91));return $({},o,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Yf(n,o){var i=o.value;if(i==null){if(i=o.children,o=o.defaultValue,i!=null){if(o!=null)throw Error(r(92));if(Zn(i)){if(1<i.length)throw Error(r(93));i=i[0]}o=i}o==null&&(o=""),i=o}n._wrapperState={initialValue:fe(i)}}function Xf(n,o){var i=fe(o.value),c=fe(o.defaultValue);i!=null&&(i=""+i,i!==n.value&&(n.value=i),o.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)),c!=null&&(n.defaultValue=""+c)}function Jf(n){var o=n.textContent;o===n._wrapperState.initialValue&&o!==""&&o!==null&&(n.value=o)}function Zf(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 ac(n,o){return n==null||n==="http://www.w3.org/1999/xhtml"?Zf(o):n==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ji,eh=(function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,i,c,f){MSApp.execUnsafeLocalFunction(function(){return n(o,i,c,f)})}:n})(function(n,o){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=o;else{for(Ji=Ji||document.createElement("div"),Ji.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=Ji.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;o.firstChild;)n.appendChild(o.firstChild)}});function Is(n,o){if(o){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=o;return}}n.textContent=o}var Ds={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},g0=["Webkit","ms","Moz","O"];Object.keys(Ds).forEach(function(n){g0.forEach(function(o){o=o+n.charAt(0).toUpperCase()+n.substring(1),Ds[o]=Ds[n]})});function th(n,o,i){return o==null||typeof o=="boolean"||o===""?"":i||typeof o!="number"||o===0||Ds.hasOwnProperty(n)&&Ds[n]?(""+o).trim():o+"px"}function nh(n,o){n=n.style;for(var i in o)if(o.hasOwnProperty(i)){var c=i.indexOf("--")===0,f=th(i,o[i],c);i==="float"&&(i="cssFloat"),c?n.setProperty(i,f):n[i]=f}}var y0=$({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 lc(n,o){if(o){if(y0[n]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(r(137,n));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(r(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(r(61))}if(o.style!=null&&typeof o.style!="object")throw Error(r(62))}}function cc(n,o){if(n.indexOf("-")===-1)return typeof o.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 uc=null;function dc(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var fc=null,jo=null,Lo=null;function rh(n){if(n=oi(n)){if(typeof fc!="function")throw Error(r(280));var o=n.stateNode;o&&(o=ba(o),fc(n.stateNode,n.type,o))}}function oh(n){jo?Lo?Lo.push(n):Lo=[n]:jo=n}function sh(){if(jo){var n=jo,o=Lo;if(Lo=jo=null,rh(n),o)for(n=0;n<o.length;n++)rh(o[n])}}function ih(n,o){return n(o)}function ah(){}var hc=!1;function lh(n,o,i){if(hc)return n(o,i);hc=!0;try{return ih(n,o,i)}finally{hc=!1,(jo!==null||Lo!==null)&&(ah(),sh())}}function Ms(n,o){var i=n.stateNode;if(i===null)return null;var c=ba(i);if(c===null)return null;i=c[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(r(231,o,typeof i));return i}var pc=!1;if(d)try{var Fs={};Object.defineProperty(Fs,"passive",{get:function(){pc=!0}}),window.addEventListener("test",Fs,Fs),window.removeEventListener("test",Fs,Fs)}catch{pc=!1}function v0(n,o,i,c,f,m,x,R,O){var U=Array.prototype.slice.call(arguments,3);try{o.apply(i,U)}catch(Q){this.onError(Q)}}var zs=!1,Zi=null,ea=!1,mc=null,x0={onError:function(n){zs=!0,Zi=n}};function w0(n,o,i,c,f,m,x,R,O){zs=!1,Zi=null,v0.apply(x0,arguments)}function b0(n,o,i,c,f,m,x,R,O){if(w0.apply(this,arguments),zs){if(zs){var U=Zi;zs=!1,Zi=null}else throw Error(r(198));ea||(ea=!0,mc=U)}}function Vr(n){var o=n,i=n;if(n.alternate)for(;o.return;)o=o.return;else{n=o;do o=n,(o.flags&4098)!==0&&(i=o.return),n=o.return;while(n)}return o.tag===3?i:null}function ch(n){if(n.tag===13){var o=n.memoizedState;if(o===null&&(n=n.alternate,n!==null&&(o=n.memoizedState)),o!==null)return o.dehydrated}return null}function uh(n){if(Vr(n)!==n)throw Error(r(188))}function S0(n){var o=n.alternate;if(!o){if(o=Vr(n),o===null)throw Error(r(188));return o!==n?null:n}for(var i=n,c=o;;){var f=i.return;if(f===null)break;var m=f.alternate;if(m===null){if(c=f.return,c!==null){i=c;continue}break}if(f.child===m.child){for(m=f.child;m;){if(m===i)return uh(f),n;if(m===c)return uh(f),o;m=m.sibling}throw Error(r(188))}if(i.return!==c.return)i=f,c=m;else{for(var x=!1,R=f.child;R;){if(R===i){x=!0,i=f,c=m;break}if(R===c){x=!0,c=f,i=m;break}R=R.sibling}if(!x){for(R=m.child;R;){if(R===i){x=!0,i=m,c=f;break}if(R===c){x=!0,c=m,i=f;break}R=R.sibling}if(!x)throw Error(r(189))}}if(i.alternate!==c)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?n:o}function dh(n){return n=S0(n),n!==null?fh(n):null}function fh(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var o=fh(n);if(o!==null)return o;n=n.sibling}return null}var hh=t.unstable_scheduleCallback,ph=t.unstable_cancelCallback,k0=t.unstable_shouldYield,E0=t.unstable_requestPaint,Ze=t.unstable_now,_0=t.unstable_getCurrentPriorityLevel,gc=t.unstable_ImmediatePriority,mh=t.unstable_UserBlockingPriority,ta=t.unstable_NormalPriority,C0=t.unstable_LowPriority,gh=t.unstable_IdlePriority,na=null,wn=null;function N0(n){if(wn&&typeof wn.onCommitFiberRoot=="function")try{wn.onCommitFiberRoot(na,n,void 0,(n.current.flags&128)===128)}catch{}}var sn=Math.clz32?Math.clz32:P0,R0=Math.log,T0=Math.LN2;function P0(n){return n>>>=0,n===0?32:31-(R0(n)/T0|0)|0}var ra=64,oa=4194304;function Us(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 sa(n,o){var i=n.pendingLanes;if(i===0)return 0;var c=0,f=n.suspendedLanes,m=n.pingedLanes,x=i&268435455;if(x!==0){var R=x&~f;R!==0?c=Us(R):(m&=x,m!==0&&(c=Us(m)))}else x=i&~f,x!==0?c=Us(x):m!==0&&(c=Us(m));if(c===0)return 0;if(o!==0&&o!==c&&(o&f)===0&&(f=c&-c,m=o&-o,f>=m||f===16&&(m&4194240)!==0))return o;if((c&4)!==0&&(c|=i&16),o=n.entangledLanes,o!==0)for(n=n.entanglements,o&=c;0<o;)i=31-sn(o),f=1<<i,c|=n[i],o&=~f;return c}function O0(n,o){switch(n){case 1:case 2:case 4:return o+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 o+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 A0(n,o){for(var i=n.suspendedLanes,c=n.pingedLanes,f=n.expirationTimes,m=n.pendingLanes;0<m;){var x=31-sn(m),R=1<<x,O=f[x];O===-1?((R&i)===0||(R&c)!==0)&&(f[x]=O0(R,o)):O<=o&&(n.expiredLanes|=R),m&=~R}}function yc(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function yh(){var n=ra;return ra<<=1,(ra&4194240)===0&&(ra=64),n}function vc(n){for(var o=[],i=0;31>i;i++)o.push(n);return o}function Bs(n,o,i){n.pendingLanes|=o,o!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,o=31-sn(o),n[o]=i}function j0(n,o){var i=n.pendingLanes&~o;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=o,n.mutableReadLanes&=o,n.entangledLanes&=o,o=n.entanglements;var c=n.eventTimes;for(n=n.expirationTimes;0<i;){var f=31-sn(i),m=1<<f;o[f]=0,c[f]=-1,n[f]=-1,i&=~m}}function xc(n,o){var i=n.entangledLanes|=o;for(n=n.entanglements;i;){var c=31-sn(i),f=1<<c;f&o|n[c]&o&&(n[c]|=o),i&=~f}}var ze=0;function vh(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var xh,wc,wh,bh,Sh,bc=!1,ia=[],tr=null,nr=null,rr=null,$s=new Map,Ws=new Map,or=[],L0="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 kh(n,o){switch(n){case"focusin":case"focusout":tr=null;break;case"dragenter":case"dragleave":nr=null;break;case"mouseover":case"mouseout":rr=null;break;case"pointerover":case"pointerout":$s.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ws.delete(o.pointerId)}}function Vs(n,o,i,c,f,m){return n===null||n.nativeEvent!==m?(n={blockedOn:o,domEventName:i,eventSystemFlags:c,nativeEvent:m,targetContainers:[f]},o!==null&&(o=oi(o),o!==null&&wc(o)),n):(n.eventSystemFlags|=c,o=n.targetContainers,f!==null&&o.indexOf(f)===-1&&o.push(f),n)}function I0(n,o,i,c,f){switch(o){case"focusin":return tr=Vs(tr,n,o,i,c,f),!0;case"dragenter":return nr=Vs(nr,n,o,i,c,f),!0;case"mouseover":return rr=Vs(rr,n,o,i,c,f),!0;case"pointerover":var m=f.pointerId;return $s.set(m,Vs($s.get(m)||null,n,o,i,c,f)),!0;case"gotpointercapture":return m=f.pointerId,Ws.set(m,Vs(Ws.get(m)||null,n,o,i,c,f)),!0}return!1}function Eh(n){var o=Hr(n.target);if(o!==null){var i=Vr(o);if(i!==null){if(o=i.tag,o===13){if(o=ch(i),o!==null){n.blockedOn=o,Sh(n.priority,function(){wh(i)});return}}else if(o===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function aa(n){if(n.blockedOn!==null)return!1;for(var o=n.targetContainers;0<o.length;){var i=kc(n.domEventName,n.eventSystemFlags,o[0],n.nativeEvent);if(i===null){i=n.nativeEvent;var c=new i.constructor(i.type,i);uc=c,i.target.dispatchEvent(c),uc=null}else return o=oi(i),o!==null&&wc(o),n.blockedOn=i,!1;o.shift()}return!0}function _h(n,o,i){aa(n)&&i.delete(o)}function D0(){bc=!1,tr!==null&&aa(tr)&&(tr=null),nr!==null&&aa(nr)&&(nr=null),rr!==null&&aa(rr)&&(rr=null),$s.forEach(_h),Ws.forEach(_h)}function Hs(n,o){n.blockedOn===o&&(n.blockedOn=null,bc||(bc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,D0)))}function qs(n){function o(f){return Hs(f,n)}if(0<ia.length){Hs(ia[0],n);for(var i=1;i<ia.length;i++){var c=ia[i];c.blockedOn===n&&(c.blockedOn=null)}}for(tr!==null&&Hs(tr,n),nr!==null&&Hs(nr,n),rr!==null&&Hs(rr,n),$s.forEach(o),Ws.forEach(o),i=0;i<or.length;i++)c=or[i],c.blockedOn===n&&(c.blockedOn=null);for(;0<or.length&&(i=or[0],i.blockedOn===null);)Eh(i),i.blockedOn===null&&or.shift()}var Io=T.ReactCurrentBatchConfig,la=!0;function M0(n,o,i,c){var f=ze,m=Io.transition;Io.transition=null;try{ze=1,Sc(n,o,i,c)}finally{ze=f,Io.transition=m}}function F0(n,o,i,c){var f=ze,m=Io.transition;Io.transition=null;try{ze=4,Sc(n,o,i,c)}finally{ze=f,Io.transition=m}}function Sc(n,o,i,c){if(la){var f=kc(n,o,i,c);if(f===null)Uc(n,o,c,ca,i),kh(n,c);else if(I0(f,n,o,i,c))c.stopPropagation();else if(kh(n,c),o&4&&-1<L0.indexOf(n)){for(;f!==null;){var m=oi(f);if(m!==null&&xh(m),m=kc(n,o,i,c),m===null&&Uc(n,o,c,ca,i),m===f)break;f=m}f!==null&&c.stopPropagation()}else Uc(n,o,c,null,i)}}var ca=null;function kc(n,o,i,c){if(ca=null,n=dc(c),n=Hr(n),n!==null)if(o=Vr(n),o===null)n=null;else if(i=o.tag,i===13){if(n=ch(o),n!==null)return n;n=null}else if(i===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null);return ca=n,null}function Ch(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(_0()){case gc:return 1;case mh:return 4;case ta:case C0:return 16;case gh:return 536870912;default:return 16}default:return 16}}var sr=null,Ec=null,ua=null;function Nh(){if(ua)return ua;var n,o=Ec,i=o.length,c,f="value"in sr?sr.value:sr.textContent,m=f.length;for(n=0;n<i&&o[n]===f[n];n++);var x=i-n;for(c=1;c<=x&&o[i-c]===f[m-c];c++);return ua=f.slice(n,1<c?1-c:void 0)}function da(n){var o=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&o===13&&(n=13)):n=o,n===10&&(n=13),32<=n||n===13?n:0}function fa(){return!0}function Rh(){return!1}function Vt(n){function o(i,c,f,m,x){this._reactName=i,this._targetInst=f,this.type=c,this.nativeEvent=m,this.target=x,this.currentTarget=null;for(var R in n)n.hasOwnProperty(R)&&(i=n[R],this[R]=i?i(m):m[R]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?fa:Rh,this.isPropagationStopped=Rh,this}return $(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=fa)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=fa)},persist:function(){},isPersistent:fa}),o}var Do={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_c=Vt(Do),Qs=$({},Do,{view:0,detail:0}),z0=Vt(Qs),Cc,Nc,Ks,ha=$({},Qs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tc,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!==Ks&&(Ks&&n.type==="mousemove"?(Cc=n.screenX-Ks.screenX,Nc=n.screenY-Ks.screenY):Nc=Cc=0,Ks=n),Cc)},movementY:function(n){return"movementY"in n?n.movementY:Nc}}),Th=Vt(ha),U0=$({},ha,{dataTransfer:0}),B0=Vt(U0),$0=$({},Qs,{relatedTarget:0}),Rc=Vt($0),W0=$({},Do,{animationName:0,elapsedTime:0,pseudoElement:0}),V0=Vt(W0),H0=$({},Do,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),q0=Vt(H0),Q0=$({},Do,{data:0}),Ph=Vt(Q0),K0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},G0={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"},Y0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function X0(n){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(n):(n=Y0[n])?!!o[n]:!1}function Tc(){return X0}var J0=$({},Qs,{key:function(n){if(n.key){var o=K0[n.key]||n.key;if(o!=="Unidentified")return o}return n.type==="keypress"?(n=da(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?G0[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tc,charCode:function(n){return n.type==="keypress"?da(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?da(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Z0=Vt(J0),eb=$({},ha,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oh=Vt(eb),tb=$({},Qs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tc}),nb=Vt(tb),rb=$({},Do,{propertyName:0,elapsedTime:0,pseudoElement:0}),ob=Vt(rb),sb=$({},ha,{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}),ib=Vt(sb),ab=[9,13,27,32],Pc=d&&"CompositionEvent"in window,Gs=null;d&&"documentMode"in document&&(Gs=document.documentMode);var lb=d&&"TextEvent"in window&&!Gs,Ah=d&&(!Pc||Gs&&8<Gs&&11>=Gs),jh=" ",Lh=!1;function Ih(n,o){switch(n){case"keyup":return ab.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dh(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Mo=!1;function cb(n,o){switch(n){case"compositionend":return Dh(o);case"keypress":return o.which!==32?null:(Lh=!0,jh);case"textInput":return n=o.data,n===jh&&Lh?null:n;default:return null}}function ub(n,o){if(Mo)return n==="compositionend"||!Pc&&Ih(n,o)?(n=Nh(),ua=Ec=sr=null,Mo=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Ah&&o.locale!=="ko"?null:o.data;default:return null}}var db={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 Mh(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o==="input"?!!db[n.type]:o==="textarea"}function Fh(n,o,i,c){oh(c),o=va(o,"onChange"),0<o.length&&(i=new _c("onChange","change",null,i,c),n.push({event:i,listeners:o}))}var Ys=null,Xs=null;function fb(n){np(n,0)}function pa(n){var o=$o(n);if(Ne(o))return n}function hb(n,o){if(n==="change")return o}var zh=!1;if(d){var Oc;if(d){var Ac="oninput"in document;if(!Ac){var Uh=document.createElement("div");Uh.setAttribute("oninput","return;"),Ac=typeof Uh.oninput=="function"}Oc=Ac}else Oc=!1;zh=Oc&&(!document.documentMode||9<document.documentMode)}function Bh(){Ys&&(Ys.detachEvent("onpropertychange",$h),Xs=Ys=null)}function $h(n){if(n.propertyName==="value"&&pa(Xs)){var o=[];Fh(o,Xs,n,dc(n)),lh(fb,o)}}function pb(n,o,i){n==="focusin"?(Bh(),Ys=o,Xs=i,Ys.attachEvent("onpropertychange",$h)):n==="focusout"&&Bh()}function mb(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return pa(Xs)}function gb(n,o){if(n==="click")return pa(o)}function yb(n,o){if(n==="input"||n==="change")return pa(o)}function vb(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var an=typeof Object.is=="function"?Object.is:vb;function Js(n,o){if(an(n,o))return!0;if(typeof n!="object"||n===null||typeof o!="object"||o===null)return!1;var i=Object.keys(n),c=Object.keys(o);if(i.length!==c.length)return!1;for(c=0;c<i.length;c++){var f=i[c];if(!h.call(o,f)||!an(n[f],o[f]))return!1}return!0}function Wh(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Vh(n,o){var i=Wh(n);n=0;for(var c;i;){if(i.nodeType===3){if(c=n+i.textContent.length,n<=o&&c>=o)return{node:i,offset:o-n};n=c}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Wh(i)}}function Hh(n,o){return n&&o?n===o?!0:n&&n.nodeType===3?!1:o&&o.nodeType===3?Hh(n,o.parentNode):"contains"in n?n.contains(o):n.compareDocumentPosition?!!(n.compareDocumentPosition(o)&16):!1:!1}function qh(){for(var n=window,o=We();o instanceof n.HTMLIFrameElement;){try{var i=typeof o.contentWindow.location.href=="string"}catch{i=!1}if(i)n=o.contentWindow;else break;o=We(n.document)}return o}function jc(n){var o=n&&n.nodeName&&n.nodeName.toLowerCase();return o&&(o==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||o==="textarea"||n.contentEditable==="true")}function xb(n){var o=qh(),i=n.focusedElem,c=n.selectionRange;if(o!==i&&i&&i.ownerDocument&&Hh(i.ownerDocument.documentElement,i)){if(c!==null&&jc(i)){if(o=c.start,n=c.end,n===void 0&&(n=o),"selectionStart"in i)i.selectionStart=o,i.selectionEnd=Math.min(n,i.value.length);else if(n=(o=i.ownerDocument||document)&&o.defaultView||window,n.getSelection){n=n.getSelection();var f=i.textContent.length,m=Math.min(c.start,f);c=c.end===void 0?m:Math.min(c.end,f),!n.extend&&m>c&&(f=c,c=m,m=f),f=Vh(i,m);var x=Vh(i,c);f&&x&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==x.node||n.focusOffset!==x.offset)&&(o=o.createRange(),o.setStart(f.node,f.offset),n.removeAllRanges(),m>c?(n.addRange(o),n.extend(x.node,x.offset)):(o.setEnd(x.node,x.offset),n.addRange(o)))}}for(o=[],n=i;n=n.parentNode;)n.nodeType===1&&o.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<o.length;i++)n=o[i],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var wb=d&&"documentMode"in document&&11>=document.documentMode,Fo=null,Lc=null,Zs=null,Ic=!1;function Qh(n,o,i){var c=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ic||Fo==null||Fo!==We(c)||(c=Fo,"selectionStart"in c&&jc(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Zs&&Js(Zs,c)||(Zs=c,c=va(Lc,"onSelect"),0<c.length&&(o=new _c("onSelect","select",null,o,i),n.push({event:o,listeners:c}),o.target=Fo)))}function ma(n,o){var i={};return i[n.toLowerCase()]=o.toLowerCase(),i["Webkit"+n]="webkit"+o,i["Moz"+n]="moz"+o,i}var zo={animationend:ma("Animation","AnimationEnd"),animationiteration:ma("Animation","AnimationIteration"),animationstart:ma("Animation","AnimationStart"),transitionend:ma("Transition","TransitionEnd")},Dc={},Kh={};d&&(Kh=document.createElement("div").style,"AnimationEvent"in window||(delete zo.animationend.animation,delete zo.animationiteration.animation,delete zo.animationstart.animation),"TransitionEvent"in window||delete zo.transitionend.transition);function ga(n){if(Dc[n])return Dc[n];if(!zo[n])return n;var o=zo[n],i;for(i in o)if(o.hasOwnProperty(i)&&i in Kh)return Dc[n]=o[i];return n}var Gh=ga("animationend"),Yh=ga("animationiteration"),Xh=ga("animationstart"),Jh=ga("transitionend"),Zh=new Map,ep="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 ir(n,o){Zh.set(n,o),l(o,[n])}for(var Mc=0;Mc<ep.length;Mc++){var Fc=ep[Mc],bb=Fc.toLowerCase(),Sb=Fc[0].toUpperCase()+Fc.slice(1);ir(bb,"on"+Sb)}ir(Gh,"onAnimationEnd"),ir(Yh,"onAnimationIteration"),ir(Xh,"onAnimationStart"),ir("dblclick","onDoubleClick"),ir("focusin","onFocus"),ir("focusout","onBlur"),ir(Jh,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ei="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(" "),kb=new Set("cancel close invalid load scroll toggle".split(" ").concat(ei));function tp(n,o,i){var c=n.type||"unknown-event";n.currentTarget=i,b0(c,o,void 0,n),n.currentTarget=null}function np(n,o){o=(o&4)!==0;for(var i=0;i<n.length;i++){var c=n[i],f=c.event;c=c.listeners;e:{var m=void 0;if(o)for(var x=c.length-1;0<=x;x--){var R=c[x],O=R.instance,U=R.currentTarget;if(R=R.listener,O!==m&&f.isPropagationStopped())break e;tp(f,R,U),m=O}else for(x=0;x<c.length;x++){if(R=c[x],O=R.instance,U=R.currentTarget,R=R.listener,O!==m&&f.isPropagationStopped())break e;tp(f,R,U),m=O}}}if(ea)throw n=mc,ea=!1,mc=null,n}function Ve(n,o){var i=o[qc];i===void 0&&(i=o[qc]=new Set);var c=n+"__bubble";i.has(c)||(rp(o,n,2,!1),i.add(c))}function zc(n,o,i){var c=0;o&&(c|=4),rp(i,n,c,o)}var ya="_reactListening"+Math.random().toString(36).slice(2);function ti(n){if(!n[ya]){n[ya]=!0,s.forEach(function(i){i!=="selectionchange"&&(kb.has(i)||zc(i,!1,n),zc(i,!0,n))});var o=n.nodeType===9?n:n.ownerDocument;o===null||o[ya]||(o[ya]=!0,zc("selectionchange",!1,o))}}function rp(n,o,i,c){switch(Ch(o)){case 1:var f=M0;break;case 4:f=F0;break;default:f=Sc}i=f.bind(null,o,i,n),f=void 0,!pc||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(f=!0),c?f!==void 0?n.addEventListener(o,i,{capture:!0,passive:f}):n.addEventListener(o,i,!0):f!==void 0?n.addEventListener(o,i,{passive:f}):n.addEventListener(o,i,!1)}function Uc(n,o,i,c,f){var m=c;if((o&1)===0&&(o&2)===0&&c!==null)e:for(;;){if(c===null)return;var x=c.tag;if(x===3||x===4){var R=c.stateNode.containerInfo;if(R===f||R.nodeType===8&&R.parentNode===f)break;if(x===4)for(x=c.return;x!==null;){var O=x.tag;if((O===3||O===4)&&(O=x.stateNode.containerInfo,O===f||O.nodeType===8&&O.parentNode===f))return;x=x.return}for(;R!==null;){if(x=Hr(R),x===null)return;if(O=x.tag,O===5||O===6){c=m=x;continue e}R=R.parentNode}}c=c.return}lh(function(){var U=m,Q=dc(i),K=[];e:{var q=Zh.get(n);if(q!==void 0){var ne=_c,ue=n;switch(n){case"keypress":if(da(i)===0)break e;case"keydown":case"keyup":ne=Z0;break;case"focusin":ue="focus",ne=Rc;break;case"focusout":ue="blur",ne=Rc;break;case"beforeblur":case"afterblur":ne=Rc;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=Th;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=B0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=nb;break;case Gh:case Yh:case Xh:ne=V0;break;case Jh:ne=ob;break;case"scroll":ne=z0;break;case"wheel":ne=ib;break;case"copy":case"cut":case"paste":ne=q0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=Oh}var me=(o&4)!==0,et=!me&&n==="scroll",D=me?q!==null?q+"Capture":null:q;me=[];for(var L=U,M;L!==null;){M=L;var Y=M.stateNode;if(M.tag===5&&Y!==null&&(M=Y,D!==null&&(Y=Ms(L,D),Y!=null&&me.push(ni(L,Y,M)))),et)break;L=L.return}0<me.length&&(q=new ne(q,ue,null,i,Q),K.push({event:q,listeners:me}))}}if((o&7)===0){e:{if(q=n==="mouseover"||n==="pointerover",ne=n==="mouseout"||n==="pointerout",q&&i!==uc&&(ue=i.relatedTarget||i.fromElement)&&(Hr(ue)||ue[Mn]))break e;if((ne||q)&&(q=Q.window===Q?Q:(q=Q.ownerDocument)?q.defaultView||q.parentWindow:window,ne?(ue=i.relatedTarget||i.toElement,ne=U,ue=ue?Hr(ue):null,ue!==null&&(et=Vr(ue),ue!==et||ue.tag!==5&&ue.tag!==6)&&(ue=null)):(ne=null,ue=U),ne!==ue)){if(me=Th,Y="onMouseLeave",D="onMouseEnter",L="mouse",(n==="pointerout"||n==="pointerover")&&(me=Oh,Y="onPointerLeave",D="onPointerEnter",L="pointer"),et=ne==null?q:$o(ne),M=ue==null?q:$o(ue),q=new me(Y,L+"leave",ne,i,Q),q.target=et,q.relatedTarget=M,Y=null,Hr(Q)===U&&(me=new me(D,L+"enter",ue,i,Q),me.target=M,me.relatedTarget=et,Y=me),et=Y,ne&&ue)t:{for(me=ne,D=ue,L=0,M=me;M;M=Uo(M))L++;for(M=0,Y=D;Y;Y=Uo(Y))M++;for(;0<L-M;)me=Uo(me),L--;for(;0<M-L;)D=Uo(D),M--;for(;L--;){if(me===D||D!==null&&me===D.alternate)break t;me=Uo(me),D=Uo(D)}me=null}else me=null;ne!==null&&op(K,q,ne,me,!1),ue!==null&&et!==null&&op(K,et,ue,me,!0)}}e:{if(q=U?$o(U):window,ne=q.nodeName&&q.nodeName.toLowerCase(),ne==="select"||ne==="input"&&q.type==="file")var ge=hb;else if(Mh(q))if(zh)ge=yb;else{ge=mb;var be=pb}else(ne=q.nodeName)&&ne.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(ge=gb);if(ge&&(ge=ge(n,U))){Fh(K,ge,i,Q);break e}be&&be(n,q,U),n==="focusout"&&(be=q._wrapperState)&&be.controlled&&q.type==="number"&&St(q,"number",q.value)}switch(be=U?$o(U):window,n){case"focusin":(Mh(be)||be.contentEditable==="true")&&(Fo=be,Lc=U,Zs=null);break;case"focusout":Zs=Lc=Fo=null;break;case"mousedown":Ic=!0;break;case"contextmenu":case"mouseup":case"dragend":Ic=!1,Qh(K,i,Q);break;case"selectionchange":if(wb)break;case"keydown":case"keyup":Qh(K,i,Q)}var Se;if(Pc)e:{switch(n){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else Mo?Ih(n,i)&&(Ce="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(Ce="onCompositionStart");Ce&&(Ah&&i.locale!=="ko"&&(Mo||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&Mo&&(Se=Nh()):(sr=Q,Ec="value"in sr?sr.value:sr.textContent,Mo=!0)),be=va(U,Ce),0<be.length&&(Ce=new Ph(Ce,n,null,i,Q),K.push({event:Ce,listeners:be}),Se?Ce.data=Se:(Se=Dh(i),Se!==null&&(Ce.data=Se)))),(Se=lb?cb(n,i):ub(n,i))&&(U=va(U,"onBeforeInput"),0<U.length&&(Q=new Ph("onBeforeInput","beforeinput",null,i,Q),K.push({event:Q,listeners:U}),Q.data=Se))}np(K,o)})}function ni(n,o,i){return{instance:n,listener:o,currentTarget:i}}function va(n,o){for(var i=o+"Capture",c=[];n!==null;){var f=n,m=f.stateNode;f.tag===5&&m!==null&&(f=m,m=Ms(n,i),m!=null&&c.unshift(ni(n,m,f)),m=Ms(n,o),m!=null&&c.push(ni(n,m,f))),n=n.return}return c}function Uo(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function op(n,o,i,c,f){for(var m=o._reactName,x=[];i!==null&&i!==c;){var R=i,O=R.alternate,U=R.stateNode;if(O!==null&&O===c)break;R.tag===5&&U!==null&&(R=U,f?(O=Ms(i,m),O!=null&&x.unshift(ni(i,O,R))):f||(O=Ms(i,m),O!=null&&x.push(ni(i,O,R)))),i=i.return}x.length!==0&&n.push({event:o,listeners:x})}var Eb=/\r\n?/g,_b=/\u0000|\uFFFD/g;function sp(n){return(typeof n=="string"?n:""+n).replace(Eb,` 38`).replace(_b,"")}function xa(n,o,i){if(o=sp(o),sp(n)!==o&&i)throw Error(r(425))}function wa(){}var Bc=null,$c=null;function Wc(n,o){return n==="textarea"||n==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Vc=typeof setTimeout=="function"?setTimeout:void 0,Cb=typeof clearTimeout=="function"?clearTimeout:void 0,ip=typeof Promise=="function"?Promise:void 0,Nb=typeof queueMicrotask=="function"?queueMicrotask:typeof ip<"u"?function(n){return ip.resolve(null).then(n).catch(Rb)}:Vc;function Rb(n){setTimeout(function(){throw n})}function Hc(n,o){var i=o,c=0;do{var f=i.nextSibling;if(n.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"){if(c===0){n.removeChild(f),qs(o);return}c--}else i!=="$"&&i!=="$?"&&i!=="$!"||c++;i=f}while(i);qs(o)}function ar(n){for(;n!=null;n=n.nextSibling){var o=n.nodeType;if(o===1||o===3)break;if(o===8){if(o=n.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return n}function ap(n){n=n.previousSibling;for(var o=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"){if(o===0)return n;o--}else i==="/$"&&o++}n=n.previousSibling}return null}var Bo=Math.random().toString(36).slice(2),bn="__reactFiber$"+Bo,ri="__reactProps$"+Bo,Mn="__reactContainer$"+Bo,q
vendor: 4,803 bytes, line 38
38c="__reactEvents$"+Bo,Tb="__reactListeners$"+Bo,Pb="__reactHandles$"+Bo;function Hr(n){var o=n[bn];if(o)return o;for(var i=n.parentNode;i;){if(o=i[Mn]||i[bn]){if(i=o.alternate,o.child!==null||i!==null&&i.child!==null)for(n=ap(n);n!==null;){if(i=n[bn])return i;n=ap(n)}return o}n=i,i=n.parentNode}return null}function oi(n){return n=n[bn]||n[Mn],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function $o(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(r(33))}function ba(n){return n[ri]||null}var Qc=[],Wo=-1;function lr(n){return{current:n}}function He(n){0>Wo||(n.current=Qc[Wo],Qc[Wo]=null,Wo--)}function $e(n,o){Wo++,Qc[Wo]=n.current,n.current=o}var cr={},kt=lr(cr),jt=lr(!1),qr=cr;function Vo(n,o){var i=n.type.contextTypes;if(!i)return cr;var c=n.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===o)return c.__reactInternalMemoizedMaskedChildContext;var f={},m;for(m in i)f[m]=o[m];return c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=o,n.__reactInternalMemoizedMaskedChildContext=f),f}function Lt(n){return n=n.childContextTypes,n!=null}function Sa(){He(jt),He(kt)}function lp(n,o,i){if(kt.current!==cr)throw Error(r(168));$e(kt,o),$e(jt,i)}function cp(n,o,i){var c=n.stateNode;if(o=o.childContextTypes,typeof c.getChildContext!="function")return i;c=c.getChildContext();for(var f in c)if(!(f in o))throw Error(r(108,G(n)||"Unknown",f));return $({},i,c)}function ka(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||cr,qr=kt.current,$e(kt,n),$e(jt,jt.current),!0}function up(n,o,i){var c=n.stateNode;if(!c)throw Error(r(169));i?(n=cp(n,o,qr),c.__reactInternalMemoizedMergedChildContext=n,He(jt),He(kt),$e(kt,n)):He(jt),$e(jt,i)}var Fn=null,Ea=!1,Kc=!1;function dp(n){Fn===null?Fn=[n]:Fn.push(n)}function Ob(n){Ea=!0,dp(n)}function ur(){if(!Kc&&Fn!==null){Kc=!0;var n=0,o=ze;try{var i=Fn;for(ze=1;n<i.length;n++){var c=i[n];do c=c(!0);while(c!==null)}Fn=null,Ea=!1}catch(f){throw Fn!==null&&(Fn=Fn.slice(n+1)),hh(gc,ur),f}finally{ze=o,Kc=!1}}return null}var Ho=[],qo=0,_a=null,Ca=0,Yt=[],Xt=0,Qr=null,zn=1,Un="";function Kr(n,o){Ho[qo++]=Ca,Ho[qo++]=_a,_a=n,Ca=o}function fp(n,o,i){Yt[Xt++]=zn,Yt[Xt++]=Un,Yt[Xt++]=Qr,Qr=n;var c=zn;n=Un;var f=32-sn(c)-1;c&=~(1<<f),i+=1;var m=32-sn(o)+f;if(30<m){var x=f-f%5;m=(c&(1<<x)-1).toString(32),c>>=x,f-=x,zn=1<<32-sn(o)+f|i<<f|c,Un=m+n}else zn=1<<m|i<<f|c,Un=n}function Gc(n){n.return!==null&&(Kr(n,1),fp(n,1,0))}function Yc(n){for(;n===_a;)_a=Ho[--qo],Ho[qo]=null,Ca=Ho[--qo],Ho[qo]=null;for(;n===Qr;)Qr=Yt[--Xt],Yt[Xt]=null,Un=Yt[--Xt],Yt[Xt]=null,zn=Yt[--Xt],Yt[Xt]=null}var Ht=null,qt=null,qe=!1,ln=null;function hp(n,o){var i=tn(5,null,null,0);i.elementType="DELETED",i.stateNode=o,i.return=n,o=n.deletions,o===null?(n.deletions=[i],n.flags|=16):o.push(i)}function pp(n,o){switch(n.tag){case 5:var i=n.type;return o=o.nodeType!==1||i.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(n.stateNode=o,Ht=n,qt=ar(o.firstChild),!0):!1;case 6:return o=n.pendingProps===""||o.nodeType!==3?null:o,o!==null?(n.stateNode=o,Ht=n,qt=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(i=Qr!==null?{id:zn,overflow:Un}:null,n.memoizedState={dehydrated:o,treeContext:i,retryLane:1073741824},i=tn(18,null,null,0),i.stateNode=o,i.return=n,n.child=i,Ht=n,qt=null,!0):!1;default:return!1}}function Xc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Jc(n){if(qe){var o=qt;if(o){var i=o;if(!pp(n,o)){if(Xc(n))throw Error(r(418));o=ar(i.nextSibling);var c=Ht;o&&pp(n,o)?hp(c,i):(n.flags=n.flags&-4097|2,qe=!1,Ht=n)}}else{if(Xc(n))throw Error(r(418));n.flags=n.flags&-4097|2,qe=!1,Ht=n}}}function mp(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Ht=n}function Na(n){if(n!==Ht)return!1;if(!qe)return mp(n),qe=!0,!1;var o;if((o=n.tag!==3)&&!(o=n.tag!==5)&&(o=n.type,o=o!=="head"&&o!=="body"&&!Wc(n.type,n.memoizedProps)),o&&(o=qt)){if(Xc(n))throw gp(),Error(r(418));for(;o;)hp(n,o),o=ar(o.nextSibling)}if(mp(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));e:{for(n=n.nextSibling,o=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"){if(o===0){qt=ar(n.nextSibling);break e}o--}else i!=="$"&&i!=="$!"&&i!=="$?"||o++}n=n.nextSibling}qt=null}}else qt=Ht?ar(n.stateNode.nextSibling):null;return!0}function gp(){for(var n=qt;n;)n=ar(n.nextSibling)}function Qo(){qt=Ht=null,qe=!1}function Zc(n){ln===null?ln=[n]:ln.push(n)}var Ab=T.ReactCurrentBatchConfig;function si(n,o,i){if(n=i.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(r(309));var c=i.stateNode}if(!c)throw Error(r(147,n));var f=c,m=""+n;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===m?o.ref:(o=function(x){var R=f.refs;x===null?delete R[m]:R[m]=x},o._stringRef=m,o)}
vendor: 4,343 bytes, line 38
38if(typeof n!="string")throw Error(r(284));if(!i._owner)throw Error(r(290,n))}return n}function Ra(n,o){throw n=Object.prototype.toString.call(o),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":n))}function yp(n){var o=n._init;return o(n._payload)}function vp(n){function o(D,L){if(n){var M=D.deletions;M===null?(D.deletions=[L],D.flags|=16):M.push(L)}}function i(D,L){if(!n)return null;for(;L!==null;)o(D,L),L=L.sibling;return null}function c(D,L){for(D=new Map;L!==null;)L.key!==null?D.set(L.key,L):D.set(L.index,L),L=L.sibling;return D}function f(D,L){return D=vr(D,L),D.index=0,D.sibling=null,D}function m(D,L,M){return D.index=M,n?(M=D.alternate,M!==null?(M=M.index,M<L?(D.flags|=2,L):M):(D.flags|=2,L)):(D.flags|=1048576,L)}function x(D){return n&&D.alternate===null&&(D.flags|=2),D}function R(D,L,M,Y){return L===null||L.tag!==6?(L=Vu(M,D.mode,Y),L.return=D,L):(L=f(L,M),L.return=D,L)}function O(D,L,M,Y){var ge=M.type;return ge===V?Q(D,L,M.props.children,Y,M.key):L!==null&&(L.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===se&&yp(ge)===L.type)?(Y=f(L,M.props),Y.ref=si(D,L,M),Y.return=D,Y):(Y=Ja(M.type,M.key,M.props,null,D.mode,Y),Y.ref=si(D,L,M),Y.return=D,Y)}function U(D,L,M,Y){return L===null||L.tag!==4||L.stateNode.containerInfo!==M.containerInfo||L.stateNode.implementation!==M.implementation?(L=Hu(M,D.mode,Y),L.return=D,L):(L=f(L,M.children||[]),L.return=D,L)}function Q(D,L,M,Y,ge){return L===null||L.tag!==7?(L=no(M,D.mode,Y,ge),L.return=D,L):(L=f(L,M),L.return=D,L)}function K(D,L,M){if(typeof L=="string"&&L!==""||typeof L=="number")return L=Vu(""+L,D.mode,M),L.return=D,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case F:return M=Ja(L.type,L.key,L.props,null,D.mode,M),M.ref=si(D,null,L),M.return=D,M;case z:return L=Hu(L,D.mode,M),L.return=D,L;case se:var Y=L._init;return K(D,Y(L._payload),M)}if(Zn(L)||Z(L))return L=no(L,D.mode,M,null),L.return=D,L;Ra(D,L)}return null}function q(D,L,M,Y){var ge=L!==null?L.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return ge!==null?null:R(D,L,""+M,Y);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case F:return M.key===ge?O(D,L,M,Y):null;case z:return M.key===ge?U(D,L,M,Y):null;case se:return ge=M._init,q(D,L,ge(M._payload),Y)}if(Zn(M)||Z(M))return ge!==null?null:Q(D,L,M,Y,null);Ra(D,M)}return null}function ne(D,L,M,Y,ge){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return D=D.get(M)||null,R(L,D,""+Y,ge);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case F:return D=D.get(Y.key===null?M:Y.key)||null,O(L,D,Y,ge);case z:return D=D.get(Y.key===null?M:Y.key)||null,U(L,D,Y,ge);case se:var be=Y._init;return ne(D,L,M,be(Y._payload),ge)}if(Zn(Y)||Z(Y))return D=D.get(M)||null,Q(L,D,Y,ge,null);Ra(L,Y)}return null}function ue(D,L,M,Y){for(var ge=null,be=null,Se=L,Ce=L=0,pt=null;Se!==null&&Ce<M.length;Ce++){Se.index>Ce?(pt=Se,Se=null):pt=Se.sibling;var De=q(D,Se,M[Ce],Y);if(De===null){Se===null&&(Se=pt);break}n&&Se&&De.alternate===null&&o(D,Se),L=m(De,L,Ce),be===null?ge=De:be.sibling=De,be=De,Se=pt}if(Ce===M.length)return i(D,Se),qe&&Kr(D,Ce),ge;if(Se===null){for(;Ce<M.length;Ce++)Se=K(D,M[Ce],Y),Se!==null&&(L=m(Se,L,Ce),be===null?ge=Se:be.sibling=Se,be=Se);return qe&&Kr(D,Ce),ge}for(Se=c(D,Se);Ce<M.length;Ce++)pt=ne(Se,D,Ce,M[Ce],Y),pt!==null&&(n&&pt.alternate!==null&&Se.delete(pt.key===null?Ce:pt.key),L=m(pt,L,Ce),be===null?ge=pt:be.sibling=pt,be=pt);return n&&Se.forEach(function(xr){return o(D,xr)}),qe&&Kr(D,Ce),ge}function me(D,L,M,Y){var ge=Z(M);if(typeof ge!="function")throw Error(r(150));if(M=ge.call(M),M==null)throw Error(r(151));for(var be=ge=null,Se=L,Ce=L=0,pt=null,De=M.next();Se!==null&&!De.done;Ce++,De=M.next()){Se.index>Ce?(pt=Se,Se=null):pt=Se.sibling;var xr=q(D,Se,De.value,Y);if(xr===null){Se===null&&(Se=pt);break}n&&Se&&xr.alternate===null&&o(D,Se),L=m(xr,L,Ce),be===null?ge=xr:be.sibling=xr,be=xr,Se=pt}if(De.done)return i(D,Se),qe&&Kr(D,Ce),ge;if(Se===null){for(;!De.done;Ce++,De=M.next())De=K(D,De.value,Y),De!==null&&(L=m(De,L,Ce),be===null?ge=De:be.sibling=De,be=De);return qe&&Kr(D,Ce),ge}for(Se=c(D,Se);!De.done;Ce++,De=M.next())De=ne(Se,D,Ce,De.value,Y),De!==null&&(n&&De.alternate!==null&&Se.delete(De.key===null?Ce:De.key),L=m(De,L,Ce),be===null?ge=De:be.sibling=De,be=De);return n&&Se.forEach(function(d1){return o(D,d1)}),qe&&Kr(D,Ce),ge}
vendor: 5,324 bytes, line 38
38function et(D,L,M,Y){if(typeof M=="object"&&M!==null&&M.type===V&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case F:e:{for(var ge=M.key,be=L;be!==null;){if(be.key===ge){if(ge=M.type,ge===V){if(be.tag===7){i(D,be.sibling),L=f(be,M.props.children),L.return=D,D=L;break e}}else if(be.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===se&&yp(ge)===be.type){i(D,be.sibling),L=f(be,M.props),L.ref=si(D,be,M),L.return=D,D=L;break e}i(D,be);break}else o(D,be);be=be.sibling}M.type===V?(L=no(M.props.children,D.mode,Y,M.key),L.return=D,D=L):(Y=Ja(M.type,M.key,M.props,null,D.mode,Y),Y.ref=si(D,L,M),Y.return=D,D=Y)}return x(D);case z:e:{for(be=M.key;L!==null;){if(L.key===be)if(L.tag===4&&L.stateNode.containerInfo===M.containerInfo&&L.stateNode.implementation===M.implementation){i(D,L.sibling),L=f(L,M.children||[]),L.return=D,D=L;break e}else{i(D,L);break}else o(D,L);L=L.sibling}L=Hu(M,D.mode,Y),L.return=D,D=L}return x(D);case se:return be=M._init,et(D,L,be(M._payload),Y)}if(Zn(M))return ue(D,L,M,Y);if(Z(M))return me(D,L,M,Y);Ra(D,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,L!==null&&L.tag===6?(i(D,L.sibling),L=f(L,M),L.return=D,D=L):(i(D,L),L=Vu(M,D.mode,Y),L.return=D,D=L),x(D)):i(D,L)}return et}var Ko=vp(!0),xp=vp(!1),Ta=lr(null),Pa=null,Go=null,eu=null;function tu(){eu=Go=Pa=null}function nu(n){var o=Ta.current;He(Ta),n._currentValue=o}function ru(n,o,i){for(;n!==null;){var c=n.alternate;if((n.childLanes&o)!==o?(n.childLanes|=o,c!==null&&(c.childLanes|=o)):c!==null&&(c.childLanes&o)!==o&&(c.childLanes|=o),n===i)break;n=n.return}}function Yo(n,o){Pa=n,eu=Go=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&o)!==0&&(It=!0),n.firstContext=null)}function Jt(n){var o=n._currentValue;if(eu!==n)if(n={context:n,memoizedValue:o,next:null},Go===null){if(Pa===null)throw Error(r(308));Go=n,Pa.dependencies={lanes:0,firstContext:n}}else Go=Go.next=n;return o}var Gr=null;function ou(n){Gr===null?Gr=[n]:Gr.push(n)}function wp(n,o,i,c){var f=o.interleaved;return f===null?(i.next=i,ou(o)):(i.next=f.next,f.next=i),o.interleaved=i,Bn(n,c)}function Bn(n,o){n.lanes|=o;var i=n.alternate;for(i!==null&&(i.lanes|=o),i=n,n=n.return;n!==null;)n.childLanes|=o,i=n.alternate,i!==null&&(i.childLanes|=o),i=n,n=n.return;return i.tag===3?i.stateNode:null}var dr=!1;function su(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bp(n,o){n=n.updateQueue,o.updateQueue===n&&(o.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function $n(n,o){return{eventTime:n,lane:o,tag:0,payload:null,callback:null,next:null}}function fr(n,o,i){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Ie&2)!==0){var f=c.pending;return f===null?o.next=o:(o.next=f.next,f.next=o),c.pending=o,Bn(n,i)}return f=c.interleaved,f===null?(o.next=o,ou(c)):(o.next=f.next,f.next=o),c.interleaved=o,Bn(n,i)}function Oa(n,o,i){if(o=o.updateQueue,o!==null&&(o=o.shared,(i&4194240)!==0)){var c=o.lanes;c&=n.pendingLanes,i|=c,o.lanes=i,xc(n,i)}}function Sp(n,o){var i=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,i===c)){var f=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var x={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};m===null?f=m=x:m=m.next=x,i=i.next}while(i!==null);m===null?f=m=o:m=m.next=o}else f=m=o;i={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:m,shared:c.shared,effects:c.effects},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=o:n.next=o,i.lastBaseUpdate=o}function Aa(n,o,i,c){var f=n.updateQueue;dr=!1;var m=f.firstBaseUpdate,x=f.lastBaseUpdate,R=f.shared.pending;if(R!==null){f.shared.pending=null;var O=R,U=O.next;O.next=null,x===null?m=U:x.next=U,x=O;var Q=n.alternate;Q!==null&&(Q=Q.updateQueue,R=Q.lastBaseUpdate,R!==x&&(R===null?Q.firstBaseUpdate=U:R.next=U,Q.lastBaseUpdate=O))}if(m!==null){var K=f.baseState;x=0,Q=U=O=null,R=m;do{var q=R.lane,ne=R.eventTime;if((c&q)===q){Q!==null&&(Q=Q.next={eventTime:ne,lane:0,tag:R.tag,payload:R.payload,callback:R.callback,next:null});e:{var ue=n,me=R;switch(q=o,ne=i,me.tag){case 1:if(ue=me.payload,typeof ue=="function"){K=ue.call(ne,K,q);break e}K=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=me.payload,q=typeof ue=="function"?ue.call(ne,K,q):ue,q==null)break e;K=$({},K,q);break e;case 2:dr=!0}}R.callback!==null&&R.lane!==0&&(n.flags|=64,q=f.effects,q===null?f.effects=[R]:q.push(R))}else ne={eventTime:ne,lane:q,tag:R.tag,payload:R.payload,callback:R.callback,next:null},Q===null?(U=Q=ne,O=K):Q=Q.next=ne,x|=q;if(R=R.next,R===null){if(R=f.shared.pending,R===null)break;q=R,R=q.next,q.next=null,f.lastBaseUpdate=q,f.shared.pending=null}}while(!0);if(Q===null&&(O=K),f.baseState=O,f.firstBaseUpdate=U,f.lastBaseUpdate=Q,o=f.shared.interleaved,o!==null){f=o;do x|=f.lane,f=f.next;while(f!==o)}else m===null&&(f.shared.lanes=0);Jr|=x,n.lanes=x,n.memoizedState=K}}function kp(n,o,i){if(n=o.effects,o.effects=null,n!==null)for(o=0;o<n.length;o++){var c=n[o],f=c.callback;if(f!==null){if(c.callback=null,c=i,typeof f!="function")throw Error(r(191,f));f.call(c)}}}var ii={},Sn=lr(ii),ai=lr(ii),li=lr(ii);
vendor: 9,081 bytes, line 38
38function Yr(n){if(n===ii)throw Error(r(174));return n}function iu(n,o){switch($e(li,o),$e(ai,n),$e(Sn,ii),n=o.nodeType,n){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:ac(null,"");break;default:n=n===8?o.parentNode:o,o=n.namespaceURI||null,n=n.tagName,o=ac(o,n)}He(Sn),$e(Sn,o)}function Xo(){He(Sn),He(ai),He(li)}function Ep(n){Yr(li.current);var o=Yr(Sn.current),i=ac(o,n.type);o!==i&&($e(ai,n),$e(Sn,i))}function au(n){ai.current===n&&(He(Sn),He(ai))}var Ge=lr(0);function ja(n){for(var o=n;o!==null;){if(o.tag===13){var i=o.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var lu=[];function cu(){for(var n=0;n<lu.length;n++)lu[n]._workInProgressVersionPrimary=null;lu.length=0}var La=T.ReactCurrentDispatcher,uu=T.ReactCurrentBatchConfig,Xr=0,Ye=null,at=null,ft=null,Ia=!1,ci=!1,ui=0,jb=0;function Et(){throw Error(r(321))}function du(n,o){if(o===null)return!1;for(var i=0;i<o.length&&i<n.length;i++)if(!an(n[i],o[i]))return!1;return!0}function fu(n,o,i,c,f,m){if(Xr=m,Ye=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,La.current=n===null||n.memoizedState===null?Mb:Fb,n=i(c,f),ci){m=0;do{if(ci=!1,ui=0,25<=m)throw Error(r(301));m+=1,ft=at=null,o.updateQueue=null,La.current=zb,n=i(c,f)}while(ci)}if(La.current=Fa,o=at!==null&&at.next!==null,Xr=0,ft=at=Ye=null,Ia=!1,o)throw Error(r(300));return n}function hu(){var n=ui!==0;return ui=0,n}function kn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Ye.memoizedState=ft=n:ft=ft.next=n,ft}function Zt(){if(at===null){var n=Ye.alternate;n=n!==null?n.memoizedState:null}else n=at.next;var o=ft===null?Ye.memoizedState:ft.next;if(o!==null)ft=o,at=n;else{if(n===null)throw Error(r(310));at=n,n={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},ft===null?Ye.memoizedState=ft=n:ft=ft.next=n}return ft}function di(n,o){return typeof o=="function"?o(n):o}function pu(n){var o=Zt(),i=o.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=n;var c=at,f=c.baseQueue,m=i.pending;if(m!==null){if(f!==null){var x=f.next;f.next=m.next,m.next=x}c.baseQueue=f=m,i.pending=null}if(f!==null){m=f.next,c=c.baseState;var R=x=null,O=null,U=m;do{var Q=U.lane;if((Xr&Q)===Q)O!==null&&(O=O.next={lane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),c=U.hasEagerState?U.eagerState:n(c,U.action);else{var K={lane:Q,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null};O===null?(R=O=K,x=c):O=O.next=K,Ye.lanes|=Q,Jr|=Q}U=U.next}while(U!==null&&U!==m);O===null?x=c:O.next=R,an(c,o.memoizedState)||(It=!0),o.memoizedState=c,o.baseState=x,o.baseQueue=O,i.lastRenderedState=c}if(n=i.interleaved,n!==null){f=n;do m=f.lane,Ye.lanes|=m,Jr|=m,f=f.next;while(f!==n)}else f===null&&(i.lanes=0);return[o.memoizedState,i.dispatch]}function mu(n){var o=Zt(),i=o.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=n;var c=i.dispatch,f=i.pending,m=o.memoizedState;if(f!==null){i.pending=null;var x=f=f.next;do m=n(m,x.action),x=x.next;while(x!==f);an(m,o.memoizedState)||(It=!0),o.memoizedState=m,o.baseQueue===null&&(o.baseState=m),i.lastRenderedState=m}return[m,c]}function _p(){}function Cp(n,o){var i=Ye,c=Zt(),f=o(),m=!an(c.memoizedState,f);if(m&&(c.memoizedState=f,It=!0),c=c.queue,gu(Tp.bind(null,i,c,n),[n]),c.getSnapshot!==o||m||ft!==null&&ft.memoizedState.tag&1){if(i.flags|=2048,fi(9,Rp.bind(null,i,c,f,o),void 0,null),ht===null)throw Error(r(349));(Xr&30)!==0||Np(i,o,f)}return f}function Np(n,o,i){n.flags|=16384,n={getSnapshot:o,value:i},o=Ye.updateQueue,o===null?(o={lastEffect:null,stores:null},Ye.updateQueue=o,o.stores=[n]):(i=o.stores,i===null?o.stores=[n]:i.push(n))}function Rp(n,o,i,c){o.value=i,o.getSnapshot=c,Pp(o)&&Op(n)}function Tp(n,o,i){return i(function(){Pp(o)&&Op(n)})}function Pp(n){var o=n.getSnapshot;n=n.value;try{var i=o();return!an(n,i)}catch{return!0}}function Op(n){var o=Bn(n,1);o!==null&&fn(o,n,1,-1)}function Ap(n){var o=kn();return typeof n=="function"&&(n=n()),o.memoizedState=o.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:di,lastRenderedState:n},o.queue=n,n=n.dispatch=Db.bind(null,Ye,n),[o.memoizedState,n]}function fi(n,o,i,c){return n={tag:n,create:o,destroy:i,deps:c,next:null},o=Ye.updateQueue,o===null?(o={lastEffect:null,stores:null},Ye.updateQueue=o,o.lastEffect=n.next=n):(i=o.lastEffect,i===null?o.lastEffect=n.next=n:(c=i.next,i.next=n,n.next=c,o.lastEffect=n)),n}function jp(){return Zt().memoizedState}function Da(n,o,i,c){var f=kn();Ye.flags|=n,f.memoizedState=fi(1|o,i,void 0,c===void 0?null:c)}function Ma(n,o,i,c){var f=Zt();c=c===void 0?null:c;var m=void 0;if(at!==null){var x=at.memoizedState;if(m=x.destroy,c!==null&&du(c,x.deps)){f.memoizedState=fi(o,i,m,c);return}}Ye.flags|=n,f.memoizedState=fi(1|o,i,m,c)}function Lp(n,o){return Da(8390656,8,n,o)}function gu(n,o){return Ma(2048,8,n,o)}function Ip(n,o){return Ma(4,2,n,o)}function Dp(n,o){return Ma(4,4,n,o)}function Mp(n,o){if(typeof o=="function")return n=n(),o(n),function(){o(null)};if(o!=null)return n=n(),o.current=n,function(){o.current=null}}function Fp(n,o,i){return i=i!=null?i.concat([n]):null,Ma(4,4,Mp.bind(null,o,n),i)}function yu(){}function zp(n,o){var i=Zt();o=o===void 0?null:o;var c=i.memoizedState;return c!==null&&o!==null&&du(o,c[1])?c[0]:(i.memoizedState=[n,o],n)}function Up(n,o){var i=Zt();o=o===void 0?null:o;var c=i.memoizedState;return c!==null&&o!==null&&du(o,c[1])?c[0]:(n=n(),i.memoizedState=[n,o],n)}function Bp(n,o,i){return(Xr&21)===0?(n.baseState&&(n.baseState=!1,It=!0),n.memoizedState=i):(an(i,o)||(i=yh(),Ye.lanes|=i,Jr|=i,n.baseState=!0),o)}function Lb(n,o){var i=ze;ze=i!==0&&4>i?i:4,n(!0);var c=uu.transition;uu.transition={};try{n(!1),o()}finally{ze=i,uu.transition=c}}function $p(){return Zt().memoizedState}function Ib(n,o,i){var c=gr(n);if(i={lane:c,action:i,hasEagerState:!1,eagerState:null,next:null},Wp(n))Vp(o,i);else if(i=wp(n,o,i,c),i!==null){var f=Ot();fn(i,n,c,f),Hp(i,o,c)}}function Db(n,o,i){var c=gr(n),f={lane:c,action:i,hasEagerState:!1,eagerState:null,next:null};if(Wp(n))Vp(o,f);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=o.lastRenderedReducer,m!==null))try{var x=o.lastRenderedState,R=m(x,i);if(f.hasEagerState=!0,f.eagerState=R,an(R,x)){var O=o.interleaved;O===null?(f.next=f,ou(o)):(f.next=O.next,O.next=f),o.interleaved=f;return}}catch{}finally{}i=wp(n,o,f,c),i!==null&&(f=Ot(),fn(i,n,c,f),Hp(i,o,c))}}function Wp(n){var o=n.alternate;return n===Ye||o!==null&&o===Ye}function Vp(n,o){ci=Ia=!0;var i=n.pending;i===null?o.next=o:(o.next=i.next,i.next=o),n.pending=o}function Hp(n,o,i){if((i&4194240)!==0){var c=o.lanes;c&=n.pendingLanes,i|=c,o.lanes=i,xc(n,i)}}var Fa={readContext:Jt,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},Mb={readContext:Jt,useCallback:function(n,o){return kn().memoizedState=[n,o===void 0?null:o],n},useContext:Jt,useEffect:Lp,useImperativeHandle:function(n,o,i){return i=i!=null?i.concat([n]):null,Da(4194308,4,Mp.bind(null,o,n),i)},useLayoutEffect:function(n,o){return Da(4194308,4,n,o)},useInsertionEffect:function(n,o){return Da(4,2,n,o)},useMemo:function(n,o){var i=kn();return o=o===void 0?null:o,n=n(),i.memoizedState=[n,o],n},useReducer:function(n,o,i){var c=kn();return o=i!==void 0?i(o):o,c.memoizedState=c.baseState=o,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:o},c.queue=n,n=n.dispatch=Ib.bind(null,Ye,n),[c.memoizedState,n]},useRef:function(n){var o=kn();return n={current:n},o.memoizedState=n},useState:Ap,useDebugValue:yu,useDeferredValue:function(n){return kn().memoizedState=n},useTransition:function(){var n=Ap(!1),o=n[0];return n=Lb.bind(null,n[1]),kn().memoizedState=n,[o,n]},useMutableSource:function(){},useSyncExternalStore:function(n,o,i){var c=Ye,f=kn();if(qe){if(i===void 0)throw Error(r(407));i=i()}else{if(i=o(),ht===null)throw Error(r(349));(Xr&30)!==0||Np(c,o,i)}f.memoizedState=i;var m={value:i,getSnapshot:o};return f.queue=m,Lp(Tp.bind(null,c,m,n),[n]),c.flags|=2048,fi(9,Rp.bind(null,c,m,i,o),void 0,null),i},useId:function(){var n=kn(),o=ht.identifierPrefix;if(qe){var i=Un,c=zn;i=(c&~(1<<32-sn(c)-1)).toString(32)+i,o=":"+o+"R"+i,i=ui++,0<i&&(o+="H"+i.toString(32)),o+=":"}else i=jb++,o=":"+o+"r"+i.toString(32)+":";return n.memoizedState=o},unstable_isNewReconciler:!1},Fb={readContext:Jt,useCallback:zp,useContext:Jt,useEffect:gu,useImperativeHandle:Fp,useInsertionEffect:Ip,useLayoutEffect:Dp,useMemo:Up,useReducer:pu,useRef:jp,use
vendor: 6,217 bytes, lines 38-40
38State:function(){return pu(di)},useDebugValue:yu,useDeferredValue:function(n){var o=Zt();return Bp(o,at.memoizedState,n)},useTransition:function(){var n=pu(di)[0],o=Zt().memoizedState;return[n,o]},useMutableSource:_p,useSyncExternalStore:Cp,useId:$p,unstable_isNewReconciler:!1},zb={readContext:Jt,useCallback:zp,useContext:Jt,useEffect:gu,useImperativeHandle:Fp,useInsertionEffect:Ip,useLayoutEffect:Dp,useMemo:Up,useReducer:mu,useRef:jp,useState:function(){return mu(di)},useDebugValue:yu,useDeferredValue:function(n){var o=Zt();return at===null?o.memoizedState=n:Bp(o,at.memoizedState,n)},useTransition:function(){var n=mu(di)[0],o=Zt().memoizedState;return[n,o]},useMutableSource:_p,useSyncExternalStore:Cp,useId:$p,unstable_isNewReconciler:!1};function cn(n,o){if(n&&n.defaultProps){o=$({},o),n=n.defaultProps;for(var i in n)o[i]===void 0&&(o[i]=n[i]);return o}return o}function vu(n,o,i,c){o=n.memoizedState,i=i(c,o),i=i==null?o:$({},o,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var za={isMounted:function(n){return(n=n._reactInternals)?Vr(n)===n:!1},enqueueSetState:function(n,o,i){n=n._reactInternals;var c=Ot(),f=gr(n),m=$n(c,f);m.payload=o,i!=null&&(m.callback=i),o=fr(n,m,f),o!==null&&(fn(o,n,f,c),Oa(o,n,f))},enqueueReplaceState:function(n,o,i){n=n._reactInternals;var c=Ot(),f=gr(n),m=$n(c,f);m.tag=1,m.payload=o,i!=null&&(m.callback=i),o=fr(n,m,f),o!==null&&(fn(o,n,f,c),Oa(o,n,f))},enqueueForceUpdate:function(n,o){n=n._reactInternals;var i=Ot(),c=gr(n),f=$n(i,c);f.tag=2,o!=null&&(f.callback=o),o=fr(n,f,c),o!==null&&(fn(o,n,c,i),Oa(o,n,c))}};function qp(n,o,i,c,f,m,x){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,m,x):o.prototype&&o.prototype.isPureReactComponent?!Js(i,c)||!Js(f,m):!0}function Qp(n,o,i){var c=!1,f=cr,m=o.contextType;return typeof m=="object"&&m!==null?m=Jt(m):(f=Lt(o)?qr:kt.current,c=o.contextTypes,m=(c=c!=null)?Vo(n,f):cr),o=new o(i,m),n.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=za,n.stateNode=o,o._reactInternals=n,c&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=m),o}function Kp(n,o,i,c){n=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(i,c),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(i,c),o.state!==n&&za.enqueueReplaceState(o,o.state,null)}function xu(n,o,i,c){var f=n.stateNode;f.props=i,f.state=n.memoizedState,f.refs={},su(n);var m=o.contextType;typeof m=="object"&&m!==null?f.context=Jt(m):(m=Lt(o)?qr:kt.current,f.context=Vo(n,m)),f.state=n.memoizedState,m=o.getDerivedStateFromProps,typeof m=="function"&&(vu(n,o,m,i),f.state=n.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(o=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),o!==f.state&&za.enqueueReplaceState(f,f.state,null),Aa(n,i,f,c),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function Jo(n,o){try{var i="",c=o;do i+=ye(c),c=c.return;while(c);var f=i}catch(m){f=` 39Error generating stack: `+m.message+` 40`+m.stack}return{value:n,source:o,stack:f,digest:null}}function wu(n,o,i){return{value:n,source:null,stack:i??null,digest:o??null}}function bu(n,o){try{console.error(o.value)}catch(i){setTimeout(function(){throw i})}}var Ub=typeof WeakMap=="function"?WeakMap:Map;function Gp(n,o,i){i=$n(-1,i),i.tag=3,i.payload={element:null};var c=o.value;return i.callback=function(){qa||(qa=!0,Du=c),bu(n,o)},i}function Yp(n,o,i){i=$n(-1,i),i.tag=3;var c=n.type.getDerivedStateFromError;if(typeof c=="function"){var f=o.value;i.payload=function(){return c(f)},i.callback=function(){bu(n,o)}}var m=n.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(i.callback=function(){bu(n,o),typeof c!="function"&&(pr===null?pr=new Set([this]):pr.add(this));var x=o.stack;this.componentDidCatch(o.value,{componentStack:x!==null?x:""})}),i}function Xp(n,o,i){var c=n.pingCache;if(c===null){c=n.pingCache=new Ub;var f=new Set;c.set(o,f)}else f=c.get(o),f===void 0&&(f=new Set,c.set(o,f));f.has(i)||(f.add(i),n=e1.bind(null,n,o,i),o.then(n,n))}function Jp(n){do{var o;if((o=n.tag===13)&&(o=n.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return n;n=n.return}while(n!==null);return null}function Zp(n,o,i,c,f){return(n.mode&1)===0?(n===o?n.flags|=65536:(n.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(o=$n(-1,1),o.tag=2,fr(i,o,1))),i.lanes|=1),n):(n.flags|=65536,n.lanes=f,n)}var Bb=T.ReactCurrentOwner,It=!1;function Pt(n,o,i,c){o.child=n===null?xp(o,null,i,c):Ko(o,n.child,i,c)}function em(n,o,i,c,f){i=i.render;var m=o.ref;return Yo(o,f),c=fu(n,o,i,c,m,f),i=hu(),n!==null&&!It?(o.updateQueue=n.updateQueue,o.flags&=-2053,n.lanes&=~f,Wn(n,o,f)):(qe&&i&&Gc(o),o.flags|=1,Pt(n,o,c,f),o.child)}function tm(n,o,i,c,f){if(n===null){var m=i.type;return typeof m=="function"&&!Wu(m)&&m.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(o.tag=15,o.type=m,nm(n,o,m,c,f)):(n=Ja(i.type,null,c,o,o.mode,f),n.ref=o.ref,n.return=o,o.child=n)}if(m=n.child,(n.lanes&f)===0){var x=m.memoizedProps;if(i=i.compare,i=i!==null?i:Js,i(x,c)&&n.ref===o.ref)return Wn(n,o,f)}return o.flags|=1,n=vr(m,c),n.ref=o.ref,n.return=o,o.child=n}function nm(n,o,i,c,f){if(n!==null){var m=n.memoizedProps;if(Js(m,c)&&n.ref===o.ref)if(It=!1,o.pendingProps=c=m,(n.lanes&f)!==0)(n.flags&131072)!==0&&(It=!0);else return o.lanes=n.lanes,Wn(n,o,f)}return Su(n,o,i,c,f)}function rm(n,o,i){var c=o.pendingProps,f=c.children,m=n!==null?n.memoizedState:null;if(c.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},$e(es,Qt),Qt|=i;else{if((i&1073741824)===0)return n=m!==null?m.baseLanes|i:i,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:n,cachePool:null,transitions:null},o.updateQueue=null,$e(es,Qt),Qt|=n,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=m!==null?m.baseLanes:i,$e(es,Qt),Qt|=c}
vendor: 37,478 bytes, line 40
40else m!==null?(c=m.baseLanes|i,o.memoizedState=null):c=i,$e(es,Qt),Qt|=c;return Pt(n,o,f,i),o.child}function om(n,o){var i=o.ref;(n===null&&i!==null||n!==null&&n.ref!==i)&&(o.flags|=512,o.flags|=2097152)}function Su(n,o,i,c,f){var m=Lt(i)?qr:kt.current;return m=Vo(o,m),Yo(o,f),i=fu(n,o,i,c,m,f),c=hu(),n!==null&&!It?(o.updateQueue=n.updateQueue,o.flags&=-2053,n.lanes&=~f,Wn(n,o,f)):(qe&&c&&Gc(o),o.flags|=1,Pt(n,o,i,f),o.child)}function sm(n,o,i,c,f){if(Lt(i)){var m=!0;ka(o)}else m=!1;if(Yo(o,f),o.stateNode===null)Ba(n,o),Qp(o,i,c),xu(o,i,c,f),c=!0;else if(n===null){var x=o.stateNode,R=o.memoizedProps;x.props=R;var O=x.context,U=i.contextType;typeof U=="object"&&U!==null?U=Jt(U):(U=Lt(i)?qr:kt.current,U=Vo(o,U));var Q=i.getDerivedStateFromProps,K=typeof Q=="function"||typeof x.getSnapshotBeforeUpdate=="function";K||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(R!==c||O!==U)&&Kp(o,x,c,U),dr=!1;var q=o.memoizedState;x.state=q,Aa(o,c,x,f),O=o.memoizedState,R!==c||q!==O||jt.current||dr?(typeof Q=="function"&&(vu(o,i,Q,c),O=o.memoizedState),(R=dr||qp(o,i,R,c,q,O,U))?(K||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(o.flags|=4194308)):(typeof x.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=c,o.memoizedState=O),x.props=c,x.state=O,x.context=U,c=R):(typeof x.componentDidMount=="function"&&(o.flags|=4194308),c=!1)}else{x=o.stateNode,bp(n,o),R=o.memoizedProps,U=o.type===o.elementType?R:cn(o.type,R),x.props=U,K=o.pendingProps,q=x.context,O=i.contextType,typeof O=="object"&&O!==null?O=Jt(O):(O=Lt(i)?qr:kt.current,O=Vo(o,O));var ne=i.getDerivedStateFromProps;(Q=typeof ne=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(R!==K||q!==O)&&Kp(o,x,c,O),dr=!1,q=o.memoizedState,x.state=q,Aa(o,c,x,f);var ue=o.memoizedState;R!==K||q!==ue||jt.current||dr?(typeof ne=="function"&&(vu(o,i,ne,c),ue=o.memoizedState),(U=dr||qp(o,i,U,c,q,ue,O)||!1)?(Q||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(c,ue,O),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(c,ue,O)),typeof x.componentDidUpdate=="function"&&(o.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof x.componentDidUpdate!="function"||R===n.memoizedProps&&q===n.memoizedState||(o.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||R===n.memoizedProps&&q===n.memoizedState||(o.flags|=1024),o.memoizedProps=c,o.memoizedState=ue),x.props=c,x.state=ue,x.context=O,c=U):(typeof x.componentDidUpdate!="function"||R===n.memoizedProps&&q===n.memoizedState||(o.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||R===n.memoizedProps&&q===n.memoizedState||(o.flags|=1024),c=!1)}return ku(n,o,i,c,m,f)}function ku(n,o,i,c,f,m){om(n,o);var x=(o.flags&128)!==0;if(!c&&!x)return f&&up(o,i,!1),Wn(n,o,m);c=o.stateNode,Bb.current=o;var R=x&&typeof i.getDerivedStateFromError!="function"?null:c.render();return o.flags|=1,n!==null&&x?(o.child=Ko(o,n.child,null,m),o.child=Ko(o,null,R,m)):Pt(n,o,R,m),o.memoizedState=c.state,f&&up(o,i,!0),o.child}function im(n){var o=n.stateNode;o.pendingContext?lp(n,o.pendingContext,o.pendingContext!==o.context):o.context&&lp(n,o.context,!1),iu(n,o.containerInfo)}function am(n,o,i,c,f){return Qo(),Zc(f),o.flags|=256,Pt(n,o,i,c),o.child}var Eu={dehydrated:null,treeContext:null,retryLane:0};function _u(n){return{baseLanes:n,cachePool:null,transitions:null}}function lm(n,o,i){var c=o.pendingProps,f=Ge.current,m=!1,x=(o.flags&128)!==0,R;if((R=x)||(R=n!==null&&n.memoizedState===null?!1:(f&2)!==0),R?(m=!0,o.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),$e(Ge,f&1),n===null)return Jc(o),n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((o.mode&1)===0?o.lanes=1:n.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(x=c.children,n=c.fallback,m?(c=o.mode,m=o.child,x={mode:"hidden",children:x},(c&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=x):m=Za(x,c,0,null),n=no(n,c,i,null),m.return=o,n.return=o,m.sibling=n,o.child=m,o.child.memoizedState=_u(i),o.memoizedState=Eu,n):Cu(o,x));if(f=n.memoizedState,f!==null&&(R=f.dehydrated,R!==null))return $b(n,o,x,c,R,f,i);if(m){m=c.fallback,x=o.mode,f=n.child,R=f.sibling;var O={mode:"hidden",children:c.children};return(x&1)===0&&o.child!==f?(c=o.child,c.childLanes=0,c.pendingProps=O,o.deletions=null):(c=vr(f,O),c.subtreeFlags=f.subtreeFlags&14680064),R!==null?m=vr(R,m):(m=no(m,x,i,null),m.flags|=2),m.return=o,c.return=o,c.sibling=m,o.child=c,c=m,m=o.child,x=n.child.memoizedState,x=x===null?_u(i):{baseLanes:x.baseLanes|i,cachePool:null,transitions:x.transitions},m.memoizedState=x,m.childLanes=n.childLanes&~i,o.memoizedState=Eu,c}return m=n.child,n=m.sibling,c=vr(m,{mode:"visible",children:c.children}),(o.mode&1)===0&&(c.lanes=i),c.return=o,c.sibling=null,n!==null&&(i=o.deletions,i===null?(o.deletions=[n],o.flags|=16):i.push(n)),o.child=c,o.memoizedState=null,c}function Cu(n,o){return o=Za({mode:"visible",children:o},n.mode,0,null),o.return=n,n.child=o}function Ua(n,o,i,c){return c!==null&&Zc(c),Ko(o,n.child,null,i),n=Cu(o,o.pendingProps.children),n.flags|=2,o.memoizedState=null,n}function $b(n,o,i,c,f,m,x){if(i)return o.flags&256?(o.flags&=-257,c=wu(Error(r(422))),Ua(n,o,x,c)):o.memoizedState!==null?(o.child=n.child,o.flags|=128,null):(m=c.fallback,f=o.mode,c=Za({mode:"visible",children:c.children},f,0,null),m=no(m,f,x,null),m.flags|=2,c.return=o,m.return=o,c.sibling=m,o.child=c,(o.mode&1)!==0&&Ko(o,n.child,null,x),o.child.memoizedState=_u(x),o.memoizedState=Eu,m);if((o.mode&1)===0)return Ua(n,o,x,null);if(f.data==="$!"){if(c=f.nextSibling&&f.nextSibling.dataset,c)var R=c.dgst;return c=R,m=Error(r(419)),c=wu(m,c,void 0),Ua(n,o,x,c)}if(R=(x&n.childLanes)!==0,It||R){if(c=ht,c!==null){switch(x&-x){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(c.suspendedLanes|x))!==0?0:f,f!==0&&f!==m.retryLane&&(m.retryLane=f,Bn(n,f),fn(c,n,f,-1))}return $u(),c=wu(Error(r(421))),Ua(n,o,x,c)}return f.data==="$?"?(o.flags|=128,o.child=n.child,o=t1.bind(null,n),f._reactRetry=o,null):(n=m.treeContext,qt=ar(f.nextSibling),Ht=o,qe=!0,ln=null,n!==null&&(Yt[Xt++]=zn,Yt[Xt++]=Un,Yt[Xt++]=Qr,zn=n.id,Un=n.overflow,Qr=o),o=Cu(o,c.children),o.flags|=4096,o)}function cm(n,o,i){n.lanes|=o;var c=n.alternate;c!==null&&(c.lanes|=o),ru(n.return,o,i)}function Nu(n,o,i,c,f){var m=n.memoizedState;m===null?n.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:c,tail:i,tailMode:f}:(m.isBackwards=o,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=i,m.tailMode=f)}function um(n,o,i){var c=o.pendingProps,f=c.revealOrder,m=c.tail;if(Pt(n,o,c.children,i),c=Ge.current,(c&2)!==0)c=c&1|2,o.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=o.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&cm(n,i,o);else if(n.tag===19)cm(n,i,o);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===o)break e;for(;n.sibling===null;){if(n.return===null||n.return===o)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}c&=1}if($e(Ge,c),(o.mode&1)===0)o.memoizedState=null;else switch(f){case"forwards":for(i=o.child,f=null;i!==null;)n=i.alternate,n!==null&&ja(n)===null&&(f=i),i=i.sibling;i=f,i===null?(f=o.child,o.child=null):(f=i.sibling,i.sibling=null),Nu(o,!1,f,i,m);break;case"backwards":for(i=null,f=o.child,o.child=null;f!==null;){if(n=f.alternate,n!==null&&ja(n)===null){o.child=f;break}n=f.sibling,f.sibling=i,i=f,f=n}Nu(o,!0,i,null,m);break;case"together":Nu(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Ba(n,o){(o.mode&1)===0&&n!==null&&(n.alternate=null,o.alternate=null,o.flags|=2)}function Wn(n,o,i){if(n!==null&&(o.dependencies=n.dependencies),Jr|=o.lanes,(i&o.childLanes)===0)return null;if(n!==null&&o.child!==n.child)throw Error(r(153));if(o.child!==null){for(n=o.child,i=vr(n,n.pendingProps),o.child=i,i.return=o;n.sibling!==null;)n=n.sibling,i=i.sibling=vr(n,n.pendingProps),i.return=o;i.sibling=null}return o.child}function Wb(n,o,i){switch(o.tag){case 3:im(o),Qo();break;case 5:Ep(o);break;case 1:Lt(o.type)&&ka(o);break;case 4:iu(o,o.stateNode.containerInfo);break;case 10:var c=o.type._context,f=o.memoizedProps.value;$e(Ta,c._currentValue),c._currentValue=f;break;case 13:if(c=o.memoizedState,c!==null)return c.dehydrated!==null?($e(Ge,Ge.current&1),o.flags|=128,null):(i&o.child.childLanes)!==0?lm(n,o,i):($e(Ge,Ge.current&1),n=Wn(n,o,i),n!==null?n.sibling:null);$e(Ge,Ge.current&1);break;case 19:if(c=(i&o.childLanes)!==0,(n.flags&128)!==0){if(c)return um(n,o,i);o.flags|=128}if(f=o.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),$e(Ge,Ge.current),c)break;return null;case 22:case 23:return o.lanes=0,rm(n,o,i)}return Wn(n,o,i)}var dm,Ru,fm,hm;dm=function(n,o){for(var i=o.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Ru=function(){},fm=function(n,o,i,c){var f=n.memoizedProps;if(f!==c){n=o.stateNode,Yr(Sn.current);var m=null;switch(i){case"input":f=Qe(n,f),c=Qe(n,c),m=[];break;case"select":f=$({},f,{value:void 0}),c=$({},c,{value:void 0}),m=[];break;case"textarea":f=Dn(n,f),c=Dn(n,c),m=[];break;default:typeof f.onClick!="function"&&typeof c.onClick=="function"&&(n.onclick=wa)}lc(i,c);var x;i=null;for(U in f)if(!c.hasOwnProperty(U)&&f.hasOwnProperty(U)&&f[U]!=null)if(U==="style"){var R=f[U];for(x in R)R.hasOwnProperty(x)&&(i||(i={}),i[x]="")}else U!=="dangerouslySetInnerHTML"&&U!=="children"&&U!=="suppressContentEditableWarning"&&U!=="suppressHydrationWarning"&&U!=="autoFocus"&&(a.hasOwnProperty(U)?m||(m=[]):(m=m||[]).push(U,null));for(U in c){var O=c[U];if(R=f!=null?f[U]:void 0,c.hasOwnProperty(U)&&O!==R&&(O!=null||R!=null))if(U==="style")if(R){for(x in R)!R.hasOwnProperty(x)||O&&O.hasOwnProperty(x)||(i||(i={}),i[x]="");for(x in O)O.hasOwnProperty(x)&&R[x]!==O[x]&&(i||(i={}),i[x]=O[x])}else i||(m||(m=[]),m.push(U,i)),i=O;else U==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,R=R?R.__html:void 0,O!=null&&R!==O&&(m=m||[]).push(U,O)):U==="children"?typeof O!="string"&&typeof O!="number"||(m=m||[]).push(U,""+O):U!=="suppressContentEditableWarning"&&U!=="suppressHydrationWarning"&&(a.hasOwnProperty(U)?(O!=null&&U==="onScroll"&&Ve("scroll",n),m||R===O||(m=[])):(m=m||[]).push(U,O))}i&&(m=m||[]).push("style",i);var U=m;(o.updateQueue=U)&&(o.flags|=4)}},hm=function(n,o,i,c){i!==c&&(o.flags|=4)};function hi(n,o){if(!qe)switch(n.tailMode){case"hidden":o=n.tail;for(var i=null;o!==null;)o.alternate!==null&&(i=o),o=o.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var c=null;i!==null;)i.alternate!==null&&(c=i),i=i.sibling;c===null?o||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function _t(n){var o=n.alternate!==null&&n.alternate.child===n.child,i=0,c=0;if(o)for(var f=n.child;f!==null;)i|=f.lanes|f.childLanes,c|=f.subtreeFlags&14680064,c|=f.flags&14680064,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)i|=f.lanes|f.childLanes,c|=f.subtreeFlags,c|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=c,n.childLanes=i,o}function Vb(n,o,i){var c=o.pendingProps;switch(Yc(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(o),null;case 1:return Lt(o.type)&&Sa(),_t(o),null;case 3:return c=o.stateNode,Xo(),He(jt),He(kt),cu(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&(Na(o)?o.flags|=4:n===null||n.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,ln!==null&&(zu(ln),ln=null))),Ru(n,o),_t(o),null;case 5:au(o);var f=Yr(li.current);if(i=o.type,n!==null&&o.stateNode!=null)fm(n,o,i,c,f),n.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!c){if(o.stateNode===null)throw Error(r(166));return _t(o),null}if(n=Yr(Sn.current),Na(o)){c=o.stateNode,i=o.type;var m=o.memoizedProps;switch(c[bn]=o,c[ri]=m,n=(o.mode&1)!==0,i){case"dialog":Ve("cancel",c),Ve("close",c);break;case"iframe":case"object":case"embed":Ve("load",c);break;case"video":case"audio":for(f=0;f<ei.length;f++)Ve(ei[f],c);break;case"source":Ve("error",c);break;case"img":case"image":case"link":Ve("error",c),Ve("load",c);break;case"details":Ve("toggle",c);break;case"input":dt(c,m),Ve("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!m.multiple},Ve("invalid",c);break;case"textarea":Yf(c,m),Ve("invalid",c)}lc(i,m),f=null;for(var x in m)if(m.hasOwnProperty(x)){var R=m[x];x==="children"?typeof R=="string"?c.textContent!==R&&(m.suppressHydrationWarning!==!0&&xa(c.textContent,R,n),f=["children",R]):typeof R=="number"&&c.textContent!==""+R&&(m.suppressHydrationWarning!==!0&&xa(c.textContent,R,n),f=["children",""+R]):a.hasOwnProperty(x)&&R!=null&&x==="onScroll"&&Ve("scroll",c)}switch(i){case"input":Te(c),Wt(c,m,!0);break;case"textarea":Te(c),Jf(c);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(c.onclick=wa)}c=f,o.updateQueue=c,c!==null&&(o.flags|=4)}else{x=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Zf(i)),n==="http://www.w3.org/1999/xhtml"?i==="script"?(n=x.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof c.is=="string"?n=x.createElement(i,{is:c.is}):(n=x.createElement(i),i==="select"&&(x=n,c.multiple?x.multiple=!0:c.size&&(x.size=c.size))):n=x.createElementNS(n,i),n[bn]=o,n[ri]=c,dm(n,o,!1,!1),o.stateNode=n;e:{switch(x=cc(i,c),i){case"dialog":Ve("cancel",n),Ve("close",n),f=c;break;case"iframe":case"object":case"embed":Ve("load",n),f=c;break;case"video":case"audio":for(f=0;f<ei.length;f++)Ve(ei[f],n);f=c;break;case"source":Ve("error",n),f=c;break;case"img":case"image":case"link":Ve("error",n),Ve("load",n),f=c;break;case"details":Ve("toggle",n),f=c;break;case"input":dt(n,c),f=Qe(n,c),Ve("invalid",n);break;case"option":f=c;break;case"select":n._wrapperState={wasMultiple:!!c.multiple},f=$({},c,{value:void 0}),Ve("invalid",n);break;case"textarea":Yf(n,c),f=Dn(n,c),Ve("invalid",n);break;default:f=c}lc(i,f),R=f;for(m in R)if(R.hasOwnProperty(m)){var O=R[m];m==="style"?nh(n,O):m==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,O!=null&&eh(n,O)):m==="children"?typeof O=="string"?(i!=="textarea"||O!=="")&&Is(n,O):typeof O=="number"&&Is(n,""+O):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(a.hasOwnProperty(m)?O!=null&&m==="onScroll"&&Ve("scroll",n):O!=null&&C(n,m,O,x))}switch(i){case"input":Te(n),Wt(n,c,!1);break;case"textarea":Te(n),Jf(n);break;case"option":c.value!=null&&n.setAttribute("value",""+fe(c.value));break;case"select":n.multiple=!!c.multiple,m=c.value,m!=null?er(n,!!c.multiple,m,!1):c.defaultValue!=null&&er(n,!!c.multiple,c.defaultValue,!0);break;default:typeof f.onClick=="function"&&(n.onclick=wa)}switch(i){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return _t(o),null;case 6:if(n&&o.stateNode!=null)hm(n,o,n.memoizedProps,c);else{if(typeof c!="string"&&o.stateNode===null)throw Error(r(166));if(i=Yr(li.current),Yr(Sn.current),Na(o)){if(c=o.stateNode,i=o.memoizedProps,c[bn]=o,(m=c.nodeValue!==i)&&(n=Ht,n!==null))switch(n.tag){case 3:xa(c.nodeValue,i,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&xa(c.nodeValue,i,(n.mode&1)!==0)}m&&(o.flags|=4)}else c=(i.nodeType===9?i:i.ownerDocument).createTextNode(c),c[bn]=o,o.stateNode=c}return _t(o),null;case 13:if(He(Ge),c=o.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(qe&&qt!==null&&(o.mode&1)!==0&&(o.flags&128)===0)gp(),Qo(),o.flags|=98560,m=!1;else if(m=Na(o),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(r(318));if(m=o.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[bn]=o}else Qo(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;_t(o),m=!1}else ln!==null&&(zu(ln),ln=null),m=!0;if(!m)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=i,o):(c=c!==null,c!==(n!==null&&n.memoizedState!==null)&&c&&(o.child.flags|=8192,(o.mode&1)!==0&&(n===null||(Ge.current&1)!==0?lt===0&&(lt=3):$u())),o.updateQueue!==null&&(o.flags|=4),_t(o),null);case 4:return Xo(),Ru(n,o),n===null&&ti(o.stateNode.containerInfo),_t(o),null;case 10:return nu(o.type._context),_t(o),null;case 17:return Lt(o.type)&&Sa(),_t(o),null;case 19:if(He(Ge),m=o.memoizedState,m===null)return _t(o),null;if(c=(o.flags&128)!==0,x=m.rendering,x===null)if(c)hi(m,!1);else{if(lt!==0||n!==null&&(n.flags&128)!==0)for(n=o.child;n!==null;){if(x=ja(n),x!==null){for(o.flags|=128,hi(m,!1),c=x.updateQueue,c!==null&&(o.updateQueue=c,o.flags|=4),o.subtreeFlags=0,c=i,i=o.child;i!==null;)m=i,n=c,m.flags&=14680066,x=m.alternate,x===null?(m.childLanes=0,m.lanes=n,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=x.childLanes,m.lanes=x.lanes,m.child=x.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=x.memoizedProps,m.memoizedState=x.memoizedState,m.updateQueue=x.updateQueue,m.type=x.type,n=x.dependencies,m.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),i=i.sibling;return $e(Ge,Ge.current&1|2),o.child}n=n.sibling}m.tail!==null&&Ze()>ts&&(o.flags|=128,c=!0,hi(m,!1),o.lanes=4194304)}else{if(!c)if(n=ja(x),n!==null){if(o.flags|=128,c=!0,i=n.updateQueue,i!==null&&(o.updateQueue=i,o.flags|=4),hi(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!qe)return _t(o),null}else 2*Ze()-m.renderingStartTime>ts&&i!==1073741824&&(o.flags|=128,c=!0,hi(m,!1),o.lanes=4194304);m.isBackwards?(x.sibling=o.child,o.child=x):(i=m.last,i!==null?i.sibling=x:o.child=x,m.last=x)}return m.tail!==null?(o=m.tail,m.rendering=o,m.tail=o.sibling,m.renderingStartTime=Ze(),o.sibling=null,i=Ge.current,$e(Ge,c?i&1|2:i&1),o):(_t(o),null);case 22:case 23:return Bu(),c=o.memoizedState!==null,n!==null&&n.memoizedState!==null!==c&&(o.flags|=8192),c&&(o.mode&1)!==0?(Qt&1073741824)!==0&&(_t(o),o.subtreeFlags&6&&(o.flags|=8192)):_t(o),null;case 24:return null;case 25:return null}throw Error(r(156,o.tag))}function Hb(n,o){switch(Yc(o),o.tag){case 1:return Lt(o.type)&&Sa(),n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 3:return Xo(),He(jt),He(kt),cu(),n=o.flags,(n&65536)!==0&&(n&128)===0?(o.flags=n&-65537|128,o):null;case 5:return au(o),null;case 13:if(He(Ge),n=o.memoizedState,n!==null&&n.dehydrated!==null){if(o.alternate===null)throw Error(r(340));Qo()}return n=o.flags,n&65536?(o.flags=n&-65537|128,o):null;case 19:return He(Ge),null;case 4:return Xo(),null;case 10:return nu(o.type._context),null;case 22:case 23:return Bu(),null;case 24:return null;default:return null}}var $a=!1,Ct=!1,qb=typeof WeakSet=="function"?WeakSet:Set,ae=null;function Zo(n,o){var i=n.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(c){Xe(n,o,c)}else i.current=null}function Tu(n,o,i){try{i()}catch(c){Xe(n,o,c)}}var pm=!1;function Qb(n,o){if(Bc=la,n=qh(),jc(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var c=i.getSelection&&i.getSelection();if(c&&c.rangeCount!==0){i=c.anchorNode;var f=c.anchorOffset,m=c.focusNode;c=c.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var x=0,R=-1,O=-1,U=0,Q=0,K=n,q=null;t:for(;;){for(var ne;K!==i||f!==0&&K.nodeType!==3||(R=x+f),K!==m||c!==0&&K.nodeType!==3||(O=x+c),K.nodeType===3&&(x+=K.nodeValue.length),(ne=K.firstChild)!==null;)q=K,K=ne;for(;;){if(K===n)break t;if(q===i&&++U===f&&(R=x),q===m&&++Q===c&&(O=x),(ne=K.nextSibling)!==null)break;K=q,q=K.parentNode}K=ne}i=R===-1||O===-1?null:{start:R,end:O}}else i=null}i=i||{start:0,end:0}}else i=null;for($c={focusedElem:n,selectionRange:i},la=!1,ae=o;ae!==null;)if(o=ae,n=o.child,(o.subtreeFlags&1028)!==0&&n!==null)n.return=o,ae=n;else for(;ae!==null;){o=ae;try{var ue=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(ue!==null){var me=ue.memoizedProps,et=ue.memoizedState,D=o.stateNode,L=D.getSnapshotBeforeUpdate(o.elementType===o.type?me:cn(o.type,me),et);D.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var M=o.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Y){Xe(o,o.return,Y)}if(n=o.sibling,n!==null){n.return=o.return,ae=n;break}ae=o.return}return ue=pm,pm=!1,ue}function pi(n,o,i){var c=o.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&n)===n){var m=f.destroy;f.destroy=void 0,m!==void 0&&Tu(o,i,m)}f=f.next}while(f!==c)}}function Wa(n,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var i=o=o.next;do{if((i.tag&n)===n){var c=i.create;i.destroy=c()}i=i.next}while(i!==o)}}function Pu(n){var o=n.ref;if(o!==null){var i=n.stateNode;switch(n.tag){case 5:n=i;break;default:n=i}typeof o=="function"?o(n):o.current=n}}function mm(n){var o=n.alternate;o!==null&&(n.alternate=null,mm(o)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(o=n.stateNode,o!==null&&(delete o[bn],delete o[ri],delete o[qc],delete o[Tb],delete o[Pb])),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 gm(n){return n.tag===5||n.tag===3||n.tag===4}function ym(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||gm(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 Ou(n,o,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,o?i.nodeType===8?i.parentNode.insertBefore(n,o):i.insertBefore(n,o):(i.nodeType===8?(o=i.parentNode,o.insertBefore(n,i)):(o=i,o.appendChild(n)),i=i._reactRootContainer,i!=null||o.onclick!==null||(o.onclick=wa));else if(c!==4&&(n=n.child,n!==null))for(Ou(n,o,i),n=n.sibling;n!==null;)Ou(n,o,i),n=n.sibling}function Au(n,o,i){var c=n.tag;if(c===5||c===6)n=n.stateNode,o?i.insertBefore(n,o):i.appendChild(n);else if(c!==4&&(n=n.child,n!==null))for(Au(n,o,i),n=n.sibling;n!==null;)Au(n,o,i),n=n.sibling}var gt=null,un=!1;function hr(n,o,i){for(i=i.child;i!==null;)vm(n,o,i),i=i.sibling}function vm(n,o,i){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(na,i)}catch{}switch(i.tag){case 5:Ct||Zo(i,o);case 6:var c=gt,f=un;gt=null,hr(n,o,i),gt=c,un=f,gt!==null&&(un?(n=gt,i=i.stateNode,n.nodeType===8?n.parentNode.removeChild(i):n.removeChild(i)):gt.removeChild(i.stateNode));break;case 18:gt!==null&&(un?(n=gt,i=i.stateNode,n.nodeType===8?Hc(n.parentNode,i):n.nodeType===1&&Hc(n,i),qs(n)):Hc(gt,i.stateNode));break;case 4:c=gt,f=un,gt=i.stateNode.containerInfo,un=!0,hr(n,o,i),gt=c,un=f;break;case 0:case 11:case 14:case 15:if(!Ct&&(c=i.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){f=c=c.next;do{var m=f,x=m.destroy;m=m.tag,x!==void 0&&((m&2)!==0||(m&4)!==0)&&Tu(i,o,x),f=f.next}while(f!==c)}hr(n,o,i);break;case 1:if(!Ct&&(Zo(i,o),c=i.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=i.memoizedProps,c.state=i.memoizedState,c.componentWillUnmount()}catch(R){Xe(i,o,R)}hr(n,o,i);break;case 21:hr(n,o,i);break;case 22:i.mode&1?(Ct=(c=Ct)||i.memoizedState!==null,hr(n,o,i),Ct=c):hr(n,o,i);break;default:hr(n,o,i)}}function xm(n){var o=n.updateQueue;if(o!==null){n.updateQueue=null;var i=n.stateNode;i===null&&(i=n.stateNode=new qb),o.forEach(function(c){var f=n1.bind(null,n,c);i.has(c)||(i.add(c),c.then(f,f))})}}function dn(n,o){var i=o.deletions;if(i!==null)for(var c=0;c<i.length;c++){var f=i[c];try{var m=n,x=o,R=x;e:for(;R!==null;){switch(R.tag){case 5:gt=R.stateNode,un=!1;break e;case 3:gt=R.stateNode.containerInfo,un=!0;break e;case 4:gt=R.stateNode.containerInfo,un=!0;break e}R=R.return}if(gt===null)throw Error(r(160));vm(m,x,f),gt=null,un=!1;var O=f.alternate;O!==null&&(O.return=null),f.return=null}catch(U){Xe(f,o,U)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)wm(o,n),o=o.sibling}function wm(n,o){var i=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(dn(o,n),En(n),c&4){try{pi(3,n,n.return),Wa(3,n)}catch(me){Xe(n,n.return,me)}try{pi(5,n,n.return)}catch(me){Xe(n,n.return,me)}}break;case 1:dn(o,n),En(n),c&512&&i!==null&&Zo(i,i.return);break;case 5:if(dn(o,n),En(n),c&512&&i!==null&&Zo(i,i.return),n.flags&32){var f=n.stateNode;try{Is(f,"")}catch(me){Xe(n,n.return,me)}}if(c&4&&(f=n.stateNode,f!=null)){var m=n.memoizedProps,x=i!==null?i.memoizedProps:m,R=n.type,O=n.updateQueue;if(n.updateQueue=null,O!==null)try{R==="input"&&m.type==="radio"&&m.name!=null&&_e(f,m),cc(R,x);var U=cc(R,m);for(x=0;x<O.length;x+=2){var Q=O[x],K=O[x+1];Q==="style"?nh(f,K):Q==="dangerouslySetInnerHTML"?eh(f,K):Q==="children"?Is(f,K):C(f,Q,K,U)}switch(R){case"input":Ke(f,m);break;case"textarea":Xf(f,m);break;case"select":var q=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!m.multiple;var ne=m.value;ne!=null?er(f,!!m.multiple,ne,!1):q!==!!m.multiple&&(m.defaultValue!=null?er(f,!!m.multiple,m.defaultValue,!0):er(f,!!m.multiple,m.multiple?[]:"",!1))}f[ri]=m}catch(me){Xe(n,n.return,me)}}break;case 6:if(dn(o,n),En(n),c&4){if(n.stateNode===null)throw Error(r(162));f=n.stateNode,m=n.memoizedProps;try{f.nodeValue=m}catch(me){Xe(n,n.return,me)}}break;case 3:if(dn(o,n),En(n),c&4&&i!==null&&i.memoizedState.isDehydrated)try{qs(o.containerInfo)}catch(me){Xe(n,n.return,me)}break;case 4:dn(o,n),En(n);break;case 13:dn(o,n),En(n),f=n.child,f.flags&8192&&(m=f.memoizedState!==null,f.stateNode.isHidden=m,!m||f.alternate!==null&&f.alternate.memoizedState!==null||(Iu=Ze())),c&4&&xm(n);break;case 22:if(Q=i!==null&&i.memoizedState!==null,n.mode&1?(Ct=(U=Ct)||Q,dn(o,n),Ct=U):dn(o,n),En(n),c&8192){if(U=n.memoizedState!==null,(n.stateNode.isHidden=U)&&!Q&&(n.mode&1)!==0)for(ae=n,Q=n.child;Q!==null;){for(K=ae=Q;ae!==null;){switch(q=ae,ne=q.child,q.tag){case 0:case 11:case 14:case 15:pi(4,q,q.return);break;case 1:Zo(q,q.return);var ue=q.stateNode;if(typeof ue.componentWillUnmount=="function"){c=q,i=q.return;try{o=c,ue.props=o.memoizedProps,ue.state=o.memoizedState,ue.componentWillUnmount()}catch(me){Xe(c,i,me)}}break;case 5:Zo(q,q.return);break;case 22:if(q.memoizedState!==null){km(K);continue}}ne!==null?(ne.return=q,ae=ne):km(K)}Q=Q.sibling}e:for(Q=null,K=n;;){if(K.tag===5){if(Q===null){Q=K;try{f=K.stateNode,U?(m=f.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(R=K.stateNode,O=K.memoizedProps.style,x=O!=null&&O.hasOwnProperty("display")?O.display:null,R.style.display=th("display",x))}catch(me){Xe(n,n.return,me)}}}else if(K.tag===6){if(Q===null)try{K.stateNode.nodeValue=U?"":K.memoizedProps}catch(me){Xe(n,n.return,me)}}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:dn(o,n),En(n),c&4&&xm(n);break;case 21:break;default:dn(o,n),En(n)}}function En(n){var o=n.flags;if(o&2){try{e:{for(var i=n.return;i!==null;){if(gm(i)){var c=i;break e}i=i.return}throw Error(r(160))}switch(c.tag){case 5:var f=c.stateNode;c.flags&32&&(Is(f,""),c.flags&=-33);var m=ym(n);Au(n,m,f);break;case 3:case 4:var x=c.stateNode.containerInfo,R=ym(n);Ou(n,R,x);break;default:throw Error(r(161))}}catch(O){Xe(n,n.return,O)}n.flags&=-3}o&4096&&(n.flags&=-4097)}function Kb(n,o,i){ae=n,bm(n)}function bm(n,o,i){for(var c=(n.mode&1)!==0;ae!==null;){var f=ae,m=f.child;if(f.tag===22&&c){var x=f.memoizedState!==null||$a;if(!x){var R=f.alternate,O=R!==null&&R.memoizedState!==null||Ct;R=$a;var U=Ct;if($a=x,(Ct=O)&&!U)for(ae=f;ae!==null;)x=ae,O=x.child,x.tag===22&&x.memoizedState!==null?Em(f):O!==null?(O.return=x,ae=O):Em(f);for(;m!==null;)ae=m,bm(m),m=m.sibling;ae=f,$a=R,Ct=U}Sm(n)}else(f.subtreeFlags&8772)!==0&&m!==null?(m.return=f,ae=m):Sm(n)}}function Sm(n){for(;ae!==null;){var o=ae;if((o.flags&8772)!==0){var i=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:Ct||Wa(5,o);break;case 1:var c=o.stateNode;if(o.flags&4&&!Ct)if(i===null)c.componentDidMount();else{var f=o.elementType===o.type?i.memoizedProps:cn(o.type,i.memoizedProps);c.componentDidUpdate(f,i.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var m=o.updateQueue;m!==null&&kp(o,m,c);break;case 3:var x=o.updateQueue;if(x!==null){if(i=null,o.child!==null)switch(o.child.tag){case 5:i=o.child.stateNode;break;case 1:i=o.child.stateNode}kp(o,x,i)}break;case 5:var R=o.stateNode;if(i===null&&o.flags&4){i=R;var O=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":O.autoFocus&&i.focus();break;case"img":O.src&&(i.src=O.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var U=o.alternate;if(U!==null){var Q=U.memoizedState;if(Q!==null){var K=Q.dehydrated;K!==null&&qs(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Ct||o.flags&512&&Pu(o)}catch(q){Xe(o,o.return,q)}}if(o===n){ae=null;break}if(i=o.sibling,i!==null){i.return=o.return,ae=i;break}ae=o.return}}function km(n){for(;ae!==null;){var o=ae;if(o===n){ae=null;break}var i=o.sibling;if(i!==null){i.return=o.return,ae=i;break}ae=o.return}}function Em(n){for(;ae!==null;){var o=ae;try{switch(o.tag){case 0:case 11:case 15:var i=o.return;try{Wa(4,o)}catch(O){Xe(o,i,O)}break;case 1:var c=o.stateNode;if(typeof c.componentDidMount=="function"){var f=o.return;try{c.componentDidMount()}catch(O){Xe(o,f,O)}}var m=o.return;try{Pu(o)}catch(O){Xe(o,m,O)}break;case 5:var x=o.return;try{Pu(o)}catch(O){Xe(o,x,O)}}}catch(O){Xe(o,o.return,O)}if(o===n){ae=null;break}var R=o.sibling;if(R!==null){R.return=o.return,ae=R;break}ae=o.return}}var Gb=Math.ceil,Va=T.ReactCurrentDispatcher,ju=T.ReactCurrentOwner,en=T.ReactCurrentBatchConfig,Ie=0,ht=null,rt=null,yt=0,Qt=0,es=lr(0),lt=0,mi=null,Jr=0,Ha=0,Lu=0,gi=null,Dt=null,Iu=0,ts=1/0,Vn=null,qa=!1,Du=null,pr=null,Qa=!1,mr=null,Ka=0,yi=0,Mu=null,Ga=-1,Ya=0;function Ot(){return(Ie&6)!==0?Ze():Ga!==-1?Ga:Ga=Ze()}function gr(n){return(n.mode&1)===0?1:(Ie&2)!==0&&yt!==0?yt&-yt:Ab.transition!==null?(Ya===0&&(Ya=yh()),Ya):(n=ze,n!==0||(n=window.event,n=n===void 0?16:Ch(n.type)),n)}function fn(n,o,i,c){if(50<yi)throw yi=0,Mu=null,Error(r(185));Bs(n,i,c),((Ie&2)===0||n!==ht)&&(n===ht&&((Ie&2)===0&&(Ha|=i),lt===4&&yr(n,yt)),Mt(n,c),i===1&&Ie===0&&(o.mode&1)===0&&(ts=Ze()+500,Ea&&ur()))}function Mt(n,o){var i=n.callbackNode;A0(n,o);var c=sa(n,n===ht?yt:0);if(c===0)i!==null&&ph(i),n.callbackNode=null,n.callbackPriority=0;else if(o=c&-c,n.callbackPriority!==o){if(i!=null&&ph(i),o===1)n.tag===0?Ob(Cm.bind(null,n)):dp(Cm.bind(null,n)),Nb(function(){(Ie&6)===0&&ur()}),i=null;else{switch(vh(c)){case 1:i=gc;break;case 4:i=mh;break;case 16:i=ta;break;case 536870912:i=gh;break;default:i=ta}i=Lm(i,_m.bind(null,n))}n.callbackPriority=o,n.callbackNode=i}}function _m(n,o){if(Ga=-1,Ya=0,(Ie&6)!==0)throw Error(r(327));var i=n.callbackNode;if(ns()&&n.callbackNode!==i)return null;var c=sa(n,n===ht?yt:0);if(c===0)return null;if((c&30)!==0||(c&n.expiredLanes)!==0||o)o=Xa(n,c);else{o=c;var f=Ie;Ie|=2;var m=Rm();(ht!==n||yt!==o)&&(Vn=null,ts=Ze()+500,eo(n,o));do try{Jb();break}catch(R){Nm(n,R)}while(!0);tu(),Va.current=m,Ie=f,rt!==null?o=0:(ht=null,yt=0,o=lt)}if(o!==0){if(o===2&&(f=yc(n),f!==0&&(c=f,o=Fu(n,f))),o===1)throw i=mi,eo(n,0),yr(n,c),Mt(n,Ze()),i;if(o===6)yr(n,c);else{if(f=n.current.alternate,(c&30)===0&&!Yb(f)&&(o=Xa(n,c),o===2&&(m=yc(n),m!==0&&(c=m,o=Fu(n,m))),o===1))throw i=mi,eo(n,0),yr(n,c),Mt(n,Ze()),i;switch(n.finishedWork=f,n.finishedLanes=c,o){case 0:case 1:throw Error(r(345));case 2:to(n,Dt,Vn);break;case 3:if(yr(n,c),(c&130023424)===c&&(o=Iu+500-Ze(),10<o)){if(sa(n,0)!==0)break;if(f=n.suspendedLanes,(f&c)!==c){Ot(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Vc(to.bind(null,n,Dt,Vn),o);break}to(n,Dt,Vn);break;case 4:if(yr(n,c),(c&4194240)===c)break;for(o=n.eventTimes,f=-1;0<c;){var x=31-sn(c);m=1<<x,x=o[x],x>f&&(f=x),c&=~m}if(c=f,c=Ze()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*Gb(c/1960))-c,10<c){n.timeoutHandle=Vc(to.bind(null,n,Dt,Vn),c);break}to(n,Dt,Vn);break;case 5:to(n,Dt,Vn);break;default:throw Error(r(329))}}}return Mt(n,Ze()),n.callbackNode===i?_m.bind(null,n):null}function Fu(n,o){var i=gi;return n.current.memoizedState.isDehydrated&&(eo(n,o).flags|=256),n=Xa(n,o),n!==2&&(o=Dt,Dt=i,o!==null&&zu(o)),n}function zu(n){Dt===null?Dt=n:Dt.push.apply(Dt,n)}function Yb(n){for(var o=n;;){if(o.flags&16384){var i=o.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var c=0;c<i.length;c++){var f=i[c],m=f.getSnapshot;f=f.value;try{if(!an(m(),f))return!1}catch{return!1}}}if(i=o.child,o.subtreeFlags&16384&&i!==null)i.return=o,o=i;else{if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function yr(n,o){for(o&=~Lu,o&=~Ha,n.suspendedLanes|=o,n.pingedLanes&=~o,n=n.expirationTimes;0<o;){var i=31-sn(o),c=1<<i;n[i]=-1,o&=~c}}function Cm(n){if((Ie&6)!==0)throw Error(r(327));ns();var o=sa(n,0);if((o&1)===0)return Mt(n,Ze()),null;var i=Xa(n,o);if(n.tag!==0&&i===2){var c=yc(n);c!==0&&(o=c,i=Fu(n,c))}if(i===1)throw i=mi,eo(n,0),yr(n,o),Mt(n,Ze()),i;if(i===6)throw Error(r(345));return n.finishedWork=n.current.alternate,n.finishedLanes=o,to(n,Dt,Vn),Mt(n,Ze()),null}function Uu(n,o){var i=Ie;Ie|=1;try{return n(o)}finally{Ie=i,Ie===0&&(ts=Ze()+500,Ea&&ur())}}function Zr(n){mr!==null&&mr.tag===0&&(Ie&6)===0&&ns();var o=Ie;Ie|=1;var i=en.transition,c=ze;try{if(en.transition=null,ze=1,n)return n()}finally{ze=c,en.transition=i,Ie=o,(Ie&6)===0&&ur()}}function Bu(){Qt=es.current,He(es)}function eo(n,o){n.finishedWork=null,n.finishedLanes=0;var i=n.timeoutHandle;if(i!==-1&&(n.timeoutHandle=-1,Cb(i)),rt!==null)for(i=rt.return;i!==null;){var c=i;switch(Yc(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&Sa();break;case 3:Xo(),He(jt),He(kt),cu();break;case 5:au(c);break;case 4:Xo();break;case 13:He(Ge);break;case 19:He(Ge);break;case 10:nu(c.type._context);break;case 22:case 23:Bu()}i=i.return}if(ht=n,rt=n=vr(n.current,null),yt=Qt=o,lt=0,mi=null,Lu=Ha=Jr=0,Dt=gi=null,Gr!==null){for(o=0;o<Gr.length;o++)if(i=Gr[o],c=i.interleaved,c!==null){i.interleaved=null;var f=c.next,m=i.pending;if(m!==null){var x=m.next;m.next=f,c.next=x}i.pending=c}Gr=null}return n}function Nm(n,o){do{var i=rt;try{if(tu(),La.current=Fa,Ia){for(var c=Ye.memoizedState;c!==null;){var f=c.queue;f!==null&&(f.pending=null),c=c.next}Ia=!1}if(Xr=0,ft=at=Ye=null,ci=!1,ui=0,ju.current=null,i===null||i.return===null){lt=1,mi=o,rt=null;break}e:{var m=n,x=i.return,R=i,O=o;if(o=yt,R.flags|=32768,O!==null&&typeof O=="object"&&typeof O.then=="function"){var U=O,Q=R,K=Q.tag;if((Q.mode&1)===0&&(K===0||K===11||K===15)){var q=Q.alternate;q?(Q.updateQueue=q.updateQueue,Q.memoizedState=q.memoizedState,Q.lanes=q.lanes):(Q.updateQueue=null,Q.memoizedState=null)}var ne=Jp(x);if(ne!==null){ne.flags&=-257,Zp(ne,x,R,m,o),ne.mode&1&&Xp(m,U,o),o=ne,O=U;var ue=o.updateQueue;if(ue===null){var me=new Set;me.add(O),o.updateQueue=me}else ue.add(O);break e}else{if((o&1)===0){Xp(m,U,o),$u();break e}O=Error(r(426))}}else if(qe&&R.mode&1){var et=Jp(x);if(et!==null){(et.flags&65536)===0&&(et.flags|=256),Zp(et,x,R,m,o),Zc(Jo(O,R));break e}}m=O=Jo(O,R),lt!==4&&(lt=2),gi===null?gi=[m]:gi.push(m),m=x;do{switch(m.tag){case 3:m.flags|=65536,o&=-o,m.lanes|=o;var D=Gp(m,O,o);Sp(m,D);break e;case 1:R=O;var L=m.type,M=m.stateNode;if((m.flags&128)===0&&(typeof L.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(pr===null||!pr.has(M)))){m.flags|=65536,o&=-o,m.lanes|=o;var Y=Yp(m,R,o);Sp(m,Y);break e}}m=m.return}while(m!==null)}Pm(i)}catch(ge){o=ge,rt===i&&i!==null&&(rt=i=i.return);continue}break}while(!0)}function Rm(){var n=Va.current;return Va.current=Fa,n===null?Fa:n}function $u(){(lt===0||lt===3||lt===2)&&(lt=4),ht===null||(Jr&268435455)===0&&(Ha&268435455)===0||yr(ht,yt)}function Xa(n,o){var i=Ie;Ie|=2;var c=Rm();(ht!==n||yt!==o)&&(Vn=null,eo(n,o));do try{Xb();break}catch(f){Nm(n,f)}while(!0);if(tu(),Ie=i,Va.current=c,rt!==null)throw Error(r(261));return ht=null,yt=0,lt}function Xb(){for(;rt!==null;)Tm(rt)}function Jb(){for(;rt!==null&&!k0();)Tm(rt)}function Tm(n){var o=jm(n.alternate,n,Qt);n.memoizedProps=n.pendingProps,o===null?Pm(n):rt=o,ju.current=null}function Pm(n){var o=n;do{var i=o.alternate;if(n=o.return,(o.flags&32768)===0){if(i=Vb(i,o,Qt),i!==null){rt=i;return}}else{if(i=Hb(i,o),i!==null){i.flags&=32767,rt=i;return}
vendor: 5,233 bytes, line 40
40if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{lt=6,rt=null;return}}if(o=o.sibling,o!==null){rt=o;return}rt=o=n}while(o!==null);lt===0&&(lt=5)}function to(n,o,i){var c=ze,f=en.transition;try{en.transition=null,ze=1,Zb(n,o,i,c)}finally{en.transition=f,ze=c}return null}function Zb(n,o,i,c){do ns();while(mr!==null);if((Ie&6)!==0)throw Error(r(327));i=n.finishedWork;var f=n.finishedLanes;if(i===null)return null;if(n.finishedWork=null,n.finishedLanes=0,i===n.current)throw Error(r(177));n.callbackNode=null,n.callbackPriority=0;var m=i.lanes|i.childLanes;if(j0(n,m),n===ht&&(rt=ht=null,yt=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||Qa||(Qa=!0,Lm(ta,function(){return ns(),null})),m=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||m){m=en.transition,en.transition=null;var x=ze;ze=1;var R=Ie;Ie|=4,ju.current=null,Qb(n,i),wm(i,n),xb($c),la=!!Bc,$c=Bc=null,n.current=i,Kb(i),E0(),Ie=R,ze=x,en.transition=m}else n.current=i;if(Qa&&(Qa=!1,mr=n,Ka=f),m=n.pendingLanes,m===0&&(pr=null),N0(i.stateNode),Mt(n,Ze()),o!==null)for(c=n.onRecoverableError,i=0;i<o.length;i++)f=o[i],c(f.value,{componentStack:f.stack,digest:f.digest});if(qa)throw qa=!1,n=Du,Du=null,n;return(Ka&1)!==0&&n.tag!==0&&ns(),m=n.pendingLanes,(m&1)!==0?n===Mu?yi++:(yi=0,Mu=n):yi=0,ur(),null}function ns(){if(mr!==null){var n=vh(Ka),o=en.transition,i=ze;try{if(en.transition=null,ze=16>n?16:n,mr===null)var c=!1;else{if(n=mr,mr=null,Ka=0,(Ie&6)!==0)throw Error(r(331));var f=Ie;for(Ie|=4,ae=n.current;ae!==null;){var m=ae,x=m.child;if((ae.flags&16)!==0){var R=m.deletions;if(R!==null){for(var O=0;O<R.length;O++){var U=R[O];for(ae=U;ae!==null;){var Q=ae;switch(Q.tag){case 0:case 11:case 15:pi(8,Q,m)}var K=Q.child;if(K!==null)K.return=Q,ae=K;else for(;ae!==null;){Q=ae;var q=Q.sibling,ne=Q.return;if(mm(Q),Q===U){ae=null;break}if(q!==null){q.return=ne,ae=q;break}ae=ne}}}var ue=m.alternate;if(ue!==null){var me=ue.child;if(me!==null){ue.child=null;do{var et=me.sibling;me.sibling=null,me=et}while(me!==null)}}ae=m}}if((m.subtreeFlags&2064)!==0&&x!==null)x.return=m,ae=x;else e:for(;ae!==null;){if(m=ae,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:pi(9,m,m.return)}var D=m.sibling;if(D!==null){D.return=m.return,ae=D;break e}ae=m.return}}var L=n.current;for(ae=L;ae!==null;){x=ae;var M=x.child;if((x.subtreeFlags&2064)!==0&&M!==null)M.return=x,ae=M;else e:for(x=L;ae!==null;){if(R=ae,(R.flags&2048)!==0)try{switch(R.tag){case 0:case 11:case 15:Wa(9,R)}}catch(ge){Xe(R,R.return,ge)}if(R===x){ae=null;break e}var Y=R.sibling;if(Y!==null){Y.return=R.return,ae=Y;break e}ae=R.return}}if(Ie=f,ur(),wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(na,n)}catch{}c=!0}return c}finally{ze=i,en.transition=o}}return!1}function Om(n,o,i){o=Jo(i,o),o=Gp(n,o,1),n=fr(n,o,1),o=Ot(),n!==null&&(Bs(n,1,o),Mt(n,o))}function Xe(n,o,i){if(n.tag===3)Om(n,n,i);else for(;o!==null;){if(o.tag===3){Om(o,n,i);break}else if(o.tag===1){var c=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(pr===null||!pr.has(c))){n=Jo(i,n),n=Yp(o,n,1),o=fr(o,n,1),n=Ot(),o!==null&&(Bs(o,1,n),Mt(o,n));break}}o=o.return}}function e1(n,o,i){var c=n.pingCache;c!==null&&c.delete(o),o=Ot(),n.pingedLanes|=n.suspendedLanes&i,ht===n&&(yt&i)===i&&(lt===4||lt===3&&(yt&130023424)===yt&&500>Ze()-Iu?eo(n,0):Lu|=i),Mt(n,o)}function Am(n,o){o===0&&((n.mode&1)===0?o=1:(o=oa,oa<<=1,(oa&130023424)===0&&(oa=4194304)));var i=Ot();n=Bn(n,o),n!==null&&(Bs(n,o,i),Mt(n,i))}function t1(n){var o=n.memoizedState,i=0;o!==null&&(i=o.retryLane),Am(n,i)}function n1(n,o){var i=0;switch(n.tag){case 13:var c=n.stateNode,f=n.memoizedState;f!==null&&(i=f.retryLane);break;case 19:c=n.stateNode;break;default:throw Error(r(314))}c!==null&&c.delete(o),Am(n,i)}var jm;jm=function(n,o,i){if(n!==null)if(n.memoizedProps!==o.pendingProps||jt.current)It=!0;else{if((n.lanes&i)===0&&(o.flags&128)===0)return It=!1,Wb(n,o,i);It=(n.flags&131072)!==0}else It=!1,qe&&(o.flags&1048576)!==0&&fp(o,Ca,o.index);switch(o.lanes=0,o.tag){case 2:var c=o.type;Ba(n,o),n=o.pendingProps;var f=Vo(o,kt.current);Yo(o,i),f=fu(null,o,c,n,f,i);var m=hu();return o.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Lt(c)?(m=!0,ka(o)):m=!1,o.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,su(o),f.updater=za,o.stateNode=f,f._reactInternals=o,xu(o,c,n,i),o=ku(null,o,c,!0,m,i)):(o.tag=0,qe&&m&&Gc(o),Pt(null,o,f,i),o=o.child),o;case 16:c=o.elementType;e:{switch(Ba(n,o),n=o.pendingProps,f=c._init,c=f(c._payload),o.type=c,f=o.tag=o1(c),n=cn(c,n),f){case 0:o=Su(null,o,c,n,i);break e;case 1:o=sm(null,o,c,n,i);break e;case 11:o=em(null,o,c,n,i);break e;case 14:o=tm(null,o,c,cn(c.type,n),i);break e}throw Error(r(306,c,""))}return o;case 0:return c=o.type,f=o.pendingProps,f=o.elementType===c?f:cn(c,f),Su(n,o,c,f,i);case 1:return c=o.type,f=o.pendingProps,f=o.elementType===c?f:cn(c,f),sm(n,o,c,f,i);case 3:e:{if(im(o),n===null)throw Error(r(387));c=o.pendingProps,m=o.memoizedState,f=m.element,bp(n,o),Aa(o,c,null,i);var x=o.memoizedState;if(c=x.element,m.isDehydrated)if(m={element:c,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pe
vendor: 10,164 bytes, line 40
40ndingSuspenseBoundaries,transitions:x.transitions},o.updateQueue.baseState=m,o.memoizedState=m,o.flags&256){f=Jo(Error(r(423)),o),o=am(n,o,c,i,f);break e}else if(c!==f){f=Jo(Error(r(424)),o),o=am(n,o,c,i,f);break e}else for(qt=ar(o.stateNode.containerInfo.firstChild),Ht=o,qe=!0,ln=null,i=xp(o,null,c,i),o.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Qo(),c===f){o=Wn(n,o,i);break e}Pt(n,o,c,i)}o=o.child}return o;case 5:return Ep(o),n===null&&Jc(o),c=o.type,f=o.pendingProps,m=n!==null?n.memoizedProps:null,x=f.children,Wc(c,f)?x=null:m!==null&&Wc(c,m)&&(o.flags|=32),om(n,o),Pt(n,o,x,i),o.child;case 6:return n===null&&Jc(o),null;case 13:return lm(n,o,i);case 4:return iu(o,o.stateNode.containerInfo),c=o.pendingProps,n===null?o.child=Ko(o,null,c,i):Pt(n,o,c,i),o.child;case 11:return c=o.type,f=o.pendingProps,f=o.elementType===c?f:cn(c,f),em(n,o,c,f,i);case 7:return Pt(n,o,o.pendingProps,i),o.child;case 8:return Pt(n,o,o.pendingProps.children,i),o.child;case 12:return Pt(n,o,o.pendingProps.children,i),o.child;case 10:e:{if(c=o.type._context,f=o.pendingProps,m=o.memoizedProps,x=f.value,$e(Ta,c._currentValue),c._currentValue=x,m!==null)if(an(m.value,x)){if(m.children===f.children&&!jt.current){o=Wn(n,o,i);break e}}else for(m=o.child,m!==null&&(m.return=o);m!==null;){var R=m.dependencies;if(R!==null){x=m.child;for(var O=R.firstContext;O!==null;){if(O.context===c){if(m.tag===1){O=$n(-1,i&-i),O.tag=2;var U=m.updateQueue;if(U!==null){U=U.shared;var Q=U.pending;Q===null?O.next=O:(O.next=Q.next,Q.next=O),U.pending=O}}m.lanes|=i,O=m.alternate,O!==null&&(O.lanes|=i),ru(m.return,i,o),R.lanes|=i;break}O=O.next}}else if(m.tag===10)x=m.type===o.type?null:m.child;else if(m.tag===18){if(x=m.return,x===null)throw Error(r(341));x.lanes|=i,R=x.alternate,R!==null&&(R.lanes|=i),ru(x,i,o),x=m.sibling}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===o){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}Pt(n,o,f.children,i),o=o.child}return o;case 9:return f=o.type,c=o.pendingProps.children,Yo(o,i),f=Jt(f),c=c(f),o.flags|=1,Pt(n,o,c,i),o.child;case 14:return c=o.type,f=cn(c,o.pendingProps),f=cn(c.type,f),tm(n,o,c,f,i);case 15:return nm(n,o,o.type,o.pendingProps,i);case 17:return c=o.type,f=o.pendingProps,f=o.elementType===c?f:cn(c,f),Ba(n,o),o.tag=1,Lt(c)?(n=!0,ka(o)):n=!1,Yo(o,i),Qp(o,c,f),xu(o,c,f,i),ku(null,o,c,!0,n,i);case 19:return um(n,o,i);case 22:return rm(n,o,i)}throw Error(r(156,o.tag))};function Lm(n,o){return hh(n,o)}function r1(n,o,i,c){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tn(n,o,i,c){return new r1(n,o,i,c)}function Wu(n){return n=n.prototype,!(!n||!n.isReactComponent)}function o1(n){if(typeof n=="function")return Wu(n)?1:0;if(n!=null){if(n=n.$$typeof,n===ve)return 11;if(n===ke)return 14}return 2}function vr(n,o){var i=n.alternate;return i===null?(i=tn(n.tag,o,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=o,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&14680064,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,o=n.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i}function Ja(n,o,i,c,f,m){var x=2;if(c=n,typeof n=="function")Wu(n)&&(x=1);else if(typeof n=="string")x=5;else e:switch(n){case V:return no(i.children,f,m,o);case B:x=8,f|=8;break;case J:return n=tn(12,i,o,f|2),n.elementType=J,n.lanes=m,n;case oe:return n=tn(13,i,o,f),n.elementType=oe,n.lanes=m,n;case ie:return n=tn(19,i,o,f),n.elementType=ie,n.lanes=m,n;case ce:return Za(i,f,m,o);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ee:x=10;break e;case le:x=9;break e;case ve:x=11;break e;case ke:x=14;break e;case se:x=16,c=null;break e}throw Error(r(130,n==null?n:typeof n,""))}return o=tn(x,i,o,f),o.elementType=n,o.type=c,o.lanes=m,o}function no(n,o,i,c){return n=tn(7,n,c,o),n.lanes=i,n}function Za(n,o,i,c){return n=tn(22,n,c,o),n.elementType=ce,n.lanes=i,n.stateNode={isHidden:!1},n}function Vu(n,o,i){return n=tn(6,n,null,o),n.lanes=i,n}function Hu(n,o,i){return o=tn(4,n.children!==null?n.children:[],n.key,o),o.lanes=i,o.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},o}function s1(n,o,i,c,f){this.tag=o,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=vc(0),this.expirationTimes=vc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vc(0),this.identifierPrefix=c,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function qu(n,o,i,c,f,m,x,R,O){return n=new s1(n,o,i,R,O),o===1?(o=1,m===!0&&(o|=8)):o=0,m=tn(3,null,null,o),n.current=m,m.stateNode=n,m.memoizedState={element:c,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(m),n}function i1(n,o,i){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:c==null?null:""+c,children:n,containerInfo:o,implementation:i}}function Im(n){if(!n)return cr;n=n._reactInternals;e:{if(Vr(n)!==n||n.tag!==1)throw Error(r(170));var o=n;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Lt(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(r(171))}if(n.tag===1){var i=n.type;if(Lt(i))return cp(n,i,o)}return o}function Dm(n,o,i,c,f,m,x,R,O){return n=qu(i,c,!0,n,f,m,x,R,O),n.context=Im(null),i=n.current,c=Ot(),f=gr(i),m=$n(c,f),m.callback=o??null,fr(i,m,f),n.current.lanes=f,Bs(n,f,c),Mt(n,c),n}function el(n,o,i,c){var f=o.current,m=Ot(),x=gr(f);return i=Im(i),o.context===null?o.context=i:o.pendingContext=i,o=$n(m,x),o.payload={element:n},c=c===void 0?null:c,c!==null&&(o.callback=c),n=fr(f,o,x),n!==null&&(fn(n,f,x,m),Oa(n,f,x)),x}function tl(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 Mm(n,o){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<o?i:o}}function Qu(n,o){Mm(n,o),(n=n.alternate)&&Mm(n,o)}function a1(){return null}var Fm=typeof reportError=="function"?reportError:function(n){console.error(n)};function Ku(n){this._internalRoot=n}nl.prototype.render=Ku.prototype.render=function(n){var o=this._internalRoot;if(o===null)throw Error(r(409));el(n,o,null,null)},nl.prototype.unmount=Ku.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var o=n.containerInfo;Zr(function(){el(null,n,null,null)}),o[Mn]=null}};function nl(n){this._internalRoot=n}nl.prototype.unstable_scheduleHydration=function(n){if(n){var o=bh();n={blockedOn:null,target:n,priority:o};for(var i=0;i<or.length&&o!==0&&o<or[i].priority;i++);or.splice(i,0,n),i===0&&Eh(n)}};function Gu(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function rl(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function zm(){}function l1(n,o,i,c,f){if(f){if(typeof c=="function"){var m=c;c=function(){var U=tl(x);m.call(U)}}var x=Dm(o,c,n,0,null,!1,!1,"",zm);return n._reactRootContainer=x,n[Mn]=x.current,ti(n.nodeType===8?n.parentNode:n),Zr(),x}for(;f=n.lastChild;)n.removeChild(f);if(typeof c=="function"){var R=c;c=function(){var U=tl(O);R.call(U)}}var O=qu(n,0,!1,null,null,!1,!1,"",zm);return n._reactRootContainer=O,n[Mn]=O.current,ti(n.nodeType===8?n.parentNode:n),Zr(function(){el(o,O,i,c)}),O}function ol(n,o,i,c,f){var m=i._reactRootContainer;if(m){var x=m;if(typeof f=="function"){var R=f;f=function(){var O=tl(x);R.call(O)}}el(o,x,n,f)}else x=l1(i,o,n,f,c);return tl(x)}xh=function(n){switch(n.tag){case 3:var o=n.stateNode;if(o.current.memoizedState.isDehydrated){var i=Us(o.pendingLanes);i!==0&&(xc(o,i|1),Mt(o,Ze()),(Ie&6)===0&&(ts=Ze()+500,ur()))}break;case 13:Zr(function(){var c=Bn(n,1);if(c!==null){var f=Ot();fn(c,n,1,f)}}),Qu(n,1)}},wc=function(n){if(n.tag===13){var o=Bn(n,134217728);if(o!==null){var i=Ot();fn(o,n,134217728,i)}Qu(n,134217728)}},wh=function(n){if(n.tag===13){var o=gr(n),i=Bn(n,o);if(i!==null){var c=Ot();fn(i,n,o,c)}Qu(n,o)}},bh=function(){return ze},Sh=function(n,o){var i=ze;try{return ze=n,o()}finally{ze=i}},fc=function(n,o,i){switch(o){case"input":if(Ke(n,i),o=i.name,i.type==="radio"&&o!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<i.length;o++){var c=i[o];if(c!==n&&c.form===n.form){var f=ba(c);if(!f)throw Error(r(90));Ne(c),Ke(c,f)}}}break;case"textarea":Xf(n,i);break;case"select":o=i.value,o!=null&&er(n,!!i.multiple,o,!1)}},ih=Uu,ah=Zr;var c1={usingClientEntryPoint:!1,Events:[oi,$o,ba,oh,sh,Uu]},vi={findFiberByHostInstance:Hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},u1={bundleType:vi.bundleType,version:vi.version,rendererPackageName:vi.rendererPackageName,rendererConfig:vi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=dh(n),n===null?null:n.stateNode},findFiberByHostInstance:vi.findFiberByHostInstance||a1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sl.isDisabled&&sl.supportsFiber)try{na=sl.inject(u1),wn=sl}catch{}}return Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=c1,Ft.createPortal=function(n,o){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Gu(o))throw Error(r(200));return i1(n,o,null,i)},Ft.createRoot=function(n,o){if(!Gu(n))throw Error(r(299));var i=!1,c="",f=Fm;return o!=null&&(o.unstable_strictMode===!0&&(i=!0),o.identifierPrefix!==void 0&&(c=o.identifierPrefix),o.onRecoverableError!==void 0&&(f=o.onRecoverableError)),o=qu(n,1,!1,null,null,i,!1,c,f),n[Mn]=o.current,ti(n.nodeType===8?n.parentNode:n),new Ku(o)},Ft.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var o=n._reactInternals;if(o===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=dh(o),n=n===null?null:n.stateNode,n},Ft.flushSync=function(n){return Zr(n)},Ft.hydrate=function(n,o,i){if(!rl(o))throw Error(r(200));return ol(null,n,o,!0,i)},Ft.hydrateRoot=function(n,o,i){if(!Gu(n))throw Error(r(405));var c=i!=null&&i.hydratedSources||null,f=!1,m="",x=Fm;if(i!=null&&(i.unstable_strictMode===!0&&(f=!0),i.identifierPrefix!==void 0&&(m=i.identifierPrefix),i.onRecoverableError!==void 0&&(x=i.onRecoverableError)),o=Dm(o,null,n,1,i??null,f,!1,m,x),n[Mn]=o.current,ti(n),c)for(n=0;n<c.length;n++)i=c[n],f=i._getVersion,f=f(i._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[i,f]:o.mutableSourceEagerHydrationData.push(i,f);return new nl(o)},Ft.render=function(n,o,i){if(!rl(o))throw Error(r(200));return ol(null,n,o,!1,i)},Ft.unmountComponentAtNode=function(n){if(!rl(n))throw Error(r(40));return n._reactRootContainer?(Zr(function(){ol(null,null,n,!1,function(){n._reactRootContainer=null,n[Mn]=null})}),!0):!1},Ft.unstable_batchedUpdates=Uu,Ft.unstable_renderSubtreeIntoContainer=function(n,o,i,c){if(!rl(i))throw Error(r(200));if(n==null||n._reactInternals===void 0)throw Error(r(38));return ol(n,o,i,!1,c)},Ft.version="18.3.1-next-f1338f8080-20240426",Ft}var Km;function Gy(){if(Km)return Zu.exports;Km=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Zu.exports=w1(),Zu.exports}var Gm;function b1(){if(Gm)return al;Gm=1;var e=Gy();return al.createRoot=e.createRoot,al.hydrateRoot=e.hydrateRoot,al}var S1=b1();const k1=pf(S1),E1=20,_1=1e6,Gn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let nd=0;function C1(){return nd=(nd+1)%Number.MAX_VALUE,nd.toString()}const rd=new Map,Ym=e=>{if(rd.has(e))return;const t=setTimeout(()=>{rd.delete(e),Ti({type:Gn.REMOVE_TOAST,toastId:e})},_1);rd.set(e,t)},N1=(e,t)=>{switch(t.type){case Gn.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,E1)};case Gn.UPDATE_TOAST:return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case Gn.DISMISS_TOAST:{const{toastId:r}=t;return r?Ym(r):e.toasts.forEach(s=>{Ym(s.id)}),{...e,toasts:e.toasts.map(s=>
40s.id===r||r===void 0?{...s,open:!1}:s)}}case Gn.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},bl=[];let Sl={toasts:[]};function Ti(e){Sl=N1(Sl,e),bl.forEach(t=>{t(Sl)})}function R1({...e}){const t=C1(),r=a=>Ti({type:Gn.UPDATE_TOAST,toast:{...a,id:t}}),s=()=>Ti({type:Gn.DISMISS_TOAST,toastId:t});return Ti({type:Gn.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:a=>{a||s()}}}),{id:t,dismiss:s,update:r}}function T1(){const[e,t]=w.useState(Sl);return w.useEffect(()=>(bl.push(t),()=>{const r=bl.indexOf(t);r>-1&&bl.splice(r,1)}),[e]),{...e,toast:R1,dismiss:r=>Ti({type:Gn.DISMISS_TOAST,toastId:r})}}function Yy(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=Yy(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function Xy(){for(var e,t,r=0,s="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=Yy(e))&&(s&&(s+=" "),s+=t);return s}const Xm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Jm=Xy,gf=(e,t)=>r=>{var s;if((t==null?void 0:t.variants)==null)return Jm(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:l}=t,u=Object.keys(a).map(g=>{const y=r==null?void 0:r[g],v=l==null?void 0:l[g];if(y===null)return null;const E=Xm(y)||Xm(v);return a[g][E]}),d=r&&Object.entries(r).reduce((g,y)=>{let[v,E]=y;return E===void 0||(g[v]=E),g},{}),h=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((g,y)=>{let{class:v,className:E,..._}=y;return Object.entries(_).every(P=>{let[b,S]=P;return Array.isArray(S)?S.includes({...l,...d}[b]):{...l,...d}[b]===S})?[...g,v,E]:g},[]);return Jm(e,u,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 P1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Jy=(...e)=>e.filter((t,r,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===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 O1={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 A1=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:a="",children:l,iconNode:u,...d},h)=>w.createElement("svg",{ref:h,...O1,width:t,height:t,stroke:e,strokeWidth:s?Number(r)*24/Number(t):r,className:Jy("lucide",a),...d},[...u.map(([g,y])=>w.createElement(g,y)),...Array.isArray(l)?l:[l]]));/** 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 Ue=(e,t)=>{const r=w.forwardRef(({className:s,...a},l)=>w.createElement(A1,{ref:l,iconNode:t,className:Jy(`lucide-${P1(e)}`,s),...a}));return r.displayName=`${e}`,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 j1=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],L1=Ue("ArrowRightLeft",j1);/** 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 I1=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],D1=Ue("Banknote",I1);/** 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 M1=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
75],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],Zy=Ue("Building2",M1);/** 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 F1=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ev=Ue("Check",F1);/** 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 z1=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],tv=Ue("ChevronDown",z1);/** 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 U1=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],B1=Ue("ChevronUp",U1);/** 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 $1=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
95],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],W1=Ue("Cpu",$1);/** 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 V1=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],H1=Ue("Earth",V1);/** 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 q1=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],Q1=Ue("FileCheck2",q1);/** 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 K1=[["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"}]],G1=Ue("FileText",K1);/** 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 Y1=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],X1=Ue("GitBranch",Y1);/** 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 J1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],nv=Ue("Globe",J1);/** 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 Z1=[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]],eS=Ue("Landmark",Z1);/** 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 tS=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],rv=Ue("Layers",tS);/** 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 nS=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],rS=Ue("Leaf",nS);/** 136 * @license lucide-react v0.475.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const oS=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],ov=Ue("Mail",oS);/** 141 * @license lucide-react v0.475.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const sS=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],iS=Ue("MapPin",sS);/** 146 * @license lucide-react v0.475.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const aS=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],lS=Ue("Network",aS);/** 151 * @license lucide-react v0.475.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const cS=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],uS=Ue("Percent",cS);/** 156 * @license lucide-react v0.475.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const dS=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],sv=Ue("Phone",dS);/** 161 * @license lucide-react v0.475.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const fS=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}
vendor: 5,455 bytes, lines 165-200
165],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],hS=Ue("Radar",fS);/** 166 * @license lucide-react v0.475.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const pS=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],mS=Ue("Scale",pS);/** 171 * @license lucide-react v0.475.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const gS=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],yS=Ue("ScrollText",gS);/** 176 * @license lucide-react v0.475.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const vS=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],xS=Ue("Settings",vS);/** 181 * @license lucide-react v0.475.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const wS=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ql=Ue("ShieldCheck",wS);/** 186 * @license lucide-react v0.475.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const bS=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],iv=Ue("TrendingUp",bS);/** 191 * @license lucide-react v0.475.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const SS=[["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"}]],kS=Ue("Users",SS);/** 196 * @license lucide-react v0.475.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const ES=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_S=Ue("X",ES),CS=(e,t)=>{const r=new Array(e.length+t.length);for(let s=0;s<e.length;s++)r[s]=e[s];for(let s=0;s<t.length;s++)r[e.length+s]=t[s];return r},NS=(e,t)=>({classGroupId:e,validator:t}),av=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Ll="-",Zm=[],RS="arbitrary..",TS=e=>{const t=OS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return PS(u);const d=u.split(Ll),h=d[0]===""&&d.length>1?1:0;return lv(d,h,t)},getConflictingClassGroupIds:(u,d)=>{if(d){const h=s[u],g=r[u];return h?g?CS(g,h):h:g||Zm}return r[u]||Zm}}},lv=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const a=e[t],l=r.nextPart.get(a);if(l){const g=lv(e,t+1,l);if(g)return g}const u=r.validators;if(u===null)return;const d=t===0?e.join(Ll):e.slice(t).join(Ll),h=u.length;for(let g=0;g<h;g++){const y=u[g];if(y.validator(d))return y.classGroupId}},PS=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),s=t.slice(0,r);return s?RS+s:void 0})(),OS=e=>{const{theme:t,classGroups:r}=e;return AS(r,t)},AS=(e,t)=>{const r=av();for(const s in e){const a=e[s];yf(a,r,s,t)}return r},yf=(e,t,r,s)=>{const a=e.length;for(let l=0;l<a;l++){const u=e[l];jS(u,t,r,s)}},jS=(e,t,r,s)=>{if(typeof e=="string"){LS(e,t,r);return}if(typeof e=="function"){IS(e,t,r,s);return}DS(e,t,r,s)},LS=(e,t,r)=>{const s=e===""?t:cv(t,e);s.classGroupId=r},IS=(e,t,r,s)=>{if(MS(e)){yf(e(s),t,r,s);return}t.validators===null&&(t.validators=[]),t.validators.push(NS(r,e))},DS=(e,t,r,s)=>{const a=Object.entries(e),l=a.length;for(let u=0;u<l;u++){const[d,h]=a[u];yf(h,cv(t,d),r,s)}},cv=(e,t)=>{let r=e;const s=t.split(Ll),a=s.length;for(let l=0;l<a;l++){const u=s[l];let d=r.nextPart.get(u);d||(d=av(),r.nextPart.set(u,d)),r=d}return r},MS=e=>
vendor: 6,544 bytes, line 200
200"isThemeGetter"in e&&e.isThemeGetter===!0,FS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),s=Object.create(null);const a=(l,u)=>{r[l]=u,t++,t>e&&(t=0,s=r,r=Object.create(null))};return{get(l){let u=r[l];if(u!==void 0)return u;if((u=s[l])!==void 0)return a(l,u),u},set(l,u){l in r?r[l]=u:a(l,u)}}},Cd="!",eg=":",zS=[],tg=(e,t,r,s,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:s,isExternal:a}),US=e=>{const{prefix:t,experimentalParseClassName:r}=e;let s=a=>{const l=[];let u=0,d=0,h=0,g;const y=a.length;for(let b=0;b<y;b++){const S=a[b];if(u===0&&d===0){if(S===eg){l.push(a.slice(h,b)),h=b+1;continue}if(S==="/"){g=b;continue}}S==="["?u++:S==="]"?u--:S==="("?d++:S===")"&&d--}const v=l.length===0?a:a.slice(h);let E=v,_=!1;v.endsWith(Cd)?(E=v.slice(0,-1),_=!0):v.startsWith(Cd)&&(E=v.slice(1),_=!0);const P=g&&g>h?g-h:void 0;return tg(l,_,E,P)};if(t){const a=t+eg,l=s;s=u=>u.startsWith(a)?l(u.slice(a.length)):tg(zS,!1,u,void 0,!0)}if(r){const a=s;s=l=>r({className:l,parseClassName:a})}return s},BS=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,s)=>{t.set(r,1e6+s)}),r=>{const s=[];let a=[];for(let l=0;l<r.length;l++){const u=r[l],d=u[0]==="[",h=t.has(u);d||h?(a.length>0&&(a.sort(),s.push(...a),a=[]),s.push(u)):a.push(u)}return a.length>0&&(a.sort(),s.push(...a)),s}},$S=e=>({cache:FS(e.cacheSize),parseClassName:US(e),sortModifiers:BS(e),...TS(e)}),WS=/\s+/,VS=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a,sortModifiers:l}=t,u=[],d=e.trim().split(WS);let h="";for(let g=d.length-1;g>=0;g-=1){const y=d[g],{isExternal:v,modifiers:E,hasImportantModifier:_,baseClassName:P,maybePostfixModifierPosition:b}=r(y);if(v){h=y+(h.length>0?" "+h:h);continue}let S=!!b,k=s(S?P.substring(0,b):P);if(!k){if(!S){h=y+(h.length>0?" "+h:h);continue}if(k=s(P),!k){h=y+(h.length>0?" "+h:h);continue}S=!1}const N=E.length===0?"":E.length===1?E[0]:l(E).join(":"),C=_?N+Cd:N,T=C+k;if(u.indexOf(T)>-1)continue;u.push(T);const F=a(k,S);for(let z=0;z<F.length;++z){const V=F[z];u.push(C+V)}h=y+(h.length>0?" "+h:h)}return h},HS=(...e)=>{let t=0,r,s,a="";for(;t<e.length;)(r=e[t++])&&(s=uv(r))&&(a&&(a+=" "),a+=s);return a},uv=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=uv(e[s]))&&(r&&(r+=" "),r+=t);return r},qS=(e,...t)=>{let r,s,a,l;const u=h=>{const g=t.reduce((y,v)=>v(y),e());return r=$S(g),s=r.cache.get,a=r.cache.set,l=d,d(h)},d=h=>{const g=s(h);if(g)return g;const y=VS(h,r);return a(h,y),y};return l=u,(...h)=>l(HS(...h))},QS=[],ct=e=>{const t=r=>r[e]||QS;return t.isThemeGetter=!0,t},dv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,KS=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,GS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YS=/\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$/,XS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,JS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ZS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wr=e=>KS.test(e),Pe=e=>!!e&&!Number.isNaN(Number(e)),br=e=>!!e&&Number.isInteger(Number(e)),od=e=>e.endsWith("%")&&Pe(e.slice(0,-1)),Hn=e=>GS.test(e),hv=()=>!0,ek=e=>YS.test(e)&&!XS.test(e),vf=()=>!1,tk=e=>JS.test(e),nk=e=>ZS.test(e),rk=e=>!de(e)&&!pe(e),ok=e=>Br(e,gv,vf),de=e=>dv.test(e),ro=e=>Br(e,yv,ek),ng=e=>Br(e,fk,Pe),sk=e=>Br(e,xv,hv),ik=e=>Br(e,vv,vf),rg=e=>Br(e,pv,vf),ak=e=>Br(e,mv,nk),ll=e=>Br(e,wv,tk),pe=e=>fv.test(e),wi=e=>To(e,yv),lk=e=>To(e,vv),og=e=>To(e,pv),ck=e=>To(e,gv),uk=e=>To(e,mv),cl=e=>To(e,wv,!0),dk=e=>To(e,xv,!0),Br=(e,t,r)=>{const s=dv.exec(e);return s?s[1]?t(s[1]):r(s[2]):!1},To=(e,t,r=!1)=>{const s=fv.exec(e);return s?s[1]?t(s[1]):r:!1},pv=e=>e==="position"||e==="percentage",mv=e=>e==="image"||e==="url",gv=e=>e==="length"||e==="size"||e==="bg-size",yv=e=>e==="length",fk=e=>e==="number",vv=e=>e==="family-name",xv=e=>e==="number"||e==="weight",wv=e=>e==="shadow",hk=()=>{const e=ct("color"),t=ct("font"),r=ct("text"),s=ct("font-weight"),a=ct("tracking"),l=ct("leading"),u=ct("breakpoint"),d=ct("container"),h=ct("spacing"),g=ct("radius"),y=ct("shadow"),v=ct("inset-shadow"),E=ct("text-shadow"),_=ct("drop-shadow"),P=ct("blur"),b=ct("perspective"),S=ct("aspect"),k=ct("ease"),N=ct("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...T(),pe,de],z=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],B=()=>[pe,de,h],J=()=>[wr,"full","auto",...B()],ee=()=>[br,"none","subgrid",pe,de],le=()=>["auto",{span:["full",br,pe,de]},br,pe,de],ve=()=>[br,"auto",pe,de],oe=()=>["auto","min","max","fr",pe,de],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ke=()=>["start","end","center","stretch","center-safe","end-safe"],se=()=>["auto",...B()],ce=()=>[wr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],W=()=>[wr,"screen","full","dvw","lvw","svw","min","max","fit",...B()],Z=()=>[wr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...B()],$=()=>[e,pe,de],A=()=>[...T(),og,rg,{position:[pe,de]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],we=()=>["auto","cover","contain",ck,ok,{size:[pe,de]}],xe=()=>[od,wi,ro],ye=()=>["","none","full",g,pe,de],X=()=>["",Pe,wi,ro],G=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>[Pe,od,og,rg],Re=()=>["","none",P,pe,de],Te=()=>["none",Pe,pe,de],Ne=()=>["none",Pe,pe,de],We=()=>[Pe,pe,de],Qe=()=>[wr,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Hn],breakpoint:[Hn],color:[hv],container:[Hn],"drop-shadow":[Hn],ease:["in","out","in-out"],font:[rk],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Hn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Hn],shadow:[Hn],spacing:["px",Pe],text:[Hn],"text-shadow":[Hn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",wr,de,pe,S]}
vendor: 6,129 bytes, line 200
200],container:["container"],columns:[{columns:[Pe,de,pe,d]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"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:F()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:J()}],"inset-x":[{"inset-x":J()}],"inset-y":[{"inset-y":J()}],start:[{"inset-s":J(),start:J()}],end:[{"inset-e":J(),end:J()}],"inset-bs":[{"inset-bs":J()}],"inset-be":[{"inset-be":J()}],top:[{top:J()}],right:[{right:J()}],bottom:[{bottom:J()}],left:[{left:J()}],visibility:["visible","invisible","collapse"],z:[{z:[br,"auto",pe,de]}],basis:[{basis:[wr,"full","auto",d,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Pe,wr,"auto","initial","none",de]}],grow:[{grow:["",Pe,pe,de]}],shrink:[{shrink:["",Pe,pe,de]}],order:[{order:[br,"first","last","none",pe,de]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:le()}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:le()}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...ke(),"normal"]}],"justify-self":[{"justify-self":["auto",...ke()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...ke(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ke(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...ke(),"baseline"]}],"place-self":[{"place-self":["auto",...ke()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pbs:[{pbs:B()}],pbe:[{pbe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:se()}],mx:[{mx:se()}],my:[{my:se()}],ms:[{ms:se()}],me:[{me:se()}],mbs:[{mbs:se()}],mbe:[{mbe:se()}],mt:[{mt:se()}],mr:[{mr:se()}],mb:[{mb:se()}],ml:[{ml:se()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:ce()}],"inline-size":[{inline:["auto",...W()]}],"min-inline-size":[{"min-inline":["auto",...W()]}],"max-inline-size":[{"max-inline":["none",...W()]}],"block-size":[{block:["auto",...Z()]}],"min-block-size":[{"min-block":["auto",...Z()]}],"max-block-size":[{"max-block":["none",...Z()]}],w:[{w:[d,"screen",...ce()]}],"min-w":[{"min-w":[d,"screen","none",...ce()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...ce()]}],h:[{h:["screen","lh",...ce()]}],"min-h":[{"min-h":["screen","lh","none",...ce()]}],"max-h":[{"max-h":["screen","lh",...ce()]}],"font-size":[{text:["base",r,wi,ro]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,dk,sk]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",od,de]}],"font-family":[{font:[lk,ik,t]}],"font-features":[{"font-features":[de]}],"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,pe,de]}],"line-clamp":[{"line-clamp":[Pe,"none",pe,ng]}],leading:[{leading:[l,...B()]}],"list-image":[{"list-image":["none",pe,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pe,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:[Pe,"from-font","auto",pe,ro]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[Pe,"auto",pe,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe,de]}],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",pe,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:we()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},br,pe,de],radial:["",pe,de],conic:[br,pe,de]},uk,ak]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:xe()}
vendor: 6,956 bytes, line 200
200],"gradient-via-pos":[{via:xe()}],"gradient-to-pos":[{to:xe()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:ye()}],"rounded-s":[{"rounded-s":ye()}],"rounded-e":[{"rounded-e":ye()}],"rounded-t":[{"rounded-t":ye()}],"rounded-r":[{"rounded-r":ye()}],"rounded-b":[{"rounded-b":ye()}],"rounded-l":[{"rounded-l":ye()}],"rounded-ss":[{"rounded-ss":ye()}],"rounded-se":[{"rounded-se":ye()}],"rounded-ee":[{"rounded-ee":ye()}],"rounded-es":[{"rounded-es":ye()}],"rounded-tl":[{"rounded-tl":ye()}],"rounded-tr":[{"rounded-tr":ye()}],"rounded-br":[{"rounded-br":ye()}],"rounded-bl":[{"rounded-bl":ye()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...G(),"hidden","none"]}],"divide-style":[{divide:[...G(),"hidden","none"]}],"border-color":[{border:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-bs":[{"border-bs":$()}],"border-color-be":[{"border-be":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...G(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Pe,pe,de]}],"outline-w":[{outline:["",Pe,wi,ro]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",y,cl,ll]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",v,cl,ll]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[Pe,ro]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",E,cl,ll]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[Pe,pe,de]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"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":[Pe]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[pe,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"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":T()}],"mask-image-conic-pos":[{"mask-conic":[Pe]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:we()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pe,de]}],filter:[{filter:["","none",pe,de]}],blur:[{blur:Re()}],brightness:[{brightness:[Pe,pe,de]}],contrast:[{contrast:[Pe,pe,de]}],"drop-shadow":[{"drop-shadow":["","none",_,cl,ll]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",Pe,pe,de]}],"hue-rotate":[{"hue-rotate":[Pe,pe,de]}],invert:[{invert:["",Pe,pe,de]}],saturate:[{saturate:[Pe,pe,de]}],sepia:[{sepia:["",Pe,pe,de]}],"backdrop-filter":[{"backdrop-filter":["","none",pe,de]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[Pe,pe,de]}],"backdrop-contrast":[{"backdrop-contrast":[Pe,pe,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Pe,pe,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Pe,pe,de]}],"backdrop-invert":[{"backdrop-invert":["",Pe,pe,de]}],"backdrop-opacity":[{"backdrop-opacity":[Pe,pe,de]}],"backdrop-saturate":[{"backdrop-saturate":[Pe,pe,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Pe,pe,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",pe,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Pe,"initial",pe,de]}],ease:[{ease:["linear","initial",k,pe,de]}],delay:[{delay:[Pe,pe,de]}],animate:[{animate:["none",N,pe,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,pe,de]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:Te()}],"rotate-x":[{"rotate-x":Te()}],"rotate-y":[{"rotate-y":Te()}],"rotate-z":[{"rotate-z":Te()}],scale:[{scale:Ne()}],"scale-x":[{"scale-x":Ne()}],"scale-y":[{"scale-y":Ne()}],"scale-z":[{"scale-z":Ne()}],"scale-3d":["scale-3d"],skew:[{skew:We()}],"skew-x":[{"skew-x":We()}
vendor: 7,384 bytes, line 200
200],"skew-y":[{"skew-y":We()}],transform:[{transform:[pe,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Qe()}],"translate-x":[{"translate-x":Qe()}],"translate-y":[{"translate-y":Qe()}],"translate-z":[{"translate-z":Qe()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}],"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",pe,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mbs":[{"scroll-mbs":B()}],"scroll-mbe":[{"scroll-mbe":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pbs":[{"scroll-pbs":B()}],"scroll-pbe":[{"scroll-pbe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],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",pe,de]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[Pe,wi,ro,ng]}],stroke:[{stroke:["none",...$()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},pk=qS(hk);function ut(...e){return pk(Xy(e))}const bv=w.forwardRef(({...e},t)=>p.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));bv.displayName="ToastProvider";const Sv=w.forwardRef(({...e},t)=>p.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));Sv.displayName="ToastViewport";const mk=gf("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"}}),kv=w.forwardRef(({className:e,variant:t,...r},s)=>p.jsx("div",{ref:s,className:ut(mk({variant:t}),e),...r}));kv.displayName="Toast";const gk=w.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:ut("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",e),...t}));gk.displayName="ToastAction";const Ev=w.forwardRef(({className:e,...t},r)=>p.jsx("button",{ref:r,className:ut("absolute right-2 top-2 rounded-md p-1 text-foreground
200/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",e),"toast-close":"",...t,children:p.jsx(_S,{className:"h-4 w-4"})}));Ev.displayName="ToastClose";const _v=w.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:ut("text-sm font-semibold",e),...t}));_v.displayName="ToastTitle";const Cv=w.forwardRef(({className:e,...t},r)=>p.jsx("div",{ref:r,className:ut("text-sm opacity-90",e),...t}));Cv.displayName="ToastDescription";function yk(){const{toasts:e}=T1();return p.jsxs(bv,{children:[e.map(function({id:t,title:r,description:s,action:a,...l}){return p.jsxs(kv,{...l,children:[p.jsxs("div",{className:"grid gap-1",children:[r&&p.jsx(_v,{children:r}),s&&p.jsx(Cv,{children:s})]}),a,p.jsx(Ev,{})]},t)}),p.jsx(Sv,{})]})}var $i=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vk={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Cr,hf,Fy,xk=(Fy=class{constructor(){Ee(this,Cr,vk);Ee(this,hf,!1)}setTimeoutProvider(e){re(this,Cr,e)}setTimeout(e,t){return j(this,Cr).setTimeout(e,t)}clearTimeout(e){j(this,Cr).clearTimeout(e)}setInterval(e,t){return j(this,Cr).setInterval(e,t)}clearInterval(e){j(this,Cr).clearInterval(e)}},Cr=new WeakMap,hf=new WeakMap,Fy),ao=new xk;function wk(e){setTimeout(e,0)}var So=typeof window>"u"||"Deno"in globalThis;function Ut(){}function bk(e,t){return typeof e=="function"?e(t):e}function Nd(e){return typeof e=="number"&&e>=0&&e!==1/0}function Nv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ir(e,t){return typeof e=="function"?e(t):e}function rn(e,t){return typeof e=="function"?e(t):e}function sg(e,t){const{type:r="all",exact:s,fetchStatus:a,predicate:l,queryKey:u,stale:d}=e;if(u){if(s){if(t.queryHash!==xf(u,t.options))return!1}else if(!Ai(t.queryKey,u))return!1}if(r!=="all"){const h=t.isActive();if(r==="active"&&!h||r==="inactive"&&h)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||a&&a!==t.state.fetchStatus||l&&!l(t))}function ig(e,t){const{exact:r,status:s,predicate:a,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(r){if(Oi(t.options.mutationKey)!==Oi(l))return!1}else if(!Ai(t.options.mutationKey,l))return!1}return!(s&&t.state.status!==s||a&&!a(t))}function xf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Oi)(e)}function Oi(e){return JSON.stringify(e,(t,r)=>Td(r)?Object.keys(r).sort().reduce((s,a)=>(s[a]=r[a],s),{}):r)}function Ai(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Ai(e[r],t[r])):!1}var Sk=Object.prototype.hasOwnProperty;function Rv(e,t,r=0){if(e===t)return e;if(r>500)return t;const s=ag(e)&&ag(t);if(!s&&!(Td(e)&&Td(t)))return t;const l=(s?e:Object.keys(e)).length,u=s?t:Object.keys(t),d=u.length,h=s?new Array(d):{};let g=0;for(let y=0;y<d;y++){const v=s?y:u[y],E=e[v],_=t[v];if(E===_){h[v]=E,(s?y<l:Sk.call(e,v))&&g++;continue}if(E===null||_===null||typeof E!="object"||typeof _!="object"){h[v]=_;continue}const P=Rv(E,_,r+1);h[v]=P,P===E&&g++}return l===d&&g===l?e:h}function Rd(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function ag(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Td(e){if(!lg(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!lg(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function lg(e){return Object.prototype.toString.call(e)==="[object Object]"}function kk(e){return new Promise(t=>{ao.setTimeout(t,e)})}function Pd(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Rv(e,t):t}function Ek(e,t,r=0){const s=[...e,t];return r&&s.length>r?s.slice(1):s}function _k(e,t,r=0){const s=[t,...e];return r&&s.length>r?s.slice(0,-1):s}var wf=Symbol();function Tv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===wf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Pv(e,t){return typeof e=="function"?e(...t):!!e}function Ck(e,t,r){let s=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??(a=t()),s||(s=!0,a.aborted?r():a.addEventListener("abort",r,{once:!0})),a)}),e}var uo,Nr,ds,zy,Nk=(zy=class extends $i{constructor(){super();Ee(this,uo);Ee(this,Nr);Ee(this,ds);re(this,ds,t=>{if(!So&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){j(this,Nr)||this.setEventListener(j(this,ds))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Nr))==null||t.call(this),re(this,Nr,void 0))}setEventListener(t){var r;re(this,ds,t),(r=j(this,Nr))==null||r.call(this),re(this,Nr,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){j(this,uo)!==t&&(re(this,uo,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,610 bytes, line 200
200this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof j(this,uo)=="boolean"?j(this,uo):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},uo=new WeakMap,Nr=new WeakMap,ds=new WeakMap,zy),bf=new Nk;function Od(){let e,t;const r=new Promise((a,l)=>{e=a,t=l});r.status="pending",r.catch(()=>{});function s(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{s({status:"fulfilled",value:a}),e(a)},r.reject=a=>{s({status:"rejected",reason:a}),t(a)},r}var Rk=wk;function Tk(){let e=[],t=0,r=d=>{d()},s=d=>{d()},a=Rk;const l=d=>{t?e.push(d):a(()=>{r(d)})},u=()=>{const d=e;e=[],d.length&&a(()=>{s(()=>{d.forEach(h=>{r(h)})})})};return{batch:d=>{let h;t++;try{h=d()}finally{t--,t||u()}return h},batchCalls:d=>(...h)=>{l(()=>{d(...h)})},schedule:l,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{s=d},setScheduler:d=>{a=d}}}var xt=Tk(),fs,Rr,hs,Uy,Pk=(Uy=class extends $i{constructor(){super();Ee(this,fs,!0);Ee(this,Rr);Ee(this,hs);re(this,hs,t=>{if(!So&&window.addEventListener){const r=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",s)}}})}onSubscribe(){j(this,Rr)||this.setEventListener(j(this,hs))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Rr))==null||t.call(this),re(this,Rr,void 0))}setEventListener(t){var r;re(this,hs,t),(r=j(this,Rr))==null||r.call(this),re(this,Rr,t(this.setOnline.bind(this)))}setOnline(t){j(this,fs)!==t&&(re(this,fs,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return j(this,fs)}},fs=new WeakMap,Rr=new WeakMap,hs=new WeakMap,Uy),Il=new Pk;function Ok(e){return Math.min(1e3*2**e,3e4)}function Ov(e){return(e??"online")==="online"?Il.isOnline():!0}var Ad=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Av(e){let t=!1,r=0,s;const a=Od(),l=()=>a.status!=="pending",u=b=>{var S;if(!l()){const k=new Ad(b);E(k),(S=e.onCancel)==null||S.call(e,k)}},d=()=>{t=!0},h=()=>{t=!1},g=()=>bf.isFocused()&&(e.networkMode==="always"||Il.isOnline())&&e.canRun(),y=()=>Ov(e.networkMode)&&e.canRun(),v=b=>{l()||(s==null||s(),a.resolve(b))},E=b=>{l()||(s==null||s(),a.reject(b))},_=()=>new Promise(b=>{var S;s=k=>{(l()||g())&&b(k)},(S=e.onPause)==null||S.call(e)}).then(()=>{var b;s=void 0,l()||(b=e.onContinue)==null||b.call(e)}),P=()=>{if(l())return;let b;const S=r===0?e.initialPromise:void 0;try{b=S??e.fn()}catch(k){b=Promise.reject(k)}Promise.resolve(b).then(v).catch(k=>{var z;if(l())return;const N=e.retry??(So?0:3),C=e.retryDelay??Ok,T=typeof C=="function"?C(r,k):C,F=N===!0||typeof N=="number"&&r<N||typeof N=="function"&&N(r,k);if(t||!F){E(k);return}r++,(z=e.onFail)==null||z.call(e,r,k),kk(T).then(()=>g()?void 0:_()).then(()=>{t?E(k):P()})})};return{promise:a,status:()=>a.status,cancel:u,continue:()=>(s==null||s(),a),cancelRetry:d,continueRetry:h,canStart:y,start:()=>(y()?P():_().then(P),a)}}var fo,By,jv=(By=class{constructor(){Ee(this,fo)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Nd(this.gcTime)&&re(this,fo,ao.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(So?1/0:300*1e3))}clearGcTimeout(){j(this,fo)&&(ao.clearTimeout(j(this,fo)),re(this,fo,void 0))}},fo=new WeakMap,By),ho,ps,nn,po,mt,Mi,mo,pn,qn,$y,Ak=($y=class extends jv{constructor(t){super();Ee(this,pn);Ee(this,ho);Ee(this,ps);Ee(this,nn);Ee(this,po);Ee(this,mt);Ee(this,Mi);Ee(this,mo);re(this,mo,!1),re(this,Mi,t.defaultOptions),this.setOptions(t.options),this.observers=[],re(this,po,t.client),re(this,nn,j(this,po).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,re(this,ho,ug(this.options)),this.state=t.state??j(this,ho),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=j(this,mt))==null?void 0:t.promise}setOptions(t){if(this.options={...j(this,Mi),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=ug(this.options);r.data!==void 0&&(this.setState(cg(r.data,r.dataUpdatedAt)),re(this,ho,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,nn).remove(this)}setData(t,r){const s=Pd(this.state.data,t,this.options);return Ae(this,pn,qn).call(this,{data:s,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),s}setState(t,r){Ae(this,pn,qn).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var s,a;const r=(s=j(this,mt))==null?void 0:s.promise;
200return(a=j(this,mt))==null||a.cancel(t),r?r.then(Ut).catch(Ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(j(this,ho))}isActive(){return this.observers.some(t=>rn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Ir(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Nv(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=j(this,mt))==null||r.continue()}onOnline(){var r;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=j(this,mt))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,nn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(j(this,mt)&&(j(this,mo)?j(this,mt).cancel({revert:!0}):j(this,mt).cancelRetry()),this.scheduleGc()),j(this,nn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,pn,qn).call(this,{type:"invalidate"})}async fetch(t,r){var h,g,y,v,E,_,P,b,S,k,N,C;if(this.state.fetchStatus!=="idle"&&((h=j(this,mt))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(j(this,mt))return j(this,mt).continueRetry(),j(this,mt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const T=this.observers.find(F=>F.options.queryFn);T&&this.setOptions(T.options)}const s=new AbortController,a=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(re(this,mo,!0),s.signal)})},l=()=>{const T=Tv(this.options,r),z=(()=>{const V={client:j(this,po),queryKey:this.queryKey,meta:this.meta};return a(V),V})();return re(this,mo,!1),this.options.persister?this.options.persister(T,z,this):T(z)},d=(()=>{const T={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:j(this,po),state:this.state,fetchFn:l};return a(T),T})();(g=this.options.behavior)==null||g.onFetch(d,this),re(this,ps,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((y=d.fetchOptions)==null?void 0:y.meta))&&Ae(this,pn,qn).call(this,{type:"fetch",meta:(v=d.fetchOptions)==null?void 0:v.meta}),re(this,mt,Av({initialPromise:r==null?void 0:r.initialPromise,fn:d.fetchFn,onCancel:T=>{T instanceof Ad&&T.revert&&this.setState({...j(this,ps),fetchStatus:"idle"}),s.abort()},onFail:(T,F)=>{Ae(this,pn,qn).call(this,{type:"failed",failureCount:T,error:F})},onPause:()=>{Ae(this,pn,qn).call(this,{type:"pause"})},onContinue:()=>{Ae(this,pn,qn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const T=await j(this,mt).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(_=(E=j(this,nn).config).onSuccess)==null||_.call(E,T,this),(b=(P=j(this,nn).config).onSettled)==null||b.call(P,T,this.state.error,this),T}catch(T){if(T instanceof Ad){if(T.silent)return j(this,mt).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw Ae(this,pn,qn).call(this,{type:"error",error:T}),(k=(S=j(this,nn).config).onError)==null||k.call(S,T,this),(C=(N=j(this,nn).config).onSettled)==null||C.call(N,this.state.data,T,this),T}finally{this.scheduleGc()}}},ho=new WeakMap,ps=new WeakMap,nn=new WeakMap,po=new WeakMap,mt=new WeakMap,Mi=new WeakMap,mo=new WeakMap,pn=new WeakSet,qn=function(t){const r=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...Lv(s.data,this.options),fetchMeta:t.meta??null};case"success":const a={...s,...cg(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return re(this,ps,t.manual?a:void 0),a;case"error":const l=t.error;
vendor: 4,851 bytes, line 200
200return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=r(this.state),xt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),j(this,nn).notify({query:this,type:"updated",action:t})})},$y);function Lv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ov(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function cg(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ug(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,s=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var zt,je,Fi,At,go,ms,Qn,Tr,zi,gs,ys,yo,vo,Pr,vs,Fe,Ei,jd,Ld,Id,Dd,Md,Fd,zd,Iv,Wy,jk=(Wy=class extends $i{constructor(t,r){super();Ee(this,Fe);Ee(this,zt);Ee(this,je);Ee(this,Fi);Ee(this,At);Ee(this,go);Ee(this,ms);Ee(this,Qn);Ee(this,Tr);Ee(this,zi);Ee(this,gs);Ee(this,ys);Ee(this,yo);Ee(this,vo);Ee(this,Pr);Ee(this,vs,new Set);this.options=r,re(this,zt,t),re(this,Tr,null),re(this,Qn,Od()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(j(this,je).addObserver(this),dg(j(this,je),this.options)?Ae(this,Fe,Ei).call(this):this.updateResult(),Ae(this,Fe,Dd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ud(j(this,je),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ud(j(this,je),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ae(this,Fe,Md).call(this),Ae(this,Fe,Fd).call(this),j(this,je).removeObserver(this)}setOptions(t){const r=this.options,s=j(this,je);if(this.options=j(this,zt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof rn(this.options.enabled,j(this,je))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ae(this,Fe,zd).call(this),j(this,je).setOptions(this.options),r._defaulted&&!Rd(this.options,r)&&j(this,zt).getQueryCache().notify({type:"observerOptionsUpdated",query:j(this,je),observer:this});const a=this.hasListeners();a&&fg(j(this,je),s,this.options,r)&&Ae(this,Fe,Ei).call(this),this.updateResult(),a&&(j(this,je)!==s||rn(this.options.enabled,j(this,je))!==rn(r.enabled,j(this,je))||Ir(this.options.staleTime,j(this,je))!==Ir(r.staleTime,j(this,je)))&&Ae(this,Fe,jd).call(this);const l=Ae(this,Fe,Ld).call(this);a&&(j(this,je)!==s||rn(this.options.enabled,j(this,je))!==rn(r.enabled,j(this,je))||l!==j(this,Pr))&&Ae(this,Fe,Id).call(this,l)}getOptimisticResult(t){const r=j(this,zt).getQueryCache().build(j(this,zt),t),s=this.createResult(r,t);return Ik(this,s)&&(re(this,At,s),re(this,ms,this.options),re(this,go,j(this,je).state)),s}getCurrentResult(){return j(this,At)}trackResult(t,r){return new Proxy(t,{get:(s,a)=>(this.trackProp(a),r==null||r(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&j(this,Qn).status==="pending"&&j(this,Qn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,a))})}trackProp(t){j(this,vs).add(t)}getCurrentQuery(){return j(this,je)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=j(this,zt).defaultQueryOptions(t),s=j(this,zt).getQueryCache().build(j(this,zt),r);return s.fetch().then(()=>this.createResult(s,r))}fetch(t){return Ae(this,Fe,Ei).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),j(this,At)))}createResult(t,r){var J;const s=j(this,je),a=this.options,l=j(this,At),u=j(this,go),d=j(this,ms),g=t!==s?t.state:j(this,Fi),{state:y}=t;let v={...y},E=!1,_;if(r._optimisticResults){const ee=this.hasListeners(),le=!ee&&dg(t,r),ve=ee&&fg(t,s,r,a);(le||ve)&&(v={...v,...Lv(y.data,t.options)}),r._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:P,errorUpdatedAt:b,status:S}=v;_=v.data;let k=!1;if(r.placeholderData!==void 0&&_===void 0&&S==="pending"){let ee;l!=null&&l.isPlaceholderData&&r.placeholderData===(d==null?void 0:d.placeholderData)?(ee=l.data,k=!0):ee=typeof r.placeholderData=="function"?r.placeholderData((J=j(this,ys))==null?void 0:J.state.data,j(this,ys)):r.placeholderData,ee!==void 0&&(S="success",_=Pd(l==null?void 0:l.data,ee,r),E=!0)}
vendor: 1,654 bytes, line 200
200if(r.select&&_!==void 0&&!k)if(l&&_===(u==null?void 0:u.data)&&r.select===j(this,zi))_=j(this,gs);else try{re(this,zi,r.select),_=r.select(_),_=Pd(l==null?void 0:l.data,_,r),re(this,gs,_),re(this,Tr,null)}catch(ee){re(this,Tr,ee)}j(this,Tr)&&(P=j(this,Tr),_=j(this,gs),b=Date.now(),S="error");const N=v.fetchStatus==="fetching",C=S==="pending",T=S==="error",F=C&&N,z=_!==void 0,B={status:S,fetchStatus:v.fetchStatus,isPending:C,isSuccess:S==="success",isError:T,isInitialLoading:F,isLoading:F,data:_,dataUpdatedAt:v.dataUpdatedAt,error:P,errorUpdatedAt:b,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>g.dataUpdateCount||v.errorUpdateCount>g.errorUpdateCount,isFetching:N,isRefetching:N&&!C,isLoadingError:T&&!z,isPaused:v.fetchStatus==="paused",isPlaceholderData:E,isRefetchError:T&&z,isStale:Sf(t,r),refetch:this.refetch,promise:j(this,Qn),isEnabled:rn(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const ee=B.data!==void 0,le=B.status==="error"&&!ee,ve=ke=>{le?ke.reject(B.error):ee&&ke.resolve(B.data)},oe=()=>{const ke=re(this,Qn,B.promise=Od());ve(ke)},ie=j(this,Qn);switch(ie.status){case"pending":t.queryHash===s.queryHash&&ve(ie);break;case"fulfilled":(le||B.data!==ie.value)&&oe();break;case"rejected":(!le||B.error!==ie.reason)&&oe();break}}return B}updateResult(){const t=j(this,At),r=this.createResult(j(this,je),this.options);if(re(this,go,j(this,je).state),re(this,ms,this.options),j(this,go).data!==void 0&&re(this,ys,j(this,je)),Rd(r,t))return;re(this,At,r);const s=()=>
vendor: 7,412 bytes, line 200
200{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,l=typeof a=="function"?a():a;if(l==="all"||!l&&!j(this,vs).size)return!0;const u=new Set(l??j(this,vs));return this.options.throwOnError&&u.add("error"),Object.keys(j(this,At)).some(d=>{const h=d;return j(this,At)[h]!==t[h]&&u.has(h)})};Ae(this,Fe,Iv).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ae(this,Fe,Dd).call(this)}},zt=new WeakMap,je=new WeakMap,Fi=new WeakMap,At=new WeakMap,go=new WeakMap,ms=new WeakMap,Qn=new WeakMap,Tr=new WeakMap,zi=new WeakMap,gs=new WeakMap,ys=new WeakMap,yo=new WeakMap,vo=new WeakMap,Pr=new WeakMap,vs=new WeakMap,Fe=new WeakSet,Ei=function(t){Ae(this,Fe,zd).call(this);let r=j(this,je).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Ut)),r},jd=function(){Ae(this,Fe,Md).call(this);const t=Ir(this.options.staleTime,j(this,je));if(So||j(this,At).isStale||!Nd(t))return;const s=Nv(j(this,At).dataUpdatedAt,t)+1;re(this,yo,ao.setTimeout(()=>{j(this,At).isStale||this.updateResult()},s))},Ld=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(j(this,je)):this.options.refetchInterval)??!1},Id=function(t){Ae(this,Fe,Fd).call(this),re(this,Pr,t),!(So||rn(this.options.enabled,j(this,je))===!1||!Nd(j(this,Pr))||j(this,Pr)===0)&&re(this,vo,ao.setInterval(()=>{(this.options.refetchIntervalInBackground||bf.isFocused())&&Ae(this,Fe,Ei).call(this)},j(this,Pr)))},Dd=function(){Ae(this,Fe,jd).call(this),Ae(this,Fe,Id).call(this,Ae(this,Fe,Ld).call(this))},Md=function(){j(this,yo)&&(ao.clearTimeout(j(this,yo)),re(this,yo,void 0))},Fd=function(){j(this,vo)&&(ao.clearInterval(j(this,vo)),re(this,vo,void 0))},zd=function(){const t=j(this,zt).getQueryCache().build(j(this,zt),this.options);if(t===j(this,je))return;const r=j(this,je);re(this,je,t),re(this,Fi,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},Iv=function(t){xt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(j(this,At))}),j(this,zt).getQueryCache().notify({query:j(this,je),type:"observerResultsUpdated"})})},Wy);function Lk(e,t){return rn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function dg(e,t){return Lk(e,t)||e.state.data!==void 0&&Ud(e,t,t.refetchOnMount)}function Ud(e,t,r){if(rn(t.enabled,e)!==!1&&Ir(t.staleTime,e)!=="static"){const s=typeof r=="function"?r(e):r;return s==="always"||s!==!1&&Sf(e,t)}return!1}function fg(e,t,r,s){return(e!==t||rn(s.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Sf(e,r)}function Sf(e,t){return rn(t.enabled,e)!==!1&&e.isStaleByTime(Ir(t.staleTime,e))}function Ik(e,t){return!Rd(e.getCurrentResult(),t)}function hg(e){return{onFetch:(t,r)=>{var y,v,E,_,P;const s=t.options,a=(E=(v=(y=t.fetchOptions)==null?void 0:y.meta)==null?void 0:v.fetchMore)==null?void 0:E.direction,l=((_=t.state.data)==null?void 0:_.pages)||[],u=((P=t.state.data)==null?void 0:P.pageParams)||[];let d={pages:[],pageParams:[]},h=0;const g=async()=>{let b=!1;const S=C=>{Ck(C,()=>t.signal,()=>b=!0)},k=Tv(t.options,t.fetchOptions),N=async(C,T,F)=>{if(b)return Promise.reject();if(T==null&&C.pages.length)return Promise.resolve(C);const V=(()=>{const le={client:t.client,queryKey:t.queryKey,pageParam:T,direction:F?"backward":"forward",meta:t.options.meta};return S(le),le})(),B=await k(V),{maxPages:J}=t.options,ee=F?_k:Ek;return{pages:ee(C.pages,B,J),pageParams:ee(C.pageParams,T,J)}};if(a&&l.length){const C=a==="backward",T=C?Dk:pg,F={pages:l,pageParams:u},z=T(s,F);d=await N(F,z,C)}else{const C=e??l.length;do{const T=h===0?u[0]??s.initialPageParam:pg(s,d);if(h>0&&T==null)break;d=await N(d,T),h++}while(h<C)}return d};t.options.persister?t.fetchFn=()=>{var b,S;return(S=(b=t.options).persister)==null?void 0:S.call(b,g,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=g}}}function pg(e,{pages:t,pageParams:r}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,r[s],r):void 0}function Dk(e,{pages:t,pageParams:r}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,r[0],r):void 0}var Ui,_n,Rt,xo,Cn,kr,Vy,Mk=(Vy=class extends jv{constructor(t){super();Ee(this,Cn);Ee(this,Ui);Ee(this,_n);Ee(this,Rt);Ee(this,xo);re(this,Ui,t.client),this.mutationId=t.mutationId,re(this,Rt,t.mutationCache),re(this,_n,[]),this.state=t.state||Fk(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,_n).includes(t)||(j(this,_n).push(t),this.clearGcTimeout(),j(this,Rt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){re(this,_n,j(this,_n).filter(r=>r!==t)),this.scheduleGc(),j(this,Rt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,_n).length||(this.state.status==="pending"?this.scheduleGc():j(this,Rt).remove(this))}continue(){var t;return((t=j(this,xo))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var u,d,h,g,y,v,E,_,P,b,S,k,N,C,T,F,z,V;const r=()=>{Ae(this,Cn,kr).call(this,{type:"continue"})},s={client:j(this,Ui),meta:this.options.meta,mutationKey:this.options.mutationKey};re(this,xo,Av({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(B,J)=>{Ae(this,Cn,kr).call(this,{type:"failed",failureCount:B,error:J})},onPause:()=>{Ae(this,Cn,kr).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>j(this,Rt).canRun(this)}));const a=this.state.status==="pending",l=!j(this,xo).canStart();try{if(a)r();else{Ae(this,Cn,kr).call(this,{type:"pending",variables:t,isPaused:l}),j(this,Rt).config.onMutate&&await j(this,Rt).config.onMutate(t,this,s);const J=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,t,s));J!==this.state.context&&Ae(this,Cn,kr).call(this,{type:"pending",context:J,variables:t,isPaused:l})}const B=await j(this,xo).start();return await((g=(h=j(this,Rt).config).onSuccess)==null?void 0:g.call(h,B,t,this.state.context,this,s)),await((v=(y=this.options).onSuccess)==null?void 0:v.call(y,B,t,this.state.context,s)),await((_=(E=j(this,Rt).config).onSettled)==null?void 0:_.call(E,B,null,this.state.variables,this.state.context,this,s)),await((b=(P=this.options).onSettled)==null?void 0:b.call(P,B,null,t,this.state.context,s)),Ae(this,Cn,kr).call(this,{type:"success",data:B}),B}catch(B){try{await((k=(S=j(this,Rt).config).onError)==null?void 0:k.call(S,B,t,this.state.context,this,s))}catch(J){Promise.reject(J)}try{await((C=(N=this.options).onError)==null?void 0:C.call(N,B,t,this.state.context,s))}catch(J){Promise.reject(J)}try{await((F=(T=j(this,Rt).config).onSettled)==null?void 0:F.call(T,void 0,B,this.state.variables,this.state.context,this,s))}catch(J){Promise.reject(J)}try{await((V=(z=this.options).onSettled)==null?void 0:V.call(z,void 0,B,t,this.state.context,s))}catch(J){Promise.reject(J)}throw Ae(this,Cn,kr).call(this,{type:"error",error:B}),B}finally{j(this,Rt).runNext(this)}}},Ui=new WeakMap,_n=new WeakMap,Rt=new WeakMap,xo=new WeakMap,Cn=new WeakSet,kr=function(t){const r=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};
200case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),xt.batch(()=>{j(this,_n).forEach(s=>{s.onMutationUpdate(t)}),j(this,Rt).notify({mutation:this,type:"updated",action:t})})},Vy);function Fk(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Kn,mn,Bi,Hy,zk=(Hy=class extends $i{constructor(t={}){super();Ee(this,Kn);Ee(this,mn);Ee(this,Bi);this.config=t,re(this,Kn,new Set),re(this,mn,new Map),re(this,Bi,0)}build(t,r,s){const a=new Mk({client:t,mutationCache:this,mutationId:++il(this,Bi)._,options:t.defaultMutationOptions(r),state:s});return this.add(a),a}add(t){j(this,Kn).add(t);const r=ul(t);if(typeof r=="string"){const s=j(this,mn).get(r);s?s.push(t):j(this,mn).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,Kn).delete(t)){const r=ul(t);if(typeof r=="string"){const s=j(this,mn).get(r);if(s)if(s.length>1){const a=s.indexOf(t);a!==-1&&s.splice(a,1)}else s[0]===t&&j(this,mn).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=ul(t);if(typeof r=="string"){const s=j(this,mn).get(r),a=s==null?void 0:s.find(l=>l.state.status==="pending");return!a||a===t}else return!0}runNext(t){var s;const r=ul(t);if(typeof r=="string"){const a=(s=j(this,mn).get(r))==null?void 0:s.find(l=>
vendor: 4,729 bytes, line 200
200l!==t&&l.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){xt.batch(()=>{j(this,Kn).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,Kn).clear(),j(this,mn).clear()})}getAll(){return Array.from(j(this,Kn))}find(t){const r={exact:!0,...t};return this.getAll().find(s=>ig(r,s))}findAll(t={}){return this.getAll().filter(r=>ig(t,r))}notify(t){xt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return xt.batch(()=>Promise.all(t.map(r=>r.continue().catch(Ut))))}},Kn=new WeakMap,mn=new WeakMap,Bi=new WeakMap,Hy);function ul(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Nn,qy,Uk=(qy=class extends $i{constructor(t={}){super();Ee(this,Nn);this.config=t,re(this,Nn,new Map)}build(t,r,s){const a=r.queryKey,l=r.queryHash??xf(a,r);let u=this.get(l);return u||(u=new Ak({client:t,queryKey:a,queryHash:l,options:t.defaultQueryOptions(r),state:s,defaultOptions:t.getQueryDefaults(a)}),this.add(u)),u}add(t){j(this,Nn).has(t.queryHash)||(j(this,Nn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=j(this,Nn).get(t.queryHash);r&&(t.destroy(),r===t&&j(this,Nn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,Nn).get(t)}getAll(){return[...j(this,Nn).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(s=>sg(r,s))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(s=>sg(t,s)):r}notify(t){xt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Nn=new WeakMap,qy),Je,Or,Ar,xs,ws,jr,bs,Ss,Qy,Bk=(Qy=class{constructor(e={}){Ee(this,Je);Ee(this,Or);Ee(this,Ar);Ee(this,xs);Ee(this,ws);Ee(this,jr);Ee(this,bs);Ee(this,Ss);re(this,Je,e.queryCache||new Uk),re(this,Or,e.mutationCache||new zk),re(this,Ar,e.defaultOptions||{}),re(this,xs,new Map),re(this,ws,new Map),re(this,jr,0)}mount(){il(this,jr)._++,j(this,jr)===1&&(re(this,bs,bf.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,Je).onFocus())})),re(this,Ss,Il.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,Je).onOnline())})))}unmount(){var e,t;il(this,jr)._--,j(this,jr)===0&&((e=j(this,bs))==null||e.call(this),re(this,bs,void 0),(t=j(this,Ss))==null||t.call(this),re(this,Ss,void 0))}isFetching(e){return j(this,Je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,Or).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=j(this,Je).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=j(this,Je).build(this,t),s=r.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Ir(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return j(this,Je).findAll(e).map(({queryKey:t,state:r})=>{const s=r.data;return[t,s]})}setQueryData(e,t,r){const s=this.defaultQueryOptions({queryKey:e}),a=j(this,Je).get(s.queryHash),l=a==null?void 0:a.state.data,u=bk(t,l);if(u!==void 0)return j(this,Je).build(this,s).setData(u,{...r,manual:!0})}setQueriesData(e,t,r){return xt.batch(()=>j(this,Je).findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=j(this,Je).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=j(this,Je);xt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=j(this,Je);return xt.batch(()=>(r.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},s=xt.batch(()=>j(this,Je).findAll(e).map(a=>a.cancel(r)));return Promise.all(s).then(Ut).catch(Ut)}invalidateQueries(e,t={}){return xt.batch(()=>(j(this,Je).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},s=xt.batch(()=>j(this,Je).findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let l=a.fetch(void 0,r);return r.throwOnError||(l=l.catch(Ut)),a.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(s).then(Ut)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=j(this,Je).build(this,t);return r.isStaleByTime(Ir(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}
200prefetchQuery(e){return this.fetchQuery(e).then(Ut).catch(Ut)}fetchInfiniteQuery(e){return e.behavior=hg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ut).catch(Ut)}ensureInfiniteQueryData(e){return e.behavior=hg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Il.isOnline()?j(this,Or).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,Je)}getMutationCache(){return j(this,Or)}getDefaultOptions(){return j(this,Ar)}setDefaultOptions(e){re(this,Ar,e)}setQueryDefaults(e,t){j(this,xs).set(Oi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,xs).values()],r={};return t.forEach(s=>{Ai(e,s.queryKey)&&Object.assign(r,s.defaultOptions)}),r}setMutationDefaults(e,t){j(this,ws).set(Oi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,ws).values()],r={};return t.forEach(s=>{Ai(e,s.mutationKey)&&Object.assign(r,s.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,Ar).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=xf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===wf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...j(this,Ar).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,Je).clear(),j(this,Or).clear()}},Je=new WeakMap,Or=new WeakMap,Ar=new WeakMap,xs=new WeakMap,ws=new WeakMap,jr=new WeakMap,bs=new WeakMap,Ss=new WeakMap,Qy),Dv=w.createContext(void 0),$k=e=>{const t=w.useContext(Dv);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Wk=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(Dv.Provider,{value:e,children:t})),Mv=w.createContext(!1),Vk=()=>w.useContext(Mv);Mv.Provider;function Hk(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var qk=w.createContext(Hk()),Qk=()=>w.useContext(qk),Kk=(e,t,r)=>{const s=r!=null&&r.state.error&&typeof e.throwOnError=="function"?Pv(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||s)&&(t.isReset()||(e.retryOnMount=!1))},Gk=e=>{w.useEffect(()=>{e.clearReset()},[e])},Yk=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(a&&e.data===void 0||Pv(r,[e.error,s])),Xk=e=>{if(e.suspense){const r=a=>a==="static"?a:Math.max(a??1e3,1e3),s=e.staleTime;e.staleTime=typeof s=="function"?(...a)=>r(s(...a)):r(s),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},Jk=(e,t)=>e.isLoading&&e.isFetching&&!t,Zk=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,mg=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function eE(e,t,r){var E,_,P,b;const s=Vk(),a=Qk(),l=$k(),u=l.defaultQueryOptions(e);(_=(E=l.getDefaultOptions().queries)==null?void 0:E._experimental_beforeQuery)==null||_.call(E,u);const d=l.getQueryCache().get(u.queryHash);u._optimisticResults=s?"isRestoring":"optimistic",Xk(u),Kk(u,a,d),Gk(a);const h=!l.getQueryCache().get(u.queryHash),[g]=w.useState(()=>new t(l,u)),y=g.getOptimisticResult(u),v=!s&&e.subscribed!==!1;if(w.useSyncExternalStore(w.useCallback(S=>{const k=v?g.subscribe(xt.batchCalls(S)):Ut;return g.updateResult(),k},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),w.useEffect(()=>{g.setOptions(u)},[u,g]),Zk(u,y))throw mg(u,g,a);if(Yk({result:y,errorResetBoundary:a,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw y.error;if((b=(P=l.getDefaultOptions().queries)==null?void 0:P._experimental_afterQuery)==null||b.call(P,u,y),u.experimental_prefetchInRender&&!So&&Jk(y,s)){const S=h?mg(u,g,a):d==null?void 0:d.promise;S==null||S.catch(Ut).finally(()=>{g.updateResult()})}return u.notifyOnChangeProps?y:g.trackResult(y)}function tE(e,t){return eE(e,jk)}const nE=new Bk({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});var Wi=Gy();const rE=pf(Wi);/** 201 * @remix-run/router v1.23.3 202 * 203 * Copyright (c) Remix Software Inc. 204 * 205 * This source code is licensed under the MIT license found in the 206 * LICENSE.md file in the root directory of this source tree. 207 * 208 * @license MIT 209 */function ji(){return ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
vendor: 14,602 bytes, lines 209-218
209).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},ji.apply(null,arguments)}var Lr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Lr||(Lr={}));const gg="popstate";function oE(e){e===void 0&&(e={});function t(s,a){let{pathname:l,search:u,hash:d}=s.location;return Bd("",{pathname:l,search:u,hash:d},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(s,a){return typeof a=="string"?a:Dl(a)}return iE(t,r,null,e)}function it(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function kf(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function sE(){return Math.random().toString(36).substr(2,8)}function yg(e,t){return{usr:e.state,key:e.key,idx:t}}function Bd(e,t,r,s){return r===void 0&&(r=null),ji({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Cs(t):t,{state:r,key:t&&t.key||s||sE()})}function Dl(e){let{pathname:t="/",search:r="",hash:s=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(t+=s.charAt(0)==="#"?s:"#"+s),t}function Cs(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let s=e.indexOf("?");s>=0&&(t.search=e.substr(s),e=e.substr(0,s)),e&&(t.pathname=e)}return t}function iE(e,t,r,s){s===void 0&&(s={});let{window:a=document.defaultView,v5Compat:l=!1}=s,u=a.history,d=Lr.Pop,h=null,g=y();g==null&&(g=0,u.replaceState(ji({},u.state,{idx:g}),""));function y(){return(u.state||{idx:null}).idx}function v(){d=Lr.Pop;let S=y(),k=S==null?null:S-g;g=S,h&&h({action:d,location:b.location,delta:k})}function E(S,k){d=Lr.Push;let N=Bd(b.location,S,k);g=y()+1;let C=yg(N,g),T=b.createHref(N);try{u.pushState(C,"",T)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;a.location.assign(T)}l&&h&&h({action:d,location:b.location,delta:1})}function _(S,k){d=Lr.Replace;let N=Bd(b.location,S,k);g=y();let C=yg(N,g),T=b.createHref(N);u.replaceState(C,"",T),l&&h&&h({action:d,location:b.location,delta:0})}function P(S){let k=a.location.origin!=="null"?a.location.origin:a.location.href,N=typeof S=="string"?S:Dl(S);return N=N.replace(/ $/,"%20"),it(k,"No window.location.(origin|href) available to create URL for href: "+N),new URL(N,k)}let b={get action(){return d},get location(){return e(a,u)},listen(S){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(gg,v),h=S,()=>{a.removeEventListener(gg,v),h=null}},createHref(S){return t(a,S)},createURL:P,encodeLocation(S){let k=P(S);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:E,replace:_,go(S){return u.go(S)}};return b}var vg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(vg||(vg={}));function aE(e,t,r){return r===void 0&&(r="/"),lE(e,t,r)}function lE(e,t,r,s){let a=typeof t=="string"?Cs(t):t,l=Ef(a.pathname||"/",r);if(l==null)return null;let u=Fv(e);cE(u);let d=null,h=bE(l);for(let g=0;d==null&&g<u.length;++g)d=vE(u[g],h);return d}function Fv(e,t,r,s){t===void 0&&(t=[]),r===void 0&&(r=[]),s===void 0&&(s="");let a=(l,u,d)=>{let h={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};h.relativePath.startsWith("/")&&(it(h.relativePath.startsWith(s),'Absolute route path "'+h.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),h.relativePath=h.relativePath.slice(s.length));let g=Dr([s,h.relativePath]),y=r.concat(h);l.children&&l.children.length>0&&(it(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),Fv(l.children,t,y,g)),!(l.path==null&&!l.index)&&t.push({path:g,score:gE(g,l.index),routesMeta:y})};return e.forEach((l,u)=>{var d;if(l.path===""||!((d=l.path)!=null&&d.includes("?")))a(l,u);else for(let h of zv(l.path))a(l,u,h)}),t}function zv(e){let t=e.split("/");if(t.length===0)return[];let[r,...s]=t,a=r.endsWith("?"),l=r.replace(/\?$/,"");if(s.length===0)return a?[l,""]:[l];let u=zv(s.join("/")),d=[];return d.push(...u.map(h=>h===""?l:[l,h].join("/"))),a&&d.push(...u),d.map(h=>e.startsWith("/")&&h===""?"/":h)}function cE(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:yE(t.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}const uE=/^:[\w-]+$/,dE=3,fE=2,hE=1,pE=10,mE=-2,xg=e=>e==="*";function gE(e,t){let r=e.split("/"),s=r.length;return r.some(xg)&&(s+=mE),t&&(s+=fE),r.filter(a=>!xg(a)).reduce((a,l)=>a+(uE.test(l)?dE:l===""?hE:pE),s)}function yE(e,t){return e.length===t.length&&e.slice(0,-1).every((s,a)=>s===t[a])?e[e.length-1]-t[t.length-1]:0}function vE(e,t,r){let{routesMeta:s}=e,a={},l="/",u=[];for(let d=0;d<s.length;++d){let h=s[d],g=d===s.length-1,y=l==="/"?t:t.slice(l.length)||"/",v=xE({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},y),E=h.route;if(!v)return null;Object.assign(a,v.params),u.push({params:a,pathname:Dr([l,v.pathname]),pathnameBase:CE(Dr([l,v.pathnameBase])),route:E}),v.pathnameBase!=="/"&&(l=Dr([l,v.pathnameBase]))}return u}function xE(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,s]=wE(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let l=a[0],u=l.replace(/(.)\/+$/,"$1"),d=a.slice(1);return{params:s.reduce((g,y,v)=>{let{paramName:E,isOptional:_}=y;if(E==="*"){let b=d[v]||"";u=l.slice(0,l.length-b.length).replace(/(.)\/+$/,"$1")}const P=d[v];return _&&!P?g[E]=void 0:g[E]=(P||"").replace(/%2F/g,"/"),g},{}),pathname:l,pathnameBase:u,pattern:e}}function wE(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),kf(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let s=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,h)=>(s.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(s.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),s]}function bE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return kf(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ef(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,s=e.charAt(r);return s&&s!=="/"?null:e.slice(r)||"/"}const SE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kE=e=>SE.test(e);function EE(e,t){t===void 0&&(t="/");let{pathname:r,search:s="",hash:a=""}=typeof e=="string"?Cs(e):e,l;if(r)if(kE(r))l=r;else{if(r.includes("//")){let u=r;r=$v(r),kf(!1,"Pathnames cannot have embedded double slashes - normalizing "+(u+" -> "+r))}r.startsWith("/")?l=wg(r.substring(1),"/"):l=wg(r,t)}else l=t;return{pathname:l,search:NE(s),hash:RE(a)}}function wg(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function sd(e,t,r,s){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(s)+"]. 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 _E(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Uv(e,t){let r=_E(e);return t?r.map((s,a)=>a===r.length-1?s.pathname:s.pathnameBase):r.map(s=>s.pathnameBase)}function Bv(e,t,r,s){s===void 0&&(s=!1);let a;typeof e=="string"?a=Cs(e):(a=ji({},e),it(!a.pathname||!a.pathname.includes("?"),sd("?","pathname","search",a)),it(!a.pathname||!a.pathname.includes("#"),sd("#","pathname","hash",a)),it(!a.search||!a.search.includes("#"),sd("#","search","hash",a)));let l=e===""||a.pathname==="",u=l?"/":a.pathname,d;if(u==null)d=r;else{let v=t.length-1;if(!s&&u.startsWith("..")){let E=u.split("/");for(;E[0]==="..";)E.shift(),v-=1;a.pathname=E.join("/")}d=v>=0?t[v]:"/"}let h=EE(a,d),g=u&&u!=="/"&&u.endsWith("/"),y=(l||u===".")&&r.endsWith("/");return!h.pathname.endsWith("/")&&(g||y)&&(h.pathname+="/"),h}const $v=e=>e.replace(/\/\/+/g,"/"),Dr=e=>$v(e.join("/")),CE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),NE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,RE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function TE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Wv=["post","put","patch","delete"];new Set(Wv);const PE=["get",...Wv];new Set(PE);/** 210 * React Router v6.30.4 211 * 212 * Copyright (c) Remix Software Inc. 213 * 214 * This source code is licensed under the MIT license found in the 215 * LICENSE.md file in the root directory of this source tree. 216 * 217 * @license MIT 218 */function Li(){return Li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Li.apply(null,arguments)}const _f=w.createContext(null),OE=w.createContext(null),Po=w.createContext(null),Vi=w.createContext(null),Oo=w.createContext({outlet:null,matches:[],isDataRoute:!1}),Vv=w.createContext(null);function AE(e,t){let{relative:r}=t===void 0?{}:t;Hi()||it(!1);let{basename:s,navigator:a}=w.useContext(Po),{hash:l,pathname:u,search:d}=qv(e,{relative:r}),h=u;return s!=="/"&&(h=u==="/"?s:Dr([s,u])),a.createHref({pathname:h,search:d,hash:l})}function Hi(){return w.useContext(Vi)!=null}function Ao(){return Hi()||it(!1),w.useContext(Vi).location}function jE(){return w.useContext(Vi).navigationType}function Hv(e){w.useContext(Po).static||w.useLayoutEffect(e)}function LE(){let{isDataRoute:e}=w.useContext(Oo);return e?QE():IE()}function IE(){Hi()||it(!1);let e=w.useContext(_f),{basename:t,future:r,navigator:s}=w.useContext(Po),{matches:a}=w.useContext(Oo),{pathname:l}=Ao(),u=JSON.stringify(Uv(a,r.v7_relativeSplatPath)),d=w.useRef(!1);return Hv(()=>{d.current=!0}),w.useCallback(function(g,y){if(y===void 0&&(y={}),!d.current)return;if(typeof g=="number"){s.go(g);return}let v=Bv(g,JSON.parse(u),l,y.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Dr([t,v.pathname])),(y.replace?s.replace:s.push)(v,y.state,y)},[t,s,u,l,e])}function qv(e,t){let{relative:r}=t===void 0?{}:t,{future:s}=w.useContext(Po),{matches:a}=w.useContext(Oo),{pathname:l}=Ao(),u=JSON.stringify(Uv(a,s.v7_relativeSplatPath));return w.useMemo(()=>Bv(e,JSON.parse(u),l,r==="path"),[e,u,l,r])}function DE(e,t){return ME(e,t)}function ME(e,t,r,s){Hi()||it(!1);let{navigator:a}=w.useContext(Po),{matches:l}=w.useContext(Oo),u=l[l.length-1],d=u?u.params:{};u&&u.pathname;let h=u?u.pathnameBase:"/";u&&u.route;let g=Ao(),y;if(t){var v;let S=typeof t=="string"?Cs(t):t;h==="/"||(v=S.pathname)!=null&&v.startsWith(h)||it(!1),y=S}else y=g;let E=y.pathname||"/",_=E;if(h!=="/"){let S=h.replace(/^\//,"").split("/");_="/"+E.replace(/^\//,"").split("/").slice(S.length).join("/")}let P=aE(e,{pathname:_}),b=$E(P&&P.map(S=>Object.assign({},S,{params:Object.assign({},d,S.params),pathname:Dr([h,a.encodeLocation?a.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?h:Dr([h,a.encodeLocation?a.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),l,r,s);return t&&b?w.createElement(Vi.Provider,{value:{location:Li({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:Lr.Pop}},b):b}function FE(){let e=qE(),t=TE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),r?w.createElement("pre",{style:a},r):null,null)}const zE=w.createElement(FE,null);class UE extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?w.createElement(Oo.Provider,{value:this.props.routeContext},w.createElement(Vv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BE(e){let{routeContext:t,match:r,children:s}=e,a=w.useContext(_f);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),w.createElement(Oo.Provider,{value:t},s)}function $E(e,t,r,s){var a;if(t===void 0&&(t=[]),r===void 0&&(r=null),s===void 0&&(s=null),e==null){var l;if(!r)return null;if(r.errors)e=r.matches;else if((l=s)!=null&&l.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let u=e,d=(a=r)==null?void 0:a.errors;if(d!=null){let y=u.findIndex(v=>v.route.id&&(d==null?void 0:d[v.route.id])!==void 0);y>=0||it(!1),u=u.slice(0,Math.min(u.length,y+1))}let h=!1,g=-1;if(r&&s&&s.v7_partialHydration)for(let y=0;y<u.length;y++){let v=u[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(g=y),v.route.id){let{loaderData:E,errors:_}=r,P=v.route.loader&&E[v.route.id]===void 0&&(!_||_[v.route.id]===void 0);if(v.route.lazy||P){h=!0,g>=0?u=u.slice(0,g+1):u=[u[0]];break}}}return u.reduceRight((y,v,E)=>{let _,P=!1,b=null,S=null;r&&(_=d&&v.route.id?d[v.route.id]:void 0,b=v.route.errorElement||zE,h&&(g<0&&E===0?(KE("route-fallback"),P=!0,S=null):g===E&&(P=!0,S=v.route.hydrateFallbackElement||null)));let k=t.concat(u.slice(0,E+1)),N=()=>{let C;return _?C=b:P?C=S:v.route.Component?C=w.createElement(v.route.Component,null):v.route.element?C=v.route.element:C=y,w.createElement(BE,{match:v,routeContext:{outlet:y,matches:k,isDataRoute:r!=null},children:C})};return r&&(v.route.ErrorBoundary||v.route.errorElement||E===0)?w.createElement(UE,{location:r.location,revalidation:r.revalidation,component:b,error:_,children:N(),routeC
vendor: 3,155 bytes, lines 218-227
218ontext:{outlet:null,matches:k,isDataRoute:!0}}):N()},null)}var Qv=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(Qv||{}),Kv=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(Kv||{});function WE(e){let t=w.useContext(_f);return t||it(!1),t}function VE(e){let t=w.useContext(OE);return t||it(!1),t}function HE(e){let t=w.useContext(Oo);return t||it(!1),t}function Gv(e){let t=HE(),r=t.matches[t.matches.length-1];return r.route.id||it(!1),r.route.id}function qE(){var e;let t=w.useContext(Vv),r=VE(),s=Gv();return t!==void 0?t:(e=r.errors)==null?void 0:e[s]}function QE(){let{router:e}=WE(Qv.UseNavigateStable),t=Gv(Kv.UseNavigateStable),r=w.useRef(!1);return Hv(()=>{r.current=!0}),w.useCallback(function(a,l){l===void 0&&(l={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Li({fromRouteId:t},l)))},[e,t])}const bg={};function KE(e,t,r){bg[e]||(bg[e]=!0)}function GE(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Er(e){it(!1)}function YE(e){let{basename:t="/",children:r=null,location:s,navigationType:a=Lr.Pop,navigator:l,static:u=!1,future:d}=e;Hi()&&it(!1);let h=t.replace(/^\/*/,"/"),g=w.useMemo(()=>({basename:h,navigator:l,static:u,future:Li({v7_relativeSplatPath:!1},d)}),[h,d,l,u]);typeof s=="string"&&(s=Cs(s));let{pathname:y="/",search:v="",hash:E="",state:_=null,key:P="default"}=s,b=w.useMemo(()=>{let S=Ef(y,h);return S==null?null:{location:{pathname:S,search:v,hash:E,state:_,key:P},navigationType:a}},[h,y,v,E,_,P,a]);return b==null?null:w.createElement(Po.Provider,{value:g},w.createElement(Vi.Provider,{children:r,value:b}))}function XE(e){let{children:t,location:r}=e;return DE($d(t),r)}new Promise(()=>{});function $d(e,t){t===void 0&&(t=[]);let r=[];return w.Children.forEach(e,(s,a)=>{if(!w.isValidElement(s))return;let l=[...t,a];if(s.type===w.Fragment){r.push.apply(r,$d(s.props.children,l));return}s.type!==Er&&it(!1),!s.props.index||!s.props.children||it(!1);let u={id:s.props.id||l.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(u.children=$d(s.props.children,l)),r.push(u)}),r}/** 219 * React Router DOM v6.30.4 220 * 221 * Copyright (c) Remix Software Inc. 222 * 223 * This source code is licensed under the MIT license found in the 224 * LICENSE.md file in the root directory of this source tree. 225 * 226 * @license MIT 227 */function Wd(){return Wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
227).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},Wd.apply(null,arguments)}function JE(e,t){if(e==null)return{};var r={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;r[s]=e[s]}return r}function ZE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function e_(e,t){return e.button===0&&(!t||t==="_self")&&!ZE(e)}const t_=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],n_="6";try{window.__reactRouterVersion=n_}catch{}const r_="startTransition",Sg=ql[r_];function o_(e){let{basename:t,children:r,future:s,window:a}=e,l=w.useRef();l.current==null&&(l.current=oE({window:a,v5Compat:!0}));let u=l.current,[d,h]=w.useState({action:u.action,location:u.location}),{v7_startTransition:g}=s||{},y=w.useCallback(v=>{g&&Sg?Sg(()=>h(v)):h(v)},[h,g]);return w.useLayoutEffect(()=>u.listen(y),[u,y]),w.useEffect(()=>GE(s),[s]),w.createElement(YE,{basename:t,children:r,location:d.location,navigationType:d.action,navigator:u,future:s})}const s_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",i_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,An=w.forwardRef(function(t,r){let{onClick:s,relative:a,reloadDocument:l,replace:u,state:d,target:h,to:g,preventScrollReset:y,viewTransition:v}
227=t,E=JE(t,t_),{basename:_}=w.useContext(Po),P,b=!1;if(typeof g=="string"&&i_.test(g)&&(P=g,s_))try{let C=new URL(window.location.href),T=g.startsWith("//")?new URL(C.protocol+g):new URL(g),F=Ef(T.pathname,_);T.origin===C.origin&&F!=null?g=F+T.search+T.hash:b=!0}catch{}let S=AE(g,{relative:a}),k=a_(g,{replace:u,state:d,target:h,preventScrollReset:y,relative:a,viewTransition:v});function N(C){s&&s(C),C.defaultPrevented||k(C)}return w.createElement("a",Wd({},E,{href:P||S,onClick:b||l?s:N,ref:r,target:h}))});var kg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(kg||(kg={}));var Eg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Eg||(Eg={}));function a_(e,t){let{target:r,replace:s,state:a,preventScrollReset:l,relative:u,viewTransition:d}=t===void 0?{}:t,h=LE(),g=Ao(),y=qv(e,{relative:u});return w.useCallback(v=>{if(e_(v,r)){v.preventDefault();let E=s!==void 0?s:Dl(g)===Dl(y);h(e,{replace:E,state:a,preventScrollReset:l,relative:u,viewTransition:d})}},[g,h,y,s,a,r,e,l,u,d])}function Yv(e,t){return function(){return e.apply(t,arguments)}}const{toString:l_}=Object.prototype,{getPrototypeOf:ks}=Object,{iterator:qi,toStringTag:Xv}=Symbol,Ml=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Ii=(e,t)=>{let r=e;const s=[];for(;r!=null&&r!==Object.prototype;){if(s.indexOf(r)!==-1)return!1;if(s.push(r),Ml(r,t))return!0;r=ks(r)}return!1},c_=(e,t)=>e!=null&&Ii(e,t)?e[t]:void 0,Cf=(e=>t=>{const r=l_.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),xn=e=>(e=e.toLowerCase(),t=>Cf(t)===e),Kl=e=>t=>typeof t===e,{isArray:ko}=Array,Es=Kl("undefined");function Ns(e){return e!==null&&!Es(e)&&e.constructor!==null&&!Es(e.constructor)&&Bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jv=xn("ArrayBuffer");function u_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jv(e.buffer),t}const d_=Kl("string"),Bt=Kl("function"),Zv=Kl("number"),Rs=e=>e!==null&&typeof e=="object",f_=e=>e===!0||e===!1,kl=e=>{if(!Rs(e))return!1;const t=ks(e);return(t===null||t===Object.prototype||ks(t)===null)&&!Ii(e,Xv)&&!Ii(e,qi)},h_=e=>{if(!Rs(e)||Ns(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},p_=xn("Date"),m_=xn("File"),g_=e=>!!(e&&typeof e.uri<"u"),y_=e=>e&&typeof e.getParts<"u",v_=xn("Blob"),x_=xn("FileList"),w_=e=>Rs(e)&&Bt(e.pipe);function b_(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const _g=b_(),Cg=typeof _g.FormData<"u"?_g.FormData:void 0,S_=e=>{if(!e)return!1;if(Cg&&e instanceof Cg)return!0;const t=ks(e);if(!t||t===Object.prototype||!Bt(e.append))return!1;const r=Cf(e);return r==="formdata"||r==="object"&&Bt(e.toString)&&e.toString()==="[object FormData]"},k_=xn("URLSearchParams"),[E_,__,C_,N_]=["ReadableStream","Request","Response","Headers"].map(xn),R_=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qi(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let s,a;if(typeof e!="object"&&(e=[e]),ko(e))for(s=0,a=e.length;s<a;s++)t.call(null,e[s],s,e);else{if(Ns(e))return;const l=r?Object.getOwnPropertyNames(e):Object.keys(e),u=l.length;let d;for(s=0;s<u;s++)d=l[s],t.call(null,e[d],d,e)}}function ex(e,t){if(Ns(e))return null;t=t.toLowerCase();const r=Object.keys(e);let s=r.length,a;for(;s-- >0;)if(a=r[s],t===a.toLowerCase())return a;return null}const lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tx=e=>!Es(e)&&e!==lo;function Vd(...e){const{caseless:t,skipUndefined:r}=tx(this)&&this||{},s={},a=(l,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;const d=t&&typeof u=="string"&&ex(s,u)||u,h=Ml(s,d)?s[d]:void 0;kl(h)&&kl(l)?s[d]=Vd(h,l):kl(l)?s[d]=Vd({},l):ko(l)?s[d]=l.slice():(!r||!Es(l))&&(s[d]=l)};for(let l=0,u=e.length;l<u;l++){const d=e[l];
vendor: 16,873 bytes, lines 227-229
227if(!d||Ns(d)||(Qi(d,a),typeof d!="object"||ko(d)))continue;const h=Object.getOwnPropertySymbols(d);for(let g=0;g<h.length;g++){const y=h[g];U_.call(d,y)&&a(d[y],y)}}return s}const T_=(e,t,r,{allOwnKeys:s}={})=>(Qi(t,(a,l)=>{r&&Bt(a)?Object.defineProperty(e,l,{__proto__:null,value:Yv(a,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,l,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),P_=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),O_=(e,t,r,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},A_=(e,t,r,s)=>{let a,l,u;const d={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),l=a.length;l-- >0;)u=a[l],(!s||s(u,e,t))&&!d[u]&&(t[u]=e[u],d[u]=!0);e=r!==!1&&ks(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},j_=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const s=e.indexOf(t,r);return s!==-1&&s===r},L_=e=>{if(!e)return null;if(ko(e))return e;let t=e.length;if(!Zv(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},I_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ks(Uint8Array)),D_=(e,t)=>{const s=(e&&e[qi]).call(e);let a;for(;(a=s.next())&&!a.done;){const l=a.value;t.call(e,l[0],l[1])}},M_=(e,t)=>{let r;const s=[];for(;(r=e.exec(t))!==null;)s.push(r);return s},F_=xn("HTMLFormElement"),z_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,s,a){return s.toUpperCase()+a}),{propertyIsEnumerable:U_}=Object.prototype,B_=xn("RegExp"),nx=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),s={};Qi(r,(a,l)=>{let u;(u=t(a,l,e))!==!1&&(s[l]=u||a)}),Object.defineProperties(e,s)},$_=e=>{nx(e,(t,r)=>{if(Bt(e)&&["arguments","caller","callee"].includes(r))return!1;const s=e[r];if(Bt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},W_=(e,t)=>{const r={},s=a=>{a.forEach(l=>{r[l]=!0})};return ko(e)?s(e):s(String(e).split(t)),r},V_=()=>{},H_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function q_(e){return!!(e&&Bt(e.append)&&e[Xv]==="FormData"&&e[qi])}const Q_=e=>{const t=new WeakSet,r=s=>{if(Rs(s)){if(t.has(s))return;if(Ns(s))return s;if(!("toJSON"in s)){t.add(s);const a=ko(s)?[]:{};return Qi(s,(l,u)=>{const d=r(l);!Es(d)&&(a[u]=d)}),t.delete(s),a}}return s};return r(e)},K_=xn("AsyncFunction"),G_=e=>e&&(Rs(e)||Bt(e))&&Bt(e.then)&&Bt(e.catch),rx=((e,t)=>e?setImmediate:t?((r,s)=>(lo.addEventListener("message",({source:a,data:l})=>{a===lo&&l===r&&s.length&&s.shift()()},!1),a=>{s.push(a),lo.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Bt(lo.postMessage)),Y_=typeof queueMicrotask<"u"?queueMicrotask.bind(lo):typeof process<"u"&&process.nextTick||rx,ox=e=>e!=null&&Bt(e[qi]),X_=e=>e!=null&&Ii(e,qi)&&ox(e),I={isArray:ko,isArrayBuffer:Jv,isBuffer:Ns,isFormData:S_,isArrayBufferView:u_,isString:d_,isNumber:Zv,isBoolean:f_,isObject:Rs,isPlainObject:kl,isEmptyObject:h_,isReadableStream:E_,isRequest:__,isResponse:C_,isHeaders:N_,isUndefined:Es,isDate:p_,isFile:m_,isReactNativeBlob:g_,isReactNative:y_,isBlob:v_,isRegExp:B_,isFunction:Bt,isStream:w_,isURLSearchParams:k_,isTypedArray:I_,isFileList:x_,forEach:Qi,merge:Vd,extend:T_,trim:R_,stripBOM:P_,inherits:O_,toFlatObject:A_,kindOf:Cf,kindOfTest:xn,endsWith:j_,toArray:L_,forEachEntry:D_,matchAll:M_,isHTMLForm:F_,hasOwnProperty:Ml,hasOwnProp:Ml,hasOwnInPrototypeChain:Ii,getSafeProp:c_,reduceDescriptors:nx,freezeMethods:$_,toObjectSet:W_,toCamelCase:z_,noop:V_,toFiniteNumber:H_,findKey:ex,global:lo,isContextDefined:tx,isSpecCompliantForm:q_,toJSONObject:Q_,isAsyncFn:K_,isThenable:G_,setImmediate:rx,asap:Y_,isIterable:ox,isSafeIterable:X_},J_=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"]),Z_=e=>{const t={};let r,s,a;return e&&e.split(` 228`).forEach(function(u){a=u.indexOf(":"),r=u.substring(0,a).trim().toLowerCase(),s=u.substring(a+1).trim(),!(!r||t[r]&&J_[r])&&(r==="set-cookie"?t[r]?t[r].push(s):t[r]=[s]:t[r]=t[r]?t[r]+", "+s:s)}),t};function eC(e){let t=0,r=e.length;for(;t<r;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;r>t;){const s=e.charCodeAt(r-1);if(s!==9&&s!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}const tC=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),nC=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Nf(e,t){return I.isArray(e)?e.map(r=>Nf(r,t)):eC(String(e).replace(t,""))}const rC=e=>Nf(e,tC),oC=e=>Nf(e,nC);function sx(e){const t=Object.create(null);return I.forEach(e.toJSON(),(r,s)=>{t[s]=oC(r)}),t}const Ng=Symbol("internals");function bi(e){return e&&String(e).trim().toLowerCase()}function El(e){return e===!1||e==null?e:I.isArray(e)?e.map(El):rC(String(e))}function sC(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=r.exec(e);)t[s[1]]=s[2];return t}const iC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function id(e,t,r,s,a){if(I.isFunction(s))return s.call(this,t,r);if(a&&(t=r),!!I.isString(t)){if(I.isString(s))return t.indexOf(s)!==-1;if(I.isRegExp(s))return s.test(t)}}function aC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,s)=>r.toUpperCase()+s)}function lC(e,t){const r=I.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+r,{__proto__:null,value:function(a,l,u){return this[s].call(this,t,a,l,u)},configurable:!0})})}let Tt=class{constructor(t){t&&this.set(t)}set(t,r,s){const a=this;function l(d,h,g){const y=bi(h);if(!y)return;const v=I.findKey(a,y);(!v||a[v]===void 0||g===!0||g===void 0&&a[v]!==!1)&&(a[v||h]=El(d))}const u=(d,h)=>I.forEach(d,(g,y)=>l(g,y,h));if(I.isPlainObject(t)||t instanceof this.constructor)u(t,r);else if(I.isString(t)&&(t=t.trim())&&!iC(t))u(Z_(t),r);else if(I.isObject(t)&&I.isSafeIterable(t)){let d=Object.create(null),h,g;for(const y of t){if(!I.isArray(y))throw new TypeError("Object iterator must return a key-value pair");g=y[0],I.hasOwnProp(d,g)?(h=d[g],d[g]=I.isArray(h)?[...h,y[1]]:[h,y[1]]):d[g]=y[1]}u(d,r)}else t!=null&&l(r,t,s);return this}get(t,r){if(t=bi(t),t){const s=I.findKey(this,t);if(s){const a=this[s];if(!r)return a;if(r===!0)return sC(a);if(I.isFunction(r))return r.call(this,a,s);if(I.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=bi(t),t){const s=I.findKey(this,t);return!!(s&&this[s]!==void 0&&(!r||id(this,this[s],s,r)))}return!1}delete(t,r){const s=this;let a=!1;function l(u){if(u=bi(u),u){const d=I.findKey(s,u);d&&(!r||id(s,s[d],d,r))&&(delete s[d],a=!0)}}return I.isArray(t)?t.forEach(l):l(t),a}clear(t){const r=Object.keys(this);let s=r.length,a=!1;for(;s--;){const l=r[s];(!t||id(this,this[l],l,t,!0))&&(delete this[l],a=!0)}return a}normalize(t){const r=this,s={};return I.forEach(this,(a,l)=>{const u=I.findKey(s,l);if(u){r[u]=El(a),delete r[l];return}const d=t?aC(l):String(l).trim();d!==l&&delete r[l],r[d]=El(a),s[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return I.forEach(this,(s,a)=>{s!=null&&s!==!1&&(r[a]=t&&I.isArray(s)?s.join(", "):s)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` 229`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const s=new this(t);return r.forEach(a=>s.set(a)),s}static accessor(t){const s=(this[Ng]=this[Ng]={accessors:{}}).accessors,a=this.prototype;function l(u){const d=bi(u);s[d]||(lC(a,u),s[d]=!0)}return I.isArray(t)?t.forEach(l):l(t),this}};Tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Tt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[r]=s}}});I.freezeMethods(Tt);const cC="[REDACTED ****]";function uC(e){if(I.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(I.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function dC(e,t){const r=new Set(t.map(l=>String(l).toLowerCase())),s=[],a=l=>{if(l===null||typeof l!="object"||I.isBuffer(l))return l;if(s.indexOf(l)!==-1)return;l instanceof Tt&&(l=l.toJSON()),s.push(l);let u;if(I.isArray(l))u=[],l.forEach((d,h)=>{const g=a(d);I.isUndefined(g)||(u[h]=g)});else{if(!I.isPlainObject(l)&&uC(l))return s.pop(),l;u=Object.create(null);for(const[d,h]of Object.entries(l)){const g=r.has(d.toLowerCase())?cC:a(h);I.isUndefined(g)||(u[d]=g)}}return s.pop(),u};return a(e)}let te=class ix extends Error{static from(t,r,s,a,l,u){const d=new ix(t.message,r||t.code,s,a,l);return Object.defineProperty(d,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),d.name=t.name,t.status!=null&&d.status==null&&(d.status=t.status),u&&Object.assign(d,u),d}constructor(t,r,s,a,l){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),s&&(this.config=s),a&&(this.request=a),l&&(this.response=l,this.status=l.status)}toJSON(){const t=this.config,r=t&&I.hasOwnProp(t,"redact")?t.redact:void 0,s=I.isArray(r)&&r.length>0?dC(t,r):I.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};te.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";te.ERR_BAD_OPTION="ERR_BAD_OPTION";te.ECONNABORTED="ECONNABORTED";te.ETIMEDOUT="ETIMEDOUT";te.ECONNREFUSED="ECONNREFUSED";te.ERR_NETWORK="ERR_NETWORK";te.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";te.ERR_DEPRECATED="ERR_DEPRECATED";te.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";te.ERR_BAD_REQUEST="ERR_BAD_REQUEST";te.ERR_CANCELED="ERR_CANCELED";te.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";te.ERR_INVALID_URL="ERR_INVALID_URL";te.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const fC=null,ax=100;function Hd(e){return I.isPlainObject(e)||I.isArray(e)}function lx(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function ad(e,t,r){return e?e.concat(t).map(function(a,l){return a=lx(a),!r&&l?"["+a+"]":a}).join(r?".":""):t}function hC(e){return I.isArray(e)&&!e.some(Hd)}const pC=I.toFlatObject(I,{},null,function(t){return/^is[A-Z]/.test(t)});function Gl(e,t,r){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=I.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,C){return!I.isUndefined(C[N])});const s=r.metaTokens,a=r.visitor||P,l=r.dots,u=r.indexes,d=r.Blob||typeof Blob<"u"&&Blob,h=r.maxDepth===void 0?ax:r.maxDepth,g=d&&I.isSpecCompliantForm(t),y=[];if(!I.isFunction(a))throw new TypeError("visitor must be a function");function v(k){if(k===null)return"";if(I.isDate(k))return k.toISOString();if(I.isBoolean(k))return k.toString();if(!g&&I.isBlob(k))throw new te("Blob is not supported. Use a Buffer instead.");if(I.isArrayBuffer(k)||I.isTypedArray(k)){if(g&&typeof d=="function")return new d([k]);if(typeof Buffer<"u")return Buffer.from(k);throw new te("Blob is not supported. Use a Buffer instead.",te.ERR_NOT_SUPPORT)}return k}function E(k){if(k>h)throw new te("Object is too deeply nested ("+k+" levels). Max depth: "+h,te.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _(k,N){if(h===1/0)return JSON.stringify(k);const C=[];return JSON.stringify(k,function(F,z){if(!I.isObject(z))return z;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(z),E(N+C.length-1),z})}function P(k,N,C){let T=k;if(I.isReactNative(t)&&I.isReactNativeBlob(k))return t.append(ad(C,N,l),v(k)),!1;if(k&&!C&&typeof k=="object"){if(I.endsWith(N,"{}"))N=s?N:N.slice(0,-2),k=_(k,1);else if(I.isArray(k)&&hC(k)||(I.isFileList(k)||I.endsWith(N,"[]"))&&(T=I.toArray(k)))return N=lx(N),T.forEach(function(z,V){!(I.isUndefined(z)||z===null)&&t.append(u===!0?ad([N],V,l):u===null?N:N+"[]",v(z))}),!1}return Hd(k)?!0:(t.append(ad(C,N,l),v(k)),!1)}const b=Object.assign(pC,{defaultVisitor:P,convertValue:v,isVisitable:Hd});function S(k,N,C=0){if(!I.isUndefined(k)){if(E(C),y.indexOf(k)!==-1)throw new Error("Circular reference detected in "+N.join("."));y.push(k),I.forEach(k,function(F,z){(!(I.isUndefined(F)||F===null)&&a.call(t,F,I.isString(z)?z.trim():z,N,b))===!0&&S(F,N?N.concat(z):[z],C+1)}),y.pop()}}if(!I.isObject(e))throw new TypeError("data must be an object");return S(e),t}function Rg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function Rf(e,t){this._pairs=[],e&&Gl(e,this,t)}const cx=Rf.prototype;cx.append=function(t,r){this._pairs.push([t,r])};cx.toString=function(t){const r=t?s=>t.call(this,s,Rg):Rg;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function mC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ux(e,t,r){if(!t)return e;e=e||"";const s=I.isFunction(r)?{serialize:r}:r,a=I.getSafeProp(s,"encode")||mC,l=I.getSafeProp(s,"serialize");let u;if(l?u=l(t,s):u=I.isURLSearchParams(t)?t.toString():new Rf(t,s).toString(a),u){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+u}return e}class Tg{constructor(){this.handlers=[]}use(t,r,s){return this.handlers.push({fulfilled:t,rejected:r,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){I.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Tf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},gC=typeof URLSearchParams<"u"?URLSearchParams:Rf,yC=typeof FormData<"u"?FormData:null,vC=typeof Blob<"u"?Blob:null,xC={isBrowser:!0,classes:{URLSearchParams:gC,FormData:yC,Blob:vC},protocols:["http","https","file","blob","url","data"]},Pf=typeof window<"u"&&typeof document<"u",qd=typeof navigator=="object"&&navigator||void 0,wC=Pf&&(!qd||["ReactNative","NativeScript","NS"].indexOf(qd.product)<0),bC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",SC=Pf&&window.location.href||"http://localhost",kC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Pf,hasStandardBrowserEnv:wC,hasStandardBrowserWebWorkerEnv:bC,navigator:qd,origin:SC},Symbol.toStringTag,{value:"Module"})),wt={...kC,...xC};function EC(e,t){return Gl(e,new wt.classes.URLSearchParams,{visitor:function(r,s,a,l){return wt.isNode&&I.isBuffer(r)?(this.append(s,r.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}const Pg=ax;function dx(e){if(e>Pg)throw new te("FormData field is too deeply nested ("+e+" levels). Max depth: "+Pg,te.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _C(e){const t=[],r=/\w+|\[(\w*)]/g;let s;for(;(s=r.exec(e))!==null;)dx(t.length),t.push(s[0]==="[]"?"":s[1]||s[0]);return t}function CC(e){const t={},r=Object.keys(e);let s;const a=r.length;let l;for(s=0;s<a;s++)l=r[s],t[l]=e[l];return t}function fx(e){function t(r,s,a,l){dx(l);let u=r[l++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),h=l>=r.length;return u=!u&&I.isArray(a)?a.length:u,h?(I.hasOwnProp(a,u)?a[u]=I.isArray(a[u])?a[u].concat(s):[a[u],s]:a[u]=s,!d):((!I.hasOwnProp(a,u)||!I.isObject(a[u]))&&(a[u]=[]),t(r,s,a[u],l)&&I.isArray(a[u])&&(a[u]=CC(a[u])),!d)}if(I.isFormData(e)&&I.isFunction(e.entries)){const r={};return I.forEachEntry(e,(s,a)=>{t(_C(s),a,r,0)}),r}return null}const rs=(e,t)=>e!=null&&I.hasOwnProp(e,t)?e[t]:void 0;function NC(e,t,r){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(r||JSON.stringify)(e)}const Ki={transitional:Tf,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const s=r.getContentType()||"",a=s.indexOf("application/json")>-1,l=I.isObject(t);if(l&&I.isHTMLForm(t)&&(t=new FormData(t)),I.isFormData(t))return a?JSON.stringify(fx(t)):t;if(I.isArrayBuffer(t)||I.isBuffer(t)||I.isStream(t)||I.isFile(t)||I.isBlob(t)||I.isReadableStream(t))return t;if(I.isArrayBufferView(t))return t.buffer;if(I.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;
vendor: 13,019 bytes, line 229
229if(l){const h=rs(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return EC(t,h).toString();if((d=I.isFileList(t))||s.indexOf("multipart/form-data")>-1){const g=rs(this,"env"),y=g&&g.FormData;return Gl(d?{"files[]":t}:t,y&&new y,h)}}return l||a?(r.setContentType("application/json",!1),NC(t)):t}],transformResponse:[function(t){const r=rs(this,"transitional")||Ki.transitional,s=r&&r.forcedJSONParsing,a=rs(this,"responseType"),l=a==="json";if(I.isResponse(t)||I.isReadableStream(t))return t;if(t&&I.isString(t)&&(s&&!a||l)){const d=!(r&&r.silentJSONParsing)&&l;try{return JSON.parse(t,rs(this,"parseReviver"))}catch(h){if(d)throw h.name==="SyntaxError"?te.from(h,te.ERR_BAD_RESPONSE,this,null,rs(this,"response")):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wt.classes.FormData,Blob:wt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch","query"],e=>{Ki.headers[e]={}});function ld(e,t){const r=this||Ki,s=t||r,a=Tt.from(s.headers);let l=s.data;return I.forEach(e,function(d){l=d.call(r,l,a.normalize(),t?t.status:void 0)}),a.normalize(),l}function hx(e){return!!(e&&e.__CANCEL__)}let Gi=class extends te{constructor(t,r,s){super(t??"canceled",te.ERR_CANCELED,r,s),this.name="CanceledError",this.__CANCEL__=!0}};function px(e,t,r){const s=r.config.validateStatus;!r.status||!s||s(r.status)?e(r):t(new te("Request failed with status code "+r.status,r.status>=400&&r.status<500?te.ERR_BAD_REQUEST:te.ERR_BAD_RESPONSE,r.config,r.request,r))}function RC(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function TC(e,t){e=e||10;const r=new Array(e),s=new Array(e);let a=0,l=0,u;return t=t!==void 0?t:1e3,function(h){const g=Date.now(),y=s[l];u||(u=g),r[a]=h,s[a]=g;let v=l,E=0;for(;v!==a;)E+=r[v++],v=v%e;if(a=(a+1)%e,a===l&&(l=(l+1)%e),g-u<t)return;const _=y&&g-y;return _?Math.round(E*1e3/_):void 0}}function PC(e,t){let r=0,s=1e3/t,a,l;const u=(g,y=Date.now())=>{r=y,a=null,l&&(clearTimeout(l),l=null),e(...g)};return[(...g)=>{const y=Date.now(),v=y-r;v>=s?u(g,y):(a=g,l||(l=setTimeout(()=>{l=null,u(a)},s-v)))},()=>a&&u(a)]}const Fl=(e,t,r=3)=>{let s=0;const a=TC(50,250);return PC(l=>{if(!l||typeof l.loaded!="number")return;const u=l.loaded,d=l.lengthComputable?l.total:void 0,h=d!=null?Math.min(u,d):u,g=Math.max(0,h-s),y=a(g);s=Math.max(s,h);const v={loaded:h,total:d,progress:d?h/d:void 0,bytes:g,rate:y||void 0,estimated:y&&d?(d-h)/y:void 0,event:l,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(v)},r)},Og=(e,t)=>{const r=e!=null;return[s=>t[0]({lengthComputable:r,total:e,loaded:s}),t[1]]},Ag=e=>(...t)=>I.asap(()=>e(...t)),OC=wt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,wt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(wt.origin),wt.navigator&&/(msie|trident)/i.test(wt.navigator.userAgent)):()=>!0,AC=wt.hasStandardBrowserEnv?{write(e,t,r,s,a,l,u){if(typeof document>"u")return;const d=[`${e}=${encodeURIComponent(t)}`];I.isNumber(r)&&d.push(`expires=${new Date(r).toUTCString()}`),I.isString(s)&&d.push(`path=${s}`),I.isString(a)&&d.push(`domain=${a}`),l===!0&&d.push("secure"),I.isString(u)&&d.push(`SameSite=${u}`),document.cookie=d.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const s=t[r].replace(/^\s+/,""),a=s.indexOf("=");if(a!==-1&&s.slice(0,a)===e)try{return decodeURIComponent(s.slice(a+1))}catch{return s.slice(a+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function jC(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function LC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const IC=/^https?:(?!\/\/)/i,DC=/[\t\n\r]/g;function MC(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function FC(e){return MC(e).replace(DC,"")}function jg(e,t){if(typeof e=="string"&&IC.test(FC(e)))throw new te('Invalid URL: missing "//" after protocol',te.ERR_INVALID_URL,t)}function mx(e,t,r,s){jg(t,s);let a=!jC(t);return e&&(a||r===!1)?(jg(e,s),LC(e,t)):t}const Lg=e=>e instanceof Tt?{...e}:e;function Eo(e,t){e=e||{},t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(y,v,E,_){return I.isPlainObject(y)&&I.isPlainObject(v)?I.merge.call({caseless:_},y,v):I.isPlainObject(v)?I.merge({},v):I.isArray(v)?v.slice():v}function a(y,v,E,_){if(I.isUndefined(v)){if(!I.isUndefined(y))return s(void 0,y,E,_)}else return s(y,v,E,_)}function l(y,v){if(!I.isUndefined(v))return s(void 0,v)}function u(y,v){if(I.isUndefined(v)){if(!I.isUndefined(y))return s(void 0,y)}else return s(void 0,v)}function d(y){const v=I.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!I.isUndefined(v))if(I.isPlainObject(v)){if(I.hasOwnProp(v,y))return v[y]}else return;const E=I.hasOwnProp(e,"transitional")?e.transitional:void 0;if(I.isPlainObject(E)&&I.hasOwnProp(E,y))return E[y]}function h(y,v,E){if(I.hasOwnProp(t,E))return s(y,v);if(I.hasOwnProp(e,E))return s(void 0,y)}const g={url:l,method:l,data:l,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,allowedSocketPaths:u,responseEncoding:u,validateStatus:h,headers:(y,v,E)=>a(Lg(y),Lg(v),E,!0)};return I.forEach(Object.keys({...e,...t}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const E=I.hasOwnProp(g,v)?g[v]:a,_=I.hasOwnProp(e,v)?e[v]:void 0,P=I.hasOwnProp(t,v)?t[v]:void 0,b=E(_,P,v);I.isUndefined(b)&&E!==h||(r[v]=b)}),I.hasOwnProp(t,"validateStatus")&&I.isUndefined(t.validateStatus)&&d("validateStatusUndefinedResolves")===!1&&(I.hasOwnProp(e,"validateStatus")?r.validateStatus=s(void 0,e.validateStatus):delete r.validateStatus),r}const zC=["content-type","content-length"];function UC(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([s,a])=>{zC.includes(s.toLowerCase())&&e.set(s,a)})}const BC=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function gx(e){const t=Eo({},e),r=E=>I.hasOwnProp(t,E)?t[E]:void 0,s=r("data");let a=r("withXSRFToken");const l=r("xsrfHeaderName"),u=r("xsrfCookieName");let d=r("headers");const h=r("auth"),g=r("baseURL"),y=r("allowAbsoluteUrls"),v=r("url");if(t.headers=d=Tt.from(d),t.url=ux(mx(g,v,y,t),r("params"),r("paramsSerializer")),h){const E=I.getSafeProp(h,"username")||"",_=I.getSafeProp(h,"password")||"";try{d.set("Authorization","Basic "+btoa(E+":"+(_?BC(_):"")))}catch(P){throw te.from(P,te.ERR_BAD_OPTION_VALUE,e)}}if(I.isFormData(s)&&(wt.hasStandardBrowserEnv||wt.hasStandardBrowserWebWorkerEnv||I.isReactNative(s)?d.setContentType(void 0):I.isFunction(s.getHeaders)&&UC(d,s.getHeaders(),r("formDataHeaderPolicy"))),wt.hasStandardBrowserEnv&&(I.isFunction(a)&&(a=a(t)),a===!0||a==null&&OC(t.url))){const _=l&&u&&AC.read(u);_&&d.set(l,_)}return t}const $C=typeof XMLHttpRequest<"u",WC=$C&&function(e){return new Promise(function(r,s){const a=gx(e);let l=a.data;const u=Tt.from(a.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:g}=a,y,v,E,_,P;function b(){_&&_(),P&&P(),a.cancelToken&&a.cancelToken.unsubscribe(y),a.signal&&a.signal.removeEventListener("abort",y)}let S=new XMLHttpRequest;S.open(a.method.toUpperCase(),a.url,!0),S.timeout=a.timeout;function k(){if(!S)return;const C=Tt.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),F={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:C,config:e,request:S};px(function(V){r(V),b()},function(V){s(V),b()},F),S=null}"onloadend"in S?S.onloadend=k:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(k)},S.onabort=function(){S&&(s(new te("Request aborted",te.ECONNABORTED,e,S)),b(),S=null)},S.onerror=function(T){const F=T&&T.message?T.message:"Network Error",z=new te(F,te.ERR_NETWORK,e,S);z.event=T||null,s(z),b(),S=null},S.ontimeout=function(){let T=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const F=a.transitional||Tf;a.timeoutErrorMessage&&(T=a.timeoutErrorMessage),s(new te(T,F.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,e,S)),b(),S=null},l===void 0&&u.setContentType(null),"setRequestHeader"in S&&I.forEach(sx(u),function(T,F){S.setRequestHeader(F,T)}),I.isUndefined(a.withCredentials)||(S.withCredentials=!!a.withCredentials),d&&d!=="json"&&(S.responseType=a.responseType),g&&([E,P]=Fl(g,!0),S.addEventListener("progress",E)),h&&S.upload&&([v,_]=Fl(h),S.upload.addEventListener("progress",v),S.upload.addEventListener("loadend",_)),(a.cancelToken||a.signal)&&(y=C=>{S&&(s(!C||C.type?new Gi(null,e,S):C),S.abort(),b(),S=null)},a.cancelToken&&a.cancelToken.subscribe(y),a.signal&&(a.signal.aborted?y():a.signal.addEventListener("abort",y)));const N=RC(a.url);if(N&&!wt.protocols.includes(N)){s(new te("Unsupported protocol "+N+":",te.ERR_BAD_REQUEST,e)),b();return}S.send(l||null)})},VC=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let s=!1;const a=function(h){if(!s){s=!0,u();const g=h instanceof Error?h:this.reason;r.abort(g instanceof te?g:new Gi(g instanceof Error?g.message:g))}};let l=t&&setTimeout(()=>{l=null,a(new te(`timeout of ${t}ms exceeded`,te.ETIMEDOUT))},t);const u=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(h=>{h.unsubscribe?h.unsubscribe(a):h.removeEventListener("abort",a)}),e=null)};e.forEach(h=>h.addEventListener("abort",a,{once:!0}));const{signal:d}=r;return d.unsubscribe=()=>I.asap(u),d},HC=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let s=0,a;for(;s<r;)a=s+t,yield e.slice(s,a),s=a},qC=async function*(e,t){for await(const r of QC(e))yield*HC(r,t)},QC=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:s}=await t.read();if(r)break;yield s}}finally{await t.cancel()}},Ig=(e,t,r,s)=>{const a=qC(e,t);let l=0,u,d=h=>{u||(u=!0,s&&s(h))};return new ReadableStream({async pull(h){try{const{done:g,value:y}=await a.next();if(g){d(),h.close();return}let v=y.byteLength;if(r){let E=l+=v;r(E)}h.enqueue(new Uint8Array(y))}catch(g){throw d(g),g}},cancel(h){return d(h),a.return()}},{highWaterMark:2})},zl=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,KC=(e,t,r)=>t+2<r&&zl(e.charCodeAt(t+1))&&zl(e.charCodeAt(t+2));function GC(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(r)){let u=s.length;const d=s.length;for(let _=0;_<d;_++)if(s.charCodeAt(_)===37&&_+2<d){const P=s.charCodeAt(_+1),b=s.charCodeAt(_+2);zl(P)&&zl(b)&&(u-=2,_+=2)}let h=0,g=d-1;const y=_=>_>=2&&s.charCodeAt(_-2)===37&&s.charCodeAt(_-1)===51&&(s.charCodeAt(_)===68||s.charCodeAt(_)===100);g>=0&&(s.charCodeAt(g)===61?(h++,g--):y(g)&&(h++,g-=3)),h===1&&g>=0&&(s.charCodeAt(g)===61||y(g))&&h++;const E=Math.floor(u/4)*3-(h||0);return E>0?E:0}let l=0;for(let u=0,d=s.length;u<d;u++){const h=s.charCodeAt(u);if(h===37&&KC(s,u,d))l+=1,u+=2;else if(h<128)l+=1;else if(h<2048)l+=2;else if(h>=55296&&h<=56319&&u+1<d){const g=s.charCodeAt(u+1);g>=56320&&g<=57343?(l+=4,u++):l+=3}else l+=3}return l}const Of="1.18.1",Dg=64*1024,{isFunction:dl}=I,YC=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),Mg=e=>{if(!I.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Fg=(e,...t)=>{try{return!!e(...t)}catch{return!1}},XC=e=>{const t=e.indexOf("://");let r=e;return t!==-1&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},JC=e=>{const t=I.global!==void 0&&I.global!==null?I.global:globalThis,{ReadableStream:r,TextEncoder:s}=t;e=I.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:a,Request:l,Response:u}=e,d=a?dl(a):typeof fetch=="function",h=dl(l),g=dl(u);if(!d)return!1;const y=d&&dl(r),v=d&&(typeof s=="function"?(k=>N=>k.encode(N))(new s):async k=>new Uint8Array(await new l(k).arrayBuffer())),E=h&&y&&Fg(()=>{let k=!1;const N=new l(wt.origin,{body:new r,method:"POST",get duplex(){return k=!0,"half"}}),C=N.headers.has("Content-Type");return N.body!=null&&N.body.cancel(),k&&!C}),_=g&&y&&Fg(()=>I.isReadableStream(new u("").body)),P={stream:_&&(k=>k.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(k=>{!P[k]&&(P[k]=(N,C)=>{let T=N&&N[k];if(T)return T.call(N);throw new te(`Response type '${k}' is not supported`,te.ERR_NOT_SUPPORT,C)})});const b=async k=>
vendor: 1,760 bytes, line 229
229{if(k==null)return 0;if(I.isBlob(k))return k.size;if(I.isSpecCompliantForm(k))return(await new l(wt.origin,{method:"POST",body:k}).arrayBuffer()).byteLength;if(I.isArrayBufferView(k)||I.isArrayBuffer(k))return k.byteLength;if(I.isURLSearchParams(k)&&(k=k+""),I.isString(k))return(await v(k)).byteLength},S=async(k,N)=>{const C=I.toFiniteNumber(k.getContentLength());return C??b(N)};return async k=>{let{url:N,method:C,data:T,signal:F,cancelToken:z,timeout:V,onDownloadProgress:B,onUploadProgress:J,responseType:ee,headers:le,withCredentials:ve="same-origin",fetchOptions:oe,maxContentLength:ie,maxBodyLength:ke}=gx(k);const se=I.isNumber(ie)&&ie>-1,ce=I.isNumber(ke)&&ke>-1,W=X=>I.hasOwnProp(k,X)?k[X]:void 0;let Z=a||fetch;ee=ee?(ee+"").toLowerCase():"text";let $=VC([F,z&&z.toAbortSignal()],V),A=null;const H=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let we,xe=null;const ye=()=>new te("Request body larger than maxBodyLength limit",te.ERR_BAD_REQUEST,k,A);try{let X;const G=W("auth");if(G){const _e=I.getSafeProp(G,"username")||"",Ke=I.getSafeProp(G,"password")||"";X={username:_e,password:Ke}}if(XC(N)){const _e=new URL(N,wt.origin);if(!X&&(_e.username||_e.password)){const Ke=Mg(_e.username),Wt=Mg(_e.password);X={username:Ke,password:Wt}}(_e.username||_e.password)&&(_e.username="",_e.password="",N=_e.href)}if(X&&(le.delete("authorization"),le.set("Authorization","Basic "+btoa(YC((X.username||"")+":"+(X.password||""))))),se&&typeof N=="string"&&N.startsWith("data:")&&GC(N)>ie)throw new te("maxContentLength size of "+ie+" exceeded",te.ERR_BAD_RESPONSE,k,A);if(ce&&C!=="get"&&C!=="head"){const _e=await b(T);if(typeof _e=="number"&&isFinite(_e)&&(we=_e,_e>ke))throw ye()}const fe=ce&&(I.isReadableStream(T)||I.isStream(T)),he=(_e,Ke,Wt)=>Ig(_e,Dg,St=>
vendor: 7,803 bytes, lines 229-235
229{if(ce&&St>ke)throw xe=ye();Ke&&Ke(St)},Wt);if(E&&C!=="get"&&C!=="head"&&(J||fe)){if(we=we??await S(le,T),we!==0||fe){let _e=new l(N,{method:"POST",body:T,duplex:"half"}),Ke;if(I.isFormData(T)&&(Ke=_e.headers.get("content-type"))&&le.setContentType(Ke),_e.body){const[Wt,St]=J&&Og(we,Fl(Ag(J)))||[];T=he(_e.body,Wt,St)}}}else if(fe&&!h&&y&&C!=="get"&&C!=="head")T=he(T);else if(fe&&h&&!E&&C!=="get"&&C!=="head")throw new te("Stream request bodies are not supported by the current fetch implementation",te.ERR_NOT_SUPPORT,k,A);I.isString(ve)||(ve=ve?"include":"omit");const Re=h&&"credentials"in l.prototype;if(I.isFormData(T)){const _e=le.getContentType();_e&&/^multipart\/form-data/i.test(_e)&&!/boundary=/i.test(_e)&&le.delete("content-type")}le.set("User-Agent","axios/"+Of,!1);const Te={...oe,signal:$,method:C.toUpperCase(),headers:sx(le.normalize()),body:T,duplex:"half",credentials:Re?ve:void 0};A=h&&new l(N,Te);let Ne=await(h?Z(A,oe):Z(N,Te));const We=Tt.from(Ne.headers);if(se){const _e=I.toFiniteNumber(We.getContentLength());if(_e!=null&&_e>ie)throw new te("maxContentLength size of "+ie+" exceeded",te.ERR_BAD_RESPONSE,k,A)}const Qe=_&&(ee==="stream"||ee==="response");if(_&&Ne.body&&(B||se||Qe&&H)){const _e={};["status","statusText","headers"].forEach(Dn=>{_e[Dn]=Ne[Dn]});const Ke=I.toFiniteNumber(We.getContentLength()),[Wt,St]=B&&Og(Ke,Fl(Ag(B),!0))||[];let Zn=0;const er=Dn=>{if(se&&(Zn=Dn,Zn>ie))throw new te("maxContentLength size of "+ie+" exceeded",te.ERR_BAD_RESPONSE,k,A);Wt&&Wt(Dn)};Ne=new u(Ig(Ne.body,Dg,er,()=>{St&&St(),H&&H()}),_e)}ee=ee||"text";let dt=await P[I.findKey(P,ee)||"text"](Ne,k);if(se&&!_&&!Qe){let _e;if(dt!=null&&(typeof dt.byteLength=="number"?_e=dt.byteLength:typeof dt.size=="number"?_e=dt.size:typeof dt=="string"&&(_e=typeof s=="function"?new s().encode(dt).byteLength:dt.length)),typeof _e=="number"&&_e>ie)throw new te("maxContentLength size of "+ie+" exceeded",te.ERR_BAD_RESPONSE,k,A)}return!Qe&&H&&H(),await new Promise((_e,Ke)=>{px(_e,Ke,{data:dt,headers:Tt.from(Ne.headers),status:Ne.status,statusText:Ne.statusText,config:k,request:A})})}catch(X){if(H&&H(),$&&$.aborted&&$.reason instanceof te){const G=$.reason;throw G.config=k,A&&(G.request=A),X!==G&&Object.defineProperty(G,"cause",{__proto__:null,value:X,writable:!0,enumerable:!1,configurable:!0}),G}if(xe)throw A&&!xe.request&&(xe.request=A),xe;if(X instanceof te)throw A&&!X.request&&(X.request=A),X;if(X&&X.name==="TypeError"&&/Load failed|fetch/i.test(X.message)){const G=new te("Network Error",te.ERR_NETWORK,k,A,X&&X.response);throw Object.defineProperty(G,"cause",{__proto__:null,value:X.cause||X,writable:!0,enumerable:!1,configurable:!0}),G}throw te.from(X,X&&X.code,k,A,X&&X.response)}}},ZC=new Map,yx=e=>{let t=e&&e.env||{};const{fetch:r,Request:s,Response:a}=t,l=[s,a,r];let u=l.length,d=u,h,g,y=ZC;for(;d--;)h=l[d],g=y.get(h),g===void 0&&y.set(h,g=d?new Map:JC(t)),y=g;return g};yx();const Af={http:fC,xhr:WC,fetch:{get:yx}};I.forEach(Af,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const zg=e=>`- ${e}`,e2=e=>I.isFunction(e)||e===null||e===!1;function t2(e,t){e=I.isArray(e)?e:[e];const{length:r}=e;let s,a;const l={};for(let u=0;u<r;u++){s=e[u];let d;if(a=s,!e2(s)&&(a=Af[(d=String(s)).toLowerCase()],a===void 0))throw new te(`Unknown adapter '${d}'`);if(a&&(I.isFunction(a)||(a=a.get(t))))break;l[d||"#"+u]=a}if(!a){const u=Object.entries(l).map(([h,g])=>`adapter ${h} `+(g===!1?"is not supported by the environment":"is not available in the build"));let d=r?u.length>1?`since : 230`+u.map(zg).join(` 231`):" "+zg(u[0]):"as no adapter specified";throw new te("There is no suitable adapter to dispatch the request "+d,te.ERR_NOT_SUPPORT)}return a}const vx={getAdapter:t2,adapters:Af};function cd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gi(null,e)}function Ug(e){return cd(e),e.headers=Tt.from(e.headers),e.data=ld.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vx.getAdapter(e.adapter||Ki.adapter,e)(e).then(function(s){cd(e),e.response=s;try{s.data=ld.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=Tt.from(s.headers),s},function(s){if(!hx(s)&&(cd(e),s&&s.response)){e.response=s.response;try{s.response.data=ld.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=Tt.from(s.response.headers)}return Promise.reject(s)})}const Yl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yl[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Bg={};Yl.transitional=function(t,r,s){function a(l,u){return"[Axios v"+Of+"] Transitional option '"+l+"'"+u+(s?". "+s:"")}return(l,u,d)=>{if(t===!1)throw new te(a(u," has been removed"+(r?" in "+r:"")),te.ERR_DEPRECATED);return r&&!Bg[u]&&(Bg[u]=!0,console.warn(a(u," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(l,u,d):!0}};Yl.spelling=function(t){return(r,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function n2(e,t,r){if(typeof e!="object"||e===null)throw new te("options must be an object",te.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let a=s.length;for(;a-- >0;){const l=s[a],u=Object.prototype.hasOwnProperty.call(t,l)?t[l]:void 0;if(u){const d=e[l],h=d===void 0||u(d,l,e);if(h!==!0)throw new te("option "+l+" must be "+h,te.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new te("Unknown option "+l,te.ERR_BAD_OPTION)}}const _l={assertOptions:n2,validators:Yl},Nt=_l.validators;let wo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Tg,response:new Tg}}async request(t,r){try{return await this._request(t,r)}catch(s){if(s instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const l=(()=>{if(!a.stack)return"";const u=a.stack.indexOf(` 232`);return u===-1?"":a.stack.slice(u+1)})();try{if(!s.stack)s.stack=l;else if(l){const u=l.indexOf(` 233`),d=u===-1?-1:l.indexOf(` 234`,u+1),h=d===-1?"":l.slice(d+1);String(s.stack).endsWith(h)||(s.stack+=` 235`+l)}}catch{}}throw s}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Eo(this.defaults,r);const{transitional:s,paramsSerializer:a,headers:l}=r;s!==void 0&&_l.assertOptions(s,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean),legacyInterceptorReqResOrdering:Nt.transitional(Nt.boolean),advertiseZstdAcceptEncoding:Nt.transitional(Nt.boolean),validateStatusUndefinedResolves:Nt.transitional(Nt.boolean)},!1),a!=null&&(I.isFunction(a)?r.paramsSerializer={serialize:a}:_l.assertOptions(a,{encode:Nt.function,serialize:Nt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),_l.assertOptions(r,{baseUrl:Nt.spelling("baseURL"),withXsrfToken:Nt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let u=l&&I.merge(l.common,l[r.method]);l&&I.forEach(["delete","get","head","post","put","patch","query","common"],P=>{delete l[P]}),r.headers=Tt.concat(u,l);const d=[];let h=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(r)===!1)return;h=h&&b.synchronous;const S=r.transitional||Tf;S&&S.legacyInterceptorReqResOrdering?d.unshift(b.fulfilled,b.rejected):d.push(b.fulfilled,b.rejected)});const g=[];this.interceptors.response.forEach(function(b){g.push(b.fulfilled,b.rejected)});let y,v=0,E;if(!h){const P=[Ug.bind(this),void 0];for(P.unshift(...d),P.push(...g),E=P.length,y=Promise.resolve(r);v<E;)y=y.then(P[v++],P[v++]);return y}E=d.length;let _=r;
vendor: 2,030 bytes, line 235
235for(;v<E;){const P=d[v++],b=d[v++];try{_=P(_)}catch(S){b.call(this,S);break}}try{y=Ug.call(this,_)}catch(P){return Promise.reject(P)}for(v=0,E=g.length;v<E;)y=y.then(g[v++],g[v++]);return y}getUri(t){t=Eo(this.defaults,t);const r=mx(t.baseURL,t.url,t.allowAbsoluteUrls,t);return ux(r,t.params,t.paramsSerializer)}};I.forEach(["delete","get","head","options"],function(t){wo.prototype[t]=function(r,s){return this.request(Eo(s||{},{method:t,url:r,data:s&&I.hasOwnProp(s,"data")?s.data:void 0}))}});I.forEach(["post","put","patch","query"],function(t){function r(s){return function(l,u,d){return this.request(Eo(d||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:l,data:u}))}}wo.prototype[t]=r(),t!=="query"&&(wo.prototype[t+"Form"]=r(!0))});let r2=class xx{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(l){r=l});const s=this;this.promise.then(a=>{if(!s._listeners)return;let l=s._listeners.length;for(;l-- >0;)s._listeners[l](a);s._listeners=null}),this.promise.then=a=>{let l;const u=new Promise(d=>{s.subscribe(d),l=d}).then(a);return u.cancel=function(){s.unsubscribe(l)},u},t(function(l,u,d){s.reason||(s.reason=new Gi(l,u,d),r(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=s=>{t.abort(s)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new xx(function(a){t=a}),cancel:t}}};function o2(e){return function(r){return e.apply(null,r)}}function s2(e){return I.isObject(e)&&e.isAxiosError===!0}const Qd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
235alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Qd).forEach(([e,t])=>{Qd[t]=e});function wx(e){const t=new wo(e),r=Yv(wo.prototype.request,t);return I.extend(r,wo.prototype,t,{allOwnKeys:!0}),I.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return wx(Eo(e,a))},r}const tt=wx(Ki);tt.Axios=wo;tt.CanceledError=Gi;tt.CancelToken=r2;tt.isCancel=hx;tt.VERSION=Of;tt.toFormData=Gl;tt.AxiosError=te;tt.Cancel=tt.CanceledError;tt.all=function(t){return Promise.all(t)};tt.spread=o2;tt.isAxiosError=s2;tt.mergeConfig=Eo;tt.AxiosHeaders=Tt;tt.formToJSON=e=>fx(I.isHTMLForm(e)?new FormData(e):e);tt.getAdapter=vx.getAdapter;tt.HttpStatusCode=Qd;tt.default=tt;const{Axios:ej,AxiosError:tj,CanceledError:nj,isCancel:rj,CancelToken:oj,VERSION:sj,all:ij,Cancel:aj,isAxiosError:lj,spread:cj,toFormData:uj,AxiosHeaders:dj,HttpStatusCode:fj,formToJSON:hj,getAdapter:pj,mergeConfig:mj,create:gj}=tt,bx=typeof window>"u",$g=!bx&&window.self!==window.top,i2=!bx&&typeof document>"u",ud=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),vt=[];for(let e=0;e<256;++e)vt.push((e+256).toString(16).slice(1));function a2(e,t=0){return(vt[e[t+0]]+vt[e[t+1]]+vt[e[t+2]]+vt[e[t+3]]+"-"+vt[e[t+4]]+vt[e[t+5]]+"-"+vt[e[t+6]]+vt[e[t+7]]+"-"+vt[e[t+8]]+vt[e[t+9]]+"-"+vt[e[t+10]]+vt[e[t+11]]+vt[e[t+12]]+vt[e[t+13]]+vt[e[t+14]]+vt[e[t+15]]).toLowerCase()}let dd;const l2=new Uint8Array(16);function c2(){if(!dd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");dd=crypto.getRandomValues.bind(crypto)}return dd(l2)}const u2=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Wg={randomUUID:u2};function d2(e,t,r){var a;e=e||{};const s=e.random??((a=e.rng)==null?void 0:a.call(e))??c2();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,a2(s)}function f2(e,t,r){return Wg.randomUUID&&!e?Wg.randomUUID():d2(e)}const Si=typeof window<"u"?window:{base44SharedInstances:{}};function h2(e,t){return Si.base44SharedInstances||(Si.base44SharedInstances={}),Si.base44SharedInstances[e]||(Si.base44SharedInstances[e]={instance:t()}),Si.base44SharedInstances[e].instance}const p2="__user_heartbeat_event__",m2="__initialization_event__",g2="__session_duration_event__",Vg="analytics-enable",Hg="base44_analytics_session_id",y2={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},v2="analytics",Be=h2(v2,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...y2,...C2()}})),x2=({axiosClient:e,serverUrl:t,appId:r,userAuthModule:s})=>{var a;const{maxQueueSize:l,throttleTime:u,batchSize:d}=Be.config;if(!(!((a=Be.config)===null||a===void 0)&&a.enabled)||i2)return{track:()=>{},cleanup:()=>{}};let h;const g=`${t}/api/apps/${r}/analytics/track/batch`,y=async C=>{await e.request({method:"POST",url:`/apps/${r}/analytics/track/batch`,data:{events:C}})},v=C=>{try{const T=JSON.stringify({events:C}),F=new Blob([T],{type:"application/json"});return typeof navigator>"u"||T.length>6e4||!navigator.sendBeacon(g,F)}catch{return!1}},E=async(C,T={})=>
235{if(C.length===0)return;const F=await _2(s),z=C.map(E2(F));try{(!T.isBeacon||!v(z))&&await y(z)}catch{}},_=()=>{Qg(E,{throttleTime:u,batchSize:d})},P=C=>{if(Be.requestsQueue.length>=l)return;const T=k2();Be.requestsQueue.push({...C,...T}),_()},b=()=>{Qg(E,{throttleTime:u,batchSize:d}),h=Kg(P),b2()},S=()=>{qg(),h==null||h(),S2(P);const C=Be.requestsQueue.splice(0);E(C,{isBeacon:!0})},k=()=>{typeof window>"u"||(document.visibilityState==="hidden"?S():document.visibilityState==="visible"&&b())},N=()=>{qg(),h==null||h(),typeof window<"u"&&window.removeEventListener("visibilitychange",k)};return _(),h=Kg(P),w2(P),typeof window<"u"&&window.addEventListener("visibilitychange",k),{track:P,cleanup:N}};function qg(){Be.isProcessing=!1}async function Qg(e,t){if(Be.isProcessing)return;Be.isProcessing=!0;const{throttleTime:r=1e3,batchSize:s=30}=t??{};for(;Be.isProcessing&&Be.requestsQueue.length>0;){const a=Be.requestsQueue.splice(0,s);a.length&&await e(a),await new Promise(l=>setTimeout(l,r))}Be.isProcessing=!1}function Kg(e){var t;if(Be.isHeartBeatProcessing||((t=Be.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Be.isHeartBeatProcessing=!0;const r=setInterval(()=>{e({eventName:p2})},Be.config.heartBeatInterval);return()=>{clearInterval(r),Be.isHeartBeatProcessing=!1}}function w2(e){typeof window>"u"||Be.wasInitializationTracked||(Be.wasInitializationTracked=!0,e({eventName:m2,properties:{referrer:document==null?void 0:document.referrer}}))}function b2(){typeof window>"u"||Be.sessionStartTime!==null||(Be.sessionStartTime=new Date().toISOString())}function S2(e){if(typeof window>"u"||Be.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Be.sessionStartTime).getTime();Be.sessionStartTime=null,e({eventName:g2,properties:{sessionDuration:t}})}function k2(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function E2(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let fd=null;async function _2(e){if(!Be.sessionContext){if(!fd){const t=jf();fd=e.me().then(r=>({user_id:r.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}Be.sessionContext=await fd}return Be.sessionContext}function C2(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(Vg);if(t==null||!t.length)return;const r=new URLSearchParams(window.location.search);r.delete(Vg);const s=window.location.pathname+(r.toString()?"?"+r.toString():"");return window.history.replaceState({},"",s),{enabled:t==="true"}}function jf(){if(typeof window>"u")return ud();try{const e=localStorage.getItem(Hg);if(!e){const t=ud();return localStorage.setItem(Hg,t),t}return e}catch{return ud()}}class N2 extends Error{constructor(t,r,s,a,l){super(t),this.name="Base44Error",this.status=r,this.code=s,this.data=a,this.originalError=l}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function _i({baseURL:e,headers:t={},token:r,interceptResponses:s=!0,onError:a}){const l=tt.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return r&&(l.defaults.headers.common.Authorization=`Bearer ${r}`),l.interceptors.request.use(u=>{typeof window<"u"&&window.location&&(u.headers.set("X-Origin-URL",window.location.href),u.headers.get("Authorization")||u.headers.set("X-Base44-Anonymous-Id",jf()));const d=f2();if(u.requestId=d,$g)try{window.parent.postMessage({type:"api-request-start",requestId:d,data:{url:e+u.url,method:u.method,body:u.data instanceof FormData?"[FormData object]":u.data}},"*")}catch{}return u}),s&&l.interceptors.response.use(u=>{var d;const h=(d=u.config)===null||d===void 0?void 0:d.requestId;try{$g&&h&&window.parent.postMessage({type:"api-request-end",requestId:h,data:{statusCode:u.status,response:u.data}},"*")}catch{}return u.data},u=>{var d,h,g,y,v,E,_,P;const b=((h=(d=u.response)===null||d===void 0?void 0:d.data)===null||h===void 0?void 0:h.message)||((y=(g=u.response)===null||g===void 0?void 0:g.data)===null||y===void 0?void 0:y.detail)||u.message,S=new N2(b,(v=u.response)===null||v===void 0?void 0:v.status,(_=(E=u.response)===null||E===void 0?void 0:E.data)===null||_===void 0?void 0:_.code,(P=u.response)===null||P===void 0?void 0:P.data,u);return a==null||a(S),Promise.reject(S)}),l}function Gg(e){const{axios:t,appId:r,getSocket:s}=e;return new Proxy({},{get(a,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return T2(t,r,l,s)}})}function R2(e){var t;try{const r=JSON.parse(e);return{type:r.type,data:r.data,id:r.id||((t=r.data)===null||t===void 0?void 0:t.id),timestamp:r.timestamp||new Date().toISOString()}}catch(r){return console.warn("[Base44 SDK] Failed to parse realtime message:",r),null}}function T2(e,t,r,s){const a=`/apps/${t}/entities/${r}`;return{async list(l,u,d,h){const g={};return l&&(g.sort=l),u&&(g.limit=u),d&&(g.skip=d),h&&(g.fields=Array.isArray(h)?h.join(","):h),e.get(a,{params:g})},async filter(l,u,d,h,g){const y={q:JSON.stringify(l)};return u&&(y.sort=u),d&&(y.limit=d),h&&(y.skip=h),g&&(y.fields=Array.isArray(g)?g.join(","):g),e.get(a,{params:y})},async get(l){return e.get(`${a}/${l}`)},async create(l){return e.post(a,l)},async update(l,u){return e.put(`${a}/${l}`,u)},async delete(l){return e.delete(`${a}/${l}`)},async deleteMany(l){return e.delete(a,{data:l})},async bulkCreate(l){return e.post(`${a}/bulk`,l)},async updateMany(l,u){return e.patch(`${a}/update-many`,{query:l,data:u})},async bulkUpdate(l){return e.put(`${a}/bulk`,l)},async importEntities(l){const u=new FormData;return u.append("file",l,l.name),e.post(`${a}/import`,u,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(l){const u=`entities:${t}:${r}`;return s().subscribeToRoom(u,{update_model:g=>{var y;const v=R2(g.data);if(v){v.type!=="delete"&&(!((y=v.data)===null||y===void 0)&&y._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${r}#${v.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${r}.get("${v.id}")\` to fetch the full record.`);try{l(v)}catch(E){console.error("[Base44 SDK] Subscription callback error:",E)}}}})}}}function P2(e,t){return{async call(r,s,a){if(!(r!=null&&r.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(s!=null&&s.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:l,queryParams:u,...d}=a??{},h={...d,...l&&{path_params:l},...u&&{query_params:u}};return await e.post(`/apps/${t}/integrations/custom/${r}/${s}`,h)}}}function Yg(e,t){const r=P2(e,t);return new Proxy({},{get(s,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return a==="custom"?r:new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return async d=>
235{if(typeof d=="string")throw new Error(`Integration ${u} must receive an object with named parameters, received: ${d}`);let h,g;return d instanceof FormData||d&&Object.values(d).some(y=>y instanceof File)?(h=new FormData,Object.keys(d).forEach(y=>{d[y]instanceof File?h.append(y,d[y],d[y].name):typeof d[y]=="object"&&d[y]!==null?h.append(y,JSON.stringify(d[y])):h.append(y,d[y])}),g="multipart/form-data"):(h=d,g="application/json"),a==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${u}`,h||d,{headers:{"Content-Type":g}}):e.post(`/apps/${t}/integration-endpoints/installable/${a}/integration-endpoints/${u}`,h||d,{headers:{"Content-Type":g}})}}})}})}function O2(){return typeof window>"u"?!1:window!==window.parent}function A2(e,t,r){const l=Math.round(window.screenX+(window.outerWidth-500)/2),u=Math.round(window.screenY+(window.outerHeight-600)/2),d=window.open(e,"base44_auth",`width=500,height=600,left=${l},top=${u},resizable=yes,scrollbars=yes`);if(!d)return;const h=()=>{window.removeEventListener("message",g),clearInterval(y),d.closed||d.close()},g=v=>{var E;if(v.origin!==r||v.source!==d||!(!((E=v.data)===null||E===void 0)&&E.access_token))return;h();const _=new URL(t),{access_token:P,is_new_user:b}=v.data;_.searchParams.set("access_token",P),b!=null&&_.searchParams.set("is_new_user",String(b)),window.location.href=_.toString()},y=setInterval(()=>{d.closed&&h()},500);window.addEventListener("message",g)}function j2(e,t,r,s){return{async me(){return e.get(`/apps/${r}/entities/User/me`)},async updateMe(a){return e.put(`/apps/${r}/entities/User/me`,a)},redirectToLogin(a){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const l=a?new URL(a,window.location.origin).toString():window.location.href,u=`${s.appBaseUrl}/login?from_url=${encodeURIComponent(l)}`;window.location.href=u},loginWithProvider(a,l="/"){const u=new URL(l,window.location.origin).toString(),d=`app_id=${r}&from_url=${encodeURIComponent(u)}`;let h;a==="sso"?h=`/apps/${r}/auth/sso/login`:h=`/apps/auth${a==="google"?"":`/${a}`}/login`;const g=`${s.appBaseUrl}/api${h}?${d}`;if(O2()){const y=`${g}&popup_origin=${encodeURIComponent(window.location.origin)}`;return A2(y,u,window.location.origin)}window.location.href=g},logout(a){if(delete e.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(d){console.error("Failed to remove token from localStorage:",d)}const l=a||window.location.href,u=`${s.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(l)}`;window.location.href=u}},setToken(a,l=!0){if(a&&(e.defaults.headers.common.Authorization=`Bearer ${a}`,t.defaults.headers.common.Authorization=`Bearer ${a}`,l&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",a),window.localStorage.setItem("token",a)}catch(u){console.error("Failed to save token to localStorage:",u)}},async loginViaEmailPassword(a,l,u){var d;try{const h=await e.post(`/apps/${r}/auth/login`,{email:a,password:l,...u&&{turnstile_token:u}}),{access_token:g,user:y}=h;return g&&this.setToken(g),{access_token:g,user:y}}catch(h){throw((d=h.response)===null||d===void 0?void 0:d.status)===401&&await this.logout(),h}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(a,l){return e.post(`/apps/${r}/users/invite-user`,{user_email:a,role:l})},register(a){return e.post(`/apps/${r}/auth/register`,a)},verifyOtp({email:a,otpCode:l}){return e.post(`/apps/${r}/auth/verify-otp`,{email:a,otp_code:l})},resendOtp(a){return e.post(`/apps/${r}/auth/resend-otp`,{email:a})},resetPasswordRequest(a){return e.post(`/apps/${r}/auth/reset-password-request`,{email:a})},resetPassword({resetToken:a,newPassword:l}){return e.post(`/apps/${r}/auth/reset-password`,{reset_token:a,new_password:l})},changePassword({userId:a,currentPassword:l,newPassword:u}){return e.post(`/apps/${r}/auth/change-password`,{user_id:a,current_password:l,new_password:u})}}}function L2(e,t){return{async getAccessToken(r){const s=`/apps/${t}/auth/sso/accesstoken/${r}`;return e.get(s)},async getIdToken(r){const s=`/apps/${t}/auth/sso/idtoken/${r}`;return e.get(s)}}}function I2(e,t){return{async getAccessToken(r){if(!r||typeof r!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${r}`)).access_token},async getConnection(r){var s;if(!r||typeof r!="string")throw new Error("Integration type is required and must be a string");const l=await e.get(`/apps/${t}/external-auth/tokens/${r}`);return{accessToken:l.access_token,connectionConfig:(s=l.connection_config)!==null&&s!==void 0?s:null}},async getWorkspaceConnection(r){var s;if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");const l=await e.get(`/apps/${t}/external-auth/tokens/connectors/${r}`);return{accessToken:l.access_token,connectionConfig:(s=l.connection_config)!==null&&s!==void 0?s:null}},async getCurrentAppUserAccessToken(r){if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${r}/token`)).access_token},async getCurrentAppUserConnection(r){var s;if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");const l=await e.get(`/apps/${t}/app-user-auth/connectors/${r}/token`);return{accessToken:l.access_token,connectionConfig:(s=l.connection_config)!==null&&s!==void 0?s:null}}}}function D2(e,t){return{async connectAppUser(r){if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/app-user-auth/connectors/${r}/initiate`)).redirect_url},async disconnectAppUser(r){if(!r||typeof r!="string")throw new Error("Connector ID is required and must be a string");await e.delete(`/apps/${t}/app-user-auth/connectors/${r}`)}}}function bo(e={}){const{storageKey:t="base44_access_token",paramName:r="access_token",saveToStorage:s=!0,removeFromUrl:a=!0}=e;let l=null;if(typeof window<"u"&&window.location)try{const u=new URLSearchParams(window.location.search);if(l=u.get(r),l){if(s&&M2(l,{storageKey:t}),a){u.delete(r);const d=`${window.location.pathname}${u.toString()?`?${u.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}return l}}catch(u){console.error("Error retrieving token from URL:",u)}if(typeof window<"u"&&window.localStorage)try{return l=window.localStorage.getItem(t),l}catch(u){console.error("Error retrieving token from local storage:",u)}return null}function M2(e,t){const{storageKey:r="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(r,e),window.localStorage.setItem("token",e),!0}catch(s){return console.error("Error saving token to local storage:",s),!1}}function Xg(e,t,r){const s=(l,u)=>l?`${String(l).replace(/\/$/,"")}${u}`:u,a=l=>{const u=new Headers;if(r!=null&&r.getAuthHeaders){const d=r.getAuthHeaders();
235Object.entries(d).forEach(([h,g])=>{g!=null&&u.set(h,String(g))})}return l&&new Headers(l).forEach((d,h)=>{u.set(h,d)}),u};return{async invoke(l,u){if(typeof u=="string")throw new Error(`Function ${l} must receive an object with named parameters, received: ${u}`);let d,h;return u instanceof FormData||u&&Object.values(u).some(g=>g instanceof File)?(d=new FormData,Object.keys(u).forEach(g=>{u[g]instanceof File?d.append(g,u[g],u[g].name):typeof u[g]=="object"&&u[g]!==null?d.append(g,JSON.stringify(u[g])):d.append(g,u[g])}),h="multipart/form-data"):(d=u,h="application/json"),e.post(`/apps/${t}/functions/${l}`,d||u,{headers:{"Content-Type":h}})},async fetch(l,u={}){const h=`/functions${l.startsWith("/")?l:`/${l}`}`,g=a(u.headers),y={...u,headers:g};return await fetch(s(r==null?void 0:r.baseURL,h),y)}}}function Jg({axios:e,getSocket:t,appId:r,serverUrl:s,token:a}){const l=`/apps/${r}/agents`,u={},d=()=>e.get(`${l}/conversations`),h=b=>e.get(`${l}/conversations/${b}`);return{getConversations:d,getConversation:h,listConversations:b=>e.get(`${l}/conversations`,{params:b}),createConversation:b=>e.post(`${l}/conversations`,b),addMessage:async(b,S)=>e.post(`${l}/conversations/v2/${b.id}/messages`,S),subscribeToConversation:(b,S)=>{const k=`/agent-conversations/${b}`,N=t(),C=h(b).then(T=>(u[b]=T,T));return N.subscribeToRoom(k,{connect:()=>{},update_model:async({data:T})=>{const F=JSON.parse(T);if(F._message){await C;const z=F._message,V=u[b];if(V){const B=V.messages||[],J=B.findIndex(le=>le.id===z.id),ee=J!==-1?B.map((le,ve)=>ve===J?z:le):[...B,z];u[b]={...V,messages:ee},S==null||S(u[b])}}}})},getWhatsAppConnectURL:b=>{const S=`${s}/api/apps/${r}/agents/${encodeURIComponent(b)}/whatsapp`,k=a??bo();return k?`${S}?token=${k}`:S},getTelegramConnectURL:b=>{const S=`${s}/api/apps/${r}/agents/${encodeURIComponent(b)}/telegram`,k=a??bo();return k?`${S}?token=${k}`:S}}}function Zg({serverUrl:e,token:t,appId:r}){return{connection:()=>{var a;return{baseURL:`${e}/api/apps/${r}/ai/openai/v1`,token:(a=t??bo())!==null&&a!==void 0?a:""}}}}function ey(e,t){const r=`/app-logs/${t}`;return{async logUserInApp(s){await e.post(`${r}/log-user-in-app/${s}`)},async fetchLogs(s={}){return await e.get(r,{params:s})},async getStats(s={}){return await e.get(`${r}/stats`,{params:s})}}}function F2(e,t){return{async inviteUser(r,s){if(s!=="user"&&s!=="admin")throw new Error(`Invalid role: "${s}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:r,role:s})}}}const jn=Object.create(null);jn.open="0";jn.close="1";jn.ping="2";jn.pong="3";jn.message="4";jn.upgrade="5";jn.noop="6";const Cl=Object.create(null);Object.keys(jn).forEach(e=>{Cl[jn[e]]=e});const Kd={type:"error",data:"parser error"},Sx=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",kx=typeof ArrayBuffer=="function",Ex=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Lf=({type:e,data:t},r,s)=>Sx&&t instanceof Blob?r?s(t):ty(t,s):kx&&(t instanceof ArrayBuffer||Ex(t))?r?s(t):ty(new Blob([t]),s):s(jn[e]+(t||"")),ty=(e,t)=>{const r=new FileReader;return r.onload=function(){const s=r.result.split(",")[1];t("b"+(s||""))},r.readAsDataURL(e)};function ny(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let hd;function z2(e,t){if(Sx&&e.data instanceof Blob)return e.data.arrayBuffer().then(ny).then(t);if(kx&&(e.data instanceof ArrayBuffer||Ex(e.data)))return t(ny(e.data));Lf(e,!1,r=>{hd||(hd=new TextEncoder),t(hd.encode(r))})}const ry="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ci=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<ry.length;e++)Ci[ry.charCodeAt(e)]=e;const U2=e=>{let t=e.length*.75,r=e.length,s,a=0,l,u,d,h;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const g=new ArrayBuffer(t),y=new Uint8Array(g);for(s=0;s<r;s+=4)l=Ci[e.charCodeAt(s)],u=Ci[e.charCodeAt(s+1)],d=Ci[e.charCodeAt(s+2)],h=Ci[e.charCodeAt(s+3)],y[a++]=l<<2|u>>4,y[a++]=(u&15)<<4|d>>2,y[a++]=(d&3)<<6|h&63;return g},B2=typeof ArrayBuffer=="function",If=(e,t)=>
vendor: 4,460 bytes, line 235
235{if(typeof e!="string")return{type:"message",data:_x(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:$2(e.substring(1),t)}:Cl[r]?e.length>1?{type:Cl[r],data:e.substring(1)}:{type:Cl[r]}:Kd},$2=(e,t)=>{if(B2){const r=U2(e);return _x(r,t)}else return{base64:!0,data:e}},_x=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Cx="�",W2=(e,t)=>{const r=e.length,s=new Array(r);let a=0;e.forEach((l,u)=>{Lf(l,!1,d=>{s[u]=d,++a===r&&t(s.join(Cx))})})},V2=(e,t)=>{const r=e.split(Cx),s=[];for(let a=0;a<r.length;a++){const l=If(r[a],t);if(s.push(l),l.type==="error")break}return s};function H2(){return new TransformStream({transform(e,t){z2(e,r=>{const s=r.length;let a;if(s<126)a=new Uint8Array(1),new DataView(a.buffer).setUint8(0,s);else if(s<65536){a=new Uint8Array(3);const l=new DataView(a.buffer);l.setUint8(0,126),l.setUint16(1,s)}else{a=new Uint8Array(9);const l=new DataView(a.buffer);l.setUint8(0,127),l.setBigUint64(1,BigInt(s))}e.data&&typeof e.data!="string"&&(a[0]|=128),t.enqueue(a),t.enqueue(r)})}})}let pd;function fl(e){return e.reduce((t,r)=>t+r.length,0)}function hl(e,t){if(e[0].length===t)return e.shift();const r=new Uint8Array(t);let s=0;for(let a=0;a<t;a++)r[a]=e[0][s++],s===e[0].length&&(e.shift(),s=0);return e.length&&s<e[0].length&&(e[0]=e[0].slice(s)),r}function q2(e,t){pd||(pd=new TextDecoder);const r=[];let s=0,a=-1,l=!1;return new TransformStream({transform(u,d){for(r.push(u);;){if(s===0){if(fl(r)<1)break;const h=hl(r,1);l=(h[0]&128)===128,a=h[0]&127,a<126?s=3:a===126?s=1:s=2}else if(s===1){if(fl(r)<2)break;const h=hl(r,2);a=new DataView(h.buffer,h.byteOffset,h.length).getUint16(0),s=3}else if(s===2){if(fl(r)<8)break;const h=hl(r,8),g=new DataView(h.buffer,h.byteOffset,h.length),y=g.getUint32(0);if(y>Math.pow(2,21)-1){d.enqueue(Kd);break}a=y*Math.pow(2,32)+g.getUint32(4),s=3}else{if(fl(r)<a)break;const h=hl(r,a);d.enqueue(If(l?h:pd.decode(h),t)),s=0}if(a===0||a>e){d.enqueue(Kd);break}}}})}const Nx=4;function st(e){if(e)return Q2(e)}function Q2(e){for(var t in st.prototype)e[t]=st.prototype[t];return e}st.prototype.on=st.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};st.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};st.prototype.off=st.prototype.removeListener=st.prototype.removeAllListeners=st.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var s,a=0;a<r.length;a++)if(s=r[a],s===t||s.fn===t){r.splice(a,1);break}return r.length===0&&delete this._callbacks["$"+e],this};st.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(r){r=r.slice(0);for(var s=0,a=r.length;s<a;++s)r[s].apply(this,t)}return this};st.prototype.emitReserved=st.prototype.emit;st.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};st.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Xl=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0),on=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),K2="arraybuffer";function Rx(e,...t){return t.reduce((r,s)=>(e.hasOwnProperty(s)&&(r[s]=e[s]),r),{})}const G2=on.setTimeout,Y2=on.clearTimeout;function Jl(e,t){t.useNativeTimers?(e.setTimeoutFn=G2.bind(on),e.clearTimeoutFn=Y2.bind(on)):(e.setTimeoutFn=on.setTimeout.bind(on),e.clearTimeoutFn=on.clearTimeout.bind(on))}const X2=1.33;function J2(e){return typeof e=="string"?Z2(e):Math.ceil((e.byteLength||e.size)*X2)}function Z2(e){let t=0,r=0;for(let s=0,a=e.length;s<a;s++)t=e.charCodeAt(s),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(s++,r+=4);return r}function Tx(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function eN(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function tN(e){let t={},r=e.split("&");for(let s=0,a=r.length;s<a;s++){let l=r[s].split("=");
vendor: 6,261 bytes, line 235
235t[decodeURIComponent(l[0])]=decodeURIComponent(l[1])}return t}class nN extends Error{constructor(t,r,s){super(t),this.description=r,this.context=s,this.type="TransportError"}}class Df extends st{constructor(t){super(),this.writable=!1,Jl(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,r,s){return super.emitReserved("error",new nN(t,r,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const r=If(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,r={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const r=eN(t);return r.length?"?"+r:""}}class rN extends Df{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const r=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||r()})),this.writable||(s++,this.once("drain",function(){--s||r()}))}else r()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const r=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};V2(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,W2(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=Tx()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(t,r)}}let Px=!1;try{Px=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const oN=Px;function sN(){}class iN extends rN{constructor(t){if(super(t),typeof location<"u"){const r=location.protocol==="https:";let s=location.port;s||(s=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||s!==t.port}}doWrite(t,r){const s=this.request({method:"POST",data:t});s.on("success",r),s.on("error",(a,l)=>{this.onError("xhr post error",a,l)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(r,s)=>{this.onError("xhr poll error",r,s)}),this.pollXhr=t}}class Pn extends st{constructor(t,r,s){super(),this.createRequest=t,Jl(this,s),this._opts=s,this._method=s.method||"GET",this._uri=r,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var t;const r=Rx(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(r);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let a in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(a)&&s.setRequestHeader(a,this._opts.extraHeaders[a])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var a;s.readyState===3&&((a=this._opts.cookieJar)===null||a===void 0||a.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(a){this.setTimeoutFn(()=>{this._onError(a)},0);return}typeof document<"u"&&(this._index=Pn.requestsCount++,Pn.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=sN,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Pn.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Pn.requestsCount=0;Pn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",oy);else if(typeof addEventListener=="function"){const e="onpagehide"in on?"pagehide":"unload";addEventListener(e,oy,!1)}}function oy(){for(let e in Pn.requests)Pn.requests.hasOwnProperty(e)&&Pn.requests[e].abort()}const aN=(function(){const e=Ox({xdomain:!1});return e&&e.responseType!==null})();class lN extends iN{constructor(t){super(t);const r=t&&t.forceBase64;this.supportsBinary=aN&&!r}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Pn(Ox,this.uri(),t)}}function Ox(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||oN))return new XMLHttpRequest}catch{}if(!t)try{return new on[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Ax=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class cN extends Df{get name(){return"websocket"}doOpen(){const t=this.uri(),r=this.opts.protocols,s=Ax?{}:Rx(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,r,s)}catch(a){return this.emitReserved("error",a)}
vendor: 10,324 bytes, line 235
235this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const s=t[r],a=r===t.length-1;Lf(s,this.supportsBinary,l=>{try{this.doWrite(s,l)}catch{}a&&Xl(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=Tx()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}}const md=on.WebSocket||on.MozWebSocket;class uN extends cN{createSocket(t,r,s){return Ax?new md(t,r,s):r?new md(t,r):new md(t)}doWrite(t,r){this.ws.send(r)}}class dN extends Df{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const r=q2(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=t.readable.pipeThrough(r).getReader(),a=H2();a.readable.pipeTo(t.writable),this._writer=a.writable.getWriter();const l=()=>{s.read().then(({done:d,value:h})=>{d||(this.onPacket(h),l())}).catch(d=>{})};l();const u={type:"open"};this.query.sid&&(u.data=`{"sid":"${this.query.sid}"}`),this._writer.write(u).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const s=t[r],a=r===t.length-1;this._writer.write(s).then(()=>{a&&Xl(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const fN={websocket:uN,webtransport:dN,polling:lN},hN=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,pN=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Gd(e){if(e.length>8e3)throw"URI too long";const t=e,r=e.indexOf("["),s=e.indexOf("]");r!=-1&&s!=-1&&(e=e.substring(0,r)+e.substring(r,s).replace(/:/g,";")+e.substring(s,e.length));let a=hN.exec(e||""),l={},u=14;for(;u--;)l[pN[u]]=a[u]||"";return r!=-1&&s!=-1&&(l.source=t,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=mN(l,l.path),l.queryKey=gN(l,l.query),l}function mN(e,t){const r=/\/{2,9}/g,s=t.replace(r,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&s.splice(0,1),t.slice(-1)=="/"&&s.splice(s.length-1,1),s}function gN(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,a,l){a&&(r[a]=l)}),r}const Yd=typeof addEventListener=="function"&&typeof removeEventListener=="function",Nl=[];Yd&&addEventListener("offline",()=>{Nl.forEach(e=>e())},!1);class Mr extends st{constructor(t,r){if(super(),this.binaryType=K2,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(r=t,t=null),t){const s=Gd(t);r.hostname=s.host,r.secure=s.protocol==="https"||s.protocol==="wss",r.port=s.port,s.query&&(r.query=s.query)}else r.host&&(r.hostname=Gd(r.host).host);Jl(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(s=>{const a=s.prototype.name;this.transports.push(a),this._transportsByName[a]=s}),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=tN(this.opts.query)),Yd&&(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"})},Nl.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const r=Object.assign({},this.opts.query);r.EIO=Nx,r.transport=t,this.id&&(r.sid=this.id);const s=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Mr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const r=this.createTransport(t);r.open(),this.setTransport(r)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",r=>this._onClose("transport close",r))}onOpen(){this.readyState="open",Mr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const r=new Error("server error");r.code=t.data,this._onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let s=0;s<this.writeBuffer.length;s++){const a=this.writeBuffer[s].data;if(a&&(r+=J2(a)),s>0&&r>this._maxPayload)return this.writeBuffer.slice(0,s);r+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Xl(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,r,s){return this._sendPacket("message",t,r,s),this}send(t,r,s){return this._sendPacket("message",t,r,s),this}_sendPacket(t,r,s,a){if(typeof r=="function"&&(a=r,r=void 0),typeof s=="function"&&(a=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const l={type:t,data:r,options:s};this.emitReserved("packetCreate",l),this.writeBuffer.push(l),a&&this.once("flush",a),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},s=()=>{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?s():t()}):this.upgrading?s():t()),this}_onError(t){if(Mr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,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(),Yd&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Nl.indexOf(this._offlineEventListener);s!==-1&&Nl.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this._prevBufferLen=0}}}Mr.protocol=Nx;class yN extends Mr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let r=this.createTransport(t),s=!1;Mr.priorWebsocketSuccess=!1;const a=()=>{s||(r.send([{type:"ping",data:"probe"}]),r.once("packet",v=>{if(!s)if(v.type==="pong"&&v.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;Mr.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(y(),this.setTransport(r),r.send([{type:"upgrade"}
vendor: 10,501 bytes, line 235
235]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const E=new Error("probe error");E.transport=r.name,this.emitReserved("upgradeError",E)}}))};function l(){s||(s=!0,y(),r.close(),r=null)}const u=v=>{const E=new Error("probe error: "+v);E.transport=r.name,l(),this.emitReserved("upgradeError",E)};function d(){u("transport closed")}function h(){u("socket closed")}function g(v){r&&v.name!==r.name&&l()}const y=()=>{r.removeListener("open",a),r.removeListener("error",u),r.removeListener("close",d),this.off("close",h),this.off("upgrading",g)};r.once("open",a),r.once("error",u),r.once("close",d),this.once("close",h),this.once("upgrading",g),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{s||r.open()},200):r.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const r=[];for(let s=0;s<t.length;s++)~this.transports.indexOf(t[s])&&r.push(t[s]);return r}}let vN=class extends yN{constructor(t,r={}){const s=typeof t=="object",a=s?{...t}:{...r};(!a.transports||a.transports&&typeof a.transports[0]=="string")&&(a.transports=(a.transports||["polling","websocket","webtransport"]).map(l=>fN[l]).filter(l=>!!l)),super(s?a:t,a)}};function xN(e,t="",r){let s=e;r=r||typeof location<"u"&&location,e==null&&(e=r.protocol+"//"+r.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=r.protocol+e:e=r.host+e),/^(https?|wss?):\/\//.test(e)||(typeof r<"u"?e=r.protocol+"//"+e:e="https://"+e),s=Gd(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const l=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+l+":"+s.port+t,s.href=s.protocol+"://"+l+(r&&r.port===s.port?"":":"+s.port),s}const wN=typeof ArrayBuffer=="function",bN=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,jx=Object.prototype.toString,SN=typeof Blob=="function"||typeof Blob<"u"&&jx.call(Blob)==="[object BlobConstructor]",kN=typeof File=="function"||typeof File<"u"&&jx.call(File)==="[object FileConstructor]";function Mf(e){return wN&&(e instanceof ArrayBuffer||bN(e))||SN&&e instanceof Blob||kN&&e instanceof File}function Rl(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,s=e.length;r<s;r++)if(Rl(e[r]))return!0;return!1}if(Mf(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Rl(e.toJSON(),!0);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&Rl(e[r]))return!0;return!1}function EN(e){const t=[],r=e.data,s=e;return s.data=Xd(r,t),s.attachments=t.length,{packet:s,buffers:t}}function Xd(e,t){if(!e)return e;if(Mf(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}else if(Array.isArray(e)){const r=new Array(e.length);for(let s=0;s<e.length;s++)r[s]=Xd(e[s],t);return r}else if(typeof e=="object"&&!(e instanceof Date)){const r={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=Xd(e[s],t));return r}return e}function _N(e,t){return e.data=Jd(e.data,t),delete e.attachments,e}function Jd(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=Jd(e[r],t);else if(typeof e=="object")for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Jd(e[r],t));return e}const CN=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Le;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(Le||(Le={}));class NN{constructor(t){this.replacer=t}encode(t){return(t.type===Le.EVENT||t.type===Le.ACK)&&Rl(t)?this.encodeAsBinary({type:t.type===Le.EVENT?Le.BINARY_EVENT:Le.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===Le.BINARY_EVENT||t.type===Le.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(r+=t.nsp+","),t.id!=null&&(r+=t.id),t.data!=null&&(r+=JSON.stringify(t.data,this.replacer)),r}encodeAsBinary(t){const r=EN(t),s=this.encodeAsString(r.packet),a=r.buffers;return a.unshift(s),a}}class Ff extends st{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let r;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=this.decodeString(t);const s=r.type===Le.BINARY_EVENT;s||r.type===Le.BINARY_ACK?(r.type=s?Le.EVENT:Le.ACK,this.reconstructor=new RN(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(Mf(t)||t.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(t),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: "+t)}decodeString(t){let r=0;const s={type:Number(t.charAt(0))};if(Le[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Le.BINARY_EVENT||s.type===Le.BINARY_ACK){const l=r+1;for(;t.charAt(++r)!=="-"&&r!=t.length;);const u=t.substring(l,r);if(u!=Number(u)||t.charAt(r)!=="-")throw new Error("Illegal attachments");const d=Number(u);if(!TN(d)||d<0)throw new Error("Illegal attachments");if(d>this.opts.maxAttachments)throw new Error("too many attachments");s.attachments=d}if(t.charAt(r+1)==="/"){const l=r+1;for(;++r&&!(t.charAt(r)===","||r===t.length););s.nsp=t.substring(l,r)}else s.nsp="/";const a=t.charAt(r+1);if(a!==""&&Number(a)==a){const l=r+1;for(;++r;){const u=t.charAt(r);if(u==null||Number(u)!=u){--r;break}if(r===t.length)break}s.id=Number(t.substring(l,r+1))}if(t.charAt(++r)){const l=this.tryParse(t.substr(r));if(Ff.isPayloadValid(s.type,l))s.data=l;else throw new Error("invalid payload")}return s}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,r){switch(t){case Le.CONNECT:return sy(r);case Le.DISCONNECT:return r===void 0;case Le.CONNECT_ERROR:return typeof r=="string"||sy(r);case Le.EVENT:case Le.BINARY_EVENT:return Array.isArray(r)&&(typeof r[0]=="number"||typeof r[0]=="string"&&CN.indexOf(r[0])===-1);case Le.ACK:case Le.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class RN{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const r=_N(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const TN=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};function sy(e){return Object.prototype.toString.call(e)==="[object Object]"}const PN=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Ff,Encoder:NN,get PacketType(){return Le}},Symbol.toStringTag,{value:"Module"}));function gn(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const ON=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Lx extends st{constructor(t,r,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[gn(t,"open",this.onopen.bind(this)),gn(t,"packet",this.onpacket.bind(this)),gn(t,"error",this.onerror.bind(this)),gn(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){var s,a,l;if(ON.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(r.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;const u={type:Le.EVENT,data:r};if(u.options={},u.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const y=this.ids++,v=r.pop();this._registerAckCallback(y,v),u.id=y}const d=(a=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||a===void 0?void 0:a.writable,h=this.connected&&!(!((l=this.io.engine)===null||l===void 0)&&l._hasPingExpired());return this.flags.volatile&&!d||(h?(this.notifyOutgoingListeners(u),this.packet(u)):this.sendBuffer.push(u)),this.flags={},this}_registerAckCallback(t,r){var s;const a=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(a===void 0){this.acks[t]=r;return}const l=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let d=0;d<this.sendBuffer.length;d++)this.sendBuffer[d].id===t&&this.sendBuffer.splice(d,1);r.call(this,new Error("operation has timed out"))},a),u=(...d)=>{this.io.clearTimeoutFn(l),r.apply(this,d)};u.withError=!0,this.acks[t]=u}emitWithAck(t,...r){return new Promise((s,a)=>{const l=(u,d)=>u?a(u):s(d);l.withError=!0,r.push(l),this.emit(t,...r)})}_addToQueue(t){let r;typeof t[t.length-1]=="function"&&(r=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((a,...l)=>(this._queue[0],a!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(a)):(this._queue.shift(),r&&r(null,...l)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!t||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Le.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r),this._clearAcks()}
vendor: 7,087 bytes, line 235
235_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Le.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Le.EVENT:case Le.BINARY_EVENT:this.onevent(t);break;case Le.ACK:case Le.BINARY_ACK:this.onack(t);break;case Le.DISCONNECT:this.ondisconnect();break;case Le.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const s of r)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const r=this;let s=!1;return function(...a){s||(s=!0,r.packet({type:Le.ACK,id:t,data:a}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(delete this.acks[t.id],r.withError&&t.data.unshift(null),r.apply(this,t.data))}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Le.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let s=0;s<r.length;s++)if(t===r[s])return r.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const r=this._anyOutgoingListeners;for(let s=0;s<r.length;s++)if(t===r[s])return r.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const r=this._anyOutgoingListeners.slice();for(const s of r)s.apply(this,t.data)}}}function Ts(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ts.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-r:e+r}return Math.min(e,this.max)|0};Ts.prototype.reset=function(){this.attempts=0};Ts.prototype.setMin=function(e){this.ms=e};Ts.prototype.setMax=function(e){this.max=e};Ts.prototype.setJitter=function(e){this.jitter=e};class Zd extends st{constructor(t,r){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,Jl(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((s=r.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Ts({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const a=r.parser||PN;this.encoder=new a.Encoder,this.decoder=new a.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new vN(this.uri,this.opts);const r=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const a=gn(r,"open",function(){s.onopen(),t&&t()}),l=d=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",d),t?t(d):this.maybeReconnectOnOpen()},u=gn(r,"error",l);if(this._timeout!==!1){const d=this._timeout,h=this.setTimeoutFn(()=>{a(),l(new Error("timeout")),r.close()},d);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(a),this.subs.push(u),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(gn(t,"ping",this.onping.bind(this)),gn(t,"data",this.ondata.bind(this)),gn(t,"error",this.onerror.bind(this)),gn(t,"close",this.onclose.bind(this)),gn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(r){this.onclose("parse error",r)}}ondecoded(t){Xl(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new Lx(this,t,r),this.nsps[t]=s),s}_destroy(t){const r=Object.keys(this.nsps);for(const s of r)if(this.nsps[s].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let s=0;s<r.length;s++)this.engine.write(r[s],t.options)}
235cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,r){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(a=>{a?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",a)):t.onreconnect()}))},r);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const ki={};function Tl(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=xN(e,t.path||"/socket.io"),s=r.source,a=r.id,l=r.path,u=ki[a]&&l in ki[a].nsps,d=t.forceNew||t["force new connection"]||t.multiplex===!1||u;let h;return d?h=new Zd(s,t):(ki[a]||(ki[a]=new Zd(s,t)),h=ki[a]),r.query&&!t.query&&(t.query=r.queryKey),h.socket(r.path,t)}Object.assign(Tl,{Manager:Zd,Socket:Lx,io:Tl,connect:Tl});const AN=250;function iy(e,t){var r;const s=(r=e.token)!==null&&r!==void 0?r:bo(),a={app_id:e.appId,token:s};s||(a.anonymous_id=jf());const l=Tl(e.serverUrl,{path:e.mountPath,transports:e.transports,query:a});return l.on("connect",async()=>{var u;return console.log("connect",l.id),(u=t.connect)===null||u===void 0?void 0:u.call(t)}),l.on("update_model",async u=>{var d;return(d=t.update_model)===null||d===void 0?void 0:d.call(t,u)}),l.on("error",async u=>{var d;return(d=t.error)===null||d===void 0?void 0:d.call(t,u)}),l.on("connect_error",async u=>{var d;return console.error("connect_error",u),(d=t.error)===null||d===void 0?void 0:d.call(t,u)}),l}function jN({config:e}){let t={...e};const r={},s={},a={connect:async()=>{const k=[];Object.keys(r).forEach(N=>{const C=E(N);C.length!==0&&(g(N),C.forEach(({connect:T})=>{const F=async()=>T==null?void 0:T();k.push(F())}))}),await Promise.all(k)},update_model:async k=>{const C=E(k.room).map(T=>{var F;return(F=T.update_model)===null||F===void 0?void 0:F.call(T,k)});await Promise.all(C)},error:async k=>{console.error("error",k);const N=Object.values(r).flat().map(C=>{var T;return(T=C.error)===null||T===void 0?void 0:T.call(C,k)});await Promise.all(N)}};let l=iy(e,a);function u(){d()}function d(){P(),l&&l.disconnect()}function h(k){u(),t={...t,...k},l=iy(t,a)}function g(k){l.emit("join",k)}function y(k){l.emit("leave",k)}async function v(k,N){var C;const T=JSON.stringify(N);return(C=a.update_model)===null||C===void 0?void 0:C.call(a,{room:k,data:T})}function E(k){var N;return(N=r[k])!==null&&N!==void 0?N:[]}function _(k){const N=s[k];N&&(clearTimeout(N),delete s[k])}function P(){Object.keys(s).forEach(k=>{var N,C;clearTimeout(s[k]),delete s[k],((C=(N=r[k])===null||N===void 0?void 0:N.length)!==null&&C!==void 0?C:0)===0&&delete r[k]})}function b(k){_(k),s[k]=setTimeout(()=>{var N,C;delete s[k],!(((C=(N=r[k])===null||N===void 0?void 0:N.length)!==null&&C!==void 0?C:0)>0)&&(y(k),delete r[k])},AN)}return{socket:l,subscribeToRoom:(k,N)=>{r[k]?_(k):(g(k),r[k]=[]),r[k].push(N);let C=!1;return()=>{var T,F;C||(C=!0,r[k]=(F=(T=r[k])===null||T===void 0?void 0:T.filter(z=>z!==N))!==null&&F!==void 0?F:[],r[k].length===0&&b(k))}},updateConfig:h,updateModel:v,disconnect:d}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(` 236 PartySocket requires a global 'EventTarget' class to be available! 237 You can polyfill this global by adding this to your code before any partysocket imports: 238 239 \`\`\` 240 import 'partysocket/event-target-polyfill'; 241 \`\`\` 242 Please file an issue at https://github.com/partykit/partykit if you're still having trouble. 243`);
vendor: 5,074 bytes, line 243
243var Ix=class extends Event{constructor(t,r){super("error",r);Me(this,"message");Me(this,"error");this.message=t.message,this.error=t}},Dx=class extends Event{constructor(t=1e3,r="",s){super("close",s);Me(this,"code");Me(this,"reason");Me(this,"wasClean",!0);this.code=t,this.reason=r}},gd={Event,ErrorEvent:Ix,CloseEvent:Dx};function LN(e,t){if(!e)throw new Error(t)}function IN(e){return new e.constructor(e.type,e)}function DN(e){return"data"in e?new MessageEvent(e.type,e):"code"in e||"reason"in e?new Dx(e.code||1999,e.reason||"unknown reason",e):"error"in e?new Ix(e.error,e):new Event(e.type,e)}var Ky,MN=typeof process<"u"&&typeof((Ky=process.versions)==null?void 0:Ky.node)<"u"&&typeof document>"u",pl=MN?DN:IN,oo={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},ay=!1,FN=class so extends EventTarget{constructor(r,s,a={}){super();Me(this,"_ws");Me(this,"_retryCount",-1);Me(this,"_uptimeTimeout");Me(this,"_connectTimeout");Me(this,"_shouldReconnect",!0);Me(this,"_connectLock",!1);Me(this,"_binaryType","blob");Me(this,"_closeCalled",!1);Me(this,"_messageQueue",[]);Me(this,"_url");Me(this,"_protocols");Me(this,"_options");Me(this,"onclose",null);Me(this,"onerror",null);Me(this,"onmessage",null);Me(this,"onopen",null);Me(this,"_handleOpen",r=>{this._debug("open event");const{minUptime:s=oo.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),s),LN(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(a=>{var l;return(l=this._ws)==null?void 0:l.send(a)}),this._messageQueue=[],this.onopen&&this.onopen(r),this.dispatchEvent(pl(r))});Me(this,"_handleMessage",r=>{this._debug("message event"),this.onmessage&&this.onmessage(r),this.dispatchEvent(pl(r))});Me(this,"_handleError",r=>{this._debug("error event",r.message),this._disconnect(void 0,r.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(r),this._debug("exec error listeners"),this.dispatchEvent(pl(r)),this._connect()});Me(this,"_handleClose",r=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(r),this.dispatchEvent(pl(r))});this._url=r,this._protocols=s,this._options=a,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return so.CONNECTING}get OPEN(){return so.OPEN}get CLOSING(){return so.CLOSING}get CLOSED(){return so.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(r){this._binaryType=r,this._ws&&(this._ws.binaryType=r)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((s,a)=>(typeof a=="string"?s+=a.length:a instanceof Blob?s+=a.size:s+=a.byteLength,s),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?so.CLOSED:so.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(r=1e3,s){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(r,s)}reconnect(r,s){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(r,s),this._connect())}send(r){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",r),this._ws.send(r);else{const{maxEnqueuedMessages:s=oo.maxEnqueuedMessages}=this._options;this._messageQueue.length<s&&(this._debug("enqueue",r),this._messageQueue.push(r))}}_debug(...r){this._options.debug&&console.log.apply(console,["RWS>",...r])}_getNextDelay(){const{reconnectionDelayGrowFactor:r=oo.reconnectionDelayGrowFactor,minReconnectionDelay:s=oo.minReconnectionDelay,maxReconnectionDelay:a=oo.maxReconnectionDelay}=this._options;let l=0;return this._retryCount>0&&(l=s*Math.pow(r,this._retryCount-1),l>a&&(l=a)),this._debug("next delay",l),l}_wait(){return new Promise(r=>{setTimeout(r,this._getNextDelay())})}_getNextProtocols(r){if(!r)return Promise.resolve(null);if(typeof r=="string"||Array.isArray(r))return Promise.resolve(r);if(typeof r=="function"){const s=r();if(!s)return Promise.resolve(null);if(typeof s=="string"||Array.isArray(s))return Promise.resolve(s);if(s.then)return s}throw Error("Invalid protocols")}_getNextUrl(r){if(typeof r=="string")return Promise.resolve(r);if(typeof r=="function"){const s=r();if(typeof s=="string")return Promise.resolve(s);if(s.then)return s}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
243const{maxRetries:r=oo.maxRetries,connectionTimeout:s=oo.connectionTimeout}=this._options;if(this._retryCount>=r){this._debug("max retries reached",this._retryCount,">=",r);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([a,l])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!ay&&(console.error(`â¼ï¸ No WebSocket implementation available. You should define options.WebSocket. 244 245For example, if you're using node.js, run \`npm install ws\`, and then in your code: 246 247import PartySocket from 'partysocket'; 248import WS from 'ws'; 249 250const partysocket = new PartySocket({ 251 host: "127.0.0.1:1999", 252 room: "test-room", 253 WebSocket: WS 254}); 255 256`),ay=!0);const u=this._options.WebSocket||WebSocket;this._debug("connect",{url:a,protocols:l}),this._ws=l?new u(a,l):new u(a),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),s)}).catch(a=>{this._connectLock=!1,this._handleError(new gd.ErrorEvent(Error(a.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new gd.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(r=1e3,s){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(r,s),this._handleClose(new gd.CloseEvent(r,s,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*! 257 * Reconnecting WebSocket 258 * by Pedro Ladaria <[email protected]> 259 * https://github.com/pladaria/reconnecting-websocket 260 * License MIT 261 */var zN=e=>e[1]!==null&&e[1]!==void 0;function UN(){if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();let e=new Date().getTime(),t=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){let s=Math.random()*16;return e>0?(s=(e+s)%16|0,e=Math.floor(e/16)):(s=(t+s)%16|0,t=Math.floor(t/16)),(r==="x"?s:s&3|8).toString(16)})}function Mx(e,t,r={}){const{host:s,path:a,protocol:l,room:u,party:d,query:h}=e;let g=s.replace(/^(http|https|ws|wss):\/\//,"");if(g.endsWith("/")&&(g=g.slice(0,-1)),a&&a.startsWith("/"))throw new Error("path must not start with a slash");const y=d??"main",v=a?`/${a}`:"",E=l||(g.startsWith("localhost:")||g.startsWith("127.0.0.1:")||g.startsWith("192.168.")||g.startsWith("10.")||g.startsWith("172.")&&g.split(".")[1]>="16"&&g.split(".")[1]<="31"||g.startsWith("[::ffff:7f00:1]:")?t:t+"s"),_=`${E}://${g}/${d?`parties/${d}`:"party"}/${u}${v}`,P=(S={})=>`${_}?${new URLSearchParams([...Object.entries(r),...Object.entries(S).filter(zN)])}`,b=typeof h=="function"?async()=>P(await h()):P(h);return{host:g,path:v,room:u,name:y,protocol:E,partyUrl:_,urlProvider:b}}var BN=class extends FN{constructor(t){const r=ly(t);super(r.urlProvider,r.protocols,r.socketOptions);Me(this,"_pk");Me(this,"_pkurl");Me(this,"name");Me(this,"room");Me(this,"host");Me(this,"path");this.partySocketOptions=t,this.setWSProperties(r)}updateProperties(t){const r=ly({...t,host:t.host??this.host,room:t.room??this.room,path:t.path??this.path});this._url=r.urlProvider,this._protocols=r.protocols,this._options=r.socketOptions,this.setWSProperties(r)}setWSProperties(t){const{_pk:r,_pkurl:s,name:a,room:l,host:u,path:d}=t;this._pk=r,this._pkurl=s,this.name=a,this.room=l,this.host=u,this.path=d}reconnect(t,r){if(!this.room||!this.host)throw new Error("The room and host must be set before connecting, use `updateProperties` method to set them or pass them to the constructor.");super.reconnect(t,r)}get id(){return this._pk}get roomUrl(){return this._pkurl}static async fetch(t,r){const s=Mx(t,"http"),a=typeof s.urlProvider=="string"?s.urlProvider:await s.urlProvider();return(t.fetch??fetch)(a,r)}};function ly(e){const{id:t,host:r,path:s,party:a,room:l,protocol:u,query:d,protocols:h,...g}=e,y=t||UN(),v=Mx(e,"ws",{_pk:y});return{_pk:y,_pkurl:v.partyUrl,name:v.name,room:v.room,host:v.host,path:v.path,protocols:h,socketOptions:g,urlProvider:v.urlProvider}}const $N=1e3,WN=3e3;class VN{constructor(t,r,s,a,l){var u;this.onClose=l,this.listeners=new Set,this.heartbeat=null,this.id=(u=a==null?void 0:a.id)!==null&&u!==void 0?u:crypto.randomUUID();const d=new BN({host:s.host,party:t,room:r,id:this.id,query:()=>{const y=s.getAuthToken();return{app_id:s.appId,handler:t,...y?{token:y}:{},...s.functionsVersion?{fv:s.functionsVersion}:{}}}});this.ws=d;let h=Date.now();const g=()=>{h=Date.now()};d.addEventListener("open",g),d.addEventListener("message",y=>{g();let v;try{v=JSON.parse(y.data)}catch{return}if((v&&typeof v=="object"?v.type:void 0)!=="__pong")for(const _ of this.listeners)_(v)}),this.heartbeat=setInterval(()=>{if(Date.now()-h>WN){g(),d.reconnect();return}try{d.send(JSON.stringify({type:"__ping"}))}catch{}},$N)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.ws.send(JSON.stringify(t))}close(){this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose()}}function HN(e,t,r,s){let a=null;return{connect(l){if(a)return a;const u=new VN(e,t,r,l,()=>{s.delete(u),a===u&&(a=null)});return a=u,s.add(u),u}}}function qN(e,t){return e&&!e.startsWith("/")?e:t??e}function QN(e){const t=new Set;return{module:new Proxy({},{get(s,a){if(!(typeof a!="string"||a==="then"))return l=>HN(a,l,e,t)}}),closeAll:()=>{for(const s of[...t])s.close()}}}function KN(e){var t,r,s;const{serverUrl:a="https://base44.app",appId:l,token:u,serviceToken:d,requiresAuth:h=!1,appBaseUrl:g,options:y,functionsVersion:v,headers:E}=e,_=typeof g=="string"?g:"",P={serverUrl:a,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:u};let b=null;const S=()=>(b||(b=jN({config:P})),b),k={...E,"X-App-Id":String(l)},N=v?{...k,"Base44-Functions-Version":v}:k,C=_i({baseURL:`${a}/api`,headers:k,token:u,onError:y==null?void 0:y.onError}),T=_i({baseURL:`${a}/api`,headers:N,token:u,interceptResponses:!1,onError:y==null?void 0:y.onError}),F={...k,...u?{"on-behalf-of":`Bearer ${u}`}:{}},z=_i({baseURL:`${a}/api`,headers:F,token:d,onError:y==null?void 0:y.onError}),V=_i({baseURL:`${a}/api`,headers:N,token:d,interceptResponses:!1}),B=j2(C,T,l,{appBaseUrl:_});if(typeof window<"u"){const oe=u||bo();oe&&B.setToken(oe)}const J=QN({appId:l,host:qN(a,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:v,getAuthToken:()=>u||bo()}),ee={entities:Gg({axios:C,appId:l,getSocket:S}),integrations:Yg(C,l),connectors:D2(C,l),auth:B,functions:Xg(T,l,{getAuthHeaders:()=>{const oe={},ie=u||bo();return ie&&(oe.Authorization=`Bearer ${ie}`),oe},baseURL:(r=T.defaults)===null||r===void 0?void 0:r.baseURL}
261),agents:Jg({axios:C,getSocket:S,appId:l,serverUrl:a,token:u}),aiGateway:Zg({serverUrl:a,token:u,appId:l}),appLogs:ey(C,l),users:F2(C,l),analytics:x2({axiosClient:C,serverUrl:a,appId:l,userAuthModule:B}),actors:J.module,cleanup:()=>{ee.analytics.cleanup(),J.closeAll(),b&&b.disconnect()}},le={entities:Gg({axios:z,appId:l,getSocket:S}),integrations:Yg(z,l),sso:L2(z,l),connectors:I2(z,l),functions:Xg(V,l,{getAuthHeaders:()=>{const oe={};return d&&(oe.Authorization=`Bearer ${d}`),oe},baseURL:(s=V.defaults)===null||s===void 0?void 0:s.baseURL}),agents:Jg({axios:z,getSocket:S,appId:l,serverUrl:a,token:u}),aiGateway:Zg({serverUrl:a,token:d,appId:l}),appLogs:ey(z,l),cleanup:()=>{b&&b.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await ee.auth.isAuthenticated()||ee.auth.redirectToLogin(window.location.href)}catch(oe){console.error("Authentication check failed:",oe),ee.auth.redirectToLogin(window.location.href)}},0),{...ee,setToken(oe){ee.auth.setToken(oe),b&&b.updateConfig({token:oe}),P.token=oe},getConfig(){return{serverUrl:a,appId:l,requiresAuth:h}},get asServiceRole(){if(!d)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return le}}}const Fx=typeof window>"u",GN=Fx?{localStorage:new Map}:window,Pi=GN.localStorage,YN=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),os=(e,{defaultValue:t=void 0,removeFromUrl:r=!1}={})=>{if(Fx)return t;const s=`base44_${YN(e)}`,a=new URLSearchParams(window.location.search),l=a.get(e);if(r){a.delete(e);const d=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}if(l)return Pi.setItem(s,l),l;if(t)return Pi.setItem(s,t),t;const u=Pi.getItem(s);return u||null},XN=()=>(os("clear_access_token")==="true"&&(Pi.removeItem("base44_access_token"),Pi.removeItem("token")),{appId:os("app_id",{defaultValue:"6a65a748247e0f7ae36aa609"}),token:os("access_token",{removeFromUrl:!0}),fromUrl:os("from_url",{defaultValue:window.location.href}),functionsVersion:os("functions_version",{defaultValue:"prod"}),appBaseUrl:os("app_base_url",{defaultValue:void 0})}),Ni={...XN()},{appId:JN,token:ZN,functionsVersion:eR,appBaseUrl:tR}=Ni,co=KN({appId:JN,token:ZN,functionsVersion:eR,serverUrl:"",requiresAuth:!1,appBaseUrl:tR});function nR({}){var a;const t=Ao().pathname.substring(1),{data:r,isFetched:s}=tE({queryKey:["user"],queryFn:async()=>{try{return{user:await co.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return p.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:p.jsx("div",{className:"max-w-md w-full",children:p.jsxs("div",{className:"text-center space-y-6",children:[p.jsxs("div",{className:"space-y-2",children:[p.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),p.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),p.jsxs("div",{className:"space-y-3",children:[p.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),p.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",p.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),s&&r.isAuthenticated&&((a=r.user)==null?void 0:a.role)==="admin"&&p.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:p.jsxs("div",{className:"flex items-start space-x-3",children:[p.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:p.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),p.jsxs("div",{className:"text-left space-y-1",children:[p.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),p.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."})]})]})}),p.jsx("div",{className:"pt-6",children:p.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:[p.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p.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 zx=w.createContext(),rR=({children:e})=>{const[t,r]=w.useState(null),[s,a]=w.useState(!1),[l,u]=w.useState(!0),[d,h]=w.useState(!0),[g,y]=w.useState(null),[v,E]=w.useState(!1),[_,P]=w.useState(null);w.useEffect(()=>{b()},[]);const b=async()=>{var C,T;try{h(!0),y(null);const F=_i({baseURL:"/api/apps/public",headers:{"X-App-Id":Ni.appId},token:Ni.token,interceptResponses:!0});try{const z=await F.get(`/prod/public-settings/by-id/${Ni.appId}`);P(z),Ni.token?await S():(u(!1),a(!1),E(!0)),h(!1)}catch(z){if(console.error("App state check failed:",z),z.status===403&&((T=(C=z.data)==null?void 0:C.extra_data)!=null&&T.reason)){const V=z.data.extra_data.reason;y(V==="auth_required"?{type:"auth_required",message:"Authentication required"}:V==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:V,message:z.message})}else y({type:"unknown",message:z.message||"Failed to load app"});h(!1),u(!1)}}catch(F){console.error("Unexpected error:",F),y({type:"unknown",message:F.message||"An unexpected error occurred"}),h(!1),u(!1)}},S=async()=>{try{u(!0);const C=await co.auth.me();r(C),a(!0),u(!1),E(!0)}catch(C){console.error("User auth check failed:",C),u(!1),a(!1),E(!0),(C.status===401||C.status===403)&&y({type:"auth_required",message:"Authentication required"})}},k=(C=!0)=>{r(null),a(!1),C?co.auth.logout(window.location.href):co.auth.logout()},N=()=>{co.auth.redirectToLogin(window.location.href)};return p.jsx(zx.Provider,{value:{user:t,isAuthenticated:s,isLoadingAuth:l,isLoadingPublicSettings:d,authError:g,a
261ppPublicSettings:_,authChecked:v,logout:k,navigateToLogin:N,checkUserAuth:S,checkAppState:b},children:e})},oR=()=>{const e=w.useContext(zx);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},sR=()=>p.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:p.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:p.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:p.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"})})}),p.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),p.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."}),p.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[p.jsx("p",{children:"If you believe this is an error, you can:"}),p.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[p.jsx("li",{children:"Verify you are logged in with the correct account"}),p.jsx("li",{children:"Contact the app administrator for access"}),p.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),iR=e=>{const t=e.slice(1);try{return decodeURIComponent(t)}catch{return t}};function aR(){const{pathname:e,hash:t}=Ao(),r=jE();return w.useEffect(()=>{if(r!=="POP"){if(t){const s=iR(t),a=window.setTimeout(()=>{var l;(l=document.getElementById(s))==null||l.scrollIntoView({behavior:"smooth"})},50);return()=>window.clearTimeout(a)}window.scrollTo({top:0,left:0,behavior:"instant"})}},[e,t,r]),null}function lR(e){const[t,r]=w.useState(null);return w.useLayoutEffect(()=>{const s=e.current;if(!s)return;const a=s.getBoundingClientRect();r({width:a.width,height:a.height});const l=new ResizeObserver(([u])=>{const{width:d,height:h}=u.contentRect;r({width:d,height:h})});return l.observe(s),()=>l.disconnect()},[e]),t}const ml="https://static.wixstatic.com/media/12d367_4f26ccd17f8f4e3a8958306ea08c2332~mv2.png",cR=["media.base44.com","static.wixstatic.com"],uR=1024,dR=[1,2,3],fR=6e3;function hR(e){try{const t=new URL(e);if(!cR.includes(t.hostname))return null;const r=t.pathname.indexOf("/v1/"),s=r===-1?t.pathname:t.pathname.slice(0,r),a=s.split("/").pop();return!a||/\.svg$/i.test(a)?null:{baseUrl:`${t.origin}${s}`,filename:a}}catch{return null}}const cy=e=>Math.min(Math.max(Math.round(e),1),fR),uy=e=>Math.min(1,Math.max(0,e));function ef({baseUrl:e,filename:t},{width:r,height:s,crop:a,focalPoint:l,quality:u}){const d=[`w_${cy(r)}`,`h_${cy(s||r)}`];a&&d.push(l?`fp_${uy(l.x).toFixed(2)}_${uy(l.y).toFixed(2)}`:"al_c"),d.push(`q_${u}`,"usm_0.66_1.00_0.01","enc_webp","quality_auto");const h=/\.gif$/i.test(t)?t:t.replace(/\.[a-z0-9]+$/i,"")+".webp";return`${e}/v1/${a?"fill":"fit"}/${d.join(",")}/${h}`}function pR(e,t){return dR.map(r=>`${ef(e,{...t,width:t.width*r,height:t.height?t.height*r:void 0})} ${r}x`).join(", ")}const Ux=w.forwardRef(({aspectRatio:e,className:t,style:r,children:s},a)=>p.jsx("span",{ref:a,className:ut("inline-block relative",t),style:{aspectRatio:e,...r},children:s}));Ux.displayName="ImageWrapper";const Bx=w.forwardRef(({parsed:e,fittingType:t,focalPoint:r,quality:s,className:a,style:l,aspectRatio:u,onLoad:d,...h},g)=>{const y=w.useRef(null),v=w.useRef(null),E=lR(y),[_,P]=w.useState(!1);w.useImperativeHandle(g,()=>v.current),w.useEffect(()=>{P(!1)},[e.baseUrl]);const b=t!=="fit",S=E&&{width:E.width||uR,height:E.height?E.height:void 0,crop:b,focalPoint:b?r:void 0,quality:s};return p.jsxs(Ux,{ref:y,aspectRatio:u,className:a,style:l,children:[S&&!_&&p.jsx("img",{src:ef(e,{...S,width:20,height:S.height?Math.max(1,Math.round(20*S.height/S.width)):void 0,quality:20}),alt:"","aria-hidden":"true",className:"w-full h-full inset-0 absolute",style:{objectFit:t==="fit"?"contain":"cover",filter:"blur(10px)",transform:"scale(1.1)"}}),S&&p.jsx("img",{ref:v,src:ef(e,S),srcSet:pR(e,S),loading:"lazy",className:ut("w-full h-full inset-0 absolute",t==="fit"?"object-contain":"object-cover"),onLoad:k=>{P(!0),d==null||d(k)},...h})]})});Bx.displayName="ResponsiveImage";const Fr=w.forwardRef(({src:e,fittingType:t="fill",originWidth:r,originHeight:s,focalPointX:a,focalPointY:l,quality:u=90,...d},h)=>{const[g,y]=w.useState(e);w.useEffect(()=>{y(e)},[e]);const v={...d,onError:()=>y(ml)};if(!e)return p.jsx("img",{ref:h,src:ml,...v,"data-empty-image":!0});const E=g===ml?null:hR(g);if(!E){const b=g===ml;return p.jsx("img",{ref:h,src:g,...v,"data-error-image":b||void 0})}const _=typeof a=="number"&&typeof l=="number"?{x:a,y:l}:void 0,P=r&&s?`${r} / ${s}`:void 0;return p.jsx(Bx,{ref:h,parsed:E,fittingType:t,focalPoint:_,quality:u,aspectRatio:P,...v})});Fr.displayName="Image";const mR="https://base44.app/api/apps/6a65a748247e0f7ae36aa609/files/mp/public/6a65a748247e0f7ae36aa609/b09031d01_logo.png",gR=[{label:"Home",to:"/"}
261,{label:"How It Works",to:"/how-it-works"},{label:"About",to:"/about"},{label:"Contact",to:"/contact"}];function Ps(){const{pathname:e}=Ao();return p.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-md border-b border-border/60",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-20 flex items-center justify-between",children:[p.jsx(An,{to:"/",className:"flex items-center",children:p.jsx(Fr,{src:mR,alt:"Decentral Life",className:"h-12 w-auto",fittingType:"fit"})}),p.jsxs("nav",{className:"flex items-center gap-8",children:[gR.map(t=>{const r=e===t.to;return p.jsx(An,{to:t.to,className:`text-sm font-bold tracking-wide transition-colors hover:text-primary ${r?"text-primary":"text-foreground"}`,children:t.label},t.to)}),p.jsx("a",{href:"https://www.decentral-life.com/",className:"text-sm font-bold tracking-wide text-muted-foreground transition-colors hover:text-primary",children:"Decentral-Life.com"})]})]})})}function yR(){return p.jsxs("section",{id:"top",className:"relative pt-36 pb-24 bg-background overflow-hidden",children:[p.jsx("div",{className:"absolute inset-0 w-full h-full",children:p.jsx(Fr,{src:"https://media.base44.com/images/public/6a65a748247e0f7ae36aa609/4c26e5f98_sthwzSX2HG7W4LQ3mz8-F.png",alt:"",className:"w-full h-full"})}),p.jsx("div",{className:"absolute inset-0 bg-background/70 pointer-events-none"}),p.jsx("div",{className:"absolute top-1/4 right-1/4 w-96 h-96 bg-primary/5 rounded-full blur-[100px] pointer-events-none"}),p.jsx("div",{className:"absolute bottom-0 left-10 w-[500px] h-[500px] bg-accent/40 rounded-full blur-[120px] pointer-events-none"}),p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10 grid lg:grid-cols-2 gap-12 items-center",children:[p.jsxs("div",{className:"text-center lg:text-left",children:[p.jsx("h1",{className:"text-4xl sm:text-6xl lg:text-6xl font-extrabold font-heading leading-[1.1] tracking-tight mb-8 text-foreground",children:"Transforming Traditional Securities Into Digital Assets"}),p.jsx("p",{className:"text-lg sm:text-xl text-muted-foreground leading-relaxed font-medium max-w-4xl mx-auto lg:mx-0",children:"Decentral Life and DecentralizedFi Holdings bridges' the gap between traditional equity markets and the digital economy, enabling publicly traded companies to tokenize their securities while maintaining full regulatory compliance. We specialize in converting existing stocks from OTC Markets, NASDAQ, and NYSE into SEC-registered security tokens that can trade on both decentralized and traditional regulated exchanges."})]}),p.jsx("div",{className:"relative w-full overflow-hidden rounded-2xl shadow-[0_20px_40px_-15px_rgba(0,0,0,0.5)] border border-border/60 bg-card",style:{aspectRatio:"1920 / 1080"},children:p.jsx("iframe",{src:"https://share.synthesia.io/embeds/videos/9c8caf53-1bd6-4cf3-bd77-b693f6021423",loading:"lazy",title:"Synthesia video player - Decentral Life is Unlocking the Future: Tokenizing Traditional Securities and Real World Assets",allowFullScreen:!0,allow:"encrypted-media; fullscreen; microphone; screen-wake-lock;",className:"absolute inset-0 w-full h-full border-0 m-0 p-0 overflow-hidden"})})]})]})}function vR(){return p.jsx("section",{className:"py-16 bg-secondary/50",children:p.jsx("div",{className:"max-w-5xl mx-auto px-6",children:p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 md:p-10 flex flex-col md:flex-row gap-6 items-start",children:[p.jsx("div",{className:"w-14 h-14 shrink-0 rounded-xl bg-primary/10 flex items-center justify-center",children:p.jsx(Ql,{className:"w-7 h-7 text-primary"})}),p.jsxs("div",{children:[p.jsx("h2",{className:"text-2xl font-extrabold font-heading text-foreground mb-3 tracking-tight",children:"Our Role: Guidance, Not Offerings"}),p.jsxs("p",{className:"text-muted-foreground leading-relaxed font-medium",children:["Decentral Life, Inc. and DecentralizedFi Holdings are ",p.jsx("span",{className:"font-bold text-foreground",children:"not"})," issuers of tokens or securities and do not conduct, sponsor, or sell token or securities offerings of any kind. We do not raise capital on behalf of clients. Instead, we serve as an advisory and infrastru
261cture partner â guiding companies step-by-step through the regulatory, technical, and operational process of structuring and executing their own compliant token or securities offering for their own business."]})]})]})})})}const xR="https://base44.app/api/apps/6a65a748247e0f7ae36aa609/files/mp/public/6a65a748247e0f7ae36aa609/ac70dfbb7_tn84oDJLwuvAmaXAculA4.mp4";function wR(){return p.jsx("section",{className:"py-24 bg-muted relative overflow-hidden",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-6 relative z-10",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground tracking-tight text-center mb-6",children:"Decentral Life is Unlocking the Future: Tokenizing Traditional Securities and Real World Assets"}),p.jsx("div",{className:"h-1 w-20 bg-primary mx-auto rounded-full mb-12"}),p.jsx("div",{className:"rounded-2xl overflow-hidden shadow-[0_20px_40px_-15px_rgba(0,0,0,0.15)] border border-border/60 bg-card",children:p.jsx("video",{src:xR,controls:!0,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"w-full h-auto","aria-label":"Decentral Life is Unlocking the Future: Tokenizing Traditional Securities and Real World Assets"})})]})})}function Jn({badge:e,title:t,subtitle:r}){return p.jsxs("div",{className:"text-center mb-16",children:[e&&p.jsx("div",{className:"inline-flex items-center rounded-md px-3 py-1 text-xs mb-4 bg-primary/10 text-primary uppercase tracking-widest font-bold",children:e}),p.jsx("h2",{className:"text-4xl md:text-5xl font-extrabold font-heading text-foreground mb-6 tracking-tight",children:t}),p.jsx("div",{className:"h-1 w-20 bg-primary mx-auto rounded-full mb-6"}),r&&p.jsx("p",{className:"text-muted-foreground max-w-3xl mx-auto text-lg md:text-xl font-medium",children:r})]})}const bR=[{icon:Q1,title:"New Security Registration",description:"Register tokenized shares as entirely new securities with the SEC, enabling trading on regulated digital exchanges like NASDAQ or the New Texas Securities Exchange. This approach provides maximum flexibility for innovative capital structures while maintaining institutional-grade compliance.",features:["Full SEC registration process management","Exchange listing coordination","Smart contract development and auditing","Regulatory compliance framework"]},{icon:rv,title:"Dual Listing Strategy",description:"Maintain your existing traditional stock listing while simultaneously offering tokenized versions of your securities. This hybrid approach allows you to serve both traditional and digital-native investors without disrupting existing market operations.",features:["Parallel listing coordination","Cross-platform liquidity management","Investor communication strategies","Market maker relationships"]},{icon:X1,title:"Derivative Token Structure",description:"Create tokenized derivatives that track your existing publicly traded stock, offering exposure to your equity without modifying your primary listing. This structure provides the benefits of tokenization while minimizing regulatory complexity and operational disruption.",features:["Derivative structuring and compliance","Price oracle implementation","Settlement mechanism design","Risk management frameworks"]}];function SR(){return p.jsx("section",{className:"py-24 bg-background relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Three Pathways to Tokenization",subtitle:"Whether you're seeking to innovate your capital structure, expand your investor base, or enhance liquidity, Decentral Life offers flexible tokenization strategies tailored to your corporate objectives and regulatory requirements."}),p.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:bR.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-8 hover:-translate-y-2 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] hover:border-primary/30 transition-all duration-500 group relative overflow-hidden h-full",children:[p.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/5 rounded-bl-full translate-x-16 -translate-y-16 group-hover:bg-primary/10 transition-colors duration-500"}),p.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-primary/10 to-accent rounded-xl flex items-center justify-center text-primary mb-6 group-hover:scale-110 transition-transform duration-500 shadow-inner",children:p.jsx(e.icon,{className:"w-8 h-8"})}),p.jsx("h3",{className:"text-xl font-bold font-heading text-foreground mb-3",children:e.title}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-6",children:e.description}),p.jsx("ul",{className:"space-y-3",children:e.features.map(t=>p.jsxs("li",{className:"flex items-start gap-3 text-foreground font-medium",children:[p.jsx(ev,{className:"w-5 h-5 text-primary shrink-0 mt-0.5"}),p.jsx("span",{children:t})]},t))})]},e.title))})]})})}const kR=[{icon:xS,title:"Operational Advantages",paragraphs:["Security tokenization fundamentally transforms how equity is issued, transferred, and managed. By leveraging blockchain technology, companies can dramatically reduce settlement times from T+2 or T+3 to near-instantaneous execution, eliminating counterparty risk and reducing operational costs associated with traditional clearing and settlement infrastru
261cture.","Smart contracts automate corporate actions including dividend distributions, voting rights management, and compliance enforcement. This automation reduces administrative overhead, minimizes human error, and provides unprecedented transparency to shareholders and regulators alike. The programmable nature of tokens enables sophisticated cap table management and complex ownership structures that would be prohibitively expensive using traditional methods."]},{icon:H1,title:"Market Expansion",paragraphs:["Tokenization opens your securities to a global pool of digital-native investors who prefer blockchain-based assets. This expanded investor base can improve liquidity, reduce volatility, and potentially increase valuations through access to previously unreachable capital sources.","Fractional ownership capabilities enable smaller investors to participate in your equity, democratizing access while maintaining regulatory compliance. Geographic barriers diminish as tokenized securities can trade 24/7 across jurisdictions, subject to appropriate regulatory frameworks. This continuous trading capability better serves international investors and responds to global market movements in real-time."]}];function ER(){return p.jsx("section",{className:"py-24 bg-muted relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Why Tokenize Your Securities?"}),p.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:kR.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-10 h-full",children:[p.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-primary/10 to-accent rounded-xl flex items-center justify-center text-primary mb-6 shadow-inner",children:p.jsx(e.icon,{className:"w-8 h-8"})}),p.jsx("h3",{className:"text-2xl font-bold font-heading text-foreground mb-5",children:e.title}),e.paragraphs.map((t,r)=>p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-4 last:mb-0",children:t},r))]},e.title))})]})})}const _R=[{number:"01",title:"Securities Law Analysis",description:"Comprehensive review of your existing securities structure, corporate governance documents, and regulatory obligations to determine optimal tokenization pathway."},{number:"02",title:"SEC Registration Strategy",description:"Preparation and filing of all required registration statements, including Form S-1 or Form F-1 for new issuances, or appropriate amendments for existing registrations."},{number:"03",title:"Exchange Coordination",description:"Liaison with regulated exchanges including NASDAQ, NYSE, or emerging digital securities exchanges to meet listing requirements and trading protocols."},{number:"04",title:"Smart Contract Compliance",description:"Development of compliant smart contracts with embedded regulatory controls including transfer restrictions, accredited investor verification, and automated reporting."},{number:"05",title:"Ongoing Regulatory Support",description:"Continuous monitoring of regulatory developments, periodic compliance reviews, and amendments to maintain good standing with regulators and exchanges."}];function CR(){return p.jsx("section",{className:"py-24 bg-background relative overflow-hidden",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Comprehensive Regulatory Compliance",subtitle:"Navigating the complex intersection of securities law and blockchain technology requires specialized expertise. Decentral Life manages every aspect of regulatory compliance, ensuring your tokenization initiative meets all SEC requirements and exchange regulations."}),p.jsx("div",{className:"space-y-6",children:_R.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-8 flex flex-col sm:flex-row gap-6 hover:border-primary/30 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] transition-all duration-500",children:[p.jsx("div",{className:"text-4xl font-extrabold font-heading text-primary/30 shrink-0 w-16",children:e.number}),p.jsxs("div",{children:[p.jsx("h3",{className:"text-xl font-bold font-heading text-foreground mb-2",children:e.title}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:e.description})]})]},e.number))})]})})}const NR=[{icon:Ql,title:"Multi-Layer Security",description:"Defense-in-depth architecture with encryption at rest and in transit, biometric authentication, and role-based access controls."},{icon:yS,title:"Audit Trail",description:"Immutable record of all transactions and corporate actions, providing complete transparency for regulatory reporting and shareholder inquiries."},{icon:hS,title:"24/7 Monitoring",description:"Round-the-clock security operations center with automated threat detection and incident response protocols."}];function RR(){return p.jsx("section",{className:"py-24 bg-muted relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Technical Infrastru
261cture Excellence"}),p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-10 mb-10",children:[p.jsx("h3",{className:"text-2xl font-bold font-heading text-foreground mb-5",children:"Enterprise-Grade Security"}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-4",children:"Our tokenization platform is built on institutional-quality infrastructure designed to meet the stringent security requirements of publicly traded companies and regulatory bodies. We employ multi-signature wallet architectures, hardware security modules, and comprehensive key management protocols to ensure the safety of tokenized assets."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-4",children:"Every smart contract undergoes rigorous third-party security audits by leading blockchain security firms. We implement formal verification processes to mathematically prove contract correctness and employ continuous monitoring systems to detect and respond to potential threats in real-time."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:"Our infrastructure supports multiple blockchain protocols, allowing you to choose the optimal network based on your specific requirements for transaction speed, cost, and ecosystem compatibility. We maintain redundant systems across geographically distributed data centers to ensure uninterrupted service availability."})]}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:NR.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-8 hover:-translate-y-2 hover:border-primary/30 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] transition-all duration-500",children:[p.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-primary/10 to-accent rounded-xl flex items-center justify-center text-primary mb-5 shadow-inner",children:p.jsx(e.icon,{className:"w-7 h-7"})}),p.jsx("h4",{className:"text-lg font-bold font-heading text-foreground mb-3",children:e.title}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:e.description})]},e.title))})]})})}const TR=[{icon:eS,title:"Traditional Exchanges",description:"List on established venues like NASDAQ or NYSE, combining the credibility and investor familiarity of traditional markets with the efficiency of tokenized securities.",video:"https://base44.app/api/apps/6a65a748247e0f7ae36aa609/files/mp/public/6a65a748247e0f7ae36aa609/6ac428c02_Npu22ei3DJOZALf49lc9k.mp4"},{icon:W1,title:"Digital Securities Exchanges",description:"Access specialized platforms designed specifically for security tokens, including the New Texas Securities Exchange and other SEC-regulated digital venues offering 24/7 trading.",video:"https://base44.app/api/apps/6a65a748247e0f7ae36aa609/files/mp/public/6a65a748247e0f7ae36aa609/f1bbb3238_0ABRyukGOrGdt8cEus-bA.mp4"},{icon:lS,title:"Decentralized Protocols",description:"Leverage compliant decentralized trading protocols that combine blockchain transparency with necessary regulatory controls and investor protections.",video:"https://media.base44.com/videos/public/6a65a748247e0f7ae36aa609/98507408c_Protocols_Card_Video.mp4"}];function PR(){return p.jsx("section",{className:"py-24 bg-background relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Market Access and Trading Venues",subtitle:"Decentral Life maintains relationships with both traditional regulated exchanges and emerging digital securities platforms, providing your tokenized securities with optimal market access and liquidity."}),p.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:TR.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl overflow-hidden hover:-translate-y-2 hover:border-primary/30 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] transition-all duration-500 h-full flex flex-col",children:[p.jsxs("div",{className:"p-8 flex-1",children:[p.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-primary/10 to-accent rounded-xl flex items-center justify-center text-primary mb-5 shadow-inner",children:p.jsx(e.icon,{className:"w-7 h-7"})}),p.jsx("h3",{className:"text-xl font-bold font-heading text-foreground mb-3",children:e.title}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:e.description})]}),e.video&&p.jsx("video",{src:e.video,autoPlay:!0,muted:!0,loop:!0,playsInl
261ine:!0,className:"w-full h-56 object-cover","aria-label":e.title})]},e.title))})]})})}const OR=[{number:1,title:"Discovery & Assessment",period:"Weeks 1-2:",description:"Comprehensive analysis of your current securities structure, corporate objectives, and regulatory status. We evaluate optimal tokenization strategy and develop preliminary project timeline and budget."},{number:2,title:"Legal & Regulatory Planning",period:"Weeks 3-6:",description:"Coordination with legal counsel to structure tokenization in compliance with securities laws. Preparation of registration statements, exchange applications, and disclosure documents required by regulators."},{number:3,title:"Technical Development",period:"Weeks 7-12:",description:"Smart contract development, security auditing, and integration with chosen blockchain protocol. Implementation of compliance controls, transfer restrictions, and corporate action automation."},{number:4,title:"Testing & Validation",period:"Weeks 13-16:",description:"Comprehensive testing of all technical systems, regulatory compliance verification, and user acceptance testing with key stakeholders and early participants."},{number:5,title:"Exchange Listing & Launch",period:"Weeks 17-20:",description:"Final regulatory approvals, exchange listing coordination, market maker onboarding, and public launch of tokenized securities with full market support."},{number:6,title:"Ongoing Support",period:"Post-Launch:",description:"Continuous technical support, regulatory compliance monitoring, investor relations assistance, and periodic system upgrades to maintain optimal performance."}];function AR(){return p.jsx("section",{className:"py-24 bg-muted relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Our Tokenization Process",subtitle:"From initial consultation through post-launch support, Decentral Life provides end-to-end service for your securities tokenization initiative. Our proven methodology ensures efficie
261nt execution while maintaining rigorous compliance standards."}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:OR.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-8 hover:-translate-y-2 hover:border-primary/30 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] transition-all duration-500",children:[p.jsx("div",{className:"w-12 h-12 rounded-full bg-primary text-primary-foreground flex items-center justify-center text-xl font-extrabold font-heading mb-5 shadow-[0_8px_30px_rgb(0,0,0,0.12)]",children:e.number}),p.jsx("h3",{className:"text-lg font-bold font-heading text-foreground mb-3",children:e.title}),p.jsxs("p",{className:"text-muted-foreground font-medium leading-relaxed",children:[p.jsx("strong",{className:"text-foreground",children:e.period})," ",e.description]})]},e.number))})]})})}const jR=[{value:"60%",label:"Cost Reduction",description:"Average decrease in securities administration expenses post-tokenization"},{value:"24/7",label:"Trading Access",description:"Continuous market access across global time zones"},{value:"T+0",label:"Settlement Time",description:"Instant settlement vs. traditional T+2 clearing"}];function LR(){return p.jsx("section",{className:"py-24 bg-background relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Cost Efficiency and ROI"}),p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-12",children:[p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-10",children:[p.jsx("h3",{className:"text-2xl font-bold font-heading text-foreground mb-5",children:"Significant Cost Reductions"}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-4",children:"Traditional securities administration involves substantial ongoing costs including transfer agent fees, proxy solicitation expenses, physical certificate management, and complex reconciliation processes. Tokenization eliminates many of these costs through automation and disintermediation."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-4",children:"Smart contracts automatically execute corporate actions, reducing or eliminating manual processing costs. Blockchain-based cap table management provides real-time accuracy without expensive reconciliation procedures. Settlement occurs instantly on-chain, eliminating clearinghouse fees and reducing counterparty risk management costs."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:"Companies typically realize 40-60% reduction in securities administration costs within the first year following tokenization, with additional savings accumulating as manual processes are further automated and streamlined."})]}),p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-10",children:[p.jsx("h3",{className:"text-2xl font-bold font-heading text-foreground mb-5",children:"Enhanced Liquidity Value"}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed mb-4",children:"Improved liquidity from 24/7 trading, fractional ownership, and expanded investor access often results in valuation premiums for tokenized securities. Studies of early security token offerings suggest liquidity improvements can drive 15-25% valuation increases."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:"Reduced friction in secondary trading encourages more active markets, tightening bid-ask spreads and improving price discovery. This enhanced liquidity particularly benefits mid-cap and smaller companies that historically suffered from thin trading volumes."})]})]}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:jR.map(e=>p.jsxs("div",{className:"bg-gradient-to-br from-primary to-primary/80 text-primary-foreground rounded-2xl p-8 text-center shadow-[0_20px_40px_-15px_rgba(0,0,0,0.2)]",children:[p.jsx("div",{className:"text-5xl font-extrabold font-heading mb-2",children:e.value}),p.jsx("div",{className:"text-lg font-bold mb-2",children:e.label}
261),p.jsx("p",{className:"text-primary-foreground/80 font-medium",children:e.description})]},e.label))})]})})}const IR=[{icon:iv,title:"Market Momentum",description:"Security token market projected to exceed $16 trillion by 2030 according to Boston Consulting Group research."},{icon:mS,title:"Regulatory Clarity",description:"Comprehensive frameworks established by SEC and state regulators provide clear compliance pathways."},{icon:Zy,title:"Institutional Adoption",description:"Major banks and asset managers actively building tokenization capabilities and investing in digital securities infrastructure."}];function DR(){return p.jsx("section",{className:"py-24 bg-muted relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{title:"Case for Action: The Future is Digital"}),p.jsx("blockquote",{className:"bg-card border-l-4 border-primary rounded-2xl p-10 mb-10 text-xl md:text-2xl font-heading font-semibold text-foreground leading-relaxed italic",children:'"The tokenization of securities represents the most significant innovation in capital markets infrastructure since the introduction of electronic trading. Companies that embrace this technology early will establish competitive advantages in capital access, operational efficiency, and investor relations."'}),p.jsxs("div",{className:"max-w-5xl mx-auto mb-14 space-y-4",children:[p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed text-lg",children:"Global financial institutions including Goldman Sachs, JPMorgan, and BlackRock are investing billions in blockchain-based securities infrastructure. Major stock exchanges worldwide are launching digital asset divisions and applying for licenses to trade security tokens. The World Economic Forum projects that 10% of global GDP will be stored on blockchain by 2027, with tokenized securities comprising a substantial portion of that value."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed text-lg",children:"Regulatory frameworks are maturing rapidly. The SEC has established clear guidelines for security token offerings, and several states have enacted progressive legislation supporting digital securities. International jurisdictions including Switzerland, Singapore, and the United Arab Emirates have created comprehensive regulatory frameworks specifically designed for tokenized assets."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed text-lg",children:"Forward-thinking companies recognize that tokenization is not merely a technical upgrade but a strategic imperative. Early adopters gain advantages in attracting digital-native investors, reducing operational costs, and positioning themselves as innovators in their industries. The question is no longer whether to tokenize, but when and how to execute most effectively."})]}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:IR.map(e=>p.jsxs("div",{className:"bg-card border border-border/60 rounded-2xl p-8 hover:-translate-y-2 hover:border-primary/30 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.1)] transition-all duration-500",children:[p.jsx("div",{className:"w-14 h-14 bg-gradient-to-br from-primary/10 to-accent rounded-xl flex items-center justify-center text-primary mb-5 shadow-inner",children:p.jsx(e.icon,{className:"w-7 h-7"})}),p.jsx("h3",{className:"text-lg font-bold font-heading text-foreground mb-3",children:e.title}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed",children:e.description})]},e.title))})]})})}const MR="https://base44.app/api/apps/6a65a748247e0f7ae36aa609/files/mp/public/6a65a748247e0f7ae36aa609/e82604815_hero.png";function FR(){return p.jsx("section",{className:"py-24 bg-background relative overflow-hidden",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[p.jsx(Jn,{badge:"Begin Your Tokenization Journey",title:"Schedule a Consultation"}),p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[p.jsxs("div",{children:[p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed text-lg mb-5",children:"Discover how Decentral Life can transform your publicly traded securities into efficie
261nt, compliant digital assets. Our team of securities law experts, blockchain engineers, and capital markets professionals will assess your specific situation and recommend the optimal tokenization strategy for your objectives."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed text-lg mb-5",children:"Initial consultations are confidential and include a preliminary assessment of your tokenization readiness, estimated timeline, and projected costs and benefits. We'll answer your questions about regulatory requirements, technical implementation, and market access strategies."}),p.jsx("p",{className:"text-muted-foreground font-medium leading-relaxed text-lg",children:"Contact us today to explore how tokenization can enhance your capital structure, expand your investor base, and position your company at the forefront of financial innovation."})]}),p.jsx("div",{className:"rounded-2xl overflow-hidden shadow-[0_20px_40px_-15px_rgba(0,0,0,0.15)] border border-border/60",children:p.jsx(Fr,{src:MR,alt:"Professional business consultation with financial advisors",className:"w-full h-full min-h-[320px]"})})]})]})})}const zR="https://base44.app/api/apps/6a65a748247e0f7ae36aa609/files/mp/public/6a65a748247e0f7ae36aa609/b09031d01_logo.png",UR=[{label:"Home",to:"/"},{label:"How It Works",to:"/how-it-works"},{label:"About",to:"/about"},{label:"MjInvest/MjLink",to:"/mjlink-mjinvest"},{label:"Contact",to:"/contact"},{label:"Safe Harbor & Disclaimer",to:"/safe-harbor"}],BR=[{label:"Decentral-Life.com",href:"https://www.decentral-life.com/"},{label:"OTC Markets Profile (WDLF)",href:"https://www.otcmarkets.com/stock/WDLF/overview"},{label:"Filings & Disclosure",href:"https://www.otcmarkets.com/stock/WDLF/disclosure"},{label:"Shareholder Portal",href:"https://www.cleartrustonline.com/shareholders"}];function Os(){return p.jsxs("footer",{className:"text-background bg-[#0A1230]",children:[p.jsx("div",{className:"max-w-7xl mx-auto px-6 pt-16 pb-12",children:p.jsxs("div",{className:"grid md:grid-cols-12 gap-10",children:[p.jsxs("div",{className:"md:col-span-5",children:[p.jsx(Fr,{src:zR,alt:"Decentral Life",className:"h-14 w-auto mb-6",fittingType:"fit"}),p.jsx("p",{className:"text-background/70 leading-relaxed font-medium",children:"Bridging traditional finance and digital innovation. With deep expertise in securities law, blockchain technology, and capital markets, we provide the comprehensive support publicly traded companies need to successfully tokenize their securities while maintaining full regulatory compliance and market credibility."})]}),p.jsxs("div",{className:"md:col-span-3",children:[p.jsx("h3",{className:"text-sm font-bold uppercase tracking-widest text-background/60 mb-5",children:"Navigate"}),p.jsx("ul",{className:"space-y-3",children:UR.map(e=>p.jsx("li",{children:p.jsx(An,{to:e.to,className:"text-background/80 hover:text-primary font-medium transition-colors",children:e.label})},e.to))})]}),p.jsxs("div",{className:"md:col-span-4",children:[p.jsx("h3",{className:"text-sm font-bold uppercase tracking-widest text-background/60 mb-5",children:"Resources & Contact"}),p.jsx("ul",{className:"space-y-3 mb-6",children:BR.map(e=>p.jsx("li",{children:p.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"text-background/80 hover:text-primary font-medium transition-colors",children:e.label})},e.href))}),p.jsxs("div",{className:"space-y-3 text-background/80 font-medium",children:[p.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 hover:text-primary transition-colors",children:[p.jsx(ov,{className:"w-4 h-4 text-background/50"})," [email protected]"]}),p.jsxs("a",{href:"tel:+18559333277",className:"flex items-center gap-3 hover:text-primary transition-colors",children:[p.jsx(sv,{className:"w-4 h-4 text-background/50"})," +1 (855) 933-3277"]})]})]})]})}),p.jsx("div",{className:"border-t border-background/10",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-10",children:[p.jsx("h4",{className:"text-sm font-bold uppercase tracking-widest text-background/60 mb-4",children:"Safe Harbor & Disclaimer"}),p.jsxs("div",{className:"text-background/50 text-xs leading-relaxed space-y-3",children:[p.jsx("p",{children:"This information does not constitute an offer to sell or a solicitation of an offer to buy securities of Decentral Life, Inc. Statements made on this website that are not historical facts constitute forward-looking statements within the meaning of Section 27A of the Securities Act of 1933, Section 21E of the Securities Exchange Act of 1934, and the safe harbor provisions of the Private Securities Litigation Reform Act of 1995. Such forward-looking statements include, but are not limited to, statements regarding the tokenization of securities, expected regulatory approvals, market access, liquidity, cost efficiencies, and the performance of digital assets. These statements involve risks, uncertainties, and assumptions that could cause actual results to differ materially from those expressed or implied."}),p.jsx("p",{children:"Decentralized Holdings, Inc. and its parent company, Decentral Life, Inc., are not FINRA-registered brokers and do not provide capital raising services or execute trades of securities for clients. Any offer or sale of securities will be made only pursuant to applicable registration statements or exemptions under federal and state securities laws, including regulations promulgated by the U.S. Securities and Exchange Commission (SEC). Tokenized securities referenced herein are subject to applicable regulatory requirements and may not be available to all investors."}),p.jsx("p",{children:"Decentral Life, Inc. (WDLF) is a publicly traded company. Trading in the company's securities involves risk, and past performance is not indicative of future results. Investors should carefully review the company's filings with the SEC and OTC Markets, including periodic reports and disclosures, before making any investment decision. The company undertakes no obligation to publicly update or revise any forward-looking statement, whether as a result of new information, future events, or otherwise."})]}),p.jsx(An,{to:"/safe-harbor",className:"inline-block mt-4 text-xs font-bold text-background/70 hover:text-primary transition-colors",children:"Read the full Safe Harbor & Disclaimer â"})]})}),p.jsx("div",{className:"border-t border-background/10",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-6 flex flex-col md:flex-row items-center justify-between gap-3",children:[p.jsxs("p",{className:"text-background/50 text-sm",children:["© ",new Date().getFullYear()," Decentral Life, Inc. All rights reserved."]}),p.jsx("p",{className:"text-background/50 text-sm",children:"OTC: WDLF"})]})})]})}function $R(){return p.jsxs("div",{className:"min-h-screen bg-background font-body",children:[p.jsx(Ps,{}),p.jsx(yR,{}),p.jsx(vR,{}),p.jsx(wR,{}),p.jsx(SR,{}),p.jsx(ER,{}),p.jsx(CR,{}),p.jsx(RR,{}),p.jsx(PR,{}),p.jsx(AR,{}),p.jsx(LR,{}),p.jsx(DR,{}),p.jsx(FR,{}),p.jsx(Os,{})]})}function WR(){return p.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[p.jsx(Ps,{}),p.jsx("main",{className:"flex-1 pt-36 pb-24",children:p.jsxs("article",{className:"max-w-4xl mx-auto px-6",children:[p.jsx("h1",{className:"text-4xl md:text-5xl font-extrabold font-heading text-foreground mb-8 tracking-tight",children:"About Decentral Life"}),p.jsx("div",{className:"h-1 w-20 bg-primary rounded-full mb-10"}),p.jsxs("div",{className:"flex flex-col md:flex-row gap-8 mb-8",children:[p.jsx("div",{className:"md:w-1/2 shrink-0",children:p.jsx("div",{className:"rounded-2xl overflow-hidden shadow-[0_20px_40px_-15px_rgba(0,0,0,0.2)] border border-border/60 aspect-[4/3]",children:p.jsx(Fr,{src:"https://media.base44.com/images/public/6a65a748247e0f7ae36aa609/e6ff6ebc5_generated_image.png",alt:"Transformation of traditional securities into digital assets",className:"w-full h-full",fittingType:"fill"})})}),p.jsxs("div",{className:"md:w-1/2 space-y-4 text-muted-foreground text-lg leading-relaxed font-medium",children:[p.jsx("p",{children:"Decentral Life and DecentralizedFi Holdings are pioneering the transformation of traditional securities into digital assets. Our platform bridges the gap between conventional equity markets and the emerging digital economy, enabling publicly traded companies to tokenize their securities while maintaining full regulatory compliance."}
vendor: 4,857 bytes, line 261
261),p.jsx("p",{children:"We specialize in converting existing stocks from OTC Markets, NASDAQ, and NYSE into SEC-registered security tokens that can trade on both decentralized and traditional regulated exchanges. This dual-market approach gives issuers access to broader liquidity pools, faster settlement times, and reduced operational costs."})]})]}),p.jsxs("div",{className:"mt-10 rounded-2xl border border-border bg-secondary/50 p-6 md:p-8",children:[p.jsx("h2",{className:"text-2xl font-extrabold font-heading text-foreground mb-3 tracking-tight",children:"Our Role: Guidance, Not Offerings"}),p.jsxs("p",{className:"text-muted-foreground text-lg leading-relaxed font-medium",children:["Decentral Life, Inc. and DecentralizedFi Holdings are ",p.jsx("span",{className:"font-bold text-foreground",children:"not"})," issuers of tokens or securities and do not conduct, sponsor, or sell token or securities offerings of any kind. We do not raise capital on behalf of clients. Instead, we serve as an advisory and infrastructure partner â guiding companies step-by-step through the regulatory, technical, and operational process of structuring and executing their own compliant token or securities offering for their own business."]})]}),p.jsxs("div",{className:"prose prose-lg max-w-none space-y-6 text-muted-foreground text-lg leading-relaxed font-medium",children:[p.jsx("p",{children:"Our services are designed for publicly traded companies, OTC-listed issuers, and corporate teams seeking to modernize their capital markets strategy. Whether you are exploring a new security registration, a dual listing, or a derivative token structure, Decentral Life provides end-to-end guidance â from SEC registration and exchange coordination to smart contract compliance and ongoing regulatory support."}),p.jsx("p",{children:"Built by Decentral Life, Inc. (WDLF), a publicly traded company itself, our team understands the unique regulatory and operational challenges issuers face. We combine deep securities law expertise with enterprise-grade blockchain infrastructure, including multi-layer authentication, third-party audits, and 24/7 threat monitoring across multiple chains."}),p.jsx("p",{children:"Tokenization is more than a technology shift â it is a strategic evolution in how capital is raised, traded, and managed. Decentral Life is committed to making that transition secure, compliant, and accessible for issuers and investors alike, helping traditional companies unlock the benefits of digital finance without sacrificing trust or transparency."})]}),p.jsxs("div",{className:"mt-12 flex gap-4",children:[p.jsx(An,{to:"/",className:"inline-flex items-center justify-center h-12 px-8 rounded-xl bg-primary text-primary-foreground font-bold hover:bg-primary/90 hover:-translate-y-0.5 transition-all duration-300",children:"Back to Home"}),p.jsx(An,{to:"/contact",className:"inline-flex items-center justify-center h-12 px-8 rounded-xl bg-secondary text-secondary-foreground font-bold hover:bg-secondary/80 hover:-translate-y-0.5 transition-all duration-300",children:"Contact Us"})]})]})}),p.jsx(Os,{})]})}function dy(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Yi(...e){return t=>{let r=!1;const s=e.map(a=>{const l=dy(a,t);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let a=0;a<s.length;a++){const l=s[a];typeof l=="function"?l():dy(e[a],null)}}}}function bt(...e){return w.useCallback(Yi(...e),e)}var VR=Symbol.for("react.lazy"),Ul=ql[" use ".trim().toString()];function HR(e){return typeof e=="object"&&e!==null&&"then"in e}function $x(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===VR&&"_payload"in e&&HR(e._payload)}function Wx(e){const t=QR(e),r=w.forwardRef((s,a)=>{let{children:l,...u}=s;$x(l)&&typeof Ul=="function"&&(l=Ul(l._payload));const d=w.Children.toArray(l),h=d.find(GR);if(h){const g=h.props.children,y=d.map(v=>v===h?w.Children.count(g)>1?w.Children.only(null):w.isValidElement(g)?g.props.children:null:v);return p.jsx(t,{...u,ref:a,children:w.isValidElement(g)?w.cloneElement(g,void 0,y):null})}return p.jsx(t,{...u,ref:a,children:l})});return r.displayName=`${e}.Slot`,r}var qR=Wx("Slot");function QR(e){const t=w.forwardRef((r,s)=>{let{children:a,...l}=r;if($x(a)&&typeof Ul=="function"&&(a=Ul(a._payload)),w.isValidElement(a)){const u=XR(a),d=YR(l,a.props);return a.type!==w.Fragment&&(d.ref=s?Yi(s,u):u),w.cloneElement(a,d)}return w.Children.count(a)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var KR=Symbol("radix.slottable");function GR(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===KR}function YR(e,t){const r={...t};for(const s in t){const a=e[s],l=t[s];/^on[A-Z]/.test(s)?a&&l?r[s]=(...d)=>{const h=l(...d);return a(...d),h}:a&&(r[s]=a):s==="style"?r[s]={...a,...l}
vendor: 16,586 bytes, line 261
261:s==="className"&&(r[s]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}function XR(e){var s,a;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const JR=gf("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),tf=w.forwardRef(({className:e,variant:t,size:r,asChild:s=!1,...a},l)=>{const u=s?qR:"button";return p.jsx(u,{className:ut(JR({variant:t,size:r,className:e})),ref:l,...a})});tf.displayName="Button";const Pl=w.forwardRef(({className:e,type:t,...r},s)=>p.jsx("input",{type:t,className:ut("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...r}));Pl.displayName="Input";const Vx=w.forwardRef(({className:e,...t},r)=>p.jsx("textarea",{className:ut("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...t}));Vx.displayName="Textarea";var ZR=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],eT=ZR.reduce((e,t)=>{const r=Wx(`Primitive.${t}`),s=w.forwardRef((a,l)=>{const{asChild:u,...d}=a,h=u?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(h,{...d,ref:l})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),tT="Label",Hx=w.forwardRef((e,t)=>p.jsx(eT.label,{...e,ref:t,onMouseDown:r=>{var a;r.target.closest("button, input, select, textarea")||((a=e.onMouseDown)==null||a.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Hx.displayName=tT;var qx=Hx;const nT=gf("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ls=w.forwardRef(({className:e,...t},r)=>p.jsx(qx,{ref:r,className:ut(nT(),e),...t}));ls.displayName=qx.displayName;function fy(e,[t,r]){return Math.min(r,Math.max(t,e))}function ot(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e==null||e(a),r===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}function zf(e,t=[]){let r=[];function s(l,u){const d=w.createContext(u),h=r.length;r=[...r,u];const g=v=>{var k;const{scope:E,children:_,...P}=v,b=((k=E==null?void 0:E[e])==null?void 0:k[h])||d,S=w.useMemo(()=>P,Object.values(P));return p.jsx(b.Provider,{value:S,children:_})};g.displayName=l+"Provider";function y(v,E){var b;const _=((b=E==null?void 0:E[e])==null?void 0:b[h])||d,P=w.useContext(_);if(P)return P;if(u!==void 0)return u;throw new Error(`\`${v}\` must be used within \`${l}\``)}return[g,y]}const a=()=>{const l=r.map(u=>w.createContext(u));return function(d){const h=(d==null?void 0:d[e])||l;return w.useMemo(()=>({[`__scope${e}`]:{...d,[e]:h}}),[d,h])}};return a.scopeName=e,[s,rT(a,...t)]}function rT(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const u=s.reduce((d,{useScope:h,scopeName:g})=>{const v=h(l)[`__scope${g}`];return{...d,...v}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return r.scopeName=t.scopeName,r}function hy(e){const t=oT(e),r=w.forwardRef((s,a)=>{const{children:l,...u}=s,d=w.Children.toArray(l),h=d.find(iT);if(h){const g=h.props.children,y=d.map(v=>v===h?w.Children.count(g)>1?w.Children.only(null):w.isValidElement(g)?g.props.children:null:v);return p.jsx(t,{...u,ref:a,children:w.isValidElement(g)?w.cloneElement(g,void 0,y):null})}return p.jsx(t,{...u,ref:a,children:l})});return r.displayName=`${e}.Slot`,r}function oT(e){const t=w.forwardRef((r,s)=>{const{children:a,...l}=r;if(w.isValidElement(a)){const u=lT(a),d=aT(l,a.props);return a.type!==w.Fragment&&(d.ref=s?Yi(s,u):u),w.cloneElement(a,d)}return w.Children.count(a)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var sT=Symbol("radix.slottable");function iT(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===sT}function aT(e,t){const r={...t};for(const s in t){const a=e[s],l=t[s];/^on[A-Z]/.test(s)?a&&l?r[s]=(...d)=>{const h=l(...d);return a(...d),h}:a&&(r[s]=a):s==="style"?r[s]={...a,...l}:s==="className"&&(r[s]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}function lT(e){var s,a;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function cT(e){const t=e+"CollectionProvider",[r,s]=zf(t),[a,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=b=>{const{scope:S,children:k}=b,N=Sr.useRef(null),C=Sr.useRef(new Map).current;return p.jsx(a,{scope:S,itemMap:C,collectionRef:N,children:k})};u.displayName=t;const d=e+"CollectionSlot",h=hy(d),g=Sr.forwardRef((b,S)=>{const{scope:k,children:N}=b,C=l(d,k),T=bt(S,C.collectionRef);return p.jsx(h,{ref:T,children:N})});g.displayName=d;const y=e+"CollectionItemSlot",v="data-radix-collection-item",E=hy(y),_=Sr.forwardRef((b,S)=>{const{scope:k,children:N,...C}=b,T=Sr.useRef(null),F=bt(S,T),z=l(y,k);return Sr.useEffect(()=>(z.itemMap.set(T,{ref:T,...C}),()=>void z.itemMap.delete(T))),p.jsx(E,{[v]:"",ref:F,children:N})});_.displayName=y;function P(b){const S=l(e+"CollectionConsumer",b);return Sr.useCallback(()=>{const N=S.collectionRef.current;if(!N)return[];const C=Array.from(N.querySelectorAll(`[${v}]`));return Array.from(S.itemMap.values()).sort((z,V)=>C.indexOf(z.ref.current)-C.indexOf(V.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:u,Slot:g,ItemSlot:_},P,s]}var uT=w.createContext(void 0);function dT(e){const t=w.useContext(uT);return e||t||"ltr"}function fT(e){const t=hT(e),r=w.forwardRef((s,a)=>{const{children:l,...u}=s,d=w.Children.toArray(l),h=d.find(mT);if(h){const g=h.props.children,y=d.map(v=>v===h?w.Children.count(g)>1?w.Children.only(null):w.isValidElement(g)?g.props.children:null:v);return p.jsx(t,{...u,ref:a,children:w.isValidElement(g)?w.cloneElement(g,void 0,y):null})}return p.jsx(t,{...u,ref:a,children:l})});return r.displayName=`${e}.Slot`,r}function hT(e){const t=w.forwardRef((r,s)=>{const{children:a,...l}=r;if(w.isValidElement(a)){const u=yT(a),d=gT(l,a.props);return a.type!==w.Fragment&&(d.ref=s?Yi(s,u):u),w.cloneElement(a,d)}return w.Children.count(a)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pT=Symbol("radix.slottable");function mT(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pT}function gT(e,t){const r={...t};for(const s in t){const a=e[s],l=t[s];/^on[A-Z]/.test(s)?a&&l?r[s]=(...d)=>{const h=l(...d);return a(...d),h}:a&&(r[s]=a):s==="style"?r[s]={...a,...l}:s==="className"&&(r[s]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}function yT(e){var s,a;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var vT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],nt=vT.reduce((e,t)=>{const r=fT(`Primitive.${t}`),s=w.forwardRef((a,l)=>{const{asChild:u,...d}=a,h=u?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(h,{...d,ref:l})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function xT(e,t){e&&Wi.flushSync(()=>e.dispatchEvent(t))}function _o(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...r)=>{var s;return(s=t.current)==null?void 0:s.call(t,...r)},[])}function wT(e,t=globalThis==null?void 0:globalThis.document){const r=_o(e);w.useEffect(()=>{const s=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[r,t])}var bT="DismissableLayer",nf="dismissableLayer.update",ST="dismissableLayer.pointerDownOutside",kT="dismissableLayer.focusOutside",py,Qx=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kx=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:u,onDismiss:d,...h}=e,g=w.useContext(Qx),[y,v]=w.useState(null),E=(y==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,_]=w.useState({}),P=bt(t,V=>v(V)),b=Array.from(g.layers),[S]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),k=b.indexOf(S),N=y?b.indexOf(y):-1,C=g.layersWithOutsidePointerEventsDisabled.size>0,T=N>=k,F=CT(V=>{const B=V.target,J=[...g.branches].some(ee=>ee.contains(B));!T||J||(a==null||a(V),u==null||u(V),V.defaultPrevented||d==null||d())},E),z=NT(V=>{const B=V.target;[...g.branches].some(ee=>ee.contains(B))||(l==null||l(V),u==null||u(V),V.defaultPrevented||d==null||d())},E);return wT(V=>{N===g.layers.size-1&&(s==null||s(V),!V.defaultPrevented&&d&&(V.preventDefault(),d()))},E),w.useEffect(()=>{if(y)return r&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(py=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(y)),g.layers.add(y),my(),()=>{r&&g.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=py)}},[y,E,r,g]),w.useEffect(()=>()=>{y&&(g.layers.delete(y),g.layersWithOutsidePointerEventsDisabled.delete(y),my())},[y,g]),w.useEffect(()=>{const V=()=>_({});return document.addEventListener(nf,V),()=>document.removeEventListener(nf,V)},[]),p.jsx(nt.div,{...h,ref:P,style:{pointerEvents:C?T?"auto":"none":void 0,...e.style},onFocusCapture:ot(e.onFocusCapture,z.onFocusCapture),onBlurCapture:ot(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:ot(e.onPointerDownCapture,F.onPointerDownCapture)})});Kx.displayName=bT;var ET="DismissableLayerBranch",_T=w.forwardRef((e,t)=>{const r=w.useContext(Qx),s=w.useRef(null),a=bt(t,s);return w.useEffect(()=>{const l=s.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),p.jsx(nt.div,{...e,ref:a})});_T.displayName=ET;function CT(e,t=globalThis==null?void 0:globalThis.document){const r=_o(e),s=w.useRef(!1),a=w.useRef(()=>{});return w.useEffect(()=>{const l=d=>{if(d.target&&!s.current){let h=function(){Gx(ST,r,g,{discrete:!0})};const g={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=h,t.addEventListener("click",a.current,{once:!0})):h()}else t.removeEventListener("click",a.current);s.current=!1},u=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(u),t.removeEventListener("pointerdown",l),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>s.current=!0}}function NT(e,t=globalThis==null?void 0:globalThis.document){const r=_o(e),s=w.useRef(!1);return w.useEffect(()=>{const a=l=>{l.target&&!s.current&&Gx(kT,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function my(){const e=new CustomEvent(nf);document.dispatchEvent(e)}function Gx(e,t,r,{discrete:s}){const a=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),s?xT(a,l):a.dispatchEvent(l)}var yd=0;function RT(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??gy()),document.body.insertAdjacentElement("beforeend",e[1]??gy()),yd++,()=>{yd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),yd--}},[])}function gy(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var vd="focusScope.autoFocusOnMount",xd="focusScope.autoFocusOnUnmount",yy={bubbles:!1,cancelable:!0},TT="FocusScope",Yx=w.forwardRef((e,t)=>{const{loop:r=!1,trapped:s=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...u}=e,[d,h]=w.useState(null),g=_o(a),y=_o(l),v=w.useRef(null),E=bt(t,b=>h(b)),_=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(s){let b=function(C){if(_.paused||!d)return;const T=C.target;d.contains(T)?v.current=T:_r(v.current,{select:!0})},S=function(C){if(_.paused||!d)return;const T=C.relatedTarget;T!==null&&(d.contains(T)||_r(v.current,{select:!0}))},k=function(C){if(document.activeElement===document.body)for(const F of C)F.removedNodes.length>0&&_r(d)};document.addEventListener("focusin",b),document.addEventListener("focusout",S);const N=new MutationObserver(k);return d&&N.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",S),N.disconnect()}}},[s,d,_.paused]),w.useEffect(()=>{if(d){xy.add(_);const b=document.activeElement;if(!d.contains(b)){const k=new CustomEvent(vd,yy);d.addEventListener(vd,g),d.dispatchEvent(k),k.defaultPrevented||(PT(IT(Xx(d)),{select:!0}),document.activeElement===b&&_r(d))}return()=>{d.removeEventListener(vd,g),setTimeout(()=>{const k=new CustomEvent(xd,yy);d.addEventListener(xd,y),d.dispatchEvent(k),k.defaultPrevented||_r(b??document.body,{select:!0}),d.removeEventListener(xd,y),xy.remove(_)},0)}}},[d,g,y,_]);const P=w.useCallback(b=>{if(!r&&!s||_.paused)return;const S=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,k=document.activeElement;if(S&&k){const N=b.currentTarget,[C,T]=OT(N);C&&T?!b.shiftKey&&k===T?(b.preventDefault(),r&&_r(C,{select:!0})):b.shiftKey&&k===C&&(b.preventDefault(),r&&_r(T,{select:!0})):k===N&&b.preventDefault()}},[r,s,_.paused]);return p.jsx(nt.div,{tabIndex:-1,...u,ref:E,onKeyDown:P})});Yx.displayName=TT;function PT(e,{select:t=!1}={}){const r=document.activeElement;for(const s of e)if(_r(s,{select:t}),document.activeElement!==r)return}function OT(e){const t=Xx(e),r=vy(t,e),s=vy(t.reverse(),e);return[r,s]}function Xx(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function vy(e,t){for(const r of e)if(!AT(r,{upTo:t}))return r}function AT(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function jT(e){return e instanceof HTMLInputElement&&"select"in e}function _r(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&jT(e)&&t&&e.select()}}var xy=LT();function LT(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=wy(e,t),e.unshift(t)},remove(t){var r;e=wy(e,t),(r=e[0])==null||r.resume()}}}function wy(e,t){const r=[...e],s=r.indexOf(t);return s!==-1&&r.splice(s,1),r}function IT(e){return e.filter(t=>t.tagName!=="A")}var $t=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{}
vendor: 10,907 bytes, line 261
261,DT=ql[" useId ".trim().toString()]||(()=>{}),MT=0;function Uf(e){const[t,r]=w.useState(DT());return $t(()=>{r(s=>s??String(MT++))},[e]),t?`radix-${t}`:""}const FT=["top","right","bottom","left"],zr=Math.min,Kt=Math.max,Bl=Math.round,gl=Math.floor,On=e=>({x:e,y:e}),zT={left:"right",right:"left",bottom:"top",top:"bottom"},UT={start:"end",end:"start"};function rf(e,t,r){return Kt(e,zr(t,r))}function Yn(e,t){return typeof e=="function"?e(t):e}function Xn(e){return e.split("-")[0]}function As(e){return e.split("-")[1]}function Bf(e){return e==="x"?"y":"x"}function $f(e){return e==="y"?"height":"width"}const BT=new Set(["top","bottom"]);function Tn(e){return BT.has(Xn(e))?"y":"x"}function Wf(e){return Bf(Tn(e))}function $T(e,t,r){r===void 0&&(r=!1);const s=As(e),a=Wf(e),l=$f(a);let u=a==="x"?s===(r?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(u=$l(u)),[u,$l(u)]}function WT(e){const t=$l(e);return[of(e),t,of(t)]}function of(e){return e.replace(/start|end/g,t=>UT[t])}const by=["left","right"],Sy=["right","left"],VT=["top","bottom"],HT=["bottom","top"];function qT(e,t,r){switch(e){case"top":case"bottom":return r?t?Sy:by:t?by:Sy;case"left":case"right":return t?VT:HT;default:return[]}}function QT(e,t,r,s){const a=As(e);let l=qT(Xn(e),r==="start",s);return a&&(l=l.map(u=>u+"-"+a),t&&(l=l.concat(l.map(of)))),l}function $l(e){return e.replace(/left|right|bottom|top/g,t=>zT[t])}function KT(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jx(e){return typeof e!="number"?KT(e):{top:e,right:e,bottom:e,left:e}}function Wl(e){const{x:t,y:r,width:s,height:a}=e;return{width:s,height:a,top:r,left:t,right:t+s,bottom:r+a,x:t,y:r}}function ky(e,t,r){let{reference:s,floating:a}=e;const l=Tn(t),u=Wf(t),d=$f(u),h=Xn(t),g=l==="y",y=s.x+s.width/2-a.width/2,v=s.y+s.height/2-a.height/2,E=s[d]/2-a[d]/2;let _;switch(h){case"top":_={x:y,y:s.y-a.height};break;case"bottom":_={x:y,y:s.y+s.height};break;case"right":_={x:s.x+s.width,y:v};break;case"left":_={x:s.x-a.width,y:v};break;default:_={x:s.x,y:s.y}}switch(As(t)){case"start":_[u]-=E*(r&&g?-1:1);break;case"end":_[u]+=E*(r&&g?-1:1);break}return _}async function GT(e,t){var r;t===void 0&&(t={});const{x:s,y:a,platform:l,rects:u,elements:d,strategy:h}=e,{boundary:g="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:E=!1,padding:_=0}=Yn(t,e),P=Jx(_),S=d[E?v==="floating"?"reference":"floating":v],k=Wl(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(S)))==null||r?S:S.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:g,rootBoundary:y,strategy:h})),N=v==="floating"?{x:s,y:a,width:u.floating.width,height:u.floating.height}:u.reference,C=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),T=await(l.isElement==null?void 0:l.isElement(C))?await(l.getScale==null?void 0:l.getScale(C))||{x:1,y:1}:{x:1,y:1},F=Wl(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:C,strategy:h}):N);return{top:(k.top-F.top+P.top)/T.y,bottom:(F.bottom-k.bottom+P.bottom)/T.y,left:(k.left-F.left+P.left)/T.x,right:(F.right-k.right+P.right)/T.x}}const YT=async(e,t,r)=>{const{placement:s="bottom",strategy:a="absolute",middleware:l=[],platform:u}=r,d=l.filter(Boolean),h=await(u.isRTL==null?void 0:u.isRTL(t));let g=await u.getElementRects({reference:e,floating:t,strategy:a}),{x:y,y:v}=ky(g,s,h),E=s,_={},P=0;for(let S=0;S<d.length;S++){var b;const{name:k,fn:N}=d[S],{x:C,y:T,data:F,reset:z}=await N({x:y,y:v,initialPlacement:s,placement:E,strategy:a,middlewareData:_,rects:g,platform:{...u,detectOverflow:(b=u.detectOverflow)!=null?b:GT},elements:{reference:e,floating:t}});y=C??y,v=T??v,_={..._,[k]:{..._[k],...F}},z&&P<=50&&(P++,typeof z=="object"&&(z.placement&&(E=z.placement),z.rects&&(g=z.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:a}):z.rects),{x:y,y:v}=ky(g,E,h)),S=-1)}return{x:y,y:v,placement:E,strategy:a,middlewareData:_}},XT=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:s,placement:a,rects:l,platform:u,elements:d,middlewareData:h}=t,{element:g,padding:y=0}=Yn(e,t)||{};if(g==null)return{};const v=Jx(y),E={x:r,y:s},_=Wf(a),P=$f(_),b=await u.getDimensions(g),S=_==="y",k=S?"top":"left",N=S?"bottom":"right",C=S?"clientHeight":"clientWidth",T=l.reference[P]+l.reference[_]-E[_]-l.floating[P],F=E[_]-l.reference[_],z=await(u.getOffsetParent==null?void 0:u.getOffsetParent(g));let V=z?z[C]:0;(!V||!await(u.isElement==null?void 0:u.isElement(z)))&&(V=d.floating[C]||l.floating[P]);const B=T/2-F/2,J=V/2-b[P]/2-1,ee=zr(v[k],J),le=zr(v[N],J),ve=ee,oe=V-b[P]-le,ie=V/2-b[P]/2+B,ke=rf(ve,ie,oe),se=!h.arrow&&As(a)!=null&&ie!==ke&&l.reference[P]/2-(ie<ve?ee:le)-b[P]/2<0,ce=se?ie<ve?ie-ve:ie-oe:0;return{[_]:E[_]+ce,data:{[_]:ke,centerOffset:ie-ke-ce,...se&&{alignmentOffset:ce}},reset:se}}}),JT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,s;const{placement:a,middlewareData:l,rects:u,initialPlacement:d,platform:h,elements:g}=t,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:E,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:b=!0,...S}=Yn(e,t);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const k=Xn(a),N=Tn(d),C=Xn(d)===d,T=await(h.isRTL==null?void 0:h.isRTL(g.floating)),F=E||(C||!b?[$l(d)]:WT(d)),z=P!=="none";!E&&z&&F.push(...QT(d,b,P,T));const V=[d,...F],B=await h.detectOverflow(t,S),J=[];let ee=((s=l.flip)==null?void 0:s.overflows)||[];if(y&&J.push(B[k]),v){const ie=$T(a,u,T);J.push(B[ie[0]],B[ie[1]])}if(ee=[...ee,{placement:a,overflows:J}],!J.every(ie=>ie<=0)){var le,ve;const ie=(((le=l.flip)==null?void 0:le.index)||0)+1,ke=V[ie];if(ke&&(!(v==="alignment"?N!==Tn(ke):!1)||ee.every(W=>Tn(W.placement)===N?W.overflows[0]>0:!0)))return{data:{index:ie,overflows:ee},reset:{placement:ke}};let se=(ve=ee.filter(ce=>ce.overflows[0]<=0).sort((ce,W)=>ce.overflows[1]-W.overflows[1])[0])==null?void 0:ve.placement;if(!se)switch(_){case"bestFit":{var oe;const ce=(oe=ee.filter(W=>{if(z){const Z=Tn(W.placement);return Z===N||Z==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(Z=>Z>0).reduce((Z,$)=>Z+$,0)]).sort((W,Z)=>W[1]-Z[1])[0])==null?void 0:oe[0];ce&&(se=ce);break}case"initialPlacement":se=d;break}if(a!==se)return{reset:{placement:se}}}return{}}}};function Ey(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _y(e){return FT.some(t=>e[t]>=0)}const ZT=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:s}=t,{strategy:a="referenceHidden",...l}=Yn(e,t);switch(a){case"referenceHidden":{const u=await s.detectOverflow(t,{...l,elementContext:"reference"}),d=Ey(u,r.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:_y(d)}}}case"escaped":{const u=await s.detectOverflow(t,{...l,altBoundary:!0}),d=Ey(u,r.floating);return{data:{escapedOffsets:d,escaped:_y(d)}}}default:return{}}}}},Zx=new Set(["left","top"]);async function eP(e,t){const{placement:r,platform:s,elements:a}=e,l=await(s.isRTL==null?void 0:s.isRTL(a.floating)),u=Xn(r),d=As(r),h=Tn(r)==="y",g=Zx.has(u)?-1:1,y=l&&h?-1:1,v=Yn(t,e);let{mainAxis:E,crossAxis:_,alignmentAxis:P}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return d&&typeof P=="number"&&(_=d==="end"?P*-1:P),h?{x:_*y,y:E*g}:{x:E*g,y:_*y}}const tP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,s;const{x:a,y:l,placement:u,middlewareData:d}=t,h=await eP(t,e);return u===((r=d.offset)==null?void 0:r.placement)&&(s=d.arrow)!=null&&s.alignmentOffset?{}:{x:a+h.x,y:l+h.y,data:{...h,placement:u}}}}},nP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:s,placement:a,platform:l}=t,{mainAxis:u=!0,crossAxis:d=!1,limiter:h={fn:k=>{let{x:N,y:C}=k;return{x:N,y:C}}},...g}=Yn(e,t),y={x:r,y:s},v=await l.detectOverflow(t,g),E=Tn(Xn(a)),_=Bf(E);let P=y[_],b=y[E];if(u){const k=_==="y"?"top":"left",N=_==="y"?"bottom":"right",C=P+v[k],T=P-v[N];P=rf(C,P,T)}if(d){const k=E==="y"?"top":"left",N=E==="y"?"bottom":"right",C=b+v[k],T=b-v[N];b=rf(C,b,T)}const S=h.fn({...t,[_]:P,[E]:b});return{...S,data:{x:S.x-r,y:S.y-s,enabled:{[_]:u,[E]:d}}}}}},rP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:s,placement:a,rects:l,middlewareData:u}=t,{offset:d=0,mainAxis:h=!0,crossAxis:g=!0}=Yn(e,t),y={x:r,y:s},v=Tn(a),E=Bf(v);let _=y[E],P=y[v];const b=Yn(d,t),S=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(h){const C=E==="y"?"height":"width",T=l.reference[E]-l.floating[C]+S.mainAxis,F=l.reference[E]+l.reference[C]-S.mainAxis;_<T?_=T:_>F&&(_=F)}if(g){var k,N;const C=E==="y"?"width":"height",T=Zx.has(Xn(a)),F=l.reference[v]-l.floating[C]+(T&&((k=u.offset)==null?void 0:k[v])||0)+(T?0:S.crossAxis),z=l.reference[v]+l.reference[C]+(T?0:((N=u.offset)==null?void 0:N[v])||0)-(T?S.crossAxis:0);P<F?P=F:P>z&&(P=z)}return{[E]:_,[v]:P}}}},oP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,s;const{placement:a,rects:l,platform:u,elements:d}=t,{apply:h=()=>{},...g}=Yn(e,t),y=await u.detectOverflow(t,g),v=Xn(a),E=As(a),_=Tn(a)==="y",{width:P,height:b}=l.floating;let S,k;v==="top"||v==="bottom"?(S=v,k=E===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(k=v,S=E==="end"?"top":"bottom");const N=b-y.top-y.bottom,C=P-y.left-y.right,T=zr(b-y[S],N),F=zr(P-y[k],C),z=!t.middlewareData.shift;let V=T,B=F;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(B=C),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(V=N),z&&!E){const ee=Kt(y.left,0),le=Kt(y.right,0),ve=Kt(y.top,0),oe=Kt(y.bottom,0);_?B=P-2*(ee!==0||le!==0?ee+le:Kt(y.left,y.right)):V=b-2*(ve!==0||oe!==0?ve+oe:Kt(y.top,y.bottom))}await h({...t,availableWidth:B,availableHeight:V});const J=await u.getDimensions(d.floating);return P!==J.width||b!==J.height?{reset:{rects:!0}}:{}}}};function Zl(){return typeof window<"u"}function js(e){return ew(e)?(e.nodeName||"").toLowerCase():"#document"}function Gt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function In(e){var t;return(t=(ew(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ew(e){return Zl()?e instanceof Node||e instanceof Gt(e).Node:!1}function yn(e){return Zl()?e instanceof Element||e instanceof Gt(e).Element:!1}function Ln(e){return Zl()?e instanceof HTMLElement||e instanceof Gt(e).HTMLElement:!1}function Cy(e){return!Zl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Gt(e).ShadowRoot}const sP=new Set(["inline","contents"]);function Xi(e){const{overflow:t,overflowX:r,overflowY:s,display:a}=vn(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+r)&&!sP.has(a)}
vendor: 23,680 bytes, line 261
261const iP=new Set(["table","td","th"]);function aP(e){return iP.has(js(e))}const lP=[":popover-open",":modal"];function ec(e){return lP.some(t=>{try{return e.matches(t)}catch{return!1}})}const cP=["transform","translate","scale","rotate","perspective"],uP=["transform","translate","scale","rotate","perspective","filter"],dP=["paint","layout","strict","content"];function Vf(e){const t=Hf(),r=yn(e)?vn(e):e;return cP.some(s=>r[s]?r[s]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||uP.some(s=>(r.willChange||"").includes(s))||dP.some(s=>(r.contain||"").includes(s))}function fP(e){let t=Ur(e);for(;Ln(t)&&!_s(t);){if(Vf(t))return t;if(ec(t))return null;t=Ur(t)}return null}function Hf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const hP=new Set(["html","body","#document"]);function _s(e){return hP.has(js(e))}function vn(e){return Gt(e).getComputedStyle(e)}function tc(e){return yn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ur(e){if(js(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cy(e)&&e.host||In(e);return Cy(t)?t.host:t}function tw(e){const t=Ur(e);return _s(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ln(t)&&Xi(t)?t:tw(t)}function Di(e,t,r){var s;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=tw(e),l=a===((s=e.ownerDocument)==null?void 0:s.body),u=Gt(a);if(l){const d=sf(u);return t.concat(u,u.visualViewport||[],Xi(a)?a:[],d&&r?Di(d):[])}return t.concat(a,Di(a,[],r))}function sf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nw(e){const t=vn(e);let r=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const a=Ln(e),l=a?e.offsetWidth:r,u=a?e.offsetHeight:s,d=Bl(r)!==l||Bl(s)!==u;return d&&(r=l,s=u),{width:r,height:s,$:d}}function qf(e){return yn(e)?e:e.contextElement}function cs(e){const t=qf(e);if(!Ln(t))return On(1);const r=t.getBoundingClientRect(),{width:s,height:a,$:l}=nw(t);let u=(l?Bl(r.width):r.width)/s,d=(l?Bl(r.height):r.height)/a;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const pP=On(0);function rw(e){const t=Gt(e);return!Hf()||!t.visualViewport?pP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mP(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Gt(e)?!1:t}function Co(e,t,r,s){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),l=qf(e);let u=On(1);t&&(s?yn(s)&&(u=cs(s)):u=cs(e));const d=mP(l,r,s)?rw(l):On(0);let h=(a.left+d.x)/u.x,g=(a.top+d.y)/u.y,y=a.width/u.x,v=a.height/u.y;if(l){const E=Gt(l),_=s&&yn(s)?Gt(s):s;let P=E,b=sf(P);for(;b&&s&&_!==P;){const S=cs(b),k=b.getBoundingClientRect(),N=vn(b),C=k.left+(b.clientLeft+parseFloat(N.paddingLeft))*S.x,T=k.top+(b.clientTop+parseFloat(N.paddingTop))*S.y;h*=S.x,g*=S.y,y*=S.x,v*=S.y,h+=C,g+=T,P=Gt(b),b=sf(P)}}return Wl({width:y,height:v,x:h,y:g})}function nc(e,t){const r=tc(e).scrollLeft;return t?t.left+r:Co(In(e)).left+r}function ow(e,t){const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-nc(e,r),a=r.top+t.scrollTop;return{x:s,y:a}}function gP(e){let{elements:t,rect:r,offsetParent:s,strategy:a}=e;const l=a==="fixed",u=In(s),d=t?ec(t.floating):!1;if(s===u||d&&l)return r;let h={scrollLeft:0,scrollTop:0},g=On(1);const y=On(0),v=Ln(s);if((v||!v&&!l)&&((js(s)!=="body"||Xi(u))&&(h=tc(s)),Ln(s))){const _=Co(s);g=cs(s),y.x=_.x+s.clientLeft,y.y=_.y+s.clientTop}const E=u&&!v&&!l?ow(u,h):On(0);return{width:r.width*g.x,height:r.height*g.y,x:r.x*g.x-h.scrollLeft*g.x+y.x+E.x,y:r.y*g.y-h.scrollTop*g.y+y.y+E.y}}function yP(e){return Array.from(e.getClientRects())}function vP(e){const t=In(e),r=tc(e),s=e.ownerDocument.body,a=Kt(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),l=Kt(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let u=-r.scrollLeft+nc(e);const d=-r.scrollTop;return vn(s).direction==="rtl"&&(u+=Kt(t.clientWidth,s.clientWidth)-a),{width:a,height:l,x:u,y:d}}const Ny=25;function xP(e,t){const r=Gt(e),s=In(e),a=r.visualViewport;let l=s.clientWidth,u=s.clientHeight,d=0,h=0;if(a){l=a.width,u=a.height;const y=Hf();(!y||y&&t==="fixed")&&(d=a.offsetLeft,h=a.offsetTop)}const g=nc(s);if(g<=0){const y=s.ownerDocument,v=y.body,E=getComputedStyle(v),_=y.compatMode==="CSS1Compat"&&parseFloat(E.marginLeft)+parseFloat(E.marginRight)||0,P=Math.abs(s.clientWidth-v.clientWidth-_);P<=Ny&&(l-=P)}else g<=Ny&&(l+=g);return{width:l,height:u,x:d,y:h}}const wP=new Set(["absolute","fixed"]);function bP(e,t){const r=Co(e,!0,t==="fixed"),s=r.top+e.clientTop,a=r.left+e.clientLeft,l=Ln(e)?cs(e):On(1),u=e.clientWidth*l.x,d=e.clientHeight*l.y,h=a*l.x,g=s*l.y;return{width:u,height:d,x:h,y:g}}function Ry(e,t,r){let s;if(t==="viewport")s=xP(e,r);else if(t==="document")s=vP(In(e));else if(yn(t))s=bP(t,r);else{const a=rw(e);s={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Wl(s)}function sw(e,t){const r=Ur(e);return r===t||!yn(r)||_s(r)?!1:vn(r).position==="fixed"||sw(r,t)}function SP(e,t){const r=t.get(e);if(r)return r;let s=Di(e,[],!1).filter(d=>yn(d)&&js(d)!=="body"),a=null;const l=vn(e).position==="fixed";let u=l?Ur(e):e;for(;yn(u)&&!_s(u);){const d=vn(u),h=Vf(u);!h&&d.position==="fixed"&&(a=null),(l?!h&&!a:!h&&d.position==="static"&&!!a&&wP.has(a.position)||Xi(u)&&!h&&sw(e,u))?s=s.filter(y=>y!==u):a=d,u=Ur(u)}return t.set(e,s),s}function kP(e){let{element:t,boundary:r,rootBoundary:s,strategy:a}=e;const u=[...r==="clippingAncestors"?ec(t)?[]:SP(t,this._c):[].concat(r),s],d=u[0],h=u.reduce((g,y)=>{const v=Ry(t,y,a);return g.top=Kt(v.top,g.top),g.right=zr(v.right,g.right),g.bottom=zr(v.bottom,g.bottom),g.left=Kt(v.left,g.left),g},Ry(t,d,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function EP(e){const{width:t,height:r}=nw(e);return{width:t,height:r}}function _P(e,t,r){const s=Ln(t),a=In(t),l=r==="fixed",u=Co(e,!0,l,t);let d={scrollLeft:0,scrollTop:0};const h=On(0);function g(){h.x=nc(a)}if(s||!s&&!l)if((js(t)!=="body"||Xi(a))&&(d=tc(t)),s){const _=Co(t,!0,l,t);h.x=_.x+t.clientLeft,h.y=_.y+t.clientTop}else a&&g();l&&!s&&a&&g();const y=a&&!s&&!l?ow(a,d):On(0),v=u.left+d.scrollLeft-h.x-y.x,E=u.top+d.scrollTop-h.y-y.y;return{x:v,y:E,width:u.width,height:u.height}}function wd(e){return vn(e).position==="static"}function Ty(e,t){if(!Ln(e)||vn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return In(e)===r&&(r=r.ownerDocument.body),r}function iw(e,t){const r=Gt(e);if(ec(e))return r;if(!Ln(e)){let a=Ur(e);for(;a&&!_s(a);){if(yn(a)&&!wd(a))return a;a=Ur(a)}return r}let s=Ty(e,t);for(;s&&aP(s)&&wd(s);)s=Ty(s,t);return s&&_s(s)&&wd(s)&&!Vf(s)?r:s||fP(e)||r}const CP=async function(e){const t=this.getOffsetParent||iw,r=this.getDimensions,s=await r(e.floating);return{reference:_P(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function NP(e){return vn(e).direction==="rtl"}const RP={convertOffsetParentRelativeRectToViewportRelativeRect:gP,getDocumentElement:In,getClippingRect:kP,getOffsetParent:iw,getElementRects:CP,getClientRects:yP,getDimensions:EP,getScale:cs,isElement:yn,isRTL:NP};function aw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function TP(e,t){let r=null,s;const a=In(e);function l(){var d;clearTimeout(s),(d=r)==null||d.disconnect(),r=null}function u(d,h){d===void 0&&(d=!1),h===void 0&&(h=1),l();const g=e.getBoundingClientRect(),{left:y,top:v,width:E,height:_}=g;if(d||t(),!E||!_)return;const P=gl(v),b=gl(a.clientWidth-(y+E)),S=gl(a.clientHeight-(v+_)),k=gl(y),C={rootMargin:-P+"px "+-b+"px "+-S+"px "+-k+"px",threshold:Kt(0,zr(1,h))||1};let T=!0;function F(z){const V=z[0].intersectionRatio;if(V!==h){if(!T)return u();V?u(!1,V):s=setTimeout(()=>{u(!1,1e-7)},1e3)}V===1&&!aw(g,e.getBoundingClientRect())&&u(),T=!1}try{r=new IntersectionObserver(F,{...C,root:a.ownerDocument})}catch{r=new IntersectionObserver(F,C)}r.observe(e)}return u(!0),l}function PP(e,t,r,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:h=!1}=s,g=qf(e),y=a||l?[...g?Di(g):[],...Di(t)]:[];y.forEach(k=>{a&&k.addEventListener("scroll",r,{passive:!0}),l&&k.addEventListener("resize",r)});const v=g&&d?TP(g,r):null;let E=-1,_=null;u&&(_=new ResizeObserver(k=>{let[N]=k;N&&N.target===g&&_&&(_.unobserve(t),cancelAnimationFrame(E),E=requestAnimationFrame(()=>{var C;(C=_)==null||C.observe(t)})),r()}),g&&!h&&_.observe(g),_.observe(t));let P,b=h?Co(e):null;h&&S();function S(){const k=Co(e);b&&!aw(b,k)&&r(),b=k,P=requestAnimationFrame(S)}return r(),()=>{var k;y.forEach(N=>{a&&N.removeEventListener("scroll",r),l&&N.removeEventListener("resize",r)}),v==null||v(),(k=_)==null||k.disconnect(),_=null,h&&cancelAnimationFrame(P)}}const OP=tP,AP=nP,jP=JT,LP=oP,IP=ZT,Py=XT,DP=rP,MP=(e,t,r)=>{const s=new Map,a={platform:RP,...r},l={...a.platform,_c:s};return YT(e,t,{...a,platform:l})};var FP=typeof document<"u",zP=function(){},Ol=FP?w.useLayoutEffect:zP;function Vl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,s,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(s=r;s--!==0;)if(!Vl(e[s],t[s]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(s=r;s--!==0;)if(!{}.hasOwnProperty.call(t,a[s]))return!1;for(s=r;s--!==0;){const l=a[s];if(!(l==="_owner"&&e.$$typeof)&&!Vl(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function lw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Oy(e,t){const r=lw(e);return Math.round(t*r)/r}function bd(e){const t=w.useRef(e);return Ol(()=>{t.current=e}),t}function UP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:s=[],platform:a,elements:{reference:l,floating:u}={},transform:d=!0,whileElementsMounted:h,open:g}=e,[y,v]=w.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[E,_]=w.useState(s);Vl(E,s)||_(s);const[P,b]=w.useState(null),[S,k]=w.useState(null),N=w.useCallback(W=>{W!==z.current&&(z.current=W,b(W))},[]),C=w.useCallback(W=>{W!==V.current&&(V.current=W,k(W))},[]),T=l||P,F=u||S,z=w.useRef(null),V=w.useRef(null),B=w.useRef(y),J=h!=null,ee=bd(h),le=bd(a),ve=bd(g),oe=w.useCallback(()=>{if(!z.current||!V.current)return;const W={placement:t,strategy:r,middleware:E};le.current&&(W.platform=le.current),MP(z.current,V.current,W).then(Z=>{const $={...Z,isPositioned:ve.current!==!1};ie.current&&!Vl(B.current,$)&&(B.current=$,Wi.flushSync(()=>{v($)}))})},[E,t,r,le,ve]);Ol(()=>{g===!1&&B.current.isPositioned&&(B.current.isPositioned=!1,v(W=>({...W,isPositioned:!1})))},[g]);const ie=w.useRef(!1);Ol(()=>(ie.current=!0,()=>{ie.current=!1}),[]),Ol(()=>{if(T&&(z.current=T),F&&(V.current=F),T&&F){if(ee.current)return ee.current(T,F,oe);oe()}},[T,F,oe,ee,J]);const ke=w.useMemo(()=>({reference:z,floating:V,setReference:N,setFloating:C}),[N,C]),se=w.useMemo(()=>({reference:T,floating:F}),[T,F]),ce=w.useMemo(()=>{const W={position:r,left:0,top:0};if(!se.floating)return W;const Z=Oy(se.floating,y.x),$=Oy(se.floating,y.y);return d?{...W,transform:"translate("+Z+"px, "+$+"px)",...lw(se.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Z,top:$}},[r,d,se.floating,y.x,y.y]);return w.useMemo(()=>({...y,update:oe,refs:ke,elements:se,floatingStyles:ce}),[y,oe,ke,se,ce])}const BP=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:s,padding:a}=typeof e=="function"?e(r):e;return s&&t(s)?s.current!=null?Py({element:s.current,padding:a}).fn(r):{}:s?Py({element:s,padding:a}).fn(r):{}}}},$P=(e,t)=>({...OP(e),options:[e,t]}),WP=(e,t)=>({...AP(e),options:[e,t]}),VP=(e,t)=>({...DP(e),options:[e,t]}),HP=(e,t)=>({...jP(e),options:[e,t]}),qP=(e,t)=>({...LP(e),options:[e,t]}),QP=(e,t)=>({...IP(e),options:[e,t]}),KP=(e,t)=>({...BP(e),options:[e,t]});var GP="Arrow",cw=w.forwardRef((e,t)=>{const{children:r,width:s=10,height:a=5,...l}=e;return p.jsx(nt.svg,{...l,ref:t,width:s,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});cw.displayName=GP;var YP=cw;function XP(e){const[t,r]=w.useState(void 0);return $t(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const l=a[0];let u,d;if("borderBoxSize"in l){const h=l.borderBoxSize,g=Array.isArray(h)?h[0]:h;u=g.inlineSize,d=g.blockSize}else u=e.offsetWidth,d=e.offsetHeight;r({width:u,height:d})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else r(void 0)},[e]),t}var Qf="Popper",[uw,dw]=zf(Qf),[JP,fw]=uw(Qf),hw=e=>{const{__scopePopper:t,children:r}=e,[s,a]=w.useState(null);return p.jsx(JP,{scope:t,anchor:s,onAnchorChange:a,children:r})};hw.displayName=Qf;var pw="PopperAnchor",mw=w.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:s,...a}=e,l=fw(pw,r),u=w.useRef(null),d=bt(t,u),h=w.useRef(null);return w.useEffect(()=>{const g=h.current;h.current=(s==null?void 0:s.current)||u.current,g!==h.current&&l.onAnchorChange(h.current)}),s?null:p.jsx(nt.div,{...a,ref:d})});mw.displayName=pw;var Kf="PopperContent",[ZP,eO]=uw(Kf),gw=w.forwardRef((e,t)=>{var G,fe,he,Re,Te,Ne;const{__scopePopper:r,side:s="bottom",sideOffset:a=0,align:l="center",alignOffset:u=0,arrowPadding:d=0,avoidCollisions:h=!0,collisionBoundary:g=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:E=!1,updatePositionStrategy:_="optimized",onPlaced:P,...b}=e,S=fw(Kf,r),[k,N]=w.useState(null),C=bt(t,We=>N(We)),[T,F]=w.useState(null),z=XP(T),V=(z==null?void 0:z.width)??0,B=(z==null?void 0:z.height)??0,J=s+(l!=="center"?"-"+l:""),ee=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},le=Array.isArray(g)?g:[g],ve=le.length>0,oe={padding:ee,boundary:le.filter(nO),altBoundary:ve},{refs:ie,floatingStyles:ke,placement:se,isPositioned:ce,middlewareData:W}=UP({strategy:"fixed",placement:J,whileElementsMounted:(...We)=>PP(...We,{animationFrame:_==="always"}),elements:{reference:S.anchor},middleware:[$P({mainAxis:a+B,alignmentAxis:u}),h&&WP({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?VP():void 0,...oe}),h&&HP({...oe}),qP({...oe,apply:({elements:We,rects:Qe,availableWidth:dt,availableHeight:_e})=>{const{width:Ke,height:Wt}=Qe.reference,St=We.floating.style;St.setProperty("--radix-popper-available-width",`${dt}px`),St.setProperty("--radix-popper-available-height",`${_e}px`),St.setProperty("--radix-popper-anchor-width",`${Ke}px`),St.setProperty("--radix-popper-anchor-height",`${Wt}px`)}}),T&&KP({element:T,padding:d}),rO({arrowWidth:V,arrowHeight:B}),E&&QP({strategy:"referenceHidden",...oe})]}),[Z,$]=xw(se),A=_o(P);$t(()=>{ce&&(A==null||A())},[ce,A]);const H=(G=W.arrow)==null?void 0:G.x,we=(fe=W.arrow)==null?void 0:fe.y,xe=((he=W.arrow)==null?void 0:he.centerOffset)!==0,[ye,X]=w.useState();return $t(()=>{k&&X(window.getComputedStyle(k).zIndex)},[k]),p.jsx("div",{ref:ie.setFloating,"data-radix-popper-content-wrapper":"",style:{...ke,transform:ce?ke.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[(Re=W.transformOrigin)==null?void 0:Re.x,(Te=W.transformOrigin)==null?void 0:Te.y].join(" "),...((Ne=W.hide)==null?void 0:Ne.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(ZP,{scope:r,placedSide:Z,onArrowChange:F,arrowX:H,arrowY:we,shouldHideArrow:xe,children:p.jsx(nt.div,{"data-side":Z,"data-align":$,...b,ref:C,style:{...b.style,animation:ce?void 0:"none"}})})})});gw.displayName=Kf;var yw="PopperArrow",tO={top:"bottom",right:"left",bottom:"top",left:"right"},vw=w.forwardRef(function(t,r){const{__scopePopper:s,...a}=t,l=eO(yw,s),u=tO[l.placedSide];return p.jsx("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:p.jsx(YP,{...a,ref:r,style:{...a.style,display:"block"}})})});vw.displayName=yw;function nO(e){return e!==null}var rO=e=>({name:"transformOrigin",options:e,fn(t){var S,k,N;const{placement:r,rects:s,middlewareData:a}=t,u=((S=a.arrow)==null?void 0:S.centerOffset)!==0,d=u?0:e.arrowWidth,h=u?0:e.arrowHeight,[g,y]=xw(r),v={start:"0%",center:"50%",end:"100%"}[y],E=(((k=a.arrow)==null?void 0:k.x)??0)+d/2,_=(((N=a.arrow)==null?void 0:N.y)??0)+h/2;let P="",b="";return g==="bottom"?(P=u?v:`${E}px`,b=`${-h}px`):g==="top"?(P=u?v:`${E}px`,b=`${s.floating.height+h}px`):g==="right"?(P=`${-h}px`,b=u?v:`${_}px`):g==="left"&&(P=`${s.floating.width+h}px`,b=u?v:`${_}px`),{data:{x:P,y:b}}}});function xw(e){const[t,r="center"]=e.split("-");return[t,r]}var oO=hw,sO=mw,iO=gw,aO=vw,lO="Portal",ww=w.forwardRef((e,t)=>{var d;const{container:r,...s}=e,[a,l]=w.useState(!1);$t(()=>l(!0),[]);const u=r||a&&((d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body);return u?rE.createPortal(p.jsx(nt.div,{...s,ref:t}),u):null});ww.displayName=lO;function cO(e){const t=uO(e),r=w.forwardRef((s,a)=>{const{children:l,...u}=s,d=w.Children.toArray(l),h=d.find(fO);if(h){const g=h.props.children,y=d.map(v=>v===h?w.Children.count(g)>1?w.Children.only(null):w.isValidElement(g)?g.props.children:null:v);return p.jsx(t,{...u,ref:a,children:w.isValidElement(g)?w.cloneElement(g,void 0,y):null})}return p.jsx(t,{...u,ref:a,children:l})});return r.displayName=`${e}.Slot`,r}function uO(e){const t=w.forwardRef((r,s)=>{const{children:a,...l}=r;if(w.isValidElement(a)){const u=pO(a),d=hO(l,a.props);return a.type!==w.Fragment&&(d.ref=s?Yi(s,u):u),w.cloneElement(a,d)}return w.Children.count(a)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var dO=Symbol("radix.slottable");function fO(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dO}function hO(e,t){const r={...t};for(const s in t){const a=e[s],l=t[s];/^on[A-Z]/.test(s)?a&&l?r[s]=(...d)=>{const h=l(...d);return a(...d),h}:a&&(r[s]=a):s==="style"?r[s]={...a,...l}:s==="className"&&(r[s]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}function pO(e){var s,a;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var mO=ql[" useInsertionEffect ".trim().toString()]||$t;function Ay({prop:e,defaultProp:t,onChange:r=()=>{},caller:s}){const[a,l,u]=gO({defaultProp:t,onChange:r}),d=e!==void 0,h=d?e:a;{const y=w.useRef(e!==void 0);w.useEffect(()=>{const v=y.current;v!==d&&console.warn(`${s} is changing from ${v?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=d},[d,s])}const g=w.useCallback(y=>{var v;if(d){const E=yO(y)?y(e):y;E!==e&&((v=u.current)==null||v.call(u,E))}else l(y)},[d,e,l,u]);return[h,g]}function gO({defaultProp:e,onChange:t}){const[r,s]=w.useState(e),a=w.useRef(r),l=w.useRef(t);return mO(()=>{l.current=t},[t]),w.useEffect(()=>{var u;a.current!==r&&((u=l.current)==null||u.call(l,r),a.current=r)},[r,a]),[r,s,l]}function yO(e){return typeof e=="function"}function vO(e){const t=w.useRef({value:e,previous:e});return w.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var bw=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),xO="VisuallyHidden",wO=w.forwardRef((e,t)=>p.jsx(nt.span,{...e,ref:t,style:{...bw,...e.style}}));wO.displayName=xO;var bO=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ss=new WeakMap,yl=new WeakMap,vl={},Sd=0,Sw=function(e){return e&&(e.host||Sw(e.parentNode))},SO=function(e,t){return t.map(function(r){if(e.contains(r))return r;var s=Sw(r);return s&&e.contains(s)?s:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},kO=function(e,t,r,s){var a=SO(t,Array.isArray(e)?e:[e]);vl[r]||(vl[r]=new WeakMap);var l=vl[r],u=[],d=new Set,h=new Set(a),g=function(v){!v||d.has(v)||(d.add(v),g(v.parentNode))};a.forEach(g);var y=function(v){!v||h.has(v)||Array.prototype.forEach.call(v.children,function(E){if(d.has(E))y(E);else try{var _=E.getAttribute(s),P=_!==null&&_!=="false",b=(ss.get(E)||0)+1,S=(l.get(E)||0)+1;ss.set(E,b),l.set(E,S),u.push(E),b===1&&P&&yl.set(E,!0),S===1&&E.setAttribute(r,"true"),P||E.setAttribute(s,"true")}catch(k){console.error("aria-hidden: cannot operate on ",E,k)}})};return y(t),d.clear(),Sd++,function(){u.forEach(function(v){var E=ss.get(v)-1,_=l.get(v)-1;ss.set(v,E),l.set(v,_),E||(yl.has(v)||v.removeAttribute(s),yl.delete(v)),_||v.removeAttribute(r)}),Sd--,Sd||(ss=new WeakMap,ss=new WeakMap,yl=new WeakMap,vl={})}},EO=function(e,t,r){r===void 0&&(r="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),a=bO(e);return a?(s.push.apply(s,Array.from(a.querySelectorAll("[aria-live], script"))),kO(s,a,r,"aria-hidden")):function(){return null}},Rn=function(){return Rn=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},Rn.apply(this,arguments)};function kw(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,s=Object.getOwnPropertySymbols(e);a<s.length;a++)t.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(r[s[a]]=e[s[a]]);return r}function _O(e,t,r){if(r||arguments.length===2)for(var s=0,a=t.length,l;s<a;s++)(l||!(s in t))&&(l||(l=Array.prototype.slice.call(t,0,s)),l[s]=t[s]);return e.concat(l||Array.prototype.slice.call(t))}var Al="right-scroll-bar-position",jl="width-before-scroll-bar",CO="with-scroll-bars-hidden",NO="--removed-body-scroll-bar-size";function kd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function RO(e,t){var r=w.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(s){var a=r.value;a!==s&&(r.value=s,r.callback(s,a))}}}})[0];return r.callback=t,r.facade}var TO=typeof window<"u"?w.useLayoutEffect:w.useEffect,jy=new WeakMap;function PO(e,t){var r=RO(null,function(s){return e.forEach(function(a){return kd(a,s)})});return TO(function(){var s=jy.get(r);if(s){var a=new Set(s),l=new Set(e),u=r.current;a.forEach(function(d){l.has(d)||kd(d,null)}),l.forEach(function(d){a.has(d)||kd(d,u)})}jy.set(r,e)},[e]),r}function OO(e){return e}function AO(e,t){t===void 0&&(t=OO);var r=[],s=!1,a={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(l){var u=t(l,s);return r.push(u),function(){r=r.filter(function(d){return d!==u})}},assignSyncMedium:function(l){for(s=!0;r.length;){var u=r;r=[],u.forEach(l)}r={push:function(d){return l(d)},filter:function(){return r}}},assignMedium:function(l){s=!0;var u=[];
vendor: 10,815 bytes, lines 261-301
261if(r.length){var d=r;r=[],d.forEach(l),u=r}var h=function(){var y=u;u=[],y.forEach(l)},g=function(){return Promise.resolve().then(h)};g(),r={push:function(y){u.push(y),g()},filter:function(y){return u=u.filter(y),r}}}};return a}function jO(e){e===void 0&&(e={});var t=AO(null);return t.options=Rn({async:!0,ssr:!1},e),t}var Ew=function(e){var t=e.sideCar,r=kw(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=t.read();if(!s)throw new Error("Sidecar medium not found");return w.createElement(s,Rn({},r))};Ew.isSideCarExport=!0;function LO(e,t){return e.useMedium(t),Ew}var _w=jO(),Ed=function(){},rc=w.forwardRef(function(e,t){var r=w.useRef(null),s=w.useState({onScrollCapture:Ed,onWheelCapture:Ed,onTouchMoveCapture:Ed}),a=s[0],l=s[1],u=e.forwardProps,d=e.children,h=e.className,g=e.removeScrollBar,y=e.enabled,v=e.shards,E=e.sideCar,_=e.noRelative,P=e.noIsolation,b=e.inert,S=e.allowPinchZoom,k=e.as,N=k===void 0?"div":k,C=e.gapMode,T=kw(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),F=E,z=PO([r,t]),V=Rn(Rn({},T),a);return w.createElement(w.Fragment,null,y&&w.createElement(F,{sideCar:_w,removeScrollBar:g,shards:v,noRelative:_,noIsolation:P,inert:b,setCallbacks:l,allowPinchZoom:!!S,lockRef:r,gapMode:C}),u?w.cloneElement(w.Children.only(d),Rn(Rn({},V),{ref:z})):w.createElement(N,Rn({},V,{className:h,ref:z}),d))});rc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};rc.classNames={fullWidth:jl,zeroRight:Al};var IO=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function DO(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=IO();return t&&e.setAttribute("nonce",t),e}function MO(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function FO(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var zO=function(){var e=0,t=null;return{add:function(r){e==0&&(t=DO())&&(MO(t,r),FO(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},UO=function(){var e=zO();return function(t,r){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Cw=function(){var e=UO(),t=function(r){var s=r.styles,a=r.dynamic;return e(s,a),null};return t},BO={left:0,top:0,right:0,gap:0},_d=function(e){return parseInt(e||"",10)||0},$O=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],s=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[_d(r),_d(s),_d(a)]},WO=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return BO;var t=$O(e),r=document.documentElement.clientWidth,s=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,s-r+t[2]-t[0])}},VO=Cw(),us="data-scroll-locked",HO=function(e,t,r,s){var a=e.left,l=e.top,u=e.right,d=e.gap;return r===void 0&&(r="margin"),` 262 .`.concat(CO,` { 263 overflow: hidden `).concat(s,`; 264 padding-right: `).concat(d,"px ").concat(s,`; 265 } 266 body[`).concat(us,`] { 267 overflow: hidden `).concat(s,`; 268 overscroll-behavior: contain; 269 `).concat([t&&"position: relative ".concat(s,";"),r==="margin"&&` 270 padding-left: `.concat(a,`px; 271 padding-top: `).concat(l,`px; 272 padding-right: `).concat(u,`px; 273 margin-left:0; 274 margin-top:0; 275 margin-right: `).concat(d,"px ").concat(s,`; 276 `),r==="padding"&&"padding-right: ".concat(d,"px ").concat(s,";")].filter(Boolean).join(""),` 277 } 278 279 .`).concat(Al,` { 280 right: `).concat(d,"px ").concat(s,`; 281 } 282 283 .`).concat(jl,` { 284 margin-right: `).concat(d,"px ").concat(s,`; 285 } 286 287 .`).concat(Al," .").concat(Al,` { 288 right: 0 `).concat(s,`; 289 } 290 291 .`).concat(jl," .").concat(jl,` { 292 margin-right: 0 `).concat(s,`; 293 } 294 295 body[`).concat(us,`] { 296 `).concat(NO,": ").concat(d,`px; 297 } 298`)},Ly=function(){var e=parseInt(document.body.getAttribute(us)||"0",10);return isFinite(e)?e:0},qO=function(){w.useEffect(function(){return document.body.setAttribute(us,(Ly()+1).toString()),function(){var e=Ly()-1;e<=0?document.body.removeAttribute(us):document.body.setAttribute(us,e.toString())}},[])},QO=function(e){var t=e.noRelative,r=e.noImportant,s=e.gapMode,a=s===void 0?"margin":s;qO();var l=w.useMemo(function(){return WO(a)},[a]);return w.createElement(VO,{styles:HO(l,!t,a,r?"":"!important")})},af=!1;if(typeof window<"u")try{var xl=Object.defineProperty({},"passive",{get:function(){return af=!0,!0}});window.addEventListener("test",xl,xl),window.removeEventListener("test",xl,xl)}catch{af=!1}var is=af?{passive:!1}:!1,KO=function(e){return e.tagName==="TEXTAREA"},Nw=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!KO(e)&&r[t]==="visible")},GO=function(e){return Nw(e,"overflowY")},YO=function(e){return Nw(e,"overflowX")},Iy=function(e,t){var r=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var a=Rw(e,s);if(a){var l=Tw(e,s),u=l[1],d=l[2];if(u>d)return!0}s=s.parentNode}while(s&&s!==r.body);return!1},XO=function(e){var t=e.scrollTop,r=e.scrollHeight,s=e.clientHeight;return[t,r,s]},JO=function(e){var t=e.scrollLeft,r=e.scrollWidth,s=e.clientWidth;return[t,r,s]},Rw=function(e,t){return e==="v"?GO(t):YO(t)},Tw=function(e,t){return e==="v"?XO(t):JO(t)},ZO=function(e,t){return e==="h"&&t==="rtl"?-1:1},eA=function(e,t,r,s,a){var l=ZO(e,window.getComputedStyle(t).direction),u=l*s,d=r.target,h=t.contains(d),g=!1,y=u>0,v=0,E=0;do{if(!d)break;var _=Tw(e,d),P=_[0],b=_[1],S=_[2],k=b-S-l*P;(P||k)&&Rw(e,d)&&(v+=k,E+=P);var N=d.parentNode;d=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!h&&d!==document.body||h&&(t.contains(d)||t===d));return(y&&Math.abs(v)<1||!y&&Math.abs(E)<1)&&(g=!0),g},wl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Dy=function(e){return[e.deltaX,e.deltaY]},My=function(e){return e&&"current"in e?e.current:e},tA=function(e,t){return e[0]===t[0]&&e[1]===t[1]},nA=function(e){return` 299 .block-interactivity-`.concat(e,` {pointer-events: none;} 300 .allow-interactivity-`).concat(e,` {pointer-events: all;} 301`)},rA=0,as=[];function oA(e){var t=w.useRef([]),r=w.useRef([0,0]),s=w.useRef(),a=w.useState(rA++)[0],l=w.useState(Cw)[0],u=w.useRef(e);w.useEffect(function(){u.current=e},[e]),w.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var b=_O([e.lockRef.current],(e.shards||[]).map(My),!0).filter(Boolean);return b.forEach(function(S){return S.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),b.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var d=w.useCallback(function(b,S){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!u.current.allowPinchZoom;var k=wl(b),N=r.current,C="deltaX"in b?b.deltaX:N[0]-k[0],T="deltaY"in b?b.deltaY:N[1]-k[1],F,z=b.target,V=Math.abs(C)>Math.abs(T)?"h":"v";if("touches"in b&&V==="h"&&z.type==="range")return!1;var B=window.getSelection(),J=B&&B.anchorNode,ee=J?J===z||J.contains(z):!1;if(ee)return!1;var le=Iy(V,z);if(!le)return!0;if(le?F=V:(F=V==="v"?"h":"v",le=Iy(V,z)),!le)return!1;if(!s.current&&"changedTouches"in b&&(C||T)&&(s.current=F),!F)return!0;var ve=s.current||F;return eA(ve,S,b,ve==="h"?C:T)},[]),h=w.useCallback(function(b){var S=b;if(!(!as.length||as[as.length-1]!==l)){var k="deltaY"in S?Dy(S):wl(S),N=t.current.filter(function(F){return F.name===S.type&&(F.target===S.target||S.target===F.shadowParent)&&tA(F.delta,k)})[0];if(N&&N.should){S.cancelable&&S.preventDefault();return}if(!N){var C=(u.current.shards||[]).map(My).filter(Boolean).filter(function(F){return F.contains(S.target)}),T=C.length>0?d(S,C[0]):!u.current.noIsolation;T&&S.cancelable&&S.preventDefault()}}},[]),g=w.useCallback(function(b,S,k,N){var C={name:b,delta:S,target:k,should:N,shadowParent:sA(k)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(T){return T!==C})},1)},[]),y=w.useCallback(function(b){r.current=wl(b),s.current=void 0},[]),v=w.useCallback(function(b){g(b.type,Dy(b),b.target,d(b,e.lockRef.current))},[]),E=w.useCallback(function(b){g(b.type,wl(b),b.target,d(b,e.lockRef.current))},[]);w.useEffect(function(){return as.push(l),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:E}),document.addEventListener("wheel",h,is),document.addEventListener("touchmove",h,is),document.addEventListener("touchstart",y,is),function(){as=as.filter(function(b){return b!==l}),document.removeEventListener("wheel",h,is),document.removeEventListener("touchmove",h,is),document.removeEventListener("touchstart",y,is)}},[]);var _=e.removeScrollBar,P=e.inert;return w.createElement(w.Fragment,null,P?w.createElement(l,{styles:nA(a)}):null,_?w.createElement(QO,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function sA(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const iA=LO(_w,oA);var Pw=w.forwardRef(function(e,t){return w.createElement(rc,Rn({},e,{ref:t,sideCar:iA}))});Pw.classNames=rc.classNames;var aA=[" ","Enter","ArrowUp","ArrowDown"],lA=[" ","Enter"],No="Select",[oc,sc,cA]=cT(No),[Ls]=zf(No,[cA,dw]),ic=dw(),[uA,$r]=Ls(No),[dA,fA]=Ls(No),Ow=e=>{const{__scopeSelect:t,children:r,open:s,defaultOpen:a,onOpenChange:l,value:u,defaultValue:d,onValueChange:h,dir:g,name:y,autoComplete:v,disabled:E,required:_,form:P}=e,b=ic(t),[S,k]=w.useState(null),[N,C]=w.useState(null),[T,F]=w.useState(!1),z=dT(g),[V,B]=Ay({prop:s,defaultProp:a??!1,onChange:l,caller:No}),[J,ee]=Ay({prop:u,defaultProp:d,onChange:h,caller:No}),le=w.useRef(null),ve=S?P||!!S.closest("form"):!0,[oe,ie]=w.useState(new Set),ke=Array.from(oe).map(se=>se.props.value).join(";");return p.jsx(oO,{...b,children:p.jsxs(uA,{required:_,scope:t,trigger:S,onTriggerChange:k,valueNode:N,onValueNodeChange:C,valueNodeHasChildren:T,onValueNodeHasChildrenChange:F,contentId:Uf(),value:J,onValueChange:ee,open:V,onOpenChange:B,dir:z,triggerPointerDownPosRef:le,disabled:E,children:[p.jsx(oc.Provider,{scope:t,children:p.jsx(dA,{scope:e.__scopeSelect,onNativeOptionAdd:w.useCallback(se=>{ie(ce=>new Set(ce).add(se))},[]),onNativeOptionRemove:w.useCallback(se=>{ie(ce=>{const W=new Set(ce);return W.delete(se),W})},[]),children:r})}),ve?p.jsxs(t0,{"aria-hidden":!0,required:_,tabIndex:-1,name:y,autoComplete:v,value:J,onChange:se=>ee(se.target.value),disabled:E,form:P,children:[J===void 0?p.jsx("option",{value:""}):null,Array.from(oe)]},ke):null]})})};Ow.displayName=No;var Aw="SelectTrigger",jw=w.forwardRef((e,t)=>
vendor: 18,160 bytes, line 301
301{const{__scopeSelect:r,disabled:s=!1,...a}=e,l=ic(r),u=$r(Aw,r),d=u.disabled||s,h=bt(t,u.onTriggerChange),g=sc(r),y=w.useRef("touch"),[v,E,_]=r0(b=>{const S=g().filter(C=>!C.disabled),k=S.find(C=>C.value===u.value),N=o0(S,b,k);N!==void 0&&u.onValueChange(N.value)}),P=b=>{d||(u.onOpenChange(!0),_()),b&&(u.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)})};return p.jsx(sO,{asChild:!0,...l,children:p.jsx(nt.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":n0(u.value)?"":void 0,...a,ref:h,onClick:ot(a.onClick,b=>{b.currentTarget.focus(),y.current!=="mouse"&&P(b)}),onPointerDown:ot(a.onPointerDown,b=>{y.current=b.pointerType;const S=b.target;S.hasPointerCapture(b.pointerId)&&S.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&b.pointerType==="mouse"&&(P(b),b.preventDefault())}),onKeyDown:ot(a.onKeyDown,b=>{const S=v.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&E(b.key),!(S&&b.key===" ")&&aA.includes(b.key)&&(P(),b.preventDefault())})})})});jw.displayName=Aw;var Lw="SelectValue",Iw=w.forwardRef((e,t)=>{const{__scopeSelect:r,className:s,style:a,children:l,placeholder:u="",...d}=e,h=$r(Lw,r),{onValueNodeHasChildrenChange:g}=h,y=l!==void 0,v=bt(t,h.onValueNodeChange);return $t(()=>{g(y)},[g,y]),p.jsx(nt.span,{...d,ref:v,style:{pointerEvents:"none"},children:n0(h.value)?p.jsx(p.Fragment,{children:u}):l})});Iw.displayName=Lw;var hA="SelectIcon",Dw=w.forwardRef((e,t)=>{const{__scopeSelect:r,children:s,...a}=e;return p.jsx(nt.span,{"aria-hidden":!0,...a,ref:t,children:s||"â¼"})});Dw.displayName=hA;var pA="SelectPortal",Mw=e=>p.jsx(ww,{asChild:!0,...e});Mw.displayName=pA;var Ro="SelectContent",Fw=w.forwardRef((e,t)=>{const r=$r(Ro,e.__scopeSelect),[s,a]=w.useState();if($t(()=>{a(new DocumentFragment)},[]),!r.open){const l=s;return l?Wi.createPortal(p.jsx(zw,{scope:e.__scopeSelect,children:p.jsx(oc.Slot,{scope:e.__scopeSelect,children:p.jsx("div",{children:e.children})})}),l):null}return p.jsx(Uw,{...e,ref:t})});Fw.displayName=Ro;var hn=10,[zw,Wr]=Ls(Ro),mA="SelectContentImpl",gA=cO("SelectContent.RemoveScroll"),Uw=w.forwardRef((e,t)=>{const{__scopeSelect:r,position:s="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:l,onPointerDownOutside:u,side:d,sideOffset:h,align:g,alignOffset:y,arrowPadding:v,collisionBoundary:E,collisionPadding:_,sticky:P,hideWhenDetached:b,avoidCollisions:S,...k}=e,N=$r(Ro,r),[C,T]=w.useState(null),[F,z]=w.useState(null),V=bt(t,G=>T(G)),[B,J]=w.useState(null),[ee,le]=w.useState(null),ve=sc(r),[oe,ie]=w.useState(!1),ke=w.useRef(!1);w.useEffect(()=>{if(C)return EO(C)},[C]),RT();const se=w.useCallback(G=>{const[fe,...he]=ve().map(Ne=>Ne.ref.current),[Re]=he.slice(-1),Te=document.activeElement;for(const Ne of G)if(Ne===Te||(Ne==null||Ne.scrollIntoView({block:"nearest"}),Ne===fe&&F&&(F.scrollTop=0),Ne===Re&&F&&(F.scrollTop=F.scrollHeight),Ne==null||Ne.focus(),document.activeElement!==Te))return},[ve,F]),ce=w.useCallback(()=>se([B,C]),[se,B,C]);w.useEffect(()=>{oe&&ce()},[oe,ce]);const{onOpenChange:W,triggerPointerDownPosRef:Z}=N;w.useEffect(()=>{if(C){let G={x:0,y:0};const fe=Re=>{var Te,Ne;G={x:Math.abs(Math.round(Re.pageX)-(((Te=Z.current)==null?void 0:Te.x)??0)),y:Math.abs(Math.round(Re.pageY)-(((Ne=Z.current)==null?void 0:Ne.y)??0))}},he=Re=>{G.x<=10&&G.y<=10?Re.preventDefault():C.contains(Re.target)||W(!1),document.removeEventListener("pointermove",fe),Z.current=null};return Z.current!==null&&(document.addEventListener("pointermove",fe),document.addEventListener("pointerup",he,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",fe),document.removeEventListener("pointerup",he,{capture:!0})}}},[C,W,Z]),w.useEffect(()=>{const G=()=>W(!1);return window.addEventListener("blur",G),window.addEventListener("resize",G),()=>{window.removeEventListener("blur",G),window.removeEventListener("resize",G)}},[W]);const[$,A]=r0(G=>{const fe=ve().filter(Te=>!Te.disabled),he=fe.find(Te=>Te.ref.current===document.activeElement),Re=o0(fe,G,he);Re&&setTimeout(()=>Re.ref.current.focus())}),H=w.useCallback((G,fe,he)=>{const Re=!ke.current&&!he;(N.value!==void 0&&N.value===fe||Re)&&(J(G),Re&&(ke.current=!0))},[N.value]),we=w.useCallback(()=>C==null?void 0:C.focus(),[C]),xe=w.useCallback((G,fe,he)=>{const Re=!ke.current&&!he;(N.value!==void 0&&N.value===fe||Re)&&le(G)},[N.value]),ye=s==="popper"?lf:Bw,X=ye===lf?{side:d,sideOffset:h,align:g,alignOffset:y,arrowPadding:v,collisionBoundary:E,collisionPadding:_,sticky:P,hideWhenDetached:b,avoidCollisions:S}:{};return p.jsx(zw,{scope:r,content:C,viewport:F,onViewportChange:z,itemRefCallback:H,selectedItem:B,onItemLeave:we,itemTextRefCallback:xe,focusSelectedItem:ce,selectedItemText:ee,position:s,isPositioned:oe,searchRef:$,children:p.jsx(Pw,{as:gA,allowPinchZoom:!0,children:p.jsx(Yx,{asChild:!0,trapped:N.open,onMountAutoFocus:G=>{G.preventDefault()},onUnmountAutoFocus:ot(a,G=>{var fe;(fe=N.trigger)==null||fe.focus({preventScroll:!0}),G.preventDefault()}),children:p.jsx(Kx,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:G=>G.preventDefault(),onDismiss:()=>N.onOpenChange(!1),children:p.jsx(ye,{role:"listbox",id:N.contentId,"data-state":N.open?"open":"closed",dir:N.dir,onContextMenu:G=>G.preventDefault(),...k,...X,onPlaced:()=>ie(!0),ref:V,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:ot(k.onKeyDown,G=>{const fe=G.ctrlKey||G.altKey||G.metaKey;if(G.key==="Tab"&&G.preventDefault(),!fe&&G.key.length===1&&A(G.key),["ArrowUp","ArrowDown","Home","End"].includes(G.key)){let Re=ve().filter(Te=>!Te.disabled).map(Te=>Te.ref.current);if(["ArrowUp","End"].includes(G.key)&&(Re=Re.slice().reverse()),["ArrowUp","ArrowDown"].includes(G.key)){const Te=G.target,Ne=Re.indexOf(Te);Re=Re.slice(Ne+1)}setTimeout(()=>se(Re)),G.preventDefault()}})})})})})})});Uw.displayName=mA;var yA="SelectItemAlignedPosition",Bw=w.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:s,...a}=e,l=$r(Ro,r),u=Wr(Ro,r),[d,h]=w.useState(null),[g,y]=w.useState(null),v=bt(t,V=>y(V)),E=sc(r),_=w.useRef(!1),P=w.useRef(!0),{viewport:b,selectedItem:S,selectedItemText:k,focusSelectedItem:N}=u,C=w.useCallback(()=>{if(l.trigger&&l.valueNode&&d&&g&&b&&S&&k){const V=l.trigger.getBoundingClientRect(),B=g.getBoundingClientRect(),J=l.valueNode.getBoundingClientRect(),ee=k.getBoundingClientRect();if(l.dir!=="rtl"){const Te=ee.left-B.left,Ne=J.left-Te,We=V.left-Ne,Qe=V.width+We,dt=Math.max(Qe,B.width),_e=window.innerWidth-hn,Ke=fy(Ne,[hn,Math.max(hn,_e-dt)]);d.style.minWidth=Qe+"px",d.style.left=Ke+"px"}else{const Te=B.right-ee.right,Ne=window.innerWidth-J.right-Te,We=window.innerWidth-V.right-Ne,Qe=V.width+We,dt=Math.max(Qe,B.width),_e=window.innerWidth-hn,Ke=fy(Ne,[hn,Math.max(hn,_e-dt)]);d.style.minWidth=Qe+"px",d.style.right=Ke+"px"}const le=E(),ve=window.innerHeight-hn*2,oe=b.scrollHeight,ie=window.getComputedStyle(g),ke=parseInt(ie.borderTopWidth,10),se=parseInt(ie.paddingTop,10),ce=parseInt(ie.borderBottomWidth,10),W=parseInt(ie.paddingBottom,10),Z=ke+se+oe+W+ce,$=Math.min(S.offsetHeight*5,Z),A=window.getComputedStyle(b),H=parseInt(A.paddingTop,10),we=parseInt(A.paddingBottom,10),xe=V.top+V.height/2-hn,ye=ve-xe,X=S.offsetHeight/2,G=S.offsetTop+X,fe=ke+se+G,he=Z-fe;if(fe<=xe){const Te=le.length>0&&S===le[le.length-1].ref.current;d.style.bottom="0px";const Ne=g.clientHeight-b.offsetTop-b.offsetHeight,We=Math.max(ye,X+(Te?we:0)+Ne+ce),Qe=fe+We;d.style.height=Qe+"px"}else{const Te=le.length>0&&S===le[0].ref.current;d.style.top="0px";const We=Math.max(xe,ke+b.offsetTop+(Te?H:0)+X)+he;d.style.height=We+"px",b.scrollTop=fe-xe+b.offsetTop}d.style.margin=`${hn}px 0`,d.style.minHeight=$+"px",d.style.maxHeight=ve+"px",s==null||s(),requestAnimationFrame(()=>_.current=!0)}},[E,l.trigger,l.valueNode,d,g,b,S,k,l.dir,s]);$t(()=>C(),[C]);const[T,F]=w.useState();$t(()=>{g&&F(window.getComputedStyle(g).zIndex)},[g]);const z=w.useCallback(V=>{V&&P.current===!0&&(C(),N==null||N(),P.current=!1)},[C,N]);return p.jsx(xA,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:_,onScrollButtonChange:z,children:p.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:p.jsx(nt.div,{...a,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});Bw.displayName=yA;var vA="SelectPopperPosition",lf=w.forwardRef((e,t)=>{const{__scopeSelect:r,align:s="start",collisionPadding:a=hn,...l}=e,u=ic(r);return p.jsx(iO,{...u,...l,ref:t,align:s,collisionPadding:a,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});lf.displayName=vA;var[xA,Gf]=Ls(Ro,{}),cf="SelectViewport",$w=w.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:s,...a}=e,l=Wr(cf,r),u=Gf(cf,r),d=bt(t,l.onViewportChange),h=w.useRef(0);return p.jsxs(p.Fragment,{children:[p.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),p.jsx(oc.Slot,{scope:r,children:p.jsx(nt.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:ot(a.onScroll,g=>{const y=g.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:E}=u;if(E!=null&&E.current&&v){const _=Math.abs(h.current-y.scrollTop);if(_>0){const P=window.innerHeight-hn*2,b=parseFloat(v.style.minHeight),S=parseFloat(v.style.height),k=Math.max(b,S);if(k<P){const N=k+_,C=Math.min(P,N),T=N-C;v.style.height=C+"px",v.style.bottom==="0px"&&(y.scrollTop=T>0?T:0,v.style.justifyContent="flex-end")}}}h.current=y.scrollTop})})})]})});$w.displayName=cf;var Ww="SelectGroup",[wA,bA]=Ls(Ww),SA=w.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e,a=Uf();return p.jsx(wA,{scope:r,id:a,children:p.jsx(nt.div,{role:"group","aria-labelledby":a,...s,ref:t})})});SA.displayName=Ww;var Vw="SelectLabel",Hw=w.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e,a=bA(Vw,r);return p.jsx(nt.div,{id:a.id,...s,ref:t})});Hw.displayName=Vw;var Hl="SelectItem",[kA,qw]=Ls(Hl),Qw=w.forwardRef((e,t)=>{const{__scopeSelect:r,value:s,disabled:a=!1,textValue:l,...u}=e,d=$r(Hl,r),h=Wr(Hl,r),g=d.value===s,[y,v]=w.useState(l??""),[E,_]=w.useState(!1),P=bt(t,N=>{var C;return(C=h.itemRefCallback)==null?void 0:C.call(h,N,s,a)}),b=Uf(),S=w.useRef("touch"),k=()=>{a||(d.onValueChange(s),d.onOpenChange(!1))};if(s==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return p.jsx(kA,{scope:r,value:s,disabled:a,textId:b,isSelected:g,onItemTextChange:w.useCallback(N=>{v(C=>C||((N==null?void 0:N.textContent)??"").trim())},[]),children:p.jsx(oc.ItemSlot,{scope:r,value:s,disabled:a,textValue:y,children:p.jsx(nt.div,{role:"option","aria-labelledby":b,"data-highlighted":E?"":void 0,"aria-selected":g&&E,"data-state":g?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...u,ref:P,onFocus:ot(u.onFocus,()=>_(!0)),onBlur:ot(u.onBlur,()=>_(!1)),onClick:ot(u.onClick,()=>{S.current!=="mouse"&&k()}),onPointerUp:ot(u.onPointerUp,()=>{S.current==="mouse"&&k()}),onPointerDown:ot(u.onPointerDown,N=>{S.current=N.pointerType}),onPointerMove:ot(u.onPointerMove,N=>{var C;S.current=N.pointerType,a?(C=h.onItemLeave)==null||C.call(h):S.current==="mouse"&&N.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ot(u.onPointerLeave,N=>{var C;N.currentTarget===document.activeElement&&((C=h.onItemLeave)==null||C.call(h))}),onKeyDown:ot(u.onKeyDown,N=>{var T;((T=h.searchRef)==null?void 0:T.current)!==""&&N.key===" "||(lA.includes(N.key)&&k(),N.key===" "&&N.preventDefault())})})})})});Qw.displayName=Hl;var Ri="SelectItemText",Kw=w.forwardRef((e,t)=>{const{__scopeSelect:r,className:s,style:a,...l}=e,u=$r(Ri,r),d=Wr(Ri,r),h=qw(Ri,r),g=fA(Ri,r),[y,v]=w.useState(null),E=bt(t,k=>v(k),h.onItemTextChange,k=>{var N;return(N=d.itemTextRefCallback)==null?void 0:N.call(d,k,h.value,h.disabled)}),_=y==null?void 0:y.textContent,P=w.useMemo(()=>p.jsx("option",{value:h.value,disabled:h.disabled,children:_},h.value),[h.disabled,h.value,_]),{onNativeOptionAdd:b,onNativeOptionRemove:S}=g;return $t(()=>(b(P),()=>S(P)),[b,S,P]),p.jsxs(p.Fragment,{children:[p.jsx(nt.span,{id:h.textId,...l,ref:E}),h.isSelected&&u.valueNode&&!u.valueNodeHasChildren?Wi.createPortal(l.children,u.valueNode):null]})});Kw.displayName=Ri;var Gw="SelectItemIndicator",Yw=w.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e;return qw(Gw,r).isSelected?p.jsx(nt.span,{"aria-hidden":!0,...s,ref:t}):null});Yw.displayName=Gw;var uf="SelectScrollUpButton",Xw=w.forwardRef((e,t)=>{const r=Wr(uf,e.__scopeSelect),s=Gf(uf,e.__scopeSelect),[a,l]=w.useState(!1),u=bt(t,s.onScrollButtonChange);return $t(()=>{if(r.viewport&&r.isPositioned){let d=function(){const g=h.scrollTop>0;l(g)};const h=r.viewport;return d(),h.addEventListener("scroll",d),()=>h.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),a?p.jsx(Zw,{...e,ref:u,onAutoScroll:()=>{const{viewport:d,selectedItem:h}=r;d&&h&&(d.scrollTop=d.scrollTop-h.offsetHeight)}}):null});Xw.displayName=uf;var df="SelectScrollDownButton",Jw=w.forwardRef((e,t)=>{const r=Wr(df,e.__scopeSelect),s=Gf(df,e.__scopeSelect),[a,l]=w.useState(!1),u=bt(t,s.onScrollButtonChange);return $t(()=>{if(r.viewport&&r.isPositioned){let d=function(){const g=h.scrollHeight-h.clientHeight,y=Math.ceil(h.scrollTop)<g;l(y)};const h=r.viewport;return d(),h.addEventListener("scroll",d),()=>h.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),a?p.jsx(Zw,{...e,ref:u,onAutoScroll:()=>{const{viewport:d,selectedItem:h}=r;d&&h&&(d.scrollTop=d.scrollTop+h.offsetHeight)}}):null});Jw.displayName=df;var Zw=w.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:s,...a}=e,l=Wr("SelectScrollButton",r),u=w.useRef(null),d=sc(r),h=w.useCallback(()=>{u.current!==null&&(window.clearInterval(u.current),u.current=null)},[]);return w.useEffect(()=>()=>h(),[h]),$t(()=>{var y;const g=d().find(v=>v.ref.current===document.activeElement);(y=g==null?void 0:g.ref.current)==null||y.scrollIntoView({block:"nearest"})},[d]),p.jsx(nt.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:ot(a.onPointerDown,()=>{u.current===null&&(u.current=window.setInterval(s,50))}),onPointerMove:ot(a.onPointerMove,()=>{var g;(g=l.onItemLeave)==null||g.call(l),u.current===null&&(u.current=window.setInterval(s,50))}),onPointerLeave:ot(a.onPointerLeave,()=>{h()})})}),EA="SelectSeparator",e0=w.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e;return p.jsx(nt.div,{"aria-hidden":!0,...s,ref:t})});e0.displayName=EA;var ff="SelectArrow",_A=w.forwardRef((e,t)=>{const{__scopeSelect:r,...s}=e,a=ic(r),l=$r(ff,r),u=Wr(ff,r);return l.open&&u.position==="popper"?p.jsx(aO,{...a,...s,ref:t}):null});_A.displayName=ff;var CA="SelectBubbleInput",t0=w.forwardRef(({__scopeSelect:e,value:t,...r},s)=>{const a=w.useRef(null),l=bt(s,a),u=vO(t);return w.useEffect(()=>{const d=a.current;if(!d)return;const h=window.HTMLSelectElement.prototype,y=Object.getOwnPropertyDescriptor(h,"value").set;if(u!==t&&y){const v=new Event("change",{bubbles:!0});y.call(d,t),d.dispatchEvent(v)}},[u,t]),p.jsx(nt.select,{...r,style:{...bw,...r.style},ref:l,defaultValue:t})});t0.displayName=CA;function n0(e){return e===""||e===void 0}function r0(e){const t=_o(e),r=w.useRef(""),s=w.useRef(0),a=w.useCallback(u=>{const d=r.current+u;t(d),(function h(g){r.current=g,window.clearTimeout(s.current),g!==""&&(s.current=window.setTimeout(()=>h(""),1e3))})(d)},[t]),l=w.useCallback(()=>{r.current="",window.clearTimeout(s.current)},[]);return w.useEffect(()=>()=>window.clearTimeout(s.current),[]),[r,a,l]}function o0(e,t,r){const a=t.length>1&&Array.from(t).every(g=>g===t[0])?t[0]:t,l=r?e.indexOf(r):-1;let u=NA(e,Math.max(l,0));a.length===1&&(u=u.filter(g=>g!==r));const h=u.find(g=>g.textValue.toLowerCase().startsWith(a.toLowerCase()));return h!==r?h:void 0}function NA(e,t){return e.map((r,s)=>e[(t+s)%e.length])}var RA=Ow,s0=jw,TA=Iw,PA=Dw,OA=Mw,i0=Fw,AA=$w,a0=Hw,l0=Qw,jA=Kw,LA=Yw,c0=Xw,u0=Jw,d0=e0;const IA=RA,DA=TA,f0=w.forwardRef(({className:e,children:t,...r},s)=>p.jsxs(s0,{ref:s,className:ut("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,p.jsx(PA,{asChild:!0,children:p.jsx(tv,{className:"h-4 w-4 opacity-50"})})]}));f0.displayName=s0.displayName;const h0=w.forwardRef(({className:e,...t},r)=>p.jsx(c0,{ref:r,className:ut("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(B1,{className:"h-4 w-4"})}));h0.displayName=c0.displayName;const p0=w.forwardRef(({className:e,...t},r)=>p.jsx(u0,{ref:r,className:ut("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(tv,{className:"h-4 w-4"})}));p0.displayName=u0.displayName;const m0=w.forwardRef(({className:e,children:t,position:r="popper",...s},a)=>p.jsx(OA,{children:p.jsxs(i0,{ref:a,className:ut("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
301de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...s,children:[p.jsx(h0,{}),p.jsx(AA,{className:ut("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),p.jsx(p0,{})]})}));m0.displayName=i0.displayName;const MA=w.forwardRef(({className:e,...t},r)=>p.jsx(a0,{ref:r,className:ut("px-2 py-1.5 text-sm font-semibold",e),...t}));MA.displayName=a0.displayName;const io=w.forwardRef(({className:e,children:t,...r},s)=>p.jsxs(l0,{ref:s,className:ut("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[p.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:p.jsx(LA,{children:p.jsx(ev,{className:"h-4 w-4"})})}),p.jsx(jA,{children:t})]}));io.displayName=l0.displayName;const FA=w.forwardRef(({className:e,...t},r)=>p.jsx(d0,{ref:r,className:ut("-mx-1 my-1 h-px bg-muted",e),...t}));FA.displayName=d0.displayName;function zA(){const[e,t]=w.useState({company_name:"",contact_email:"",phone:"",asset_type:"OTC Markets",description:""}),[r,s]=w.useState(!1),[a,l]=w.useState(!1),[u,d]=w.useState(""),h=y=>v=>t({...e,[y]:v.target.value}),g=async y=>{y.preventDefault(),s(!0),d("");try{await co.entities.TokenizationInquiry.create(e),await co.integrations.Core.SendEmail({to:"[email protected]",subject:`New Tokenization Inquiry â ${e.company_name||"Unknown Company"}`,body:["A new tokenization inquiry has been submitted through the website.","",`Company: ${e.company_name||"Not provided"}`,`Email: ${e.contact_email}`,`Phone: ${e.phone||"Not provided"}`,`Asset Type: ${e.asset_type}`,"","Description:",e.description].join(` 302`)}),l(!0)}catch{d("Something went wrong. Please try again or email us directly.")}finally{s(!1)}};return p.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[p.jsx(Ps,{}),p.jsx("main",{className:"flex-1 pt-36 pb-24",children:p.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[p.jsx("h1",{className:"text-4xl md:text-5xl font-extrabold font-heading text-foreground mb-8 tracking-tight",children:"Contact Decentral Life"}),p.jsx("div",{className:"h-1 w-20 bg-primary rounded-full mb-10"}),p.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[p.jsxs("div",{className:"space-y-8",children:[p.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed font-medium",children:"Ready to explore tokenizing your securities? Reach out to our team to schedule a consultation. We will walk you through the regulatory pathways, technical infrastructure, and market access options available for your specific situation."}),p.jsxs("div",{className:"space-y-4",children:[p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center",children:p.jsx(ov,{className:"w-6 h-6 text-primary"})}),p.jsxs("div",{children:[p.jsx("p",{className:"font-bold text-foreground",children:"Email"}),p.jsx("a",{href:"mailto:[email protected]",className:"text-muted-foreground hover:text-primary transition-colors",children:"[email protected]"})]})]}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center",children:p.jsx(sv,{className:"w-6 h-6 text-primary"})}),p.jsxs("div",{children:[p.jsx("p",{className:"font-bold text-foreground",children:"Phone"}),p.jsx("a",{href:"tel:+18559333277",className:"text-muted-foreground hover:text-primary transition-colors",children:"+1 (855) 933-3277"})]})]}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center",children:p.jsx(iS,{className:"w-6 h-6 text-primary"})}),p.jsxs("div",{children:[p.jsx("p",{className:"font-bold text-foreground",children:"Website"}),p.jsx("a",{href:"https://www.decentral-life.com/",className:"text-muted-foreground hover:text-primary transition-colors",children:"www.decentral-life.com"})]})]})]})]}),p.jsx("div",{children:a?p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground mb-4",children:"Thank You!"}),p.jsx("p",{className:"text-muted-foreground mb-6",children:"Your inquiry has been received. A member of our team will reach out shortly."}),p.jsx(An,{to:"/",children:p.jsx(tf,{children:"Back to Home"})})]}):p.jsxs("form",{onSubmit:g,className:"rounded-2xl border border-border bg-card p-8 space-y-5",children:[p.jsxs("div",{className:"space-y-2",children:[p.jsx(ls,{htmlFor:"company_name",children:"Company Name"}),p.jsx(Pl,{id:"company_name",value:e.company_name,onChange:h("company_name"),placeholder:"Your company"})]}),p.jsxs("div",{className:"space-y-2",children:[p.jsx(ls,{htmlFor:"contact_email",children:"Email *"}),p.jsx(Pl,{id:"contact_email",type:"email",required:!0,value:e.contact_email,onChange:h("contact_email"),placeholder:"[email protected]"})]}),p.jsxs("div",{className:"space-y-2",children:[p.jsx(ls,{htmlFor:"phone",children:"Phone"}),p.jsx(Pl,{id:"phone",value:e.phone,onChange:h("phone"),placeholder:"+1 (855) 933-3277"})]}),p.jsxs("div",{className:"space-y-2",children:[p.jsx(ls,{htmlFor:"asset_type",children:"Asset Type"}),p.jsxs(IA,{value:e.asset_type,onValueChange:y=>t({...e,asset_type:y}),children:[p.jsx(f0,{id:"asset_type",children:p.jsx(DA,{})}),p.jsxs(m0,{children:[p.jsx(io,{value:"OTC Markets",children:"OTC Markets"}),p.jsx(io,{value:"NASDAQ",children:"NASDAQ"}),p.jsx(io,{value:"NYSE",children:"NYSE"}),p.jsx(io,{value:"Private Security",children:"Private Security"}),p.jsx(io,{value:"Real World Asset",children:"Real World Asset"}),p.jsx(io,{value:"Other",children:"Other"})]})]})]}),p.jsxs("div",{className:"space-y-2",children:[p.jsx(ls,{htmlFor:"description",children:"How can we help? *"}),p.jsx(Vx,{id:"description",required:!0,value:e.description,onChange:h("description"),placeholder:"Tell us about your tokenization goals...",rows:4})]}),u&&p.jsx("p",{className:"text-destructive text-sm font-medium",children:u}),p.jsx(tf,{type:"submit",disabled:r,className:"w-full",children:r?"Submitting...":"Submit Inquiry"})]})})]})]})}),p.jsx(Os,{})]})}function UA(){return p.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[p.jsx(Ps,{}),p.jsx("main",{className:"flex-1 pt-36 pb-24",children:p.jsxs("article",{className:"max-w-4xl mx-auto px-6",children:[p.jsx("h1",{className:"text-4xl md:text-5xl font-extrabold font-heading text-foreground mb-8 tracking-tight",children:"How Security Tokenization Works"}),p.jsx("div",{className:"h-1 w-20 bg-primary rounded-full mb-10"}),p.jsx("div",{className:"rounded-2xl overflow-hidden shadow-[0_20px_40px_-15px_rgba(0,0,0,0.2)] border border-border/60 mb-10 aspect-[21/9]",children:p.jsx(Fr,{src:"https://media.base44.com/images/public/6a65a748247e0f7ae36aa609/1f074c3d0_generated_image.png",alt:"Traditional securities transforming into digital blockchain tokens",className:"w-full h-full",fittingType:"fill"})}),p.jsxs("div",{className:"space-y-6 text-muted-foreground text-lg leading-relaxed font-medium",children:[p.jsx("p",{children:"Security tokenization is the process of converting ownership rights in a traditional security â such as shares of stock in a publicly traded company â into a digital token recorded on a blockchain. Unlike cryptocurrencies, which are native digital assets, security tokens represent ownership in an underlying real-world asset and are subject to the full breadth of federal and state securities laws. In January 2026, the SEC's Division of Corporation Finance reaffirmed in its Statement on Tokenized Securities that an issuer may tokenize a security by issuing it in the format of a crypto asset, and that any sale of such a security must be registered with the Commission or qualify for an exemption â the same framework established under the Securities Act of 1933 and the Securities Exchange Act of 1934."}),p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground pt-4",children:"A Historic Regulatory Turning Point"}),p.jsx("p",{children:`The regulatory landscape has shifted dramatically in favor of tokenized securities. In March 2026, the SEC approved N
302asdaq's proposal (SR-NASDAQ-2025-072) to allow certain stocks and exchange-traded funds to trade in tokenized form â with tokenized shares trading alongside traditional shares on the same order book and at the same price. Just one month later, in April 2026, the SEC approved the New York Stock Exchange's rule change (SR-NYSE-2026-17), adopting NYSE Rule 7.50 to enable the listing and trading of tokenized securities on the world's largest stock exchange. The SEC is also preparing an "innovation exemption" framework for tokenized stocks, signaling that blockchain-based equity trading is becoming a permanent feature of U.S. capital markets.`}),p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground pt-4",children:"A Rapidly Expanding Market"}),p.jsx("p",{children:"The numbers tell a compelling story. The total value of tokenized real-world assets on-chain grew from approximately $21 billion at the start of 2026 to roughly $27.5 billion by the end of the first quarter â a 30% increase in just three months, and a 263% increase over 2024 levels. Tokenized U.S. Treasuries surpassed $13 billion, led by products from BlackRock, Franklin Templeton, Circle, and WisdomTree. Tokenized equities approached the $1 billion mark by March 2026, up from roughly $424 million in mid-2025, with overall tokenized stock market capitalization exceeding $6.4 billion when including offshore products. Industry forecasts project the broader asset tokenization market growing from approximately $3 trillion in 2026 to nearly $19 trillion by 2031."}),p.jsx("div",{className:"rounded-2xl overflow-hidden shadow-[0_20px_40px_-15px_rgba(0,0,0,0.2)] border border-border/60 my-8 aspect-[21/9]",children:p.jsx(Fr,{src:"https://media.base44.com/images/public/6a65a748247e0f7ae36aa609/2d2ac818f_generated_image.png",alt:"Stock exchange trading floor merged with blockchain network visualization",className:"w-full h-full",fittingType:"fill"})}),p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground pt-4",children:"The Tokenization Process"}),p.jsx("p",{children:"The tokenization journey begins with a thorough regulatory assessment. For publicly traded companies listed on OTC Markets, NASDAQ, or NYSE, this means evaluating the existing registration status, shareholder base, and applicable exemptions. Issuers may pursue a new security registration, a dual listing that allows the token to trade alongside traditional shares, or a derivative token structure backed by the underlying equity. Each pathway carries distinct SEC filing requirements, disclosure obligations, and ongoing reporting commitments that must be satisfied before and after the token launches."}),p.jsx("p",{children:"Once the regulatory foundation is established, the technical infrastructure is deployed. Smart contracts are coded to enforce compliance rules directly within the token itself â restricting transfers to verified investors, enforcing holding periods, and automating cap table management. These contracts are deployed on enterprise-grade blockchain networks that support multi-layer authentication, third-party security audits, and round-the-clock threat monitoring. The result is a digital security that inherits the legal protections of a traditional security while gaining the programmability, transparency, and settlement efficiency of blockchain technology."}),p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground pt-4",children:"Expanded Market Access"}),p.jsx("p",{children:"After deployment, tokenized securities gain access to a broader range of trading venues than ever before. With both Nasdaq and the NYSE now approved to trade tokenized securities, issuers can list on the world's premier exchanges, trade on specialized digital securities platforms such as the New Texas Securities Exchange, or operate on compliant decentralized protocols that combine blockchain transparency with regulatory controls. Institutional infrastructure is following: the DTCC, Deutsche Börse, and major asset managers including BNP Paribas and Franklin Templeton are all building tokenization rails. This multi-venue approach expands liquidity, enables fractional ownership, and allows near-instant settlement compared to the traditional settlement cycle â reducing operational costs while opening capital markets to a wider pool of verified investors."})]}),p.jsxs("div",{className:"mt-14 rounded-2xl bg-gradient-to-br from-primary/10 to-accent border border-primary/20 p-10 text-center",children:[p.jsx("h2",{className:"text-2xl md:text-3xl font-extrabold font-heading text-foreground mb-4 tracking-tight",children:"Ready to Tokenize Your Securities?"}),p.jsx("p",{className:"text-muted-foreground text-lg font-medium max-w-2xl mx-auto mb-8",children:"The regulatory pathways are open and the market is moving fast. Contact Decentral Life today to schedule a consultation and find the right tokenization strategy for your company."}),p.jsx(An,{to:"/contact",className:"inline-flex items-center justify-center h-12 px-8 rounded-xl bg-primary text-primary-foreground font-bold hover:bg-primary/90 hover:-translate-y-0.5 transition-all duration-300",children:"Contact Us for Assistance"})]})]})}),p.jsx(Os,{})]})}function BA(){return p.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[p.jsx(Ps,{}),p.jsx("main",{className:"flex-1 pt-36 pb-24",children:p.jsxs("article",{className:"max-w-4xl mx-auto px-6",children:[p.jsx("h1",{className:"text-4xl md:text-5xl font-extrabold font-heading text-foreground mb-8 tracking-tight",children:"Safe Harbor & Disclaimer"}),p.jsx("div",{className:"h-1 w-20 bg-primary rounded-full mb-10"}),p.jsxs("div",{className:"space-y-8 text-muted-foreground text-base leading-relaxed font-medium",children:[p.jsxs("section",{children:[p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground mb-4",children:"Forward-Looking Statements"}),p.jsx("p",{children:"Statements made on this website that are not historical facts constitute forward-looking statements within the meaning of Section 27A of the Securities Act of 1933 and Section 21E of the Securities Exchange Act of 1934. Such forward-looking statements include, but are not limited to, statements regarding the tokenization of securities, expected regulatory approvals, market access, liquidity, cost efficiencies, and the performance of digital assets. These statements involve risks, uncertainties, and assumptions that could cause actual results to differ materially from those expressed or implied."})]}),p.jsxs("section",{children:[p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground mb-4",children:"Not a Broker-Dealer"}),p.jsx("p",{children:"Decentralized Holdings, Inc. and its parent company, Decentral Life, Inc., are not FINRA-registered brokers or broker-dealers and do not provide capital raising services or execute trades of securities for clients. Nothing on this website should be construed as brokerage, investment banking, underwriting, or placement agent services. Any activities requiring broker-dealer registration are conducted, if at all, exclusively through appropriately licensed and registered third parties."})]}),p.jsxs("section",{children:[p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground mb-4",children:"No Offer or Solicitation"}),p.jsx("p",{children:"Nothing on this website constitutes an offer to sell or a solicitation of an offer to buy any security, security token, or digital asset. Any offer or sale of securities will be made only pursuant to applicable registration statements or exemptions under federal and state securities laws, including regulations promulgated by the U.S. Securities and Exchange Commission (SEC). Tokenized securities referenced herein are subject to applicable regulatory requirements and may not be available to all investors."})]}),p.jsxs("section",{children:[p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground mb-4",children:"Not Investment, Legal, or Tax Advice"}),p.jsx("p",{children:"The information provided on this website is for general informational and educational purposes only and does not constitute investment, legal, accounting, or tax advice. You should consult your own legal counsel, financial advisors, and tax professionals before making any decision related to the tokenization of securities or any investment."})]}),p.jsxs("section",{children:[p.jsx("h2",{className:"text-2xl font-bold font-heading text-foreground mb-4",children:"Investment Risk"}),p.jsx("p",{children:"Decentral Life, Inc. (WDLF) is a publicly traded company. Trading in the company's securities involves risk, and past performance is not indicative of future results. Investors should carefully review the company's filings with the SEC, including its Annual Report on Form 10-K, Quarterly Reports on Form 10-Q, and other periodic filings, before making any investment decision. The company undertakes no obligation to publicly update or revise any forward-looking statement, whether as a result of new information, future events, or otherwise."})]})]}),p.jsxs("div",{className:"mt-14 text-center",children:[p.jsx("p",{className:"text-muted-foreground mb-6 font-medium",children:"Questions about this disclosure? We're happy to help."}),p.jsx(An,{to:"/contact",className:"inline-flex items-center justify-center h-12 px-8 rounded-xl bg-primary text-primary-foreground font-bold hover:bg-primary/90 hover:-translate-y-0.5 transition-all duration-300",children:"Contact Us"})]})]})}),p.jsx(Os,{})]})}const $A=[{icon:rS,title:"Built for the Legal Cannabis Industry",text:"Mj Invest is purpose-built to serve legal cannabis companies that already trade their equity on a U.S. national exchange, the OTC Markets, or a recognized Canadian stock exchange."},{icon:L1,title:"Dual Listing of Tokenized Stock",text:"We guide issuers through a dual listing â pairing their traditional equity listing with a compliant, tokenized representation of the same security to access new pools of liquidity."},{icon:Ql,title:"Compliance-First Approach",text:"Every engagement is structured around U.S. securities law, SEC reporting obligations, and exchange listing requirements â so the tokenized security is offered and traded on compliant rails."}],WA=[{label:"U.S. National Exchanges",note:"NYSE / NASDAQ-listed cannabis
302issuers"},{label:"OTC Markets",note:"OTCQX / OTCQB / Pink cannabis issuers"},{label:"Canadian Exchanges",note:"CSE / TSX / TSXV-listed cannabis issuers"},{label:"Token Exchanges",note:"Texas Exchange and other regulated token venues worldwide"}],VA=[{num:"1",title:"Eligibility & Strategy Review",text:"We assess the issuer's current listing, capital structure, and jurisdiction to confirm a compliant path to a dual-listed tokenized security."},{num:"2",title:"Tokenization Architecture",text:"We design the token structure to faithfully represent the underlying security, with transfer restrictions, accreditation checks, and recordkeeping built in."},{num:"3",title:"SEC Filing Support",text:"We help the issuer prepare and assemble the filings required to submit to the U.S. Securities and Exchange Commission for taking the tokenized stock public."},{num:"4",title:"Exchange Coordination & Listing",text:"We coordinate with the Texas Exchange and other regulated token exchanges worldwide to list the tokenized security alongside the issuer's traditional listing."},{num:"5",title:"Ongoing Compliance Support",text:"Post-listing, we support the issuer with reporting, transfer-agent coordination, and ongoing regulatory maintenance to keep the dual listing in good standing."}],HA=[{icon:rv,title:"Tokenization Service Fee",text:"A professional service fee for architecting and deploying the compliant tokenized representation of the issuer's security."},{icon:G1,title:"SEC Filing Assistance Fee",text:"A fee for aiding the cannabis issuer with the filings required to submit to the SEC for taking their tokenized stock public."},{icon:uS,title:"Success Fee on Token Offering",text:"A small percentage of the Token Offering, received from the issuer once their tokenized stock has successfully listed on a qualifying exchange."}],qA=[{icon:iv,title:"Access to New Liquidity",text:"A dual listing opens the issuer's security to digital-asset trading venues and a broader base of compliant investors."},{icon:nv,title:"Global Market Reach",text:"Listing on regulated token exchanges worldwide â including the Texas Exchange â extends the issuer's footprint beyond a single traditional market."},{icon:D1,title:"Capital Efficiency",text:"Faster settlement, fractional access, and modern transfer infrastructure can reduce friction in how the issuer's security trades."},{icon:kS,title:"Advisory Partnership",text:"Mj Invest acts as a guide â not a broker â helping the issuer's own team execute a compliant offering for their own company."}];function QA(){return p.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[p.jsx(Ps,{}),p.jsxs("main",{className:"flex-1 pt-20",children:[p.jsxs("section",{className:"relative overflow-hidden bg-[#0A1230] text-background py-24",children:[p.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/20 via-transparent to-transparent"}),p.jsx("div",{className:"absolute -top-20 -right-20 w-96 h-96 bg-primary/20 rounded-full blur-3xl"}),p.jsxs("div",{className:"relative max-w-5xl mx-auto px-6 text-center",children:[p.jsx("h1",{className:"text-4xl md:text-6xl font-extrabold font-heading tracking-tight mb-4",children:"MjLink / Mj Invest"}),p.jsx("p",{className:"text-lg md:text-xl text-background/70 font-medium mb-4",children:"Tokenization & Dual-Listing Advisory for the Legal Cannabis Industry"}),p.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-background/20 bg-background/5 px-5 py-2 text-sm font-medium text-background/80",children:[p.jsx(Zy,{className:"w-4 h-4"}),"A division of a wholly owned subsidiary of DecentralizedFi Holdings, Inc."]}),p.jsxs("p",{className:"mt-6 text-background/60 font-medium",children:["DecentralizedFi Holdings is a wholly owned subsidiary of"," ",p.jsx("span",{className:"font-bold text-background",children:"Decentral Life, Inc."})," â OTC: WDLF"]})]})]}),p.jsx("section",{className:"py-20 bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground mb-4 text-center tracking-tight",children:"The Opportunity"}),p.jsx("p",{className:"text-center text-lg text-muted-foreground font-medium mb-12 max-w-3xl mx-auto leading-relaxed",children:"Legal cannabis companies that already trade their equity on a U.S. exchange, the OTC Markets, or a Canadian stock exchange face a fragmented and capital-inefficient market. Mj Invest (formerly MjLink) is a division of DecentralizedFi Holdings, and helps these issuers conduct a compliant dual listing of their tokenized stock â pairing their traditional listing with a regulated digital security to unlock new liquidity and global reach."}),p.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:$A.map(e=>p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 hover:-translate-y-1 transition-transform duration-300",children:[p.jsx("div",{className:"w-14 h-14 roun
302ded-xl bg-primary/10 flex items-center justify-center mb-6",children:p.jsx(e.icon,{className:"w-7 h-7 text-primary"})}),p.jsx("h3",{className:"text-xl font-bold font-heading text-foreground mb-3",children:e.title}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium",children:e.text})]},e.title))})]})}),p.jsx("section",{className:"py-20 bg-secondary/50",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground mb-4 text-center tracking-tight",children:"The Market Opportunity at a Glance"}),p.jsx("p",{className:"text-center text-lg text-muted-foreground font-medium mb-12 max-w-3xl mx-auto",children:"The legal cannabis industry in the United States is one of the fastest-growing regulated markets in the world, and the combined market capitalization of publicly traded cannabis companies across U.S. and Canadian exchanges represents a substantial addressable base for tokenization and dual listing."}),p.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12",children:[p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[p.jsx("p",{className:"text-3xl font-extrabold font-heading text-primary mb-2",children:"$30B+"}),p.jsx("p",{className:"text-muted-foreground font-medium text-sm leading-relaxed",children:"Estimated annual U.S. legal cannabis market revenue as the industry expands across regulated state programs."})]}),p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[p.jsx("p",{className:"text-3xl font-extrabold font-heading text-primary mb-2",children:"40+ States"}),p.jsx("p",{className:"text-muted-foreground font-medium text-sm leading-relaxed",children:"U.S. jurisdictions with some form of legal cannabis program, creating a broad and growing national footprint."})]}),p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[p.jsx("p",{className:"text-3xl font-extrabold font-heading text-primary mb-2",children:"$35B+"}),p.jsx("p",{className:"text-muted-foreground font-medium text-sm leading-relaxed",children:"Approximate combined market capitalization of publicly traded cannabis companies listed across U.S. exchanges, OTC Markets, and Canadian exchanges."})]}),p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center",children:[p.jsx("p",{className:"text-3xl font-extrabold font-heading text-primary mb-2",children:"100+"}),p.jsx("p",{className:"text-muted-foreground font-medium text-sm leading-relaxed",children:"Publicly traded cannabis operators and ancillary companies listed across U.S. and Canadian markets."})]})]}),p.jsxs("div",{className:"rounded-2xl bg-[#0A1230] text-background p-8 md:p-10",children:[p.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-background/60 mb-4",children:"Why the Public Cannabis Market Matters"}),p.jsxs("ul",{className:"space-y-3 text-background/70 font-medium",children:[p.jsx("li",{children:"⢠Cannabis issuers trade on U.S. national exchanges, the OTC Markets, and Canadian exchanges (CSE, TSX, TSXV), giving Mj Invest a large, fragmented addressable market."}),p.jsx("li",{children:"⢠Limited banking access and capital-market friction keep many of these securities under-liquid and hard to trade efficiently."}),p.jsx("li",{children:"⢠A compliant tokenized dual listing can introduce these issuers to global, regulated digital-asset liquidity â including the Texas Exchange and other token venues worldwide."}),p.jsx("li",{children:"⢠Together, the size of the legal cannabis industry and its public market cap make it one of the most compelling verticals for compliant security tokenization."})]})]}),p.jsx("p",{className:"mt-8 text-center text-xs text-muted-foreground font-medium max-w-3xl mx-auto",children:"Market-size figures are approximate, illustrative estimates intended to convey the scale of the opportunity and are not investment advice or a guarantee of any particular outcome."})]})}),p.jsx("section",{className:"py-20 bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground mb-4 text-center tracking-tight",children:"Who We Serve & Where They List"}),p.jsx("p",{className:"text-center text-lg text-muted-foreground font-medium mb-12 max-w-3xl mx-auto",children:"Mj Invest serves cannabis
302issuers with an existing public listing and helps them reach regulated token exchanges worldwide."}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:WA.map(e=>p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8",children:[p.jsx("div",{className:"w-12 h-12 rounded-xl bg-primary/10 flex items-center justify-center mb-5",children:p.jsx(nv,{className:"w-6 h-6 text-primary"})}),p.jsx("h3",{className:"text-lg font-bold font-heading text-foreground mb-2",children:e.label}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium text-sm",children:e.note})]},e.label))})]})}),p.jsx("section",{className:"py-20 bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground mb-12 text-center tracking-tight",children:"How the Dual Listing Works"}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-5 gap-6",children:VA.map(e=>p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 hover:-translate-y-1 transition-transform duration-300",children:[p.jsx("div",{className:"w-12 h-12 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-extrabold text-lg mb-5",children:e.num}),p.jsx("h3",{className:"text-lg font-bold font-heading text-foreground mb-2",children:e.title}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium text-sm",children:e.text})]},e.num))})]})}),p.jsx("section",{className:"py-20 bg-secondary/50",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground mb-4 text-center tracking-tight",children:"The Mj Invest Revenue Model"}),p.jsx("p",{className:"text-center text-lg text-muted-foreground font-medium mb-12 max-w-3xl mx-auto",children:"Mj Invest generates revenue by providing tokenization services and SEC filing support to cannabis issuers, plus a success fee tied to a completed listing."}),p.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:HA.map(e=>p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 flex gap-5",children:[p.jsx("div",{className:"w-14 h-14 shrink-0 rounded-xl bg-primary/10 flex items-center justify-center",children:p.jsx(e.icon,{className:"w-7 h-7 text-primary"})}),p.jsxs("div",{children:[p.jsx("h3",{className:"text-lg font-bold font-heading text-foreground mb-2",children:e.title}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium text-sm",children:e.text})]})]},e.title))}),p.jsxs("div",{className:"mt-12 rounded-2xl bg-[#0A1230] text-background p-8 md:p-10",children:[p.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-background/60 mb-3",children:"Success Fee Structure"}),p.jsxs("ul",{className:"space-y-2 text-background/70 font-medium",children:[p.jsx("li",{children:"⢠A small percentage of the Token Offering is paid by the issuer upon successful listing"}),p.jsx("li",{children:"⢠Service and filing fees are billed as the engagement progresses"}),p.jsx("li",{children:"⢠Alignment: Mj Invest succeeds only when the issuer's tokenized stock successfully lists"})]})]})]})}),p.jsx("section",{className:"py-20 bg-background",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[p.jsx("h2",{className:"text-3xl md:text-4xl font-extrabold font-heading text-foreground mb-12 text-center tracking-tight",children:"Value to Cannabis Issuers"}),p.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:qA.map(e=>p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8",children:[p.jsx("div",{className:"w-14 h-14 rounded-xl bg-primary/10 flex items-center justify-center mb-6",children:p.jsx(e.icon,{className:"w-7 h-7 text-primary"})}),p.jsx("h3",{className:"text-lg font-bold font-heading text-foreground mb-2",children:e.title}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium text-sm",children:e.text})]},e.title))})]})}),p.jsx("section",{className:"py-20 bg-secondary/50",children:p.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[p.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 md:p-10 flex flex-col md:flex-row gap-6 items-start",children:[p.jsx("div",{className:"w-14 h-14 shrink-0 rounded-xl bg-primary/10 flex items-center justify-center",children:p.jsx(Ql,{className:"w-7 h-7 text-primary"})}),p.jsxs("div",{children:[p.jsx("h2",{className:"text-2xl font-extrabold font-heading text-foreground mb-3 tracking-tight",children:"Guidance, Not Offerings"}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium mb-4",children:"Mj Invest, DecentralizedFi Holdings, Inc., and Decentral Life, Inc. (WDLF) are not issuers of tokens or securities and do not conduct, sponsor, or sell token or securities offerings of any kind. They do not raise capital on behalf of clients and are not FINRA-registered broker-dealers. Mj Invest provides advisory and infrastru
302cture services that help a cannabis issuer's own team structure and execute a compliant tokenized offering for its own company."}),p.jsx("p",{className:"text-muted-foreground leading-relaxed font-medium",children:"Any offer or sale of securities is made only by the issuing company pursuant to applicable registration statements or exemptions under federal and state securities laws, including regulations promulgated by the U.S. Securities and Exchange Commission."})]})]}),p.jsx("div",{className:"mt-10 text-center",children:p.jsx(An,{to:"/contact",className:"inline-flex items-center justify-center h-12 px-8 rounded-xl bg-primary text-primary-foreground font-bold hover:bg-primary/90 hover:-translate-y-0.5 transition-all duration-300",children:"Request a Consultation"})})]})})]}),p.jsx(Os,{})]})}const KA=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:r,navigateToLogin:s}=oR();if(t||e)return p.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:p.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 p.jsx(sR,{});if(r.type==="auth_required")return s(),null}return p.jsxs(XE,{children:[p.jsx(Er,{path:"/",element:p.jsx($R,{})}),p.jsx(Er,{path:"/about",element:p.jsx(WR,{})}),p.jsx(Er,{path:"/contact",element:p.jsx(zA,{})}),p.jsx(Er,{path:"/how-it-works",element:p.jsx(UA,{})}),p.jsx(Er,{path:"/safe-harbor",element:p.jsx(BA,{})}),p.jsx(Er,{path:"/mjlink-mjinvest",element:p.jsx(QA,{})}),p.jsx(Er,{path:"*",element:p.jsx(nR,{})})]})};function GA(){return p.jsx(rR,{children:p.jsxs(Wk,{client:nE,children:[p.jsxs(o_,{children:[p.jsx(aR,{}),p.jsx(KA,{})]}),p.jsx(yk,{})]})})}k1.createRoot(document.getElementById("root")).render(p.jsx(GA,{}));
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.