vendor: 6,824 bytes, lines 1-17
1function b0(u,i){for(var l=0;l<i.length;l++){const r=i[l];if(typeof r!="string"&&!Array.isArray(r)){for(const c in r)if(c!=="default"&&!(c in u)){const f=Object.getOwnPropertyDescriptor(r,c);f&&Object.defineProperty(u,c,f.get?f:{enumerable:!0,get:()=>r[c]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))r(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&r(d)}).observe(document,{childList:!0,subtree:!0});function l(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(c){if(c.ep)return;c.ep=!0;const f=l(c);fetch(c.href,f)}})();function cm(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}function _0(u){if(u.__esModule)return u;var i=u.default;if(typeof i=="function"){var l=function r(){return this instanceof r?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};l.prototype=i.prototype}else l={};return Object.defineProperty(l,"__esModule",{value:!0}),Object.keys(u).forEach(function(r){var c=Object.getOwnPropertyDescriptor(u,r);Object.defineProperty(l,r,c.get?c:{enumerable:!0,get:function(){return u[r]}})}),l}var no={exports:{}},cl={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and 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 wh;function w0(){if(wh)return cl;wh=1;var u=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function l(r,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var v in c)v!=="key"&&(f[v]=c[v])}else f=c;return c=f.ref,{$$typeof:u,type:r,key:d,ref:c!==void 0?c:null,props:f}}return cl.Fragment=i,cl.jsx=l,cl.jsxs=l,cl}var xh;function x0(){return xh||(xh=1,no.exports=w0()),no.exports}var y=x0(),io={exports:{}},te={};/** 10 * @license React 11 * react.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and 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 Sh;function S0(){if(Sh)return te;Sh=1;var u=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),w=Symbol.iterator;function R(x){return x===null||typeof x!="object"?null:(x=w&&x[w]||x["@@iterator"],typeof x=="function"?x:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,H={};function M(x,U,J){this.props=x,this.context=U,this.refs=H,this.updater=J||C}M.prototype.isReactComponent={},M.prototype.setState=function(x,U){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,U,"setState")},M.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Y(){}Y.prototype=M.prototype;function I(x,U,J){this.props=x,this.context=U,this.refs=H,this.updater=J||C}var W=I.prototype=new Y;W.constructor=I,L(W,M.prototype),W.isPureReactComponent=!0;var re=Array.isArray,K={H:null,A:null,T:null,S:null},Ie=Object.prototype.hasOwnProperty;function sa(x,U,J,Q,q,ce){return J=ce.ref,{$$typeof:u,type:x,key:U,ref:J!==void 0?J:null,props:ce}}function ra(x,U){return sa(x.type,U,void 0,void 0,void 0,x.props)}function Z(x){return typeof x=="object"&&x!==null&&x.$$typeof===u}function me(x){var U={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(J){return U[J]})}var ht=/\/+/g;function qt(x,U){return typeof x=="object"&&x!==null&&x.key!=null?me(""+x.key):U.toString(36)}function kt(){}function Gt(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(kt,kt):(x.status="pending",x.then(function(U){x.status==="pending"&&(x.status="fulfilled",x.value=U)},function(U){x.status==="pending"&&(x.status="rejected",x.reason=U)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function et(x,U,J,Q,q){var ce=typeof x;(ce==="undefined"||ce==="boolean")&&(x=null);var ne=!1;if(x===null)ne=!0;else switch(ce){case"bigint":case"string":case"number":ne=!0;break;case"object":switch(x.$$typeof){case u:case i:ne=!0;break;case b:return ne=x._init,et(ne(x._payload),U,J,Q,q)}}if(ne)return q=q(x),ne=Q===""?"."+qt(x,0):Q,re(q)?(J="",ne!=null&&(J=ne.replace(ht,"$&/")+"/"),et(q,U,J,"",function(Ne){return Ne})):q!=null&&(Z(q)&&(q=ra(q,J+(q.key==null||x&&x.key===q.key?"":(""+q.key).replace(ht,"$&/")+"/")+ne)),U.push(q)),1;ne=0;var Pe=Q===""?".":Q+":";if(re(x))for(var ve=0;ve<x.length;ve++)Q=x[ve],ce=Pe+qt(Q,ve),ne+=et(Q,U,J,ce,q);else if(ve=R(x),typeof ve=="function")for(x=ve.call(x),ve=0;!(Q=x.next()).done;)Q=Q.value,ce=Pe+qt(Q,ve++),ne+=et(Q,U,J,ce,q);else if(ce==="object"){if(typeof x.then=="function")return et(Gt(x),U,J,Q,q);throw U=String(x),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return ne}function B(x,U,J){if(x==null)return x;var Q=[],q=0;return et(x,Q,"","",function(ce){return U.call(J,ce,q++)}),Q}function ee(x){if(x._status===-1){var U=x._result;U=U(),U.then(function(J){(x._status===0||x._status===-1)&&(x._status=1,x._result=J)},function(J){(x._status===0||x._status===-1)&&(x._status=2,x._result=J)}),x._status===-1&&(x._status=0,x._result=U)}if(x._status===1)return x._result.default;throw x._result}var P=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)};function be(){}
vendor: 4,157 bytes, lines 17-25
17return te.Children={map:B,forEach:function(x,U,J){B(x,function(){U.apply(this,arguments)},J)},count:function(x){var U=0;return B(x,function(){U++}),U},toArray:function(x){return B(x,function(U){return U})||[]},only:function(x){if(!Z(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},te.Component=M,te.Fragment=l,te.Profiler=c,te.PureComponent=I,te.StrictMode=r,te.Suspense=m,te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,te.act=function(){throw Error("act(...) is not supported in production builds of React.")},te.cache=function(x){return function(){return x.apply(null,arguments)}},te.cloneElement=function(x,U,J){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var Q=L({},x.props),q=x.key,ce=void 0;if(U!=null)for(ne in U.ref!==void 0&&(ce=void 0),U.key!==void 0&&(q=""+U.key),U)!Ie.call(U,ne)||ne==="key"||ne==="__self"||ne==="__source"||ne==="ref"&&U.ref===void 0||(Q[ne]=U[ne]);var ne=arguments.length-2;if(ne===1)Q.children=J;else if(1<ne){for(var Pe=Array(ne),ve=0;ve<ne;ve++)Pe[ve]=arguments[ve+2];Q.children=Pe}return sa(x.type,q,void 0,void 0,ce,Q)},te.createContext=function(x){return x={$$typeof:d,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:f,_context:x},x},te.createElement=function(x,U,J){var Q,q={},ce=null;if(U!=null)for(Q in U.key!==void 0&&(ce=""+U.key),U)Ie.call(U,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(q[Q]=U[Q]);var ne=arguments.length-2;if(ne===1)q.children=J;else if(1<ne){for(var Pe=Array(ne),ve=0;ve<ne;ve++)Pe[ve]=arguments[ve+2];q.children=Pe}if(x&&x.defaultProps)for(Q in ne=x.defaultProps,ne)q[Q]===void 0&&(q[Q]=ne[Q]);return sa(x,ce,void 0,void 0,null,q)},te.createRef=function(){return{current:null}},te.forwardRef=function(x){return{$$typeof:v,render:x}},te.isValidElement=Z,te.lazy=function(x){return{$$typeof:b,_payload:{_status:-1,_result:x},_init:ee}},te.memo=function(x,U){return{$$typeof:g,type:x,compare:U===void 0?null:U}},te.startTransition=function(x){var U=K.T,J={};K.T=J;try{var Q=x(),q=K.S;q!==null&&q(J,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(be,P)}catch(ce){P(ce)}finally{K.T=U}},te.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},te.use=function(x){return K.H.use(x)},te.useActionState=function(x,U,J){return K.H.useActionState(x,U,J)},te.useCallback=function(x,U){return K.H.useCallback(x,U)},te.useContext=function(x){return K.H.useContext(x)},te.useDebugValue=function(){},te.useDeferredValue=function(x,U){return K.H.useDeferredValue(x,U)},te.useEffect=function(x,U){return K.H.useEffect(x,U)},te.useId=function(){return K.H.useId()},te.useImperativeHandle=function(x,U,J){return K.H.useImperativeHandle(x,U,J)},te.useInsertionEffect=function(x,U){return K.H.useInsertionEffect(x,U)},te.useLayoutEffect=function(x,U){return K.H.useLayoutEffect(x,U)},te.useMemo=function(x,U){return K.H.useMemo(x,U)},te.useOptimistic=function(x,U){return K.H.useOptimistic(x,U)},te.useReducer=function(x,U,J){return K.H.useReducer(x,U,J)},te.useRef=function(x){return K.H.useRef(x)},te.useState=function(x){return K.H.useState(x)},te.useSyncExternalStore=function(x,U,J){return K.H.useSyncExternalStore(x,U,J)},te.useTransition=function(){return K.H.useTransition()},te.version="19.0.0",te}var Eh;function Ro(){return Eh||(Eh=1,io.exports=S0()),io.exports}var O=Ro();const E0=cm(O),j0=b0({__proto__:null,default:E0},[O]);var lo={exports:{}},fl={},so={exports:{}},ro={};/** 18 * @license React 19 * scheduler.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and 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 jh;function T0(){return jh||(jh=1,function(u){function i(B,ee){var P=B.length;B.push(ee);e:for(;0<P;){var be=P-1>>>1,x=B[be];if(0<c(x,ee))B[be]=ee,B[P]=x,P=be;else break e}}function l(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var ee=B[0],P=B.pop();if(P!==ee){B[0]=P;e:for(var be=0,x=B.length,U=x>>>1;be<U;){var J=2*(be+1)-1,Q=B[J],q=J+1,ce=B[q];
vendor: 10,346 bytes, lines 25-43
25if(0>c(Q,P))q<x&&0>c(ce,Q)?(B[be]=ce,B[q]=P,be=q):(B[be]=Q,B[J]=P,be=J);else if(q<x&&0>c(ce,P))B[be]=ce,B[q]=P,be=q;else break e}}return ee}function c(B,ee){var P=B.sortIndex-ee.sortIndex;return P!==0?P:B.id-ee.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;u.unstable_now=function(){return f.now()}}else{var d=Date,v=d.now();u.unstable_now=function(){return d.now()-v}}var m=[],g=[],b=1,w=null,R=3,C=!1,L=!1,H=!1,M=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function W(B){for(var ee=l(g);ee!==null;){if(ee.callback===null)r(g);else if(ee.startTime<=B)r(g),ee.sortIndex=ee.expirationTime,i(m,ee);else break;ee=l(g)}}function re(B){if(H=!1,W(B),!L)if(l(m)!==null)L=!0,Gt();else{var ee=l(g);ee!==null&&et(re,ee.startTime-B)}}var K=!1,Ie=-1,sa=5,ra=-1;function Z(){return!(u.unstable_now()-ra<sa)}function me(){if(K){var B=u.unstable_now();ra=B;var ee=!0;try{e:{L=!1,H&&(H=!1,Y(Ie),Ie=-1),C=!0;var P=R;try{t:{for(W(B),w=l(m);w!==null&&!(w.expirationTime>B&&Z());){var be=w.callback;if(typeof be=="function"){w.callback=null,R=w.priorityLevel;var x=be(w.expirationTime<=B);if(B=u.unstable_now(),typeof x=="function"){w.callback=x,W(B),ee=!0;break t}w===l(m)&&r(m),W(B)}else r(m);w=l(m)}if(w!==null)ee=!0;else{var U=l(g);U!==null&&et(re,U.startTime-B),ee=!1}}break e}finally{w=null,R=P,C=!1}ee=void 0}}finally{ee?ht():K=!1}}}var ht;if(typeof I=="function")ht=function(){I(me)};else if(typeof MessageChannel<"u"){var qt=new MessageChannel,kt=qt.port2;qt.port1.onmessage=me,ht=function(){kt.postMessage(null)}}else ht=function(){M(me,0)};function Gt(){K||(K=!0,ht())}function et(B,ee){Ie=M(function(){B(u.unstable_now())},ee)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(B){B.callback=null},u.unstable_continueExecution=function(){L||C||(L=!0,Gt())},u.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):sa=0<B?Math.floor(1e3/B):5},u.unstable_getCurrentPriorityLevel=function(){return R},u.unstable_getFirstCallbackNode=function(){return l(m)},u.unstable_next=function(B){switch(R){case 1:case 2:case 3:var ee=3;break;default:ee=R}var P=R;R=ee;try{return B()}finally{R=P}},u.unstable_pauseExecution=function(){},u.unstable_requestPaint=function(){},u.unstable_runWithPriority=function(B,ee){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var P=R;R=B;try{return ee()}finally{R=P}},u.unstable_scheduleCallback=function(B,ee,P){var be=u.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?be+P:be):P=be,B){case 1:var x=-1;break;case 2:x=250;break;case 5:x=1073741823;break;case 4:x=1e4;break;default:x=5e3}return x=P+x,B={id:b++,callback:ee,priorityLevel:B,startTime:P,expirationTime:x,sortIndex:-1},P>be?(B.sortIndex=P,i(g,B),l(m)===null&&B===l(g)&&(H?(Y(Ie),Ie=-1):H=!0,et(re,P-be))):(B.sortIndex=x,i(m,B),L||C||(L=!0,Gt())),B},u.unstable_shouldYield=Z,u.unstable_wrapCallback=function(B){var ee=R;return function(){var P=R;R=ee;try{return B.apply(this,arguments)}finally{R=P}}}}(ro)),ro}var Th;function A0(){return Th||(Th=1,so.exports=T0()),so.exports}var uo={exports:{}},Je={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and 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 Ah;function O0(){if(Ah)return Je;Ah=1;var u=Ro();function i(m){var g="https://react.dev/errors/"+m;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)g+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+m+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var r={d:{f:l,r:function(){throw Error(i(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(m,g,b){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:w==null?null:""+w,children:m,containerInfo:g,implementation:b}}var d=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(m,g){if(m==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Je.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Je.createPortal=function(m,g){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(i(299));return f(m,g,null,b)},Je.flushSync=function(m){var g=d.T,b=r.p;try{if(d.T=null,r.p=2,m)return m()}finally{d.T=g,r.p=b,r.d.f()}},Je.preconnect=function(m,g){typeof m=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,r.d.C(m,g))},Je.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},Je.preinit=function(m,g){if(typeof m=="string"&&g&&typeof g.as=="string"){var b=g.as,w=v(b,g.crossOrigin),R=typeof g.integrity=="string"?g.integrity:void 0,C=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;b==="style"?r.d.S(m,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:w,integrity:R,fetchPriority:C}):b==="script"&&r.d.X(m,{crossOrigin:w,integrity:R,fetchPriority:C,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Je.preinitModule=function(m,g){if(typeof m=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var b=v(g.as,g.crossOrigin);r.d.M(m,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&r.d.M(m)},Je.preload=function(m,g){if(typeof m=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var b=g.as,w=v(b,g.crossOrigin);r.d.L(m,b,{crossOrigin:w,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Je.preloadModule=function(m,g){if(typeof m=="string")if(g){var b=v(g.as,g.crossOrigin);r.d.m(m,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else r.d.m(m)},Je.requestFormReset=function(m){r.d.r(m)},Je.unstable_batchedUpdates=function(m,g){return m(g)},Je.useFormState=function(m,g,b){return d.H.useFormState(m,g,b)},Je.useFormStatus=function(){return d.H.useHostTransitionStatus()},Je.version="19.0.0",Je}var Oh;function fm(){if(Oh)return uo.exports;Oh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(i){console.error(i)}}return u(),uo.exports=O0(),uo.exports}/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var Rh;function R0(){if(Rh)return fl;Rh=1;var u=A0(),i=Ro(),l=fm();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}var f=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),R=Symbol.for("react.consumer"),C=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),re=Symbol.for("react.memo_cache_sentinel"),K=Symbol.iterator;function Ie(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var sa=Symbol.for("react.client.reference");function ra(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===sa?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case v:return"Portal";case b:return"Profiler";case g:return"StrictMode";case H:return"Suspense";case M:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case C:return(e.displayName||"Context")+".Provider";case R:return(e._context.displayName||"Context")+".Consumer";case L:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Y:return t=e.displayName||null,t!==null?t:ra(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return ra(e(t))}catch{}}return null}var Z=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=Object.assign,ht,qt;function kt(e){if(ht===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ht=t&&t[1]||"",qt=-1<a.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+ht+e+qt}var Gt=!1;function et(e,t){if(!e||Gt)return"";Gt=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(N){var A=N}Reflect.construct(e,[],D)}else{try{D.call()}catch(N){A=N}e.call(D.prototype)}}else{try{throw Error()}catch(N){A=N}(D=e())&&typeof D.catch=="function"&&D.catch(function(){})}}
vendor: 12,629 bytes, lines 43-48
43catch(N){if(N&&A&&typeof N.stack=="string")return[N.stack,A.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=n.DetermineComponentFrameRoot(),h=o[0],p=o[1];if(h&&p){var _=h.split(` 44`),E=p.split(` 45`);for(s=n=0;n<_.length&&!_[n].includes("DetermineComponentFrameRoot");)n++;for(;s<E.length&&!E[s].includes("DetermineComponentFrameRoot");)s++;if(n===_.length||s===E.length)for(n=_.length-1,s=E.length-1;1<=n&&0<=s&&_[n]!==E[s];)s--;for(;1<=n&&0<=s;n--,s--)if(_[n]!==E[s]){if(n!==1||s!==1)do if(n--,s--,0>s||_[n]!==E[s]){var k=` 46`+_[n].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=n&&0<=s);break}}}finally{Gt=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?kt(a):""}function B(e){switch(e.tag){case 26:case 27:case 5:return kt(e.type);case 16:return kt("Lazy");case 13:return kt("Suspense");case 19:return kt("SuspenseList");case 0:case 15:return e=et(e.type,!1),e;case 11:return e=et(e.type.render,!1),e;case 1:return e=et(e.type,!0),e;default:return""}}function ee(e){try{var t="";do t+=B(e),e=e.return;while(e);return t}catch(a){return` 47Error generating stack: `+a.message+` 48`+a.stack}}function P(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function be(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function x(e){if(P(e)!==e)throw Error(r(188))}function U(e){var t=e.alternate;if(!t){if(t=P(e),t===null)throw Error(r(188));return t!==e?null:e}for(var a=e,n=t;;){var s=a.return;if(s===null)break;var o=s.alternate;if(o===null){if(n=s.return,n!==null){a=n;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===a)return x(s),e;if(o===n)return x(s),t;o=o.sibling}throw Error(r(188))}if(a.return!==n.return)a=s,n=o;else{for(var h=!1,p=s.child;p;){if(p===a){h=!0,a=s,n=o;break}if(p===n){h=!0,n=s,a=o;break}p=p.sibling}if(!h){for(p=o.child;p;){if(p===a){h=!0,a=o,n=s;break}if(p===n){h=!0,n=o,a=s;break}p=p.sibling}if(!h)throw Error(r(189))}}if(a.alternate!==n)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:t}function J(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=J(e),t!==null)return t;e=e.sibling}return null}var Q=Array.isArray,q=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce={pending:!1,data:null,method:null,action:null},ne=[],Pe=-1;function ve(e){return{current:e}}function Ne(e){0>Pe||(e.current=ne[Pe],ne[Pe]=null,Pe--)}function Se(e,t){Pe++,ne[Pe]=e.current,e.current=t}var Ct=ve(null),hi=ve(null),ua=ve(null),Sl=ve(null);function El(e,t){switch(Se(ua,t),Se(hi,e),Se(Ct,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Pd(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=Pd(e),t=Wd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Ne(Ct),Se(Ct,t)}function gn(){Ne(Ct),Ne(hi),Ne(ua)}function Zs(e){e.memoizedState!==null&&Se(Sl,e);var t=Ct.current,a=Wd(t,e.type);t!==a&&(Se(hi,e),Se(Ct,a))}function jl(e){hi.current===e&&(Ne(Ct),Ne(hi)),Sl.current===e&&(Ne(Sl),ll._currentValue=ce)}var Js=Object.prototype.hasOwnProperty,Ps=u.unstable_scheduleCallback,Ws=u.unstable_cancelCallback,Wm=u.unstable_shouldYield,Fm=u.unstable_requestPaint,zt=u.unstable_now,Im=u.unstable_getCurrentPriorityLevel,Bo=u.unstable_ImmediatePriority,Ho=u.unstable_UserBlockingPriority,Tl=u.unstable_NormalPriority,ev=u.unstable_LowPriority,qo=u.unstable_IdlePriority,tv=u.log,av=u.unstable_setDisableYieldValue,mi=null,lt=null;function nv(e){if(lt&&typeof lt.onCommitFiberRoot=="function")try{lt.onCommitFiberRoot(mi,e,void 0,(e.current.flags&128)===128)}catch{}}function oa(e){if(typeof tv=="function"&&av(e),lt&&typeof lt.setStrictMode=="function")try{lt.setStrictMode(mi,e)}catch{}}var st=Math.clz32?Math.clz32:sv,iv=Math.log,lv=Math.LN2;function sv(e){return e>>>=0,e===0?32:31-(iv(e)/lv|0)|0}var Al=128,Ol=4194304;function Ba(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Rl(e,t){var a=e.pendingLanes;if(a===0)return 0;var n=0,s=e.suspendedLanes,o=e.pingedLanes,h=e.warmLanes;e=e.finishedLanes!==0;var p=a&134217727;return p!==0?(a=p&~s,a!==0?n=Ba(a):(o&=p,o!==0?n=Ba(o):e||(h=p&~h,h!==0&&(n=Ba(h))))):(p=a&~s,p!==0?n=Ba(p):o!==0?n=Ba(o):e||(h=a&~h,h!==0&&(n=Ba(h)))),n===0?0:t!==0&&t!==n&&!(t&s)&&(s=n&-n,h=t&-t,s>=h||s===32&&(h&4194176)!==0)?t:n}function vi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rv(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Go(){var e=Al;return Al<<=1,!(Al&4194176)&&(Al=128),e}function $o(){var e=Ol;return Ol<<=1,!(Ol&62914560)&&(Ol=4194304),e}function Fs(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function gi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function uv(e,t,a,n,s,o){var h=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var p=e.entanglements,_=e.expirationTimes,E=e.hiddenUpdates;for(a=h&~a;0<a;){var k=31-st(a),D=1<<k;p[k]=0,_[k]=-1;var A=E[k];if(A!==null)for(E[k]=null,k=0;k<A.length;k++){var N=A[k];N!==null&&(N.lane&=-536870913)}a&=~D}n!==0&&Yo(e,n,0),o!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=o&~(h&~t))}function Yo(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-st(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&4194218}function Vo(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-st(a),s=1<<n;s&t|e[n]&t&&(e[n]|=t),a&=~s}}function Ko(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Qo(){var e=q.p;return e!==0?e:(e=window.event,e===void 0?32:vh(e.type))}function ov(e,t){var a=q.p;try{return q.p=e,t()}finally{q.p=a}}var ca=Math.random().toString(36).slice(2),Xe="__reactFiber$"+ca,tt="__reactProps$"+ca,pn="__reactContainer$"+ca,Is="__reactEvents$"+ca,cv="__reactListeners$"+ca,fv="__reactHandles$"+ca,Xo="__reactResources$"+ca,pi="__reactMarker$"+ca;function er(e){delete e[Xe],delete e[tt],delete e[Is],delete e[cv],delete e[fv]}function Ha(e){var t=e[Xe];if(t)return t;for(var a=e.parentNode;a;){if(t=a[pn]||a[Xe]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=eh(e);e!==null;){if(a=e[Xe])return a;e=eh(e)}return t}e=a,a=e.parentNode}return null}function yn(e){if(e=e[Xe]||e[pn]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function yi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function bn(e){var t=e[Xo];return t||(t=e[Xo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Le(e){e[pi]=!0}var Zo=new Set,Jo={};function qa(e,t){_n(e,t),_n(e+"Capture",t)}function _n(e,t){for(Jo[e]=t,e=0;e<t.length;e++)Zo.add(t[e])}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dv=RegExp("^[: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]*$"),Po={},Wo={};function hv(e){return Js.call(Wo,e)?!0:Js.call(Po,e)?!1:dv.test(e)?Wo[e]=!0:(Po[e]=!0,!1)}function Nl(e,t,a){if(hv(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function kl(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Yt(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function mt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mv(e){var t=Fo(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,o=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(h){n=""+h,o.call(this,h)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(h){n=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Cl(e){e._valueTracker||(e._valueTracker=mv(e))}function Io(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=Fo(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function zl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var vv=/[\n"\\]/g;function vt(e){return e.replace(vv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function tr(e,t,a,n,s,o,h,p){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+mt(t)):e.value!==""+mt(t)&&(e.value=""+mt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?ar(e,h,mt(t)):a!=null?ar(e,h,mt(a)):n!=null&&e.removeAttribute("value"),s==null&&o!=null&&(e.defaultChecked=!!o),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.name=""+mt(p):e.removeAttribute("name")}function ec(e,t,a,n,s,o,h,p){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.type=o),t!=null||a!=null){if(!(o!=="submit"&&o!=="reset"||t!=null))return;a=a!=null?""+mt(a):"",t=t!=null?""+mt(t):a,p||t===e.value||(e.value=t),e.defaultValue=t}n=n??s,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=p?e.checked:!!n,e.defaultChecked=!!n,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h)}function ar(e,t,a){t==="number"&&zl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function wn(e,t,a,n){if(e=e.options,t){t={};for(var s=0;s<a.length;s++)t["$"+a[s]]=!0;for(a=0;a<e.length;a++)s=t.hasOwnProperty("$"+e[a].value),e[a].selected!==s&&(e[a].selected=s),s&&n&&(e[a].defaultSelected=!0)}else{for(a=""+mt(a),t=null,s=0;s<e.length;s++){if(e[s].value===a){e[s].selected=!0,n&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function tc(e,t,a){if(t!=null&&(t=""+mt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+mt(a):""}function ac(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(r(92));if(Q(n)){if(1<n.length)throw Error(r(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=mt(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n)}function xn(e,t){if(t){var a=e.firstChild;
vendor: 4,140 bytes, line 48
48if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var gv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function nc(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||gv.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function ic(e,t,a){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var s in t)n=t[s],t.hasOwnProperty(s)&&a[s]!==n&&nc(e,s,n)}else for(var o in t)t.hasOwnProperty(o)&&nc(e,o,t[o])}function nr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
48-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),yv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Dl(e){return yv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var ir=null;function lr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Sn=null,En=null;function lc(e){var t=yn(e);if(t&&(e=t.stateNode)){var a=e[tt]||null;e:switch(e=t.stateNode,t.type){case"input":if(tr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var s=n[tt]||null;if(!s)throw Error(r(90));tr(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&Io(n)}break e;case"textarea":tc(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&wn(e,!!a.multiple,t,!1)}}}var sr=!1;function sc(e,t,a){if(sr)return e(t,a);sr=!0;try{var n=e(t);return n}finally{if(sr=!1,(Sn!==null||En!==null)&&(ps(),Sn&&(t=Sn,e=En,En=Sn=null,lc(t),e)))for(t=0;t<e.length;t++)lc(e[t])}}function bi(e,t){var a=e.stateNode;if(a===null)return null;var n=a[tt]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,t,typeof a));return a}var rr=!1;if($t)try{var _i={};Object.defineProperty(_i,"passive",{get:function(){rr=!0}}),window.addEventListener("test",_i,_i),window.removeEventListener("test",_i,_i)}catch{rr=!1}var fa=null,ur=null,Ul=null;function rc(){if(Ul)return Ul;var e,t=ur,a=t.length,n,s="value"in fa?fa.value:fa.textContent,o=s.length;for(e=0;e<a&&t[e]===s[e];e++);var h=a-e;for(n=1;n<=h&&t[a-n]===s[o-n];n++);return Ul=s.slice(e,1<n?1-n:void 0)}function Ml(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ll(){return!0}function uc(){return!1}function at(e){function t(a,n,s,o,h){this._reactName=a,this._targetInst=s,this.type=n,this.nativeEvent=o,this.target=h,this.currentTarget=null;for(var p in e)e.hasOwnProperty(p)&&(a=e[p],this[p]=a?a(o):o[p]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ll:uc,this.isPropagationStopped=uc,this}return me(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ll)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ll)},persist:function(){},isPersistent:Ll}),t}var Ga={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bl=at(Ga),wi=me({},Ga,{view:0,detail:0}),bv=at(wi),or,cr,xi,Hl=me({},wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xi&&(xi&&e.type==="mousemove"?(or=e.screenX-xi.screenX,cr=e.screenY-xi.screenY):cr=or=0,xi=e),or)},movementY:function(e){return"movementY"in e?e.movementY:cr}}),oc=at(Hl),_v=me({},Hl,{dataTransfer:0}),wv=at(_v),xv=me({},wi,{relatedTarget:0}),fr=at(xv),Sv=me({},Ga,{animationName:0,elapsedTime:0,pseudoElement:0}),Ev=at(Sv),jv=me({},Ga,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tv=at(jv),Av=me({},Ga,{data:0}),cc=at(Av),Ov={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rv={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"},Nv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Nv[e])?!!t[e]:!1}function dr(){return kv}var Cv=me({},wi,{key:function(e){if(e.key){var t=Ov[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,293 bytes, line 48
48return e.type==="keypress"?(e=Ml(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Rv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dr,charCode:function(e){return e.type==="keypress"?Ml(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ml(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),zv=at(Cv),Dv=me({},Hl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fc=at(Dv),Uv=me({},wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dr}),Mv=at(Uv),Lv=me({},Ga,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bv=at(Lv),Hv=me({},Hl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qv=at(Hv),Gv=me({},Ga,{newState:0,oldState:0}),$v=at(Gv),Yv=[9,13,27,32],hr=$t&&"CompositionEvent"in window,Si=null;$t&&"documentMode"in document&&(Si=document.documentMode);var Vv=$t&&"TextEvent"in window&&!Si,dc=$t&&(!hr||Si&&8<Si&&11>=Si),hc=" ",mc=!1;function vc(e,t){switch(e){case"keyup":return Yv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jn=!1;function Kv(e,t){switch(e){case"compositionend":return gc(t);case"keypress":return t.which!==32?null:(mc=!0,hc);case"textInput":return e=t.data,e===hc&&mc?null:e;default:return null}}function Qv(e,t){if(jn)return e==="compositionend"||!hr&&vc(e,t)?(e=rc(),Ul=ur=fa=null,jn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return dc&&t.locale!=="ko"?null:t.data;default:return null}}var Xv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Xv[e.type]:t==="textarea"}function yc(e,t,a,n){Sn?En?En.push(n):En=[n]:Sn=n,t=xs(t,"onChange"),0<t.length&&(a=new Bl("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var Ei=null,ji=null;function Zv(e){Kd(e,0)}function ql(e){var t=yi(e);if(Io(t))return e}function bc(e,t){if(e==="change")return t}var _c=!1;if($t){var mr;if($t){var vr="oninput"in document;if(!vr){var wc=document.createElement("div");wc.setAttribute("oninput","return;"),vr=typeof wc.oninput=="function"}mr=vr}else mr=!1;_c=mr&&(!document.documentMode||9<document.documentMode)}function xc(){Ei&&(Ei.detachEvent("onpropertychange",Sc),ji=Ei=null)}function Sc(e){if(e.propertyName==="value"&&ql(ji)){var t=[];yc(t,ji,e,lr(e)),sc(Zv,t)}}function Jv(e,t,a){e==="focusin"?(xc(),Ei=t,ji=a,Ei.attachEvent("onpropertychange",Sc)):e==="focusout"&&xc()}function Pv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ql(ji)}function Wv(e,t){if(e==="click")return ql(t)}function Fv(e,t){if(e==="input"||e==="change")return ql(t)}function Iv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rt=typeof Object.is=="function"?Object.is:Iv;function Ti(e,t){if(rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var s=a[n];if(!Js.call(t,s)||!rt(e[s],t[s]))return!1}return!0}function Ec(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jc(e,t){var a=Ec(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ec(a)}}function Tc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ac(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=zl(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=zl(e.document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function eg(e,t){var a=Ac(t);t=e.focusedElem;var n=e.selectionRange;if(a!==t&&t&&t.ownerDocument&&Tc(t.ownerDocument.documentElement,t)){if(n!==null&&gr(t)){if(e=n.start,a=n.end,a===void 0&&(a=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(a,t.value.length);else if(a=(e=t.ownerDocument||document)&&e.defaultView||window,a.getSelection){a=a.getSelection();var s=t.textContent.length,o=Math.min(n.start,s);n=n.end===void 0?o:Math.min(n.end,s),!a.extend&&o>n&&(s=n,n=o,o=s),s=jc(t,o);var h=jc(t,n);
vendor: 4,513 bytes, line 48
48s&&h&&(a.rangeCount!==1||a.anchorNode!==s.node||a.anchorOffset!==s.offset||a.focusNode!==h.node||a.focusOffset!==h.offset)&&(e=e.createRange(),e.setStart(s.node,s.offset),a.removeAllRanges(),o>n?(a.addRange(e),a.extend(h.node,h.offset)):(e.setEnd(h.node,h.offset),a.addRange(e)))}}for(e=[],a=t;a=a.parentNode;)a.nodeType===1&&e.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<e.length;t++)a=e[t],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var tg=$t&&"documentMode"in document&&11>=document.documentMode,Tn=null,pr=null,Ai=null,yr=!1;function Oc(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;yr||Tn==null||Tn!==zl(n)||(n=Tn,"selectionStart"in n&&gr(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ai&&Ti(Ai,n)||(Ai=n,n=xs(pr,"onSelect"),0<n.length&&(t=new Bl("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=Tn)))}function $a(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var An={animationend:$a("Animation","AnimationEnd"),animationiteration:$a("Animation","AnimationIteration"),animationstart:$a("Animation","AnimationStart"),transitionrun:$a("Transition","TransitionRun"),transitionstart:$a("Transition","TransitionStart"),transitioncancel:$a("Transition","TransitionCancel"),transitionend:$a("Transition","TransitionEnd")},br={},Rc={};$t&&(Rc=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);function Ya(e){if(br[e])return br[e];if(!An[e])return e;var t=An[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Rc)return br[e]=t[a];return e}var Nc=Ya("animationend"),kc=Ya("animationiteration"),Cc=Ya("animationstart"),ag=Ya("transitionrun"),ng=Ya("transitionstart"),ig=Ya("transitioncancel"),zc=Ya("transitionend"),Dc=new Map,Uc="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" ");function Tt(e,t){Dc.set(e,t),qa(t,[e])}var gt=[],On=0,_r=0;function Gl(){for(var e=On,t=_r=On=0;t<e;){var a=gt[t];gt[t++]=null;var n=gt[t];gt[t++]=null;var s=gt[t];gt[t++]=null;var o=gt[t];if(gt[t++]=null,n!==null&&s!==null){var h=n.pending;h===null?s.next=s:(s.next=h.next,h.next=s),n.pending=s}o!==0&&Mc(a,s,o)}}function $l(e,t,a,n){gt[On++]=e,gt[On++]=t,gt[On++]=a,gt[On++]=n,_r|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function wr(e,t,a,n){return $l(e,t,a,n),Yl(e)}function da(e,t){return $l(e,null,null,t),Yl(e)}function Mc(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var s=!1,o=e.return;o!==null;)o.childLanes|=a,n=o.alternate,n!==null&&(n.childLanes|=a),o.tag===22&&(e=o.stateNode,e===null||e._visibility&1||(s=!0)),e=o,o=o.return;s&&t!==null&&e.tag===3&&(o=e.stateNode,s=31-st(a),o=o.hiddenUpdates,e=o[s],e===null?o[s]=[t]:e.push(t),t.lane=a|536870912)}function Yl(e){if(50<Fi)throw Fi=0,Au=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Rn={},Lc=new WeakMap;function pt(e,t){if(typeof e=="object"&&e!==null){var a=Lc.get(e);return a!==void 0?a:(t={value:e,source:t,stack:ee(t)},Lc.set(e,t),t)}return{value:e,source:t,stack:ee(t)}}var Nn=[],kn=0,Vl=null,Kl=0,yt=[],bt=0,Va=null,Vt=1,Kt="";function Ka(e,t){Nn[kn++]=Kl,Nn[kn++]=Vl,Vl=e,Kl=t}function Bc(e,t,a){yt[bt++]=Vt,yt[bt++]=Kt,yt[bt++]=Va,Va=e;var n=Vt;e=Kt;var s=32-st(n)-1;n&=~(1<<s),a+=1;var o=32-st(t)+s;if(30<o){var h=s-s%5;o=(n&(1<<h)-1).toString(32),n>>=h,s-=h,Vt=1<<32-st(t)+s|a<<s|n,Kt=o+e}else Vt=1<<o|a<<s|n,Kt=e}function xr(e){e.return!==null&&(Ka(e,1),Bc(e,1,0))}function Sr(e){for(;e===Vl;)Vl=Nn[--kn],Nn[kn]=null,Kl=Nn[--kn],Nn[kn]=null;for(;e===Va;
vendor: 14,342 bytes, line 48
48)Va=yt[--bt],yt[bt]=null,Kt=yt[--bt],yt[bt]=null,Vt=yt[--bt],yt[bt]=null}var We=null,Ye=null,de=!1,At=null,Dt=!1,Er=Error(r(519));function Qa(e){var t=Error(r(418,""));throw Ni(pt(t,e)),Er}function Hc(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[Xe]=e,t[tt]=n,a){case"dialog":ue("cancel",t),ue("close",t);break;case"iframe":case"object":case"embed":ue("load",t);break;case"video":case"audio":for(a=0;a<el.length;a++)ue(el[a],t);break;case"source":ue("error",t);break;case"img":case"image":case"link":ue("error",t),ue("load",t);break;case"details":ue("toggle",t);break;case"input":ue("invalid",t),ec(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0),Cl(t);break;case"select":ue("invalid",t);break;case"textarea":ue("invalid",t),ac(t,n.value,n.defaultValue,n.children),Cl(t)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||Jd(t.textContent,a)?(n.popover!=null&&(ue("beforetoggle",t),ue("toggle",t)),n.onScroll!=null&&ue("scroll",t),n.onScrollEnd!=null&&ue("scrollend",t),n.onClick!=null&&(t.onclick=Ss),t=!0):t=!1,t||Qa(e)}function qc(e){for(We=e.return;We;)switch(We.tag){case 3:case 27:Dt=!0;return;case 5:case 13:Dt=!1;return;default:We=We.return}}function Oi(e){if(e!==We)return!1;if(!de)return qc(e),de=!0,!1;var t=!1,a;if((a=e.tag!==3&&e.tag!==27)&&((a=e.tag===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Vu(e.type,e.memoizedProps)),a=!a),a&&(t=!0),t&&Ye&&Qa(e),qc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){Ye=Rt(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}Ye=null}}else Ye=We?Rt(e.stateNode.nextSibling):null;return!0}function Ri(){Ye=We=null,de=!1}function Ni(e){At===null?At=[e]:At.push(e)}var ki=Error(r(460)),Gc=Error(r(474)),jr={then:function(){}};function $c(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ql(){}function Yc(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Ql,Ql),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===ki?Error(r(483)):e;default:if(typeof t.status=="string")t.then(Ql,Ql);else{if(e=_e,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=n}},function(n){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,e===ki?Error(r(483)):e}throw Ci=t,ki}}var Ci=null;function Vc(){if(Ci===null)throw Error(r(459));var e=Ci;return Ci=null,e}var Cn=null,zi=0;function Xl(e){var t=zi;return zi+=1,Cn===null&&(Cn=[]),Yc(Cn,e,t)}function Di(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Zl(e,t){throw t.$$typeof===f?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Kc(e){var t=e._init;return t(e._payload)}function Qc(e){function t(j,S){if(e){var T=j.deletions;T===null?(j.deletions=[S],j.flags|=16):T.push(S)}}function a(j,S){if(!e)return null;for(;S!==null;)t(j,S),S=S.sibling;return null}function n(j){for(var S=new Map;j!==null;)j.key!==null?S.set(j.key,j):S.set(j.index,j),j=j.sibling;return S}function s(j,S){return j=Ea(j,S),j.index=0,j.sibling=null,j}function o(j,S,T){return j.index=T,e?(T=j.alternate,T!==null?(T=T.index,T<S?(j.flags|=33554434,S):T):(j.flags|=33554434,S)):(j.flags|=1048576,S)}function h(j){return e&&j.alternate===null&&(j.flags|=33554434),j}function p(j,S,T,z){return S===null||S.tag!==6?(S=bu(T,j.mode,z),S.return=j,S):(S=s(S,T),S.return=j,S)}function _(j,S,T,z){var G=T.type;return G===m?k(j,S,T.props.children,z,T.key):S!==null&&(S.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===I&&Kc(G)===S.type)?(S=s(S,T.props),Di(S,T),S.return=j,S):(S=ds(T.type,T.key,T.props,null,j.mode,z),Di(S,T),S.return=j,S)}function E(j,S,T,z){return S===null||S.tag!==4||S.stateNode.containerInfo!==T.containerInfo||S.stateNode.implementation!==T.implementation?(S=_u(T,j.mode,z),S.return=j,S):(S=s(S,T.children||[]),S.return=j,S)}function k(j,S,T,z,G){return S===null||S.tag!==7?(S=an(T,j.mode,z,G),S.return=j,S):(S=s(S,T),S.return=j,S)}function D(j,S,T){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=bu(""+S,j.mode,T),S.return=j,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case d:return T=ds(S.type,S.key,S.props,null,j.mode,T),Di(T,S),T.return=j,T;case v:return S=_u(S,j.mode,T),S.return=j,S;case I:var z=S._init;return S=z(S._payload),D(j,S,T)}if(Q(S)||Ie(S))return S=an(S,j.mode,T,null),S.return=j,S;if(typeof S.then=="function")return D(j,Xl(S),T);if(S.$$typeof===C)return D(j,os(j,S),T);Zl(j,S)}return null}function A(j,S,T,z){var G=S!==null?S.key:null;if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return G!==null?null:p(j,S,""+T,z);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case d:return T.key===G?_(j,S,T,z):null;case v:return T.key===G?E(j,S,T,z):null;case I:return G=T._init,T=G(T._payload),A(j,S,T,z)}if(Q(T)||Ie(T))return G!==null?null:k(j,S,T,z,null);if(typeof T.then=="function")return A(j,S,Xl(T),z);if(T.$$typeof===C)return A(j,S,os(j,T),z);Zl(j,T)}return null}function N(j,S,T,z,G){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return j=j.get(T)||null,p(S,j,""+z,G);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case d:return j=j.get(z.key===null?T:z.key)||null,_(S,j,z,G);case v:return j=j.get(z.key===null?T:z.key)||null,E(S,j,z,G);case I:var le=z._init;return z=le(z._payload),N(j,S,T,z,G)}if(Q(z)||Ie(z))return j=j.get(T)||null,k(S,j,z,G,null);if(typeof z.then=="function")return N(j,S,T,Xl(z),G);if(z.$$typeof===C)return N(j,S,T,os(S,z),G);Zl(S,z)}return null}function $(j,S,T,z){for(var G=null,le=null,V=S,X=S=0,qe=null;V!==null&&X<T.length;X++){V.index>X?(qe=V,V=null):qe=V.sibling;var he=A(j,V,T[X],z);if(he===null){V===null&&(V=qe);break}e&&V&&he.alternate===null&&t(j,V),S=o(he,S,X),le===null?G=he:le.sibling=he,le=he,V=qe}if(X===T.length)return a(j,V),de&&Ka(j,X),G;if(V===null){for(;X<T.length;X++)V=D(j,T[X],z),V!==null&&(S=o(V,S,X),le===null?G=V:le.sibling=V,le=V);return de&&Ka(j,X),G}for(V=n(V);X<T.length;X++)qe=N(V,j,X,T[X],z),qe!==null&&(e&&qe.alternate!==null&&V.delete(qe.key===null?X:qe.key),S=o(qe,S,X),le===null?G=qe:le.sibling=qe,le=qe);return e&&V.forEach(function(ka){return t(j,ka)}),de&&Ka(j,X),G}function F(j,S,T,z){if(T==null)throw Error(r(151));for(var G=null,le=null,V=S,X=S=0,qe=null,he=T.next();V!==null&&!he.done;X++,he=T.next()){V.index>X?(qe=V,V=null):qe=V.sibling;var ka=A(j,V,he.value,z);if(ka===null){V===null&&(V=qe);break}e&&V&&ka.alternate===null&&t(j,V),S=o(ka,S,X),le===null?G=ka:le.sibling=ka,le=ka,V=qe}if(he.done)return a(j,V),de&&Ka(j,X),G;if(V===null){for(;!he.done;X++,he=T.next())he=D(j,he.value,z),he!==null&&(S=o(he,S,X),le===null?G=he:le.sibling=he,le=he);return de&&Ka(j,X),G}for(V=n(V);!he.done;X++,he=T.next())he=N(V,j,X,he.value,z),he!==null&&(e&&he.alternate!==null&&V.delete(he.key===null?X:he.key),S=o(he,S,X),le===null?G=he:le.sibling=he,le=he);return e&&V.forEach(function(y0){return t(j,y0)}),de&&Ka(j,X),G}function Oe(j,S,T,z){if(typeof T=="object"&&T!==null&&T.type===m&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case d:e:{for(var G=T.key;S!==null;){if(S.key===G){if(G=T.type,G===m){if(S.tag===7){a(j,S.sibling),z=s(S,T.props.children),z.return=j,j=z;break e}}else if(S.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===I&&Kc(G)===S.type){a(j,S.sibling),z=s(S,T.props),Di(z,T),z.return=j,j=z;break e}a(j,S);break}else t(j,S);S=S.sibling}T.type===m?(z=an(T.props.children,j.mode,z,T.key),z.return=j,j=z):(z=ds(T.type,T.key,T.props,null,j.mode,z),Di(z,T),z.return=j,j=z)}return h(j);case v:e:{for(G=T.key;S!==null;){if(S.key===G)if(S.tag===4&&S.stateNode.containerInfo===T.containerInfo&&S.stateNode.implementation===T.implementation){a(j,S.sibling),z=s(S,T.children||[]),z.return=j,j=z;break e}else{a(j,S);break}else t(j,S);S=S.sibling}z=_u(T,j.mode,z),z.return=j,j=z}return h(j);case I:return G=T._init,T=G(T._payload),Oe(j,S,T,z)}if(Q(T))return $(j,S,T,z);if(Ie(T)){if(G=Ie(T),typeof G!="function")throw Error(r(150));return T=G.call(T),F(j,S,T,z)}if(typeof T.then=="function")return Oe(j,S,Xl(T),z);if(T.$$typeof===C)return Oe(j,S,os(j,T),z);Zl(j,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(T=""+T,S!==null&&S.tag===6?(a(j,S.sibling),z=s(S,T),z.return=j,j=z):(a(j,S),z=bu(T,j.mode,z),z.return=j,j=z),h(j)):a(j,S)}return function(j,S,T,z){try{zi=0;var G=Oe(j,S,T,z);return Cn=null,G}catch(V){if(V===ki)throw V;var le=St(29,V,null,j.mode);return le.lanes=z,le.return=j,le}finally{}}}var Xa=Qc(!0),Xc=Qc(!1),zn=ve(null),Jl=ve(0);function Zc(e,t){e=aa,Se(Jl,e),Se(zn,t),aa=e|t.baseLanes}function Tr(){Se(Jl,aa),Se(zn,zn.current)}function Ar(){aa=Jl.current,Ne(zn),Ne(Jl)}var _t=ve(null),Ut=null;function ha(e){var t=e.alternate;Se(Ue,Ue.current&1),Se(_t,e),Ut===null&&(t===null||zn.current!==null||t.memoizedState!==null)&&(Ut=e)}function Jc(e){if(e.tag===22){if(Se(Ue,Ue.current),Se(_t,e),Ut===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Ut=e)}}else ma()}function ma(){Se(Ue,Ue.current),Se(_t,_t.current)}function Qt(e){Ne(_t),Ut===e&&(Ut=null),Ne(Ue)}var Ue=ve(0);function Pl(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var lg=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},sg=u.unstable_scheduleCallback,rg=u.unstable_NormalPriority,Me={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Or(){return{controller:new lg,data:new Map,refCount:0}}function Ui(e){e.refCount--,e.refCount===0&&sg(rg,function(){e.controller.abort()})}var Mi=null,Rr=0,Dn=0,Un=null;function ug(e,t){if(Mi===null){var a=Mi=[];Rr=0,Dn=Uu(),Un={status:"pending",value:void 0,then:function(n){a.push(n)}}}return Rr++,t.then(Pc,Pc),t}function Pc(){if(--Rr===0&&Mi!==null){Un!==null&&(Un.status="fulfilled");var e=Mi;Mi=null,Dn=0,Un=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function og(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var s=0;s<a.length;s++)(0,a[s])(t)},function(s){for(n.status="rejected",n.reason=s,s=0;s<a.length;s++)(0,a[s])(void 0)}),n}var Wc=Z.S;Z.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&ug(e,t),Wc!==null&&Wc(e,t)};var Za=ve(null);function Nr(){var e=Za.current;return e!==null?e:_e.pooledCache}function Wl(e,t){t===null?Se(Za,Za.current):Se(Za,t.pool)}function Fc(){var e=Nr();return e===null?null:{parent:Me._currentValue,pool:e}}var va=0,ie=null,ge=null,ke=null,Fl=!1,Mn=!1,Ja=!1,Il=0,Li=0,Ln=null,cg=0;function Re(){throw Error(r(321))}function kr(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!rt(e[a],t[a]))return!1;return!0}function Cr(e,t,a,n,s,o){return va=o,ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Z.H=e===null||e.memoizedState===null?Pa:ga,Ja=!1,o=a(n,s),Ja=!1,Mn&&(o=ef(t,a,n,s)),Ic(e),o}function Ic(e){Z.H=Mt;var t=ge!==null&&ge.next!==null;if(va=0,ke=ge=ie=null,Fl=!1,Li=0,Ln=null,t)throw Error(r(300));e===null||Be||(e=e.dependencies,e!==null&&us(e)&&(Be=!0))}function ef(e,t,a,n){ie=e;var s=0;do{if(Mn&&(Ln=null),Li=0,Mn=!1,25<=s)throw Error(r(301));if(s+=1,ke=ge=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}Z.H=Wa,o=t(a,n)}while(Mn);return o}function fg(){var e=Z.H,t=e.useState()[0];return t=typeof t.then=="function"?Bi(t):t,e=e.useState()[0],(ge!==null?ge.memoizedState:null)!==e&&(ie.flags|=1024),t}function zr(){var e=Il!==0;return Il=0,e}function Dr(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Ur(e){if(Fl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Fl=!1}va=0,ke=ge=ie=null,Mn=!1,Li=Il=0,Ln=null}function nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?ie.memoizedState=ke=e:ke=ke.next=e,ke}function Ce(){if(ge===null){var e=ie.alternate;e=e!==null?e.memoizedState:null}else e=ge.next;var t=ke===null?ie.memoizedState:ke.next;if(t!==null)ke=t,ge=e;else{if(e===null)throw ie.alternate===null?Error(r(467)):Error(r(310));ge=e,e={memoizedState:ge.memoizedState,baseState:ge.baseState,baseQueue:ge.baseQueue,queue:ge.queue,next:null},ke===null?ie.memoizedState=ke=e:ke=ke.next=e}return ke}var es;es=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Bi(e){var t=Li;return Li+=1,Ln===null&&(Ln=[]),e=Yc(Ln,e,t),t=ie,(ke===null?t.memoizedState:ke.next)===null&&(t=t.alternate,Z.H=t===null||t.memoizedState===null?Pa:ga),e}function ts(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bi(e);if(e.$$typeof===C)return Ze(e)}throw Error(r(438,String(e)))}function Mr(e){var t=null,a=ie.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=ie.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=es(),ie.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=re;return t.index++,a}function Xt(e,t){return typeof t=="function"?t(e):t}function as(e){var t=Ce();return Lr(t,ge,e)}function Lr(e,t,a){var n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=a;var s=e.baseQueue,o=n.pending;if(o!==null){if(s!==null){var h=s.next;s.next=o.next,o.next=h}t.baseQueue=s=o,n.pending=null}if(o=e.baseState,s===null)e.memoizedState=o;else{t=s.next;
vendor: 6,220 bytes, line 48
48var p=h=null,_=null,E=t,k=!1;do{var D=E.lane&-536870913;if(D!==E.lane?(fe&D)===D:(va&D)===D){var A=E.revertLane;if(A===0)_!==null&&(_=_.next={lane:0,revertLane:0,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),D===Dn&&(k=!0);else if((va&A)===A){E=E.next,A===Dn&&(k=!0);continue}else D={lane:0,revertLane:E.revertLane,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},_===null?(p=_=D,h=o):_=_.next=D,ie.lanes|=A,ja|=A;D=E.action,Ja&&a(o,D),o=E.hasEagerState?E.eagerState:a(o,D)}else A={lane:D,revertLane:E.revertLane,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},_===null?(p=_=A,h=o):_=_.next=A,ie.lanes|=D,ja|=D;E=E.next}while(E!==null&&E!==t);if(_===null?h=o:_.next=p,!rt(o,e.memoizedState)&&(Be=!0,k&&(a=Un,a!==null)))throw a;e.memoizedState=o,e.baseState=h,e.baseQueue=_,n.lastRenderedState=o}return s===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Br(e){var t=Ce(),a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var n=a.dispatch,s=a.pending,o=t.memoizedState;if(s!==null){a.pending=null;var h=s=s.next;do o=e(o,h.action),h=h.next;while(h!==s);rt(o,t.memoizedState)||(Be=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),a.lastRenderedState=o}return[o,n]}function tf(e,t,a){var n=ie,s=Ce(),o=de;if(o){if(a===void 0)throw Error(r(407));a=a()}else a=t();var h=!rt((ge||s).memoizedState,a);if(h&&(s.memoizedState=a,Be=!0),s=s.queue,Gr(lf.bind(null,n,s,e),[e]),s.getSnapshot!==t||h||ke!==null&&ke.memoizedState.tag&1){if(n.flags|=2048,Bn(9,nf.bind(null,n,s,a,t),{destroy:void 0},null),_e===null)throw Error(r(349));o||va&60||af(n,t,a)}return a}function af(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ie.updateQueue,t===null?(t=es(),ie.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function nf(e,t,a,n){t.value=a,t.getSnapshot=n,sf(t)&&rf(e)}function lf(e,t,a){return a(function(){sf(t)&&rf(e)})}function sf(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!rt(e,a)}catch{return!0}}function rf(e){var t=da(e,2);t!==null&&Fe(t,e,2)}function Hr(e){var t=nt();if(typeof e=="function"){var a=e;if(e=a(),Ja){oa(!0);try{a()}finally{oa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:e},t}function uf(e,t,a,n){return e.baseState=a,Lr(e,ge,typeof n=="function"?n:Xt)}function dg(e,t,a,n,s){if(ls(e))throw Error(r(485));if(e=t.action,e!==null){var o={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){o.listeners.push(h)}};Z.T!==null?a(!0):o.isTransition=!1,n(o),a=t.pending,a===null?(o.next=t.pending=o,of(t,o)):(o.next=a.next,t.pending=a.next=o)}}function of(e,t){var a=t.action,n=t.payload,s=e.state;if(t.isTransition){var o=Z.T,h={};Z.T=h;try{var p=a(s,n),_=Z.S;_!==null&&_(h,p),cf(e,t,p)}catch(E){qr(e,t,E)}finally{Z.T=o}}else try{o=a(s,n),cf(e,t,o)}catch(E){qr(e,t,E)}}function cf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){ff(e,t,n)},function(n){return qr(e,t,n)}):ff(e,t,a)}function ff(e,t,a){t.status="fulfilled",t.value=a,df(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,of(e,a)))}function qr(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,df(t),t=t.next;while(t!==n)}e.action=null}function df(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function hf(e,t){return t}function mf(e,t){if(de){var a=_e.formState;if(a!==null){e:{var n=ie;if(de){if(Ye){t:{for(var s=Ye,o=Dt;s.nodeType!==8;){if(!o){s=null;break t}if(s=Rt(s.nextSibling),s===null){s=null;break t}}o=s.data,s=o==="F!"||o==="F"?s:null}if(s){Ye=Rt(s.nextSibling),n=s.data==="F!";break e}}Qa(n)}n=!1}n&&(t=a[0])}}return a=nt(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hf,lastRenderedState:t},a.queue=n,a=Cf.bind(null,ie,n),n.dispatch=a,n=Hr(!1),o=Qr.bind(null,ie,!1,n.queue),n=nt(),s={state:t,dispatch:null,action:e,pending:null},n.queue=s,a=dg.bind(null,ie,s,o,a),s.dispatch=a,n.memoizedState=e,[t,a,!1]}function vf(e){var t=Ce();return gf(t,ge,e)}function gf(e,t,a){t=Lr(e,t,hf)[0],e=as(Xt)[0],t=typeof t=="object"&&t!==null&&typeof t.then=="function"?Bi(t):t;var n=Ce(),s=n.queue,o=s.dispatch;return a!==n.memoizedState&&(ie.flags|=2048,Bn(9,hg.bind(null,s,a),{destroy:void 0},null)),[t,o,e]}function hg(e,t){e.action=t}function pf(e){var t=Ce(),a=ge;if(a!==null)return gf(t,a,e);Ce(),t=t.memoizedState,a=Ce();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Bn(e,t,a,n){return e={tag:e,create:t,inst:a,deps:n,next:null},t=ie.updateQueue,t===null&&(t=es(),ie.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function yf(){return Ce().memoizedState}function ns(e,t,a,n){var s=nt();ie.flags|=e,s.memoizedState=Bn(1|t,a,{destroy:void 0},n===void 0?null:n)}function is(e,t,a,n){var s=Ce();n=n===void 0?null:n;var o=s.memoizedState.inst;ge!==null&&n!==null&&kr(n,ge.memoizedState.deps)?s.memoizedState=Bn(t,a,o,n):(ie.flags|=e,s.memoizedState=Bn(1|t,a,o,n))}function bf(e,t){ns(8390656,8,e,t)}function Gr(e,t){is(2048,8,e,t)}function _f(e,t){return is(4,2,e,t)}function wf(e,t){return is(4,4,e,t)}function xf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Sf(e,t,a){a=a!=null?a.concat([e]):null,is(4,4,xf.bind(null,t,e),a)}function $r(){}function Ef(e,t){var a=Ce();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&kr(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function jf(e,t){var a=Ce();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&kr(t,n[1]))return n[0];if(n=e(),Ja){oa(!0);try{e()}finally{oa(!1)}}return a.memoizedState=[n,t],n}function Yr(e,t,a){return a===void 0||va&1073741824?e.memoizedState=t:(e.memoizedState=a,e=Ad(),ie.lanes|=e,ja|=e,a)}function Tf(e,t,a,n){return rt(a,t)?a:zn.current!==null?(e=Yr(e,a,n),rt(e,t)||(Be=!0),e):va&42?(e=Ad(),ie.lanes|=e,ja|=e,t):(Be=!0,e.memoizedState=a)}function Af(e,t,a,n,s){var o=q.p;q.p=o!==0&&8>o?o:8;
vendor: 26,385 bytes, line 48
48var h=Z.T,p={};Z.T=p,Qr(e,!1,t,a);try{var _=s(),E=Z.S;if(E!==null&&E(p,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var k=og(_,n);Hi(e,t,k,ft(e))}else Hi(e,t,n,ft(e))}catch(D){Hi(e,t,{then:function(){},status:"rejected",reason:D},ft())}finally{q.p=o,Z.T=h}}function mg(){}function Vr(e,t,a,n){if(e.tag!==5)throw Error(r(476));var s=Of(e).queue;Af(e,s,t,ce,a===null?mg:function(){return Rf(e),a(n)})}function Of(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:ce},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xt,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Rf(e){var t=Of(e).next.queue;Hi(e,t,{},ft())}function Kr(){return Ze(ll)}function Nf(){return Ce().memoizedState}function kf(){return Ce().memoizedState}function vg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=ft();e=ba(a);var n=_a(t,e,a);n!==null&&(Fe(n,t,a),$i(n,t,a)),t={cache:Or()},e.payload=t;return}t=t.return}}function gg(e,t,a){var n=ft();a={lane:n,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},ls(e)?zf(t,a):(a=wr(e,t,a,n),a!==null&&(Fe(a,e,n),Df(a,t,n)))}function Cf(e,t,a){var n=ft();Hi(e,t,a,n)}function Hi(e,t,a,n){var s={lane:n,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(ls(e))zf(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var h=t.lastRenderedState,p=o(h,a);if(s.hasEagerState=!0,s.eagerState=p,rt(p,h))return $l(e,t,s,0),_e===null&&Gl(),!1}catch{}finally{}if(a=wr(e,t,s,n),a!==null)return Fe(a,e,n),Df(a,t,n),!0}return!1}function Qr(e,t,a,n){if(n={lane:2,revertLane:Uu(),action:n,hasEagerState:!1,eagerState:null,next:null},ls(e)){if(t)throw Error(r(479))}else t=wr(e,a,n,2),t!==null&&Fe(t,e,2)}function ls(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function zf(e,t){Mn=Fl=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Df(e,t,a){if(a&4194176){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Vo(e,a)}}var Mt={readContext:Ze,use:ts,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useLayoutEffect:Re,useInsertionEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useSyncExternalStore:Re,useId:Re};Mt.useCacheRefresh=Re,Mt.useMemoCache=Re,Mt.useHostTransitionStatus=Re,Mt.useFormState=Re,Mt.useActionState=Re,Mt.useOptimistic=Re;var Pa={readContext:Ze,use:ts,useCallback:function(e,t){return nt().memoizedState=[e,t===void 0?null:t],e},useContext:Ze,useEffect:bf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,ns(4194308,4,xf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return ns(4194308,4,e,t)},useInsertionEffect:function(e,t){ns(4,2,e,t)},useMemo:function(e,t){var a=nt();t=t===void 0?null:t;var n=e();if(Ja){oa(!0);try{e()}finally{oa(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=nt();if(a!==void 0){var s=a(t);if(Ja){oa(!0);try{a(t)}finally{oa(!1)}}}else s=t;return n.memoizedState=n.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},n.queue=e,e=e.dispatch=gg.bind(null,ie,e),[n.memoizedState,e]},useRef:function(e){var t=nt();return e={current:e},t.memoizedState=e},useState:function(e){e=Hr(e);var t=e.queue,a=Cf.bind(null,ie,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:$r,useDeferredValue:function(e,t){var a=nt();return Yr(a,e,t)},useTransition:function(){var e=Hr(!1);return e=Af.bind(null,ie,e.queue,!0,!1),nt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=ie,s=nt();if(de){if(a===void 0)throw Error(r(407));a=a()}else{if(a=t(),_e===null)throw Error(r(349));fe&60||af(n,t,a)}s.memoizedState=a;var o={value:a,getSnapshot:t};return s.queue=o,bf(lf.bind(null,n,o,e),[e]),n.flags|=2048,Bn(9,nf.bind(null,n,o,a,t),{destroy:void 0},null),a},useId:function(){var e=nt(),t=_e.identifierPrefix;if(de){var a=Kt,n=Vt;a=(n&~(1<<32-st(n)-1)).toString(32)+a,t=":"+t+"R"+a,a=Il++,0<a&&(t+="H"+a.toString(32)),t+=":"}else a=cg++,t=":"+t+"r"+a.toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return nt().memoizedState=vg.bind(null,ie)}};Pa.useMemoCache=Mr,Pa.useHostTransitionStatus=Kr,Pa.useFormState=mf,Pa.useActionState=mf,Pa.useOptimistic=function(e){var t=nt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Qr.bind(null,ie,!0,a),a.dispatch=t,[e,t]};var ga={readContext:Ze,use:ts,useCallback:Ef,useContext:Ze,useEffect:Gr,useImperativeHandle:Sf,useInsertionEffect:_f,useLayoutEffect:wf,useMemo:jf,useReducer:as,useRef:yf,useState:function(){return as(Xt)},useDebugValue:$r,useDeferredValue:function(e,t){var a=Ce();return Tf(a,ge.memoizedState,e,t)},useTransition:function(){var e=as(Xt)[0],t=Ce().memoizedState;return[typeof e=="boolean"?e:Bi(e),t]},useSyncExternalStore:tf,useId:Nf};ga.useCacheRefresh=kf,ga.useMemoCache=Mr,ga.useHostTransitionStatus=Kr,ga.useFormState=vf,ga.useActionState=vf,ga.useOptimistic=function(e,t){var a=Ce();return uf(a,ge,e,t)};var Wa={readContext:Ze,use:ts,useCallback:Ef,useContext:Ze,useEffect:Gr,useImperativeHandle:Sf,useInsertionEffect:_f,useLayoutEffect:wf,useMemo:jf,useReducer:Br,useRef:yf,useState:function(){return Br(Xt)},useDebugValue:$r,useDeferredValue:function(e,t){var a=Ce();return ge===null?Yr(a,e,t):Tf(a,ge.memoizedState,e,t)},useTransition:function(){var e=Br(Xt)[0],t=Ce().memoizedState;return[typeof e=="boolean"?e:Bi(e),t]},useSyncExternalStore:tf,useId:Nf};Wa.useCacheRefresh=kf,Wa.useMemoCache=Mr,Wa.useHostTransitionStatus=Kr,Wa.useFormState=pf,Wa.useActionState=pf,Wa.useOptimistic=function(e,t){var a=Ce();return ge!==null?uf(a,ge,e,t):(a.baseState=e,[e,a.queue.dispatch])};function Xr(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:me({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Zr={isMounted:function(e){return(e=e._reactInternals)?P(e)===e:!1},enqueueSetState:function(e,t,a){e=e._reactInternals;var n=ft(),s=ba(n);s.payload=t,a!=null&&(s.callback=a),t=_a(e,s,n),t!==null&&(Fe(t,e,n),$i(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=ft(),s=ba(n);s.tag=1,s.payload=t,a!=null&&(s.callback=a),t=_a(e,s,n),t!==null&&(Fe(t,e,n),$i(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ft(),n=ba(a);n.tag=2,t!=null&&(n.callback=t),t=_a(e,n,a),t!==null&&(Fe(t,e,a),$i(t,e,a))}};function Uf(e,t,a,n,s,o,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,h):t.prototype&&t.prototype.isPureReactComponent?!Ti(a,n)||!Ti(s,o):!0}function Mf(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&Zr.enqueueReplaceState(t,t.state,null)}function Fa(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=me({},a));for(var s in e)a[s]===void 0&&(a[s]=e[s])}return a}var ss=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Lf(e){ss(e)}function Bf(e){console.error(e)}function Hf(e){ss(e)}function rs(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function qf(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Jr(e,t,a){return a=ba(a),a.tag=3,a.payload={element:null},a.callback=function(){rs(e,t)},a}function Gf(e){return e=ba(e),e.tag=3,e}function $f(e,t,a,n){var s=a.type.getDerivedStateFromError;if(typeof s=="function"){var o=n.value;e.payload=function(){return s(o)},e.callback=function(){qf(t,a,n)}}var h=a.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){qf(t,a,n),typeof s!="function"&&(Ta===null?Ta=new Set([this]):Ta.add(this));var p=n.stack;this.componentDidCatch(n.value,{componentStack:p!==null?p:""})})}function pg(e,t,a,n,s){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&Gi(t,a,s,!0),a=_t.current,a!==null){switch(a.tag){case 13:return Ut===null?Nu():a.alternate===null&&Ae===0&&(Ae=3),a.flags&=-257,a.flags|=65536,a.lanes=s,n===jr?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Cu(e,n,s)),!1;case 22:return a.flags|=65536,n===jr?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Cu(e,n,s)),!1}throw Error(r(435,a.tag))}return Cu(e,n,s),Nu(),!1}if(de)return t=_t.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=s,n!==Er&&(e=Error(r(422),{cause:n}),Ni(pt(e,a)))):(n!==Er&&(t=Error(r(423),{cause:n}),Ni(pt(t,a))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,n=pt(n,a),s=Jr(e.stateNode,n,s),cu(e,s),Ae!==4&&(Ae=2)),!1;var o=Error(r(520),{cause:n});if(o=pt(o,a),Pi===null?Pi=[o]:Pi.push(o),Ae!==4&&(Ae=2),t===null)return!0;n=pt(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=s&-s,a.lanes|=e,e=Jr(a.stateNode,n,e),cu(a,e),!1;case 1:if(t=a.type,o=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Ta===null||!Ta.has(o))))return a.flags|=65536,s&=-s,a.lanes|=s,s=Gf(s),$f(s,e,a,n),cu(a,s),!1}a=a.return}while(a!==null);return!1}var Yf=Error(r(461)),Be=!1;function Ve(e,t,a,n){t.child=e===null?Xc(t,null,a,n):Xa(t,e.child,a,n)}function Vf(e,t,a,n,s){a=a.render;var o=t.ref;if("ref"in n){var h={};for(var p in n)p!=="ref"&&(h[p]=n[p])}else h=n;return en(t),n=Cr(e,t,a,h,o,s),p=zr(),e!==null&&!Be?(Dr(e,t,s),Zt(e,t,s)):(de&&p&&xr(t),t.flags|=1,Ve(e,t,n,s),t.child)}function Kf(e,t,a,n,s){if(e===null){var o=a.type;return typeof o=="function"&&!yu(o)&&o.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=o,Qf(e,t,o,n,s)):(e=ds(a.type,null,n,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!iu(e,s)){var h=o.memoizedProps;if(a=a.compare,a=a!==null?a:Ti,a(h,n)&&e.ref===t.ref)return Zt(e,t,s)}return t.flags|=1,e=Ea(o,n),e.ref=t.ref,e.return=t,t.child=e}function Qf(e,t,a,n,s){if(e!==null){var o=e.memoizedProps;if(Ti(o,n)&&e.ref===t.ref)if(Be=!1,t.pendingProps=n=o,iu(e,s))e.flags&131072&&(Be=!0);else return t.lanes=e.lanes,Zt(e,t,s)}return Pr(e,t,a,n,s)}function Xf(e,t,a){var n=t.pendingProps,s=n.children,o=(t.stateNode._pendingVisibility&2)!==0,h=e!==null?e.memoizedState:null;if(qi(e,t),n.mode==="hidden"||o){if(t.flags&128){if(n=h!==null?h.baseLanes|a:a,e!==null){for(s=t.child=e.child,o=0;s!==null;)o=o|s.lanes|s.childLanes,s=s.sibling;t.childLanes=o&~n}else t.childLanes=0,t.child=null;return Zf(e,t,n,a)}if(a&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Wl(t,h!==null?h.cachePool:null),h!==null?Zc(t,h):Tr(),Jc(t);else return t.lanes=t.childLanes=536870912,Zf(e,t,h!==null?h.baseLanes|a:a,a)}else h!==null?(Wl(t,h.cachePool),Zc(t,h),ma(),t.memoizedState=null):(e!==null&&Wl(t,null),Tr(),ma());return Ve(e,t,s,a),t.child}function Zf(e,t,a,n){var s=Nr();return s=s===null?null:{parent:Me._currentValue,pool:s},t.memoizedState={baseLanes:a,cachePool:s},e!==null&&Wl(t,null),Tr(),Jc(t),e!==null&&Gi(e,t,n,!0),null}function qi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=2097664);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(t.flags|=2097664)}}function Pr(e,t,a,n,s){return en(t),a=Cr(e,t,a,n,void 0,s),n=zr(),e!==null&&!Be?(Dr(e,t,s),Zt(e,t,s)):(de&&n&&xr(t),t.flags|=1,Ve(e,t,a,s),t.child)}function Jf(e,t,a,n,s,o){return en(t),t.updateQueue=null,a=ef(t,n,a,s),Ic(e),n=zr(),e!==null&&!Be?(Dr(e,t,o),Zt(e,t,o)):(de&&n&&xr(t),t.flags|=1,Ve(e,t,a,o),t.child)}function Pf(e,t,a,n,s){if(en(t),t.stateNode===null){var o=Rn,h=a.contextType;typeof h=="object"&&h!==null&&(o=Ze(h)),o=new a(n,o),t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Zr,t.stateNode=o,o._reactInternals=t,o=t.stateNode,o.props=n,o.state=t.memoizedState,o.refs={},uu(t),h=a.contextType,o.context=typeof h=="object"&&h!==null?Ze(h):Rn,o.state=t.memoizedState,h=a.getDerivedStateFromProps,typeof h=="function"&&(Xr(t,a,h,n),o.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(h=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),h!==o.state&&Zr.enqueueReplaceState(o,o.state,null),Vi(t,n,o,s),Yi(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){o=t.stateNode;var p=t.memoizedProps,_=Fa(a,p);o.props=_;var E=o.context,k=a.contextType;h=Rn,typeof k=="object"&&k!==null&&(h=Ze(k));var D=a.getDerivedStateFromProps;k=typeof D=="function"||typeof o.getSnapshotBeforeUpdate=="function",p=t.pendingProps!==p,k||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(p||E!==h)&&Mf(t,o,n,h),ya=!1;var A=t.memoizedState;o.state=A,Vi(t,n,o,s),Yi(),E=t.memoizedState,p||A!==E||ya?(typeof D=="function"&&(Xr(t,a,D,n),E=t.memoizedState),(_=ya||Uf(t,a,_,n,A,E,h))?(k||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=E),o.props=n,o.state=E,o.context=h,n=_):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,ou(e,t),h=t.memoizedProps,k=Fa(a,h),o.props=k,D=t.pendingProps,A=o.context,E=a.contextType,_=Rn,typeof E=="object"&&E!==null&&(_=Ze(E)),p=a.getDerivedStateFromProps,(E=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(h!==D||A!==_)&&Mf(t,o,n,_),ya=!1,A=t.memoizedState,o.state=A,Vi(t,n,o,s),Yi();var N=t.memoizedState;h!==D||A!==N||ya||e!==null&&e.dependencies!==null&&us(e.dependencies)?(typeof p=="function"&&(Xr(t,a,p,n),N=t.memoizedState),(k=ya||Uf(t,a,k,n,A,N,_)||e!==null&&e.dependencies!==null&&us(e.dependencies))?(E||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,N,_),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,N,_)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||h===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=N),o.props=n,o.state=N,o.context=_,n=k):(typeof o.componentDidUpdate!="function"||h===e.memoizedProps&&A===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&A===e.memoizedState||(t.flags|=1024),n=!1)}return o=n,qi(e,t),n=(t.flags&128)!==0,o||n?(o=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:o.render(),t.flags|=1,e!==null&&n?(t.child=Xa(t,e.child,null,s),t.child=Xa(t,null,a,s)):Ve(e,t,a,s),t.memoizedState=o.state,e=t.child):e=Zt(e,t,s),e}function Wf(e,t,a,n){return Ri(),t.flags|=256,Ve(e,t,a,n),t.child}var Wr={dehydrated:null,treeContext:null,retryLane:0};function Fr(e){return{baseLanes:e,cachePool:Fc()}}function Ir(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Et),e}function Ff(e,t,a){var n=t.pendingProps,s=!1,o=(t.flags&128)!==0,h;if((h=o)||(h=e!==null&&e.memoizedState===null?!1:(Ue.current&2)!==0),h&&(s=!0,t.flags&=-129),h=(t.flags&32)!==0,t.flags&=-33,e===null){if(de){if(s?ha(t):ma(),de){var p=Ye,_;if(_=p){e:{for(_=p,p=Dt;_.nodeType!==8;){if(!p){p=null;break e}if(_=Rt(_.nextSibling),_===null){p=null;break e}}p=_}p!==null?(t.memoizedState={dehydrated:p,treeContext:Va!==null?{id:Vt,overflow:Kt}:null,retryLane:536870912},_=St(18,null,null,0),_.stateNode=p,_.return=t,t.child=_,We=t,Ye=null,_=!0):_=!1}_||Qa(t)}if(p=t.memoizedState,p!==null&&(p=p.dehydrated,p!==null))return p.data==="$!"?t.lanes=16:t.lanes=536870912,null;Qt(t)}return p=n.children,n=n.fallback,s?(ma(),s=t.mode,p=tu({mode:"hidden",children:p},s),n=an(n,s,a,null),p.return=t,n.return=t,p.sibling=n,t.child=p,s=t.child,s.memoizedState=Fr(a),s.childLanes=Ir(e,h,a),t.memoizedState=Wr,n):(ha(t),eu(t,p))}if(_=e.memoizedState,_!==null&&(p=_.dehydrated,p!==null)){if(o)t.flags&256?(ha(t),t.flags&=-257,t=au(e,t,a)):t.memoizedState!==null?(ma(),t.child=e.child,t.flags|=128,t=null):(ma(),s=n.fallback,p=t.mode,n=tu({mode:"visible",children:n.children},p),s=an(s,p,a,null),s.flags|=2,n.return=t,s.return=t,n.sibling=s,t.child=n,Xa(t,e.child,null,a),n=t.child,n.memoizedState=Fr(a),n.childLanes=Ir(e,h,a),t.memoizedState=Wr,t=s);else if(ha(t),p.data==="$!"){if(h=p.nextSibling&&p.nextSibling.dataset,h)var E=h.dgst;h=E,n=Error(r(419)),n.stack="",n.digest=h,Ni({value:n,source:null,stack:null}),t=au(e,t,a)}else if(Be||Gi(e,t,a,!1),h=(a&e.childLanes)!==0,Be||h){if(h=_e,h!==null){if(n=a&-a,n&42)n=1;else switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;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:n=64;break;case 268435456:n=134217728;break;default:n=0}if(n=n&(h.suspendedLanes|a)?0:n,n!==0&&n!==_.retryLane)throw _.retryLane=n,da(e,n),Fe(h,e,n),Yf}p.data==="$?"||Nu(),t=au(e,t,a)}else p.data==="$?"?(t.flags|=128,t.child=e.child,t=Cg.bind(null,e),p._reactRetry=t,t=null):(e=_.treeContext,Ye=Rt(p.nextSibling),We=t,de=!0,At=null,Dt=!1,e!==null&&(yt[bt++]=Vt,yt[bt++]=Kt,yt[bt++]=Va,Vt=e.id,Kt=e.overflow,Va=t),t=eu(t,n.children),t.flags|=4096);return t}return s?(ma(),s=n.fallback,p=t.mode,_=e.child,E=_.sibling,n=Ea(_,{mode:"hidden",children:n.children}),n.subtreeFlags=_.subtreeFlags&31457280,E!==null?s=Ea(E,s):(s=an(s,p,a,null),s.flags|=2),s.return=t,n.return=t,n.sibling=s,t.child=n,n=s,s=t.child,p=e.child.memoizedState,p===null?p=Fr(a):(_=p.cachePool,_!==null?(E=Me._currentValue,_=_.parent!==E?{parent:E,pool:E}:_):_=Fc(),p={baseLanes:p.baseLanes|a,cachePool:_}),s.memoizedState=p,s.childLanes=Ir(e,h,a),t.memoizedState=Wr,n):(ha(t),a=e.child,e=a.sibling,a=Ea(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(h=t.deletions,h===null?(t.deletions=[e],t.flags|=16):h.push(e)),t.child=a,t.memoizedState=null,a)}function eu(e,t){return t=tu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function tu(e,t){return Ed(e,t,0,null)}function au(e,t,a){return Xa(t,e.child,null,a),e=eu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function If(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),su(e.return,t,a)}function nu(e,t,a,n,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=a,o.tailMode=s)}function ed(e,t,a){var n=t.pendingProps,s=n.revealOrder,o=n.tail;if(Ve(e,t,n.children,a),n=Ue.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&If(e,a,t);else if(e.tag===19)If(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}switch(Se(Ue,n),s){case"forwards":for(a=t.child,s=null;a!==null;)e=a.alternate,e!==null&&Pl(e)===null&&(s=a),a=a.sibling;a=s,a===null?(s=t.child,t.child=null):(s=a.sibling,a.sibling=null),nu(t,!1,s,a,o);break;case"backwards":for(a=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Pl(e)===null){t.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}nu(t,!0,a,null,o);break;case"together":nu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zt(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ja|=t.lanes,!(a&t.childLanes))if(e!==null){if(Gi(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,a=Ea(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Ea(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function iu(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&us(e)))}function yg(e,t,a){switch(t.tag){case 3:El(t,t.stateNode.containerInfo),pa(t,Me,e.memoizedState.cache),Ri();break;case 27:case 5:Zs(t);break;case 4:El(t,t.stateNode.containerInfo);break;case 10:pa(t,t.type,t.memoizedProps.value);break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(ha(t),t.flags|=128,null):a&t.child.childLanes?Ff(e,t,a):(ha(t),e=Zt(e,t,a),e!==null?e.sibling:null);ha(t);break;case 19:var s=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(Gi(e,t,a,!1),n=(a&t.childLanes)!==0),s){if(n)return ed(e,t,a);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Se(Ue,Ue.current),n)break;return null;case 22:case 23:return t.lanes=0,Xf(e,t,a);case 24:pa(t,Me,e.memoizedState.cache)}return Zt(e,t,a)}function td(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Be=!0;else{if(!iu(e,a)&&!(t.flags&128))return Be=!1,yg(e,t,a);Be=!!(e.flags&131072)}else Be=!1,de&&t.flags&1048576&&Bc(t,Kl,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var n=t.elementType,s=n._init;if(n=s(n._payload),t.type=n,typeof n=="function")yu(n)?(e=Fa(n,e),t.tag=1,t=Pf(null,t,n,e,a)):(t.tag=0,t=Pr(null,t,n,e,a));else{if(n!=null){if(s=n.$$typeof,s===L){t.tag=11,t=Vf(null,t,n,e,a);break e}else if(s===Y){t.tag=14,t=Kf(null,t,n,e,a);break e}}throw t=ra(n)||n,Error(r(306,t,""))}}return t;case 0:return Pr(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,s=Fa(n,t.pendingProps),Pf(e,t,n,s,a);case 3:e:{if(El(t,t.stateNode.containerInfo),e===null)throw Error(r(387));var o=t.pendingProps;s=t.memoizedState,n=s.element,ou(e,t),Vi(t,o,null,a);var h=t.memoizedState;if(o=h.cache,pa(t,Me,o),o!==s.cache&&ru(t,[Me],a,!0),Yi(),o=h.element,s.isDehydrated)if(s={element:o,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=Wf(e,t,o,a);break e}else if(o!==n){n=pt(Error(r(424)),t),Ni(n),t=Wf(e,t,o,a);break e}else for(Ye=Rt(t.stateNode.containerInfo.firstChild),We=t,de=!0,At=null,Dt=!0,a=Xc(t,null,o,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ri(),o===n){t=Zt(e,t,a);break e}Ve(e,t,o,a)}t=t.child}return t;case 26:return qi(e,t),e===null?(a=ih(t.type,null,t.pendingProps,null))?t.memoizedState=a:de||(a=t.type,e=t.pendingProps,n=Es(ua.current).createElement(a),n[Xe]=t,n[tt]=e,Ke(n,a,e),Le(n),t.stateNode=n):t.memoizedState=ih(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Zs(t),e===null&&de&&(n=t.stateNode=th(t.type,t.pendingProps,ua.current),We=t,Dt=!0,Ye=Rt(n.firstChild)),n=t.pendingProps.children,e!==null||de?Ve(e,t,n,a):t.child=Xa(t,null,n,a),qi(e,t),t.child;case 5:return e===null&&de&&((s=n=Ye)&&(n=Zg(n,t.type,t.pendingProps,Dt),n!==null?(t.stateNode=n,We=t,Ye=Rt(n.firstChild),Dt=!1,s=!0):s=!1),s||Qa(t)),Zs(t),s=t.type,o=t.pendingProps,h=e!==null?e.memoizedProps:null,n=o.children,Vu(s,o)?n=null:h!==null&&Vu(s,h)&&(t.flags|=32),t.memoizedState!==null&&(s=Cr(e,t,fg,null,null,a),ll._currentValue=s),qi(e,t),Ve(e,t,n,a),t.child;case 6:return e===null&&de&&((e=a=Ye)&&(a=Jg(a,t.pendingProps,Dt),a!==null?(t.stateNode=a,We=t,Ye=null,e=!0):e=!1),e||Qa(t)),null;case 13:return Ff(e,t,a);case 4:return El(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Xa(t,null,n,a):Ve(e,t,n,a),t.child;case 11:return Vf(e,t,t.type,t.pendingProps,a);case 7:return Ve(e,t,t.pendingProps,a),t.child;case 8:return Ve(e,t,t.pendingProps.children,a),t.child;case 12:return Ve(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,pa(t,t.type,n.value),Ve(e,t,n.children,a),t.child;case 9:return s=t.type._context,n=t.pendingProps.children,en(t),s=Ze(s),n=n(s),t.flags|=1,Ve(e,t,n,a),t.child;case 14:return Kf(e,t,t.type,t.pendingProps,a);case 15:return Qf(e,t,t.type,t.pendingProps,a);case 19:return ed(e,t,a);case 22:return Xf(e,t,a);case 24:return en(t),n=Ze(Me),e===null?(s=Nr(),s===null&&(s=_e,o=Or(),s.pooledCache=o,o.refCount++,o!==null&&(s.pooledCacheLanes|=a),s=o),t.memoizedState={parent:n,cache:s},uu(t),pa(t,Me,s)):(e.lanes&a&&(ou(e,t),Vi(t,null,null,a),Yi()),s=e.memoizedState,o=t.memoizedState,s.parent!==n?(s={parent:n,cache:n},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),pa(t,Me,n)):(n=o.cache,pa(t,Me,n),n!==s.cache&&ru(t,[Me],a,!0))),Ve(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}var lu=ve(null),Ia=null,Jt=null;function pa(e,t,a){Se(lu,t._currentValue),t._currentValue=a}function Pt(e){e._currentValue=lu.current,Ne(lu)}function su(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function ru(e,t,a,n){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var o=s.dependencies;if(o!==null){var h=s.child;o=o.firstContext;e:for(;o!==null;){var p=o;o=s;for(var _=0;_<t.length;
vendor: 4,153 bytes, line 48
48_++)if(p.context===t[_]){o.lanes|=a,p=o.alternate,p!==null&&(p.lanes|=a),su(o.return,a,e),n||(h=null);break e}o=p.next}}else if(s.tag===18){if(h=s.return,h===null)throw Error(r(341));h.lanes|=a,o=h.alternate,o!==null&&(o.lanes|=a),su(h,a,e),h=null}else h=s.child;if(h!==null)h.return=s;else for(h=s;h!==null;){if(h===e){h=null;break}if(s=h.sibling,s!==null){s.return=h.return,h=s;break}h=h.return}s=h}}function Gi(e,t,a,n){e=null;for(var s=t,o=!1;s!==null;){if(!o){if(s.flags&524288)o=!0;else if(s.flags&262144)break}if(s.tag===10){var h=s.alternate;if(h===null)throw Error(r(387));if(h=h.memoizedProps,h!==null){var p=s.type;rt(s.pendingProps.value,h.value)||(e!==null?e.push(p):e=[p])}}else if(s===Sl.current){if(h=s.alternate,h===null)throw Error(r(387));h.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(ll):e=[ll])}s=s.return}e!==null&&ru(t,e,a,n),t.flags|=262144}function us(e){for(e=e.firstContext;e!==null;){if(!rt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function en(e){Ia=e,Jt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ze(e){return ad(Ia,e)}function os(e,t){return Ia===null&&en(e),ad(e,t)}function ad(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Jt===null){if(e===null)throw Error(r(308));Jt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Jt=Jt.next=t;return a}var ya=!1;function uu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ou(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function _a(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,je&2){var s=n.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),n.pending=t,t=Yl(e),Mc(e,null,a),t}return $l(e,n,t,a),Yl(e)}function $i(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194176)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Vo(e,a)}}function cu(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var s=null,o=null;if(a=a.firstBaseUpdate,a!==null){do{var h={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};o===null?s=o=h:o=o.next=h,a=a.next}while(a!==null);o===null?s=o=t:o=o.next=t}else s=o=t;a={baseState:n.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var fu=!1;function Yi(){if(fu){var e=Un;if(e!==null)throw e}}function Vi(e,t,a,n){fu=!1;var s=e.updateQueue;ya=!1;var o=s.firstBaseUpdate,h=s.lastBaseUpdate,p=s.shared.pending;if(p!==null){s.shared.pending=null;var _=p,E=_.next;_.next=null,h===null?o=E:h.next=E,h=_;var k=e.alternate;k!==null&&(k=k.updateQueue,p=k.lastBaseUpdate,p!==h&&(p===null?k.firstBaseUpdate=E:p.next=E,k.lastBaseUpdate=_))}if(o!==null){var D=s.baseState;h=0,k=E=_=null,p=o;do{var A=p.lane&-536870913,N=A!==p.lane;if(N?(fe&A)===A:(n&A)===A){A!==0&&A===Dn&&(fu=!0),k!==null&&(k=k.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{var $=e,F=p;A=t;var Oe=a;switch(F.tag){case 1:if($=F.payload,typeof $=="function"){D=$.call(Oe,D,A);break e}D=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=F.payload,A=typeof $=="function"?$.call(Oe,D,A):$,A==null)break e;D=me({},D,A);break e;case 2:ya=!0}}A=p.callback,A!==null&&(e.flags|=64,N&&(e.flags|=8192),N=s.callbacks,N===null?s.callbacks=[A]:N.push(A))}else N={lane:A,tag:p.tag,payload:p.payload,callback:p.callback,next:null},k===null?(E=k=N,_=D):k=k.next=N,h|=A;if(p=p.next,p===null){if(p=s.shared.pending,p===null)break;N=p,p=N.next,N.next=null,s.lastBaseUpdate=N,s.shared.pending=null}}while(!0);k===null&&(_=D),s.baseState=_,s.firstBaseUpdate=E,s.lastBaseUpdate=k,o===null&&(s.shared.lanes=0),ja|=h,e.lanes=h,e.memoizedState=D}}function nd(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function id(e,t){var a=e.callbacks;
vendor: 10,689 bytes, line 48
48if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)nd(a[e],t)}function Ki(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var s=n.next;a=s;do{if((a.tag&e)===e){n=void 0;var o=a.create,h=a.inst;n=o(),h.destroy=n}a=a.next}while(a!==s)}}catch(p){ye(t,t.return,p)}}function wa(e,t,a){try{var n=t.updateQueue,s=n!==null?n.lastEffect:null;if(s!==null){var o=s.next;n=o;do{if((n.tag&e)===e){var h=n.inst,p=h.destroy;if(p!==void 0){h.destroy=void 0,s=t;var _=a;try{p()}catch(E){ye(s,_,E)}}}n=n.next}while(n!==o)}}catch(E){ye(t,t.return,E)}}function ld(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{id(t,a)}catch(n){ye(e,e.return,n)}}}function sd(e,t,a){a.props=Fa(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){ye(e,t,n)}}function tn(e,t){try{var a=e.ref;if(a!==null){var n=e.stateNode;switch(e.tag){case 26:case 27:case 5:var s=n;break;default:s=n}typeof a=="function"?e.refCleanup=a(s):a.current=s}}catch(o){ye(e,t,o)}}function ut(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(s){ye(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(s){ye(e,t,s)}else a.current=null}function rd(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(s){ye(e,e.return,s)}}function ud(e,t,a){try{var n=e.stateNode;Yg(n,e.type,a,t),n[tt]=t}catch(s){ye(e,e.return,s)}}function od(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function du(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||od(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hu(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.nodeType===8?a.parentNode.insertBefore(e,t):a.insertBefore(e,t):(a.nodeType===8?(t=a.parentNode,t.insertBefore(e,a)):(t=a,t.appendChild(e)),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Ss));else if(n!==4&&n!==27&&(e=e.child,e!==null))for(hu(e,t,a),e=e.sibling;e!==null;)hu(e,t,a),e=e.sibling}function cs(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&n!==27&&(e=e.child,e!==null))for(cs(e,t,a),e=e.sibling;e!==null;)cs(e,t,a),e=e.sibling}var Wt=!1,Te=!1,mu=!1,cd=typeof WeakSet=="function"?WeakSet:Set,He=null,fd=!1;function bg(e,t){if(e=e.containerInfo,$u=Ns,e=Ac(e),gr(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var s=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{a.nodeType,o.nodeType}catch{a=null;break e}var h=0,p=-1,_=-1,E=0,k=0,D=e,A=null;t:for(;;){for(var N;D!==a||s!==0&&D.nodeType!==3||(p=h+s),D!==o||n!==0&&D.nodeType!==3||(_=h+n),D.nodeType===3&&(h+=D.nodeValue.length),(N=D.firstChild)!==null;)A=D,D=N;for(;;){if(D===e)break t;if(A===a&&++E===s&&(p=h),A===o&&++k===n&&(_=h),(N=D.nextSibling)!==null)break;D=A,A=D.parentNode}D=N}a=p===-1||_===-1?null:{start:p,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Yu={focusedElem:e,selectionRange:a},Ns=!1,He=t;He!==null;)if(t=He,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,He=e;else for(;He!==null;){switch(t=He,o=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,a=t,s=o.memoizedProps,o=o.memoizedState,n=a.stateNode;try{var $=Fa(a.type,s,a.elementType===a.type);e=n.getSnapshotBeforeUpdate($,o),n.__reactInternalSnapshotBeforeUpdate=e}catch(F){ye(a,a.return,F)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Xu(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,He=e;break}He=t.return}return $=fd,fd=!1,$}function dd(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:It(e,a),n&4&&Ki(5,a);break;case 1:if(It(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(p){ye(a,a.return,p)}else{var s=Fa(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){ye(a,a.return,p)}}n&64&&ld(a),n&512&&tn(a,a.return);break;case 3:if(It(e,a),n&64&&(n=a.updateQueue,n!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{id(n,e)}catch(p){ye(a,a.return,p)}}break;case 26:It(e,a),n&512&&tn(a,a.return);break;case 27:case 5:It(e,a),t===null&&n&4&&rd(a),n&512&&tn(a,a.return);break;case 12:It(e,a);break;case 13:It(e,a),n&4&&vd(e,a);break;case 22:if(s=a.memoizedState!==null||Wt,!s){t=t!==null&&t.memoizedState!==null||Te;var o=Wt,h=Te;Wt=s,(Te=t)&&!h?xa(e,a,(a.subtreeFlags&8772)!==0):It(e,a),Wt=o,Te=h}n&512&&(a.memoizedProps.mode==="manual"?tn(a,a.return):ut(a,a.return));break;default:It(e,a)}}function hd(e){var t=e.alternate;t!==null&&(e.alternate=null,hd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&er(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ze=null,ot=!1;function Ft(e,t,a){for(a=a.child;a!==null;)md(e,t,a),a=a.sibling}function md(e,t,a){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(mi,a)}catch{}switch(a.tag){case 26:Te||ut(a,t),Ft(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Te||ut(a,t);var n=ze,s=ot;for(ze=a.stateNode,Ft(e,t,a),a=a.stateNode,t=a.attributes;t.length;)a.removeAttributeNode(t[0]);er(a),ze=n,ot=s;break;case 5:Te||ut(a,t);case 6:s=ze;var o=ot;if(ze=null,Ft(e,t,a),ze=s,ot=o,ze!==null)if(ot)try{e=ze,n=a.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)}catch(h){ye(a,t,h)}else try{ze.removeChild(a.stateNode)}catch(h){ye(a,t,h)}break;case 18:ze!==null&&(ot?(t=ze,a=a.stateNode,t.nodeType===8?Qu(t.parentNode,a):t.nodeType===1&&Qu(t,a),ol(t)):Qu(ze,a.stateNode));break;case 4:n=ze,s=ot,ze=a.stateNode.containerInfo,ot=!0,Ft(e,t,a),ze=n,ot=s;break;case 0:case 11:case 14:case 15:Te||wa(2,a,t),Te||wa(4,a,t),Ft(e,t,a);break;case 1:Te||(ut(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&sd(a,t,n)),Ft(e,t,a);break;case 21:Ft(e,t,a);break;case 22:Te||ut(a,t),Te=(n=Te)||a.memoizedState!==null,Ft(e,t,a),Te=n;break;default:Ft(e,t,a)}}function vd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ol(e)}catch(a){ye(t,t.return,a)}}function _g(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new cd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new cd),t;default:throw Error(r(435,e.tag))}}function vu(e,t){var a=_g(e);t.forEach(function(n){var s=zg.bind(null,e,n);a.has(n)||(a.add(n),n.then(s,s))})}function wt(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var s=a[n],o=e,h=t,p=h;e:for(;p!==null;){switch(p.tag){case 27:case 5:ze=p.stateNode,ot=!1;break e;case 3:ze=p.stateNode.containerInfo,ot=!0;break e;case 4:ze=p.stateNode.containerInfo,ot=!0;break e}p=p.return}if(ze===null)throw Error(r(160));md(o,h,s),ze=null,ot=!1,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)gd(t,e),t=t.sibling}var Ot=null;function gd(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:wt(t,e),xt(e),n&4&&(wa(3,e,e.return),Ki(3,e),wa(5,e,e.return));break;case 1:wt(t,e),xt(e),n&512&&(Te||a===null||ut(a,a.return)),n&64&&Wt&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var s=Ot;if(wt(t,e),xt(e),n&512&&(Te||a===null||ut(a,a.return)),n&4){var o=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,s=s.ownerDocument||s;t:switch(n){case"title":o=s.getElementsByTagName("title")[0],(!o||o[pi]||o[Xe]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=s.createElement(n),s.head.insertBefore(o,s.querySelector("head > title"))),Ke(o,n,a),o[Xe]=e,Le(o),n=o;break e;case"link":var h=rh("link","href",s).get(n+(a.href||""));if(h){for(var p=0;p<h.length;p++)if(o=h[p],o.getAttribute("href")===(a.href==null?null:a.href)&&o.getAttribute("rel")===(a.rel==null?null:a.rel)&&o.getAttribute("title")===(a.title==null?null:a.title)&&o.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){h.splice(p,1);break t}}o=s.createElement(n),Ke(o,n,a),s.head.appendChild(o);break;case"meta":if(h=rh("meta","content",s).get(n+(a.content||""))){for(p=0;p<h.length;p++)if(o=h[p],o.getAttribute("content")===(a.content==null?null:""+a.content)&&o.getAttribute("name")===(a.name==null?null:a.name)&&o.getAttribute("property")===(a.property==null?null:a.property)&&o.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&o.getAttribute("charset")===(a.charSet==null?null:a.charSet)){h.splice(p,1);break t}}o=s.createElement(n),Ke(o,n,a),s.head.appendChild(o);break;default:throw Error(r(468,n))}o[Xe]=e,Le(o),n=o}e.stateNode=n}else uh(s,e.type,e.stateNode);else e.stateNode=sh(s,n,e.memoizedProps);else o!==n?(o===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):o.count--,n===null?uh(s,e.type,e.stateNode):sh(s,n,e.memoizedProps)):n===null&&e.stateNode!==null&&ud(e,e.memoizedProps,a.memoizedProps)}break;case 27:if(n&4&&e.alternate===null){s=e.stateNode,o=e.memoizedProps;try{for(var _=s.firstChild;_;){var E=_.nextSibling,k=_.nodeName;_[pi]||k==="HEAD"||k==="BODY"||k==="SCRIPT"||k==="STYLE"||k==="LINK"&&_.rel.toLowerCase()==="stylesheet"||s.removeChild(_),_=E}for(var D=e.type,A=s.attributes;A.length;)s.removeAttributeNode(A[0]);Ke(s,D,o),s[Xe]=e,s[tt]=o}catch($){ye(e,e.return,$)}}case 5:if(wt(t,e),xt(e),n&512&&(Te||a===null||ut(a,a.return)),e.flags&32){s=e.stateNode;try{xn(s,"")}catch($){ye(e,e.return,$)}}n&4&&e.stateNode!=null&&(s=e.memoizedProps,ud(e,s,a!==null?a.memoizedProps:s)),n&1024&&(mu=!0);break;case 6:if(wt(t,e),xt(e),n&4){if(e.stateNode===null)throw Error(r(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch($){ye(e,e.return,$)}}break;
vendor: 5,094 bytes, line 48
48case 3:if(As=null,s=Ot,Ot=js(t.containerInfo),wt(t,e),Ot=s,xt(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{ol(t.containerInfo)}catch($){ye(e,e.return,$)}mu&&(mu=!1,pd(e));break;case 4:n=Ot,Ot=js(e.stateNode.containerInfo),wt(t,e),xt(e),Ot=n;break;case 12:wt(t,e),xt(e);break;case 13:wt(t,e),xt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Eu=zt()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,vu(e,n)));break;case 22:if(n&512&&(Te||a===null||ut(a,a.return)),_=e.memoizedState!==null,E=a!==null&&a.memoizedState!==null,k=Wt,D=Te,Wt=k||_,Te=D||E,wt(t,e),Te=D,Wt=k,xt(e),t=e.stateNode,t._current=e,t._visibility&=-3,t._visibility|=t._pendingVisibility&2,n&8192&&(t._visibility=_?t._visibility&-2:t._visibility|1,_&&(t=Wt||Te,a===null||E||t||Hn(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(a=null,t=e;;){if(t.tag===5||t.tag===26||t.tag===27){if(a===null){E=a=t;try{if(s=E.stateNode,_)o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{h=E.stateNode,p=E.memoizedProps.style;var N=p!=null&&p.hasOwnProperty("display")?p.display:null;h.style.display=N==null||typeof N=="boolean"?"":(""+N).trim()}}catch($){ye(E,E.return,$)}}}else if(t.tag===6){if(a===null){E=t;try{E.stateNode.nodeValue=_?"":E.memoizedProps}catch($){ye(E,E.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,vu(e,a))));break;case 19:wt(t,e),xt(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,vu(e,n)));break;case 21:break;default:wt(t,e),xt(e)}}function xt(e){var t=e.flags;if(t&2){try{if(e.tag!==27){e:{for(var a=e.return;a!==null;){if(od(a)){var n=a;break e}a=a.return}throw Error(r(160))}switch(n.tag){case 27:var s=n.stateNode,o=du(e);cs(e,o,s);break;case 5:var h=n.stateNode;n.flags&32&&(xn(h,""),n.flags&=-33);var p=du(e);cs(e,p,h);break;case 3:case 4:var _=n.stateNode.containerInfo,E=du(e);hu(e,E,_);break;default:throw Error(r(161))}}}catch(k){ye(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function pd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;pd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function It(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)dd(e,t.alternate,t),t=t.sibling}function Hn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:wa(4,t,t.return),Hn(t);break;case 1:ut(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&sd(t,t.return,a),Hn(t);break;case 26:case 27:case 5:ut(t,t.return),Hn(t);break;case 22:ut(t,t.return),t.memoizedState===null&&Hn(t);break;default:Hn(t)}e=e.sibling}}function xa(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,s=e,o=t,h=o.flags;switch(o.tag){case 0:case 11:case 15:xa(s,o,a),Ki(4,o);break;case 1:if(xa(s,o,a),n=o,s=n.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(E){ye(n,n.return,E)}if(n=o,s=n.updateQueue,s!==null){var p=n.stateNode;try{var _=s.shared.hiddenCallbacks;if(_!==null)for(s.shared.hiddenCallbacks=null,s=0;s<_.length;s++)nd(_[s],p)}catch(E){ye(n,n.return,E)}}a&&h&64&&ld(o),tn(o,o.return);break;case 26:case 27:case 5:xa(s,o,a),a&&n===null&&h&4&&rd(o),tn(o,o.return);break;case 12:xa(s,o,a);break;case 13:xa(s,o,a),a&&h&4&&vd(s,o);break;case 22:o.memoizedState===null&&xa(s,o,a),tn(o,o.return);break;default:xa(s,o,a)}t=t.sibling}}function gu(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Ui(a))}function pu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ui(e))}function Sa(e,t,a,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)yd(e,t,a,n),t=t.sibling}function yd(e,t,a,n){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Sa(e,t,a,n),s&2048&&Ki(9,t);break;case 3:Sa(e,t,a,n),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ui(e)));break;case 12:if(s&2048){Sa(e,t,a,n),e=t.stateNode;try{var o=t.memoizedProps,h=o.id,p=o.onPostCommit;typeof p=="function"&&p(h,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){ye(t,t.return,_)}}else Sa(e,t,a,n);break;case 23:break;case 22:o=t.stateNode,t.memoizedState!==null?o._visibility&4?Sa(e,t,a,n):Qi(e,t):o._visibility&4?Sa(e,t,a,n):(o._visibility|=4,qn(e,t,a,n,(t.subtreeFlags&10256)!==0)),s&2048&&gu(t.alternate,t);break;case 24:Sa(e,t,a,n),s&2048&&pu(t.alternate,t);break;default:Sa(e,t,a,n)}}function qn(e,t,a,n,s){for(s=s&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var o=e,h=t,p=a,_=n,E=h.flags;
vendor: 16,292 bytes, line 48
48switch(h.tag){case 0:case 11:case 15:qn(o,h,p,_,s),Ki(8,h);break;case 23:break;case 22:var k=h.stateNode;h.memoizedState!==null?k._visibility&4?qn(o,h,p,_,s):Qi(o,h):(k._visibility|=4,qn(o,h,p,_,s)),s&&E&2048&&gu(h.alternate,h);break;case 24:qn(o,h,p,_,s),s&&E&2048&&pu(h.alternate,h);break;default:qn(o,h,p,_,s)}t=t.sibling}}function Qi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,s=n.flags;switch(n.tag){case 22:Qi(a,n),s&2048&&gu(n.alternate,n);break;case 24:Qi(a,n),s&2048&&pu(n.alternate,n);break;default:Qi(a,n)}t=t.sibling}}var Xi=8192;function Gn(e){if(e.subtreeFlags&Xi)for(e=e.child;e!==null;)bd(e),e=e.sibling}function bd(e){switch(e.tag){case 26:Gn(e),e.flags&Xi&&e.memoizedState!==null&&u0(Ot,e.memoizedState,e.memoizedProps);break;case 5:Gn(e);break;case 3:case 4:var t=Ot;Ot=js(e.stateNode.containerInfo),Gn(e),Ot=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Xi,Xi=16777216,Gn(e),Xi=t):Gn(e));break;default:Gn(e)}}function _d(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Zi(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];He=n,xd(n,e)}_d(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)wd(e),e=e.sibling}function wd(e){switch(e.tag){case 0:case 11:case 15:Zi(e),e.flags&2048&&wa(9,e,e.return);break;case 3:Zi(e);break;case 12:Zi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&4&&(e.return===null||e.return.tag!==13)?(t._visibility&=-5,fs(e)):Zi(e);break;default:Zi(e)}}function fs(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];He=n,xd(n,e)}_d(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:wa(8,t,t.return),fs(t);break;case 22:a=t.stateNode,a._visibility&4&&(a._visibility&=-5,fs(t));break;default:fs(t)}e=e.sibling}}function xd(e,t){for(;He!==null;){var a=He;switch(a.tag){case 0:case 11:case 15:wa(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Ui(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,He=n;else e:for(a=e;He!==null;){n=He;var s=n.sibling,o=n.return;if(hd(n),n===a){He=null;break e}if(s!==null){s.return=o,He=s;break e}He=o}}}function wg(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function St(e,t,a,n){return new wg(e,t,a,n)}function yu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ea(e,t){var a=e.alternate;return a===null?(a=St(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&31457280,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Sd(e,t){e.flags&=31457282;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ds(e,t,a,n,s,o){var h=0;if(n=e,typeof e=="function")yu(e)&&(h=1);else if(typeof e=="string")h=s0(e,a,Ct.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case m:return an(a.children,s,o,t);case g:h=8,s|=24;break;case b:return e=St(12,a,t,s|2),e.elementType=b,e.lanes=o,e;case H:return e=St(13,a,t,s),e.elementType=H,e.lanes=o,e;case M:return e=St(19,a,t,s),e.elementType=M,e.lanes=o,e;case W:return Ed(a,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w:case C:h=10;break e;case R:h=9;break e;case L:h=11;break e;case Y:h=14;break e;case I:h=16,n=null;break e}h=29,a=Error(r(130,e===null?"null":typeof e,"")),n=null}return t=St(h,a,t,s),t.elementType=e,t.type=n,t.lanes=o,t}function an(e,t,a,n){return e=St(7,e,n,t),e.lanes=a,e}function Ed(e,t,a,n){e=St(22,e,n,t),e.elementType=W,e.lanes=a;var s={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var o=s._current;if(o===null)throw Error(r(456));if(!(s._pendingVisibility&2)){var h=da(o,2);h!==null&&(s._pendingVisibility|=2,Fe(h,o,2))}},attach:function(){var o=s._current;if(o===null)throw Error(r(456));if(s._pendingVisibility&2){var h=da(o,2);h!==null&&(s._pendingVisibility&=-3,Fe(h,o,2))}}};return e.stateNode=s,e}function bu(e,t,a){return e=St(6,e,null,t),e.lanes=a,e}function _u(e,t,a){return t=St(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ea(e){e.flags|=4}function jd(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!oh(t)){if(t=_t.current,t!==null&&((fe&4194176)===fe?Ut!==null:(fe&62914560)!==fe&&!(fe&536870912)||t!==Ut))throw Ci=jr,Gc;e.flags|=8192}}function hs(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?$o():536870912,e.lanes|=t,Yn|=t)}function Ji(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ee(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,n|=s.subtreeFlags&31457280,n|=s.flags&31457280,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,n|=s.subtreeFlags,n|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function xg(e,t,a){var n=t.pendingProps;switch(Sr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ee(t),null;case 1:return Ee(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Pt(Me),gn(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Oi(t)?ea(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,At!==null&&(Ou(At),At=null))),Ee(t),null;case 26:return a=t.memoizedState,e===null?(ea(t),a!==null?(Ee(t),jd(t,a)):(Ee(t),t.flags&=-16777217)):a?a!==e.memoizedState?(ea(t),Ee(t),jd(t,a)):(Ee(t),t.flags&=-16777217):(e.memoizedProps!==n&&ea(t),Ee(t),t.flags&=-16777217),null;case 27:jl(t),a=ua.current;var s=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ea(t);else{if(!n){if(t.stateNode===null)throw Error(r(166));return Ee(t),null}e=Ct.current,Oi(t)?Hc(t):(e=th(s,n,a),t.stateNode=e,ea(t))}return Ee(t),null;case 5:if(jl(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ea(t);else{if(!n){if(t.stateNode===null)throw Error(r(166));return Ee(t),null}if(e=Ct.current,Oi(t))Hc(t);else{switch(s=Es(ua.current),e){case 1:e=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof n.is=="string"?s.createElement("select",{is:n.is}):s.createElement("select"),n.multiple?e.multiple=!0:n.size&&(e.size=n.size);break;default:e=typeof n.is=="string"?s.createElement(a,{is:n.is}):s.createElement(a)}}e[Xe]=t,e[tt]=n;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=e;e:switch(Ke(e,a,n),a){case"button":case"input":case"select":case"textarea":e=!!n.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ea(t)}}return Ee(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ea(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(r(166));if(e=ua.current,Oi(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,s=We,s!==null)switch(s.tag){case 27:case 5:n=s.memoizedProps}e[Xe]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||Jd(e.nodeValue,a)),e||Qa(t)}else e=Es(e).createTextNode(n),e[Xe]=t,t.stateNode=e}return Ee(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Oi(t),n!==null&&n.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));s[Xe]=t}else Ri(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ee(t),s=!1}else At!==null&&(Ou(At),At=null),s=!0;if(!s)return t.flags&256?(Qt(t),t):(Qt(t),null)}if(Qt(t),t.flags&128)return t.lanes=a,t;if(a=n!==null,e=e!==null&&e.memoizedState!==null,a){n=t.child,s=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(s=n.alternate.memoizedState.cachePool.pool);var o=null;n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==s&&(n.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),hs(t,t.updateQueue),Ee(t),null;case 4:return gn(),e===null&&Hu(t.stateNode.containerInfo),Ee(t),null;case 10:return Pt(t.type),Ee(t),null;case 19:if(Ne(Ue),s=t.memoizedState,s===null)return Ee(t),null;if(n=(t.flags&128)!==0,o=s.rendering,o===null)if(n)Ji(s,!1);else{if(Ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Pl(e),o!==null){for(t.flags|=128,Ji(s,!1),e=o.updateQueue,t.updateQueue=e,hs(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Sd(a,e),a=a.sibling;return Se(Ue,Ue.current&1|2),t.child}e=e.sibling}s.tail!==null&&zt()>ms&&(t.flags|=128,n=!0,Ji(s,!1),t.lanes=4194304)}else{if(!n)if(e=Pl(o),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,hs(t,e),Ji(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!de)return Ee(t),null}else 2*zt()-s.renderingStartTime>ms&&a!==536870912&&(t.flags|=128,n=!0,Ji(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(e=s.last,e!==null?e.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=zt(),t.sibling=null,e=Ue.current,Se(Ue,n?e&1|2:e&1),t):(Ee(t),null);case 22:case 23:return Qt(t),Ar(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?a&536870912&&!(t.flags&128)&&(Ee(t),t.subtreeFlags&6&&(t.flags|=8192)):Ee(t),a=t.updateQueue,a!==null&&hs(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&Ne(Za),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Pt(Me),Ee(t),null;case 25:return null}throw Error(r(156,t.tag))}function Sg(e,t){switch(Sr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Pt(Me),gn(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return jl(t),null;case 13:if(Qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Ri()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ne(Ue),null;case 4:return gn(),null;case 10:return Pt(t.type),null;case 22:case 23:return Qt(t),Ar(),e!==null&&Ne(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Pt(Me),null;case 25:return null;default:return null}}function Td(e,t){switch(Sr(t),t.tag){case 3:Pt(Me),gn();break;case 26:case 27:case 5:jl(t);break;case 4:gn();break;case 13:Qt(t);break;case 19:Ne(Ue);break;case 10:Pt(t.type);break;case 22:case 23:Qt(t),Ar(),e!==null&&Ne(Za);break;case 24:Pt(Me)}}var Eg={getCacheForType:function(e){var t=Ze(Me),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},jg=typeof WeakMap=="function"?WeakMap:Map,je=0,_e=null,se=null,fe=0,we=0,ct=null,ta=!1,$n=!1,wu=!1,aa=0,Ae=0,ja=0,nn=0,xu=0,Et=0,Yn=0,Pi=null,Lt=null,Su=!1,Eu=0,ms=1/0,vs=null,Ta=null,gs=!1,ln=null,Wi=0,ju=0,Tu=null,Fi=0,Au=null;function ft(){if(je&2&&fe!==0)return fe&-fe;if(Z.T!==null){var e=Dn;return e!==0?e:Uu()}return Qo()}function Ad(){Et===0&&(Et=!(fe&536870912)||de?Go():536870912);var e=_t.current;return e!==null&&(e.flags|=32),Et}function Fe(e,t,a){(e===_e&&we===2||e.cancelPendingCommit!==null)&&(Vn(e,0),na(e,fe,Et,!1)),gi(e,a),(!(je&2)||e!==_e)&&(e===_e&&(!(je&2)&&(nn|=a),Ae===4&&na(e,fe,Et,!1)),Bt(e))}function Od(e,t,a){if(je&6)throw Error(r(327));var n=!a&&(t&60)===0&&(t&e.expiredLanes)===0||vi(e,t),s=n?Og(e,t):ku(e,t,!0),o=n;do{if(s===0){$n&&!n&&na(e,t,0,!1);break}else if(s===6)na(e,t,0,!ta);else{if(a=e.current.alternate,o&&!Tg(a)){s=ku(e,t,!1),o=!1;continue}if(s===2){if(o=t,e.errorRecoveryDisabledLanes&o)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{var p=e;s=Pi;var _=p.current.memoizedState.isDehydrated;if(_&&(Vn(p,h).flags|=256),h=ku(p,h,!1),h!==2){if(wu&&!_){p.errorRecoveryDisabledLanes|=o,nn|=o,s=4;break e}o=Lt,Lt=s,o!==null&&Ou(o)}s=h}if(o=!1,s!==2)continue}}if(s===1){Vn(e,0),na(e,t,0,!0);break}e:{switch(n=e,s){case 0:case 1:throw Error(r(345));case 4:if((t&4194176)===t){na(n,t,Et,!ta);break e}break;case 2:Lt=null;break;case 3:case 5:break;default:throw Error(r(329))}if(n.finishedWork=a,n.finishedLanes=t,(t&62914560)===t&&(o=Eu+300-zt(),10<o)){if(na(n,t,Et,!ta),Rl(n,0)!==0)break e;n.timeoutHandle=Fd(Rd.bind(null,n,a,Lt,vs,Su,t,Et,nn,Yn,ta,2,-0,0),o);break e}Rd(n,a,Lt,vs,Su,t,Et,nn,Yn,ta,0,-0,0)}}break}while(!0);Bt(e)}function Ou(e){Lt===null?Lt=e:Lt.push.apply(Lt,e)}function Rd(e,t,a,n,s,o,h,p,_,E,k,D,A){var N=t.subtreeFlags;if((N&8192||(N&16785408)===16785408)&&(il={stylesheets:null,count:0,unsuspend:r0},bd(t),t=o0(),t!==null)){e.cancelPendingCommit=t(Md.bind(null,e,a,n,s,h,p,_,1,D,A)),na(e,o,h,!E);return}Md(e,a,n,s,h,p,_,k,D,A)}function Tg(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var s=a[n],o=s.getSnapshot;s=s.value;try{if(!rt(o(),s))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function na(e,t,a,n){t&=~xu,t&=~nn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var s=t;0<s;){var o=31-st(s),h=1<<o;n[o]=-1,s&=~h}a!==0&&Yo(e,a,t)}function ps(){return je&6?!0:(Ii(0),!1)}function Ru(){if(se!==null){if(we===0)var e=se.return;else e=se,Jt=Ia=null,Ur(e),Cn=null,zi=0,e=se;for(;e!==null;)Td(e.alternate,e),e=e.return;se=null}}function Vn(e,t){e.finishedWork=null,e.finishedLanes=0;var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Kg(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Ru(),_e=e,se=a=Ea(e.current,null),fe=t,we=0,ct=null,ta=!1,$n=vi(e,t),wu=!1,Yn=Et=xu=nn=ja=Ae=0,Lt=Pi=null,Su=!1,t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var s=31-st(n),o=1<<s;t|=e[s],n&=~o}return aa=t,Gl(),a}function Nd(e,t){ie=null,Z.H=Mt,t===ki?(t=Vc(),we=3):t===Gc?(t=Vc(),we=4):we
48=t===Yf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ct=t,se===null&&(Ae=1,rs(e,pt(t,e.current)))}function kd(){var e=Z.H;return Z.H=Mt,e===null?Mt:e}function Cd(){var e=Z.A;return Z.A=Eg,e}function Nu(){Ae=4,ta||(fe&4194176)!==fe&&_t.current!==null||($n=!0),!(ja&134217727)&&!(nn&134217727)||_e===null||na(_e,fe,Et,!1)}function ku(e,t,a){var n=je;je|=2;var s=kd(),o=Cd();(_e!==e||fe!==t)&&(vs=null,Vn(e,t)),t=!1;var h=Ae;e:do try{if(we!==0&&se!==null){var p=se,_=ct;switch(we){case 8:Ru(),h=6;break e;case 3:case 2:case 6:_t.current===null&&(t=!0);var E=we;if(we=0,ct=null,Kn(e,p,_,E),a&&$n){h=0;break e}break;default:E=we,we=0,ct=null,Kn(e,p,_,E)}}Ag(),h=Ae;break}catch(k){Nd(e,k)}while(!0);return t&&e.shellSuspendCounter++,Jt=Ia=null,je=n,Z.H=s,Z.A=o,se===null&&(_e=null,fe=0,Gl()),h}function Ag(){for(;se!==null;)zd(se)}function Og(e,t){var a=je;je|=2;var n=kd(),s=Cd();_e!==e||fe!==t?(vs=null,ms=zt()+500,Vn(e,t)):$n=vi(e,t);e:do try{if(we!==0&&se!==null){t=se;var o=ct;t:switch(we){case 1:we=0,ct=null,Kn(e,t,o,1);break;case 2:if($c(o)){we=0,ct=null,Dd(t);break}t=function(){we===2&&_e===e&&(we=7),Bt(e)},o.then(t,t);break e;case 3:we=7;break e;case 4:we=5;break e;case 7:$c(o)?(we=0,ct=null,Dd(t)):(we=0,ct=null,Kn(e,t,o,7));break;case 5:var h=null;switch(se.tag){case 26:h=se.memoizedState;case 5:case 27:var p=se;if(!h||oh(h)){we=0,ct=null;var _=p.sibling;if(_!==null)se=_;else{var E=p.return;E!==null?(se=E,ys(E)):se=null}break t}}we=0,ct=null,Kn(e,t,o,5);break;case 6:we=0,ct=null,Kn(e,t,o,6);break;case 8:Ru(),Ae=6;break e;default:throw Error(r(462))}}Rg();break}catch(k){Nd(e,k)}while(!0);return Jt=Ia=null,Z.H=n,Z.A=s,je=a,se!==null?0:(_e=null,fe=0,Gl(),Ae)}function Rg(){for(;se!==null&&!Wm();)zd(se)}function zd(e){var t=td(e.alternate,e,aa);e.memoizedProps=e.pendingProps,t===null?ys(e):se=t}function Dd(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Jf(a,t,t.pendingProps,t.type,void 0,fe);break;case 11:t=Jf(a,t,t.pendingProps,t.type.render,t.ref,fe);break;case 5:Ur(t);default:Td(a,t),t=se=Sd(t,aa),t=td(a,t,aa)}e.memoizedProps=e.pendingProps,t===null?ys(e):se=t}function Kn(e,t,a,n){Jt=Ia=null,Ur(t),Cn=null,zi=0;var s=t.return;try{if(pg(e,s,t,a,fe)){Ae=1,rs(e,pt(a,e.current)),se=null;return}}catch(o){if(s!==null)throw se=s,o;Ae=1,rs(e,pt(a,e.current)),se=null;return}t.flags&32768?(de||n===1?e=!0:$n||fe&536870912?e=!1:(ta=e=!0,(n===2||n===3||n===6)&&(n=_t.current,n!==null&&n.tag===13&&(n.flags|=16384))),Ud(t,e)):ys(t)}function ys(e){var t=e;do{if(t.flags&32768){Ud(t,ta);return}e=t.return;var a=xg(t.alternate,t,aa);if(a!==null){se=a;return}if(t=t.sibling,t!==null){se=t;return}se=t=e}while(t!==null);Ae===0&&(Ae=5)}function Ud(e,t){do{var a=Sg(e.alternate,e);if(a!==null){a.flags&=32767,se=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){se=e;return}se=e=a}while(e!==null);Ae=6,se=null}function Md(e,t,a,n,s,o,h,p,_,E){var k=Z.T,D=q.p;try{q.p=2,Z.T=null,Ng(e,t,a,n,D,s,o,h,p,_,E)}finally{Z.T=k,q.p=D}}function Ng(e,t,a,n,s,o,h,p){do Qn();while(ln!==null);if(je&6)throw Error(r(327));var _=e.finishedWork;if(n=e.finishedLanes,_===null)return null;if(e.finishedWork=null,e.finishedLanes=0,_===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var E=_.lanes|_.childLanes;if(E|=_r,uv(e,n,E,o,h,p),e===_e&&(se=_e=null,fe=0),!(_.subtreeFlags&10256)&&!(_.flags&10256)||gs||(gs=!0,ju=E,Tu=a,Dg(Tl,function(){return Qn(),null})),a=(_.flags&15990)!==0,_.subtreeFlags&15990||a?(a=Z.T,Z.T=null,o=q.p,q.p=2,h=je,je|=4,bg(e,_),gd(_,e),eg(Yu,e.containerInfo),Ns=!!$u,Yu=$u=null,e.current=_,dd(e,_.alternate,_),Fm(),je=h,q.p=o,Z.T=a):e.current=_,gs?(gs=!1,ln=e,Wi=n):Ld(e,E),E=e.pendingLanes,E===0&&(Ta=null),nv(_.stateNode),Bt(e),t!==null)for(s=e.onRecoverableError,_=0;_<t.length;_++)E=t[_],s(E.value,{componentStack:E.stack});return Wi&3&&Qn(),E=e.pendingLanes,n&4194218&&E&42?e===Au?Fi++:(Fi=0,Au=e):Fi=0,Ii(0),null}function Ld(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ui(t)))}function Qn(){if(ln!==null){var e=ln,t=ju;ju=0;var a=Ko(Wi),n=Z.T,s=q.p;try{if(q.p=32>a?32:a,Z.T=null,ln===null)var o=!1;else{a=Tu,Tu=null;
vendor: 4,900 bytes, line 48
48var h=ln,p=Wi;if(ln=null,Wi=0,je&6)throw Error(r(331));var _=je;if(je|=4,wd(h.current),yd(h,h.current,p,a),je=_,Ii(0,!1),lt&&typeof lt.onPostCommitFiberRoot=="function")try{lt.onPostCommitFiberRoot(mi,h)}catch{}o=!0}return o}finally{q.p=s,Z.T=n,Ld(e,t)}}return!1}function Bd(e,t,a){t=pt(a,t),t=Jr(e.stateNode,t,2),e=_a(e,t,2),e!==null&&(gi(e,2),Bt(e))}function ye(e,t,a){if(e.tag===3)Bd(e,e,a);else for(;t!==null;){if(t.tag===3){Bd(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ta===null||!Ta.has(n))){e=pt(a,e),a=Gf(2),n=_a(t,a,2),n!==null&&($f(a,n,t,e),gi(n,2),Bt(n));break}}t=t.return}}function Cu(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new jg;var s=new Set;n.set(t,s)}else s=n.get(t),s===void 0&&(s=new Set,n.set(t,s));s.has(a)||(wu=!0,s.add(a),e=kg.bind(null,e,t,a),t.then(e,e))}function kg(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,_e===e&&(fe&a)===a&&(Ae===4||Ae===3&&(fe&62914560)===fe&&300>zt()-Eu?!(je&2)&&Vn(e,0):xu|=a,Yn===fe&&(Yn=0)),Bt(e)}function Hd(e,t){t===0&&(t=$o()),e=da(e,t),e!==null&&(gi(e,t),Bt(e))}function Cg(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Hd(e,a)}function zg(e,t){var a=0;switch(e.tag){case 13:var n=e.stateNode,s=e.memoizedState;s!==null&&(a=s.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(r(314))}n!==null&&n.delete(t),Hd(e,a)}function Dg(e,t){return Ps(e,t)}var bs=null,Xn=null,zu=!1,_s=!1,Du=!1,sn=0;function Bt(e){e!==Xn&&e.next===null&&(Xn===null?bs=Xn=e:Xn=Xn.next=e),_s=!0,zu||(zu=!0,Mg(Ug))}function Ii(e,t){if(!Du&&_s){Du=!0;do for(var a=!1,n=bs;n!==null;){if(e!==0){var s=n.pendingLanes;if(s===0)var o=0;else{var h=n.suspendedLanes,p=n.pingedLanes;o=(1<<31-st(42|e)+1)-1,o&=s&~(h&~p),o=o&201326677?o&201326677|1:o?o|2:0}o!==0&&(a=!0,$d(n,o))}else o=fe,o=Rl(n,n===_e?o:0),!(o&3)||vi(n,o)||(a=!0,$d(n,o));n=n.next}while(a);Du=!1}}function Ug(){_s=zu=!1;var e=0;sn!==0&&(Vg()&&(e=sn),sn=0);for(var t=zt(),a=null,n=bs;n!==null;){var s=n.next,o=qd(n,t);o===0?(n.next=null,a===null?bs=s:a.next=s,s===null&&(Xn=a)):(a=n,(e!==0||o&3)&&(_s=!0)),n=s}Ii(e)}function qd(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var h=31-st(o),p=1<<h,_=s[h];_===-1?(!(p&a)||p&n)&&(s[h]=rv(p,t)):_<=t&&(e.expiredLanes|=p),o&=~p}if(t=_e,a=fe,a=Rl(e,e===t?a:0),n=e.callbackNode,a===0||e===t&&we===2||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Ws(n),e.callbackNode=null,e.callbackPriority=0;if(!(a&3)||vi(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&Ws(n),Ko(a)){case 2:case 8:a=Ho;break;case 32:a=Tl;break;case 268435456:a=qo;break;default:a=Tl}return n=Gd.bind(null,e),a=Ps(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&Ws(n),e.callbackPriority=2,e.callbackNode=null,2}function Gd(e,t){var a=e.callbackNode;if(Qn()&&e.callbackNode!==a)return null;var n=fe;return n=Rl(e,e===_e?n:0),n===0?null:(Od(e,n,t),qd(e,zt()),e.callbackNode!=null&&e.callbackNode===a?Gd.bind(null,e):null)}function $d(e,t){if(Qn())return null;Od(e,t,!0)}function Mg(e){Qg(function(){je&6?Ps(Bo,e):e()})}function Uu(){return sn===0&&(sn=Go()),sn}function Yd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Dl(""+e)}function Vd(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Lg(e,t,a,n,s){if(t==="submit"&&a&&a.stateNode===s){var o=Yd((s[tt]||null).action),h=n.submitter;h&&(t=(t=h[tt]||null)?Yd(t.formAction):h.getAttribute("formAction"),t!==null&&(o=t,h=null));var p=new Bl("action","action",null,n,s);e.push({event:p,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(sn!==0){var _=h?Vd(s,h):new FormData(s);Vr(a,{pending:!0,data:_,method:s.method,action:o},null,_)}}else typeof o=="function"&&(p.preventDefault(),_=h?Vd(s,h):new FormData(s),Vr(a,{pending:!0,data:_,method:s.method,action:o},o,_))},currentTarget:s}]})}}for(var Mu=0;Mu<Uc.length;Mu++){var Lu=Uc[Mu],Bg=Lu.toLowerCase(),Hg=Lu[0].toUpperCase()+Lu.slice(1);Tt(Bg,"on"+Hg)}Tt(Nc,"onAnimationEnd"),Tt(kc,"onAnimationIteration"),Tt(Cc,"onAnimationStart"),Tt("dblclick","onDoubleClick"),Tt("focusin","onFocus"),Tt("focusout","onBlur"),Tt(ag,"onTransitionRun"),Tt(ng,"onTransitionStart"),Tt(ig,"onTransitionCancel"),Tt(zc,"onTransitionEnd"),_n("onMouseEnter",["mouseout","mouseover"]),_n("onMouseLeave",["mouseout","mouseover"]),_n("onPointerEnter",["pointerout","pointerover"]),_n("onPointerLeave",["pointerout","pointerover"]),qa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qa("onSelect","focusout contextmenu dragend focu
48sin keydown keyup mousedown mouseup selectionchange".split(" ")),qa("onBeforeInput",["compositionend","keypress","textInput","paste"]),qa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var el="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(" "),qg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(el));function Kd(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],s=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var h=n.length-1;0<=h;h--){var p=n[h],_=p.instance,E=p.currentTarget;if(p=p.listener,_!==o&&s.isPropagationStopped())break e;o=p,s.currentTarget=E;try{o(s)}catch(k){ss(k)}s.currentTarget=null,o=_}else for(h=0;h<n.length;h++){if(p=n[h],_=p.instance,E=p.currentTarget,p=p.listener,_!==o&&s.isPropagationStopped())break e;o=p,s.currentTarget=E;try{o(s)}catch(k){ss(k)}s.currentTarget=null,o=_}}}}function ue(e,t){var a=t[Is];a===void 0&&(a=t[Is]=new Set);var n=e+"__bubble";a.has(n)||(Qd(t,e,2,!1),a.add(n))}function Bu(e,t,a){var n=0;t&&(n|=4),Qd(a,e,n,t)}var ws="_reactListening"+Math.random().toString(36).slice(2);function Hu(e){if(!e[ws]){e[ws]=!0,Zo.forEach(function(a){a!=="selectionchange"&&(qg.has(a)||Bu(a,!1,e),Bu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ws]||(t[ws]=!0,Bu("selectionchange",!1,t))}}function Qd(e,t,a,n){switch(vh(t)){case 2:var s=d0;break;case 8:s=h0;break;default:s=Fu}a=s.bind(null,t,a,e),s=void 0,!rr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),n?s!==void 0?e.addEventListener(t,a,{capture:!0,passive:s}):e.addEventListener(t,a,!0):s!==void 0?e.addEventListener(t,a,{passive:s}):e.addEventListener(t,a,!1)}function qu(e,t,a,n,s){var o=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var h=n.tag;if(h===3||h===4){var p=n.stateNode.containerInfo;if(p===s||p.nodeType===8&&p.parentNode===s)break;if(h===4)for(h=n.return;h!==null;){var _=h.tag;if((_===3||_===4)&&(_=h.stateNode.containerInfo,_===s||_.nodeType===8&&_.parentNode===s))return;h=h.return}for(;p!==null;){if(h=Ha(p),h===null)return;if(_=h.tag,_===5||_===6||_===26||_===27){n=o=h;continue e}p=p.parentNode}}n=n.return}sc(function(){var E=o,k=lr(a),D=[];e:{var A=Dc.get(e);if(A!==void 0){var N=Bl,$=e;switch(e){case"keypress":if(Ml(a)===0)break e;case"keydown":case"keyup":N=zv;break;case"focusin":$="focus",N=fr;break;case"focusout":$="blur",N=fr;break;case"beforeblur":case"afterblur":N=fr;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=oc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=wv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=Mv;break;case Nc:case kc:case Cc:N=Ev;break;case zc:N=Bv;break;case"scroll":case"scrollend":N=bv;break;case"wheel":N=qv;break;case"copy":case"cut":case"paste":N=Tv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=fc;break;case"toggle":case"beforetoggle":N=$v}var F=(t&4)!==0,Oe=!F&&(e==="scroll"||e==="scrollend"),j=F?A!==null?A+"Capture":null:A;F=[];for(var S=E,T;S!==null;){var z=S;if(T=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||T===null||j===null||(z=bi(S,j),z!=null&&F.push(tl(S,z,T))),Oe)break;S=S.return}0<F.length&&(A=new N(A,$,null,a,k),D.push({event:A,listeners:F}))}}if(!(t&7)){e:{if(A=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",A&&a!==ir&&($=a.relatedTarget||a.fromElement)&&(Ha($)||$[pn]))break e;if((N||A)&&(A=k.window===k?k:(A=k.ownerDocument)?A.defaultView||A.parentWindow:window,N?($=a.relatedTarget||a.toElement,N=E,$=$?Ha($):null,$!==null&&(Oe=P($),F=$.tag,$!==Oe||F!==5&&F!==27&&F!==6)&&($=null)):(N=null,$=E),N!==$)){if(F=oc,z="onMouseLeave",j="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(F=fc,z="onPointerLeave",j="onPointerEnter",S="pointer"),Oe=N==null?A:yi(N),T=$==null?A:yi($),A=new F(z,S+"leave",N,a,k),A.target=Oe,A.relatedTarget=T,z=null,Ha(k)===E&&(F=new F(j,S+"enter",$,a,k),F.target=T,F.relatedTarget=Oe,z=F),Oe=z,N&&$)t:{for(F=N,j=$,S=0,T=F;T;T=Zn(T))S++;for(T=0,z=j;z;z=Zn(z))T++;for(;0<S-T;)F=Zn(F),S--;for(;0<T-S;)j=Zn(j),T--;for(;S--;){if(F===j||j!==null&&F===j.alternate)break t;F=Zn(F),j=Zn(j)}F=null}else F=null;N!==null&&Xd(D,A,N,F,!1),$!==null&&Oe!==null&&Xd(D,Oe,$,F,!0)}}
vendor: 5,146 bytes, lines 48-49
48e:{if(A=E?yi(E):window,N=A.nodeName&&A.nodeName.toLowerCase(),N==="select"||N==="input"&&A.type==="file")var G=bc;else if(pc(A))if(_c)G=Fv;else{G=Pv;var le=Jv}else N=A.nodeName,!N||N.toLowerCase()!=="input"||A.type!=="checkbox"&&A.type!=="radio"?E&&nr(E.elementType)&&(G=bc):G=Wv;if(G&&(G=G(e,E))){yc(D,G,a,k);break e}le&&le(e,A,E),e==="focusout"&&E&&A.type==="number"&&E.memoizedProps.value!=null&&ar(A,"number",A.value)}switch(le=E?yi(E):window,e){case"focusin":(pc(le)||le.contentEditable==="true")&&(Tn=le,pr=E,Ai=null);break;case"focusout":Ai=pr=Tn=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,Oc(D,a,k);break;case"selectionchange":if(tg)break;case"keydown":case"keyup":Oc(D,a,k)}var V;if(hr)e:{switch(e){case"compositionstart":var X="onCompositionStart";break e;case"compositionend":X="onCompositionEnd";break e;case"compositionupdate":X="onCompositionUpdate";break e}X=void 0}else jn?vc(e,a)&&(X="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(X="onCompositionStart");X&&(dc&&a.locale!=="ko"&&(jn||X!=="onCompositionStart"?X==="onCompositionEnd"&&jn&&(V=rc()):(fa=k,ur="value"in fa?fa.value:fa.textContent,jn=!0)),le=xs(E,X),0<le.length&&(X=new cc(X,e,null,a,k),D.push({event:X,listeners:le}),V?X.data=V:(V=gc(a),V!==null&&(X.data=V)))),(V=Vv?Kv(e,a):Qv(e,a))&&(X=xs(E,"onBeforeInput"),0<X.length&&(le=new cc("onBeforeInput","beforeinput",null,a,k),D.push({event:le,listeners:X}),le.data=V)),Lg(D,e,E,a,k)}Kd(D,t)})}function tl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function xs(e,t){for(var a=t+"Capture",n=[];e!==null;){var s=e,o=s.stateNode;s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=bi(e,a),s!=null&&n.unshift(tl(e,s,o)),s=bi(e,t),s!=null&&n.push(tl(e,s,o))),e=e.return}return n}function Zn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xd(e,t,a,n,s){for(var o=t._reactName,h=[];a!==null&&a!==n;){var p=a,_=p.alternate,E=p.stateNode;if(p=p.tag,_!==null&&_===n)break;p!==5&&p!==26&&p!==27||E===null||(_=E,s?(E=bi(a,o),E!=null&&h.unshift(tl(a,E,_))):s||(E=bi(a,o),E!=null&&h.push(tl(a,E,_)))),a=a.return}h.length!==0&&e.push({event:t,listeners:h})}var Gg=/\r\n?/g,$g=/\u0000|\uFFFD/g;function Zd(e){return(typeof e=="string"?e:""+e).replace(Gg,` 49`).replace($g,"")}function Jd(e,t){return t=Zd(t),Zd(e)===t}function Ss(){}function pe(e,t,a,n,s,o){switch(a){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||xn(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&xn(e,""+n);break;case"className":kl(e,"class",n);break;case"tabIndex":kl(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":kl(e,a,n);break;case"style":ic(e,n,o);break;case"data":if(t!=="object"){kl(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=Dl(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(a==="formAction"?(t!=="input"&&pe(e,t,"name",s.name,s,null),pe(e,t,"formEncType",s.formEncType,s,null),pe(e,t,"formMethod",s.formMethod,s,null),pe(e,t,"formTarget",s.formTarget,s,null)):(pe(e,t,"encType",s.encType,s,null),pe(e,t,"method",s.method,s,null),pe(e,t,"target",s.target,s,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=Dl(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=Ss);break;case"onScroll":n!=null&&ue("scroll",e);break;case"onScrollEnd":n!=null&&ue("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(a=n.__html,a!=null){if(s.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=Dl(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""+n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":ue("beforetoggle",e),ue("toggle",e),Nl(e,"popover",n);break;case"xlinkActuate":Yt(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Yt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Yt(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Yt(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Yt(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Yt(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Yt(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Yt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Yt(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":Nl(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=pv.get(a)||a,Nl(e,a,n))}}function Gu(e,t,a,n,s,o){switch(a){case"style":ic(e,n,o);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(a=n.__html,a!=null){if(s.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"children":typeof n=="string"?xn(e,n):(typeof n=="number"||typeof n=="bigint")&&xn(e,""+n);break;case"onScroll":n!=null&&ue("scroll",e);break;case"onScrollEnd":n!=null&&ue("scrollend",e);break;case"onClick":n!=null&&(e.onclick=Ss);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jo.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),t=a.slice(2,s?a.length-7:void 0),o=e[tt]||null,o=o!=null?o[a]:null,typeof o=="function"&&e.removeEventListener(t,o,s),typeof n=="function")){typeof o!="function"&&o!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,s);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):Nl(e,a,n)}}}function Ke(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ue("error",e),ue("load",e);var n=!1,s=!1,o;for(o in a)if(a.hasOwnProperty(o)){var h=a[o];if(h!=null)switch(o){case"src":n=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:pe(e,t,o,h,a,null)}}s&&pe(e,t,"srcSet",a.srcSet,a,null),n&&pe(e,t,"src",a.src,a,null);return;case"input":ue("invalid",e);var p=o=h=s=null,_=null,E=null;for(n in a)if(a.hasOwnProperty(n)){var k=a[n];if(k!=null)switch(n){case"name":s=k;break;case"type":h=k;break;case"checked":_=k;break;case"defaultChecked":E=k;break;case"value":o=k;break;case"defaultValue":p=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,t));break;default:pe(e,t,n,k,a,null)}}ec(e,o,p,_,E,h,s,!1),Cl(e);return;case"select":ue("invalid",e),n=h=o=null;for(s in a)if(a.hasOwnProperty(s)&&(p=a[s],p!=null))switch(s){case"value":o=p;break;case"defaultValue":h=p;break;case"multiple":n=p;default:pe(e,t,s,p,a,null)}t=o,a=h,e.multiple=!!n,t!=null?wn(e,!!n,t,!1):a!=null&&wn(e,!!n,a,!0);return;case"textarea":ue("invalid",e),o=s=n=null;for(h in a)if(a.hasOwnProperty(h)&&(p=a[h],p!=null))switch(h){case"value":n=p;break;case"defaultValue":s=p;break;case"children":o=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(r(91));break;default:pe(e,t,h,p,a,null)}ac(e,n,s,o),Cl(e);return;case"option":for(_ in a)if(a.hasOwnProperty(_)&&(n=a[_],n!=null))switch(_){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:pe(e,t,_,n,a,null)}return;case"dialog":ue("cancel",e),ue("close",e);break;case"iframe":case"object":ue("load",e);break;case"video":case"audio":for(n=0;n<el.length;n++)ue(el[n],e);break;case"image":ue("error",e),ue("load",e);break;case"details":ue("toggle",e);break;case"embed":case"source":case"link":ue("error",e),ue("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(E in a)if(a.hasOwnProperty(E)&&(n=a[E],n!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:pe(e,t,E,n,a,null)}return;default:if(nr(t)){for(k in a)a.hasOwnProperty(k)&&(n=a[k],n!==void 0&&Gu(e,t,k,n,a,void 0));return}}for(p in a)a.hasOwnProperty(p)&&(n=a[p],n!=null&&pe(e,t,p,n,a,null))}function Yg(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,h=null,p=null,_=null,E=null,k=null;for(N in a){var D=a[N];if(a.hasOwnProperty(N)&&D!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":_=D;default:n.hasOwnProperty(N)||pe(e,t,N,null,n,D)}}for(var A in n){var N=n[A];if(D=a[A],n.hasOwnProperty(A)&&(N!=null||D!=null))switch(A){case"type":o=N;break;case"name":s=N;break;case"checked":E=N;break;case"defaultChecked":k=N;break;case"value":h=N;break;case"defaultValue":p=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,t));break;default:N!==D&&pe(e,t,A,N,n,D)}}tr(e,h,p,_,E,k,o,s);return;case"select":N=h=p=A=null;for(o in a)if(_=a[o],a.hasOwnProperty(o)&&_!=null)switch(o){case"value":break;case"multiple":N=_;default:n.hasOwnProperty(o)||pe(e,t,o,null,n,_)}for(s in n)if(o=n[s],_=a[s],n.hasOwnProperty(s)&&(o!=null||_!=null))switch(s){case"value":A=o;break;case"defaultValue":p=o;break;case"multiple":h=o;default:o!==_&&pe(e,t,s,o,n,_)}t=p,a=h,n=N,A!=null?wn(e,!!a,A,!1):!!n!=!!a&&(t!=null?wn(e,!!a,t,!0):wn(e,!!a,a?[]:"",!1));return;case"textarea":N=A=null;for(p in a)if(s=a[p],a.hasOwnProperty(p)&&s!=null&&!n.hasOwnProperty(p))switch(p){case"value":break;case"children":break;
vendor: 4,186 bytes, line 49
49default:pe(e,t,p,null,n,s)}for(h in n)if(s=n[h],o=a[h],n.hasOwnProperty(h)&&(s!=null||o!=null))switch(h){case"value":A=s;break;case"defaultValue":N=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:s!==o&&pe(e,t,h,s,n,o)}tc(e,A,N);return;case"option":for(var $ in a)if(A=a[$],a.hasOwnProperty($)&&A!=null&&!n.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:pe(e,t,$,null,n,A)}for(_ in n)if(A=n[_],N=a[_],n.hasOwnProperty(_)&&A!==N&&(A!=null||N!=null))switch(_){case"selected":e.selected=A&&typeof A!="function"&&typeof A!="symbol";break;default:pe(e,t,_,A,n,N)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var F in a)A=a[F],a.hasOwnProperty(F)&&A!=null&&!n.hasOwnProperty(F)&&pe(e,t,F,null,n,A);for(E in n)if(A=n[E],N=a[E],n.hasOwnProperty(E)&&A!==N&&(A!=null||N!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(r(137,t));break;default:pe(e,t,E,A,n,N)}return;default:if(nr(t)){for(var Oe in a)A=a[Oe],a.hasOwnProperty(Oe)&&A!==void 0&&!n.hasOwnProperty(Oe)&&Gu(e,t,Oe,void 0,n,A);for(k in n)A=n[k],N=a[k],!n.hasOwnProperty(k)||A===N||A===void 0&&N===void 0||Gu(e,t,k,A,n,N);return}}for(var j in a)A=a[j],a.hasOwnProperty(j)&&A!=null&&!n.hasOwnProperty(j)&&pe(e,t,j,null,n,A);for(D in n)A=n[D],N=a[D],!n.hasOwnProperty(D)||A===N||A==null&&N==null||pe(e,t,D,A,n,N)}var $u=null,Yu=null;function Es(e){return e.nodeType===9?e:e.ownerDocument}function Pd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Wd(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Vu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ku=null;function Vg(){var e=window.event;return e&&e.type==="popstate"?e===Ku?!1:(Ku=e,!0):(Ku=null,!1)}var Fd=typeof setTimeout=="function"?setTimeout:void 0,Kg=typeof clearTimeout=="function"?clearTimeout:void 0,Id=typeof Promise=="function"?Promise:void 0,Qg=typeof queueMicrotask=="function"?queueMicrotask:typeof Id<"u"?function(e){return Id.resolve(null).then(e).catch(Xg)}:Fd;function Xg(e){setTimeout(function(){throw e})}function Qu(e,t){var a=t,n=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"){if(n===0){e.removeChild(s),ol(t);return}n--}else a!=="$"&&a!=="$?"&&a!=="$!"||n++;a=s}while(a);ol(t)}function Xu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Xu(a),er(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Zg(e,t,a,n){for(;e.nodeType===1;){var s=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[pi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==s.rel||e.getAttribute("href")!==(s.href==null?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Rt(e.nextSibling),e===null)break}return null}function Jg(e,t,a){if(t==="")return null;for(;
vendor: 18,948 bytes, line 49
49e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Rt(e.nextSibling),e===null))return null;return e}function Rt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}function eh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function th(e,t,a){switch(t=Es(a),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}var jt=new Map,ah=new Set;function js(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var ia=q.d;q.d={f:Pg,r:Wg,D:Fg,C:Ig,L:e0,m:t0,X:n0,S:a0,M:i0};function Pg(){var e=ia.f(),t=ps();return e||t}function Wg(e){var t=yn(e);t!==null&&t.tag===5&&t.type==="form"?Rf(t):ia.r(e)}var Jn=typeof document>"u"?null:document;function nh(e,t,a){var n=Jn;if(n&&typeof t=="string"&&t){var s=vt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof a=="string"&&(s+='[crossorigin="'+a+'"]'),ah.has(s)||(ah.add(s),e={rel:e,crossOrigin:a,href:t},n.querySelector(s)===null&&(t=n.createElement("link"),Ke(t,"link",e),Le(t),n.head.appendChild(t)))}}function Fg(e){ia.D(e),nh("dns-prefetch",e,null)}function Ig(e,t){ia.C(e,t),nh("preconnect",e,t)}function e0(e,t,a){ia.L(e,t,a);var n=Jn;if(n&&e&&t){var s='link[rel="preload"][as="'+vt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(s+='[imagesrcset="'+vt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(s+='[imagesizes="'+vt(a.imageSizes)+'"]')):s+='[href="'+vt(e)+'"]';var o=s;switch(t){case"style":o=Pn(e);break;case"script":o=Wn(e)}jt.has(o)||(e=me({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),jt.set(o,e),n.querySelector(s)!==null||t==="style"&&n.querySelector(al(o))||t==="script"&&n.querySelector(nl(o))||(t=n.createElement("link"),Ke(t,"link",e),Le(t),n.head.appendChild(t)))}}function t0(e,t){ia.m(e,t);var a=Jn;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+vt(n)+'"][href="'+vt(e)+'"]',o=s;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Wn(e)}if(!jt.has(o)&&(e=me({rel:"modulepreload",href:e},t),jt.set(o,e),a.querySelector(s)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(nl(o)))return}n=a.createElement("link"),Ke(n,"link",e),Le(n),a.head.appendChild(n)}}}function a0(e,t,a){ia.S(e,t,a);var n=Jn;if(n&&e){var s=bn(n).hoistableStyles,o=Pn(e);t=t||"default";var h=s.get(o);if(!h){var p={loading:0,preload:null};if(h=n.querySelector(al(o)))p.loading=5;else{e=me({rel:"stylesheet",href:e,"data-precedence":t},a),(a=jt.get(o))&&Zu(e,a);var _=h=n.createElement("link");Le(_),Ke(_,"link",e),_._p=new Promise(function(E,k){_.onload=E,_.onerror=k}),_.addEventListener("load",function(){p.loading|=1}),_.addEventListener("error",function(){p.loading|=2}),p.loading|=4,Ts(h,t,n)}h={type:"stylesheet",instance:h,count:1,state:p},s.set(o,h)}}}function n0(e,t){ia.X(e,t);var a=Jn;if(a&&e){var n=bn(a).hoistableScripts,s=Wn(e),o=n.get(s);o||(o=a.querySelector(nl(s)),o||(e=me({src:e,async:!0},t),(t=jt.get(s))&&Ju(e,t),o=a.createElement("script"),Le(o),Ke(o,"link",e),a.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(s,o))}}function i0(e,t){ia.M(e,t);var a=Jn;if(a&&e){var n=bn(a).hoistableScripts,s=Wn(e),o=n.get(s);o||(o=a.querySelector(nl(s)),o||(e=me({src:e,async:!0,type:"module"},t),(t=jt.get(s))&&Ju(e,t),o=a.createElement("script"),Le(o),Ke(o,"link",e),a.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},n.set(s,o))}}function ih(e,t,a,n){var s=(s=ua.current)?js(s):null;if(!s)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Pn(a.href),a=bn(s).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Pn(a.href);var o=bn(s).hoistableStyles,h=o.get(e);if(h||(s=s.ownerDocument||s,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(e,h),(o=s.querySelector(al(e)))&&!o._p&&(h.instance=o,h.state.loading=5),jt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},jt.set(e,a),o||l0(s,e,a,h.state))),t&&n===null)throw Error(r(528,""));return h}if(t&&n!==null)throw Error(r(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Wn(a),a=bn(s).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Pn(e){return'href="'+vt(e)+'"'}function al(e){return'link[rel="stylesheet"]['+e+"]"}function lh(e){return me({},e,{"data-precedence":e.precedence,precedence:null})}function l0(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),Ke(t,"link",a),Le(t),e.head.appendChild(t))}function Wn(e){return'[src="'+vt(e)+'"]'}function nl(e){return"script[async]"+e}function sh(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+vt(a.href)+'"]');if(n)return t.instance=n,Le(n),n;var s=me({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Le(n),Ke(n,"style",s),Ts(n,a.precedence,e),t.instance=n;case"stylesheet":s=Pn(a.href);var o=e.querySelector(al(s));if(o)return t.state.loading|=4,t.instance=o,Le(o),o;n=lh(a),(s=jt.get(s))&&Zu(n,s),o=(e.ownerDocument||e).createElement("link"),Le(o);var h=o;return h._p=new Promise(function(p,_){h.onload=p,h.onerror=_}),Ke(o,"link",n),t.state.loading|=4,Ts(o,a.precedence,e),t.instance=o;case"script":return o=Wn(a.src),(s=e.querySelector(nl(o)))?(t.instance=s,Le(s),s):(n=a,(s=jt.get(o))&&(n=me({},a),Ju(n,s)),e=e.ownerDocument||e,s=e.createElement("script"),Le(s),Ke(s,"link",n),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(n=t.instance,t.state.loading|=4,Ts(n,a.precedence,e));return t.instance}function Ts(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=n.length?n[n.length-1]:null,o=s,h=0;h<n.length;h++){var p=n[h];if(p.dataset.precedence===t)o=p;else if(o!==s)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Zu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ju(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var As=null;function rh(e,t,a){if(As===null){var n=new Map,s=As=new Map;s.set(a,n)}else s=As,n=s.get(a),n||(n=new Map,s.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),s=0;s<a.length;s++){var o=a[s];if(!(o[pi]||o[Xe]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var h=o.getAttribute(t)||"";h=e+h;var p=n.get(h);p?p.push(o):n.set(h,[o])}}return n}function uh(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function s0(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function oh(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var il=null;function r0(){}function u0(e,t,a){if(il===null)throw Error(r(475));var n=il;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var s=Pn(a.href),o=e.querySelector(al(s));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(n.count++,n=Os.bind(n),e.then(n,n)),t.state.loading|=4,t.instance=o,Le(o);return}o=e.ownerDocument||e,a=lh(a),(s=jt.get(s))&&Zu(a,s),o=o.createElement("link"),Le(o);var h=o;h._p=new Promise(function(p,_){h.onload=p,h.onerror=_}),Ke(o,"link",a),t.instance=o}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(n.count++,t=Os.bind(n),e.addEventListener("load",t),e.addEventListener("error",t))}}function o0(){if(il===null)throw Error(r(475));var e=il;return e.stylesheets&&e.count===0&&Pu(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Pu(e,e.stylesheets),e.unsuspend){var n=e.unsuspend;e.unsuspend=null,n()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function Os(){if(this.count--,this.count===0){if(this.stylesheets)Pu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Rs=null;function Pu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Rs=new Map,t.forEach(c0,e),Rs=null,Os.call(e))}function c0(e,t){if(!(t.state.loading&4)){var a=Rs.get(e);if(a)var n=a.get(null);else{a=new Map,Rs.set(e,a);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var h=s[o];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(a.set(h.dataset.precedence,h),n=h)}n&&a.set(null,n)}s=t.instance,h=s.getAttribute("data-precedence"),o=a.get(h)||n,o===n&&a.set(null,s),a.set(h,s),this.count++,n=Os.bind(this),s.addEventListener("load",n),s.addEventListener("error",n),o?o.parentNode.insertBefore(s,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var ll={$$typeof:C,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function f0(e,t,a,n,s,o,h,p){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Fs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fs(0),this.hiddenUpdates=Fs(null),this.identifierPrefix=n,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=p,this.incompleteTransitions=new Map}function ch(e,t,a,n,s,o,h,p,_,E,k,D){return e=new f0(e,t,a,h,p,_,E,D),t=1,o===!0&&(t|=24),o=St(3,null,null,t),e.current=o,o.stateNode=e,t=Or(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:n,isDehydrated:a,cache:t},uu(o),e}function fh(e){return e?(e=Rn,e):Rn}function dh(e,t,a,n,s,o){s=fh(s),n.context===null?n.context=s:n.pendingContext=s,n=ba(t),n.payload={element:a},o=o===void 0?null:o,o!==null&&(n.callback=o),a=_a(e,n,t),a!==null&&(Fe(a,e,t),$i(a,e,t))}function hh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Wu(e,t){hh(e,t),(e=e.alternate)&&hh(e,t)}function mh(e){if(e.tag===13){var t=da(e,67108864);t!==null&&Fe(t,e,67108864),Wu(e,67108864)}}var Ns=!0;function d0(e,t,a,n){var s=Z.T;Z.T=null;var o=q.p;try{q.p=2,Fu(e,t,a,n)}finally{q.p=o,Z.T=s}}function h0(e,t,a,n){var s=Z.T;Z.T=null;var o=q.p;try{q.p=8,Fu(e,t,a,n)}finally{q.p=o,Z.T=s}}function Fu(e,t,a,n){if(Ns){var s=Iu(n);if(s===null)qu(e,t,n,ks,a),gh(e,n);else if(v0(s,e,t,a,n))n.stopPropagation();else if(gh(e,n),t&4&&-1<m0.indexOf(e)){for(;s!==null;){var o=yn(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var h=Ba(o.pendingLanes);if(h!==0){var p=o;for(p.pendingLanes|=2,p.entangledLanes|=2;h;){var _=1<<31-st(h);p.entanglements[1]|=_,h&=~_}Bt(o),!(je&6)&&(ms=zt()+500,Ii(0))}}break;case 13:p=da(o,2),p!==null&&Fe(p,o,2),ps(),Wu(o,2)}if(o=Iu(n),o===null&&qu(e,t,n,ks,a),o===s)break;s=o}s!==null&&n.stopPropagation()}else qu(e,t,n,null,a)}}function Iu(e){return e=lr(e),eo(e)}var ks=null;function eo(e){if(ks=null,e=Ha(e),e!==null){var t=P(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=be(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ks=e,null}function vh(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Im()){case Bo:return 2;case Ho:return 8;case Tl:case ev:return 32;case qo:return 268435456;default:return 32}default:return 32}}var to=!1,Aa=null,Oa=null,Ra=null,sl=new Map,rl=new Map,Na=[],m0="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".split(" ");function gh(e,t){switch(e){case"focusin":case"focusout":Aa=null;break;case"dragenter":case"dragleave":Oa=null;break;case"mouseover":case"mouseout":Ra=null;break;case"pointerover":case"pointerout":sl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":rl.delete(t.pointerId)}}function ul(e,t,a,n,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:o,targetContainers:[s]},t!==null&&(t=yn(t),t!==null&&mh(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function v0(e,t,a,n,s){switch(t){case"focusin":return Aa=ul(Aa,e,t,a,n,s),!0;case"dragenter":return Oa=ul(Oa,e,t,a,n,s),!0;case"mouseover":return Ra=ul(Ra,e,t,a,n,s),!0;case"pointerover":var o=s.pointerId;return sl.set(o,ul(sl.get(o)||null,e,t,a,n,s)),!0;case"gotpointercapture":return o=s.pointerId,rl.set(o,ul(rl.get(o)||null,e,t,a,n,s)),!0}return!1}function ph(e){var t=Ha(e.target);if(t!==null){var a=P(t);if(a!==null){if(t=a.tag,t===13){if(t=be(a),t!==null){e.blockedOn=t,ov(e.priority,function(){if(a.tag===13){var n=ft(),s=da(a,n);s!==null&&Fe(s,a,n),Wu(a,n)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Cs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Iu(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);ir=n,a.target.dispatchEvent(n),ir=null}else return t=yn(a),t!==null&&mh(t),e.blockedOn=a,!1;t.shift()}return!0}function yh(e,t,a){Cs(e)&&a.delete(t)}function g0(){to=!1,Aa!==null&&Cs(Aa)&&(Aa=null),Oa!==null&&Cs(Oa)&&(Oa=null),Ra!==null&&Cs(Ra)&&(Ra=null),sl.forEach(yh),rl.forEach(yh)}function zs(e,t){e.blockedOn===t&&(e.blockedOn=null,to||(to=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,g0)))}var Ds=null;function bh(e){Ds!==e&&(Ds=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Ds===e&&(Ds=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],s=e[t+2];if(typeof n!="function"){if(eo(n||a)===null)continue;break}var o=yn(a);o!==null&&(e.splice(t,3),t-=3,Vr(o,{pending:!0,data:s,method:a.method,action:n},n,s))}}))}function ol(e){function t(_){return zs(_,e)}Aa!==null&&zs(Aa,e),Oa!==null&&zs(Oa,e),Ra!==null&&zs(Ra,e),sl.forEach(t),rl.forEach(t);for(var a=0;a<Na.length;a++){var n=Na[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Na.length&&(a=Na[0],a.blockedOn===null);)ph(a),a.blockedOn===null&&Na.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var s=a[n],o=a[n+1],h=s[tt]||null;if(typeof o=="function")h||bh(a);else if(h){var p=null;if(o&&o.hasAttribute("formAction")){if(s=o,h=o[tt]||null)p=h.formAction;else if(eo(s)!==null)continue}else p=h.action;typeof p=="function"?a[n+1]=p:(a.splice(n,3),n-=3),bh(a)}}}function ao(e){this._internalRoot=e}Us.prototype.render=ao.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var a=t.current,n=ft();dh(a,n,e,t,null,null)},Us.prototype.unmount=ao.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;e.tag===0&&Qn(),dh(e.current,2,null,e,null,null),ps(),t[pn]=null}};function Us(e){this._internalRoot=e}Us.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qo();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Na.length&&t!==0&&t<Na[a].priority;a++);Na.splice(a,0,e),a===0&&ph(e)}};var _h=i.version;if(_h!=="19.0.0")throw Error(r(527,_h,"19.0.0"));q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=U(t),e=e!==null?J(e):null,e=e===null?null:e.stateNode,e};var p0={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:Z,findFiberByHostInstance:Ha,reconcilerVersion:"19.0.0"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ms=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ms.isDisabled&&Ms.supportsFiber)try{mi=Ms.inject(p0),lt=Ms}catch{}}return fl.createRoot=function(e,t){if(!c(e))throw Error(r(299));var a=!1,n="",s=Lf,o=Bf,h=Hf,p=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(p=t.unstable_transitionCallbacks)),t=ch(e,1,!1,null,null,a,n,s,o,h,p,null),e[pn]=t.current,Hu(e.nodeType===8?e.parentNode:e),new ao(t)},fl.hydrateRoot=function(e,t,a){if(!c(e))throw Error(r(299));var n=!1,s="",o=Lf,h=Bf,p=Hf,_=null,E=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(o=a.onUncaughtError),a.onCaughtError!==void 0&&(h=a.onCaughtError),a.onRecoverableError!==void 0&&(p=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(_=a.unstable_transitionCallbacks),a.formState!==void 0&&(E=a.formState)),t=ch(e,1,!0,t,a??null,n,s,o,h,p,_,E),t.context=fh(null),a=t.current,n=ft(),s=ba(n),s.callback=null,_a(a,s,n),t.current.lanes=n,gi(t,n),Bt(t),e[pn]=t.current,Hu(e),new Us(t)},fl.version="19.0.0",fl}var Nh;function N0(){if(Nh)return lo.exports;Nh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(i){console.error(i)}}return u(),lo.exports=R0(),lo.exports}var k0=N0();fm();/** 50 * @remix-run/router v1.22.0 51 * 52 * Copyright (c) Remix Software Inc. 53 * 54 * This source code is licensed under the MIT license found in the 55 * LICENSE.md file in the root directory of this source tree. 56 * 57 * @license MIT 58 */function pl(){return pl=Object.assign?Object.assign.bind():function(u){for(var i=1;i<arguments.length;i++){var l=arguments[i];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(u[r]=l[r])}return u},pl.apply(this,arguments)}var Ma;(function(u){u.Pop="POP",u.Push="PUSH",u.Replace="REPLACE"})(Ma||(Ma={}));const kh="popstate";function C0(u){u===void 0&&(u={});function i(r,c){let{pathname:f,search:d,hash:v}=r.location;return go("",{pathname:f,search:d,hash:v},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function l(r,c){return typeof c=="string"?c:Vs(c)}return D0(i,l,null,u)}function De(u,i){if(u===!1||u===null||typeof u>"u")throw new Error(i)}function dm(u,i){if(!u){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function z0(){return Math.random().toString(36).substr(2,8)}function Ch(u,i){return{usr:u.state,key:u.key,idx:i}}function go(u,i,l,r){return l===void 0&&(l=null),pl({pathname:typeof u=="string"?u:u.pathname,search:"",hash:""},typeof i=="string"?ci(i):i,{state:l,key:i&&i.key||r||z0()})}function Vs(u){let{pathname:i="/",search:l="",hash:r=""}=u;return l&&l!=="?"&&(i+=l.charAt(0)==="?"?l:"?"+l),r&&r!=="#"&&(i+=r.charAt(0)==="#"?r:"#"+r),i}function ci(u){let i={};if(u){let l=u.indexOf("#");l>=0&&(i.hash=u.substr(l),u=u.substr(0,l));let r=u.indexOf("?");r>=0&&(i.search=u.substr(r),u=u.substr(0,r)),u&&(i.pathname=u)}return i}function D0(u,i,l,r){r===void 0&&(r={});let{window:c=document.defaultView,v5Compat:f=!1}=r,d=c.history,v=Ma.Pop,m=null,g=b();g==null&&(g=0,d.replaceState(pl({},d.state,{idx:g}),""));function b(){return(d.state||{idx:null}).idx}function w(){v=Ma.Pop;let M=b(),Y=M==null?null:M-g;g=M,m&&m({action:v,location:H.location,delta:Y})}function R(M,Y){v=Ma.Push;let I=go(H.location,M,Y);g=b()+1;let W=Ch(I,g),re=H.createHref(I);try{d.pushState(W,"",re)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;c.location.assign(re)}f&&m&&m({action:v,location:H.location,delta:1})}function C(M,Y){v=Ma.Replace;let I=go(H.location,M,Y);g=b();let W=Ch(I,g),re=H.createHref(I);d.replaceState(W,"",re),f&&m&&m({action:v,location:H.location,delta:0})}function L(M){let Y=c.location.origin!=="null"?c.location.origin:c.location.href,I=typeof M=="str
58ing"?M:Vs(M);return I=I.replace(/ $/,"%20"),De(Y,"No window.location.(origin|href) available to create URL for href: "+I),new URL(I,Y)}let H={get action(){return v},get location(){return u(c,d)},listen(M){if(m)throw new Error("A history only accepts one active listener");return c.addEventListener(kh,w),m=M,()=>{c.removeEventListener(kh,w),m=null}},createHref(M){return i(c,M)},createURL:L,encodeLocation(M){let Y=L(M);return{pathname:Y.pathname,search:Y.search,hash:Y.hash}},push:R,replace:C,go(M){return d.go(M)}};return H}var zh;(function(u){u.data="data",u.deferred="deferred",u.redirect="redirect",u.error="error"})(zh||(zh={}));function U0(u,i,l){return l===void 0&&(l="/"),M0(u,i,l)}function M0(u,i,l,r){let c=typeof i=="string"?ci(i):i,f=No(c.pathname||"/",l);if(f==null)return null;let d=hm(u);L0(d);let v=null;for(let m=0;v==null&&m<d.length;++m){let g=J0(f);v=Q0(d[m],g)}return v}function hm(u,i,l,r){i===void 0&&(i=[]),l===void 0&&(l=[]),r===void 0&&(r="");let c=(f,d,v)=>{let m={relativePath:v===void 0?f.path||"":v,caseSensitive:f.caseSensitive===!0,childrenIndex:d,route:f};m.relativePath.startsWith("/")&&(De(m.relativePath.startsWith(r),'Absolute route path "'+m.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),m.relativePath=m.relativePath.slice(r.length));let g=La([r,m.relativePath]),b=l.concat(m);f.children&&f.children.length>0&&(De(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),hm(f.children,i,b,g)),!(f.path==null&&!f.index)&&i.push({path:g,score:V0(g,f.index),routesMeta:b})};return u.forEach((f,d)=>{var v;if(f.path===""||!((v=f.path)!=null&&v.includes("?")))c(f,d);else for(let m of mm(f.path))c(f,d,m)}),i}function mm(u){let i=u.split("/");if(i.length===0)return[];let[l,...r]=i,c=l.endsWith("?"),f=l.replace(/\?$/,"");if(r.length===0)return c?[f,""]:[f];let d=mm(r.join("/")),v=[];return v.push(...d.map(m=>m===""?f:[f,m].join("/"))),c&&v.push(...d),v.map(m=>u.startsWith("/")&&m===""?"/":m)}function L0(u){u.sort((i,l)=>i.score!==l.score?l.score-i.score:K0(i.routesMeta.map(r=>r.childrenIndex),l.routesMeta.map(r=>r.childrenIndex)))}const B0=/^:[\w-]+$/,H0=3,q0=2,G0=1,$0=10,Y0=-2,Dh=u=>u==="*";function V0(u,i){let l=u.split("/"),r=l.length;return l.some(Dh)&&(r+=Y0),i&&(r+=q0),l.filter(c=>!Dh(c)).reduce((c,f)=>c+(B0.test(f)?H0:f===""?G0:$0),r)}function K0(u,i){return u.length===i.length&&u.slice(0,-1).every((r,c)=>r===i[c])?u[u.length-1]-i[i.length-1]:0}function Q0(u,i,l){let{routesMeta:r}=u,c={},f="/",d=[];for(let v=0;v<r.length;++v){let m=r[v],g=v===r.length-1,b=f==="/"?i:i.slice(f.length)||"/",w=X0({path:m.relativePath,caseSensitive:m.caseSensitive,end:g},b),R=m.route;if(!w)return null;
vendor: 9,701 bytes, lines 58-67
58Object.assign(c,w.params),d.push({params:c,pathname:La([f,w.pathname]),pathnameBase:I0(La([f,w.pathnameBase])),route:R}),w.pathnameBase!=="/"&&(f=La([f,w.pathnameBase]))}return d}function X0(u,i){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[l,r]=Z0(u.path,u.caseSensitive,u.end),c=i.match(l);if(!c)return null;let f=c[0],d=f.replace(/(.)\/+$/,"$1"),v=c.slice(1);return{params:r.reduce((g,b,w)=>{let{paramName:R,isOptional:C}=b;if(R==="*"){let H=v[w]||"";d=f.slice(0,f.length-H.length).replace(/(.)\/+$/,"$1")}const L=v[w];return C&&!L?g[R]=void 0:g[R]=(L||"").replace(/%2F/g,"/"),g},{}),pathname:f,pathnameBase:d,pattern:u}}function Z0(u,i,l){i===void 0&&(i=!1),l===void 0&&(l=!0),dm(u==="*"||!u.endsWith("*")||u.endsWith("/*"),'Route path "'+u+'" will be treated as if it were '+('"'+u.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+u.replace(/\*$/,"/*")+'".'));let r=[],c="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,v,m)=>(r.push({paramName:v,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return u.endsWith("*")?(r.push({paramName:"*"}),c+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?c+="\\/*$":u!==""&&u!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,i?void 0:"i"),r]}function J0(u){try{return u.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return dm(!1,'The URL path "'+u+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+i+").")),u}}function No(u,i){if(i==="/")return u;if(!u.toLowerCase().startsWith(i.toLowerCase()))return null;let l=i.endsWith("/")?i.length-1:i.length,r=u.charAt(l);return r&&r!=="/"?null:u.slice(l)||"/"}function P0(u,i){i===void 0&&(i="/");let{pathname:l,search:r="",hash:c=""}=typeof u=="string"?ci(u):u;return{pathname:l?l.startsWith("/")?l:W0(l,i):i,search:ep(r),hash:tp(c)}}function W0(u,i){let l=i.replace(/\/+$/,"").split("/");return u.split("/").forEach(c=>{c===".."?l.length>1&&l.pop():c!=="."&&l.push(c)}),l.length>1?l.join("/"):"/"}function oo(u,i,l,r){return"Cannot include a '"+u+"' character in a manually specified "+("`to."+i+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+l+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function F0(u){return u.filter((i,l)=>l===0||i.route.path&&i.route.path.length>0)}function vm(u,i){let l=F0(u);return i?l.map((r,c)=>c===l.length-1?r.pathname:r.pathnameBase):l.map(r=>r.pathnameBase)}function gm(u,i,l,r){r===void 0&&(r=!1);let c;typeof u=="string"?c=ci(u):(c=pl({},u),De(!c.pathname||!c.pathname.includes("?"),oo("?","pathname","search",c)),De(!c.pathname||!c.pathname.includes("#"),oo("#","pathname","hash",c)),De(!c.search||!c.search.includes("#"),oo("#","search","hash",c)));let f=u===""||c.pathname==="",d=f?"/":c.pathname,v;if(d==null)v=l;else{let w=i.length-1;if(!r&&d.startsWith("..")){let R=d.split("/");for(;R[0]==="..";)R.shift(),w-=1;c.pathname=R.join("/")}v=w>=0?i[w]:"/"}let m=P0(c,v),g=d&&d!=="/"&&d.endsWith("/"),b=(f||d===".")&&l.endsWith("/");return!m.pathname.endsWith("/")&&(g||b)&&(m.pathname+="/"),m}const La=u=>u.join("/").replace(/\/\/+/g,"/"),I0=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),ep=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,tp=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u;function ap(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}const pm=["post","put","patch","delete"];new Set(pm);const np=["get",...pm];new Set(np);/** 59 * React Router v6.29.0 60 * 61 * Copyright (c) Remix Software Inc. 62 * 63 * This source code is licensed under the MIT license found in the 64 * LICENSE.md file in the root directory of this source tree. 65 * 66 * @license MIT 67 */function yl(){return yl=Object.assign?Object.assign.bind():function(u){for(var i=1;i<arguments.length;i++){var l=arguments[i];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(u[r]=l[r])}return u},yl.apply(this,arguments)}const ko=O.createContext(null),ip=O.createContext(null),fn=O.createContext(null),Qs=O.createContext(null),dn=O.createContext({outlet:null,matches:[],isDataRoute:!1}),ym=O.createContext(null);function lp(u,i){let{relative:l}=i===void 0?{}:i;_l()||De(!1);let{basename:r,navigator:c}=O.useContext(fn),{hash:f,pathname:d,search:v}=_m(u,{relative:l}),m=d;return r!=="/"&&(m=d==="/"?r:La([r,d])),c.createHref({pathname:m,search:v,hash:f})}function _l(){return O.useContext(Qs)!=null}function fi(){return _l()||De(!1),O.useContext(Qs).location}function bm(u){O.useContext(fn).static||O.useLayoutEffect(u)}function sp(){let{isDataRoute:u}=O.useContext(dn);return u?bp():rp()}function rp(){_l()||De(!1);let u=O.useContext(ko),{basename:i,future:l,navigator:r}=O.useContext(fn),{matches:c}=O.useContext(dn),{pathname:f}=fi(),d=JSON.stringify(vm(c,l.v7_relativeSplatPath)),v=O.useRef(!1);return bm(()=>{v.current=!0}),O.useCallback(function(g,b){if(b===void 0&&(b={}),!v.current)return;if(typeof g=="number"){r.go(g);return}let w=gm(g,JSON.parse(d),f,b.relative==="path");u==null&&i!=="/"&&(w.pathname=w.pathname==="/"?i:La([i,w.pathname])),(b.replace?r.replace:r.push)(w,b.state,b)},[i,r,d,f,u])}function _m(u,i){let{relative:l}=i===void 0?{}:i,{future:r}=O.useContext(fn),{matches:c}=O.useContext(dn),{pathname:f}=fi(),d=JSON.stringify(vm(c,r.v7_relativeSplatPath));return O.useMemo(()=>gm(u,JSON.parse(d),f,l==="path"),[u,d,f,l])}function up(u,i){return op(u,i)}function op(u,i,l,r){_l()||De(!1);let{navigator:c,static:f}=O.useContext(fn),{matches:d}=O.useContext(dn),v=d[d.length-1],m=v?v.params:{};v&&v.pathname;let g=v?v.pathnameBase:"/";v&&v.route;let b=fi(),w;if(i){var R;let Y=typeof i=="string"?ci(i):i;g==="/"||(R=Y.pathname)!=null&&R.startsWith(g)||De(!1),w=Y}else w=b;let C=w.pathname||"/",L=C;if(g!=="/"){let Y=g.replace(/^\//,"").split("/");L="/"+C.replace(/^\//,"").split("/").slice(Y.length).join("/")}let H=U0(u,{pathname:L}),M=mp(H&&H.map(Y=>Object.assign({},Y,{params:Object.assign({},m,Y.params),pathname:La([g,c.encodeLocation?c.encodeLocation(Y.pathname).pathname:Y.pathname]),pathnameBase:Y.pathnameBase==="/"?g:La([g,c.encodeLocation?c.encodeLocation(Y.pathnameBase).pathname:Y.pathnameBase])})),d,l,r);return i&&M?O.createElement(Qs.Provider,{value:{location:yl({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:Ma.Pop}},M):M}function cp(){let u=yp(),i=ap(u)?u.status+" "+u.statusText:u instanceof Error?u.message:JSON.stringify(u),l=u instanceof Error?u.stack:null,c={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},i),l?O.createElement("pre",{style:c},l):null,null)}const fp=O.createElement(cp,null);class dp extends O.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,l){return l.location!==i.location||l.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:l.error,location:l.location,revalidation:i.revalidation||l.revalidation}}componentDidCatch(i,l){console.error("React Router caught the following error during render",i,l)}render(){return this.state.error!==void 0?O.createElement(dn.Provider,{value:this.props.routeContext},O.createElement(ym.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hp(u){let{routeContext:i,match:l,children:r}=u,c=O.useContext(ko);return c&&c.static&&c.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=l.route.id),O.createElement(dn.Provider,{value:i},r)}function mp(u,i,l,r){var c;if(i===void 0&&(i=[]),l===void 0&&(l=null),r===void 0&&(r=null),u==null){var f;if(!l)return null;if(l.errors)u=l.matches;else if((f=r)!=null&&f.v7_partialHydration&&i.length===0&&!l.initialized&&l.matches.length>0)u=l.matches;else return null}let d=u,v=(c=l)==null?void 0:c.errors;if(v!=null){let b=d.findIndex(w=>w.route.id&&(v==null?void 0:v[w.route.id])!==void 0);b>=0||De(!1),d=d.slice(0,Math.min(d.length,b+1))}let m=!1,g=-1;if(l&&r&&r.v7_partialHydration)for(let b=0;b<d.length;b++){let w=d[b];if((w.route.HydrateFallback||w.route.hydrateFallbackElement)&&(g=b),w.route.id){let{loaderData:R,errors:C}=l,L=w.route.loader&&R[w.route.id]===void 0&&(!C||C[w.route.id]===void 0);if(w.route.lazy||L){m=!0,g>=0?d=d.slice(0,g+1):d=[d[0]];break}}}return d.reduceRight((b,w,R)=>{let C,L=!1,H=null,M=null;l&&(C=v&&w.route.id?v[w.route.id]:void 0,H=w.route.errorElement||fp,m&&(g<0&&R===0?(_p("route-fallback"),L=!0,M=null):g===R&&(L=!0,M=w.route.hydrateFallbackElement||null)));let Y=i.concat(d.slice(0,R+1)),I=()=>{let W;return C?W=H:L?W=M:w.route.Component?W=O.createElement(w.route.Component,null):w.route.element?W=w.route.element:W=b,O.createElement(hp,{match:w,routeContext:{outlet:b,matches:Y,isDataRoute:l!=null},children:W})};return l&&(w.route.ErrorBoundary||w.route.errorElement||R===0)?O.createElement(dp,{location:l.location,revalidation:l.revalidation,component:H,error:C,children:I(),routeContext:{outlet:null,matches:Y,isDataRoute:!0}}):I()},null)}var wm=function(u){return u.UseBlocker="useBlocker",u.UseRevalidator="useRevalidator",u.UseNavigateStable="useNavigate",u}(wm||{}),xm=function(u){return u.UseBlocker="useBlocker",u.UseLoaderData="useL
67oaderData",u.UseActionData="useActionData",u.UseRouteError="useRouteError",u.UseNavigation="useNavigation",u.UseRouteLoaderData="useRouteLoaderData",u.UseMatches="useMatches",u.UseRevalidator="useRevalidator",u.UseNavigateStable="useNavigate",u.UseRouteId="useRouteId",u}(xm||{});function vp(u){let i=O.useContext(ko);return i||De(!1),i}function gp(u){let i=O.useContext(ip);return i||De(!1),i}function pp(u){let i=O.useContext(dn);return i||De(!1),i}function Sm(u){let i=pp(),l=i.matches[i.matches.length-1];return l.route.id||De(!1),l.route.id}function yp(){var u;let i=O.useContext(ym),l=gp(),r=Sm();return i!==void 0?i:(u=l.errors)==null?void 0:u[r]}function bp(){let{router:u}=vp(wm.UseNavigateStable),i=Sm(xm.UseNavigateStable),l=O.useRef(!1);return bm(()=>{l.current=!0}),O.useCallback(function(c,f){f===void 0&&(f={}),l.current&&(typeof c=="number"?u.navigate(c):u.navigate(c,yl({fromRouteId:i},f)))},[u,i])}const Uh={};function _p(u,i,l){Uh[u]||(Uh[u]=!0)}function wp(u,i){u==null||u.v7_startTransition,u==null||u.v7_relativeSplatPath}function po(u){De(!1)}function xp(u){let{basename:i="/",children:l=null,location:r,navigationType:c=Ma.Pop,navigator:f,static:d=!1,future:v}=u;_l()&&De(!1);let m=i.replace(/^\/*/,"/"),g=O.useMemo(()=>({basename:m,navigator:f,static:d,future:yl({v7_relativeSplatPath:!1},v)}),[m,v,f,d]);typeof r=="string"&&(r=ci(r));let{pathname:b="/",search:w="",hash:R="",state:C=null,key:L="default"}=r,H=O.useMemo(()=>{let M=No(b,m);return M==null?null:{location:{pathname:M,search:w,hash:R,state:C,key:L},navigationType:c}},[m,b,w,R,C,L,c]);return H==null?null:O.createElement(fn.Provider,{value:g},O.createElement(Qs.Provider,{children:l,value:H}))}function Sp(u){let{children:i,location:l}=u;return up(yo(i),l)}new Promise(()=>{});function yo(u,i){i===void 0&&(i=[]);let l=[];return O.Children.forEach(u,(r,c)=>{if(!O.isValidElement(r))return;let f=[...i,c];if(r.type===O.Fragment){l.push.apply(l,yo(r.props.children,f));return}r.type!==po&&De(!1),!r.props.index||!r.props.children||De(!1);let d={id:r.props.id||f.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(d.children=yo(r.props.children,f)),l.push(d)}),l}/** 68 * React Router DOM v6.29.0 69 * 70 * Copyright (c) Remix Software Inc. 71 * 72 * This source code is licensed under the MIT license found in the 73 * LICENSE.md file in the root directory of this source tree. 74 * 75 * @license MIT 76 */function bo(){return bo=Object.assign?Object.assign.bind():function(u){for(var i=1;i<arguments.length;i++){var l=arguments[i];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(u[r]=l[r])}return u},bo.apply(this,arguments)}function Ep(u,i){if(u==null)return{};var l={},r=Object.keys(u),c,f;for(f=0;f<r.length;f++)c=r[f],!(i.indexOf(c)>=0)&&(l[c]=u[c]);return l}function jp(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Tp(u,i){return u.button===0&&(!i||i==="_self")&&!jp(u)}const Ap=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Op="6";try{window.__reactRouterVersion=Op}catch{}const Rp="startTransition",Mh=j0[Rp];function Np(u){let{basename:i,children:l,future:r,window:c}=u,f=O.useRef();f.current==null&&(f.current=C0({window:c,v5Compat:!0}));let d=f.current,[v,m]=O.useState({action:d.action,location:d.location}),{v7_startTransition:g}=r||{},b=O.useCallback(w=>{g&&Mh?Mh(()=>m(w)):m(w)},[m,g]);return O.useLayoutEffect(()=>d.listen(b),[d,b]),O.useEffect(()=>wp(r),[r]),O.createElement(xp,{basename:i,children:l,location:v.location,navigationType:v.action,navigator:d,future:r})}const kp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Cp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cn=O.forwardRef(function(i,l){let{onClick:r,relative:c,reloadDocument:f,replace:d,state:v,target:m,to:g,preventScrollReset:b,viewTransition:w}=i,R=Ep(i,Ap),{basename:C}=O.useContext(fn),L,H=!1;if(typeof g=="string"&&Cp.test(g)&&(L=g,kp))try{let W=new URL(window.location.href),re=g.startsWith("//")?new URL(W.protocol+g):new URL(g),K=No(re.pathname,C);re.origin===W.origin&&K!=null?g=K+re.search+re.hash:H=!0}catch{}let M=lp(g,{relative:c}
76),Y=zp(g,{replace:d,state:v,target:m,preventScrollReset:b,relative:c,viewTransition:w});function I(W){r&&r(W),W.defaultPrevented||Y(W)}return O.createElement("a",bo({},R,{href:L||M,onClick:H||f?r:I,ref:l,target:m}))});var Lh;(function(u){u.UseScrollRestoration="useScrollRestoration",u.UseSubmit="useSubmit",u.UseSubmitFetcher="useSubmitFetcher",u.UseFetcher="useFetcher",u.useViewTransitionState="useViewTransitionState"})(Lh||(Lh={}));var Bh;(function(u){u.UseFetcher="useFetcher",u.UseFetchers="useFetchers",u.UseScrollRestoration="useScrollRestoration"})(Bh||(Bh={}));function zp(u,i){let{target:l,replace:r,state:c,preventScrollReset:f,relative:d,viewTransition:v}=i===void 0?{}:i,m=sp(),g=fi(),b=_m(u,{relative:d});return O.useCallback(w=>{if(Tp(w,l)){w.preventDefault();let R=r!==void 0?r:Vs(g)===Vs(b);m(u,{replace:R,state:c,preventScrollReset:f,relative:d,viewTransition:v})}},[g,m,b,r,c,l,u,f,d,v])}function Dp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}))}const Up=O.forwardRef(Dp);function Mp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}const Lp=O.forwardRef(Mp);function Bp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18 9 11.25l4.306 4.306a11.95 11.95 0 0 1 5.814-5.518l2.74-1.22m0 0-5.94-2.281m5.94 2.28-2.28 5.941"}))}const Hp=O.forwardRef(Bp);function qp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const Gp=O.forwardRef(qp);function $p({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"}))}const Yp=O.forwardRef($p);function Vp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Kp=O.forwardRef(Vp);function Qp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))}const Xp=O.forwardRef(Qp);function Zp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"}))}const Jp=O.forwardRef(Zp);function Pp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"}))}const Wp=O.forwardRef(Pp);function Fp({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))}const _o=O.forwardRef(Fp);function Ip({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"}))}
76const Hh=O.forwardRef(Ip);function ey({title:u,titleId:i,...l},r){return O.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},l),u?O.createElement("title",{id:i},u):null,O.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const ty=O.forwardRef(ey),ay=()=>y.jsx("div",{className:"bg-[#0A0A14] h-10",children:y.jsx("div",{className:"w-full h-full",children:y.jsxs("div",{className:"flex justify-between items-center h-full px-4 md:px-8 lg:px-16",children:[y.jsx("div",{className:"flex items-center",children:y.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center text-white text-sm hover:text-primary transition-colors",children:[y.jsx(_o,{className:"h-4 w-4 mr-2"}),y.jsx("span",{className:"hidden sm:inline",children:"[email protected]"})]})}),y.jsx("div",{className:"flex items-center space-x-4",children:y.jsx("a",{href:"https://x.com/MrAI_Automation",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-primary transition-colors p-1","aria-label":"Volg ons op X (Twitter)",children:y.jsx("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"currentColor",children:y.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})})}),ny={en:{"nav.home":"Home","nav.services":"Services","nav.ourMethod":"Our Method","nav.blog":"Blog","nav.contactUs":"Contact Us","nav.contact":"Contact","nav.signIn":"Sign In","nav.signOut":"Sign Out",search:"Search",language:"Language","hero.badge":"YOUR PARTNER FOR AI SOLUTIONS","hero.title":"Transform your business with intelligent AI solutions","hero.description":"At Synwave, we empower your business with advanced AI technology, delivering innovative solutions that drive growth and efficiency.","hero.exploreMore":"Explore more","hero.viewDemo":"View demo","services.badge":"WHAT WE OFFER","services.title":"Our Services","services.ai.support.title":"AI Customer Support Agent","services.ai.support.description":"Enhance your customer experience with AI that goes beyond basic automation. Maximize resolution rates while allowing your team to focus on high-value interactions.","services.ai.automation.title":"AI Process Automation","services.ai.automation.description":"AI-driven automation is redefining the future, empowering businesses to move from reactive to proactiveâand even predictive. With 81% of executives and managers stating that reducing IT complexity gives them a competitive edge, adopting this level of automation is crucial for driving innovation.","services.web.title":"Web Development & SEO","services.web.description":"Custom websites with built-in SEO optimization for better online visibility. Our designs are responsive, fast, and tailored to ensure exceptional user experiences and business growth.","services.email.title":"AI Automated Email Outreach","services.email.description":"Enhance your sales pipeline with AI-driven email outreach. Automate personalized cold emails, follow-ups, and lead nurturing at scale. Our AI optimizes send times, messaging, and engagement strategies to increase response rates and maximize conversions.","services.social.title":"Social Media Automation","services.social.description":"Streamline your social media presence with AI-powered automation. Automatically send personalized DMs, schedule and post engaging content, and respond to comments and mentions in real-time.","services.voice.title":"AI Voice Agent","services.voice.description":"Empower your business with an AI-powered voice agent that handles calls, bookings, and customer inquiries effortlessly. From scheduling appointments to answering FAQs and redirecting calls, our AI voice agent ensures fast, accurate, and professional communication.","solutions.badge":"WHY AI","solutions.title":"Why AI is the Key to Efficiency and Growth","solutions.description":"Automate, optimize, and scale your business with AI-driven solutions. Artificial intelligence is transforming how businesses operate, from customer interactions to workflow automation.","solutions.automate.title":"Automate 96% of customer inquiries","solutions.automate.description":"with an AI agent and improve your support immediately.","solutions.seo.title":"SEO-optimized websites","solutions.seo.description":"that perform better and attract more customers.","solutions.workflow.title":"Efficient AI workflows","solutions.workflow.description":"that streamline your business and save costs.","solutions.future.title":"Let AI work for you","solutions.future.description":"and make your business future-proof","solutions.stats.automation":"Automation Rate","solutions.stats.reduction":"Cost Reduction","solutions.
76cta":"Start Your AI Journey","method.badge":"OUR METHOD","method.title":"Discover how we transform your business with AI","method.steps.strategy.title":"Strategy","method.steps.strategy.description":"We analyze your current processes and identify where AI can have the most impact.","method.steps.planning.title":"Planning","method.steps.planning.description":"A detailed implementation plan is created, including timeline and milestones.","method.steps.selection.title":"Selection","method.steps.selection.description":"We choose the best AI tools and integrations that match your needs.","method.steps.training.title":"Training","method.steps.training.description":"Your team is trained in using the new AI tools and workflows.","method.steps.optimization.title":"Optimization","method.steps.optimization.description":"Continuous monitoring and improvement of AI performance and workflows.","method.ready":"Ready to transform your business with AI?","method.cta":"Schedule a free consultation","contact.badge":"TALK TO US","contact.title":"How May We Help You!","contact.form.name":"Your Name*","contact.form.email":"Your Email*","contact.form.subject":"Subject*","contact.form.phone":"Your Phone*","contact.form.message":"Message*","contact.form.submit":"Send Message","contact.form.submitting":"Sending...","contact.form.success":"Thank you! Your message has been sent successfully.","contact.form.error":"Sorry, there was an error sending your message. Please try again.","testimonials.badge":"CLIENTS REVIEW","testimonials.title":"What They Say About Our Services","testimonials.stichting.company":"Stichting Talis","testimonials.stichting.author":"Sophie van der Meer","testimonials.stichting.title":"Customer Experience Manager","testimonials.stichting.text":"Implementing Synwave's AI Customer Support Agent has been a game-changer for our organization. Our response times have drastically improved, and routine inquiries are handled seamlessly, allowing our team to focus on more complex and meaningful interactions. The AI ensures efficie
76ncy without losing the human touch, elevating our customer experience to new heights!","testimonials.pggm.company":"PGGM","testimonials.pggm.author":"Mark de Vries","testimonials.pggm.title":"IT & Digital Innovation Lead","testimonials.pggm.text":"Synwave's AI Process Automation has revolutionized the way we operate, allowing us to transition from reactive to proactive decision-making. Their intelligent automation solutions have significantly reduced IT complexity, giving us a competitive edge and enabling us to focus on driving innovation. The impact on efficiency and strategic growth has been remarkable!","testimonials.convey.company":"Convey Foundation","testimonials.convey.author":"Dervin Sno","testimonials.convey.title":"Owner, Convey Foundation","testimonials.convey.text":"Synwave has transformed our website and participant portal, making it more accessible and efficient. Their expertise in web design and workflow automation has greatly improved our online presence and operational efficiency. Our visibility has increased, and managing participants has never been easier!","blog.latestPosts":"Latest Blog Posts","blog.subtitle":"Insights and updates from the Synwave team","blog.shareArticle":"Share this article"},nl:{"nav.home":"Home","nav.services":"Diensten","nav.ourMethod":"Onze Methode","nav.blog":"Blog","nav.contactUs":"Contact","nav.contact":"Contact","nav.signIn":"Inloggen","nav.signOut":"Uitloggen",search:"Zoeken",language:"Taal","hero.badge":"UW PARTNER VOOR AI OPLOSSINGEN","hero.title":"Transformeer uw bedrijf met intelligente AI-oplossingen","hero.description":"Bij Synwave versterken we uw bedrijf met geavanceerde AI-technologie en leveren we innovatieve oplossingen die groei en efficiëntie stimuleren.","hero.exploreMore":"Ontdek meer","hero.viewDemo":"Bekijk demo","services.badge":"WAT WE BIEDEN","services.title":"Onze Diensten","services.ai.support.title":"AI Klantenservice Agent","services.ai.support.description":"Verbeter uw klantenservice met AI die verder gaat dan basis automatisering. Maximaliseer oplossingspercentages terwijl uw team zich kan focussen op waardevolle interacties.","services.ai.automation.title":"AI Procesautomatisering","services.ai.automation.description":"AI-gestuurde automatisering herdefiniëert de toekomst en stelt bedrijven in staat om van reactief naar proactief te gaan. Met 81% van de executives die aangeven dat het verminderen van IT-complexiteit een concurrentievoordeel oplevert, is het adopteren van automatisering cruciaal voor innovatie.","services.web.title":"Webontwikkeling & SEO","services.web.description":"Maatwerk websites met ingebouwde SEO-optimalisatie voor betere online zichtbaarheid. Onze designs zijn responsief, snel en op maat gemaakt voor uitzonderlijke gebruikerservaringen en bedrijfsgroei.","services.email.title":"AI Geautomatiseerde Email Outreach","services.email.description":"Verbeter uw verkooppijplijn met AI-gestuurde email outreach. Automatiseer gepersonaliseerde cold emails, follow-ups en lead nurturing op schaal. Onze AI optimaliseert verzendtijden, berichten en engagement strategieën.","services.social.title":"Social Media Automatisering","services.social.description":"Stroomlijn uw social media aanwezigheid met AI-gestuurde automatisering. Verstuur automatisch gepersonaliseerde berichten, plan en post content, en reageer op comments in real-time.","services.voice.title":"AI Telefonist","services.voice.description":"Versterk uw bedrijf met een AI-gestuurde telefonist die moeiteloos gesprekken, boekingen en klantvragen afhandelt. Van het plannen van afspraken tot het beantwoorden van veelgestelde vragen, onze AI telefonist zorgt voor snelle, accurate en professionele communicatie.","solutions.badge":"WAAROM AI","solutions.title":"Waarom AI de Sleutel is tot Efficiëntie en Groei","solutions.description":"Automatiseer, optimaliseer en schaal uw bedrijf met AI-gedreven oplossingen. Kunstmatige intelligentie transformeert hoe bedrijven opereren, van klantinteracties tot werkstroomautomatisering.","solutions.automate.title":"Automatiseer 96% van de klantvragen","solutions.automate.description":"met een AI-agent en verbeter uw support direct.","solutions.seo.title":"SEO-geoptimaliseerde websites","solutions.seo.description":"die beter presteren en meer klanten aantrekken.","solutions.workflow.title":"Efficiënte AI-workflows","solutions.workflow.description":"die uw bedrijf stroomlijnen en kosten besparen.","solutions.future.title":"Laat AI voor u werken","solutions.future.description":"en maak uw bedrijf toekomstbestendig","solutions.stats.automation":"Automatiseringsgraad","solutions.stats.reduction":"Kostenbesparing","solutions.
76cta":"Start Uw AI Reis","method.badge":"ONZE METHODE","method.title":"Ontdek onze werkwijze hoe wij samen met u uw bedrijf transformeren met AI","method.steps.strategy.title":"Strategie","method.steps.strategy.description":"We analyseren uw huidige processen en identificeren waar AI de meeste impact kan hebben.","method.steps.planning.title":"Planning","method.steps.planning.description":"Een gedetailleerd implementatieplan wordt gemaakt, inclusief tijdlijn en mijlpalen.","method.steps.selection.title":"Selectie","method.steps.selection.description":"We kiezen de beste AI-tools en integraties die passen bij uw behoeften.","method.steps.training.title":"Training","method.steps.training.description":"Uw team wordt getraind in het gebruik van de nieuwe AI-tools en workflows.","method.steps.optimization.title":"Optimalisatie","method.steps.optimization.description":"Continue monitoring en verbetering van AI-prestaties en workflows.","method.ready":"Klaar om uw bedrijf te transformeren met AI?","method.cta":"Plan een gratis consultatie","contact.badge":"NEEM CONTACT OP","contact.title":"Hoe Kunnen Wij U Helpen!","contact.form.name":"Uw Naam*","contact.form.email":"Uw E-mail*","contact.form.subject":"Onderwerp*","contact.form.phone":"Uw Telefoonnummer*","contact.form.message":"Bericht*","contact.form.submit":"Verstuur Bericht","contact.form.submitting":"Versturen...","contact.form.success":"Bedankt! Uw bericht is succesvol verzonden.","contact.form.error":"Sorry, er is een fout opgetreden bij het verzenden van uw bericht. Probeer het opnieuw.","testimonials.badge":"KLANTBEOORDELINGEN","testimonials.title":"Wat Zij Zeggen Over Onze Diensten","testimonials.stichting.company":"Stichting Talis","testimonials.stichting.author":"Sophie van der Meer","testimonials.stichting.title":"Customer Experience Manager","testimonials.stichting.text":"Het implementeren van Synwave's AI Klantenservice Agent is een game-changer geweest voor onze organisatie. Onze reactietijden zijn drastisch verbeterd en routinevragen worden naadloos afgehandeld, waardoor ons team zich kan concentreren op meer complexe en betekenisvolle interacties. De AI zorgt voor efficiëntie zonder het menselijke aspect te verliezen, wat onze klantervaring naar een hoger niveau tilt!","testimonials.pggm.company":"PGGM","testimonials.pggm.author":"Mark de Vries","testimonials.pggm.title":"IT & Digital Innovation Lead","testimonials.pggm.text":"Synwave's AI Procesautomatisering heeft onze manier van werken revolutionair veranderd, waardoor we van reactief naar proactief besluitvorming zijn gegaan. Hun intelligente automatiseringsoplossingen hebben de IT-complexiteit aanzienlijk verminderd, wat ons een concurrentievoordeel geeft en ons in staat stelt om ons te concentreren op het stimuleren van innovatie. De impact op efficiëntie en strategische groei is opmerkelijk geweest!","testimonials.convey.company":"Convey Foundation","testimonials.convey.author":"Dervin Sno","testimonials.convey.title":"Eigenaar, Convey Foundation","testimonials.convey.text":"Synwave heeft onze website en deelnemersportaal getransformeerd, waardoor het toegankelijker en efficiënter is geworden. Hun expertise in webdesign en workflowautomatisering heeft onze online aanwezigheid en operationele efficiëntie aanzienlijk verbeterd. Onze zichtbaarheid is toegenomen en het beheren van deelnemers is nog nooit zo eenvoudig geweest!","blog.latestPosts":"Laatste Blog Berichten","blog.subtitle":"Inzichten en updates van het Synwave team","blog.shareArticle":"Deel dit artikel"}},Em=O.createContext(void 0);function iy({children:u}){const[i,l]=O.useState("en"),r=c=>ny[i][c]||c;return y.jsx(Em.Provider,{value:{language:i,setLanguage:l,t:r},children:u})}function hn(){const u=O.useContext(Em);if(u===void 0)throw new Error("useLanguage must be used within a LanguageProvider");return u}const qh=()=>{const{language:u,setLanguage:i}=hn();return y.jsxs("div",{className:"flex items-center space-x-2",children:[y.jsx("span",{className:`text-sm font-medium ${u==="en"?"text-[#1E4BE9]":"text-gray-500"}`,children:"ENG"}),y.jsx("button",{onClick:()=>i(u==="en"?"nl":"en"),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors duration-300",style:{backgroundColor:u==="nl"?"#1E4BE9":"#D1D5DB"},children:y.jsx("span",{className:`inline-block h-4 w-4 transform rounded-full bg-white transition-transform duration-300 ${u==="nl"?"translate-x-6":"translate-x-1"}`})}),y.jsx("span",{className:`text-sm font-medium ${u==="nl"?"text-[#1E4BE9]":"text-gray-500"}`,children:"NED"})]})},ly=()=>{const[u,i]=O.useState(!1),[l,r]=O.useState(!1),{t:c}=hn(),f=fi();O.useEffect(()=>{const m=()=>{r(window.scrollY>10)};return window.addEventListener("scroll",m),()=>window.removeEventListener("scroll",m)},[]);const d=[{key:"nav.home",href:"/"},{key:"nav.services",href:"/#services"}
76,{key:"nav.ourMethod",href:"/#our-method"},{key:"nav.contact",href:"/#contact"}],v=(m,g)=>{if(g.startsWith("/#"))if(m.preventDefault(),f.pathname==="/"){const b=g.substring(2),w=document.getElementById(b);w&&w.scrollIntoView({behavior:"smooth"})}else window.location.href=g;i(!1)};return y.jsxs("header",{className:`fixed w-full z-50 transition-all duration-300 ${l?"shadow-lg":""}`,children:[y.jsx(ay,{}),y.jsx("nav",{className:"bg-white",children:y.jsxs("div",{className:"w-full",children:[y.jsxs("div",{className:"relative flex items-center",children:[y.jsxs("div",{className:"relative h-[90px] bg-[#1E4BE9] flex items-center pl-4 sm:pl-8 lg:pl-16",style:{width:"min(800px, 60vw)"},children:[y.jsx("div",{className:"absolute right-full top-0 bottom-0 w-screen bg-[#1E4BE9]"}),y.jsx("div",{className:"absolute right-0 top-0 h-full w-[250px] sm:w-[350px] lg:w-[450px] overflow-hidden",children:y.jsx("div",{className:"absolute top-0 right-0 h-[200%] w-full bg-white origin-top-right",style:{transform:"rotate(-30deg) translateY(-35%)"}})}),y.jsxs(cn,{to:"/",className:"relative flex items-center gap-4 z-10",children:[y.jsx("img",{src:"/images/logo/logo-synwave-final.png",alt:"Synwave",className:"h-16 w-auto"}),y.jsx("span",{className:"text-white text-2xl font-semibold tracking-wide",children:"SYNWAVE"})]})]}),y.jsxs("div",{className:"flex-1 flex items-center justify-end h-[90px] pr-4 sm:pr-8 lg:pr-16",children:[y.jsx("div",{className:"hidden lg:flex items-center justify-center mx-auto space-x-8 xl:space-x-10",children:d.map(m=>y.jsx(cn,{to:m.href,onClick:g=>v(g,m.href),className:"text-[15px] text-[#0A1930] hover:text-[#1E4BE9] transition-colors duration-300 font-medium whitespace-nowrap",children:c(m.key)},m.key))}),y.jsx("div",{className:"hidden lg:flex items-center space-x-6",children:y.jsx(qh,{})}),y.jsxs("div",{className:"lg:hidden flex items-center space-x-4",children:[y.jsx(qh,{}),y.jsx("button",{onClick:()=>i(!u),className:"text-[#0A1930] p-2",children:u?y.jsx(ty,{className:"h-6 w-6"}):y.jsx(Gp,{className:"h-6 w-6"})})]})]})]}),y.jsx("div",{className:`lg:hidden overflow-hidden transition-all duration-300 ${u?"max-h-[400px]":"max-h-0"}`,children:y.jsx("div",{className:"bg-white border-t border-gray-100 px-4 py-3 space-y-1 shadow-lg",children:d.map(m=>y.jsx(cn,{to:m.href,onClick:g=>v(g,m.href),className:"text-[#0A1930] hover:bg-[#1E4BE9] hover:text-white block px-3 py-2 rounded-md transition-colors",children:c(m.key)},m.key))})})]})})]})},sy=()=>{const[u,i]=O.useState(!1),[l,r]=O.useState(!1),{t:c}=hn();O.useEffect(()=>{i(!0);const d=new Image;d.src="/images/hero/heroafbeelding2.jpeg",d.onload=()=>r(!0);const v=document.createElement("div");return v.className="hero-placeholder",()=>{d.onload=null}},[]);const f=d=>{d.preventDefault();const v=document.getElementById("services");v&&v.scrollIntoView({behavior:"smooth"})};return y.jsxs("section",{className:"relative bg-primary-dark min-h-screen overflow-hidden",children:[y.jsxs("div",{className:"absolute inset-0",children:[y.jsx("div",{className:`absolute inset-0 w-full h-full transition-opacity duration-500 ${l?"opacity-100":"opacity-0"}`,style:{backgroundImage:"url('/images/hero/heroafbeelding2.jpeg')",backgroundSize:"cover",backgroundPosition:"center",zIndex:0}}),y.jsx("div",{className:`absolute inset-0 w-full h-full transition-opacity duration-500 ${l?"opacity-0":"opacity-100"}`,style:{backgroundColor:"#0A1930",zIndex:0}}),y.jsx("div",{className:"absolute inset-0 bg-[#1E4BE9]/30 mix-blend-overlay",style:{zIndex:1}}),y.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-[rgba(10,25,48,0.30)] to-[rgba(30,75,233,0.30)]",style:{zIndex:2}})]}),y.jsxs("div",{className:"absolute left-0 top-1/4 w-[300px] h-[300px]",children:[y.jsx("img",{src:"/images/hero/banner-solid-left-shape.png",alt:"",loading:"lazy",className:`absolute transition-all duration-1000 ${u?"opacity-100 translate-x-0":"opacity-0 -translate-x-full"}`}),y.jsx("img",{src:"/images/hero/banner-regular-left-shape.png",alt:"",loading:"lazy",className:`absolute top-12 transition-all duration-1000 delay-300 ${u?"opacity-100 translate-x-0":"opacity-0 -translate-x-full"}`})]}),y.jsx("div",{className:"absolute left-0 bottom-0",children:y.jsx("img",{src:"/images/hero/banner-shape-left.png",alt:"",loading:"lazy",className:"animate-float"})}),y.jsxs("div",{className:"absolute right-0 bottom-0 w-[300px] h-[300px]",children:[y.jsx("img",{src:"/images/hero/banner-shape-right.png",alt:"",loading:"lazy",className:`absolute transition-all duration-1000 ${u?"opacity-100 translate-x-0":"opacity-0 translate-x-full"}`}),y.jsx("img",{src:"/images/hero/banner-shape-right-line.png",alt:"",loading:"lazy",className:`absolute transition-all duration-1000 delay-300 ${u?"opacity-100 translate-x-0":"opacity-0 translate-x-full"}`})]}),y.jsx("div",{className:"container-width relative z-10",children:y.jsx("div",{className:"flex items-center min-h-[calc(100vh-80px)] pt-32 pb-16 px-4",children:y.jsxs("div",{className:"relative z-10 max-w-2xl",children:[y.jsxs("div",{className:"inline-flex items-center bg-white/10 backdrop-blur-sm rounded-full px-4 py-1.5 mb-8",children:[y.jsx("div",{className:"w-2 h-2 rounded-full bg-white mr-2"}),y.jsx("span",{className:"text-white text-sm font-medium",children:c("hero.badge")})]}),y.jsx("div",{className:"backdrop-blur-sm bg-black/10 p-6 rounded-lg shadow-lg mb-6",children:y.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white leading-tight drop-shadow-lg",children:c("hero.title")})}),y.jsx("p",{className:"text-white text-lg mb-8 max-w-xl backdrop-blur-sm bg-black/10 p-4 rounded-lg shadow-lg",children:c("hero.description")}),y.jsxs("div",{className:"flex flex-wrap gap-4 mt-8",children:[y.jsxs("button",{onClick:f,className:"inline-flex items-center px-6 py-3 bg-[#1E4BE9] text-white rounded hover:bg-[#1E4BE9]/90 transition-colors font-medium",children:[c("hero.exploreMore")," ",y.jsx(Lp,{className:"w-5 h-5 ml-2"})]}),y.jsx(cn,{to:"/demo",className:"inline-flex items-center px-6 py-3 border-2 border-white text-white rounded hover:bg-white hover:text-[#1E4BE9] transition-colors font-medium",children:c("hero.viewDemo")})]})]})})})]})},ry=[{icon:"/images/Services icons/customer support icon.png",titleKey:"services.ai.support.title",descriptionKey:"services.ai.support.description"},{icon:"/images/Services icons/ai automation icon.png",titleKey:"services.ai.automation.title",descriptionKey:"services.ai.automation.description"},{icon:"/images/Services icons/webdevelopment icon.png",titleKey:"services.web.title",descriptionKey:"services.web.description"},{icon:"/images/Services icons/outreach.png",titleKey:"services.email.title",descriptionKey:"services.email.description"},{icon:"/images/Services icons/social media.png",titleKey:"services.social.title",descriptionKey:"services.social.description"},{icon:"/images/Services icons/phonecaller.png",titleKey:"services.voice.title",descriptionKey:"services.voice.description"}],uy=()=>{const[u,i]=O.useState(!1),{t:l}=hn();return O.useEffect(()=>{i(!0)},[]),y.jsxs("section",{id:"services",className:"relative bg-white py-24 overflow-hidden",children:[y.jsxs("div",{className:"absolute inset-0 opacity-[0.03]",children:[y.jsx("div",{className:"absolute left-0 top-1/4 w-96 h-96 bg-primary rounded-full blur-3xl"}),y.jsx("div",{className:"absolute right-0 bottom-1/4 w-96 h-96 bg-primary rounded-full blur-3xl"})]}),y.jsxs("div",{className:"container-width px-4 relative",children:[y.jsxs("div",{className:"mb-12",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[y.jsx("div",{className:"w-8 h-4 bg-primary rounded-full"}),y.jsx("span",{className:"text-primary font-medium",children:l("services.badge")})]}),y.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-dark",children:l("services.title")})]}),y.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:ry.map((r,c)=>y.jsxs("div",{className:`group relative bg-white rounded-xl shadow-lg overflow-hidden transition-all duration-500 hover:shadow-xl ${u?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,style:{transitionDelay:`${c*100}ms`},children:[y.jsx("div",{className:"absolute right-0 top-0 w-48 h-48 opacity-10 group-hover:opacity-20 transition-opacity duration-300",children:y.jsx("img",{src:"/images/Services icons/service-item-shape.png",alt:"",className:"w-full h-full object-contain",style:{transform:"rotate(-10deg) scale(1.5)"}})}),y.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#4169E1]/90 via-[#1E4BE9] to-[#0000FF]/90 opacity-0 group-hover:opacity-95 transition-opacity duration-300 z-10"}),y.jsxs("div",{className:"relative z-20 p-8",children:[y.jsx("div",{className:"w-10 h-10 mb-6",children:y.jsx("img",{src:r.icon,alt:l(r.titleKey),className:"w-full h-full object-contain group-hover:brightness-0 group-hover:invert transition-all duration-300"})}),y.jsx("h3",{className:"text-xl font-semibold text-primary-dark mt-6 mb-4 group-hover:text-white transition-colors duration-300",children:l(r.titleKey)}),y.jsx("p",{className:"text-gray-600 group-hover:text-white/90 transition-colors duration-300",children:l(r.descriptionKey)})]})]},c))})]})]})},oy=()=>{const{t:u}=hn(),[i,l]=O.useState(!1),r=[{title:u("solutions.automate.title"),description:u("solutions.automate.description")},{title:u("solutions.seo.title"),description:u("solutions.seo.description")},{title:u("solutions.workflow.title"),description:u("solutions.workflow.description")},{title:u("solutions.future.title"),description:u("solutions.future.description")}];O.useEffect(()=>{const f=new Image;return f.src="/images/WhyAIsection/afbeelding AI sectie 2.jpg",f.onload=()=>l(!0),()=>{f.onload=null}},[]);const c=f=>{f.preventDefault();const d=document.getElementById("contact");d&&d.scrollIntoView({behavior:"smooth"})};return y.jsxs("section",{className:"relative bg-gradient-to-br from-[#0A1930] to-[#1E4BE9] overflow-hidden",children:[y.jsxs("div",{className:"absolute inset-0 opacity-5",children:[y.jsx("div",{className:"absolute w-[800px] h-[800px] -top-1/2 -right-1/2 bg-white/10 rounded-full blur-3xl"}),y.jsx("div",{className:"absolute w-[600px] h-[600px] -bottom-1/4 -left-1/4 bg-white/10 rounded-full blur-3xl"})]}),y.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-full opacity-10 pointer-events-none",children:y.jsx("img",{src:"/images/WhyAIsection/service-bg-shape.png",alt:"",className:"w-full h-full object-cover",style:{mixBlendMode:"soft-light",filter:"brightness(0) invert(1)"}})}),y.jsx("div",{className:"container-width section-padding relative z-10",children:y.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[y.jsxs("div",{className:"text-white order-2 lg:order-1",children:[y.jsxs("div",{className:"inline-flex items-center bg-white/10 rounded-full px-4 py-1.5 mb-8",children:[y.jsx("div",{className:"w-2 h-2 rounded-full bg-primary mr-2"}),y.jsx("span",{className:"text-sm font-medium",children:u("solutions.badge")})]}),y.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:u("solutions.title")}),y.jsx("p",{className:"text-white/80 mb-8 text-lg",children:u("solutions.description")}),y.jsx("div",{className:"space-y-6",children:r.map((f,d)=>y.jsxs("div",{className:"flex items-start group",children:[y.jsx("div",{className:"flex-shrink-0 p-1",children:y.jsx(Kp,{className:"h-6 w-6 text-primary group-hover:scale-110 transition-transform"})}),y.jsxs("div",{className:"ml-4",children:[y.jsx("h3",{className:"font-semibold text-lg group-hover:text-primary transition-colors",children:f.title}),y.jsx("p",{className:"text-white/70",children:f.description})]})]},d))}),y.jsx("div",{className:"mt-12",children:y.jsxs("a",{href:"#contact",onClick:c,className:"inline-flex items-center px-8 py-4 bg-white text-primary rounded-lg hover:bg-primary hover:text-white transition-all duration-300 group font-semibold",children:[u("solutions.
76cta"),y.jsx("svg",{className:"w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})})]}),y.jsxs("div",{className:"relative order-1 lg:order-2",children:[y.jsxs("div",{className:"relative aspect-square rounded-2xl overflow-hidden shadow-2xl",children:[y.jsxs("div",{className:"relative w-full h-full",children:[y.jsx("div",{className:`absolute inset-0 bg-[#0A1930] transition-opacity duration-500 ${i?"opacity-0":"opacity-100"}`,style:{filter:"blur(8px)"}}),y.jsx("div",{className:`w-full h-full transition-opacity duration-500 ${i?"opacity-100":"opacity-0"}`,style:{backgroundImage:"url('/images/WhyAIsection/afbeelding AI sectie 2.jpg')",backgroundSize:"cover",backgroundPosition:"center"}})]}),y.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent mix-blend-multiply"}),y.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 bg-white/10 backdrop-blur-lg rounded-xl p-6 w-[80%] border border-white/20",children:y.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"text-2xl font-bold text-white",children:"96%"}),y.jsx("div",{className:"text-sm text-white/80",children:u("solutions.stats.automation")})]}),y.jsxs("div",{className:"text-center",children:[y.jsx("div",{className:"text-2xl font-bold text-white",children:"85%"}),y.jsx("div",{className:"text-sm text-white/80",children:u("solutions.stats.reduction")})]})]})})]}),y.jsx("div",{className:"absolute -top-4 -right-4 w-24 h-24 bg-primary rounded-full opacity-20 blur-2xl"}),y.jsx("div",{className:"absolute -bottom-8 -left-8 w-32 h-32 bg-white rounded-full opacity-10 blur-3xl"})]})]})})]})},Gh=[{number:"01",titleKey:"method.steps.strategy.title",descriptionKey:"method.steps.strategy.description",icon:Yp},{number:"02",titleKey:"method.steps.planning.title",descriptionKey:"method.steps.planning.description",icon:Jp},{number:"03",titleKey:"method.steps.selection.title",descriptionKey:"method.steps.selection.description",icon:Wp},{number:"04",titleKey:"method.steps.training.title",descriptionKey:"method.steps.training.description",icon:Up},{number:"05",titleKey:"method.steps.optimization.title",descriptionKey:"method.steps.optimization.description",icon:Hp}],cy=()=>{const[u,i]=O.useState(null),{t:l}=hn();return y.jsxs("section",{id:"our-method",className:"bg-[#0A1930] text-white relative overflow-hidden",children:[y.jsxs("div",{className:"absolute inset-0",children:[y.jsx("div",{className:"absolute left-0 bottom-0 w-[300px]",children:y.jsx("img",{src:"/images/our-method/offer-bg-shape-left.png",alt:"",className:"w-full h-auto opacity-10"})}),y.jsx("div",{className:"absolute right-0 top-0 w-[300px]",children:y.jsx("img",{src:"/images/our-method/offer-bg-shape-right.png",alt:"",className:"w-full h-auto opacity-10"})}),y.jsx("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] max-w-full",children:y.jsx("img",{src:"/images/our-method/offer-shadow-shape.png",alt:"",className:"w-full h-auto",style:{opacity:"0.15",filter:"brightness(1.2)",mixBlendMode:"lighten"}})})]}),y.jsxs("div",{className:"container-width py-20 relative z-10",children:[y.jsxs("div",{className:"text-center mb-16",children:[y.jsxs("div",{className:"inline-flex items-center bg-[#1E4BE9]/10 rounded-full px-4 py-1.5 mb-4",children:[y.jsx("div",{className:"w-2 h-2 rounded-full bg-[#1E4BE9]"}),y.jsx("span",{className:"text-[#1E4BE9] text-sm font-medium ml-2",children:l("method.badge")})]}),y.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-white",children:l("method.title")})]}),y.jsx("div",{className:"grid md:grid-cols-3 lg:grid-cols-5 gap-8 mb-16",children:Gh.map((r,c)=>y.jsxs("div",{className:"relative group h-[280px]",onMouseEnter:()=>i(c),onMouseLeave:()=>i(null),children:[y.jsxs("div",{className:"bg-white/[0.02] backdrop-blur-lg rounded-xl p-6 transition-all duration-300 hover:bg-white/[0.04] relative z-10 border border-white/[0.05] h-full flex flex-col",children:[y.jsx("div",{className:"text-white/20 text-6xl font-bold absolute top-4 right-4 transition-all duration-300 group-hover:text-white/30",style:{textShadow:"0 0 20px rgba(255,255,255,0.2)",WebkitTextStroke:"1px rgba(255,255,255,0.1)"},children:r.number}),y.jsx("div",{className:"w-12 h-12 rounded-lg bg-white/10 flex items-center justify-center mb-6 group-hover:bg-white/20 transition-all duration-300",children:y.jsx(r.icon,{className:"w-6 h-6 text-white"})}),y.jsxs("div",{className:"flex-grow flex flex-col",children:[y.jsx("h3",{className:"text-xl font-semibold text-white mb-3",children:l(r.titleKey)}),y.jsx("p",{className:"text-white/70",children:l(r.descriptionKey)})]})]}),c<Gh.length-1&&y.jsx("div",{className:"hidden lg:block absolute top-1/2 -right-4 w-8 border-t-2 border-dashed border-white/[0.05]"})]}
76,c))}),y.jsxs("div",{className:"text-center",children:[y.jsx("h3",{className:"text-2xl font-bold mb-6 text-white",children:l("method.ready")}),y.jsxs("a",{href:"#contact",className:"inline-flex items-center px-8 py-4 bg-[#1E4BE9] text-white rounded-lg hover:bg-[#1E4BE9]/90 transition-all duration-300 group",children:[l("method.cta"),y.jsx("svg",{className:"w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform duration-300",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})]})]})]})};class wl{constructor(i=0,l="Network Error"){this.status=i,this.text=l}}const fy=()=>{if(!(typeof localStorage>"u"))return{get:u=>Promise.resolve(localStorage.getItem(u)),set:(u,i)=>Promise.resolve(localStorage.setItem(u,i)),remove:u=>Promise.resolve(localStorage.removeItem(u))}},Qe={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:fy()},Co=u=>u?typeof u=="string"?{publicKey:u}:u.toString()==="[object Object]"?u:{}:{},dy=(u,i="https://api.emailjs.com")=>{if(!u)return;const l=Co(u);Qe.publicKey=l.publicKey,Qe.blockHeadless=l.blockHeadless,Qe.storageProvider=l.storageProvider,Qe.blockList=l.blockList,Qe.limitRate=l.limitRate,Qe.origin=l.origin||i},jm=async(u,i,l={})=>{const r=await fetch(Qe.origin+u,{method:"POST",headers:l,body:i}),c=await r.text(),f=new wl(r.status,c);if(r.ok)return f;throw f},Tm=(u,i,l)=>{if(!u||typeof u!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!i||typeof i!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!l||typeof l!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},hy=u=>{if(u&&u.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Am=u=>u.webdriver||!u.languages||u.languages.length===0,Om=()=>new wl(451,"Unavailable For Headless Browser"),my=(u,i)=>{if(!Array.isArray(u))throw"The BlockList list has to be an array";if(typeof i!="string")throw"The BlockList watchVariable has to be a string"},vy=u=>{var i;return!((i=u.list)!=null&&i.length)||!u.watchVariable},gy=(u,i)=>u instanceof FormData?u.get(i):u[i],Rm=(u,i)=>{if(vy(u))return!1;my(u.list,u.watchVariable);const l=gy(i,u.watchVariable);return typeof l!="string"?!1:u.list.includes(l)},Nm=()=>new wl(403,"Forbidden"),py=(u,i)=>{if(typeof u!="number"||u<0)throw"The LimitRate throttle has to be a positive number";if(i&&typeof i!="string")throw"The LimitRate ID has to be a non-empty string"},yy=async(u,i,l)=>{const r=Number(await l.get(u)||0);return i-Date.now()+r},km=async(u,i,l)=>{if(!i.throttle||!l)return!1;py(i.throttle,i.id);const r=i.id||u;return await yy(r,i.throttle,l)>0?!0:(await l.set(r,Date.now().toString()),!1)},Cm=()=>new wl(429,"Too Many Requests"),by=async(u,i,l,r)=>{const c=Co(r),f=c.publicKey||Qe.publicKey,d=c.blockHeadless||Qe.blockHeadless,v=c.storageProvider||Qe.storageProvider,m={...Qe.blockList,...c.blockList},g={...Qe.limitRate,...c.limitRate};return d&&Am(navigator)?Promise.reject(Om()):(Tm(f,u,i),hy(l),l&&Rm(m,l)?Promise.reject(Nm()):await km(location.pathname,g,v)?Promise.reject(Cm()):jm("/api/v1.0/email/send",JSON.stringify({lib_version:"4.4.1",user_id:f,service_id:u,template_id:i,template_params:l}),{"Content-type":"application/json"}))},_y=u=>{if(!u||u.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},wy=u=>typeof u=="string"?document.querySelector(u):u,xy=async(u,i,l,r)=>{const c=Co(r),f=c.publicKey||Qe.publicKey,d=c.blockHeadless||Qe.blockHeadless,v=Qe.storageProvider||c.storageProvider,m={...Qe.blockList,...c.blockList},g={...Qe.limitRate,...c.limitRate};if(d&&Am(navigator))return Promise.reject(Om());const b=wy(l);Tm(f,u,i),_y(b);const w=new FormData(b);return Rm(m,w)?Promise.reject(Nm()):await km(location.pathname,g,v)?Promise.reject(Cm()):(w.append("lib_version","4.4.1"),w.append("service_id",u),w.append("template_id",i),w.append("user_id",f),jm("/api/v1.0/email/send-form",w))},Sy={init:dy,send:by,sendForm:xy,EmailJSResponseStatus:wl},Ls=[{companyKey:"testimonials.convey.company",authorKey:"testimonials.convey.author",titleKey:"testimonials.convey.title",textKey:"testimonials.convey.text"},{companyKey:"testimonials.pggm.company",authorKey:"testimonials.pggm.author",titleKey:"testimonials.pggm.title",textKey:"testimonials.pggm.text"},{companyKey:"testimonials.stichting.company",authorKey:"testimonials.stichting.author",titleKey:"testimonials.stichting.title",textKey:"testimonials.stichting.text"}],Ey=()=>{const{t:u}=hn(),i=O.useRef(null),[l,r]=O.useState(!1),[c,f]=O.useState("idle"),[d,v]=O.useState(0),[m,g]=O.useState(!1);O.useEffect(()=>{const C=new Image;return C.src="/images/contact/contactimage.jpg",C.onload=()=>g(!0),()=>{C.onload=null}},[]);const b=async C=>
76{if(C.preventDefault(),!!i.current){r(!0),f("idle");try{await Sy.sendForm("service_c2zmaer","template_p3uaog3",i.current,"wpf3vhewYgs4rlfgx"),f("success"),i.current.reset()}catch(L){console.error("Failed to send email:",L),f("error")}finally{r(!1)}}},w=()=>{v(C=>(C+1)%Ls.length)},R=()=>{v(C=>(C-1+Ls.length)%Ls.length)};return y.jsx("section",{id:"contact",className:"relative bg-white py-32",children:y.jsx("div",{className:"max-w-[1920px] mx-auto",children:y.jsxs("div",{className:"grid lg:grid-cols-2 gap-x-16 gap-y-20",children:[y.jsxs("div",{className:"relative",children:[y.jsxs("div",{className:"absolute left-[-100vw] right-0 h-[800px] overflow-hidden",style:{clipPath:"polygon(0 0, 100% 0, 85% 100%, 0% 100%)"},children:[y.jsx("div",{className:`absolute inset-0 bg-gray-300 transition-opacity duration-500 ${m?"opacity-0":"opacity-100"}`,style:{filter:"blur(8px)"}}),y.jsx("div",{className:`absolute inset-0 transition-opacity duration-500 ${m?"opacity-100":"opacity-0"}`,style:{backgroundImage:"url('/images/contact/contactimage.jpg')",backgroundSize:"cover",backgroundPosition:"center",width:"100%",height:"100%"}}),y.jsx("div",{className:"absolute inset-0 bg-black/30"})]}),y.jsx("div",{className:"relative z-10 w-[600px] max-w-full bg-[#1E4BE9] rounded-lg shadow-2xl mt-20 mx-auto lg:ml-auto lg:mr-0",children:y.jsxs("div",{className:"p-10",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[y.jsx("div",{className:"w-8 h-3 bg-white/20 rounded-full"}),y.jsx("span",{className:"text-white/90 text-sm",children:u("contact.badge")})]}),y.jsx("h2",{className:"text-3xl font-bold text-white mb-10",children:u("contact.title")}),y.jsxs("form",{ref:i,onSubmit:b,className:"space-y-6",children:[y.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[y.jsx("input",{type:"text",name:"from_name",placeholder:u("contact.form.name"),className:"w-full px-5 py-4 bg-white rounded text-gray-900 placeholder-gray-500",required:!0}),y.jsx("input",{type:"email",name:"from_email",placeholder:u("contact.form.email"),className:"w-full px-5 py-4 bg-white rounded text-gray-900 placeholder-gray-500",required:!0})]}),y.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[y.jsx("input",{type:"text",name:"subject",placeholder:u("contact.form.subject"),className:"w-full px-5 py-4 bg-white rounded text-gray-900 placeholder-gray-500",required:!0}),y.jsx("input",{type:"tel",name:"phone",placeholder:u("contact.form.phone"),className:"w-full px-5 py-4 bg-white rounded text-gray-900 placeholder-gray-500",required:!0})]}),y.jsx("textarea",{name:"message",rows:6,placeholder:u("contact.form.message"),className:"w-full px-5 py-4 bg-white rounded text-gray-900 placeholder-gray-500 resize-none",required:!0}),y.jsx("button",{type:"submit",disabled:l,className:`w-full bg-black text-white font-semibold py-4 rounded hover:bg-black/90 transition-colors text-lg relative ${l?"opacity-75 cursor-not-allowed":""}`,children:l?y.jsxs("span",{className:"flex items-center justify-center",children:[y.jsxs("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[y.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),y.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),u("contact.form.submitting")]}):u("contact.form.submit")}),c==="success"&&y.jsx("div",{className:"mt-4 p-4 bg-green-100 text-green-700 rounded-lg",children:u("contact.form.success")}),c==="error"&&y.jsx("div",{className:"mt-4 p-4 bg-red-100 text-red-700 rounded-lg",children:u("contact.form.error")})]})]})})]}),y.jsxs("div",{className:"lg:pt-20 px-4 lg:px-0 max-w-2xl mx-auto lg:mx-0",children:[y.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[y.jsx("div",{className:"w-8 h-4 bg-primary rounded-full"}),y.jsx("span",{className:"text-primary font-medium",children:u("testimonials.badge")})]}),y.jsx("h2",{className:"text-3xl font-bold text-primary-dark mb-8",children:u("testimonials.title")}),y.jsxs("div",{className:"relative",children:[y.jsx("div",{className:"overflow-hidden",children:y.jsx("div",{className:"transition-transform duration-500 ease-in-out flex",style:{transform:`translateX(-${d*100}%)`},children:Ls.map((C,L)=>y.jsx("div",{className:"w-full flex-shrink-0",children:y.jsxs("div",{className:"bg-white rounded-lg p-8 shadow-lg mb-8",children:[y.jsxs("div",{className:"mb-6",children:[y.jsx("h3",{className:"font-semibold text-xl text-primary-dark",children:u(C.companyKey)}),y.jsx("div",{className:"flex items-center mt-2",children:y.jsxs("div",{children:[y.jsx("h4",{className:"font-semibold",children:u(C.authorKey)}),y.jsx("p",{className:"text-gray-600 text-sm",children:u(C.titleKey)})]})}),y.jsx("div",{className:"flex text-yellow-400 mt-2",children:[...Array(5)].map((H,M)=>y.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:y.jsx("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118l-2.8-2.034c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},M))})]}),y.jsxs("p",{className:"text-gray-600 italic",children:['"',u(C.textKey),'"']})]})},L))})}),y.jsxs("div",{className:"flex justify-center gap-4 mt-8",children:[y.jsx("button",{onClick:R,className:"w-10 h-10 rounded-full border border-primary/20 flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-colors",children:y.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),y.jsx("button",{onClick:w,className:"w-10 h-10 rounded-full bg-primary text-white flex items-center justify-center hover:bg-primary-light transition-colors",children:y.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:y.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]})]})]})]})})})},jy=()=>y.jsx("footer",{className:"bg-primary-dark text-white relative",children:y.jsxs("div",{className:"w-full",children:[y.jsxs("div",{className:"px-4 py-16 md:py-24",children:[y.jsxs("div",{className:"md:hidden max-w-6xl mx-auto",children:[y.jsxs("div",{className:"flex flex-col items-center text-center mb-10",children:[y.jsxs(cn,{to:"/",className:"relative flex items-center gap-4",children:[y.jsx("img",{src:"/images/logo/logo-footer-synwave.png",alt:"Synwave",className:"h-16 w-auto"}),y.jsx("span",{className:"text-white text-2xl font-semibold tracking-wide",children:"SYNWAVE"})]}),y.jsx("p",{className:"text-gray-300 mb-6",children:"YOUR PARTNER FOR AI SOLUTIONS"}),y.jsx("div",{className:"flex items-center space-x-6 mb-8",children:y.jsx("a",{href:"https://x.com/MrAI_Automation",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-primary transition-colors p-1","aria-label":"Volg ons op X (Twitter)",children:y.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"
76currentColor",children:y.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]}),y.jsxs("div",{className:"mb-10",children:[y.jsx("h3",{className:"text-lg font-semibold mb-4 text-center",children:"Quick Links"}),y.jsxs("ul",{className:"flex justify-center space-x-6",children:[y.jsx("li",{children:y.jsx("a",{href:"/",className:"text-gray-300 hover:text-white transition-colors",children:"Home"})}),y.jsx("li",{children:y.jsx("a",{href:"/demo",className:"text-gray-300 hover:text-white transition-colors",children:"Demo"})})]})]}),y.jsxs("div",{className:"space-y-4",children:[y.jsx("h3",{className:"text-lg font-semibold mb-4 text-center",children:"Contact Info"}),y.jsxs("div",{className:"flex flex-col items-center space-y-4",children:[y.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center hover:text-white transition-colors gap-2",children:[y.jsx(_o,{className:"h-5 w-5"}),y.jsx("span",{children:"[email protected]"})]}),y.jsxs("div",{className:"flex items-start gap-2 text-center",children:[y.jsx(Hh,{className:"h-5 w-5 mt-1 flex-shrink-0"}),y.jsxs("div",{children:["Frederik Ruyschstraat 67",y.jsx("br",{}),"2563 VW Den Haag, Netherlands"]})]})]})]})]}),y.jsx("div",{className:"hidden md:block w-full",children:y.jsxs("div",{className:"flex flex-wrap justify-between",children:[y.jsxs("div",{className:"w-full lg:w-1/3 mb-8 lg:mb-0 px-4 lg:px-8",children:[y.jsxs(cn,{to:"/",className:"relative flex items-center gap-4",children:[y.jsx("img",{src:"/images/logo/logo-footer-synwave.png",alt:"Synwave",className:"h-16 w-auto"}),y.jsx("span",{className:"text-white text-2xl font-semibold tracking-wide",children:"SYNWAVE"})]}),y.jsx("p",{className:"text-gray-300 mb-6",children:"YOUR PARTNER FOR AI SOLUTIONS"}),y.jsx("div",{className:"flex items-center space-x-4",children:y.jsx("a",{href:"https://x.com/MrAI_Automation",target:"_blank",rel:"noopener noreferrer",className:"text-white hover:text-primary transition-colors p-1","aria-label":"Volg ons op X (Twitter)",children:y.jsx("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",fill:"currentColor",children:y.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]}),y.jsx("div",{className:"w-full lg:w-1/3 mb-8 lg:mb-0 px-4 lg:px-8 flex justify-center",children:y.jsxs("div",{className:"text-center",children:[y.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Quick Links"}),y.jsxs("ul",{className:"space-y-2",children:[y.jsx("li",{children:y.jsx("a",{href:"/",className:"text-gray-300 hover:text-white transition-colors",children:"Home"})}),y.jsx("li",{children:y.jsx("a",{href:"/demo",className:"text-gray-300 hover:text-white transition-colors",children:"Demo"})})]})]})}),y.jsx("div",{className:"w-full lg:w-1/3 px-4 lg:px-8 flex justify-end",children:y.jsxs("div",{className:"text-right",children:[y.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Contact Info"}),y.jsxs("ul",{className:"space-y-3",children:[y.jsx("li",{children:y.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center justify-end hover:text-white transition-colors gap-2",children:[y.jsx("span",{children:"[email protected]"}),y.jsx(_o,{className:"h-5 w-5"})]})}),y.jsxs("li",{className:"flex items-start justify-end gap-2",children:[y.jsxs("div",{children:["Frederik Ruyschstraat 67",y.jsx("br",{}),"2563 VW Den Haag, Netherlands"]}),y.jsx(Hh,{className:"h-5 w-5 mt-1 flex-shrink-0"})]})]})]})})]})})]}),y.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 bottom-0 w-[600px] max-w-full pointer-events-none",children:y.jsx("img",{src:"/images/footer/footer-shadow-shape.png",alt:"",className:"w-full h-auto opacity-20 mix-blend-soft-light"})}),y.jsx("div",{className:"border-t border-white/10 py-4 text-center text-gray-300 text-sm relative",children:y.jsxs("p",{children:["© ",new Date().getFullYear()," Synwave.AI. All rights reserved."]})})]})}),Ty=()=>{const[u,i]=O.useState(!1),l=()=>{window.scrollY>300?i(!0):i(!1)};O.useEffect(()=>(window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l)),[]);const r=()=>{window.scrollTo({top:0,behavior:"smooth"})};return y.jsx("button",{className:`fixed bottom-8 right-8 bg-primary hover:bg-primary-light text-white w-14 h-14 roun
76ded-full shadow-lg flex items-center justify-center transition-all duration-300 z-50 group ${u?"opacity-100 translate-y-0":"opacity-0 translate-y-10 pointer-events-none"}`,onClick:r,"aria-label":"Scroll to top",children:y.jsx(Xp,{className:"w-7 h-7 group-hover:scale-110 transition-transform"})})},Ay="modulepreload",Oy=function(u){return"/"+u},$h={},ui=function(i,l,r){let c=Promise.resolve();if(l&&l.length>0){document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),v=(d==null?void 0:d.nonce)||(d==null?void 0:d.getAttribute("nonce"));c=Promise.allSettled(l.map(m=>{if(m=Oy(m),m in $h)return;$h[m]=!0;const g=m.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${b}`))return;const w=document.createElement("link");if(w.rel=g?"stylesheet":Ay,g||(w.as="script"),w.crossOrigin="",w.href=m,v&&w.setAttribute("nonce",v),document.head.appendChild(w),g)return new Promise((R,C)=>{w.addEventListener("load",R),w.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${m}`)))})}))}function f(d){const v=new Event("vite:preloadError",{cancelable:!0});if(v.payload=d,window.dispatchEvent(v),!v.defaultPrevented)throw d}return c.then(d=>{for(const v of d||[])v.status==="rejected"&&f(v.reason);return i().catch(f)})},Ry=u=>{let i;return u?i=u:typeof fetch>"u"?i=(...l)=>ui(async()=>{const{default:r}=await Promise.resolve().then(()=>di);return{default:r}},void 0).then(({default:r})=>r(...l)):i=fetch,(...l)=>i(...l)};class zo extends Error{constructor(i,l="FunctionsError",r){super(i),this.name=l,this.context=r}}class Ny extends zo{constructor(i){super("Failed to send a request to the Edge Function","FunctionsFetchError",i)}}class ky extends zo{constructor(i){super("Relay Error invoking the Edge Function","FunctionsRelayError",i)}}class Cy extends zo{constructor(i){super("Edge Function returned a non-2xx status code","FunctionsHttpError",i)}}var wo;(function(u){u.Any="any",u.ApNortheast1="ap-northeast-1",u.ApNortheast2="ap-northeast-2",u.ApSouth1="ap-south-1",u.ApSoutheast1="ap-southeast-1",u.ApSoutheast2="ap-southeast-2",u.CaCentral1="ca-central-1",u.EuCentral1="eu-central-1",u.EuWest1="eu-west-1",u.EuWest2="eu-west-2",u.EuWest3="eu-west-3",u.SaEast1="sa-east-1",u.UsEast1="us-east-1",u.UsWest1="us-west-1",u.UsWest2="us-west-2"})(wo||(wo={}));var zy=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};class Dy{constructor(i,{headers:l={},customFetch:r,region:c=wo.Any}={}){this.url=i,this.headers=l,this.region=c,this.fetch=Ry(r)}setAuth(i){this.headers.Authorization=`Bearer ${i}`}invoke(i,l={}){var r;return zy(this,void 0,void 0,function*(){try{const{headers:c,method:f,body:d}=l;let v={},{region:m}=l;m||(m=this.region),m&&m!=="any"&&(v["x-region"]=m);let g;d&&(c&&!Object.prototype.hasOwnProperty.call(c,"Content-Type")||!c)&&(typeof Blob<"u"&&d instanceof Blob||d instanceof ArrayBuffer?(v["Content-Type"]="application/octet-stream",g=d):typeof d=="string"?(v["Content-Type"]="text/plain",g=d):typeof FormData<"u"&&d instanceof FormData?g=d:(v["Content-Type"]="application/json",g=JSON.stringify(d)));const b=yield this.fetch(`${this.url}/${i}`,{method:f||"POST",headers:Object.assign(Object.assign(Object.assign({},v),this.headers),c),body:g}).catch(L=>{throw new Ny(L)}),w=b.headers.get("x-relay-error");if(w&&w==="true")throw new ky(b);if(!b.ok)throw new Cy(b);let R=((r=b.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),C;return R==="application/json"?C=yield b.json():R==="application/octet-stream"?C=yield b.blob():R==="text/event-stream"?C=b:R==="multipart/form-data"?C=yield b.formData():C=yield b.text(),{data:C,error:null}}catch(c){return{data:null,error:c}}})}}var Ge={},Fn={},In={},ei={},ti={},ai={},Uy=function(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")},oi=Uy();const My=oi.fetch,zm=oi.fetch.bind(oi),Dm=oi.Headers,Ly=oi.Request,By=oi.Response,di=Object.freeze(Object.defineProperty({__proto__:null,Headers:Dm,Request:Ly,Response:By,default:zm,fetch:My},Symbol.toStringTag,{value:"Module"})),Hy=_0(di);var Bs={},Yh;
76function Um(){if(Yh)return Bs;Yh=1,Object.defineProperty(Bs,"__esModule",{value:!0});class u extends Error{constructor(l){super(l.message),this.name="PostgrestError",this.details=l.details,this.hint=l.hint,this.code=l.code}}return Bs.default=u,Bs}var Vh;function Mm(){if(Vh)return ai;Vh=1;var u=ai&&ai.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(ai,"__esModule",{value:!0});const i=u(Hy),l=u(Um());class r{constructor(f){this.shouldThrowOnError=!1,this.method=f.method,this.url=f.url,this.headers=f.headers,this.schema=f.schema,this.body=f.body,this.shouldThrowOnError=f.shouldThrowOnError,this.signal=f.signal,this.isMaybeSingle=f.isMaybeSingle,f.fetch?this.fetch=f.fetch:typeof fetch>"u"?this.fetch=i.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(f,d){return this.headers=Object.assign({},this.headers),this.headers[f]=d,this}then(f,d){this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),this.method!=="GET"&&this.method!=="HEAD"&&(this.headers["Content-Type"]="application/json");const v=this.fetch;let m=v(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async g=>{var b,w,R;let C=null,L=null,H=null,M=g.status,Y=g.statusText;if(g.ok){if(this.method!=="HEAD"){const K=await g.text();K===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?L=K:L=JSON.parse(K))}const W=(b=this.headers.Prefer)===null||b===void 0?void 0:b.match(/count=(exact|planned|estimated)/),re=(w=g.headers.get("content-range"))===null||w===void 0?void 0:w.split("/");W&&re&&re.length>1&&(H=parseInt(re[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(L)&&(L.length>1?(C={code:"PGRST116",details:`Results contain ${L.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},L=null,H=null,M=406,Y="Not Acceptable"):L.length===1?L=L[0]:L=null)}else{const W=await g.text();try{C=JSON.parse(W),Array.isArray(C)&&g.status===404&&(L=[],C=null,M=200,Y="OK")}catch{g.status===404&&W===""?(M=204,Y="No Content"):C={message:W}}if(C&&this.isMaybeSingle&&(!((R=C==null?void 0:C.details)===null||R===void 0)&&R.includes("0 rows"))&&(C=null,M=200,Y="OK"),C&&this.shouldThrowOnError)throw new l.default(C)}return{error:C,data:L,count:H,status:M,statusText:Y}});return this.shouldThrowOnError||(m=m.catch(g=>{var b,w,R;return{error:{message:`${(b=g==null?void 0:g.name)!==null&&b!==void 0?b:"FetchError"}: ${g==null?void 0:g.message}`,details:`${(w=g==null?void 0:g.stack)!==null&&w!==void 0?w:""}`,hint:"",code:`${(R=g==null?void 0:g.code)!==null&&R!==void 0?R:""}`},data:null,count:null,status:0,statusText:""}})),m.then(f,d)}returns(){return this}overrideTypes(){return this}}return ai.default=r,ai}var Kh;
76function Lm(){if(Kh)return ti;Kh=1;var u=ti&&ti.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ti,"__esModule",{value:!0});const i=u(Mm());class l extends i.default{select(c){let f=!1;const d=(c??"*").split("").map(v=>/\s/.test(v)&&!f?"":(v==='"'&&(f=!f),v)).join("");return this.url.searchParams.set("select",d),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(c,{ascending:f=!0,nullsFirst:d,foreignTable:v,referencedTable:m=v}={}){const g=m?`${m}.order`:"order",b=this.url.searchParams.get(g);return this.url.searchParams.set(g,`${b?`${b},`:""}${c}.${f?"asc":"desc"}${d===void 0?"":d?".nullsfirst":".nullslast"}`),this}limit(c,{foreignTable:f,referencedTable:d=f}={}){const v=typeof d>"u"?"limit":`${d}.limit`;return this.url.searchParams.set(v,`${c}`),this}range(c,f,{foreignTable:d,referencedTable:v=d}={}){const m=typeof v>"u"?"offset":`${v}.offset`,g=typeof v>"u"?"limit":`${v}.limit`;return this.url.searchParams.set(m,`${c}`),this.url.searchParams.set(g,`${f-c+1}`),this}abortSignal(c){return this.signal=c,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return this.method==="GET"?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain({analyze:c=!1,verbose:f=!1,settings:d=!1,buffers:v=!1,wal:m=!1,format:g="text"}={}){var b;const w=[c?"analyze":null,f?"verbose":null,d?"settings":null,v?"buffers":null,m?"wal":null].filter(Boolean).join("|"),R=(b=this.headers.Accept)!==null&&b!==void 0?b:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${g}; for="${R}"; options=${w};`,g==="json"?this:this}rollback(){var c;return((c=this.headers.Prefer)!==null&&c!==void 0?c:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}return ti.default=l,ti}var Qh;function Do(){if(Qh)return ei;Qh=1;var u=ei&&ei.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ei,"__esModule",{value:!0});const i=u(Lm());class l extends i.default{eq(c,f){return this.url.searchParams.append(c,`eq.${f}`),this}neq(c,f){return this.url.searchParams.append(c,`neq.${f}`),this}gt(c,f){return this.url.searchParams.append(c,`gt.${f}`),this}gte(c,f){return this.url.searchParams.append(c,`gte.${f}`),this}lt(c,f){return this.url.searchParams.append(c,`lt.${f}`),this}lte(c,f){return this.url.searchParams.append(c,`lte.${f}`),this}like(c,f){return this.url.searchParams.append(c,`like.${f}`),this}likeAllOf(c,f){return this.url.searchParams.append(c,`like(all).{${f.join(",")}}`),this}likeAnyOf(c,f){return this.url.searchParams.append(c,`like(any).{${f.join(",")}}`),this}ilike(c,f){return this.url.searchParams.append(c,`ilike.${f}`),this}ilikeAllOf(c,f){return this.url.searchParams.append(c,`ilike(all).{${f.join(",")}}`),this}ilikeAnyOf(c,f){return this.url.searchParams.append(c,`ilike(any).{${f.join(",")}}`),this}is(c,f){return this.url.searchParams.append(c,`is.${f}`),this}in(c,f){const d=Array.from(new Set(f)).map(v=>typeof v=="string"&&new RegExp("[,()]").test(v)?`"${v}"`:`${v}`).join(",");return this.url.searchParams.append(c,`in.(${d})`),this}contains(c,f){return typeof f=="string"?this.url.searchParams.append(c,`cs.${f}`):Array.isArray(f)?this.url.searchParams.append(c,`cs.{${f.join(",")}}`):this.url.searchParams.append(c,`cs.${JSON.stringify(f)}`),this}containedBy(c,f){return typeof f=="string"?this.url.searchParams.append(c,`cd.${f}`):Array.isArray(f)?this.url.searchParams.append(c,`cd.{${f.join(",")}}`):this.url.searchParams.append(c,`cd.${JSON.stringify(f)}`),this}rangeGt(c,f){return this.url.searchParams.append(c,`sr.${f}`),this}rangeGte(c,f){return this.url.searchParams.append(c,`nxl.${f}`),this}rangeLt(c,f){return this.url.searchParams.append(c,`sl.${f}`),this}rangeLte(c,f){return this.url.searchParams.append(c,`nxr.${f}`),this}rangeAdjacent(c,f){return this.url.searchParams.append(c,`adj.${f}`),this}overlaps(c,f){return typeof f=="string"?this.url.searchParams.append(c,`ov.${f}`):this.url.searchParams.append(c,`ov.{${f.join(",")}}`),this}textSearch(c,f,{config:d,type:v}={}){let m="";v==="plain"?m="pl":v==="phrase"?m="ph":v==="websearch"&&(m="w");const g=d===void 0?"":`(${d})`;return this.url.searchParams.append(c,`${m}fts${g}.${f}`),this}
76match(c){return Object.entries(c).forEach(([f,d])=>{this.url.searchParams.append(f,`eq.${d}`)}),this}not(c,f,d){return this.url.searchParams.append(c,`not.${f}.${d}`),this}or(c,{foreignTable:f,referencedTable:d=f}={}){const v=d?`${d}.or`:"or";return this.url.searchParams.append(v,`(${c})`),this}filter(c,f,d){return this.url.searchParams.append(c,`${f}.${d}`),this}}return ei.default=l,ei}var Xh;function Bm(){if(Xh)return In;Xh=1;var u=In&&In.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(In,"__esModule",{value:!0});const i=u(Do());class l{constructor(c,{headers:f={},schema:d,fetch:v}){this.url=c,this.headers=f,this.schema=d,this.fetch=v}select(c,{head:f=!1,count:d}={}){const v=f?"HEAD":"GET";let m=!1;const g=(c??"*").split("").map(b=>/\s/.test(b)&&!m?"":(b==='"'&&(m=!m),b)).join("");return this.url.searchParams.set("select",g),d&&(this.headers.Prefer=`count=${d}`),new i.default({method:v,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(c,{count:f,defaultToNull:d=!0}={}){const v="POST",m=[];if(this.headers.Prefer&&m.push(this.headers.Prefer),f&&m.push(`count=${f}`),d||m.push("missing=default"),this.headers.Prefer=m.join(","),Array.isArray(c)){const g=c.reduce((b,w)=>b.concat(Object.keys(w)),[]);if(g.length>0){const b=[...new Set(g)].map(w=>`"${w}"`);this.url.searchParams.set("columns",b.join(","))}}return new i.default({method:v,url:this.url,headers:this.headers,schema:this.schema,body:c,fetch:this.fetch,allowEmpty:!1})}upsert(c,{onConflict:f,ignoreDuplicates:d=!1,count:v,defaultToNull:m=!0}={}){const g="POST",b=[`resolution=${d?"ignore":"merge"}-duplicates`];if(f!==void 0&&this.url.searchParams.set("on_conflict",f),this.headers.Prefer&&b.push(this.headers.Prefer),v&&b.push(`count=${v}`),m||b.push("missing=default"),this.headers.Prefer=b.join(","),Array.isArray(c)){const w=c.reduce((R,C)=>R.concat(Object.keys(C)),[]);if(w.length>0){const R=[...new Set(w)].map(C=>`"${C}"`);this.url.searchParams.set("columns",R.join(","))}}return new i.default({method:g,url:this.url,headers:this.headers,schema:this.schema,body:c,fetch:this.fetch,allowEmpty:!1})}update(c,{count:f}={}){const d="PATCH",v=[];return this.headers.Prefer&&v.push(this.headers.Prefer),f&&v.push(`count=${f}`),this.headers.Prefer=v.join(","),new i.default({method:d,url:this.url,headers:this.headers,schema:this.schema,body:c,fetch:this.fetch,allowEmpty:!1})}delete({count:c}={}){const f="DELETE",d=[];return c&&d.push(`count=${c}`),this.headers.Prefer&&d.unshift(this.headers.Prefer),this.headers.Prefer=d.join(","),new i.default({method:f,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}return In.default=l,In}var dl={},hl={},Zh;function qy(){return Zh||(Zh=1,Object.defineProperty(hl,"__esModule",{value:!0}),hl.version=void 0,hl.version="0.0.0-automated"),hl}var Jh;function Gy(){if(Jh)return dl;Jh=1,Object.defineProperty(dl,"__esModule",{value:!0}),dl.DEFAULT_HEADERS=void 0;const u=qy();return dl.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${u.version}`},dl}var Ph;function $y(){if(Ph)return Fn;Ph=1;var u=Fn&&Fn.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(Fn,"__esModule",{value:!0});const i=u(Bm()),l=u(Do()),r=Gy();class c{constructor(d,{headers:v={},schema:m,fetch:g}={}){this.url=d,this.headers=Object.assign(Object.assign({},r.DEFAULT_HEADERS),v),this.schemaName=m,this.fetch=g}from(d){const v=new URL(`${this.url}/${d}`);return new i.default(v,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(d){return new c(this.url,{headers:this.headers,schema:d,fetch:this.fetch})}rpc(d,v={},{head:m=!1,get:g=!1,count:b}={}){let w;const R=new URL(`${this.url}/rpc/${d}`);let C;m||g?(w=m?"HEAD":"GET",Object.entries(v).filter(([H,M])=>M!==void 0).map(([H,M])=>[H,Array.isArray(M)?`{${M.join(",")}}`:`${M}`]).forEach(([H,M])=>{R.searchParams.append(H,M)})):(w="POST",C=v);const L=Object.assign({},this.headers);return b&&(L.Prefer=`count=${b}`),new l.default({method:w,url:R,headers:L,schema:this.schemaName,body:C,fetch:this.fetch,allowEmpty:!1})}}return Fn.default=c,Fn}var Wh;function Yy(){if(Wh)return Ge;Wh=1;
76var u=Ge&&Ge.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(Ge,"__esModule",{value:!0}),Ge.PostgrestError=Ge.PostgrestBuilder=Ge.PostgrestTransformBuilder=Ge.PostgrestFilterBuilder=Ge.PostgrestQueryBuilder=Ge.PostgrestClient=void 0;const i=u($y());Ge.PostgrestClient=i.default;const l=u(Bm());Ge.PostgrestQueryBuilder=l.default;const r=u(Do());Ge.PostgrestFilterBuilder=r.default;const c=u(Lm());Ge.PostgrestTransformBuilder=c.default;const f=u(Mm());Ge.PostgrestBuilder=f.default;const d=u(Um());return Ge.PostgrestError=d.default,Ge.default={PostgrestClient:i.default,PostgrestQueryBuilder:l.default,PostgrestFilterBuilder:r.default,PostgrestTransformBuilder:c.default,PostgrestBuilder:f.default,PostgrestError:d.default},Ge}var Vy=Yy();const Ky=cm(Vy),{PostgrestClient:Qy,PostgrestQueryBuilder:R1,PostgrestFilterBuilder:N1,PostgrestTransformBuilder:k1,PostgrestBuilder:C1,PostgrestError:z1}=Ky,Xy="2.11.2",Zy={"X-Client-Info":`realtime-js/${Xy}`},Jy="1.0.0",Hm=1e4,Py=1e3;var ri;(function(u){u[u.connecting=0]="connecting",u[u.open=1]="open",u[u.closing=2]="closing",u[u.closed=3]="closed"})(ri||(ri={}));var dt;(function(u){u.closed="closed",u.errored="errored",u.joined="joined",u.joining="joining",u.leaving="leaving"})(dt||(dt={}));var Nt;(function(u){u.close="phx_close",u.error="phx_error",u.join="phx_join",u.reply="phx_reply",u.leave="phx_leave",u.access_token="access_token"})(Nt||(Nt={}));var xo;(function(u){u.websocket="websocket"})(xo||(xo={}));var on;(function(u){u.Connecting="connecting",u.Open="open",u.Closing="closing",u.Closed="closed"})(on||(on={}));class Wy{constructor(){this.HEADER_LENGTH=1}decode(i,l){return i.constructor===ArrayBuffer?l(this._binaryDecode(i)):l(typeof i=="string"?JSON.parse(i):{})}_binaryDecode(i){const l=new DataView(i),r=new TextDecoder;return this._decodeBroadcast(i,l,r)}_decodeBroadcast(i,l,r){const c=l.getUint8(1),f=l.getUint8(2);let d=this.HEADER_LENGTH+2;const v=r.decode(i.slice(d,d+c));d=d+c;const m=r.decode(i.slice(d,d+f));d=d+f;const g=JSON.parse(r.decode(i.slice(d,i.byteLength)));return{ref:null,topic:v,event:m,payload:g}}}class qm{constructor(i,l){this.callback=i,this.timerCalc=l,this.timer=void 0,this.tries=0,this.callback=i,this.timerCalc=l}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var xe;(function(u){u.abstime="abstime",u.bool="bool",u.date="date",u.daterange="daterange",u.float4="float4",u.float8="float8",u.int2="int2",u.int4="int4",u.int4range="int4range",u.int8="int8",u.int8range="int8range",u.json="json",u.jsonb="jsonb",u.money="money",u.numeric="numeric",u.oid="oid",u.reltime="reltime",u.text="text",u.time="time",u.timestamp="timestamp",u.timestamptz="timestamptz",u.timetz="timetz",u.tsrange="tsrange",u.tstzrange="tstzrange"})(xe||(xe={}));const Fh=(u,i,l={})=>{var r;const c=(r=l.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(i).reduce((f,d)=>(f[d]=Fy(d,u,i,c),f),{})},Fy=(u,i,l,r)=>{const c=i.find(v=>v.name===u),f=c==null?void 0:c.type,d=l[u];return f&&!r.includes(f)?Gm(f,d):So(d)},Gm=(u,i)=>{if(u.charAt(0)==="_"){const l=u.slice(1,u.length);return ab(i,l)}switch(u){case xe.bool:return Iy(i);case xe.float4:case xe.float8:case xe.int2:case xe.int4:case xe.int8:case xe.numeric:case xe.oid:return eb(i);case xe.json:case xe.jsonb:return tb(i);case xe.timestamp:return nb(i);case xe.abstime:case xe.date:case xe.daterange:case xe.int4range:case xe.int8range:case xe.money:case xe.reltime:case xe.text:case xe.time:case xe.timestamptz:case xe.timetz:case xe.tsrange:case xe.tstzrange:return So(i);default:return So(i)}},So=u=>u,Iy=u=>{switch(u){case"t":return!0;case"f":return!1;default:return u}},eb=u=>{if(typeof u=="string"){const i=parseFloat(u);if(!Number.isNaN(i))return i}return u},tb=u=>{if(typeof u=="string")try{return JSON.parse(u)}catch(i){return console.log(`JSON parse error: ${i}`),u}return u},ab=(u,i)=>{if(typeof u!="string")return u;const l=u.length-1,r=u[l];if(u[0]==="{"&&r==="}"){let f;const d=u.slice(1,l);try{f=JSON.parse("["+d+"]")}catch{f=d?d.split(","):[]}return f.map(v=>Gm(i,v))}return u},nb=u=>typeof u=="string"?u.replace(" ","T"):u,$m=u=>{let i=u;return i=i.replace(/^ws/i,"http"),i=i.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),i.replace(/\/+$/,"")};class co{constructor(i,l,r={},c=Hm){this.channel=i,this.event=l,this.payload=r,this.timeout=c,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHo
vendor: 12,799 bytes, lines 76-81
76oks=[],this.refEvent=null}resend(i){this.timeout=i,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(i){this.payload=Object.assign(Object.assign({},this.payload),i)}receive(i,l){var r;return this._hasReceived(i)&&l((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:i,callback:l}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const i=l=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=l,this._matchReceive(l)};this.channel._on(this.refEvent,{},i),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(i,l){this.refEvent&&this.channel._trigger(this.refEvent,{status:i,response:l})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:i,response:l}){this.recHooks.filter(r=>r.status===i).forEach(r=>r.callback(l))}_hasReceived(i){return this.receivedResp&&this.receivedResp.status===i}}var Ih;(function(u){u.SYNC="sync",u.JOIN="join",u.LEAVE="leave"})(Ih||(Ih={}));class vl{constructor(i,l){this.channel=i,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(l==null?void 0:l.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},c=>{const{onJoin:f,onLeave:d,onSync:v}=this.caller;this.joinRef=this.channel._joinRef(),this.state=vl.syncState(this.state,c,f,d),this.pendingDiffs.forEach(m=>{this.state=vl.syncDiff(this.state,m,f,d)}),this.pendingDiffs=[],v()}),this.channel._on(r.diff,{},c=>{const{onJoin:f,onLeave:d,onSync:v}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(c):(this.state=vl.syncDiff(this.state,c,f,d),v())}),this.onJoin((c,f,d)=>{this.channel._trigger("presence",{event:"join",key:c,currentPresences:f,newPresences:d})}),this.onLeave((c,f,d)=>{this.channel._trigger("presence",{event:"leave",key:c,currentPresences:f,leftPresences:d})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(i,l,r,c){const f=this.cloneDeep(i),d=this.transformState(l),v={},m={};return this.map(f,(g,b)=>{d[g]||(m[g]=b)}),this.map(d,(g,b)=>{const w=f[g];if(w){const R=b.map(M=>M.presence_ref),C=w.map(M=>M.presence_ref),L=b.filter(M=>C.indexOf(M.presence_ref)<0),H=w.filter(M=>R.indexOf(M.presence_ref)<0);L.length>0&&(v[g]=L),H.length>0&&(m[g]=H)}else v[g]=b}),this.syncDiff(f,{joins:v,leaves:m},r,c)}static syncDiff(i,l,r,c){const{joins:f,leaves:d}={joins:this.transformState(l.joins),leaves:this.transformState(l.leaves)};return r||(r=()=>{}),c||(c=()=>{}),this.map(f,(v,m)=>{var g;const b=(g=i[v])!==null&&g!==void 0?g:[];if(i[v]=this.cloneDeep(m),b.length>0){const w=i[v].map(C=>C.presence_ref),R=b.filter(C=>w.indexOf(C.presence_ref)<0);i[v].unshift(...R)}r(v,b,m)}),this.map(d,(v,m)=>{let g=i[v];if(!g)return;const b=m.map(w=>w.presence_ref);g=g.filter(w=>b.indexOf(w.presence_ref)<0),i[v]=g,c(v,g,m),g.length===0&&delete i[v]}),i}static map(i,l){return Object.getOwnPropertyNames(i).map(r=>l(r,i[r]))}static transformState(i){return i=this.cloneDeep(i),Object.getOwnPropertyNames(i).reduce((l,r)=>{const c=i[r];return"metas"in c?l[r]=c.metas.map(f=>(f.presence_ref=f.phx_ref,delete f.phx_ref,delete f.phx_ref_prev,f)):l[r]=c,l},{})}static cloneDeep(i){return JSON.parse(JSON.stringify(i))}onJoin(i){this.caller.onJoin=i}onLeave(i){this.caller.onLeave=i}onSync(i){this.caller.onSync=i}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var em;(function(u){u.ALL="*",u.INSERT="INSERT",u.UPDATE="UPDATE",u.DELETE="DELETE"})(em||(em={}));var tm;(function(u){u.BROADCAST="broadcast",u.PRESENCE="presence",u.POSTGRES_CHANGES="postgres_changes",u.SYSTEM="system"})(tm||(tm={}));var la;(function(u){u.SUBSCRIBED="SUBSCRIBED",u.TIMED_OUT="TIMED_OUT",u.CLOSED="CLOSED",u.CHANNEL_ERROR="CHANNEL_ERROR"})(la||(la={}));class Uo{constructor(i,l={config:{}},r){this.topic=i,this.params=l,this.socket=r,this.bindings={},this.state=dt.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=i.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""},private:!1},l.config),this.timeout=this.socket.timeout,this.joinPush=new co(this,Nt.join,this.params,this.timeout),this.rejoinTimer=new qm(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=dt.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(c=>c.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=dt.closed,this.socket._remove(this)}),this._onError(c=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,c),this.state=dt.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=dt.errored,this.rejoinTimer.scheduleTimeout())}),this._on(Nt.reply,{},(c,f)=>{this._trigger(this._replyEventName(f),c)}),this.presence=new vl(this),this.broadcastEndpointURL=$m(this.socket.endPoint)+"/api/broadcast",this.private=this.params.config.private||!1}subscribe(i,l=this.timeout){var r,c;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:f,presence:d,private:v}}=this.params;this._onError(b=>i==null?void 0:i(la.CHANNEL_ERROR,b)),this._onClose(()=>i==null?void 0:i(la.CLOSED));const m={},g={broadcast:f,presence:d,postgres_changes:(c=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(b=>b.filter))!==null&&c!==void 0?c:[],private:v};this.socket.accessTokenValue&&(m.access_token=this.socket.accessTokenValue),this.updateJoinPayload(Object.assign({config:g},m)),this.joinedOnce=!0,this._rejoin(l),this.joinPush.receive("ok",async({postgres_changes:b})=>{var w;if(this.socket.setAuth(),b===void 0){i==null||i(la.SUBSCRIBED);return}else{const R=this.bindings.postgres_changes,C=(w=R==null?void 0:R.length)!==null&&w!==void 0?w:0,L=[];for(let H=0;H<C;H++){const M=R[H],{filter:{event:Y,schema:I,table:W,filter:re}}=M,K=b&&b[H];if(K&&K.event===Y&&K.schema===I&&K.table===W&&K.filter===re)L.push(Object.assign(Object.assign({},M),{id:K.id}));else{this.unsubscribe(),i==null||i(la.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=L,i&&i(la.SUBSCRIBED);return}}).receive("error",b=>{i==null||i(la.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(b).join(", ")||"error")))}).receive("timeout",()=>{i==null||i(la.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(i,l={}){return await this.send({type:"presence",event:"track",payload:i},l.timeout||this.timeout)}async untrack(i={}){return await this.send({type:"presence",event:"untrack"},i)}on(i,l,r){return this._on(i,l,r)}async send(i,l={}){var r,c;if(!this._canPush()&&i.type==="broadcast"){const{event:f,payload:d}=i,m={method:"POST",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:"",apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:f,payload:d,private:this.private}]})};try{const g=await this._fetchWithTimeout(this.broadcastEndpointURL,m,(r=l.timeout)!==null&&r!==void 0?r:this.timeout);return await((c=g.body)===null||c===void 0?void 0:c.cancel()),g.ok?"ok":"error"}catch(g){return g.name==="AbortError"?"timed out":"error"}}else return new Promise(f=>{var d,v,m;const g=this._push(i.type,i,l.timeout||this.timeout);i.type==="broadcast"&&!(!((m=(v=(d=this.params)===null||d===void 0?void 0:d.config)===null||v===void 0?void 0:v.broadcast)===null||m===void 0)&&m.ack)&&f("ok"),g.receive("ok",()=>f("ok")),g.receive("error",()=>f("error")),g.receive("timeout",()=>f("timed out"))})}updateJoinPayload(i){this.joinPush.updatePayload(i)}unsubscribe(i=this.timeout){this.state=dt.leaving;const l=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(Nt.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise(r=>{const c=new co(this,Nt.leave,{},i);c.receive("ok",()=>{l(),r("ok")}).receive("timeout",()=>{l(),r("timed out")}).receive("error",()=>{r("error")}),c.send(),this._canPush()||c.trigger("ok",{})})}async _fetchWithTimeout(i,l,r){const c=new AbortController,f=setTimeout(()=>c.abort(),r),d=await this.socket.fetch(i,Object.assign(Object.assign({},l),{signal:c.signal}));return clearTimeout(f),d}_push(i,l,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${i}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let c=new co(this,i,l,r);return this._canPush()?c.send():(c.startTimeout(),this.pushBuffer.push(c)),c}_onMessage(i,l,r){return l}_isMember(i){return this.topic===i}_joinRef(){return this.joinPush.ref}_trigger(i,l,r){var c,f;const d=i.toLocaleLowerCase(),{close:v,error:m,leave:g,join:b}=Nt;if(r&&[v,m,g,b].indexOf(d)>=0&&r!==this._joinRef())return;let R=this._onMessage(d,l,r);if(l&&!R)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(d)?(c=this.bindings.postgres_changes)===null||c===void 0||c.filter(C=>{var L,H,M;return((L=C.filter)===null||L===void 0?void 0:L.event)==="*"||((M=(H=C.filter)===null||H===void 0?void 0:H.event)===null||M===void 0?void 0:M.toLocaleLowerCase())===d}).map(C=>C.callback(R,r)):(f=this.bindings[d])===null||f===void 0||f.filter(C=>{var L,H,M,Y,I,W;if(["broadcast","presence","postgres_changes"].includes(d))if("id"in C){const re=C.id,K=(L=C.filter)===null||L===void 0?void 0:L.event;return re&&((H=l.ids)===null||H===void 0?void 0:H.includes(re))&&(K==="*"||(K==null?void 0:K.toLocaleLowerCase())===((M=l.data)===null||M===void 0?void 0:M.type.toLocaleLowerCase()))}else{const re=(I=(Y=C==null?void 0:C.filter)===null||Y===void 0?void 0:Y.event)===null||I===void 0?void 0:I.toLocaleLowerCase();return re==="*"||re===((W=l==null?void 0:l.event)===null||W===void 0?void 0:W.toLocaleLowerCase())}else return C.type.toLocaleLowerCase()===d}).map(C=>{if(typeof R=="object"&&"ids"in R){const L=R.data,{schema:H,table:M,commit_timestamp:Y,type:I,errors:W}=L;R=Object.assign(Object.assign({},{schema:H,table:M,commit_timestamp:Y,eventType:I,new:{},old:{},errors:W}),this._getPayloadRecords(L))}C.callback(R,r)})}_isClosed(){return this.state===dt.closed}_isJoined(){return this.state===dt.joined}_isJoining(){return this.state===dt.joining}_isLeaving(){return this.state===dt.leaving}_replyEventName(i){return`chan_reply_${i}`}_on(i,l,r){const c=i.toLocaleLowerCase(),f={type:c,filter:l,callback:r};return this.bindings[c]?this.bindings[c].push(f):this.bindings[c]=[f],this}_off(i,l){const r=i.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(c=>{var f;return!(((f=c.type)===null||f===void 0?void 0:f.toLocaleLowerCase())===r&&Uo.isEqual(c.filter,l))}),this}static isEqual(i,l){if(Object.keys(i).length!==Object.keys(l).length)return!1;for(const r in i)if(i[r]!==l[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(i){this._on(Nt.close,{},i)}_onError(i){this._on(Nt.error,{},l=>i(l))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(i=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=dt.joining,this.joinPush.resend(i))}_getPayloadRecords(i){const l={new:{},old:{}};return(i.type==="INSERT"||i.type==="UPDATE")&&(l.new=Fh(i.columns,i.record)),(i.type==="UPDATE"||i.type==="DELETE")&&(l.old=Fh(i.columns,i.old_record)),l}}const ib=()=>{},lb=typeof WebSocket<"u",sb=` 77 addEventListener("message", (e) => { 78 if (e.data.event === "start") { 79 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 80 } 81 });`;class rb{constructor(i,l){var r;this.accessTokenValue=null,this.apiKey=null,this.channels=[],this.endPoint="",this.httpEndpoint="",this.headers=Zy,this.params={},this.timeout=Hm,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=ib,this.conn=null,this.sendBuffer=[],this.serializer
81=new Wy,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._resolveFetch=f=>{let d;return f?d=f:typeof fetch>"u"?d=(...v)=>ui(async()=>{const{default:m}=await Promise.resolve().then(()=>di);return{default:m}},void 0).then(({default:m})=>m(...v)):d=fetch,(...v)=>d(...v)},this.endPoint=`${i}/${xo.websocket}`,this.httpEndpoint=$m(i),l!=null&&l.transport?this.transport=l.transport:this.transport=null,l!=null&&l.params&&(this.params=l.params),l!=null&&l.headers&&(this.headers=Object.assign(Object.assign({},this.headers),l.headers)),l!=null&&l.timeout&&(this.timeout=l.timeout),l!=null&&l.logger&&(this.logger=l.logger),l!=null&&l.heartbeatIntervalMs&&(this.heartbeatIntervalMs=l.heartbeatIntervalMs);const c=(r=l==null?void 0:l.params)===null||r===void 0?void 0:r.apikey;if(c&&(this.accessTokenValue=c,this.apiKey=c),this.reconnectAfterMs=l!=null&&l.reconnectAfterMs?l.reconnectAfterMs:f=>[1e3,2e3,5e3,1e4][f-1]||1e4,this.encode=l!=null&&l.encode?l.encode:(f,d)=>d(JSON.stringify(f)),this.decode=l!=null&&l.decode?l.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new qm(async()=>{this.disconnect(),this.connect()},this.reconnectAfterMs),this.fetch=this._resolveFetch(l==null?void 0:l.fetch),l!=null&&l.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.worker=(l==null?void 0:l.worker)||!1,this.workerUrl=l==null?void 0:l.workerUrl}this.accessToken=(l==null?void 0:l.accessToken)||null}connect(){if(!this.conn){if(this.transport){this.conn=new this.transport(this.endpointURL(),void 0,{headers:this.headers});return}if(lb){this.conn=new WebSocket(this.endpointURL()),this.setupConnection();return}this.conn=new ub(this.endpointURL(),void 0,{close:()=>{this.conn=null}}),ui(async()=>{const{default:i}=await import("./browser-gzdJvrWl.js").then(l=>l.b);return{default:i}},[]).then(({default:i})=>{this.conn=new i(this.endpointURL(),void 0,{headers:this.headers}),this.setupConnection()})}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:Jy}))}disconnect(i,l){this.conn&&(this.conn.onclose=function(){},i?this.conn.close(i,l??""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(i){const l=await i.unsubscribe();return this.channels.length===0&&this.disconnect(),l}async removeAllChannels(){const i=await Promise.all(this.channels.map(l=>l.unsubscribe()));return this.disconnect(),i}log(i,l,r){this.logger(i,l,r)}connectionState(){switch(this.conn&&this.conn.readyState){case ri.connecting:return on.Connecting;case ri.open:return on.Open;case ri.closing:return on.Closing;default:return on.Closed}}isConnected(){return this.connectionState()===on.Open}channel(i,l={config:{}}){const r=new Uo(`realtime:${i}`,l,this);return this.channels.push(r),r}push(i){const{topic:l,event:r,payload:c,ref:f}=i,d=()=>{this.encode(i,v=>{var m;(m=this.conn)===null||m===void 0||m.send(v)})};this.log("push",`${l} ${r} (${f})`,c),this.isConnected()?d():this.sendBuffer.push(d)}async setAuth(i=null){let l=i||this.accessToken&&await this.accessToken()||this.accessTokenValue;if(l){let r=null;try{r=JSON.parse(atob(l.split(".")[1]))}catch{}if(r&&r.exp&&!(Math.floor(Date.now()/1e3)-r.exp<0))return this.log("auth",`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${r.exp}`),Promise.reject(`InvalidJWTToken: Invalid value for JWT claim "exp" with value ${r.exp}`);this.accessTokenValue=l,this.channels.forEach(c=>{l&&c.updateJoinPayload({access_token:l}),c.joinedOnce&&c._isJoined()&&c._push(Nt.access_token,{access_token:l})})}}async sendHeartbeat(){var i;if(this.isConnected()){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),(i=this.conn)===null||i===void 0||i.close(Py,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth()}}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(i=>
81i()),this.sendBuffer=[])}_makeRef(){let i=this.ref+1;return i===this.ref?this.ref=0:this.ref=i,this.ref.toString()}_leaveOpenTopic(i){let l=this.channels.find(r=>r.topic===i&&(r._isJoined()||r._isJoining()));l&&(this.log("transport",`leaving duplicate topic "${i}"`),l.unsubscribe())}_remove(i){this.channels=this.channels.filter(l=>l._joinRef()!==i._joinRef())}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=i=>this._onConnError(i),this.conn.onmessage=i=>this._onConnMessage(i),this.conn.onclose=i=>this._onConnClose(i))}_onConnMessage(i){this.decode(i.data,l=>{let{topic:r,event:c,payload:f,ref:d}=l;d&&d===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null),this.log("receive",`${f.status||""} ${r} ${c} ${d&&"("+d+")"||""}`,f),this.channels.filter(v=>v._isMember(r)).forEach(v=>v._trigger(c,f,d)),this.stateChangeCallbacks.message.forEach(v=>v(l))})}async _onConnOpen(){if(this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this.reconnectTimer.reset(),!this.worker)this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs);else{this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const i=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(i),this.workerRef.onerror=l=>{this.log("worker","worker error",l.message),this.workerRef.terminate()},this.workerRef.onmessage=l=>{l.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}this.stateChangeCallbacks.open.forEach(i=>i())}_onConnClose(i){this.log("transport","close",i),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(l=>l(i))}_onConnError(i){this.log("transport",i.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(l=>l(i))}_triggerChanError(){this.channels.forEach(i=>i._trigger(Nt.error))}_appendParams(i,l){if(Object.keys(l).length===0)return i;const r=i.match(/\?/)?"&":"?",c=new URLSearchParams(l);return`${i}${r}${c}`}_workerObjectUrl(i){let l;if(i)l=i;else{const r=new Blob([sb],{type:"application/javascript"});l=URL.createObjectURL(r)}return l}}
81class ub{constructor(i,l,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=ri.connecting,this.send=()=>{},this.url=null,this.url=i,this.close=r.close}}class Mo extends Error{constructor(i){super(i),this.__isStorageError=!0,this.name="StorageError"}}function $e(u){return typeof u=="object"&&u!==null&&"__isStorageError"in u}class ob extends Mo{constructor(i,l){super(i),this.name="StorageApiError",this.status=l}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class Eo extends Mo{constructor(i,l){super(i),this.name="StorageUnknownError",this.originalError=l}}var cb=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};const Ym=u=>{let i;return u?i=u:typeof fetch>"u"?i=(...l)=>ui(async()=>{const{default:r}=await Promise.resolve().then(()=>di);return{default:r}},void 0).then(({default:r})=>r(...l)):i=fetch,(...l)=>i(...l)},fb=()=>cb(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield ui(()=>Promise.resolve().then(()=>di),void 0)).Response:Response}),jo=u=>{if(Array.isArray(u))return u.map(l=>jo(l));if(typeof u=="function"||u!==Object(u))return u;const i={};return Object.entries(u).forEach(([l,r])=>{const c=l.replace(/([-_][a-z])/gi,f=>f.toUpperCase().replace(/[-_]/g,""));i[c]=jo(r)}),i};var mn=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};const fo=u=>u.msg||u.message||u.error_description||u.error||JSON.stringify(u),db=(u,i,l)=>mn(void 0,void 0,void 0,function*(){const r=yield fb();u instanceof r&&!(l!=null&&l.noResolveJson)?u.json().then(c=>{i(new ob(fo(c),u.status||500))}).catch(c=>{i(new Eo(fo(c),c))}):i(new Eo(fo(u),u))}),hb=(u,i,l,r)=>{const c={method:u,headers:(i==null?void 0:i.headers)||{}};return u==="GET"?c:(c.headers=Object.assign({"Content-Type":"application/json"},i==null?void 0:i.headers),r&&(c.body=JSON.stringify(r)),Object.assign(Object.assign({},c),l))};function xl(u,i,l,r,c,f){return mn(this,void 0,void 0,function*(){return new Promise((d,v)=>{u(l,hb(i,r,c,f)).then(m=>{if(!m.ok)throw m;return r!=null&&r.noResolveJson?m:m.json()}).then(m=>d(m)).catch(m=>db(m,v,r))})})}function Ks(u,i,l,r){return mn(this,void 0,void 0,function*(){return xl(u,"GET",i,l,r)})}function Da(u,i,l,r,c){return mn(this,void 0,void 0,function*(){return xl(u,"POST",i,r,c,l)})}function mb(u,i,l,r,c){return mn(this,void 0,void 0,function*(){return xl(u,"PUT",i,r,c,l)})}function vb(u,i,l,r){return mn(this,void 0,void 0,function*(){return xl(u,"HEAD",i,Object.assign(Object.assign({},l),{noResolveJson:!0}),r)})}function Vm(u,i,l,r,c){return mn(this,void 0,void 0,function*(){return xl(u,"DELETE",i,r,c,l)})}var it=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};const gb={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},am={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class pb{constructor(i,l={},r,c){this.url=i,this.headers=l,this.bucketId=r,this.fetch=Ym(c)}uploadOrUpdate(i,l,r,c){return it(this,void 0,void 0,function*(){try{let f;const d=Object.assign(Object.assign({},am),c);let v=Object.assign(Object.assign({},this.headers),i==="POST"&&{"x-upsert":String(d.upsert)});const m=d.metadata;typeof Blob<"u"&&r instanceof Blob?(f=new FormData,f.append("cacheControl",d.cacheControl),m&&f.append("metadata",this.encodeMetadata(m)),f.append("",r)):typeof FormData<"u"&&r instanceof FormData?(f=r,f.append("cacheControl",d.cacheControl),m&&f.append("metadata",this.encodeMetadata(m))):(f=r,v["cache-control"]=`max-age=${d.cacheControl}`,v["content-type"]=d.contentType,m&&(v["x-metadata"]=this.toBase64(this.encodeMetadata(m)))),c!=null&&c.headers&&(v=Object.assign(Object.assign({},v),c.headers));const g=this._removeEmptyFolders(l),b=this._getFinalPath(g),w=yield this.fetch(`${this.url}/object/${b}`,Object.assign({method:i,body:f,headers:v},d!=null&&d.duplex?{duplex:d.duplex}:{})),R=yield w.json();return w.ok?{data:{path:g,id:R.Id,fullPath:R.Key},error:null}:{data:null,error:R}}catch(f){if($e(f))return{data:null,error:f};throw f}})}upload(i,l,r){return it(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",i,l,r)})}uploadToSignedUrl(i,l,r,c){return it(this,void 0,void 0,function*(){const f=this._removeEmptyFolders(i),d=this._getFinalPath(f),v=new URL(this.url+`/object/upload/sign/${d}`);v.searchParams.set("token",l);try{let m;const g=Object.assign({upsert:am.upsert}
81,c),b=Object.assign(Object.assign({},this.headers),{"x-upsert":String(g.upsert)});typeof Blob<"u"&&r instanceof Blob?(m=new FormData,m.append("cacheControl",g.cacheControl),m.append("",r)):typeof FormData<"u"&&r instanceof FormData?(m=r,m.append("cacheControl",g.cacheControl)):(m=r,b["cache-control"]=`max-age=${g.cacheControl}`,b["content-type"]=g.contentType);const w=yield this.fetch(v.toString(),{method:"PUT",body:m,headers:b}),R=yield w.json();return w.ok?{data:{path:f,fullPath:R.Key},error:null}:{data:null,error:R}}catch(m){if($e(m))return{data:null,error:m};throw m}})}createSignedUploadUrl(i,l){return it(this,void 0,void 0,function*(){try{let r=this._getFinalPath(i);const c=Object.assign({},this.headers);l!=null&&l.upsert&&(c["x-upsert"]="true");const f=yield Da(this.fetch,`${this.url}/object/upload/sign/${r}`,{},{headers:c}),d=new URL(this.url+f.url),v=d.searchParams.get("token");if(!v)throw new Mo("No token returned by API");return{data:{signedUrl:d.toString(),path:i,token:v},error:null}}catch(r){if($e(r))return{data:null,error:r};throw r}})}update(i,l,r){return it(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",i,l,r)})}move(i,l,r){return it(this,void 0,void 0,function*(){try{return{data:yield Da(this.fetch,`${this.url}/object/move`,{bucketId:this.bucketId,sourceKey:i,destinationKey:l,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers}),error:null}}catch(c){if($e(c))return{data:null,error:c};throw c}})}copy(i,l,r){return it(this,void 0,void 0,function*(){try{return{data:{path:(yield Da(this.fetch,`${this.url}/object/copy`,{bucketId:this.bucketId,sourceKey:i,destinationKey:l,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers})).Key},error:null}}catch(c){if($e(c))return{data:null,error:c};throw c}})}createSignedUrl(i,l,r){return it(this,void 0,void 0,function*(){try{let c=this._getFinalPath(i),f=yield Da(this.fetch,`${this.url}/object/sign/${c}`,Object.assign({expiresIn:l},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const d=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return f={signedUrl:encodeURI(`${this.url}${f.signedURL}${d}`)},{data:f,error:null}}catch(c){if($e(c))return{data:null,error:c};throw c}})}createSignedUrls(i,l,r){return it(this,void 0,void 0,function*(){try{const c=yield Da(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:l,paths:i},{headers:this.headers}),f=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{data:c.map(d=>Object.assign(Object.assign({},d),{signedUrl:d.signedURL?encodeURI(`${this.url}${d.signedURL}${f}`):null})),error:null}}catch(c){if($e(c))return{data:null,error:c};throw c}})}download(i,l){return it(this,void 0,void 0,function*(){const c=typeof(l==null?void 0:l.transform)<"u"?"render/image/authenticated":"object",f=this.transformOptsToQueryString((l==null?void 0:l.transform)||{}),d=f?`?${f}`:"";try{const v=this._getFinalPath(i);return{data:yield(yield Ks(this.fetch,`${this.url}/${c}/${v}${d}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(v){if($e(v))return{data:null,error:v};throw v}})}info(i){return it(this,void 0,void 0,function*(){const l=this._getFinalPath(i);try{const r=yield Ks(this.fetch,`${this.url}/object/info/${l}`,{headers:this.headers});return{data:jo(r),error:null}}catch(r){if($e(r))return{data:null,error:r};throw r}})}exists(i){return it(this,void 0,void 0,function*(){const l=this._getFinalPath(i);try{return yield vb(this.fetch,`${this.url}/object/${l}`,{headers:this.headers}),{data:!0,error:null}}catch(r){if($e(r)&&r instanceof Eo){const c=r.originalError;if([400,404].includes(c==null?void 0:c.status))return{data:!1,error:r}}throw r}})}getPublicUrl(i,l){const r=this._getFinalPath(i),c=[],f=l!=null&&l.download?`download=${l.download===!0?"":l.download}`:"";f!==""&&c.push(f);const v=typeof(l==null?void 0:l.transform)<"u"?"render/image":"object",m=this.transformOptsToQueryString((l==null?void 0:l.transform)||{});m!==""&&c.push(m);let g=c.join("&");return g!==""&&(g=`?${g}`),{data:{publicUrl:encodeURI(`${this.url}/${v}/public/${r}${g}`)}}}remove(i){return it(this,void 0,void 0,function*(){try{return{data:yield Vm(this.fetch,`${this.url}/object/${this.bucketId}`,{prefixes:i},{headers:this.headers}),error:null}}catch(l){if($e(l))return{data:null,error:l};throw l}})}list(i,l,r){return it(this,void 0,void 0,function*(){try{const c=Object.assign(Object.assign(Object.assign({},gb),l),{prefix:i||""});return{data:yield Da(this.fetch,`${this.url}/object/list/${this.bucketId}`,c,{headers:this.headers},r),error:null}}catch(c){if($e(c))return{data:null,error:c};throw c}})}encodeMetadata(i){return JSON.stringify(i)}toBase64(i){return typeof Buffer<"u"?Buffer.from(i).toString("base64"):btoa(i)}_getFinalPath(i){return`${this.bucketId}/${i}`}_removeEmptyFolders(i){return i.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(i){const l=[];return i.width&&l.push(`width=${i.width}`),i.height&&l.push(`height=${i.height}`),i.resize&&l.push(`resize=${i.resize}`),i.format&&l.push(`format=${i.format}`),i.quality&&l.push(`quality=${i.quality}`),l.join("&")}}const yb="2.7.1",bb={"X-Client-Info":`storage-js/${yb}`};var ni=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};class _b{constructor(i,l={},r){this.url=i,this.headers=Object.assign(Object.assign({},bb),l),this.fetch=Ym(r)}listBuckets(){return ni(this,void 0,void 0,function*(){try{return{data:yield Ks(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(i){if($e(i))return{data:null,error:i};throw i}})}getBucket(i){return ni(this,void 0,void 0,function*(){try{return{data:yield Ks(this.fetch,`${this.url}/bucket/${i}`,{headers:this.headers}),error:null}}catch(l){if($e(l))return{data:null,error:l};throw l}})}createBucket(i,l={public:!1}){return ni(this,void 0,void 0,function*(){try{return{data:yield Da(this.fetch,`${this.url}/bucket`,{id:i,name:i,public:l.public,file_size_limit:l.fileSizeLimit,allowed_mime_types:l.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if($e(r))return{data:null,error:r};throw r}})}updateBucket(i,l){return ni(this,void 0,void 0,function*(){try{return{data:yield mb(this.fetch,`${this.url}/bucket/${i}`,{id:i,name:i,public:l.public,file_size_limit:l.fileSizeLimit,allowed_mime_types:l.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if($e(r))return{data:null,error:r};throw r}})}emptyBucket(i){return ni(this,void 0,void 0,function*(){try{return{data:yield Da(this.fetch,`${this.url}/bucket/${i}/empty`,{},{headers:this.headers}),error:null}}catch(l){if($e(l))return{data:null,error:l};throw l}})}deleteBucket(i){return ni(this,void 0,void 0,function*(){try{return{data:yield Vm(this.fetch,`${this.url}/bucket/${i}`,{},{headers:this.headers}),error:null}}catch(l){if($e(l))return{data:null,error:l};throw l}})}}class wb extends _b{constructor(i,l={},r){super(i,l,r)}from(i){return new pb(this.url,this.headers,i,this.fetch)}}const xb="2.49.1";let ml="";typeof Deno<"u"?ml="deno":typeof document<"u"?ml="web":typeof navigator<"u"&&navigator.product==="ReactNative"?ml="react-native":ml="node";const Sb={"X-Client-Info":`supabase-js-${ml}/${xb}`},Eb={headers:Sb},jb={schema:"public"},Tb={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},Ab={};
81var Ob=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};const Rb=u=>{let i;return u?i=u:typeof fetch>"u"?i=zm:i=fetch,(...l)=>i(...l)},Nb=()=>typeof Headers>"u"?Dm:Headers,kb=(u,i,l)=>{const r=Rb(l),c=Nb();return(f,d)=>Ob(void 0,void 0,void 0,function*(){var v;const m=(v=yield i())!==null&&v!==void 0?v:u;let g=new c(d==null?void 0:d.headers);return g.has("apikey")||g.set("apikey",u),g.has("Authorization")||g.set("Authorization",`Bearer ${m}`),r(f,Object.assign(Object.assign({},d),{headers:g}))})};var Cb=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};function zb(u){return u.replace(/\/$/,"")}function Db(u,i){const{db:l,auth:r,realtime:c,global:f}=u,{db:d,auth:v,realtime:m,global:g}=i,b={db:Object.assign(Object.assign({},d),l),auth:Object.assign(Object.assign({},v),r),realtime:Object.assign(Object.assign({},m),c),global:Object.assign(Object.assign({},g),f),accessToken:()=>Cb(this,void 0,void 0,function*(){return""})};return u.accessToken?b.accessToken=u.accessToken:delete b.accessToken,b}const Km="2.68.0",si=30*1e3,To=3,ho=To*si,Ub="http://localhost:9999",Mb="supabase.auth.token",Lb={"X-Client-Info":`gotrue-js/${Km}`},Ao="X-Supabase-Api-Version",Qm={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}};function Bb(u){return Math.round(Date.now()/1e3)+u}function Hb(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(u){const i=Math.random()*16|0;return(u=="x"?i:i&3|8).toString(16)})}const Ht=()=>typeof window<"u"&&typeof document<"u",rn={tested:!1,writable:!1},gl=()=>{if(!Ht())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(rn.tested)return rn.writable;const u=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(u,u),globalThis.localStorage.removeItem(u),rn.tested=!0,rn.writable=!0}catch{rn.tested=!0,rn.writable=!1}return rn.writable};function qb(u){const i={},l=new URL(u);if(l.hash&&l.hash[0]==="#")try{new URLSearchParams(l.hash.substring(1)).forEach((c,f)=>{i[f]=c})}catch{}return l.searchParams.forEach((r,c)=>{i[c]=r}),i}const Xm=u=>{let i;return u?i=u:typeof fetch>"u"?i=(...l)=>ui(async()=>{const{default:r}=await Promise.resolve().then(()=>di);return{default:r}},void 0).then(({default:r})=>r(...l)):i=fetch,(...l)=>i(...l)},Gb=u=>typeof u=="object"&&u!==null&&"status"in u&&"ok"in u&&"json"in u&&typeof u.json=="function",Zm=async(u,i,l)=>{await u.setItem(i,JSON.stringify(l))},Hs=async(u,i)=>{const l=await u.getItem(i);if(!l)return null;try{return JSON.parse(l)}catch{return l}},qs=async(u,i)=>{await u.removeItem(i)};function $b(u){const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let l="",r,c,f,d,v,m,g,b=0;for(u=u.replace("-","+").replace("_","/");b<u.length;)d=i.indexOf(u.charAt(b++)),v=i.indexOf(u.charAt(b++)),m=i.indexOf(u.charAt(b++)),g=i.indexOf(u.charAt(b++)),r=d<<2|v>>4,c=(v&15)<<4|m>>2,f=(m&3)<<6|g,l=l+String.fromCharCode(r),m!=64&&c!=0&&(l=l+String.fromCharCode(c)),g!=64&&f!=0&&(l=l+String.fromCharCode(f));return l}class Xs{constructor(){this.promise=new Xs.promiseConstructor((i,l)=>{this.resolve=i,this.reject=l})}}Xs.promiseConstructor=Promise;function nm(u){const i=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i,l=u.split(".");if(l.length!==3)throw new Error("JWT is not valid: not a JWT structure");if(!i.test(l[1]))throw new Error("JWT is not valid: payload is not in base64url format");const r=l[1];return JSON.parse($b(r))}async function Yb(u){return await new Promise(i=>{setTimeout(()=>i(null),u)})}function Vb(u,i){return new Promise((r,c)=>{(async()=>{for(let f=0;f<1/0;f++)try{const d=await u(f);if(!i(f,null,d)){r(d);return}}catch(d){if(!i(f,d)){c(d);return}}})()})}function Kb(u){return("0"+u.toString(16)).substr(-2)}function Qb(){const i=new Uint32Array(56);if(typeof crypto>"u"){const l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=l.length;let c="";for(let f=0;f<56;f++)c+=l.charAt(Math.floor(Math.random()*r));return c}return crypto.getRandomValues(i),Array.from(i,Kb).join("")}async function Xb(u){const l=new TextEncoder().encode(u),r=await crypto.subtle.digest("SHA-256",l),c=new Uint8Array(r);return Array.from(c).map(f=>String.fromCharCode(f)).join("")}function Zb(u){return btoa(u).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Jb(u){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code
81challenge method will default to use plain instead of sha256."),u;const l=await Xb(u);return Zb(l)}async function ii(u,i,l=!1){const r=Qb();let c=r;l&&(c+="/PASSWORD_RECOVERY"),await Zm(u,`${i}-code-verifier`,c);const f=await Jb(r);return[f,r===f?"plain":"s256"]}const Pb=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function Wb(u){const i=u.headers.get(Ao);if(!i||!i.match(Pb))return null;try{return new Date(`${i}T00:00:00.0Z`)}catch{return null}}class Lo extends Error{constructor(i,l,r){super(i),this.__isAuthError=!0,this.name="AuthError",this.status=l,this.code=r}}function ae(u){return typeof u=="object"&&u!==null&&"__isAuthError"in u}class Fb extends Lo{constructor(i,l,r){super(i,l,r),this.name="AuthApiError",this.status=l,this.code=r}}function Ib(u){return ae(u)&&u.name==="AuthApiError"}class Jm extends Lo{constructor(i,l){super(i),this.name="AuthUnknownError",this.originalError=l}}class vn extends Lo{constructor(i,l,r,c){super(i,r,c),this.name=l,this.status=r}}class Ca extends vn{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function e1(u){return ae(u)&&u.name==="AuthSessionMissingError"}class mo extends vn{constructor(){super("Auth session or user missing","AuthInvalidToken
81ResponseError",500,void 0)}}class Gs extends vn{constructor(i){super(i,"AuthInvalidCredentialsError",400,void 0)}}class $s extends vn{constructor(i,l=null){super(i,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=l}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function t1(u){return ae(u)&&u.name==="AuthImplicitGrantRedirectError"}class im extends vn{constructor(i,l=null){super(i,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=l}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class Oo extends vn{constructor(i,l){super(i,"AuthRetryableFetchError",l,void 0)}}function vo(u){return ae(u)&&u.name==="AuthRetryableFetchError"}class lm extends vn{constructor(i,l,r){super(i,"AuthWeakPasswordError",l,"weak_password"),this.reasons=r}}var a1=function(u,i){var l={};for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&i.indexOf(r)<0&&(l[r]=u[r]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,r=Object.getOwnPropertySymbols(u);c<r.length;c++)i.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(u,r[c])&&(l[r[c]]=u[r[c]]);return l};const un=u=>u.msg||u.message||u.error_description||u.error||JSON.stringify(u),n1=[502,503,504];async function sm(u){var i;if(!Gb(u))throw new Oo(un(u),0);if(n1.includes(u.status))throw new Oo(un(u),u.status);let l;try{l=await u.json()}catch(f){throw new Jm(un(f),f)}let r;const c=Wb(u);if(c&&c.getTime()>=Qm["2024-01-01"].timestamp&&typeof l=="object"&&l&&typeof l.code=="string"?r=l.code:typeof l=="object"&&l&&typeof l.error_code=="string"&&(r=l.error_code),r){if(r==="weak_password")throw new lm(un(l),u.status,((i=l.weak_password)===null||i===void 0?void 0:i.reasons)||[]);if(r==="session_not_found")throw new Ca}else if(typeof l=="object"&&l&&typeof l.weak_password=="object"&&l.weak_password&&Array.isArray(l.weak_password.reasons)&&l.weak_password.reasons.length&&l.weak_password.reasons.reduce((f,d)=>f&&typeof d=="string",!0))throw new lm(un(l),u.status,l.weak_password.reasons);throw new Fb(un(l),u.status||500,r)}const i1=(u,i,l,r)=>{const c={method:u,headers:(i==null?void 0:i.headers)||{}};return u==="GET"?c:(c.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},i==null?void 0:i.headers),c.body=JSON.stringify(r),Object.assign(Object.assign({},c),l))};async function oe(u,i,l,r){var c;const f=Object.assign({},r==null?void 0:r.headers);f[Ao]||(f[Ao]=Qm["2024-01-01"].name),r!=null&&r.jwt&&(f.Authorization=`Bearer ${r.jwt}`);const d=(c=r==null?void 0:r.query)!==null&&c!==void 0?c:{};r!=null&&r.redirectTo&&(d.redirect_to=r.redirectTo);const v=Object.keys(d).length?"?"+new URLSearchParams(d).toString():"",m=await l1(u,i,l+v,{headers:f,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(m):{data:Object.assign({},m),error:null}}async function l1(u,i,l,r,c,f){const d=i1(i,r,c,f);let v;try{v=await u(l,Object.assign({},d))}catch(m){throw console.error(m),new Oo(un(m),0)}if(v.ok||await sm(v),r!=null&&r.noResolveJson)return v;try{return await v.json()}catch(m){await sm(m)}}function za(u){var i;let l=null;o1(u)&&(l=Object.assign({},u),u.expires_at||(l.expires_at=Bb(u.expires_in)));const r=(i=u.user)!==null&&i!==void 0?i:u;return{data:{session:l,user:r},error:null}}function rm(u){const i=za(u);return!i.error&&u.weak_password&&typeof u.weak_password=="object"&&Array.isArray(u.weak_password.reasons)&&u.weak_password.reasons.length&&u.weak_password.message&&typeof u.weak_password.message=="string"&&u.weak_password.reasons.reduce((l,r)=>l&&typeof r=="string",!0)&&(i.data.weak_password=u.weak_password),i}function Ua(u){var i;return{data:{user:(i=u.user)!==null&&i!==void 0?i:u},error:null}}function s1(u){return{data:u,error:null}}function r1(u){const{action_link:i,email_otp:l,hashed_token:r,redirect_to:c,verification_type:f}=u,d=a1(u,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),v={action_link:i,email_otp:l,hashed_token:r,redirect_to:c,verification_type:f},m=Object.assign({},d);return{data:{properties:v,user:m},error:null}}function u1(u){return u}function o1(u){return u.access_token&&u.refresh_token&&u.expires_in}var c1=function(u,i){var l={};for(var r in u)Object.prototype.hasOwnProperty.call(u,r)&&i.indexOf(r)<0&&(l[r]=u[r]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,r=Object.getOwnPropertySymbols(u);c<r.length;c++)i.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(u,r[c])&&(l[r[c]]=u[r[c]]);return l};class f1{constructor({url:i="",headers:l={},fetch:r}){this.url=i,this.headers=l,this.fetch=Xm(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(i,l="global"){try{return await oe(this.fetch,"POST",`${this.url}/logout?scope=${l}`,{headers:this.headers,jwt:i,noResolveJson:!0}),{data:null,error:null}}catch(r){if(ae(r))return{data:null,error:r};throw r}}async inviteUserByEmail(i,l={}){try{return await oe(this.fetch,"POST",`${this.url}/invite`,{body:{email:i,data:l.data},headers:this.headers,redirectTo:l.redirectTo,xform:Ua})}catch(r){if(ae(r))return{data:{user:null},error:r};throw r}}async generateLink(i){try{const{options:l}=i,r=c1(i,["options"]),c=Object.assign(Object.assign({},r),l);return"newEmail"in r&&(c.new_email=r==null?void 0:r.newEmail,delete c.newEmail),await oe(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:c,headers:this.headers,xform:r1,redirectTo:l==null?void 0:l.redirectTo})}catch(l){if(ae(l))return{data:{properties:null,user:null},error:l};throw l}}async createUser(i){try{return await oe(this.fetch,"POST",`${this.url}/admin/users`,{body:i,headers:this.headers,xform:Ua})}catch(l){if(ae(l))return{data:{user:null},error:l};throw l}}async listUsers(i){var l,r,c,f,d,v,m;try{const g={nextPage:null,lastPage:0,total:0},b=await oe(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(l=i==null?void 0:i.page)===null||l===void 0?void 0:l.toString())!==null&&r!==void 0?r:"",per_page:(f=(c=i==null?void 0:i.perPage)===null||c===void 0?void 0:c.toString())!==null&&f!==void 0?f:""},xform:u1});if(b.error)throw b.error;const w=await b.json(),R=(d=b.headers.get("x-total-count"))!==null&&d!==void 0?d:0,C=(m=(v=b.headers.get("link"))===null||v===void 0?void 0:v.split(","))!==null&&m!==void 0?m:[];return C.length>0&&(C.forEach(L=>{const H=parseInt(L.split(";")[0].split("=")[1].substring(0,1)),M=JSON.parse(L.split(";")[1].split("=")[1]);g[`${M}Page`]=H}),g.total=parseInt(R)),{data:Object.assign(Object.assign({},w),g),error:null}}catch(g){if(ae(g))return{data:{users:[]},error:g};throw g}}async getUserById(i){try{return await oe(this.fetch,"GET",`${this.url}/admin/users/${i}`,{headers:this.headers,xform:Ua})}catch(l){if(ae(l))return{data:{user:null},error:l};throw l}}async updateUserById(i,l){try{return await oe(this.fetch,"PUT",`${this.url}/admin/users/${i}`,{body:l,headers:this.headers,xform:Ua})}catch(r){if(ae(r))return{data:{user:null},error:r};throw r}}
vendor: 16,384 bytes, line 81
81async deleteUser(i,l=!1){try{return await oe(this.fetch,"DELETE",`${this.url}/admin/users/${i}`,{headers:this.headers,body:{should_soft_delete:l},xform:Ua})}catch(r){if(ae(r))return{data:{user:null},error:r};throw r}}async _listFactors(i){try{const{data:l,error:r}=await oe(this.fetch,"GET",`${this.url}/admin/users/${i.userId}/factors`,{headers:this.headers,xform:c=>({data:{factors:c},error:null})});return{data:l,error:r}}catch(l){if(ae(l))return{data:null,error:l};throw l}}async _deleteFactor(i){try{return{data:await oe(this.fetch,"DELETE",`${this.url}/admin/users/${i.userId}/factors/${i.id}`,{headers:this.headers}),error:null}}catch(l){if(ae(l))return{data:null,error:l};throw l}}}const d1={getItem:u=>gl()?globalThis.localStorage.getItem(u):null,setItem:(u,i)=>{gl()&&globalThis.localStorage.setItem(u,i)},removeItem:u=>{gl()&&globalThis.localStorage.removeItem(u)}};function um(u={}){return{getItem:i=>u[i]||null,setItem:(i,l)=>{u[i]=l},removeItem:i=>{delete u[i]}}}function h1(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}const li={debug:!!(globalThis&&gl()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class Pm extends Error{constructor(i){super(i),this.isAcquireTimeout=!0}}class m1 extends Pm{}async function v1(u,i,l){li.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",u,i);const r=new globalThis.AbortController;return i>0&&setTimeout(()=>{r.abort(),li.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",u)},i),await Promise.resolve().then(()=>globalThis.navigator.locks.request(u,i===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async c=>{if(c){li.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",u,c.name);try{return await l()}finally{li.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",u,c.name)}}else{if(i===0)throw li.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",u),new m1(`Acquiring an exclusive Navigator LockManager lock "${u}" immediately failed`);if(li.debug)try{const f=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(f,null," "))}catch(f){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",f)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await l()}}))}h1();const g1={url:Ub,storageKey:Mb,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Lb,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function om(u,i,l){return await l()}class bl{constructor(i){var l,r;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=bl.nextInstanceID,bl.nextInstanceID+=1,this.instanceID>0&&Ht()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const c=Object.assign(Object.assign({},g1),i);if(this.logDebugMessages=!!c.debug,typeof c.debug=="function"&&(this.logger=c.debug),this.persistSession=c.persistSession,this.storageKey=c.storageKey,this.autoRefreshToken=c.autoRefreshToken,this.admin=new f1({url:c.url,headers:c.headers,fetch:c.fetch}),this.url=c.url,this.headers=c.headers,this.fetch=Xm(c.fetch),this.lock=c.lock||om,this.detectSessionInUrl=c.detectSessionInUrl,this.flowType=c.flowType,this.hasCustomAuthorizationHeader=c.hasCustomAuthorizationHeader,c.lock?this.lock=c.lock:Ht()&&(!((l=globalThis==null?void 0:globalThis.navigator)===null||l===void 0)&&l.locks)?this.lock=v1:this.lock=om,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?c.storage?this.storage=c.storage:gl()?this.storage=d1:(this.memoryStorage={},this.storage=um(this.memoryStorage)):(this.memoryStorage={},this.storage=um(this.memoryStorage)),Ht()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(f){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",f)}(r=this.broadcastChannel)===null||r===void 0||r.addEventListener("message",async f=>{this._debug("received broadcast notification from other tab or client",f),await this._notifyAllSubscribers(f.data.event,f.data.session,!1)})}this.initialize()}_debug(...i){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${Km}) ${new Date().toISOString()}`,...i),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var i;try{const l=qb(window.location.href);let r="none";if(this._isImplicitGrantCallback(l)?r="implicit":await this._isPKCECallback(l)&&(r="pkce"),Ht()&&this.detectSessionInUrl&&r!=="none"){const{data:c,error:f}=await this._getSessionFromURL(l,r);if(f){if(this._debug("#_initialize()","error detecting session from URL",f),t1(f)){const m=(i=f.details)===null||i===void 0?void 0:i.code;if(m==="identity_already_exists"||m==="identity_not_found"||m==="single_identity_not_deletable")return{error:f}}return await this._removeSession(),{error:f}}const{session:d,redirectType:v}=c;return this._debug("#_initialize()","detected session in URL",d,"redirect type",v),await this._saveSession(d),setTimeout(async()=>{v==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",d):await this._notifyAllSubscribers("SIGNED_IN",d)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(l){return ae(l)?{error:l}:{error:new Jm("Unexpected error during initialization",l)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(i){var l,r,c;try{const f=await oe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(l=i==null?void 0:i.options)===null||l===void 0?void 0:l.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(c=i==null?void 0:i.options)===null||c===void 0?void 0:c.captchaToken}},xform:za}),{data:d,error:v}=f;if(v||!d)return{data:{user:null,session:null},error:v};const m=d.session,g=d.user;return d.session&&(await this._saveSession(d.session),await this._notifyAllSubscribers("SIGNED_IN",m)),{data:{user:g,session:m},error:null}}catch(f){if(ae(f))return{data:{user:null,session:null},error:f};throw f}}async signUp(i){var l,r,c;try{let f;if("email"in i){const{email:b,password:w,options:R}=i;let C=null,L=null;this.flowType==="pkce"&&([C,L]=await ii(this.storage,this.storageKey)),f=await oe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:R==null?void 0:R.emailRedirectTo,body:{email:b,password:w,data:(l=R==null?void 0:R.data)!==null&&l!==void 0?l:{},gotrue_meta_security:{captcha_token:R==null?void 0:R.captchaToken},code_challenge:C,code_challenge_method:L},xform:za})}else if("phone"in i){const{phone:b,password:w,options:R}=i;f=await oe(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:b,password:w,data:(r=R==null?void 0:R.data)!==null&&r!==void 0?r:{},channel:(c=R==null?void 0:R.channel)!==null&&c!==void 0?c:"sms",gotrue_meta_security:{captcha_token:R==null?void 0:R.captchaToken}},xform:za})}else throw new Gs("You must provide either an email or phone number and a password");const{data:d,error:v}=f;if(v||!d)return{data:{user:null,session:null},error:v};const m=d.session,g=d.user;return d.session&&(await this._saveSession(d.session),await this._notifyAllSubscribers("SIGNED_IN",m)),{data:{user:g,session:m},error:null}}catch(f){if(ae(f))return{data:{user:null,session:null},error:f};throw f}}async signInWithPassword(i){try{let l;if("email"in i){const{email:f,password:d,options:v}=i;l=await oe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:f,password:d,gotrue_meta_security:{captcha_token:v==null?void 0:v.captchaToken}},xform:rm})}else if("phone"in i){const{phone:f,password:d,options:v}=i;l=await oe(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:f,password:d,gotrue_meta_security:{captcha_token:v==null?void 0:v.captchaToken}},xform:rm})}else throw new Gs("You must provide either an email or phone number and a password");const{data:r,error:c}=l;return c?{data:{user:null,session:null},error:c}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new mo}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:c})}catch(l){if(ae(l))return{data:{user:null,session:null},error:l};throw l}}async signInWithOAuth(i){var l,r,c,f;return await this._handleProviderSignIn(i.provider,{redirectTo:(l=i.options)===null||l===void 0?void 0:l.redirectTo,scopes:(r=i.options)===null||r===void 0?void 0:r.scopes,queryParams:(c=i.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:(f=i.options)===null||f===void 0?void 0:f.skipBrowserRedirect})}async exchangeCodeForSession(i){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(i))}async _exchangeCodeForSession(i){const l=await Hs(this.storage,`${this.storageKey}-code-verifier`),[r,c]=(l??"").split("/");try{const{data:f,error:d}=await oe(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:i,code_verifier:r},xform:za});if(await qs(this.storage,`${this.storageKey}-code-verifier`),d)throw d;return!f||!f.session||!f.user?{data:{user:null,session:null,redirectType:null},error:new mo}:(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("SIGNED_IN",f.session)),{data:Object.assign(Object.assign({},f),{redirectType:c??null}),error:d})}catch(f){if(ae(f))return{data:{user:null,session:null,redirectType:null},error:f};throw f}}async signInWithIdToken(i){try{const{options:l,provider:r,token:c,access_token:f,nonce:d}=i,v=await oe(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:c,access_token:f,nonce:d,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:za}),{data:m,error:g}=v;return g?{data:{user:null,session:null},error:g}:!m||!m.session||!m.user?{data:{user:null,session:null},error:new mo}:(m.session&&(await this._saveSession(m.session),await this._notifyAllSubscribers("SIGNED_IN",m.session)),{data:m,error:g})}catch(l){if(ae(l))return{data:{user:null,session:null},error:l};throw l}}async signInWithOtp(i){var l,r,c,f,d;try{if("email"in i){const{email:v,options:m}=i;let g=null,b=null;this.flowType==="pkce"&&([g,b]=await ii(this.storage,this.storageKey));const{error:w}=await oe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:v,data:(l=m==null?void 0:m.data)!==null&&l!==void 0?l:{},create_user:(r=m==null?void 0:m.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:m==null?void 0:m.captchaToken},code_challenge:g,code_challenge_method:b},redirectTo:m==null?void 0:m.emailRedirectTo});return{data:{user:null,session:null},error:w}}if("phone"in i){const{phone:v,options:m}=i,{data:g,error:b}=await oe(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:v,data:(c=m==null?void 0:m.data)!==null&&c!==void 0?c:{},create_user:(f=m==null?void 0:m.shouldCreateUser)!==null&&f!==void 0?f:!0,gotrue_meta_security:{captcha_token:m==null?void 0:m.captchaToken},channel:(d=m==null?void 0:m.channel)!==null&&d!==void 0?d:"sms"}});return{data:{user:null,session:null,messageId:g==null?void 0:g.message_id},error:b}}throw new Gs("You must provide either an email or phone number.")}catch(v){if(ae(v))return{data:{user:null,session:null},error:v};throw v}}async verifyOtp(i){var l,r;try{let c,f;"options"in i&&(c=(l=i.options)===null||l===void 0?void 0:l.redirectTo,f=(r=i.options)===null||r===void 0?void 0:r.captchaToken);const{data:d,error:v}=await oe(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},i),{gotrue_meta_security:{captcha_token:f}}),redirectTo:c,xform:za});if(v)throw v;if(!d)throw new Error("An error occurred on token verification.");const m=d.session,g=d.user;return m!=null&&m.access_token&&(await this._saveSession(m),await this._notifyAllSubscribers(i.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",m)),{data:{user:g,session:m},error:null}}catch(c){if(ae(c))return{data:{user:null,session:null},error:c};throw c}}async signInWithSSO(i){var l,r,c;try{let f=null,d=null;return this.flowType==="pkce"&&([f,d]=await ii(this.storage,this.storageKey)),await oe(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in i?{provider_id:i.providerId}:null),"domain"in i?{domain:i.domain}:null),{redirect_to:(r=(l=i.options)===null||l===void 0?void 0:l.redirectTo)!==null&&r!==void 0?r:void 0}),!((c=i==null?void 0:i.options)===null||c===void 0)&&c.captchaToken?{gotrue_meta_security:{captcha_token:i.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:f,code_challenge_method:d}),headers:this.headers,xform:s1})}catch(f){if(ae(f))return{data:null,error:f};throw f}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async i=>{const{data:{session:l},error:r}=i;if(r)throw r;if(!l)throw new Ca;const{error:c}=await oe(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:l.access_token});return{data:{user:null,session:null},error:c}})}catch(i){if(ae(i))return{data:{user:null,session:null},error:i};throw i}}async resend(i){try{const l=`${this.url}/resend`;if("email"in i){const{email:r,type:c,options:f}=i,{error:d}=await oe(this.fetch,"POST",l,{headers:this.headers,body:{email:r,type:c,gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},redirectTo:f==null?void 0:f.emailRedirectTo});return{data:{user:null,session:null},error:d}}else if("phone"in i){const{phone:r,type:c,options:f}=i,{data:d,error:v}=await oe(this.fetch,"POST",l,{headers:this.headers,body:{phone:r,type:c,gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}}});return{data:{user:null,session:null,messageId:d==null?void 0:d.message_id},error:v}}throw new Gs("You must provide either an email or phone number and a type")}catch(l){if(ae(l))return{data:{user:null,session:null},error:l};throw l}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async l=>l))}async _acquireLock(i,l){this._debug("#_acquireLock","begin",i);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),c=(async()=>(await r,await l()))();return this.pendingInLock.push((async()=>{try{await c}catch{}})()),c}return await this.lock(`lock:${this.storageKey}`,i,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=l();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const c=[...this.pendingInLock];await Promise.all(c),this.pendingInLock.sp
81lice(0,c.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(i){this._debug("#_useSession","begin");try{const l=await this.__loadSession();return await i(l)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let i=null;const l=await Hs(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",l),l!==null&&(this._isValidSession(l)?i=l:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!i)return{data:{session:null},error:null};const r=i.expires_at?i.expires_at*1e3-Date.now()<ho:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",i.expires_at),!r){if(this.storage.isServer){let d=this.suppressGetSessionWarning;i=new Proxy(i,{get:(m,g,b)=>(!d&&g==="user"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),d=!0,this.suppressGetSessionWarning=!0),Reflect.get(m,g,b))})}return{data:{session:i},error:null}}const{session:c,error:f}=await this._callRefreshToken(i.refresh_token);return f?{data:{session:null},error:f}:{data:{session:c},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(i){return i?await this._getUser(i):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(i){try{return i?await oe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:i,xform:Ua}):await this._useSession(async l=>{var r,c,f;const{data:d,error:v}=l;if(v)throw v;return!(!((r=d.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Ca}:await oe(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(f=(c=d.session)===null||c===void 0?void 0:c.access_token)!==null&&f!==void 0?f:void 0,xform:Ua})})}catch(l){if(ae(l))return e1(l)&&(await this._removeSession(),await qs(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:l};throw l}}async updateUser(i,l={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(i,l))}async _updateUser(i,l={}){try{return await this._useSession(async r=>{const{data:c,error:f}=r;if(f)throw f;if(!c.session)throw new Ca;const d=c.session;let v=null,m=null;this.flowType==="pkce"&&i.email!=null&&([v,m]=await ii(this.storage,this.storageKey));const{data:g,error:b}=await oe(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:l==null?void 0:l.emailRedirectTo,body:Object.assign(Object.assign({},i),{code_challenge:v,code_challenge_method:m}),jwt:d.access_token,xform:Ua});if(b)throw b;return d.user=g.user,await this._saveSession(d),await this._notifyAllSubscribers("USER_UPDATED",d),{data:{user:d.user},error:null}})}catch(r){if(ae(r))return{data:{user:null},error:r};throw r}}_decodeJWT(i){return nm(i)}async setSession(i){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(i))}async _setSession(i){try{if(!i.access_token||!i.refresh_token)throw new Ca;const l=Date.now()/1e3;let r=l,c=!0,f=null;const d=nm(i.access_token);if(d.exp&&(r=d.exp,c=r<=l),c){const{session:v,error:m}=await this._callRefreshToken(i.refresh_token);if(m)return{data:{user:null,session:null},error:m};if(!v)return{data:{user:null,session:null},error:null};f=v}else{const{data:v,error:m}=await this._getUser(i.access_token);if(m)throw m;f={access_token:i.access_token,refresh_token:i.refresh_token,user:v.user,token_type:"bearer",expires_in:r-l,expires_at:r},await this._saveSession(f),await this._notifyAllSubscribers("SIGNED_IN",f)}return{data:{user:f.user,session:f},error:null}}catch(l){if(ae(l))return{data:{session:null,user:null},error:l};throw l}}async refreshSession(i){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(i))}async _refreshSession(i){try{return await this._useSession(async l=>{var r;if(!i){const{data:d,error:v}=l;if(v)throw v;i=(r=d.session)!==null&&r!==void 0?r:void 0}if(!(i!=null&&i.refresh_token))throw new Ca;const{session:c,error:f}=await this._callRefreshToken(i.refresh_token);return f?{data:{user:null,session:null},error:f}:c?{data:{user:c.user,session:c},error:null}:{data:{user:null,session:null},error:null}})}catch(l){if(ae(l))return{data:{user:null,session:null},error:l};throw l}}async _getSessionFromURL(i,l){try{if(!Ht())throw new $s("No browser detected.");
81if(i.error||i.error_description||i.error_code)throw new $s(i.error_description||"Error in URL with unspecified error_description",{error:i.error||"unspecified_error",code:i.error_code||"unspecified_code"});switch(l){case"implicit":if(this.flowType==="pkce")throw new im("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new $s("Not a valid implicit grant flow url.");break;default:}if(l==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!i.code)throw new im("No code detected.");const{data:I,error:W}=await this._exchangeCodeForSession(i.code);if(W)throw W;const re=new URL(window.location.href);return re.searchParams.delete("code"),window.history.replaceState(window.history.state,"",re.toString()),{data:{session:I.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:c,access_token:f,refresh_token:d,expires_in:v,expires_at:m,token_type:g}=i;if(!f||!v||!d||!g)throw new $s("No session defined in URL");const b=Math.round(Date.now()/1e3),w=parseInt(v);let R=b+w;m&&(R=parseInt(m));const C=R-b;C*1e3<=si&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${C}s, should have been closer to ${w}s`);const L=R-w;b-L>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",L,R,b):b-L<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",L,R,b);const{data:H,error:M}=await this._getUser(f);if(M)throw M;const Y={provider_token:r,provider_refresh_token:c,access_token:f,expires_in:w,expires_at:R,refresh_token:d,token_type:g,user:H.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:Y,redirectType:i.type},error:null}}catch(r){if(ae(r))return{data:{session:null,redirectType:null},error:r};throw r}}_isImplicitGrantCallback(i){return!!(i.access_token||i.error_description)}async _isPKCECallback(i){const l=await Hs(this.storage,`${this.storageKey}-code-verifier`);return!!(i.code&&l)}async signOut(i={scope:"global"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(i))}async _signOut({scope:i}={scope:"global"}){return await this._useSession(async l=>{var r;const{data:c,error:f}=l;if(f)return{error:f};const d=(r=c.session)===null||r===void 0?void 0:r.access_token;if(d){const{error:v}=await this.admin.signOut(d,i);if(v&&!(Ib(v)&&(v.status===404||v.status===401||v.status===403)))return{error:v}}return i!=="others"&&(await this._removeSession(),await qs(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(i){const l=Hb(),r={id:l,callback:i,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",l),this.stateChangeEmitters.delete(l)}};return this._debug("#onAuthStateChange()","registered callback with id",l),this.stateChangeEmitters.set(l,r),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(l)})))(),{data:{subscription:r}}}async _emitInitialSession(i){return await this._useSession(async l=>{var r,c;try{const{data:{session:f},error:d}=l;if(d)throw d;await((r=this.stateChangeEmitters.get(i))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",f)),this._debug("INITIAL_SESSION","callback id",i,"session",f)}catch(f){await((c=this.stateChangeEmitters.get(i))===null||c===void 0?void 0:c.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",i,"error",f),console.error(f)}})}async resetPasswordForEmail(i,l={}){let r=null,c=null;this.flowType==="pkce"&&([r,c]=await ii(this.storage,this.storageKey,!0));try{return await oe(this.fetch,"POST",`${this.url}/recover`,{body:{email:i,code_challenge:r,code_challenge_method:c,gotrue_meta_security:{captcha_token:l.captchaToken}},headers:this.headers,redirectTo:l.redirectTo})}catch(f){if(ae(f))return{data:null,error:f};throw f}}async getUserIdentities(){var i;try{const{data:l,error:r}=await this.getUser();if(r)throw r;return{data:{identities:(i=l.user.identities)!==null&&i!==void 0?i:[]},error:null}}catch(l){if(ae(l))return{data:null,error:l};throw l}}async linkIdentity(i){var l;try{const{data:r,error:c}=await this._useSession(async f=>{var d,v,m,g,b;const{data:w,error:R}=f;if(R)throw R;const C=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,i.provider,{redirectTo:(d=i.options)===null||d===void 0?void 0:d.redirectTo,scopes:(v=i.options)===null||v===void 0?void 0:v.scopes,queryParams:(m=i.options)===null||m===void 0?void 0:m.queryParams,skipBrowserRedirect:!0});return await oe(this.fetch,"GET",C,{headers:this.headers,jwt:(b=(g=w.session)===null||g===void 0?void 0:g.access_token)!==null&&b!==void 0?b:void 0})});if(c)throw c;return Ht()&&!(!((l=i.options)===null||l===void 0)&&l.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),{data:{provider:i.provider,url:r==null?void 0:r.url},error:null}}catch(r){if(ae(r))return{data:{provider:i.provider,url:null},error:r};throw r}}async unlinkIdentity(i){try{return await this._useSession(async l=>{var r,c;const{data:f,error:d}=l;if(d)throw d;
81return await oe(this.fetch,"DELETE",`${this.url}/user/identities/${i.identity_id}`,{headers:this.headers,jwt:(c=(r=f.session)===null||r===void 0?void 0:r.access_token)!==null&&c!==void 0?c:void 0})})}catch(l){if(ae(l))return{data:null,error:l};throw l}}async _refreshAccessToken(i){const l=`#_refreshAccessToken(${i.substring(0,5)}...)`;this._debug(l,"begin");try{const r=Date.now();return await Vb(async c=>(c>0&&await Yb(200*Math.pow(2,c-1)),this._debug(l,"refreshing attempt",c),await oe(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:i},headers:this.headers,xform:za})),(c,f)=>{const d=200*Math.pow(2,c);return f&&vo(f)&&Date.now()+d-r<si})}catch(r){if(this._debug(l,"error",r),ae(r))return{data:{session:null,user:null},error:r};throw r}finally{this._debug(l,"end")}}_isValidSession(i){return typeof i=="object"&&i!==null&&"access_token"in i&&"refresh_token"in i&&"expires_at"in i}async _handleProviderSignIn(i,l){const r=await this._getUrlForProvider(`${this.url}/authorize`,i,{redirectTo:l.redirectTo,scopes:l.scopes,queryParams:l.queryParams});return this._debug("#_handleProviderSignIn()","provider",i,"options",l,"url",r),Ht()&&!l.skipBrowserRedirect&&window.location.assign(r),{data:{provider:i,url:r},error:null}}async _recoverAndRefresh(){var i;const l="#_recoverAndRefresh()";this._debug(l,"begin");try{const r=await Hs(this.storage,this.storageKey);if(this._debug(l,"session from storage",r),!this._isValidSession(r)){this._debug(l,"session is not valid"),r!==null&&await this._removeSession();return}const c=((i=r.expires_at)!==null&&i!==void 0?i:1/0)*1e3-Date.now()<ho;if(this._debug(l,`session has${c?"":" not"} expired with margin of ${ho}s`),c){if(this.autoRefreshToken&&r.refresh_token){const{error:f}=await this._callRefreshToken(r.refresh_token);f&&(console.error(f),vo(f)||(this._debug(l,"refresh failed with a non-retryable error, removing the session",f),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",r)}catch(r){this._debug(l,"error",r),console.error(r);return}finally{this._debug(l,"end")}}async _callRefreshToken(i){var l,r;if(!i)throw new Ca;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const c=`#_callRefreshToken(${i.substring(0,5)}...)`;this._debug(c,"begin");try{this.refreshingDeferred=new Xs;const{data:f,error:d}=await this._refreshAccessToken(i);if(d)throw d;if(!f.session)throw new Ca;await this._saveSession(f.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",f.session);const v={session:f.session,error:null};return this.refreshingDeferred.resolve(v),v}catch(f){if(this._debug(c,"error",f),ae(f)){const d={session:null,error:f};return vo(f)||await this._removeSession(),(l=this.refreshingDeferred)===null||l===void 0||l.resolve(d),d}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(f),f}finally{this.refreshingDeferred=null,this._debug(c,"end")}}async _notifyAllSubscribers(i,l,r=!0){const c=`#_notifyAllSubscribers(${i})`;this._debug(c,"begin",l,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:i,session:l});const f=[],d=Array.from(this.stateChangeEmitters.values()).map(async v=>{try{await v.callback(i,l)}catch(m){f.push(m)}});if(await Promise.all(d),f.length>0){for(let v=0;v<f.length;v+=1)console.error(f[v]);throw f[0]}}finally{this._debug(c,"end")}}async _saveSession(i){this._debug("#_saveSession()",i),this.suppressGetSessionWarning=!0,await Zm(this.storage,this.storageKey,i)}async _removeSession(){this._debug("#_removeSession()"),await qs(this.storage,this.storageKey),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const i=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{i&&Ht()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",i)}catch(l){console.error("removing visibilitychange callback failed",l)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const i=setInterval(()=>this._autoRefreshTokenTick(),si);this.autoRefreshTicker=i,i&&typeof i=="object"&&typeof i.unref=="function"?i.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(i),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const i=this.autoRefreshTicker;this.autoRefreshTicker=null,i&&clearInterval(i)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const i=Date.now();try{return await this._useSession(async l=>{const{data:{session:r}}=l;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const c=Math.floor((r.expires_at*1e3-i)/si);this._debug("#_autoRefreshTokenTick()",`access token expires in ${c} ticks, a tick lasts ${si}ms, refresh threshold is ${To} ticks`),c<=To&&await this._callRefreshToken(r.refresh_token)})}catch(l){console.error("Auto refresh tick failed with error. This is likely a transient error.",l)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(i){if(i.isAcquireTimeout||i instanceof Pm)this._debug("auto refresh token tick lock not available");else throw i}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Ht()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}
81catch(i){console.error("_handleVisibilityChange",i)}}async _onVisibilityChanged(i){const l=`#_onVisibilityChanged(${i})`;this._debug(l,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),i||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!=="visible"){this._debug(l,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(i,l,r){const c=[`provider=${encodeURIComponent(l)}`];if(r!=null&&r.redirectTo&&c.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&c.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[f,d]=await ii(this.storage,this.storageKey),v=new URLSearchParams({code_challenge:`${encodeURIComponent(f)}`,code_challenge_method:`${encodeURIComponent(d)}`});c.push(v.toString())}if(r!=null&&r.queryParams){const f=new URLSearchParams(r.queryParams);c.push(f.toString())}return r!=null&&r.skipBrowserRedirect&&c.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${i}?${c.join("&")}`}async _unenroll(i){try{return await this._useSession(async l=>{var r;const{data:c,error:f}=l;return f?{data:null,error:f}:await oe(this.fetch,"DELETE",`${this.url}/factors/${i.factorId}`,{headers:this.headers,jwt:(r=c==null?void 0:c.session)===null||r===void 0?void 0:r.access_token})})}catch(l){if(ae(l))return{data:null,error:l};throw l}}async _enroll(i){try{return await this._useSession(async l=>{var r,c;const{data:f,error:d}=l;if(d)return{data:null,error:d};const v=Object.assign({friendly_name:i.friendlyName,factor_type:i.factorType},i.factorType==="phone"?{phone:i.phone}:{issuer:i.issuer}),{data:m,error:g}=await oe(this.fetch,"POST",`${this.url}/factors`,{body:v,headers:this.headers,jwt:(r=f==null?void 0:f.session)===null||r===void 0?void 0:r.access_token});return g?{data:null,error:g}:(i.factorType==="totp"&&(!((c=m==null?void 0:m.totp)===null||c===void 0)&&c.qr_code)&&(m.totp.qr_code=`data:image/svg+xml;utf-8,${m.totp.qr_code}`),{data:m,error:null})})}catch(l){if(ae(l))return{data:null,error:l};throw l}}async _verify(i){return this._acquireLock(-1,async()=>{try{return await this._useSession(async l=>{var r;const{data:c,error:f}=l;if(f)return{data:null,error:f};const{data:d,error:v}=await oe(this.fetch,"POST",`${this.url}/factors/${i.factorId}/verify`,{body:{code:i.code,challenge_id:i.challengeId},headers:this.headers,jwt:(r=c==null?void 0:c.session)===null||r===void 0?void 0:r.access_token});return v?{data:null,error:v}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+d.expires_in},d)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",d),{data:d,error:v})})}catch(l){if(ae(l))return{data:null,error:l};throw l}})}async _challenge(i){return this._acquireLock(-1,async()=>{try{return await this._useSession(async l=>{var r;const{data:c,error:f}=l;return f?{data:null,error:f}:await oe(this.fetch,"POST",`${this.url}/factors/${i.factorId}/challenge`,{body:{channel:i.channel},headers:this.headers,jwt:(r=c==null?void 0:c.session)===null||r===void 0?void 0:r.access_token})})}catch(l){if(ae(l))return{data:null,error:l};throw l}})}async _challengeAndVerify(i){const{data:l,error:r}=await this._challenge({factorId:i.factorId});return r?{data:null,error:r}:await this._verify({factorId:i.factorId,challengeId:l.id,code:i.code})}async _listFactors(){const{data:{user:i},error:l}=await this.getUser();if(l)return{data:null,error:l};const r=(i==null?void 0:i.factors)||[],c=r.filter(d=>d.factor_type==="totp"&&d.status==="verified"),f=r.filter(d=>d.factor_type==="phone"&&d.status==="verified");return{data:{all:r,totp:c,phone:f},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async i=>{var l,r;const{data:{session:c},error:f}=i;if(f)return{data:null,error:f};if(!c)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const d=this._decodeJWT(c.access_token);let v=null;d.aal&&(v=d.aal);let m=v;((r=(l=c.user.factors)===null||l===void 0?void 0:l.filter(w=>w.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(m="aal2");const b=d.amr||[];return{data:{currentLevel:v,nextLevel:m,currentAuthenticationMethods:b},error:null}}))}}bl.nextInstanceID=0;const p1=bl;class y1 extends p1{constructor(i){super(i)}}var b1=function(u,i,l,r){function c(f){return f instanceof l?f:new l(function(d){d(f)})}return new(l||(l=Promise))(function(f,d){function v(b){try{g(r.next(b))}catch(w){d(w)}}function m(b){try{g(r.throw(b))}catch(w){d(w)}}function g(b){b.done?f(b.value):c(b.value).then(v,m)}g((r=r.apply(u,i||[])).next())})};class _1{constructor(i,l,r){var c,f,d;
81if(this.supabaseUrl=i,this.supabaseKey=l,!i)throw new Error("supabaseUrl is required.");if(!l)throw new Error("supabaseKey is required.");const v=zb(i);this.realtimeUrl=`${v}/realtime/v1`.replace(/^http/i,"ws"),this.authUrl=`${v}/auth/v1`,this.storageUrl=`${v}/storage/v1`,this.functionsUrl=`${v}/functions/v1`;const m=`sb-${new URL(this.authUrl).hostname.split(".")[0]}-auth-token`,g={db:jb,realtime:Ab,auth:Object.assign(Object.assign({},Tb),{storageKey:m}),global:Eb},b=Db(r??{},g);this.storageKey=(c=b.auth.storageKey)!==null&&c!==void 0?c:"",this.headers=(f=b.global.headers)!==null&&f!==void 0?f:{},b.accessToken?(this.accessToken=b.accessToken,this.auth=new Proxy({},{get:(w,R)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(R)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((d=b.auth)!==null&&d!==void 0?d:{},this.headers,b.global.fetch),this.fetch=kb(l,this._getAccessToken.bind(this),b.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},b.realtime)),this.rest=new Qy(`${v}/rest/v1`,{headers:this.headers,schema:b.db.schema,fetch:this.fetch}),b.accessToken||this._listenForAuthEvents()}get functions(){return new Dy(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new wb(this.storageUrl,this.headers,this.fetch)}from(i){return this.rest.from(i)}schema(i){return this.rest.schema(i)}rpc(i,l={},r={}){return this.rest.rpc(i,l,r)}channel(i,l={config:{}}){return this.realtime.channel(i,l)}getChannels(){return this.realtime.getChannels()}removeChannel(i){return this.realtime.removeChannel(i)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var i,l;return b1(this,void 0,void 0,function*(){if(this.accessToken)return yield this.accessToken();const{data:r}=yield this.auth.getSession();return(l=(i=r.session)===null||i===void 0?void 0:i.access_token)!==null&&l!==void 0?l:null})}_initSupabaseAuthClient({autoRefreshToken:i,persistSession:l,detectSessionInUrl:r,storage:c,storageKey:f,flowType:d,lock:v,debug:m},g,b){const w={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new y1({url:this.authUrl,headers:Object.assign(Object.assign({},w),g),storageKey:f,autoRefreshToken:i,persistSession:l,detectSessionInUrl:r,storage:c,flowType:d,lock:v,debug:m,fetch:b,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(i){return new rb(this.realtimeUrl,Object.assign(Object.assign({},i),{params:Object.assign({apikey:this.supabaseKey},i==null?void 0:i.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((l,r)=>{this._handleTokenChanged(l,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(i,l,r){(i==="TOKEN_REFRESHED"||i==="SIGNED_IN")&&this.changedAccessToken!==r?this.changedAccessToken=r:i==="SIGNED_OUT"&&(this.realtime.setAuth(),l=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const w1=(u,i,l)=>new _1(u,i,l),x1="https://flnkmnnyygkqhuyymxpf.supabase.co",S1="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImZsbmttbm55eWdrcWh1eXlteHBmIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDA0OTI0ODcsImV4cCI6MjA1NjA2ODQ4N30.Q58_OnMYmNEDIZD-64avaZd3V0F61jxlS9E-IC9OcZw",Ys=w1(x1,S1),E1=O.createContext(void 0);function j1({children:u}){const[i,l]=O.useState(null),[r,c]=O.useState(!0);O.useEffect(()=>{Ys.auth.getSession().then(({data:{session:m}})=>{l((m==null?void 0:m.user)??null),c(!1)});const{data:{subscription:v}}=Ys.auth.onAuthStateChange((m,g)=>{l((g==null?void 0:g.user)??null)});return()=>v.unsubscribe()},[]);const f=async(v,m)=>{const{error:g}=await Ys.auth.signInWithPassword({email:v,password:m});if(g)throw g},d=async()=>{const{error:v}=await Ys.auth.signOut();if(v)throw v};return y.jsx(E1.Provider,{value:{user:i,signIn:f,signOut:d,loading:r},children:u})}const T1=()=>{const u=fi();return O.useEffect(()=>{const i=()=>{typeof window.gtag<"u"&&window.gtag("config","G-5DB48KSYB1",{page_path:u.pathname+u.search})};return i(),()=>{i()}},[u]),null};function A1(){return y.jsxs("div",{className:"min-h-screen w-full relative overflow-hidden bg-black",children:[y.jsx(cn,{to:"/",className:"fixed top-8 left-8 px-6 py-3 border-2 border-white text-white rounded-full hover:bg-white/10 transition-all duration-300 z-50",children:"â Home"}),y.jsxs("div",{className:"fixed top-20 left-1/2 -translate-x-1/2 text-center z-50",children:[y.jsx("h1",{className:"text-6xl font-bold text-white mb-4",children:"Demo Coming Soon"}),y.jsx("p",{className:"text-gray-400 text-xl",children:"Experience the future of AI technology"})]}),y.jsx("div",{className:"fixed inset-0 w-full h-full",children:y.jsx("iframe",{src:"https://my.spline.design/particleaibrain-1e628147d422649d87f878abb29a4a51/",frameBorder:"0",width:"100%",height:"100%",title:"AI Brain Particles",style:{border:"none"}})})]})}function O1(){return y.jsx(Np,{children:y.jsx(j1,{children:y.jsx(iy,{children:y.jsxs(Sp,{children:[y.jsx(po,{path:"/demo",element:y.jsx(A1,{})}),y.jsx(po,{path:"/",element:y.jsxs("div",{className:"font-poppins",children:[y.jsx(ly,{}),y.jsx(T1,{}),y.jsxs("main",{children:[y.jsx(sy,{}),y.jsx(uy,{}),y.jsx(oy,{}),y.jsx(cy,{}),y.jsx(Ey,{})]}),y.jsx(jy,{}),y.jsx(Ty,{})]})})]})})})})}k0.createRoot(document.getElementById("root")).render(y.jsx(O.StrictMode,{children:y.jsx(O1,{})}));export{cm as g};
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.