PageSourceSearch

https://adappt.health/App-GC7NZQJZ.js

js adappt.health collected 2026-10-06 09:21:50 UTC 948,476 bytes, 1,052 lines download raw bytes

vendor: 5,390 bytes, line 1
1var tA=Object.create;var GJ=Object.defineProperty;var MA=Object.getOwnPropertyDescriptor;var QA=Object.getOwnPropertyNames;var nA=Object.getPrototypeOf,HA=Object.prototype.hasOwnProperty;var A4=V=>{throw TypeError(V)};var cA=(V,U,W)=>U in V?GJ(V,U,{enumerable:!0,configurable:!0,writable:!0,value:W}):V[U]=W;var N4=(V,U)=>()=>(V&&(U=V(V=0)),U);var _T=(V,U)=>()=>(U||V((U={exports:{}}).exports,U),U.exports);var GA=(V,U,W,T)=>{if(U&&typeof U=="object"||typeof U=="function")for(let Z of QA(U))!HA.call(V,Z)&&Z!==W&&GJ(V,Z,{get:()=>U[Z],enumerable:!(T=MA(U,Z))||T.enumerable});return V};var c=(V,U,W)=>(W=V!=null?tA(nA(V)):{},GA(U||!V||!V.__esModule?GJ(W,"default",{value:V,enumerable:!0}):W,V));var MZ=(V,U,W)=>cA(V,typeof U!="symbol"?U+"":U,W),rJ=(V,U,W)=>U.has(V)||A4("Cannot "+W);var H=(V,U,W)=>(rJ(V,U,"read from private field"),W?W.call(V):U.get(V)),C=(V,U,W)=>U.has(V)?A4("Cannot add the same private member more than once"):U instanceof WeakSet?U.add(V):U.set(V,W),m=(V,U,W,T)=>(rJ(V,U,"write to private field"),T?T.call(V,W):U.set(V,W),W),WU=(V,U,W)=>(rJ(V,U,"access private method"),W);var dS=(V,U,W,T)=>({set _(Z){m(V,U,Z,W)},get _(){return H(V,U,T)}});var Y4=_T(D=>{"use strict";j();var kJ=Symbol.for("react.transitional.element"),rA=Symbol.for("react.portal"),xA=Symbol.for("react.fragment"),EA=Symbol.for("react.strict_mode"),kA=Symbol.for("react.profiler"),XA=Symbol.for("react.consumer"),hA=Symbol.for("react.context"),AA=Symbol.for("react.forward_ref"),NA=Symbol.for("react.suspense"),mA=Symbol.for("react.memo"),a4=Symbol.for("react.lazy"),lA=Symbol.for("react.activity"),m4=Symbol.iterator;function dA(V){return V===null||typeof V!="object"?null:(V=m4&&V[m4]||V["@@iterator"],typeof V=="function"?V:null)}var C4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v4=Object.assign,B4={};function yb(V,U,W){this.props=V,this.context=U,this.refs=B4,this.updater=W||C4}yb.prototype.isReactComponent={};yb.prototype.setState=function(V,U){if(typeof V!="object"&&typeof V!="function"&&V!=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,V,U,"setState")};yb.prototype.forceUpdate=function(V){this.updater.enqueueForceUpdate(this,V,"forceUpdate")};function s4(){}s4.prototype=yb.prototype;function XJ(V,U,W){this.props=V,this.context=U,this.refs=B4,this.updater=W||C4}var hJ=XJ.prototype=new s4;hJ.constructor=XJ;v4(hJ,yb.prototype);hJ.isPureReactComponent=!0;var l4=Array.isArray;function EJ(){}var AU={H:null,A:null,T:null,S:null},p4=Object.prototype.hasOwnProperty;function AJ(V,U,W){var T=W.ref;return{$$typeof:kJ,type:V,key:U,ref:T!==void 0?T:null,props:W}}function FA(V,U){return AJ(V.type,U,V.props)}function NJ(V){return typeof V=="object"&&V!==null&&V.$$typeof===kJ}function aA(V){var U={"=":"=0",":":"=2"};return"$"+V.replace(/[=:]/g,function(W){return U[W]})}var d4=/\/+/g;function xJ(V,U){return typeof V=="object"&&V!==null&&V.key!=null?aA(""+V.key):U.toString(36)}function CA(V){switch(V.status){case"fulfilled":return V.value;case"rejected":throw V.reason;default:switch(typeof V.status=="string"?V.then(EJ,EJ):(V.status="pending",V.then(function(U){V.status==="pending"&&(V.status="fulfilled",V.value=U)},function(U){V.status==="pending"&&(V.status="rejected",V.reason=U)})),V.status){case"fulfilled":return V.value;case"rejected":throw V.reason}}throw V}function Yb(V,U,W,T,Z){var o=typeof V;(o==="undefined"||o==="boolean")&&(V=null);var i=!1;if(V===null)i=!0;else switch(o){case"bigint":case"string":case"number":i=!0;break;case"object":switch(V.$$typeof){case kJ:case rA:i=!0;break;case a4:return i=V._init,Yb(i(V._payload),U,W,T,Z)}}if(i)return Z=Z(V),i=T===""?"."+xJ(V,0):T,l4(Z)?(W="",i!=null&&(W=i.replace(d4,"$&/")+"/"),Yb(Z,U,W,"",function(S){return S})):Z!=null&&(NJ(Z)&&(Z=FA(Z,W+(Z.key==null||V&&V.key===Z.key?"":(""+Z.key).replace(d4,"$&/")+"/")+i)),U.push(Z)),1;i=0;var b=T===""?".":T+":";if(l4(V))for(var O=0;O<V.length;O++)T=V[O],o=b+xJ(T,O),i+=Yb(T,U,W,o,Z);else if(O=dA(V),typeof O=="function")for(V=O.call(V),O=0;!(T=V.next()).done;)T=T.value,o=b+xJ(T,O++),i+=Yb(T,U,W,o,Z);else if(o==="object"){if(typeof V.then=="function")return Yb(CA(V),U,W,T,Z);throw U=String(V),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return i}function _j(V,U,W){if(V==null)return V;var T=[],Z=0;return Yb(V,T,"","",function(o){return U.call(W,o,Z++)}),T}function vA(V){if(V._status===-1){var U=V._result;U=U(),U.then(function(W){(V._status===0||V._status===-1)&&(V._status=1,V._result=W)},function(W){(V._status===0||V._status===-1)&&(V._status=2,V._result=W)}),V._status===-1&&(V._status=0,V._result=U)}if(V._status===1)return V._result.default;throw V._result}var F4=typeof reportError=="function"?reportError:function(V){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof V=="object"&&V!==null&&typeof V.message=="string"?String(V.message):String(V),error:V});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",V);return}console.error(V)}
vendor: 21,419 bytes, lines 1-8
1,BA={map:_j,forEach:function(V,U,W){_j(V,function(){U.apply(this,arguments)},W)},count:function(V){var U=0;return _j(V,function(){U++}),U},toArray:function(V){return _j(V,function(U){return U})||[]},only:function(V){if(!NJ(V))throw Error("React.Children.only expected to receive a single React element child.");return V}};D.Activity=lA;D.Children=BA;D.Component=yb;D.Fragment=xA;D.Profiler=kA;D.PureComponent=XJ;D.StrictMode=EA;D.Suspense=NA;D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=AU;D.__COMPILER_RUNTIME={__proto__:null,c:function(V){return AU.H.useMemoCache(V)}};D.cache=function(V){return function(){return V.apply(null,arguments)}};D.cacheSignal=function(){return null};D.cloneElement=function(V,U,W){if(V==null)throw Error("The argument must be a React element, but you passed "+V+".");var T=v4({},V.props),Z=V.key;if(U!=null)for(o in U.key!==void 0&&(Z=""+U.key),U)!p4.call(U,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&U.ref===void 0||(T[o]=U[o]);var o=arguments.length-2;if(o===1)T.children=W;else if(1<o){for(var i=Array(o),b=0;b<o;b++)i[b]=arguments[b+2];T.children=i}return AJ(V.type,Z,T)};D.createContext=function(V){return V={$$typeof:hA,_currentValue:V,_currentValue2:V,_threadCount:0,Provider:null,Consumer:null},V.Provider=V,V.Consumer={$$typeof:XA,_context:V},V};D.createElement=function(V,U,W){var T,Z={},o=null;if(U!=null)for(T in U.key!==void 0&&(o=""+U.key),U)p4.call(U,T)&&T!=="key"&&T!=="__self"&&T!=="__source"&&(Z[T]=U[T]);var i=arguments.length-2;if(i===1)Z.children=W;else if(1<i){for(var b=Array(i),O=0;O<i;O++)b[O]=arguments[O+2];Z.children=b}if(V&&V.defaultProps)for(T in i=V.defaultProps,i)Z[T]===void 0&&(Z[T]=i[T]);return AJ(V,o,Z)};D.createRef=function(){return{current:null}};D.forwardRef=function(V){return{$$typeof:AA,render:V}};D.isValidElement=NJ;D.lazy=function(V){return{$$typeof:a4,_payload:{_status:-1,_result:V},_init:vA}};D.memo=function(V,U){return{$$typeof:mA,type:V,compare:U===void 0?null:U}};D.startTransition=function(V){var U=AU.T,W={};AU.T=W;try{var T=V(),Z=AU.S;Z!==null&&Z(W,T),typeof T=="object"&&T!==null&&typeof T.then=="function"&&T.then(EJ,F4)}catch(o){F4(o)}finally{U!==null&&W.types!==null&&(U.types=W.types),AU.T=U}};D.unstable_useCacheRefresh=function(){return AU.H.useCacheRefresh()};D.use=function(V){return AU.H.use(V)};D.useActionState=function(V,U,W){return AU.H.useActionState(V,U,W)};D.useCallback=function(V,U){return AU.H.useCallback(V,U)};D.useContext=function(V){return AU.H.useContext(V)};D.useDebugValue=function(){};D.useDeferredValue=function(V,U){return AU.H.useDeferredValue(V,U)};D.useEffect=function(V,U){return AU.H.useEffect(V,U)};D.useEffectEvent=function(V){return AU.H.useEffectEvent(V)};D.useId=function(){return AU.H.useId()};D.useImperativeHandle=function(V,U,W){return AU.H.useImperativeHandle(V,U,W)};D.useInsertionEffect=function(V,U){return AU.H.useInsertionEffect(V,U)};D.useLayoutEffect=function(V,U){return AU.H.useLayoutEffect(V,U)};D.useMemo=function(V,U){return AU.H.useMemo(V,U)};D.useOptimistic=function(V,U){return AU.H.useOptimistic(V,U)};D.useReducer=function(V,U,W){return AU.H.useReducer(V,U,W)};D.useRef=function(V){return AU.H.useRef(V)};D.useState=function(V){return AU.H.useState(V)};D.useSyncExternalStore=function(V,U,W){return AU.H.useSyncExternalStore(V,U,W)};D.useTransition=function(){return AU.H.useTransition()};D.version="19.2.8"});var BU=_T((ty,y4)=>{"use strict";j();y4.exports=Y4()});var K4=_T((Qy,ej)=>{j();(function(){"use strict";var V={}.hasOwnProperty;function U(){for(var Z="",o=0;o<arguments.length;o++){var i=arguments[o];i&&(Z=T(Z,W(i)))}return Z}function W(Z){if(typeof Z=="string"||typeof Z=="number")return Z;if(typeof Z!="object")return"";if(Array.isArray(Z))return U.apply(null,Z);if(Z.toString!==Object.prototype.toString&&!Z.toString.toString().includes("[native code]"))return Z.toString();var o="";for(var i in Z)V.call(Z,i)&&Z[i]&&(o=T(o,i));return o}function T(Z,o){return o?Z?Z+" "+o:Z+o:Z}typeof ej<"u"&&ej.exports?(U.default=U,ej.exports=U):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return U}):window.classNames=U})()});var e,_,L4=N4(()=>{j();e=c(BU()),_=c(K4())});var j=N4(()=>{L4()});var CQ=_T(hj=>{"use strict";j();var Om=Symbol.for("react.transitional.element"),Sm=Symbol.for("react.fragment");function aQ(V,U,W){var T=null;if(W!==void 0&&(T=""+W),U.key!==void 0&&(T=""+U.key),"key"in U){W={};for(var Z in U)Z!=="key"&&(W[Z]=U[Z])}else W=U;return U=W.ref,{$$typeof:Om,type:V,key:T,ref:U!==void 0?U:null,props:W}}hj.Fragment=Sm;hj.jsx=aQ;hj.jsxs=aQ});var G=_T((LK,vQ)=>{"use strict";j();vQ.exports=CQ()});var Ix=_T(OW=>{"use strict";j();var Bv=BU();function ex(V){var U="https://react.dev/errors/"+V;if(1<arguments.length){U+="?args[]="+encodeURIComponent(arguments[1]);for(var W=2;W<arguments.length;W++)U+="&args[]="+encodeURIComponent(arguments[W])}return"Minified React error #"+V+"; visit "+U+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Do(){}var bW={d:{f:Do,r:function(){throw Error(ex(522))},D:Do,C:Do,L:Do,m:Do,X:Do,S:Do,M:Do},p:0,findDOMNode:null},sv=Symbol.for("react.portal");function pv(V,U,W){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:sv,key:T==null?null:""+T,children:V,containerInfo:U,implementation:W}}var ju=Bv.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function XR(V,U){if(V==="font")return"";if(typeof U=="string")return U==="use-credentials"?U:""}OW.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=bW;OW.createPortal=function(V,U){var W=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!U||U.nodeType!==1&&U.nodeType!==9&&U.nodeType!==11)throw Error(ex(299));return pv(V,U,null,W)};OW.flushSync=function(V){var U=ju.T,W=bW.p;try{if(ju.T=null,bW.p=2,V)return V()}finally{ju.T=U,bW.p=W,bW.d.f()}};OW.preconnect=function(V,U){typeof V=="string"&&(U?(U=U.crossOrigin,U=typeof U=="string"?U==="use-credentials"?U:"":void 0):U=null,bW.d.C(V,U))};OW.prefetchDNS=function(V){typeof V=="string"&&bW.d.D(V)};OW.preinit=function(V,U){if(typeof V=="string"&&U&&typeof U.as=="string"){var W=U.as,T=XR(W,U.crossOrigin),Z=typeof U.integrity=="string"?U.integrity:void 0,o=typeof U.fetchPriority=="string"?U.fetchPriority:void 0;W==="style"?bW.d.S(V,typeof U.precedence=="string"?U.precedence:void 0,{crossOrigin:T,integrity:Z,fetchPriority:o}):W==="script"&&bW.d.X(V,{crossOrigin:T,integrity:Z,fetchPriority:o,nonce:typeof U.nonce=="string"?U.nonce:void 0})}};OW.preinitModule=function(V,U){if(typeof V=="string")if(typeof U=="object"&&U!==null){if(U.as==null||U.as==="script"){var W=XR(U.as,U.crossOrigin);bW.d.M(V,{crossOrigin:W,integrity:typeof U.integrity=="string"?U.integrity:void 0,nonce:typeof U.nonce=="string"?U.nonce:void 0})}}else U==null&&bW.d.M(V)};OW.preload=function(V,U){if(typeof V=="string"&&typeof U=="object"&&U!==null&&typeof U.as=="string"){var W=U.as,T=XR(W,U.crossOrigin);bW.d.L(V,W,{crossOrigin:T,integrity:typeof U.integrity=="string"?U.integrity:void 0,nonce:typeof U.nonce=="string"?U.nonce:void 0,type:typeof U.type=="string"?U.type:void 0,fetchPriority:typeof U.fetchPriority=="string"?U.fetchPriority:void 0,referrerPolicy:typeof U.referrerPolicy=="string"?U.referrerPolicy:void 0,imageSrcSet:typeof U.imageSrcSet=="string"?U.imageSrcSet:void 0,imageSizes:typeof U.imageSizes=="string"?U.imageSizes:void 0,media:typeof U.media=="string"?U.media:void 0})}};OW.preloadModule=function(V,U){if(typeof V=="string")if(U){var W=XR(U.as,U.crossOrigin);bW.d.m(V,{as:typeof U.as=="string"&&U.as!=="script"?U.as:void 0,crossOrigin:W,integrity:typeof U.integrity=="string"?U.integrity:void 0})}else bW.d.m(V)};OW.requestFormReset=function(V){bW.d.r(V)};OW.unstable_batchedUpdates=function(V,U){return V(U)};OW.useFormState=function(V,U,W){return ju.H.useFormState(V,U,W)};OW.useFormStatus=function(){return ju.H.useHostTransitionStatus()};OW.version="19.2.8"});var hR=_T((WTU,Mx)=>{"use strict";j();function tx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tx)}catch(V){console.error(V)}}tx(),Mx.exports=Ix()});var Vk=_T(pU=>{"use strict";j();function Zt(V,U){var W=V.length;V.push(U);U:for(;0<W;){var T=W-1>>>1,Z=V[T];if(0<gR(Z,U))V[T]=U,V[W]=Z,W=T;else break U}}function PZ(V){return V.length===0?null:V[0]}function VP(V){if(V.length===0)return null;var U=V[0],W=V.pop();if(W!==U){V[0]=W;U:for(var T=0,Z=V.length,o=Z>>>1;T<o;){var i=2*(T+1)-1,b=V[i],O=i+1,S=V[O];if(0>gR(b,W))O<Z&&0>gR(S,b)?(V[T]=S,V[O]=W,T=O):(V[T]=b,V[i]=W,T=i);else if(O<Z&&0>gR(S,W))V[T]=S,V[O]=W,T=O;else break U}}return U}function gR(V,U){var W=V.sortIndex-U.sortIndex;return W!==0?W:V.id-U.id}pU.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(YE=performance,pU.unstable_now=function(){return YE.now()}):(Vt=Date,yE=Vt.now(),pU.unstable_now=function(){return Vt.now()-yE});var YE,Vt,yE,wZ=[],Wi=[],ps=1,oT=null,VW=3,ot=!1,_u=!1,eu=!1,it=!1,wE=typeof setTimeout=="function"?setTimeout:null,DE=typeof clearTimeout=="function"?clearTimeout:null,KE=typeof setImmediate<"u"?setImmediate:null;function UP(V){for(var U=PZ(Wi);U!==null;){if(U.callback===null)VP(Wi);else if(U.startTime<=V)VP(Wi),U.sortIndex=U.expirationTime,Zt(wZ,U);else break;U=PZ(Wi)}}function bt(V){if(eu=!1,UP(V),!_u)if(PZ(wZ)!==null)_u=!0,LO||(LO=!0,KO());else{var U=PZ(Wi);U!==null&&Ot(bt,U.startTime-V)}}var LO=!1,Iu=-1,fE=5,gE=-1;function Uk(){return it?!0:!(pU.unstable_now()-gE<fE)}function Wt(){if(it=!1,LO){var V=pU.unstable_now();gE=V;var U=!0;try{U:{_u=!1,eu&&(eu=!1,DE(Iu),Iu=-1),ot=!0;var W=VW;try{V:{for(UP(V),oT=PZ(wZ);oT!==null&&!(oT.expirationTime>V&&Uk());){var T=oT.callback;if(typeof T=="function"){oT.callback=null,VW=oT.priorityLevel;var Z=T(oT.expirationTime<=V);if(V=pU.unstable_now(),typeof Z=="function"){oT.callback=Z,UP(V),U=!0;break V}oT===PZ(wZ)&&VP(wZ),UP(V)}else VP(wZ);oT=PZ(wZ)}if(oT!==null)U=!0;else{var o=PZ(Wi);o!==null&&Ot(bt,o.startTime-V),U=!1}}break U}finally{oT=null,VW=W,ot=!1}U=void 0}}finally{U?KO():LO=!1}}}var KO;typeof KE=="function"?KO=function(){KE(Wt)}:typeof MessageChannel<"u"?(Tt=new MessageChannel,LE=Tt.port2,Tt.port1.onmessage=Wt,KO=function(){LE.postMessage(null)}):KO=function(){wE(Wt,0)};var Tt,LE;function Ot(V,U){Iu=wE(function(){V(pU.unstable_now())},U)}pU.unstable_IdlePriority=5;pU.unstable_ImmediatePriority=1;pU.unstable_LowPriority=4;pU.unstable_NormalPriority=3;pU.unstable_Profiling=null;pU.unstable_UserBlockingPriority=2;pU.unstable_cancelCallback=function(V){V.callback=null};pU.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fE=0<V?Math.floor(1e3/V):5};pU.unstable_getCurrentPriorityLevel=function(){return VW};pU.unstable_next=function(V){switch(VW){case 1:case 2:case 3:var U=3;break;default:U=VW}var W=VW;VW=U;try{return V()}finally{VW=W}};pU.unstable_requestPaint=function(){it=!0};pU.unstable_runWithPriority=function(V,U){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var W=VW;VW=V;try{return U()}finally{VW=W}};pU.unstable_scheduleCallback=function(V,U,W){var T=pU.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?T+W:T):W=T,V){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=W+Z,V={id:ps++,callback:U,priorityLevel:V,startTime:W,expirationTime:Z,sortIndex:-1},W>T?(V.sortIndex=W,Zt(Wi,V),PZ(wZ)===null&&V===PZ(Wi)&&(eu?(DE(Iu),Iu=-1):eu=!0,Ot(bt,W-T))):(V.sortIndex=Z,Zt(wZ,V),_u||ot||(_u=!0,LO||(LO=!0,KO()))),V};pU.unstable_shouldYield=Uk;pU.unstable_wrapCallback=function(V){var U=VW;return function(){var W=VW;VW=U;try{return V.apply(this,arguments)}finally{VW=W}}}});var Tk=_T((LSU,Wk)=>{"use strict";j();Wk.exports=Vk()});var PA=_T(cJ=>{"use strict";j();var tV=Tk(),x1=BU(),Ys=hR();function E(V){var U="https://react.dev/errors/"+V;if(1<arguments.length){U+="?args[]="+encodeURIComponent(arguments[1]);for(var W=2;W<arguments.length;W++)U+="&args[]="+encodeURIComponent(arguments[W])}return"Minified React error #"+V+"; visit "+U+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function E1(V){return!(!V||V.nodeType!==1&&V.nodeType!==9&&V.nodeType!==11)}function ij(V){var U=V,W=V;if(V.alternate)for(;U.return;)U=U.return;else{V=U;do U=V,(U.flags&4098)!==0&&(W=U.return),V=U.return;while(V)}return U.tag===3?W:null}function k1(V){if(V.tag===13){var U=V.memoizedState;if(U===null&&(V=V.alternate,V!==null&&(U=V.memoizedState)),U!==null)return U.dehydrated}return null}function X1(V){if(V.tag===31){var U=V.memoizedState;if(U===null&&(V=V.alternate,V!==null&&(U=V.memoizedState)),U!==null)return U.dehydrated}return null}function Zk(V){if(ij(V)!==V)throw Error(E(188))}function ys(V){var U=V.alternate;if(!U){if(U=ij(V),U===null)throw Error(E(188));return U!==V?null:V}for(var W=V,T=U;;){var Z=W.return;if(Z===null)break;var o=Z.alternate;if(o===null){if(T=Z.return,T!==null){W=T;continue}break}if(Z.child===o.child){for(o=Z.child;o;){if(o===W)return Zk(Z),V;if(o===T)return Zk(Z),U;o=o.sibling}throw Error(E(188))}if(W.return!==T.return)W=Z,T=o;else{for(var i=!1,b=Z.child;b;){if(b===W){i=!0,W=Z,T=o;break}if(b===T){i=!0,T=Z,W=o;break}b=b.sibling}if(!i){for(b=o.child;b;){if(b===W){i=!0,W=o,T=Z;break}if(b===T){i=!0,T=o,W=Z;break}b=b.sibling}if(!i)throw Error(E(189))}}if(W.alternate!==T)throw Error(E(190))}if(W.tag!==3)throw Error(E(188));return W.stateNode.current===W?V:U}function h1(V){var U=V.tag;if(U===5||U===26||U===27||U===6)return V;for(V=V.child;V!==null;){if(U=h1(V),U!==null)return U;V=V.sibling}return null}var CU=Object.assign,Ks=Symbol.for("react.element"),WP=Symbol.for("react.transitional.element"),ru=Symbol.for("react.portal"),VS=Symbol.for("react.fragment"),A1=Symbol.for("react.strict_mode"),vt=Symbol.for("react.profiler"),N1=Symbol.for("react.consumer"),Zo=Symbol.for("react.context"),lM=Symbol.for("react.forward_ref"),Bt=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),dM=Symbol.for("react.memo"),Ti=Symbol.for("react.lazy");Symbol.for("react.scope");var pt=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Ls=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var ok=Symbol.iterator;function tu(V){return V===null||typeof V!="object"?null:(V=ok&&V[ok]||V["@@iterator"],typeof V=="function"?V:null)}var ws=Symbol.for("react.client.reference");function Yt(V){if(V==null)return null;if(typeof V=="function")return V.$$typeof===ws?null:V.displayName||V.name||null;if(typeof V=="string")return V;switch(V){case VS:return"Fragment";case vt:return"Profiler";case A1:return"StrictMode";case Bt:return"Suspense";case st:return"SuspenseList";case pt:return"Activity"}if(typeof V=="object")switch(V.$$typeof){case ru:return"Portal";case Zo:return V.displayName||"Context";case N1:return(V._context.displayName||"Context")+".Consumer";case lM:var U=V.render;return V=V.displayName,V||(V=U.displayName||U.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case dM:return U=V.displayName||null,U!==null?U:Yt(V.type)||"Memo";case Ti:U=V._payload,V=V._init;try{return Yt(V(U))}catch{}}return null}var xu=Array.isArray,w=x1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,JU=Ys.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,kb={pending:!1,data:null,method:null,action:null},yt=[],WS=-1;function IZ(V){return{current:V}}function xV(V){0>WS||(V.current=yt[WS],yt[WS]=null,WS--)}function hU(V,U){WS++,yt[WS]=V.current,V.current=U}var eZ=IZ(null),Yu=IZ(null),Ri=IZ(null),NP=IZ(null);function mP(V,U){switch(hU(Ri,U),hU(Yu,V),hU(eZ,null),U.nodeType){case 9:case 11:V=(V=U.documentElement)&&(V=V.namespaceURI)?j1(V):0;break;default:if(V=U.tagName,U=U.namespaceURI)U=j1(U),V=VA(U,V);else switch(V){case"svg":V=1;break;case"math":V=2;break;default:V=0}}xV(eZ),hU(eZ,V)}function IS(){xV(eZ),xV(Yu),xV(Ri)}function Kt(V){V.memoizedState!==null&&hU(NP,V);var U=eZ.current,W=VA(U,V.type);U!==W&&(hU(Yu,V),hU(eZ,W))}function lP(V){Yu.current===V&&(xV(eZ),xV(Yu)),NP.current===V&&(xV(NP),Tj._currentValue=kb)}var St,ik;function Gb(V){if(St===void 0)try{throw Error()}catch(W){var U=W.stack.trim().match(/\n( *(at )?)/);St=U&&U[1]||"",ik=-1<W.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<W.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+St+V+ik}var zt=!1;function ut(V,U){if(!V||zt)return"";zt=!0;var W=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var T={DetermineComponentFrameRoot:function(){try{if(U){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(R){var q=R}Reflect.construct(V,[],u)}else{try{u.call()}catch(R){q=R}V.call(u.prototype)}}else{try{throw Error()}catch(R){q=R}(u=V())&&typeof u.catch=="function"&&u.catch(function(){})}}catch(R){if(R&&q&&typeof R.stack=="string")return[R.stack,q.stack]}return[null,null]}};T.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Z=Object.getOwnPropertyDescriptor(T.DetermineComponentFrameRoot,"name");Z&&Z.configurable&&Object.defineProperty(T.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=T.DetermineComponentFrameRoot(),i=o[0],b=o[1];if(i&&b){var O=i.split(`
4`),S=b.split(`
5`);for(Z=T=0;T<O.length&&!O[T].includes("DetermineComponentFrameRoot");)T++;for(;Z<S.length&&!S[Z].includes("DetermineComponentFrameRoot");)Z++;if(T===O.length||Z===S.length)for(T=O.length-1,Z=S.length-1;1<=T&&0<=Z&&O[T]!==S[Z];)Z--;for(;1<=T&&0<=Z;T--,Z--)if(O[T]!==S[Z]){if(T!==1||Z!==1)do if(T--,Z--,0>Z||O[T]!==S[Z]){var z=`
6`+O[T].replace(" at new "," at ");return V.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",V.displayName)),z}while(1<=T&&0<=Z);break}}}finally{zt=!1,Error.prepareStackTrace=W}return(W=V?V.displayName||V.name:"")?Gb(W):""}function Ds(V,U){switch(V.tag){case 26:case 27:case 5:return Gb(V.type);case 16:return Gb("Lazy");case 13:return V.child!==U&&U!==null?Gb("Suspense Fallback"):Gb("Suspense");case 19:return Gb("SuspenseList");case 0:case 15:return ut(V.type,!1);case 11:return ut(V.type.render,!1);case 1:return ut(V.type,!0);case 31:return Gb("Activity");default:return""}}function bk(V){try{var U="",W=null;do U+=Ds(V,W),W=V,V=V.return;while(V);return U}catch(T){return`
7Error generating stack: `+T.message+`
8`+T.stack}}var Lt=Object.prototype.hasOwnProperty,FM=tV.unstable_scheduleCallback,jt=tV.unstable_cancelCallback,fs=tV.unstable_shouldYield,gs=tV.unstable_requestPaint,aW=tV.unstable_now,Up=tV.unstable_getCurrentPriorityLevel,m1=tV.unstable_ImmediatePriority,l1=tV.unstable_UserBlockingPriority,dP=tV.unstable_NormalPriority,Vp=tV.unstable_LowPriority,d1=tV.unstable_IdlePriority,Wp=tV.log,Tp=tV.unstable_setDisableYieldValue,bj=null,CW=null;function Si(V){if(typeof Wp=="function"&&Tp(V),CW&&typeof CW.setStrictMode=="function")try{CW.setStrictMode(bj,V)}catch{}}var vW=Math.clz32?Math.clz32:ip,Zp=Math.log,op=Math.LN2;function ip(V){return V>>>=0,V===0?32:31-(Zp(V)/op|0)|0}var TP=256,ZP=262144,oP=4194304;function rb(V){var U=V&42;if(U!==0)return U;switch(V&-V){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:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return V&261888;case 262144:case 524288:case 1048576:case 2097152:return V&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return V&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return V}}function zJ(V,U,W){var T=V.pendingLanes;if(T===0)return 0;var Z=0,o=V.suspendedLanes,i=V.pingedLanes;V=V.warmLanes;var b=T&134217727;return b!==0?(T=b&~o,T!==0?Z=rb(T):(i&=b,i!==0?Z=rb(i):W||(W=b&~V,W!==0&&(Z=rb(W))))):(b=T&~o,b!==0?Z=rb(b):i!==0?Z=rb(i):W||(W=T&~V,W!==0&&(Z=rb(W)))),Z===0?0:U!==0&&U!==Z&&(U&o)===0&&(o=Z&-Z,W=U&-U,o>=W||o===32&&(W&4194048)!==0)?U:Z}function Oj(V,U){return(V.pendingLanes&~(V.suspendedLanes&~V.pingedLanes)&U)===0}function bp(V,U){switch(V){case 1:case 2:case 4:case 8:case 64:return U+250;case 16:case 32: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 U+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 F1(){var V=oP;return oP<<=1,(oP&62914560)===0&&(oP=4194304),V}function qt(V){for(var U=[],W=0;31>W;W++)U.push(V);return U}function Sj(V,U){V.pendingLanes|=U,U!==268435456&&(V.suspendedLanes=0,V.pingedLanes=0,V.warmLanes=0)}function Op(V,U,W,T,Z,o){var i=V.pendingLanes;V.pendingLanes=W,V.suspendedLanes=0,V.pingedLanes=0,V.warmLanes=0,V.expiredLanes&=W,V.entangledLanes&=W,V.errorRecoveryDisabledLanes&=W,V.shellSuspendCounter=0;var b=V.entanglements,O=V.expirationTimes,S=V.hiddenUpdates;for(W=i&~W;0<W;){var z=31-vW(W),u=1<<z;b[z]=0,O[z]=-1;var q=S[z];
vendor: 8,961 bytes, line 8
8if(q!==null)for(S[z]=null,z=0;z<q.length;z++){var R=q[z];R!==null&&(R.lane&=-536870913)}W&=~u}T!==0&&a1(V,T,0),o!==0&&Z===0&&V.tag!==0&&(V.suspendedLanes|=o&~(i&~U))}function a1(V,U,W){V.pendingLanes|=U,V.suspendedLanes&=~U;var T=31-vW(U);V.entangledLanes|=U,V.entanglements[T]=V.entanglements[T]|1073741824|W&261930}function C1(V,U){var W=V.entangledLanes|=U;for(V=V.entanglements;W;){var T=31-vW(W),Z=1<<T;Z&U|V[T]&U&&(V[T]|=U),W&=~Z}}function v1(V,U){var W=U&-U;return W=(W&42)!==0?1:aM(W),(W&(V.suspendedLanes|U))!==0?0:W}function aM(V){switch(V){case 2:V=1;break;case 8:V=4;break;case 32:V=16;break;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:V=128;break;case 268435456:V=134217728;break;default:V=0}return V}function CM(V){return V&=-V,2<V?8<V?(V&134217727)!==0?32:268435456:8:2}function B1(){var V=JU.p;return V!==0?V:(V=window.event,V===void 0?32:jA(V.type))}function Ok(V,U){var W=JU.p;try{return JU.p=V,U()}finally{JU.p=W}}var Gi=Math.random().toString(36).slice(2),CV="__reactFiber$"+Gi,cW="__reactProps$"+Gi,kS="__reactContainer$"+Gi,wt="__reactEvents$"+Gi,Sp="__reactListeners$"+Gi,zp="__reactHandles$"+Gi,Sk="__reactResources$"+Gi,zj="__reactMarker$"+Gi;function vM(V){delete V[CV],delete V[cW],delete V[wt],delete V[Sp],delete V[zp]}function TS(V){var U=V[CV];if(U)return U;for(var W=V.parentNode;W;){if(U=W[kS]||W[CV]){if(W=U.alternate,U.child!==null||W!==null&&W.child!==null)for(V=$1(V);V!==null;){if(W=V[CV])return W;V=$1(V)}return U}V=W,W=V.parentNode}return null}function XS(V){if(V=V[CV]||V[kS]){var U=V.tag;if(U===5||U===6||U===13||U===31||U===26||U===27||U===3)return V}return null}function Eu(V){var U=V.tag;if(U===5||U===26||U===27||U===6)return V.stateNode;throw Error(E(33))}function qS(V){var U=V[Sk];return U||(U=V[Sk]={hoistableStyles:new Map,hoistableScripts:new Map}),U}function rV(V){V[zj]=!0}var s1=new Set,p1={};function Cb(V,U){tS(V,U),tS(V+"Capture",U)}function tS(V,U){for(p1[V]=U,V=0;V<U.length;V++)s1.add(U[V])}var up=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]*$"),zk={},uk={};function jp(V){return Lt.call(uk,V)?!0:Lt.call(zk,V)?!1:up.test(V)?uk[V]=!0:(zk[V]=!0,!1)}function IP(V,U,W){if(jp(U))if(W===null)V.removeAttribute(U);else{switch(typeof W){case"undefined":case"function":case"symbol":V.removeAttribute(U);return;case"boolean":var T=U.toLowerCase().slice(0,5);if(T!=="data-"&&T!=="aria-"){V.removeAttribute(U);return}}V.setAttribute(U,""+W)}}function iP(V,U,W){if(W===null)V.removeAttribute(U);else{switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":V.removeAttribute(U);return}V.setAttribute(U,""+W)}}function DZ(V,U,W,T){if(T===null)V.removeAttribute(W);else{switch(typeof T){case"undefined":case"function":case"symbol":case"boolean":V.removeAttribute(W);return}V.setAttributeNS(U,W,""+T)}}function bT(V){switch(typeof V){case"bigint":case"boolean":case"number":case"string":case"undefined":return V;case"object":return V;default:return""}}function Y1(V){var U=V.type;return(V=V.nodeName)&&V.toLowerCase()==="input"&&(U==="checkbox"||U==="radio")}function qp(V,U,W){var T=Object.getOwnPropertyDescriptor(V.constructor.prototype,U);if(!V.hasOwnProperty(U)&&typeof T<"u"&&typeof T.get=="function"&&typeof T.set=="function"){var Z=T.get,o=T.set;return Object.defineProperty(V,U,{configurable:!0,get:function(){return Z.call(this)},set:function(i){W=""+i,o.call(this,i)}}),Object.defineProperty(V,U,{enumerable:T.enumerable}),{getValue:function(){return W},setValue:function(i){W=""+i},stopTracking:function(){V._valueTracker=null,delete V[U]}}}}function Dt(V){if(!V._valueTracker){var U=Y1(V)?"checked":"value";V._valueTracker=qp(V,U,""+V[U])}}function y1(V){if(!V)return!1;var U=V._valueTracker;if(!U)return!0;var W=U.getValue(),T="";return V&&(T=Y1(V)?V.checked?"true":"false":V.value),V=T,V!==W?(U.setValue(V),!0):!1}function FP(V){if(V=V||(typeof document<"u"?document:void 0),typeof V>"u")return null;try{return V.activeElement||V.body}catch{return V.body}}var Rp=/[\n"\\]/g;function zT(V){return V.replace(Rp,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function ft(V,U,W,T,Z,o,i,b){V.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?V.type=i:V.removeAttribute("type"),U!=null?i==="number"?(U===0&&V.value===""||V.value!=U)&&(V.value=""+bT(U)):V.value!==""+bT(U)&&(V.value=""+bT(U)):i!=="submit"&&i!=="reset"||V.removeAttribute("value"),U!=null?gt(V,i,bT(U)):W!=null?gt(V,i,bT(W)):T!=null&&V.removeAttribute("value"),Z==null&&o!=null&&(V.defaultChecked=!!o),Z!=null&&(V.checked=Z&&typeof Z!="function"&&typeof Z!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?V.name=""+bT(b):V.removeAttribute("name")}function K1(V,U,W,T,Z,o,i,b){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(V.type=o),U!=null||W!=null){if(!(o!=="submit"&&o!=="reset"||U!=null)){Dt(V);return}W=W!=null?""+bT(W):"",U=U!=null?""+bT(U):W,b||U===V.value||(V.value=U),V.defaultValue=U}T=T??Z,T=typeof T!="function"&&typeof T!="symbol"&&!!T,V.checked=b?V.checked:!!T,V.defaultChecked=!!T,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(V.name=i),Dt(V)}function gt(V,U,W){U==="number"&&FP(V.ownerDocument)===V||V.defaultValue===""+W||(V.defaultValue=""+W)}function RS(V,U,W,T){if(V=V.options,U){U={};for(var Z=0;Z<W.length;Z++)U["$"+W[Z]]=!0;for(W=0;W<V.length;W++)Z=U.hasOwnProperty("$"+V[W].value),V[W].selected!==Z&&(V[W].selected=Z),Z&&T&&(V[W].defaultSelected=!0)}else{for(W=""+bT(W),U=null,Z=0;Z<V.length;Z++){if(V[Z].value===W){V[Z].selected=!0,T&&(V[Z].defaultSelected=!0);return}U!==null||V[Z].disabled||(U=V[Z])}U!==null&&(U.selected=!0)}}function L1(V,U,W){if(U!=null&&(U=""+bT(U),U!==V.value&&(V.value=U),W==null)){V.defaultValue!==U&&(V.defaultValue=U);return}V.defaultValue=W!=null?""+bT(W):""}function w1(V,U,W,T){if(U==null){if(T!=null){if(W!=null)throw Error(E(92));if(xu(T)){if(1<T.length)throw Error(E(93));T=T[0]}W=T}W==null&&(W=""),U=W}W=bT(U),V.defaultValue=W,T=V.textContent,T===W&&T!==""&&T!==null&&(V.value=T),Dt(V)}function MS(V,U){if(U){var W=V.firstChild;if(W&&W===V.lastChild&&W.nodeType===3){W.nodeValue=U;return}}V.textContent=U}var Pp=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 jk(V,U,W){var T=U.indexOf("--")===0;W==null||typeof W=="boolean"||W===""?T?V.setProperty(U,""):U==="float"?V.cssFloat="":V[U]="":T?V.setProperty(U,W):typeof W!="number"||W===0||Pp.has(U)?U==="float"?V.cssFloat=W:V[U]=(""+W).trim():V[U]=W+"px"}function D1(V,U,W){if(U!=null&&typeof U!="object")throw Error(E(62));if(V=V.style,W!=null){for(var T in W)!W.hasOwnProperty(T)||U!=null&&U.hasOwnProperty(T)||(T.indexOf("--")===0?V.setProperty(T,""):T==="float"?V.cssFloat="":V[T]="");for(var Z in U)T=U[Z],U.hasOwnProperty(Z)&&W[Z]!==T&&jk(V,Z,T)}else for(var o in U)U.hasOwnProperty(o)&&jk(V,o,U[o])}function BM(V){if(V.indexOf("-")===-1)return!1;switch(V){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 Jp=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"],["colorRen
8dering","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-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"]]),$p=/^[\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 tP(V){return $p.test(""+V)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":V}function oo(){}var UM=null;function sM(V){return V=V.target||V.srcElement||window,V.correspondingUseElement&&(V=V.correspondingUseElement),V.nodeType===3?V.parentNode:V}var ZS=null,PS=null;function qk(V){var U=XS(V);if(U&&(V=U.stateNode)){var W=V[cW]||null;U:switch(V=U.stateNode,U.type){case"input":if(ft(V,W.value,W.defaultValue,W.defaultValue,W.checked,W.defaultChecked,W.type,W.name),U=W.name,W.type==="radio"&&U!=null){for(W=V;W.parentNode;)W=W.parentNode;for(W=W.querySelectorAll('input[name="'+zT(""+U)+'"][type="radio"]'),U=0;U<W.length;U++){var T=W[U];if(T!==V&&T.form===V.form){var Z=T[cW]||null;if(!Z)throw Error(E(90));ft(T,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for(U=0;U<W.length;U++)T=W[U],T.form===V.form&&y1(T)}break U;case"textarea":L1(V,W.value,W.defaultValue);break U;case"select":U=W.value,U!=null&&RS(V,!!W.multiple,U,!1)}}}var Rt=!1;function f1(V,U,W){if(Rt)return V(U,W);Rt=!0;try{var T=V(U);return T}finally{if(Rt=!1,(ZS!==null||PS!==null)&&(MJ(),ZS&&(U=ZS,V=PS,PS=ZS=null,qk(U),V)))for(U=0;U<V.length;U++)qk(V[U])}}function yu(V,U){var W=V.stateNode;if(W===null)return null;var T=W[cW]||null;if(T===null)return null;W=T[U];U:switch(U){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(T=!T.disabled)||(V=V.type,T=!(V==="button"||V==="input"||V==="select"||V==="textarea")),V=!T;break U;default:V=!1}if(V)return null;if(W&&typeof W!="function")throw Error(E(231,U,typeof W));return W}var zo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),VM=!1;if(zo)try{wO={}
vendor: 112,533 bytes, line 8
8,Object.defineProperty(wO,"passive",{get:function(){VM=!0}}),window.addEventListener("test",wO,wO),window.removeEventListener("test",wO,wO)}catch{VM=!1}var wO,zi=null,pM=null,MP=null;function g1(){if(MP)return MP;var V,U=pM,W=U.length,T,Z="value"in zi?zi.value:zi.textContent,o=Z.length;for(V=0;V<W&&U[V]===Z[V];V++);var i=W-V;for(T=1;T<=i&&U[W-T]===Z[o-T];T++);return MP=Z.slice(V,1<T?1-T:void 0)}function QP(V){var U=V.keyCode;return"charCode"in V?(V=V.charCode,V===0&&U===13&&(V=13)):V=U,V===10&&(V=13),32<=V||V===13?V:0}function bP(){return!0}function Rk(){return!1}function GW(V){function U(W,T,Z,o,i){this._reactName=W,this._targetInst=Z,this.type=T,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var b in V)V.hasOwnProperty(b)&&(W=V[b],this[b]=W?W(o):o[b]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?bP:Rk,this.isPropagationStopped=Rk,this}return CU(U.prototype,{preventDefault:function(){this.defaultPrevented=!0;var W=this.nativeEvent;W&&(W.preventDefault?W.preventDefault():typeof W.returnValue!="unknown"&&(W.returnValue=!1),this.isDefaultPrevented=bP)},stopPropagation:function(){var W=this.nativeEvent;W&&(W.stopPropagation?W.stopPropagation():typeof W.cancelBubble!="unknown"&&(W.cancelBubble=!0),this.isPropagationStopped=bP)},persist:function(){},isPersistent:bP}),U}var vb={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(V){return V.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uJ=GW(vb),uj=CU({},vb,{view:0,detail:0}),_p=GW(uj),Pt,Jt,Mu,jJ=CU({},uj,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:YM,button:0,buttons:0,relatedTarget:function(V){return V.relatedTarget===void 0?V.fromElement===V.srcElement?V.toElement:V.fromElement:V.relatedTarget},movementX:function(V){return"movementX"in V?V.movementX:(V!==Mu&&(Mu&&V.type==="mousemove"?(Pt=V.screenX-Mu.screenX,Jt=V.screenY-Mu.screenY):Jt=Pt=0,Mu=V),Pt)},movementY:function(V){return"movementY"in V?V.movementY:Jt}}),Pk=GW(jJ),ep=CU({},jJ,{dataTransfer:0}),Ip=GW(ep),tp=CU({},uj,{relatedTarget:0}),$t=GW(tp),Mp=CU({},vb,{animationName:0,elapsedTime:0,pseudoElement:0}),Qp=GW(Mp),np=CU({},vb,{clipboardData:function(V){return"clipboardData"in V?V.clipboardData:window.clipboardData}}),Hp=GW(np),cp=CU({},vb,{data:0}),Jk=GW(cp),Gp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rp={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"},xp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ep(V){var U=this.nativeEvent;return U.getModifierState?U.getModifierState(V):(V=xp[V])?!!U[V]:!1}function YM(){return Ep}var kp=CU({},uj,{key:function(V){if(V.key){var U=Gp[V.key]||V.key;if(U!=="Unidentified")return U}return V.type==="keypress"?(V=QP(V),V===13?"Enter":String.fromCharCode(V)):V.type==="keydown"||V.type==="keyup"?rp[V.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:YM,charCode:function(V){return V.type==="keypress"?QP(V):0},keyCode:function(V){return V.type==="keydown"||V.type==="keyup"?V.keyCode:0},which:function(V){return V.type==="keypress"?QP(V):V.type==="keydown"||V.type==="keyup"?V.keyCode:0}}),Xp=GW(kp),hp=CU({},jJ,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$k=GW(hp),Ap=CU({},uj,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:YM}),Np=GW(Ap),mp=CU({},vb,{propertyName:0,elapsedTime:0,pseudoElement:0}),lp=GW(mp),dp=CU({},jJ,{deltaX:function(V){return"deltaX"in V?V.deltaX:"wheelDeltaX"in V?-V.wheelDeltaX:0},deltaY:function(V){return"deltaY"in V?V.deltaY:"wheelDeltaY"in V?-V.wheelDeltaY:"wheelDelta"in V?-V.wheelDelta:0},deltaZ:0,deltaMode:0}),Fp=GW(dp),ap=CU({},vb,{newState:0,oldState:0}),Cp=GW(ap),vp=[9,13,27,32],yM=zo&&"CompositionEvent"in window,hu=null;zo&&"documentMode"in document&&(hu=document.documentMode);var Bp=zo&&"TextEvent"in window&&!hu,UX=zo&&(!yM||hu&&8<hu&&11>=hu),_k=" ",ek=!1;function VX(V,U){switch(V){case"keyup":return vp.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function WX(V){return V=V.detail,typeof V=="object"&&"data"in V?V.data:null}var oS=!1;function sp(V,U){switch(V){case"compositionend":return WX(U);case"keypress":return U.which!==32?null:(ek=!0,_k);case"textInput":return V=U.data,V===_k&&ek?null:V;default:return null}}function pp(V,U){if(oS)return V==="compositionend"||!yM&&VX(V,U)?(V=g1(),MP=pM=zi=null,oS=!1,V):null;switch(V){case"paste":return null;case"keypress":if(!(U.ctrlKey||U.altKey||U.metaKey)||U.ctrlKey&&U.altKey){if(U.char&&1<U.char.length)return U.char;if(U.which)return String.fromCharCode(U.which)}return null;case"compositionend":return UX&&U.locale!=="ko"?null:U.data;default:return null}}var Yp={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 Ik(V){var U=V&&V.nodeName&&V.nodeName.toLowerCase();return U==="input"?!!Yp[V.type]:U==="textarea"}function TX(V,U,W,T){ZS?PS?PS.push(T):PS=[T]:ZS=T,U=TJ(U,"onChange"),0<U.length&&(W=new uJ("onChange","change",null,W,T),V.push({event:W,listeners:U}))}var Au=null,Ku=null;function yp(V){fh(V,0)}function qJ(V){var U=Eu(V);if(y1(U))return V}function tk(V,U){if(V==="change")return U}var ZX=!1;zo&&(zo?(SP="oninput"in document,SP||(_t=document.createElement("div"),_t.setAttribute("oninput","return;"),SP=typeof _t.oninput=="function"),OP=SP):OP=!1,ZX=OP&&(!document.documentMode||9<document.documentMode));var OP,SP,_t;function Mk(){Au&&(Au.detachEvent("onpropertychange",oX),Ku=Au=null)}function oX(V){if(V.propertyName==="value"&&qJ(Ku)){var U=[];TX(U,Ku,V,sM(V)),f1(yp,U)}}function Kp(V,U,W){V==="focusin"?(Mk(),Au=U,Ku=W,Au.attachEvent("onpropertychange",oX)):V==="focusout"&&Mk()}function Lp(V){if(V==="selectionchange"||V==="keyup"||V==="keydown")return qJ(Ku)}function wp(V,U){if(V==="click")return qJ(U)}function Dp(V,U){if(V==="input"||V==="change")return qJ(U)}function fp(V,U){return V===U&&(V!==0||1/V===1/U)||V!==V&&U!==U}var sW=typeof Object.is=="function"?Object.is:fp;function Lu(V,U){if(sW(V,U))return!0;if(typeof V!="object"||V===null||typeof U!="object"||U===null)return!1;var W=Object.keys(V),T=Object.keys(U);if(W.length!==T.length)return!1;for(T=0;T<W.length;T++){var Z=W[T];if(!Lt.call(U,Z)||!sW(V[Z],U[Z]))return!1}return!0}function Qk(V){for(;V&&V.firstChild;)V=V.firstChild;return V}function nk(V,U){var W=Qk(V);V=0;for(var T;W;){if(W.nodeType===3){if(T=V+W.textContent.length,V<=U&&T>=U)return{node:W,offset:U-V};V=T}U:{for(;W;){if(W.nextSibling){W=W.nextSibling;break U}W=W.parentNode}W=void 0}W=Qk(W)}}function iX(V,U){return V&&U?V===U?!0:V&&V.nodeType===3?!1:U&&U.nodeType===3?iX(V,U.parentNode):"contains"in V?V.contains(U):V.compareDocumentPosition?!!(V.compareDocumentPosition(U)&16):!1:!1}function bX(V){V=V!=null&&V.ownerDocument!=null&&V.ownerDocument.defaultView!=null?V.ownerDocument.defaultView:window;for(var U=FP(V.document);U instanceof V.HTMLIFrameElement;){try{var W=typeof U.contentWindow.location.href=="string"}catch{W=!1}if(W)V=U.contentWindow;else break;U=FP(V.document)}return U}function KM(V){var U=V&&V.nodeName&&V.nodeName.toLowerCase();return U&&(U==="input"&&(V.type==="text"||V.type==="search"||V.type==="tel"||V.type==="url"||V.type==="password")||U==="textarea"||V.contentEditable==="true")}var gp=zo&&"documentMode"in document&&11>=document.documentMode,iS=null,WM=null,Nu=null,TM=!1;function Hk(V,U,W){var T=W.window===W?W.document:W.nodeType===9?W:W.ownerDocument;TM||iS==null||iS!==FP(T)||(T=iS,"selectionStart"in T&&KM(T)?T={start:T.selectionStart,end:T.selectionEnd}:(T=(T.ownerDocument&&T.ownerDocument.defaultView||window).getSelection(),T={anchorNode:T.anchorNode,anchorOffset:T.anchorOffset,focusNode:T.focusNode,focusOffset:T.focusOffset}),Nu&&Lu(Nu,T)||(Nu=T,T=TJ(WM,"onSelect"),0<T.length&&(U=new uJ("onSelect","select",null,U,W),V.push({event:U,listeners:T}),U.target=iS)))}function cb(V,U){var W={};return W[V.toLowerCase()]=U.toLowerCase(),W["Webkit"+V]="webkit"+U,W["Moz"+V]="moz"+U,W}var bS={animationend:cb("Animation","AnimationEnd"),animationiteration:cb("Animation","AnimationIteration"),animationstart:cb("Animation","AnimationStart"),transitionrun:cb("Transition","TransitionRun"),transitionstart:cb("Transition","TransitionStart"),transitioncancel:cb("Transition","TransitionCancel"),transitionend:cb("Transition","TransitionEnd")},et={},OX={};zo&&(OX=document.createElement("div").style,"AnimationEvent"in window||(delete bS.animationend.animation,delete bS.animationiteration.animation,delete bS.animationstart.animation),"TransitionEvent"in window||delete bS.transitionend.transition);function Bb(V){if(et[V])return et[V];if(!bS[V])return V;var U=bS[V],W;for(W in U)if(U.hasOwnProperty(W)&&W in OX)return et[V]=U[W];return V}var SX=Bb("animationend"),zX=Bb("animationiteration"),uX=Bb("animationstart"),UY=Bb("transitionrun"),VY=Bb("transitionstart"),WY=Bb("transitioncancel"),jX=Bb("transitionend"),qX=new Map,ZM="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 toggle touchMove waiting wheel".split(" ");ZM.push("scrollEnd");function aT(V,U){qX.set(V,U),Cb(U,[V])}var aP=typeof reportError=="function"?reportError:function(V){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof V=="object"&&V!==null&&typeof V.message=="string"?String(V.message):String(V),error:V});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",V);return}console.error(V)},iT=[],OS=0,LM=0;function RJ(){for(var V=OS,U=LM=OS=0;U<V;){var W=iT[U];iT[U++]=null;var T=iT[U];iT[U++]=null;var Z=iT[U];iT[U++]=null;var o=iT[U];if(iT[U++]=null,T!==null&&Z!==null){var i=T.pending;i===null?Z.next=Z:(Z.next=i.next,i.next=Z),T.pending=Z}o!==0&&RX(W,Z,o)}}function PJ(V,U,W,T){iT[OS++]=V,iT[OS++]=U,iT[OS++]=W,iT[OS++]=T,LM|=T,V.lanes|=T,V=V.alternate,V!==null&&(V.lanes|=T)}function wM(V,U,W,T){return PJ(V,U,W,T),CP(V)}function sb(V,U){return PJ(V,null,null,U),CP(V)}function RX(V,U,W){V.lanes|=W;var T=V.alternate;T!==null&&(T.lanes|=W);for(var Z=!1,o=V.return;o!==null;)o.childLanes|=W,T=o.alternate,T!==null&&(T.childLanes|=W),o.tag===22&&(V=o.stateNode,V===null||V._visibility&1||(Z=!0)),V=o,o=o.return;return V.tag===3?(o=V.stateNode,Z&&U!==null&&(Z=31-vW(W),V=o.hiddenUpdates,T=V[Z],T===null?V[Z]=[U]:T.push(U),U.lane=W|536870912),o):null}function CP(V){if(50<su)throw su=0,HM=null,Error(E(185));for(var U=V.return;U!==null;)V=U,U=V.return;return V.tag===3?V.stateNode:null}var SS={};function TY(V,U,W,T){this.tag=V,this.key=W,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=U,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=T,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dW(V,U,W,T){return new TY(V,U,W,T)}function DM(V){return V=V.prototype,!(!V||!V.isReactComponent)}function bo(V,U){var W=V.alternate;return W===null?(W=dW(V.tag,U,V.key,V.mode),W.elementType=V.elementType,W.type=V.type,W.stateNode=V.stateNode,W.alternate=V,V.alternate=W):(W.pendingProps=U,W.type=V.type,W.flags=0,W.subtreeFlags=0,W.deletions=null),W.flags=V.flags&65011712,W.childLanes=V.childLanes,W.lanes=V.lanes,W.child=V.child,W.memoizedProps=V.memoizedProps,W.memoizedState=V.memoizedState,W.updateQueue=V.updateQueue,U=V.dependencies,W.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext},W.sibling=V.sibling,W.index=V.index,W.ref=V.ref,W.refCleanup=V.refCleanup,W}function PX(V,U){V.flags&=65011714;var W=V.alternate;return W===null?(V.childLanes=0,V.lanes=U,V.child=null,V.subtreeFlags=0,V.memoizedProps=null,V.memoizedState=null,V.updateQueue=null,V.dependencies=null,V.stateNode=null):(V.childLanes=W.childLanes,V.lanes=W.lanes,V.child=W.child,V.subtreeFlags=0,V.deletions=null,V.memoizedProps=W.memoizedProps,V.memoizedState=W.memoizedState,V.updateQueue=W.updateQueue,V.type=W.type,U=W.dependencies,V.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext}),V}function nP(V,U,W,T,Z,o){var i=0;if(T=V,typeof V=="function")DM(V)&&(i=1);else if(typeof V=="string")i=iy(V,W,eZ.current)?26:V==="html"||V==="head"||V==="body"?27:5;else U:switch(V){case pt:return V=dW(31,W,U,Z),V.elementType=pt,V.lanes=o,V;case VS:return Xb(W.children,Z,o,U);case A1:i=8,Z|=24;break;case vt:return V=dW(12,W,U,Z|2),V.elementType=vt,V.lanes=o,V;case Bt:return V=dW(13,W,U,Z),V.elementType=Bt,V.lanes=o,V;case st:return V=dW(19,W,U,Z),V.elementType=st,V.lanes=o,V;default:if(typeof V=="object"&&V!==null)switch(V.$$typeof){case Zo:i=10;break U;case N1:i=9;break U;case lM:i=11;break U;case dM:i=14;break U;case Ti:i=16,T=null;break U}i=29,W=Error(E(130,V===null?"null":typeof V,"")),T=null}return U=dW(i,W,U,Z),U.elementType=V,U.type=T,U.lanes=o,U}function Xb(V,U,W,T){return V=dW(7,V,T,U),V.lanes=W,V}function It(V,U,W){return V=dW(6,V,null,U),V.lanes=W,V}function JX(V){var U=dW(18,null,null,0);return U.stateNode=V,U}function tt(V,U,W){return U=dW(4,V.children!==null?V.children:[],V.key,U),U.lanes=W,U.stateNode={containerInfo:V.containerInfo,pendingChildren:null,implementation:V.implementation},U}var ck=new WeakMap;function uT(V,U){if(typeof V=="object"&&V!==null){var W=ck.get(V);return W!==void 0?W:(U={value:V,source:U,stack:bk(U)},ck.set(V,U),U)}return{value:V,source:U,stack:bk(U)}}var zS=[],uS=0,vP=null,wu=0,OT=[],ST=0,Qi=null,JZ=1,$Z="";function Wo(V,U){zS[uS++]=wu,zS[uS++]=vP,vP=V,wu=U}function $X(V,U,W){OT[ST++]=JZ,OT[ST++]=$Z,OT[ST++]=Qi,Qi=V;var T=JZ;V=$Z;var Z=32-vW(T)-1;T&=~(1<<Z),W+=1;var o=32-vW(U)+Z;if(30<o){var i=Z-Z%5;o=(T&(1<<i)-1).toString(32),T>>=i,Z-=i,JZ=1<<32-vW(U)+Z|W<<Z|T,$Z=o+V}else JZ=1<<o|W<<Z|T,$Z=V}function fM(V){V.return!==null&&(Wo(V,1),$X(V,1,0))}function gM(V){for(;V===vP;)vP=zS[--uS],zS[uS]=null,wu=zS[--uS],zS[uS]=null;for(;V===Qi;)Qi=OT[--ST],OT[ST]=null,$Z=OT[--ST],OT[ST]=null,JZ=OT[--ST],OT[ST]=null}function _X(V,U){OT[ST++]=JZ,OT[ST++]=$Z,OT[ST++]=Qi,JZ=U.id,$Z=U.overflow,Qi=V}var vV=null,aU=null,zU=!1,Pi=null,jT=!1,oM=Error(E(519));function ni(V){var U=Error(E(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Du(uT(U,V)),oM}function Gk(V){var U=V.stateNode,W=V.type,T=V.memoizedProps;switch(U[CV]=V,U[cW]=T,W){case"dialog":TU("cancel",U),TU("close",U);break;case"iframe":case"object":case"embed":TU("load",U);break;case"video":case"audio":for(W=0;W<Vj.length;W++)TU(Vj[W],U);break;case"source":TU("error",U);break;case"img":case"image":case"link":TU("error",U),TU("load",U);break;case"details":TU("toggle",U);break;case"input":TU("invalid",U),K1(U,T.value,T.defaultValue,T.checked,T.defaultChecked,T.type,T.name,!0);break;case"select":TU("invalid",U);break;case"textarea":TU("invalid",U),w1(U,T.value,T.defaultValue,T.children)}W=T.children,typeof W!="string"&&typeof W!="number"&&typeof W!="bigint"||U.textContent===""+W||T.suppressHydrationWarning===!0||UA(U.textContent,W)?(T.popover!=null&&(TU("beforetoggle",U),TU("toggle",U)),T.onScroll!=null&&TU("scroll",U),T.onScrollEnd!=null&&TU("scrollend",U),T.onClick!=null&&(U.onclick=oo),U=!0):U=!1,U||ni(V,!0)}function rk(V){for(vV=V.return;vV;)switch(vV.tag){case 5:case 31:case 13:jT=!1;return;case 27:case 3:jT=!0;return;default:vV=vV.return}}function DO(V){if(V!==vV)return!1;if(!zU)return rk(V),zU=!0,!1;var U=V.tag,W;if((W=U!==3&&U!==27)&&((W=U===5)&&(W=V.type,W=!(W!=="form"&&W!=="button")||EM(V.type,V.memoizedProps)),W=!W),W&&aU&&ni(V),rk(V),U===13){if(V=V.memoizedState,V=V!==null?V.dehydrated:null,!V)throw Error(E(317));aU=J1(V)}else if(U===31){if(V=V.memoizedState,V=V!==null?V.dehydrated:null,!V)throw Error(E(317));aU=J1(V)}else U===27?(U=aU,ri(V.type)?(V=AM,AM=null,aU=V):aU=U):aU=vV?RT(V.stateNode.nextSibling):null;return!0}function mb(){aU=vV=null,zU=!1}function Mt(){var V=Pi;return V!==null&&(nW===null?nW=V:nW.push.apply(nW,V),Pi=null),V}function Du(V){Pi===null?Pi=[V]:Pi.push(V)}var iM=IZ(null),pb=null,io=null;function oi(V,U,W){hU(iM,U._currentValue),U._currentValue=W}function Oo(V){V._currentValue=iM.current,xV(iM)}function bM(V,U,W){for(;V!==null;){var T=V.alternate;if((V.childLanes&U)!==U?(V.childLanes|=U,T!==null&&(T.childLanes|=U)):T!==null&&(T.childLanes&U)!==U&&(T.childLanes|=U),V===W)break;V=V.return}}function OM(V,U,W,T){var Z=V.child;for(Z!==null&&(Z.return=V);Z!==null;){var o=Z.dependencies;if(o!==null){var i=Z.child;o=o.firstContext;U:for(;o!==null;){var b=o;o=Z;for(var O=0;O<U.length;O++)if(b.context===U[O]){o.lanes|=W,b=o.alternate,b!==null&&(b.lanes|=W),bM(o.return,W,V),T||(i=null);break U}o=b.next}}else if(Z.tag===18){if(i=Z.return,i===null)throw Error(E(341));i.lanes|=W,o=i.alternate,o!==null&&(o.lanes|=W),bM(i,W,V),i=null}else i=Z.child;if(i!==null)i.return=Z;else for(i=Z;i!==null;){if(i===V){i=null;break}if(Z=i.sibling,Z!==null){Z.return=i.return,i=Z;break}i=i.return}Z=i}}function hS(V,U,W,T){V=null;for(var Z=U,o=!1;Z!==null;){if(!o){if((Z.flags&524288)!==0)o=!0;else if((Z.flags&262144)!==0)break}if(Z.tag===10){var i=Z.alternate;if(i===null)throw Error(E(387));if(i=i.memoizedProps,i!==null){var b=Z.type;sW(Z.pendingProps.value,i.value)||(V!==null?V.push(b):V=[b])}}else if(Z===NP.current){if(i=Z.alternate,i===null)throw Error(E(387));i.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&(V!==null?V.push(Tj):V=[Tj])}Z=Z.return}V!==null&&OM(U,V,W,T),U.flags|=262144}function BP(V){for(V=V.firstContext;V!==null;){if(!sW(V.context._currentValue,V.memoizedValue))return!0;V=V.next}return!1}function lb(V){pb=V,io=null,V=V.dependencies,V!==null&&(V.firstContext=null)}function BV(V){return eX(pb,V)}function zP(V,U){return pb===null&&lb(V),eX(V,U)}function eX(V,U){var W=U._currentValue;if(U={context:U,memoizedValue:W,next:null},io===null){if(V===null)throw Error(E(308));io=U,V.dependencies={lanes:0,firstContext:U},V.flags|=524288}else io=io.next=U;return W}var ZY=typeof AbortController<"u"?AbortController:function(){var V=[],U=this.signal={aborted:!1,addEventListener:function(W,T){V.push(T)}};this.abort=function(){U.aborted=!0,V.forEach(function(W){return W()})}},oY=tV.unstable_scheduleCallback,iY=tV.unstable_NormalPriority,uV={$$typeof:Zo,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function U4(){return{controller:new ZY,data:new Map,refCount:0}}function jj(V){V.refCount--,V.refCount===0&&oY(iY,function(){V.controller.abort()})}var mu=null,SM=0,QS=0,JS=null;function bY(V,U){if(mu===null){var W=mu=[];SM=0,QS=H4(),JS={status:"pending",value:void 0,then:function(T){W.push(T)}}}return SM++,U.then(xk,xk),U}function xk(){if(--SM===0&&mu!==null){JS!==null&&(JS.status="fulfilled");var V=mu;mu=null,QS=0,JS=null;for(var U=0;U<V.length;U++)(0,V[U])()}}function OY(V,U){var W=[],T={status:"pending",value:null,reason:null,then:function(Z){W.push(Z)}};return V.then(function(){T.status="fulfilled",T.value=U;for(var Z=0;Z<W.length;Z++)(0,W[Z])(U)},function(Z){for(T.status="rejected",T.reason=Z,Z=0;Z<W.length;Z++)(0,W[Z])(void 0)}),T}var Ek=w.S;w.S=function(V,U){hh=aW(),typeof U=="object"&&U!==null&&typeof U.then=="function"&&bY(V,U),Ek!==null&&Ek(V,U)};var hb=IZ(null);function V4(){var V=hb.current;return V!==null?V:rU.pooledCache}function HP(V,U){U===null?hU(hb,hb.current):hU(hb,U.pool)}function IX(){var V=V4();return V===null?null:{parent:uV._currentValue,pool:V}}var AS=Error(E(460)),W4=Error(E(474)),JJ=Error(E(542)),sP={then:function(){}};function kk(V){return V=V.status,V==="fulfilled"||V==="rejected"}function tX(V,U,W){switch(W=V[W],W===void 0?V.push(U):W!==U&&(U.then(oo,oo),U=W),U.status){case"fulfilled":return U.value;case"rejected":throw V=U.reason,hk(V),V;default:if(typeof U.status=="string")U.then(oo,oo);else{if(V=rU,V!==null&&100<V.shellSuspendCounter)throw Error(E(482));V=U,V.status="pending",V.then(function(T){if(U.status==="pending"){var Z=U;Z.status="fulfilled",Z.value=T}},function(T){if(U.status==="pending"){var Z=U;Z.status="rejected",Z.reason=T}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw V=U.reason,hk(V),V}throw Ab=U,AS}}function xb(V){try{var U=V._init;return U(V._payload)}catch(W){throw W!==null&&typeof W=="object"&&typeof W.then=="function"?(Ab=W,AS):W}}var Ab=null;function Xk(){if(Ab===null)throw Error(E(459));var V=Ab;return Ab=null,V}function hk(V){if(V===AS||V===JJ)throw Error(E(483))}var $S=null,fu=0;function uP(V){var U=fu;return fu+=1,$S===null&&($S=[]),tX($S,V,U)}function Qu(V,U){U=U.props.ref,V.ref=U!==void 0?U:null}function jP(V,U){throw U.$$typeof===Ks?Error(E(525)):(V=Object.prototype.toString.call(U),Error(E(31,V==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":V)))}function MX(V){function U(P,$){if(V){var t=P.deletions;t===null?(P.deletions=[$],P.flags|=16):t.push($)}}function W(P,$){if(!V)return null;for(;$!==null;)U(P,$),$=$.sibling;return null}function T(P){for(var $=new Map;P!==null;)P.key!==null?$.set(P.key,P):$.set(P.index,P),P=P.sibling;return $}function Z(P,$){return P=bo(P,$),P.index=0,P.sibling=null,P}function o(P,$,t){return P.index=t,V?(t=P.alternate,t!==null?(t=t.index,t<$?(P.flags|=67108866,$):t):(P.flags|=67108866,$)):(P.flags|=1048576,$)}function i(P){return V&&P.alternate===null&&(P.flags|=67108866),P}function b(P,$,t,Q){return $===null||$.tag!==6?($=It(t,P.mode,Q),$.return=P,$):($=Z($,t),$.return=P,$)}function O(P,$,t,Q){var x=t.type;return x===VS?z(P,$,t.props.children,Q,t.key):$!==null&&($.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ti&&xb(x)===$.type)?($=Z($,t.props),Qu($,t),$.return=P,$):($=nP(t.type,t.key,t.props,null,P.mode,Q),Qu($,t),$.return=P,$)}function S(P,$,t,Q){return $===null||$.tag!==4||$.stateNode.containerInfo!==t.containerInfo||$.stateNode.implementation!==t.implementation?($=tt(t,P.mode,Q),$.return=P,$):($=Z($,t.children||[]),$.return=P,$)}function z(P,$,t,Q,x){return $===null||$.tag!==7?($=Xb(t,P.mode,Q,x),$.return=P,$):($=Z($,t),$.return=P,$)}function u(P,$,t){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return $=It(""+$,P.mode,t),$.return=P,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case WP:return t=nP($.type,$.key,$.props,null,P.mode,t),Qu(t,$),t.return=P,t;case ru:return $=tt($,P.mode,t),$.return=P,$;case Ti:return $=xb($),u(P,$,t)}if(xu($)||tu($))return $=Xb($,P.mode,t,null),$.return=P,$;if(typeof $.then=="function")return u(P,uP($),t);if($.$$typeof===Zo)return u(P,zP(P,$),t);jP(P,$)}return null}function q(P,$,t,Q){var x=$!==null?$.key:null;if(typeof t=="string"&&t!==""||typeof t=="number"||typeof t=="bigint")return x!==null?null:b(P,$,""+t,Q);if(typeof t=="object"&&t!==null){switch(t.$$typeof){case WP:return t.key===x?O(P,$,t,Q):null;case ru:return t.key===x?S(P,$,t,Q):null;case Ti:return t=xb(t),q(P,$,t,Q)}if(xu(t)||tu(t))return x!==null?null:z(P,$,t,Q,null);if(typeof t.then=="function")return q(P,$,uP(t),Q);if(t.$$typeof===Zo)return q(P,$,zP(P,t),Q);jP(P,t)}return null}function R(P,$,t,Q,x){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return P=P.get(t)||null,b($,P,""+Q,x);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case WP:return P=P.get(Q.key===null?t:Q.key)||null,O($,P,Q,x);case ru:return P=P.get(Q.key===null?t:Q.key)||null,S($,P,Q,x);case Ti:return Q=xb(Q),R(P,$,t,Q,x)}if(xu(Q)||tu(Q))return P=P.get(t)||null,z($,P,Q,x,null);if(typeof Q.then=="function")return R(P,$,t,uP(Q),x);if(Q.$$typeof===Zo)return R(P,$,t,zP($,Q),x);jP($,Q)}return null}function I(P,$,t,Q){for(var x=null,k=null,r=$,A=$=0,d=null;r!==null&&A<t.length;A++){r.index>A?(d=r,r=null):d=r.sibling;var a=q(P,r,t[A],Q);if(a===null){r===null&&(r=d);break}V&&r&&a.alternate===null&&U(P,r),$=o(a,$,A),k===null?x=a:k.sibling=a,k=a,r=d}if(A===t.length)return W(P,r),zU&&Wo(P,A),x;if(r===null){for(;A<t.length;A++)r=u(P,t[A],Q),r!==null&&($=o(r,$,A),k===null?x=r:k.sibling=r,k=r);return zU&&Wo(P,A),x}for(r=T(r);A<t.length;A++)d=R(r,P,A,t[A],Q),d!==null&&(V&&d.alternate!==null&&r.delete(d.key===null?A:d.key),$=o(d,$,A),k===null?x=d:k.sibling=d,k=d);return V&&r.forEach(function(xU){return U(P,xU)}),zU&&Wo(P,A),x}function M(P,$,t,Q){if(t==null)throw Error(E(151));for(var x=null,k=null,r=$,A=$=0,d=null,a=t.next();r!==null&&!a.done;A++,a=t.next()){r.index>A?(d=r,r=null):d=r.sibling;var xU=q(P,r,a.value,Q);if(xU===null){r===null&&(r=d);break}V&&r&&xU.alternate===null&&U(P,r),$=o(xU,$,A),k===null?x=xU:k.sibling=xU,k=xU,r=d}if(a.done)return W(P,r),zU&&Wo(P,A),x;if(r===null){for(;!a.done;A++,a=t.next())a=u(P,a.value,Q),a!==null&&($=o(a,$,A),k===null?x=a:k.sibling=a,k=a);return zU&&Wo(P,A),x}for(r=T(r);!a.done;A++,a=t.next())a=R(r,P,A,a.value,Q),a!==null&&(V&&a.alternate!==null&&r.delete(a.key===null?A:a.key),$=o(a,$,A),k===null?x=a:k.sibling=a,k=a);return V&&r.forEach(function(UU){return U(P,UU)}),zU&&Wo(P,A),x}function n(P,$,t,Q){if(typeof t=="object"&&t!==null&&t.type===VS&&t.key===null&&(t=t.props.children),typeof t=="object"&&t!==null){switch(t.$$typeof){case WP:U:{for(var x=t.key;$!==null;){if($.key===x){if(x=t.type,x===VS){if($.tag===7){W(P,$.sibling),Q=Z($,t.props.children),Q.return=P,P=Q;break U}}else if($.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ti&&xb(x)===$.type){W(P,$.sibling),Q=Z($,t.props),Qu(Q,t),Q.return=P,P=Q;break U}W(P,$);break}else U(P,$);$=$.sibling}t.type===VS?(Q=Xb(t.props.children,P.mode,Q,t.key),Q.return=P,P=Q):(Q=nP(t.type,t.key,t.props,null,P.mode,Q),Qu(Q,t),Q.return=P,P=Q)}return i(P);case ru:U:{for(x=t.key;$!==null;){if($.key===x)if($.tag===4&&$.stateNode.containerInfo===t.containerInfo&&$.stateNode.implementation===t.implementation){W(P,$.sibling),Q=Z($,t.children||[]),Q.return=P,P=Q;break U}else{W(P,$);break}else U(P,$);$=$.sibling}Q=tt(t,P.mode,Q),Q.return=P,P=Q}return i(P);case Ti:return t=xb(t),n(P,$,t,Q)}if(xu(t))return I(P,$,t,Q);if(tu(t)){if(x=tu(t),typeof x!="function")throw Error(E(150));return t=x.call(t),M(P,$,t,Q)}if(typeof t.then=="function")return n(P,$,uP(t),Q);if(t.$$typeof===Zo)return n(P,$,zP(P,t),Q);jP(P,t)}return typeof t=="string"&&t!==""||typeof t=="number"||typeof t=="bigint"?(t=""+t,$!==null&&$.tag===6?(W(P,$.sibling),Q=Z($,t),Q.return=P,P=Q):(W(P,$),Q=It(t,P.mode,Q),Q.return=P,P=Q),i(P)):W(P,$)}return function(P,$,t,Q){try{fu=0;var x=n(P,$,t,Q);return $S=null,x}catch(r){if(r===AS||r===JJ)throw r;var k=dW(29,r,null,P.mode);return k.lanes=Q,k.return=P,k}finally{}}}var db=MX(!0),QX=MX(!1),Zi=!1;function T4(V){V.updateQueue={baseState:V.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zM(V,U){V=V.updateQueue,U.updateQueue===V&&(U.updateQueue={baseState:V.baseState,firstBaseUpdate:V.firstBaseUpdate,lastBaseUpdate:V.lastBaseUpdate,shared:V.shared,callbacks:null})}function Ji(V){return{lane:V,tag:0,payload:null,callback:null,next:null}}function $i(V,U,W){var T=V.updateQueue;if(T===null)return null;if(T=T.shared,(PU&2)!==0){var Z=T.pending;return Z===null?U.next=U:(U.next=Z.next,Z.next=U),T.pending=U,U=CP(V),RX(V,null,W),U}return PJ(V,T,U,W),CP(V)}function lu(V,U,W){if(U=U.updateQueue,U!==null&&(U=U.shared,(W&4194048)!==0)){var T=U.lanes;T&=V.pendingLanes,W|=T,U.lanes=W,C1(V,W)}}function Qt(V,U){var W=V.updateQueue,T=V.alternate;if(T!==null&&(T=T.updateQueue,W===T)){var Z=null,o=null;if(W=W.firstBaseUpdate,W!==null){do{var i={lane:W.lane,tag:W.tag,payload:W.payload,callback:null,next:null};o===null?Z=o=i:o=o.next=i,W=W.next}while(W!==null);o===null?Z=o=U:o=o.next=U}else Z=o=U;W={baseState:T.baseState,firstBaseUpdate:Z,lastBaseUpdate:o,shared:T.shared,callbacks:T.callbacks},V.updateQueue=W;return}V=W.lastBaseUpdate,V===null?W.firstBaseUpdate=U:V.next=U,W.lastBaseUpdate=U}var uM=!1;function du(){if(uM){var V=JS;if(V!==null)throw V}}function Fu(V,U,W,T){uM=!1;var Z=V.updateQueue;Zi=!1;var o=Z.firstBaseUpdate,i=Z.lastBaseUpdate,b=Z.shared.pending;if(b!==null){Z.shared.pending=null;var O=b,S=O.next;O.next=null,i===null?o=S:i.next=S,i=O;var z=V.alternate;z!==null&&(z=z.updateQueue,b=z.lastBaseUpdate,b!==i&&(b===null?z.firstBaseUpdate=S:b.next=S,z.lastBaseUpdate=O))}if(o!==null){var u=Z.baseState;i=0,z=S=O=null,b=o;do{var q=b.lane&-536870913,R=q!==b.lane;if(R?(bU&q)===q:(T&q)===q){q!==0&&q===QS&&(uM=!0),z!==null&&(z=z.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});U:{var I=V,M=b;q=U;var n=W;switch(M.tag){case 1:if(I=M.payload,typeof I=="function"){u=I.call(n,u,q);break U}u=I;break U;case 3:I.flags=I.flags&-65537|128;case 0:if(I=M.payload,q=typeof I=="function"?I.call(n,u,q):I,q==null)break U;u=CU({},u,q);break U;case 2:Zi=!0}}q=b.callback,q!==null&&(V.flags|=64,R&&(V.flags|=8192),R=Z.callbacks,R===null?Z.callbacks=[q]:R.push(q))}else R={lane:q,tag:b.tag,payload:b.payload,callback:b.callback,next:null},z===null?(S=z=R,O=u):z=z.next=R,i|=q;if(b=b.next,b===null){if(b=Z.shared.pending,b===null)break;R=b,b=R.next,R.next=null,Z.lastBaseUpdate=R,Z.shared.pending=null}}while(!0);z===null&&(O=u),Z.baseState=O,Z.firstBaseUpdate=S,Z.lastBaseUpdate=z,o===null&&(Z.shared.lanes=0),ci|=i,V.lanes=i,V.memoizedState=u}}function nX(V,U){if(typeof V!="function")throw Error(E(191,V));V.call(U)}function HX(V,U){var W=V.callbacks;if(W!==null)for(V.callbacks=null,V=0;V<W.length;V++)nX(W[V],U)}var nS=IZ(null),pP=IZ(0);function Ak(V,U){V=Ro,hU(pP,V),hU(nS,U),Ro=V|U.baseLanes}function jM(){hU(pP,Ro),hU(nS,nS.current)}function Z4(){Ro=pP.current,xV(nS),xV(pP)}var pW=IZ(null),qT=null;function ii(V){var U=V.alternate;hU(oV,oV.current&1),hU(pW,V),qT===null&&(U===null||nS.current!==null||U.memoizedState!==null)&&(qT=V)}function qM(V){hU(oV,oV.current),hU(pW,V),qT===null&&(qT=V)}function cX(V){V.tag===22?(hU(oV,oV.current),hU(pW,V),qT===null&&(qT=V)):bi(V)}function bi(){hU(oV,oV.current),hU(pW,pW.current)}function lW(V){xV(pW),qT===V&&(qT=null),xV(oV)}var oV=IZ(0);function YP(V){for(var U=V;U!==null;){if(U.tag===13){var W=U.memoizedState;if(W!==null&&(W=W.dehydrated,W===null||XM(W)||hM(W)))return U}else if(U.tag===19&&(U.memoizedProps.revealOrder==="forwards"||U.memoizedProps.revealOrder==="backwards"||U.memoizedProps.revealOrder==="unstable_legacy-backwards"||U.memoizedProps.revealOrder==="together")){if((U.flags&128)!==0)return U}else if(U.child!==null){U.child.return=U,U=U.child;continue}if(U===V)break;for(;U.sibling===null;){if(U.return===null||U.return===V)return null;U=U.return}U.sibling.return=U.return,U=U.sibling}return null}var uo=0,f=null,cU=null,SV=null,yP=!1,_S=!1,Fb=!1,KP=0,gu=0,eS=null,SY=0;function fU(){throw Error(E(321))}function o4(V,U){if(U===null)return!1;for(var W=0;W<U.length&&W<V.length;W++)if(!sW(V[W],U[W]))return!1;return!0}function i4(V,U,W,T,Z,o){return uo=o,f=U,U.memoizedState=null,U.updateQueue=null,U.lanes=0,w.H=V===null||V.memoizedState===null?Th:$4,Fb=!1,o=W(T,Z),Fb=!1,_S&&(o=rX(U,W,T,Z)),GX(V),o}function GX(V){w.H=Uj;var U=cU!==null&&cU.next!==null;if(uo=0,SV=cU=f=null,yP=!1,gu=0,eS=null,U)throw Error(E(300));V===null||jV||(V=V.dependencies,V!==null&&BP(V)&&(jV=!0))}function rX(V,U,W,T){f=V;var Z=0;do{if(_S&&(eS=null),gu=0,_S=!1,25<=Z)throw Error(E(301));if(Z+=1,SV=cU=null,V.updateQueue!=null){var o=V.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}w.H=Zh,o=U(W,T)}while(_S);return o}function zY(){var V=w.H,U=V.useState()[0];return U=typeof U.then=="function"?qj(U):U,V=V.useState()[0],(cU!==null?cU.memoizedState:null)!==V&&(f.flags|=1024),U}function b4(){var V=KP!==0;return KP=0,V}function O4(V,U,W){U.updateQueue=V.updateQueue,U.flags&=-2053,V.lanes&=~W}function S4(V){if(yP){for(V=V.memoizedState;V!==null;){var U=V.queue;U!==null&&(U.pending=null),V=V.next}yP=!1}uo=0,SV=cU=f=null,_S=!1,gu=KP=0,eS=null}function SW(){var V={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return SV===null?f.memoizedState=SV=V:SV=SV.next=V,SV}function iV(){if(cU===null){var V=f.alternate;V=V!==null?V.memoizedState:null}else V=cU.next;var U=SV===null?f.memoizedState:SV.next;if(U!==null)SV=U,cU=V;else{if(V===null)throw f.alternate===null?Error(E(467)):Error(E(310));cU=V,V={memoizedState:cU.memoizedState,baseState:cU.baseState,baseQueue:cU.baseQueue,queue:cU.queue,next:null},SV===null?f.memoizedState=SV=V:SV=SV.next=V}return SV}function $J(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qj(V){var U=gu;return gu+=1,eS===null&&(eS=[]),V=tX(eS,V,U),U=f,(SV===null?U.memoizedState:SV.next)===null&&(U=U.alternate,w.H=U===null||U.memoizedState===null?Th:$4),V}function _J(V){if(V!==null&&typeof V=="object"){if(typeof V.then=="function")return qj(V);if(V.$$typeof===Zo)return BV(V)}throw Error(E(438,String(V)))}function z4(V){var U=null,W=f.updateQueue;if(W!==null&&(U=W.memoCache),U==null){var T=f.alternate;T!==null&&(T=T.updateQueue,T!==null&&(T=T.memoCache,T!=null&&(U={data:T.data.map(function(Z){return Z.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),W===null&&(W=$J(),f.updateQueue=W),W.memoCache=U,W=U.data[U.index],W===void 0)for(W=U.data[U.index]=Array(V),T=0;T<V;T++)W[T]=Ls;return U.index++,W}function jo(V,U){return typeof U=="function"?U(V):U}function cP(V){var U=iV();return u4(U,cU,V)}function u4(V,U,W){var T=V.queue;if(T===null)throw Error(E(311));T.lastRenderedReducer=W;var Z=V.baseQueue,o=T.pending;if(o!==null){if(Z!==null){var i=Z.next;Z.next=o.next,o.next=i}U.baseQueue=Z=o,T.pending=null}if(o=V.baseState,Z===null)V.memoizedState=o;else{U=Z.next;var b=i=null,O=null,S=U,z=!1;do{var u=S.lane&-536870913;if(u!==S.lane?(bU&u)===u:(uo&u)===u){var q=S.revertLane;if(q===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),u===QS&&(z=!0);else if((uo&q)===q){S=S.next,q===QS&&(z=!0);continue}else u={lane:0,revertLane:S.revertLane,gesture:null,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},O===null?(b=O=u,i=o):O=O.next=u,f.lanes|=q,ci|=q;u=S.action,Fb&&W(o,u),o=S.hasEagerState?S.eagerState:W(o,u)}else q={lane:u,revertLane:S.revertLane,gesture:S.gesture,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},O===null?(b=O=q,i=o):O=O.next=q,f.lanes|=u,ci|=u;S=S.next}while(S!==null&&S!==U);if(O===null?i=o:O.next=b,!sW(o,V.memoizedState)&&(jV=!0,z&&(W=JS,W!==null)))throw W;V.memoizedState=o,V.baseState=i,V.baseQueue=O,T.lastRenderedState=o}return Z===null&&(T.lanes=0),[V.memoizedState,T.dispatch]}function nt(V){var U=iV(),W=U.queue;if(W===null)throw Error(E(311));W.lastRenderedReducer=V;var T=W.dispatch,Z=W.pending,o=U.memoizedState;if(Z!==null){W.pending=null;var i=Z=Z.next;do o=V(o,i.action),i=i.next;while(i!==Z);sW(o,U.memoizedState)||(jV=!0),U.memoizedState=o,U.baseQueue===null&&(U.baseState=o),W.lastRenderedState=o}return[o,T]}function xX(V,U,W){var T=f,Z=iV(),o=zU;if(o){if(W===void 0)throw Error(E(407));W=W()}else W=U();var i=!sW((cU||Z).memoizedState,W);if(i&&(Z.memoizedState=W,jV=!0),Z=Z.queue,j4(XX.bind(null,T,Z,V),[V]),Z.getSnapshot!==U||i||SV!==null&&SV.memoizedState.tag&1){if(T.flags|=2048,HS(9,{destroy:void 0},kX.bind(null,T,Z,W,U),null),rU===null)throw Error(E(349));o||(uo&127)!==0||EX(T,U,W)}return W}function EX(V,U,W){V.flags|=16384,V={getSnapshot:U,value:W},U=f.updateQueue,U===null?(U=$J(),f.updateQueue=U,U.stores=[V]):(W=U.stores,W===null?U.stores=[V]:W.push(V))}function kX(V,U,W,T){U.value=W,U.getSnapshot=T,hX(U)&&AX(V)}function XX(V,U,W){return W(function(){hX(U)&&AX(V)})}function hX(V){var U=V.getSnapshot;V=V.value;try{var W=U();return!sW(V,W)}catch{return!0}}function AX(V){var U=sb(V,2);U!==null&&HW(U,V,2)}function RM(V){var U=SW();if(typeof V=="function"){var W=V;if(V=W(),Fb){Si(!0);try{W()}finally{Si(!1)}}}return U.memoizedState=U.baseState=V,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:V},U}function NX(V,U,W,T){return V.baseState=W,u4(V,cU,typeof T=="function"?T:jo)}function uY(V,U,W,T,Z){if(IJ(V))throw Error(E(485));if(V=U.action,V!==null){var o={payload:Z,action:V,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){o.listeners.push(i)}};w.T!==null?W(!0):o.isTransition=!1,T(o),W=U.pending,W===null?(o.next=U.pending=o,mX(U,o)):(o.next=W.next,U.pending=W.next=o)}}function mX(V,U){var W=U.action,T=U.payload,Z=V.state;if(U.isTransition){var o=w.T,i={};w.T=i;try{var b=W(Z,T),O=w.S;O!==null&&O(i,b),Nk(V,U,b)}catch(S){PM(V,U,S)}finally{o!==null&&i.types!==null&&(o.types=i.types),w.T=o}}else try{o=W(Z,T),Nk(V,U,o)}catch(S){PM(V,U,S)}}function Nk(V,U,W){W!==null&&typeof W=="object"&&typeof W.then=="function"?W.then(function(T){mk(V,U,T)},function(T){return PM(V,U,T)}):mk(V,U,W)}function mk(V,U,W){U.status="fulfilled",U.value=W,lX(U),V.state=W,U=V.pending,U!==null&&(W=U.next,W===U?V.pending=null:(W=W.next,U.next=W,mX(V,W)))}function PM(V,U,W){var T=V.pending;if(V.pending=null,T!==null){T=T.next;do U.status="rejected",U.reason=W,lX(U),U=U.next;while(U!==T)}V.action=null}function lX(V){V=V.listeners;for(var U=0;U<V.length;U++)(0,V[U])()}function dX(V,U){return U}function lk(V,U){if(zU){var W=rU.formState;if(W!==null){U:{var T=f;if(zU){if(aU){V:{for(var Z=aU,o=jT;Z.nodeType!==8;){if(!o){Z=null;break V}if(Z=RT(Z.nextSibling),Z===null){Z=null;break V}}o=Z.data,Z=o==="F!"||o==="F"?Z:null}if(Z){aU=RT(Z.nextSibling),T=Z.data==="F!";break U}}ni(T)}T=!1}T&&(U=W[0])}}return W=SW(),W.memoizedState=W.baseState=U,T={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dX,lastRenderedState:U},W.queue=T,W=Uh.bind(null,f,T),T.dispatch=W,T=RM(!1),o=J4.bind(null,f,!1,T.queue),T=SW(),Z={state:U,dispatch:null,action:V,pending:null},T.queue=Z,W=uY.bind(null,f,Z,o,W),Z.dispatch=W,T.memoizedState=V,[U,W,!1]}function dk(V){var U=iV();return FX(U,cU,V)}function FX(V,U,W){if(U=u4(V,U,dX)[0],V=cP(jo)[0],typeof U=="object"&&U!==null&&typeof U.then=="function")try{var T=qj(U)}catch(i){throw i===AS?JJ:i}else T=U;U=iV();var Z=U.queue,o=Z.dispatch;return W!==U.memoizedState&&(f.flags|=2048,HS(9,{destroy:void 0},jY.bind(null,Z,W),null)),[T,o,V]}function jY(V,U){V.action=U}function Fk(V){var U=iV(),W=cU;if(W!==null)return FX(U,W,V);iV(),U=U.memoizedState,W=iV();var T=W.queue.dispatch;return W.memoizedState=V,[U,T,!1]}function HS(V,U,W,T){return V={tag:V,create:W,deps:T,inst:U,next:null},U=f.updateQueue,U===null&&(U=$J(),f.updateQueue=U),W=U.lastEffect,W===null?U.lastEffect=V.next=V:(T=W.next,W.next=V,V.next=T,U.lastEffect=V),V}function aX(){return iV().memoizedState}function GP(V,U,W,T){var Z=SW();f.flags|=V,Z.memoizedState=HS(1|U,{destroy:void 0},W,T===void 0?null:T)}function eJ(V,U,W,T){var Z=iV();T=T===void 0?null:T;var o=Z.memoizedState.inst;cU!==null&&T!==null&&o4(T,cU.memoizedState.deps)?Z.memoizedState=HS(U,o,W,T):(f.flags|=V,Z.memoizedState=HS(1|U,o,W,T))}function ak(V,U){GP(8390656,8,V,U)}function j4(V,U){eJ(2048,8,V,U)}function qY(V){f.flags|=4;var U=f.updateQueue;if(U===null)U=$J(),f.updateQueue=U,U.events=[V];else{var W=U.events;W===null?U.events=[V]:W.push(V)}}function CX(V){var U=iV().memoizedState;return qY({ref:U,nextImpl:V}),function(){if((PU&2)!==0)throw Error(E(440));return U.impl.apply(void 0,arguments)}}function vX(V,U){return eJ(4,2,V,U)}function BX(V,U){return eJ(4,4,V,U)}function sX(V,U){if(typeof U=="function"){V=V();var W=U(V);return function(){typeof W=="function"?W():U(null)}}if(U!=null)return V=V(),U.current=V,function(){U.current=null}}function pX(V,U,W){W=W!=null?W.concat([V]):null,eJ(4,4,sX.bind(null,U,V),W)}function q4(){}function YX(V,U){var W=iV();U=U===void 0?null:U;var T=W.memoizedState;return U!==null&&o4(U,T[1])?T[0]:(W.memoizedState=[V,U],V)}function yX(V,U){var W=iV();U=U===void 0?null:U;var T=W.memoizedState;if(U!==null&&o4(U,T[1]))return T[0];if(T=V(),Fb){Si(!0);try{V()}finally{Si(!1)}}return W.memoizedState=[T,U],T}function R4(V,U,W){return W===void 0||(uo&1073741824)!==0&&(bU&261930)===0?V.memoizedState=U:(V.memoizedState=W,V=Nh(),f.lanes|=V,ci|=V,W)}function KX(V,U,W,T){return sW(W,U)?W:nS.current!==null?(V=R4(V,W,T),sW(V,U)||(jV=!0),V):(uo&42)===0||(uo&1073741824)!==0&&(bU&261930)===0?(jV=!0,V.memoizedState=W):(V=Nh(),f.lanes|=V,ci|=V,U)}function LX(V,U,W,T,Z){var o=JU.p;JU.p=o!==0&&8>o?o:8;var i=w.T,b={};w.T=b,J4(V,!1,U,W);try{var O=Z(),S=w.S;if(S!==null&&S(b,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var z=OY(O,T);au(V,U,z,BW(V))}else au(V,U,T,BW(V))}catch(u){au(V,U,{then:function(){},status:"rejected",reason:u},BW())}finally{JU.p=o,i!==null&&b.types!==null&&(i.types=b.types),w.T=i}}function RY(){}function JM(V,U,W,T){if(V.tag!==5)throw Error(E(476));var Z=wX(V).queue;LX(V,Z,U,kb,W===null?RY:function(){return DX(V),W(T)})}function wX(V){var U=V.memoizedState;if(U!==null)return U;U={memoizedState:kb,baseState:kb,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:kb},next:null};var W={};return U.next={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jo,lastRenderedState:W},next:null},V.memoizedState=U,V=V.alternate,V!==null&&(V.memoizedState=U),U}function DX(V){var U=wX(V);U.next===null&&(U=V.alternate.memoizedState),au(V,U.next.queue,{},BW())}function P4(){return BV(Tj)}function fX(){return iV().memoizedState}function gX(){return iV().memoizedState}function PY(V){for(var U=V.return;U!==null;){switch(U.tag){case 24:case 3:var W=BW();V=Ji(W);var T=$i(U,V,W);T!==null&&(HW(T,U,W),lu(T,U,W)),U={cache:U4()},V.payload=U;return}U=U.return}}function JY(V,U,W){var T=BW();W={lane:T,revertLane:0,gesture:null,action:W,hasEagerState:!1,eagerState:null,next:null},IJ(V)?Vh(U,W):(W=wM(V,U,W,T),W!==null&&(HW(W,V,T),Wh(W,U,T)))}function Uh(V,U,W){var T=BW();au(V,U,W,T)}function au(V,U,W,T){var Z={lane:T,revertLane:0,gesture:null,action:W,hasEagerState:!1,eagerState:null,next:null};if(IJ(V))Vh(U,Z);else{var o=V.alternate;if(V.lanes===0&&(o===null||o.lanes===0)&&(o=U.lastRenderedReducer,o!==null))try{var i=U.lastRenderedState,b=o(i,W);if(Z.hasEagerState=!0,Z.eagerState=b,sW(b,i))return PJ(V,U,Z,0),rU===null&&RJ(),!1}catch{}finally{}if(W=wM(V,U,Z,T),W!==null)return HW(W,V,T),Wh(W,U,T),!0}return!1}function J4(V,U,W,T){if(T={lane:2,revertLane:H4(),gesture:null,action:T,hasEagerState:!1,eagerState:null,next:null},IJ(V)){if(U)throw Error(E(479))}else U=wM(V,W,T,2),U!==null&&HW(U,V,2)}function IJ(V){var U=V.alternate;return V===f||U!==null&&U===f}function Vh(V,U){_S=yP=!0;var W=V.pending;W===null?U.next=U:(U.next=W.next,W.next=U),V.pending=U}function Wh(V,U,W){if((W&4194048)!==0){var T=U.lanes;T&=V.pendingLanes,W|=T,U.lanes=W,C1(V,W)}}var Uj={readContext:BV,use:_J,useCallback:fU,useContext:fU,useEffect:fU,useImperativeHandle:fU,useLayoutEffect:fU,useInsertionEffect:fU,useMemo:fU,useReducer:fU,useRef:fU,useState:fU,useDebugValue:fU,useDeferredValue:fU,useTransition:fU,useSyncExternalStore:fU,useId:fU,useHostTransitionStatus:fU,useFormState:fU,useActionState:fU,useOptimistic:fU,useMemoCache:fU,useCacheRefresh:fU};Uj.useEffectEvent=fU;var Th={readContext:BV,use:_J,useCallback:function(V,U){return SW().memoizedState=[V,U===void 0?null:U],V},useContext:BV,useEffect:ak,useImperativeHandle:function(V,U,W){W=W!=null?W.concat([V]):null,GP(4194308,4,sX.bind(null,U,V),W)},useLayoutEffect:function(V,U){return GP(4194308,4,V,U)},useInsertionEffect:function(V,U){GP(4,2,V,U)},useMemo:function(V,U){var W=SW();U=U===void 0?null:U;var T=V();if(Fb){Si(!0);try{V()}finally{Si(!1)}}return W.memoizedState=[T,U],T},useReducer:function(V,U,W){var T=SW();if(W!==void 0){var Z=W(U);if(Fb){Si(!0);try{W(U)}finally{Si(!1)}}}else Z=U;return T.memoizedState=T.baseState=Z,V={pending:null,lanes:0,dispatch:null,lastRenderedReducer:V,lastRenderedState:Z},T.queue=V,V=V.dispatch=JY.bind(null,f,V),[T.memoizedState,V]},useRef:function(V){var U=SW();return V={current:V},U.memoizedState=V},useState:function(V){V=RM(V);var U=V.queue,W=Uh.bind(null,f,U);return U.dispatch=W,[V.memoizedState,W]},useDebugValue:q4,useDeferredValue:function(V,U){var W=SW();return R4(W,V,U)},useTransition:function(){var V=RM(!1);return V=LX.bind(null,f,V.queue,!0,!1),SW().memoizedState=V,[!1,V]},useSyncExternalStore:function(V,U,W){var T=f,Z=SW();if(zU){if(W===void 0)throw Error(E(407));W=W()}else{if(W=U(),rU===null)throw Error(E(349));(bU&127)!==0||EX(T,U,W)}Z.memoizedState=W;var o={value:W,getSnapshot:U};return Z.queue=o,ak(XX.bind(null,T,o,V),[V]),T.flags|=2048,HS(9,{destroy:void 0},kX.bind(null,T,o,W,U),null),W},useId:function(){var V=SW(),U=rU.identifierPrefix;if(zU){var W=$Z,T=JZ;W=(T&~(1<<32-vW(T)-1)).toString(32)+W,U="_"+U+"R_"+W,W=KP++,0<W&&(U+="H"+W.toString(32)),U+="_"}else W=SY++,U="_"+U+"r_"+W.toString(32)+"_";return V.memoizedState=U},useHostTransitionStatus:P4,useFormState:lk,useActionState:lk,useOptimistic:function(V){var U=SW();U.memoizedState=U.baseState=V;var W={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=W,U=J4.bind(null,f,!0,W),W.dispatch=U,[V,U]},useMemoCache:z4,useCacheRefresh:function(){return SW().memoizedState=PY.bind(null,f)},useEffectEvent:function(V){var U=SW(),W={impl:V};return U.memoizedState=W,function(){if((PU&2)!==0)throw Error(E(440));return W.impl.apply(void 0,arguments)}}},$4={readContext:BV,use:_J,useCallback:YX,useContext:BV,useEffect:j4,useImperativeHandle:pX,useInsertionEffect:vX,useLayoutEffect:BX,useMemo:yX,useReducer:cP,useRef:aX,useState:function(){return cP(jo)},useDebugValue:q4,useDeferredValue:function(V,U){var W=iV();return KX(W,cU.memoizedState,V,U)},useTransition:function(){var V=cP(jo)[0],U=iV().memoizedState;return[typeof V=="boolean"?V:qj(V),U]},useSyncExternalStore:xX,useId:fX,useHostTransitionStatus:P4,useFormState:dk,useActionState:dk,useOptimistic:function(V,U){var W=iV();return NX(W,cU,V,U)},useMemoCache:z4,useCacheRefresh:gX};$4.useEffectEvent=CX;var Zh={readContext:BV,use:_J,useCallback:YX,useContext:BV,useEffect:j4,useImperativeHandle:pX,useInsertionEffect:vX,useLayoutEffect:BX,useMemo:yX,useReducer:nt,useRef:aX,useState:function(){return nt(jo)},useDebugValue:q4,useDeferredValue:function(V,U){var W=iV();return cU===null?R4(W,V,U):KX(W,cU.memoizedState,V,U)},useTransition:function(){var V=nt(jo)[0],U=iV().memoizedState;return[typeof V=="boolean"?V:qj(V),U]},useSyncExternalStore:xX,useId:fX,useHostTransitionStatus:P4,useFormState:Fk,useActionState:Fk,useOptimistic:function(V,U){var W=iV();return cU!==null?NX(W,cU,V,U):(W.baseState=V,[V,W.queue.dispatch])},useMemoCache:z4,useCacheRefresh:gX};Zh.useEffectEvent=CX;function Ht(V,U,W,T){U=V.memoizedState,W=W(T,U),W=W==null?U:CU({},U,W),V.memoizedState=W,V.lanes===0&&(V.updateQueue.baseState=W)}var $M={enqueueSetState:function(V,U,W){V=V._reactInternals;var T=BW(),Z=Ji(T);Z.payload=U,W!=null&&(Z.callback=W),U=$i(V,Z,T),U!==null&&(HW(U,V,T),lu(U,V,T))},enqueueReplaceState:function(V,U,W){V=V._reactInternals;var T=BW(),Z=Ji(T);Z.tag=1,Z.payload=U,W!=null&&(Z.callback=W),U=$i(V,Z,T),U!==null&&(HW(U,V,T),lu(U,V,T))},enqueueForceUpdate:function(V,U){V=V._reactInternals;var W=BW(),T=Ji(W);T.tag=2,U!=null&&(T.callback=U),U=$i(V,T,W),U!==null&&(HW(U,V,W),lu(U,V,W))}};function Ck(V,U,W,T,Z,o,i){return V=V.stateNode,typeof V.shouldComponentUpdate=="function"?V.shouldComponentUpdate(T,o,i):U.prototype&&U.prototype.isPureReactComponent?!Lu(W,T)||!Lu(Z,o):!0}function vk(V,U,W,T){V=U.state,typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps(W,T),typeof U.UNSAFE_componentWillReceiveProps=="function"&&U.UNSAFE_componentWillReceiveProps(W,T),U.state!==V&&$M.enqueueReplaceState(U,U.state,null)}function ab(V,U){var W=U;if("ref"in U){W={};for(var T in U)T!=="ref"&&(W[T]=U[T])}if(V=V.defaultProps){W===U&&(W=CU({},W));for(var Z in V)W[Z]===void 0&&(W[Z]=V[Z])}return W}function oh(V){aP(V)}function ih(V){console.error(V)}function bh(V){aP(V)}function LP(V,U){try{var W=V.onUncaughtError;W(U.value,{componentStack:U.stack})}catch(T){setTimeout(function(){throw T})}}function Bk(V,U,W){try{var T=V.onCaughtError;T(W.value,{componentStack:W.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function _M(V,U,W){return W=Ji(W),W.tag=3,W.payload={element:null},W.callback=function(){LP(V,U)},W}function Oh(V){return V=Ji(V),V.tag=3,V}function Sh(V,U,W,T){var Z=W.type.getDerivedStateFromError;if(typeof Z=="function"){var o=T.value;V.payload=function(){return Z(o)},V.callback=function(){Bk(U,W,T)}}var i=W.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(V.callback=function(){Bk(U,W,T),typeof Z!="function"&&(_i===null?_i=new Set([this]):_i.add(this));var b=T.stack;this.componentDidCatch(T.value,{componentStack:b!==null?b:""})})}function $Y(V,U,W,T,Z){if(W.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){if(U=W.alternate,U!==null&&hS(U,W,Z,!0),W=pW.current,W!==null){switch(W.tag){case 31:case 13:return qT===null?UJ():W.alternate===null&&gU===0&&(gU=3),W.flags&=-257,W.flags|=65536,W.lanes=Z,T===sP?W.flags|=16384:(U=W.updateQueue,U===null?W.updateQueue=new Set([T]):U.add(T),mt(V,T,Z)),!1;case 22:return W.flags|=65536,T===sP?W.flags|=16384:(U=W.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([T])},W.updateQueue=U):(W=U.retryQueue,W===null?U.retryQueue=new Set([T]):W.add(T)),mt(V,T,Z)),!1}throw Error(E(435,W.tag))}return mt(V,T,Z),UJ(),!1}if(zU)return U=pW.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=Z,T!==oM&&(V=Error(E(422),{cause:T}),Du(uT(V,W)))):(T!==oM&&(U=Error(E(423),{cause:T}),Du(uT(U,W))),V=V.current.alternate,V.flags|=65536,Z&=-Z,V.lanes|=Z,T=uT(T,W),Z=_M(V.stateNode,T,Z),Qt(V,Z),gU!==4&&(gU=2)),!1;var o=Error(E(520),{cause:T});if(o=uT(o,W),Bu===null?Bu=[o]:Bu.push(o),gU!==4&&(gU=2),U===null)return!0;T=uT(T,W),W=U;do{switch(W.tag){case 3:return W.flags|=65536,V=Z&-Z,W.lanes|=V,V=_M(W.stateNode,T,V),Qt(W,V),!1;case 1:if(U=W.type,o=W.stateNode,(W.flags&128)===0&&(typeof U.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(_i===null||!_i.has(o))))return W.flags|=65536,Z&=-Z,W.lanes|=Z,Z=Oh(Z),Sh(Z,V,W,T),Qt(W,Z),!1}W=W.return}while(W!==null);return!1}var _4=Error(E(461)),jV=!1;function aV(V,U,W,T){U.child=V===null?QX(U,null,W,T):db(U,V.child,W,T)}function sk(V,U,W,T,Z){W=W.render;var o=U.ref;if("ref"in T){var i={};for(var b in T)b!=="ref"&&(i[b]=T[b])}else i=T;return lb(U),T=i4(V,U,W,i,o,Z),b=b4(),V!==null&&!jV?(O4(V,U,Z),qo(V,U,Z)):(zU&&b&&fM(U),U.flags|=1,aV(V,U,T,Z),U.child)}function pk(V,U,W,T,Z){if(V===null){var o=W.type;return typeof o=="function"&&!DM(o)&&o.defaultProps===void 0&&W.compare===null?(U.tag=15,U.type=o,zh(V,U,o,T,Z)):(V=nP(W.type,null,T,U,U.mode,Z),V.ref=U.ref,V.return=U,U.child=V)}if(o=V.child,!e4(V,Z)){var i=o.memoizedProps;if(W=W.compare,W=W!==null?W:Lu,W(i,T)&&V.ref===U.ref)return qo(V,U,Z)}return U.flags|=1,V=bo(o,T),V.ref=U.ref,V.return=U,U.child=V}function zh(V,U,W,T,Z){if(V!==null){var o=V.memoizedProps;if(Lu(o,T)&&V.ref===U.ref)if(jV=!1,U.pendingProps=T=o,e4(V,Z))(V.flags&131072)!==0&&(jV=!0);else return U.lanes=V.lanes,qo(V,U,Z)}return eM(V,U,W,T,Z)}function uh(V,U,W,T){var Z=T.children,o=V!==null?V.memoizedState:null;if(V===null&&U.stateNode===null&&(U.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),T.mode==="hidden"){if((U.flags&128)!==0){if(o=o!==null?o.baseLanes|W:W,V!==null){for(T=U.child=V.child,Z=0;T!==null;)Z=Z|T.lanes|T.childLanes,T=T.sibling;T=Z&~o}else T=0,U.child=null;return Yk(V,U,o,W,T)}if((W&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},V!==null&&HP(U,o!==null?o.cachePool:null),o!==null?Ak(U,o):jM(),cX(U);else return T=U.lanes=536870912,Yk(V,U,o!==null?o.baseLanes|W:W,W,T)}else o!==null?(HP(U,o.cachePool),Ak(U,o),bi(U),U.memoizedState=null):(V!==null&&HP(U,null),jM(),bi(U));return aV(V,U,Z,W),U.child}function ku(V,U){return V!==null&&V.tag===22||U.stateNode!==null||(U.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function Yk(V,U,W,T,Z){var o=V4();return o=o===null?null:{parent:uV._currentValue,pool:o},U.memoizedState={baseLanes:W,cachePool:o},V!==null&&HP(U,null),jM(),cX(U),V!==null&&hS(V,U,T,!0),U.childLanes=Z,null}function rP(V,U){return U=wP({mode:U.mode,children:U.children},V.mode),U.ref=V.ref,V.child=U,U.return=V,U}function yk(V,U,W){return db(U,V.child,null,W),V=rP(U,U.pendingProps),V.flags|=2,lW(U),U.memoizedState=null,V}function _Y(V,U,W){var T=U.pendingProps,Z=(U.flags&128)!==0;if(U.flags&=-129,V===null){if(zU){if(T.mode==="hidden")return V=rP(U,T),U.lanes=536870912,ku(null,V);if(qM(U),(V=aU)?(V=TA(V,jT),V=V!==null&&V.data==="&"?V:null,V!==null&&(U.memoizedState={dehydrated:V,treeContext:Qi!==null?{id:JZ,overflow:$Z}:null,retryLane:536870912,hydrationErrors:null},W=JX(V),W.return=U,U.child=W,vV=U,aU=null)):V=null,V===null)throw ni(U);return U.lanes=536870912,null}return rP(U,T)}var o=V.memoizedState;if(o!==null){var i=o.dehydrated;if(qM(U),Z)if(U.flags&256)U.flags&=-257,U=yk(V,U,W);else if(U.memoizedState!==null)U.child=V.child,U.flags|=128,U=null;else throw Error(E(558));else if(jV||hS(V,U,W,!1),Z=(W&V.childLanes)!==0,jV||Z){if(T=rU,T!==null&&(i=v1(T,W),i!==0&&i!==o.retryLane))throw o.retryLane=i,sb(V,i),HW(T,V,i),_4;UJ(),U=yk(V,U,W)}else V=o.treeContext,aU=RT(i.nextSibling),vV=U,zU=!0,Pi=null,jT=!1,V!==null&&_X(U,V),U=rP(U,T),U.flags|=4096;return U}return V=bo(V.child,{mode:T.mode,children:T.children}),V.ref=U.ref,U.child=V,V.return=U,V}function xP(V,U){var W=U.ref;if(W===null)V!==null&&V.ref!==null&&(U.flags|=4194816);else{if(typeof W!="function"&&typeof W!="object")throw Error(E(284));(V===null||V.ref!==W)&&(U.flags|=4194816)}}function eM(V,U,W,T,Z){return lb(U),W=i4(V,U,W,T,void 0,Z),T=b4(),V!==null&&!jV?(O4(V,U,Z),qo(V,U,Z)):(zU&&T&&fM(U),U.flags|=1,aV(V,U,W,Z),U.child)}function Kk(V,U,W,T,Z,o){return lb(U),U.updateQueue=null,W=rX(U,T,W,Z),GX(V),T=b4(),V!==null&&!jV?(O4(V,U,o),qo(V,U,o)):(zU&&T&&fM(U),U.flags|=1,aV(V,U,W,o),U.child)}function Lk(V,U,W,T,Z){if(lb(U),U.stateNode===null){var o=SS,i=W.contextType;typeof i=="object"&&i!==null&&(o=BV(i)),o=new W(T,o),U.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=$M,U.stateNode=o,o._reactInternals=U,o=U.stateNode,o.props=T,o.state=U.memoizedState,o.refs={},T4(U),i=W.contextType,o.context=typeof i=="object"&&i!==null?BV(i):SS,o.state=U.memoizedState,i=W.getDerivedStateFromProps,typeof i=="function"&&(Ht(U,W,i,T),o.state=U.memoizedState),typeof W.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(i=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),i!==o.state&&$M.enqueueReplaceState(o,o.state,null),Fu(U,T,o,Z),du(),o.state=U.memoizedState),typeof o.componentDidMount=="function"&&(U.flags|=4194308),T=!0}else if(V===null){o=U.stateNode;var b=U.memoizedProps,O=ab(W,b);o.props=O;var S=o.context,z=W.contextType;i=SS,typeof z=="object"&&z!==null&&(i=BV(z));var u=W.getDerivedStateFromProps;z=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function",b=U.pendingProps!==b,z||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(b||S!==i)&&vk(U,o,T,i),Zi=!1;var q=U.memoizedState;o.state=q,Fu(U,T,o,Z),du(),S=U.memoizedState,b||q!==S||Zi?(typeof u=="function"&&(Ht(U,W,u,T),S=U.memoizedState),(O=Zi||Ck(U,W,O,T,q,S,i))?(z||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"&&(U.flags|=4194308)):(typeof o.componentDidMount=="function"&&(U.flags|=4194308),U.memoizedProps=T,U.memoizedState=S),o.props=T,o.state=S,o.context=i,T=O):(typeof o.componentDidMount=="function"&&(U.flags|=4194308),T=!1)}else{o=U.stateNode,zM(V,U),i=U.memoizedProps,z=ab(W,i),o.props=z,u=U.pendingProps,q=o.context,S=W.contextType,O=SS,typeof S=="object"&&S!==null&&(O=BV(S)),b=W.getDerivedStateFromProps,(S=typeof b=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(i!==u||q!==O)&&vk(U,o,T,O),Zi=!1,q=U.memoizedState,o.state=q,Fu(U,T,o,Z),du();var R=U.memoizedState;i!==u||q!==R||Zi||V!==null&&V.dependencies!==null&&BP(V.dependencies)?(typeof b=="function"&&(Ht(U,W,b,T),R=U.memoizedState),(z=Zi||Ck(U,W,z,T,q,R,O)||V!==null&&V.dependencies!==null&&BP(V.dependencies))?(S||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(T,R,O),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(T,R,O)),typeof o.componentDidUpdate=="function"&&(U.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(U.flags|=1024)):(typeof o.componentDidUpdate!="function"||i===V.memoizedProps&&q===V.memoizedState||(U.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||i===V.memoizedProps&&q===V.memoizedState||(U.flags|=1024),U.memoizedProps=T,U.memoizedState=R),o.props=T,o.state=R,o.context=O,T=z):(typeof o.componentDidUpdate!="function"||i===V.memoizedProps&&q===V.memoizedState||(U.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||i===V.memoizedProps&&q===V.memoizedState||(U.flags|=1024),T=!1)}return o=T,xP(V,U),T=(U.flags&128)!==0,o||T?(o=U.stateNode,W=T&&typeof W.getDerivedStateFromError!="function"?null:o.render(),U.flags|=1,V!==null&&T?(U.child=db(U,V.child,null,Z),U.child=db(U,null,W,Z)):aV(V,U,W,Z),U.memoizedState=o.state,V=U.child):V=qo(V,U,Z),V}function wk(V,U,W,T){return mb(),U.flags|=256,aV(V,U,W,T),U.child}var ct={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gt(V){return{baseLanes:V,cachePool:IX()}}function rt(V,U,W){return V=V!==null?V.childLanes&~W:0,U&&(V|=FW),V}function jh(V,U,W){var T=U.pendingProps,Z=!1,o=(U.flags&128)!==0,i;if((i=o)||(i=V!==null&&V.memoizedState===null?!1:(oV.current&2)!==0),i&&(Z=!0,U.flags&=-129),i=(U.flags&32)!==0,U.flags&=-33,V===null){if(zU){if(Z?ii(U):bi(U),(V=aU)?(V=TA(V,jT),V=V!==null&&V.data!=="&"?V:null,V!==null&&(U.memoizedState={dehydrated:V,treeContext:Qi!==null?{id:JZ,overflow:$Z}:null,retryLane:536870912,hydrationErrors:null},W=JX(V),W.return=U,U.child=W,vV=U,aU=null)):V=null,V===null)throw ni(U);return hM(V)?U.lanes=32:U.lanes=536870912,null}var b=T.children;return T=T.fallback,Z?(bi(U),Z=U.mode,b=wP({mode:"hidden",children:b},Z),T=Xb(T,Z,W,null),b.return=U,T.return=U,b.sibling=T,U.child=b,T=U.child,T.memoizedState=Gt(W),T.childLanes=rt(V,i,W),U.memoizedState=ct,ku(null,T)):(ii(U),IM(U,b))}var O=V.memoizedState;if(O!==null&&(b=O.dehydrated,b!==null)){if(o)U.flags&256?(ii(U),U.flags&=-257,U=xt(V,U,W)):U.memoizedState!==null?(bi(U),U.child=V.child,U.flags|=128,U=null):(bi(U),b=T.fallback,Z=U.mode,T=wP({mode:"visible",children:T.children},Z),b=Xb(b,Z,W,null),b.flags|=2,T.return=U,b.return=U,T.sibling=b,U.child=T,db(U,V.child,null,W),T=U.child,T.memoizedState=Gt(W),T.childLanes=rt(V,i,W),U.memoizedState=ct,U=ku(null,T));else if(ii(U),hM(b)){if(i=b.nextSibling&&b.nextSibling.dataset,i)var S=i.dgst;i=S,T=Error(E(419)),T.stack="",T.digest=i,Du({value:T,source:null,stack:null}),U=xt(V,U,W)}else if(jV||hS(V,U,W,!1),i=(W&V.childLanes)!==0,jV||i){if(i=rU,i!==null&&(T=v1(i,W),T!==0&&T!==O.retryLane))throw O.retryLane=T,sb(V,T),HW(i,V,T),_4;XM(b)||UJ(),U=xt(V,U,W)}else XM(b)?(U.flags|=192,U.child=V.child,U=null):(V=O.treeContext,aU=RT(b.nextSibling),vV=U,zU=!0,Pi=null,jT=!1,V!==null&&_X(U,V),U=IM(U,T.children),U.flags|=4096);return U}return Z?(bi(U),b=T.fallback,Z=U.mode,O=V.child,S=O.sibling,T=bo(O,{mode:"hidden",children:T.children}),T.subtreeFlags=O.subtreeFlags&65011712,S!==null?b=bo(S,b):(b=Xb(b,Z,W,null),b.flags|=2),b.return=U,T.return=U,T.sibling=b,U.child=T,ku(null,T),T=U.child,b=V.child.memoizedState,b===null?b=Gt(W):(Z=b.cachePool,Z!==null?(O=uV._currentValue,Z=Z.parent!==O?{parent:O,pool:O}:Z):Z=IX(),b={baseLanes:b.baseLanes|W,cachePool:Z}),T.memoizedState=b,T.childLanes=rt(V,i,W),U.memoizedState=ct,ku(V.child,T)):(ii(U),W=V.child,V=W.sibling,W=bo(W,{mode:"visible",children:T.children}),W.return=U,W.sibling=null,V!==null&&(i=U.deletions,i===null?(U.deletions=[V],U.flags|=16):i.push(V)),U.child=W,U.memoizedState=null,W)}function IM(V,U){return U=wP({mode:"visible",children:U},V.mode),U.return=V,V.child=U}function wP(V,U){return V=dW(22,V,null,U),V.lanes=0,V}function xt(V,U,W){return db(U,V.child,null,W),V=IM(U,U.pendingProps.children),V.flags|=2,U.memoizedState=null,V}function Dk(V,U,W){V.lanes|=U;var T=V.alternate;T!==null&&(T.lanes|=U),bM(V.return,U,W)}function Et(V,U,W,T,Z,o){var i=V.memoizedState;i===null?V.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:T,tail:W,tailMode:Z,treeForkCount:o}:(i.isBackwards=U,i.rendering=null,i.renderingStartTime=0,i.last=T,i.tail=W,i.tailMode=Z,i.treeForkCount=o)}function qh(V,U,W){var T=U.pendingProps,Z=T.revealOrder,o=T.tail;T=T.children;var i=oV.current,b=(i&2)!==0;if(b?(i=i&1|2,U.flags|=128):i&=1,hU(oV,i),aV(V,U,T,W),T=zU?wu:0,!b&&V!==null&&(V.flags&128)!==0)U:for(V=U.child;V!==null;){if(V.tag===13)V.memoizedState!==null&&Dk(V,W,U);else if(V.tag===19)Dk(V,W,U);else if(V.child!==null){V.child.return=V,V=V.child;continue}if(V===U)break U;for(;V.sibling===null;){if(V.return===null||V.return===U)break U;V=V.return}V.sibling.return=V.return,V=V.sibling}switch(Z){case"forwards":for(W=U.child,Z=null;W!==null;)V=W.alternate,V!==null&&YP(V)===null&&(Z=W),W=W.sibling;W=Z,W===null?(Z=U.child,U.child=null):(Z=W.sibling,W.sibling=null),Et(U,!1,Z,W,o,T);break;case"backwards":case"unstable_legacy-backwards":for(W=null,Z=U.child,U.child=null;Z!==null;){if(V=Z.alternate,V!==null&&YP(V)===null){U.child=Z;break}V=Z.sibling,Z.sibling=W,W=Z,Z=V}Et(U,!0,W,null,o,T);break;case"together":Et(U,!1,null,null,void 0,T);break;default:U.memoizedState=null}return U.child}function qo(V,U,W){if(V!==null&&(U.dependencies=V.dependencies),ci|=U.lanes,(W&U.childLanes)===0)if(V!==null){if(hS(V,U,W,!1),(W&U.childLanes)===0)return null}else return null;if(V!==null&&U.child!==V.child)throw Error(E(153));if(U.child!==null){for(V=U.child,W=bo(V,V.pendingProps),U.child=W,W.return=U;V.sibling!==null;)V=V.sibling,W=W.sibling=bo(V,V.pendingProps),W.return=U;W.sibling=null}return U.child}function e4(V,U){return(V.lanes&U)!==0?!0:(V=V.dependencies,!!(V!==null&&BP(V)))}function eY(V,U,W){switch(U.tag){case 3:mP(U,U.stateNode.containerInfo),oi(U,uV,V.memoizedState.cache),mb();break;case 27:case 5:Kt(U);break;case 4:mP(U,U.stateNode.containerInfo);break;case 10:oi(U,U.type,U.memoizedProps.value);break;case 31:if(U.memoizedState!==null)return U.flags|=128,qM(U),null;break;case 13:var T=U.memoizedState;if(T!==null)return T.dehydrated!==null?(ii(U),U.flags|=128,null):(W&U.child.childLanes)!==0?jh(V,U,W):(ii(U),V=qo(V,U,W),V!==null?V.sibling:null);ii(U);break;case 19:var Z=(V.flags&128)!==0;if(T=(W&U.childLanes)!==0,T||(hS(V,U,W,!1),T=(W&U.childLanes)!==0),Z){if(T)return qh(V,U,W);U.flags|=128}if(Z=U.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),hU(oV,oV.current),T)break;return null;case 22:return U.lanes=0,uh(V,U,W,U.pendingProps);case 24:oi(U,uV,V.memoizedState.cache)}return qo(V,U,W)}function Rh(V,U,W){if(V!==null)if(V.memoizedProps!==U.pendingProps)jV=!0;else{if(!e4(V,W)&&(U.flags&128)===0)return jV=!1,eY(V,U,W);jV=(V.flags&131072)!==0}else jV=!1,zU&&(U.flags&1048576)!==0&&$X(U,wu,U.index);switch(U.lanes=0,U.tag){case 16:U:{var T=U.pendingProps;if(V=xb(U.elementType),U.type=V,typeof V=="function")DM(V)?(T=ab(V,T),U.tag=1,U=Lk(null,U,V,T,W)):(U.tag=0,U=eM(null,U,V,T,W));else{if(V!=null){var Z=V.$$typeof;if(Z===lM){U.tag=11,U=sk(null,U,V,T,W);break U}else if(Z===dM){U.tag=14,U=pk(null,U,V,T,W);break U}}throw U=Yt(V)||V,Error(E(306,U,""))}}return U;case 0:return eM(V,U,U.type,U.pendingProps,W);case 1:return T=U.type,Z=ab(T,U.pendingProps),Lk(V,U,T,Z,W);case 3:U:{if(mP(U,U.stateNode.containerInfo),V===null)throw Error(E(387));T=U.pendingProps;var o=U.memoizedState;Z=o.element,zM(V,U),Fu(U,T,null,W);var i=U.memoizedState;if(T=i.cache,oi(U,uV,T),T!==o.cache&&OM(U,[uV],W,!0),du(),T=i.element,o.isDehydrated)if(o={element:T,isDehydrated:!1,cache:i.cache},U.updateQueue.baseState=o,U.memoizedState=o,U.flags&256){U=wk(V,U,T,W);break U}else if(T!==Z){Z=uT(Error(E(424)),U),Du(Z),U=wk(V,U,T,W);break U}else{switch(V=U.stateNode.containerInfo,V.nodeType){case 9:V=V.body;break;default:V=V.nodeName==="HTML"?V.ownerDocument.body:V}for(aU=RT(V.firstChild),vV=U,zU=!0,Pi=null,jT=!0,W=QX(U,null,T,W),U.child=W;W;)W.flags=W.flags&-3|4096,W=W.sibling}else{if(mb(),T===Z){U=qo(V,U,W);break U}aV(V,U,T,W)}U=U.child}return U;case 26:return xP(V,U),V===null?(W=e1(U.type,null,U.pendingProps,null))?U.memoizedState=W:zU||(W=U.type,V=U.pendingProps,T=ZJ(Ri.current).createElement(W),T[CV]=U,T[cW]=V,sV(T,W,V),rV(T),U.stateNode=T):U.memoizedState=e1(U.type,V.memoizedProps,U.pendingProps,V.memoizedState),null;case 27:return Kt(U),V===null&&zU&&(T=U.stateNode=ZA(U.type,U.pendingProps,Ri.current),vV=U,jT=!0,Z=aU,ri(U.type)?(AM=Z,aU=RT(T.firstChild)):aU=Z),aV(V,U,U.pendingProps.children,W),xP(V,U),V===null&&(U.flags|=4194304),U.child;case 5:return V===null&&zU&&((Z=T=aU)&&(T=yY(T,U.type,U.pendingProps,jT),T!==null?(U.stateNode=T,vV=U,aU=RT(T.firstChild),jT=!1,Z=!0):Z=!1),Z||ni(U)),Kt(U),Z=U.type,o=U.pendingProps,i=V!==null?V.memoizedProps:null,T=o.children,EM(Z,o)?T=null:i!==null&&EM(Z,i)&&(U.flags|=32),U.memoizedState!==null&&(Z=i4(V,U,zY,null,null,W),Tj._currentValue=Z),xP(V,U),aV(V,U,T,W),U.child;case 6:return V===null&&zU&&((V=W=aU)&&(W=KY(W,U.pendingProps,jT),W!==null?(U.stateNode=W,vV=U,aU=null,V=!0):V=!1),V||ni(U)),null;case 13:return jh(V,U,W);case 4:return mP(U,U.stateNode.containerInfo),T=U.pendingProps,V===null?U.child=db(U,null,T,W):aV(V,U,T,W),U.child;case 11:return sk(V,U,U.type,U.pendingProps,W);case 7:return aV(V,U,U.pendingProps,W),U.child;case 8:return aV(V,U,U.pendingProps.children,W),U.child;case 12:return aV(V,U,U.pendingProps.children,W),U.child;case 10:return T=U.pendingProps,oi(U,U.type,T.value),aV(V,U,T.children,W),U.child;case 9:return Z=U.type._context,T=U.pendingProps.children,lb(U),Z=BV(Z),T=T(Z),U.flags|=1,aV(V,U,T,W),U.child;case 14:return pk(V,U,U.type,U.pendingProps,W);case 15:return zh(V,U,U.type,U.pendingProps,W);case 19:return qh(V,U,W);case 31:return _Y(V,U,W);case 22:return uh(V,U,W,U.pendingProps);case 24:return lb(U),T=BV(uV),V===null?(Z=V4(),Z===null&&(Z=rU,o=U4(),Z.pooledCache=o,o.refCount++,o!==null&&(Z.pooledCacheLanes|=W),Z=o),U.memoizedState={parent:T,cache:Z},T4(U),oi(U,uV,Z)):((V.lanes&W)!==0&&(zM(V,U),Fu(U,null,null,W),du()),Z=V.memoizedState,o=U.memoizedState,Z.parent!==T?(Z={parent:T,cache:T},U.memoizedState=Z,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=Z),oi(U,uV,T)):(T=o.cache,oi(U,uV,T),T!==Z.cache&&OM(U,[uV],W,!0))),aV(V,U,U.pendingProps.children,W),U.child;case 29:throw U.pendingProps}throw Error(E(156,U.tag))}function fZ(V){V.flags|=4}function kt(V,U,W,T,Z){if((U=(V.mode&32)!==0)&&(U=!1),U){if(V.flags|=16777216,(Z&335544128)===Z)if(V.stateNode.complete)V.flags|=8192;else if(dh())V.flags|=8192;else throw Ab=sP,W4}else V.flags&=-16777217}function fk(V,U){if(U.type!=="stylesheet"||(U.state.loading&4)!==0)V.flags&=-16777217;else if(V.flags|=16777216,!bA(U))if(dh())V.flags|=8192;else throw Ab=sP,W4}function qP(V,U){U!==null&&(V.flags|=4),V.flags&16384&&(U=V.tag!==22?F1():536870912,V.lanes|=U,cS|=U)}function nu(V,U){if(!zU)switch(V.tailMode){case"hidden":U=V.tail;for(var W=null;U!==null;)U.alternate!==null&&(W=U),U=U.sibling;W===null?V.tail=null:W.sibling=null;break;case"collapsed":W=V.tail;for(var T=null;W!==null;)W.alternate!==null&&(T=W),W=W.sibling;T===null?U||V.tail===null?V.tail=null:V.tail.sibling=null:T.sibling=null}}function FU(V){var U=V.alternate!==null&&V.alternate.child===V.child,W=0,T=0;if(U)for(var Z=V.child;Z!==null;)W|=Z.lanes|Z.childLanes,T|=Z.subtreeFlags&65011712,T|=Z.flags&65011712,Z.return=V,Z=Z.sibling;else for(Z=V.child;Z!==null;)W|=Z.lanes|Z.childLanes,T|=Z.subtreeFlags,T|=Z.flags,Z.return=V,Z=Z.sibling;return V.subtreeFlags|=T,V.childLanes=W,U}function IY(V,U,W){var T=U.pendingProps;switch(gM(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return FU(U),null;case 1:return FU(U),null;case 3:return W=U.stateNode,T=null,V!==null&&(T=V.memoizedState.cache),U.memoizedState.cache!==T&&(U.flags|=2048),Oo(uV),IS(),W.pendingContext&&(W.context=W.pendingContext,W.pendingContext=null),(V===null||V.child===null)&&(DO(U)?fZ(U):V===null||V.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,Mt())),FU(U),null;case 26:var Z=U.type,o=U.memoizedState;return V===null?(fZ(U),o!==null?(FU(U),fk(U,o)):(FU(U),kt(U,Z,null,T,W))):o?o!==V.memoizedState?(fZ(U),FU(U),fk(U,o)):(FU(U),U.flags&=-16777217):(V=V.memoizedProps,V!==T&&fZ(U),FU(U),kt(U,Z,V,T,W)),null;case 27:if(lP(U),W=Ri.current,Z=U.type,V!==null&&U.stateNode!=null)V.memoizedProps!==T&&fZ(U);else{if(!T){if(U.stateNode===null)throw Error(E(166));return FU(U),null}V=eZ.current,DO(U)?Gk(U,V):(V=ZA(Z,T,W),U.stateNode=V,fZ(U))}return FU(U),null;case 5:if(lP(U),Z=U.type,V!==null&&U.stateNode!=null)V.memoizedProps!==T&&fZ(U);else{if(!T){if(U.stateNode===null)throw Error(E(166));return FU(U),null}if(o=eZ.current,DO(U))Gk(U,o);else{var i=ZJ(Ri.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",Z);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",Z);break;default:switch(Z){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",Z);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",Z);break;case"script":o=i.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof T.is=="string"?i.createElement("select",{is:T.is}):i.createElement("select"),T.multiple?o.multiple=!0:T.size&&(o.size=T.size);break;default:o=typeof T.is=="string"?i.createElement(Z,{is:T.is}):i.createElement(Z)}}o[CV]=U,o[cW]=T;U:for(i=U.child;i!==null;){if(i.tag===5||i.tag===6)o.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===U)break U;for(;i.sibling===null;){if(i.return===null||i.return===U)break U;i=i.return}i.sibling.return=i.return,i=i.sibling}U.stateNode=o;U:switch(sV(o,Z,T),Z){case"button":case"input":case"select":case"textarea":T=!!T.autoFocus;break U;case"img":T=!0;break U;default:T=!1}T&&fZ(U)}}return FU(U),kt(U,U.type,V===null?null:V.memoizedProps,U.pendingProps,W),null;case 6:if(V&&U.stateNode!=null)V.memoizedProps!==T&&fZ(U);else{if(typeof T!="string"&&U.stateNode===null)throw Error(E(166));if(V=Ri.current,DO(U)){if(V=U.stateNode,W=U.memoizedProps,T=null,Z=vV,Z!==null)switch(Z.tag){case 27:case 5:T=Z.memoizedProps}V[CV]=U,V=!!(V.nodeValue===W||T!==null&&T.suppressHydrationWarning===!0||UA(V.nodeValue,W)),V||ni(U,!0)}else V=ZJ(V).createTextNode(T),V[CV]=U,U.stateNode=V}return FU(U),null;case 31:if(W=U.memoizedState,V===null||V.memoizedState!==null){if(T=DO(U),W!==null){if(V===null){if(!T)throw Error(E(318));if(V=U.memoizedState,V=V!==null?V.dehydrated:null,!V)throw Error(E(557));V[CV]=U}else mb(),(U.flags&128)===0&&(U.memoizedState=null),U.flags|=4;FU(U),V=!1}else W=Mt(),V!==null&&V.memoizedState!==null&&(V.memoizedState.hydrationErrors=W),V=!0;if(!V)return U.flags&256?(lW(U),U):(lW(U),null);if((U.flags&128)!==0)throw Error(E(558))}return FU(U),null;case 13:if(T=U.memoizedState,V===null||V.memoizedState!==null&&V.memoizedState.dehydrated!==null){if(Z=DO(U),T!==null&&T.dehydrated!==null){if(V===null){if(!Z)throw Error(E(318));if(Z=U.memoizedState,Z=Z!==null?Z.dehydrated:null,!Z)throw Error(E(317));Z[CV]=U}else mb(),(U.flags&128)===0&&(U.memoizedState=null),U.flags|=4;FU(U),Z=!1}else Z=Mt(),V!==null&&V.memoizedState!==null&&(V.memoizedState.hydrationErrors=Z),Z=!0;if(!Z)return U.flags&256?(lW(U),U):(lW(U),null)}return lW(U),(U.flags&128)!==0?(U.lanes=W,U):(W=T!==null,V=V!==null&&V.memoizedState!==null,W&&(T=U.child,Z=null,T.alternate!==null&&T.alternate.memoizedState!==null&&T.alternate.memoizedState.cachePool!==null&&(Z=T.alternate.memoizedState.cachePool.pool),o=null,T.memoizedState!==null&&T.memoizedState.cachePool!==null&&(o=T.memoizedState.cachePool.pool),o!==Z&&(T.flags|=2048)),W!==V&&W&&(U.child.flags|=8192),qP(U,U.updateQueue),FU(U),null);case 4:return IS(),V===null&&c4(U.stateNode.containerInfo),FU(U),null;case 10:return Oo(U.type),FU(U),null;case 19:if(xV(oV),T=U.memoizedState,T===null)return FU(U),null;if(Z=(U.flags&128)!==0,o=T.rendering,o===null)if(Z)nu(T,!1);else{if(gU!==0||V!==null&&(V.flags&128)!==0)for(V=U.child;V!==null;){if(o=YP(V),o!==null){for(U.flags|=128,nu(T,!1),V=o.updateQueue,U.updateQueue=V,qP(U,V),U.subtreeFlags=0,V=W,W=U.child;W!==null;)PX(W,V),W=W.sibling;return hU(oV,oV.current&1|2),zU&&Wo(U,T.treeForkCount),U.child}V=V.sibling}T.tail!==null&&aW()>fP&&(U.flags|=128,Z=!0,nu(T,!1),U.lanes=4194304)}else{if(!Z)if(V=YP(o),V!==null){if(U.flags|=128,Z=!0,V=V.updateQueue,U.updateQueue=V,qP(U,V),nu(T,!0),T.tail===null&&T.tailMode==="hidden"&&!o.alternate&&!zU)return FU(U),null}else 2*aW()-T.renderingStartTime>fP&&W!==536870912&&(U.flags|=128,Z=!0,nu(T,!1),U.lanes=4194304);T.isBackwards?(o.sibling=U.child,U.child=o):(V=T.last,V!==null?V.sibling=o:U.child=o,T.last=o)}return T.tail!==null?(V=T.tail,T.rendering=V,T.tail=V.sibling,T.renderingStartTime=aW(),V.sibling=null,W=oV.current,hU(oV,Z?W&1|2:W&1),zU&&Wo(U,T.treeForkCount),V):(FU(U),null);case 22:case 23:return lW(U),Z4(),T=U.memoizedState!==null,V!==null?V.memoizedState!==null!==T&&(U.flags|=8192):T&&(U.flags|=8192),T?(W&536870912)!==0&&(U.flags&128)===0&&(FU(U),U.subtreeFlags&6&&(U.flags|=8192)):FU(U),W=U.updateQueue,W!==null&&qP(U,W.retryQueue),W=null,V!==null&&V.memoizedState!==null&&V.memoizedState.cachePool!==null&&(W=V.memoizedState.cachePool.pool),T=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(T=U.memoizedState.cachePool.pool),T!==W&&(U.flags|=2048),V!==null&&xV(hb),null;case 24:return W=null,V!==null&&(W=V.memoizedState.cache),U.memoizedState.cache!==W&&(U.flags|=2048),Oo(uV),FU(U),null;case 25:return null;case 30:return null}throw Error(E(156,U.tag))}function tY(V,U){switch(gM(U),U.tag){case 1:return V=U.flags,V&65536?(U.flags=V&-65537|128,U):null;case 3:return Oo(uV),IS(),V=U.flags,(V&65536)!==0&&(V&128)===0?(U.flags=V&-65537|128,U):null;case 26:case 27:case 5:return lP(U),null;case 31:if(U.memoizedState!==null){if(lW(U),U.alternate===null)throw Error(E(340));mb()}return V=U.flags,V&65536?(U.flags=V&-65537|128,U):null;case 13:if(lW(U),V=U.memoizedState,V!==null&&V.dehydrated!==null){if(U.alternate===null)throw Error(E(340));mb()}return V=U.flags,V&65536?(U.flags=V&-65537|128,U):null;case 19:return xV(oV),null;case 4:return IS(),null;case 10:return Oo(U.type),null;case 22:case 23:return lW(U),Z4(),V!==null&&xV(hb),V=U.flags,V&65536?(U.flags=V&-65537|128,U):null;case 24:return Oo(uV),null;case 25:return null;default:return null}}function Ph(V,U){switch(gM(U),U.tag){case 3:Oo(uV),IS();break;case 26:case 27:case 5:lP(U);break;case 4:IS();break;case 31:U.memoizedState!==null&&lW(U);break;case 13:lW(U);break;case 19:xV(oV);break;case 10:Oo(U.type);break;case 22:case 23:lW(U),Z4(),V!==null&&xV(hb);break;case 24:Oo(uV)}}function Rj(V,U){try{var W=U.updateQueue,T=W!==null?W.lastEffect:null;if(T!==null){var Z=T.next;W=Z;do{if((W.tag&V)===V){T=void 0;var o=W.create,i=W.inst;T=o(),i.destroy=T}W=W.next}while(W!==Z)}}catch(b){tU(U,U.return,b)}}function Hi(V,U,W){try{var T=U.updateQueue,Z=T!==null?T.lastEffect:null;if(Z!==null){var o=Z.next;T=o;do{if((T.tag&V)===V){var i=T.inst,b=i.destroy;if(b!==void 0){i.destroy=void 0,Z=U;var O=W,S=b;try{S()}catch(z){tU(Z,O,z)}}}T=T.next}while(T!==o)}}catch(z){tU(U,U.return,z)}}function Jh(V){var U=V.updateQueue;if(U!==null){var W=V.stateNode;try{HX(U,W)}catch(T){tU(V,V.return,T)}}}function $h(V,U,W){W.props=ab(V.type,V.memoizedProps),W.state=V.memoizedState;try{W.componentWillUnmount()}catch(T){tU(V,U,T)}}function Cu(V,U){try{var W=V.ref;if(W!==null){switch(V.tag){case 26:case 27:case 5:var T=V.stateNode;break;case 30:T=V.stateNode;break;default:T=V.stateNode}typeof W=="function"?V.refCleanup=W(T):W.current=T}}catch(Z){tU(V,U,Z)}}function _Z(V,U){var W=V.ref,T=V.refCleanup;if(W!==null)if(typeof T=="function")try{T()}catch(Z){tU(V,U,Z)}finally{V.refCleanup=null,V=V.alternate,V!=null&&(V.refCleanup=null)}else if(typeof W=="function")try{W(null)}catch(Z){tU(V,U,Z)}else W.current=null}function _h(V){var U=V.type,W=V.memoizedProps,T=V.stateNode;try{U:switch(U){case"button":case"input":case"select":case"textarea":W.autoFocus&&T.focus();break U;case"img":W.src?T.src=W.src:W.srcSet&&(T.srcset=W.srcSet)}}catch(Z){tU(V,V.return,Z)}}function Xt(V,U,W){try{var T=V.stateNode;CY(T,V.type,W,U),T[cW]=U}catch(Z){tU(V,V.return,Z)}}function eh(V){return V.tag===5||V.tag===3||V.tag===26||V.tag===27&&ri(V.type)||V.tag===4}function ht(V){U:for(;;){for(;V.sibling===null;){if(V.return===null||eh(V.return))return null;V=V.return}for(V.sibling.return=V.return,V=V.sibling;V.tag!==5&&V.tag!==6&&V.tag!==18;){if(V.tag===27&&ri(V.type)||V.flags&2||V.child===null||V.tag===4)continue U;V.child.return=V,V=V.child}if(!(V.flags&2))return V.stateNode}}function tM(V,U,W){var T=V.tag;if(T===5||T===6)V=V.stateNode,U?(W.nodeType===9?W.body:W.nodeName==="HTML"?W.ownerDocument.body:W).insertBefore(V,U):(U=W.nodeType===9?W.body:W.nodeName==="HTML"?W.ownerDocument.body:W,U.appendChild(V),W=W._reactRootContainer,W!=null||U.onclick!==null||(U.onclick=oo));else if(T!==4&&(T===27&&ri(V.type)&&(W=V.stateNode,U=null),V=V.child,V!==null))for(tM(V,U,W),V=V.sibling;V!==null;)tM(V,U,W),V=V.sibling}function DP(V,U,W){var T=V.tag;if(T===5||T===6)V=V.stateNode,U?W.insertBefore(V,U):W.appendChild(V);else if(T!==4&&(T===27&&ri(V.type)&&(W=V.stateNode),V=V.child,V!==null))for(DP(V,U,W),V=V.sibling;V!==null;)DP(V,U,W),V=V.sibling}function Ih(V){var U=V.stateNode,W=V.memoizedProps;try{for(var T=V.type,Z=U.attributes;Z.length;)U.removeAttributeNode(Z[0]);sV(U,T,W),U[CV]=V,U[cW]=W}catch(o){tU(V,V.return,o)}}var To=!1,zV=!1,At=!1,gk=typeof WeakSet=="function"?WeakSet:Set,GV=null;function MY(V,U){if(V=V.containerInfo,rM=OJ,V=bX(V),KM(V)){if("selectionStart"in V)var W={start:V.selectionStart,end:V.selectionEnd};else U:{W=(W=V.ownerDocument)&&W.defaultView||window;var T=W.getSelection&&W.getSelection();if(T&&T.rangeCount!==0){W=T.anchorNode;var Z=T.anchorOffset,o=T.focusNode;T=T.focusOffset;try{W.nodeType,o.nodeType}catch{W=null;break U}var i=0,b=-1,O=-1,S=0,z=0,u=V,q=null;V:for(;;){for(var R;u!==W||Z!==0&&u.nodeType!==3||(b=i+Z),u!==o||T!==0&&u.nodeType!==3||(O=i+T),u.nodeType===3&&(i+=u.nodeValue.length),(R=u.firstChild)!==null;)q=u,u=R;for(;;){if(u===V)break V;if(q===W&&++S===Z&&(b=i),q===o&&++z===T&&(O=i),(R=u.nextSibling)!==null)break;u=q,q=u.parentNode}u=R}W=b===-1||O===-1?null:{start:b,end:O}}else W=null}W=W||{start:0,end:0}}else W=null;for(xM={focusedElem:V,selectionRange:W},OJ=!1,GV=U;GV!==null;)if(U=GV,V=U.child,(U.subtreeFlags&1028)!==0&&V!==null)V.return=U,GV=V;else for(;GV!==null;){switch(U=GV,o=U.alternate,V=U.flags,U.tag){case 0:if((V&4)!==0&&(V=U.updateQueue,V=V!==null?V.events:null,V!==null))for(W=0;W<V.length;W++)Z=V[W],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:if((V&1024)!==0&&o!==null){V=void 0,W=U,Z=o.memoizedProps,o=o.memoizedState,T=W.stateNode;try{var I=ab(W.type,Z);V=T.getSnapshotBeforeUpdate(I,o),T.__reactInternalSnapshotBeforeUpdate=V}catch(M){tU(W,W.return,M)}}break;case 3:if((V&1024)!==0){if(V=U.stateNode.containerInfo,W=V.nodeType,W===9)kM(V);else if(W===1)switch(V.nodeName){case"HEAD":case"HTML":case"BODY":kM(V);break;default:V.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((V&1024)!==0)throw Error(E(163))}if(V=U.sibling,V!==null){V.return=U.return,GV=V;break}GV=U.return}}function th(V,U,W){var T=W.flags;switch(W.tag){case 0:case 11:case 15:Uo(V,W),T&4&&Rj(5,W);break;case 1:if(Uo(V,W),T&4)if(V=W.stateNode,U===null)try{V.componentDidMount()}catch(i){tU(W,W.return,i)}else{var Z=ab(W.type,U.memoizedProps);U=U.memoizedState;try{V.componentDidUpdate(Z,U,V.__reactInternalSnapshotBeforeUpdate)}catch(i){tU(W,W.return,i)}}T&64&&Jh(W),T&512&&Cu(W,W.return);break;case 3:if(Uo(V,W),T&64&&(V=W.updateQueue,V!==null)){if(U=null,W.child!==null)switch(W.child.tag){case 27:case 5:U=W.child.stateNode;break;case 1:U=W.child.stateNode}try{HX(V,U)}catch(i){tU(W,W.return,i)}}break;case 27:U===null&&T&4&&Ih(W);case 26:case 5:Uo(V,W),U===null&&T&4&&_h(W),T&512&&Cu(W,W.return);break;case 12:Uo(V,W);break;case 31:Uo(V,W),T&4&&nh(V,W);break;case 13:Uo(V,W),T&4&&Hh(V,W),T&64&&(V=W.memoizedState,V!==null&&(V=V.dehydrated,V!==null&&(W=kY.bind(null,W),LY(V,W))));break;case 22:if(T=W.memoizedState!==null||To,!T){U=U!==null&&U.memoizedState!==null||zV,Z=To;var o=zV;To=T,(zV=U)&&!o?Vo(V,W,(W.subtreeFlags&8772)!==0):Uo(V,W),To=Z,zV=o}break;case 30:break;default:Uo(V,W)}}function Mh(V){var U=V.alternate;U!==null&&(V.alternate=null,Mh(U)),V.child=null,V.deletions=null,V.sibling=null,V.tag===5&&(U=V.stateNode,U!==null&&vM(U)),V.stateNode=null,V.return=null,V.dependencies=null,V.memoizedProps=null,V.memoizedState=null,V.pendingProps=null,V.stateNode=null,V.updateQueue=null}var YU=null,QW=!1;function gZ(V,U,W){for(W=W.child;W!==null;)Qh(V,U,W),W=W.sibling}function Qh(V,U,W){if(CW&&typeof CW.onCommitFiberUnmount=="function")try{CW.onCommitFiberUnmount(bj,W)}catch{}switch(W.tag){case 26:zV||_Z(W,U),gZ(V,U,W),W.memoizedState?W.memoizedState.count--:W.stateNode&&(W=W.stateNode,W.parentNode.removeChild(W));break;case 27:zV||_Z(W,U);var T=YU,Z=QW;ri(W.type)&&(YU=W.stateNode,QW=!1),gZ(V,U,W),pu(W.stateNode),YU=T,QW=Z;break;case 5:zV||_Z(W,U);case 6:if(T=YU,Z=QW,YU=null,gZ(V,U,W),YU=T,QW=Z,YU!==null)if(QW)try{(YU.nodeType===9?YU.body:YU.nodeName==="HTML"?YU.ownerDocument.body:YU).removeChild(W.stateNode)}catch(o){tU(W,U,o)}else try{YU.removeChild(W.stateNode)}catch(o){tU(W,U,o)}break;case 18:YU!==null&&(QW?(V=YU,R1(V.nodeType===9?V.body:V.nodeName==="HTML"?V.ownerDocument.body:V,W.stateNode),ES(V)):R1(YU,W.stateNode));break;case 4:T=YU,Z=QW,YU=W.stateNode.containerInfo,QW=!0,gZ(V,U,W),YU=T,QW=Z;break;case 0:case 11:case 14:case 15:Hi(2,W,U),zV||Hi(4,W,U),gZ(V,U,W);break;case 1:zV||(_Z(W,U),T=W.stateNode,typeof T.componentWillUnmount=="function"&&$h(W,U,T)),gZ(V,U,W);break;case 21:gZ(V,U,W);break;case 22:zV=(T=zV)||W.memoizedState!==null,gZ(V,U,W),zV=T;break;default:gZ(V,U,W)}}function nh(V,U){if(U.memoizedState===null&&(V=U.alternate,V!==null&&(V=V.memoizedState,V!==null))){V=V.dehydrated;try{ES(V)}catch(W){tU(U,U.return,W)}}}function Hh(V,U){if(U.memoizedState===null&&(V=U.alternate,V!==null&&(V=V.memoizedState,V!==null&&(V=V.dehydrated,V!==null))))try{ES(V)}catch(W){tU(U,U.return,W)}}function QY(V){switch(V.tag){case 31:case 13:case 19:var U=V.stateNode;return U===null&&(U=V.stateNode=new gk),U;case 22:return V=V.stateNode,U=V._retryCache,U===null&&(U=V._retryCache=new gk),U;default:throw Error(E(435,V.tag))}}function RP(V,U){var W=QY(V);U.forEach(function(T){if(!W.has(T)){W.add(T);var Z=XY.bind(null,V,T);T.then(Z,Z)}})}function tW(V,U){var W=U.deletions;if(W!==null)for(var T=0;T<W.length;T++){var Z=W[T],o=V,i=U,b=i;U:for(;b!==null;){switch(b.tag){case 27:if(ri(b.type)){YU=b.stateNode,QW=!1;break U}break;case 5:YU=b.stateNode,QW=!1;break U;case 3:case 4:YU=b.stateNode.containerInfo,QW=!0;break U}b=b.return}if(YU===null)throw Error(E(160));Qh(o,i,Z),YU=null,QW=!1,o=Z.alternate,o!==null&&(o.return=null),Z.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)ch(U,V),U=U.sibling}var FT=null;function ch(V,U){var W=V.alternate,T=V.flags;switch(V.tag){case 0:case 11:case 14:case 15:tW(U,V),MW(V),T&4&&(Hi(3,V,V.return),Rj(3,V),Hi(5,V,V.return));break;case 1:tW(U,V),MW(V),T&512&&(zV||W===null||_Z(W,W.return)),T&64&&To&&(V=V.updateQueue,V!==null&&(T=V.callbacks,T!==null&&(W=V.shared.hiddenCallbacks,V.shared.hiddenCallbacks=W===null?T:W.concat(T))));break;case 26:var Z=FT;if(tW(U,V),MW(V),T&512&&(zV||W===null||_Z(W,W.return)),T&4){var o=W!==null?W.memoizedState:null;if(T=V.memoizedState,W===null)if(T===null)if(V.stateNode===null){U:{T=V.type,W=V.memoizedProps,Z=Z.ownerDocument||Z;V:switch(T){case"title":o=Z.getElementsByTagName("title")[0],(!o||o[zj]||o[CV]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=Z.createElement(T),Z.head.insertBefore(o,Z.querySelector("head > title"))),sV(o,T,W),o[CV]=V,rV(o),T=o;break U;case"link":var i=t1("link","href",Z).get(T+(W.href||""));if(i){for(var b=0;b<i.length;b++)if(o=i[b],o.getAttribute("href")===(W.href==null||W.href===""?null:W.href)&&o.getAttribute("rel")===(W.rel==null?null:W.rel)&&o.getAttribute("title")===(W.title==null?null:W.title)&&o.getAttribute("crossorigin")===(W.crossOrigin==null?null:W.crossOrigin)){i.splice(b,1);break V}}o=Z.createElement(T),sV(o,T,W),Z.head.appendChild(o);break;case"meta":if(i=t1("meta","content",Z).get(T+(W.content||""))){for(b=0;b<i.length;b++)if(o=i[b],o.getAttribute("content")===(W.content==null?null:""+W.content)&&o.getAttribute("name")===(W.name==null?null:W.name)&&o.getAttribute("property")===(W.property==null?null:W.property)&&o.getAttribute("http-equiv")===(W.httpEquiv==null?null:W.httpEquiv)&&o.getAttribute("charset")===(W.charSet==null?null:W.charSet)){i.splice(b,1);break V}}o=Z.createElement(T),sV(o,T,W),Z.head.appendChild(o);break;default:throw Error(E(468,T))}o[CV]=V,rV(o),T=o}V.stateNode=T}else M1(Z,V.type,V.stateNode);else V.stateNode=I1(Z,T,V.memoizedProps);else o!==T?(o===null?W.stateNode!==null&&(W=W.stateNode,W.parentNode.removeChild(W)):o.count--,T===null?M1(Z,V.type,V.stateNode):I1(Z,T,V.memoizedProps)):T===null&&V.stateNode!==null&&Xt(V,V.memoizedProps,W.memoizedProps)}break;case 27:tW(U,V),MW(V),T&512&&(zV||W===null||_Z(W,W.return)),W!==null&&T&4&&Xt(V,V.memoizedProps,W.memoizedProps);break;case 5:if(tW(U,V),MW(V),T&512&&(zV||W===null||_Z(W,W.return)),V.flags&32){Z=V.stateNode;try{MS(Z,"")}catch(I){tU(V,V.return,I)}}T&4&&V.stateNode!=null&&(Z=V.memoizedProps,Xt(V,Z,W!==null?W.memoizedProps:Z)),T&1024&&(At=!0);break;case 6:if(tW(U,V),MW(V),T&4){if(V.stateNode===null)throw Error(E(162));T=V.memoizedProps,W=V.stateNode;try{W.nodeValue=T}catch(I){tU(V,V.return,I)}}break;case 3:if(XP=null,Z=FT,FT=oJ(U.containerInfo),tW(U,V),FT=Z,MW(V),T&4&&W!==null&&W.memoizedState.isDehydrated)try{ES(U.containerInfo)}catch(I){tU(V,V.return,I)}At&&(At=!1,Gh(V));break;case 4:T=FT,FT=oJ(V.stateNode.containerInfo),tW(U,V),MW(V),FT=T;break;case 12:tW(U,V),MW(V);break;case 31:tW(U,V),MW(V),T&4&&(T=V.updateQueue,T!==null&&(V.updateQueue=null,RP(V,T)));break;case 13:tW(U,V),MW(V),V.child.flags&8192&&V.memoizedState!==null!=(W!==null&&W.memoizedState!==null)&&(tJ=aW()),T&4&&(T=V.updateQueue,T!==null&&(V.updateQueue=null,RP(V,T)));break;case 22:Z=V.memoizedState!==null;var O=W!==null&&W.memoizedState!==null,S=To,z=zV;if(To=S||Z,zV=z||O,tW(U,V),zV=z,To=S,MW(V),T&8192)U:for(U=V.stateNode,U._visibility=Z?U._visibility&-2:U._visibility|1,Z&&(W===null||O||To||zV||Eb(V)),W=null,U=V;;){if(U.tag===5||U.tag===26){if(W===null){O=W=U;try{if(o=O.stateNode,Z)i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{b=O.stateNode;var u=O.memoizedProps.style,q=u!=null&&u.hasOwnProperty("display")?u.display:null;b.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(I){tU(O,O.return,I)}}}else if(U.tag===6){if(W===null){O=U;try{O.stateNode.nodeValue=Z?"":O.memoizedProps}catch(I){tU(O,O.return,I)}}}else if(U.tag===18){if(W===null){O=U;try{var R=O.stateNode;Z?P1(R,!0):P1(O.stateNode,!1)}catch(I){tU(O,O.return,I)}}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===V)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===V)break U;for(;U.sibling===null;){if(U.return===null||U.return===V)break U;W===U&&(W=null),U=U.return}W===U&&(W=null),U.sibling.return=U.return,U=U.sibling}T&4&&(T=V.updateQueue,T!==null&&(W=T.retryQueue,W!==null&&(T.retryQueue=null,RP(V,W))));break;case 19:tW(U,V),MW(V),T&4&&(T=V.updateQueue,T!==null&&(V.updateQueue=null,RP(V,T)));break;case 30:break;case 21:break;default:tW(U,V),MW(V)}}function MW(V){var U=V.flags;if(U&2){try{for(var W,T=V.return;T!==null;){if(eh(T)){W=T;break}T=T.return}if(W==null)throw Error(E(160));switch(W.tag){case 27:var Z=W.stateNode,o=ht(V);DP(V,o,Z);break;case 5:var i=W.stateNode;W.flags&32&&(MS(i,""),W.flags&=-33);var b=ht(V);DP(V,b,i);break;case 3:case 4:var O=W.stateNode.containerInfo,S=ht(V);tM(V,S,O);break;default:throw Error(E(161))}}catch(z){tU(V,V.return,z)}V.flags&=-3}U&4096&&(V.flags&=-4097)}function Gh(V){if(V.subtreeFlags&1024)for(V=V.child;V!==null;){var U=V;Gh(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),V=V.sibling}}function Uo(V,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)th(V,U.alternate,U),U=U.sibling}function Eb(V){for(V=V.child;V!==null;){var U=V;switch(U.tag){case 0:case 11:case 14:case 15:Hi(4,U,U.return),Eb(U);break;case 1:_Z(U,U.return);var W=U.stateNode;typeof W.componentWillUnmount=="function"&&$h(U,U.return,W),Eb(U);break;case 27:pu(U.stateNode);case 26:case 5:_Z(U,U.return),Eb(U);break;case 22:U.memoizedState===null&&Eb(U);break;case 30:Eb(U);break;default:Eb(U)}V=V.sibling}}function Vo(V,U,W){for(W=W&&(U.subtreeFlags&8772)!==0,U=U.child;U!==null;){var T=U.alternate,Z=V,o=U,i=o.flags;switch(o.tag){case 0:case 11:case 15:Vo(Z,o,W),Rj(4,o);break;case 1:if(Vo(Z,o,W),T=o,Z=T.stateNode,typeof Z.componentDidMount=="function")try{Z.componentDidMount()}catch(S){tU(T,T.return,S)}if(T=o,Z=T.updateQueue,Z!==null){var b=T.stateNode;try{var O=Z.shared.hiddenCallbacks;if(O!==null)for(Z.shared.hiddenCallbacks=null,Z=0;Z<O.length;Z++)nX(O[Z],b)}catch(S){tU(T,T.return,S)}}W&&i&64&&Jh(o),Cu(o,o.return);break;case 27:Ih(o);case 26:case 5:Vo(Z,o,W),W&&T===null&&i&4&&_h(o),Cu(o,o.return);break;case 12:Vo(Z,o,W);break;case 31:Vo(Z,o,W),W&&i&4&&nh(Z,o);break;case 13:Vo(Z,o,W),W&&i&4&&Hh(Z,o);break;case 22:o.memoizedState===null&&Vo(Z,o,W),Cu(o,o.return);break;case 30:break;default:Vo(Z,o,W)}U=U.sibling}}function I4(V,U){var W=null;V!==null&&V.memoizedState!==null&&V.memoizedState.cachePool!==null&&(W=V.memoizedState.cachePool.pool),V=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(V=U.memoizedState.cachePool.pool),V!==W&&(V!=null&&V.refCount++,W!=null&&jj(W))}function t4(V,U){V=null,U.alternate!==null&&(V=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==V&&(U.refCount++,V!=null&&jj(V))}function dT(V,U,W,T){if(U.subtreeFlags&10256)for(U=U.child;U!==null;)rh(V,U,W,T),U=U.sibling}function rh(V,U,W,T){var Z=U.flags;switch(U.tag){case 0:case 11:case 15:dT(V,U,W,T),Z&2048&&Rj(9,U);break;case 1:dT(V,U,W,T);break;case 3:dT(V,U,W,T),Z&2048&&(V=null,U.alternate!==null&&(V=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==V&&(U.refCount++,V!=null&&jj(V)));break;case 12:if(Z&2048){dT(V,U,W,T),V=U.stateNode;try{var o=U.memoizedProps,i=o.id,b=o.onPostCommit;typeof b=="function"&&b(i,U.alternate===null?"mount":"update",V.passiveEffectDuration,-0)}catch(O){tU(U,U.return,O)}}else dT(V,U,W,T);break;case 31:dT(V,U,W,T);break;case 13:dT(V,U,W,T);break;case 23:break;case 22:o=U.stateNode,i=U.alternate,U.memoizedState!==null?o._visibility&2?dT(V,U,W,T):vu(V,U):o._visibility&2?dT(V,U,W,T):(o._visibility|=2,gO(V,U,W,T,(U.subtreeFlags&10256)!==0||!1)),Z&2048&&I4(i,U);break;case 24:dT(V,U,W,T),Z&2048&&t4(U.alternate,U);break;default:dT(V,U,W,T)}}function gO(V,U,W,T,Z){for(Z=Z&&((U.subtreeFlags&10256)!==0||!1),U=U.child;U!==null;){var o=V,i=U,b=W,O=T,S=i.flags;switch(i.tag){case 0:case 11:case 15:gO(o,i,b,O,Z),Rj(8,i);break;case 23:break;case 22:var z=i.stateNode;i.memoizedState!==null?z._visibility&2?gO(o,i,b,O,Z):vu(o,i):(z._visibility|=2,gO(o,i,b,O,Z)),Z&&S&2048&&I4(i.alternate,i);break;case 24:gO(o,i,b,O,Z),Z&&S&2048&&t4(i.alternate,i);break;default:gO(o,i,b,O,Z)}U=U.sibling}}function vu(V,U){if(U.subtreeFlags&10256)for(U=U.child;U!==null;){var W=V,T=U,Z=T.flags;switch(T.tag){case 22:vu(W,T),Z&2048&&I4(T.alternate,T);break;case 24:vu(W,T),Z&2048&&t4(T.alternate,T);break;default:vu(W,T)}U=U.sibling}}var Xu=8192;function fO(V,U,W){if(V.subtreeFlags&Xu)for(V=V.child;V!==null;)xh(V,U,W),V=V.sibling}function xh(V,U,W){switch(V.tag){case 26:fO(V,U,W),V.flags&Xu&&V.memoizedState!==null&&by(W,FT,V.memoizedState,V.memoizedProps);break;case 5:fO(V,U,W);break;case 3:case 4:var T=FT;FT=oJ(V.stateNode.containerInfo),fO(V,U,W),FT=T;break;case 22:V.memoizedState===null&&(T=V.alternate,T!==null&&T.memoizedState!==null?(T=Xu,Xu=16777216,fO(V,U,W),Xu=T):fO(V,U,W));break;default:fO(V,U,W)}}function Eh(V){var U=V.alternate;if(U!==null&&(V=U.child,V!==null)){U.child=null;do U=V.sibling,V.sibling=null,V=U;while(V!==null)}}function Hu(V){var U=V.deletions;if((V.flags&16)!==0){if(U!==null)for(var W=0;W<U.length;W++){var T=U[W];GV=T,Xh(T,V)}Eh(V)}if(V.subtreeFlags&10256)for(V=V.child;V!==null;)kh(V),V=V.sibling}function kh(V){switch(V.tag){case 0:case 11:case 15:Hu(V),V.flags&2048&&Hi(9,V,V.return);break;case 3:Hu(V);break;case 12:Hu(V);break;case 22:var U=V.stateNode;V.memoizedState!==null&&U._visibility&2&&(V.return===null||V.return.tag!==13)?(U._visibility&=-3,EP(V)):Hu(V);break;default:Hu(V)}}function EP(V){var U=V.deletions;if((V.flags&16)!==0){if(U!==null)for(var W=0;W<U.length;W++){var T=U[W];GV=T,Xh(T,V)}Eh(V)}for(V=V.child;V!==null;){switch(U=V,U.tag){case 0:case 11:case 15:Hi(8,U,U.return),EP(U);break;case 22:W=U.stateNode,W._visibility&2&&(W._visibility&=-3,EP(U));break;default:EP(U)}V=V.sibling}}function Xh(V,U){for(;GV!==null;){var W=GV;switch(W.tag){case 0:case 11:case 15:Hi(8,W,U);break;case 23:case 22:if(W.memoizedState!==null&&W.memoizedState.cachePool!==null){var T=W.memoizedState.cachePool.pool;T!=null&&T.refCount++}break;case 24:jj(W.memoizedState.cache)}if(T=W.child,T!==null)T.return=W,GV=T;else U:for(W=V;GV!==null;){T=GV;var Z=T.sibling,o=T.return;if(Mh(T),T===W){GV=null;break U}if(Z!==null){Z.return=o,GV=Z;break U}GV=o}}}var nY={getCacheForType:function(V){var U=BV(uV),W=U.data.get(V);return W===void 0&&(W=V(),U.data.set(V,W)),W},cacheSignal:function(){return BV(uV).controller.signal}},HY=typeof WeakMap=="function"?WeakMap:Map,PU=0,rU=null,ZU=null,bU=0,IU=0,mW=null,ui=!1,NS=!1,M4=!1,Ro=0,gU=0,ci=0,Nb=0,Q4=0,FW=0,cS=0,Bu=null,nW=null,MM=!1,tJ=0,hh=0,fP=1/0,gP=null,_i=null,IV=0,ei=null,GS=null,So=0,QM=0,nM=null,Ah=null,su=0,HM=null;function BW(){return(PU&2)!==0&&bU!==0?bU&-bU:w.T!==null?H4():B1()}function Nh(){if(FW===0)if((bU&536870912)===0||zU){var V=ZP;ZP<<=1,(ZP&3932160)===0&&(ZP=262144),FW=V}else FW=536870912;return V=pW.current,V!==null&&(V.flags|=32),FW}function HW(V,U,W){(V===rU&&(IU===2||IU===9)||V.cancelPendingCommit!==null)&&(rS(V,0),ji(V,bU,FW,!1)),Sj(V,W),((PU&2)===0||V!==rU)&&(V===rU&&((PU&2)===0&&(Nb|=W),gU===4&&ji(V,bU,FW,!1)),tZ(V))}function mh(V,U,W){if((PU&6)!==0)throw Error(E(327));var T=!W&&(U&127)===0&&(U&V.expiredLanes)===0||Oj(V,U),Z=T?rY(V,U):Nt(V,U,!0),o=T;do{if(Z===0){NS&&!T&&ji(V,U,0,!1);break}else{if(W=V.current.alternate,o&&!cY(W)){Z=Nt(V,U,!1),o=!1;continue}if(Z===2){if(o=U,V.errorRecoveryDisabledLanes&o)var i=0;else i=V.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){U=i;U:{var b=V;Z=Bu;var O=b.current.memoizedState.isDehydrated;if(O&&(rS(b,i).flags|=256),i=Nt(b,i,!1),i!==2){if(M4&&!O){b.errorRecoveryDisabledLanes|=o,Nb|=o,Z=4;break U}o=nW,nW=Z,o!==null&&(nW===null?nW=o:nW.push.apply(nW,o))}Z=i}if(o=!1,Z!==2)continue}}if(Z===1){rS(V,0),ji(V,U,0,!0);break}U:{switch(T=V,o=Z,o){case 0:case 1:throw Error(E(345));case 4:if((U&4194048)!==U)break;case 6:ji(T,U,FW,!ui);break U;case 2:nW=null;break;case 3:case 5:break;default:throw Error(E(329))}if((U&62914560)===U&&(Z=tJ+300-aW(),10<Z)){if(ji(T,U,FW,!ui),zJ(T,0,!0)!==0)break U;So=U,T.timeoutHandle=WA(U1.bind(null,T,W,nW,gP,MM,U,FW,Nb,cS,ui,o,"Throttled",-0,0),Z);break U}U1(T,W,nW,gP,MM,U,FW,Nb,cS,ui,o,null,-0,0)}}break}while(!0);tZ(V)}function U1(V,U,W,T,Z,o,i,b,O,S,z,u,q,R){if(V.timeoutHandle=-1,u=U.subtreeFlags,u&8192||(u&16785408)===16785408){u={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:oo},xh(U,o,u);var I=(o&62914560)===o?tJ-aW():(o&4194048)===o?hh-aW():0;if(I=Oy(u,I),I!==null){So=o,V.cancelPendingCommit=I(W1.bind(null,V,U,o,W,T,Z,i,b,O,z,u,null,q,R)),ji(V,o,i,!S);return}}W1(V,U,o,W,T,Z,i,b,O)}function cY(V){for(var U=V;;){var W=U.tag;if((W===0||W===11||W===15)&&U.flags&16384&&(W=U.updateQueue,W!==null&&(W=W.stores,W!==null)))for(var T=0;T<W.length;T++){var Z=W[T],o=Z.getSnapshot;Z=Z.value;try{if(!sW(o(),Z))return!1}catch{return!1}}if(W=U.child,U.subtreeFlags&16384&&W!==null)W.return=U,U=W;else{if(U===V)break;for(;U.sibling===null;){if(U.return===null||U.return===V)return!0;U=U.return}U.sibling.return=U.return,U=U.sibling}}return!0}function ji(V,U,W,T){U&=~Q4,U&=~Nb,V.suspendedLanes|=U,V.pingedLanes&=~U,T&&(V.warmLanes|=U),T=V.expirationTimes;for(var Z=U;0<Z;){var o=31-vW(Z),i=1<<o;T[o]=-1,Z&=~i}W!==0&&a1(V,W,U)}function MJ(){return(PU&6)===0?(Pj(0,!1),!1):!0}function n4(){if(ZU!==null){if(IU===0)var V=ZU.return;else V=ZU,io=pb=null,S4(V),$S=null,fu=0,V=ZU;for(;V!==null;)Ph(V.alternate,V),V=V.return;ZU=null}}function rS(V,U){var W=V.timeoutHandle;W!==-1&&(V.timeoutHandle=-1,sY(W)),W=V.cancelPendingCommit,W!==null&&(V.cancelPendingCommit=null,W()),So=0,n4(),rU=V,ZU=W=bo(V.current,null),bU=U,IU=0,mW=null,ui=!1,NS=Oj(V,U),M4=!1,cS=FW=Q4=Nb=ci=gU=0,nW=Bu=null,MM=!1,(U&8)!==0&&(U|=U&32);var T=V.entangledLanes;if(T!==0)for(V=V.entanglements,T&=U;0<T;){var Z=31-vW(T),o=1<<Z;U|=V[Z],T&=~o}return Ro=U,RJ(),W}function lh(V,U){f=null,w.H=Uj,U===AS||U===JJ?(U=Xk(),IU=3):U===W4?(U=Xk(),IU=4):IU=U===_4?8:U!==null&&typeof U=="object"&&typeof U.then=="function"?6:1,mW=U,ZU===null&&(gU=1,LP(V,uT(U,V.current)))}function dh(){var V=pW.current;return V===null?!0:(bU&4194048)===bU?qT===null:(bU&62914560)===bU||(bU&536870912)!==0?V===qT:!1}function Fh(){var V=w.H;return w.H=Uj,V===null?Uj:V}function ah(){var V=w.A;return w.A=nY,V}function UJ(){gU=4,ui||(bU&4194048)!==bU&&pW.current!==null||(NS=!0),(ci&134217727)===0&&(Nb&134217727)===0||rU===null||ji(rU,bU,FW,!1)}function Nt(V,U,W){var T=PU;PU|=2;var Z=Fh(),o=ah();(rU!==V||bU!==U)&&(gP=null,rS(V,U)),U=!1;var i=gU;U:do try{if(IU!==0&&ZU!==null){var b=ZU,O=mW;switch(IU){case 8:n4(),i=6;break U;case 3:case 2:case 9:case 6:pW.current===null&&(U=!0);var S=IU;if(IU=0,mW=null,jS(V,b,O,S),W&&NS){i=0;break U}break;default:S=IU,IU=0,mW=null,jS(V,b,O,S)}}GY(),i=gU;break}catch(z){lh(V,z)}while(!0);return U&&V.shellSuspendCounter++,io=pb=null,PU=T,w.H=Z,w.A=o,ZU===null&&(rU=null,bU=0,RJ()),i}function GY(){for(;ZU!==null;)Ch(ZU)}function rY(V,U){var W=PU;PU|=2;var T=Fh(),Z=ah();rU!==V||bU!==U?(gP=null,fP=aW()+500,rS(V,U)):NS=Oj(V,U);U:do try{if(IU!==0&&ZU!==null){U=ZU;var o=mW;V:switch(IU){case 1:IU=0,mW=null,jS(V,U,o,1);break;case 2:case 9:if(kk(o)){IU=0,mW=null,V1(U);break}U=function(){IU!==2&&IU!==9||rU!==V||(IU=7),tZ(V)},o.then(U,U);break U;case 3:IU=7;break U;case 4:IU=5;break U;case 7:kk(o)?(IU=0,mW=null,V1(U)):(IU=0,mW=null,jS(V,U,o,7));break;case 5:var i=null;switch(ZU.tag){case 26:i=ZU.memoizedState;case 5:case 27:var b=ZU;if(i?bA(i):b.stateNode.complete){IU=0,mW=null;var O=b.sibling;if(O!==null)ZU=O;else{var S=b.return;S!==null?(ZU=S,QJ(S)):ZU=null}break V}}IU=0,mW=null,jS(V,U,o,5);break;case 6:IU=0,mW=null,jS(V,U,o,6);break;case 8:n4(),gU=6;break U;default:throw Error(E(462))}}xY();break}catch(z){lh(V,z)}while(!0);return io=pb=null,w.H=T,w.A=Z,PU=W,ZU!==null?0:(rU=null,bU=0,RJ(),gU)}function xY(){for(;ZU!==null&&!fs();)Ch(ZU)}function Ch(V){var U=Rh(V.alternate,V,Ro);V.memoizedProps=V.pendingProps,U===null?QJ(V):ZU=U}function V1(V){var U=V,W=U.alternate;switch(U.tag){case 15:case 0:U=Kk(W,U,U.pendingProps,U.type,void 0,bU);break;case 11:U=Kk(W,U,U.pendingProps,U.type.render,U.ref,bU);break;case 5:S4(U);default:Ph(W,U),U=ZU=PX(U,Ro),U=Rh(W,U,Ro)}V.memoizedProps=V.pendingProps,U===null?QJ(V):ZU=U}function jS(V,U,W,T){io=pb=null,S4(U),$S=null,fu=0;var Z=U.return;try{if($Y(V,Z,U,W,bU)){gU=1,LP(V,uT(W,V.current)),ZU=null;return}}catch(o){if(Z!==null)throw ZU=Z,o;gU=1,LP(V,uT(W,V.current)),ZU=null;return}U.flags&32768?(zU||T===1?V=!0:NS||(bU&536870912)!==0?V=!1:(ui=V=!0,(T===2||T===9||T===3||T===6)&&(T=pW.current,T!==null&&T.tag===13&&(T.flags|=16384))),vh(U,V)):QJ(U)}function QJ(V){var U=V;do{if((U.flags&32768)!==0){vh(U,ui);return}V=U.return;var W=IY(U.alternate,U,Ro);if(W!==null){ZU=W;return}if(U=U.sibling,U!==null){ZU=U;return}ZU=U=V}while(U!==null);gU===0&&(gU=5)}function vh(V,U){do{var W=tY(V.alternate,V);if(W!==null){W.flags&=32767,ZU=W;return}if(W=V.return,W!==null&&(W.flags|=32768,W.subtreeFlags=0,W.deletions=null),!U&&(V=V.sibling,V!==null)){ZU=V;return}ZU=V=W}while(V!==null);gU=6,ZU=null}function W1(V,U,W,T,Z,o,i,b,O){V.cancelPendingCommit=null;do nJ();while(IV!==0);if((PU&6)!==0)throw Error(E(327));if(U!==null){if(U===V.current)throw Error(E(177));if(o=U.lanes|U.childLanes,o|=LM,Op(V,W,o,i,b,O),V===rU&&(ZU=rU=null,bU=0),GS=U,ei=V,So=W,QM=o,nM=Z,Ah=T,(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?(V.callbackNode=null,V.callbackPriority=0,hY(dP,function(){return yh(),null})):(V.callbackNode=null,V.callbackPriority=0),T=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||T){T=w.T,w.T=null,Z=JU.p,JU.p=2,i=PU,PU|=4;try{MY(V,U,W)}finally{PU=i,JU.p=Z,w.T=T}}IV=1,Bh(),sh(),ph()}}function Bh(){if(IV===1){IV=0;var V=ei,U=GS,W=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||W){W=w.T,w.T=null;var T=JU.p;JU.p=2;var Z=PU;PU|=4;try{ch(U,V);var o=xM,i=bX(V.containerInfo),b=o.focusedElem,O=o.selectionRange;if(i!==b&&b&&b.ownerDocument&&iX(b.ownerDocument.documentElement,b)){if(O!==null&&KM(b)){var S=O.start,z=O.end;if(z===void 0&&(z=S),"selectionStart"in b)b.selectionStart=S,b.selectionEnd=Math.min(z,b.value.length);else{var u=b.ownerDocument||document,q=u&&u.defaultView||window;if(q.getSelection){var R=q.getSelection(),I=b.textContent.length,M=Math.min(O.start,I),n=O.end===void 0?M:Math.min(O.end,I);!R.extend&&M>n&&(i=n,n=M,M=i);var P=nk(b,M),$=nk(b,n);if(P&&$&&(R.rangeCount!==1||R.anchorNode!==P.node||R.anchorOffset!==P.offset||R.focusNode!==$.node||R.focusOffset!==$.offset)){var t=u.createRange();t.setStart(P.node,P.offset),R.removeAllRanges(),M>n?(R.addRange(t),R.extend($.node,$.offset)):(t.setEnd($.node,$.offset),R.addRange(t))}}}}for(u=[],R=b;R=R.parentNode;)R.nodeType===1&&u.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<u.length;b++){var Q=u[b];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}OJ=!!rM,xM=rM=null}finally{PU=Z,JU.p=T,w.T=W}}V.current=U,IV=2}}function sh(){if(IV===2){IV=0;var V=ei,U=GS,W=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||W){W=w.T,w.T=null;var T=JU.p;JU.p=2;var Z=PU;PU|=4;try{th(V,U.alternate,U)}finally{PU=Z,JU.p=T,w.T=W}}IV=3}}function ph(){if(IV===4||IV===3){IV=0,gs();var V=ei,U=GS,W=So,T=Ah;(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?IV=5:(IV=0,GS=ei=null,Yh(V,V.pendingLanes));var Z=V.pendingLanes;if(Z===0&&(_i=null),CM(W),U=U.stateNode,CW&&typeof CW.onCommitFiberRoot=="function")try{CW.onCommitFiberRoot(bj,U,void 0,(U.current.flags&128)===128)}catch{}if(T!==null){U=w.T,Z=JU.p,JU.p=2,w.T=null;try{for(var o=V.onRecoverableError,i=0;i<T.length;i++){var b=T[i];o(b.value,{componentStack:b.stack})}}finally{w.T=U,JU.p=Z}}(So&3)!==0&&nJ(),tZ(V),Z=V.pendingLanes,(W&261930)!==0&&(Z&42)!==0?V===HM?su++:(su=0,HM=V):su=0,Pj(0,!1)}}function Yh(V,U){(V.pooledCacheLanes&=U)===0&&(U=V.pooledCache,U!=null&&(V.pooledCache=null,jj(U)))}function nJ(){return Bh(),sh(),ph(),yh()}function yh(){if(IV!==5)return!1;var V=ei,U=QM;QM=0;var W=CM(So),T=w.T,Z=JU.p;try{JU.p=32>W?32:W,w.T=null,W=nM,nM=null;var o=ei,i=So;if(IV=0,GS=ei=null,So=0,(PU&6)!==0)throw Error(E(331));var b=PU;if(PU|=4,kh(o.current),rh(o,o.current,i,W),PU=b,Pj(0,!1),CW&&typeof CW.onPostCommitFiberRoot=="function")try{CW.onPostCommitFiberRoot(bj,o)}catch{}return!0}finally{JU.p=Z,w.T=T,Yh(V,U)}}function T1(V,U,W){U=uT(W,U),U=_M(V.stateNode,U,2),V=$i(V,U,2),V!==null&&(Sj(V,2),tZ(V))}function tU(V,U,W){if(V.tag===3)T1(V,V,W);else for(;U!==null;){if(U.tag===3){T1(U,V,W);break}else if(U.tag===1){var T=U.stateNode;if(typeof U.type.getDerivedStateFromError=="function"||typeof T.componentDidCatch=="function"&&(_i===null||!_i.has(T))){V=uT(W,V),W=Oh(2),T=$i(U,W,2),T!==null&&(Sh(W,T,U,V),Sj(T,2),tZ(T));break}}U=U.return}}function mt(V,U,W){var T=V.pingCache;if(T===null){T=V.pingCache=new HY;var Z=new Set;T.set(U,Z)}else Z=T.get(U),Z===void 0&&(Z=new Set,T.set(U,Z));Z.has(W)||(M4=!0,Z.add(W),V=EY.bind(null,V,U,W),U.then(V,V))}function EY(V,U,W){var T=V.pingCache;T!==null&&T.delete(U),V.pingedLanes|=V.suspendedLanes&W,V.warmLanes&=~W,rU===V&&(bU&W)===W&&(gU===4||gU===3&&(bU&62914560)===bU&&300>aW()-tJ?(PU&2)===0&&rS(V,0):Q4|=W,cS===bU&&(cS=0)),tZ(V)}function Kh(V,U){U===0&&(U=F1()),V=sb(V,U),V!==null&&(Sj(V,U),tZ(V))}function kY(V){var U=V.memoizedState,W=0;U!==null&&(W=U.retryLane),Kh(V,W)}function XY(V,U){var W=0;switch(V.tag){case 31:case 13:var T=V.stateNode,Z=V.memoizedState;Z!==null&&(W=Z.retryLane);break;case 19:T=V.stateNode;break;case 22:T=V.stateNode._retryCache;break;default:throw Error(E(314))}T!==null&&T.delete(U),Kh(V,W)}function hY(V,U){return FM(V,U)}var VJ=null,US=null,cM=!1,WJ=!1,lt=!1,qi=0;function tZ(V){V!==US&&V.next===null&&(US===null?VJ=US=V:US=US.next=V),WJ=!0,cM||(cM=!0,NY())}function Pj(V,U){if(!lt&&WJ){lt=!0;do for(var W=!1,T=VJ;T!==null;){if(!U)if(V!==0){var Z=T.pendingLanes;if(Z===0)var o=0;else{var i=T.suspendedLanes,b=T.pingedLanes;o=(1<<31-vW(42|V)+1)-1,o&=Z&~(i&~b),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(W=!0,Z1(T,o))}else o=bU,o=zJ(T,T===rU?o:0,T.cancelPendingCommit!==null||T.timeoutHandle!==-1),(o&3)===0||Oj(T,o)||(W=!0,Z1(T,o));T=T.next}while(W);lt=!1}}function AY(){Lh()}function Lh(){WJ=cM=!1;var V=0;qi!==0&&BY()&&(V=qi);for(var U=aW(),W=null,T=VJ;T!==null;){var Z=T.next,o=wh(T,U);o===0?(T.next=null,W===null?VJ=Z:W.next=Z,Z===null&&(US=W)):(W=T,(V!==0||(o&3)!==0)&&(WJ=!0)),T=Z}IV!==0&&IV!==5||Pj(V,!1),qi!==0&&(qi=0)}function wh(V,U){for(var W=V.suspendedLanes,T=V.pingedLanes,Z=V.expirationTimes,o=V.pendingLanes&-62914561;0<o;){var i=31-vW(o),b=1<<i,O=Z[i];O===-1?((b&W)===0||(b&T)!==0)&&(Z[i]=bp(b,U)):O<=U&&(V.expiredLanes|=b),o&=~b}if(U=rU,W=bU,W=zJ(V,V===U?W:0,V.cancelPendingCommit!==null||V.timeoutHandle!==-1),T=V.callbackNode,W===0||V===U&&(IU===2||IU===9)||V.cancelPendingCommit!==null)return T!==null&&T!==null&&jt(T),V.callbackNode=null,V.callbackPriority=0;if((W&3)===0||Oj(V,W)){if(U=W&-W,U===V.callbackPriority)return U;switch(T!==null&&jt(T),CM(W)){case 2:case 8:W=l1;break;case 32:W=dP;break;case 268435456:W=d1;break;default:W=dP}return T=Dh.bind(null,V),W=FM(W,T),V.callbackPriority=U,V.callbackNode=W,U}return T!==null&&T!==null&&jt(T),V.callbackPriority=2,V.callbackNode=null,2}function Dh(V,U){if(IV!==0&&IV!==5)return V.callbackNode=null,V.callbackPriority=0,null;var W=V.callbackNode;if(nJ()&&V.callbackNode!==W)return null;var T=bU;return T=zJ(V,V===rU?T:0,V.cancelPendingCommit!==null||V.timeoutHandle!==-1),T===0?null:(mh(V,T,U),wh(V,aW()),V.callbackNode!=null&&V.callbackNode===W?Dh.bind(null,V):null)}function Z1(V,U){if(nJ())return null;mh(V,U,!0)}function NY(){pY(function(){(PU&6)!==0?FM(m1,AY):Lh()})}function H4(){if(qi===0){var V=QS;V===0&&(V=TP,TP<<=1,(TP&261888)===0&&(TP=256)),qi=V}return qi}function o1(V){return V==null||typeof V=="symbol"||typeof V=="boolean"?null:typeof V=="function"?V:tP(""+V)}function i1(V,U){var W=U.ownerDocument.createElement("input");return W.name=U.name,W.value=U.value,V.id&&W.setAttribute("form",V.id),U.parentNode.insertBefore(W,U),V=new FormData(V),W.parentNode.removeChild(W),V}function mY(V,U,W,T,Z){if(U==="submit"&&W&&W.stateNode===Z){var o=o1((Z[cW]||null).action),i=T.submitter;i&&(U=(U=i[cW]||null)?o1(U.formAction):i.getAttribute("formAction"),U!==null&&(o=U,i=null));var b=new uJ("action","action",null,T,Z);V.push({event:b,listeners:[{instance:null,listener:function(){if(T.defaultPrevented){if(qi!==0){var O=i?i1(Z,i):new FormData(Z);JM(W,{pending:!0,data:O,method:Z.method,action:o},null,O)}}else typeof o=="function"&&(b.preventDefault(),O=i?i1(Z,i):new FormData(Z),JM(W,{pending:!0,data:O,method:Z.method,action:o},o,O))},currentTarget:Z}]})}}for(PP=0;PP<ZM.length;PP++)JP=ZM[PP],b1=JP.toLowerCase(),O1=JP[0].toUpperCase()+JP.slice(1),aT(b1,"on"+O1);var JP,b1,O1,PP;aT(SX,"onAnimationEnd");aT(zX,"onAnimationIteration");aT(uX,"onAnimationStart");aT("dblclick","onDoubleClick");aT("focusin","onFocus");aT("focusout","onBlur");aT(UY,"onTransitionRun");aT(VY,"onTransitionStart");aT(WY,"onTransitionCancel");aT(jX,"onTransitionEnd");tS("onMouseEnter",["mouseout","mouseover"]);tS("onMouseLeave",["mouseout","mouseover"]);tS("onPointerEnter",["pointerout","pointerover"]);tS("onPointerLeave",["pointerout","pointerover"]);Cb("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Cb("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Cb("onBeforeInput",["compositionend","keypress","textInput","paste"]);Cb("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Cb("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Cb("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vj="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(" "),lY=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vj));function fh(V,U){U=(U&4)!==0;for(var W=0;W<V.length;W++){var T=V[W],Z=T.event;T=T.listeners;U:{var o=void 0;if(U)for(var i=T.length-1;0<=i;i--){var b=T[i],O=b.instance,S=b.currentTarget;if(b=b.listener,O!==o&&Z.isPropagationStopped())break U;o=b,Z.currentTarget=S;try{o(Z)}catch(z){aP(z)}Z.currentTarget=null,o=O}else for(i=0;i<T.length;i++){if(b=T[i],O=b.instance,S=b.currentTarget,b=b.listener,O!==o&&Z.isPropagationStopped())break U;o=b,Z.currentTarget=S;try{o(Z)}catch(z){aP(z)}Z.currentTarget=null,o=O}}}}function TU(V,U){var W=U[wt];W===void 0&&(W=U[wt]=new Set);var T=V+"__bubble";W.has(T)||(gh(U,V,2,!1),W.add(T))}function dt(V,U,W){var T=0;U&&(T|=4),gh(W,V,T,U)}var $P="_reactListening"+Math.random().toString(36).slice(2);function c4(V){if(!V[$P]){V[$P]=!0,s1.forEach(function(W){W!=="selectionchange"&&(lY.has(W)||dt(W,!1,V),dt(W,!0,V))});var U=V.nodeType===9?V:V.ownerDocument;U===null||U[$P]||(U[$P]=!0,dt("selectionchange",!1,U))}}function gh(V,U,W,T){switch(jA(U)){case 2:var Z=uy;break;case 8:Z=jy;break;default:Z=E4}W=Z.bind(null,U,W,V),Z=void 0,!VM||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(Z=!0),T?Z!==void 0?V.addEventListener(U,W,{capture:!0,passive:Z}):V.addEventListener(U,W,!0):Z!==void 0?V.addEventListener(U,W,{passive:Z}):V.addEventListener(U,W,!1)}function Ft(V,U,W,T,Z){var o=T;if((U&1)===0&&(U&2)===0&&T!==null)U:for(;;){if(T===null)return;var i=T.tag;if(i===3||i===4){var b=T.stateNode.containerInfo;if(b===Z)break;if(i===4)for(i=T.return;i!==null;){var O=i.tag;
vendor: 7,658 bytes, lines 8-9
8if((O===3||O===4)&&i.stateNode.containerInfo===Z)return;i=i.return}for(;b!==null;){if(i=TS(b),i===null)return;if(O=i.tag,O===5||O===6||O===26||O===27){T=o=i;continue U}b=b.parentNode}}T=T.return}f1(function(){var S=o,z=sM(W),u=[];U:{var q=qX.get(V);if(q!==void 0){var R=uJ,I=V;switch(V){case"keypress":if(QP(W)===0)break U;case"keydown":case"keyup":R=Xp;break;case"focusin":I="focus",R=$t;break;case"focusout":I="blur",R=$t;break;case"beforeblur":case"afterblur":R=$t;break;case"click":if(W.button===2)break U;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=Pk;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Ip;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=Np;break;case SX:case zX:case uX:R=Qp;break;case jX:R=lp;break;case"scroll":case"scrollend":R=_p;break;case"wheel":R=Fp;break;case"copy":case"cut":case"paste":R=Hp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=$k;break;case"toggle":case"beforetoggle":R=Cp}var M=(U&4)!==0,n=!M&&(V==="scroll"||V==="scrollend"),P=M?q!==null?q+"Capture":null:q;M=[];for(var $=S,t;$!==null;){var Q=$;if(t=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||t===null||P===null||(Q=yu($,P),Q!=null&&M.push(Wj($,Q,t))),n)break;$=$.return}0<M.length&&(q=new R(q,I,null,W,z),u.push({event:q,listeners:M}))}}if((U&7)===0){U:{if(q=V==="mouseover"||V==="pointerover",R=V==="mouseout"||V==="pointerout",q&&W!==UM&&(I=W.relatedTarget||W.fromElement)&&(TS(I)||I[kS]))break U;if((R||q)&&(q=z.window===z?z:(q=z.ownerDocument)?q.defaultView||q.parentWindow:window,R?(I=W.relatedTarget||W.toElement,R=S,I=I?TS(I):null,I!==null&&(n=ij(I),M=I.tag,I!==n||M!==5&&M!==27&&M!==6)&&(I=null)):(R=null,I=S),R!==I)){if(M=Pk,Q="onMouseLeave",P="onMouseEnter",$="mouse",(V==="pointerout"||V==="pointerover")&&(M=$k,Q="onPointerLeave",P="onPointerEnter",$="pointer"),n=R==null?q:Eu(R),t=I==null?q:Eu(I),q=new M(Q,$+"leave",R,W,z),q.target=n,q.relatedTarget=t,Q=null,TS(z)===S&&(M=new M(P,$+"enter",I,W,z),M.target=t,M.relatedTarget=n,Q=M),n=Q,R&&I)V:{for(M=dY,P=R,$=I,t=0,Q=P;Q;Q=M(Q))t++;Q=0;for(var x=$;x;x=M(x))Q++;for(;0<t-Q;)P=M(P),t--;for(;0<Q-t;)$=M($),Q--;for(;t--;){if(P===$||$!==null&&P===$.alternate){M=P;break V}P=M(P),$=M($)}M=null}else M=null;R!==null&&S1(u,q,R,M,!1),I!==null&&n!==null&&S1(u,n,I,M,!0)}}U:{if(q=S?Eu(S):window,R=q.nodeName&&q.nodeName.toLowerCase(),R==="select"||R==="input"&&q.type==="file")var k=tk;else if(Ik(q))if(ZX)k=Dp;else{k=Lp;var r=Kp}else R=q.nodeName,!R||R.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?S&&BM(S.elementType)&&(k=tk):k=wp;if(k&&(k=k(V,S))){TX(u,k,W,z);break U}r&&r(V,q,S),V==="focusout"&&S&&q.type==="number"&&S.memoizedProps.value!=null&&gt(q,"number",q.value)}switch(r=S?Eu(S):window,V){case"focusin":(Ik(r)||r.contentEditable==="true")&&(iS=r,WM=S,Nu=null);break;case"focusout":Nu=WM=iS=null;break;case"mousedown":TM=!0;break;case"contextmenu":case"mouseup":case"dragend":TM=!1,Hk(u,W,z);break;case"selectionchange":if(gp)break;case"keydown":case"keyup":Hk(u,W,z)}var A;if(yM)U:{switch(V){case"compositionstart":var d="onCompositionStart";break U;case"compositionend":d="onCompositionEnd";break U;case"compositionupdate":d="onCompositionUpdate";break U}d=void 0}else oS?VX(V,W)&&(d="onCompositionEnd"):V==="keydown"&&W.keyCode===229&&(d="onCompositionStart");d&&(UX&&W.locale!=="ko"&&(oS||d!=="onCompositionStart"?d==="onCompositionEnd"&&oS&&(A=g1()):(zi=z,pM="value"in zi?zi.value:zi.textContent,oS=!0)),r=TJ(S,d),0<r.length&&(d=new Jk(d,V,null,W,z),u.push({event:d,listeners:r}),A?d.data=A:(A=WX(W),A!==null&&(d.data=A)))),(A=Bp?sp(V,W):pp(V,W))&&(d=TJ(S,"onBeforeInput"),0<d.length&&(r=new Jk("onBeforeInput","beforeinput",null,W,z),u.push({event:r,listeners:d}),r.data=A)),mY(u,V,S,W,z)}fh(u,U)})}function Wj(V,U,W){return{instance:V,listener:U,currentTarget:W}}function TJ(V,U){for(var W=U+"Capture",T=[];V!==null;){var Z=V,o=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||o===null||(Z=yu(V,W),Z!=null&&T.unshift(Wj(V,Z,o)),Z=yu(V,U),Z!=null&&T.push(Wj(V,Z,o))),V.tag===3)return T;V=V.return}return[]}function dY(V){if(V===null)return null;do V=V.return;while(V&&V.tag!==5&&V.tag!==27);return V||null}function S1(V,U,W,T,Z){for(var o=U._reactName,i=[];W!==null&&W!==T;){var b=W,O=b.alternate,S=b.stateNode;if(b=b.tag,O!==null&&O===T)break;b!==5&&b!==26&&b!==27||S===null||(O=S,Z?(S=yu(W,o),S!=null&&i.unshift(Wj(W,S,O))):Z||(S=yu(W,o),S!=null&&i.push(Wj(W,S,O)))),W=W.return}i.length!==0&&V.push({event:U,listeners:i})}var FY=/\r\n?/g,aY=/\u0000|\uFFFD/g;function z1(V){return(typeof V=="string"?V:""+V).replace(FY,`
9`).replace(aY,"")}function UA(V,U){return U=z1(U),z1(V)===U}function HU(V,U,W,T,Z,o){switch(W){case"children":typeof T=="string"?U==="body"||U==="textarea"&&T===""||MS(V,T):(typeof T=="number"||typeof T=="bigint")&&U!=="body"&&MS(V,""+T);break;case"className":iP(V,"class",T);break;case"tabIndex":iP(V,"tabindex",T);break;case"dir":case"role":case"viewBox":case"width":case"height":iP(V,W,T);break;case"style":D1(V,T,o);break;case"data":if(U!=="object"){iP(V,"data",T);break}case"src":case"href":if(T===""&&(U!=="a"||W!=="href")){V.removeAttribute(W);break}if(T==null||typeof T=="function"||typeof T=="symbol"||typeof T=="boolean"){V.removeAttribute(W);break}T=tP(""+T),V.setAttribute(W,T);break;case"action":case"formAction":if(typeof T=="function"){V.setAttribute(W,"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"&&(W==="formAction"?(U!=="input"&&HU(V,U,"name",Z.name,Z,null),HU(V,U,"formEncType",Z.formEncType,Z,null),HU(V,U,"formMethod",Z.formMethod,Z,null),HU(V,U,"formTarget",Z.formTarget,Z,null)):(HU(V,U,"encType",Z.encType,Z,null),HU(V,U,"method",Z.method,Z,null),HU(V,U,"target",Z.target,Z,null)));if(T==null||typeof T=="symbol"||typeof T=="boolean"){V.removeAttribute(W);break}T=tP(""+T),V.setAttribute(W,T);break;case"onClick":T!=null&&(V.onclick=oo);break;case"onScroll":T!=null&&TU("scroll",V);break;case"onScrollEnd":T!=null&&TU("scrollend",V);break;case"dangerouslySetInnerHTML":if(T!=null){if(typeof T!="object"||!("__html"in T))throw Error(E(61));if(W=T.__html,W!=null){if(Z.children!=null)throw Error(E(60));V.innerHTML=W}}break;case"multiple":V.multiple=T&&typeof T!="function"&&typeof T!="symbol";break;case"muted":V.muted=T&&typeof T!="function"&&typeof T!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(T==null||typeof T=="function"||typeof T=="boolean"||typeof T=="symbol"){V.removeAttribute("xlink:href");break}W=tP(""+T),V.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",W);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":T!=null&&typeof T!="function"&&typeof T!="symbol"?V.setAttribute(W,""+T):V.removeAttribute(W);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
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":T&&typeof T!="function"&&typeof T!="symbol"?V.setAttribute(W,""):V.removeAttribute(W);break;case"capture":case"download":T===!0?V.setAttribute(W,""):T!==!1&&T!=null&&typeof T!="function"&&typeof T!="symbol"?V.setAttribute(W,T):V.removeAttribute(W);break;case"cols":case"rows":case"size":case"span":T!=null&&typeof T!="function"&&typeof T!="symbol"&&!isNaN(T)&&1<=T?V.setAttribute(W,T):V.removeAttribute(W);break;case"rowSpan":case"start":T==null||typeof T=="function"||typeof T=="symbol"||isNaN(T)?V.removeAttribute(W):V.setAttribute(W,T);break;case"popover":TU("beforetoggle",V),TU("toggle",V),IP(V,"popover",T);break;case"xlinkActuate":DZ(V,"http://www.w3.org/1999/xlink","xlink:actuate",T);break;case"xlinkArcrole":DZ(V,"http://www.w3.org/1999/xlink","xlink:arcrole",T);break;case"xlinkRole":DZ(V,"http://www.w3.org/1999/xlink","xlink:role",T);break;case"xlinkShow":DZ(V,"http://www.w3.org/1999/xlink","xlink:show",T);break;case"xlinkTitle":DZ(V,"http://www.w3.org/1999/xlink","xlink:title",T);break;case"xlinkType":DZ(V,"http://www.w3.org/1999/xlink","xlink:type",T);break;case"xmlBase":DZ(V,"http://www.w3.org/XML/1998/namespace","xml:base",T);break;case"xmlLang":DZ(V,"http://www.w3.org/XML/1998/namespace","xml:lang",T);break;case"xmlSpace":DZ(V,"http://www.w3.org/XML/1998/namespace","xml:space",T);break;case"is":IP(V,"is",T);break;case"innerText":case"textContent":break;default:(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N")&&(W=Jp.get(W)||W,IP(V,W,T))}}function GM(V,U,W,T,Z,o){switch(W){case"style":D1(V,T,o);break;case"dangerouslySetInnerHTML":if(T!=null){if(typeof T!="object"||!("__html"in T))throw Error(E(61));if(W=T.__html,W!=null){if(Z.children!=null)throw Error(E(60));V.innerHTML=W}}break;case"children":typeof T=="string"?MS(V,T):(typeof T=="number"||typeof T=="bigint")&&MS(V,""+T);break;case"onScroll":T!=null&&TU("scroll",V);break;case"onScrollEnd":T!=null&&TU("scrollend",V);break;case"onClick":T!=null&&(V.onclick=oo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!p1.hasOwnProperty(W))U:{if(W[0]==="o"&&W[1]==="n"&&(Z=W.endsWith("Capture"),U=W.slice(2,Z?W.length-7:void 0),o=V[cW]||null,o=o!=null?o[W]:null,typeof o=="function"&&V.removeEventListener(U,o,Z),typeof T=="function")){typeof o!="function"&&o!==null&&(W in V?V[W]=null:V.hasAttribute(W)&&V.removeAttribute(W)),V.addEventListener(U,T,Z);break U}W in V?V[W]=T:T===!0?V.setAttribute(W,""):IP(V,W,T)}}}function sV(V,U,W){switch(U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":TU("error",V),TU("load",V);var T=!1,Z=!1,o;for(o in W)if(W.hasOwnProperty(o)){var i=W[o];if(i!=null)switch(o){case"src":T=!0;break;case"srcSet":Z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(E(137,U));default:HU(V,U,o,i,W,null)}}Z&&HU(V,U,"srcSet",W.srcSet,W,null),T&&HU(V,U,"src",W.src,W,null);return;case"input":TU("invalid",V);var b=o=i=Z=null,O=null,S=null;for(T in W)if(W.hasOwnProperty(T)){var z=W[T];if(z!=null)switch(T){case"name":Z=z;break;case"type":i=z;break;case"checked":O=z;break;case"defaultChecked":S=z;break;case"value":o=z;break;case"defaultValue":b=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(E(137,U));break;default:HU(V,U,T,z,W,null)}}K1(V,o,b,O,S,i,Z,!1);return;case"select":TU("invalid",V),T=i=o=null;for(Z in W)if(W.hasOwnProperty(Z)&&(b=W[Z],b!=null))switch(Z){case"value":o=b;break;case"defaultValue":i=b;break;case"multiple":T=b;default:HU(V,U,Z,b,W,null)}U=o,W=i,V.multiple=!!T,U!=null?RS(V,!!T,U,!1):W!=null&&RS(V,!!T,W,!0);return;case"textarea":TU("invalid",V),o=Z=T=null;for(i in W)if(W.hasOwnProperty(i)&&(b=W[i],b!=null))switch(i){case"value":T=b;break;case"defaultValue":Z=b;break;case"children":o=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(E(91));break;default:HU(V,U,i,b,W,null)}w1(V,T,Z,o);return;case"option":for(O in W)if(W.hasOwnProperty(O)&&(T=W[O],T!=null))switch(O){case"selected":V.selected=T&&typeof T!="function"&&typeof T!="symbol";break;default:HU(V,U,O,T,W,null)}return;case"dialog":TU("beforetoggle",V),TU("toggle",V),TU("cancel",V),TU("close",V);break;case"iframe":case"object":TU("load",V);break;case"video":case"audio":for(T=0;T<Vj.length;T++)TU(Vj[T],V);break;case"image":TU("error",V),TU("load",V);break;case"details":TU("toggle",V);break;case"embed":case"source":case"link":TU("error",V),TU("load",V);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(S in W)if(W.hasOwnProperty(S)&&(T=W[S],T!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(E(137,U));default:HU(V,U,S,T,W,null)}return;default:if(BM(U)){for(z in W)W.hasOwnProperty(z)&&(T=W[z],T!==void 0&&GM(V,U,z,T,W,void 0));return}}for(b in W)W.hasOwnProperty(b)&&(T=W[b],T!=null&&HU(V,U,b,T,W,null))}function CY(V,U,W,T){switch(U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Z=null,o=null,i=null,b=null,O=null,S=null,z=null;for(R in W){var u=W[R];if(W.hasOwnProperty(R)&&u!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":O=u;default:T.hasOwnProperty(R)||HU(V,U,R,null,T,u)}}for(var q in T){var R=T[q];if(u=W[q],T.hasOwnProperty(q)&&(R!=null||u!=null))switch(q){case"type":o=R;break;case"name":Z=R;break;case"checked":S=R;break;case"defaultChecked":z=R;break;case"value":i=R;break;case"defaultValue":b=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(E(137,U));break;default:R!==u&&HU(V,U,q,R,T,u)}}ft(V,i,b,O,S,z,o,Z);return;case"select":R=i=b=q=null;for(o in W)if(O=W[o],W.hasOwnProperty(o)&&O!=null)switch(o){case"value":break;case"multiple":R=O;default:T.hasOwnProperty(o)||HU(V,U,o,null,T,O)}for(Z in T)if(o=T[Z],O=W[Z],T.hasOwnProperty(Z)&&(o!=null||O!=null))switch(Z){case"value":q=o;break;case"defaultValue":b=o;break;case"multiple":i=o;default:o!==O&&HU(V,U,Z,o,T,O)}U=b,W=i,T=R,q!=null?RS(V,!!W,q,!1):!!T!=!!W&&(U!=null?RS(V,!!W,U,!0):RS(V,!!W,W?[]:"",!1));return;case"textarea":R=q=null;for(b in W)if(Z=W[b],W.hasOwnProperty(b)&&Z!=null&&!T.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:HU(V,U,b,null,T,Z)}for(i in T)if(Z=T[i],o=W[i],T.hasOwnProperty(i)&&(Z!=null||o!=null))switch(i){case"value":q=Z;break;case"defaultValue":R=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error(E(91));break;default:Z!==o&&HU(V,U,i,Z,T,o)}L1(V,q,R);return;case"option":for(var I in W)if(q=W[I],W.hasOwnProperty(I)&&q!=null&&!T.hasOwnProperty(I))switch(I){case"selected":V.selected=!1;break;default:HU(V,U,I,null,T,q)}for(O in T)if(q=T[O],R=W[O],T.hasOwnProperty(O)&&q!==R&&(q!=null||R!=null))switch(O){case"selected":V.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:HU(V,U,O,q,T,R)}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 M in W)q=W[M],W.hasOwnProperty(M)&&q!=null&&!T.hasOwnProperty(M)&&HU(V,U,M,null,T,q);
vendor: 2,271 bytes, line 9
9for(S in T)if(q=T[S],R=W[S],T.hasOwnProperty(S)&&q!==R&&(q!=null||R!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(E(137,U));break;default:HU(V,U,S,q,T,R)}return;default:if(BM(U)){for(var n in W)q=W[n],W.hasOwnProperty(n)&&q!==void 0&&!T.hasOwnProperty(n)&&GM(V,U,n,void 0,T,q);for(z in T)q=T[z],R=W[z],!T.hasOwnProperty(z)||q===R||q===void 0&&R===void 0||GM(V,U,z,q,T,R);return}}for(var P in W)q=W[P],W.hasOwnProperty(P)&&q!=null&&!T.hasOwnProperty(P)&&HU(V,U,P,null,T,q);for(u in T)q=T[u],R=W[u],!T.hasOwnProperty(u)||q===R||q==null&&R==null||HU(V,U,u,q,T,R)}function u1(V){switch(V){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function vY(){if(typeof performance.getEntriesByType=="function"){for(var V=0,U=0,W=performance.getEntriesByType("resource"),T=0;T<W.length;T++){var Z=W[T],o=Z.transferSize,i=Z.initiatorType,b=Z.duration;if(o&&b&&u1(i)){for(i=0,b=Z.responseEnd,T+=1;T<W.length;T++){var O=W[T],S=O.startTime;if(S>b)break;var z=O.transferSize,u=O.initiatorType;z&&u1(u)&&(O=O.responseEnd,i+=z*(O<b?1:(b-S)/(O-S)))}if(--T,U+=8*(o+i)/(Z.duration/1e3),V++,10<V)break}}if(0<V)return U/V/1e6}return navigator.connection&&(V=navigator.connection.downlink,typeof V=="number")?V:5}var rM=null,xM=null;function ZJ(V){return V.nodeType===9?V:V.ownerDocument}function j1(V){switch(V){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function VA(V,U){if(V===0)switch(U){case"svg":return 1;case"math":return 2;default:return 0}return V===1&&U==="foreignObject"?0:V}function EM(V,U){return V==="textarea"||V==="noscript"||typeof U.children=="string"||typeof U.children=="number"||typeof U.children=="bigint"||typeof U.dangerouslySetInnerHTML=="object"&&U.dangerouslySetInnerHTML!==null&&U.dangerouslySetInnerHTML.__html!=null}var at=null;function BY(){var V=window.event;return V&&V.type==="popstate"?V===at?!1:(at=V,!0):(at=null,!1)}var WA=typeof setTimeout=="function"?setTimeout:void 0,sY=typeof clearTimeout=="function"?clearTimeout:void 0,q1=typeof Promise=="function"?Promise:void 0,pY=typeof queueMicrotask=="function"?queueMicrotask:typeof q1<"u"?function(V){return q1.resolve(null).then(V).catch(YY)}:WA;
vendor: 23,607 bytes, line 9
9function YY(V){setTimeout(function(){throw V})}function ri(V){return V==="head"}function R1(V,U){var W=U,T=0;do{var Z=W.nextSibling;if(V.removeChild(W),Z&&Z.nodeType===8)if(W=Z.data,W==="/$"||W==="/&"){if(T===0){V.removeChild(Z),ES(U);return}T--}else if(W==="$"||W==="$?"||W==="$~"||W==="$!"||W==="&")T++;else if(W==="html")pu(V.ownerDocument.documentElement);else if(W==="head"){W=V.ownerDocument.head,pu(W);for(var o=W.firstChild;o;){var i=o.nextSibling,b=o.nodeName;o[zj]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&o.rel.toLowerCase()==="stylesheet"||W.removeChild(o),o=i}}else W==="body"&&pu(V.ownerDocument.body);W=Z}while(W);ES(U)}function P1(V,U){var W=V;V=0;do{var T=W.nextSibling;if(W.nodeType===1?U?(W._stashedDisplay=W.style.display,W.style.display="none"):(W.style.display=W._stashedDisplay||"",W.getAttribute("style")===""&&W.removeAttribute("style")):W.nodeType===3&&(U?(W._stashedText=W.nodeValue,W.nodeValue=""):W.nodeValue=W._stashedText||""),T&&T.nodeType===8)if(W=T.data,W==="/$"){if(V===0)break;V--}else W!=="$"&&W!=="$?"&&W!=="$~"&&W!=="$!"||V++;W=T}while(W)}function kM(V){var U=V.firstChild;for(U&&U.nodeType===10&&(U=U.nextSibling);U;){var W=U;switch(U=U.nextSibling,W.nodeName){case"HTML":case"HEAD":case"BODY":kM(W),vM(W);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(W.rel.toLowerCase()==="stylesheet")continue}V.removeChild(W)}}function yY(V,U,W,T){for(;V.nodeType===1;){var Z=W;if(V.nodeName.toLowerCase()!==U.toLowerCase()){if(!T&&(V.nodeName!=="INPUT"||V.type!=="hidden"))break}else if(T){if(!V[zj])switch(U){case"meta":if(!V.hasAttribute("itemprop"))break;return V;case"link":if(o=V.getAttribute("rel"),o==="stylesheet"&&V.hasAttribute("data-precedence"))break;if(o!==Z.rel||V.getAttribute("href")!==(Z.href==null||Z.href===""?null:Z.href)||V.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin)||V.getAttribute("title")!==(Z.title==null?null:Z.title))break;return V;case"style":if(V.hasAttribute("data-precedence"))break;return V;case"script":if(o=V.getAttribute("src"),(o!==(Z.src==null?null:Z.src)||V.getAttribute("type")!==(Z.type==null?null:Z.type)||V.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin))&&o&&V.hasAttribute("async")&&!V.hasAttribute("itemprop"))break;return V;default:return V}}else if(U==="input"&&V.type==="hidden"){var o=Z.name==null?null:""+Z.name;if(Z.type==="hidden"&&V.getAttribute("name")===o)return V}else return V;if(V=RT(V.nextSibling),V===null)break}return null}function KY(V,U,W){if(U==="")return null;for(;V.nodeType!==3;)if((V.nodeType!==1||V.nodeName!=="INPUT"||V.type!=="hidden")&&!W||(V=RT(V.nextSibling),V===null))return null;return V}function TA(V,U){for(;V.nodeType!==8;)if((V.nodeType!==1||V.nodeName!=="INPUT"||V.type!=="hidden")&&!U||(V=RT(V.nextSibling),V===null))return null;return V}function XM(V){return V.data==="$?"||V.data==="$~"}function hM(V){return V.data==="$!"||V.data==="$?"&&V.ownerDocument.readyState!=="loading"}function LY(V,U){var W=V.ownerDocument;if(V.data==="$~")V._reactRetry=U;else if(V.data!=="$?"||W.readyState!=="loading")U();else{var T=function(){U(),W.removeEventListener("DOMContentLoaded",T)};W.addEventListener("DOMContentLoaded",T),V._reactRetry=T}}function RT(V){for(;V!=null;V=V.nextSibling){var U=V.nodeType;if(U===1||U===3)break;if(U===8){if(U=V.data,U==="$"||U==="$!"||U==="$?"||U==="$~"||U==="&"||U==="F!"||U==="F")break;if(U==="/$"||U==="/&")return null}}return V}var AM=null;function J1(V){V=V.nextSibling;for(var U=0;V;){if(V.nodeType===8){var W=V.data;if(W==="/$"||W==="/&"){if(U===0)return RT(V.nextSibling);U--}else W!=="$"&&W!=="$!"&&W!=="$?"&&W!=="$~"&&W!=="&"||U++}V=V.nextSibling}return null}function $1(V){V=V.previousSibling;for(var U=0;V;){if(V.nodeType===8){var W=V.data;if(W==="$"||W==="$!"||W==="$?"||W==="$~"||W==="&"){if(U===0)return V;U--}else W!=="/$"&&W!=="/&"||U++}V=V.previousSibling}return null}function ZA(V,U,W){switch(U=ZJ(W),V){case"html":if(V=U.documentElement,!V)throw Error(E(452));return V;case"head":if(V=U.head,!V)throw Error(E(453));return V;case"body":if(V=U.body,!V)throw Error(E(454));return V;default:throw Error(E(451))}}function pu(V){for(var U=V.attributes;U.length;)V.removeAttributeNode(U[0]);vM(V)}var PT=new Map,_1=new Set;function oJ(V){return typeof V.getRootNode=="function"?V.getRootNode():V.nodeType===9?V:V.ownerDocument}var Po=JU.d;JU.d={f:wY,r:DY,D:fY,C:gY,L:Uy,m:Vy,X:Ty,S:Wy,M:Zy};function wY(){var V=Po.f(),U=MJ();return V||U}function DY(V){var U=XS(V);U!==null&&U.tag===5&&U.type==="form"?DX(U):Po.r(V)}var mS=typeof document>"u"?null:document;function oA(V,U,W){var T=mS;if(T&&typeof U=="string"&&U){var Z=zT(U);Z='link[rel="'+V+'"][href="'+Z+'"]',typeof W=="string"&&(Z+='[crossorigin="'+W+'"]'),_1.has(Z)||(_1.add(Z),V={rel:V,crossOrigin:W,href:U},T.querySelector(Z)===null&&(U=T.createElement("link"),sV(U,"link",V),rV(U),T.head.appendChild(U)))}}function fY(V){Po.D(V),oA("dns-prefetch",V,null)}function gY(V,U){Po.C(V,U),oA("preconnect",V,U)}function Uy(V,U,W){Po.L(V,U,W);var T=mS;if(T&&V&&U){var Z='link[rel="preload"][as="'+zT(U)+'"]';U==="image"&&W&&W.imageSrcSet?(Z+='[imagesrcset="'+zT(W.imageSrcSet)+'"]',typeof W.imageSizes=="string"&&(Z+='[imagesizes="'+zT(W.imageSizes)+'"]')):Z+='[href="'+zT(V)+'"]';var o=Z;switch(U){case"style":o=xS(V);break;case"script":o=lS(V)}PT.has(o)||(V=CU({rel:"preload",href:U==="image"&&W&&W.imageSrcSet?void 0:V,as:U},W),PT.set(o,V),T.querySelector(Z)!==null||U==="style"&&T.querySelector(Jj(o))||U==="script"&&T.querySelector($j(o))||(U=T.createElement("link"),sV(U,"link",V),rV(U),T.head.appendChild(U)))}}function Vy(V,U){Po.m(V,U);var W=mS;if(W&&V){var T=U&&typeof U.as=="string"?U.as:"script",Z='link[rel="modulepreload"][as="'+zT(T)+'"][href="'+zT(V)+'"]',o=Z;switch(T){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=lS(V)}if(!PT.has(o)&&(V=CU({rel:"modulepreload",href:V},U),PT.set(o,V),W.querySelector(Z)===null)){switch(T){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(W.querySelector($j(o)))return}T=W.createElement("link"),sV(T,"link",V),rV(T),W.head.appendChild(T)}}}function Wy(V,U,W){Po.S(V,U,W);var T=mS;if(T&&V){var Z=qS(T).hoistableStyles,o=xS(V);U=U||"default";var i=Z.get(o);if(!i){var b={loading:0,preload:null};if(i=T.querySelector(Jj(o)))b.loading=5;else{V=CU({rel:"stylesheet",href:V,"data-precedence":U},W),(W=PT.get(o))&&G4(V,W);var O=i=T.createElement("link");rV(O),sV(O,"link",V),O._p=new Promise(function(S,z){O.onload=S,O.onerror=z}),O.addEventListener("load",function(){b.loading|=1}),O.addEventListener("error",function(){b.loading|=2}),b.loading|=4,kP(i,U,T)}i={type:"stylesheet",instance:i,count:1,state:b},Z.set(o,i)}}}function Ty(V,U){Po.X(V,U);var W=mS;if(W&&V){var T=qS(W).hoistableScripts,Z=lS(V),o=T.get(Z);o||(o=W.querySelector($j(Z)),o||(V=CU({src:V,async:!0},U),(U=PT.get(Z))&&r4(V,U),o=W.createElement("script"),rV(o),sV(o,"link",V),W.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},T.set(Z,o))}}function Zy(V,U){Po.M(V,U);var W=mS;if(W&&V){var T=qS(W).hoistableScripts,Z=lS(V),o=T.get(Z);o||(o=W.querySelector($j(Z)),o||(V=CU({src:V,async:!0,type:"module"},U),(U=PT.get(Z))&&r4(V,U),o=W.createElement("script"),rV(o),sV(o,"link",V),W.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},T.set(Z,o))}}function e1(V,U,W,T){var Z=(Z=Ri.current)?oJ(Z):null;if(!Z)throw Error(E(446));switch(V){case"meta":case"title":return null;case"style":return typeof W.precedence=="string"&&typeof W.href=="string"?(U=xS(W.href),W=qS(Z).hoistableStyles,T=W.get(U),T||(T={type:"style",instance:null,count:0,state:null},W.set(U,T)),T):{type:"void",instance:null,count:0,state:null};case"link":if(W.rel==="stylesheet"&&typeof W.href=="string"&&typeof W.precedence=="string"){V=xS(W.href);var o=qS(Z).hoistableStyles,i=o.get(V);if(i||(Z=Z.ownerDocument||Z,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(V,i),(o=Z.querySelector(Jj(V)))&&!o._p&&(i.instance=o,i.state.loading=5),PT.has(V)||(W={rel:"preload",as:"style",href:W.href,crossOrigin:W.crossOrigin,integrity:W.integrity,media:W.media,hrefLang:W.hrefLang,referrerPolicy:W.referrerPolicy},PT.set(V,W),o||oy(Z,V,W,i.state))),U&&T===null)throw Error(E(528,""));return i}if(U&&T!==null)throw Error(E(529,""));return null;case"script":return U=W.async,W=W.src,typeof W=="string"&&U&&typeof U!="function"&&typeof U!="symbol"?(U=lS(W),W=qS(Z).hoistableScripts,T=W.get(U),T||(T={type:"script",instance:null,count:0,state:null},W.set(U,T)),T):{type:"void",instance:null,count:0,state:null};default:throw Error(E(444,V))}}function xS(V){return'href="'+zT(V)+'"'}function Jj(V){return'link[rel="stylesheet"]['+V+"]"}function iA(V){return CU({},V,{"data-precedence":V.precedence,precedence:null})}function oy(V,U,W,T){V.querySelector('link[rel="preload"][as="style"]['+U+"]")?T.loading=1:(U=V.createElement("link"),T.preload=U,U.addEventListener("load",function(){return T.loading|=1}),U.addEventListener("error",function(){return T.loading|=2}),sV(U,"link",W),rV(U),V.head.appendChild(U))}function lS(V){return'[src="'+zT(V)+'"]'}function $j(V){return"script[async]"+V}function I1(V,U,W){if(U.count++,U.instance===null)switch(U.type){case"style":var T=V.querySelector('style[data-href~="'+zT(W.href)+'"]');if(T)return U.instance=T,rV(T),T;var Z=CU({},W,{"data-href":W.href,"data-precedence":W.precedence,href:null,precedence:null});return T=(V.ownerDocument||V).createElement("style"),rV(T),sV(T,"style",Z),kP(T,W.precedence,V),U.instance=T;case"stylesheet":Z=xS(W.href);var o=V.querySelector(Jj(Z));if(o)return U.state.loading|=4,U.instance=o,rV(o),o;T=iA(W),(Z=PT.get(Z))&&G4(T,Z),o=(V.ownerDocument||V).createElement("link"),rV(o);var i=o;return i._p=new Promise(function(b,O){i.onload=b,i.onerror=O}),sV(o,"link",T),U.state.loading|=4,kP(o,W.precedence,V),U.instance=o;case"script":return o=lS(W.src),(Z=V.querySelector($j(o)))?(U.instance=Z,rV(Z),Z):(T=W,(Z=PT.get(o))&&(T=CU({},W),r4(T,Z)),V=V.ownerDocument||V,Z=V.createElement("script"),rV(Z),sV(Z,"link",T),V.head.appendChild(Z),U.instance=Z);case"void":return null;default:throw Error(E(443,U.type))}else U.type==="stylesheet"&&(U.state.loading&4)===0&&(T=U.instance,U.state.loading|=4,kP(T,W.precedence,V));return U.instance}function kP(V,U,W){for(var T=W.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=T.length?T[T.length-1]:null,o=Z,i=0;i<T.length;i++){var b=T[i];if(b.dataset.precedence===U)o=b;else if(o!==Z)break}o?o.parentNode.insertBefore(V,o.nextSibling):(U=W.nodeType===9?W.head:W,U.insertBefore(V,U.firstChild))}function G4(V,U){V.crossOrigin==null&&(V.crossOrigin=U.crossOrigin),V.referrerPolicy==null&&(V.referrerPolicy=U.referrerPolicy),V.title==null&&(V.title=U.title)}function r4(V,U){V.crossOrigin==null&&(V.crossOrigin=U.crossOrigin),V.referrerPolicy==null&&(V.referrerPolicy=U.referrerPolicy),V.integrity==null&&(V.integrity=U.integrity)}var XP=null;function t1(V,U,W){if(XP===null){var T=new Map,Z=XP=new Map;Z.set(W,T)}else Z=XP,T=Z.get(W),T||(T=new Map,Z.set(W,T));if(T.has(V))return T;for(T.set(V,null),W=W.getElementsByTagName(V),Z=0;Z<W.length;Z++){var o=W[Z];if(!(o[zj]||o[CV]||V==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var i=o.getAttribute(U)||"";i=V+i;var b=T.get(i);b?b.push(o):T.set(i,[o])}}return T}function M1(V,U,W){V=V.ownerDocument||V,V.head.insertBefore(W,U==="title"?V.querySelector("head > title"):null)}function iy(V,U,W){if(W===1||U.itemProp!=null)return!1;switch(V){case"meta":case"title":return!0;case"style":if(typeof U.precedence!="string"||typeof U.href!="string"||U.href==="")break;return!0;case"link":if(typeof U.rel!="string"||typeof U.href!="string"||U.href===""||U.onLoad||U.onError)break;switch(U.rel){case"stylesheet":return V=U.disabled,typeof U.precedence=="string"&&V==null;default:return!0}case"script":if(U.async&&typeof U.async!="function"&&typeof U.async!="symbol"&&!U.onLoad&&!U.onError&&U.src&&typeof U.src=="string")return!0}return!1}function bA(V){return!(V.type==="stylesheet"&&(V.state.loading&3)===0)}function by(V,U,W,T){if(W.type==="stylesheet"&&(typeof T.media!="string"||matchMedia(T.media).matches!==!1)&&(W.state.loading&4)===0){if(W.instance===null){var Z=xS(T.href),o=U.querySelector(Jj(Z));if(o){U=o._p,U!==null&&typeof U=="object"&&typeof U.then=="function"&&(V.count++,V=iJ.bind(V),U.then(V,V)),W.state.loading|=4,W.instance=o,rV(o);return}o=U.ownerDocument||U,T=iA(T),(Z=PT.get(Z))&&G4(T,Z),o=o.createElement("link"),rV(o);var i=o;i._p=new Promise(function(b,O){i.onload=b,i.onerror=O}),sV(o,"link",T),W.instance=o}V.stylesheets===null&&(V.stylesheets=new Map),V.stylesheets.set(W,U),(U=W.state.preload)&&(W.state.loading&3)===0&&(V.count++,W=iJ.bind(V),U.addEventListener("load",W),U.addEventListener("error",W))}}var Ct=0;function Oy(V,U){return V.stylesheets&&V.count===0&&hP(V,V.stylesheets),0<V.count||0<V.imgCount?function(W){var T=setTimeout(function(){if(V.stylesheets&&hP(V,V.stylesheets),V.unsuspend){var o=V.unsuspend;V.unsuspend=null,o()}},6e4+U);0<V.imgBytes&&Ct===0&&(Ct=62500*vY());var Z=setTimeout(function(){if(V.waitingForImages=!1,V.count===0&&(V.stylesheets&&hP(V,V.stylesheets),V.unsuspend)){var o=V.unsuspend;V.unsuspend=null,o()}},(V.imgBytes>Ct?50:800)+U);return V.unsuspend=W,function(){V.unsuspend=null,clearTimeout(T),clearTimeout(Z)}}:null}function iJ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)hP(this,this.stylesheets);else if(this.unsuspend){var V=this.unsuspend;this.unsuspend=null,V()}}}var bJ=null;function hP(V,U){V.stylesheets=null,V.unsuspend!==null&&(V.count++,bJ=new Map,U.forEach(Sy,V),bJ=null,iJ.call(V))}function Sy(V,U){if(!(U.state.loading&4)){var W=bJ.get(V);if(W)var T=W.get(null);else{W=new Map,bJ.set(V,W);for(var Z=V.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<Z.length;o++){var i=Z[o];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(W.set(i.dataset.precedence,i),T=i)}T&&W.set(null,T)}Z=U.instance,i=Z.getAttribute("data-precedence"),o=W.get(i)||T,o===T&&W.set(null,Z),W.set(i,Z),this.count++,T=iJ.bind(this),Z.addEventListener("load",T),Z.addEventListener("error",T),o?o.parentNode.insertBefore(Z,o.nextSibling):(V=V.nodeType===9?V.head:V,V.insertBefore(Z,V.firstChild)),U.state.loading|=4}}var Tj={$$typeof:Zo,Provider:null,Consumer:null,_currentValue:kb,_currentValue2:kb,_threadCount:0};function zy(V,U,W,T,Z,o,i,b,O){this.tag=1,this.containerInfo=V,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=qt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qt(0),this.hiddenUpdates=qt(null),this.identifierPrefix=T,this.onUncaughtError=Z,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map}function OA(V,U,W,T,Z,o,i,b,O,S,z,u){return V=new zy(V,U,W,i,O,S,z,u,b),U=1,o===!0&&(U|=24),o=dW(3,null,null,U),V.current=o,o.stateNode=V,U=U4(),U.refCount++,V.pooledCache=U,U.refCount++,o.memoizedState={element:T,isDehydrated:W,cache:U},T4(o),V}function SA(V){return V?(V=SS,V):SS}function zA(V,U,W,T,Z,o){Z=SA(Z),T.context===null?T.context=Z:T.pendingContext=Z,T=Ji(U),T.payload={element:W},o=o===void 0?null:o,o!==null&&(T.callback=o),W=$i(V,T,U),W!==null&&(HW(W,V,U),lu(W,V,U))}function Q1(V,U){if(V=V.memoizedState,V!==null&&V.dehydrated!==null){var W=V.retryLane;V.retryLane=W!==0&&W<U?W:U}}function x4(V,U){Q1(V,U),(V=V.alternate)&&Q1(V,U)}function uA(V){if(V.tag===13||V.tag===31){var U=sb(V,67108864);U!==null&&HW(U,V,67108864),x4(V,67108864)}}function n1(V){if(V.tag===13||V.tag===31){var U=BW();U=aM(U);var W=sb(V,U);W!==null&&HW(W,V,U),x4(V,U)}}var OJ=!0;function uy(V,U,W,T){var Z=w.T;w.T=null;var o=JU.p;try{JU.p=2,E4(V,U,W,T)}finally{JU.p=o,w.T=Z}}function jy(V,U,W,T){var Z=w.T;w.T=null;var o=JU.p;try{JU.p=8,E4(V,U,W,T)}finally{JU.p=o,w.T=Z}}function E4(V,U,W,T){if(OJ){var Z=NM(T);if(Z===null)Ft(V,U,T,SJ,W),H1(V,T);else if(Ry(Z,V,U,W,T))T.stopPropagation();else if(H1(V,T),U&4&&-1<qy.indexOf(V)){for(;Z!==null;){var o=XS(Z);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var i=rb(o.pendingLanes);if(i!==0){var b=o;for(b.pendingLanes|=2,b.entangledLanes|=2;i;){var O=1<<31-vW(i);b.entanglements[1]|=O,i&=~O}tZ(o),(PU&6)===0&&(fP=aW()+500,Pj(0,!1))}}break;case 31:case 13:b=sb(o,2),b!==null&&HW(b,o,2),MJ(),x4(o,2)}if(o=NM(T),o===null&&Ft(V,U,T,SJ,W),o===Z)break;Z=o}Z!==null&&T.stopPropagation()}else Ft(V,U,T,null,W)}}function NM(V){return V=sM(V),k4(V)}var SJ=null;function k4(V){if(SJ=null,V=TS(V),V!==null){var U=ij(V);if(U===null)V=null;else{var W=U.tag;if(W===13){if(V=k1(U),V!==null)return V;V=null}else if(W===31){if(V=X1(U),V!==null)return V;V=null}else if(W===3){if(U.stateNode.current.memoizedState.isDehydrated)return U.tag===3?U.stateNode.containerInfo:null;V=null}else U!==V&&(V=null)}}return SJ=V,null}function jA(V){switch(V){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(Up()){case m1:return 2;case l1:return 8;case dP:case Vp:return 32;case d1:return 268435456;default:return 32}default:return 32}}var mM=!1,Ii=null,ti=null,Mi=null,Zj=new Map,oj=new Map,Oi=[],qy="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 H1(V,U){switch(V){case"focusin":case"focusout":Ii=null;break;case"dragenter":case"dragleave":ti=null;break;case"mouseover":case"mouseout":Mi=null;break;case"pointerover":case"pointerout":Zj.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":oj.delete(U.pointerId)}}function cu(V,U,W,T,Z,o){return V===null||V.nativeEvent!==o?(V={blockedOn:U,domEventName:W,eventSystemFlags:T,nativeEvent:o,targetContainers:[Z]},U!==null&&(U=XS(U),U!==null&&uA(U)),V):(V.eventSystemFlags|=T,U=V.targetContainers,Z!==null&&U.indexOf(Z)===-1&&U.push(Z),V)}function Ry(V,U,W,T,Z){switch(U){case"focusin":return Ii=cu(Ii,V,U,W,T,Z),!0;case"dragenter":return ti=cu(ti,V,U,W,T,Z),!0;case"mouseover":return Mi=cu(Mi,V,U,W,T,Z),!0;case"pointerover":var o=Z.pointerId;return Zj.set(o,cu(Zj.get(o)||null,V,U,W,T,Z)),!0;case"gotpointercapture":return o=Z.pointerId,oj.set(o,cu(oj.get(o)||null,V,U,W,T,Z)),!0}return!1}function qA(V){var U=TS(V.target);if(U!==null){var W=ij(U);if(W!==null){if(U=W.tag,U===13){if(U=k1(W),U!==null){V.blockedOn=U,Ok(V.priority,function(){n1(W)});return}}else if(U===31){if(U=X1(W),U!==null){V.blockedOn=U,Ok(V.priority,function(){n1(W)});return}}else if(U===3&&W.stateNode.current.memoizedState.isDehydrated){V.blockedOn=W.tag===3?W.stateNode.containerInfo:null;return}}}V.blockedOn=null}function AP(V){if(V.blockedOn!==null)return!1;for(var U=V.targetContainers;0<U.length;){var W=NM(V.nativeEvent);if(W===null){W=V.nativeEvent;var T=new W.constructor(W.type,W);UM=T,W.target.dispatchEvent(T),UM=null}else return U=XS(W),U!==null&&uA(U),V.blockedOn=W,!1;U.shift()}return!0}function c1(V,U,W){AP(V)&&W.delete(U)}function Py(){mM=!1,Ii!==null&&AP(Ii)&&(Ii=null),ti!==null&&AP(ti)&&(ti=null),Mi!==null&&AP(Mi)&&(Mi=null),Zj.forEach(c1),oj.forEach(c1)}function _P(V,U){V.blockedOn===U&&(V.blockedOn=null,mM||(mM=!0,tV.unstable_scheduleCallback(tV.unstable_NormalPriority,Py)))}var eP=null;function G1(V){eP!==V&&(eP=V,tV.unstable_scheduleCallback(tV.unstable_NormalPriority,function(){eP===V&&(eP=null);for(var U=0;U<V.length;U+=3){var W=V[U],T=V[U+1],Z=V[U+2];if(typeof T!="function"){if(k4(T||W)===null)continue;break}var o=XS(W);o!==null&&(V.splice(U,3),U-=3,JM(o,{pending:!0,data:Z,method:W.method,action:T},T,Z))}}))}function ES(V){function U(O){return _P(O,V)}Ii!==null&&_P(Ii,V),ti!==null&&_P(ti,V),Mi!==null&&_P(Mi,V),Zj.forEach(U),oj.forEach(U);for(var W=0;W<Oi.length;W++){var T=Oi[W];T.blockedOn===V&&(T.blockedOn=null)}for(;0<Oi.length&&(W=Oi[0],W.blockedOn===null);)qA(W),W.blockedOn===null&&Oi.shift();if(W=(V.ownerDocument||V).$$reactFormReplay,W!=null)for(T=0;T<W.length;T+=3){var Z=W[T],o=W[T+1],i=Z[cW]||null;if(typeof o=="function")i||G1(W);else if(i){var b=null;if(o&&o.hasAttribute("formAction")){if(Z=o,i=o[cW]||null)b=i.formAction;else if(k4(Z)!==null)continue}else b=i.action;typeof b=="function"?W[T+1]=b:(W.splice(T,3),T-=3),G1(W)}}}function RA(){function V(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(i){return Z=i})},focusReset:"manual",scroll:"manual"})}function U(){Z!==null&&(Z(),Z=null),T||setTimeout(W,20)}function W(){if(!T&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var T=!1,Z=null;return navigation.addEventListener("navigate",V),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(W,100),function(){T=!0,navigation.removeEventListener("navigate",V),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),Z!==null&&(Z(),Z=null)}}}function X4(V){this._internalRoot=V}HJ.prototype.render=X4.prototype.render=function(V){var U=this._internalRoot;if(U===null)throw Error(E(409));var W=U.current,T=BW();zA(W,T,V,U,null,null)};HJ.prototype.unmount=X4.prototype.unmount=function(){var V=this._internalRoot;if(V!==null){this._internalRoot=null;var U=V.containerInfo;zA(V.current,2,null,V,null,null),MJ(),U[kS]=null}};function HJ(V){this._internalRoot=V}HJ.prototype.unstable_scheduleHydration=function(V){if(V){var U=B1();V={blockedOn:null,target:V,priority:U};for(var W=0;W<Oi.length&&U!==0&&U<Oi[W].priority;W++);Oi.splice(W,0,V),W===0&&qA(V)}};var r1=x1.version;if(r1!=="19.2.8")throw Error(E(527,r1,"19.2.8"));JU.findDOMNode=function(V){var U=V._reactInternals;if(U===void 0)throw typeof V.render=="function"?Error(E(188)):(V=Object.keys(V).join(","),Error(E(268,V)));return V=ys(U),V=V!==null?h1(V):null,V=V===null?null:V.stateNode,V};var Jy={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:w,reconcilerVersion:"19.2.8"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Gu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Gu.isDisabled&&Gu.supportsFiber))try{bj=Gu.inject(Jy),CW=Gu}catch{}var Gu;cJ.createRoot=function(V,U){if(!E1(V))throw Error(E(299));var W=!1,T="",Z=oh,o=ih,i=bh;return U!=null&&(U.unstable_strictMode===!0&&(W=!0),U.identifierPrefix!==void 0&&(T=U.identifierPrefix),U.onUncaughtError!==void 0&&(Z=U.onUncaughtError),U.onCaughtError!==void 0&&(o=U.onCaughtError),U.onRecoverableError!==void 0&&(i=U.onRecoverableError)),U=OA(V,1,!1,null,null,W,T,null,Z,o,i,RA),V[kS]=U.current,c4(V),new X4(U)};cJ.hydrateRoot=function(V,U,W){if(!E1(V))throw Error(E(299));var T=!1,Z="",o=oh,i=ih,b=bh,O=null;return W!=null&&(W.unstable_strictMode===!0&&(T=!0),W.identifierPrefix!==void 0&&(Z=W.identifierPrefix),W.onUncaughtError!==void 0&&(o=W.onUncaughtError),W.onCaughtError!==void 0&&(i=W.onCaughtError),W.onRecoverableError!==void 0&&(b=W.onRecoverableError),W.formState!==void 0&&(O=W.formState)),U=OA(V,1,!0,U,W??null,T,Z,O,o,i,b,RA),U.context=SA(null),W=U.current,T=BW(),T=aM(T),Z=Ji(T),Z.callback=null,$i(W,Z,T),W=T,U.current.lanes=W,Sj(U,W),tZ(U),V[kS]=U.current,c4(V),new HJ(U)};cJ.version="19.2.8"});var _A=_T((gSU,$A)=>{"use strict";j();function JA(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(JA)}catch(V){console.error(V)}}JA(),$A.exports=PA()});j();j();j();j();j();var xi=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Ij=/^[\\/]{2}/;function w4(V,U){return U+V.replace(/\\/g,"/")}var D4="popstate";function f4(V){return typeof V=="object"&&V!=null&&"pathname"in V&&"search"in V&&"hash"in V&&"state"in V&&"key"in V}function UQ(V={}){function U(T,Z){let o=Z.state?.masked,{pathname:i,search:b,hash:O}=o||T.location;return mJ("",{pathname:i,search:b,hash:O},Z.state&&Z.state.usr||null,Z.state&&Z.state.key||"default",o?{pathname:T.location.pathname,search:T.location.search,hash:T.location.hash}:void 0)}function W(T,Z){return typeof Z=="string"?Z:rW(Z)}return pA(U,W,null,V)}function $U(V,U){if(V===!1||V===null||typeof V>"u")throw new Error(U)}function pV(V,U){if(!V){typeof console<"u"&&console.warn(U);try{throw new Error(U)}catch{}}}function sA(){return Math.random().toString(36).substring(2,10)}function g4(V,U){return{usr:V.state,key:V.key,idx:U,masked:V.mask?{pathname:V.pathname,search:V.search,hash:V.hash}:void 0}}function mJ(V,U,W=null,T,Z){return{pathname:typeof V=="string"?V:V.pathname,search:"",hash:"",...typeof U=="string"?eT(U):U,state:W,key:U&&U.key||T||sA(),mask:Z}}function rW({pathname:V="/",search:U="",hash:W=""}){return U&&U!=="?"&&(V+=U.charAt(0)==="?"?U:"?"+U),W&&W!=="#"&&(V+=W.charAt(0)==="#"?W:"#"+W),V}function eT(V){let U={};if(V){let W=V.indexOf("#");W>=0&&(U.hash=V.substring(W),V=V.substring(0,W));let T=V.indexOf("?");T>=0&&(U.search=V.substring(T),V=V.substring(0,T)),V&&(U.pathname=V)}return U}function pA(V,U,W,T={}){let{window:Z=document.defaultView,v5Compat:o=!1}=T,i=Z.history,b="POP",O=null,S=z();S==null&&(S=0,i.replaceState({...i.state,idx:S},""));function z(){return(i.state||{idx:null}).idx}function u(){b="POP";let n=z(),P=n==null?null:n-S;S=n,O&&O({action:b,location:M.location,delta:P})}function q(n,P){b="PUSH";let $=f4(n)?n:mJ(M.location,n,P);W&&W($,n),S=z()+1;let t=g4($,S),Q=M.createHref($.mask||$);try{i.pushState(t,"",Q)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;Z.location.assign(Q)}o&&O&&O({action:b,location:M.location,delta:1})}function R(n,P){b="REPLACE";let $=f4(n)?n:mJ(M.location,n,P);W&&W($,n),S=z();let t=g4($,S),Q=M.createHref($.mask||$);i.replaceState(t,"",Q),o&&O&&O({action:b,location:M.location,delta:0})}function I(n){return YA(Z,n)}let M={get action(){return b},get location(){return V(Z,i)},listen(n){if(O)throw new Error("A history only accepts one active listener");return Z.addEventListener(D4,u),O=n,()=>{Z.removeEventListener(D4,u),O=null}},createHref(n){return U(Z,n)},createURL:I,encodeLocation(n){let P=I(n);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:q,replace:R,go(n){return i.go(n)}};return M}function YA(V,U,W=!1){let T="http://localhost";V&&(T=V.location.origin!=="null"?V.location.origin:V.location.href),$U(T,"No window.location.(origin|href) available to create URL");let Z=typeof U=="string"?U:rW(U);return Z=Z.replace(/ $/,"%20"),!W&&Ij.test(Z)&&(Z=T+Z),new URL(Z,T)}j();var yA=c(BU(),1);function Mj(V,U,W="/"){return KA(V,U,W,!1)}function KA(V,U,W,T,Z){let o=EW((typeof U=="string"?eT(U):U).pathname||"/",W);if(o==null)return null;let i=Z??LA(V),b=null,O=OQ(o);for(let S=0;b==null&&S<i.length;++S)b=bN(i[S],O,T);return b}function TQ(V,U){let{route:W,pathname:T,params:Z}=V;return{id:W.id,pathname:T,params:Z,loaderData:U[W.id],handle:W.handle}}function LA(V){let U=ZQ(V);return wA(U),U}function ZQ(V,U=[],W=[],T="",Z=!1){let o=(i,b,O=Z,S)=>{let z={relativePath:S===void 0?i.path||"":S,caseSensitive:i.caseSensitive===!0,childrenIndex:b,route:i};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(T)&&O)return;$U(z.relativePath.startsWith(T),`Absolute route path "${z.relativePath}" nested under path "${T}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(T.length)}let u=xW([T,z.relativePath]),q=W.concat(z);i.children&&i.children.length>0&&($U(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),ZQ(i.children,U,q,u,O)),!(i.path==null&&!i.index)&&U.push({path:u,score:oN(u,i.index),routesMeta:q.map((R,I)=>{let[M,n]=bQ(R.relativePath,R.caseSensitive,I===q.length-1);return{...R,matcher:M,compiledParams:n}})})};return V.forEach((i,b)=>{if(i.path===""||!i.path?.includes("?"))o(i,b);else for(let O of oQ(i.path))o(i,b,!0,O)}),U}function oQ(V){let U=V.split("/");if(U.length===0)return[];let[W,...T]=U,Z=W.endsWith("?"),o=W.replace(/\?$/,"");if(T.length===0)return Z?[o,""]:[o];let i=oQ(T.join("/")),b=[];return b.push(...i.map(O=>O===""?o:[o,O].join("/"))),Z&&b.push(...i),b.map(O=>V.startsWith("/")&&O===""?"/":O)}function wA(V){V.sort((U,W)=>U.score!==W.score?W.score-U.score:iN(U.routesMeta.map(T=>T.childrenIndex),W.routesMeta.map(T=>T.childrenIndex)))}var DA=/^:[\w-]+$/,fA=/^:[\w-]+/,gA=3.5,UN=3,VN=2,WN=1,TN=10,ZN=-2,VQ=V=>V==="*";function oN(V,U){let W=V.split("/"),T=W.length;return W.some(VQ)&&(T+=ZN),U&&(T+=VN),W.filter(Z=>!VQ(Z)).reduce((Z,o)=>Z+(DA.test(o)?UN:fA.test(o)?gA:o===""?WN:TN),T)}function iN(V,U){return V.length===U.length&&V.slice(0,-1).every((W,T)=>W===U[T])?V[V.length-1]-U[U.length-1]:0}function bN(V,U,W=!1){let{routesMeta:T}=V,Z={},o="/",i=[];for(let b=0;b<T.length;++b){let O=T[b],S=b===T.length-1,z=o==="/"?U:U.slice(o.length)||"/",u={path:O.relativePath,caseSensitive:O.caseSensitive,end:S},q=O.matcher&&O.compiledParams?iQ(u,z,O.matcher,O.compiledParams):Kb(u,z),R=O.route;if(!q&&S&&W&&!T[T.length-1].route.index&&(q=Kb({path:O.relativePath,caseSensitive:O.caseSensitive,end:!1},z)),!q)return null;
9Object.assign(Z,q.params),i.push({params:Z,pathname:xW([o,q.pathname]),pathnameBase:zN(xW([o,q.pathnameBase])),route:R}),q.pathnameBase!=="/"&&(o=xW([o,q.pathnameBase]))}return i}function Kb(V,U){typeof V=="string"&&(V={path:V,caseSensitive:!1,end:!0});let[W,T]=bQ(V.path,V.caseSensitive,V.end);return iQ(V,U,W,T)}function iQ(V,U,W,T){let Z=U.match(W);if(!Z)return null;let o=Z[0],i=tj(o,1),b=Z.slice(1);return{params:T.reduce((O,{paramName:S,isOptional:z},u)=>{if(S==="*"){let R=b[u]||"";i=tj(o.slice(0,o.length-R.length),1)}let q=b[u];return z&&!q?O[S]=void 0:O[S]=(q||"").replace(/%2F/g,"/"),O},{}),pathname:o,pathnameBase:i,pattern:V}}function bQ(V,U=!1,W=!0){pV(V==="*"||!V.endsWith("*")||V.endsWith("/*"),`Route path "${V}" will be treated as if it were "${V.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${V.replace(/\*$/,"/*")}".`);let T=[],Z="^"+V.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,i,b,O,S)=>{if(T.push({paramName:i,isOptional:b!=null}),b){let z=S.charAt(O+o.length);return z&&z!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return V.endsWith("*")?(T.push({paramName:"*"}),Z+=V==="*"||V==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):W?Z+="\\/*$":V!==""&&V!=="/"&&(Z+="(?:(?=\\/|$))"),[new RegExp(Z,U?void 0:"i"),T]}function OQ(V){try{return V.split("/").map(U=>decodeURIComponent(U).replace(/\//g,"%2F")).join("/")}catch(U){return pV(!1,`The URL path "${V}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${U}).`),V}}function EW(V,U){if(U==="/")return V;if(!V.toLowerCase().startsWith(U.toLowerCase()))return null;let W=U.endsWith("/")?U.length-1:U.length,T=V.charAt(W);return T&&T!=="/"?null:V.slice(W)||"/"}function ON(V,U="/"){let{pathname:W,search:T="",hash:Z=""}=typeof V=="string"?eT(V):V,o;return W?(W=SQ(W),W.startsWith("/")||W.startsWith("\\")?o=WQ(W.substring(1),"/"):o=WQ(W,U)):o=U,{pathname:o,search:uN(T),hash:jN(Z)}}function WQ(V,U){let W=tj(U).split("/");return V.split("/").forEach(T=>{T===".."?W.length>1&&W.pop():T!=="."&&W.push(T)}),W.length>1?W.join("/"):"/"}function lJ(V,U,W,T){return`Cannot include a '${V}' character in a manually specified \`to.${U}\` field [${JSON.stringify(T)}].  Please separate it out to the \`to.${W}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function SN(V){return V.filter((U,W)=>W===0||U.route.path&&U.route.path.length>0)}function FS(V){let U=SN(V);return U.map((W,T)=>T===U.length-1?W.pathname:W.pathnameBase)}function Ei(V,U,W,T=!1){let Z;typeof V=="string"?Z=eT(V):(Z={...V},$U(!Z.pathname||!Z.pathname.includes("?"),lJ("?","pathname","search",Z)),$U(!Z.pathname||!Z.pathname.includes("#"),lJ("#","pathname","hash",Z)),$U(!Z.search||!Z.search.includes("#"),lJ("#","search","hash",Z)));let o=V===""||Z.pathname==="",i=o?"/":Z.pathname,b;if(i==null)b=W;else{let u=U.length-1;if(!T&&i.startsWith("..")){let q=i.split("/");for(;q[0]==="..";)q.shift(),u-=1;Z.pathname=q.join("/")}b=u>=0?U[u]:"/"}let O=ON(Z,b),S=i&&i!=="/"&&i.endsWith("/"),z=(o||i===".")&&W.endsWith("/");return!O.pathname.endsWith("/")&&(S||z)&&(O.pathname+="/"),O}var SQ=V=>V.replace(/[\\/]{2,}/g,"/"),xW=V=>SQ(V.join("/"));function tj(V,U=0){let W=V.length;for(;W>U&&V.charCodeAt(W-1)===47;)W--;return W===V.length?V:V.slice(0,W)}var zN=V=>tj(V).replace(/^\/*/,"/"),uN=V=>!V||V==="?"?"":V.startsWith("?")?V:"?"+V,jN=V=>!V||V==="#"?"":V.startsWith("#")?V:"#"+V;var dJ=class{constructor(V,U,W,T=!1){MZ(this,"status");MZ(this,"statusText");MZ(this,"data");MZ(this,"error");MZ(this,"internal");this.status=V,this.statusText=U||"",this.internal=T,W instanceof Error?(this.data=W.toString(),this.error=W):this.data=W}};function zQ(V){return V!=null&&typeof V.status=="number"&&typeof V.statusText=="string"&&typeof V.internal=="boolean"&&"data"in V}function FJ(V){return xW(V.map(U=>
9U.route.path).filter(Boolean))||"/"}var aJ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Qj(V,U){let W=V;if(typeof W!="string"||!xi.test(W))return{absoluteURL:void 0,isExternal:!1,to:W};let T=W,Z=!1;if(aJ)try{let o=new URL(window.location.href),i=Ij.test(W)?new URL(w4(W,o.protocol)):new URL(W),b=EW(i.pathname,U);i.origin===o.origin&&b!=null?W=b+i.search+i.hash:Z=!0}catch{pV(!1,`<Link to="${W}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:T,isExternal:Z,to:W}}j();j();var uQ=new URL("http://localhost");function aS(V){if(V.createURL)return V.createURL("/");try{return new URL(V.createHref("/"),uQ)}catch{return uQ}}function CJ(V,U){return V.origin===U.origin&&(V.origin!=="null"||V.protocol===U.protocol&&V.host===U.host)}function qN(V,U){if(V.startsWith("//"))return!0;let W=U.protocol.toLowerCase();return V.toLowerCase().startsWith(W)?U.host===""||V.slice(W.length).startsWith("//"):!1}function CS(V,U,W,T){let Z=null;try{Z=V==null?null:new URL(V,W)}catch{}let o=new URL(U,W),i=Z!=null&&!CJ(Z,W),b=!CJ(o,W);if(T==="reject"){if(i||b)throw new Error("External navigation is not allowed")}else if(b&&(Z==null||!qN(V,Z)||!CJ(Z,o)))throw new Error("External navigation is not allowed")}var jQ=["POST","PUT","PATCH","DELETE"],vy=new Set(jQ),RN=["GET",...jQ],By=new Set(RN);var sy=Symbol("ResetLoaderData");var PN=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function qQ(V){try{return PN.includes(new URL(V).protocol)}catch{return!1}}j();var zW=c(BU(),1);var vT=zW.createContext(null);vT.displayName="DataRouter";var QZ=zW.createContext(null);QZ.displayName="DataRouterState";var vJ=zW.createContext(!1);function BJ(){return zW.useContext(vJ)}var nj=zW.createContext({isTransitioning:!1});nj.displayName="ViewTransition";var sJ=zW.createContext(new Map);sJ.displayName="Fetchers";var pJ=zW.createContext(null);pJ.displayName="Await";var EV=zW.createContext(null);EV.displayName="Navigation";var ki=zW.createContext(null);ki.displayName="Location";var WW=zW.createContext({outlet:null,matches:[],isDataRoute:!1});WW.displayName="Route";var Hj=zW.createContext(null);Hj.displayName="RouteError";j();j();var RQ="REACT_ROUTER_ERROR",JN="REDIRECT",$N="ROUTE_ERROR_RESPONSE";function PQ(V){if(V.startsWith(`${RQ}:${JN}:{`))try{let U=JSON.parse(V.slice(28));if(typeof U=="object"&&U&&typeof U.status=="number"&&typeof U.statusText=="string"&&typeof U.location=="string"&&typeof U.reloadDocument=="boolean"&&typeof U.replace=="boolean")return U}catch{}}function JQ(V){if(V.startsWith(`${RQ}:${$N}:{`))try{let U=JSON.parse(V.slice(40));if(typeof U=="object"&&U&&typeof U.status=="number"&&typeof U.statusText=="string")return new dJ(U.status,U.statusText,U.data)}catch{}}var Y=c(BU(),1);function KJ(V,{relative:U}={}){$U(Jo(),"useHref() may be used only in the context of a <Router> component.");let{basename:W,navigator:T}=Y.useContext(EV),{hash:Z,pathname:o,search:i}=Xi(V,{relative:U}),b=o;return W!=="/"&&(b=o==="/"?W:xW([W,o])),T.createHref({pathname:b,search:i,hash:Z})}function Jo(){return Y.useContext(ki)!=null}function MU(){return $U(Jo(),"useLocation() may be used only in the context of a <Router> component."),Y.useContext(ki).location}var _Q="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function VV(){let{isDataRoute:V}=Y.useContext(WW);return V?GN():_N()}function _N(){$U(Jo(),"useNavigate() may be used only in the context of a <Router> component.");
9let V=Y.useContext(vT),{basename:U,navigator:W}=Y.useContext(EV),{matches:T}=Y.useContext(WW),{pathname:Z}=MU(),o=JSON.stringify(FS(T)),i=Y.useRef(!1);return Y.useLayoutEffect(()=>{i.current=!0}),Y.useCallback((b,O={})=>{if(pV(i.current,_Q),!i.current)return;if(typeof b=="number"){W.go(b);return}let S=Ei(b,JSON.parse(o),Z,O.relative==="path");V==null&&U!=="/"&&(S.pathname=S.pathname==="/"?U:xW([U,S.pathname])),CS(typeof b=="string"?b:rW(b),W.createHref(S),aS(W),"reject"),(O.replace?W.replace:W.push)(S,O.state,O)},[U,W,o,Z,V])}var eN=Y.createContext(null);function LJ(V){let U=Y.useContext(WW).outlet;return Y.useMemo(()=>U&&Y.createElement(eN.Provider,{value:V},U),[U,V])}function cj(){let{matches:V}=Y.useContext(WW);return V[V.length-1]?.params??{}}function Xi(V,{relative:U}={}){let{matches:W}=Y.useContext(WW),{pathname:T}=MU(),Z=JSON.stringify(FS(W));return Y.useMemo(()=>Ei(V,JSON.parse(Z),T,U==="path"),[V,Z,T,U])}function wJ(V,U){return DJ(V,U)}function DJ(V,U,W){$U(Jo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:T}=Y.useContext(EV),{matches:Z}=Y.useContext(WW),o=Z[Z.length-1],i=o?o.params:{};o&&o.pathname;let b=o?o.pathnameBase:"/";o&&o.route;let O=MU(),S;if(U){let I=typeof U=="string"?eT(U):U;$U(b==="/"||I.pathname?.startsWith(b),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${b}" but pathname "${I.pathname}" was given in the \`location\` prop.`),S=I}else S=O;let z=S.pathname||"/",u=z;if(b!=="/"){let I=b.replace(/^\//,"").split("/");u="/"+z.replace(/^\//,"").split("/").slice(I.length).join("/")}let q=W&&W.state.matches.length?W.state.matches.map(I=>Object.assign(I,{route:W.manifest[I.route.id]||I.route})):Mj(V,{pathname:u}),R=eQ(q&&q.map(I=>Object.assign({},I,{params:Object.assign({},i,I.params),pathname:xW([b,T.encodeLocation?T.encodeLocation(I.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:I.pathname]),pathnameBase:I.pathnameBase==="/"?b:xW([b,T.encodeLocation?T.encodeLocation(I.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:I.pathnameBase])})),Z,W);return U&&R?Y.createElement(ki.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...S},navigationType:"POP"}},R):R}function IN(){let V=W$(),U=zQ(V)?`${V.status} ${V.statusText}`:V instanceof Error?V.message:JSON.stringify(V),W=V instanceof Error?V.stack:null;return Y.createElement(Y.Fragment,null,Y.createElement("h2",null,"Unexpected Application Error!"),Y.createElement("h3",{style:{fontStyle:"italic"}},U),W?Y.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},W):null,null)}var tN=Y.createElement(IN,null),yJ,MN=(yJ=class extends Y.Component{constructor(V){super(V),this.state={location:V.location,revalidation:V.revalidation,error:V.error}}static getDerivedStateFromError(V){return{error:V}}static getDerivedStateFromProps(V,U){return U.location!==V.location||U.revalidation!=="idle"&&V.revalidation==="idle"?{error:V.error,location:V.location,revalidation:V.revalidation}:{error:V.error!==void 0?V.error:U.error,location:U.location,revalidation:V.revalidation||U.revalidation}}componentDidCatch(V,U){this.props.onError?this.props.onError(V,U):console.error("React Router caught the following error during render",V)}render(){let V=this.state.error;if(this.context&&typeof V=="object"&&V&&"digest"in V&&typeof V.digest=="string"){let W=JQ(V.digest);W&&(V=W)}let U=V!==void 0?Y.createElement(WW.Provider,{value:this.props.routeContext},Y.createElement(Hj.Provider,{value:V,children:this.props.component})):this.props.children;return this.context?Y.createElement(QN,{error:V},U):U}},MZ(yJ,"contextType",vJ),yJ),YJ=new WeakMap;function QN({children:V,error:U}){let{basename:W,navigator:T}=Y.useContext(EV);if(typeof U=="object"&&U&&"digest"in U&&typeof U.digest=="string"){let Z=PQ(U.digest);if(Z){let o=YJ.get(U);if(o)throw o;let i=Qj(Z.location,W),b=i.absoluteURL||i.to;
9if(CS(Z.location,b,aS(T),"allow-explicit"),qQ(b))throw new Error("Invalid redirect location");if(aJ&&!YJ.get(U))if(i.isExternal||Z.reloadDocument)window.location.href=b;else{let O=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:Z.replace}));throw YJ.set(U,O),O}return Y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${b}`})}}return V}function nN({routeContext:V,match:U,children:W}){let T=Y.useContext(vT);return T&&T.static&&T.staticContext&&(U.route.errorElement||U.route.ErrorBoundary)&&(T.staticContext._deepestRenderedBoundaryId=U.route.id),Y.createElement(WW.Provider,{value:V},W)}function eQ(V,U=[],W){let T=W?.state;if(V==null){if(!T)return null;if(T.errors)V=T.matches;else if(U.length===0&&!T.initialized&&T.matches.length>0)V=T.matches;else return null}let Z=V,o=T?.errors;if(o!=null){let z=Z.findIndex(u=>u.route.id&&o?.[u.route.id]!==void 0);$U(z>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),Z=Z.slice(0,Math.min(Z.length,z+1))}let i=!1,b=-1;if(W&&T){i=T.renderFallback;for(let z=0;z<Z.length;z++){let u=Z[z];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(b=z),u.route.id){let{loaderData:q,errors:R}=T,I=u.route.loader&&!q.hasOwnProperty(u.route.id)&&(!R||R[u.route.id]===void 0);if(u.route.lazy||I){W.isStatic&&(i=!0),b>=0?Z=Z.slice(0,b+1):Z=[Z[0]];break}}}}let O=W?.onError,S=T&&O?(z,u)=>{O(z,{location:T.location,params:T.matches?.[0]?.params??{},pattern:FJ(T.matches),errorInfo:u})}:void 0;return Z.reduceRight((z,u,q)=>{let R,I=!1,M=null,n=null;T&&(R=o&&u.route.id?o[u.route.id]:void 0,M=u.route.errorElement||tN,i&&(b<0&&q===0?(rN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),I=!0,n=null):b===q&&(I=!0,n=u.route.hydrateFallbackElement||null)));let P=U.concat(Z.slice(0,q+1)),$=()=>{let t;return R?t=M:I?t=n:u.route.Component?t=Y.createElement(u.route.Component,null):u.route.element?t=u.route.element:t=z,Y.createElement(nN,{match:u,routeContext:{outlet:z,matches:P,isDataRoute:T!=null},children:t})};return T&&(u.route.ErrorBoundary||u.route.errorElement||q===0)?Y.createElement(MN,{location:T.location,revalidation:T.revalidation,component:M,error:R,children:$(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:S}):$()},null)}function fJ(V){return`${V} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function HN(V){let U=Y.useContext(vT);return $U(U,fJ(V)),U}function gJ(V){let U=Y.useContext(QZ);return $U(U,fJ(V)),U}function cN(V){let U=Y.useContext(WW);return $U(U,fJ(V)),U}function U$(V){let U=cN(V),W=U.matches[U.matches.length-1];return $U(W.route.id,`${V} can only be used on routes that contain a unique "id"`),W.route.id}function IQ(){return U$("useRouteId")}function V$(){let V=gJ("useNavigation");return Y.useMemo(()=>{let{matches:U,historyAction:W,...T}=V.navigation;return T},[V.navigation])}function vS(){let{matches:V,loaderData:U}=gJ("useMatches");return Y.useMemo(()=>V.map(W=>TQ(W,U)),[V,U])}function W$(){let V=Y.useContext(Hj),U=gJ("useRouteError"),W=U$("useRouteError");return V!==void 0?V:U.errors?.[W]}function GN(){let{router:V}=HN("useNavigate"),U=U$("useNavigate"),W=Y.useRef(!1);return Y.useLayoutEffect(()=>{W.current=!0}),Y.useCallback(async(T,Z={})=>{pV(W.current,_Q),W.current&&(typeof T=="number"?await V.navigate(T):await V.navigate(T,{fromRouteId:U,...Z}))},[V,U])}var $Q={};function rN(V,U,W){!U&&!$Q[V]&&($Q[V]=!0,pV(!1,W))}j();var kU=c(BU(),1),hN=c(BU(),1);var J7=kU.memo(tQ);function tQ({routes:V,manifest:U,future:W,state:T,isStatic:Z,onError:o}){return DJ(V,void 0,{manifest:U,state:T,isStatic:Z,onError:o,future:W})}function BS({to:V,replace:U,state:W,relative:T}){$U(Jo(),"<Navigate> may be used only in the context of a <Router> component.");let{static:Z,navigator:o}=kU.useContext(EV);pV(!Z,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:i}=kU.useContext(WW),{pathname:b}=MU(),O=VV(),S=Ei(V,FS(i),b,T==="path");CS(typeof V=="string"?V:rW(V),o.createHref(S),aS(o),"reject");let z=JSON.stringify(S);return kU.useEffect(()=>{O(JSON.parse(z),{replace:U,state:W,relative:T})},[O,z,T,U,W]),null}function sS(V){return LJ(V.context)}function g(V){$U(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}
9function Lb({basename:V="/",children:U=null,location:W,navigationType:T="POP",navigator:Z,static:o=!1,useTransitions:i}){$U(!Jo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let b=V.replace(/^\/*/,"/"),O=kU.useMemo(()=>({basename:b,navigator:Z,static:o,useTransitions:i,future:{}}),[b,Z,o,i]);typeof W=="string"&&(W=eT(W));let{pathname:S="/",search:z="",hash:u="",state:q=null,key:R="default",mask:I}=W,M=kU.useMemo(()=>{let n=EW(S,b);return n==null?null:{location:{pathname:n,search:z,hash:u,state:q,key:R,mask:I},navigationType:T}},[b,S,z,u,q,R,T,I]);return pV(M!=null,`<Router basename="${b}"> is not able to match the URL "${S}${z}${u}" because it does not start with the basename, so the <Router> won't render anything.`),M==null?null:kU.createElement(EV.Provider,{value:O},kU.createElement(ki.Provider,{children:U,value:M}))}function IT({children:V,location:U}){return wJ(Gj(V),U)}function Gj(V,U=[]){let W=[];return kU.Children.forEach(V,(T,Z)=>{if(!kU.isValidElement(T))return;let o=[...U,Z];if(T.type===kU.Fragment){W.push.apply(W,Gj(T.props.children,o));return}$U(T.type===g,`[${typeof T.type=="string"?T.type:T.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let i=T.props;$U(!i.index||!i.children,"An index route cannot have child routes.");let b={id:i.id||o.join("-"),caseSensitive:i.caseSensitive,element:i.element,Component:i.Component,index:i.index,path:i.path,middleware:i.middleware,loader:i.loader,action:i.action,hydrateFallbackElement:i.hydrateFallbackElement,HydrateFallback:i.HydrateFallback,errorElement:i.errorElement,ErrorBoundary:i.ErrorBoundary,shouldRevalidate:i.shouldRevalidate,handle:i.handle,lazy:i.lazy};i.children&&(b.children=Gj(i.children,o)),W.push(b)}),W}j();var xj="application/x-www-form-urlencoded";function Ej(V){return typeof HTMLElement<"u"&&V instanceof HTMLElement}function AN(V){return Ej(V)&&V.tagName.toLowerCase()==="button"}function NN(V){return Ej(V)&&V.tagName.toLowerCase()==="form"}function mN(V){return Ej(V)&&V.tagName.toLowerCase()==="input"}function lN(V){return!!(V.metaKey||V.altKey||V.ctrlKey||V.shiftKey)}function MQ(V,U){return V.button===0&&(!U||U==="_self")&&!lN(V)}var rj=null;function dN(){if(rj===null)try{new FormData(document.createElement("form"),0),rj=!1}catch{rj=!0}return rj}var FN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function T$(V){return V!=null&&!FN.has(V)?(pV(!1,`"${V}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xj}"`),null):V}function QQ(V,U){let W,T,Z,o,i;if(NN(V)){let b=V.getAttribute("action");T=b?EW(b,U):null,W=V.getAttribute("method")||"get",Z=T$(V.getAttribute("enctype"))||xj,o=new FormData(V)}
9else if(AN(V)||mN(V)&&(V.type==="submit"||V.type==="image")){let b=V.form;if(b==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let O=V.getAttribute("formaction")||b.getAttribute("action");if(T=O?EW(O,U):null,W=V.getAttribute("formmethod")||b.getAttribute("method")||"get",Z=T$(V.getAttribute("formenctype"))||T$(b.getAttribute("enctype"))||xj,o=new FormData(b,V),!dN()){let{name:S,type:z,value:u}=V;if(z==="image"){let q=S?`${S}.`:"";o.append(`${q}x`,"0"),o.append(`${q}y`,"0")}else S&&o.append(S,u)}}else{if(Ej(V))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');W="get",T=null,Z=xj,i=V}return o&&Z==="text/plain"&&(i=o,o=void 0),{action:T,method:W.toLowerCase(),encType:Z,formData:o,body:i}}j();j();function kj(V,U){if(V===!1||V===null||typeof V>"u")throw new Error(U)}j();var aN={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},CN=/[&><\u2028\u2029]/g;function Z$(V){return V.replace(CN,U=>aN[U])}var o$=c(BU(),1);var r7=Symbol("SingleFetchRedirect");function i$(V,U){let W=typeof V=="string"?new URL(V,typeof window>"u"?"server://singlefetch/":window.location.origin):V;return W.pathname.endsWith("/")?W.pathname=`${W.pathname}_.${U}`:W.pathname=`${W.pathname}.${U}`,W}j();j();j();async function nQ(V,U){if(V.id in U)return U[V.id];try{let W=await import(V.module);return U[V.id]=W,W}catch(W){if(console.error(`Error loading route module \`${V.module}\`, reloading page...`),console.error(W),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode&&import.meta.hot)throw W;return window.location.reload(),new Promise(()=>{})}}function HQ(V){return V!=null&&typeof V.page=="string"}function vN(V){return V==null?!1:V.href==null?V.rel==="preload"&&typeof V.imageSrcSet=="string"&&typeof V.imageSizes=="string":typeof V.rel=="string"&&typeof V.href=="string"}async function cQ(V,U,W){return pN((await Promise.all(V.map(async T=>{let Z=U.routes[T.route.id];if(Z){let o=await nQ(Z,W);return o.links?o.links():[]}return[]}))).flat(1).filter(vN).filter(T=>T.rel==="stylesheet"||T.rel==="preload").map(T=>T.rel==="stylesheet"?{...T,rel:"prefetch",as:"style"}:{...T,rel:"prefetch"}))}function b$(V,U,W,T,Z,o){let i=(O,S)=>W[S]?O.route.id!==W[S].route.id:!0,b=(O,S)=>W[S].pathname!==O.pathname||W[S].route.path?.endsWith("*")&&W[S].params["*"]!==O.params["*"];return o==="assets"?U.filter((O,S)=>i(O,S)||b(O,S)):o==="data"?U.filter((O,S)=>{let z=T.routes[O.route.id];if(!z||!z.hasLoader)return!1;if(i(O,S)||b(O,S))return!0;if(O.route.shouldRevalidate){let u=O.route.shouldRevalidate({currentUrl:new URL(Z.pathname+Z.search+Z.hash,window.origin),currentParams:W[0]?.params||{},nextUrl:new URL(V,window.origin),nextParams:O.params,defaultShouldRevalidate:!0});if(typeof u=="boolean")return u}return!0}):[]}function GQ(V,U,{includeHydrateFallback:W}={}){return BN(V.map(T=>{let Z=U.routes[T.route.id];if(!Z)return[];let o=[Z.module];return Z.clientActionModule&&(o=o.concat(Z.clientActionModule)),Z.clientLoaderModule&&(o=o.concat(Z.clientLoaderModule)),W&&Z.hydrateFallbackModule&&(o=o.concat(Z.hydrateFallbackModule)),Z.imports&&(o=o.concat(Z.imports)),o}).flat(1))}function BN(V){return[...new Set(V)]}function sN(V){let U={},W=Object.keys(V).sort();for(let T of W)U[T]=V[T];return U}function pN(V,U){let W=new Set,T=new Set(U);return V.reduce((Z,o)=>{if(U&&!HQ(o)&&o.as==="script"&&o.href&&T.has(o.href))return Z;let i=JSON.stringify(sN(o));return W.has(i)||(W.add(i),Z.push({key:i,link:o})),Z},[])}var oU=c(BU(),1);function YN(){let V=oU.useContext(vT);return kj(V,"You must render this element inside a <DataRouterContext.Provider> element"),V}function yN(){let V=oU.useContext(QZ);return kj(V,"You must render this element inside a <DataRouterStateContext.Provider> element"),V}var YS=oU.createContext(void 0);YS.displayName="FrameworkContext";function O$(){let V=oU.useContext(YS);return kj(V,"You must render this element inside a <HydratedRouter> element"),V}function rQ(V,U){let W=oU.useContext(YS),[T,Z]=oU.useState(!1),[o,i]=oU.useState(!1),{onFocus:b,onBlur:O,onMouseEnter:S,onMouseLeave:z,onTouchStart:u}=U,q=oU.useRef(null);oU.useEffect(()=>{if(V==="render"&&i(!0),V==="viewport"){let M=P=>{P.forEach($=>{i($.isIntersecting)})},n=new IntersectionObserver(M,{threshold:.5});return q.current&&n.observe(q.current),()=>{n.disconnect()}}},[V]),oU.useEffect(()=>{if(T){let M=setTimeout(()=>{i(!0)},100);return()=>
9{clearTimeout(M)}}},[T]);let R=()=>{Z(!0)},I=()=>{Z(!1),i(!1)};return W?V!=="intent"?[o,q,{}]:[o,q,{onFocus:pS(b,R),onBlur:pS(O,I),onMouseEnter:pS(S,R),onMouseLeave:pS(z,I),onTouchStart:pS(u,R)}]:[!1,q,{}]}function pS(V,U){return W=>{V&&V(W),W.defaultPrevented||U(W)}}function xQ({page:V,...U}){let W=BJ(),{nonce:T}=O$(),{router:Z}=YN(),o=oU.useMemo(()=>Mj(Z.routes,V,Z.basename),[Z.routes,V,Z.basename]);return o?(U.nonce==null&&T&&(U={...U,nonce:T}),W?oU.createElement(LN,{page:V,matches:o,...U}):oU.createElement(wN,{page:V,matches:o,...U})):null}function KN(V){let{manifest:U,routeModules:W}=O$(),[T,Z]=oU.useState([]);return oU.useEffect(()=>{let o=!1;return cQ(V,U,W).then(i=>{o||Z(i)}),()=>{o=!0}},[V,U,W]),T}function LN({page:V,matches:U,...W}){let T=MU(),Z=oU.useMemo(()=>{if(V===T.pathname+T.search+T.hash)return[];let o=i$(V,"rsc"),i=!1,b=[];for(let O of U)typeof O.route.shouldRevalidate=="function"?i=!0:b.push(O.route.id);return i&&b.length>0&&o.searchParams.set("_routes",b.join(",")),[o.pathname+o.search]},[V,T,U]);return oU.createElement(oU.Fragment,null,Z.map(o=>oU.createElement("link",{key:o,rel:"prefetch",as:"fetch",href:o,...W})))}function wN({page:V,matches:U,...W}){let T=MU(),{manifest:Z,routeModules:o}=O$(),{loaderData:i,matches:b}=yN(),O=oU.useMemo(()=>b$(V,U,b,Z,T,"data"),[V,U,b,Z,T]),S=oU.useMemo(()=>b$(V,U,b,Z,T,"assets"),[V,U,b,Z,T]),z=oU.useMemo(()=>{if(V===T.pathname+T.search+T.hash)return[];let R=new Set,I=!1;if(U.forEach(n=>{let P=Z.routes[n.route.id];!P||!P.hasLoader||(!O.some($=>$.route.id===n.route.id)&&n.route.id in i&&o[n.route.id]?.shouldRevalidate||P.hasClientLoader?I=!0:R.add(n.route.id))}),R.size===0)return[];let M=i$(V,"data");return I&&R.size>0&&M.searchParams.set("_routes",U.filter(n=>R.has(n.route.id)).map(n=>n.route.id).join(",")),[M.pathname+M.search]},[i,T,Z,O,U,V,o]),u=oU.useMemo(()=>GQ(S,Z),[S,Z]),q=KN(S);return oU.createElement(oU.Fragment,null,z.map(R=>oU.createElement("link",{key:R,rel:"prefetch",as:"fetch",href:R,...W})),u.map(R=>oU.createElement("link",{key:R,rel:"modulepreload",href:R,...W})),q.map(({key:R,link:I})=>oU.createElement("link",{key:R,nonce:W.nonce,...I,crossOrigin:I.crossOrigin??W.crossOrigin})))}function EQ(...V){return U=>
9{V.forEach(W=>{typeof W=="function"?W(U):W!=null&&(W.current=U)})}}j();var p=c(BU(),1);var gN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{gN&&(window.__reactRouterVersion="8")}catch{}function u$({basename:V,children:U,useTransitions:W,window:T}){let Z=p.useRef(null);Z.current==null&&(Z.current=UQ({window:T,v5Compat:!0}));let o=Z.current,[i,b]=p.useState({action:o.action,location:o.location}),O=p.useCallback(S=>{W===!1?b(S):p.startTransition(()=>b(S))},[W]);return p.useLayoutEffect(()=>o.listen(O),[o,O]),p.createElement(Lb,{basename:V,children:U,location:i.location,navigationType:i.action,navigator:o,useTransitions:W})}function kQ({basename:V,children:U,history:W,useTransitions:T}){let[Z,o]=p.useState({action:W.action,location:W.location}),i=p.useCallback(b=>{T===!1?o(b):p.startTransition(()=>o(b))},[T]);return p.useLayoutEffect(()=>W.listen(i),[W,i]),p.createElement(Lb,{basename:V,children:U,location:Z.location,navigationType:Z.action,navigator:W,useTransitions:T})}kQ.displayName="unstable_HistoryRouter";var yS=p.forwardRef(function({onClick:U,discover:W="render",prefetch:T="none",relative:Z,reloadDocument:o,replace:i,mask:b,state:O,target:S,to:z,preventScrollReset:u,viewTransition:q,defaultShouldRevalidate:R,...I},M){let{basename:n,navigator:P,useTransitions:$}=p.useContext(EV),t=typeof z=="string"&&xi.test(z),Q=Qj(z,n);z=Q.to;let x=KJ(z,{relative:Z}),k=MU(),r=null;if(b){let UV=Ei(b,[],k.mask?k.mask.pathname:"/",!0);n!=="/"&&(UV.pathname=UV.pathname==="/"?n:xW([n,UV.pathname])),r=P.createHref(UV)}let[A,d,a]=rQ(T,I),xU=NQ(z,{replace:i,mask:b,state:O,target:S,preventScrollReset:u,relative:Z,viewTransition:q,defaultShouldRevalidate:R,useTransitions:$});function UU(UV){U&&U(UV),UV.defaultPrevented||xU(UV)}let EU=!(Q.isExternal||o),vU=p.createElement("a",{...I,...a,href:(EU?r:void 0)||Q.absoluteURL||x,onClick:EU?UU:U,ref:EQ(M,d),target:S,"data-discover":!t&&W==="render"?"true":void 0});return A&&!t?p.createElement(p.Fragment,null,vU,p.createElement(xQ,{page:x})):vU});yS.displayName="Link";var KS=p.forwardRef(function({"aria-current":U="page",caseSensitive:W=!1,className:T="",end:Z=!1,style:o,to:i,viewTransition:b,children:O,...S},z){let u=Xi(i,{relative:S.relative}),q=MU(),R=p.useContext(QZ),{navigator:I,basename:M}=p.useContext(EV),n=R!=null&&FQ(u)&&b===!0,P=I.encodeLocation?I.encodeLocation(u).pathname:u.pathname,$=q.pathname,t=R&&R.navigation&&R.navigation.location?R.navigation.location.pathname:null;W||($=$.toLowerCase(),t=t?t.toLowerCase():null,P=P.toLowerCase()),t&&M&&(t=EW(t,M)||t);let Q=P!=="/"&&P.endsWith("/")?P.length-1:P.length,x=$===P||!Z&&$.startsWith(P)&&$.charAt(Q)==="/",k=t!=null&&(t===P||!Z&&t.startsWith(P)&&t.charAt(Q)==="/"),r={isActive:x,isPending:k,isTransitioning:n},A=x?U:void 0,d;typeof T=="function"?d=T(r):d=[T,x?"active":null,k?"pending":null,n?"transitioning":null].filter(Boolean).join(" ");let a=typeof o=="function"?o(r):o;return p.createElement(yS,{...S,"aria-current":A,className:d,ref:z,style:a,to:i,viewTransition:b},typeof O=="function"?O(r):O)});KS.displayName="NavLink";var XQ=p.forwardRef(({discover:V="render",fetcherKey:U,navigate:W,reloadDocument:T,replace:Z,state:o,method:i="get",action:b,onSubmit:O,relative:S,preventScrollReset:z,viewTransition:u,defaultShouldRevalidate:q,...R},I)=>{let{useTransitions:M}=p.useContext(EV),n=mQ(),P=lQ(b,{relative:S}),$=i.toLowerCase()==="get"?"get":"post",t=typeof b=="string"&&xi.test(b);return p.createElement("form",{ref:I,method:$,action:P,onSubmit:T?O:x=>{if(O&&O(x),x.defaultPrevented)return;x.preventDefault();let k=x.nativeEvent.submitter,r=k?.getAttribute("formmethod")||i,A=()=>n(k||x.currentTarget,{fetcherKey:U,method:r,navigate:W,replace:Z,state:o,relative:S,preventScrollReset:z,viewTransition:u,defaultShouldRevalidate:q});M&&W!==!1?p.startTransition(()=>A()):A()},...R,"data-discover":!t&&V==="render"?"true":void 0})});XQ.displayName="Form";function hQ({getKey:V,storageKey:U,...W}){let T=p.useContext(YS),{basename:Z}=p.useContext(EV),o=MU(),i=vS();dQ({getKey:V,storageKey:U});let b=p.useMemo(()=>{if(!T||!V)return null;let S=z$(o,i,Z,V);return S!==o.key?S:null},[]);if(!T||T.isSpaMode)return null;let O=((S,z)=>{if(!window.history.state||!window.history.state.key){let u=Math.random().toString(32).slice(2);window.history.replaceState({key:u},"")}try{let u=JSON.parse(sessionStorage.getItem(S)||"{}")[z||window.history.state.key];typeof u=="number"&&window.scrollTo(0,u)}catch(u){console.error(u),sessionStorage.removeItem(S)}}).toString();return W.nonce==null&&T?.nonce&&(W.nonce=T.nonce),p.createElement("script",{...W,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${O})(${Z$(JSON.stringify(U||S$))}, ${Z$(JSON.stringify(b))})`}})}hQ.displayName="ScrollRestoration";function AQ(V){return`${V} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function j$(V){let U=p.useContext(vT);return $U(U,AQ(V)),U}function Um(V){let U=p.useContext(QZ);return $U(U,AQ(V)),U}function NQ(V,{target:U,replace:W,mask:T,state:Z,preventScrollReset:o,relative:i,viewTransition:b,defaultShouldRevalidate:O,useTransitions:S}={}){let z=VV(),u=MU(),q=Xi(V,{relative:i});return p.useCallback(R=>
9{if(MQ(R,U)){R.preventDefault();let I=W!==void 0?W:rW(u)===rW(q),M=()=>z(V,{replace:I,mask:T,state:Z,preventScrollReset:o,relative:i,viewTransition:b,defaultShouldRevalidate:O});S?p.startTransition(()=>M()):M()}},[u,z,q,W,T,Z,U,V,o,i,b,O,S])}var Vm=0,Wm=()=>`__${String(++Vm)}__`;function mQ(){let{router:V}=j$("useSubmit"),{basename:U}=p.useContext(EV),W=IQ(),T=V.fetch,Z=V.navigate;return p.useCallback(async(o,i={})=>{let{action:b,method:O,encType:S,formData:z,body:u}=QQ(o,U);i.navigate===!1?await T(i.fetcherKey||Wm(),W,i.action||b,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,relative:i.relative,formData:z,body:u,formMethod:i.method||O,formEncType:i.encType||S,flushSync:i.flushSync}):await Z(i.action||b,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,relative:i.relative,formData:z,body:u,formMethod:i.method||O,formEncType:i.encType||S,replace:i.replace,state:i.state,fromRouteId:W,flushSync:i.flushSync,viewTransition:i.viewTransition})},[T,Z,U,W])}function lQ(V,{relative:U}={}){let{basename:W}=p.useContext(EV),T=p.useContext(WW);$U(T,"useFormAction must be used inside a RouteContext");let[Z]=T.matches.slice(-1),o={...Xi(V||".",{relative:U})},i=MU();if(V==null){o.search=i.search;let b=new URLSearchParams(o.search),O=b.getAll("index");if(O.some(S=>S==="")){b.delete("index"),O.filter(z=>z).forEach(z=>b.append("index",z));let S=b.toString();o.search=S?`?${S}`:""}}return(!V||V===".")&&Z.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),W!=="/"&&(o.pathname=o.pathname==="/"?W:xW([W,o.pathname])),rW(o)}var S$="react-router-scroll-positions",Xj={};function z$(V,U,W,T){let Z=null;return T&&(W!=="/"?Z=T({...V,pathname:EW(V.pathname,W)||V.pathname},U):Z=T(V,U)),Z==null&&(Z=V.key),Z}function dQ({getKey:V,storageKey:U}={}){let{router:W}=j$("useScrollRestoration"),{restoreScrollPosition:T,preventScrollReset:Z}=Um("useScrollRestoration"),{basename:o}=p.useContext(EV),i=MU(),b=vS(),O=V$();p.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Zm(p.useCallback(S=>{S.persisted&&(window.history.scrollRestoration="manual")},[])),Tm(p.useCallback(()=>{if(O.state==="idle"){let S=z$(i,b,o,V);Xj[S]=window.scrollY}try{sessionStorage.setItem(U||S$,JSON.stringify(Xj))}catch(S){pV(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${S}).`)}window.history.scrollRestoration="auto"},[O.state,V,o,i,b,U])),typeof document<"u"&&(p.useLayoutEffect(()=>{try{let S=sessionStorage.getItem(U||S$);S&&(Xj=JSON.parse(S))}catch{}},[U]),p.useLayoutEffect(()=>{let S=W?.enableScrollRestoration(Xj,()=>window.scrollY,V?(z,u)=>z$(z,u,o,V):void 0);return()=>S&&S()},[W,o,V]),p.useLayoutEffect(()=>{if(T!==!1){if(typeof T=="number"){window.scrollTo(0,T);return}try{if(i.hash){let S=document.getElementById(decodeURIComponent(i.hash.slice(1)));if(S){S.scrollIntoView();return}}}catch{pV(!1,`"${i.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}Z!==!0&&window.scrollTo(0,0)}},[i,T,Z]))}function Tm(V,U){let{capture:W}=U||{};p.useEffect(()=>{let T=W!=null?{capture:W}:void 0;return window.addEventListener("pagehide",V,T),()=>{window.removeEventListener("pagehide",V,T)}},[V,W])}function Zm(V,U){let{capture:W}=U||{};p.useEffect(()=>{let T=W!=null?{capture:W}:void 0;return window.addEventListener("pageshow",V,T),()=>{window.removeEventListener("pageshow",V,T)}},[V,W])}function FQ(V,{relative:U}={}){let W=p.useContext(nj);$U(W!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:T}=j$("useViewTransitionState"),Z=Xi(V,{relative:U});if(!W.isTransitioning)return!1;let o=EW(W.currentLocation.pathname,T)||W.currentLocation.pathname,i=EW(W.nextLocation.pathname,T)||W.nextLocation.pathname;return Kb(Z.pathname,i)!=null||Kb(Z.pathname,o)!=null}j();var q$=c(BU(),1);function R$({basename:V,children:U,location:W="/"}){typeof W=="string"&&(W=eT(W));let T="POP",Z={pathname:W.pathname||"/",search:W.search||"",hash:W.hash||"",state:W.state!=null?W.state:null,key:W.key||"default",mask:void 0},o=om();return q$.createElement(Lb,{basename:V,children:U,location:Z,navigationType:T,navigator:o,static:!0,useTransitions:!1})}function om(){return{createHref:im,encodeLocation:bm,push(V){throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(V)})\` somewhere in your app.`)},replace(V){throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(V)}, { replace: true })\` somewhere in your app.`)},go(V){throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${V})\` somewhere in your app.`)},back(){throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.")},forward(){throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.")}}}function im(V){return typeof V=="string"?V:rW(V)}function bm(V){let U=typeof V=="string"?V:rW(V);U=U.replace(/ $/,"%20");let W=xi.test(U)?new URL(U):new URL(U,"http://localhost");return{pathname:W.pathname,search:W.search,hash:W.hash}}j();j();j();var wb=c(BU()),YQ=c(G()),BQ=wb.default.createContext(null);function sQ(){let V=wb.default.useContext(BQ);if(!V)throw new Error("please provide an i18n context");return V}function v(V){let{value:U,language:W}=sQ();return wb.default.useCallback(function(Z){let o=U[V],i=o?.[Z];if(i===void 0&&o){let b=jm(o,Z);b!==null&&(i=o[b])}return P$(W,i)},[W,U,V])}function WV(){return sQ().language}function pQ({value:V,language:U,children:W}){let T=wb.default.useMemo(()=>({value:V,language:U}),[V,U]);return(0,YQ.jsx)(BQ.Provider,{value:T,children:W})}function P$(V,U){return Array.isArray(U)?U.map(W=>P$(V,W)):typeof U=="function"?U:typeof U=="object"&&U!==null?zm(V,U):U}function zm(V,U){let W=U[V];return W!==void 0?W:wb.default.isValidElement(U)?U:um(U,T=>P$(V,T))}function um(V,U){return Object.entries(V).reduce((W,[T,Z])=>({...W,[T]:U(Z)}),{})}function jm(V,U){let W=String(U).toLowerCase();return Object.keys(V).find(Z=>Z.toLowerCase()===W)??null}j();var yQ={component:"src_pages_NotFound_component"};var KQ=c(G());function $o(){let V=v("informatie"),{content:U}=V("notFound");return(0,KQ.jsx)("section",{className:yQ.component,children:U})}j();j();var LQ={};function J$(V){let[U,W]=e.default.useState(null);return e.default.useEffect(()=>{let T=LQ[V]||(LQ[V]=window.matchMedia(V));return W(T.matches),T.addEventListener("change",Z),()=>T.removeEventListener("change",Z);function Z(){W(T.matches)}},[V]),U}j();j();j();j();var hi={component:"src_features_pageOnly_MenuItem_component",componentTool:"src_features_pageOnly_MenuItem_componentTool",isCurrent:"src_features_pageOnly_MenuItem_isCurrent",isActive:"src_features_pageOnly_MenuItem_isActive",isDisabled:"src_features_pageOnly_MenuItem_isDisabled"};var LS=c(G());function _$({link:V,title:U,disabled:W=!1}){return(0,LS.jsx)(W?qm:KS,{to:V,end:!0,disabled:W,className:W?$$(!1):({isActive:Z})=>$$(Z),children:U})}function wQ({link:V,title:U,onClick:W=void 0}){return(0,LS.jsx)(KS,{onClick:T=>W(),to:V,end:!0,className:({isActive:T})=>$$(T),children:U})}function Aj({title:V,onClick:U,isActive:W,disabled:T,layoutClassName:Z=void 0}){return(0,LS.jsx)("button",{type:"button",className:(0,_.default)(hi.componentTool,W&&hi.isActive,Z),onClick:U,disabled:T,children:V})}function qm({className:V,...U}){return(0,LS.jsx)("span",{...U,className:V||hi.component})}function $$(V){return V?(0,_.default)(hi.component,hi.isCurrent):hi.component}j();var tT={component:"src_features_pageOnly_MobileMenu_component",buttonLayout:"src_features_pageOnly_MobileMenu_buttonLayout",listLayout:"src_features_pageOnly_MobileMenu_listLayout",componentButton:"src_features_pageOnly_MobileMenu_componentButton",isActive:"src_features_pageOnly_MobileMenu_isActive",buttonIconBar:"src_features_pageOnly_MobileMenu_buttonIconBar",buttonIcon:"src_features_pageOnly_MobileMenu_buttonIcon",buttonLabel:"src_features_pageOnly_MobileMenu_buttonLabel",componentList:"src_features_pageOnly_MobileMenu_componentList",listOpen:"src_features_pageOnly_MobileMenu_listOpen"};var YW=c(G());function e$({menuItems:V,formMenuItems:U=void 0,section:W,layoutClassName:T=void 0}){let[Z,o]=e.default.useState(!1);return(0,YW.jsxs)("nav",{className:(0,_.default)(tT.component,T),children:[(0,YW.jsx)(Rm,{layoutClassName:tT.buttonLayout,isActive:Z,section:W,onClick:i}),(0,YW.jsx)(Pm,{layoutClassName:tT.listLayout,menuItems:V,formMenuItems:U,isActive:Z,onClick:i})]});
9function i(){o(!Z)}}function Rm({onClick:V,isActive:U,section:W,layoutClassName:T=void 0}){let Z=v(W);return(0,YW.jsxs)("button",{className:(0,_.default)(tT.componentButton,U&&tT.isActive,T),onClick:V,children:[(0,YW.jsx)("div",{className:tT.buttonIcon,children:(0,YW.jsx)("div",{className:tT.buttonIconBar})}),(0,YW.jsx)("span",{className:tT.buttonLabel,children:Z("pageNavigation").buttonText})]})}function Pm({onClick:V,menuItems:U,formMenuItems:W,layoutClassName:T,isActive:Z}){return(0,YW.jsxs)("div",{className:(0,_.default)(tT.componentList,Z&&tT.listOpen,T),onClick:V,children:[U?.map(({link:o,title:i},b)=>(0,YW.jsx)(wQ,{link:o,title:i,onClick:V},b)),W?.map(({title:o,onClick:i,isActive:b,disabled:O},S)=>(0,YW.jsx)(Aj,{title:o,onClick:i,isActive:b,disabled:O},S))]})}j();var _o={component:"src_features_pageOnly_PageHeader_component",componentWithImage:"src_features_pageOnly_PageHeader_componentWithImage",bannerImage:"src_features_pageOnly_PageHeader_bannerImage",container:"src_features_pageOnly_PageHeader_container",title:"src_features_pageOnly_PageHeader_title"};var nZ=c(G());function I$({menuItems:V,formMenuItems:U=void 0,section:W,layoutClassName:T=void 0}){return(0,nZ.jsx)("div",{className:(0,_.default)(_o.component,T),children:(0,nZ.jsx)(e$,{layoutClassName:_o.navigationLayout,menuItems:V,formMenuItems:U,section:W})})}function DQ({menuItems:V,image:U,title:W,section:T,layoutClassName:Z=void 0}){return(0,nZ.jsxs)("div",{className:(0,_.default)(_o.componentWithImage,Z),children:[(0,nZ.jsx)("img",{src:U,alt:"",className:_o.bannerImage}),(0,nZ.jsxs)("div",{className:_o.container,children:[(0,nZ.jsx)(e$,{layoutClassName:_o.navigationLayout,menuItems:V,section:T}),(0,nZ.jsx)("h2",{className:_o.title,children:W})]})]})}j();j();j();var yW={componentBase:"src_features_buildingBlocks_Button_componentBase",componentLinkBase:"src_features_buildingBlocks_Button_componentLinkBase",iconLayout:"src_features_buildingBlocks_Button_iconLayout",componentPrimary:"src_features_buildingBlocks_Button_componentPrimary",componentLinkPrimary:"src_features_buildingBlocks_Button_componentLinkPrimary",componentPrimaryOutline:"src_features_buildingBlocks_Button_componentPrimaryOutline",componentSecondary:"src_features_buildingBlocks_Button_componentSecondary",componentSecondaryOutline:"src_features_buildingBlocks_Button_componentSecondaryOutline",componentTertiary:"src_features_buildingBlocks_Button_componentTertiary",componentLinkBaseText:"src_features_buildingBlocks_Button_componentLinkBaseText",disclaimer:"src_features_buildingBlocks_Button_disclaimer"};j();j();var fQ={component:"src_features_buildingBlocks_Icon_component"};var gQ=c(G());function qU({icon:V,layoutClassName:U=void 0}){return(0,gQ.jsx)("span",{role:"presentation",dangerouslySetInnerHTML:{__html:V},className:(0,_.default)(fQ.component,U)})}var uW=c(G());function kV({children:V,icon:U=void 0,onClick:W=void 0,disabled:T=!1,type:Z="button",layoutClassName:o=void 0}){return(0,uW.jsx)(mj,{className:(0,_.default)(yW.componentPrimary,o),children:V,icon:U,onClick:W,disabled:T,type:Z})}function Un({children:V,icon:U=void 0,onClick:W,disabled:T=!1,layoutClassName:Z=void 0}){return(0,uW.jsx)(mj,{className:(0,_.default)(yW.componentPrimaryOutline,Z),children:V,disabled:T,icon:U,onClick:W})}function Nj({children:V,icon:U=void 0,onClick:W,disabled:T=!1,layoutClassName:Z=void 0}){return(0,uW.jsx)(mj,{className:(0,_.default)(yW.componentSecondaryOutline,Z),children:V,disabled:T,icon:U,onClick:W})}function Db({children:V,icon:U=void 0,disabled:W=!1,onClick:T}){return(0,uW.jsx)(mj,{className:yW.componentTertiary,children:V,disabled:W,icon:U,onClick:T})}function Vn({children:V,icon:U=void 0,href:W,disabled:T=!1,target:Z="_self",disabledNotice:o=void 0,layoutClassName:i=void 0}){return(0,uW.jsx)(Jm,{className:(0,_.default)(yW.componentLinkPrimary,i),children:V,icon:U,href:W,disabled:T,disabledNotice:o,target:Z})}function mj({type:V="button",icon:U,children:W,onClick:T,className:Z,disabled:o=void 0}){return(0,uW.jsxs)("button",{className:(0,_.default)(yW.componentBase,Z),onClick:T,disabled:o,type:V,children:[W,U&&(0,uW.jsx)(qU,{layoutClassName:yW.iconLayout,icon:U})]})}function Jm({children:V,icon:U,className:W,href:T,disabled:Z=!1,disabledNotice:o=void 0,target:i="_self"}){return(0,uW.jsxs)("a",{className:(0,_.default)(yW.componentLinkBase,W),...Z?{}:{href:T},target:i,disabled:Z,children:[(0,uW.jsxs)("span",{className:yW.componentLinkBaseText,children:[(0,uW.jsx)("span",{children:V}),Z&&o&&(0,uW.jsx)("i",{className:yW.disclaimer,children:o})]}),U&&(0,uW.jsx)(qU,{layoutClassName:yW.iconLayout,icon:U})]})}j();j();j();j();j();j();j();j();var Wn=()=>{};var M$={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"};var l=function(V,U){if(!V)throw Ai(U)},Ai=function(V){return new Error("Firebase Database ("+M$.SDK_VERSION+") INTERNAL ASSERT FAILED: "+V)};var Zn=function(V){let U=[],W=0;for(let T=0;T<V.length;T++){let Z=V.charCodeAt(T);Z<128?U[W++]=Z:Z<2048?(U[W++]=Z>>6|192,U[W++]=Z&63|128):(Z&64512)===55296&&T+1<V.length&&(V.charCodeAt(T+1)&64512)===56320?(Z=65536+((Z&1023)<<10)+(V.charCodeAt(++T)&1023),U[W++]=Z>>18|240,U[W++]=Z>>12&63|128,U[W++]=Z>>6&63|128,U[W++]=Z&63|128):(U[W++]=Z>>12|224,U[W++]=Z>>6&63|128,U[W++]=Z&63|128)}return U},$m=function(V){let U=[],W=0,T=0;for(;W<V.length;){let Z=V[W++];if(Z<128)U[T++]=String.fromCharCode(Z);else if(Z>191&&Z<224){let o=V[W++];U[T++]=String.fromCharCode((Z&31)<<6|o&63)}else if(Z>239&&Z<365){let o=V[W++],i=V[W++],b=V[W++],O=((Z&7)<<18|(o&63)<<12|(i&63)<<6|b&63)-65536;U[T++]=String.fromCharCode(55296+(O>>10)),U[T++]=String.fromCharCode(56320+(O&1023))}else{let o=V[W++],i=V[W++];U[T++]=String.fromCharCode((Z&15)<<12|(o&63)<<6|i&63)}}return U.join("")},dj={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(V,U){if(!Array.isArray(V))throw Error("encodeByteArray takes an array as a parameter");this.init_();let W=U?this.byteToCharMapWebSafe_:this.byteToCharMap_,T=[];for(let Z=0;Z<V.length;Z+=3){let o=V[Z],i=Z+1<V.length,b=i?V[Z+1]:0,O=Z+2<V.length,S=O?V[Z+2]:0,z=o>>2,u=(o&3)<<4|b>>4,q=(b&15)<<2|S>>6,R=S&63;O||(R=64,i||(q=64)),T.push(W[z],W[u],W[q],W[R])}return T.join("")},encodeString(V,U){return this.HAS_NATIVE_SUPPORT&&!U?btoa(V):this.encodeByteArray(Zn(V),U)},decodeString(V,U){return this.HAS_NATIVE_SUPPORT&&!U?atob(V):$m(this.decodeStringToByteArray(V,U))},decodeStringToByteArray(V,U){this.init_();let W=U?this.charToByteMapWebSafe_:this.charToByteMap_,T=[];for(let Z=0;Z<V.length;){let o=W[V.charAt(Z++)],b=Z<V.length?W[V.charAt(Z)]:0;++Z;let S=Z<V.length?W[V.charAt(Z)]:64;++Z;let u=Z<V.length?W[V.charAt(Z)]:64;if(++Z,o==null||b==null||S==null||u==null)throw new Q$;let q=o<<2|b>>4;
vendor: 4,158 bytes, line 9
9if(T.push(q),S!==64){let R=b<<4&240|S>>2;if(T.push(R),u!==64){let I=S<<6&192|u;T.push(I)}}}return T},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let V=0;V<this.ENCODED_VALS.length;V++)this.byteToCharMap_[V]=this.ENCODED_VALS.charAt(V),this.charToByteMap_[this.byteToCharMap_[V]]=V,this.byteToCharMapWebSafe_[V]=this.ENCODED_VALS_WEBSAFE.charAt(V),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[V]]=V,V>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(V)]=V,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(V)]=V)}}},Q$=class extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}},H$=function(V){let U=Zn(V);return dj.encodeByteArray(U,!0)},wS=function(V){return H$(V).replace(/\./g,"")},fb=function(V){try{return dj.decodeString(V,!0)}catch(U){console.error("base64Decode failed: ",U)}return null};function on(V){return bn(void 0,V)}function bn(V,U){if(!(U instanceof Object))return U;switch(U.constructor){case Date:let W=U;return new Date(W.getTime());case Object:V===void 0&&(V={});break;case Array:V=[];break;default:return U}for(let W in U)!U.hasOwnProperty(W)||!_m(W)||(V[W]=bn(V[W],U[W]));return V}function _m(V){return V!=="__proto__"}function em(){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.")}var Im=()=>em().__FIREBASE_DEFAULTS__,tm=()=>{if(typeof process>"u"||typeof process.env>"u")return;let V=process.env.__FIREBASE_DEFAULTS__;if(V)return JSON.parse(V)},Mm=()=>{if(typeof document>"u")return;let V;try{V=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}let U=V&&fb(V[1]);return U&&JSON.parse(U)},c$=()=>{try{return Wn()||Im()||tm()||Mm()}catch(V){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${V}`);return}},G$=V=>c$()?.emulatorHosts?.[V],On=V=>{let U=G$(V);if(!U)return;let W=U.lastIndexOf(":");if(W<=0||W+1===U.length)throw new Error(`Invalid host ${U} with no separate hostname and port!`);let T=parseInt(U.substring(W+1),10);return U[0]==="["?[U.substring(1,W-1),T]:[U.substring(0,W),T]},r$=()=>c$()?.config,x$=V=>c$()?.[`_${V}`];var BT=class{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((U,W)=>{this.resolve=U,this.reject=W})}wrapCallback(U){return(W,T)=>{W?this.reject(W):this.resolve(T),typeof U=="function"&&(this.promise.catch(()=>{}),U.length===1?U(W):U(W,T))}}};function Sn(V,U){if(V.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');let W={alg:"none",type:"JWT"},T=U||"demo-project",Z=V.iat||0,o=V.sub||V.user_id;if(!o)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");let i={iss:`https://securetoken.google.com/${T}`,aud:T,iat:Z,exp:Z+3600,auth_time:Z,sub:o,user_id:o,firebase:{sign_in_provider:"custom",identities:{}},...V};return[wS(JSON.stringify(W)),wS(JSON.stringify(i)),""].join(".")}function YV(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function DS(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(YV())}function zn(){return typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"}function un(){let V=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof V=="object"&&V.id!==void 0}function Fj(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function jn(){let V=YV();return V.indexOf("MSIE ")>=0||V.indexOf("Trident/")>=0}function sT(){return M$.NODE_CLIENT===!0||M$.NODE_ADMIN===!0}function qn(){try{return typeof indexedDB=="object"}catch{return!1}}function Rn(){return new Promise((V,U)=>{try{let W=!0,T="validate-browser-context-for-indexeddb-analytics-module",Z=self.indexedDB.open(T);Z.onsuccess=()=>{Z.result.close(),W||self.indexedDB.deleteDatabase(T),V(!0)},Z.onupgradeneeded=()=>{W=!1},Z.onerror=()=>{U(Z.error?.message||"")}}catch(W){U(W)}})}
9var Qm="FirebaseError",MT=class V extends Error{constructor(U,W,T){super(W),this.code=U,this.customData=T,this.name=Qm,Object.setPrototypeOf(this,V.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,HZ.prototype.create)}},HZ=class{constructor(U,W,T){this.service=U,this.serviceName=W,this.errors=T}create(U,...W){let T=W[0]||{},Z=`${this.service}/${U}`,o=this.errors[U],i=o?nm(o,T):"Error",b=`${this.serviceName}: ${i} (${Z}).`;return new MT(Z,b,T)}};function nm(V,U){try{let W=0,T="";for(;W<V.length;){let Z=V.indexOf("{$",W);if(Z===-1){T+=V.substring(W);break}let o=V.indexOf("}",Z+2);if(o===-1){T+=V.substring(W);break}let i=V.substring(Z+2,o),b=U[i];T+=V.substring(W,Z)+(b!=null?String(b):`<${i}?>`),W=o+1}return T}catch{return V}}function gb(V){return JSON.parse(V)}function MV(V){return JSON.stringify(V)}var Pn=function(V){let U={},W={},T={},Z="";try{let o=V.split(".");U=gb(fb(o[0])||""),W=gb(fb(o[1])||""),Z=o[2],T=W.d||{},delete W.d}catch{}return{header:U,claims:W,data:T,signature:Z}};var Jn=function(V){let U=Pn(V),W=U.claims;return!!W&&typeof W=="object"&&W.hasOwnProperty("iat")},$n=function(V){let U=Pn(V).claims;return typeof U=="object"&&U.admin===!0};function pT(V,U){return Object.prototype.hasOwnProperty.call(V,U)}function Ni(V,U){if(Object.prototype.hasOwnProperty.call(V,U))return V[U]}function fS(V){for(let U in V)if(Object.prototype.hasOwnProperty.call(V,U))return!1;return!0}function gS(V,U,W){let T={};for(let Z in V)Object.prototype.hasOwnProperty.call(V,Z)&&(T[Z]=U.call(W,V[Z],Z,V));return T}function YT(V,U){if(V===U)return!0;let W=Object.keys(V),T=Object.keys(U);for(let Z of W){if(!T.includes(Z))return!1;let o=V[Z],i=U[Z];if(Tn(o)&&Tn(i)){if(!YT(o,i))return!1}else if(o!==i)return!1}for(let Z of T)if(!W.includes(Z))return!1;return!0}function Tn(V){return V!==null&&typeof V=="object"}function eo(V){let U=[];for(let[W,T]of Object.entries(V))Array.isArray(T)?T.forEach(Z=>{U.push(encodeURIComponent(W)+"="+encodeURIComponent(Z))}):U.push(encodeURIComponent(W)+"="+encodeURIComponent(T));return U.length?"&"+U.join("&"):""}function UO(V){let U={};return V.replace(/^\?/,"").split("&").forEach(T=>{if(T){let[Z,o]=T.split("=");U[decodeURIComponent(Z)]=decodeURIComponent(o)}}),U}function VO(V){let U=V.indexOf("?");if(!U)return"";let W=V.indexOf("#",U);return V.substring(U,W>0?W:void 0)}var lj=class{constructor(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=512/8,this.pad_[0]=128;for(let U=1;U<this.blockSize;++U)this.pad_[U]=0;this.reset()}reset(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0}compress_(U,W){W||(W=0);let T=this.W_;if(typeof U=="string")for(let u=0;u<16;u++)T[u]=U.charCodeAt(W)<<24|U.charCodeAt(W+1)<<16|U.charCodeAt(W+2)<<8|U.charCodeAt(W+3),W+=4;else for(let u=0;u<16;u++)T[u]=U[W]<<24|U[W+1]<<16|U[W+2]<<8|U[W+3],W+=4;for(let u=16;u<80;u++){let q=T[u-3]^T[u-8]^T[u-14]^T[u-16];T[u]=(q<<1|q>>>31)&4294967295}let Z=this.chain_[0],o=this.chain_[1],i=this.chain_[2],b=this.chain_[3],O=this.chain_[4],S,z;for(let u=0;u<80;u++){u<40?u<20?(S=b^o&(i^b),z=1518500249):(S=o^i^b,z=1859775393):u<60?(S=o&i|b&(o|i),z=2400959708):(S=o^i^b,z=3395469782);let q=(Z<<5|Z>>>27)+S+O+z+T[u]&4294967295;O=b,b=i,i=(o<<30|o>>>2)&4294967295,o=Z,Z=q}this.chain_[0]=this.chain_[0]+Z&4294967295,this.chain_[1]=this.chain_[1]+o&4294967295,this.chain_[2]=this.chain_[2]+i&4294967295,this.chain_[3]=this.chain_[3]+b&4294967295,this.chain_[4]=this.chain_[4]+O&4294967295}update(U,W){if(U==null)return;W===void 0&&(W=U.length);let T=W-this.blockSize,Z=0,o=this.buf_,i=this.inbuf_;for(;Z<W;){if(i===0)for(;Z<=T;)this.compress_(U,Z),Z+=this.blockSize;if(typeof U=="string"){for(;Z<W;)if(o[i]=U.charCodeAt(Z),++i,++Z,i===this.blockSize){this.compress_(o),i=0;break}}else for(;Z<W;)if(o[i]=U[Z],++i,++Z,i===this.blockSize){this.compress_(o),i=0;break}}this.inbuf_=i,this.total_+=W}digest(){let U=[],W=this.total_*8;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(let Z=this.blockSize-1;Z>=56;Z--)this.buf_[Z]=W&255,W/=256;this.compress_(this.buf_);let T=0;for(let Z=0;Z<5;Z++)for(let o=24;o>=0;o-=8)U[T]=this.chain_[Z]>>o&255,++T;return U}};function _n(V,U){let W=new n$(V,U);return W.subscribe.bind(W)}var n$=class{constructor(U,W){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Prom
vendor: 6,804 bytes, line 9
9ise.resolve(),this.finalized=!1,this.onNoObservers=W,this.task.then(()=>{U(this)}).catch(T=>{this.error(T)})}next(U){this.forEachObserver(W=>{W.next(U)})}error(U){this.forEachObserver(W=>{W.error(U)}),this.close(U)}complete(){this.forEachObserver(U=>{U.complete()}),this.close()}subscribe(U,W,T){let Z;if(U===void 0&&W===void 0&&T===void 0)throw new Error("Missing Observer.");Hm(U,["next","error","complete"])?Z=U:Z={next:U,error:W,complete:T},Z.next===void 0&&(Z.next=t$),Z.error===void 0&&(Z.error=t$),Z.complete===void 0&&(Z.complete=t$);let o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Z.error(this.finalError):Z.complete()}catch{}}),this.observers.push(Z),o}unsubscribeOne(U){this.observers===void 0||this.observers[U]===void 0||(delete this.observers[U],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(U){if(!this.finalized)for(let W=0;W<this.observers.length;W++)this.sendOne(W,U)}sendOne(U,W){this.task.then(()=>{if(this.observers!==void 0&&this.observers[U]!==void 0)try{W(this.observers[U])}catch(T){typeof console<"u"&&console.error&&console.error(T)}})}close(U){this.finalized||(this.finalized=!0,U!==void 0&&(this.finalError=U),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}};function Hm(V,U){if(typeof V!="object"||V===null)return!1;for(let W of U)if(W in V&&typeof V[W]=="function")return!0;return!1}function t$(){}function aj(V,U){return`${V} failed: ${U} argument `}var en=function(V){let U=[],W=0;for(let T=0;T<V.length;T++){let Z=V.charCodeAt(T);if(Z>=55296&&Z<=56319){let o=Z-55296;T++,l(T<V.length,"Surrogate pair missing trail surrogate.");let i=V.charCodeAt(T)-56320;Z=65536+(o<<10)+i}Z<128?U[W++]=Z:Z<2048?(U[W++]=Z>>6|192,U[W++]=Z&63|128):Z<65536?(U[W++]=Z>>12|224,U[W++]=Z>>6&63|128,U[W++]=Z&63|128):(U[W++]=Z>>18|240,U[W++]=Z>>12&63|128,U[W++]=Z>>6&63|128,U[W++]=Z&63|128)}return U},Uz=function(V){let U=0;for(let W=0;W<V.length;W++){let T=V.charCodeAt(W);T<128?U++:T<2048?U+=2:T>=55296&&T<=56319?(U+=4,W++):U+=3}return U};var aL=14400*1e3;function XV(V){return V&&V._delegate?V._delegate:V}function mi(V){try{return(V.startsWith("http://")||V.startsWith("https://")?new URL(V).hostname:V).endsWith(".cloudworkstations.dev")}catch{return!1}}async function Cj(V){return(await fetch(V,{credentials:"include"})).ok}var KW=class{constructor(U,W,T){this.name=U,this.instanceFactory=W,this.type=T,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(U){return this.instantiationMode=U,this}setMultipleInstances(U){return this.multipleInstances=U,this}setServiceProps(U){return this.serviceProps=U,this}setInstanceCreatedCallback(U){return this.onInstanceCreated=U,this}};var li="[DEFAULT]";var vj=class{constructor(U,W){this.name=U,this.container=W,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(U){let W=this.normalizeInstanceIdentifier(U);if(!this.instancesDeferred.has(W)){let T=new BT;if(this.instancesDeferred.set(W,T),this.isInitialized(W)||this.shouldAutoInitialize())try{let Z=this.getOrInitializeService({instanceIdentifier:W});Z&&T.resolve(Z)}catch{}}return this.instancesDeferred.get(W).promise}getImmediate(U){let W=this.normalizeInstanceIdentifier(U?.identifier),T=U?.optional??!1;if(this.isInitialized(W)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:W})}catch(Z){if(T)return null;throw Z}else{if(T)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(U){if(U.name!==this.name)throw Error(`Mismatching Component ${U.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=U,!!this.shouldAutoInitialize()){if(Gm(U))try{this.getOrInitializeService({instanceIdentifier:li})}catch{}for(let[W,T]of this.instancesDeferred.entries()){let Z=this.normalizeInstanceIdentifier(W);try{let o=this.getOrInitializeService({instanceIdentifier:Z});T.resolve(o)}catch{}}}}clearInstance(U=li){this.instancesDeferred.delete(U),this.instancesOptions.delete(U),this.instances.delete(U)}async delete(){let U=Array.from(this.instances.values());await Promise.all([...U.filter(W=>"INTERNAL"in W).map(W=>W.INTERNAL.delete()),...U.filter(W=>"_delete"in W).map(W=>W._delete())])}isComponentSet(){return this.component!=null}isInitialized(U=li){return this.instances.has(U)}getOptions(U=li){return this.instancesOptions.get(U)||{}}initialize(U={}){let{options:W={}}=U,T=this.normalizeInstanceIdentifier(U.instanceIdentifier);if(this.isInitialized(T))throw Error(`${this.name}(${T}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let Z=this.getOrInitializeService({instanceIdentifier:T,options:W});for(let[o,i]of this.instancesDeferred.entries()){let b=this.normalizeInstanceIdentifier(o);T===b&&i.resolve(Z)}return Z}onInit(U,W){let T=this.normalizeInstanceIdentifier(W),Z=this.onInitCallbacks.get(T)??new Set;Z.add(U),this.onInitCallbacks.set(T,Z);let o=this.instances.get(T);return o&&U(o,T),()=>{Z.delete(U)}}invokeOnInitCallbacks(U,W){let T=this.onInitCallbacks.get(W);if(T)for(let Z of T)try{Z(U,W)}catch{}}getOrInitializeService({instanceIdentifier:U,options:W={}}){let T=this.instances.get(U);if(!T&&this.component&&(T=this.component.instanceFactory(this.container,{instanceIdentifier:cm(U),options:W}),this.instances.set(U,T),this.instancesOptions.set(U,W),this.invokeOnInitCallbacks(T,U),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,U,T)}catch{}return T||null}normalizeInstanceIdentifier(U=li){return this.component?this.component.multipleInstances?U:li:U}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}};function cm(V){return V===li?void 0:V}function Gm(V){return V.instantiationMode==="EAGER"}var Vz=class{constructor(U){this.name=U,this.providers=new Map}addComponent(U){let W=this.getProvider(U.name);if(W.isComponentSet())throw new Error(`Component ${U.name} has already been registered with ${this.name}`);W.setComponent(U)}addOrOverwriteComponent(U){this.getProvider(U.name).isComponentSet()&&this.providers.delete(U.name),this.addComponent(U)}getProvider(U){if(this.providers.has(U))return this.providers.get(U);let W=new vj(U,this);return this.providers.set(U,W),W}getProviders(){return Array.from(this.providers.values())}};j();var rm=[],_U;(function(V){V[V.DEBUG=0]="DEBUG",V[V.VERBOSE=1]="VERBOSE",V[V.INFO=2]="INFO",V[V.WARN=3]="WARN",V[V.ERROR=4]="ERROR",V[V.SILENT=5]="SILENT"})(_U||(_U={}));
vendor: 7,508 bytes, line 9
9var xm={debug:_U.DEBUG,verbose:_U.VERBOSE,info:_U.INFO,warn:_U.WARN,error:_U.ERROR,silent:_U.SILENT},Em=_U.INFO,km={[_U.DEBUG]:"log",[_U.VERBOSE]:"log",[_U.INFO]:"info",[_U.WARN]:"warn",[_U.ERROR]:"error"},Xm=(V,U,...W)=>{if(U<V.logLevel)return;let T=new Date().toISOString(),Z=km[U];if(Z)console[Z](`[${T}]  ${V.name}:`,...W);else throw new Error(`Attempted to log a message with an invalid logType (value: ${U})`)},Io=class{constructor(U){this.name=U,this._logLevel=Em,this._logHandler=Xm,this._userLogHandler=null,rm.push(this)}get logLevel(){return this._logLevel}set logLevel(U){if(!(U in _U))throw new TypeError(`Invalid value "${U}" assigned to \`logLevel\``);this._logLevel=U}setLogLevel(U){this._logLevel=typeof U=="string"?xm[U]:U}get logHandler(){return this._logHandler}set logHandler(U){if(typeof U!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=U}get userLogHandler(){return this._userLogHandler}set userLogHandler(U){this._userLogHandler=U}debug(...U){this._userLogHandler&&this._userLogHandler(this,_U.DEBUG,...U),this._logHandler(this,_U.DEBUG,...U)}log(...U){this._userLogHandler&&this._userLogHandler(this,_U.VERBOSE,...U),this._logHandler(this,_U.VERBOSE,...U)}info(...U){this._userLogHandler&&this._userLogHandler(this,_U.INFO,...U),this._logHandler(this,_U.INFO,...U)}warn(...U){this._userLogHandler&&this._userLogHandler(this,_U.WARN,...U),this._logHandler(this,_U.WARN,...U)}error(...U){this._userLogHandler&&this._userLogHandler(this,_U.ERROR,...U),this._logHandler(this,_U.ERROR,...U)}};j();j();var hm=(V,U)=>U.some(W=>V instanceof W),In,tn;function Am(){return In||(In=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Nm(){return tn||(tn=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Mn=new WeakMap,k$=new WeakMap,Qn=new WeakMap,E$=new WeakMap,h$=new WeakMap;function mm(V){let U=new Promise((W,T)=>{let Z=()=>{V.removeEventListener("success",o),V.removeEventListener("error",i)},o=()=>{W(yT(V.result)),Z()},i=()=>{T(V.error),Z()};V.addEventListener("success",o),V.addEventListener("error",i)});return U.then(W=>{W instanceof IDBCursor&&Mn.set(W,V)}).catch(()=>{}),h$.set(U,V),U}function lm(V){if(k$.has(V))return;let U=new Promise((W,T)=>{let Z=()=>{V.removeEventListener("complete",o),V.removeEventListener("error",i),V.removeEventListener("abort",i)},o=()=>{W(),Z()},i=()=>{T(V.error||new DOMException("AbortError","AbortError")),Z()};V.addEventListener("complete",o),V.addEventListener("error",i),V.addEventListener("abort",i)});k$.set(V,U)}var X$={get(V,U,W){if(V instanceof IDBTransaction){if(U==="done")return k$.get(V);if(U==="objectStoreNames")return V.objectStoreNames||Qn.get(V);if(U==="store")return W.objectStoreNames[1]?void 0:W.objectStore(W.objectStoreNames[0])}return yT(V[U])},set(V,U,W){return V[U]=W,!0},has(V,U){return V instanceof IDBTransaction&&(U==="done"||U==="store")?!0:U in V}};function nn(V){X$=V(X$)}function dm(V){return V===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(U,...W){let T=V.call(Bj(this),U,...W);return Qn.set(T,U.sort?U.sort():[U]),yT(T)}:Nm().includes(V)?function(...U){return V.apply(Bj(this),U),yT(Mn.get(this))}:function(...U){return yT(V.apply(Bj(this),U))}}function Fm(V){return typeof V=="function"?dm(V):(V instanceof IDBTransaction&&lm(V),hm(V,Am())?new Proxy(V,X$):V)}function yT(V){if(V instanceof IDBRequest)return mm(V);if(E$.has(V))return E$.get(V);let U=Fm(V);return U!==V&&(E$.set(V,U),h$.set(U,V)),U}var Bj=V=>h$.get(V);function cn(V,U,{blocked:W,upgrade:T,blocking:Z,terminated:o}={}){let i=indexedDB.open(V,U),b=yT(i);return T&&i.addEventListener("upgradeneeded",O=>{T(yT(i.result),O.oldVersion,O.newVersion,yT(i.transaction),O)}),W&&i.addEventListener("blocked",O=>W(O.oldVersion,O.newVersion,O)),b.then(O=>{o&&O.addEventListener("close",()=>o()),Z&&O.addEventListener("versionchange",S=>Z(S.oldVersion,S.newVersion,S))}).catch(()=>{}),b}var am=["get","getKey","getAll","getAllKeys","count"],Cm=["put","add","delete","clear"],A$=new Map;function Hn(V,U){if(!(V instanceof IDBDatabase&&!(U in V)&&typeof U=="string"))return;if(A$.get(U))return A$.get(U);let W=U.replace(/FromIndex$/,""),T=U!==W,Z=Cm.includes(W);if(!(W in(T?IDBIndex:IDBObjectStore).prototype)||!(Z||am.includes(W)))return;let o=async function(i,...b){let O=this.transaction(i,Z?"readwrite":"readonly"),S=O.store;return T&&(S=S.index(b.shift())),(await Promise.all([S[W](...b),Z&&O.done]))[0]};return A$.set(U,o),o}nn(V=>({...V,get:(U,W,T)=>Hn(U,W)||V.get(U,W,T),has:(U,W)=>!!Hn(U,W)||V.has(U,W)}));var m$=class{constructor(U){this.container=U}getPlatformInfoString(){return this.container.getProviders().map(W=>{if(vm(W)){let T=W.getImmediate();return`${T.library}/${T.version}`}else return null}).filter(W=>W).join(" ")}};function vm(V){return V.getComponent()?.type==="VERSION"}var l$="@firebase/app",Gn="0.16.1";var GZ=new Io("@firebase/app"),Bm="@firebase/app-compat",sm="@firebase/analytics-compat",pm="@firebase/analytics",Ym="@firebase/app-check-compat",ym="@firebase/app-check",Km="@firebase/auth",Lm="@firebase/auth-compat",wm="@firebase/database",Dm="@firebase/data-connect",fm="@firebase/database-compat",gm="@firebase/functions",Ul="@firebase/functions-compat",Vl="@firebase/installations",Wl="@firebase/installations-compat",Tl="@firebase/messaging",Zl="@firebase/messaging-compat",ol="@firebase/performance",il="@firebase/performance-compat",bl="@firebase/remote-config",Ol="@firebase/remote-config-compat",Sl="@firebase/storage",zl="@firebase/storage-compat",ul="@firebase/firestore",jl="@firebase/ai",ql="@firebase/firestore-compat",Rl="firebase",Pl="12.18.0";var d$="[DEFAULT]",Jl={[l$]:"fire-core",[Bm]:"fire-core-compat",[pm]:"fire-analytics",[sm]:"fire-analytics-compat",[ym]:"fire-app-check",[Ym]:"fire-app-check-compat",[Km]:"fire-auth",[Lm]:"fire-auth-compat",[wm]:"fire-rtdb",[Dm]:"fire-data-connect",[fm]:"fire-rtdb-compat",[gm]:"fire-fn",[Ul]:"fire-fn-compat",[Vl]:"fire-iid",[Wl]:"fire-iid-compat",[Tl]:"fire-fcm",[Zl]:"fire-fcm-compat",[ol]:"fire-perf",[il]:"fire-perf-compat",[bl]:"fire-rc",[Ol]:"fire-rc-compat",[Sl]:"fire-gcs",[zl]:"fire-gcs-compat",[ul]:"fire-fst",[ql]:"fire-fst-compat",[jl]:"fire-vertex","fire-js":"fire-js",[Rl]:"fire-js-all"};var sj=new Map,$l=new Map,F$=new Map;function rn(V,U){try{V.container.addComponent(U)}catch(W){GZ.debug(`Component ${U.name} failed to register with FirebaseApp ${V.name}`,W)}}function to(V){let U=V.name;if(F$.has(U))return GZ.debug(`There were multiple attempts to register component ${U}.`),!1;F$.set(U,V);for(let W of sj.values())rn(W,V);for(let W of $l.values())rn(W,V);return!0}function Tz(V,U){let W=V.container.getProvider("heartbeat").getImmediate({optional:!0});return W&&W.triggerHeartbeat(),V.container.getProvider(U)}function jW(V){return V==null?!1:V.settings!==void 0}var _l={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different {$mismatchedParam}. Existing: '{$oldValue}'. New: '{$newValue}'.","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
9d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."},cZ=new HZ("app","Firebase",_l);var a$=class{constructor(U,W,T){this._isDeleted=!1,this._options={...U},this._config={...W},this._name=W.name,this._automaticDataCollectionEnabled=W.automaticDataCollectionEnabled,this._container=T,this.container.addComponent(new KW("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(U){this.checkDestroyed(),this._automaticDataCollectionEnabled=U}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(U){this._isDeleted=U}checkDestroyed(){if(this.isDeleted)throw cZ.create("app-deleted",{appName:this._name})}};var Mo=Pl;function B$(V,U={}){let W=V;typeof U!="object"&&(U={name:U});let T={name:d$,automaticDataCollectionEnabled:!0,...U},Z=T.name;if(typeof Z!="string"||!Z)throw cZ.create("bad-app-name",{appName:String(Z)});if(W||(W=r$()),!W)throw cZ.create("no-options");let o=sj.get(Z);if(o)if(YT(W,o.options)){if(YT(T,o.config))return o;throw cZ.create("duplicate-app",{appName:Z,mismatchedParam:"config",oldValue:JSON.stringify(o.config),newValue:JSON.stringify(T)})}else throw cZ.create("duplicate-app",{appName:Z,mismatchedParam:"options",oldValue:JSON.stringify(o.options),newValue:JSON.stringify(W)});let i=new Vz(Z);for(let O of F$.values())i.addComponent(O);let b=new a$(W,T,i);return sj.set(Z,b),b}function WO(V=d$){let U=sj.get(V);if(!U&&V===d$&&r$())return B$();if(!U)throw cZ.create("no-app",{appName:V});return U}function QT(V,U,W){let T=Jl[V]??V;W&&(T+=`-${W}`);let Z=T.match(/\s|\//),o=U.match(/\s|\//);if(Z||o){let i=[`Unable to register library "${T}" with version "${U}":`];Z&&i.push(`library name "${T}" contains illegal characters (whitespace or "/")`),Z&&o&&i.push("and"),o&&i.push(`version name "${U}" contains illegal characters (whitespace or "/")`),GZ.warn(i.join(" "));return}to(new KW(`${T}-version`,()=>({library:T,version:U}),"VERSION"))}var el="firebase-heartbeat-database",Il=1,Wz="firebase-heartbeat-store",N$=null;function Xn(){return N$||(N$=cn(el,Il,{upgrade:(V,U)=>{switch(U){case 0:try{V.createObjectStore(Wz)}catch(W){console.warn(W)}}}}).catch(V=>{throw cZ.create("idb-open",{originalErrorMessage:V.message})})),N$}async function tl(V){try{let W=(await Xn()).transaction(Wz),T=await W.objectStore(Wz).get(hn(V));return await W.done,T}catch(U){if(U instanceof MT)GZ.warn(U.message);else{let W=cZ.create("idb-get",{originalErrorMessage:U?.message});GZ.warn(W.message)}}}async function xn(V,U){try{let T=(await Xn()).transaction(Wz,"readwrite");await T.objectStore(Wz).put(U,hn(V)),await T.done}catch(W){if(W instanceof MT)GZ.warn(W.message);else{let T=cZ.create("idb-set",{originalErrorMessage:W?.message});GZ.warn(T.message)}}}function hn(V){return`${V.name}!${V.options.appId}`}var Ml=1024,Ql=30,C$=class{constructor(U){this.container=U,this._heartbeatsCache=null;let W=this.container.getProvider("app").getImmediate();this._storage=new v$(W),this._heartbeatsCachePromise=this._storage.read().then(T=>(this._heartbeatsCache=T,T))}async triggerHeartbeat(){try{let W=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),T=En();if(this._heartbeatsCache?.heartbeats==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null)||this._heartbeatsCache.lastSentHeartbeatDate===T||this._heartbeatsCache.heartbeats.some(Z=>Z.date===T))return;if(this._heartbeatsCache.heartbeats.push({date:T,agent:W}),this._heartbeatsCache.heartbeats.length>Ql){let Z=Hl(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(Z,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(U){GZ.warn(U)}}async getHeartbeatsHeader(){try{if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null||this._heartbeatsCache.heartbeats.length===0)return"";let U=En(),{heartbeatsToSend:W,unsentEntries:T}=nl(this._heartbeatsCache.heartbeats),Z=wS(JSON.stringify({version:2,heartbeats:W}));return this._heartbeatsCache.lastSentHeartbeatDate=U,T.length>0?(this._heartbeatsCache.heartbeats=T,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),Z}catch(U){return GZ.warn(U),""}}};function En(){return new Date().toISOString().substring(0,10)}function nl(V,U=Ml){let W=[],T=V.slice();for(let Z of V){let o=W.find(i=>i.agent===Z.agent);if(o){if(o.dates.push(Z.date),kn(W)>U){o.dates.pop();break}}else if(W.push({agent:Z.agent,dates:[Z.date]}),kn(W)>U){W.pop();break}T=T.slice(1)}return{heartbeatsToSend:W,unsentEntries:T}}var v$=class{constructor(U){this.app=U,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return qn()?Rn().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){let W=await tl(this.app);return W?.heartbeats?W:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(U){if(await this._canUseIndexedDBPromise){let T=await this.read();return xn(this.app,{lastSentHeartbeatDate:U.lastSentHeartbeatDate??T.lastSentHeartbeatDate,heartbeats:U.heartbeats})}else return}async add(U){if(await this._canUseIndexedDBPromise){let T=await this.read();return xn(this.app,{lastSentHeartbeatDate:U.lastSentHeartbeatDate??T.lastSentHeartbeatDate,heartbeats:[...T.heartbeats,...U.heartbeats]})}else return}};function kn(V){return wS(JSON.stringify({version:2,heartbeats:V})).length}function Hl(V){if(V.length===0)return-1;let U=0,W=V[0].date;for(let T=1;T<V.length;T++)V[T].date<W&&(W=V[T].date,U=T);return U}function cl(V){to(new KW("platform-logger",U=>new m$(U),"PRIVATE")),to(new KW("heartbeat",U=>new C$(U),"PRIVATE")),QT(l$,Gn,V),QT(l$,Gn,"esm2020"),QT("fire-js","")}cl("");var An="@firebase/database",Nn="1.1.5";var v_="";function Gl(V){v_=V}var D$=class{constructor(U){this.domStorage_=U,this.prefix_="firebase:"}set(U,W){W==null?this.domStorage_.removeItem(this.prefixedName_(U)):this.domStorage_.setItem(this.prefixedName_(U),MV(W))}get(U){let W=this.domStorage_.getItem(this.prefixedName_(U));return W==null?null:gb(W)}remove(U){this.domStorage_.removeItem(this.prefixedName_(U))}prefixedName_(U){return this.prefix_+U}toString(){return this.domStorage_.toString()}};var f$=class{constructor(){this.cache_={},this.isInMemoryStorage=!0}set(U,W){W==null?delete this.cache_[U]:this.cache_[U]=W}get(U){return pT(this.cache_,U)?this.cache_[U]:null}remove(U){delete this.cache_[U]}};var RH=function(V){try{if(typeof window<"u"&&typeof window[V]<"u"){let U=window[V];return U.setItem("firebase:sentinel","cache"),U.removeItem("firebase:sentinel"),new D$(U)}}catch{}return new f$},Fi=RH("localStorage"),g$=RH("sessionStorage");var oO=new Io("@firebase/database"),rl=(function(){let V=1;return function(){return V++}})(),PH=function(V){let U=en(V),W=new lj;W.update(U);let T=W.digest();return dj.encodeByteArray(T)},Rz=function(...V){let U="";for(let W=0;W<V.length;W++){let T=V[W];Array.isArray(T)||T&&typeof T=="object"&&typeof T.length=="number"?U+=Rz.apply(null,T):typeof T=="object"?U+=MV(T):U+=T,
vendor: 93,821 bytes, lines 9-12
9U+=" "}return U},Ci=null,mn=!0,xl=function(V,U){l(!U||V===!0||V===!1,"Can't turn on custom loggers persistently."),V===!0?(oO.logLevel=_U.VERBOSE,Ci=oO.log.bind(oO),U&&g$.set("logging_enabled",!0)):typeof V=="function"?Ci=V:(Ci=null,g$.remove("logging_enabled"))},yV=function(...V){if(mn===!0&&(mn=!1,Ci===null&&g$.get("logging_enabled")===!0&&xl(!0)),Ci){let U=Rz.apply(null,V);Ci(U)}},Pz=function(V){return function(...U){yV(V,...U)}},U_=function(...V){let U="FIREBASE INTERNAL ERROR: "+Rz(...V);oO.error(U)},xZ=function(...V){let U=`FIREBASE FATAL ERROR: ${Rz(...V)}`;throw oO.error(U),new Error(U)},qW=function(...V){let U="FIREBASE WARNING: "+Rz(...V);oO.warn(U)},El=function(){typeof window<"u"&&window.location&&window.location.protocol&&window.location.protocol.indexOf("https:")!==-1&&qW("Insecure Firebase access from a secure page. Please use https in calls to new Firebase().")},JH=function(V){return typeof V=="number"&&(V!==V||V===Number.POSITIVE_INFINITY||V===Number.NEGATIVE_INFINITY)},kl=function(V){if(sT()||document.readyState==="complete")V();else{let U=!1,W=function(){if(!document.body){setTimeout(W,Math.floor(10));return}U||(U=!0,V())};document.addEventListener?(document.addEventListener("DOMContentLoaded",W,!1),window.addEventListener("load",W,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",()=>{document.readyState==="complete"&&W()}),window.attachEvent("onload",W))}},bO="[MIN_NAME]",vi="[MAX_NAME]",jO=function(V,U){if(V===U)return 0;if(V===bO||U===vi)return-1;if(U===bO||V===vi)return 1;{let W=ln(V),T=ln(U);return W!==null?T!==null?W-T===0?V.length-U.length:W-T:-1:T!==null?1:V<U?-1:1}},Xl=function(V,U){return V===U?0:V<U?-1:1},Zz=function(V,U){if(U&&V in U)return U[V];throw new Error("Missing required key ("+V+") in object: "+MV(U))},B_=function(V){if(typeof V!="object"||V===null)return MV(V);let U=[];for(let T in V)U.push(T);U.sort();let W="{";for(let T=0;T<U.length;T++)T!==0&&(W+=","),W+=MV(U[T]),W+=":",W+=B_(V[U[T]]);return W+="}",W},$H=function(V,U){let W=V.length;if(W<=U)return[V];let T=[];for(let Z=0;Z<W;Z+=U)Z+U>W?T.push(V.substring(Z,W)):T.push(V.substring(Z,Z+U));return T};function DW(V,U){for(let W in V)V.hasOwnProperty(W)&&U(W,V[W])}var _H=function(V){l(!JH(V),"Invalid JSON number");let U=11,W=52,T=(1<<U-1)-1,Z,o,i,b,O;V===0?(o=0,i=0,Z=1/V===-1/0?1:0):(Z=V<0,V=Math.abs(V),V>=Math.pow(2,1-T)?(b=Math.min(Math.floor(Math.log(V)/Math.LN2),T),o=b+T,i=Math.round(V*Math.pow(2,W-b)-Math.pow(2,W))):(o=0,i=Math.round(V/Math.pow(2,1-T-W))));let S=[];for(O=W;O;O-=1)S.push(i%2?1:0),i=Math.floor(i/2);for(O=U;O;O-=1)S.push(o%2?1:0),o=Math.floor(o/2);S.push(Z?1:0),S.reverse();let z=S.join(""),u="";for(O=0;O<64;O+=8){let q=parseInt(z.substr(O,8),2).toString(16);q.length===1&&(q="0"+q),u=u+q}return u.toLowerCase()},hl=function(){return!!(typeof window=="object"&&window.chrome&&window.chrome.extension&&!/^chrome/.test(window.location.href))},Al=function(){return typeof Windows=="object"&&typeof Windows.UI=="object"};var Nl=new RegExp("^-?(0*)\\d{1,10}$"),ml=-2147483648,ll=2147483647,ln=function(V){if(Nl.test(V)){let U=Number(V);if(U>=ml&&U<=ll)return U}return null},qO=function(V){try{V()}catch(U){setTimeout(()=>{let W=U.stack||"";throw qW("Exception was thrown by user callback.",W),U},Math.floor(0))}},dl=function(){return(typeof window=="object"&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0},Oz=function(V,U){let W=setTimeout(V,U);return typeof W=="number"&&typeof Deno<"u"&&Deno.unrefTimer?Deno.unrefTimer(W):typeof W=="object"&&W.unref&&W.unref(),W};var V_=class{constructor(U,W){this.appCheckProvider=W,this.appName=U.name,jW(U)&&U.settings.appCheckToken&&(this.serverAppAppCheckToken=U.settings.appCheckToken),this.appCheck=W?.getImmediate({optional:!0}),this.appCheck||W?.get().then(T=>this.appCheck=T)}getToken(U){if(this.serverAppAppCheckToken){if(U)throw new Error("Attempted reuse of `FirebaseServerApp.appCheckToken` after previous usage failed.");return Promise.resolve({token:this.serverAppAppCheckToken})}return this.appCheck?this.appCheck.getToken(U):new Promise((W,T)=>{setTimeout(()=>{this.appCheck?this.getToken(U).then(W,T):W(null)},0)})}addTokenChangeListener(U){this.appCheckProvider?.get().then(W=>W.addTokenListener(U))}notifyForInvalidToken(){qW(`Provided AppCheck credentials for the app named "${this.appName}" are invalid. This usually indicates your app was not initialized correctly.`)}};var W_=class{constructor(U,W,T){this.appName_=U,this.firebaseOptions_=W,this.authProvider_=T,this.auth_=null,this.auth_=T.getImmediate({optional:!0}),this.auth_||T.onInit(Z=>this.auth_=Z)}getToken(U){return this.auth_?this.auth_.getToken(U).catch(W=>W&&W.code==="auth/token-not-initialized"?(yV("Got auth/token-not-initialized error.  Treating as null token."),null):Promise.reject(W)):new Promise((W,T)=>{setTimeout(()=>{this.auth_?this.getToken(U).then(W,T):W(null)},0)})}addTokenChangeListener(U){this.auth_?this.auth_.addAuthTokenListener(U):this.authProvider_.get().then(W=>W.addAuthTokenListener(U))}removeTokenChangeListener(U){this.authProvider_.get().then(W=>W.removeAuthTokenListener(U))}notifyForInvalidToken(){let U='Provided authentication credentials for the app named "'+this.appName_+'" are invalid. This usually indicates your app was not initialized correctly. ';"credential"in this.firebaseOptions_?U+='Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.firebaseOptions_?U+='Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':U+='Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.',qW(U)}},Qo=class{constructor(U){this.accessToken=U}getToken(U){return Promise.resolve({accessToken:this.accessToken})}addTokenChangeListener(U){U(this.accessToken)}removeTokenChangeListener(U){}notifyForInvalidToken(){}};Qo.OWNER="owner";var Yj="5",eH="v",IH="s",tH="r",MH="f",QH=/(console\.firebase|firebase-console-\w+\.corp|firebase\.corp)\.google\.com/,nH="ls",HH="p",T_="ac",cH="websocket",GH="long_polling";var yj=class{constructor(U,W,T,Z,o=!1,i="",b=!1,O=!1,S=null){this.secure=W,this.namespace=T,this.webSocketOnly=Z,this.nodeAdmin=o,this.persistenceKey=i,this.includeNamespaceInQueryParams=b,this.isUsingEmulator=O,this.emulatorOptions=S,this._host=U.toLowerCase(),this._domain=this._host.substr(this._host.indexOf(".")+1),this.internalHost=Fi.get("host:"+U)||this._host}isCacheableHost(){return this.internalHost.substr(0,2)==="s-"}isCustomHost(){return this._domain!=="firebaseio.com"&&this._domain!=="firebaseio-demo.com"}get host(){return this._host}set host(U){U!==this.internalHost&&(this.internalHost=U,this.isCacheableHost()&&Fi.set("host:"+this._host,this.internalHost))}toString(){let U=this.toURLString();return this.persistenceKey&&(U+="<"+this.persistenceKey+">"),U}toURLString(){let U=this.secure?"https://":"http://",W=this.includeNamespaceInQueryParams?`?ns=${this.namespace}`:"";return`${U}${this.host}/${W}`}};function Fl(V){return V.host!==V.internalHost||V.isCustomHost()||V.includeNamespaceInQueryParams}function rH(V,U,W){l(typeof U=="string","typeof type must == string"),l(typeof W=="object","typeof params must == object");let T;if(U===cH)T=(V.secure?"wss://":"ws://")+V.internalHost+"/.ws?";else if(U===GH)T=(V.secure?"https://":"http://")+V.internalHost+"/.lp?";else throw new Error("Unknown connection type: "+U);Fl(V)&&(W.ns=V.namespace);let Z=[];return DW(W,(o,i)=>{Z.push(o+"="+i)}),T+Z.join("&")}var Z_=class{constructor(){this.counters_={}}incrementCounter(U,W=1){pT(this.counters_,U)||(this.counters_[U]=0),this.counters_[U]+=W}get(){return on(this.counters_)}};var s$={},p$={};function s_(V){let U=V.toString();return s$[U]||(s$[U]=new Z_),s$[U]}function al(V,U){let W=V.toString();return p$[W]||(p$[W]=U()),p$[W]}var o_=class{constructor(U){this.onMessage_=U,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}closeAfter(U,W){this.closeAfterResponse=U,this.onClose=W,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)}handleResponse(U,W){for(this.pendingResponses[U]=W;this.pendingResponses[this.currentResponseNum];){let T=this.pendingResponses[this.currentResponseNum];delete this.pendingResponses[this.currentResponseNum];for(let Z=0;Z<T.length;++Z)T[Z]&&qO(()=>{this.onMessage_(T[Z])});if(this.currentResponseNum===this.closeAfterResponse){this.onClose&&(this.onClose(),this.onClose=null);break}this.currentResponseNum++}}};var dn="start",Cl="close",vl="pLPCommand",Bl="pRTLPCB",xH="id",EH="pw",kH="ser",sl="cb",pl="seg",Yl="ts",yl="d",Kl="dframe",XH=1870,hH=30,Ll=XH-hH,wl=25e3,Dl=3e4,i_=class V{constructor(U,W,T,Z,o,i,b){this.connId=U,this.repoInfo=W,this.applicationId=T,this.appCheckToken=Z,this.authToken=o,this.transportSessionId=i,this.lastSessionId=b,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=Pz(U),this.stats_=s_(W),this.urlFn=O=>(this.appCheckToken&&(O[T_]=this.appCheckToken),rH(W,GH,O))}open(U,W){this.curSegmentNum=0,this.onDisconnect_=W,this.myPacketOrderer=new o_(U),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout(()=>{this.log_("Timed out trying to connect."),this.onClosed_(),this.connectTimeoutTimer_=null},Math.floor(Dl)),kl(()=>{if(this.isClosed_)return;this.scriptTagHolder=new b_((...o)=>{let[i,b,O,S,z]=o;if(this.incrementIncomingBytes_(o),!!this.scriptTagHolder)if(this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null),this.everConnected_=!0,i===dn)this.id=b,this.password=O;else if(i===Cl)b?(this.scriptTagHolder.sendNewPolls=!1,this.myPacketOrderer.closeAfter(b,()=>{this.onClosed_()})):this.onClosed_();else throw new Error("Unrecognized command received: "+i)},(...o)=>{let[i,b]=o;this.incrementIncomingBytes_(o),this.myPacketOrderer.handleResponse(i,b)},()=>{this.onClosed_()},this.urlFn);let T={};T[dn]="t",T[kH]=Math.floor(Math.random()*1e8),this.scriptTagHolder.uniqueCallbackIdentifier&&(T[sl]=this.scriptTagHolder.uniqueCallbackIdentifier),T[eH]=Yj,this.transportSessionId&&(T[IH]=this.transportSessionId),this.lastSessionId&&(T[nH]=this.lastSessionId),this.applicationId&&(T[HH]=this.applicationId),this.appCheckToken&&(T[T_]=this.appCheckToken),typeof location<"u"&&location.hostname&&QH.test(location.hostname)&&(T[tH]=MH);let Z=this.urlFn(T);this.log_("Connecting via long-poll to "+Z),this.scriptTagHolder.addTag(Z,()=>{})})}start(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)}static forceAllow(){V.forceAllow_=!0}static forceDisallow(){V.forceDisallow_=!0}static isAvailable(){return sT()?!1:V.forceAllow_?!0:!V.forceDisallow_&&typeof document<"u"&&document.createElement!=null&&!hl()&&!Al()}markConnectionHealthy(){}shutdown_(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)}onClosed_(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))}close(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())}send(U){let W=MV(U);this.bytesSent+=W.length,this.stats_.incrementCounter("bytes_sent",W.length);let T=H$(W),Z=$H(T,Ll);for(let o=0;o<Z.length;o++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,Z.length,Z[o]),this.curSegmentNum++}addDisconnectPingFrame(U,W){if(sT())return;this.myDisconnFrame=document.createElement("iframe");let T={};T[Kl]="t",T[xH]=U,T[EH]=W,this.myDisconnFrame.src=this.urlFn(T),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}incrementIncomingBytes_(U){let W=MV(U).length;this.bytesReceived+=W,this.stats_.incrementCounter("bytes_received",W)}},b_=class V{constructor(U,W,T,Z){if(this.onDisconnect=T,this.urlFn=Z,this.outstandingRequests=new Set,this.pendingSegs=[],this.currentSerial=Math.floor(Math.random()*1e8),this.sendNewPolls=!0,sT())this.commandCB=U,this.onMessageCB=W;else{this.uniqueCallbackIdentifier=rl(),window[vl+this.uniqueCallbackIdentifier]=U,window[Bl+this.uniqueCallbackIdentifier]=W,this.myIFrame=V.createIFrame_();let o="";this.myIFrame.src&&this.myIFrame.src.substr(0,11)==="javascript:"&&(o='<script>document.domain="'+document.domain+'";<\/script>');let i="<html><body>"+o+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(i),this.myIFrame.doc.close()}catch(b){yV("frame writing exception"),b.stack&&yV(b.stack),yV(b)}}}static createIFrame_(){let U=document.createElement("iframe");if(U.style.display="none",document.body){document.body.appendChild(U);try{U.contentWindow.document||yV("No IE domain setting required")}catch{let T=document.domain;U.src="javascript:void((function(){document.open();document.domain='"+T+"';document.close();})())"}}else throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";return U.contentDocument?U.doc=U.contentDocument:U.contentWindow?U.doc=U.contentWindow.document:U.document&&(U.doc=U.document),U}close(){this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.textContent="",setTimeout(()=>{this.myIFrame!==null&&(document.body.removeChild(this.myIFrame),this.myIFrame=null)},Math.floor(0)));let U=this.onDisconnect;U&&(this.onDisconnect=null,U())}startLongPoll(U,W){for(this.myID=U,this.myPW=W,this.alive=!0;this.newRequest_(););}newRequest_(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.size<(this.pendingSegs.length>0?2:1)){this.currentSerial++;let U={};U[xH]=this.myID,U[EH]=this.myPW,U[kH]=this.currentSerial;let W=this.urlFn(U),T="",Z=0;for(;this.pendingSegs.length>0&&this.pendingSegs[0].d.length+hH+T.length<=XH;){let i=this.pendingSegs.shift();T=T+"&"+pl+Z+"="+i.seg+"&"+Yl+Z+"="+i.ts+"&"+yl+Z+"="+i.d,Z++}return W=W+T,this.addLongPollTag_(W,this.currentSerial),!0}else return!1}enqueueSegment(U,W,T){this.pendingSegs.push({seg:U,ts:W,d:T}),this.alive&&this.newRequest_()}addLongPollTag_(U,W){this.outstandingRequests.add(W);let T=()=>{this.outstandingRequests.delete(W),this.newRequest_()},Z=setTimeout(T,Math.floor(wl)),o=()=>{clearTimeout(Z),T()};this.addTag(U,o)}addTag(U,W){sT()?this.doNodeLongPoll(U,W):setTimeout(()=>{try{if(!this.sendNewPolls)return;let T=this.myIFrame.doc.createElement("script");T.type="text/javascript",T.async=!0,T.src=U,T.onload=T.onreadystatechange=function(){let Z=T.readyState;(!Z||Z==="loaded"||Z==="complete")&&(T.onload=T.onreadystatechange=null,T.parentNode&&T.parentNode.removeChild(T),W())},T.onerror=()=>{yV("Long-poll script failed to load: "+U),this.sendNewPolls=!1,this.close()},this.myIFrame.doc.body.appendChild(T)}catch{}},Math.floor(1))}};var fl=16384,gl=45e3,Kj=null;typeof MozWebSocket<"u"?Kj=MozWebSocket:typeof WebSocket<"u"&&(Kj=WebSocket);var rZ=class V{constructor(U,W,T,Z,o,i,b){this.connId=U,this.applicationId=T,this.appCheckToken=Z,this.authToken=o,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=Pz(this.connId),this.stats_=s_(W),this.connURL=V.connectionURL_(W,i,b,Z,T),this.nodeAdmin=W.nodeAdmin}static connectionURL_(U,W,T,Z,o){let i={};return i[eH]=Yj,!sT()&&typeof location<"u"&&location.hostname&&QH.test(location.hostname)&&(i[tH]=MH),W&&(i[IH]=W),T&&(i[nH]=T),Z&&(i[T_]=Z),o&&(i[HH]=o),rH(U,cH,i)}open(U,W){this.onDisconnect=W,this.onMessage=U,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,Fi.set("previous_websocket_failure",!0);try{let T;if(sT()){let Z=this.nodeAdmin?"AdminNode":"Node";T={headers:{"User-Agent":`Firebase/${Yj}/${v_}/${process.platform}/${Z}`,"X-Firebase-GMPID":this.applicationId||""}},this.authToken&&(T.headers.Authorization=`Bearer ${this.authToken}`),this.appCheckToken&&(T.headers["X-Firebase-AppCheck"]=this.appCheckToken);let o=process.env,i=this.connURL.indexOf("wss://")===0?o.HTTPS_PROXY||o.https_proxy:o.HTTP_PROXY||o.http_proxy;i&&(T.proxy={origin:i})}this.mySock=new Kj(this.connURL,[],T)}catch(T){this.log_("Error instantiating WebSocket.");let Z=T.message||T.data;Z&&this.log_(Z),this.onClosed_();return}this.mySock.onopen=()=>{this.log_("Websocket connected."),this.everConnected_=!0},this.mySock.onclose=()=>{this.log_("Websocket connection was disconnected."),this.mySock=null,this.onClosed_()},this.mySock.onmessage=T=>{this.handleIncomingFrame(T)},this.mySock.onerror=T=>{this.log_("WebSocket error.  Closing connection.");let Z=T.message||T.data;Z&&this.log_(Z),this.onClosed_()}}start(){}static forceDisallow(){V.forceDisallow_=!0}static isAvailable(){let U=!1;if(typeof navigator<"u"&&navigator.userAgent){let W=/Android ([0-9]{0,}\.[0-9]{0,})/,T=navigator.userAgent.match(W);T&&T.length>1&&parseFloat(T[1])<4.4&&(U=!0)}return!U&&Kj!==null&&!V.forceDisallow_}static previouslyFailed(){return Fi.isInMemoryStorage||Fi.get("previous_websocket_failure")===!0}markConnectionHealthy(){Fi.remove("previous_websocket_failure")}appendFrame_(U){if(this.frames.push(U),this.frames.length===this.totalFrames){let W=this.frames.join("");this.frames=null;let T=gb(W);this.onMessage(T)}}handleNewFrameCount_(U){this.totalFrames=U,this.frames=[]}extractFrameCount_(U){if(l(this.frames===null,"We already have a frame buffer"),U.length<=6){let W=Number(U);if(!isNaN(W))return this.handleNewFrameCount_(W),null}return this.handleNewFrameCount_(1),U}handleIncomingFrame(U){if(this.mySock===null)return;let W=U.data;if(this.bytesReceived+=W.length,this.stats_.incrementCounter("bytes_received",W.length),this.resetKeepAlive(),this.frames!==null)this.appendFrame_(W);else{let T=this.extractFrameCount_(W);T!==null&&this.appendFrame_(T)}}send(U){this.resetKeepAlive();let W=MV(U);this.bytesSent+=W.length,this.stats_.incrementCounter("bytes_sent",W.length);let T=$H(W,fl);T.length>1&&this.sendString_(String(T.length));for(let Z=0;Z<T.length;Z++)this.sendString_(T[Z])}shutdown_(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)}onClosed_(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))}close(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())}resetKeepAlive(){clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval(()=>{this.mySock&&this.sendString_("0"),this.resetKeepAlive()},Math.floor(gl))}sendString_(U){try{this.mySock.send(U)}catch(W){this.log_("Exception thrown from WebSocket.send():",W.message||W.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}}};rZ.responsesRequiredToBeHealthy=2;rZ.healthyTimeout=3e4;var Lj=class V{static get ALL_TRANSPORTS(){return[i_,rZ]}static get IS_TRANSPORT_INITIALIZED(){return this.globalTransportInitialized_}constructor(U){this.initTransports_(U)}initTransports_(U){let W=rZ&&rZ.isAvailable(),T=W&&!rZ.previouslyFailed();if(U.webSocketOnly&&(W||qW("wss:// URL used, but browser isn't known to support websockets.  Trying anyway."),T=!0),T)this.transports_=[rZ];else{let Z=this.transports_=[];for(let o of V.ALL_TRANSPORTS)o&&o.isAvailable()&&Z.push(o);V.globalTransportInitialized_=!0}}initialTransport(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")}upgradeTransport(){return this.transports_.length>1?this.transports_[1]:null}};Lj.globalTransportInitialized_=!1;var U8=6e4,V8=5e3,W8=10*1024,T8=100*1024,Y$="t",Fn="d",Z8="s",an="r",o8="e",Cn="o",vn="a",Bn="n",sn="p",i8="h",O_=class{constructor(U,W,T,Z,o,i,b,O,S,z){this.id=U,this.repoInfo_=W,this.applicationId_=T,this.appCheckToken_=Z,this.authToken_=o,this.onMessage_=i,this.onReady_=b,this.onDisconnect_=O,this.onKill_=S,this.lastSessionId=z,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=Pz("c:"+this.id+":"),this.transportManager_=new Lj(W),this.log_("Connection created"),this.start_()}start_(){let U=this.transportManager_.initialTransport();this.conn_=new U(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,null,this.lastSessionId),this.primaryResponsesRequired_=U.responsesRequiredToBeHealthy||0;let W=this.connReceiver_(this.conn_),T=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout(()=>{this.conn_&&this.conn_.open(W,T)},Math.floor(0));let Z=U.healthyTimeout||0;Z>0&&(this.healthyTimeout_=Oz(()=>{this.healthyTimeout_=null,this.isHealthy_||(this.conn_&&this.conn_.bytesReceived>T8?(this.log_("Connection exceeded healthy timeout but has received "+this.conn_.bytesReceived+" bytes.  Marking connection healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()):this.conn_&&this.conn_.bytesSent>W8?this.log_("Connection exceeded healthy timeout but has sent "+this.conn_.bytesSent+" bytes.  Leaving connection alive."):(this.log_("Closing unhealthy connection after timeout."),this.close()))},Math.floor(Z)))}nextTransportId_(){return"c:"+this.id+":"+this.connectionCount++}disconnReceiver_(U){return W=>{U===this.conn_?this.onConnectionLost_(W):U===this.secondaryConn_?(this.log_("Secondary connection lost."),this.onSecondaryConnectionLost_()):this.log_("closing an old connection")}}connReceiver_(U){return W=>{this.state_!==2&&(U===this.rx_?this.onPrimaryMessageReceived_(W):U===this.secondaryConn_?this.onSecondaryMessageReceived_(W):this.log_("message on old connection"))}}sendRequest(U){let W={t:"d",d:U};this.sendData_(W)}tryCleanupConnection(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)}onSecondaryControl_(U){if(Y$ in U){let W=U[Y$];W===vn?this.upgradeIfSecondaryHealthy_():W===an?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),(this.tx_===this.secondaryConn_||this.rx_===this.secondaryConn_)&&this.close()):W===Cn&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}}onSecondaryMessageReceived_(U){let W=Zz("t",U),T=Zz("d",U);if(W==="c")this.onSecondaryControl_(T);else if(W==="d")this.pendingDataMessages.push(T);else throw new Error("Unknown protocol layer: "+W)}upgradeIfSecondaryHealthy_(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:sn,d:{}}}))}proceedWithUpgrade_(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:vn,d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:Bn,d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()}onPrimaryMessageReceived_(U){let W=Zz("t",U),T=Zz("d",U);W==="c"?this.onControl_(T):W==="d"&&this.onDataMessage_(T)}onDataMessage_(U){this.onPrimaryResponse_(),this.onMessage_(U)}onPrimaryResponse_(){this.isHealthy_||(this.primaryResponsesRequired_--,this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()))}onControl_(U){let W=Zz(Y$,U);if(Fn in U){let T=U[Fn];if(W===i8){let Z={...T};this.repoInfo_.isUsingEmulator&&(Z.h=this.repoInfo_.host),this.onHandshake_(Z)}else if(W===Bn){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(let Z=0;Z<this.pendingDataMessages.length;++Z)this.onDataMessage_(this.pendingDataMessages[Z]);this.pendingDataMessages=[],this.tryCleanupConnection()}else W===Z8?this.onConnectionShutdown_(T):W===an?this.onReset_(T):W===o8?U_("Server Error: "+T):W===Cn?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):U_("Unknown control packet command: "+W)}}onHandshake_(U){let W=U.ts,T=U.v,Z=U.h;this.sessionId=U.s,this.repoInfo_.host=Z,this.state_===0&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,W),Yj!==T&&qW("Protocol version mismatch detected"),this.tryStartUpgrade_())}tryStartUpgrade_(){let U=this.transportManager_.upgradeTransport();U&&this.startUpgrade_(U)}startUpgrade_(U){this.secondaryConn_=new U(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,this.sessionId),this.secondaryResponsesRequired_=U.responsesRequiredToBeHealthy||0;let W=this.connReceiver_(this.secondaryConn_),T=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(W,T),Oz(()=>{this.secondaryConn_&&(this.log_("Timed out trying to upgrade."),this.secondaryConn_.close())},Math.floor(U8))}onReset_(U){this.log_("Reset packet received.  New host: "+U),this.repoInfo_.host=U,this.state_===1?this.close():(this.closeConnections_(),this.start_())}onConnectionEstablished_(U,W){this.log_("Realtime connection established."),this.conn_=U,this.state_=1,this.onReady_&&(this.onReady_(W,this.sessionId),this.onReady_=null),this.primaryResponsesRequired_===0?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):Oz(()=>{this.sendPingOnPrimaryIfNecessary_()},Math.floor(V8))}sendPingOnPrimaryIfNecessary_(){!this.isHealthy_&&this.state_===1&&(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:sn,d:{}}}))}onSecondaryConnectionLost_(){let U=this.secondaryConn_;this.secondaryConn_=null,(this.tx_===U||this.rx_===U)&&this.close()}onConnectionLost_(U){this.conn_=null,!U&&this.state_===0?(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(Fi.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)):this.state_===1&&this.log_("Realtime connection lost."),this.close()}onConnectionShutdown_(U){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(U),this.onKill_=null),this.onDisconnect_=null,this.close()}sendData_(U){if(this.state_!==1)throw"Connection is not connected";this.tx_.send(U)}close(){this.state_!==2&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))}closeConnections_(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)}};var wj=class{put(U,W,T,Z){}merge(U,W,T,Z){}refreshAuthToken(U){}refreshAppCheckToken(U){}onDisconnectPut(U,W,T){}onDisconnectMerge(U,W,T){}onDisconnectCancel(U,W){}reportStats(U){}};var Dj=class{constructor(U){this.allowedEvents_=U,this.listeners_={},l(Array.isArray(U)&&U.length>0,"Requires a non-empty array")}trigger(U,...W){if(Array.isArray(this.listeners_[U])){let T=[...this.listeners_[U]];for(let Z=0;Z<T.length;Z++)T[Z].callback.apply(T[Z].context,W)}}on(U,W,T){this.validateEventType_(U),this.listeners_[U]=this.listeners_[U]||[],this.listeners_[U].push({callback:W,context:T});let Z=this.getInitialEvent(U);Z&&W.apply(T,Z)}off(U,W,T){this.validateEventType_(U);let Z=this.listeners_[U]||[];for(let o=0;o<Z.length;o++)if(Z[o].callback===W&&(!T||T===Z[o].context)){Z.splice(o,1);return}}validateEventType_(U){l(this.allowedEvents_.find(W=>W===U),"Unknown event: "+U)}};var fj=class V extends Dj{static getInstance(){return new V}constructor(){super(["online"]),this.online_=!0,typeof window<"u"&&typeof window.addEventListener<"u"&&!DS()&&(window.addEventListener("online",()=>{this.online_||(this.online_=!0,this.trigger("online",!0))},!1),window.addEventListener("offline",()=>{this.online_&&(this.online_=!1,this.trigger("online",!1))},!1))}getInitialEvent(U){return l(U==="online","Unknown event type: "+U),[this.online_]}currentlyOnline(){return this.online_}};var pn=32,Yn=768,GU=class{constructor(U,W){if(W===void 0){this.pieces_=U.split("/");let T=0;for(let Z=0;Z<this.pieces_.length;Z++)this.pieces_[Z].length>0&&(this.pieces_[T]=this.pieces_[Z],T++);this.pieces_.length=T,this.pieceNum_=0}else this.pieces_=U,this.pieceNum_=W}toString(){let U="";for(let W=this.pieceNum_;W<this.pieces_.length;W++)this.pieces_[W]!==""&&(U+="/"+this.pieces_[W]);return U||"/"}};function QU(){return new GU("")}function iU(V){return V.pieceNum_>=V.pieces_.length?null:V.pieces_[V.pieceNum_]}function Ho(V){return V.pieces_.length-V.pieceNum_}function NU(V){let U=V.pieceNum_;return U<V.pieces_.length&&U++,new GU(V.pieces_,U)}function AH(V){return V.pieceNum_<V.pieces_.length?V.pieces_[V.pieces_.length-1]:null}function b8(V){let U="";for(let W=V.pieceNum_;W<V.pieces_.length;W++)V.pieces_[W]!==""&&(U+="/"+encodeURIComponent(String(V.pieces_[W])));return U||"/"}function NH(V,U=0){return V.pieces_.slice(V.pieceNum_+U)}function mH(V){if(V.pieceNum_>=V.pieces_.length)return null;let U=[];for(let W=V.pieceNum_;W<V.pieces_.length-1;W++)U.push(V.pieces_[W]);return new GU(U,0)}function RV(V,U){let W=[];for(let T=V.pieceNum_;T<V.pieces_.length;T++)W.push(V.pieces_[T]);if(U instanceof GU)for(let T=U.pieceNum_;T<U.pieces_.length;T++)W.push(U.pieces_[T]);else{let T=U.split("/");for(let Z=0;Z<T.length;Z++)T[Z].length>0&&W.push(T[Z])}return new GU(W,0)}function OU(V){return V.pieceNum_>=V.pieces_.length}function LW(V,U){let W=iU(V),T=iU(U);if(W===null)return U;if(W===T)return LW(NU(V),NU(U));throw new Error("INTERNAL ERROR: innerPath ("+U+") is not within outerPath ("+V+")")}function lH(V,U){if(Ho(V)!==Ho(U))return!1;for(let W=V.pieceNum_,T=U.pieceNum_;W<=V.pieces_.length;W++,T++)if(V.pieces_[W]!==U.pieces_[T])return!1;return!0}function nT(V,U){let W=V.pieceNum_,T=U.pieceNum_;if(Ho(V)>Ho(U))return!1;for(;W<V.pieces_.length;){if(V.pieces_[W]!==U.pieces_[T])return!1;++W,++T}return!0}var S_=class{constructor(U,W){this.errorPrefix_=W,this.parts_=NH(U,0),this.byteLength_=Math.max(1,this.parts_.length);for(let T=0;T<this.parts_.length;T++)this.byteLength_+=Uz(this.parts_[T]);dH(this)}};function O8(V,U){V.parts_.length>0&&(V.byteLength_+=1),V.parts_.push(U),V.byteLength_+=Uz(U),dH(V)}function S8(V){let U=V.parts_.pop();V.byteLength_-=Uz(U),V.parts_.length>0&&(V.byteLength_-=1)}function dH(V){if(V.byteLength_>Yn)throw new Error(V.errorPrefix_+"has a key path longer than "+Yn+" bytes ("+V.byteLength_+").");if(V.parts_.length>pn)throw new Error(V.errorPrefix_+"path specified exceeds the maximum depth that can be written ("+pn+") or object contains a cycle "+di(V))}function di(V){return V.parts_.length===0?"":"in property '"+V.parts_.join(".")+"'"}var z_=class V extends Dj{static getInstance(){return new V}constructor(){super(["visible"]);let U,W;typeof document<"u"&&typeof document.addEventListener<"u"&&(typeof document.hidden<"u"?(W="visibilitychange",U="hidden"):typeof document.mozHidden<"u"?(W="mozvisibilitychange",U="mozHidden"):typeof document.msHidden<"u"?(W="msvisibilitychange",U="msHidden"):typeof document.webkitHidden<"u"&&(W="webkitvisibilitychange",U="webkitHidden")),this.visible_=!0,W&&document.addEventListener(W,()=>{let T=!document[U];T!==this.visible_&&(this.visible_=T,this.trigger("visible",T))},!1)}getInitialEvent(U){return l(U==="visible","Unknown event type: "+U),[this.visible_]}};var oz=1e3,z8=300*1e3,yn=30*1e3,u8=1.3,j8=3e4,q8="server_kill",Kn=3,Bi=class V extends wj{constructor(U,W,T,Z,o,i,b,O){if(super(),this.repoInfo_=U,this.applicationId_=W,this.onDataUpdate_=T,this.onConnectStatus_=Z,this.onServerInfoUpdate_=o,this.authTokenProvider_=i,this.appCheckTokenProvider_=b,this.authOverride_=O,this.id=V.nextPersistentConnectionId_++,this.log_=Pz("p:"+this.id+":"),this.interruptReasons_={},this.listens=new Map,this.outstandingPuts_=[],this.outstandingGets_=[],this.outstandingPutCount_=0,this.outstandingGetCount_=0,this.onDisconnectRequestQueue_=[],this.connected_=!1,this.reconnectDelay_=oz,this.maxReconnectDelay_=z8,this.securityDebugCallback_=null,this.lastSessionId=null,this.establishConnectionTimer_=null,this.visible_=!1,this.requestCBHash_={},this.requestNumber_=0,this.realtime_=null,this.authToken_=null,this.appCheckToken_=null,this.forceTokenRefresh_=!1,this.invalidAuthTokenCount_=0,this.invalidAppCheckTokenCount_=0,this.firstConnection_=!0,this.lastConnectionAttemptTime_=null,this.lastConnectionEstablishedTime_=null,O&&!sT())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");z_.getInstance().on("visible",this.onVisible_,this),U.host.indexOf("fblocal")===-1&&fj.getInstance().on("online",this.onOnline_,this)}sendRequest(U,W,T){let Z=++this.requestNumber_,o={r:Z,a:U,b:W};this.log_(MV(o)),l(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(o),T&&(this.requestCBHash_[Z]=T)}get(U){this.initConnection_();let W=new BT,Z={action:"g",request:{p:U._path.toString(),q:U._queryObject},onComplete:i=>{let b=i.d;i.s==="ok"?W.resolve(b):W.reject(b)}};this.outstandingGets_.push(Z),this.outstandingGetCount_++;let o=this.outstandingGets_.length-1;return this.connected_&&this.sendGet_(o),W.promise}listen(U,W,T,Z){this.initConnection_();let o=U._queryIdentifier,i=U._path.toString();this.log_("Listen called for "+i+" "+o),this.listens.has(i)||this.listens.set(i,new Map),l(U._queryParams.isDefault()||!U._queryParams.loadsAllData(),"listen() called for non-default but complete query"),l(!this.listens.get(i).has(o),"listen() called twice for same path/queryId.");let b={onComplete:Z,hashFn:W,query:U,tag:T};this.listens.get(i).set(o,b),this.connected_&&this.sendListen_(b)}sendGet_(U){let W=this.outstandingGets_[U];this.sendRequest("g",W.request,T=>{delete this.outstandingGets_[U],this.outstandingGetCount_--,this.outstandingGetCount_===0&&(this.outstandingGets_=[]),W.onComplete&&W.onComplete(T)})}sendListen_(U){let W=U.query,T=W._path.toString(),Z=W._queryIdentifier;this.log_("Listen on "+T+" for "+Z);let o={p:T},i="q";U.tag&&(o.q=W._queryObject,o.t=U.tag),o.h=U.hashFn(),this.sendRequest(i,o,b=>{let O=b.d,S=b.s;V.warnOnListenWarnings_(O,W),(this.listens.get(T)&&this.listens.get(T).get(Z))===U&&(this.log_("listen response",b),S!=="ok"&&this.removeListen_(T,Z),U.onComplete&&U.onComplete(S,O))})}static warnOnListenWarnings_(U,W){if(U&&typeof U=="object"&&pT(U,"w")){let T=Ni(U,"w");if(Array.isArray(T)&&~T.indexOf("no_index")){let Z='".indexOn": "'+W._queryParams.getIndex().toString()+'"',o=W._path.toString();qW(`Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding ${Z} at ${o} to your security rules for better performance.`)}}}refreshAuthToken(U){this.authToken_=U,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},()=>{}),this.reduceReconnectDelayIfAdminCredential_(U)}reduceReconnectDelayIfAdminCredential_(U){(U&&U.length===40||$n(U))&&(this.log_("Admin auth credential detected.  Reducing max reconnect time."),this.maxReconnectDelay_=yn)}refreshAppCheckToken(U){this.appCheckToken_=U,this.log_("App check token refreshed"),this.appCheckToken_?this.tryAppCheck():this.connected_&&this.sendRequest("unappeck",{},()=>{})}tryAuth(){if(this.connected_&&this.authToken_){let U=this.authToken_,W=Jn(U)?"auth":"gauth",T={cred:U};this.authOverride_===null?T.noauth=!0:typeof this.authOverride_=="object"&&(T.authvar=this.authOverride_),this.sendRequest(W,T,Z=>{let o=Z.s,i=Z.d||"error";this.authToken_===U&&(o==="ok"?this.invalidAuthTokenCount_=0:this.onAuthRevoked_(o,i))})}}tryAppCheck(){this.connected_&&this.appCheckToken_&&this.sendRequest("appcheck",{token:this.appCheckToken_},U=>{let W=U.s,T=U.d||"error";W==="ok"?this.invalidAppCheckTokenCount_=0:this.onAppCheckRevoked_(W,T)})}unlisten(U,W){let T=U._path.toString(),Z=U._queryIdentifier;this.log_("Unlisten called for "+T+" "+Z),l(U._queryParams.isDefault()||!U._queryParams.loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(T,Z)&&this.connected_&&this.sendUnlisten_(T,Z,U._queryObject,W)}sendUnlisten_(U,W,T,Z){this.log_("Unlisten on "+U+" for "+W);let o={p:U},i="n";Z&&(o.q=T,o.t=Z),this.sendRequest(i,o)}onDisconnectPut(U,W,T){this.initConnection_(),this.connected_?this.sendOnDisconnect_("o",U,W,T):this.onDisconnectRequestQueue_.push({pathString:U,action:"o",data:W,onComplete:T})}onDisconnectMerge(U,W,T){this.initConnection_(),this.connected_?this.sendOnDisconnect_("om",U,W,T):this.onDisconnectRequestQueue_.push({pathString:U,action:"om",data:W,onComplete:T})}onDisconnectCancel(U,W){this.initConnection_(),this.connected_?this.sendOnDisconnect_("oc",U,null,W):this.onDisconnectRequestQueue_.push({pathString:U,action:"oc",data:null,onComplete:W})}sendOnDisconnect_(U,W,T,Z){let o={p:W,d:T};this.log_("onDisconnect "+U,o),this.sendRequest(U,o,i=>{Z&&setTimeout(()=>{Z(i.s,i.d)},Math.floor(0))})}put(U,W,T,Z){this.putInternal("p",U,W,T,Z)}merge(U,W,T,Z){this.putInternal("m",U,W,T,Z)}putInternal(U,W,T,Z,o){this.initConnection_();let i={p:W,d:T};o!==void 0&&(i.h=o),this.outstandingPuts_.push({action:U,request:i,onComplete:Z}),this.outstandingPutCount_++;let b=this.outstandingPuts_.length-1;this.connected_?this.sendPut_(b):this.log_("Buffering put: "+W)}sendPut_(U){let W=this.outstandingPuts_[U].action,T=this.outstandingPuts_[U].request,Z=this.outstandingPuts_[U].onComplete;this.outstandingPuts_[U].queued=this.connected_,this.sendRequest(W,T,o=>{this.log_(W+" response",o),delete this.outstandingPuts_[U],this.outstandingPutCount_--,this.outstandingPutCount_===0&&(this.outstandingPuts_=[]),Z&&Z(o.s,o.d)})}reportStats(U){if(this.connected_){let W={c:U};this.log_("reportStats",W),this.sendRequest("s",W,T=>{if(T.s!=="ok"){let o=T.d;this.log_("reportStats","Error sending stats: "+o)}})}}onDataMessage_(U){if("r"in U){this.log_("from server: "+MV(U));let W=U.r,T=this.requestCBHash_[W];T&&(delete this.requestCBHash_[W],T(U.b))}else{if("error"in U)throw"A server-side error has occurred: "+U.error;"a"in U&&this.onDataPush_(U.a,U.b)}}onDataPush_(U,W){this.log_("handleServerMessage",U,W),U==="d"?this.onDataUpdate_(W.p,W.d,!1,W.t):U==="m"?this.onDataUpdate_(W.p,W.d,!0,W.t):U==="c"?this.onListenRevoked_(W.p,W.q):U==="ac"?this.onAuthRevoked_(W.s,W.d):U==="apc"?this.onAppCheckRevoked_(W.s,W.d):U==="sd"?this.onSecurityDebugPacket_(W):U_("Unrecognized action received from server: "+MV(U)+`
10Are you using the latest client?`)}onReady_(U,W){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=new Date().getTime(),this.handleTimestamp_(U),this.lastSessionId=W,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)}scheduleConnect_(U){l(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout(()=>{this.establishConnectionTimer_=null,this.establishConnection_()},Math.floor(U))}initConnection_(){!this.realtime_&&this.firstConnection_&&this.scheduleConnect_(0)}onVisible_(U){U&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible.  Reducing delay."),this.reconnectDelay_=oz,this.realtime_||this.scheduleConnect_(0)),this.visible_=U}onOnline_(U){U?(this.log_("Browser went online."),this.reconnectDelay_=oz,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline.  Killing connection."),this.realtime_&&this.realtime_.close())}onRealtimeDisconnect_(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){this.visible_?this.lastConnectionEstablishedTime_&&(new Date().getTime()-this.lastConnectionEstablishedTime_>j8&&(this.reconnectDelay_=oz),this.lastConnectionEstablishedTime_=null):(this.log_("Window isn't visible.  Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=new Date().getTime());let U=Math.max(0,new Date().getTime()-this.lastConnectionAttemptTime_),W=Math.max(0,this.reconnectDelay_-U);W=Math.random()*W,this.log_("Trying to reconnect in "+W+"ms"),this.scheduleConnect_(W),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,this.reconnectDelay_*u8)}this.onConnectStatus_(!1)}async establishConnection_(){if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=new Date().getTime(),this.lastConnectionEstablishedTime_=null;let U=this.onDataMessage_.bind(this),W=this.onReady_.bind(this),T=this.onRealtimeDisconnect_.bind(this),Z=this.id+":"+V.nextConnectionId_++,o=this.lastSessionId,i=!1,b=null,O=function(){b?b.close():(i=!0,T())},S=function(u){l(b,"sendRequest call when we're not connected not allowed."),b.sendRequest(u)};this.realtime_={close:O,sendRequest:S};let z=this.forceTokenRefresh_;this.forceTokenRefresh_=!1;try{let[u,q]=await Promise.all([this.authTokenProvider_.getToken(z),this.appCheckTokenProvider_.getToken(z)]);i?yV("getToken() completed but was canceled"):(yV("getToken() completed. Creating connection."),this.authToken_=u&&u.accessToken,this.appCheckToken_=q&&q.token,b=new O_(Z,this.repoInfo_,this.applicationId_,this.appCheckToken_,this.authToken_,U,W,T,R=>{qW(R+" ("+this.repoInfo_.toString()+")"),this.interrupt(q8)},o))}catch(u){this.log_("Failed to get token: "+u),i||(this.repoInfo_.nodeAdmin&&qW(u),O())}}}interrupt(U){yV("Interrupting connection for reason: "+U),this.interruptReasons_[U]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())}resume(U){yV("Resuming connection for reason: "+U),delete this.interruptReasons_[U],fS(this.interruptReasons_)&&(this.reconnectDelay_=oz,this.realtime_||this.scheduleConnect_(0))}handleTimestamp_(U){let W=U-new Date().getTime();this.onServerInfoUpdate_({serverTimeOffset:W})}cancelSentTransactions_(){for(let U=0;U<this.outstandingPuts_.length;U++){let W=this.outstandingPuts_[U];W&&"h"in W.request&&W.queued&&(W.onComplete&&W.onComplete("disconnect"),delete this.outstandingPuts_[U],this.outstandingPutCount_--)}this.outstandingPutCount_===0&&(this.outstandingPuts_=[])}onListenRevoked_(U,W){let T;W?T=W.map(o=>B_(o)).join("$"):T="default";let Z=this.removeListen_(U,T);Z&&Z.onComplete&&Z.onComplete("permission_denied")}removeListen_(U,W){let T=new GU(U).toString(),Z;if(this.listens.has(T)){let o=this.listens.get(T);Z=o.get(W),o.delete(W),o.size===0&&this.listens.delete(T)}else Z=void 0;return Z}onAuthRevoked_(U,W){yV("Auth token revoked: "+U+"/"+W),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),(U==="invalid_token"||U==="permission_denied")&&(this.invalidAuthTokenCount_++,this.invalidAuthTokenCount_>=Kn&&(this.reconnectDelay_=yn,this.authTokenProvider_.notifyForInvalidToken()))}onAppCheckRevoked_(U,W){yV("App check token revoked: "+U+"/"+W),this.appCheckToken_=null,this.forceTokenRefresh_=!0,(U==="invalid_token"||U==="permission_denied")&&(this.invalidAppCheckTokenCount_++,this.invalidAppCheckTokenCount_>=Kn&&this.appCheckTokenProvider_.notifyForInvalidToken())}onSecurityDebugPacket_(U){this.securityDebugCallback_?this.securityDebugCallback_(U):"msg"in U&&console.log("FIREBASE: "+U.msg.replace(`
11`,`
12FIREBASE: `))}restoreState_(){this.tryAuth(),this.tryAppCheck();for(let U of this.listens.values())for(let W of U.values())this.sendListen_(W);for(let U=0;U<this.outstandingPuts_.length;U++)this.outstandingPuts_[U]&&this.sendPut_(U);for(;this.onDisconnectRequestQueue_.length;){let U=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(U.action,U.pathString,U.data,U.onComplete)}for(let U=0;U<this.outstandingGets_.length;U++)this.outstandingGets_[U]&&this.sendGet_(U)}sendConnectStats_(){let U={},W="js";sT()&&(this.repoInfo_.nodeAdmin?W="admin_node":W="node"),U["sdk."+W+"."+v_.replace(/\./g,"-")]=1,DS()?U["framework.cordova"]=1:Fj()&&(U["framework.reactnative"]=1),this.reportStats(U)}shouldReconnect_(){let U=fj.getInstance().currentlyOnline();return fS(this.interruptReasons_)&&U}};Bi.nextPersistentConnectionId_=0;Bi.nextConnectionId_=0;var uU=class V{constructor(U,W){this.name=U,this.node=W}static Wrap(U,W){return new V(U,W)}};var OO=class{getCompare(){return this.compare.bind(this)}indexedValueChanged(U,W){let T=new uU(bO,U),Z=new uU(bO,W);return this.compare(T,Z)!==0}minPost(){return uU.MIN}};var pj,gj=class extends OO{static get __EMPTY_NODE(){return pj}static set __EMPTY_NODE(U){pj=U}compare(U,W){return jO(U.name,W.name)}isDefinedOn(U){throw Ai("KeyIndex.isDefinedOn not expected to be called.")}indexedValueChanged(U,W){return!1}minPost(){return uU.MIN}maxPost(){return new uU(vi,pj)}makePost(U,W){return l(typeof U=="string","KeyIndex indexValue must always be a string."),new uU(U,pj)}toString(){return".key"}},iO=new gj;var ZO=class{constructor(U,W,T,Z,o=null){this.isReverse_=Z,this.resultGenerator_=o,this.nodeStack_=[];let i=1;for(;!U.isEmpty();)if(U=U,i=W?T(U.key,W):1,Z&&(i*=-1),i<0)this.isReverse_?U=U.left:U=U.right;else if(i===0){this.nodeStack_.push(U);break}else this.nodeStack_.push(U),this.isReverse_?U=U.right:U=U.left}getNext(){if(this.nodeStack_.length===0)return null;let U=this.nodeStack_.pop(),W;if(this.resultGenerator_?W=this.resultGenerator_(U.key,U.value):W={key:U.key,value:U.value},this.isReverse_)for(U=U.left;!U.isEmpty();)this.nodeStack_.push(U),U=U.right;else for(U=U.right;!U.isEmpty();)this.nodeStack_.push(U),U=U.left;return W}hasNext(){return this.nodeStack_.length>0}peek(){if(this.nodeStack_.length===0)return null;let U=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(U.key,U.value):{key:U.key,value:U.value}}},TW=class V{constructor(U,W,T,Z,o){this.key=U,this.value=W,this.color=T??V.RED,this.left=Z??wW.EMPTY_NODE,this.right=o??wW.EMPTY_NODE}copy(U,W,T,Z,o){return new V(U??this.key,W??this.value,T??this.color,Z??this.left,o??this.right)}count(){return this.left.count()+1+this.right.count()}isEmpty(){return!1}inorderTraversal(U){return this.left.inorderTraversal(U)||!!U(this.key,this.value)||this.right.inorderTraversal(U)}reverseTraversal(U){return this.right.reverseTraversal(U)||U(this.key,this.value)||this.left.reverseTraversal(U)}min_(){return this.left.isEmpty()?this:this.left.min_()}minKey(){return this.min_().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(U,W,T){let Z=this,o=T(U,Z.key);return o<0?Z=Z.copy(null,null,null,Z.left.insert(U,W,T),null):o===0?Z=Z.copy(null,W,null,null,null):Z=Z.copy(null,null,null,null,Z.right.insert(U,W,T)),Z.fixUp_()}removeMin_(){if(this.left.isEmpty())return wW.EMPTY_NODE;let U=this;return!U.left.isRed_()&&!U.left.left.isRed_()&&(U=U.moveRedLeft_()),U=U.copy(null,null,null,U.left.removeMin_(),null),U.fixUp_()}remove(U,W){let T,Z;if(T=this,W(U,T.key)<0)!T.left.isEmpty()&&!T.left.isRed_()&&!T.left.left.isRed_()&&(T=T.moveRedLeft_()),T=T.copy(null,null,null,T.left.remove(U,W),null);else{if(T.left.isRed_()&&(T=T.rotateRight_()),!T.right.isEmpty()&&!T.right.isRed_()&&!T.right.left.isRed_()&&(T=T.moveRedRight_()),W(U,T.key)===0){if(T.right.isEmpty())return wW.EMPTY_NODE;Z=T.right.min_(),T=T.copy(Z.key,Z.value,null,null,T.right.removeMin_())}T=T.copy(null,null,null,null,T.right.remove(U,W))}return T.fixUp_()}isRed_(){return this.color}fixUp_(){let U=this;return U.right.isRed_()&&!U.left.isRed_()&&(U=U.rotateLeft_()),U.left.isRed_()&&U.left.left.isRed_()&&(U=U.rotateRight_()),U.left.isRed_()&&U.right.isRed_()&&(U=U.colorFlip_()),U}moveRedLeft_(){let U=this.colorFlip_();return U.right.left.isRed_()&&(U=U.copy(null,null,null,null,U.right.rotateRight_()),U=U.rotateLeft_(),U=U.colorFlip_()),U}moveRedRight_(){let U=this.colorFlip_();return U.left.left.isRed_()&&(U=U.rotateRight_(),U=U.colorFlip_()),U}rotateLeft_(){let U=this.copy(null,null,V.RED,null,this.right.left);return this.right.copy(null,null,this.color,U,null)}rotateRight_(){let U=this.copy(null,null,V.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,U)}colorFlip_(){let U=this.left.copy(null,null,!this.left.color,null,null),W=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,U,W)}checkMaxDepth_(){let U=this.check_();return Math.pow(2,U)<=this.count()+1}check_(){if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");let U=this.left.check_();if(U!==this.right.check_())throw new Error("Black depths differ");return U+(this.isRed_()?0:1)}};TW.RED=!0;TW.BLACK=!1;var u_=class{copy(U,W,T,Z,o){return this}insert(U,W,T){return new TW(U,W,null)}remove(U,W){return this}count(){return 0}isEmpty(){return!0}inorderTraversal(U){return!1}reverseTraversal(U){return!1}minKey(){return null}maxKey(){return null}check_(){return 0}isRed_(){return!1}},wW=class V{constructor(U,W=V.EMPTY_NODE){this.comparator_=U,this.root_=W}insert(U,W){return new V(this.comparator_,this.root_.insert(U,W,this.comparator_).copy(null,null,TW.BLACK,null,null))}remove(U){return new V(this.comparator_,this.root_.remove(U,this.comparator_).copy(null,null,TW.BLACK,null,null))}get(U){let W,T=this.root_;for(;!T.isEmpty();){if(W=this.comparator_(U,T.key),W===0)return T.value;W<0?T=T.left:W>0&&(T=T.right)}return null}getPredecessorKey(U){let W,T=this.root_,Z=null;for(;!T.isEmpty();)if(W=this.comparator_(U,T.key),W===0){if(T.left.isEmpty())return Z?Z.key:null;for(T=T.left;!T.right.isEmpty();)T=T.right;return T.key}else W<0?T=T.left:W>0&&(Z=T,T=T.right);throw new Error("Attempted to find predecessor key for a nonexistent key.  What gives?")}isEmpty(){return this.root_.isEmpty()}count(){return this.root_.count()}minKey(){return this.root_.minKey()}maxKey(){return this.root_.maxKey()}inorderTraversal(U){return this.root_.inorderTraversal(U)}reverseTraversal(U){return this.root_.reverseTraversal(U)}getIterator(U){return new ZO(this.root_,null,this.comparator_,!1,U)}getIteratorFrom(U,W){return new ZO(this.root_,U,this.comparator_,!1,W)}getReverseIteratorFrom(U,W){return new ZO(this.root_,U,this.comparator_,!0,W)}getReverseIterator(U){return new ZO(this.root_,null,this.comparator_,!0,U)}};wW.EMPTY_NODE=new u_;function R8(V,U){return jO(V.name,U.name)}function p_(V,U){return jO(V,U)}var j_;function P8(V){j_=V}var FH=function(V){return typeof V=="number"?"number:"+_H(V):"string:"+V},aH=function(V){if(V.isLeafNode()){let U=V.val();l(typeof U=="string"||typeof U=="number"||typeof U=="object"&&pT(U,".sv"),"Priority must be a string or number.")}else l(V===j_||V.isEmpty(),"priority of unexpected type.");l(V===j_||V.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")};var Ln,EZ=class V{static set __childrenNodeConstructor(U){Ln=U}static get __childrenNodeConstructor(){return Ln}constructor(U,W=V.__childrenNodeConstructor.EMPTY_NODE){this.value_=U,this.priorityNode_=W,this.lazyHash_=null,l(this.value_!==void 0&&this.value_!==null,"LeafNode shouldn't be created with null/undefined value."),aH(this.priorityNode_)}isLeafNode(){return!0}getPriority(){return this.priorityNode_}updatePriority(U){return new V(this.value_,U)}getImmediateChild(U){return U===".priority"?this.priorityNode_:V.__childrenNodeConstructor.EMPTY_NODE}getChild(U){return OU(U)?this:iU(U)===".priority"?this.priorityNode_:V.__childrenNodeConstructor.EMPTY_NODE}hasChild(){return!1}getPredecessorChildName(U,W){return null}updateImmediateChild(U,W){return U===".priority"?this.updatePriority(W):W.isEmpty()&&U!==".priority"?this:V.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(U,W).updatePriority(this.priorityNode_)}updateChild(U,W){let T=iU(U);return T===null?W:W.isEmpty()&&T!==".priority"?this:(l(T!==".priority"||Ho(U)===1,".priority must be the last token in a path"),this.updateImmediateChild(T,V.__childrenNodeConstructor.EMPTY_NODE.updateChild(NU(U),W)))}isEmpty(){return!1}numChildren(){return 0}forEachChild(U,W){return!1}val(U){return U&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()}hash(){if(this.lazyHash_===null){let U="";this.priorityNode_.isEmpty()||(U+="priority:"+FH(this.priorityNode_.val())+":");let W=typeof this.value_;U+=W+":",W==="number"?U+=_H(this.value_):U+=this.value_,this.lazyHash_=PH(U)}return this.lazyHash_}getValue(){return this.value_}compareTo(U){return U===V.__childrenNodeConstructor.EMPTY_NODE?1:U instanceof V.__childrenNodeConstructor?-1:(l(U.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(U))}compareToLeafNode_(U){let W=typeof U.value_,T=typeof this.value_,Z=V.VALUE_TYPE_ORDER.indexOf(W),o=V.VALUE_TYPE_ORDER.indexOf(T);return l(Z>=0,"Unknown leaf type: "+W),l(o>=0,"Unknown leaf type: "+T),Z===o?T==="object"?0:this.value_<U.value_?-1:this.value_===U.value_?0:1:o-Z}withIndex(){return this}isIndexed(){return!0}equals(U){if(U===this)return!0;if(U.isLeafNode()){let W=U;return this.value_===W.value_&&this.priorityNode_.equals(W.priorityNode_)}else return!1}};EZ.VALUE_TYPE_ORDER=["object","boolean","number","string"];var CH,vH;function J8(V){CH=V}function $8(V){vH=V}var q_=class extends OO{compare(U,W){let T=U.node.getPriority(),Z=W.node.getPriority(),o=T.compareTo(Z);return o===0?jO(U.name,W.name):o}isDefinedOn(U){return!U.getPriority().isEmpty()}indexedValueChanged(U,W){return!U.getPriority().equals(W.getPriority())}minPost(){return uU.MIN}maxPost(){return new uU(vi,new EZ("[PRIORITY-POST]",vH))}makePost(U,W){let T=CH(U);return new uU(W,new EZ("[PRIORITY-POST]",T))}toString(){return".priority"}},KV=new q_;var _8=Math.log(2),R_=class{constructor(U){let W=o=>parseInt(Math.log(o)/_8,10),T=o=>parseInt(Array(o+1).join("1"),2);this.count=W(U+1),this.current_=this.count-1;let Z=T(this.count);this.bits_=U+1&Z}nextBitIsOne(){let U=!(this.bits_&1<<this.current_);return this.current_--,U}},Uq=function(V,U,W,T){V.sort(U);let Z=function(O,S){let z=S-O,u,q;if(z===0)return null;if(z===1)return u=V[O],q=W?W(u):u,new TW(q,u.node,TW.BLACK,null,null);{let R=parseInt(z/2,10)+O,I=Z(O,R),M=Z(R+1,S);return u=V[R],q=W?W(u):u,new TW(q,u.node,TW.BLACK,I,M)}},o=function(O){let S=null,z=null,u=V.length,q=function(I,M){let n=u-I,P=u;u-=I;let $=Z(n+1,P),t=V[n],Q=W?W(t):t;R(new TW(Q,t.node,M,null,$))},R=function(I){S?(S.left=I,S=I):(z=I,S=I)};for(let I=0;I<O.count;++I){let M=O.nextBitIsOne(),n=Math.pow(2,O.count-(I+1));M?q(n,TW.BLACK):(q(n,TW.BLACK),q(n,TW.RED))}return z},i=new R_(V.length),b=o(i);return new wW(T||U,b)};var y$,TO={},SO=class V{static get Default(){return l(TO&&KV,"ChildrenNode.ts has not been loaded"),y$=y$||new V({".priority":TO},{".priority":KV}),y$}constructor(U,W){this.indexes_=U,this.indexSet_=W}get(U){let W=Ni(this.indexes_,U);if(!W)throw new Error("No index defined for "+U);return W instanceof wW?W:null}hasIndex(U){return pT(this.indexSet_,U.toString())}addIndex(U,W){l(U!==iO,"KeyIndex always exists and isn't meant to be added to the IndexMap.");let T=[],Z=!1,o=W.getIterator(uU.Wrap),i=o.getNext();for(;i;)Z=Z||U.isDefinedOn(i.node),T.push(i),i=o.getNext();let b;Z?b=Uq(T,U.getCompare()):b=TO;let O=U.toString(),S={...this.indexSet_};S[O]=U;let z={...this.indexes_};return z[O]=b,new V(z,S)}addToIndexes(U,W){let T=gS(this.indexes_,(Z,o)=>{let i=Ni(this.indexSet_,o);if(l(i,"Missing index implementation for "+o),Z===TO)if(i.isDefinedOn(U.node)){let b=[],O=W.getIterator(uU.Wrap),S=O.getNext();for(;S;)S.name!==U.name&&b.push(S),S=O.getNext();return b.push(U),Uq(b,i.getCompare())}else return TO;else{let b=W.get(U.name),O=Z;return b&&(O=O.remove(new uU(U.name,b))),O.insert(U,U.node)}});return new V(T,this.indexSet_)}removeFromIndexes(U,W){let T=gS(this.indexes_,Z=>{if(Z===TO)return Z;{let o=W.get(U.name);return o?Z.remove(new uU(U.name,o)):Z}});return new V(T,this.indexSet_)}};var iz,XU=class V{static get EMPTY_NODE(){return iz||(iz=new V(new wW(p_),null,SO.Default))}constructor(U,W,T){this.children_=U,this.priorityNode_=W,this.indexMap_=T,this.lazyHash_=null,this.priorityNode_&&aH(this.priorityNode_),this.children_.isEmpty()&&l(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}isLeafNode(){return!1}getPriority(){return this.priorityNode_||iz}updatePriority(U){return this.children_.isEmpty()?this:new V(this.children_,U,this.indexMap_)}getImmediateChild(U){if(U===".priority")return this.getPriority();{let W=this.children_.get(U);return W===null?iz:W}}getChild(U){let W=iU(U);return W===null?this:this.getImmediateChild(W).getChild(NU(U))}hasChild(U){return this.children_.get(U)!==null}updateImmediateChild(U,W){if(l(W,"We should always be passing snapshot nodes"),U===".priority")return this.updatePriority(W);{let T=new uU(U,W),Z,o;W.isEmpty()?(Z=this.children_.remove(U),o=this.indexMap_.removeFromIndexes(T,this.children_)):(Z=this.children_.insert(U,W),o=this.indexMap_.addToIndexes(T,this.children_));let i=Z.isEmpty()?iz:this.priorityNode_;return new V(Z,i,o)}}updateChild(U,W){let T=iU(U);if(T===null)return W;{l(iU(U)!==".priority"||Ho(U)===1,".priority must be the last token in a path");let Z=this.getImmediateChild(T).updateChild(NU(U),W);return this.updateImmediateChild(T,Z)}}isEmpty(){return this.children_.isEmpty()}numChildren(){return this.children_.count()}val(U){if(this.isEmpty())return null;let W={},T=0,Z=0,o=!0;if(this.forEachChild(KV,(i,b)=>{W[i]=b.val(U),T++,o&&V.INTEGER_REGEXP_.test(i)?Z=Math.max(Z,Number(i)):o=!1}),!U&&o&&Z<2*T){let i=[];for(let b in W)i[b]=W[b];return i}else return U&&!this.getPriority().isEmpty()&&(W[".priority"]=this.getPriority().val()),W}hash(){if(this.lazyHash_===null){let U="";this.getPriority().isEmpty()||(U+="priority:"+FH(this.getPriority().val())+":"),this.forEachChild(KV,(W,T)=>{let Z=T.hash();Z!==""&&(U+=":"+W+":"+Z)}),this.lazyHash_=U===""?"":PH(U)}return this.lazyHash_}getPredecessorChildName(U,W,T){let Z=this.resolveIndex_(T);if(Z){let o=Z.getPredecessorKey(new uU(U,W));return o?o.name:null}else return this.children_.getPredecessorKey(U)}getFirstChildName(U){let W=this.resolveIndex_(U);if(W){let T=W.minKey();return T&&T.name}else return this.children_.minKey()}getFirstChild(U){let W=this.getFirstChildName(U);return W?new uU(W,this.children_.get(W)):null}getLastChildName(U){let W=this.resolveIndex_(U);if(W){let T=W.maxKey();return T&&T.name}else return this.children_.maxKey()}getLastChild(U){let W=this.getLastChildName(U);return W?new uU(W,this.children_.get(W)):null}forEachChild(U,W){let T=this.resolveIndex_(U);return T?T.inorderTraversal(Z=>W(Z.name,Z.node)):this.children_.inorderTraversal(W)}getIterator(U){return this.getIteratorFrom(U.minPost(),U)}getIteratorFrom(U,W){let T=this.resolveIndex_(W);if(T)return T.getIteratorFrom(U,Z=>Z);{let Z=this.children_.getIteratorFrom(U.name,uU.Wrap),o=Z.peek();for(;o!=null&&W.compare(o,U)<0;)Z.getNext(),o=Z.peek();return Z}}getReverseIterator(U){return this.getReverseIteratorFrom(U.maxPost(),U)}getReverseIteratorFrom(U,W){let T=this.resolveIndex_(W);if(T)return T.getReverseIteratorFrom(U,Z=>Z);{let Z=this.children_.getReverseIteratorFrom(U.name,uU.Wrap),o=Z.peek();for(;o!=null&&W.compare(o,U)>0;)Z.getNext(),o=Z.peek();return Z}}compareTo(U){return this.isEmpty()?U.isEmpty()?0:-1:U.isLeafNode()||U.isEmpty()?1:U===Jz?-1:0}withIndex(U){if(U===iO||this.indexMap_.hasIndex(U))return this;{let W=this.indexMap_.addIndex(U,this.children_);return new V(this.children_,this.priorityNode_,W)}}isIndexed(U){return U===iO||this.indexMap_.hasIndex(U)}equals(U){if(U===this)return!0;if(U.isLeafNode())return!1;{let W=U;if(this.getPriority().equals(W.getPriority()))if(this.children_.count()===W.children_.count()){let T=this.getIterator(KV),Z=W.getIterator(KV),o=T.getNext(),i=Z.getNext();for(;o&&i;){if(o.name!==i.name||!o.node.equals(i.node))return!1;o=T.getNext(),i=Z.getNext()}return o===null&&i===null}else return!1;else return!1}}resolveIndex_(U){return U===iO?null:this.indexMap_.get(U.toString())}};XU.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/;var P_=class extends XU{constructor(){super(new wW(p_),XU.EMPTY_NODE,SO.Default)}compareTo(U){return U===this?0:1}equals(U){return U===this}getPriority(){return this}getImmediateChild(U){return XU.EMPTY_NODE}isEmpty(){return!1}},Jz=new P_;Object.defineProperties(uU,{MIN:{value:new uU(bO,XU.EMPTY_NODE)},MAX:{value:new uU(vi,Jz)}});gj.__EMPTY_NODE=XU.EMPTY_NODE;EZ.__childrenNodeConstructor=XU;P8(Jz);$8(Jz);var e8=!0;function hV(V,U=null){if(V===null)return XU.EMPTY_NODE;if(typeof V=="object"&&".priority"in V&&(U=V[".priority"]),l(U===null||typeof U=="string"||typeof U=="number"||typeof U=="object"&&".sv"in U,"Invalid priority type found: "+typeof U),typeof V=="object"&&".value"in V&&V[".value"]!==null&&(V=V[".value"]),typeof V!="object"||".sv"in V){let W=V;return new EZ(W,hV(U))}if(!(V instanceof Array)&&e8){let W=[],T=!1;if(DW(V,(i,b)=>{if(i.substring(0,1)!=="."){let O=hV(b);O.isEmpty()||(T=T||!O.getPriority().isEmpty(),W.push(new uU(i,O)))}}),W.length===0)return XU.EMPTY_NODE;let o=Uq(W,R8,i=>i.name,p_);if(T){let i=Uq(W,KV.getCompare());return new XU(o,hV(U),new SO({".priority":i},{".priority":KV}))}else return new XU(o,hV(U),SO.Default)}else{let W=XU.EMPTY_NODE;return DW(V,(T,Z)=>{if(pT(V,T)&&T.substring(0,1)!=="."){let o=hV(Z);(o.isLeafNode()||!o.isEmpty())&&(W=W.updateImmediateChild(T,o))}}),W.updatePriority(hV(U))}}J8(hV);var J_=class extends OO{constructor(U){super(),this.indexPath_=U,l(!OU(U)&&iU(U)!==".priority","Can't create PathIndex with empty path or .priority key")}extractChild(U){return U.getChild(this.indexPath_)}isDefinedOn(U){return!U.getChild(this.indexPath_).isEmpty()}compare(U,W){let T=this.extractChild(U.node),Z=this.extractChild(W.node),o=T.compareTo(Z);return o===0?jO(U.name,W.name):o}makePost(U,W){let T=hV(U),Z=XU.EMPTY_NODE.updateChild(this.indexPath_,T);return new uU(W,Z)}maxPost(){let U=XU.EMPTY_NODE.updateChild(this.indexPath_,Jz);return new uU(vi,U)}toString(){return NH(this.indexPath_,0).join("/")}};var $_=class extends OO{compare(U,W){let T=U.node.compareTo(W.node);return T===0?jO(U.name,W.name):T}isDefinedOn(U){return!0}indexedValueChanged(U,W){return!U.equals(W)}minPost(){return uU.MIN}maxPost(){return uU.MAX}makePost(U,W){let T=hV(U);return new uU(W,T)}toString(){return".value"}},I8=new $_;function t8(V){return{type:"value",snapshotNode:V}}function M8(V,U){return{type:"child_added",snapshotNode:U,childName:V}}function Q8(V,U){return{type:"child_removed",snapshotNode:U,childName:V}}function wn(V,U,W){return{type:"child_changed",snapshotNode:U,childName:V,oldSnap:W}}function n8(V,U){return{type:"child_moved",snapshotNode:U,childName:V}}var __=class V{constructor(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.startAfterSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.endBeforeSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=KV}hasStart(){return this.startSet_}isViewFromLeft(){return this.viewFrom_===""?this.startSet_:this.viewFrom_==="l"}getIndexStartValue(){return l(this.startSet_,"Only valid if start has been set"),this.indexStartValue_}getIndexStartName(){return l(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:bO}hasEnd(){return this.endSet_}getIndexEndValue(){return l(this.endSet_,"Only valid if end has been set"),this.indexEndValue_}getIndexEndName(){return l(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:vi}hasLimit(){return this.limitSet_}hasAnchoredLimit(){return this.limitSet_&&this.viewFrom_!==""}getLimit(){return l(this.limitSet_,"Only valid if limit has been set"),this.limit_}getIndex(){return this.index_}loadsAllData(){return!(this.startSet_||this.endSet_||this.limitSet_)}isDefault(){return this.loadsAllData()&&this.index_===KV}copy(){let U=new V;return U.limitSet_=this.limitSet_,U.limit_=this.limit_,U.startSet_=this.startSet_,U.startAfterSet_=this.startAfterSet_,U.indexStartValue_=this.indexStartValue_,U.startNameSet_=this.startNameSet_,U.indexStartName_=this.indexStartName_,U.endSet_=this.endSet_,U.endBeforeSet_=this.endBeforeSet_,U.indexEndValue_=this.indexEndValue_,U.endNameSet_=this.endNameSet_,U.indexEndName_=this.indexEndName_,U.index_=this.index_,U.viewFrom_=this.viewFrom_,U}};function Dn(V){let U={};if(V.isDefault())return U;let W;if(V.index_===KV?W="$priority":V.index_===I8?W="$value":V.index_===iO?W="$key":(l(V.index_ instanceof J_,"Unrecognized index type!"),W=V.index_.toString()),U.orderBy=MV(W),V.startSet_){let T=V.startAfterSet_?"startAfter":"startAt";U[T]=MV(V.indexStartValue_),V.startNameSet_&&(U[T]+=","+MV(V.indexStartName_))}if(V.endSet_){let T=V.endBeforeSet_?"endBefore":"endAt";U[T]=MV(V.indexEndValue_),V.endNameSet_&&(U[T]+=","+MV(V.indexEndName_))}return V.limitSet_&&(V.isViewFromLeft()?U.limitToFirst=V.limit_:U.limitToLast=V.limit_),U}function fn(V){let U={};if(V.startSet_&&(U.sp=V.indexStartValue_,V.startNameSet_&&(U.sn=V.indexStartName_),U.sin=!V.startAfterSet_),V.endSet_&&(U.ep=V.indexEndValue_,V.endNameSet_&&(U.en=V.indexEndName_),U.ein=!V.endBeforeSet_),V.limitSet_){U.l=V.limit_;let W=V.viewFrom_;W===""&&(V.isViewFromLeft()?W="l":W="r"),U.vf=W}return V.index_!==KV&&(U.i=V.index_.toString()),U}var e_=class V extends wj{reportStats(U){throw new Error("Method not implemented.")}static getListenId_(U,W){return W!==void 0?"tag$"+W:(l(U._queryParams.isDefault(),"should have a tag if it's not a default query."),U._path.toString())}constructor(U,W,T,Z){super(),this.repoInfo_=U,this.onDataUpdate_=W,this.authTokenProvider_=T,this.appCheckTokenProvider_=Z,this.log_=Pz("p:rest:"),this.listens_={}}listen(U,W,T,Z){let o=U._path.toString();this.log_("Listen called for "+o+" "+U._queryIdentifier);let i=V.getListenId_(U,T),b={};this.listens_[i]=b;let O=Dn(U._queryParams);this.restRequest_(o+".json",O,(S,z)=>{let u=z;if(S===404&&(u=null,S=null),S===null&&this.onDataUpdate_(o,u,!1,T),Ni(this.listens_,i)===b){let q;S?S===401?q="permission_denied":q="rest_error:"+S:q="ok",Z(q,null)}})}unlisten(U,W){let T=V.getListenId_(U,W);delete this.listens_[T]}get(U){let W=Dn(U._queryParams),T=U._path.toString(),Z=new BT;return this.restRequest_(T+".json",W,(o,i)=>{let b=i;o===404&&(b=null,o=null),o===null?(this.onDataUpdate_(T,b,!1,null),Z.resolve(b)):Z.reject(new Error(b))}),Z.promise}refreshAuthToken(U){}restRequest_(U,W={},T){return W.format="export",Promise.all([this.authTokenProvider_.getToken(!1),this.appCheckTokenProvider_.getToken(!1)]).then(([Z,o])=>{Z&&Z.accessToken&&(W.auth=Z.accessToken),o&&o.token&&(W.ac=o.token);let i=(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host+U+"?ns="+this.repoInfo_.namespace+eo(W);this.log_("Sending REST request for "+i);let b=new XMLHttpRequest;b.onreadystatechange=()=>{if(T&&b.readyState===4){this.log_("REST Response for "+i+" received. status:",b.status,"response:",b.responseText);let O=null;if(b.status>=200&&b.status<300){try{O=gb(b.responseText)}catch{qW("Failed to parse JSON response for "+i+": "+b.responseText)}T(null,O)}else b.status!==401&&b.status!==404&&qW("Got unsuccessful REST response for "+i+" Status: "+b.status),T(b.status);T=null}},b.open("GET",i,!0),b.send()})}};var I_=class{constructor(){this.rootNode_=XU.EMPTY_NODE}getNode(U){return this.rootNode_.getChild(U)}updateSnapshot(U,W){this.rootNode_=this.rootNode_.updateChild(U,W)}};function Vq(){return{value:null,children:new Map}}function BH(V,U,W){if(OU(U))V.value=W,V.children.clear();else if(V.value!==null)V.value=V.value.updateChild(U,W);else{let T=iU(U);V.children.has(T)||V.children.set(T,Vq());let Z=V.children.get(T);U=NU(U),BH(Z,U,W)}}function t_(V,U,W){V.value!==null?W(U,V.value):H8(V,(T,Z)=>{let o=new GU(U.toString()+"/"+T);t_(Z,o,W)})}function H8(V,U){V.children.forEach((W,T)=>{U(T,W)})}var M_=class{constructor(U){this.collection_=U,this.last_=null}get(){let U=this.collection_.get(),W={...U};return this.last_&&DW(this.last_,(T,Z)=>{W[T]=W[T]-Z}),this.last_=U,W}};var gn=10*1e3,c8=30*1e3,G8=300*1e3,Q_=class{constructor(U,W){this.server_=W,this.statsToReport_={},this.statsListener_=new M_(U);let T=gn+(c8-gn)*Math.random();Oz(this.reportStats_.bind(this),Math.floor(T))}reportStats_(){let U=this.statsListener_.get(),W={},T=!1;DW(U,(Z,o)=>{o>0&&pT(this.statsToReport_,Z)&&(W[Z]=o,T=!0)}),T&&this.server_.reportStats(W),Oz(this.reportStats_.bind(this),Math.floor(Math.random()*2*G8))}};var KT;(function(V){V[V.OVERWRITE=0]="OVERWRITE",V[V.MERGE=1]="MERGE",V[V.ACK_USER_WRITE=2]="ACK_USER_WRITE",V[V.LISTEN_COMPLETE=3]="LISTEN_COMPLETE"})(KT||(KT={}));function sH(){return{fromUser:!0,fromServer:!1,queryId:null,tagged:!1}}function pH(){return{fromUser:!1,fromServer:!0,queryId:null,tagged:!1}}function YH(V){return{fromUser:!1,fromServer:!0,queryId:V,tagged:!0}}var n_=class V{constructor(U,W,T){this.path=U,this.affectedTree=W,this.revert=T,this.type=KT.ACK_USER_WRITE,this.source=sH()}operationForChild(U){if(OU(this.path)){if(this.affectedTree.value!=null)return l(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;{let W=this.affectedTree.subtree(new GU(U));return new V(QU(),W,this.revert)}}else return l(iU(this.path)===U,"operationForChild called for unrelated child."),new V(NU(this.path),this.affectedTree,this.revert)}};var zO=class V{constructor(U,W,T){this.source=U,this.path=W,this.snap=T,this.type=KT.OVERWRITE}operationForChild(U){return OU(this.path)?new V(this.source,QU(),this.snap.getImmediateChild(U)):new V(this.source,NU(this.path),this.snap)}};var Wq=class V{constructor(U,W,T){this.source=U,this.path=W,this.children=T,this.type=KT.MERGE}operationForChild(U){if(OU(this.path)){let W=this.children.subtree(new GU(U));return W.isEmpty()?null:W.value?new zO(this.source,QU(),W.value):new V(this.source,QU(),W)}else return l(iU(this.path)===U,"Can't get a merge for a child not on the path of the operation"),new V(this.source,NU(this.path),this.children)}toString(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"}};var uz=class{constructor(U,W,T){this.node_=U,this.fullyInitialized_=W,this.filtered_=T}isFullyInitialized(){return this.fullyInitialized_}isFiltered(){return this.filtered_}isCompleteForPath(U){if(OU(U))return this.isFullyInitialized()&&!this.filtered_;let W=iU(U);return this.isCompleteForChild(W)}isCompleteForChild(U){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(U)}getNode(){return this.node_}};function r8(V,U,W,T){let Z=[],o=[];return U.forEach(i=>{i.type==="child_changed"&&V.index_.indexedValueChanged(i.oldSnap,i.snapshotNode)&&o.push(n8(i.childName,i.snapshotNode))}),bz(V,Z,"child_removed",U,T,W),bz(V,Z,"child_added",U,T,W),bz(V,Z,"child_moved",o,T,W),bz(V,Z,"child_changed",U,T,W),bz(V,Z,"value",U,T,W),Z}function bz(V,U,W,T,Z,o){let i=T.filter(b=>b.type===W);i.sort((b,O)=>E8(V,b,O)),i.forEach(b=>{let O=x8(V,b,o);Z.forEach(S=>{S.respondsTo(b.type)&&U.push(S.createEvent(O,V.query_))})})}function x8(V,U,W){return U.type==="value"||U.type==="child_removed"||(U.prevName=W.getPredecessorChildName(U.childName,U.snapshotNode,V.index_)),U}function E8(V,U,W){if(U.childName==null||W.childName==null)throw Ai("Should only compare child_ events.");let T=new uU(U.childName,U.snapshotNode),Z=new uU(W.childName,W.snapshotNode);return V.index_.compare(T,Z)}function yH(V,U){return{eventCache:V,serverCache:U}}function Sz(V,U,W,T){return yH(new uz(U,W,T),V.serverCache)}function KH(V,U,W,T){return yH(V.eventCache,new uz(U,W,T))}function H_(V){return V.eventCache.isFullyInitialized()?V.eventCache.getNode():null}function si(V){return V.serverCache.isFullyInitialized()?V.serverCache.getNode():null}var K$,k8=()=>(K$||(K$=new wW(Xl)),K$),RW=class V{static fromObject(U){let W=new V(null);return DW(U,(T,Z)=>{W=W.set(new GU(T),Z)}),W}constructor(U,W=k8()){this.value=U,this.children=W}isEmpty(){return this.value===null&&this.children.isEmpty()}findRootMostMatchingPathAndValue(U,W){if(this.value!=null&&W(this.value))return{path:QU(),value:this.value};if(OU(U))return null;{let T=iU(U),Z=this.children.get(T);if(Z!==null){let o=Z.findRootMostMatchingPathAndValue(NU(U),W);return o!=null?{path:RV(new GU(T),o.path),value:o.value}:null}else return null}}findRootMostValueAndPath(U){return this.findRootMostMatchingPathAndValue(U,()=>!0)}subtree(U){if(OU(U))return this;{let W=iU(U),T=this.children.get(W);return T!==null?T.subtree(NU(U)):new V(null)}}set(U,W){if(OU(U))return new V(W,this.children);{let T=iU(U),o=(this.children.get(T)||new V(null)).set(NU(U),W),i=this.children.insert(T,o);return new V(this.value,i)}}remove(U){if(OU(U))return this.children.isEmpty()?new V(null):new V(null,this.children);{let W=iU(U),T=this.children.get(W);if(T){let Z=T.remove(NU(U)),o;return Z.isEmpty()?o=this.children.remove(W):o=this.children.insert(W,Z),this.value===null&&o.isEmpty()?new V(null):new V(this.value,o)}else return this}}get(U){if(OU(U))return this.value;{let W=iU(U),T=this.children.get(W);return T?T.get(NU(U)):null}}setTree(U,W){if(OU(U))return W;{let T=iU(U),o=(this.children.get(T)||new V(null)).setTree(NU(U),W),i;return o.isEmpty()?i=this.children.remove(T):i=this.children.insert(T,o),new V(this.value,i)}}fold(U){return this.fold_(QU(),U)}fold_(U,W){let T={};return this.children.inorderTraversal((Z,o)=>{T[Z]=o.fold_(RV(U,Z),W)}),W(U,this.value,T)}findOnPath(U,W){return this.findOnPath_(U,QU(),W)}findOnPath_(U,W,T){let Z=this.value?T(W,this.value):!1;if(Z)return Z;if(OU(U))return null;{let o=iU(U),i=this.children.get(o);return i?i.findOnPath_(NU(U),RV(W,o),T):null}}foreachOnPath(U,W){return this.foreachOnPath_(U,QU(),W)}foreachOnPath_(U,W,T){if(OU(U))return this;{this.value&&T(W,this.value);let Z=iU(U),o=this.children.get(Z);return o?o.foreachOnPath_(NU(U),RV(W,Z),T):new V(null)}}foreach(U){this.foreach_(QU(),U)}foreach_(U,W){this.children.inorderTraversal((T,Z)=>{Z.foreach_(RV(U,T),W)}),this.value&&W(U,this.value)}foreachChild(U){this.children.inorderTraversal((W,T)=>{T.value&&U(W,T.value)})}};var HT=class V{constructor(U){this.writeTree_=U}static empty(){return new V(new RW(null))}};function zz(V,U,W){if(OU(U))return new HT(new RW(W));{let T=V.writeTree_.findRootMostValueAndPath(U);if(T!=null){let Z=T.path,o=T.value,i=LW(Z,U);return o=o.updateChild(i,W),new HT(V.writeTree_.set(Z,o))}else{let Z=new RW(W),o=V.writeTree_.setTree(U,Z);return new HT(o)}}}function UH(V,U,W){let T=V;return DW(W,(Z,o)=>{T=zz(T,RV(U,Z),o)}),T}function VH(V,U){if(OU(U))return HT.empty();{let W=V.writeTree_.setTree(U,new RW(null));return new HT(W)}}function c_(V,U){return Yi(V,U)!=null}function Yi(V,U){let W=V.writeTree_.findRootMostValueAndPath(U);return W!=null?V.writeTree_.get(W.path).getChild(LW(W.path,U)):null}function WH(V){let U=[],W=V.writeTree_.value;return W!=null?W.isLeafNode()||W.forEachChild(KV,(T,Z)=>{U.push(new uU(T,Z))}):V.writeTree_.children.inorderTraversal((T,Z)=>{Z.value!=null&&U.push(new uU(T,Z.value))}),U}function no(V,U){if(OU(U))return V;{let W=Yi(V,U);return W!=null?new HT(new RW(W)):new HT(V.writeTree_.subtree(U))}}function G_(V){return V.writeTree_.isEmpty()}function uO(V,U){return LH(QU(),V.writeTree_,U)}function LH(V,U,W){if(U.value!=null)return W.updateChild(V,U.value);{let T=null;return U.children.inorderTraversal((Z,o)=>{Z===".priority"?(l(o.value!==null,"Priority writes must always be leaf nodes"),T=o.value):W=LH(RV(V,Z),o,W)}),!W.getChild(V).isEmpty()&&T!==null&&(W=W.updateChild(RV(V,".priority"),T)),W}}function wH(V,U){return Vc(U,V)}function X8(V,U,W,T,Z){l(T>V.lastWriteId,"Stacking an older write on top of newer ones"),Z===void 0&&(Z=!0),V.allWrites.push({path:U,snap:W,writeId:T,visible:Z}),Z&&(V.visibleWrites=zz(V.visibleWrites,U,W)),V.lastWriteId=T}function h8(V,U){for(let W=0;W<V.allWrites.length;W++){let T=V.allWrites[W];if(T.writeId===U)return T}return null}function A8(V,U){let W=V.allWrites.findIndex(b=>b.writeId===U);l(W>=0,"removeWrite called with nonexistent writeId.");let T=V.allWrites[W];V.allWrites.splice(W,1);let Z=T.visible,o=!1,i=V.allWrites.length-1;for(;Z&&i>=0;){let b=V.allWrites[i];b.visible&&(i>=W&&N8(b,T.path)?Z=!1:nT(T.path,b.path)&&(o=!0)),i--}if(Z){if(o)return m8(V),!0;if(T.snap)V.visibleWrites=VH(V.visibleWrites,T.path);else{let b=T.children;DW(b,O=>{V.visibleWrites=VH(V.visibleWrites,RV(T.path,O))})}return!0}else return!1}function N8(V,U){if(V.snap)return nT(V.path,U);for(let W in V.children)if(V.children.hasOwnProperty(W)&&nT(RV(V.path,W),U))return!0;return!1}function m8(V){V.visibleWrites=DH(V.allWrites,l8,QU()),V.allWrites.length>0?V.lastWriteId=V.allWrites[V.allWrites.length-1].writeId:V.lastWriteId=-1}function l8(V){return V.visible}function DH(V,U,W){let T=HT.empty();for(let Z=0;Z<V.length;++Z){let o=V[Z];if(U(o)){let i=o.path,b;if(o.snap)nT(W,i)?(b=LW(W,i),T=zz(T,b,o.snap)):nT(i,W)&&(b=LW(i,W),T=zz(T,QU(),o.snap.getChild(b)));else if(o.children){if(nT(W,i))b=LW(W,i),T=UH(T,b,o.children);else if(nT(i,W))if(b=LW(i,W),OU(b))T=UH(T,QU(),o.children);else{let O=Ni(o.children,iU(b));if(O){let S=O.getChild(NU(b));T=zz(T,QU(),S)}}}else throw Ai("WriteRecord should have .snap or .children")}}return T}function fH(V,U,W,T,Z){if(!T&&!Z){let o=Yi(V.visibleWrites,U);if(o!=null)return o;{let i=no(V.visibleWrites,U);if(G_(i))return W;if(W==null&&!c_(i,QU()))return null;{let b=W||XU.EMPTY_NODE;return uO(i,b)}}}else{let o=no(V.visibleWrites,U);if(!Z&&G_(o))return W;if(!Z&&W==null&&!c_(o,QU()))return null;{let i=function(S){return(S.visible||Z)&&(!T||!~T.indexOf(S.writeId))&&(nT(S.path,U)||nT(U,S.path))},b=DH(V.allWrites,i,U),O=W||XU.EMPTY_NODE;return uO(b,O)}}}function d8(V,U,W){let T=XU.EMPTY_NODE,Z=Yi(V.visibleWrites,U);if(Z)return Z.isLeafNode()||Z.forEachChild(KV,(o,i)=>{T=T.updateImmediateChild(o,i)}),T;if(W){let o=no(V.visibleWrites,U);return W.forEachChild(KV,(i,b)=>{let O=uO(no(o,new GU(i)),b);T=T.updateImmediateChild(i,O)}),WH(o).forEach(i=>{T=T.updateImmediateChild(i.name,i.node)}),T}else{let o=no(V.visibleWrites,U);return WH(o).forEach(i=>{T=T.updateImmediateChild(i.name,i.node)}),T}}function F8(V,U,W,T,Z){l(T||Z,"Either existingEventSnap or existingServerSnap must exist");let o=RV(U,W);if(c_(V.visibleWrites,o))return null;{let i=no(V.visibleWrites,o);return G_(i)?Z.getChild(W):uO(i,Z.getChild(W))}}function a8(V,U,W,T){let Z=RV(U,W),o=Yi(V.visibleWrites,Z);if(o!=null)return o;if(T.isCompleteForChild(W)){let i=no(V.visibleWrites,Z);return uO(i,T.getNode().getImmediateChild(W))}else return null}function C8(V,U){return Yi(V.visibleWrites,U)}function v8(V,U,W,T,Z,o,i){let b,O=no(V.visibleWrites,U),S=Yi(O,QU());if(S!=null)b=S;else if(W!=null)b=uO(O,W);else return[];if(b=b.withIndex(i),!b.isEmpty()&&!b.isLeafNode()){let z=[],u=i.getCompare(),q=o?b.getReverseIteratorFrom(T,i):b.getIteratorFrom(T,i),R=q.getNext();for(;R&&z.length<Z;)u(R,T)!==0&&z.push(R),R=q.getNext();return z}else return[]}function B8(){return{visibleWrites:HT.empty(),allWrites:[],lastWriteId:-1}}function r_(V,U,W,T){return fH(V.writeTree,V.treePath,U,W,T)}function gH(V,U){return d8(V.writeTree,V.treePath,U)}function TH(V,U,W,T){return F8(V.writeTree,V.treePath,U,W,T)}function Tq(V,U){return C8(V.writeTree,RV(V.treePath,U))}function s8(V,U,W,T,Z,o){return v8(V.writeTree,V.treePath,U,W,T,Z,o)}function Y_(V,U,W){return a8(V.writeTree,V.treePath,U,W)}function Uc(V,U){return Vc(RV(V.treePath,U),V.writeTree)}function Vc(V,U){return{treePath:V,writeTree:U}}var x_=class{constructor(){this.changeMap=new Map}trackChildChange(U){let W=U.type,T=U.childName;l(W==="child_added"||W==="child_changed"||W==="child_removed","Only child changes supported for tracking"),l(T!==".priority","Only non-priority child changes can be tracked.");let Z=this.changeMap.get(T);if(Z){let o=Z.type;if(W==="child_added"&&o==="child_removed")this.changeMap.set(T,wn(T,U.snapshotNode,Z.snapshotNode));else if(W==="child_removed"&&o==="child_added")this.changeMap.delete(T);else if(W==="child_removed"&&o==="child_changed")this.changeMap.set(T,Q8(T,Z.oldSnap));else if(W==="child_changed"&&o==="child_added")this.changeMap.set(T,M8(T,U.snapshotNode));else if(W==="child_changed"&&o==="child_changed")this.changeMap.set(T,wn(T,U.snapshotNode,Z.oldSnap));else throw Ai("Illegal combination of changes: "+U+" occurred after "+Z)}else this.changeMap.set(T,U)}getChanges(){return Array.from(this.changeMap.values())}};var E_=class{getCompleteChild(U){return null}getChildAfterChild(U,W,T){return null}},Wc=new E_,jz=class{constructor(U,W,T=null){this.writes_=U,this.viewCache_=W,this.optCompleteServerCache_=T}getCompleteChild(U){let W=this.viewCache_.eventCache;if(W.isCompleteForChild(U))return W.getNode().getImmediateChild(U);{let T=this.optCompleteServerCache_!=null?new uz(this.optCompleteServerCache_,!0,!1):this.viewCache_.serverCache;return Y_(this.writes_,U,T)}}getChildAfterChild(U,W,T){let Z=this.optCompleteServerCache_!=null?this.optCompleteServerCache_:si(this.viewCache_),o=s8(this.writes_,Z,W,1,T,U);return o.length===0?null:o[0]}};function p8(V,U){l(U.eventCache.getNode().isIndexed(V.filter.getIndex()),"Event snap not indexed"),l(U.serverCache.getNode().isIndexed(V.filter.getIndex()),"Server snap not indexed")}function Y8(V,U,W,T,Z){let o=new x_,i,b;if(W.type===KT.OVERWRITE){let S=W;S.source.fromUser?i=k_(V,U,S.path,S.snap,T,Z,o):(l(S.source.fromServer,"Unknown source."),b=S.source.tagged||U.serverCache.isFiltered()&&!OU(S.path),i=Zq(V,U,S.path,S.snap,T,Z,b,o))}else if(W.type===KT.MERGE){let S=W;S.source.fromUser?i=K8(V,U,S.path,S.children,T,Z,o):(l(S.source.fromServer,"Unknown source."),b=S.source.tagged||U.serverCache.isFiltered(),i=X_(V,U,S.path,S.children,T,Z,b,o))}else if(W.type===KT.ACK_USER_WRITE){let S=W;S.revert?i=D8(V,U,S.path,T,Z,o):i=L8(V,U,S.path,S.affectedTree,T,Z,o)}else if(W.type===KT.LISTEN_COMPLETE)i=w8(V,U,W.path,T,o);else throw Ai("Unknown operation type: "+W.type);let O=o.getChanges();return y8(U,i,O),{viewCache:i,changes:O}}function y8(V,U,W){let T=U.eventCache;if(T.isFullyInitialized()){let Z=T.getNode().isLeafNode()||T.getNode().isEmpty(),o=H_(V);(W.length>0||!V.eventCache.isFullyInitialized()||Z&&!T.getNode().equals(o)||!T.getNode().getPriority().equals(o.getPriority()))&&W.push(t8(H_(U)))}}function Tc(V,U,W,T,Z,o){let i=U.eventCache;if(Tq(T,W)!=null)return U;{let b,O;if(OU(W))if(l(U.serverCache.isFullyInitialized(),"If change path is empty, we must have complete server data"),U.serverCache.isFiltered()){let S=si(U),z=S instanceof XU?S:XU.EMPTY_NODE,u=gH(T,z);b=V.filter.updateFullNode(U.eventCache.getNode(),u,o)}else{let S=r_(T,si(U));b=V.filter.updateFullNode(U.eventCache.getNode(),S,o)}else{let S=iU(W);if(S===".priority"){l(Ho(W)===1,"Can't have a priority with additional path components");let z=i.getNode();O=U.serverCache.getNode();let u=TH(T,W,z,O);u!=null?b=V.filter.updatePriority(z,u):b=i.getNode()}else{let z=NU(W),u;if(i.isCompleteForChild(S)){O=U.serverCache.getNode();let q=TH(T,W,i.getNode(),O);q!=null?u=i.getNode().getImmediateChild(S).updateChild(z,q):u=i.getNode().getImmediateChild(S)}else u=Y_(T,S,U.serverCache);u!=null?b=V.filter.updateChild(i.getNode(),S,u,z,Z,o):b=i.getNode()}}return Sz(U,b,i.isFullyInitialized()||OU(W),V.filter.filtersNodes())}}function Zq(V,U,W,T,Z,o,i,b){let O=U.serverCache,S,z=i?V.filter:V.filter.getIndexedFilter();if(OU(W))S=z.updateFullNode(O.getNode(),T,null);else if(z.filtersNodes()&&!O.isFiltered()){let R=O.getNode().updateChild(W,T);S=z.updateFullNode(O.getNode(),R,null)}else{let R=iU(W);if(!O.isCompleteForPath(W)&&Ho(W)>1)return U;let I=NU(W),n=O.getNode().getImmediateChild(R).updateChild(I,T);R===".priority"?S=z.updatePriority(O.getNode(),n):S=z.updateChild(O.getNode(),R,n,I,Wc,null)}let u=KH(U,S,O.isFullyInitialized()||OU(W),z.filtersNodes()),q=new jz(Z,u,o);return Tc(V,u,W,Z,q,b)}function k_(V,U,W,T,Z,o,i){let b=U.eventCache,O,S,z=new jz(Z,U,o);if(OU(W))S=V.filter.updateFullNode(U.eventCache.getNode(),T,i),O=Sz(U,S,!0,V.filter.filtersNodes());else{let u=iU(W);if(u===".priority")S=V.filter.updatePriority(U.eventCache.getNode(),T),O=Sz(U,S,b.isFullyInitialized(),b.isFiltered());else{let q=NU(W),R=b.getNode().getImmediateChild(u),I;if(OU(q))I=T;else{let M=z.getCompleteChild(u);M!=null?AH(q)===".priority"&&M.getChild(mH(q)).isEmpty()?I=M:I=M.updateChild(q,T):I=XU.EMPTY_NODE}if(R.equals(I))O=U;else{let M=V.filter.updateChild(b.getNode(),u,I,q,z,i);O=Sz(U,M,b.isFullyInitialized(),V.filter.filtersNodes())}}}return O}function ZH(V,U){return V.eventCache.isCompleteForChild(U)}function K8(V,U,W,T,Z,o,i){let b=U;return T.foreach((O,S)=>{let z=RV(W,O);ZH(U,iU(z))&&(b=k_(V,b,z,S,Z,o,i))}),T.foreach((O,S)=>{let z=RV(W,O);ZH(U,iU(z))||(b=k_(V,b,z,S,Z,o,i))}),b}function oH(V,U,W){return W.foreach((T,Z)=>{U=U.updateChild(T,Z)}),U}function X_(V,U,W,T,Z,o,i,b){if(U.serverCache.getNode().isEmpty()&&!U.serverCache.isFullyInitialized())return U;let O=U,S;OU(W)?S=T:S=new RW(null).setTree(W,T);let z=U.serverCache.getNode();return S.children.inorderTraversal((u,q)=>{if(z.hasChild(u)){let R=U.serverCache.getNode().getImmediateChild(u),I=oH(V,R,q);O=Zq(V,O,new GU(u),I,Z,o,i,b)}}),S.children.inorderTraversal((u,q)=>{let R=!U.serverCache.isCompleteForChild(u)&&q.value===null;if(!z.hasChild(u)&&!R){let I=U.serverCache.getNode().getImmediateChild(u),M=oH(V,I,q);O=Zq(V,O,new GU(u),M,Z,o,i,b)}}),O}function L8(V,U,W,T,Z,o,i){if(Tq(Z,W)!=null)return U;let b=U.serverCache.isFiltered(),O=U.serverCache;if(T.value!=null){if(OU(W)&&O.isFullyInitialized()||O.isCompleteForPath(W))return Zq(V,U,W,O.getNode().getChild(W),Z,o,b,i);if(OU(W)){let S=new RW(null);return O.getNode().forEachChild(iO,(z,u)=>{S=S.set(new GU(z),u)}),X_(V,U,W,S,Z,o,b,i)}else return U}else{let S=new RW(null);return T.foreach((z,u)=>{let q=RV(W,z);O.isCompleteForPath(q)&&(S=S.set(z,O.getNode().getChild(q)))}),X_(V,U,W,S,Z,o,b,i)}}function w8(V,U,W,T,Z){let o=U.serverCache,i=KH(U,o.getNode(),o.isFullyInitialized()||OU(W),o.isFiltered());return Tc(V,i,W,T,Wc,Z)}function D8(V,U,W,T,Z,o){let i;if(Tq(T,W)!=null)return U;{let b=new jz(T,U,Z),O=U.eventCache.getNode(),S;if(OU(W)||iU(W)===".priority"){let z;if(U.serverCache.isFullyInitialized())z=r_(T,si(U));else{let u=U.serverCache.getNode();l(u instanceof XU,"serverChildren would be complete if leaf node"),z=gH(T,u)}z=z,S=V.filter.updateFullNode(O,z,o)}else{let z=iU(W),u=Y_(T,z,U.serverCache);u==null&&U.serverCache.isCompleteForChild(z)&&(u=O.getImmediateChild(z)),u!=null?S=V.filter.updateChild(O,z,u,NU(W),b,o):U.eventCache.getNode().hasChild(z)?S=V.filter.updateChild(O,z,XU.EMPTY_NODE,NU(W),b,o):S=O,S.isEmpty()&&U.serverCache.isFullyInitialized()&&(i=r_(T,si(U)),i.isLeafNode()&&(S=V.filter.updateFullNode(S,i,o)))}return i=U.serverCache.isFullyInitialized()||Tq(T,QU())!=null,Sz(U,S,i,V.filter.filtersNodes())}}function f8(V,U){let W=si(V.viewCache_);return W&&(V.query._queryParams.loadsAllData()||!OU(U)&&!W.getImmediateChild(iU(U)).isEmpty())?W.getChild(U):null}function iH(V,U,W,T){U.type===KT.MERGE&&U.source.queryId!==null&&(l(si(V.viewCache_),"We should always have a full cache before handling merges"),l(H_(V.viewCache_),"Missing event cache, even though we have a server cache"));let Z=V.viewCache_,o=Y8(V.processor_,Z,U,W,T);return p8(V.processor_,o.viewCache),l(o.viewCache.serverCache.isFullyInitialized()||!Z.serverCache.isFullyInitialized(),"Once a server snap is complete, it should never go back"),V.viewCache_=o.viewCache,g8(V,o.changes,o.viewCache.eventCache.getNode(),null)}function g8(V,U,W,T){let Z=T?[T]:V.eventRegistrations_;return r8(V.eventGenerator_,U,W,Z)}var bH;function Ud(V){l(!bH,"__referenceConstructor has already been defined"),bH=V}function y_(V,U,W,T){let Z=U.source.queryId;if(Z!==null){let o=V.views.get(Z);return l(o!=null,"SyncTree gave us an op for an invalid query."),iH(o,U,W,T)}else{let o=[];for(let i of V.views.values())o=o.concat(iH(i,U,W,T));return o}}function K_(V,U){let W=null;for(let T of V.views.values())W=W||f8(T,U);return W}var OH;function Vd(V){l(!OH,"__referenceConstructor has already been defined"),OH=V}var oq=class{constructor(U){this.listenProvider_=U,this.syncPointTree_=new RW(null),this.pendingWriteTree_=B8(),this.tagToQueryMap=new Map,this.queryToTagMap=new Map}};function Zc(V,U,W,T,Z){return X8(V.pendingWriteTree_,U,W,T,Z),Z?bq(V,new zO(sH(),U,W)):[]}function ai(V,U,W=!1){let T=h8(V.pendingWriteTree_,U);if(A8(V.pendingWriteTree_,U)){let o=new RW(null);return T.snap!=null?o=o.set(QU(),!0):DW(T.children,i=>{o=o.set(new GU(i),!0)}),bq(V,new n_(T.path,o,W))}else return[]}function iq(V,U,W){return bq(V,new zO(pH(),U,W))}function Wd(V,U,W){let T=RW.fromObject(W);return bq(V,new Wq(pH(),U,T))}function Td(V,U,W,T){let Z=bc(V,T);if(Z!=null){let o=Oc(Z),i=o.path,b=o.queryId,O=LW(i,U),S=new zO(YH(b),O,W);return Sc(V,i,S)}else return[]}function Zd(V,U,W,T){let Z=bc(V,T);if(Z){let o=Oc(Z),i=o.path,b=o.queryId,O=LW(i,U),S=RW.fromObject(W),z=new Wq(YH(b),O,S);return Sc(V,i,z)}else return[]}function L_(V,U,W){let Z=V.pendingWriteTree_,o=V.syncPointTree_.findOnPath(U,(i,b)=>{let O=LW(i,U),S=K_(b,O);if(S)return S});return fH(Z,U,o,W,!0)}function bq(V,U){return oc(U,V.syncPointTree_,null,wH(V.pendingWriteTree_,QU()))}function oc(V,U,W,T){if(OU(V.path))return ic(V,U,W,T);{let Z=U.get(QU());W==null&&Z!=null&&(W=K_(Z,QU()));let o=[],i=iU(V.path),b=V.operationForChild(i),O=U.children.get(i);if(O&&b){let S=W?W.getImmediateChild(i):null,z=Uc(T,i);o=o.concat(oc(b,O,S,z))}return Z&&(o=o.concat(y_(Z,V,T,W))),o}}function ic(V,U,W,T){let Z=U.get(QU());W==null&&Z!=null&&(W=K_(Z,QU()));let o=[];return U.children.inorderTraversal((i,b)=>{let O=W?W.getImmediateChild(i):null,S=Uc(T,i),z=V.operationForChild(i);z&&(o=o.concat(ic(z,b,O,S)))}),Z&&(o=o.concat(y_(Z,V,T,W))),o}function bc(V,U){return V.tagToQueryMap.get(U)}function Oc(V){let U=V.indexOf("$");return l(U!==-1&&U<V.length-1,"Bad queryKey."),{queryId:V.substr(U+1),path:new GU(V.substr(0,U))}}function Sc(V,U,W){let T=V.syncPointTree_.get(U);l(T,"Missing sync point for query tag that we're tracking");let Z=wH(V.pendingWriteTree_,U);return y_(T,W,Z,null)}var h_=class V{constructor(U){this.node_=U}getImmediateChild(U){let W=this.node_.getImmediateChild(U);return new V(W)}node(){return this.node_}},A_=class V{constructor(U,W){this.syncTree_=U,this.path_=W}getImmediateChild(U){let W=RV(this.path_,U);return new V(this.syncTree_,W)}node(){return L_(this.syncTree_,this.path_)}},od=function(V){return V=V||{},V.timestamp=V.timestamp||new Date().getTime(),V},SH=function(V,U,W){if(!V||typeof V!="object")return V;if(l(".sv"in V,"Unexpected leaf node or priority contents"),typeof V[".sv"]=="string")return id(V[".sv"],U,W);if(typeof V[".sv"]=="object")return bd(V[".sv"],U);l(!1,"Unexpected server value: "+JSON.stringify(V,null,2))},id=function(V,U,W){switch(V){case"timestamp":return W.timestamp;default:l(!1,"Unexpected server value: "+V)}},bd=function(V,U,W){V.hasOwnProperty("increment")||l(!1,"Unexpected server value: "+JSON.stringify(V,null,2));let T=V.increment;typeof T!="number"&&l(!1,"Unexpected increment value: "+T);let Z=U.node();if(l(Z!==null&&typeof Z<"u","Expected ChildrenNode.EMPTY_NODE for nulls"),!Z.isLeafNode())return T;let i=Z.getValue();return typeof i!="number"?T:i+T},Od=function(V,U,W,T){return w_(U,new A_(W,V),T)},zc=function(V,U,W){return w_(V,new h_(U),W)};function w_(V,U,W){let T=V.getPriority().val(),Z=SH(T,U.getImmediateChild(".priority"),W),o;if(V.isLeafNode()){let i=V,b=SH(i.getValue(),U,W);return b!==i.getValue()||Z!==i.getPriority().val()?new EZ(b,hV(Z)):V}else{let i=V;return o=i,Z!==i.getPriority().val()&&(o=o.updatePriority(new EZ(Z))),i.forEachChild(KV,(b,O)=>{let S=w_(O,U.getImmediateChild(b),W);S!==O&&(o=o.updateImmediateChild(b,S))}),o}}var qz=class{constructor(U="",W=null,T={children:{},childCount:0}){this.name=U,this.parent=W,this.node=T}};function D_(V,U){let W=U instanceof GU?U:new GU(U),T=V,Z=iU(W);for(;Z!==null;){let o=Ni(T.node.children,Z)||{children:{},childCount:0};T=new qz(Z,T,o),W=NU(W),Z=iU(W)}return T}function RO(V){return V.node.value}function uc(V,U){V.node.value=U,N_(V)}function jc(V){return V.node.childCount>0}function Sd(V){return RO(V)===void 0&&!jc(V)}function Oq(V,U){DW(V.node.children,(W,T)=>{U(new qz(W,V,T))})}function qc(V,U,W,T){W&&U(V),Oq(V,Z=>{qc(Z,U,!0)})}function zd(V,U,W){let T=V.parent;for(;T!==null;){if(U(T))return!0;T=T.parent}return!1}function $z(V){return new GU(V.parent===null?V.name:$z(V.parent)+"/"+V.name)}function N_(V){V.parent!==null&&ud(V.parent,V.name,V)}function ud(V,U,W){let T=Sd(W),Z=pT(V.node.children,U);T&&Z?(delete V.node.children[U],V.node.childCount--,N_(V)):!T&&!Z&&(V.node.children[U]=W.node,V.node.childCount++,N_(V))}var jd=/[\[\].#$\/\u0000-\u001F\u007F]/,qd=/[\[\].#$\u0000-\u001F\u007F]/,L$=10*1024*1024,Rc=function(V){return typeof V=="string"&&V.length!==0&&!jd.test(V)},Pc=function(V){return typeof V=="string"&&V.length!==0&&!qd.test(V)},Rd=function(V){return V&&(V=V.replace(/^\/*\.info(\/|$)/,"/")),Pc(V)};var Jc=function(V,U,W,T){T&&U===void 0||f_(aj(V,"value"),U,W)},f_=function(V,U,W){let T=W instanceof GU?new S_(W,V):W;if(U===void 0)throw new Error(V+"contains undefined "+di(T));if(typeof U=="function")throw new Error(V+"contains a function "+di(T)+" with contents = "+U.toString());if(JH(U))throw new Error(V+"contains "+U.toString()+" "+di(T));if(typeof U=="string"&&U.length>L$/3&&Uz(U)>L$)throw new Error(V+"contains a string greater than "+L$+" utf8 bytes "+di(T)+" ('"+U.substring(0,50)+"...')");if(U&&typeof U=="object"){let Z=!1,o=!1;if(DW(U,(i,b)=>{if(i===".value")Z=!0;else if(i!==".priority"&&i!==".sv"&&(o=!0,!Rc(i)))throw new Error(V+" contains an invali
12d key ("+i+") "+di(T)+`.  Keys must be non-empty strings and can't contain ".", "#", "$", "/", "[", or "]"`);O8(T,i),f_(V,b,T),S8(T)}),Z&&o)throw new Error(V+' contains ".value" child '+di(T)+" in addition to actual children.")}};var $c=function(V,U,W,T){if(!(T&&W===void 0)&&!Pc(W))throw new Error(aj(V,U)+'was an invalid path = "'+W+`". Paths must be non-empty strings and can't contain ".", "#", "$", "[", or "]"`)},Pd=function(V,U,W,T){W&&(W=W.replace(/^\/*\.info(\/|$)/,"/")),$c(V,U,W,T)},_c=function(V,U){if(iU(U)===".info")throw new Error(V+" failed = Can't modify data under /.info/")},Jd=function(V,U){let W=U.path.toString();if(typeof U.repoInfo.host!="string"||U.repoInfo.host.length===0||!Rc(U.repoInfo.namespace)&&U.repoInfo.host.split(":")[0]!=="localhost"||W.length!==0&&!Rd(W))throw new Error(aj(V,"url")+`must be a valid firebase URL and the path can't contain ".", "#", "$", "[", or "]".`)};var m_=class{constructor(){this.eventLists_=[],this.recursionDepth_=0}};function ec(V,U){let W=null;for(let T=0;T<U.length;T++){let Z=U[T],o=Z.getPath();W!==null&&!lH(o,W.path)&&(V.eventLists_.push(W),W=null),W===null&&(W={events:[],path:o}),W.events.push(Z)}W&&V.eventLists_.push(W)}function kZ(V,U,W){ec(V,W),$d(V,T=>nT(T,U)||nT(U,T))}function $d(V,U){V.recursionDepth_++;let W=!0;for(let T=0;T<V.eventLists_.length;T++){let Z=V.eventLists_[T];if(Z){let o=Z.path;U(o)?(_d(V.eventLists_[T]),V.eventLists_[T]=null):W=!1}}W&&(V.eventLists_=[]),V.recursionDepth_--}function _d(V){for(let U=0;U<V.events.length;U++){let W=V.events[U];if(W!==null){V.events[U]=null;let T=W.getEventRunner();Ci&&yV("event: "+W.toString()),qO(T)}}}var ed="repo_interrupt",Id=25,l_=class{constructor(U,W,T,Z){this.repoInfo_=U,this.forceRestClient_=W,this.authTokenProvider_=T,this.appCheckProvider_=Z,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new m_,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=Vq(),this.transactionQueueTree_=new qz,this.persistentConnection_=null,this.key=this.repoInfo_.toURLString()}toString(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host}};function td(V,U,W){if(V.stats_=s_(V.repoInfo_),V.forceRestClient_||dl())V.server_=new e_(V.repoInfo_,(T,Z,o,i)=>{zH(V,T,Z,o,i)},V.authTokenProvider_,V.appCheckProvider_),setTimeout(()=>uH(V,!0),0);else{if(typeof W<"u"&&W!==null){if(typeof W!="object")throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{MV(W)}catch(T){throw new Error("Invalid authOverride provided: "+T)}}V.persistentConnection_=new Bi(V.repoInfo_,U,(T,Z,o,i)=>{zH(V,T,Z,o,i)},T=>{uH(V,T)},T=>{Md(V,T)},V.authTokenProvider_,V.appCheckProvider_,W),V.server_=V.persistentConnection_}V.authTokenProvider_.addTokenChangeListener(T=>{V.server_.refreshAuthToken(T)}),V.appCheckProvider_.addTokenChangeListener(T=>{V.server_.refreshAppCheckToken(T.token)}),V.statsReporter_=al(V.repoInfo_,()=>new Q_(V.stats_,V.server_)),V.infoData_=new I_,V.infoSyncTree_=new oq({startListening:(T,Z,o,i)=>{let b=[],O=V.infoData_.getNode(T._path);return O.isEmpty()||(b=iq(V.infoSyncTree_,T._path,O),setTimeout(()=>{i("ok")},0)),b},stopListening:()=>{}}),Ue(V,"connected",!1),V.serverSyncTree_=new oq({startListening:(T,Z,o,i)=>(V.server_.listen(T,o,Z,(b,O)=>{let S=i(b,O);kZ(V.eventQueue_,T._path,S)}),[]),stopListening:(T,Z)=>{V.server_.unlisten(T,Z)}})}function Ic(V){let W=V.infoData_.getNode(new GU(".info/serverTimeOffset")).val()||0;return new Date().getTime()+W}function g_(V){return od({timestamp:Ic(V)})}function zH(V,U,W,T,Z){V.dataUpdateCount++;let o=new GU(U);W=V.interceptServerDataCallback_?V.interceptServerDataCallback_(U,W):W;let i=[];if(Z)if(T){let O=gS(W,S=>hV(S));i=Zd(V.serverSyncTree_,o,O,Z)}else{let O=hV(W);i=Td(V.serverSyncTree_,o,O,Z)}else if(T){let O=gS(W,S=>hV(S));i=Wd(V.serverSyncTree_,o,O)}else{let O=hV(W);i=iq(V.serverSyncTree_,o,O)}let b=o;i.length>0&&(b=Sq(V,o)),kZ(V.eventQueue_,b,i)}function uH(V,U){Ue(V,"connected",U),U===!1&&nd(V)}function Md(V,U){DW(U,(W,T)=>{Ue(V,W,T)})}function Ue(V,U,W){let T=new GU("/.info/"+U),Z=hV(W);V.infoData_.updateSnapshot(T,Z);let o=iq(V.infoSyncTree_,T,Z);kZ(V.eventQueue_,T,o)}function tc(V){return V.nextWriteId_++}function Qd(V,U,W,T,Z){Ve(V,"set",{path:U.toString(),value:W,priority:T});let o=g_(V),i=hV(W,T),b=L_(V.serverSyncTree_,U),O=zc(i,b,o),S=tc(V),z=Zc(V.serverSyncTree_,U,O,S,!0);ec(V.eventQueue_,z),V.server_.put(U.toString(),i.val(!0),(q,R)=>{let I=q==="ok";I||qW("set at "+U+" failed: "+q);let M=ai(V.serverSyncTree_,S,!I);kZ(V.eventQueue_,U,M),cd(V,Z,q,R)});let u=cc(V,U);Sq(V,u),kZ(V.eventQueue_,u,[])}
vendor: 13,021 bytes, line 12
12function nd(V){Ve(V,"onDisconnectEvents");let U=g_(V),W=Vq();t_(V.onDisconnect_,QU(),(Z,o)=>{let i=Od(Z,o,V.serverSyncTree_,U);BH(W,Z,i)});let T=[];t_(W,QU(),(Z,o)=>{T=T.concat(iq(V.serverSyncTree_,Z,o));let i=cc(V,Z);Sq(V,i)}),V.onDisconnect_=Vq(),kZ(V.eventQueue_,QU(),T)}function Hd(V){V.persistentConnection_&&V.persistentConnection_.interrupt(ed)}function Ve(V,...U){let W="";V.persistentConnection_&&(W=V.persistentConnection_.id+":"),yV(W,...U)}function cd(V,U,W,T){U&&qO(()=>{if(W==="ok")U(null);else{let Z=(W||"error").toUpperCase(),o=Z;T&&(o+=": "+T);let i=new Error(o);i.code=Z,U(i)}})}function Mc(V,U,W){return L_(V.serverSyncTree_,U,W)||XU.EMPTY_NODE}function We(V,U=V.transactionQueueTree_){if(U||zq(V,U),RO(U)){let W=nc(V,U);l(W.length>0,"Sending zero length transaction queue"),W.every(Z=>Z.status===0)&&Gd(V,$z(U),W)}else jc(U)&&Oq(U,W=>{We(V,W)})}function Gd(V,U,W){let T=W.map(S=>S.currentWriteId),Z=Mc(V,U,T),o=Z,i=Z.hash();for(let S=0;S<W.length;S++){let z=W[S];l(z.status===0,"tryToSendTransactionQueue_: items in queue should all be run."),z.status=1,z.retryCount++;let u=LW(U,z.path);o=o.updateChild(u,z.currentOutputSnapshotRaw)}let b=o.val(!0),O=U;V.server_.put(O.toString(),b,S=>{Ve(V,"transaction put response",{path:O.toString(),status:S});let z=[];if(S==="ok"){let u=[];for(let q=0;q<W.length;q++)W[q].status=2,z=z.concat(ai(V.serverSyncTree_,W[q].currentWriteId)),W[q].onComplete&&u.push(()=>W[q].onComplete(null,!0,W[q].currentOutputSnapshotResolved)),W[q].unwatcher();zq(V,D_(V.transactionQueueTree_,U)),We(V,V.transactionQueueTree_),kZ(V.eventQueue_,U,z);for(let q=0;q<u.length;q++)qO(u[q])}else{if(S==="datastale")for(let u=0;u<W.length;u++)W[u].status===3?W[u].status=4:W[u].status=0;else{qW("transaction at "+O.toString()+" failed: "+S);for(let u=0;u<W.length;u++)W[u].status=4,W[u].abortReason=S}Sq(V,U)}},i)}function Sq(V,U){let W=Qc(V,U),T=$z(W),Z=nc(V,W);return rd(V,Z,T),T}function rd(V,U,W){if(U.length===0)return;let T=[],Z=[],i=U.filter(b=>b.status===0).map(b=>b.currentWriteId);for(let b=0;b<U.length;b++){let O=U[b],S=LW(W,O.path),z=!1,u;if(l(S!==null,"rerunTransactionsUnderNode_: relativePath should not be null."),O.status===4)z=!0,u=O.abortReason,Z=Z.concat(ai(V.serverSyncTree_,O.currentWriteId,!0));else if(O.status===0)if(O.retryCount>=Id)z=!0,u="maxretry",Z=Z.concat(ai(V.serverSyncTree_,O.currentWriteId,!0));else{let q=Mc(V,O.path,i);O.currentInputSnapshot=q;let R=U[b].update(q.val());if(R!==void 0){f_("transaction failed: Data returned ",R,O.path);let I=hV(R);typeof R=="object"&&R!=null&&pT(R,".priority")||(I=I.updatePriority(q.getPriority()));let n=O.currentWriteId,P=g_(V),$=zc(I,q,P);O.currentOutputSnapshotRaw=I,O.currentOutputSnapshotResolved=$,O.currentWriteId=tc(V),i.splice(i.indexOf(n),1),Z=Z.concat(Zc(V.serverSyncTree_,O.path,$,O.currentWriteId,O.applyLocally)),Z=Z.concat(ai(V.serverSyncTree_,n,!0))}else z=!0,u="nodata",Z=Z.concat(ai(V.serverSyncTree_,O.currentWriteId,!0))}kZ(V.eventQueue_,W,Z),Z=[],z&&(U[b].status=2,(function(q){setTimeout(q,Math.floor(0))})(U[b].unwatcher),U[b].onComplete&&(u==="nodata"?T.push(()=>U[b].onComplete(null,!1,U[b].currentInputSnapshot)):T.push(()=>U[b].onComplete(new Error(u),!1,null))))}zq(V,V.transactionQueueTree_);for(let b=0;b<T.length;b++)qO(T[b]);We(V,V.transactionQueueTree_)}function Qc(V,U){let W,T=V.transactionQueueTree_;for(W=iU(U);W!==null&&RO(T)===void 0;)T=D_(T,W),U=NU(U),W=iU(U);return T}function nc(V,U){let W=[];return Hc(V,U,W),W.sort((T,Z)=>T.order-Z.order),W}function Hc(V,U,W){let T=RO(U);if(T)for(let Z=0;Z<T.length;Z++)W.push(T[Z]);Oq(U,Z=>{Hc(V,Z,W)})}function zq(V,U){let W=RO(U);if(W){let T=0;for(let Z=0;Z<W.length;Z++)W[Z].status!==2&&(W[T]=W[Z],T++);W.length=T,uc(U,W.length>0?W:void 0)}Oq(U,T=>{zq(V,T)})}function cc(V,U){let W=$z(Qc(V,U)),T=D_(V.transactionQueueTree_,U);return zd(T,Z=>{w$(V,Z)}),w$(V,T),qc(T,Z=>{w$(V,Z)}),W}function w$(V,U){let W=RO(U);if(W){let T=[],Z=[],o=-1;for(let i=0;i<W.length;i++)W[i].status===3||(W[i].status===1?(l(o===i-1,"All SENT items should be at beginning of queue."),o=i,W[i].status=3,W[i].abortReason="set"):(l(W[i].status===0,"Unexpected transaction status in abort"),W[i].unwatcher(),Z=Z.concat(ai(V.serverSyncTree_,W[i].currentWriteId,!0)),W[i].onComplete&&T.push(W[i].onComplete.bind(null,new Error("set"),!1,null))));o===-1?uc(U,void 0):W.length=o+1,kZ(V.eventQueue_,$z(U),Z);for(let i=0;i<T.length;i++)qO(T[i])}}function xd(V){let U="",W=V.split("/");for(let T=0;T<W.length;T++)if(W[T].length>0){let Z=W[T];try{Z=decodeURIComponent(Z.replace(/\+/g," "))}catch{}U+="/"+Z}return U}function Ed(V){let U={};V.charAt(0)==="?"&&(V=V.substring(1));for(let W of V.split("&")){if(W.length===0)continue;let T=W.split("=");T.length===2?U[decodeURIComponent(T[0])]=decodeURIComponent(T[1]):qW(`Invalid query segment '${W}' in query '${V}'`)}return U}var jH=function(V,U){let W=kd(V),T=W.namespace;W.domain==="firebase.com"&&xZ(W.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),(!T||T==="undefined")&&W.domain!=="localhost"&&xZ("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),W.secure||El();let Z=W.scheme==="ws"||W.scheme==="wss";return{repoInfo:new yj(W.host,W.secure,T,Z,U,"",T!==W.subdomain),path:new GU(W.pathString)}},kd=function(V){let U="",W="",T="",Z="",o="",i=!0,b="https",O=443;if(typeof V=="string"){let S=V.indexOf("//");S>=0&&(b=V.substring(0,S-1),V=V.substring(S+2));let z=V.indexOf("/");z===-1&&(z=V.length);let u=V.indexOf("?");u===-1&&(u=V.length),U=V.substring(0,Math.min(z,u)),z<u&&(Z=xd(V.substring(z,u)));let q=Ed(V.substring(Math.min(V.length,u)));S=U.indexOf(":"),S>=0?(i=b==="https"||b==="wss",O=parseInt(U.substring(S+1),10)):S=U.length;let R=U.slice(0,S);if(R.toLowerCase()==="localhost")W="localhost";else if(R.split(".").length<=2)W=R;else{let I=U.indexOf(".");T=U.substring(0,I).toLowerCase(),W=U.substring(I+1),o=T}"ns"in q&&(o=q.ns)}return{host:U,port:O,domain:W,subdomain:T,secure:i,scheme:b,pathString:Z,namespace:o}};var qH="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",Xd=(function(){let V=0,U=[];return function(W){let T=W===V;V=W;let Z,o=new Array(8);for(Z=7;Z>=0;Z--)o[Z]=qH.charAt(W%64),W=Math.floor(W/64);l(W===0,"Cannot push at time == 0");let i=o.join("");if(T){for(Z=11;Z>=0&&U[Z]===63;Z--)U[Z]=0;U[Z]++}else for(Z=0;Z<12;Z++)U[Z]=Math.floor(Math.random()*64);for(Z=0;Z<12;Z++)i+=qH.charAt(U[Z]);return l(i.length===20,"nextPushId: Length should be 20."),i}})();var d_=class V{constructor(U,W,T,Z){this._repo=U,this._path=W,this._queryParams=T,this._orderByCalled=Z}get key(){return OU(this._path)?null:AH(this._path)}get ref(){return new pi(this._repo,this._path)}get _queryIdentifier(){let U=fn(this._queryParams),W=B_(U);return W==="{}"?"default":W}get _queryObject(){return fn(this._queryParams)}isEqual(U){if(U=XV(U),!(U instanceof V))return!1;let W=this._repo===U._repo,T=lH(this._path,U._path),Z=this._queryIdentifier===U._queryIdentifier;return W&&T&&Z}toJSON(){return this.toString()}toString(){return this._repo.toString()+b8(this._path)}};var pi=class V extends d_{constructor(U,W){super(U,W,new __,!1)}get parent(){let U=mH(this._path);return U===null?null:new V(this._repo,U)}get root(){let U=this;for(;U.parent!==null;)U=U.parent;return U}};function uq(V,U){return V=XV(V),V._checkNotDeleted("ref"),U!==void 0?F_(V._root,U):V._root}function F_(V,U){return V=XV(V),iU(V._path)===null?Pd("child","path",U,!1):$c("child","path",U,!1),new pi(V._repo,RV(V._path,U))}function jq(V,U){V=XV(V),_c("push",V._path),Jc("push",U,V._path,!0);let W=Ic(V._repo),T=Xd(W),Z=F_(V,T),o=F_(V,T),i;return U!=null?i=hd(o,U).then(()=>o):i=Promise.resolve(o),Z.then=i.then.bind(i),Z.catch=i.then.bind(i,void 0),Z}function hd(V,U){V=XV(V),_c("set",V._path),Jc("set",U,V._path,!1);let W=new BT;return Qd(V._repo,V._path,U,null,W.wrapCallback(()=>{})),W.promise}Ud(pi);Vd(pi);var Ad="FIREBASE_DATABASE_EMULATOR_HOST",a_={},Nd=!1;function md(V,U,W,T){let Z=U.lastIndexOf(":"),o=U.substring(0,Z),i=mi(o);V.repoInfo_=new yj(U,i,V.repoInfo_.namespace,V.repoInfo_.webSocketOnly,V.repoInfo_.nodeAdmin,V.repoInfo_.persistenceKey,V.repoInfo_.includeNamespaceInQueryParams,!0,W),T&&(V.authTokenProvider_=T)}function ld(V,U,W,T,Z){let o=T||V.options.databaseURL;o===void 0&&(V.options.projectId||xZ("Can't determine Firebase Database URL. Be sure to include  a Project ID when calling firebase.initializeApp()."),yV("Using default host for project ",V.options.projectId),o=`${V.options.projectId}-default-rtdb.firebaseio.com`);let i=jH(o,Z),b=i.repoInfo,O,S;typeof process<"u"&&process.env&&(S=process.env[Ad]),S?(O=!0,o=`http://${S}?ns=${b.namespace}`,i=jH(o,Z),b=i.repoInfo):O=!i.repoInfo.secure;let z=Z&&O?new Qo(Qo.OWNER):new W_(V.name,V.options,U);Jd("Invalid Firebase Database URL",i),OU(i.path)||xZ("Database URL must point to the root of a Firebase Database (not including a child path).");let u=Fd(b,V,z,new V_(V,W));return new C_(u,V)}function dd(V,U){let W=a_[U];(!W||W[V.key]!==V)&&xZ(`Database ${U}(${V.repoInfo_}) has already been deleted.`),Hd(V),delete W[V.key]}function Fd(V,U,W,T){let Z=a_[U.name];Z||(Z={},a_[U.name]=Z);let o=Z[V.toURLString()];return o&&xZ("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call."),o=new l_(V,Nd,W,T),Z[V.toURLString()]=o,o}var C_=class{constructor(U,W){this._repoInternal=U,this.app=W,this.type="database",this._instanceStarted=!1}get _repo(){return this._instanceStarted||(td(this._repoInternal,this.app.options.appId,this.app.options.databaseAuthVariableOverride),this._instanceStarted=!0),this._repoInternal}get _root(){return this._rootInternal||(this._rootInternal=new pi(this._repo,QU())),this._rootInternal}_delete(){return this._rootInternal!==null&&(dd(this._repo,this.app.name),this._repoInternal=null,this._rootInternal=null),Promise.resolve()}_checkNotDeleted(U){this._rootInternal===null&&xZ("Cannot call "+U+" on a deleted database.")}};function qq(V=WO(),U){let W=Tz(V,"database").getImmediate({identifier:U});if(!W._instanceStarted){let T=On("database");T&&ad(W,...T)}return W}function ad(V,U,W,T={}){V=XV(V),V._checkNotDeleted("useEmulator");let Z=`${U}:${W}`,o=V._repoInternal;if(V._instanceStarted){if(Z===V._repoInternal.repoInfo_.host&&YT(T,o.repoInfo_.emulatorOptions))return;xZ("connectDatabaseEmulator() cannot initialize or alter the emulator configuration after the database instance has started.")}let i;if(o.repoInfo_.nodeAdmin)T.mockUserToken&&xZ('mockUserToken is not supported by the Admin SDK. For client access with mock users, please use the "firebase" package instead of "firebase-admin".'),i=new Qo(Qo.OWNER);else if(T.mockUserToken){let b=typeof T.mockUserToken=="string"?T.mockUserToken:Sn(T.mockUserToken,V.app.options.projectId);i=new Qo(b)}mi(U)&&Cj(U),md(o,Z,T,i)}function Cd(V){Gl(Mo),to(new KW("database",(U,{instanceIdentifier:W})=>{let T=U.getProvider("app").getImmediate(),Z=U.getProvider("auth-internal"),o=U.getProvider("app-check-internal");return ld(T,Z,o,W)},"PUBLIC").setMultipleInstances(!0)),QT(An,Nn,V),QT(An,Nn,"esm2020")}var vd={".sv":"timestamp"};function Gc(){return vd}Bi.prototype.simpleListen=function(V,U){this.sendRequest("q",{p:V},U)};Bi.prototype.echo=function(V,U){this.sendRequest("echo",{d:V},U)};Cd();j();var Bd="firebase",sd="12.18.0";QT(Bd,sd,"app");j();j();j();function yc(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}var Kc=yc,Lc=new HZ("auth","Firebase",yc());var Iq=new Io("@firebase/auth");function wc(V,...U){Iq.logLevel<=_U.WARN&&Iq.warn(`Auth (${Mo}): ${V}`,...U)}function Pq(V,...U){Iq.logLevel<=_U.ERROR&&Iq.error(`Auth (${Mo}): ${V}`,...U)}function cT(V,...U){throw He(V,...U)}function wT(V,...U){return He(V,...U)}function Dc(V,U,W){let T={...Kc(),[U]:W};return new HZ("auth","Firebase",T).create(U,{appName:V.name})}function hZ(V){return Dc(V,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function He(V,...U){if(typeof V!="string"){let W=U[0],T=[...U.slice(1)];return T[0]&&(T[0].appName=V.name),V._errorFactory.create(W,...T)}return Lc.create(V,...U)}function B(V,U,...W){if(!V)throw He(U,...W)}function LT(V){let U="INTERNAL ASSERTION FAILED: "+V;throw Pq(U),new Error(U)}function AZ(V,U){V||LT(U)}function tq(){return typeof self<"u"&&self.location?.href||""}function pd(){return rc()==="http:"||rc()==="https:"}function rc(){return typeof self<"u"&&self.location?.protocol||null}function Yd(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(pd()||un()||"connection"in navigator)?navigator.onLine:!0}function yd(){if(typeof navigator>"u")return null;let V=navigator;return V.languages&&V.languages[0]||V.language||null}var yi=class{constructor(U,W){this.shortDelay=U,this.longDelay=W,AZ(W>
12U,"Short delay should be less than long delay!"),this.isMobile=DS()||Fj()}get(){return Yd()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}};function ce(V,U){AZ(V.emulator,"Emulator should always be set here");let{url:W}=V.emulator;return U?`${W}${U.startsWith("/")?U.slice(1):U}`:W}var Mq=class{static initialize(U,W,T){this.fetchImpl=U,W&&(this.headersImpl=W),T&&(this.responseImpl=T)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;LT("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;LT("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;LT("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}};var Kd={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};var Ld=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],wd=new yi(3e4,6e4);function PV(V,U){return V.tenantId&&!U.tenantId?{...U,tenantId:V.tenantId}:U}async function LV(V,U,W,T,Z={}){return fc(V,Z,async()=>{let o={},i={};T&&(U==="GET"?i=T:o={body:JSON.stringify(T)});let b=eo({...i,key:V.config.apiKey}).slice(1),O=await V._getAdditionalHeaders();O["Content-Type"]="application/json",V.languageCode&&(O["X-Firebase-Locale"]=V.languageCode);let S={method:U,headers:O,...o};
12return zn()||(S.referrerPolicy="strict-origin-when-cross-origin"),V.emulatorConfig&&mi(V.emulatorConfig.host)&&(S.credentials="include"),Mq.fetch()(await gc(V,V.config.apiHost,W,b),S)})}async function fc(V,U,W){V._canInitEmulator=!1;let T={...Kd,...U};try{let Z=new Oe(V),o=await Promise.race([W(),Z.promise]);Z.clearNetworkTimeout();let i=await o.json();if("needConfirmation"in i)throw ez(V,"account-exists-with-different-credential",i);if(o.ok&&!("errorMessage"in i))return i;{let b=o.ok?i.errorMessage:i.error.message,[O,S]=b.split(" : ");if(O==="FEDERATED_USER_ID_ALREADY_LINKED")throw ez(V,"credential-already-in-use",i);if(O==="EMAIL_EXISTS")throw ez(V,"email-already-in-use",i);if(O==="USER_DISABLED")throw ez(V,"user-disabled",i);let z=T[O]||O.toLowerCase().replace(/[_\s]+/g,"-");if(S)throw Dc(V,z,S);cT(V,z)}}catch(Z){if(Z instanceof MT)throw Z;cT(V,"network-request-failed",{message:String(Z)})}}async function ro(V,U,W,T,Z={}){let o=await LV(V,U,W,T,Z);return"mfaPendingCredential"in o&&cT(V,"multi-factor-auth-required",{_serverResponse:o}),o}async function gc(V,U,W,T){let Z=`${U}${W}?${T}`,o=V,i=o.config.emulator?ce(V.config,Z):`${V.config.apiScheme}://${Z}`;return Ld.includes(W)&&(await o._persistenceManagerAvailable,o._getPersistenceType()==="COOKIE")?o._getPersistence()._getFinalTarget(i).toString():i}function Dd(V){switch(V){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}var Oe=class{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(U){this.auth=U,this.timer=null,this.promise=new Promise((W,T)=>{this.timer=setTimeout(()=>T(wT(this.auth,"network-request-failed")),wd.get())})}};function ez(V,U,W){let T={appName:V.name};W.email&&(T.email=W.email),W.phoneNumber&&(T.phoneNumber=W.phoneNumber);let Z=wT(V,U,T);return Z.customData._tokenResponse=W,Z}function xc(V){return V!==void 0&&V.enterprise!==void 0}var Qq=class{constructor(U){if(this.siteKey="",this.recaptchaEnforcementState=[],U.recaptchaKey===void 0)throw new Error("recaptchaKey undefined");this.siteKey=U.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=U.recaptchaEnforcementState}getProviderEnforcementState(U){if(!this.recaptchaEnforcementState||this.recaptchaEnforcementState.length===0)return null;for(let W of this.recaptchaEnforcementState)if(W.provider&&W.provider===U)return Dd(W.enforcementState);return null}isProviderEnabled(U){return this.getProviderEnforcementState(U)==="ENFORCE"||this.getProviderEnforcementState(U)==="AUDIT"}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PROVIDER")}};async function UG(V,U){return LV(V,"GET","/v2/recaptchaConfig",PV(V,U))}async function fd(V,U){return LV(V,"POST","/v1/accounts:delete",U)}async function nq(V,U){return LV(V,"POST","/v1/accounts:lookup",U)}function Iz(V){if(V)try{let U=new Date(Number(V));if(!isNaN(U.getTime()))return U.toUTCString()}catch{}}async function VG(V,U=!1){let W=XV(V),T=await W.getIdToken(U),Z=Ge(T);B(Z&&Z.exp&&Z.auth_time&&Z.iat,W.auth,"internal-error");let o=typeof Z.firebase=="object"?Z.firebase:void 0,i=o?.sign_in_provider;return{claims:Z,token:T,authTime:Iz(Te(Z.auth_time)),issuedAtTime:Iz(Te(Z.iat)),expirationTime:Iz(Te(Z.exp)),signInProvider:i||null,signInSecondFactor:o?.sign_in_second_factor||null}}function Te(V){return Number(V)*1e3}function Ge(V){let[U,W,T]=V.split(".");if(U===void 0||W===void 0||T===void 0)return Pq("JWT malformed, contained fewer than 3 sections"),null;try{let Z=fb(W);return Z?JSON.parse(Z):(Pq("Failed to decode base64 JWT payload"),null)}catch(Z){return Pq("Caught error parsing JWT payload as JSON",Z?.toString()),null}}function Ec(V){let U=Ge(V);return B(U,"internal-error"),B(typeof U.exp<"u","internal-error"),B(typeof U.iat<"u","internal-error"),Number(U.exp)-Number(U.iat)}async function nz(V,U,W=!1){if(W)return U;try{return await U}catch(T){throw T instanceof MT&&gd(T)&&V.auth.currentUser===V&&await V.auth.signOut(),T}}function gd({code:V}){return V==="auth/user-disabled"||V==="auth/user-token-expired"}var Se=class{constructor(U){this.user=U,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(U){if(U){let W=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),W}else{this.errorBackoff=3e4;let T=(this.user.stsTokenManager.expirationTime??0)-Date.now()-3e5;return Math.max(0,T)}}schedule(U=!1){if(!this.isRunning)return;let W=this.getInterval(U);this.timerId=setTimeout(async()=>{await this.iteration()},W)}async iteration(){try{await this.user.getIdToken(!0)}catch(U){U?.code==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()}};var Hz=class{constructor(U,W){this.createdAt=U,this.lastLoginAt=W,this._initializeTime()}_initializeTime(){this.lastSignInTime=Iz(this.lastLoginAt),this.creationTime=Iz(this.createdAt)}_copy(U){this.createdAt=U.createdAt,this.lastLoginAt=U.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}};async function Hq(V){let U=V.auth,W=await V.getIdToken(),T=await nz(V,nq(U,{idToken:W}));B(T?.users.length,U,"internal-error");let Z=T.users[0];V._notifyReloadListener(Z);let o=Z.providerUserInfo?.length?TG(Z.providerUserInfo):[],i=UF(V.providerData,o),b=V.isAnonymous,O=!(V.email&&Z.passwordHash)&&!i?.length,S=b?O:!1,z={uid:Z.localId,displayName:Z.displayName||null,photoURL:Z.photoUrl||null,email:Z.email||null,emailVerified:Z.emailVerified||!1,phoneNumber:Z.phoneNumber||null,tenantId:Z.tenantId||null,providerData:i,metadata:new Hz(Z.createdAt,Z.lastLoginAt),isAnonymous:S};Object.assign(V,z)}async function WG(V){let U=XV(V);await Hq(U),await U.auth._persistUserIfCurrent(U),U.auth._notifyListenersIfCurrent(U)}function UF(V,U){return[...V.filter(T=>!U.some(Z=>Z.providerId===T.providerId)),...U]}function TG(V){return V.map(({providerId:U,...W})=>
12({providerId:U,uid:W.rawId||"",displayName:W.displayName||null,email:W.email||null,phoneNumber:W.phoneNumber||null,photoURL:W.photoUrl||null}))}async function VF(V,U){let W=await fc(V,{},async()=>{let T=eo({grant_type:"refresh_token",refresh_token:U}).slice(1),{tokenApiHost:Z,apiKey:o}=V.config,i=await gc(V,Z,"/v1/token",`key=${o}`),b=await V._getAdditionalHeaders();b["Content-Type"]="application/x-www-form-urlencoded";let O={method:"POST",headers:b,body:T};return V.emulatorConfig&&mi(V.emulatorConfig.host)&&(O.credentials="include"),Mq.fetch()(i,O)});return{accessToken:W.access_token,expiresIn:W.expires_in,refreshToken:W.refresh_token}}async function WF(V,U){return LV(V,"POST","/v2/accounts:revokeToken",PV(V,U))}var tz=class V{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(U){B(U.idToken,"internal-error"),B(typeof U.idToken<"u","internal-error"),B(typeof U.refreshToken<"u","internal-error");let W="expiresIn"in U&&typeof U.expiresIn<"u"?Number(U.expiresIn):Ec(U.idToken);this.updateTokensAndExpiration(U.idToken,U.refreshToken,W)}updateFromIdToken(U){B(U.length!==0,"internal-error");let W=Ec(U);this.updateTokensAndExpiration(U,null,W)}async getToken(U,W=!1){return!W&&this.accessToken&&!this.isExpired?this.accessToken:(B(this.refreshToken,U,"user-token-expired"),this.refreshToken?(await this.refresh(U,this.refreshToken),this.accessToken):null)}clearRefreshToken(){this.refreshToken=null}async refresh(U,W){let{accessToken:T,refreshToken:Z,expiresIn:o}=await VF(U,W);this.updateTokensAndExpiration(T,Z,Number(o))}updateTokensAndExpiration(U,W,T){this.refreshToken=W||null,this.accessToken=U||null,this.expirationTime=Date.now()+T*1e3}static fromJSON(U,W){let{refreshToken:T,accessToken:Z,expirationTime:o}=W,i=new V;return T&&(B(typeof T=="string","internal-error",{appName:U}),i.refreshToken=T),Z&&(B(typeof Z=="string","internal-error",{appName:U}),i.accessToken=Z),o&&(B(typeof o=="number","internal-error",{appName:U}),i.expirationTime=o),i}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(U){this.accessToken=U.accessToken,this.refreshToken=U.refreshToken,this.expirationTime=U.expirationTime}_clone(){return Object.assign(new V,this.toJSON())}_performRefresh(){return LT("not implemented")}};function co(V,U){B(typeof V=="string"||typeof V>"u","internal-error",{appName:U})}var Go=class V{constructor({uid:U,auth:W,stsTokenManager:T,...Z}){this.providerId="firebase",this.proactiveRefresh=new Se(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=U,this.auth=W,this.stsTokenManager=T,this.accessToken=T.accessToken,this.displayName=Z.displayName||null,this.email=Z.email||null,this.emailVerified=Z.emailVerified||!1,this.phoneNumber=Z.phoneNumber||null,this.photoURL=Z.photoURL||null,this.isAnonymous=Z.isAnonymous||!1,this.tenantId=Z.tenantId||null,this.providerData=Z.providerData?[...Z.providerData]:[],this.metadata=new Hz(Z.createdAt||void 0,Z.lastLoginAt||void 0)}async getIdToken(U){let W=await nz(this,this.stsTokenManager.getToken(this.auth,U));return B(W,this.auth,"internal-error"),this.accessToken!==W&&(this.accessToken=W,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),W}getIdTokenResult(U){return VG(this,U)}reload(){return WG(this)}_assign(U){this!==U&&(B(this.uid===U.uid,this.auth,"internal-error"),this.displayName=U.displayName,this.photoURL=U.photoURL,this.email=U.email,this.emailVerified=U.emailVerified,this.phoneNumber=U.phoneNumber,this.isAnonymous=U.isAnonymous,this.tenantId=U.tenantId,this.providerData=U.providerData.map(W=>({...W})),this.metadata._copy(U.metadata),this.stsTokenManager._assign(U.stsTokenManager))}_clone(U){let W=new V({...this,auth:U,stsTokenManager:this.stsTokenManager._clone()});return W.metadata._copy(this.metadata),W}_onReload(U){B(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=U,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(U){this.reloadListener?this.reloadListener(U):this.reloadUserInfo=U}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(U,W=!1){let T=!1;U.idToken&&U.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(U),T=!0),W&&await Hq(this),await this.auth._persistUserIfCurrent(this),T&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(jW(this.auth.app))return Promise.reject(hZ(this.auth));let U=await this.getIdToken();return await nz(this,fd(this.auth,{idToken:U})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return{uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
12nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(U=>({...U})),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId,...this.metadata.toJSON(),apiKey:this.auth.config.apiKey,appName:this.auth.name}}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(U,W){let T=W.displayName??void 0,Z=W.email??void 0,o=W.phoneNumber??void 0,i=W.photoURL??void 0,b=W.tenantId??void 0,O=W._redirectEventId??void 0,S=W.createdAt??void 0,z=W.lastLoginAt??void 0,{uid:u,emailVerified:q,isAnonymous:R,providerData:I,stsTokenManager:M}=W;B(u&&M,U,"internal-error");let n=tz.fromJSON(this.name,M);B(typeof u=="string",U,"internal-error"),co(T,U.name),co(Z,U.name),B(typeof q=="boolean",U,"internal-error"),B(typeof R=="boolean",U,"internal-error"),co(o,U.name),co(i,U.name),co(b,U.name),co(O,U.name),co(S,U.name),co(z,U.name);let P=new V({uid:u,auth:U,email:Z,emailVerified:q,displayName:T,isAnonymous:R,photoURL:i,phoneNumber:o,tenantId:b,stsTokenManager:n,createdAt:S,lastLoginAt:z});return I&&Array.isArray(I)&&(P.providerData=I.map($=>({...$}))),O&&(P._redirectEventId=O),P}static async _fromIdTokenResponse(U,W,T=!1){let Z=new tz;Z.updateFromServerResponse(W);let o=new V({uid:W.localId,auth:U,stsTokenManager:Z,isAnonymous:T});return await Hq(o),o}static async _fromGetAccountInfoResponse(U,W,T){let Z=W.users[0];B(Z.localId!==void 0,"internal-error");let o=Z.providerUserInfo!==void 0?TG(Z.providerUserInfo):[],i=!(Z.email&&Z.passwordHash)&&!o?.length,b=new tz;b.updateFromIdToken(T);let O=new V({uid:Z.localId,auth:U,stsTokenManager:b,isAnonymous:i}),S={uid:Z.localId,displayName:Z.displayName||null,photoURL:Z.photoUrl||null,email:Z.email||null,emailVerified:Z.emailVerified||!1,phoneNumber:Z.phoneNumber||null,tenantId:Z.tenantId||null,providerData:o,metadata:new Hz(Z.createdAt,Z.lastLoginAt),isAnonymous:!(Z.email&&Z.passwordHash)&&!o?.length};return Object.assign(O,S),O}};var kc=new Map;function XZ(V){AZ(V instanceof Function,"Expected a class definition");let U=kc.get(V);return U?(AZ(U instanceof V,"Instance stored in cache mismatched with class"),U):(U=new V,kc.set(V,U),U)}var cq=class{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(U,W){this.storage[U]=W}async _get(U){let W=this.storage[U];return W===void 0?null:W}async _remove(U){delete this.storage[U]}_addListener(U,W){}_removeListener(U,W){}};cq.type="NONE";var ze=cq;function Jq(V,U,W){return`firebase:${V}:${U}:${W}`}var Gq=class V{constructor(U,W,T){this.persistence=U,this.auth=W,this.userKey=T;let{config:Z,name:o}=this.auth;this.fullUserKey=Jq(this.userKey,Z.apiKey,o),this.fullPersistenceKey=Jq("persistence",Z.apiKey,o),this.boundEventHandler=W._onStorageEvent.bind(W),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(U){return this.persistence._set(this.fullUserKey,U.toJSON())}async getCurrentUser(){let U=await this.persistence._get(this.fullUserKey);if(!U)return null;if(typeof U=="string"){let W=await nq(this.auth,{idToken:U}).catch(()=>{});return W?Go._fromGetAccountInfoResponse(this.auth,W,U):null}return Go._fromJSON(this.auth,U)}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(U){if(this.persistence===U)return;let W=await this.getCurrentUser();if(await this.removeCurrentUser(),this.persistence=U,W)return this.setCurrentUser(W)}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(U,W,T="authUser"){if(!W.length)return new V(XZ(ze),U,T);let Z=(await Promise.all(W.map(async S=>{if(await S._isAvailable())return S}))).filter(S=>S),o=Z[0]||XZ(ze),i=Jq(T,U.config.apiKey,U.name),b=null;for(let S of W)try{let z=await S._get(i);if(z){let u;if(typeof z=="string"){let q=await nq(U,{idToken:z}).catch(()=>{});if(!q)break;u=await Go._fromGetAccountInfoResponse(U,q,z)}else u=Go._fromJSON(U,z);S!==o&&(b=u),o=S;break}}catch{}let O=Z.filter(S=>S._shouldAllowMigration);return!o._shouldAllowMigration||!O.length?new V(o,U,T):(o=O[0],b&&await o._set(i,b.toJSON()),await Promise.all(W.map(async S=>{if(S!==o)try{await S._remove(i)}catch{}})),new V(o,U,T))}};function Xc(V){let U=V.toLowerCase();if(U.includes("opera/")||U.includes("opr/")||U.includes("opios/"))return"Opera";if(bG(U))return"IEMobile";if(U.includes("msie")||U.includes("trident/"))return"IE";if(U.includes("edge/"))return"Edge";if(ZG(U))return"Firefox";if(U.includes("silk/"))return"Silk";if(SG(U))return"Blackberry";if(zG(U))return"Webos";if(oG(U))return"Safari";if((U.includes("chrome/")||iG(U))&&!U.includes("edge/"))return"Chrome";if(OG(U))return"Android";{let W=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,T=V.match(W);if(T?.length===2)return T[1]}return"Other"}function ZG(V=YV()){return/firefox\//i.test(V)}function oG(V=YV()){let U=V.toLowerCase();return U.includes("safari/")&&!U.includes("chrome/")&&!U.includes("crios/")&&!U.includes("android")}function iG(V=YV()){return/crios\//i.test(V)}function bG(V=YV()){return/iemobile/i.test(V)}function OG(V=YV()){return/android/i.test(V)}function SG(V=YV()){return/blackberry/i.test(V)}function zG(V=YV()){return/webos/i.test(V)}function re(V=YV()){return/iphone|ipad|ipod/i.test(V)||/macintosh/i.test(V)&&/mobile/i.test(V)}function TF(V=YV()){return re(V)&&!!window.navigator?.standalone}function ZF(){return jn()&&document.documentMode===10}function uG(V=YV()){return re(V)||OG(V)||zG(V)||SG(V)||/windows phone/i.test(V)||bG(V)}function jG(V,U=[]){let W;switch(V){case"Browser":W=Xc(YV());break;case"Worker":W=`${Xc(YV())}-${V}`;break;default:W=V}let T=U.length?U.join(","):"FirebaseCore-web";return`${W}/JsCore/${Mo}/${T}`}var ue=class{constructor(U){this.auth=U,this.queue=[]}pushCallback(U,W){let T=o=>new Promise((i,b)=>{try{let O=U(o);i(O)}catch(O){b(O)}});T.onAbort=W,this.queue.push(T);let Z=this.queue.length-1;return()=>{this.queue[Z]=()=>Promise.resolve()}}async runMiddleware(U){if(this.auth.currentUser===U)return;let W=[];try{for(let T of this.queue)await T(U),T.onAbort&&W.push(T.onAbort)}catch(T){W.reverse();for(let Z of W)try{Z()}catch{}throw this.auth._errorFactory.create("login-blocked",{originalMessage:T?.message})}}};async function oF(V,U={}){return LV(V,"GET","/v2/passwordPolicy",PV(V,U))}var iF=6,je=class{constructor(U){let W=U.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=W.minPasswordLength??iF,W.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=W.maxPasswordLength),W.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=W.containsLowercaseCharacter),W.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=W.containsUppercaseCharacter),W.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=W.containsNumericCharacter),W.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=W.containsNonAlphanumericCharacter),this.enforcementState=U.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=U.allowedNonAlphanumericCharacters?.join("")??"",this.forceUpgradeOnSignin=U.forceUpgradeOnSignin??!1,this.schemaVersion=U.schemaVersion}validatePassword(U){let W={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(U,W),this.validatePasswordCharacterOptions(U,W),W.isValid&&
12(W.isValid=W.meetsMinPasswordLength??!0),W.isValid&&(W.isValid=W.meetsMaxPasswordLength??!0),W.isValid&&(W.isValid=W.containsLowercaseLetter??!0),W.isValid&&(W.isValid=W.containsUppercaseLetter??!0),W.isValid&&(W.isValid=W.containsNumericCharacter??!0),W.isValid&&(W.isValid=W.containsNonAlphanumericCharacter??!0),W}validatePasswordLengthOptions(U,W){let T=this.customStrengthOptions.minPasswordLength,Z=this.customStrengthOptions.maxPasswordLength;T&&(W.meetsMinPasswordLength=U.length>=T),Z&&(W.meetsMaxPasswordLength=U.length<=Z)}validatePasswordCharacterOptions(U,W){this.updatePasswordCharacterOptionsStatuses(W,!1,!1,!1,!1);let T;for(let Z=0;Z<U.length;Z++)T=U.charAt(Z),this.updatePasswordCharacterOptionsStatuses(W,T>="a"&&T<="z",T>="A"&&T<="Z",T>="0"&&T<="9",this.allowedNonAlphanumericCharacters.includes(T))}updatePasswordCharacterOptionsStatuses(U,W,T,Z,o){this.customStrengthOptions.containsLowercaseLetter&&(U.containsLowercaseLetter||(U.containsLowercaseLetter=W)),this.customStrengthOptions.containsUppercaseLetter&&(U.containsUppercaseLetter||(U.containsUppercaseLetter=T)),this.customStrengthOptions.containsNumericCharacter&&(U.containsNumericCharacter||(U.containsNumericCharacter=Z)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(U.containsNonAlphanumericCharacter||(U.containsNonAlphanumericCharacter=o))}};var qe=class{constructor(U,W,T,Z){this.app=U,this.heartbeatServiceProvider=W,this.appCheckServiceProvider=T,this.config=Z,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new rq(this),this.idTokenSubscription=new rq(this),this.beforeStateQueue=new ue(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=Lc,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=U.name,this.clientVersion=Z.sdkClientVersion,this._persistenceManagerAvailable=new Promise(o=>this._resolvePersistenceManagerAvailable=o)}_initializeWithPersistence(U,W){return W&&(this._popupRedirectResolver=XZ(W)),this._initializationPromise=this.queue(async()=>{if(!this._deleted&&(this.persistenceManager=await Gq.create(this,U),this._resolvePersistenceManagerAvailable?.(),!this._deleted)){if(this._popupRedirectResolver?._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch{}await this.initializeCurrentUser(W),this.lastNotifiedUid=this.currentUser?.uid||null,!this._deleted&&(this._isInitialized=!0)}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;let U=await this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!U)){if(this.currentUser&&U&&this.currentUser.uid===U.uid){this._currentUser._assign(U),await this.currentUser.getIdToken();return}await this._updateCurrentUser(U,!0)}}async initializeCurrentUserFromIdToken(U){try{let W=await nq(this,{idToken:U}),T=await Go._fromGetAccountInfoResponse(this,W,U);await this.directlySetCurrentUser(T)}catch(W){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",W),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(U){if(jW(this.app)){let o=this.app.settings.authIdToken;return o?new Promise(i=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(o).then(i,i))}):this.directlySetCurrentUser(null)}let W=await this.assertedPersistence.getCurrentUser(),T=W,Z=!1;if(U&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();let o=this.redirectUser?._redirectEventId,i=T?._redirectEventId,b=await this.tryRedirectSignIn(U);(!o||o===i)&&b?.user&&(T=b.user,Z=!0)}if(!T)return this.directlySetCurrentUser(null);if(!T._redirectEventId){if(Z)try{await this.beforeStateQueue.runMiddleware(T)}catch(o){T=W,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(o))}return T?this.reloadAndSetCurrentUserOrClear(T):this.directlySetCurrentUser(null)}return B(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===T._redirectEventId?this.directlySetCurrentUser(T):this.reloadAndSetCurrentUserOrClear(T)}async tryRedirectSignIn(U){let W=null;try{W=await this._popupRedirectResolver._completeRedirectFn(this,U,!0)}catch{await this._setRedirectUser(null)}return W}async reloadAndSetCurrentUserOrClear(U){try{await Hq(U)}catch(W){if(W?.code!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(U)}useDeviceLanguage(){this.languageCode=yd()}async _delete(){this._deleted=!0}
12async updateCurrentUser(U){if(jW(this.app))return Promise.reject(hZ(this));let W=U?XV(U):null;return W&&B(W.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(W&&W._clone(this))}async _updateCurrentUser(U,W=!1){if(!this._deleted)return U&&B(this.tenantId===U.tenantId,this,"tenant-id-mismatch"),W||await this.beforeStateQueue.runMiddleware(U),this.queue(async()=>{await this.directlySetCurrentUser(U),this.notifyAuthListeners()})}async signOut(){return jW(this.app)?Promise.reject(hZ(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(U){return jW(this.app)?Promise.reject(hZ(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(XZ(U))})}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(U){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();let W=this._getPasswordPolicyInternal();return W.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):W.validatePassword(U)}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){let U=await oF(this),W=new je(U);this.tenantId===null?this._projectPasswordPolicy=W:this._tenantPasswordPolicies[this.tenantId]=W}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(U){this._errorFactory=new HZ("auth","Firebase",U())}onAuthStateChanged(U,W,T){return this.registerStateListener(this.authStateSubscription,U,W,T)}beforeAuthStateChanged(U,W){return this.beforeStateQueue.pushCallback(U,W)}onIdTokenChanged(U,W,T){return this.registerStateListener(this.idTokenSubscription,U,W,T)}authStateReady(){return new Promise((U,W)=>{if(this.currentUser)U();else{let T=this.onAuthStateChanged(()=>{T(),U()},W)}})}async revokeAccessToken(U){if(this.currentUser){let W=await this.currentUser.getIdToken(),T={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:U,idToken:W};this.tenantId!=null&&(T.tenantId=this.tenantId),await WF(this,T)}}toJSON(){return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:this._currentUser?.toJSON()}}async _setRedirectUser(U,W){let T=await this.getOrInitRedirectPersistenceManager(W);return U===null?T.removeCurrentUser():T.setCurrentUser(U)}async getOrInitRedirectPersistenceManager(U){if(!this.redirectPersistenceManager){let W=U&&XZ(U)||this._popupRedirectResolver;B(W,this,"argument-error"),this.redirectPersistenceManager=await Gq.create(this,[XZ(W._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(U){return this._isInitialized&&await this.queue(async()=>{}),this._currentUser?._redirectEventId===U?this._currentUser:this.redirectUser?._redirectEventId===U?this.redirectUser:null}async _persistUserIfCurrent(U){if(U===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(U))}_notifyListenersIfCurrent(U){U===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);let U=this.currentUser?.uid??null;this.lastNotifiedUid!==U&&(this.lastNotifiedUid=U,this.authStateSubscription.next(this.currentUser))}registerStateListener(U,W,T,Z){if(this._deleted)return()=>{};let o=typeof W=="function"?W:W.next.bind(W),i=!1,b=this._isInitialized?Promise.resolve():this._initializationPromise;if(B(b,this,"internal-error"),b.then(()=>{i||o(this.currentUser)}),typeof W=="function"){let O=U.addObserver(W,T,Z);return()=>{i=!0,O()}}else{let O=U.addObserver(W);return()=>{i=!0,O()}}}async directlySetCurrentUser(U){this.currentUser&&this.currentUser!==U&&this._currentUser._stopProactiveRefresh(),U&&this.isProactiveRefreshEnabled&&U._startProactiveRefresh(),this.currentUser=U,U?await this.assertedPersistence.setCurrentUser(U):await this.assertedPersistence.removeCurrentUser()}queue(U){return this.operations=this.operations.then(U,U),this.operations}get assertedPersistence(){return B(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(U){!U||this.frameworks.includes(U)||(this.frameworks.push(U),this.frameworks.sort(),this.clientVersion=jG(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){let U={"X-Client-Version":this.clientVersion};this.app.options.appId&&(U["X-Firebase-gmpid"]=this.app.options.appId);let W=await this.heartbeatServiceProvider.getImmediate({optional:!0})?.getHeartbeatsHeader();W&&(U["X-Firebase-Client"]=W);let T=await this._getAppCheckToken();return T&&(U["X-Firebase-AppCheck"]=T),U}async _getAppCheckToken(){if(jW(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;let U=await this.appCheckServiceProvider.getImmediate({optional:!0})?.getToken();return U?.error&&wc(`Error while retrieving App Check token: ${U.error}`),U?.token}};function xo(V){return XV(V)}var rq=class{constructor(U){this.auth=U,this.observer=null,this.addObserver=_n(W=>this.observer=W)}get next(){return B(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}};var sq={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function bF(V){sq=V}function qG(V){return sq.loadJS(V)}function OF(){return sq.recaptchaEnterpriseScript}function SF(){return sq.gapiScript}function RG(V){return`__${V}${Math.floor(Math.random()*1e6)}`}var Re=class{constructor(){this.enterprise=new Pe}ready(U){U()}execute(U,W){return Promise.resolve("token")}render(U,W){return""}},Pe=class{ready(U){U()}execute(U,W){return Promise.resolve("token")}render(U,W){return""}};var zF="recaptcha-enterprise",Mz="NO_RECAPTCHA",hc="onFirebaseAuthREInstanceReady",cz=class V{constructor(U){this.type=zF,this.auth=xo(U)}async verify(U="verify",W=!1){async function T(o){if(!W){if(o.tenantId==null&&o._agentRecaptchaConfig!=null)return o._agentRecaptchaConfig.siteKey;if(o.tenantId!=null&&o._tenantRecaptchaConfigs[o.tenantId]!==void 0)return o._tenantRecaptchaConfigs[o.tenantId].siteKey}return new Promise(async(i,b)=>
12{UG(o,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(O=>{if(O.recaptchaKey===void 0)b(new Error("recaptcha Enterprise site key undefined"));else{let S=new Qq(O);return o.tenantId==null?o._agentRecaptchaConfig=S:o._tenantRecaptchaConfigs[o.tenantId]=S,i(S.siteKey)}}).catch(O=>{b(O)})})}function Z(o,i,b){let O=window.grecaptcha;xc(O)?O.enterprise.ready(()=>{O.enterprise.execute(o,{action:U}).then(S=>{i(S)}).catch(()=>{i(Mz)})}):b(Error("No reCAPTCHA enterprise script loaded."))}return this.auth.settings.appVerificationDisabledForTesting?new Re().execute("siteKey",{action:"verify"}):new Promise((o,i)=>{T(this.auth).then(async b=>{if(!W&&xc(window.grecaptcha)&&V.scriptInjectionDeferred)await V.scriptInjectionDeferred.promise,Z(b,o,i);else{if(typeof window>"u"){i(new Error("RecaptchaVerifier is only supported in browser"));return}let O=OF();O.length!==0&&(O+=b+`&onload=${hc}`),V.scriptInjectionDeferred=new BT,window[hc]=()=>{V.scriptInjectionDeferred?.resolve()},qG(O).then(()=>V.scriptInjectionDeferred?.promise).then(()=>{Z(b,o,i)}).catch(S=>{i(S)})}}).catch(b=>{i(b)})})}};cz.scriptInjectionDeferred=null;async function _z(V,U,W,T=!1,Z=!1){let o=new cz(V),i;if(Z)i=Mz;else try{i=await o.verify(W)}catch{i=await o.verify(W,!0)}let b={...U};if(W==="mfaSmsEnrollment"||W==="mfaSmsSignIn"){if("phoneEnrollmentInfo"in b){let O=b.phoneEnrollmentInfo.phoneNumber,S=b.phoneEnrollmentInfo.recaptchaToken;Object.assign(b,{phoneEnrollmentInfo:{phoneNumber:O,recaptchaToken:S,captchaResponse:i,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}else if("phoneSignInInfo"in b){let O=b.phoneSignInInfo.recaptchaToken;Object.assign(b,{phoneSignInInfo:{recaptchaToken:O,captchaResponse:i,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}return b}return T?Object.assign(b,{captchaResp:i}):Object.assign(b,{captchaResponse:i}),Object.assign(b,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(b,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),b}async function Qz(V,U,W,T,Z){if(Z==="EMAIL_PASSWORD_PROVIDER")if(V._getRecaptchaConfig()?.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){let o=await _z(V,U,W,W==="getOobCode");return T(V,o)}else return T(V,U).catch(async o=>{if(o.code==="auth/missing-recaptcha-token"){console.log(`${W} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);let i=await _z(V,U,W,W==="getOobCode");return T(V,i)}else return Promise.reject(o)});else if(Z==="PHONE_PROVIDER")if(V._getRecaptchaConfig()?.isProviderEnabled("PHONE_PROVIDER")){let o=await _z(V,U,W);return T(V,o).catch(async i=>{if(V._getRecaptchaConfig()?.getProviderEnforcementState("PHONE_PROVIDER")==="AUDIT"&&(i.code==="auth/missing-recaptcha-token"||i.code==="auth/invalid-app-credential")){console.log(`Failed to verify with reCAPTCHA Enterprise. Automatically triggering the reCAPTCHA v2 flow to complete the ${W} flow.`);let b=await _z(V,U,W,!1,!0);return T(V,b)}return Promise.reject(i)})}else{let o=await _z(V,U,W,!1,!0);return T(V,o)}else return Promise.reject(Z+" provider is not supported.")}async function uF(V){let U=xo(V),W=await UG(U,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}),T=new Qq(W);U.tenantId==null?U._agentRecaptchaConfig=T:U._tenantRecaptchaConfigs[U.tenantId]=T,T.isAnyProviderEnabled()&&new cz(U).verify()}function PG(V,U){let W=Tz(V,"auth");if(W.isInitialized()){let Z=W.getImmediate(),o=W.getOptions();if(YT(o,U??{}))return Z;cT(Z,"already-initialized")}return W.initialize({options:U})}function jF(V,U){let W=U?.persistence||[],T=(Array.isArray(W)?W:[W]).map(XZ);U?.errorMap&&V._updateErrorMap(U.errorMap),V._initializeWithPersistence(T,U?.popupRedirectResolver)}function JG(V,U,W){let T=xo(V);B(/^https?:\/\//.test(U),T,"invalid-emulator-scheme");let Z=!!W?.disableWarnings,o=$G(U),{host:i,port:b}=qF(U),O=b===null?"":`:${b}`,S={url:`${o}//${i}${O}/`},z=Object.freeze({host:i,port:b,protocol:o.replace(":",""),options:Object.freeze({disableWarnings:Z})});if(!T._canInitEmulator){B(T.config.emulator&&T.emulatorConfig,T,"emulator-config-failed"),B(YT(S,T.config.emulator)&&YT(z,T.emulatorConfig),T,"emulator-config-failed");return}T.config.emulator=S,T.emulatorConfig=z,T.settings.appVerificationDisabledForTesting=!0,mi(i)?Cj(`${o}//${i}${O}
12`):Z||RF()}function $G(V){let U=V.indexOf(":");return U<0?"":V.substr(0,U+1)}function qF(V){let U=$G(V),W=/(\/\/)?([^?#/]+)/.exec(V.substr(U.length));if(!W)return{host:"",port:null};let T=W[2].split("@").pop()||"",Z=/^(\[[^\]]+\])(:|$)/.exec(T);if(Z){let o=Z[1];return{host:o,port:Ac(T.substr(o.length+1))}}else{let[o,i]=T.split(":");return{host:o,port:Ac(i)}}}function Ac(V){if(!V)return null;let U=Number(V);return isNaN(U)?null:U}function RF(){function V(){let U=document.createElement("p"),W=U.style;U.innerText="Running in emulator mode. Do not use with production credentials.",W.position="fixed",W.width="100%",W.backgroundColor="#ffffff",W.border=".1em solid #000000",W.color="#b50000",W.bottom="0px",W.left="0px",W.margin="0px",W.zIndex="10000",W.textAlign="center",U.classList.add("firebase-emulator-warning"),document.body.appendChild(U)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",V):V())}var Ki=class{constructor(U,W){this.providerId=U,this.signInMethod=W}toJSON(){return LT("not implemented")}_getIdTokenResponse(U){return LT("not implemented")}_linkToIdToken(U,W){return LT("not implemented")}_getReauthenticationResolver(U){return LT("not implemented")}};async function PF(V,U){return LV(V,"POST","/v1/accounts:signUp",U)}async function JF(V,U){return ro(V,"POST","/v1/accounts:signInWithPassword",PV(V,U))}async function $F(V,U){return ro(V,"POST","/v1/accounts:signInWithEmailLink",PV(V,U))}async function _F(V,U){return ro(V,"POST","/v1/accounts:signInWithEmailLink",PV(V,U))}var Gz=class V extends Ki{constructor(U,W,T,Z=null){super("password",T),this._email=U,this._password=W,this._tenantId=Z}static _fromEmailAndPassword(U,W){return new V(U,W,"password")}static _fromEmailAndCode(U,W,T=null){return new V(U,W,"emailLink",T)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(U){let W=typeof U=="string"?JSON.parse(U):U;if(W?.email&&W?.password){if(W.signInMethod==="password")return this._fromEmailAndPassword(W.email,W.password);if(W.signInMethod==="emailLink")return this._fromEmailAndCode(W.email,W.password,W.tenantId)}return null}async _getIdTokenResponse(U){switch(this.signInMethod){case"password":let W={returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Qz(U,W,"signInWithPassword",JF,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return $F(U,{email:this._email,oobCode:this._password});default:cT(U,"internal-error")}}async _linkToIdToken(U,W){switch(this.signInMethod){case"password":let T={idToken:W,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Qz(U,T,"signUpPassword",PF,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return _F(U,{idToken:W,email:this._email,oobCode:this._password});default:cT(U,"internal-error")}}_getReauthenticationResolver(U){return this._getIdTokenResponse(U)}};async function PO(V,U){return ro(V,"POST","/v1/accounts:signInWithIdp",PV(V,U))}var eF="http://localhost",Li=class V extends Ki{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(U){let W=new V(U.providerId,U.signInMethod);return U.idToken||U.accessToken?(U.idToken&&(W.idToken=U.idToken),U.accessToken&&(W.accessToken=U.accessToken),U.nonce&&!U.pendingToken&&(W.nonce=U.nonce),U.pendingToken&&(W.pendingToken=U.pendingToken)):U.oauthToken&&U.oauthTokenSecret?(W.accessToken=U.oauthToken,W.secret=U.oauthTokenSecret):cT("argument-error"),W}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
12once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(U){let W=typeof U=="string"?JSON.parse(U):U,{providerId:T,signInMethod:Z,...o}=W;if(!T||!Z)return null;let i=new V(T,Z);return i.idToken=o.idToken||void 0,i.accessToken=o.accessToken||void 0,i.secret=o.secret,i.nonce=o.nonce,i.pendingToken=o.pendingToken||null,i}_getIdTokenResponse(U){let W=this.buildRequest();return PO(U,W)}_linkToIdToken(U,W){let T=this.buildRequest();return T.idToken=W,PO(U,T)}_getReauthenticationResolver(U){let W=this.buildRequest();return W.autoCreate=!1,PO(U,W)}buildRequest(){let U={requestUri:eF,returnSecureToken:!0};if(this.pendingToken)U.pendingToken=this.pendingToken;else{let W={};this.idToken&&(W.id_token=this.idToken),this.accessToken&&(W.access_token=this.accessToken),this.secret&&(W.oauth_token_secret=this.secret),W.providerId=this.providerId,this.nonce&&!this.pendingToken&&(W.nonce=this.nonce),U.postBody=eo(W)}return U}};async function Nc(V,U){return LV(V,"POST","/v1/accounts:sendVerificationCode",PV(V,U))}async function IF(V,U){return ro(V,"POST","/v1/accounts:signInWithPhoneNumber",PV(V,U))}async function tF(V,U){let W=await ro(V,"POST","/v1/accounts:signInWithPhoneNumber",PV(V,U));if(W.temporaryProof)throw ez(V,"account-exists-with-different-credential",W);return W}var MF={USER_NOT_FOUND:"user-not-found"};async function QF(V,U){let W={...U,operation:"REAUTH"};return ro(V,"POST","/v1/accounts:signInWithPhoneNumber",PV(V,W),MF)}var rz=class V extends Ki{constructor(U){super("phone","phone"),this.params=U}static _fromVerification(U,W){return new V({verificationId:U,verificationCode:W})}static _fromTokenResponse(U,W){return new V({phoneNumber:U,temporaryProof:W})}_getIdTokenResponse(U){return IF(U,this._makeVerificationRequest())}_linkToIdToken(U,W){return tF(U,{idToken:W,...this._makeVerificationRequest()})}_getReauthenticationResolver(U){return QF(U,this._makeVerificationRequest())}_makeVerificationRequest(){let{temporaryProof:U,phoneNumber:W,verificationId:T,verificationCode:Z}=this.params;return U&&W?{temporaryProof:U,phoneNumber:W}:{sessionInfo:T,code:Z}}toJSON(){let U={providerId:this.providerId};return this.params.phoneNumber&&(U.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(U.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(U.verificationCode=this.params.verificationCode),this.params.verificationId&&(U.verificationId=this.params.verificationId),U}static fromJSON(U){typeof U=="string"&&(U=JSON.parse(U));let{verificationId:W,verificationCode:T,phoneNumber:Z,temporaryProof:o}=U;return!T&&!W&&!Z&&!o?null:new V({verificationId:W,verificationCode:T,phoneNumber:Z,temporaryProof:o})}};function nF(V){switch(V){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}function HF(V){let U=UO(VO(V)).link,W=U?UO(VO(U)).deep_link_id:null,T=UO(VO(V)).deep_link_id;return(T?UO(VO(T)).link:null)||T||W||U||V}var xz=class V{constructor(U){let W=UO(VO(U)),T=W.apiKey??null,Z=W.oobCode??null,o=nF(W.mode??null);B(T&&Z&&o,"argument-error"),this.apiKey=T,this.operation=o,this.code=Z,this.continueUrl=W.continueUrl??null,this.languageCode=W.lang??null,this.tenantId=W.tenantId??null}static parseLink(U){let W=HF(U);try{return new V(W)}catch{return null}}};var wi=class V{constructor(){this.providerId=V.PROVIDER_ID}static credential(U,W){return Gz._fromEmailAndPassword(U,W)}static credentialWithLink(U,W){let T=xz.parseLink(W);return B(T,"argument-error"),Gz._fromEmailAndCode(U,T.code,T.tenantId)}};wi.PROVIDER_ID="password";wi.EMAIL_PASSWORD_SIGN_IN_METHOD="password";wi.EMAIL_LINK_SIGN_IN_METHOD="emailLink";var xq=class{constructor(U){this.providerId=U,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(U){this.defaultLanguageCode=U}setCustomParameters(U){return this.customParameters=U,this}getCustomParameters(){return this.customParameters}};var Di=class extends xq{constructor(){super(...arguments),this.scopes=[]}addScope(U){return this.scopes.includes(U)||this.scopes.push(U),this}getScopes(){return[...this.scopes]}};var Ez=class V extends Di{constructor(){super("facebook.com")}static credential(U){return Li._fromParams({providerId:V.PROVIDER_ID,signInMethod:V.FACEBOOK_SIGN_IN_METHOD,accessToken:U})}static credentialFromResult(U){return V.credentialFromTaggedObject(U)}static credentialFromError(U){return V.credentialFromTaggedObject(U.customData||{})}
12static credentialFromTaggedObject({_tokenResponse:U}){if(!U||!("oauthAccessToken"in U)||!U.oauthAccessToken)return null;try{return V.credential(U.oauthAccessToken)}catch{return null}}};Ez.FACEBOOK_SIGN_IN_METHOD="facebook.com";Ez.PROVIDER_ID="facebook.com";var kz=class V extends Di{constructor(){super("google.com"),this.addScope("profile")}static credential(U,W){return Li._fromParams({providerId:V.PROVIDER_ID,signInMethod:V.GOOGLE_SIGN_IN_METHOD,idToken:U,accessToken:W})}static credentialFromResult(U){return V.credentialFromTaggedObject(U)}static credentialFromError(U){return V.credentialFromTaggedObject(U.customData||{})}static credentialFromTaggedObject({_tokenResponse:U}){if(!U)return null;let{oauthIdToken:W,oauthAccessToken:T}=U;if(!W&&!T)return null;try{return V.credential(W,T)}catch{return null}}};kz.GOOGLE_SIGN_IN_METHOD="google.com";kz.PROVIDER_ID="google.com";var Xz=class V extends Di{constructor(){super("github.com")}static credential(U){return Li._fromParams({providerId:V.PROVIDER_ID,signInMethod:V.GITHUB_SIGN_IN_METHOD,accessToken:U})}static credentialFromResult(U){return V.credentialFromTaggedObject(U)}static credentialFromError(U){return V.credentialFromTaggedObject(U.customData||{})}static credentialFromTaggedObject({_tokenResponse:U}){if(!U||!("oauthAccessToken"in U)||!U.oauthAccessToken)return null;try{return V.credential(U.oauthAccessToken)}catch{return null}}};Xz.GITHUB_SIGN_IN_METHOD="github.com";Xz.PROVIDER_ID="github.com";var hz=class V extends Di{constructor(){super("twitter.com")}static credential(U,W){return Li._fromParams({providerId:V.PROVIDER_ID,signInMethod:V.TWITTER_SIGN_IN_METHOD,oauthToken:U,oauthTokenSecret:W})}static credentialFromResult(U){return V.credentialFromTaggedObject(U)}static credentialFromError(U){return V.credentialFromTaggedObject(U.customData||{})}static credentialFromTaggedObject({_tokenResponse:U}){if(!U)return null;let{oauthAccessToken:W,oauthTokenSecret:T}=U;if(!W||!T)return null;try{return V.credential(W,T)}catch{return null}}};hz.TWITTER_SIGN_IN_METHOD="twitter.com";hz.PROVIDER_ID="twitter.com";async function cF(V,U){return ro(V,"POST","/v1/accounts:signUp",PV(V,U))}var fi=class V{constructor(U){this.user=U.user,this.providerId=U.providerId,this._tokenResponse=U._tokenResponse,this.operationType=U.operationType}static async _fromIdTokenResponse(U,W,T,Z=!1){let o=await Go._fromIdTokenResponse(U,T,Z),i=mc(T);return new V({user:o,providerId:i,_tokenResponse:T,operationType:W})}static async _forOperation(U,W,T){await U._updateTokensIfNecessary(T,!0);let Z=mc(T);return new V({user:U,providerId:Z,_tokenResponse:T,operationType:W})}};function mc(V){return V.providerId?V.providerId:"phoneNumber"in V?"phone":null}async function mz(V){if(jW(V.app))return Promise.reject(hZ(V));let U=xo(V);if(await U._initializationPromise,U.currentUser?.isAnonymous)return new fi({user:U.currentUser,providerId:null,operationType:"signIn"});let W=await cF(U,{returnSecureToken:!0}),T=await fi._fromIdTokenResponse(U,"signIn",W,!0);return await U._updateCurrentUser(T.user),T}var Je=class V extends MT{constructor(U,W,T,Z){super(W.code,W.message),this.operationType=T,this.user=Z,Object.setPrototypeOf(this,V.prototype),this.customData={appName:U.name,tenantId:U.tenantId??void 0,_serverResponse:W.customData._serverResponse,operationType:T}}static _fromErrorAndOperation(U,W,T,Z){return new V(U,W,T,Z)}};function _G(V,U,W,T){return(U==="reauthenticate"?W._getReauthenticationResolver(V):W._getIdTokenResponse(V)).catch(o=>{throw o.code==="auth/multi-factor-auth-required"?Je._fromErrorAndOperation(V,o,U,T):o})}async function GF(V,U,W=!1){let T=await nz(V,U._linkToIdToken(V.auth,await V.getIdToken()),W);return fi._forOperation(V,"link",T)}async function rF(V,U,W=!1){let{auth:T}=V;if(jW(T.app))return Promise.reject(hZ(T));let Z="reauthenticate";try{let o=await nz(V,_G(T,Z,U,V),W);B(o.idToken,T,"internal-error");let i=Ge(o.idToken);B(i,T,"internal-error");let{sub:b}=i;return B(V.uid===b,T,"user-mismatch"),fi._forOperation(V,Z,o)}catch(o){throw o?.code==="auth/user-not-found"&&cT(T,"user-mismatch"),o}}async function eG(V,U,W=!1){if(jW(V.app))return Promise.reject(hZ(V));let T="signIn",Z=await _G(V,T,U),o=await fi._fromIdTokenResponse(V,T,Z);return W||await V._updateCurrentUser(o.user),o}async function IG(V,U){return eG(xo(V),U)}function xe(V,U){return xz.parseLink(U)?.operation==="EMAIL_SIGNIN"}async function Ee(V,U,W){if(jW(V.app))return Promise.reject(hZ(V));let T=XV(V),Z=wi.credentialWithLink(U,W||tq());return B(Z._tenantId===(T.tenantId||null),T,"tenant-id-mismatch"),IG(T,Z)}function ke(V,U){return XV(V).setPersistence(U)}function pq(V,U,W,T){return XV(V).onIdTokenChanged(U,W,T)}function tG(V,U,W){return XV(V).beforeAuthStateChanged(U,W)}function lc(V,U){return LV(V,"POST","/v2/accounts/mfaEnrollment:start",PV(V,U))}function xF(V,U){return LV(V,"POST","/v2/accounts/mfaEnrollment:finalize",PV(V,U))}function EF(V,U){return LV(V,"POST","/v2/accounts/mfaEnrollment:start",PV(V,U))}function kF(V,U){return LV(V,"POST","/v2/accounts/mfaEnrollment:finalize",PV(V,U))}var Eq="__sak";var kq=class{constructor(U,W){this.storageRetriever=U,this.type=W}_isAvailable(){try{return this.storage?(this.storage.setItem(Eq,"1"),this.storage.removeItem(Eq),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(U,W){return this.storage.setItem(U,JSON.stringify(W)),Promise.resolve()}_get(U){let W=this.storage.getItem(U);return Promise.resolve(W?JSON.parse(W):null)}_remove(U){return this.storage.removeItem(U),Promise.resolve()}get storage(){return this.storageRetriever()}};
12var XF=1e3,hF=10,Xq=class extends kq{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(U,W)=>this.onStorageEvent(U,W),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=uG(),this._shouldAllowMigration=!0}forAllChangedKeys(U){for(let W of Object.keys(this.listeners)){let T=this.storage.getItem(W),Z=this.localCache[W];T!==Z&&U(W,Z,T)}}onStorageEvent(U,W=!1){if(!U.key){this.forAllChangedKeys((i,b,O)=>{this.notifyListeners(i,O)});return}let T=U.key;W?this.detachListener():this.stopPolling();let Z=()=>{let i=this.storage.getItem(T);!W&&this.localCache[T]===i||this.notifyListeners(T,i)},o=this.storage.getItem(T);ZF()&&o!==U.newValue&&U.newValue!==U.oldValue?setTimeout(Z,hF):Z()}notifyListeners(U,W){this.localCache[U]=W;let T=this.listeners[U];if(T)for(let Z of Array.from(T))Z(W&&JSON.parse(W))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((U,W,T)=>{this.onStorageEvent(new StorageEvent("storage",{key:U,oldValue:W,newValue:T}),!0)})},XF)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(U,W){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[U]||(this.listeners[U]=new Set,this.localCache[U]=this.storage.getItem(U)),this.listeners[U].add(W)}_removeListener(U,W){this.listeners[U]&&(this.listeners[U].delete(W),this.listeners[U].size===0&&delete this.listeners[U]),Object.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}async _set(U,W){await super._set(U,W),this.localCache[U]=JSON.stringify(W)}async _get(U){let W=await super._get(U);return this.localCache[U]=JSON.stringify(W),W}async _remove(U){await super._remove(U),delete this.localCache[U]}};Xq.type="LOCAL";var MG=Xq;var AF=1e3;function Ze(V){let U=V.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),W=RegExp(`${U}=([^;]+)`);return document.cookie.match(W)?.[1]??null}function oe(V){return`${window.location.protocol==="http:"?"__dev_":"__HOST-"}FIREBASE_${V.split(":")[3]}`}var $e=class{constructor(){this.type="COOKIE",this.listenerUnsubscribes=new Map}_getFinalTarget(U){if(typeof window===void 0)return U;let W=new URL(`${window.location.origin}/__cookies__`);return W.searchParams.set("finalTarget",U),W}async _isAvailable(){return typeof isSecureContext=="boolean"&&!isSecureContext||typeof navigator>"u"||typeof document>"u"?!1:navigator.cookieEnabled??!0}async _set(U,W){}async _get(U){if(!this._isAvailable())return null;let W=oe(U);return window.cookieStore?(await window.cookieStore.get(W))?.value:Ze(W)}async _remove(U){if(!this._isAvailable()||!await this._get(U))return;let T=oe(U);document.cookie=`${T}=;Max-Age=34560000;Partitioned;Secure;SameSite=Strict;Path=/;Priority=High`,await fetch("/__cookies__",{method:"DELETE"}).catch(()=>{})}_addListener(U,W){if(!this._isAvailable())return;let T=oe(U);if(window.cookieStore){let b=(S=>{let z=S.changed.find(q=>q.name===T);z&&W(z.value),S.deleted.find(q=>q.name===T)&&W(null)}),O=()=>window.cookieStore.removeEventListener("change",b);return this.listenerUnsubscribes.set(W,O),window.cookieStore.addEventListener("change",b)}let Z=Ze(T),o=setInterval(()=>{let b=Ze(T);b!==Z&&(W(b),Z=b)},AF),i=()=>clearInterval(o);this.listenerUnsubscribes.set(W,i)}_removeListener(U,W){let T=this.listenerUnsubscribes.get(W);T&&(T(),this.listenerUnsubscribes.delete(W))}};$e.type="COOKIE";var hq=class extends kq{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(U,W){}_removeListener(U,W){}};hq.type="SESSION";var lz=hq;function NF(V){return Promise.all(V.map(async U=>{try{return{fulfilled:!0,value:await U}}catch(W){return{fulfilled:!1,reason:W}}}))}var Aq=class V{constructor(U){this.eventTarget=U,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(U){let W=this.receivers.find(Z=>Z.isListeningto(U));if(W)return W;let T=new V(U);return this.receivers.push(T),T}isListeningto(U){return this.eventTarget===U}async handleEvent(U){let W=U,{eventId:T,eventType:Z,data:o}=W.data,i=this.handlersMap[Z];if(!i?.size)return;W.ports[0].postMessage({status:"ack",eventId:T,eventType:Z});let b=Array.from(i).map(async S=>S(W.origin,o)),O=await NF(b);W.ports[0].postMessage({status:"done",eventId:T,eventType:Z,response:O})}_subscribe(U,W){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[U]||(this.handlersMap[U]=new Set),this.handlersMap[U].add(W)}_unsubscribe(U,W){this.handlersMap[U]&&W&&this.handlersMap[U].delete(W),(!W||this.handlersMap[U].size===0)&&delete this.handlersMap[U],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}};Aq.receivers=[];function Xe(V="",U=10){let W="";for(let T=0;T<U;T++)W+=Math.floor(Math.random()*10);return V+W}var _e=class{constructor(U){this.target=U,this.handlers=new Set}removeMessageHandler(U){U.messageChannel&&(U.messageChannel.port1.removeEventListener("message",U.onMessage),U.messageChannel.port1.close()),this.handlers.delete(U)}async _send(U,W,T=50){let Z=typeof MessageChannel<"u"?new MessageChannel:null;if(!Z)throw new Error("connection_unavailable");let o,i;return new Promise((b,O)=>{let S=Xe("",20);Z.port1.start();let z=setTimeout(()=>{O(new Error("unsupported_event"))},T);i={messageChannel:Z,onMessage(u){let q=u;if(q.data.eventId===S)switch(q.data.status){case"ack":clearTimeout(z),o=setTimeout(()=>{O(new Error("timeout"))},3e3);break;case"done":clearTimeout(o),b(q.data.response);break;default:clearTimeout(z),clearTimeout(o),O(new Error("invalid_response"));break}}},this.handlers.add(i),Z.port1.addEventListener("message",i.onMessage),this.target.postMessage({eventType:U,eventId:S,data:W},[Z.port2])}).finally(()=>{i&&this.removeMessageHandler(i)})}};function DT(){return window}
12function mF(V){DT().location.href=V}function QG(){return typeof DT().WorkerGlobalScope<"u"&&typeof DT().importScripts=="function"}async function lF(){if(!navigator?.serviceWorker)return null;try{return(await navigator.serviceWorker.ready).active}catch{return null}}function dF(){return navigator?.serviceWorker?.controller||null}function FF(){return QG()?self:null}var nG="firebaseLocalStorageDb",aF=1,Nq="firebaseLocalStorage",HG="fbase_key",gi=class{constructor(U){this.request=U}toPromise(){return new Promise((U,W)=>{this.request.addEventListener("success",()=>{U(this.request.result)}),this.request.addEventListener("error",()=>{W(this.request.error)})})}};function Yq(V,U){return V.transaction([Nq],U?"readwrite":"readonly").objectStore(Nq)}function CF(){let V=indexedDB.deleteDatabase(nG);return new gi(V).toPromise()}function cG(){let V=indexedDB.open(nG,aF);return new Promise((U,W)=>{V.addEventListener("error",()=>{W(V.error)}),V.addEventListener("upgradeneeded",()=>{let T=V.result;try{T.createObjectStore(Nq,{keyPath:HG})}catch(Z){W(Z)}}),V.addEventListener("success",async()=>{let T=V.result;T.objectStoreNames.contains(Nq)?U(T):(T.close(),await CF(),U(await cG()))})})}async function dc(V,U,W){let T=Yq(V,!0).put({[HG]:U,value:W});return new gi(T).toPromise()}async function vF(V,U){let W=Yq(V,!1).get(U),T=await new gi(W).toPromise();return T===void 0?null:T.value}function Fc(V,U){let W=Yq(V,!0).delete(U);return new gi(W).toPromise()}var BF=800,sF=3,mq=class{registerLifecycleListeners(){typeof window<"u"&&typeof window.addEventListener=="function"&&(window.addEventListener("pagehide",this.onPageHide),window.addEventListener("pageshow",this.onPageShow))}unregisterLifecycleListeners(){typeof window<"u"&&typeof window.removeEventListener=="function"&&(window.removeEventListener("pagehide",this.onPageHide),window.removeEventListener("pageshow",this.onPageShow))}constructor(){this.type="LOCAL",this.dbPromise=null,this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.isClosing=!1,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this.onPageHide=()=>{this.isClosing=!0,this.stopPolling(),this.dbPromise&&(this.dbPromise.then(U=>U.close()).catch(()=>{}),this.dbPromise=null)},this.onPageShow=()=>{this.isClosing&&(this.isClosing=!1,Object.keys(this.listeners).length>0&&this.startPolling())},this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){if(this.isClosing)throw new Error("Database is closing");return this.dbPromise?this.dbPromise:(this.dbPromise=cG(),this.dbPromise.catch(()=>{this.dbPromise=null}),this.dbPromise)}async _withRetries(U){let W=0;for(;;)try{let T=await this._openDb();return await U(T)}catch(T){if(this.isClosing||W++>sF)throw T;this.dbPromise&&((await this.dbPromise).close(),this.dbPromise=null)}}async initializeServiceWorkerMessaging(){return QG()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Aq._getInstance(FF()),this.receiver._subscribe("keyChanged",async(U,W)=>({keyProcessed:(await this._poll()).includes(W.key)})),this.receiver._subscribe("ping",async(U,W)=>["keyChanged"])}async initializeSender(){if(this.activeServiceWorker=await lF(),!this.activeServiceWorker)return;this.sender=new _e(this.activeServiceWorker);let U=await this.sender._send("ping",{},800);U&&U[0]?.fulfilled&&U[0]?.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(U){if(!(!this.sender||!this.activeServiceWorker||dF()!==this.activeServiceWorker))try{await this.sender._send("keyChanged",{key:U},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{return indexedDB?(await this._withRetries(async U=>{await dc(U,Eq,"1"),await Fc(U,Eq)}),!0):!1}catch{}return!1}async _withPendingWrite(U){this.pendingWrites++;try{await U()}finally{this.pendingWrites--}}async _set(U,W){return this._withPendingWrite(async()=>(await this._withRetries(T=>dc(T,U,W)),this.localCache[U]=W,this.notifyServiceWorker(U)))}async _get(U){let W=await this._withRetries(T=>vF(T,U));return this.localCache[U]=W,W}async _remove(U){return this._withPendingWrite(async()=>(await this._withRetries(W=>Fc(W,U)),delete this.localCache[U],this.notifyServiceWorker(U)))}async _poll(){if(this.isClosing)return[];try{let U=await this._withRetries(Z=>{let o=Yq(Z,!1).getAll();return new gi(o).toPromise()});if(this.isClosing)return[];if(!U)return[];if(this.pendingWrites!==0)return[];let W=[],T=new Set;if(U.length!==0)for(let{fbase_key:Z,value:o}of U)T.add(Z),JSON.stringify(this.localCache[Z])!==JSON.stringify(o)&&(this.notifyListeners(Z,o),W.push(Z));for(let Z of Object.keys(this.localCache))this.localCache[Z]&&!T.has(Z)&&(this.notifyListeners(Z,null),W.push(Z));return W}catch(U){return this.isClosing||wc(`Firebase Auth cross-tab polling failed with error: ${U}`),[]}}notifyListeners(U,W){this.localCache[U]=W;let T=this.listeners[U];if(T)for(let Z of Array.from(T))Z(W)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),BF)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(U,W){Object.keys(this.listeners).length===0&&(this.startPolling(),this.registerLifecycleListeners()),this.listeners[U]||(this.listeners[U]=new Set,this._get(U)),this.listeners[U].add(W)}_removeListener(U,W){this.listeners[U]&&(this.listeners[U].delete(W),this.listeners[U].size===0&&delete this.listeners[U]),Object.keys(this.listeners).length===0&&(this.stopPolling(),this.unregisterLifecycleListeners())}};mq.type="LOCAL";var GG=mq;function ac(V,U){return LV(V,"POST","/v2/accounts/mfaSignIn:start",PV(V,U))}function pF(V,U){return LV(V,"POST","/v2/accounts/mfaSignIn:finalize",PV(V,U))}function YF(V,U){return LV(V,"POST","/v2/accounts/mfaSignIn:finalize",PV(V,U))}var r6=RG("rcb"),x6=new yi(3e4,6e4);var $q="recaptcha";async function yF(V,U,W){if(!V._getRecaptchaConfig())try{await uF(V)}catch{console.log("Failed to initialize reCAPTCHA Enterprise config. Triggering the reCAPTCHA v2 verification.")}try{let T;if(typeof U=="string"?T={phoneNumber:U}:T=U,"session"in T){let Z=T.session;if("phoneNumber"in T){B(Z.type==="enroll",V,"internal-error");let o={idToken:Z.credential,phoneEnrollmentInfo:{phoneNumber:T.phoneNumber,clientType:"CLIENT_TYPE_WEB"}};return(await Qz(V,o,"mfaSmsEnrollment",async(S,z)=>{if(z.phoneEnrollmentInfo.captchaResponse===Mz){B(W?.type===$q,S,"argument-error");let u=await ie(S,z,W);return lc(S,u)}return lc(S,z)}
12,"PHONE_PROVIDER").catch(S=>Promise.reject(S))).phoneSessionInfo.sessionInfo}else{B(Z.type==="signin",V,"internal-error");let o=T.multiFactorHint?.uid||T.multiFactorUid;B(o,V,"missing-multi-factor-info");let i={mfaPendingCredential:Z.credential,mfaEnrollmentId:o,phoneSignInInfo:{clientType:"CLIENT_TYPE_WEB"}};return(await Qz(V,i,"mfaSmsSignIn",async(z,u)=>{if(u.phoneSignInInfo.captchaResponse===Mz){B(W?.type===$q,z,"argument-error");let q=await ie(z,u,W);return ac(z,q)}return ac(z,u)},"PHONE_PROVIDER").catch(z=>Promise.reject(z))).phoneResponseInfo.sessionInfo}}else{let Z={phoneNumber:T.phoneNumber,clientType:"CLIENT_TYPE_WEB"};return(await Qz(V,Z,"sendVerificationCode",async(O,S)=>{if(S.captchaResponse===Mz){B(W?.type===$q,O,"argument-error");let z=await ie(O,S,W);return Nc(O,z)}return Nc(O,S)},"PHONE_PROVIDER").catch(O=>Promise.reject(O))).sessionInfo}}finally{W?._reset()}}async function ie(V,U,W){B(W.type===$q,V,"argument-error");let T=await W.verify();B(typeof T=="string",V,"argument-error");let Z={...U};if("phoneEnrollmentInfo"in Z){let o=Z.phoneEnrollmentInfo.phoneNumber,i=Z.phoneEnrollmentInfo.captchaResponse,b=Z.phoneEnrollmentInfo.clientType,O=Z.phoneEnrollmentInfo.recaptchaVersion;return Object.assign(Z,{phoneEnrollmentInfo:{phoneNumber:o,recaptchaToken:T,captchaResponse:i,clientType:b,recaptchaVersion:O}}),Z}else if("phoneSignInInfo"in Z){let o=Z.phoneSignInInfo.captchaResponse,i=Z.phoneSignInInfo.clientType,b=Z.phoneSignInInfo.recaptchaVersion;return Object.assign(Z,{phoneSignInInfo:{recaptchaToken:T,captchaResponse:o,clientType:i,recaptchaVersion:b}}),Z}else return Object.assign(Z,{recaptchaToken:T}),Z}var Az=class V{constructor(U){this.providerId=V.PROVIDER_ID,this.auth=xo(U)}verifyPhoneNumber(U,W){return yF(this.auth,U,XV(W))}static credential(U,W){return rz._fromVerification(U,W)}static credentialFromResult(U){let W=U;return V.credentialFromTaggedObject(W)}static credentialFromError(U){return V.credentialFromTaggedObject(U.customData||{})}static credentialFromTaggedObject({_tokenResponse:U}){if(!U)return null;let{phoneNumber:W,temporaryProof:T}=U;return W&&T?rz._fromTokenResponse(W,T):null}};Az.PROVIDER_ID="phone";Az.PHONE_SIGN_IN_METHOD="phone";function KF(V,U){return U?XZ(U):(B(V._popupRedirectResolver,V,"argument-error"),V._popupRedirectResolver)}var Nz=class extends Ki{constructor(U){super("custom","custom"),this.params=U}_getIdTokenResponse(U){return PO(U,this._buildIdpRequest())}_linkToIdToken(U,W){return PO(U,this._buildIdpRequest(W))}_getReauthenticationResolver(U){return PO(U,this._buildIdpRequest())}_buildIdpRequest(U){let W={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return U&&(W.idToken=U),W}};function LF(V){return eG(V.auth,new Nz(V),V.bypassAuthState)}function wF(V){let{auth:U,user:W}=V;return B(W,U,"internal-error"),rF(W,new Nz(V),V.bypassAuthState)}async function DF(V){let{auth:U,user:W}=V;return B(W,U,"internal-error"),GF(W,new Nz(V),V.bypassAuthState)}var lq=class{constructor(U,W,T,Z,o=!1){this.auth=U,this.resolver=T,this.user=Z,this.bypassAuthState=o,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(W)?W:[W]}execute(){return new Promise(async(U,W)=>{this.pendingPromise={resolve:U,reject:W};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(T){this.reject(T)}})}async onAuthEvent(U){let{urlResponse:W,sessionId:T,postBody:Z,tenantId:o,error:i,type:b}=U;
12if(i){this.reject(i);return}let O={auth:this.auth,requestUri:W,sessionId:T,tenantId:o||void 0,postBody:Z||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(b)(O))}catch(S){this.reject(S)}}onError(U){this.reject(U)}getIdpTask(U){switch(U){case"signInViaPopup":case"signInViaRedirect":return LF;case"linkViaPopup":case"linkViaRedirect":return DF;case"reauthViaPopup":case"reauthViaRedirect":return wF;default:cT(this.auth,"internal-error")}}resolve(U){AZ(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(U),this.unregisterAndCleanUp()}reject(U){AZ(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(U),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}};var fF=new yi(2e3,1e4);var ee=class V extends lq{constructor(U,W,T,Z,o){super(U,W,Z,o),this.provider=T,this.authWindow=null,this.pollId=null,V.currentPopupAction&&V.currentPopupAction.cancel(),V.currentPopupAction=this}async executeNotNull(){let U=await this.execute();return B(U,this.auth,"internal-error"),U}async onExecution(){AZ(this.filter.length===1,"Popup operations only handle one event");let U=Xe();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],U),this.authWindow.associatedEvent=U,this.resolver._originValidation(this.auth).catch(W=>{this.reject(W)}),this.resolver._isIframeWebStorageSupported(this.auth,W=>{W||this.reject(wT(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){return this.authWindow?.associatedEvent||null}cancel(){this.reject(wT(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,V.currentPopupAction=null}pollUserCancellation(){let U=()=>{if(this.authWindow?.window?.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(wT(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(U,fF.get())};U()}};ee.currentPopupAction=null;var gF="pendingRedirect",_q=new Map,Ie=class extends lq{constructor(U,W,T=!1){super(U,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],W,void 0,T),this.eventId=null}async execute(){let U=_q.get(this.auth._key());if(!U){try{let T=await Ua(this.resolver,this.auth)?await super.execute():null;U=()=>Promise.resolve(T)}catch(W){U=()=>Promise.reject(W)}_q.set(this.auth._key(),U)}return this.bypassAuthState||_q.set(this.auth._key(),()=>Promise.resolve(null)),U()}async onAuthEvent(U){if(U.type==="signInViaRedirect")return super.onAuthEvent(U);if(U.type==="unknown"){this.resolve(null);return}if(U.eventId){let W=await this.auth._redirectUserForId(U.eventId);if(W)return this.user=W,super.onAuthEvent(U);this.resolve(null)}}async onExecution(){}cleanUp(){}};async function Ua(V,U){let W=Ta(U),T=Wa(V);if(!await T._isAvailable())return!1;let Z=await T._get(W)==="true";return await T._remove(W),Z}function Va(V,U){_q.set(V._key(),U)}function Wa(V){return XZ(V._redirectPersistence)}function Ta(V){return Jq(gF,V.config.apiKey,V.name)}async function Za(V,U,W=!1){if(jW(V.app))return Promise.reject(hZ(V));let T=xo(V),Z=KF(T,U),i=await new Ie(T,Z,W).execute();return i&&!W&&(delete i.user._redirectEventId,await T._persistUserIfCurrent(i.user),await T._setRedirectUser(null,U)),i}var oa=600*1e3,te=class{constructor(U){this.auth=U,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(U){this.consumers.add(U),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,U
12)&&(this.sendToConsumer(this.queuedRedirectEvent,U),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(U){this.consumers.delete(U)}onEvent(U){if(this.hasEventBeenHandled(U))return!1;let W=!1;return this.consumers.forEach(T=>{this.isEventForConsumer(U,T)&&(W=!0,this.sendToConsumer(U,T),this.saveEventToCache(U))}),this.hasHandledPotentialRedirect||!ia(U)||(this.hasHandledPotentialRedirect=!0,W||(this.queuedRedirectEvent=U,W=!0)),W}sendToConsumer(U,W){if(U.error&&!rG(U)){let T=U.error.code?.split("auth/")[1]||"internal-error";W.onError(wT(this.auth,T))}else W.onAuthEvent(U)}isEventForConsumer(U,W){let T=W.eventId===null||!!U.eventId&&U.eventId===W.eventId;return W.filter.includes(U.type)&&T}hasEventBeenHandled(U){return Date.now()-this.lastProcessedEventTime>=oa&&this.cachedEventUids.clear(),this.cachedEventUids.has(Cc(U))}saveEventToCache(U){this.cachedEventUids.add(Cc(U)),this.lastProcessedEventTime=Date.now()}};function Cc(V){return[V.type,V.eventId,V.sessionId,V.tenantId].filter(U=>U).join("-")}function rG({type:V,error:U}){return V==="unknown"&&U?.code==="auth/no-auth-event"}function ia(V){switch(V.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return rG(V);default:return!1}}async function ba(V,U={}){return LV(V,"GET","/v1/projects",U)}var Oa=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,Sa=/^https?/;async function za(V){if(V.config.emulator)return;let{authorizedDomains:U}=await ba(V);for(let W of U)try{if(ua(W))return}catch{}cT(V,"unauthorized-domain")}function ua(V){let U=tq(),{protocol:W,hostname:T}=new URL(U);if(V.startsWith("chrome-extension://")){let i=new URL(V);return i.hostname===""&&T===""?W==="chrome-extension:"&&V.replace("chrome-extension://","")===U.replace("chrome-extension://",""):W==="chrome-extension:"&&i.hostname===T}if(!Sa.test(W))return!1;if(Oa.test(V))return T===V;let Z=V.replace(/\./g,"\\.");return new RegExp("^(.+\\."+Z+"|"+Z+")$","i").test(T)}var ja=new yi(3e4,6e4);function vc(){let V=DT().___jsl;if(V?.H){for(let U of Object.keys(V.H))if(V.H[U].r=V.H[U].r||[],V.H[U].L=V.H[U].L||[],V.H[U].r=[...V.H[U].L],V.CP)for(let W=0;W<V.CP.length;W++)V.CP[W]=null}}function qa(V){return new Promise((U,W)=>{function T(){vc(),gapi.load("gapi.iframes",{callback:()=>{U(gapi.iframes.getContext())},ontimeout:()=>{vc(),W(wT(V,"network-request-failed"))},timeout:ja.get()})}if(DT().gapi?.iframes?.Iframe)U(gapi.iframes.getContext());else if(DT().gapi?.load)T();else{let Z=RG("iframefcb");return DT()[Z]=()=>{gapi.load?T():W(wT(V,"network-request-failed"))},qG(`${SF()}?onload=${Z}`).catch(o=>W(o))}}).catch(U=>{throw eq=null,U})}var eq=null;function Ra(V){return eq=eq||qa(V),eq}var Pa=new yi(5e3,15e3),Ja="__/auth/iframe",$a="emulator/auth/iframe",_a={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},ea=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function Ia(V){let U=V.config;B(U.authDomain,V,"auth-domain-config-required");let W=U.emulator?ce(U,$a):`https://${V.config.authDomain}/${Ja}`,T={apiKey:U.apiKey,appName:V.name,v:Mo},Z=ea.get(V.config.apiHost);Z&&(T.eid=Z);let o=V._getFrameworks();return o.length&&(T.fw=o.join(",")),`${W}?${eo(T).slice(1)}`}async function ta(V){let U=await Ra(V),W=DT().gapi;return B(W,V,"internal-error"),U.open({where:document.body,url:Ia(V),messageHandlersFilter:W.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:_a,dontclear:!0},T=>new Promise(async(Z,o)=>{await T.restyle({setHideOnLeave:!1});let i=wT(V,"network-request-failed"),b=DT().setTimeout(()=>{o(i)},Pa.get());function O(){DT().clearTimeout(b),Z(T)}T.ping(O).then(O,()=>{o(i)})}))}var Ma={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},Qa=500,na=600,Ha="_blank",ca="http://localhost",dq=class{constructor(U){this.window=U,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}};function Ga(V,U,W,T=Qa,Z=na){let o=Math.max((window.screen.availHeight-Z)/2,0).toString(),i=Math.max((window.screen.availWi
12dth-T)/2,0).toString(),b="",O={...Ma,width:T.toString(),height:Z.toString(),top:o,left:i},S=YV().toLowerCase();W&&(b=iG(S)?Ha:W),ZG(S)&&(U=U||ca,O.scrollbars="yes");let z=Object.entries(O).reduce((q,[R,I])=>`${q}${R}=${I},`,"");if(TF(S)&&b!=="_self")return ra(U||"",b),new dq(null);let u=window.open(U||"",b,z);B(u,V,"popup-blocked");try{u.focus()}catch{}return new dq(u)}function ra(V,U){let W=document.createElement("a");W.href=V,W.target=U;let T=document.createEvent("MouseEvent");T.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),W.dispatchEvent(T)}var xa="__/auth/handler",Ea="emulator/auth/handler",ka=encodeURIComponent("fac");async function Bc(V,U,W,T,Z,o){B(V.config.authDomain,V,"auth-domain-config-required"),B(V.config.apiKey,V,"invalid-api-key");let i={apiKey:V.config.apiKey,appName:V.name,authType:W,redirectUrl:T,v:Mo,eventId:Z};if(U instanceof xq){U.setDefaultLanguage(V.languageCode),i.providerId=U.providerId||"",fS(U.getCustomParameters())||(i.customParameters=JSON.stringify(U.getCustomParameters()));for(let[z,u]of Object.entries(o||{}))i[z]=u}if(U instanceof Di){let z=U.getScopes().filter(u=>u!=="");z.length>0&&(i.scopes=z.join(","))}V.tenantId&&(i.tid=V.tenantId);let b=i;for(let z of Object.keys(b))b[z]===void 0&&delete b[z];let O=await V._getAppCheckToken(),S=O?`#${ka}=${encodeURIComponent(O)}`:"";return`${Xa(V)}?${eo(b).slice(1)}${S}`}function Xa({config:V}){return V.emulator?ce(V,Ea):`https://${V.authDomain}/${xa}`}var be="webStorageSupport",Me=class{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=lz,this._completeRedirectFn=Za,this._overrideRedirectResult=Va}async _openPopup(U,W,T,Z){AZ(this.eventManagers[U._key()]?.manager,"_initialize() not called before _openPopup()");let o=await Bc(U,W,T,tq(),Z);return Ga(U,o,Xe())}async _openRedirect(U,W,T,Z){await this._originValidation(U);let o=await Bc(U,W,T,tq(),Z);return mF(o),new Promise(()=>{})}_initialize(U){let W=U._key();if(this.eventManagers[W]){let{manager:Z,promise:o}=this.eventManagers[W];return Z?Promise.resolve(Z):(AZ(o,"If manager is not set, promise should be"),o)}let T=this.initAndGetManager(U);return this.eventManagers[W]={promise:T},T.catch(()=>{delete this.eventManagers[W]}),T}async initAndGetManager(U){let W=await ta(U),T=new te(U);return W.register("authEvent",Z=>(B(Z?.authEvent,U,"invalid-auth-event"),{status:T.onEvent(Z.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[U._key()]={manager:T},this.iframes[U._key()]=W,T}_isIframeWebStorageSupported(U,W){this.iframes[U._key()].send(be,{type:be},Z=>{let o=Z?.[0]?.[be];o!==void 0&&W(!!o),cT(U,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(U){let W=U._key();return this.originValidationPromises[W]||(this.originValidationPromises[W]=za(U)),this.originValidationPromises[W]}get _shouldInitProactively(){return uG()||oG()||re()}},xG=Me,Fq=class{constructor(U){this.factorId=U}_process(U,W,T){switch(W.type){case"enroll":return this._finalizeEnroll(U,W.credential,T);case"signin":return this._finalizeSignIn(U,W.credential);default:return LT("unexpected MultiFactorSessionType")}}},Qe=class V extends Fq{constructor(U){super("phone"),this.credential=U}static _fromCredential(U){return new V(U)}_finalizeEnroll(U,W,T){return xF(U,{idToken:W,displayName:T,phoneVerificationInfo:this.credential._makeVerificationRequest()})}_finalizeSignIn(U,W){return pF(U,{mfaPendingCredential:W,phoneVerificationInfo:this.credential._makeVerificationRequest()})}},aq=class{constructor(){}static assertion(U){return Qe._fromCredential(U)}};aq.FACTOR_ID="phone";var Cq=class{static assertionForEnrollment(U,W){return vq._fromSecret(U,W)}static assertionForSignIn(U,W){return vq._fromEnrollmentId(U,W)}static async generateSecret(U){let W=U;B(typeof W.user?.auth<"u","internal-error");let T=await EF(W.user.auth,{idToken:W.credential,totpEnrollmentInfo:{}});return Bq._fromStartTotpMfaEnrollmentResponse(T,W.user.auth)}};Cq.FACTOR_ID="totp";var vq=class V extends Fq{constructor(U,W,T){super("totp"),this.otp=U,this.enrollmentId=W,this.secret=T}static _fromSecret(U,W){return new V(W,void 0,U)}static _fromEnrollmentId(U,W){return new V(W,U)}async _finalizeEnroll(U,W,T){return B(typeof this.secret<"u",U,"argument-error"),kF(U,{idToken:W,displayName:T,totpVerificationInfo:this.secret._makeTotpVerificationInfo(this.otp)})}async _finalizeSignIn(U,W){B(this.enrollmentId!==void 0&&this.otp!==void 0,U,"argument-error");let T={verificationCode:this.otp};return YF(U,{mfaPendingCredential:W,mfaEnrollmentId:this.enrollmentId,totpVerificationInfo:T})}},Bq=class V{constructor(U,W,T,Z,o,i,b){this.sessionInfo=i,this.auth=b,this.secretKey=U,this.hashingAlgorithm=W,this.co
12deLength=T,this.codeIntervalSeconds=Z,this.enrollmentCompletionDeadline=o}static _fromStartTotpMfaEnrollmentResponse(U,W){return new V(U.totpSessionInfo.sharedSecretKey,U.totpSessionInfo.hashingAlgorithm,U.totpSessionInfo.verificationCodeLength,U.totpSessionInfo.periodSec,new Date(U.totpSessionInfo.finalizeEnrollmentTime).toUTCString(),U.totpSessionInfo.sessionInfo,W)}_makeTotpVerificationInfo(U){return{sessionInfo:this.sessionInfo,verificationCode:U}}generateQrCodeUrl(U,W){let T=!1;return(Rq(U)||Rq(W))&&(T=!0),T&&(Rq(U)&&(U=this.auth.currentUser?.email||"unknownuser"),Rq(W)&&(W=this.auth.name)),`otpauth://totp/${W}:${U}?secret=${this.secretKey}&issuer=${W}&algorithm=${this.hashingAlgorithm}&digits=${this.codeLength}`}};function Rq(V){return typeof V>"u"||V?.length===0}var sc="@firebase/auth",pc="1.13.5";var ne=class{constructor(U){this.auth=U,this.internalListeners=new Map}getUid(){return this.assertAuthConfigured(),this.auth.currentUser?.uid||null}async getToken(U){return this.assertAuthConfigured(),await this.auth._initializationPromise,this.auth.currentUser?{accessToken:await this.auth.currentUser.getIdToken(U)}:null}addAuthTokenListener(U){if(this.assertAuthConfigured(),this.internalListeners.has(U))return;let W=this.auth.onIdTokenChanged(T=>{U(T?.stsTokenManager.accessToken||null)});this.internalListeners.set(U,W),this.updateProactiveRefresh()}removeAuthTokenListener(U){this.assertAuthConfigured();let W=this.internalListeners.get(U);W&&(this.internalListeners.delete(U),W(),this.updateProactiveRefresh())}assertAuthConfigured(){B(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}};function ha(V){switch(V){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function Aa(V){to(new KW("auth",(U,{options:W})=>{let T=U.getProvider("app").getImmediate(),Z=U.getProvider("heartbeat"),o=U.getProvider("app-check-internal"),{apiKey:i,authDomain:b}=T.options;B(i&&!i.includes(":"),"invalid-api-key",{appName:T.name});let O={apiKey:i,authDomain:b,clientPlatform:V,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:jG(V)},S=new qe(T,Z,o,O);return jF(S,W),S},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((U,W,T)=>{U.getProvider("auth-internal").initialize()})),to(new KW("auth-internal",U=>{let W=xo(U.getProvider("auth").getImmediate());return(T=>new ne(T))(W)},"PRIVATE").setInstantiationMode("EXPLICIT")),QT(sc,pc,ha(V)),QT(sc,pc,"esm2020")}var Na=300,ma=x$("authIdTokenMaxAge")||Na,Yc=null,la=V=>async U=>{let W=U&&await U.getIdTokenResult(),T=W&&(new Date().getTime()-Date.parse(W.issuedAtTime))/1e3;if(T&&T>ma)return;let Z=W?.token;Yc!==Z&&(Yc=Z,await fetch(V,{method:Z?"POST":"DELETE",headers:Z?{Authorization:`Bearer ${Z}`}:{}}))};function NZ(V=WO()){let U=Tz(V,"auth");if(U.isInitialized())return U.getImmediate();let W=PG(V,{popupRedirectResolver:xG,persistence:[GG,MG,lz]}),T=x$("authTokenSyncURL");if(T&&typeof isSecureContext=="boolean"&&isSecureContext){let o=new URL(T,location.origin);if(location.origin===o.origin){let i=la(o.toString());tG(W,i,()=>i(W.currentUser)),pq(W,b=>i(b))}}let Z=G$("auth");return Z&&JG(W,`http://${Z}`),W}function da(){return document.getElementsByTagName("head")?.[0]??document}bF({loadJS(V){return new Promise((U,W)=>{let T=document.createElement("script");T.setAttribute("src",V),T.onload=U,T.onerror=Z=>{let o=wT("internal-error");o.customData=Z,W(o)},T.type="text/javascript",T.charset="UTF-8",da().appendChild(T)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});Aa("Browser");var XG=c(G()),EG=e.default.createContext(null),sw=Gc();function Ub(){return e.default.useContext(EG)}function Eo({reportError:V}){let U=Ub(),[W,T]=e.default.useState(void 0);return e.default.useEffect(()=>U?pq(NZ(U),o=>T(o),V):void 0,[U,V]),W}function kG({name:V,config:U,children:W}){let[T,Z]=e.default.useState(null);return e.default.useEffect(()=>{let o;try{o=WO(V)}catch{o=B$(U,V)}Z(o)},[V,U]),(0,XG.jsx)(EG.Provider,{value:T,children:W})}j();function fT(V){window.Rollbar.error(V)}function PW(){let V=Eo({reportError:fT}),U=V===void 0;return{isLoggedIn:!!V&&!V.isAnonymous,loading:U}}j();j();j();j();function he(V,U){return Object.fromEntries(Object.entries(V).map(([W,T])=>[W,U(T,W,V)]))}var Fa={trailingSlash:!0,localeParamName:"language"},aa=Symbol("routeMapSymbol"),dz=Symbol("routeSymbol");function Ae(V,U){let W=Object.assign({},Fa,U),T=hG(W,V);return{...T,[aa]:{children:mG(T),config:W}}}function hG(V,U,W=()=>null,T=""){return he(U,(Z,o)=>Ca(V,typeof Z=="string"?{path:Z}:Z,W,T?`${T}.${String(o)}`:o))}function Ca(V,U,W,T){let{path:Z,data:o=void 0,...i}=U;
12if(Z===void 0)throw new Error(`No path found in '${T}': ${JSON.stringify(U)}`);let b=hG(V,i,()=>z,T),O=va(Z,V),S=null,z=La(V,{...b,toString(){return T},path:Z,data:o,[dz]:{get parent(){return S||(S=W()),S},children:mG(b),name:T,path:O.path,match:O.match,score:O.score}});return z}function va(V,U){return typeof V=="string"?AG(V):ya(V,U)}function AG(V){let W=V.split("/").filter(Boolean).map(Ba);return{path(T){let Z="";for(let o of W)Z=`${Z}/${o.path(T)}`;return Z},match(T){let Z={},o=T;for(let i of W){let b=i.match(o);if(!b)return;Object.assign(Z,b.params),o=b.remainingSegments}return{params:Z,remainingSegments:o}},score:NG(V)}}function Ba(V){return V.startsWith(":")?sa(V.slice(1)):V==="*"?pa():Ya(V)}function sa(V){return{path:U=>U[V],match:([U,...W])=>U&&{params:{[V]:U},remainingSegments:W}}}function pa(){return{path:V=>V["*"],match:V=>V.length&&{params:{"*":V.join("/")},remainingSegments:[]}}}function Ya(V){return{path:U=>V,match:([U,...W])=>U===V&&{params:null,remainingSegments:W}}}function ya(V,U){let W=he(V,AG);return{path(T){let Z=T[U.localeParamName];if(!Z)throw new Error(`Could not determine locale, '${U.localeParamName}' is missing in params:
13${T}`);let o=W[Z];if(!o)throw new Error(`Could not determine what path to use for locale '${Z}' in localized paths object:
14${V}`);return o.path(T)},match(T,Z){let o=Z[U.localeParamName];if(!o)return;let i=W[o];if(i)return i.match(T)},score:Ka(V)}}function Ka(V){let U=new Set(Object.values(V).map(NG));if(U.size>1)throw new Error(`Paths in localized path object have different scores:
15`+JSON.stringify(V,null,2));let[W]=Array.from(U);return W}function NG(V){let U=0;for(let[W,T]of V.split("/").entries()){let Z=T==="*"?-2:T.startsWith(":")?4:8;U+=Z/(W+1)}return U}function La(V,U){let W=V.trailingSlash?"/":"";return Object.assign(T,U);function T(Z={}){let o="",i=U;do{let{path:b,parent:O}=i[dz];o=b(Z)+o,i=O}while(i);return o?o.endsWith(W)?o:o+W:"/"}}function mG(V){return Object.values(V).sort((U,W)=>W[dz].score-U[dz].score)}var X=Ae({app:{path:":language",login:{path:"login"},tools:{path:"tools",index:{path:""},predictieTool:{path:"predictie_tool",index:{path:""},basis:{path:"basis"},aanvullend:{path:"aanvullend"},resultaat:{path:"resultaat"}},medicatieTool:{path:"medicatie_tool",index:{path:""},basis:{path:"basis"},aanvullend:{path:"aanvullend"},resultaat:{path:"resultaat"}},calculatorTool:{path:"calculator_tool",basis:{path:"basis"}}},informatie:{path:"informatie",index:{path:""},topiclijst:{path:"topiclijst"},diagnostischetesten:{path:"diagnostischetesten"},behandeling:{path:"behandeling"},diagnostiek:{path:"diagnostiek"},helderInGesprek:{path:"helderInGesprek"},kansBerekenen:{path:"kansBerekenen"},veelgesteldevragen:{path:"veelgesteldevragen"},meedoenaanonderzoek:{path:"meedoenaanonderzoek"},overons:{path:"overons"},contact:{path:"contact"},notFound:"*"}},notFound:"*"});j();var mZ={component:"src_features_pageOnly_DesktopMenu_component",componentTools:"src_features_pageOnly_DesktopMenu_componentTools",menuButton:"src_features_pageOnly_DesktopMenu_menuButton",list:"src_features_pageOnly_DesktopMenu_list",loggedIn:"src_features_pageOnly_DesktopMenu_loggedIn",iconLayout:"src_features_pageOnly_DesktopMenu_iconLayout",loggedInText:"src_features_pageOnly_DesktopMenu_loggedInText",loggedInBelow:"src_features_pageOnly_DesktopMenu_loggedInBelow"};var AV=c(G());function lG({menuItems:V,layoutClassName:U=void 0}){return(0,AV.jsx)("nav",{className:(0,_.default)(mZ.component,U),children:(0,AV.jsx)("div",{className:mZ.list,children:V.map(({link:W,title:T},Z)=>(0,AV.jsx)(_$,{link:W,title:T},Z))})})}function dG({menuItems:V,formMenuItems:U,buttonToOtherTool:W,layoutClassName:T=void 0}){let Z=v("loggedInState"),o=MU(),i=VV(),b=WV(),{isLoggedIn:O}=PW();return(0,AV.jsxs)("nav",{className:(0,_.default)(mZ.componentTools,T),children:[(0,AV.jsxs)("div",{className:mZ.list,children:[V?.map(({link:S,title:z,disabled:u},q)=>(0,AV.jsx)(_$,{link:S,title:z,disabled:u},q)),U?.map(({title:S,onClick:z,isActive:u,disabled:q},R)=>(0,AV.jsx)(Aj,{title:S,onClick:z,isActive:u,disabled:q},R))]}),o.pathname===X.app.tools.index({language:b})&&(0,AV.jsxs)("div",{className:mZ.loggedIn,children:[(0,AV.jsx)(wa,{layoutClassName:mZ.iconLayout}),(0,AV.jsxs)("span",{className:mZ.loggedInText,children:[(0,AV.jsx)("span",{children:Z(O?"loggedIn":"notLoggedIn")}),!O&&(0,AV.jsx)("span",{className:mZ.loggedInBelow,children:Z("logInBelow")})]})]}),W&&(0,AV.jsx)(Nj,{onClick:()=>i(W.link),children:W?.title})]})}function wa({layoutClassName:V}){return(0,AV.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:V,children:(0,AV.jsx)("path",{fillRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm-5-2a2 2 0 1 1-4 0 2 2 
150 0 1 4 0ZM8 9c-1.825 0-3.422.977-4.295 2.437A5.49 5.49 0 0 0 8 13.5a5.49 5.49 0 0 0 4.294-2.063A4.997 4.997 0 0 0 8 9Z",clipRule:"evenodd"})})}j();var Da={viewportSm:"screen and (min-width: 480px)",viewportMd:"screen and (min-width: 768px)",viewportLg:"screen and (min-width: 1140px)"},Ne=Da;j();var FG="/Alzheimercentrum-04-zeker-JLQ3LHDW.jpg?max-width=978";var aG="/Preview-Alzheimercentrum-_10-zeker-ODHCGQG2.jpg?max-width=978";var CG="/AlgemeenGebruik_samenBeslissen-MCHSU35U.jpg?max-width=978";var vG="/AlgemeenGebruik_predictietool-RMNKZT5Q.jpg?max-width=978";var BG="/A3.Alzheimercentrum-_23-Neuropsychologisch-onderzoek-HUYG4GOH.jpg?max-width=470";var sG="/A3.Alzheimercentrum-_31-AmyloidPET-UHBWWLWR.jpg?max-width=470";var pG="/A3.Alzheimercentrum-_41-MRI-RLALTNV5.jpg?max-width=470";var YG="/A3.Alzheimercentrum-06-CSF-MPFEDSQI.jpg?max-width=470";var yG="/A3.Alzheimercentrum-_16-lichamelijk-onderzoek-OPN3X34F.jpg?max-width=470";var KG="/A4.Tablet1-5ANKI4RN.png?max-width=560";var LG="/A4.Tablet2-VELEAUXE.png?max-width=560";var wG="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAAAyCAYAAADcD8w1AAAAAXNSR0IArs4c6QAACYFJREFUeAHtnH+QVlUZx3eLWlFSwigzcBzSEqGiH1Smoy9IuSUVPwzLnMTGJvzRiNWU1hCaNclETsREhROpOJOEfzDYkOWvTalIzWzCRk102agMoQi2XFOgz+e+977e93bvu+977/uS7r7PzPeec55zznPO+d5znnPuve9ux/79+ztFR1tayoAk/4wWDgV/BDvBEWAEuLyzs3MzYVtgAJ7GELwVHAQegZuHCesWCb0YLAITE7W6SbeJhgRInkKwDBwCAkF3N5FFEN4fqmoGgcug0osodRo4F0wIa/ydcDaG/hWmh2UAN69j4CvBqBQCetEthKNtKXlVqirfjNGXkLsYOJuVOzDyuXJ0+F3h4zBGfQN4dY3R7yJPsmuufmdyRSj8DIkvgY2hcjqNXQVGVgoNr4guNUnyfQkKRpP+LhydnNBXJauINgey9xE4q90YlRlgBYbcBIaNMF7daCkx4I3wswDdZ8ETsTy5uZo6n87iqcp1xCq6AXyAtLM7kg00Ek9H+iEVMu6DGdAXQHfKwD4KB8Fpg3IvJX86eDN4A9CXK7qSH4ObKFvx3bWINu9aMAlEMo/Kj0WJoRaGJK9gXJNTxnYvYz8/RR+oqPtOIkuBs1vZD+4EK6jX+z+uwxIKmRb8RpB47nLBc9GhFYMoCXK8aSQ72FVesgS+NpF3JXgW7ABbwSngemx3Zs5oCgRCoR8SOTZMGqwHX8Xw3pjuBR1ljK7aK8DRGQP5DeP9ZEZelRpbXZR9WiXxUQTHk74nc0bHakt0XPTdyzDibvuCFsYwAixgEM7Wo2sMZnWNvKqsiGSVxPslOYhXlcpI0JklZJ2ayHZ5XImhXyT0dSWxOY2C2vRp6y6wDlu6qwMitO9rB5/23MhqSQ/98pRRSDrrqU2nRlDuctCdUv4hdJ6z3Y1X0qlewpqCvfdTYHGi0AE71dC+q9FNLzopJLoSJJ/kug6sYkw+XxSSuoi2BTpn2UvAWaYzpB/9RXRsc0a+dnRXtwBf0iTlNOruTCqbmQ7HcQ02p2TY7UP/ZfrxQEZ+LnU9PjowTMNsnZ1Xk1hToyWdvw83uoUseTEZuouk/KXVJIcNfpAwi2SLXNpskjWqS2hUJNvH0pMzKnrg/zpk7yJ09/V04g2VYOFBvwskpXK4T2Y0K02fbPvCGvZugeRHauTnzqp7Rkct0BGJuwz8NNJlhKPRvwocCXzHPRboLpz1SRlA8a2ksgXp92Dz5Rl2n0Lfsj40TLSdhOynwReJXgXsYBHRFy7Anptqy4TZ7OqdW6OB5fRhe438Qlm5iI5apGM3EZ8DfgT+E+kbDI+n/BSI8BVt0wW7I8HZGL4RZB3leshbC1omdZ86BusBg3FJngF8oNGHZ4muR1+dlCdQbAC+Ay88u8Mb5yQ4D2S5C7I6fA74PG3qvlomTSM66iED1OYbwVQwCRwKPIf+CdwD7gLOLD8oTABpItGrwa0QsC+tQJqOtsehPw54qtAfjwFZ4katT17bSBtZxgbTN53owRqM8iFFt/Vu8DHw+kifCPtI+wrg92A+8Gb9AzwONgE3WG/WCaAEXgPqFfeGiyH5gHyq+78RHWcD0p2BM8FbwHgwWL98Q+bjej1+fQvlXCGng6RcB9HLk8pWpAcbUCvarGkT0j1j6+NfCVz6ztLJQHfkKtCXO7PdfD1JjAZHAI+N3oDdwPzfgrshcis230VcN5GUreTXOokky+dO29HnlTBwfWdviGb17RUZhlr6uB9v0xky5IWbt55BrkwZ6DUpuraqCAO4j8PAdaAH3ADciNvSZqDNQJuBNgNtBtoMHCgGGnpgYad+Gx2bFnbOH4akPr5Szqe8icDXqcGDArpTw7oD6L4S2ggC8hYS8SnP74YPxvOGSrzRB5Y9DPzMcPC+K7g1g4jz0fvSvyeWfyzxbtAPqogmPQccDP4AhiTRDT2wMNsehohtQIlmdjkVXpmdvl+WZOW2chBcfRn0GOgNUsPs0hDRITd3hOGJkJr2UqcU5j9DuDGM+1VmDZgH5ke64RTmIfr2kKBDCKemkFUKdZsgVTfRVOHmNrSvNLXxAsYa9dHOzAcZrG/QfGNWAr8EgaA/isiEMBndkChvFpHzwHZsfDwsU1eA3RIFzwbHgS7SOwh9J70aW78irAh59uv7oeIzhPPA24Fv+baAH1Cnh7BKqOeLp3PBSUAbu8GfwZ3A1ThAmFvyzGgbi9zHKXQwPsNKYU98XfnzMB4FrgAHMDZS1BNi3w10KZgCDgK2pw3JW07+bMK4OCb3CPE94Kc127WuX3yWUmcGYUVIexNWgTOBr2V1e37+mgw+BS4ChaQo0YfTevyDZynsza+ZAZ5QmiHesHvBWiBpEuzq8LOYshCi4je7rC1f9xFcBt4LJOxvQHGmx8VTz5GgD8yi785qsRDcCL4JCkleon9Hqy5fpeSFwbr0ItKr3Ib5eYVBP0Vdf2a2BPhrpn1gG7rloU1XirMwTfwtoN8dnwS6mGVhobH010kSiUdP5f7Qti7S875/SrEUuEILSS6iadjPSPouZVo5CH655MzaC5yFTRPa02bw+z8I0kd3kdSHRuLST5PNCeVDsXTchf011M/A9lzwJjAO5OIn1kYl2vBmWKnZ0eGs/RAYT4cmEEaE+ycI/4yVKxTFtn08A7i8x4O0IyXqVPFzV1z8ehNJnETdg27JG6ariWSA9t3slzEmN8bcUoRov8ntAnZuJpgKFG9AM8WnzHOAy3cT2A5cUSPB+0BhgcTtEDoXQ7OBG6Cbp65QTAfHkP8RysVvFOr6JTfRNLqXxntoahY4C2jLzSdyKUSLCfaddZ4EFH9Ku6EcDdyIp4qmEK1NbLsKrzUeCe2fQNy94CgwETwAckl8+eQxcFtYKbph/q2Hs7xRCXwwldzY4jKKhMcy5dFyULmOq8QKRiDUfz6QtqHeh2lXkhL1o5xq8BoR1GC1SnE7sge8LNTkdRt91J8E5jDg4Acy3LBHwW7SO9C7hC8k/h1Cb+RrwSWgsGDTDfxScDrxNYT3AzfHMeDDQI4kezPILYWIhohn6ZwnjJlAv5nXbVxP3SXgGPA18BOwCCjfBovBiSEIAsmzcqK68XAUCY93zthzQhBUyRWMtb9K02CiENFhWzcTHg766MzOGu1vIc+yztgqod7t3LD5KE8CHrsqs4e8m8l7HF03cJMaAL1gHbgAKHHS/016faDt6Eiefqwb5QV1sL8H+59A/w7gw9A40AXspyvNH6dvIywk/wU77sLF7DLQ+QAAAABJRU5ErkJggg==";var DG="/B6.VoorbeeldMRI-O6W4FLM6.jpg?max-width=260";var yq={neuropsychologischOnderzoek:BG,amyloidPet:sG,mri:pG,csf:YG,lichamelijkOnderzoek:yG,tabletMock1:KG,tabletMock2:LG,alzheimerCentrum:FG,previewAlzheimercentrum:aG,samenBeslissen:CG,predictietool:vG,vilansLogo:wG,gezondeHersenen:DG};j();var NV={componentContainer:"src_features_pageOnly_PageLayout_componentContainer",headerLayout:"src_features_pageOnly_PageLayout_headerLayout",desktopMenuLayout:"src_features_pageOnly_PageLayout_desktopMenuLayout",contentLayout:"src_features_pageOnly_PageLayout_contentLayout",componentContent:"src_features_pageOnly_PageLayout_componentContent",tag:"src_features_pageOnly_PageLayout_tag",tagScreen:"src_features_pageOnly_PageLayout_tagScreen",tagPrint:"src_features_pageOnly_PageLayout_tagPrint",subt
15itle:"src_features_pageOnly_PageLayout_subtitle",title:"src_features_pageOnly_PageLayout_title",intro:"src_features_pageOnly_PageLayout_intro"};var QV=c(G());function fG({children:V}){let U=J$(Ne.viewportLg)??!1,W=MU(),T=v("informatie"),Z=T("pageNavigation").pages,o=W.pathname.split("/")[3];{let i=o?Z.find(I=>I.i18nKey===o):Z.find(I=>I.i18nKey==="introductie"),b=o&&!i,O=b?null:T(i?.i18nKey||"introductie")||{intro:"",title:"",subtitle:""},{title:S,subtitle:z,intro:u,bannerImage:q}=O??{},R=b?null:q||yq.previewAlzheimercentrum;return(0,QV.jsxs)(gG,{children:[R?(0,QV.jsx)(DQ,{section:"informatie",layoutClassName:NV.headerLayout,image:R,menuItems:Z,title:S}):!U&&(0,QV.jsx)(I$,{section:"informatie",layoutClassName:NV.headerLayout,menuItems:Z}),U&&(0,QV.jsx)(lG,{layoutClassName:NV.desktopMenuLayout,menuItems:Z}),(0,QV.jsx)(Ur,{hasHeaderImage:!!R,layoutClassName:NV.contentLayout,title:S,subtitle:z,intro:u,menuItems:Z,children:V})]})}}function ko({currentPageTitle:V,section:U,children:W,menuItems:T=[],tag:Z=void 0,formMenuItems:o=void 0,buttonToOtherTool:i=void 0}){let b=J$(Ne.viewportLg)??!1;return(0,QV.jsxs)(gG,{children:[b?(0,QV.jsx)(dG,{layoutClassName:NV.desktopMenuLayout,menuItems:T,formMenuItems:o,buttonToOtherTool:i}):(0,QV.jsx)(I$,{layoutClassName:NV.headerLayout,menuItems:T,formMenuItems:o,section:U}),(0,QV.jsx)(Ur,{title:V,layoutClassName:NV.contentLayout,menuItems:T,tag:Z,children:W})]})}function gG({children:V}){return(0,QV.jsx)("div",{className:NV.componentContainer,children:V})}function Ur({title:V,children:U,tag:W=void 0,intro:T=void 0,subtitle:Z=void 0,hasHeaderImage:o=!1,layoutClassName:i=void 0}){return(0,QV.jsxs)("article",{className:(0,_.default)(NV.componentContent,i),children:[W&&(0,QV.jsx)("p",{className:(0,_.default)(NV.tag,NV.tagScreen),children:W}),V&&(0,QV.jsx)("p",{className:(0,_.default)(NV.tag,NV.tagPrint),children:V}),Z&&(0,QV.jsx)("h2",{className:NV.subtitle,children:Z}),V&&!o&&(0,QV.jsx)("h1",{className:NV.title,children:V}),T&&(0,QV.jsx)("p",{className:NV.intro,dangerouslySetInnerHTML:{__html:T}}),U]})}j();var Vr=c(G());function JW({text:V}){return(0,Vr.jsx)("section",{dangerouslySetInnerHTML:{__html:V}})}j();j();function Wr(V){return Number(V)===V}j();function Xo(){let V=e.default.useRef(!1);return e.default.useEffect(()=>(V.current=!0,()=>{V.current=!1}),[]),V}j();j();j();j();var me={component:"src_features_buildingBlocks_ButtonIcon_component"};var Fz=c(G());function Tr({label:V,icon:U,onClick:W,disabled:T=!1,layoutClassName:Z=void 0}){return(0,Fz.jsxs)("button",{type:"button",className:(0,_.default)(me.component,Z),onClick:W,disabled:T,children:[(0,Fz.jsx)("span",{children:V}),(0,Fz.jsx)(qU,{layoutClassName:me.iconLayout,icon:U})]})}j();var Kq=`<svg width="12" height="15" xmlns="http://www.w3.org/2000/svg">
16  <g fill="currentColor">
17    <path d="M5.656 3.576l3.277 2.295-5.163 7.372-3.276-2.294zM7.95.3l3.277 2.294-1.147 1.638-3.277-2.294z" />
18    <path d="M.411 14.553l3.36-1.31-.058-3.333-3.22 1.039z" />
19  </g>
20</svg>
21`;j();var Vb={component:"src_features_buildingBlocks_ContentEditable_component",content:"src_features_buildingBlocks_ContentEditable_content",editable:"src_features_buildingBlocks_ContentEditable_editable",buttonLayout:"src_features_buildingBlocks_ContentEditable_buttonLayout",hideAndShowOnPrint:"src_features_buildingBlocks_ContentEditable_hideAndShowOnPrint"};var Wb=c(G());function Zr({currentPage:V,title:U,text:W,section:T}){let Z=v(T),[o,i]=e.default.useState(!1),[b,O]=e.default.useState("");return e.default.useEffect(()=>{O(W)},[W]),(0,Wb.jsxs)("div",{className:Vb.component,children:[(0,Wb.jsx)("h2",{children:U}),o&&(0,Wb.jsx)("textarea",{onChange:z=>O(z.target.value),className:(0,_.default)(Vb.content,Vb.editable,o),value:b}),(0,Wb.jsx)("pre",{className:(0,_.default)(Vb.content,o&&Vb.hideAndShowOnPrint),children:b}),(0,Wb.jsx)(Tr,{label:Z(V).contentEditable.buttonText,icon:Kq,onClick:S,layoutClassName:Vb.buttonLayout})]});function S(){i(!o)}}j();j();j();var fW={container:"src_features_buildingBlocks_OutcomeBlock_container",detailComponent:"src_features_buildingBlocks_OutcomeBlock_detailComponent",proteinBlock:"src_features_buildingBlocks_OutcomeBlock_proteinBlock",detailInfo:"src_features_buildingBlocks_OutcomeBlock_detailInfo",outcomeComponent:"src_features_buildingBlocks_OutcomeBlock_outcomeComponent",outcomeBox:"src_features_buildingBlocks_OutcomeBlock_outcomeBox",positive:"src_features_buildingBlocks_OutcomeBlock_positive",negative:"src_features_buildingBlocks_OutcomeBlock_negative",proteinTotal:"src_features_buildingBlocks_OutcomeBlock_proteinTotal",proteinType:"src_features_buildingBlocks_OutcomeBlock_proteinType",selected:"src_features_buildingBlocks_OutcomeBlock_selected"};var GT=c(G());function Lq({items:V,selectedOutcome:U,extraDetails:W=void 0}){return(0,GT.jsxs)("div",{className:(0,_.default)(fW.container,{[fW.positive]:U===0,[`${fW.negative}`]:U===V.length-1}),children:[(0,GT.jsxs)("div",{className:fW.detailComponent,children:[W,(0,GT.jsx)("p",{className:fW.detailInfo,children:V[U].description})]}),(0,GT.jsx)("div",{className:fW.outcomeComponent,children:V.map((T,Z)=>(0,GT.jsx)("div",{className:(0,_.default)(fW.outcomeBox,{[fW.selected]:U===Z}),children:T.title},T.title))})]})}function or({items:V,selectedOutcome:U,protein:W}){return(0,GT.jsx)(Lq,{items:V,selectedOutcome:U,extraDetails:W.map((T,Z)=>(0,GT.jsxs)("div",{className:fW.proteinBlock,children:[(0,GT.jsx)("span",{className:fW.proteinTotal,children:T.value}),(0,GT.jsx)("span",{className:fW.proteinType,children:T.name})]},Z))})}j();
21var az={component:"src_features_buildingBlocks_NonInteractiveResults_component",additionalTestText:"src_features_buildingBlocks_NonInteractiveResults_additionalTestText",resultBlock:"src_features_buildingBlocks_NonInteractiveResults_resultBlock",image:"src_features_buildingBlocks_NonInteractiveResults_image"};var $W=c(G()),uC={noShrink:0,unclear:1,shrink:2},jC={noProtein:0,unclear:1,protein:2},qC={notPresent:0,present:1};function ir({currentPage:V,aanvullendeGegevens:U}){let W=v("predictie_tool"),{ruggenprik:T,mri:Z,pet:o,situation:i}=W(V),b=PC(U),O=RC(U),S=JC(U),z=!!(b||O||S);return(0,$W.jsxs)("section",{className:az.component,children:[(0,$W.jsx)("h2",{children:i.title}),(0,$W.jsx)("div",{className:az.additionalTestText,children:i.additionalTest[z?"yes":"no"]}),b&&(0,$W.jsx)(le,{title:Z.title,content:Z.content,image:Z.image,children:(0,$W.jsx)(Lq,{items:Z.items,selectedOutcome:uC[b]})}),O&&(0,$W.jsx)(le,{title:T.title,content:T.content,children:(0,$W.jsx)(or,{items:T.items,protein:[{name:"Amyloid",value:U.abeta},{name:"Tau",value:U.pTau}],selectedOutcome:jC[O]})}),S&&(0,$W.jsx)(le,{title:o.title,content:o.content,children:(0,$W.jsx)(Lq,{items:o.items,selectedOutcome:qC[S]})})]})}function le({title:V,content:U,children:W,image:T=void 0}){return(0,$W.jsxs)("div",{className:az.resultBlock,children:[(0,$W.jsx)("h2",{children:V}),U,T&&(0,$W.jsx)("img",{className:az.image,src:T.src,alt:T.alt}),W]})}function RC({testSoort:V,csfMethod:U,abeta:W,pTau:T}){return!V.includes("eiwit")||!U||!W||!T?null:U==="elecsys"?W>1371&&T<14?"noProtein":W<921&&T>31?"protein":"unclear":U==="innotest"?W>930&&T<41?"noProtein":W<690&&T>80?"protein":"unclear":U==="luminex"?W>210&&T<20?"noProtein":W<164&&T>47?"protein":"unclear":null}function PC({testSoort:V,mriType:U,hcvMethod:W,hcv:T,mtaLeft:Z,mtaRight:o}){if(!V.includes("mri")||!U)return null;return U==="visueel"?Number(Z)!==Z||Number(o)!==o?null:i(Z,o)<1?"noShrink":i(Z,o)>1.5?"shrink":"unclear":U==="volumetrisch"?!W||!T?null:T>7.8?"noShrink":T<5.6?"shrink":"unclear":null;function i(...b){return b.reduce((O,S)=>O+S,0)/b.length}}function JC({testSoort:V,pet:U}){return V.includes("pet")?U==="positive"?"present":"notPresent":null}j();j();j();var lZ={componentBase:"src_features_buildingBlocks_TabMenu_componentBase",componentTabBase:"src_features_buildingBlocks_TabMenu_componentTabBase",icon:"src_features_buildingBlocks_TabMenu_icon",componentTabPrimary:"src_features_buildingBlocks_TabMenu_componentTabPrimary",selected:"src_features_buildingBlocks_TabMenu_selected",componentTabSecondary:"src_features_buildingBlocks_TabMenu_componentTabSecondary"};var gT=c(G());function br({tabs:V,selectedTab:U,onSelectedTabChange:W,layoutClassName:T=void 0}){return(0,gT.jsx)(Or,{tabComponent:$C,className:(0,_.default)(lZ.componentPrimary,T),tabs:V,selectedTab:U,onSelectedTabChange:W})}function wq({tabs:V,selectedTab:U,onSelectedTabChange:W}){return(0,gT.jsx)(Or,{tabComponent:_C,className:lZ.componentSecondary,tabs:V,selectedTab:U,onSelectedTabChange:W})}function Or({tabs:V,className:U,tabComponent:W,selectedTab:T,onSelectedTabChange:Z}){return(0,gT.jsx)("div",{className:(0,_.default)(lZ.componentBase,U),children:V?.map(o=>(0,gT.jsx)(W,{selected:T===o,onClick:()=>Z(o),IconComponent:o.IconComponent,title:o.title},o.id))})}function $C({IconComponent:V,title:U,selected:W,onClick:T}){return(0,gT.jsx)(Sr,{className:lZ.componentTabPrimary,IconComponent:V,title:U,selected:W,onClick:T})}function _C({IconComponent:V,title:U,selected:W,onClick:T}){return(0,gT.jsx)(Sr,{className:lZ.componentTabSecondary,IconComponent:V,title:U,selected:W,onClick:T})}function Sr({IconComponent:V,title:U,selected:W,onClick:T,className:Z}){return(0,gT.jsxs)("button",{type:"button",className:(0,_.default)(lZ.componentTabBase,Z,{[`${lZ.selected}`]:W}),onClick:T,children:[V&&(0,gT.jsx)("span",{className:lZ.icon,children:V}),U]})}j();j();var JV={component:"src_features_buildingBlocks_VisualizationItem_component",icons:"src_features_buildingBlocks_VisualizationItem_icons",bar:"src_features_buildingBlocks_VisualizationItem_bar",legend:"src_features_buildingBlocks_VisualizationItem_legend",legendText:"src_features_buildingBlocks_VisualizationItem_legendText",humanIconDarkContainer:"src_features_buildingBlocks_VisualizationItem_humanIconDarkContainer",humanIconLightContainer:"src_features_buildingBlocks_VisualizationItem_humanIconLightContainer",iconLayout:"src_features_buildingBlocks_VisualizationItem_iconLayout",portion:"src_features_buildingBlocks_VisualizationItem_portion",percentageFilled:"src_features_buildingBlocks_VisualizationItem_percentageFilled",percentageEmpty:"src_features_buildingBlocks_VisualizationItem_percentageEmpty",percentage:"src_features_buildingBlocks_VisualizationItem_percentage",legendRow:"src_features_buildingBlocks_VisualizationItem_legendRow",legendColorBox:"src_features_buildingBlocks_VisualizationItem_legendColorBox"};j();
21var Cz=`<svg width="14" height="14" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
22  <path d="M10.5 11.53c2.84 0 5.38 1.8 6.33 4.48l.45 1.28H0l.45-1.28a6.72 6.72 0 0 1 6.34-4.48zM8.63.01a4.8 4.8 0 1 1 0 9.6 4.8 4.8 0 0 1 0-9.6z" fill="currentColor" fillRule="evenodd" />
23</svg>
24`;var yU=c(G());function zr({amountThatDevelopsAlzheimer:V,title:U,children:W}){return(0,yU.jsxs)("div",{className:JV.component,children:[(0,yU.jsx)("h4",{className:JV.title,children:U}),W,(0,yU.jsx)(eC,{amountThatDevelopsAlzheimer:V,title:U})]})}function Dq({amountThatDevelopsAlzheimer:V,title:U}){return(0,yU.jsx)(zr,{amountThatDevelopsAlzheimer:V,title:U,children:(0,yU.jsxs)("div",{className:JV.icons,children:[Array(Math.round(V)).fill(null).map((W,T)=>(0,yU.jsx)("div",{className:JV.humanIconDarkContainer,children:(0,yU.jsx)(qU,{icon:Cz,layoutClassName:JV.iconLayout})},`icondark${T}`)),Array(V<100?100-Math.round(V):0).fill(null).map((W,T)=>(0,yU.jsx)("div",{className:JV.humanIconLightContainer,children:(0,yU.jsx)(qU,{icon:Cz,layoutClassName:JV.iconLayout})},`iconlight${T}`))]})})}function fq({amountThatDevelopsAlzheimer:V,title:U}){return(0,yU.jsx)(zr,{amountThatDevelopsAlzheimer:V,title:U,children:(0,yU.jsxs)("div",{className:JV.bar,children:[(0,yU.jsx)("div",{className:JV.portion,style:{height:`${V}%`},children:(0,yU.jsxs)("div",{className:(0,_.default)(JV.percentage,JV.percentageFilled),children:[Math.round(V),"%"]})}),(0,yU.jsx)("div",{className:JV.portion,style:{height:`${100-Math.round(V)}%`},children:(0,yU.jsxs)("div",{className:(0,_.default)(JV.percentage,JV.percentageEmpty),children:[100-Math.round(V),"%"]})})]})})}function eC({amountThatDevelopsAlzheimer:V,title:U}){return(0,yU.jsxs)("ul",{className:JV.legend,children:[(0,yU.jsx)(W,{number:V,years:U,developsAlzheimer:!0}),(0,yU.jsx)(W,{number:100-V,years:U})]});function W({number:T,years:Z,developsAlzheimer:o=void 0}){let b=v("predictie_tool")("resultaat");return(0,yU.jsxs)("li",{className:JV.legendRow,children:[(0,yU.jsx)("div",{className:JV.legendColorBox}),(0,yU.jsx)("div",{className:JV.legendText,children:b.situationVisualization.visualization.legend(Math.round(T),Z,o)})]})}}j();var de={component:"src_features_buildingBlocks_SituationVisualization_component",results:"src_features_buildingBlocks_SituationVisualization_results"};var mV=c(G());function ur({gender:V,currentPage:U,amount1Year:W,amount3Years:T,amount5Years:Z}){let o=v("predictie_tool"),{situationVisualization:i}=o(U),b=e.default.useMemo(()=>o(U).situationVisualization.tabs,[o,U]),[O,S]=e.default.useState("icons"),z=![W,T,Z].some(Boolean);return(0,mV.jsxs)("section",{className:de.component,children:[(0,mV.jsx)("p",{children:i.intro(V,!!Z)}),(0,mV.jsx)(wq,{onSelectedTabChange:u=>S(u.id),selectedTab:b.find(u=>u.id===O),tabs:b}),(0,mV.jsxs)("div",{className:de.results,children:[O==="icons"&&(0,mV.jsxs)(mV.Fragment,{children:[(z||W)&&(0,mV.jsx)(Dq,{amountThatDevelopsAlzheimer:W,title:i.visualization.year(1)}),(z||T)&&(0,mV.jsx)(Dq,{amountThatDevelopsAlzheimer:T,title:i.visualization.year(3)}),(z||Z)&&(0,mV.jsx)(Dq,{amountThatDevelopsAlzheimer:Z,title:i.visualization.year(5)})]}),O==="bars"&&(0,mV.jsxs)(mV.Fragment,{children:[(z||W)&&(0,mV.jsx)(fq,{amountThatDevelopsAlzheimer:W,title:i.visualization.year(1)}),(z||T)&&(0,mV.jsx)(fq,{amountThatDevelopsAlzheimer:T,title:i.visualization.year(3)}),(z||Z)&&(0,mV.jsx)(fq,{amountThatDevelopsAlzheimer:Z,title:i.visualization.year(5)})]})]})]})}j();var jr={component:"src_features_pageOnly_predictionTool_Result_component",buttonContainer:"src_features_pageOnly_predictionTool_Result_buttonContainer"};var JO=c(G()),gq="resultaat";function qr({gender:V,results:U,aanvullendeGegevens:W}){let T=v("predictie_tool"),{contentEditable:Z}=T(gq),o=U["1year"],i=U["3year"],b=U["5year"];return(0,JO.jsxs)("article",{className:jr.component,children:[(0,JO.jsx)(ir,{currentPage:gq,aanvullendeGegevens:W}),(0,JO.jsx)(Zr,{section:"predictie_tool",currentPage:gq,text:Z.text(V,Math.round(o),Math.round(i),Math.round(b)),title:Z.title}),(0,JO.jsx)(ur,{currentPage:gq,gender:V,amount1Year:o,amount3Years:i,amount5Years:b})]})}j();j();j();j();
24var UZ={component:"src_features_buildingBlocks_CircularChart_component",label:"src_features_buildingBlocks_CircularChart_label",chart:"src_features_buildingBlocks_CircularChart_chart",primaryColor:"src_features_buildingBlocks_CircularChart_primaryColor",circleBg:"src_features_buildingBlocks_CircularChart_circleBg",circle:"src_features_buildingBlocks_CircularChart_circle",secondaryColor:"src_features_buildingBlocks_CircularChart_secondaryColor",tertiaryColor:"src_features_buildingBlocks_CircularChart_tertiaryColor",disabledColor:"src_features_buildingBlocks_CircularChart_disabledColor",percentage:"src_features_buildingBlocks_CircularChart_percentage"};var ho=c(G());function UR({item:V,percentage:U,color:W}){return(0,ho.jsxs)("div",{className:UZ.component,children:[(0,ho.jsxs)("svg",{viewBox:"0 0 36 36",className:(0,_.default)(UZ.chart,UZ[W]),children:[(0,ho.jsx)("path",{className:UZ.circleBg,d:`M18 2.0845
25            a 15.9155 15.9155 0 0 1 0 31.831
26            a 15.9155 15.9155 0 0 1 0 -31.831`}),(0,ho.jsx)("path",{className:UZ.circle,strokeDasharray:`${U===null?"0 100":`${U} 100`}`,d:`M18 2.0845
27            a 15.9155 15.9155 0 0 1 0 31.831
28            a 15.9155 15.9155 0 0 1 0 -31.831`}),(0,ho.jsxs)("text",{x:"18",y:"20.35",className:(0,_.default)(UZ.percentage,UZ[W]),children:[`${U===null?"?":`${IC(U)}`}`,"%"]})]}),(0,ho.jsx)("div",{className:(0,_.default)(UZ.label,UZ[W]),children:V})]})}function IC(V){return Math.round(V*10)/10}j();var Rr={containerInfographic:"src_features_pageOnly_predictionTool_InfographicContainer_containerInfographic"};var $O=c(G());function vz({results:V}){let W=v("predictie_tool")("circularCharts"),T=V||{"1year":null,"3year":null,"5year":null},Z=!Object.values(T).some(Boolean);return(0,$O.jsxs)("div",{className:Rr.containerInfographic,children:[(0,$O.jsx)(UR,{item:W["1year"].label,percentage:T["1year"],color:Z||T["1year"]?"primaryColor":"disabledColor"}),(0,$O.jsx)(UR,{item:W["3year"].label,percentage:T["3year"],color:Z||T["3year"]?"secondaryColor":"disabledColor"}),(0,$O.jsx)(UR,{item:W["5year"].label,percentage:T["5year"],color:Z||T["5year"]?"tertiaryColor":"disabledColor"})]})}j();j();j();var VZ={component:"src_features_buildingBlocks_Tooltip_component",button:"src_features_buildingBlocks_Tooltip_button",infoContainer:"src_features_buildingBlocks_Tooltip_infoContainer",closeButton:"src_features_buildingBlocks_Tooltip_closeButton",buttonLayout:"src_features_buildingBlocks_Tooltip_buttonLayout",infoText:"src_features_buildingBlocks_Tooltip_infoText",iconLayout:"src_features_buildingBlocks_Tooltip_iconLayout",isOpen:"src_features_buildingBlocks_Tooltip_isOpen"};j();var Pr=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15">
29  <circle cx="7.5" cy="7.5" r="7.5" fill="currentColor" />
30  <path d="M8 6v5H7V6h1zm-.5-2a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1z" />
31</svg>
32`;j();var VR=`<svg viewBox="0 0 16 17" xmlns="http://www.w3.org/2000/svg">
33  <g fill="none" stroke="currentColor" strokeLinecap="round" strokeWidth="2">
34    <path d="M1.5 1.429L7.628 8.5 1.5 15.571M14.5 1.429l-6.128 7.07 6.128 7.072" />
35  </g>
36</svg>
37`;var rT=c(G());function xT({tip:V,buttonLink:U=void 0,layoutClassName:W=void 0}){let[T,Z]=e.default.useState(!1);return(0,rT.jsxs)("div",{tabIndex:0,onClick:i=>i.stopPropagation(),className:(0,_.default)(VZ.component,W),children:[(0,rT.jsx)("button",{type:"button",onClick:o,className:VZ.button,children:(0,rT.jsx)(qU,{icon:Pr,layoutClassName:VZ.iconLayout})}),(0,rT.jsx)(tC,{onClose:()=>Z(!1),tip:V,isOpen:T,buttonLink:U})]});function o(){Z(!T)}}function tC({tip:V,onClose:U,isOpen:W,buttonLink:T}){let Z=VV();return e.default.useEffect(()=>{return window.addEventListener("keydown",i),()=>{window.removeEventListener("keydown",i)};function i(b){b.keyCode===27&&U()}},[U]),(0,rT.jsxs)("div",{className:(0,_.default)(VZ.infoContainer,W&&VZ.isOpen),children:[(0,rT.jsx)("button",{type:"button",onClick:U,className:VZ.closeButton,children:(0,rT.jsx)(qU,{icon:VR,layoutClassName:VZ.iconLayout})}),(0,rT.jsx)("p",{className:VZ.infoText,children:V.text||V.render?.()}),V.button&&T&&(0,rT.jsx)(Un,{onClick:()=>Z(`${T}`),layoutClassName:VZ.buttonLayout,children:V.button.text})]})}j();var nU={componentBase:"src_features_pageOnly_predictionTool_Field_componentBase",fieldContainer:"src_features_pageOnly_predictionTool_Field_fieldContainer",patientInput:"src_features_pageOnly_predictionTool_Field_patientInput",componentGroup:"src_features_pageOnly_predictionTool_Field_componentGroup",titleContainer:"src_features_pageOnly_predictionTool_Field_titleContainer",groupTitle:"src_features_pageOnly_predictionTool_Field_groupTitle",groupContainer:"src_features_pageOnly_predictionTool_Field_groupContainer",componentRadioGroup:"src_features_pageOnly_predictionTool_Field_componentRadioGroup",radioContainer:"src_features_pageOnly_predictionTool_Field_radioContainer",componentInlineGroup:"src_features_pageOnly_predictionTool_Field_componentInlineGroup",componentInline:"src_features_pageOnly_predictionTool_Field_componentInline",legend:"src_features_pageOnly_predictionTool_Field_legend",inlineLabel:"src_features_pageOnly_predictionTool_Field_inlineLabel",label:"src_features_pageOnly_predictionTool_Field_label",tooltipLayout:"src_features_pageOnly_predictionTool_Field_tooltipLayout",labelAddition:"src_features_pageOnly_predictionTool_Field_labelAddition",componentNumber:"src_features_pageOnly_predictionTool_Field_componentNumber",componentRadio:"src_features_pageOnly_predictionTool_Field_componentRadio",componentCheckbox:"src_features_pageOnly_predictionTool_Field_componentCheckbox",componentSelect:"src_features_pageOnly_predictionTool_Field_componentSelect",select:"src_features_pageOnly_predictionTool_Field_select",iconContainer:"src_features_pageOnly_predictionTool_Field_iconContainer",isDisabled:"src_features_pageOnly_predictionTool_Field_isDisabled",placeholderText:"src_features_pageOnly_predictionTool_Field_placeholderText",noSelection:"src_features_pageOnly_predictionTool_Field_noSelection",iconLayout:"src_features_pageOnly_predictionTool_Field_iconLayout"};j();
37var Jr=`<svg width="17" height="10" viewBox="0 0 17 10" fill="none" xmlns="http://www.w3.org/2000/svg">
38  <path id="Path 2" d="M1 8.17578L8.1753 1.00048L15.3506 8.17577" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
39</svg>
40`;var VU=c(G());function wV({children:V,title:U=void 0,legend:W=void 0,tooltip:T=void 0}){return(0,VU.jsxs)("div",{role:"group",className:nU.componentGroup,children:[(0,VU.jsxs)("div",{className:nU.titleContainer,children:[U&&(0,VU.jsx)("h6",{className:nU.groupTitle,children:U}),T&&T.location!=="legend"&&(0,VU.jsx)(xT,{tip:T})]}),W&&(0,VU.jsxs)("p",{className:nU.legend,children:[W,T&&T.location==="legend"&&(0,VU.jsx)(xT,{tip:T})]}),(0,VU.jsx)("div",{className:nU.groupContainer,children:V})]})}function WR({label:V=void 0,children:U}){return(0,VU.jsxs)("div",{role:"group",className:nU.componentRadioGroup,children:[V&&(0,VU.jsx)("h6",{className:nU.label,children:V}),(0,VU.jsx)("div",{className:nU.radioContainer,children:U})]})}function Fe({children:V}){return(0,VU.jsx)("div",{className:nU.componentInlineGroup,children:V})}function lV({name:V,id:U,value:W,min:T,max:Z,step:o=1,onChange:i=void 0,label:b=void 0,labelAddition:O=void 0,tooltip:S=void 0,disabled:z=!1}){return(0,VU.jsx)($r,{label:b&&T!==void 0&&Z!==void 0?(0,VU.jsxs)(VU.Fragment,{children:[b,"\xA0(",T," - ",Z,")"]}):b,id:U,labelAddition:O,tooltip:S,children:(0,VU.jsx)("input",{type:"number",placeholder:`${T} - ${Z}`,onChange:R=>i?.(q(R.target.value)),className:nU.componentNumber,name:V,id:U,min:T,max:Z,value:W,step:o,disabled:z})});function q(R){let I=Number.parseFloat(R);return Number.isNaN(I)?"":I}}function TR({label:V,name:U,id:W,onChange:T,checked:Z,disabled:o=!1}){return(0,VU.jsx)(_r,{id:W,label:V,children:(0,VU.jsx)("input",{type:"checkbox",onChange:i=>T(i.target.checked),className:nU.componentCheckbox,name:U,id:W,checked:Z,disabled:o})})}function DV({label:V,name:U,id:W,onChange:T,checked:Z,disabled:o=!1}){return(0,VU.jsx)(_r,{id:W,label:V,children:(0,VU.jsx)("input",{type:"radio",onChange:i=>T(i.target.checked),className:nU.componentRadio,name:U,id:W,checked:Z,disabled:o})})}function Tb({id:V,label:U,value:W,onChange:T,options:Z,placeholder:o,disabled:i=!1}){let b=!Z.find(S=>S.value===W)?.label,O=b?"default":W;return(0,VU.jsx)($r,{id:V,label:U,children:(0,VU.jsxs)("div",{className:(0,_.default)(nU.componentSelect,i&&nU.isDisabled),children:[(0,VU.jsxs)("select",{value:O,className:nU.select,onChange:T,disabled:i,children:[(0,VU.jsx)("option",{disabled:!0,value:"default",children:o}),Z.map(({value:S,label:z},u)=>(0,VU.jsx)("option",{value:S,children:z},u))]}),(0,VU.jsx)("p",{className:(0,_.default)(nU.placeholderText,b&&nU.noSelection),children:Z.find(S=>S.value===W)?.label||o}),(0,VU.jsx)("span",{className:nU.iconContainer,children:(0,VU.jsx)(qU,{icon:Jr,layoutClassName:nU.iconLayout})})]})})}function $r({id:V,label:U,children:W,labelAddition:T=void 0,tooltip:Z=void 0}){return(0,VU.jsxs)("div",{className:nU.componentBase,children:[U&&(0,VU.jsxs)("label",{className:nU.label,htmlFor:V,children:[(0,VU.jsx)("span",{children:U}),Z&&(0,VU.jsx)(xT,{tip:Z,layoutClassName:nU.tooltipLayout}),T&&(0,VU.jsx)("span",{className:nU.labelAddition,children:T}),T&&!Z&&(0,VU.jsx)("span",{className:nU.labelAddition,children:T})]}),(0,VU.jsx)("div",{className:nU.fieldContainer,children:W})]})}function _r({id:V,label:U,children:W}){return(0,VU.jsxs)("span",{className:nU.componentInline,children:[W,(0,VU.jsx)("label",{className:nU.inlineLabel,htmlFor:V,children:U})]})}function ZR(V,U,W){return(V[U]||{})[W]||["",""]}j();var Bz={component:"src_features_pageOnly_predictionTool_Basisgegevens_component",patientInput:"src_features_pageOnly_predictionTool_Basisgegevens_patientInput",linkToMoCAMMSETool:"src_features_pageOnly_predictionTool_Basisgegevens_linkToMoCAMMSETool",labelTooltipContainer:"src_features_pageOnly_predictionTool_Basisgegevens_labelTooltipContainer"};var ZW=c(G()),MC="basisgegevens";function er({value:V,onChange:U,fieldInfo:W,basisResults:T}){let Z=v("predictie_tool"),o=WV(),{form:i,tooltip:b,firstParagraph:O,linkToMoCAMMSETool:S}=Z(MC),{gender:z,age:u,mmse:q}=V;return(0,ZW.jsxs)("section",{className:Bz.component,children:[(0,ZW.jsxs)("div",{className:Bz.patientInput,children:[(0,ZW.jsxs)(WR,{label:i.gender.legend,children:[(0,ZW.jsx)(DV,{name:"gender",id:"male",label:i.gender.male,onChange:R=>U(I=>({...I,gender:R?"male":I.gender})),checked:z==="male"}),(0,ZW.jsx)(DV,{name:"gender",id:"female",label:i.gender.female,onChange:R=>U(I=>({...I,gender:R?"female":I.gender})),checked:z==="female"})]}),(0,ZW.jsxs)(wV,{children:[(0,ZW.jsx)(lV,{label:i.age.label,id:"age",name:"age",value:u,onChange:R=>U({...V,age:R}),min:W.age[0],max:W.age[1]}),(0,ZW.jsx)(lV,{label:i.score.label,id:"mmse",name:"mmse",value:q,onChange:R=>U({...V,mmse:R}),min:W.mmse[0],max:W.mmse[1]})]}),(0,ZW.jsx)("a",{className:Bz.linkToMoCAMMSETool,href:`${X.app.tools.calculatorTool.basis({language:o})}`,children:(0,ZW.jsx)("small",{children:S})})]}),(0,ZW.jsxs)("div",{className:Bz.labelTooltipContainer,children:[O,(0,ZW.jsx)(xT,{tip:b,buttonLink:b.button.link})]}),(0,ZW.jsx)(vz,{results:T})]})}j();j();j();var WZ={component:"src_features_buildingBlocks_ContentToggler_component",contentContainer:"src_features_buildingBlocks_ContentToggler_contentContainer",label:"src_features_buildingBlocks_ContentToggler_label",button:"src_features_buildingBlocks_ContentToggler_button",iconContainer:"src_features_buildingBlocks_ContentToggler_iconContainer",isExpanded:"src_features_buildingBlocks_ContentToggler_isExpanded",iconLayout:"src_features_buildingBlocks_ContentToggler_iconLayout",toggleContent:"src_features_buildingBlocks_ContentToggler_toggleContent",contentOpen:"src_features_buildingBlocks_ContentToggler_contentOpen"};j();var oR=`<svg viewBox="0 0 8 6" xmlns="http://www.w3.org/2000/svg">
41  <path d="M6.83 1L4 3.83 1.17 1" stroke="currentColor" strokeWidth="1" fill="none" fillRule="evenodd" strokeLinecap="round" />
42</svg>
43`;var dZ=c(G());function Ir({label:V,children:U}){let[W,T]=e.default.useState(!1);return(0,dZ.jsxs)("div",{className:WZ.component,children:[(0,dZ.jsxs)("div",{className:WZ.contentContainer,children:[(0,dZ.jsx)("span",{className:WZ.label,children:V}),(0,dZ.jsx)("button",{type:"button",onClick:Z,className:WZ.button,children:(0,dZ.jsx)("div",{className:(0,_.default)(WZ.iconContainer,W&&WZ.isExpanded),children:(0,dZ.jsx)(qU,{icon:oR,layoutClassName:WZ.iconLayout})})})]}),(0,dZ.jsx)("div",{className:(0,_.default)(WZ.toggleContent,W&&WZ.contentOpen),children:U})]});function Z(){T(!W)}}j();var ET={component:"src_features_pageOnly_predictionTool_AanvullendeGegevens_component",patientInput:"src_features_pageOnly_predictionTool_AanvullendeGegevens_patientInput",warning:"src_features_pageOnly_predictionTool_AanvullendeGegevens_warning",labelTooltipContainer:"src_features_pageOnly_predictionTool_AanvullendeGegevens_labelTooltipContainer",noticeText:"src_features_pageOnly_predictionTool_AanvullendeGegevens_noticeText",noticeList:"src_features_pageOnly_predictionTool_AanvullendeGegevens_noticeList",calculationNotice:"src_features_pageOnly_predictionTool_AanvullendeGegevens_calculationNotice",calculationCopy:"src_features_pageOnly_predictionTool_AanvullendeGegevens_calculationCopy"};var F=c(G()),QC="aanvullendegegevens";function Mr({value:V,onChange:U,fieldInfo:W,basisInRange:T,basisResults:Z,aanvullendeResults:o}){let i=v("predictie_tool"),{form:b,withBiomarkers:O,withoutBiomarkers:S}=i(QC),z=V.testSoort.includes("mri"),u=V.testSoort.includes("eiwit"),q=V.testSoort.includes("pet"),R=.025;return(0,F.jsxs)("section",{className:ET.component,children:[(0,F.jsxs)("div",{className:ET.patientInput,children:[(0,F.jsxs)(wV,{legend:b.legend,tooltip:{location:"legend",render:()=>(0,F.jsx)(nC,{})},children:[(0,F.jsx)(TR,{name:"testSoort",id:"mri",label:b.mriType.label,onChange:n("mri"),checked:V.testSoort.includes("mri")}),(0,F.jsx)(TR,{name:"testSoort",id:"eiwit",label:b.eiwitMethode.label,disabled:V.testSoort.includes("pet"),onChange:n("eiwit"),checked:V.testSoort.includes("eiwit")}),(0,F.jsx)(TR,{name:"testSoort",id:"pet",label:b.petMethode.label,disabled:V.testSoort.includes("eiwit"),onChange:n("pet",{onSelect:HC(tr("mriType","volumetrisch"),tr("hcvMethod","freesurfer"))}),checked:V.testSoort.includes("pet")})]}),q&&(0,F.jsx)("div",{className:ET.warning,children:b.petMethode.warning}),T&&(0,F.jsxs)(F.Fragment,{children:[z&&(0,F.jsx)(wV,{legend:b.mriType.legend,children:(0,F.jsx)(xC,{disableVisueel:q,value:V,onChange:U,form:b})}),z&&V.mriType==="volumetrisch"&&(0,F.jsx)(wV,{legend:b.volumetrischMethode.legend,children:(0,F.jsx)(kC,{disableFslFirst:q,value:V,onChange:U,form:b})}),z&&V.mriType==="visueel"&&(0,F.jsx)(wV,{children:(0,F.jsx)(Fe,{children:(0,F.jsx)(EC,{value:V,onChange:U,fieldInfo:W,form:b})})}),z&&V.mriType==="volumetrisch"&&(0,F.jsx)(wV,{children:(0,F.jsx)(rC,{value:V,onChange:U,fieldInfo:W,form:b})}),u&&(0,F.jsx)(wV,{legend:b.eiwitMethode.label,children:(0,F.jsx)(XC,{value:V,onChange:U,form:b})}),u&&V.csfMethod&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(wV,{children:(0,F.jsxs)(Fe,{children:[(0,F.jsx)(cC,{value:V,onChange:U,fieldInfo:W,form:b}),(0,F.jsx)(GC,{value:V,onChange:U,fieldInfo:W,form:b})]})}),V.csfMethod==="elecsys"&&(0,F.jsxs)("div",{className:ET.calculationNotice,children:[(0,F.jsx)("strong",{children:b.eiwitMethode.calculation}),(0,F.jsxs)("p",{className:ET.calculationCopy,children:[(0,F.jsxs)("span",{children:[`${V.pTau||"p-Tau"} / ${V.abeta||"Abeta"} = `,(0,F.jsx)(M,{value:V}
43)]}),(0,F.jsx)("span",{children:V.abeta&&V.pTau?I():null})]})]})]}),q&&(0,F.jsx)(wV,{legend:b.petMethode.legend,children:(0,F.jsx)(hC,{value:V,onChange:U,form:b})})]})]}),(0,F.jsxs)("div",{className:ET.labelTooltipContainer,children:[O.text,(0,F.jsx)(xT,{tip:O.tooltip,buttonLink:O.tooltip.button.link})]}),(0,F.jsx)(vz,{results:o}),(0,F.jsx)(Ir,{label:(0,F.jsxs)("div",{className:ET.labelTooltipContainer,children:[S.text,(0,F.jsx)(xT,{tip:S.tooltip,buttonLink:S.tooltip.button.link})]}),children:(0,F.jsx)(vz,{results:Z})})]});function I(){return b.eiwitMethode.difference(AC({targetRatio:R,abeta:V.abeta,pTau:V.pTau}),R)}function M({value:P}){let $=Number(P.pTau||0)/Number(P.abeta||0);return Number.isFinite($)?$.toFixed(3):"?"}function n(P,{onSelect:$=t=>t}={}){return t=>U(({testSoort:Q,...x})=>({...t?$(x):x,testSoort:t?Q.concat(P):Q.filter(k=>k!==P)}))}}function nC(){let U=v("predictie_tool")("tooltip");return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)("span",{className:ET.noticeText,children:U.warning}),(0,F.jsx)("span",{className:ET.noticeText,children:U.pet}),(0,F.jsx)("ul",{className:ET.noticeList,children:U.bulletpoints.map(W=>(0,F.jsx)("li",{children:W},W))})]})}function FZ(V,U,W){return T=>V(({[U]:Z,...o})=>({...o,[U]:T?W:Z}))}function HC(...V){return U=>V.reduce((W,T)=>T(W),U)}function tr(V,U){return({[V]:W,...T})=>({[V]:U,...T})}function cC({value:V,onChange:U,fieldInfo:W,form:T}){let[Z,o]=ZR(W.csfMethods,V.csfMethod,"abeta");return(0,F.jsx)(lV,{name:"abeta",id:"abeta",label:T.abeta.label,value:V.abeta,onChange:i=>U({...V,abeta:i}),min:Z,max:o})}function GC({value:V,onChange:U,fieldInfo:W,form:T}){let[Z,o]=ZR(W.csfMethods,V.csfMethod,"pTau");return(0,F.jsx)(lV,{name:"pTau",id:"pTau",label:T.pTau.label,value:V.pTau,onChange:i=>U({...V,pTau:i}),min:Z,max:o})}function rC({value:V,onChange:U,fieldInfo:W,form:T}){let[Z,o]=ZR(W.hcvMethods,V.hcvMethod,"hcv");return(0,F.jsx)(lV,{name:"hcv",id:"hcv",label:T.hcv.label,labelAddition:T.hcv.labelAddition,value:V.hcv,onChange:i=>U({...V,hcv:i}),step:.1,disabled:!Z&&!o,min:Z,max:o})}function xC({value:V,onChange:U,form:W,disableVisueel:T}){return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(DV,{name:"mriType",id:"visueel",label:W.mriType.visueel,onChange:FZ(U,"mriType","visueel"),checked:V.mriType==="visueel",disabled:T}),(0,F.jsx)(DV,{name:"mriType",id:"volumetrisch",label:W.mriType.volumetrisch,onChange:FZ(U,"mriType","volumetrisch"),checked:V.mriType==="volumetrisch"})]})}function EC({value:V,onChange:U,fieldInfo:W,form:T}){let[Z,o]=W.mta;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(lV,{name:"mtaLeft",id:"mtaLeft",label:T.mta.labelLeft,value:V.mtaLeft,onChange:i=>U({...V,mtaLeft:i}),min:Z,max:o}),(0,F.jsx)(lV,{name:"mtaRight",id:"mtaRight",label:T.mta.labelRight,value:V.mtaRight,onChange:i=>U({...V,mtaRight:i}),min:Z,max:o})]})}function kC({value:V,onChange:U,form:W,disableFslFirst:T}){return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(DV,{name:"hcvMethod",label:W.volumetrischMethode.fslFirst,id:"fslFirst",onChange:FZ(U,"hcvMethod","fslFirst"),checked:V.hcvMethod==="fslFirst",disabled:T}),(0,F.jsx)(DV,{name:"hcvMethod",label:W.volumetrischMethode.freesurfer,id:"freesurfer",onChange:FZ(U,"hcvMethod","freesurfer"),checked:V.hcvMethod==="freesurfer"})]})}function XC({value:V,onChange:U,form:W}){return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(DV,{name:"csfMethod",id:"elecsys",label:W.eiwitMethode.elecsys,onChange:FZ(U,"csfMethod","elecsys"),checked:V.csfMethod==="elecsys"}),(0,F.jsx)(DV,{name:"csfMethod",id:"innotest",label:W.eiwitMethode.innotest,onChange:FZ(U,"csfMethod","innotest"),checked:V.csfMethod==="innotest"}),(0,F.jsx)(DV,{name:"csfMethod",id:"luminex",label:W.eiwitMethode.luminex,onChange:FZ(U,"csfMethod","luminex"),checked:V.csfMethod==="luminex"})]})}function hC({value:V,onChange:U,form:W}){return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(DV,{name:"pet",id:"pet_positive",label:W.petMethode.positive,onChange:FZ(U,"pet","positive"),checked:V.pet==="positive"}),(0,F.jsx)(DV,{name:"pet",id:"pet_negative",label:W.petMethode.negative,onChange:FZ(U,"pet","negative"),checked:V.pet==="negative"})]})}function AC({targetRatio:V,abeta:U,pTau:W}){let T=Number(W||0)/Number(U||0);return Number.isFinite(T)?Math.round(T*1e4)/1e4>V:null}j();var ae=`<svg viewBox="0 0 23 15" fill="none" xmlns="http://www.w3.org/2000/svg">
44  <path d="M15.6037 0L22.791 7.00607C22.9249 7.13734 23 7.31491 23 7.5C23 7.68509 22.9249 7.86266 22.791 7.99393L15.6037 15L14.5903 14.0121L20.5486 8.20411L0 8.20411V6.8029L20.5486 6.8029L14.5903 0.994862L15.6037 0Z" fill="currentColor"/>
45</svg>
46`;j();
46var Ce={component:"src_features_pageOnly_predictionTool_Calculator_component",actionsContainer:"src_features_pageOnly_predictionTool_Calculator_actionsContainer",componentResultsButton:"src_features_pageOnly_predictionTool_Calculator_componentResultsButton"};var kW=c(G()),Be={gender:null,age:"",mmse:""},se={hcv:"",mtaLeft:"",mtaRight:"",hcvMethod:"",csfMethod:"",abeta:"",pTau:"",mriType:"",pet:"",testSoort:[]};function nr({fieldInfo:V,section:U,onSectionChange:W,basisResults:T,onBasisResultsChange:Z,aanvullendeResults:o,onAanvullendeResultsChange:i,basisGegevens:b,onBasisGegevensChange:O,aanvullendeGegevens:S,onAanvullendeGegevensChange:z}){let u=Eo({reportError:fT}),q=v("predictie_tool"),R=q("buttons"),I=U==="aanvullend"||!!T,[M,n]=e.default.useState(null),P=Xo(),$=e.default.useMemo(()=>NC(U,b,S),[U,b,S]),t=e.default.useCallback(EU,[u,U]),{model:Q,type:x,data:k}=$,r=Q&&ve(Q,V),A=!!(U==="aanvullend"?o:T),d=!u||!x||!k||!Q||lC(k)||!Qr(Q,k,r),a=e.default.useRef(null);if(e.default.useEffect(()=>{t({reset:d,body:$})},[t,$,d]),M)return(0,kW.jsx)("div",{children:q("error")});return(0,kW.jsxs)("div",{className:Ce.component,children:[U==="basis"&&(0,kW.jsx)(er,{value:b,onChange:xU,fieldInfo:r,basisResults:T}),U==="aanvullend"&&(0,kW.jsx)(Mr,{basisInRange:Q&&Qr(Q,b,ve(Q,V)),value:S,onChange:z,fieldInfo:r,basisResults:T,aanvullendeResults:o}),U==="resultaat"&&(0,kW.jsx)(qr,{gender:b.gender,results:o||T,aanvullendeGegevens:S}),(0,kW.jsxs)("div",{className:Ce.actionsContainer,children:[(0,kW.jsx)(Nj,{onClick:vU=>UU(),children:R[U].resetButton.text}),U==="basis"&&(0,kW.jsx)(Db,{icon:Kq,onClick:vU=>W("aanvullend"),disabled:!I||d,children:R[U].addBiomarkersButton.text}),U==="aanvullend"&&(0,kW.jsx)(kV,{icon:ae,onClick:()=>W("resultaat"),disabled:!A||d,children:R[U].resultButton.text}),U==="resultaat"&&(0,kW.jsx)(kV,{onClick:vU=>window.print(),icon:null,children:R[U].printButton.text}),U==="basis"&&(0,kW.jsx)(kV,{icon:ae,onClick:()=>W("resultaat"),disabled:d||!A,children:R[U].resultButton.text})]})]});function xU(vU){O(vU)}function UU(){O(Be),z(se),Z(null),i(null),W("basis")}async function EU({reset:vU,body:UV}){try{if(vU)a.current=null,U==="basis"&&Z(null),U==="aanvullend"&&i(null);else{let wU=mC(u,UV);a.current=wU;let CT=await wU;if(a.current!==wU||!P.current)return;U==="basis"&&Z(CT),U==="aanvullend"&&i(CT)}}catch(wU){fT(wU),n(wU)}}}function NC(V,U,W){let{age:T,gender:Z,mmse:o}=U,{testSoort:i,mriType:b,mtaLeft:O,mtaRight:S,hcv:z,abeta:u,pTau:q,hcvMethod:R,csfMethod:I,pet:M}=W,[n,P,$]=V==="basis"?["defaultModel","demographic",{age:T,gender:Z,mmse:o}]:V==="aanvullend"?i.includes("mri")&&i.includes("eiwit")?b==="visueel"?["defaultModel","atn_mta",{csfMethod:I,abeta:u,pTau:q,mtaLeft:O,mtaRight:S,age:T,mmse:o}]:b==="volumetrisch"?["defaultModel","atn_hcv",{hcvMethod:R,csfMethod:I,hcv:z,abeta:u,pTau:q,age:T,mmse:o}]:["defaultModel"]:i.includes("mri")&&i.includes("pet")?b==="volumetrisch"?["petModel","pet_hcv",{hcvMethod:R,hcv:z,age:T,mmse:o,gender:Z,pet:M}]:["petModel"]:i.includes("mri")?b==="visueel"?["defaultModel","mta",{mtaLeft:O,mtaRight:S,gender:Z,mmse:o}]:b==="volumetrisch"?["defaultModel","hcv",{hcvMethod:R,hcv:z,age:T,mmse:o}]:["defaultModel"]:i.includes("eiwit")?["defaultModel","csf",{csfMethod:I,abeta:u,pTau:q,mmse:o}]:i.includes("pet")?["petModel","pet",{pet:M,mmse:o}]:[]:[];return{model:n,type:P,data:$}}async function mC(V,U){let W=await V.getIdToken();return fetch("/calculator",{method:"POST",headers:{"X-Authorization":`Bearer ${W}`,"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(U)}).then(T=>T.json())}function lC(V){return Object.values(V).some(U=>!U&&typeof U!="number")}function Qr(V,U,W){let{mta:T,age:Z,mmse:o,hcvMethods:{[U.hcvMethod]:{hcv:i}={hcv:""}},csfMethods:{[U.csfMethod]:{abeta:b,pTau:O}={abeta:"",pTau:""}}}=W,S={age:Zb(Z),mmse:Zb(o),hcv:Zb(i),...V==="defaultModel"&&{mtaLeft:Zb(T),mtaRight:Zb(T),abeta:Zb(b),pTau:Zb(O)}};return Object.entries(U).reduce((z,[u,q])=>{let R=S[u];return z&&(!R||R(q))},!0)}function Zb([V,U]=[]){return W=>Wr(W)&&W>=V&&W<=U}function ve(V,U){return Array.isArray(U)&&U||U[V]||dC(U,W=>ve(V,W))}function dC(V,U){return Object.entries(V).reduce((W,[T,Z])=>({...W,[T]:U(Z)}),{})}j();j();var cr=c(G());function Hr({text:V}){return(0,cr.jsx)("span",{dangerouslySetInnerHTML:{__html:V}})}j();j();var pe={component:"src_features_buildingBlocks_Heading_component",h2:"src_features_buildingBlocks_Heading_h2"};var Gr=c(G());function Ao({h:V,text:U,layoutClassName:W=void 0}){let T=V?`h${V}`:"strong";return(0,Gr.jsx)(T,{className:(0,_.default)(pe.component,pe[T],W),children:U})}j();j();var kr=c(G()),rr=e.default.createContext(null);function xr({children:V,config:U}){return(0,kr.jsx)(rr.Provider,{value:U,children:V})}function Er(){let V=e.default.useContext(rr);if(!V)throw new Error("Please use a `ClientConfigProvider` to provide a client config");return V}var Ye=c(G());function Xr({id:V}){let{videoBaseUrl:U}=Er();if(!V)return null;let W=`${U}/${V}/video.mp4`,T=`${U}/${V}/thumb.jpg`;return(0,Ye.jsx)("video",{controls:!0,poster:T,children:(0,Ye.jsx)("source",{type:"video/mp4",src:W})},V)}j();j();var hr={component:"src_features_buildingBlocks_Image_component"};var ye=c(G());function Ar({src:V,alt:U=void 0,width:W=void 0}){return(0,ye.jsx)("div",{className:hr.component,children:(0,ye.jsx)("img",{style:{width:W},src:V,alt:U})})}j();j();var iR={component:"src_features_buildingBlocks_ImageWithText_component",imageWrapper:"src_features_buildingBlocks_ImageWithText_imageWrapper"};var _O=c(G());function Nr({text:V,src:U,alt:W=void 0}
46){return(0,_O.jsxs)("div",{className:iR.component,children:[(0,_O.jsx)("p",{dangerouslySetInnerHTML:{__html:V}}),(0,_O.jsx)("div",{className:iR.imageWrapper,children:(0,_O.jsx)("img",{className:iR.image,src:U,alt:W})})]})}j();j();var No={component:"src_features_buildingBlocks_Accordion_component",componentItem:"src_features_buildingBlocks_Accordion_componentItem",icon:"src_features_buildingBlocks_Accordion_icon",iconLayout:"src_features_buildingBlocks_Accordion_iconLayout",isOpen:"src_features_buildingBlocks_Accordion_isOpen",summary:"src_features_buildingBlocks_Accordion_summary",contentContainer:"src_features_buildingBlocks_Accordion_contentContainer"};var TZ=c(G());function mr({items:V}){return(0,TZ.jsx)("div",{className:No.component,children:V.map((U,W)=>(0,TZ.jsx)(FC,{item:U},W))})}function FC({item:V}){let{title:U,content:W}=V,[T,Z]=e.default.useState(!1);return(0,TZ.jsxs)("details",{className:No.componentItem,open:T,children:[(0,TZ.jsxs)("summary",{className:No.summary,onClick:o,children:[U,(0,TZ.jsx)("div",{className:(0,_.default)(No.icon,T&&No.isOpen),children:(0,TZ.jsx)(qU,{layoutClassName:No.iconLayout,icon:oR})})]}),(0,TZ.jsx)("div",{className:No.contentContainer,children:(0,TZ.jsx)(mU,{content:W})})]});function o(i){i.preventDefault(),Z(!T)}}j();j();var eO={component:"src_features_buildingBlocks_OrderedAccordion_component",componentItem:"src_features_buildingBlocks_OrderedAccordion_componentItem",isExpanded:"src_features_buildingBlocks_OrderedAccordion_isExpanded",componentButton:"src_features_buildingBlocks_OrderedAccordion_componentButton",contentContainer:"src_features_buildingBlocks_OrderedAccordion_contentContainer"};var aZ=c(G());function lr({items:V}){return(0,aZ.jsx)("ol",{className:eO.component,children:V.map((U,W)=>(0,aZ.jsx)(aC,{open:!W,item:U},W))})}function aC({item:V,open:U}){let[W,T]=e.default.useState(U),{title:Z,content:o}=V;return(0,aZ.jsxs)("li",{className:(0,_.default)(eO.componentItem,W&&eO.isExpanded),children:[(0,aZ.jsx)(CC,{onClick:i,title:Z}),(0,aZ.jsx)("div",{className:eO.contentContainer,children:(0,aZ.jsx)(mU,{content:o})})]});function i(){T(!W)}}function CC({title:V,onClick:U}){return(0,aZ.jsx)("button",{type:"button",className:eO.componentButton,onClick:U,children:V})}j();var Fr=c(G());function dr({label:V,href:U,disabled:W=!1,targetBlank:T,disabledNotice:Z=void 0,layoutClassName:o=void 0}){return(0,Fr.jsx)(Vn,{target:T?"_blank":void 0,href:U,disabled:W,disabledNotice:Z,layoutClassName:o,children:V})}j();j();var mo={component:"src_features_buildingBlocks_ProsAndCons_component",content:"src_features_buildingBlocks_ProsAndCons_content",pros:"src_features_buildingBlocks_ProsAndCons_pros",cons:"src_features_buildingBlocks_ProsAndCons_cons",title:"src_features_buildingBlocks_ProsAndCons_title"};var kT=c(G());function ar({pros:V,cons:U}){return(0,kT.jsxs)("div",{className:mo.component,children:[(0,kT.jsxs)("div",{className:mo.content,children:[(0,kT.jsx)("span",{className:(0,_.default)(mo.title,mo.pros),children:V.title}),(0,kT.jsx)("div",{children:(0,kT.jsx)(mU,{content:V.content})})]}),(0,kT.jsxs)("div",{className:mo.content,children:[(0,kT.jsx)("span",{className:(0,_.default)(mo.title,mo.cons),children:U.title}),(0,kT.jsx)("div",{children:(0,kT.jsx)(mU,{content:U.content})})]})]})}j();j();var sz={component:"src_features_buildingBlocks_BulletList_component",title:"src_features_buildingBlocks_BulletList_title",componentBase:"src_features_buildingBlocks_BulletList_componentBase",listItem:"src_features_buildingBlocks_BulletList_listItem"};var ZZ=c(G());function vr({content:V,title:U=void 0}){return U?(0,ZZ.jsxs)("div",{className:sz.component,children:[U&&(0,ZZ.jsx)("div",{className:sz.title,children:U}),(0,ZZ.jsx)(Cr,{content:V})]}):(0,ZZ.jsx)(Cr,{content:V})}function Cr({content:V}){return(0,ZZ.jsx)("ul",{className:sz.componentBase,children:V.map((U,W)=>U.type===J.BULLETLIST?(0,ZZ.jsx)(mU,{content:[U]},W):(0,ZZ.jsx)("li",{className:sz.listItem,children:(0,ZZ.jsx)(mU,{content:[U]})},W))})}j();j();var Br={component:"src_features_buildingBlocks_OrderedList_component"};var bR=c(G());function sr({content:V}){return(0,bR.jsx)("ol",{className:Br.component,children:V.map((U,W)=>(0,bR.jsx)("li",{children:(0,bR.jsx)(mU,{content:[U]})},W))})}j();j();var pz={component:"src_features_buildingBlocks_AnchorLinks_component",title:"src_features_buildingBlocks_AnchorLinks_title",content:"src_features_buildingBlocks_AnchorLinks_content",componentPill:"src_features_buildingBlocks_AnchorLinks_componentPill"};var ob=c(G());function pr({title:V,items:U}){return(0,ob.jsxs)("div",{className:pz.component,children:[(0,ob.jsx)("span",{className:pz.title,children:V}),(0,ob.jsx)("div",{className:pz.content,children:U.map((W,T)=>(0,ob.jsx)(vC,{item:W},T))})]})}function vC({item:V}){let{label:U,anchor:W}=V;return(0,ob.jsx)("a",{className:pz.componentPill,href:`#${W}`,children:U})}j();j();var Yr={component:"src_features_buildingBlocks_Section_component"};var Ke=c(G());function yr({id:V,content:U}){return(0,Ke.jsx)("section",{className:Yr.component,id:V,children:(0,Ke.jsx)(mU,{content:U})})}j();j();var oZ={component:"src_features_buildingBlocks_Team_component",cardsGri
46d:"src_features_buildingBlocks_Team_cardsGrid",componentCard:"src_features_buildingBlocks_Team_componentCard",imageContainer:"src_features_buildingBlocks_Team_imageContainer",name:"src_features_buildingBlocks_Team_name",cardDetail:"src_features_buildingBlocks_Team_cardDetail",image:"src_features_buildingBlocks_Team_image",link:"src_features_buildingBlocks_Team_link"};var dV=c(G());function Kr(){let V=v("informatie"),{title:U,contactTitle:W,team:T}=V("team");return(0,dV.jsxs)("section",{className:oZ.component,children:[(0,dV.jsx)(Ao,{h:2,text:U}),(0,dV.jsx)("ul",{className:oZ.cardsGrid,children:T.map(({name:Z,src:o,profession:i},b)=>(0,dV.jsx)(BC,{name:Z,src:o,profession:i},b))}),(0,dV.jsxs)("div",{children:[(0,dV.jsxs)("b",{children:[W,":"]}),(0,dV.jsxs)("p",{children:["T: ",(0,dV.jsx)("a",{className:oZ.link,href:"tel:020-4440685",children:"020-4440685"})]}),(0,dV.jsxs)("p",{children:["E: ",(0,dV.jsx)("a",{className:oZ.link,href:"mailto:[email protected]",children:"[email protected]"})]})]})]})}function BC({name:V,src:U,profession:W}){return(0,dV.jsxs)("li",{className:oZ.componentCard,children:[(0,dV.jsx)("div",{className:oZ.imageContainer,children:(0,dV.jsx)("img",{className:oZ.image,alt:V,src:U})}),(0,dV.jsx)("h3",{className:oZ.name,children:V}),(0,dV.jsx)("p",{className:oZ.cardDetail,children:W})]})}j();var OR={component:"src_features_buildingBlocks_Content_component",headingLayout:"src_features_buildingBlocks_Content_headingLayout",buttonlinkLayout:"src_features_buildingBlocks_Content_buttonlinkLayout"};var FV=c(G());function mU({content:V}){return(0,FV.jsx)("div",{className:OR.component,children:V?.map((U,W)=>{switch(U.type){case"text":return(0,FV.jsx)(Hr,{text:U.text},W);case"paragraph":return(0,FV.jsx)(JW,{text:U.text},W);case"heading":return(0,FV.jsx)(Ao,{h:U.h,text:U.text,layoutClassName:OR.headingLayout},W);case"video":return(0,FV.jsx)(Xr,{id:U.id},W);case"image":return(0,FV.jsx)(Ar,{src:U.src,width:U.width},W);case"imagewithtext":return(0,FV.jsx)(Nr,{text:U.text,src:U.src},W);case"accordion":return(0,FV.jsx)(mr,{items:U.items},W);case"orderedaccordion":return(0,FV.jsx)(lr,{items:U.items},W);case"buttonlink":return(0,FV.jsx)(dr,{label:U.label,href:U.href,targetBlank:U.targetBlank,disabled:U.disabled,disabledNotice:U.disabledNotice,layoutClassName:OR.buttonlinkLayout},W);case"prosandcons":return(0,FV.jsx)(ar,{pros:U.pros,cons:U.cons},W);case"bulletlist":return(0,FV.jsx)(vr,{content:U.content,title:U.title},W);case"orderedlist":return(0,FV.jsx)(sr,{content:U.content},W);case"anchorlinks":return(0,FV.jsx)(pr,{title:U.title,items:U.items},W);case"section":return(0,FV.jsx)(yr,{id:U.id,content:U.content},W);case"team":return(0,FV.jsx)(Kr,{},W);default:return console.log(new Error(`Unknown content type '${U.type}'`)),null}})})}var J={TEXT:"text",PARAGRAPH:"paragraph",HEADING:"heading",VIDEO:"video",IMAGE:"image",IMAGEWITHTEXT:"imagewithtext",ACCORDION:"accordion",ORDEREDACCORDION:"orderedaccordion",BUTTONLINK:"buttonlink",PROSANDCONS:"prosandcons",BULLETLIST:"bulletlist",ORDEREDLIST:"orderedlist",ANCHORLINKS:"anchorlinks",SECTION:"section",TEAM:"team"};j();function sC(V){return V.split("/").filter(Boolean).pop()}function IO(V){return sC(V(X.app))}j();function tO(){let V=MU(),U=VV();return[e.default.useMemo(()=>Z(V.pathname),[V.pathname]),T];function T(o){U(o,{replace:!0})}function Z(o){return o.replace(/^\/(nl|en)/,"").replace(/\/+$/,"").split("/").pop()}}j();var Le=c(G());function MO(){let{isLoggedIn:V,loading:U}=PW(),W=WV();return U?null:V?(0,Le.jsx)(sS,{}):(0,Le.jsx)(BS,{to:X.app.tools.index({language:W}),replace:!0})}j();var we={contentContainer:"src_pages_PredictieTool_contentContainer",buttonLayout:"src_pages_PredictieTool_buttonLayout"};var sU=c(G()),Lr="predictie_tool";function wr({fieldInfo:V}){let{isLoggedIn:U}=PW(),W=VV(),T=v(Lr),{pages:Z,buttonToOtherTool:o,requestAccess:i,signup:b}=T("pageNavigation"),O=T("content"),S=WV(),[z]=tO(),[u,q]=e.default.useState(null),[R,I]=e.default.useState(null),[M,n]=e.default.useState(Be),[P,$]=e.default.useState(se),t=Z.find(UU=>UU.section===z)?.title,Q=(0,sU.jsx)(YC,{currentSection:z,handleSectionChange:r,handleBasisResultsChange:A,handleAanvullendeResultsChange:xU,fieldInfo:V,basisResults:u,aanvullendeResults:R,basisGegevens:M,handleBasisGegevensChange:d,aanvullendeGegevens:P,handleAanvullendeGegevensChange:a}),x=Z.map(({section:UU,link:EU,title:vU})=>({title:vU,onClick(){W(EU)},isActive:z===Lr&&!UU||UU===z,disabled:{index:!1,basis:!U,aanvullend:!u,resultaat:!u||!U}[UU]}));return e.default.useEffect(()=>{window.scrollTo(0,0)},[z]),(0,sU.jsx)(ko,{section:"tools",tag:T("tag"),formMenuItems:x,currentPageTitle:t,buttonToOtherTool:o,children:(0,sU.jsxs)(IT,{children:[(0,sU.jsx)(g,{index:!0,element:(0,sU.jsx)(pC,{signup:b,content:O,requestAccess:i})}),(0,sU.jsxs)(g,{element:(0,sU.jsx)(MO,{}),children:[(0,sU.jsx)(g,{path:k("basis"),element:Q}),(0,sU.jsx)(g,{path:k("aanvullend"),element:Q}),(0,sU.jsx)(g,{path:k("resultaat"),element:Q})]}),(0,sU.jsx)(g,{path:"*",element:(0,sU.jsx)($o,{})})]})});function k(UU){return IO(EU=>EU.tools.predictieTool[UU]({language:S}))}function r(UU){W(X.app.tools.predictieTool[UU]({language:S}))}function A(UU){q(UU)}function d(UU){n(UU)}function a(UU){$(UU)}function xU(UU){I(UU)}}function pC({content:V,signup:U,requestAccess:W}){let{isLoggedIn:T}=PW();return(0,sU.jsxs)(e.default.Fragment,{children:[!T&&(0,sU.jsx)(yC,{signup:U,requestAccess:W}),T&&(0,sU.jsx)(KC,{content:V})]})}function YC({currentSection:V,handleSectionChange:U,handleBasisResultsChange:W,handleAanvullendeResultsChange:T,fieldInfo:Z,basisResults:o,aanvullendeResults:i,basisGegevens:b,handleBasisGegevensChange:O,aanvullendeGegevens:S,handleAanvullendeGegevensChange:z}){let u=WV();return(V==="aanvullend"||V==="resultaat")&&!o?(0,sU.jsx)(BS,{to:X.app.tools.predictieTool.basis({language:u}),replace:!0}):(0,sU.jsx)(LC,{currentSection:V,handleSectionChange:U,handleBasisResultsChange:W,handleAanvullendeResultsChange:T,fieldInfo:Z,basisResults:o,aanvullendeResults:i,basisGegevens:b,handleBasisGegevensChange:O,aanvullendeGegevens:S,handleAanvullendeGegevensChange:z})}function yC({signup:V,requestAccess:U}){let W=WV();return(0,sU.jsxs)("div",{className:we.contentContainer,children:[(0,sU.jsx)(JW,{text:U}),(0,sU.jsx)(kV,{onClick:()=>navigate(X.app.tools.index({language:W})),layoutClassName:we.buttonLayout,children:V})]})}function KC({content:V}){return(0,sU.jsx)(mU,{content:V})}function LC({currentSection:V,handleSectionChange:U,handleBasisResultsChange:W,handleAanvullendeResultsChange:T,fieldInfo:Z,basisResults:o,aanvullendeResults:i,basisGegevens:b,handleBasisGegevensChange:O,aanvullendeGegevens:S,handleAanvullendeGegevensChange:z}){return(0,sU.jsx)(nr,{section:V,onSectionChange:U,onBasisResultsChange:W,onAanvullendeResultsChange:T,onBasisGegevensChange:O,onAanvullendeGegevensChange:z,fieldInfo:Z,basisResults:o,aanvullendeResults:i,basisGegevens:b,aanvullendeGegevens:S})}j();j();j();var QO=c(BU(),1),Dr=c(G(),1),De=QO.createContext(void 0),fe=V=>{let U=QO.useContext(De);if(V)return V;if(!U)throw new Error("No QueryClient set, use QueryClientProvider to set one");return U},Yz=({client:V,children:U})=>(QO.useEffect(()=>(V.mount(),()=>{V.unmount()}),[V]),(0,Dr.jsx)(De.Provider,{value:V,children:U}));j();j();var wC={setTimeout:(V,U)=>setTimeout(V,U),clearTimeout:V=>clearTimeout(V),setInterval:(V,U)=>setInterval(V,U),clearInterval:V=>clearInterval(V)},lo,ge,fr,DC=(fr=class{constructor(){C(this,lo,wC);C(this,ge,!1)}setTimeoutProvider(V){m(this,lo,V)}setTimeout(V,U){return H(this,lo).setTimeout(V,U)}clearTimeout(V){H(this,lo).clearTimeout(V)}setInterval(V,U){return H(this,lo).setInterval(V,U)}clearInterval(V){H(this,lo).clearInterval(V)}},lo=new WeakMap,ge=new WeakMap,fr),iZ=new DC;function gr(V){setTimeout(V,0)}j();var VI=typeof window>"u"||"Deno"in globalThis;function TV(){}function W5(V,U){return typeof V=="function"?V(U):V}function SR(V){return typeof V=="number"&&V>=0&&V!==1/0}function zR(V,U){return Math.max(V+(U||0)-Date.now(),0)}function lU(V,U){return typeof V=="function"?V(U):V}function uR(V,U){let{type:W="all",exact:T,fetchStatus:Z,predicate:o,queryKey:i,stale:b}=V;if(i){if(T){if(U.queryHash!==yz(i,U.options))return!1}else if(!Fo(U.queryKey,i))return!1}if(W!=="all"){let O=U.isActive();if(W==="active"&&!O||W==="inactive"&&O)return!1}return!(typeof b=="boolean"&&U.isStale()!==b||Z&&Z!==U.state.fetchStatus||o&&!o(U))}function jR(V,U){let{exact:W,status:T,predicate:Z,mutationKey:o}=V;if(o){if(!U.options.mutationKey)return!1;if(W){if(ib(U.options.mutationKey)!==ib(o))return!1}else if(!Fo(U.options.mutationKey,o))return!1}return!(T&&U.state.status!==T||Z&&!Z(U))}function yz(V,U){return(U?.queryKeyHashFn||ib)(V)}function ib(V){return JSON.stringify(V,(U,W)=>UI(W)?Object.keys(W).sort().reduce((T,Z)=>(T[Z]=W[Z],T),{}):W)}function Fo(V,U){if(V===U)return!0;
46if(typeof V!=typeof U)return!1;if(V&&U&&typeof V=="object"&&typeof U=="object"){if(Array.isArray(V)&&Array.isArray(U)){for(let T=0;T<U.length;T++)if(!Fo(V[T],U[T]))return!1;return!0}let W=Object.keys(U);for(let T of W)if(!Fo(V[T],U[T]))return!1;return!0}return!1}var fC=Object.prototype.hasOwnProperty;function WI(V,U,W=0){if(V===U)return V;if(W>500)return U;let T=U5(V)&&U5(U);if(!T&&!(UI(V)&&UI(U)))return U;let Z=(T?V:Object.keys(V)).length,o=T?U:Object.keys(U),i=o.length,b=T?new Array(i):{},O=0;for(let S=0;S<i;S++){let z=T?S:o[S],u=V[z],q=U[z];if(u===q){b[z]=u,(T?S<Z:fC.call(V,z))&&O++;continue}if(u===null||q===null||typeof u!="object"||typeof q!="object"){b[z]=q;continue}let R=WI(u,q,W+1);b[z]=R,R===u&&O++}return Z===i&&O===Z?V:b}function qR(V,U){if(!U||Object.keys(V).length!==Object.keys(U).length)return!1;for(let W in V)if(V[W]!==U[W])return!1;return!0}function U5(V){return Array.isArray(V)&&V.length===Object.keys(V).length}function UI(V){if(!V5(V))return!1;let U=V.constructor;if(U===void 0)return!0;let W=U.prototype;return!(!V5(W)||!W.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(V)!==Object.prototype)}function V5(V){return Object.prototype.toString.call(V)==="[object Object]"}function T5(V){return new Promise(U=>{iZ.setTimeout(U,V)})}function Kz(V,U,W){return typeof W.structuralSharing=="function"?W.structuralSharing(V,U):W.structuralSharing!==!1?WI(V,U):U}function Z5(V,U,W=0){let T=[...V,U];return W&&T.length>W?T.slice(1):T}function o5(V,U,W=0){let T=[U,...V];return W&&T.length>W?T.slice(0,-1):T}var nO=Symbol();function RR(V,U){return!V.queryFn&&U?.initialPromise?()=>U.initialPromise:!V.queryFn||V.queryFn===nO?()=>Promise.reject(new Error(`Missing queryFn: '${V.queryHash}'`)):V.queryFn}function PR(V,U){return typeof V=="function"?V(...U):!!V}function i5(V,U,W){let T=!1,Z;return Object.defineProperty(V,"signal",{enumerable:!0,get:()=>(Z??(Z=U()),T||(T=!0,Z.aborted?W():Z.addEventListener("abort",W,{once:!0})),Z)}),V}j();var gC=()=>VI,HO=()=>gC();j();j();var bZ=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(V){return this.listeners.add(V),this.onSubscribe(),()=>{this.listeners.delete(V),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var bb,ao,cO,b5,Uv=(b5=class extends bZ{constructor(){super();C(this,bb);C(this,ao);C(this,cO);m(this,cO,U=>{if(typeof window<"u"&&window.addEventListener){let W=()=>U();return window.addEventListener("visibilitychange",W,!1),()=>{window.removeEventListener("visibilitychange",W)}}})}onSubscribe(){H(this,ao)||this.setEventListener(H(this,cO))}onUnsubscribe(){var U;this.hasListeners()||((U=H(this,ao))==null||U.call(this),m(this,ao,void 0))}setEventListener(U){var W;m(this,cO,U),(W=H(this,ao))==null||W.call(this),m(this,ao,U(T=>{typeof T=="boolean"?this.setFocused(T):this.onFocus()}))}setFocused(U){H(this,bb)!==U&&(m(this,bb,U),this.onFocus())}onFocus(){let U=this.isFocused();this.listeners.forEach(W=>{W(U)})}isFocused(){return typeof H(this,bb)=="boolean"?H(this,bb):globalThis.document?.visibilityState!=="hidden"}},bb=new WeakMap,ao=new WeakMap,cO=new WeakMap,b5),GO=new Uv;j();var O5=gr;function Vv(){let V=[],U=0,W=b=>{b()},T=b=>{b()},Z=O5,o=b=>{U?V.push(b):Z(()=>{W(b)})},i=()=>{let b=V;V=[],b.length&&Z(()=>{T(()=>{b.forEach(O=>{W(O)})})})};return{batch:b=>{let O;U++;try{O=b()}finally{U--,U||i()}return O},batchCalls:b=>(...O)=>{o(()=>{b(...O)})},schedule:o,setNotifyFunction:b=>{W=b},setBatchNotifyFunction:b=>{T=b},setScheduler:b=>{Z=b}}}var dU=Vv();j();var rO,Co,xO,S5,Wv=(S5=class extends bZ{constructor(){super();C(this,rO,!0);C(this,Co);C(this,xO);m(this,xO,U=>{if(typeof window<"u"&&window.addEventListener){let W=()=>U(!0),T=()=>U(!1);return window.addEventListener("online",W,!1),window.addEventListener("offline",T,!1),()=>{window.removeEventListener("online",W),window.removeEventListener("offline",T)}}})}onSubscribe(){H(this,Co)||this.setEventListener(H(this,xO))}onUnsubscribe(){var U;this.hasListeners()||((U=H(this,Co))==null||U.call(this),m(this,Co,void 0))}setEventListener(U){var W;
46m(this,xO,U),(W=H(this,Co))==null||W.call(this),m(this,Co,U(this.setOnline.bind(this)))}setOnline(U){H(this,rO)!==U&&(m(this,rO,U),this.listeners.forEach(W=>{W(U)}))}isOnline(){return H(this,rO)}},rO=new WeakMap,Co=new WeakMap,xO=new WeakMap,S5),EO=new Wv;j();function Tv(V){return Math.min(1e3*2**V,3e4)}function TI(V){return(V??"online")==="online"?EO.isOnline():!0}var JR=class extends Error{constructor(V){super("CancelledError"),this.revert=V?.revert,this.silent=V?.silent}};function $R(V){let U=!1,W=0,T,Z="pending",o,i,b=new Promise(($,t)=>{o=$,i=t});b.catch(TV);let O=()=>Z!=="pending",S=$=>{if(!O()){let t=new JR($);M(t),V.onCancel?.(t)}},z=()=>{U=!0},u=()=>{U=!1},q=()=>GO.isFocused()&&(V.networkMode==="always"||EO.isOnline())&&V.canRun(),R=()=>TI(V.networkMode)&&V.canRun(),I=$=>{O()||(T?.(),Z="resolved",o($))},M=$=>{O()||(T?.(),Z="rejected",i($))},n=()=>new Promise($=>{T=t=>{(O()||q())&&$(t)},V.onPause?.()}).then(()=>{T=void 0,O()||V.onContinue?.()}),P=()=>{if(O())return;let $,t=W===0?V.initialPromise:void 0;try{$=t??V.fn()}catch(Q){$=Promise.reject(Q)}Promise.resolve($).then(I).catch(Q=>{if(O())return;let x=V.retry??(HO()?0:3),k=V.retryDelay??Tv,r=typeof k=="function"?k(W,Q):k,A=x===!0||typeof x=="number"&&W<x||typeof x=="function"&&x(W,Q);if(U||!A){M(Q);return}W++,V.onFail?.(W,Q),T5(r).then(()=>q()?void 0:n()).then(()=>{U?M(Q):P()})})};return{promise:b,status:()=>Z,cancel:S,continue:()=>(T?.(),b),cancelRetry:z,continueRetry:u,canStart:R,start:()=>(R()?P():n().then(P),b)}}j();j();var Ob,z5,_R=(z5=class{constructor(){C(this,Ob)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),SR(this.gcTime)&&m(this,Ob,iZ.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(V){this.gcTime=Math.max(this.gcTime||0,V??(HO()?1/0:3e5))}clearGcTimeout(){H(this,Ob)!==void 0&&(iZ.clearTimeout(H(this,Ob)),m(this,Ob,void 0))}},Ob=new WeakMap,z5);j();function j5(V){return{onFetch:(U,W)=>{let T=U.options,Z=U.fetchOptions?.meta?.fetchMore?.direction,o=U.state.data?.pages||[],i=U.state.data?.pageParams||[],b={pages:[],pageParams:[]},O=0,S=async()=>{let z=!1,u=I=>{i5(I,()=>U.signal,()=>z=!0)},q=RR(U.options,U.fetchOptions),R=async(I,M,n)=>{if(z)return Promise.reject(U.signal.reason);if(M==null&&I.pages.length)return Promise.resolve(I);let $=(()=>{let k={client:U.client,queryKey:U.queryKey,pageParam:M,direction:n?"backward":"forward",meta:U.options.meta};return u(k),k})(),t=await q($),{maxPages:Q}=U.options,x=n?o5:Z5;return{pages:x(I.pages,t,Q),pageParams:x(I.pageParams,M,Q)}};if(Z&&o.length){let I=Z==="backward",M=I?Zv:u5,n={pages:o,pageParams:i};b=await R(n,M(T,n),I)}else{let I=V??o.length;do{let M=O===0?i[0]??T.initialPageParam:u5(T,b);if(O>0&&M==null)break;b=await R(b,M),O++}while(O<I)}return b};U.options.persister?U.fetchFn=()=>U.options.persister?.(S,{client:U.client,queryKey:U.queryKey,meta:U.options.meta,signal:U.signal},W):U.fetchFn=S}}}function u5(V,{pages:U,pageParams:W}){let T=U.length-1;return U.length>0?V.getNextPageParam(U[T],U,W[T],W):void 0}function Zv(V,{pages:U,pageParams:W}){return U.length>0?V.getPreviousPageParam?.(U[0],U,W[0],W):void 0}var kO,Sb,XO,gW,zb,$V,Lz,ub,XT,CZ,P5,J5=(P5=class extends _R{constructor(U){super();C(this,XT);C(this,kO);C(this,Sb);C(this,XO);C(this,gW);C(this,zb);C(this,$V);C(this,Lz);C(this,ub);m(this,ub,!1),m(this,Lz,U.defaultOptions),this.setOptions(U.options),this.observers=[],m(this,zb,U.client),m(this,gW,H(this,zb).getQueryCache()),this.queryKey=U.queryKey,this.queryHash=U.queryHash,m(this,Sb,R5(this.options)),this.state=U.state??H(this,Sb),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return H(this,kO)}get promise(){return H(this,$V)?.promise}setOptions(U){if(this.options={...H(this,Lz),...U},U?._type&&m(this,kO,U._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let W=R5(this.options);W.data!==void 0&&(this.setState(q5(W.data,W.dataUpdatedAt)),m(this,Sb,W))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&H(this,gW).remove(this)}setData(U,W){let T=Kz(this.state.data,U,this.options);return WU(this,XT,CZ).call(this,{data:T,type:"success",dataUpdatedAt:W?.updatedAt,manual:W?.manual}),T}setState(U){WU(this,XT,CZ).call(this,{type:"setState",state:U})}cancel(U){let W=H(this,$V)?.promise;return H(this,$V)?.cancel(U),W?W.then(TV).catch(TV):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return H(this,Sb)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(U=>lU(U.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nO||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
46Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(U=>lU(U.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(U=>U.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(U=0){return this.state.data===void 0?!0:U==="static"?!1:this.state.isInvalidated?!0:!zR(this.state.dataUpdatedAt,U)}onFocus(){this.observers.find(U=>U.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),H(this,$V)?.continue()}onOnline(){this.observers.find(U=>U.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),H(this,$V)?.continue()}addObserver(U){this.observers.includes(U)||(this.observers.push(U),this.clearGcTimeout(),H(this,gW).notify({type:"observerAdded",query:this,observer:U}))}removeObserver(U){let W=this.observers.indexOf(U);W!==-1&&(this.observers.splice(W,1),this.observers.length||(H(this,$V)&&(H(this,ub)||this.state.fetchStatus==="paused"&&this.state.status==="pending"?H(this,$V).cancel({revert:!0}):H(this,$V).cancelRetry()),this.scheduleGc()),H(this,gW).notify({type:"observerRemoved",query:this,observer:U}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||WU(this,XT,CZ).call(this,{type:"invalidate"})}async fetch(U,W){if(this.state.fetchStatus!=="idle"&&H(this,$V)?.status()!=="rejected"){if(this.state.data!==void 0&&W?.cancelRefetch)this.cancel({silent:!0});else if(H(this,$V))return H(this,$V).continueRetry(),H(this,$V).promise}if(U&&this.setOptions(U),!this.options.queryFn){let S=this.observers.find(z=>z.options.queryFn);S&&this.setOptions(S.options)}let T=new AbortController,Z=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(m(this,ub,!0),T.signal)})},o=()=>{let S=RR(this.options,W),u=(()=>{let q={client:H(this,zb),queryKey:this.queryKey,meta:this.meta};return Z(q),q})();return m(this,ub,!1),this.options.persister?this.options.persister(S,u,this):S(u)},b=(()=>{let S={fetchOptions:W,options:this.options,queryKey:this.queryKey,client:H(this,zb),state:this.state,fetchFn:o};return Z(S),S})();(H(this,kO)==="infinite"?j5(this.options.pages):this.options.behavior)?.onFetch(b,this),m(this,XO,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==b.fetchOptions?.meta)&&WU(this,XT,CZ).call(this,{type:"fetch",meta:b.fetchOptions?.meta});let O=m(this,$V,$R({initialPromise:W?.initialPromise,fn:b.fetchFn,onCancel:S=>{S instanceof JR&&S.revert&&this.setState({...H(this,XO),fetchStatus:"idle"}),T.abort()},onFail:(S,z)=>{WU(this,XT,CZ).call(this,{type:"failed",failureCount:S,error:z})},onPause:()=>{WU(this,XT,CZ).call(this,{type:"pause"})},onContinue:()=>{WU(this,XT,CZ).call(this,{type:"continue"})},retry:b.options.retry,retryDelay:b.options.retryDelay,networkMode:b.options.networkMode,canRun:()=>!0}));try{let S=await O.start();if(S===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(S),H(this,gW).config.onSuccess?.(S,this),H(this,gW).config.onSettled?.(S,this.state.error,this),S}catch(S){if(S instanceof JR){if(S.silent)return H(this,$V).promise;if(S.revert){if(this.state.data===void 0)throw S;return this.state.data}}throw WU(this,XT,CZ).call(this,{type:"error",error:S}),H(this,gW).config.onError?.(S,this),H(this,gW).config.onSettled?.(this.state.data,S,this),S}finally{H(this,$V)===O&&m(this,$V,void 0),this.scheduleGc()}}},kO=new WeakMap,Sb=new WeakMap,XO=new WeakMap,gW=new WeakMap,zb=new WeakMap,$V=new WeakMap,Lz=new WeakMap,ub=new WeakMap,XT=new WeakSet,CZ=function(U){let W=T=>{switch(U.type){case"failed":return{...T,fetchFailureCount:U.failureCount,fetchFailureReason:U.error};case"pause":return{...T,fetchStatus:"paused"};case"continue":return{...T,fetchStatus:"fetching"};case"fetch":return{...T,...ZI(T.data,this.options),fetchMeta:U.meta??null};case"success":let Z={...T,...q5(U.data,U.dataUpdatedAt),dataUpdateCount:T.dataUpdateCount+1,...!U.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return m(this,XO,U.manual?Z:void 0),Z;case"error":let o=U.error;return{...T,error:o,errorUpdateCount:T.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:T.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};
46case"invalidate":return{...T,isInvalidated:!0};case"setState":return{...T,...U.state}}};this.state=W(this.state),dU.batch(()=>{this.observers.slice().forEach(T=>{T.onQueryUpdate()}),H(this,gW).notify({query:this,type:"updated",action:U})})},P5);function ZI(V,U){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:TI(U.networkMode)?"fetching":"paused",...V===void 0&&{error:null,status:"pending"}}}function q5(V,U){return{data:V,dataUpdatedAt:U??Date.now(),error:null,isInvalidated:!1,status:"success"}}function R5(V){let U=typeof V.initialData=="function"?V.initialData():V.initialData,W=U!==void 0,T=W?typeof V.initialDataUpdatedAt=="function"?V.initialDataUpdatedAt():V.initialDataUpdatedAt:0;return{data:U,dataUpdateCount:0,dataUpdatedAt:W?T??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:W?"success":"pending",fetchStatus:"idle"}}j();var oW,SU,Dz,iW,jb,hO,vZ,fz,AO,NO,qb,Rb,vo,mO,RU,wz,oI,iI,bI,OI,SI,zI,uI,jI,e5,RI=(e5=class extends bZ{constructor(U,W){super();C(this,RU);C(this,oW);C(this,SU);C(this,Dz);C(this,iW);C(this,jb);C(this,hO);C(this,vZ);C(this,fz);C(this,AO);C(this,NO);C(this,qb);C(this,Rb);C(this,vo);C(this,mO,new Set);this.options=W,m(this,oW,U),m(this,vZ,null),this.bindMethods(),this.setOptions(W)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(H(this,SU).addObserver(this),$5(H(this,SU),this.options)?WU(this,RU,wz).call(this):this.updateResult(),WU(this,RU,SI).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return qI(H(this,SU),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return qI(H(this,SU),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,WU(this,RU,zI).call(this),WU(this,RU,uI).call(this),H(this,SU).removeObserver(this)}setOptions(U){let W=this.options,T=H(this,SU);if(this.options=H(this,oW).defaultQueryOptions(U),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof lU(this.options.enabled,H(this,SU))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");WU(this,RU,jI).call(this),H(this,SU).setOptions(this.options),W._defaulted&&!qR(this.options,W)&&H(this,oW).getQueryCache().notify({type:"observerOptionsUpdated",query:H(this,SU),observer:this});let Z=this.hasListeners();Z&&_5(H(this,SU),T,this.options,W)&&WU(this,RU,wz).call(this),this.updateResult(),Z&&(H(this,SU)!==T||lU(this.options.enabled,H(this,SU))!==lU(W.enabled,H(this,SU))||lU(this.options.staleTime,H(this,SU))!==lU(W.staleTime,H(this,SU)))&&WU(this,RU,iI).call(this);let o=WU(this,RU,bI).call(this);Z&&(H(this,SU)!==T||lU(this.options.enabled,H(this,SU))!==lU(W.enabled,H(this,SU))||o!==H(this,vo))&&WU(this,RU,OI).call(this,o)}getOptimisticResult(U){let W=H(this,oW).getQueryCache().build(H(this,oW),U),T=this.createResult(W,U);return qR(this.getCurrentResult(),T)||(m(this,iW,T),m(this,hO,this.options),m(this,jb,H(this,SU).state)),T}getCurrentResult(){return H(this,iW)}trackResult(U,W){return new Proxy(U,{get:(T,Z)=>(this.trackProp(Z),W?.(Z),Reflect.get(T,Z))})}trackProp(U){H(this,mO).add(U)}getCurrentQuery(){return H(this,SU)}refetch({...U}={}){return this.fetch({...U})}fetchOptimistic(U){let W=H(this,oW).defaultQueryOptions(U),T=H(this,oW).getQueryCache().build(H(this,oW),W),Z=()=>{},o,i=new Promise(b=>{o=b,Z=H(this,oW).getQueryCache().subscribe(O=>{O.type==="updated"&&O.query.queryHash===T.queryHash&&T.state.data!==void 0&&(Z(),b(this.createResult(T,W)))})});return Promise.race([T.fetch().then(()=>{let b=this.createResult(T,W);return o?.(b),b}).finally(()=>{Z()}),i])}fetch(U){return WU(this,RU,wz).call(this,{...U,cancelRefetch:U.cancelRefetch??!0}).then(()=>(this.updateResult(),H(this,iW)))}createResult(U,W){let T=H(this,SU),Z=this.options,o=H(this,iW),i=H(this,jb),b=H(this,hO),O=U!==T?U.state:H(this,Dz),{state:S}=U,z={...S},u=!1,q;if(W._optimisticResults){let k=this.hasListeners(),r=!k&&$5(U,W),A=k&&_5(U,T,W,Z);(r||A)&&(z={...z,...ZI(S.data,U.options)}),W._optimisticResults==="isRestoring"&&(z.fetchStatus="idle")}let{error:R,errorUpdatedAt:I,status:M}=z;q=z.data;let n=!1;if(W.placeholderData!==void 0&&q===void 0&&M==="pending"){let k;o?.isPlaceholderData&&W.placeholderData===b?.placeholderData?(k=o.data,n=!0):k=typeof W.placeholderData=="function"?W.placeholderData(H(this,NO)?.state.data,H(this,NO)):W.placeholderData,k!==void 0&&(M="success",q=Kz(o?.data,k,W),u=!0)}if(W.select&&q!==void 0&&!n)if(o&&q===i?.data&&W.select===H(this,fz))q=H(this,AO);else try{m(this,fz,W.select),q=W.select(q),q=Kz(o?.data,q,W),m(this,AO,q),m(this,vZ,null)}catch(k){m(this,vZ,k)}else q===void 0&&m(this,vZ,null);H(this,vZ)&&(R=H(this,vZ),q=H(this,AO),I=Date.now(),M="error",u=!1);let P=z.fetchStatus==="fetching",$=M==="pending",t=M==="error",Q=$&&P,x=q!==void 0;return{status:M,fetchStatus:z.fetchStatus,isPending:$,isSuccess:M==="success",isError:t,isInitialLoading:Q,isLoading:Q,data:q,dataUpdatedAt:z.dataUpdatedAt,error:R,errorUpdatedAt:I,failureCount:z.fetchFailureCount,failureReason:z.fetchFailureReason,errorUpdate
46Count:z.errorUpdateCount,isFetched:U.isFetched(),isFetchedAfterMount:z.dataUpdateCount>O.dataUpdateCount||z.errorUpdateCount>O.errorUpdateCount,isFetching:P,isRefetching:P&&!$,isLoadingError:t&&!x,isPaused:z.fetchStatus==="paused",isPlaceholderData:u,isRefetchError:t&&x,isStale:PI(U,W),refetch:this.refetch,isEnabled:lU(W.enabled,U)!==!1}}updateResult(){let U=H(this,iW),W=this.createResult(H(this,SU),this.options);if(m(this,jb,H(this,SU).state),m(this,hO,this.options),H(this,jb).data!==void 0&&m(this,NO,H(this,SU)),qR(W,U))return;m(this,iW,W);let Z=(()=>{if(!U)return!0;let{notifyOnChangeProps:o}=this.options,i=typeof o=="function"?o():o;if(i==="all"||!i&&!H(this,mO).size)return!0;let b=new Set(i??H(this,mO));return this.options.throwOnError&&b.add("error"),Object.keys(H(this,iW)).some(O=>{let S=O;return H(this,iW)[S]!==U[S]&&b.has(S)})})();dU.batch(()=>{Z&&this.listeners.forEach(o=>{o(H(this,iW))}),H(this,oW).getQueryCache().notify({query:H(this,SU),type:"observerResultsUpdated"})})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&WU(this,RU,SI).call(this)}},oW=new WeakMap,SU=new WeakMap,Dz=new WeakMap,iW=new WeakMap,jb=new WeakMap,hO=new WeakMap,vZ=new WeakMap,fz=new WeakMap,AO=new WeakMap,NO=new WeakMap,qb=new WeakMap,Rb=new WeakMap,vo=new WeakMap,mO=new WeakMap,RU=new WeakSet,wz=function(U){WU(this,RU,jI).call(this);let W=H(this,SU).fetch(this.options,U);return U?.throwOnError||(W=W.catch(TV)),W},oI=function(U){return!HO()&&lU(this.options.enabled,H(this,SU))!==!1&&SR(U)},iI=function(){WU(this,RU,zI).call(this);let U=lU(this.options.staleTime,H(this,SU));if(H(this,iW).isStale||!WU(this,RU,oI).call(this,U))return;let W=zR(H(this,iW).dataUpdatedAt,U)+1;m(this,qb,iZ.setTimeout(()=>{H(this,iW).isStale||this.updateResult()},W))},bI=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(H(this,SU)):this.options.refetchInterval)??!1},OI=function(U){WU(this,RU,uI).call(this),m(this,vo,U),!(H(this,vo)===0||!WU(this,RU,oI).call(this,H(this,vo)))&&m(this,Rb,iZ.setInterval(()=>{(this.options.refetchIntervalInBackground||GO.isFocused())&&WU(this,RU,wz).call(this)},H(this,vo)))},SI=function(){WU(this,RU,iI).call(this),WU(this,RU,OI).call(this,WU(this,RU,bI).call(this))},zI=function(){H(this,qb)!==void 0&&(iZ.clearTimeout(H(this,qb)),m(this,qb,void 0))},uI=function(){H(this,Rb)!==void 0&&(iZ.clearInterval(H(this,Rb)),m(this,Rb,void 0))},jI=function(){let U=H(this,oW).getQueryCache().build(H(this,oW),this.options);if(U===H(this,SU))return;let W=H(this,SU);m(this,SU,U),m(this,Dz,U.state),this.hasListeners()&&(W?.removeObserver(this),U.addObserver(this))},e5);function ov(V,U){return lU(U.enabled,V)!==!1&&V.state.data===void 0&&!(V.state.status==="error"&&lU(U.retryOnMount,V)===!1)}function $5(V,U){return ov(V,U)||V.state.data!==void 0&&qI(V,U,U.refetchOnMount)}function qI(V,U,W){if(lU(U.enabled,V)!==!1&&lU(U.staleTime,V)!=="static"){let T=typeof W=="function"?W(V):W;return T==="always"||T!==!1&&PI(V,U)}return!1}function _5(V,U,W,T){return(V!==U||lU(T.enabled,V)===!1)&&(!W.suspense||V.state.status!=="error")&&PI(V,W)}function PI(V,U){return lU(U.enabled,V)!==!1&&V.isStaleByTime(lU(U.staleTime,V))}j();var gz,OZ,fV,Pb,SZ,Bo,I5,t5=(I5=class extends _R{constructor(U){super();C(this,SZ);C(this,gz);C(this,OZ);C(this,fV);C(this,Pb);m(this,gz,U.client),this.mutationId=U.mutationId,m(this,fV,U.mutationCache),m(this,OZ,[]),this.state=U.state||iv(),this.setOptions(U.options),this.scheduleGc()}setOptions(U){this.options=U,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(U){H(this,OZ).includes(U)||(H(this,OZ).push(U),this.clearGcTimeout(),H(this,fV).notify({type:"observerAdded",mutation:this,observer:U}))}removeObserver(U){m(this,OZ,H(this,OZ).filter(W=>W!==U)),this.scheduleGc(),H(this,fV).notify({type:"observerRemoved",mutation:this,observer:U})}optionalRemove(){H(this,OZ).length||(this.state.status==="pending"?this.scheduleGc():H(this,fV).remove(this))}continue(){return H(this,Pb)?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(U){let W=()=>{WU(this,SZ,Bo).call(this,{type:"continue"})},T={client:H(this,gz),meta:this.options.meta,mutationKey:this.options.mutationKey},Z=m(this,Pb,$R({fn:()=>this.options.mutationFn?this.options.mutationFn(U,T):Promise.reject(new Error("No mutationFn found")),onFail:(b,O)=>{WU(this,SZ,Bo).call(this,{type:"failed",failureCount:b,error:O})},onPause:()=>{WU(this,SZ,Bo).call(this,{type:"pause"})},onContinue:W,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>H(this,fV).canRun(this)})),o=this.state.status==="pending",i=!Z.canStart();
46try{if(o)W();else{WU(this,SZ,Bo).call(this,{type:"pending",variables:U,isPaused:i}),H(this,fV).config.onMutate&&await H(this,fV).config.onMutate(U,this,T);let O=await this.options.onMutate?.(U,T);O!==this.state.context&&WU(this,SZ,Bo).call(this,{type:"pending",context:O,variables:U,isPaused:i})}let b=await Z.start();return await H(this,fV).config.onSuccess?.(b,U,this.state.context,this,T),await this.options.onSuccess?.(b,U,this.state.context,T),await H(this,fV).config.onSettled?.(b,null,this.state.variables,this.state.context,this,T),await this.options.onSettled?.(b,null,U,this.state.context,T),WU(this,SZ,Bo).call(this,{type:"success",data:b}),b}catch(b){try{await H(this,fV).config.onError?.(b,U,this.state.context,this,T)}catch(O){Promise.reject(O)}try{await this.options.onError?.(b,U,this.state.context,T)}catch(O){Promise.reject(O)}try{await H(this,fV).config.onSettled?.(void 0,b,this.state.variables,this.state.context,this,T)}catch(O){Promise.reject(O)}try{await this.options.onSettled?.(void 0,b,U,this.state.context,T)}catch(O){Promise.reject(O)}throw WU(this,SZ,Bo).call(this,{type:"error",error:b}),b}finally{H(this,Pb)===Z&&m(this,Pb,void 0),H(this,fV).runNext(this)}}},gz=new WeakMap,OZ=new WeakMap,fV=new WeakMap,Pb=new WeakMap,SZ=new WeakSet,Bo=function(U){let W=T=>{switch(U.type){case"failed":return{...T,failureCount:U.failureCount,failureReason:U.error};
46case"pause":return{...T,isPaused:!0};case"continue":return{...T,isPaused:!1};case"pending":return{...T,context:U.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:U.isPaused,status:"pending",variables:U.variables,submittedAt:Date.now()};case"success":return{...T,data:U.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...T,data:void 0,error:U.error,failureCount:T.failureCount+1,failureReason:U.error,isPaused:!1,status:"error"}}};this.state=W(this.state),dU.batch(()=>{H(this,OZ).forEach(T=>{T.onMutationUpdate(U)}),H(this,fV).notify({mutation:this,type:"updated",action:U})})},I5);function iv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}j();var BZ,hT,Uu,M5,Q5=(M5=class extends bZ{constructor(U={}){super();C(this,BZ);C(this,hT);C(this,Uu);this.config=U,m(this,BZ,new Set),m(this,hT,new Map),m(this,Uu,0)}build(U,W,T){let Z=new t5({client:U,mutationCache:this,mutationId:++dS(this,Uu)._,options:U.defaultMutationOptions(W),state:T});return this.add(Z),Z}add(U){H(this,BZ).add(U);let W=eR(U);if(typeof W=="string"){let T=H(this,hT).get(W);T?T.push(U):H(this,hT).set(W,[U])}this.notify({type:"added",mutation:U})}remove(U){if(H(this,BZ).delete(U)){let W=eR(U);if(typeof W=="string"){let T=H(this,hT).get(W);if(T)if(T.length>1){let Z=T.indexOf(U);Z!==-1&&T.splice(Z,1)}else T[0]===U&&H(this,hT).delete(W)}}this.notify({type:"removed",mutation:U})}canRun(U){let W=eR(U);if(typeof W=="string"){let T=H(this,hT).get(W)?.find(Z=>Z.state.status==="pending");return!T||T===U}else return!0}runNext(U){let W=eR(U);return typeof W=="string"?H(this,hT).get(W)?.find(T=>
46T!==U&&T.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){dU.batch(()=>{H(this,BZ).forEach(U=>{this.notify({type:"removed",mutation:U})}),H(this,BZ).clear(),H(this,hT).clear()})}getAll(){return Array.from(H(this,BZ))}find(U){let W={exact:!0,...U};return this.getAll().find(T=>jR(W,T))}findAll(U={}){return this.getAll().filter(W=>jR(U,W))}notify(U){dU.batch(()=>{this.listeners.forEach(W=>{W(U)})})}resumePausedMutations(){let U=this.getAll().filter(W=>W.state.isPaused);return dU.batch(()=>Promise.all(U.map(W=>W.continue().catch(TV))))}},BZ=new WeakMap,hT=new WeakMap,Uu=new WeakMap,M5);function eR(V){return V.options.scope?.id}j();var zZ,n5,H5=(n5=class extends bZ{constructor(U={}){super();C(this,zZ);this.config=U,m(this,zZ,new Map)}build(U,W,T){let Z=W.queryKey,o=W.queryHash??yz(Z,W),i=this.get(o);return i||(i=new J5({client:U,queryKey:Z,queryHash:o,options:U.defaultQueryOptions(W),state:T,defaultOptions:U.getQueryDefaults(Z)}),this.add(i)),i}add(U){H(this,zZ).has(U.queryHash)||(H(this,zZ).set(U.queryHash,U),this.notify({type:"added",query:U}))}remove(U){let W=H(this,zZ).get(U.queryHash);W&&(U.destroy(),W===U&&H(this,zZ).delete(U.queryHash),this.notify({type:"removed",query:U}))}clear(){dU.batch(()=>{this.getAll().forEach(U=>{this.remove(U)})})}get(U){return H(this,zZ).get(U)}getAll(){return[...H(this,zZ).values()]}find(U){let W={exact:!0,...U};return this.getAll().find(T=>uR(W,T))}findAll(U={}){let W=this.getAll();return Object.keys(U).length>0?W.filter(T=>uR(U,T)):W}notify(U){dU.batch(()=>{this.listeners.forEach(W=>{W(U)})})}onFocus(){dU.batch(()=>{this.getAll().forEach(U=>{U.onFocus()})})}onOnline(){dU.batch(()=>{this.getAll().forEach(U=>{U.onOnline()})})}},zZ=new WeakMap,n5);j();var KU,so,po,lO,dO,Yo,FO,aO,c5,Vu=(c5=class{constructor(V={}){C(this,KU);C(this,so);C(this,po);C(this,lO);C(this,dO);C(this,Yo);C(this,FO);C(this,aO);m(this,KU,V.queryCache||new H5),m(this,so,V.mutationCache||new Q5),m(this,po,V.defaultOptions||{}),m(this,lO,new Map),m(this,dO,new Map),m(this,Yo,0)}mount(){dS(this,Yo)._++,H(this,Yo)===1&&(m(this,FO,GO.subscribe(async V=>{V&&(await this.resumePausedMutations(),H(this,KU).onFocus())})),m(this,aO,EO.subscribe(async V=>{V&&(await this.resumePausedMutations(),H(this,KU).onOnline())})))}unmount(){var V,U;dS(this,Yo)._--,H(this,Yo)===0&&((V=H(this,FO))==null||V.call(this),m(this,FO,void 0),(U=H(this,aO))==null||U.call(this),m(this,aO,void 0))}isFetching(V){return H(this,KU).findAll({...V,fetchStatus:"fetching"}).length}isMutating(V){return H(this,so).findAll({...V,status:"pending"}).length}getQueryData(V){let U=this.defaultQueryOptions({queryKey:V});return H(this,KU).get(U.queryHash)?.state.data}ensureQueryData(V){let U=this.defaultQueryOptions(V),W=H(this,KU).build(this,U),T=W.state.data;return T===void 0?this.fetchQuery(V):(V.revalidateIfStale&&W.isStaleByTime(lU(U.staleTime,W))&&this.prefetchQuery(U),Promise.resolve(T))}getQueriesData(V){return H(this,KU).findAll(V).map(({queryKey:U,state:W})=>[U,W.data])}setQueryData(V,U,W){let T=this.defaultQueryOptions({queryKey:V}),Z=H(this,KU).get(T.queryHash)?.state.data,o=W5(U,Z);if(o!==void 0)return H(this,KU).build(this,T).setData(o,{...W,manual:!0})}setQueriesData(V,U,W){return dU.batch(()=>H(this,KU).findAll(V).map(({queryKey:T})=>[T,this.setQueryData(T,U,W)]))}getQueryState(V){let U=this.defaultQueryOptions({queryKey:V});return H(this,KU).get(U.queryHash)?.state}removeQueries(V){let U=H(this,KU);dU.batch(()=>{U.findAll(V).forEach(W=>{U.remove(W)})})}resetQueries(V,U){let W=H(this,KU);return dU.batch(()=>{let T=W.findAll(V),Z=new Set(T);return T.forEach(o=>{o.reset()}),this.refetchQueries({type:"active",predicate:o=>Z.has(o)},U)})}cancelQueries(V,U={}){let W={revert:!0,...U},T=dU.batch(()=>H(this,KU).findAll(V).map(Z=>Z.cancel(W)));return Promise.all(T).then(TV).catch(TV)}invalidateQueries(V,U={}){return dU.batch(()=>(H(this,KU).findAll(V).forEach(W=>{W.invalidate()}),V?.refetchType==="none"?Promise.resolve():this.refetchQueries({...V,type:V?.refetchType??V?.type??"active"},U)))}refetchQueries(V,U={}){let W={...U,cancelRefetch:U.cancelRefetch??!0},T=dU.batch(()=>H(this,KU).findAll(V).filter(Z=>!Z.isDisabled()&&!Z.isStatic()).map(Z=>{let o=Z.fetch(void 0,W);return W.throwOnError||(o=o.catch(TV)),Z.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(T).then(TV)}async query(V){let U=this.defaultQueryOptions(V);U.retry===void 0&&(U.retry=!1);let W=H(this,KU).build(this,U),T=W.isStaleByTime(lU(U.staleTime,W))?await W.fetch(U):W.state.data,Z=U.select;return Z?Z(T):T}fetchQuery(V){let U=this.defaultQueryOptions(V);U.retry===void 0&&(U.retry=!1);let W=H(this,KU).build(this,U);return W.isStaleByTime(lU(U.staleTime,W))?W.fetch(U):Promise.resolve(W.state.data)}prefetchQuery(V){return this.fetchQuery(V).then(TV).catch(TV)}infiniteQuery(V){return V._type="infinite",this.query(V)}fetchInfiniteQuery(V){return V._type="infinite",this.fetchQuery(V)}prefetchInfiniteQuery(V){return this.fetchInfiniteQuery(V).then(TV).catch(TV)}ensureInfiniteQueryData(V){return V._type="infinite",this.ensureQueryData(V)}resumePausedMutations(){return EO.isOnline()?H(this,so).resumePausedMutations():Promise.resolve()}getQueryCache(){return H(this,KU)}getMutationCache(){return H(this,so)}getDefaultOptions(){return H(this,po)}setDefaultOptions(V){m(this,po,V)}setQueryDefaults(V,U){H(this,lO).set(ib(V),{queryKey:V,defaultOptions:U})}getQueryDefaults(V){let U=[...H(this,lO).values()],W={};
46return U.forEach(T=>{Fo(V,T.queryKey)&&Object.assign(W,T.defaultOptions)}),W}setMutationDefaults(V,U){H(this,dO).set(ib(V),{mutationKey:V,defaultOptions:U})}getMutationDefaults(V){let U=[...H(this,dO).values()],W={};return U.forEach(T=>{Fo(V,T.mutationKey)&&Object.assign(W,T.defaultOptions)}),W}defaultQueryOptions(V){if(V._defaulted)return V;let U={...H(this,po).queries,...this.getQueryDefaults(V.queryKey),...V,_defaulted:!0};return U.queryHash||(U.queryHash=yz(U.queryKey,U)),U.refetchOnReconnect===void 0&&(U.refetchOnReconnect=U.networkMode!=="always"),U.throwOnError===void 0&&(U.throwOnError=!!U.suspense),!U.networkMode&&U.persister&&(U.networkMode="offlineFirst"),U.queryFn===nO&&(U.enabled=!1),U}defaultMutationOptions(V){return V?._defaulted?V:{...H(this,po).mutations,...V?.mutationKey&&this.getMutationDefaults(V.mutationKey),...V,_defaulted:!0}}clear(){H(this,KU).clear(),H(this,so).clear()}},KU=new WeakMap,so=new WeakMap,po=new WeakMap,lO=new WeakMap,dO=new WeakMap,Yo=new WeakMap,FO=new WeakMap,aO=new WeakMap,c5);j();var IR=c(BU(),1),G5=IR.createContext(!1),r5=()=>IR.useContext(G5),JVU=G5.Provider;j();var Wu=c(BU(),1),bv=c(G(),1);function Ov(){let V=!1;return{clearReset:()=>{V=!1},reset:()=>{V=!0},isReset:()=>V}}var Sv=Wu.createContext(Ov()),x5=()=>Wu.useContext(Sv);j();var E5=c(BU(),1);var k5=(V,U,W)=>{let T=W?.state.error&&typeof V.throwOnError=="function"?PR(V.throwOnError,[W.state.error,W]):V.throwOnError;(V.suspense||T)&&(U.isReset()||(V.retryOnMount=!1))},X5=V=>{E5.useEffect(()=>{V.clearReset()},[V])},h5=({result:V,errorResetBoundary:U,throwOnError:W,query:T,suspense:Z})=>V.isError&&!U.isReset()&&!V.isFetching&&T&&(Z&&V.data===void 0||PR(W,[V.error,T]));j();var A5=V=>{if(V.suspense){let W=Z=>Z==="static"?Z:Math.max(Z??1e3,1e3),T=V.staleTime;V.staleTime=typeof T=="function"?(...Z)=>W(T(...Z)):W(T),typeof V.gcTime=="number"&&(V.gcTime=Math.max(V.gcTime,1e3))}},N5=(V,U)=>V?.suspense&&U.isPending,m5=(V,U,W)=>U.fetchOptimistic(V).catch(()=>{W.clearReset()});j();j();var yo=c(BU(),1);function l5(V,U,W){let T=r5(),Z=x5(),o=fe(W),i=o.defaultQueryOptions(V),b=o.getQueryCache().get(i.queryHash),O=V.subscribed!==!1;i._optimisticResults=T?"isRestoring":O?"optimistic":void 0,A5(i),k5(i,Z,b),X5(Z);let[S]=yo.useState(()=>new U(o,i)),z=S.getOptimisticResult(i),u=!T&&O;if(yo.useSyncExternalStore(yo.useCallback(q=>{let R=u?S.subscribe(dU.batchCalls(q)):TV;return S.updateResult(),R},[S,u]),()=>S.getCurrentResult(),()=>S.getCurrentResult()),yo.useEffect(()=>{S.setOptions(i)},[i,S]),N5(i,z))throw m5(i,S,Z);if(h5({result:z,errorResetBoundary:Z,throwOnError:i.throwOnError,query:b,suspense:i.suspense}))throw z.error;return i.notifyOnChangeProps?z:S.trackResult(z)}function JI(V,U){return l5(V,RI,U)}j();j();function tR(V,U){let[W,T]=e.default.useState(V);return e.default.useEffect(()=>{let Z=setTimeout(()=>{T(V)},U);return()=>{clearTimeout(Z)}},[V,U]),W}j();j();var d5={component:"src_features_pageOnly_medicationTool_MedicatieCalculatorForm_component",graphsAndToggleLayout:"src_features_pageOnly_medicationTool_MedicatieCalculatorForm_graphsAndToggleLayout"};var _V=c(G());function F5({onPatientInformationChange:V,patientInformation:U}){let T=v("medicatie_tool")("form"),{sex:Z,age:o,mmseAtBaseline:i,csfPtau:b,csfAb42:O,medicineEffect:S,mmseOfInterest:z,model:u,apoeDose:q}=U,R=$I[u||"default"].fieldInfo,I=Object.entries(T.model.options).map(([n,P])=>({value:n,label:P}));return(0,_V.jsx)("section",{children:(0,_V.jsxs)("div",{className:d5.component,children:[(0,_V.jsxs)(wV,{children:[(0,_V.jsxs)(WR,{label:T.sex.legend,children:[(0,_V.jsx)(DV,{name:"sex",id:"male",label:T.sex.male,onChange:n=>M({sex:"male"}),checked:Z==="male"}),(0,_V.jsx)(DV,{name:"sex",id:"female",label:T.sex.female,onChange:n=>M({sex:"female"}),checked:Z==="female"})]}),(0,_V.jsx)(lV,{label:T.age.label,id:"age",name:"age",value:o,onChange:n=>M({age:n}),min:R.age[0],max:R.age[1]})]}),(0,_V.jsxs)(wV,{children:[(0,_V.jsx)(Tb,{value:u,label:T.model.label,placeholder:T.model.placeholder,id:"model",onChange:n=>M({model:n.target.value}),options:I}),(0,_V.jsx)(lV,{label:T.mmseAtBaseline.label,id:"mmseAtBaseline",name:"mmseAtBaseline",value:i,onChange:n=>M({mmseAtBaseline:n}
46),min:R.mmseAtBaseline[0],max:R.mmseAtBaseline[1]})]}),(0,_V.jsxs)(wV,{title:"Biomarkers",children:[u==="ad"&&(0,_V.jsx)(lV,{label:T.apoeDose.label,id:"apoeDose",name:"apoeDose",value:q,onChange:n=>M({apoeDose:n}),min:R.apoeDose[0],max:R.apoeDose[1]}),(0,_V.jsx)(lV,{label:T.csfPtau.label,id:"csfPtau",name:"csfPtau",value:b,onChange:n=>M({csfPtau:n}),min:R.csfPtau[0],max:R.csfPtau[1]}),(0,_V.jsx)(lV,{label:T.csfAb42.label,id:"csfAb42",name:"csfAb42",value:O,onChange:n=>M({csfAb42:n}),min:R.csfAb42[0],max:R.csfAb42[1]})]}),(0,_V.jsxs)(wV,{title:T.prediction,tooltip:T.predictionTooltip,children:[(0,_V.jsx)(lV,{label:T.medicineEffect.label,tooltip:T.medicineEffect.tooltip,id:"medicineEffect",name:"medicineEffect",value:S,onChange:n=>M({medicineEffect:n}),min:R.medicineEffect[0],max:R.medicineEffect[1]}),(0,_V.jsx)(lV,{label:T.mmseOfInterest.label,id:"mmseOfInterest",name:"mmseOfInterest",value:z,onChange:n=>M({mmseOfInterest:n}),min:R.mmseOfInterest[0],max:R.mmseOfInterest[1]})]})]})});function M(n){V(P=>({...P,...n}))}}j();j();function bV(V,U){return Math.round(1/V*U*100)/100}j();j();var Jb={graphRectBox:"src_features_pageOnly_medicationTool_GraphViewbox_graphRectBox",gridStroke:"src_features_pageOnly_medicationTool_GraphViewbox_gridStroke"};var eV=c(G());function CO({width:V,height:U,viewBox:W,yZoom:T=1,showGrid:Z=!1,children:o}){return(0,eV.jsx)("svg",{width:"auto",height:"auto","data-svg":"true",viewBox:W,children:(0,eV.jsxs)("g",{children:[(0,eV.jsx)("rect",{x:0,y:0,strokeWidth:.06,"data-svg-grid":"true",className:Jb.graphRectBox,width:V,height:U}),Z&&(0,eV.jsx)(zv,{width:V,height:U,yZoom:T}),o]})})}function zv({width:V,height:U,yZoom:W}){let T=Math.floor(1/(1/W))-1;return(0,eV.jsxs)(eV.Fragment,{children:[(0,eV.jsx)("rect",{x:0,y:0,strokeWidth:.06,"data-svg-grid":"true",fill:"url(#:grid:)",width:V,height:U}),(0,eV.jsxs)("defs",{children:[(0,eV.jsxs)("pattern",{id:":smallGrid:",width:1,height:1,patternUnits:"userSpaceOnUse",children:[(0,eV.jsx)("line",{x1:1,x2:1,y1:0,y2:1,strokeWidth:.06,className:Jb.gridStroke}),(0,eV.jsx)("line",{x1:0,x2:1,y1:1,y2:1,strokeWidth:.06,className:Jb.gridStroke}),Array.from({length:T}).map((Z,o)=>{let i=bV(W,o+1);return(0,eV.jsx)("line",{x1:0,x2:1,y1:i,y2:i,strokeWidth:.06,className:Jb.gridStroke},o)})]}),(0,eV.jsxs)("pattern",{id:":grid:",width:5,height:5,patternUnits:"userSpaceOnUse",children:[(0,eV.jsx)("rect",{width:5,height:5,fill:"url(#:smallGrid:)"}),(0,eV.jsx)("line",{x1:5,x2:5,y1:0,y2:5,strokeWidth:.125,className:Jb.gridStroke}),(0,eV.jsx)("line",{x1:0,x2:5,y1:5,y2:5,strokeWidth:.125,className:Jb.gridStroke})]})]})]})}j();j();var $b={axisStroke:"src_features_pageOnly_medicationTool_Axis_axisStroke",axisLabel:"src_features_pageOnly_medicationTool_Axis_axisLabel",axisTitle:"src_features_pageOnly_medicationTool_Axis_axisTitle"};var _W=c(G());function a5({width:V,height:U,xLabel:W,yLabel:T}){return(0,_W.jsx)(_I,{width:V,height:U,xLabel:W,yLabel:T})}function C5({width:V,height:U,xMax:W,xStep:T,xZoom:Z,xLabel:o,yMax:i,yStep:b,yZoom:O,yLabel:S}){return(0,_W.jsx)(_I,{width:V,height:U,xMax:W,xStep:T,xZoom:Z,yMax:i,yStep:b,yZoom:O,xLabel:o,yLabel:S})}function v5({width:V,height:U,xMax:W,xStep:T,xZoom:Z,xLabel:o}){return(0,_W.jsx)(_I,{width:V,height:U,xMax:W,xStep:T,xZoom:Z,xLabel:o})}function _I({width:V,height:U,xMax:W=void 0,xStep:T=void 0,xZoom:Z=void 0,xLabel:o=void 0,yMax:i=void 0,yStep:b=void 0,yZoom:O=void 0,yLabel:S=void 0}){let z=W/T+1,u=i/b+1,q=i&&b&&O,R=W&&T&&Z;return(0,_W.jsxs)("g",{children:[(0,_W.jsx)("line",{y1:0,y2:U,className:$b.axisStroke}),(0,_W.jsx)("line",{x1:0,x2:V,y1:U,y2:U,className:$b.axisStroke}),S&&(0,_W.jsx)("text",{x:0,y:q?-1.75:-1,textAnchor:"end",transform:"rotate(-90)",className:$b.axisTitle,children:S}),o&&(0,_W.jsx)("text",{x:V,y:R?U+3:U+1,textAnchor:"end",className:$b.axisTitle,children:o}),q&&(0,_W.jsx)("g",{"data-y-axis":"true",children:Array.from({length:u}).map((I,M)=>{let n=bV(O,M*b),P=i-M*b;return(0,_W.jsx)("text",{x:-.75,y:n,textAnchor:"middle",className:$b.axisLabel,children:P},M)})}),R&&(0,_W.jsx)("g",{"data-x-axis":"true",children:Array.from({length:z}).map((I,M)=>{let n=bV(Z,M*T),P=M*T;return(0,_W.jsx)("text",{x:n,y:U+1,textAnchor:"middle",className:$b.axisLabel,children:P},M)})})]})}j();j();var eI={component:"src_features_pageOnly_medicationTool_Legend_component",componentItem:"src_features_pageOnly_medicationTool_Legend_componentItem"};var Ko=c(G());function MR({children:V}){return(0,Ko.jsx)("ul",{className:eI.component,children:V})}function _b({label:V,path:U,pathStyle:W,strokeWidth:T=1,strokeDasharray:Z=0,tooltip:o=void 0}){return(0,Ko.jsxs)("li",{className:eI.componentItem,children:[(0,Ko.jsx)(uv,{path:U,strokeWidth:T,strokeDasharray:Z,pathStyle:W}),V,o&&(0,Ko.jsx)(xT,{tip:o})]})}function uv({path:V,strokeWidth:U,strokeDasharray:W,pathStyle:T}){return(0,Ko.jsx)("svg",{className:T,width:"18px",height:"18px",viewBox:"0 0 6 6",children:(0,Ko.jsx)("path",{d:V,strokeDashoffset:0,strokeWidth:U,strokeDasharray:W})})}j();var AT={component:"src_features_pageOnly_medicationTool_LineGraph_component",componentPathTreatment:"src_features_pageOnly_medicationTool_LineGraph_componentPathTreatment",legendItemTreatment:"src_features_pageOnly_medicationTool_LineGraph_legendItemTreatment",componentPathAverage:"src_features_pageOnly_medicationTool_LineGraph_componentPathAverage",legendItemAverage:"src_features_pageOnly_medicationTool_LineGraph_legendItemAverage",componentPathBase:"src_features_pageOnly_medicationTool_LineGraph_componentPathBase",marginOfErrorPath:"src_features_pageOnly_medicationTool_LineGraph_marginOfErrorPath",marginOfErrorFill:"src_features_pageOnly_medicationTool_LineGraph_marginOfErrorFill",legendItemMarginOfError:"src_features_pageOnly_medicationTool_LineGraph_legendItemMarginOfError"};var LU=c(G());function II({xMax:V=5,xStep:U=1,xZoom:W=.25,yMax:T=30,yStep:Z=10,yZoom:
46o=2,xLabel:i,yLabel:b,curves:O,showData:S,showTreatmentEffects:z}){let q=v("medicatie_tool")("graphsContent"),R=O?.withMedication,I=O?.withoutMedication.variance05,M=O?.withoutMedication.variance025,n=O?.withoutMedication.variance075,P=I?.length?QR({dataPoints:R,xZoom:W,xMax:V,yZoom:o,yMax:T}):"",$=I?.length?QR({dataPoints:I,xZoom:W,xMax:V,yZoom:o,yMax:T}):"",t=V/W,Q=T/o;return(0,LU.jsxs)("div",{className:AT.component,children:[(0,LU.jsx)("div",{children:(0,LU.jsxs)(CO,{viewBox:`-2.5 -1.5 ${t+3} ${Q+5}`,width:t,height:Q,yZoom:o,children:[(0,LU.jsx)(C5,{width:t,height:Q,xLabel:i,xMax:V,xStep:U,xZoom:W,yLabel:b,yMax:T,yStep:Z,yZoom:o}),S&&(0,LU.jsxs)(LU.Fragment,{children:[(0,LU.jsx)(Rv,{upperBound:M,lowerBound:n,xZoom:W,xMax:V,yZoom:o,yMax:T}),(0,LU.jsx)(qv,{path:$}),z&&(0,LU.jsx)(jv,{path:P})]})]})}),(0,LU.jsxs)(MR,{children:[(0,LU.jsx)(_b,{label:q.lineGraph.legend.average,path:"M 0 3 h 6",strokeWidth:1,strokeDasharray:0,pathStyle:AT.legendItemAverage}),(0,LU.jsx)(_b,{label:q.lineGraph.legend.uncertainty,tooltip:q.lineGraph.legend.uncertaintyTooltip,path:"M 2 0 h 2 q 2 0 2 2 v 2 q 0 2 -2 2 h -2 q -2 0 -2 -2 v -2 q 0 -2 2 -2 z",strokeWidth:.5,strokeDasharray:1.33,pathStyle:AT.legendItemMarginOfError}),z&&(0,LU.jsx)(_b,{label:q.lineGraph.legend.treatment,path:"M 0 3 h 6",strokeWidth:1,strokeDasharray:1,pathStyle:AT.legendItemTreatment})]})]})}function jv({path:V}){return(0,LU.jsx)(B5,{strokeDasharray:.5,className:AT.componentPathTreatment,path:V})}function qv({path:V}){return(0,LU.jsx)(B5,{strokeDasharray:0,className:AT.componentPathAverage,path:V})}function B5({path:V,strokeDasharray:U,className:W}){return(0,LU.jsx)("path",{d:V,strokeWidth:.2,strokeDashoffset:0,className:(0,_.default)(AT.componentPathBase,W),strokeDasharray:U})}function Rv({upperBound:V,lowerBound:U,xZoom:W,xMax:T,yZoom:Z,yMax:o}){let i=QR({dataPoints:V,xZoom:W,xMax:T,yZoom:Z,yMax:o}),b=QR({dataPoints:U,xZoom:W,xMax:T,yZoom:Z,yMax:o}),O=Pv({upperBound:V,lowerBound:U,xZoom:W,xMax:T,yZoom:Z,yMax:o});return(0,LU.jsxs)("g",{children:[(0,LU.jsx)("path",{d:i,strokeWidth:.05,strokeDashoffset:0,strokeDasharray:.5,className:AT.marginOfErrorPath}),(0,LU.jsx)("path",{d:b,strokeWidth:.05,strokeDashoffset:0,strokeDasharray:.5,className:AT.marginOfErrorPath}),(0,LU.jsx)("path",{d:O,strokeWidth:.05,strokeDashoffset:0,strokeDasharray:.5,className:AT.marginOfErrorFill})]})}function QR({dataPoints:V,xZoom:U,xMax:W,yZoom:T,yMax:Z}){if(!V)return"";let o=V.filter(O=>O.x<=W&&O.y>=0),i=`M ${bV(U,o[0].x)} ${bV(T,Z-o[0].y)}`,b=o.slice(1).map(O=>`L ${bV(U,O.x)} ${bV(T,Z-O.y)}`);return[i,...b].join(" ")}function Pv({upperBound:V,lowerBound:U,xZoom:W,xMax:T,yZoom:Z,yMax:o}){let i=V.map(({x:q,y:R})=>({x:q>T?T:q,y:R<0?0:R>o?o:R})),b=U.map(({x:q,y:R})=>({x:q>T?T:q,y:R<0?0:R>o?o:R})),O=i.toReversed(),S=`M ${bV(W,O[0].x)} ${bV(Z,o-O[0].y)}`,z=O.slice(1).map(q=>`L ${bV(W,q.x)} ${bV(Z,o-q.y)}`),u=b.map(q=>`L ${bV(W,q.x)} ${bV(Z,o-q.y)}`);return[S,...z,...u,"z"].join(" ")}j();j();var eb={component_root:"src_features_pageOnly_medicationTool_StackedBarGraph_component_root",component:"src_features_pageOnly_medicationTool_StackedBarGraph_component",componentPathWithoutMeds:"src_features_pageOnly_medicationTool_StackedBarGraph_componentPathWithoutMeds",legendItemWithoutMeds:"src_features_pageOnly_medicationTool_StackedBarGraph_legendItemWithoutMeds",componentPathWithMeds:"src_features_pageOnly_medicationTool_StackedBarGraph_componentPathWithMeds",legendItemWithMeds:"src_features_pageOnly_medicationTool_StackedBarGraph_legendItemWithMeds"};var eW=c(G());function tI({a:V,b:U,showData:W,showTreatmentEffects:T,xLabel:Z,xStep:o=1,xZoom:i=.25}){let O=v("medicatie_tool")("graphsContent"),z=Math.round((U??7)*1.15),u=z/i,q=5,R=s5(0,V,{xZoom:i,height:q}),I=s5(V,U-V,{xZoom:i,height:q});return(0,eW.jsxs)("div",{className:(0,_.default)(eb.component,eb.component_root),children:[(0,eW.jsx)("div",{children:(0,eW.jsxs)(CO,{viewBox:`-0.5 -1.5 ${u+.75} ${q+5}`,width:u,height:q,children:[(0,eW.jsx)(v5,{width:u,height:q,xLabel:Z,xMax:z,xStep:o,xZoom:i}),W&&(0,eW.jsx)(Jv,{path:R}),T&&(0,eW.jsx)($v,{path:I})]})}),(0,eW.jsxs)(MR,{children:[(0,eW.jsx)(_b,{label:O.stackedBarGraph.legend.withoutTreatment,path:"M 2 0 h 2 q 2 0 2 2 v 2 q 0 2 -2 2 h -2 q -2 0 -2 -2 v -2 q 0 
46-2 2 -2 z",pathStyle:eb.legendItemWithoutMeds}),T&&(0,eW.jsx)(_b,{label:O.stackedBarGraph.legend.withTreatment,path:"M 2 0 h 2 q 2 0 2 2 v 2 q 0 2 -2 2 h -2 q -2 0 -2 -2 v -2 q 0 -2 2 -2 z",pathStyle:eb.legendItemWithMeds})]})]})}function Jv({path:V}){return(0,eW.jsx)(p5,{className:eb.componentPathWithoutMeds,path:V})}function $v({path:V}){return(0,eW.jsx)(p5,{className:eb.componentPathWithMeds,path:V})}function p5({path:V,className:U}){return(0,eW.jsx)("path",{d:V,strokeWidth:.3,strokeDashoffset:0,strokeDasharray:.5,className:U})}function s5(V,U,{xZoom:W,height:T}){return`M ${bV(W,V)} 0 h ${bV(W,U)} v ${T} h -${bV(W,U)} z`}j();j();j();var nV={componentAverage:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_componentAverage",isActive:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_isActive",animateLine:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_animateLine",componentFiveYearMark:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_componentFiveYearMark",componentMarginOfError:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_componentMarginOfError",isDelayed:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_isDelayed",marginOfErrorPath:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_marginOfErrorPath",marginOfErrorFill:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_marginOfErrorFill",treatmentPath:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_treatmentPath",gradientStop:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedPath_gradientStop"};var ZV=c(G());function Y5({isActive:V}){let U="M 0 2 L 0.652 2.023 L 1.304 2.062 L 1.956 2.117 L 2.608 2.188 L 3.260 2.273 L 3.913 2.373 L 4.565 2.486 L 5.217 2.612 L 5.869 2.749 L 6.521 2.899 L 7.174 3.059 L 7.826 3.230 L 8.478 3.410 L 9.130 3.598 L 9.782 3.795 L 10.4 4.000",W=w5(U);return(0,ZV.jsx)("path",{d:U,strokeWidth:.15,style:{strokeDasharray:Math.ceil(W*2)/2,strokeDashoffset:Math.ceil(W*2)/2-2},className:(0,_.default)(nV.componentAverage,V&&nV.isActive)})}function y5({isActive:V,height:U}){return(0,ZV.jsx)("path",{d:`M 10.3 0 v ${U}`,strokeWidth:.075,strokeDashoffset:0,strokeDasharray:.25,className:(0,_.default)((0,_.default)(nV.componentFiveYearMark,V&&nV.isActive))})}function K5({isActive:V,isDelayed:U}){return(0,ZV.jsxs)("g",{className:(0,_.default)(nV.componentMarginOfError,V&&nV.isActive,U&&nV.isDelayed),children:[(0,ZV.jsx)("path",{d:"M 0 2 L 0.652 2.006 L 1.304 2.015 L 1.956 2.029 L 2.608 2.047 L 3.260 2.068 L 3.913 2.093 L 4.565 2.121 L 5.217 2.153 L 5.869 2.187 L 6.521 2.225 L 7.174 2.265 L 7.826 2.307 L 8.478 2.352 L 9.130 2.400 L 9.782 2.449 L 10.3 2.5",strokeWidth:.05,strokeDashoffset:0,strokeDasharray:.5,className:nV.marginOfErrorPath}),(0,ZV.jsx)("path",{d:"M 0 2 L 0.652 2.039 L 1.304 2.108 L 1.956 2.205 L 2.608 2.329 L 3.260 2.478 L 3.913 2.652 L 4.565 2.850 L 5.217 3.070 L 5.869 3.312 L 6.521 3.573 L 7.174 3.854 L 7.826 4.152 L 8.478 4.467 L 9.130 4.797 L 9.782 5.142 L 10.3 5.5",strokeWidth:.05,strokeDashoffset:0,strokeDasharray:.5,className:nV.marginOfErrorPath}),(0,ZV.jsx)("path",{d:"M 10.3 2.5 L 9.782 2.449 L 9.130 2.400 L 8.478 2.352 L 7.826 2.307 L 7.174 2.265 L 6.521 2.225 L 5.869 2.187 L 5.217 2.153 L 4.565 2.121 L 3.913 2.093 L 3.260 2.068 L 2.608 2.047 L 1.956 2.029 L 1.304 2.015 L 0.652 2.006 L 0 2 L 0.652 2.039 L 1.304 2.108 L 1.956 2.205 L 2.608 2.329 L 3.260 2.478 L 3.913 2.652 L 4.565 2.850 L 5.217 3.070 L 5.869 3.312 L 6.521 3.573 L 7.174 3.854 L 7.826 4.152 L 8.478 4.467 L 9.130 4.797 L 9.782 5.142 L 10.3 5.5 z",strokeWidth:.05,strokeDashoffset:0,strokeDasharray:.5,className:nV.marginOfErrorFill})]})}function L5({isActive:V,isComplete:U}){let W="M 0 2 L 0.652 2.014 L 1.304 2.039 L 1.956 2.073 L 2.608 2.117 L 3.26 2.171",T=w5(W);return(0,ZV.jsxs)(ZV.Fragment,{children:[(0,ZV.jsxs)("g",{children:[(0,ZV.jsx)("path",{d:W,strokeWidth:.15,style:{strokeDasharray:Math.ceil(T*2)/2,strokeDashoffset:Math.ceil(T*2)/2},className:(0,_.default)(nV.treatmentPath,V&&nV.isActive)}),(0,ZV.jsx)("path",{mask:"url(#gradientMask)",d:"M 3.260 2.171 L 3.913 2.233 L 4.565 2.304 L 5.217 2.382 L 5.869 2.468 L 6.521 2.562 L 7.174 2.662 L 7.826 2.769 L 8.478 2.881 L 9.130 2.999 L 9.782 3.122 L 10.434 3.25",strokeWidth:.15,strokeDashoffset:.25,strokeDasharray:.25,className:nV.treatmentPath})]}),(0,ZV.jsx)(_v,{isActive:U}
46)]})}function _v({isActive:V}){return(0,ZV.jsxs)("mask",{id:"gradientMask",children:[(0,ZV.jsx)("rect",{x:0,y:0,width:15,height:10,fill:"url(#gradient)"}),(0,ZV.jsx)("defs",{children:(0,ZV.jsxs)("linearGradient",{id:"gradient",children:[(0,ZV.jsx)("stop",{className:(0,_.default)(nV.gradientStop,V&&nV.isActive),offset:"0%"}),(0,ZV.jsx)("stop",{className:(0,_.default)(nV.gradientStop,V&&nV.isActive),offset:"75%"})]})})]})}function w5(V){return parseFloat(V.split(" ").filter(U=>!isNaN(U)&&U.trim()!=="").slice(-2,-1)[0])}j();j();var K=c(BU(),1);j();j();function nR(){return typeof window<"u"}function Lo(V){return HR(V)?(V.nodeName||"").toLowerCase():"#document"}function gV(V){var U;return(V==null||(U=V.ownerDocument)==null?void 0:U.defaultView)||window}function uZ(V){var U;return(U=(HR(V)?V.ownerDocument:V.document)||window.document)==null?void 0:U.documentElement}function HR(V){return nR()?V instanceof Node||V instanceof gV(V).Node:!1}function UW(V){return nR()?V instanceof Element||V instanceof gV(V).Element:!1}function NT(V){return nR()?V instanceof HTMLElement||V instanceof gV(V).HTMLElement:!1}function Tu(V){return!nR()||typeof ShadowRoot>"u"?!1:V instanceof ShadowRoot||V instanceof gV(V).ShadowRoot}function Zu(V){let{overflow:U,overflowX:W,overflowY:T,display:Z}=XW(V);return/auto|scroll|overlay|hidden|clip/.test(U+T+W)&&Z!=="inline"&&Z!=="contents"}function D5(V){return/^(table|td|th)$/.test(Lo(V))}function ou(V){try{if(V.matches(":popover-open"))return!0}catch{}try{return V.matches(":modal")}catch{return!1}}var ev=/transform|translate|scale|rotate|perspective|filter/,Iv=/paint|layout|strict|content/,Ib=V=>!!V&&V!=="none",MI;function cR(V){let U=UW(V)?XW(V):V;return Ib(U.transform)||Ib(U.translate)||Ib(U.scale)||Ib(U.rotate)||Ib(U.perspective)||!iu()&&(Ib(U.backdropFilter)||Ib(U.filter))||ev.test(U.willChange||"")||Iv.test(U.contain||"")}function f5(V){let U=sZ(V);for(;NT(U)&&!tb(U);){if(cR(U))return U;if(ou(U))return null;U=sZ(U)}return null}function iu(){return MI==null&&(MI=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),MI}function tb(V){return/^(html|body|#document)$/.test(Lo(V))}function XW(V){return gV(V).getComputedStyle(V)}function bu(V){return UW(V)?{scrollLeft:V.scrollLeft,scrollTop:V.scrollTop}:{scrollLeft:V.scrollX,scrollTop:V.scrollY}}function sZ(V){if(Lo(V)==="html")return V;let U=V.assignedSlot||V.parentNode||Tu(V)&&V.host||uZ(V);return Tu(U)?U.host:U}function g5(V){let U=sZ(V);return tb(U)?(V.ownerDocument||V).body:NT(U)&&Zu(U)?U:g5(U)}function pZ(V,U,W){var T;U===void 0&&(U=[]),W===void 0&&(W=!0);let Z=g5(V),o=Z===((T=V.ownerDocument)==null?void 0:T.body),i=gV(Z);if(o){let b=GR(i);return U.concat(i,i.visualViewport||[],Zu(Z)?Z:[],b&&W?pZ(b):[])}else return U.concat(Z,pZ(Z,[],W))}function GR(V){return V.parent&&Object.getPrototypeOf(V.parent)?V.frameElement:null}var vO=c(BU(),1),zx=c(BU(),1);j();var wo=Math.min,YZ=Math.max,Ou=Math.round,Su=Math.floor,jZ=V=>({x:V,y:V});function Ux(V,U,W){return YZ(V,wo(U,W))}function QI(V,U){return typeof V=="function"?V(U):V}function Vx(V){return V.split("-")[0]}function nI(V){return V.split("-")[1]}function Wx(V){return V==="x"?"y":"x"}function HI(V){return V==="y"?"height":"width"}function cI(V){let U=V[0];return U==="t"||U==="b"?"y":"x"}function GI(V){return Wx(cI(V))}function tv(V){var U,W,T,Z;return{top:(U=V.top)!=null?U:0,right:(W=V.right)!=null?W:0,bottom:(T=V.bottom)!=null?T:0,left:(Z=V.left)!=null?Z:0}}function rI(V){return typeof V!="number"?tv(V):{top:V,right:V,bottom:V,left:V}}function Mb(V){let{x:U,y:W,width:T,height:Z}=V;return{width:T,height:Z,top:W,left:U,right:U+T,bottom:W+Z,x:U,y:W}}j();var Mv=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],xI=Mv.join(","),ox=typeof Element>"u",zu=ox?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,rR=!ox&&Element.prototype.getRootNode?function(V){var U;return V==null||(U=V.getRootNode)===null||U===void 0?void 0:U.call(V)}:function(V){return V?.ownerDocument},xR=function(U,W){var T;W===void 0&&(W=!0);var Z=U==null||(T=U.getAttribute)===null||T===void 0?void 0:T.call(U,"inert"),o=Z===""||Z==="true",i=o||W&&U&&(typeof U.closest=="function"?U.closest("[inert]"):xR(U.parentNode));return i},Qv=function(U){var W,T=U==null||(W=U.getAttribute)===null||W===void 0?void 0:W.call(U,"contenteditable");return T===""||T==="true"},nv=function(U,W,T){if(xR(U))return[];var Z=Array.prototype.slice.apply(U.querySelectorAll(xI));return W&&zu.call(U,xI)&&Z.unshift(U),Z=Z.filter(T),Z},EI=function(U,W,T){for(var Z=[],o=Array.from(U);o.length;){var i=o.shift();if(!xR(i,!1))if(i.tagName==="SLOT"){var b=i.assignedElements(),O=b.length?b:i.children,S=EI(O,!0,T);T.flatten?Z.push.apply(Z,S):Z.push({scopeParent:i,candidates:S})}else{var z=zu.call(i,xI);z&&T.filter(i)&&(W||!U.includes(i))&&Z.push(i);var u=i.shadowRoot||typeof T.getShadowRoot=="function"&&T.getShadowRoot(i),q=!xR(u,!1)&&(!T.shadowRootFilter||T.shadowRootFilter(i));if(u&&q){var R=EI(u===!0?i.children:u.children,!0,T);T.flatten?Z.push.apply(Z,R):Z.push({scopeParent:i,candidates:R})}else o.unshift.apply(o,i.children)}}return Z},ix=function(U){return!isNaN(parseInt(U.getAttribute("tabindex"),10))}
46,bx=function(U){if(!U)throw new Error("No node provided");return U.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(U.tagName)||Qv(U))&&!ix(U)?0:U.tabIndex},Hv=function(U,W){var T=bx(U);return T<0&&W&&!ix(U)?0:T},cv=function(U,W){return U.tabIndex===W.tabIndex?U.documentOrder-W.documentOrder:U.tabIndex-W.tabIndex},Ox=function(U){return U.tagName==="INPUT"},Gv=function(U){return Ox(U)&&U.type==="hidden"},rv=function(U){var W=U.tagName==="DETAILS"&&Array.prototype.slice.apply(U.children).some(function(T){return T.tagName==="SUMMARY"});return W},xv=function(U,W){for(var T=0;T<U.length;T++)if(U[T].checked&&U[T].form===W)return U[T]},Ev=function(U){if(!U.name)return!0;var W=U.form||rR(U),T=function(b){return W.querySelectorAll('input[type="radio"][name="'+b+'"]')},Z;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")Z=T(window.CSS.escape(U.name));else try{Z=T(U.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=xv(Z,U.form);return!o||o===U},kv=function(U){return Ox(U)&&U.type==="radio"},Xv=function(U){return kv(U)&&!Ev(U)},hv=function(U){var W,T=U&&rR(U),Z=(W=T)===null||W===void 0?void 0:W.host,o=!1;if(T&&T!==U){var i,b,O;for(o=!!((i=Z)!==null&&i!==void 0&&(b=i.ownerDocument)!==null&&b!==void 0&&b.contains(Z)||U!=null&&(O=U.ownerDocument)!==null&&O!==void 0&&O.contains(U));!o&&Z;){var S,z,u;T=rR(Z),Z=(S=T)===null||S===void 0?void 0:S.host,o=!!((z=Z)!==null&&z!==void 0&&(u=z.ownerDocument)!==null&&u!==void 0&&u.contains(Z))}}return o},Tx=function(U){var W=U.getBoundingClientRect(),T=W.width,Z=W.height;return T===0&&Z===0},Av=function(U,W){var T=W.displayCheck,Z=W.getShadowRoot;if(T==="full-native"&&"checkVisibility"in U){var o=U.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!o}var i=getComputedStyle(U),b=i.visibility;if(b==="hidden"||b==="collapse")return!0;var O=zu.call(U,"details>summary:first-of-type"),S=O?U.parentElement:U;if(zu.call(S,"details:not([open]) *"))return!0;if(!T||T==="full"||T==="full-native"||T==="legacy-full"){if(typeof Z=="function"){for(var z=U;U;){var u=U.parentElement,q=rR(U);if(u&&!u.shadowRoot&&Z(u)===!0)return Tx(U);U.assignedSlot?U=U.assignedSlot:!u&&q!==U.ownerDocument?U=q.host:U=u}U=z}if(hv(U))return!U.getClientRects().length;if(T!=="legacy-full")return!0}else if(T==="non-zero-area")return Tx(U);return!1},Nv=function(U){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(U.tagName))for(var W=U.parentElement;W;){if(W.tagName==="FIELDSET"&&W.disabled){for(var T=0;T<W.children.length;T++){var Z=W.children.item(T);if(Z.tagName==="LEGEND")return zu.call(W,"fieldset[disabled] *")?!0:!Z.contains(U)}return!0}W=W.parentElement}return!1},mv=function(U,W){return!(W.disabled||Gv(W)||Av(W,U)||rv(W)||Nv(W))},Zx=function(U,W){return!(Xv(W)||bx(W)<0||!mv(U,W))},lv=function(U){var W=parseInt(U.getAttribute("tabindex"),10);return!!(isNaN(W)||W>=0)},Sx=function(U){var W=[],T=[];return U.forEach(function(Z,o){var i=!!Z.scopeParent,b=i?Z.scopeParent:Z,O=Hv(b,i),S=i?Sx(Z.candidates):b;O===0?i?W.push.apply(W,S):W.push(b):T.push({documentOrder:o,tabIndex:O,item:Z,isScope:i,content:S})}),T.sort(cv).reduce(function(Z,o){return o.isScope?Z.push.apply(Z,o.content):Z.push(o.content),Z},[]).concat(W)},kI=function(U,W){W=W||{};var T;return W.getShadowRoot?T=EI([U],W.includeContainer,{filter:Zx.bind(null,W),flatten:!1,getShadowRoot:W.getShadowRoot,shadowRootFilter:lv}):T=nv(U,W.includeContainer,Zx.bind(null,W)),Sx(T)};function ux(){return/apple/i.test(navigator.vendor)}function jx(V){let U=V.activeElement;for(;((W=U)==null||(W=W.shadowRoot)==null?void 0:W.activeElement)!=null;){var W;U=U.shadowRoot.activeElement}return U}function qx(V,U){if(!V||!U)return!1;let W=U.getRootNode==null?void 0:U.getRootNode();if(V.contains(U))return!0;if(W&&Tu(W)){let T=U;for(;T;){if(V===T)return!0;T=T.parentNode||T.host}}return!1}function ER(V){return V?.ownerDocument||document}var dv=typeof document<"u",Fv=function(){},UT=dv?zx.useLayoutEffect:Fv,av={...vO};function uu(V){let U=vO.useRef(V);return UT(()=>{U.current=V}),U}var Cv=av.useInsertionEffect,vv=Cv||(V=>V());function Rx(V){let U=vO.useRef(()=>{});return vv(()=>{U.current=V}),vO.useCallback(function(){for(var W=arguments.length,T=new Array(W),Z=0;Z<W;Z++)T[Z]=arguments[Z];return U.current==null?void 0:U.current(...T)},[])}var XI=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Px(V,U){let W=kI(V,XI()),T=W.length;if(T===0)return;let Z=jx(ER(V)),o=W.indexOf(Z),i=o===-1?U===1?0:T-1:o+U;return W[i]}
46function Jx(V){return Px(ER(V).body,1)||V}function $x(V){return Px(ER(V).body,-1)||V}function kR(V,U){let W=U||V.currentTarget,T=V.relatedTarget;return!T||!qx(W,T)}function _x(V){kI(V,XI()).forEach(W=>{W.dataset.tabindex=W.getAttribute("tabindex")||"",W.setAttribute("tabindex","-1")})}function hI(V){V.querySelectorAll("[data-tabindex]").forEach(W=>{let T=W.dataset.tabindex;delete W.dataset.tabindex,T?W.setAttribute("tabindex",T):W.removeAttribute("tabindex")})}var hW=c(G(),1);var FR=c(hR(),1);j();j();j();function Qx(V,U,W){let{reference:T,floating:Z}=V,o=cI(U),i=GI(U),b=HI(i),O=Vx(U),S=o==="y",z=T.x+T.width/2-Z.width/2,u=T.y+T.height/2-Z.height/2,q=T[b]/2-Z[b]/2,R;switch(O){case"top":R={x:z,y:T.y-Z.height};break;case"bottom":R={x:z,y:T.y+T.height};break;case"right":R={x:T.x+T.width,y:u};break;case"left":R={x:T.x-Z.width,y:u};break;default:R={x:T.x,y:T.y}}let I=nI(U);return I&&(R[i]+=q*(I==="end"?1:-1)*(W&&S?-1:1)),R}async function nx(V,U){var W;U===void 0&&(U={});let{x:T,y:Z,platform:o,rects:i,elements:b,strategy:O}=V,{boundary:S="clippingAncestors",rootBoundary:z="viewport",elementContext:u="floating",altBoundary:q=!1,padding:R=0}=QI(U,V),I=rI(R),n=b[q?u==="floating"?"reference":"floating":u],P=Mb(await o.getClippingRect({element:(W=await(o.isElement==null?void 0:o.isElement(n)))==null||W?n:n.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(b.floating)),boundary:S,rootBoundary:z,strategy:O})),$=u==="floating"?{x:T,y:Z,width:i.floating.width,height:i.floating.height}:i.reference,t=await(o.getOffsetParent==null?void 0:o.getOffsetParent(b.floating)),Q=await(o.isElement==null?void 0:o.isElement(t))&&await(o.getScale==null?void 0:o.getScale(t))||{x:1,y:1},x=Mb(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:$,offsetParent:t,strategy:O}):$);return{top:(P.top-x.top+I.top)/Q.y,bottom:(x.bottom-P.bottom+I.bottom)/Q.y,left:(P.left-x.left+I.left)/Q.x,right:(x.right-P.right+I.right)/Q.x}}var Yv=50,Hx=async(V,U,W)=>{let{placement:T="bottom",strategy:Z="absolute",middleware:o=[],platform:i}=W,b=i.detectOverflow?i:{...i,detectOverflow:nx},O=await(i.isRTL==null?void 0:i.isRTL(U)),S=await i.getElementRects({reference:V,floating:U,strategy:Z}),{x:z,y:u}=Qx(S,T,O),q=T,R=0,I={};for(let M=0;M<o.length;M++){let n=o[M];if(!n)continue;let{name:P,fn:$}=n,{x:t,y:Q,data:x,reset:k}=await $({x:z,y:u,initialPlacement:T,placement:q,strategy:Z,middlewareData:I,rects:S,platform:b,elements:{reference:V,floating:U}});z=t??z,u=Q??u,I[P]={...I[P],...x},k&&R<Yv&&(R++,typeof k=="object"&&(k.placement&&(q=k.placement),k.rects&&(S=k.rects===!0?await i.getElementRects({reference:V,floating:U,strategy:Z}):k.rects),{x:z,y:u}=Qx(S,q,O)),M=-1)}return{x:z,y:u,placement:q,strategy:Z,middlewareData:I}},cx=V=>({name:"arrow",options:V,async fn(U){let{x:W,y:T,placement:Z,rects:o,platform:i,elements:b,middlewareData:O}=U,{element:S,padding:z=0}=QI(V,U)||{};if(S==null)return{};let u=rI(z),q={x:W,y:T},R=GI(Z),I=HI(R),M=await i.getDimensions(S),n=R==="y",P=n?"top":"left",$=n?"bottom":"right",t=n?"clientHeight":"clientWidth",Q=o.reference[I]+o.reference[R]-q[R]-o.floating[I],x=q[R]-o.reference[R],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(S)),r=k?k[t]:0;(!r||!await(i.isElement==null?void 0:i.isElement(k)))&&(r=b.floating[t]||o.floating[I]);let A=Q/2-x/2,d=r/2-M[I]/2-1,a=wo(u[P],d),xU=wo(u[$],d),UU=r-M[I]-xU,EU=r/2-M[I]/2+A,vU=Ux(a,EU,UU),UV=!O.arrow&&nI(Z)!=null&&EU!==vU&&o.reference[I]/2-(EU<a?a:xU)-M[I]/2<0,wU=UV?EU<a?EU-a:EU-UU:0;return{[R]:q[R]+wU,data:{[R]:vU,centerOffset:EU-vU-wU,...UV&&{alignmentOffset:wU}},reset:UV}}});function xx(V){let U=XW(V),W=parseFloat(U.width)||0,T=parseFloat(U.height)||0,Z=NT(V),o=Z?V.offsetWidth:W,i=Z?V.offsetHeight:T,b=Ou(W)!==o||Ou(T)!==i;return b&&(W=o,T=i),{width:W,height:T,$:b}}function NI(V){return UW(V)?V:V.contextElement}function BO(V){let U=NI(V);if(!NT(U))return jZ(1);let W=U.getBoundingClientRect(),{width:T,height:Z,$:o}=xx(U),i=(o?Ou(W.width):W.width)/T,b=(o?Ou(W.height):W.height)/Z;return(!i||!Number.isFinite(i))&&(i=1),(!b||!Number.isFinite(b))&&(b=1),{x:i,y:b}}var yv=jZ(0);function Ex(V){let U=gV(V);
vendor: 5,487 bytes, line 46
46return!iu()||!U.visualViewport?yv:{x:U.visualViewport.offsetLeft,y:U.visualViewport.offsetTop}}function Kv(V,U,W){return U===void 0&&(U=!1),!!W&&U&&W===gV(V)}function Qb(V,U,W,T){U===void 0&&(U=!1),W===void 0&&(W=!1);let Z=V.getBoundingClientRect(),o=NI(V),i=jZ(1);U&&(T?UW(T)&&(i=BO(T)):i=BO(V));let b=Kv(o,W,T)?Ex(o):jZ(0),O=(Z.left+b.x)/i.x,S=(Z.top+b.y)/i.y,z=Z.width/i.x,u=Z.height/i.y;if(o&&T){let q=gV(o),R=UW(T)?gV(T):T,I=q,M=GR(I);for(;M&&R!==I;){let n=BO(M),P=M.getBoundingClientRect(),$=XW(M),t=P.left+(M.clientLeft+parseFloat($.paddingLeft))*n.x,Q=P.top+(M.clientTop+parseFloat($.paddingTop))*n.y;O*=n.x,S*=n.y,z*=n.x,u*=n.y,O+=t,S+=Q,I=gV(M),M=GR(I)}}return Mb({width:z,height:u,x:O,y:S})}function AR(V,U){let W=bu(V).scrollLeft;return U?U.left+W:Qb(uZ(V)).left+W}function kx(V,U){let W=V.getBoundingClientRect(),T=W.left+U.scrollLeft-AR(V,W),Z=W.top+U.scrollTop;return{x:T,y:Z}}function Lv(V){let{elements:U,rect:W,offsetParent:T,strategy:Z}=V,o=Z==="fixed",i=uZ(T),b=U?ou(U.floating):!1;if(T===i||b&&o)return W;let O={scrollLeft:0,scrollTop:0},S=jZ(1),z=jZ(0),u=NT(T);if((u||!o)&&((Lo(T)!=="body"||Zu(i))&&(O=bu(T)),u)){let R=Qb(T);S=BO(T),z.x=R.x+T.clientLeft,z.y=R.y+T.clientTop}let q=i&&!u&&!o?kx(i,O):jZ(0);return{width:W.width*S.x,height:W.height*S.y,x:W.x*S.x-O.scrollLeft*S.x+z.x+q.x,y:W.y*S.y-O.scrollTop*S.y+z.y+q.y}}function wv(V){return V.getClientRects?Array.from(V.getClientRects()):[]}function Dv(V){let U=bu(V),W=V.ownerDocument.body,T=YZ(V.scrollWidth,V.clientWidth,W.scrollWidth,W.clientWidth),Z=YZ(V.scrollHeight,V.clientHeight,W.scrollHeight,W.clientHeight),o=-U.scrollLeft+AR(V),i=-U.scrollTop;return XW(W).direction==="rtl"&&(o+=YZ(V.clientWidth,W.clientWidth)-T),{width:T,height:Z,x:o,y:i}}var fv=25;function gv(V,U,W){W===void 0&&(W="viewport");let T=W==="layoutViewport",Z=gV(V),o=uZ(V),i=Z.visualViewport,b=o.clientWidth,O=o.clientHeight,S=0,z=0;if(i){let q=!iu()||U==="fixed";T?q||(S=-i.offsetLeft,z=-i.offsetTop):(b=i.width,O=i.height,q&&(S=i.offsetLeft,z=i.offsetTop))}if(AR(o)<=0){let q=o.ownerDocument,R=q.body,I=getComputedStyle(R),M=q.compatMode==="CSS1Compat"&&parseFloat(I.marginLeft)+parseFloat(I.marginRight)||0,n=Math.abs(o.clientWidth-R.clientWidth-M),P=getComputedStyle(o).scrollbarGutter==="stable both-edges"?n/2:n;P<=fv&&(b-=P)}return{width:b,height:O,x:S,y:z}}function UB(V,U){let W=Qb(V,!0,U==="fixed"),T=W.top+V.clientTop,Z=W.left+V.clientLeft,o=BO(V),i=V.clientWidth*o.x,b=V.clientHeight*o.y,O=Z*o.x,S=T*o.y;return{width:i,height:b,x:O,y:S}}function Gx(V,U,W){let T;if(U==="viewport"||U==="layoutViewport")T=gv(V,W,U);else if(U==="document")T=Dv(uZ(V));else if(UW(U))T=UB(U,W);else{let Z=Ex(V);T={x:U.x-Z.x,y:U.y-Z.y,width:U.width,height:U.height}}return Mb(T)}function VB(V,U){let W=U.get(V);if(W)return W;let T=pZ(V,[],!1).filter(b=>UW(b)&&Lo(b)!=="body"),Z=null,o=XW(V).position==="fixed",i=o?sZ(V):V;for(;UW(i)&&!tb(i);){let b=XW(i),O=cR(i),S=Z?Z.position:o?"fixed":"";!O&&(S==="fixed"||S==="absolute"&&b.position==="static")?T=T.filter(u=>u!==i):Z=b,i=sZ(i)}return U.set(V,T),T}function WB(V){let{element:U,boundary:W,rootBoundary:T,strategy:Z}=V,i=[...W==="clippingAncestors"?ou(U)?[]:VB(U,this._c):[].concat(W),T],b=Gx(U,i[0],Z),O=b.top,S=b.right,z=b.bottom,u=b.left;for(let q=1;q<i.length;q++){let R=Gx(U,i[q],Z);O=YZ(R.top,O),S=wo(R.right,S),z=wo(R.bottom,z),u=YZ(R.left,u)}return{width:S-u,height:z-O,x:u,y:O}}function TB(V){let{width:U,height:W}=xx(V);return{width:U,height:W}}function ZB(V,U,W){let T=NT(U),Z=uZ(U),o=W==="fixed",i=Qb(V,!0,o,U),b={scrollLeft:0,scrollTop:0},O=jZ(0);if((T||!o)&&((Lo(U)!=="body"||Zu(Z))&&(b=bu(U)),T)){let q=Qb(U,!0,o,U);O.x=q.x+U.clientLeft,O.y=q.y+U.clientTop}!T&&Z&&(O.x=AR(Z));let S=Z&&!T&&!o?kx(Z,b):jZ(0),z=i.left+b.scrollLeft-O.x-S.x,u=i.top+b.scrollTop-O.y-S.y;return{x:z,y:u,width:i.width,height:i.height}}function AI(V){return XW(V).position==="static"}function rx(V,U){if(!NT(V)||XW(V).position==="fixed")return null;if(U)return U(V);let W=V.offsetParent;return uZ(V)===W&&(W=W.ownerDocument.body),W}function Xx(V,U){let W=gV(V);if(ou(V))return W;if(!NT(V)){let Z=sZ(V);for(;Z&&!tb(Z);){if(UW(Z)&&!AI(Z))return Z;Z=sZ(Z)}return W}let T=rx(V,U);for(;T&&D5(T)&&AI(T);)T=rx(T,U);return T&&tb(T)&&AI(T)&&!cR(T)?W:T||f5(V)||W}var oB=async function(V){let U=this.getOffsetParent||Xx,W=this.getDimensions,T=await W(V.floating);return{reference:ZB(V.reference,await U(V.floating),V.strategy),floating:{x:0,y:0,width:T.width,height:T.height}}};function iB(V){return XW(V).direction==="rtl"}var mI={convertOffsetParentRelativeRectToViewportRelativeRect:Lv,getDocumentElement:uZ,getClippingRect:WB,getOffsetParent:Xx,getElementRects:oB,getClientRects:wv,getDimensions:TB,getScale:BO,isElement:UW,isRTL:iB};function hx(V,U){return V.x===U.x&&V.y===U.y&&V.width===U.width&&V.height===U.height}function bB(V,U,W){let T=null,Z,o=uZ(V);function i(){var z;clearTimeout(Z),(z=T)==null||z.disconnect(),T=null}function b(z,u){z===void 0&&(z=!1),u===void 0&&(u=1),i();let q=V.getBoundingClientRect(),{left:R,top:I,width:M,height:n}=q;if(z||U(),!M||!n)return;let P=Su(I),$=Su(o.clientWidth-(R+M)),t=Su(o.clientHeight-(I+n)),Q=Su(R),k={rootMargin:-P+"px "+-$+"px "+-t+"px "+-Q+"px",threshold:YZ(0,wo(1,u))||1},r=!0;function A(d){let a=d[0].intersectionRatio;if(!hx(q,V.getBoundingClientRect()))return b();if(a!==u){if(!r)return b();a?b(!1,a):Z=setTimeout(()=>{b(!1,1e-7)},1e3)}r=!1}try{T=new IntersectionObserver(A,{...k,root:o.ownerDocument})}catch{T=new IntersectionObserver(A,k)}T.observe(V)}
46let O=gV(V),S=()=>b(W);return O.addEventListener("resize",S),b(!0),()=>{O.removeEventListener("resize",S),i()}}function NR(V,U,W,T){T===void 0&&(T={});let{ancestorScroll:Z=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:O=!1}=T,S=NI(V),z=Z||o?[...S?pZ(S):[],...U?pZ(U):[]]:[];z.forEach(P=>{Z&&P.addEventListener("scroll",W),o&&P.addEventListener("resize",W)});let u=S&&b?bB(S,W,o):null,q=-1,R=null;i&&(R=new ResizeObserver(P=>{let[$]=P;$&&$.target===S&&R&&U&&(R.unobserve(U),cancelAnimationFrame(q),q=requestAnimationFrame(()=>{var t;(t=R)==null||t.observe(U)})),W()}),S&&!O&&R.observe(S),U&&R.observe(U));let I,M=O?Qb(V):null;O&&n();function n(){let P=Qb(V);M&&!hx(M,P)&&W(),M=P,I=requestAnimationFrame(n)}return W(),()=>{var P;z.forEach($=>{Z&&$.removeEventListener("scroll",W),o&&$.removeEventListener("resize",W)}),u?.(),(P=R)==null||P.disconnect(),R=null,O&&cancelAnimationFrame(I)}}var lI=cx;var mR=(V,U,W)=>{let T=new Map,Z=W??{},o={...mI,...Z.platform,_c:T};return Hx(V,U,{...Z,platform:o})};var OV=c(BU(),1),Nx=c(BU(),1),mx=c(hR(),1),SB=typeof document<"u",zB=function(){},lR=SB?Nx.useLayoutEffect:zB;function dR(V,U){if(V===U)return!0;if(typeof V!=typeof U)return!1;if(typeof V=="function"&&V.toString()===U.toString())return!0;let W,T,Z;if(V&&U&&typeof V=="object"){if(Array.isArray(V)){if(W=V.length,W!==U.length)return!1;for(T=W;T--!==0;)if(!dR(V[T],U[T]))return!1;return!0}if(Z=Object.keys(V),W=Z.length,W!==Object.keys(U).length)return!1;for(T=W;T--!==0;)if(!{}.hasOwnProperty.call(U,Z[T]))return!1;for(T=W;T--!==0;){let o=Z[T];if(!(o==="_owner"&&V.$$typeof)&&!dR(V[o],U[o]))return!1}return!0}return V!==V&&U!==U}function lx(V){return typeof window>"u"?1:(V.ownerDocument.defaultView||window).devicePixelRatio||1}function Ax(V,U){let W=lx(V);return Math.round(U*W)/W}function dI(V){let U=OV.useRef(V);return lR(()=>{U.current=V}),U}function dx(V){V===void 0&&(V={});let{placement:U="bottom",strategy:W="absolute",middleware:T=[],platform:Z,elements:{reference:o,floating:i}={},transform:b=!0,whileElementsMounted:O,open:S}=V,[z,u]=OV.useState({x:0,y:0,strategy:W,placement:U,middlewareData:{},isPositioned:!1}),[q,R]=OV.useState(T);dR(q,T)||R(T);let[I,M]=OV.useState(null),[n,P]=OV.useState(null),$=OV.useCallback(qV=>{qV!==k.current&&(k.current=qV,M(qV))},[]),t=OV.useCallback(qV=>{qV!==r.current&&(r.current=qV,P(qV))},[]),Q=o||I,x=i||n,k=OV.useRef(null),r=OV.useRef(null),A=OV.useRef(z),d=O!=null,a=dI(O),xU=dI(Z),UU=dI(S),EU=OV.useCallback(()=>{if(!k.current||!r.current)return;let qV={placement:U,strategy:W,middleware:q};xU.current&&(qV.platform=xU.current),mR(k.current,r.current,qV).then(JT=>{let $T={...JT,isPositioned:UU.current!==!1};vU.current&&!dR(A.current,$T)&&(A.current=$T,mx.flushSync(()=>{u($T)}))})},[q,U,W,xU,UU]);lR(()=>{S===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,u(qV=>({...qV,isPositioned:!1})))},[S]);let vU=OV.useRef(!1);lR(()=>(vU.current=!0,()=>{vU.current=!1}),[]),lR(()=>{if(Q&&(k.current=Q),x&&(r.current=x),Q&&x){if(a.current)return a.current(Q,x,EU);EU()}},[Q,x,EU,a,d]);let UV=OV.useMemo(()=>({reference:k,floating:r,setReference:$,setFloating:t}),[$,t]),wU=OV.useMemo(()=>({reference:Q,floating:x}),[Q,x]),CT=OV.useMemo(()=>{let qV={position:W,left:0,top:0};if(!wU.floating)return qV;let JT=Ax(wU.floating,z.x),$T=Ax(wU.floating,z.y);return b?{...qV,transform:"translate("+JT+"px, "+$T+"px)",...lx(wU.floating)>=1.5&&{willChange:"transform"}}:{position:W,left:JT,top:$T}},[W,b,wU.floating,z.x,z.y]);return OV.useMemo(()=>({...z,update:EU,refs:UV,elements:wU,floatingStyles:CT}),[z,EU,UV,wU,CT])}var uB=V=>{function U(W){return{}.hasOwnProperty.call(W,"current")}return{name:"arrow",options:V,fn(W){let{element:T,padding:Z}=typeof V=="function"?V(W):V;return T&&U(T)?T.current!=null?lI({element:T.current,padding:Z}).fn(W):{}:T?lI({element:T,padding:Z}).fn(W):{}}}};var FI=(V,U)=>{let W=uB(V);return{name:W.name,fn:W.fn,options:[V,U]}};var qB="ArrowLeft",RB="ArrowRight",PB="ArrowUp",JB="ArrowDown";var $B=[qB,RB],_B=[PB,JB],QZU=[...$B,..._B];var eB={...K},Fx=!1,IB=0,ax=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+IB++;function tB(){let[V,U]=K.useState(()=>Fx?ax():void 0);return UT(()=>{V==null&&U(ax())},[]),K.useEffect(()=>{Fx=!0},[]),V}var MB=eB.useId,aI=MB||tB;
46var sx=K.forwardRef(function(U,W){let{context:{placement:T,elements:{floating:Z},middlewareData:{arrow:o,shift:i}},width:b=14,height:O=7,tipRadius:S=0,strokeWidth:z=0,staticOffset:u,stroke:q,d:R,style:{transform:I,...M}={},...n}=U,P=aI(),[$,t]=K.useState(!1);if(UT(()=>{if(!Z)return;XW(Z).direction==="rtl"&&t(!0)},[Z]),!Z)return null;let[Q,x]=T.split("-"),k=Q==="top"||Q==="bottom",r=u;(k&&i!=null&&i.x||!k&&i!=null&&i.y)&&(r=null);let A=z*2,d=A/2,a=b/2*(S/-8+1),xU=O/2*S/4,UU=!!R,EU=r&&x==="end"?"bottom":"top",vU=r&&x==="end"?"right":"left";r&&$&&(vU=x==="end"?"left":"right");let UV=o?.x!=null?r||o.x:"",wU=o?.y!=null?r||o.y:"",CT=R||"M0,0"+(" H"+b)+(" L"+(b-a)+","+(O-xU))+(" Q"+b/2+","+O+" "+a+","+(O-xU))+" Z",qV={top:UU?"rotate(180deg)":"",left:UU?"rotate(90deg)":"rotate(-90deg)",bottom:UU?"":"rotate(180deg)",right:UU?"rotate(-90deg)":"rotate(90deg)"}[Q];return(0,hW.jsxs)("svg",{...n,"aria-hidden":!0,ref:W,width:UU?b:b+A,height:b,viewBox:"0 0 "+b+" "+(O>b?O:b),style:{position:"absolute",pointerEvents:"none",[vU]:UV,[EU]:wU,[Q]:k||UU?"100%":"calc(100% - "+A/2+"px)",transform:[qV,I].filter(JT=>!!JT).join(" "),...M},children:[A>0&&(0,hW.jsx)("path",{clipPath:"url(#"+P+")",fill:"none",stroke:q,strokeWidth:A+(R?0:1),d:CT}),(0,hW.jsx)("path",{stroke:A&&!R?n.fill:"none",d:CT}),(0,hW.jsx)("clipPath",{id:P,children:(0,hW.jsx)("rect",{x:-d,y:d*(UU?-1:1),width:b+A,height:b})})]})});function QB(){let V=new Map;return{emit(U,W){var T;(T=V.get(U))==null||T.forEach(Z=>Z(W))},on(U,W){V.has(U)||V.set(U,new Set),V.get(U).add(W)},off(U,W){var T;(T=V.get(U))==null||T.delete(W)}}}var nB=K.createContext(null),HB=K.createContext(null),cB=()=>{var V;return((V=K.useContext(nB))==null?void 0:V.id)||null},GB=()=>K.useContext(HB);function px(V){return"data-floating-ui-"+V}var rB={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},Cx=K.forwardRef(function(U,W){let[T,Z]=K.useState();UT(()=>{ux()&&Z("button")},[]);let o={ref:W,tabIndex:0,role:T,"aria-hidden":T?void 0:!0,[px("focus-guard")]:"",style:rB};return(0,hW.jsx)("span",{...U,...o})}),xB={clipPath:"inset(50%)",position:"fixed",top:0,left:0},Yx=K.createContext(null),vx=px("portal");function EB(V){V===void 0&&(V={});let{id:U,root:W}=V,T=aI(),Z=kB(),[o,i]=K.useState(null),b=K.useRef(null);return UT(()=>()=>{o?.remove(),queueMicrotask(()=>{b.current=null})},[o]),UT(()=>{if(!T||b.current)return;let O=U?document.getElementById(U):null;if(!O)return;let S=document.createElement("div");S.id=T,S.setAttribute(vx,""),O.appendChild(S),b.current=S,i(S)},[U,T]),UT(()=>{if(W===null||!T||b.current)return;let O=W||Z?.portalNode;O&&!HR(O)&&(O=O.current),O=O||document.body;let S=null;U&&(S=document.createElement("div"),S.id=U,O.appendChild(S));let z=document.createElement("div");z.id=T,z.setAttribute(vx,""),O=S||O,O.appendChild(z),b.current=z,i(z)},[U,W,T,Z]),o}function yx(V){let{children:U,id:W,root:T,preserveTabOrder:Z=!0}=V,o=EB({id:W,root:T}),[i,b]=K.useState(null),O=K.useRef(null),S=K.useRef(null),z=K.useRef(null),u=K.useRef(null),q=i?.modal,R=i?.open,I=!!i&&!i.modal&&i.open&&Z&&!!(T||o);return K.useEffect(()=>{if(!o||!Z||q)return;function M(n){o&&kR(n)&&(n.type==="focusin"?hI:_x)(o)}return o.addEventListener("focusin",M,!0),o.addEventListener("focusout",M,!0),()=>{o.removeEventListener("focusin",M,!0),o.removeEventListener("focusout",M,!0)}},[o,Z,q]),K.useEffect(()=>{o&&(R||hI(o))},[R,o]),(0,hW.jsxs)(Yx.Provider,{value:K.useMemo(()=>({preserveTabOrder:Z,beforeOutsideRef:O,afterOutsideRef:S,beforeInsideRef:z,afterInsideRef:u,portalNode:o,setFocusManagerState:b}),[Z,o]),children:[I&&o&&(0,hW.jsx)(Cx,{"data-type":"outside",ref:O,onFocus:M=>{if(kR(M,o)){var n;(n=z.current)==null||n.focus()}else{let P=i?i.domReference:null,$=$x(P);$?.focus()}}}),I&&o&&(0,hW.jsx)("span",{"aria-owns":o.id,style:xB}),o&&FR.createPortal(U,o),I&&o&&(0,hW.jsx)(Cx,{"data-type":"outside",ref:S,onFocus:M=>{if(kR(M,o)){var n;(n=u.current)==null||n.focus()}else{let P=i?i.domReference:null,$=Jx(P);$?.focus(),i?.closeOnFocusOut&&i?.onOpenChange(!1,M.nativeEvent,"focus-out")}}})]})}var kB=()=>K.useContext(Yx);function XB(V){let{open:U=!1,onOpenChange:W,elements:T}=V,Z=aI(),o=K.useRef({}),[i]=K.useState(()=>QB()),b=cB()!=null,[O,S]=K.useState(T.reference),z=Rx((R,I,M)=>{o.current.openEvent=R?I:void 0,i.emit("openchange",{open:R,event:I,reason:M,nested:b}),W?.(R,I,M)}),u=K.useMemo(()=>({setPositionReference:S}),[]),q=K.useMemo(()=>({reference:O||T.reference||null,floating:T.floating||null,domReference:T.reference}),[O,T.reference,T.floating]);return K.useMemo(()=>({dataRef:o,open:U,onOpenChange:z,elements:q,events:i,floatingId:Z,refs:u}),[U,z,q,i,Z,u])}function Kx(V){var U,W;let{elements:T,...Z}=V===void 0?{}:V,{nodeId:o}=Z,i=XB({...Z,elements:{reference:(U=T?.reference)!=null?U:null,floating:(W=T?.floating)!=null?W:null}}),b=Z.rootContext||i,O=b.elements,[S,z]=K.useState(null),[u,q]=K.useState(null),I=O?.domReference||S,M=K.useRef(null),n=GB();UT(()=>{I&&(M.current=I)},[I]);let P=dx({...Z,elements:{...O,...u&&{reference:u}}}),$=K.useCallback(r=>{let A=UW(r)?{getBoundingClientRect:()=>r.getBoundingClientRect(),getClientRects:()=>r.getClientRects(),contextElement:r}:r;q(A),P.refs.setReference(A)},[P.refs]),t=K.useCallback(r=>{(UW(r)||r===null)&&(M.current=r,z(r)),(UW(P.refs.reference.current)||P.refs.reference.current===null||r!==null&&!UW(r))&&P.refs.setReference(r)},[P.refs]),Q=K.useMemo(()=>({...P.refs,setReference:t,setPositionReference:$,domReference:M}),[P.refs,t,$]),x=K.useMemo(()=>({...P.elements,domReference:I}),[P.elements,I]),k=K.useMemo(()=>({...P,...b,refs:Q,elements:x,nodeId:o}),[P,Q,x,o,b]);return UT(()=>{b.dataRef.current.floatingContext=k;let r=n?.nodesRef.current.find(A=>A.id===o);r&&(r.context=k)}),K.useMemo(()=>({...P,context:k,refs:Q,elements:x}),[P,Q,x,k])}var Bx=V=>V.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(U,W)=>(W?"-":"")+U.toLowerCase());function sO(V,U){return typeof V=="function"?V(U):V}function hB(V,U){let[W,T]=K.useState(V);return V&&!W&&T(!0),K.useEffect(()=>{if(!V&&W){let Z=setTimeout(()=>T(!1),U);return()=>clearTimeout(Z)}},[V,W,U]),W}function AB(V,U){U===void 0&&(U={});let{open:W,elements:{floating:T}}=V,{duration:Z=250}=U,i=(typeof Z=="number"?Z:Z.close)||0,[b,O]=K.useState("unmounted"),S=hB(W,i);return!S&&b==="close"&&O("unmounted"),UT(()=>{if(T){if(W){O("initial");let z=requestAnimationFrame(()=>{FR.flushSync(()=>{O("open")})});return()=>{cancelAnimationFrame(z)}}O("close")}},[W,T]),{isMounted:S,status:b}}function Lx(V,U){U===void 0&&(U={});let{initial:W={opacity:0}
46,open:T,close:Z,common:o,duration:i=250}=U,b=V.placement,O=b.split("-")[0],S=K.useMemo(()=>({side:O,placement:b}),[O,b]),z=typeof i=="number",u=(z?i:i.open)||0,q=(z?i:i.close)||0,[R,I]=K.useState(()=>({...sO(o,S),...sO(W,S)})),{isMounted:M,status:n}=AB(V,{duration:i}),P=uu(W),$=uu(T),t=uu(Z),Q=uu(o);return UT(()=>{let x=sO(P.current,S),k=sO(t.current,S),r=sO(Q.current,S),A=sO($.current,S)||Object.keys(x).reduce((d,a)=>(d[a]="",d),{});if(n==="initial"&&I(d=>({transitionProperty:d.transitionProperty,...r,...x})),n==="open"&&I({transitionProperty:Object.keys(A).map(Bx).join(","),transitionDuration:u+"ms",...r,...A}),n==="close"){let d=k||x;I({transitionProperty:Object.keys(d).map(Bx).join(","),transitionDuration:q+"ms",...r,...d})}},[q,t,P,$,Q,u,n,S]),{isMounted:M,styles:R}}j();var qu={tooltip:"src_features_pageOnly_medicationTool_animatedGraph_Tooltip_tooltip",isDelayed:"src_features_pageOnly_medicationTool_animatedGraph_Tooltip_isDelayed",label:"src_features_pageOnly_medicationTool_animatedGraph_Tooltip_label",floatingArrow:"src_features_pageOnly_medicationTool_animatedGraph_Tooltip_floatingArrow"};var VT=c(G());function yZ({isActive:V,x:U,y:W,label:T,placement:Z,isDelayed:o=!1}){let i=e.default.useRef(null),{refs:b,floatingStyles:O,context:S}=Kx({open:V,whileElementsMounted:NR,placement:Z,middleware:[FI({element:i})]}),{isMounted:z,styles:u}=Lx(S,{duration:500,initial:({side:q})=>({opacity:0,transform:{left:"translateX(-20px)",right:"translateX(20px)",top:"translateY(-20px)",bottom:"translateY(20px)"}[q]}),open:{opacity:1,transform:"translateX(0) translateY(0)"},close:({side:q})=>({opacity:0,transform:{left:"translateX(-20px)",right:"translateX(20px)",top:"translateY(-20px)",bottom:"translateY(20px)"}[q]})});return(0,VT.jsxs)(VT.Fragment,{children:[(0,VT.jsx)("foreignObject",{width:"auto",height:"auto",x:U,y:W,children:(0,VT.jsx)("div",{ref:b.setPositionReference})}),(0,VT.jsx)(yx,{children:z&&(0,VT.jsx)("div",{ref:b.setFloating,style:O,children:(0,VT.jsxs)("div",{style:u,className:(0,_.default)(qu.tooltip,V&&o&&qu.isDelayed),children:[(0,VT.jsx)("p",{className:qu.label,children:T}),(0,VT.jsx)(sx,{ref:i,width:20,height:10,tipRadius:2,className:qu.floatingArrow,context:S})]})})})]})}j();j();var WT={component:"src_features_pageOnly_medicationTool_animatedGraph_Controls_component",buttonLayout:"src_features_pageOnly_medicationTool_animatedGraph_Controls_buttonLayout",componentIndicators:"src_features_pageOnly_medicationTool_animatedGraph_Controls_componentIndicators",indicator:"src_features_pageOnly_medicationTool_animatedGraph_Controls_indicator",isActive:"src_features_pageOnly_medicationTool_animatedGraph_Controls_isActive",componentButtonBackward:"src_features_pageOnly_medicationTool_animatedGraph_Controls_componentButtonBackward",componentButtonBase:"src_features_pageOnly_medicationTool_animatedGraph_Controls_componentButtonBase",iconContainer:"src_features_pageOnly_medicationTool_animatedGraph_Controls_iconContainer",iconLayout:"src_features_pageOnly_medicationTool_animatedGraph_Controls_iconLayout"};j();var wx=`<svg width="10" height="17" viewBox="0 0 9.52686 17.3516" fill="none" xmlns="http://www.w3.org/2000/svg">
47  <path d="M1.17578 1L8.35108 8.1753L1.17579 15.3506" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
48</svg>
49`;var AW=c(G());function Dx({onAnimationStateChange:V,currentState:U,minAnimationState:W,maxAnimationState:T}){return(0,AW.jsxs)("div",{className:WT.component,children:[(0,AW.jsx)(mB,{layoutClassName:WT.buttonLayout,onAnimationStateChange:V,currentState:U,minAnimationState:W}),(0,AW.jsx)(NB,{currentState:U,maxAnimationState:T}),(0,AW.jsx)(lB,{layoutClassName:WT.buttonLayout,onAnimationStateChange:V,currentState:U,maxAnimationState:T})]})}function NB({currentState:V,maxAnimationState:U}){return(0,AW.jsx)("li",{className:WT.componentIndicators,children:Array.from({length:U}).map((W,T)=>{let Z=T<V;return(0,AW.jsx)("ul",{className:(0,_.default)(WT.indicator,Z&&WT.isActive)},T)})})}function mB({onAnimationStateChange:V,currentState:U,minAnimationState:W,layoutClassName:T=void 0}){return(0,AW.jsx)(fx,{onClick:Z,disabled:U<=W,dataX:"click-animated-graph-backward",className:(0,_.default)(WT.componentButtonBackward,T)});function Z(){V(-1)}}function lB({onAnimationStateChange:V,currentState:U,maxAnimationState:W,layoutClassName:T=void 0}){return(0,AW.jsx)(fx,{onClick:Z,disabled:U>=W,dataX:"click-animated-graph-forward",className:(0,_.default)(WT.componentButtonForward,T)});function Z(){V(1)}}function fx({onClick:V,dataX:U,disabled:W,className:T}){return(0,AW.jsx)("button",{type:"button","data-x":U,className:(0,_.default)(WT.componentButtonBase,T),onClick:V,disabled:W,children:(0,AW.jsx)("div",{className:WT.iconContainer,children:(0,AW.jsx)(qU,{icon:wx,layoutClassName:WT.iconLayout})})})}j();var gx={component:"src_features_pageOnly_medicationTool_animatedGraph_AnimatedGraph_component"};var HV=c(G()),CI=15,aR=10,UE=1;function VE({maxAnimationState:V}){let W=v("medicatie_tool")("animatedGraph"),[T,Z]=e.default.useState({currentState:1,previousState:1}),{currentState:o,previousState:i}=T;return(0,HV.jsxs)("div",{className:gx.component,children:[(0,HV.jsxs)(CO,{viewB
49ox:`-1.5 0 ${CI+1.75} ${aR+1.5}`,width:CI,height:aR,children:[(0,HV.jsx)(a5,{yLabel:W.yLabel,xLabel:W.xLabel,width:CI,height:aR}),(0,HV.jsx)(K5,{isActive:o===3,isDelayed:i<3}),(0,HV.jsx)(y5,{isActive:o>=2,height:aR}),(0,HV.jsx)(Y5,{isActive:o>=2}),(0,HV.jsx)(L5,{isActive:o>=5,isComplete:o>=6}),(0,HV.jsx)(yZ,{isActive:o===1,x:2.5,y:2.1,placement:"right",label:W.tooltips.step1}),(0,HV.jsx)(yZ,{isActive:o===2,x:10.3,y:4.4,placement:"bottom",label:W.tooltips.step2,isDelayed:i<2}),(0,HV.jsx)(yZ,{isActive:o===3,x:10.3,y:2.1,placement:"top",label:W.tooltips.step3,isDelayed:i<3}),(0,HV.jsx)(yZ,{isActive:o===3,x:10.3,y:5.9,placement:"bottom",label:W.tooltips.step3_2,isDelayed:i<3}),(0,HV.jsx)(yZ,{isActive:o===4,x:10.3,y:4.4,placement:"bottom",label:W.tooltips.step4,isDelayed:i<4}),(0,HV.jsx)(yZ,{isActive:o===5,x:3.26,y:2.7,placement:"bottom",label:W.tooltips.step5,isDelayed:i<5}),(0,HV.jsx)(yZ,{isActive:o===6,x:10.4,y:2.65,placement:"top",label:W.tooltips.step6}),(0,HV.jsx)(yZ,{isActive:o===7,x:10.8,y:3.25,placement:"right",label:W.tooltips.step7})]}),(0,HV.jsx)(Dx,{onAnimationStateChange:b,currentState:o,minAnimationState:UE,maxAnimationState:V})]});function b(O){Z(S=>({currentState:Math.min(V,Math.max(UE,S.currentState+O)),previousState:S.currentState}))}}j();j();var pO={component:"src_features_buildingBlocks_AlertBox_component",canBeDismissed:"src_features_buildingBlocks_AlertBox_canBeDismissed",dismissButtonLayout:"src_features_buildingBlocks_AlertBox_dismissButtonLayout",componentDismissButton:"src_features_buildingBlocks_AlertBox_componentDismissButton",iconLayout:"src_features_buildingBlocks_AlertBox_iconLayout"};var YO=c(G());function vI({children:V,canBeDismissed:U=!1}){let[W,T]=e.default.useState(!0);return W&&(0,YO.jsxs)("div",{className:(0,_.default)(pO.component,U&&pO.canBeDismissed),children:[U&&(0,YO.jsx)(dB,{onClick:Z,layoutClassName:pO.dismissButtonLayout}),V]});function Z(){T(!W)}}function dB({onClick:V,layoutClassName:U=void 0}){return(0,YO.jsx)("button",{type:"button","data-x":"click-to-dismiss",className:(0,_.default)(pO.componentDismissButton,U),onClick:V,children:(0,YO.jsx)(qU,{icon:VR,layoutClassName:pO.iconLayout})})}j();var cV={componentSectionBasis:"src_features_pageOnly_medicationTool_MedicatieToolSections_componentSectionBasis",componentSectionResults:"src_features_pageOnly_medicationTool_MedicatieToolSections_componentSectionResults",graphsAndToggleLayout:"src_features_pageOnly_medicationTool_MedicatieToolSections_graphsAndToggleLayout",animatedGraphTitleLayout:"src_features_pageOnly_medicationTool_MedicatieToolSections_animatedGraphTitleLayout",predictionGraphsTitleLayout:"src_features_pageOnly_medicationTool_MedicatieToolSections_predictionGraphsTitleLayout",actionsContainer:"src_features_pageOnly_medicationTool_MedicatieToolSections_actionsContainer",unorderedList:"src_features_pageOnly_medicationTool_MedicatieToolSections_unorderedList",componentGraphsWithToggle:"src_features_pageOnly_medicationTool_MedicatieToolSections_componentGraphsWithToggle",toggleLayout:"src_features_pageOnly_medicationTool_MedicatieToolSections_toggleLayout",componentToggle:"src_features_pageOnly_medicationTool_MedicatieToolSections_componentToggle",disabled:"src_features_pageOnly_medicationTool_MedicatieToolSections_disabled",input:"src_features_pageOnly_medicationTool_MedicatieToolSections_input",toggleIconLayout:"src_features_pageOnly_medicationTool_MedicatieToolSections_toggleIconLayout",componentToggleIcon:"src_features_pageOnly_medicationTool_MedicatieToolSections_componentToggleIcon",isActive:"src_features_pageOnly_medicationTool_MedicatieToolSections_isActive",graphsContentContainer:"src_features_pageOnly_medicationTool_MedicatieToolSections_graphsContentContainer"};var L=c(G());function WE({section:V,onSectionChange:U,onPatientInformationChange:W,patientInformation:T,user:Z,validationErrors:o,loggedIn:i}){let b=o&&o.length>0,O=e.default.useRef(null),S=tR(T,300),{csfAb42:z,csfPtau:u,age:q,sex:R,mmseAtBaseline:I,medicineEffect:M,mmseOfInterest:n,model:P,apoeDose:$}=S,{data:t}=JI({queryKey:[q,I,u,z,M,n,R,P,$,b],retry:!1,retryOnMount:!1,placeholderData:O.current,queryFn:()=>A({age:q,sex:R,mmseAtBaseline:I,csfPtau:u,csfAb42:z,medicineEffect:M,mmseOfInterest:n,model:P,apoeDose:$,formIsInvalid:b})}),[Q,x]=e.default.useState(!1);if(V==="basis")return(0,L.jsx)(FB,{onPatientInformationChange:r,onShowTreatmentEffectsChange:k,data:t,medicineEffect:M,mmseOfInterest:n,formIsInvalid:b,patientInformation:T,onSectionChange:U,showTreatmentEffects:Q,validationErrors:o});if(V==="resultaat")return(0,L.jsx)(BB,{data:t,model:P,mmseAtBaseline:I,mmseOfInterest:n,sex:R,medicineEffect:M,onSectionChange:U,showTreatmentEffects:Q});function k(){x(!Q)}function r(d){W(d)}async function A({age:d,sex:a,mmseAtBaseline:xU,csfPtau:UU,csfAb42:EU,medicineEffect:vU,mmseOfInterest:UV,model:wU,apoeDose:CT,formIsInvalid:qV}){if(qV)return{};try{let JT=await Z.getIdToken(),$T=await fetch("/api/v1/medicatietool",{method:"POST",body:JSON.stringify({inputParams:{age:d,mmseAtBaseline:xU,csfPtau:UU,csfAb42:EU,medicineEffect:vU,mmseOfInterest:UV,sex:a,apoeDose:CT},model:wU}),headers:{"X-Authorization":`Bearer ${JT}`,"Content-Type":"application/json",Accept:"application/json"}});if(![200,401].includes($T.status)){let IA=await $T.text();throw new Error(`Response received with status: ${$T.status}
50Text: ${IA}`)}let h4=await $T.json();return O.current=h4,h4}catch(JT){return reportError(JT),{requestErrors:["Something went wrong, please try again or c
50ontact the system administrator"]}}}}function FB({data:V,medicineEffect:U,mmseOfInterest:W,formIsInvalid:T,patientInformation:Z,onSectionChange:o,onPatientInformationChange:i,showTreatmentEffects:b,onShowTreatmentEffectsChange:O,validationErrors:S}){let z=v("medicatie_tool"),u=z("pageNavigation"),q=z("form");return(0,L.jsxs)("div",{className:cV.componentSectionBasis,children:[(0,L.jsx)(F5,{patientInformation:Z,onPatientInformationChange:i}),T&&(0,L.jsxs)(vI,{canBeDismissed:!0,children:[(0,L.jsx)(Ao,{h:3,text:q.validationTitle}),(0,L.jsxs)("ul",{className:cV.unorderedList,children:[S?.map(({field:R,error:I})=>(0,L.jsx)("li",{children:q[R].label},R)),V?.requestErrors&&(0,L.jsx)("li",{children:V?.requestErrors},"requestError")]})]}),V?.requestErrors&&(0,L.jsx)("b",{children:V?.requestErrors}),(0,L.jsx)(aB,{onClick:O,disabled:T,layoutClassName:cV.graphsAndToggleLayout,data:V,medicineEffect:U,mmseOfInterest:W,showTreatmentEffects:b}),(0,L.jsx)("div",{className:cV.actionsContainer,children:(0,L.jsx)(kV,{onClick:R=>o("resultaat"),disabled:T,children:u.buttonToExplanationPage})})]})}function aB({data:V,onClick:U,showTreatmentEffects:W,medicineEffect:T,mmseOfInterest:Z,disabled:o,layoutClassName:i=void 0}){let O=v("medicatie_tool")("graphsContent"),{curves:S,untilValues:z}=V||{};return(0,L.jsxs)("div",{className:(0,_.default)(cV.componentGraphsWithToggle,i),children:[(0,L.jsx)(CB,{isActive:W,name:"showGraphs",label:O.effectsToggle,layoutClassName:cV.toggleLayout,onClick:U,disabled:o}),!o&&(0,L.jsxs)("div",{className:cV.graphsContentContainer,children:[(0,L.jsx)("strong",{children:O.lineGraph.title}),(0,L.jsx)(II,{showData:!!S,xLabel:O.lineGraph.xLabel,yLabel:O.lineGraph.yLabel,curves:S,showTreatmentEffects:W}),(0,L.jsx)("p",{children:O.lineGraph.description}),W&&T&&(0,L.jsx)("p",{children:O.lineGraph.treatmentPathDescription.replace("{PERCENTAGE}",T)}),(0,L.jsx)("strong",{children:O.stackedBarGraph.title}),(0,L.jsx)(tI,{showData:!!z,a:z?.withoutMedication,b:z?.withMedication,xLabel:O.stackedBarGraph.xLabel,showTreatmentEffects:W}),Z&&(0,L.jsx)("p",{children:O.stackedBarGraph.description.replace("{MMSESCORE}",Z)}),W&&T&&(0,L.jsx)("p",{children:O.stackedBarGraph.treatmentPathDescription.replace("{PERCENTAGE}",T)})]})]})}function CB({name:V,label:U,isActive:W,onClick:T,disabled:Z,layoutClassName:o=void 0}){return(0,L.jsxs)("div",{className:(0,_.default)(cV.componentToggle,Z&&cV.disabled,o),children:[(0,L.jsx)("input",{type:"checkbox",id:"toggle",value:V,className:cV.input,onClick:T,disabled:Z}),(0,L.jsx)("label",{htmlFor:"toggle",children:U}),(0,L.jsx)(vB,{layoutClassName:cV.toggleIconLayout,isActive:W})]})}function vB({isActive:V,layoutClassName:U=void 0}){return(0,L.jsx)("span",{className:(0,_.default)(cV.componentToggleIcon,V&&cV.isActive,U)})}function BB({data:V,model:U,mmseAtBaseline:W,mmseOfInterest:T,sex:Z,medicineEffect:o,onSectionChange:i,showTreatmentEffects:b}){let O=v("medicatie_tool"),S=O("graphsContent"),z=O("results");var u=[];u.push(z.situation.title),u.push(U==="ad"?z.situation.content[0]:z.situation.content[1]),u.push(z.score.title);let q=z.score.content[0];q.text=q.text.replace("{SCORE}",W),u.push(q),u.push(z.progression.title);let R=z.progression.content[0];R.text=R.text.replace("{GENDER}",Z==="male"?z.genders.male:z.genders.female),R.text=R.text.replace("{MODEL}",U==="ad"?z.models.dementia:z.models.mci),u.push(R),u.push(z.progression.content[1]);let I=[];I.push(z.treatmentEffect.title);let M=z.treatmentEffect.content[0];M.text=M.text.replace("{PERCENTAGE}",o).replace("{PERCENTAGE}",o),I.push(M),I.push(z.treatmentEffect.content[1]);let n=e.default.useMemo(()=>z.situation.tabs,[z]),[P,$]=e.default.useState(n[0]?.id);return(0,L.jsxs)("div",{className:cV.componentSectionResults,children:[(0,L.jsx)(mU,{content:u}),b&&!!I.length&&(0,L.jsx)(vI,{children:(0,L.jsx)(mU,{content:I})}),(0,L.jsx)(Ao,{h:2,text:z.animatedGraph.title,layoutClassName:cV.animatedGraphTitleLayout}),(0,L.jsx)(VE,{maxAnimationState:b?7:4}),(0,L.jsx)(Ao,{h:2,text:z.predictionGraphs.title,layoutClassName:cV.predictionGraphsTitleLayout}),(0,L.jsx)(wq,{onSelectedTabChange:t,selectedTab:n.find(Q=>Q.id===P),tabs:n}),P==="line-graph"&&V?.curves&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(II,{showData:!0,curves:V?.curves,xLabel:S.lineGraph.xLabel,yLabel:S.lineGraph.yLabel,showTreatmentEffects:b}),(0,L.jsx)(JW,{text:z.predictionGraphs.lineGraph.description}),b&&(0,L.jsx)(JW,{text:z.predictionGraphs.lineGraph.treatmentPathDescription})]}),P==="time-to-time-graph"&&V?.untilValues&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(tI,{showData:!0,a:V?.untilValues?.withoutMedication,b:V?.untilValues?.withMedication,xLabel:S.stackedBarGraph.xLabel,showTreatmentEffects:b}),(0,L.jsx)(JW,{text:z.predictionGraphs.stackedBarGraph.description.replace("{SCORE}",T)}),b&&(0,L.jsx)(JW,{text:z.predictionGraphs.stackedBarGraph.treatmentPathDescription.replace("{SCORE}",T).replace("{PERCENTAGE}",o)})]}),(0,L.jsxs)("div",{className:cV.actionsContainer,children:[(0,L.jsx)(Db,{onClick:Q=>i("basis"),children:z.buttons.reset}),(0,L.jsx)(kV,{onClick:Q=>window.print(),children:z.buttons.print})]})]});function t(Q){$(Q.id)}}j();j();function BI(V,U){return Object.entries(U).reduce((W,[T,Z])=>{let o=V[T],i=Z.reduce((b,O)=>b||O(T,o,V),!1);return W.concat(i)}
50,[]).filter(Boolean)}function fo([V,U]){return(W,T,Z)=>{let o=typeof V=="function"?V(Z):V,i=typeof U=="function"?U(Z):U;return!(T>=o&&T<=i)&&{field:W,error:"out-of-range",outOfRange:[o,i]}}}function KZ(){return(V,U)=>!(U!==void 0)&&{field:V,error:"missing"}}function go(){return(V,U)=>!(Number(U)===U)&&{field:V,error:"invalid"}}var mT={age:[45,82],mmseAtBaseline:[7,30],csfPtau:[3,120],csfAb42:[145,1585],medicineEffect:[0,50],mmseOfInterest:[7,30]},CR={...mT,apoeDose:[0,2]};function sI(V){return BI(V,sB)}function vR(V){return BI(V,TE)}var TE={csfAb42:[KZ(),go(),fo(mT.csfAb42)],csfPtau:[KZ(),go(),fo(mT.csfPtau)],sex:[KZ()],age:[KZ(),go(),fo(mT.age)],mmseAtBaseline:[KZ(),go(),fo(mT.mmseAtBaseline)],medicineEffect:[KZ(),go(),fo(mT.medicineEffect)],mmseOfInterest:[KZ(),go(),fo([mT.mmseOfInterest[0],({mmseAtBaseline:V})=>V])]},sB={...TE,apoeDose:[KZ(),go(),fo(CR.apoeDose)]};j();var pI={contentContainer:"src_pages_MedicatieTool_contentContainer",buttonLayout:"src_pages_MedicatieTool_buttonLayout"};var DU=c(G()),$I={mci:{fieldInfo:mT,validations:vR},ad:{fieldInfo:CR,validations:sI},default:{fieldInfo:mT,validations:vR}},ZE="medicatie_tool",pB=new Vu;function oE({loginError:V}){let U=Eo({reportError:fT}),W=WV(),T=VV(),Z=v(ZE),{pages:o,buttonToOtherTool:i,requestAccess:b,signup:O}=Z("pageNavigation"),S=Z("content"),[z]=tO(),[u,q]=e.default.useState({model:"default",mmseOfInterest:"",csfAb42:"",csfPtau:"",age:"",apoeDose:"",medicineEffect:30,mmseAtBaseline:""}),R=tR(u,300),I=$I[u.model].validations(R),M=I.length===0,n=o.find(r=>r.section===z)?.title,P=U&&!U.isAnonymous,$=o.map(({section:r,link:A,title:d})=>({title:d,onClick(){T(A)},isActive:z===ZE&&!r||r===z,disabled:{index:!1,basis:!P,resultaat:!M||!P}[r]})),t=(0,DU.jsx)(LB,{currentSection:z,handleSectionChange:x,patientInformation:u,handlePatientInformationChange:k,user:U,validationErrors:I,loggedIn:P,loginError:V});return e.default.useEffect(()=>{window.scrollTo(0,0)},[z]),(0,DU.jsx)(Yz,{client:pB,children:(0,DU.jsx)(ko,{section:"tools",tag:Z("tag"),formMenuItems:$,currentPageTitle:n,buttonToOtherTool:i,children:(0,DU.jsxs)(IT,{children:[(0,DU.jsx)(g,{index:!0,element:(0,DU.jsx)(YB,{signup:O,content:S,requestAccess:b})}),(0,DU.jsxs)(g,{element:(0,DU.jsx)(MO,{}),children:[(0,DU.jsx)(g,{path:Q("basis"),element:t}),(0,DU.jsx)(g,{path:Q("resultaat"),element:t})]}),(0,DU.jsx)(g,{path:"*",element:(0,DU.jsx)($o,{})})]})})});function Q(r){return IO(A=>A.tools.medicatieTool[r]({language:W}))}function x(r){T(X.app.tools.medicatieTool[r]({language:W}))}function k(r){q(r)}}function YB({content:V,signup:U,requestAccess:W}){let{isLoggedIn:T}=PW();return(0,DU.jsxs)(e.default.Fragment,{children:[!T&&(0,DU.jsx)(yB,{signup:U,requestAccess:W}),T&&(0,DU.jsx)(KB,{content:V})]})}function yB({signup:V,requestAccess:U}){let W=WV();return(0,DU.jsxs)("div",{className:pI.contentContainer,children:[(0,DU.jsx)(JW,{text:U}),(0,DU.jsx)(kV,{onClick:()=>navigate(X.app.tools.index({language:W})),layoutClassName:pI.buttonLayout,children:V})]})}function KB({content:V}){return(0,DU.jsx)(mU,{content:V})}function LB({currentSection:V,handleSectionChange:U,patientInformation:W,handlePatientInformationChange:T,user:Z,validationErrors:o,loggedIn:i,loginError:b}){return(0,DU.jsx)(WE,{section:V,onSectionChange:U,onPatientInformationChange:T,patientInformation:W,user:Z,validationErrors:o,loggedIn:i,loginError:b})}j();j();var BR=[{value:"1",label:"1",mmse:"4"},{value:"2",label:"2",mmse:"6"},{value:"3",label:"3",mmse:"7"},{value:"4",label:"4",mmse:"8"},{value:"5",label:"5",mmse:"10"},{value:"6",label:"6",mmse:"11"},{value:"7",label:"7",mmse:"12"},{value:"8",label:"8",mmse:"13"},{value:"9",label:"9",mmse:"14"},{value:"10",label:"10",mmse:"15"},{value:"11",label:"11",mmse:"16"},{value:"12",label:"12",mmse:"17"},{value:"13",label:"13",mmse:"18"},{value:"14",label:"14",mmse:"19"},{value:"15",label:"15",mmse:"20"},{value:"16",label:"16",mmse:"21"},{value:"17",label:"17",mmse:"22"},{value:"18",label:"18",mmse:"23"},{value:"19",label:"19",mmse:"24"},{value:"20",label:"20",mmse:"24"},{value:"21",label:"21",mmse:"25"},{value:"22",label:"22",mmse:"26"},{value:"23",label:"23",mmse:"27"},{value:"24",label:"24",mmse:"28"},{value:"25",label:"25",mmse:"28"},{value:"26",label:"26",mmse:"29"},{value:"27",label:"27",mmse:"29"},{value:"28",label:"28",mmse:"30"},{value:"29",label:"29",mmse:"30"},{value:"30",label:"30",mmse:"30"}],sR=[{value:"1",label:"1",moca:"1"},{value:"2",label:"2",moca:"1"},{value:"3",label:"3",moca:"1"},{value:"4",label:"4",moca:"1"},{value:"5",label:"5",moca:"1"},{value:"6",label:"6",moca:"2"},{value:"7",label:"7",moca:"3"},{value:"8",label:"8",moca:"4"},{value:"9",label:"9",moca:"5"},{value:"10",label:"10",moca:"5"},{value:"11",label:"11",moca:"6"},{value:"12",label:"12",moca:"7"},{value:"13",label:"13",moca:"8"},{value:"14",label:"14",moca:"9"},{value:"15",label:"15",moca:"10"},{value:"16",label:"16",moca:"11"},{value:"17",label:"17",moca:"12"},{value:"18",label:"18",moca:"13"},{value:"19",label:"19",moca:"14"},{value:"20",label:"20",moca:"15"},{value:"21",label:"21",moca:"16"},{value:"22",label:"22",moca:"17"},{value:"23",label:"23",moca:"18"},{value:"24",label:"24",moca:"20"},{value:"25",label:"25",moca:"21"},{value:"26",label:"26",moca:"22"},{value:"27",label:"27",moca:"23"},{value:"28",label:"28",moca:"25"},{value:"29",label:"29",moca:"26"},{value:"30",label:"30",moca:"28"}];j();var NW={contentContainer:"src_pages_CalculatorTool_contentContainer",buttonLayout:"src_pages_CalculatorTool_buttonLayout",alignRightLayout:"src_pages_CalculatorTool_alignRightLayout",button:"src_pages_CalculatorTool_button",converterSection:"src_pages_CalculatorTool_converterSection",converterDividerLayout:"src_pages_CalculatorTool_converterDividerLayout",converterDivider:"src_pages_CalculatorTool_converterDivider",converterRow:"src_pages_CalculatorTool_converterRow",converterInputLayout:"src_pages_CalculatorTool_converterInputLayout",converterResultLayout:"src_pages_CalculatorTool_converterResultLayout",converterResult:"src_pages_CalculatorTool_converterResult",converterArrow:"src_pages_CalculatorTool_converterArrow",converterValue:"src_pages_CalculatorTool_converterValue",converterValueLayout:"src_pages_CalculatorTool_converterValueLayout",converterLabel:"src_pages_CalculatorTool_converterLabel"};var jU=c(G());var wB={basis:0},iE="calculator_tool";function bE(){let V=new Vu,U=WV(),W=VV(),T=v(iE),{pages:Z,buttonToOtherTool:o,requestAccess:i,signup:b}=T("pageNavigation"),[O]=tO(),[S,z]=e.default.useState({moca:"",mmse:""}),u=Z.find(P=>P.section===O)?.title,q=Z.map(({section:P,link:$,title:t,body:Q})=>({title:t,body:Q,onClick(){W($)},isActive:O===iE&&!P||P===O,disabled:{basis:!1}
50[P]}));return e.default.useEffect(()=>{window.scrollTo(0,0)},[O]),(0,jU.jsx)(Yz,{client:V,children:(0,jU.jsx)(ko,{section:"tools",tag:T("tag"),formMenuItems:q,currentPageTitle:u,buttonToOtherTool:o,children:(0,jU.jsxs)(IT,{children:[(0,jU.jsx)(g,{element:(0,jU.jsx)(MO,{}),children:(0,jU.jsx)(g,{path:R("basis"),element:(0,jU.jsx)(fB,{onValuesChange:I,signup:b,requestAccess:i,formMenuItems:q,values:S})})}),(0,jU.jsx)(g,{index:!0,element:null}),(0,jU.jsx)(g,{path:"*",element:(0,jU.jsx)($o,{})})]})})});function R(P){return IO($=>$.tools.calculatorTool[P]({language:U}))}function I(P,$){P==="moca"&&z({moca:$,mmse:""}),P==="mmse"&&z({mmse:$,moca:""})}function M(P){if(!P)return null;let $=BR.find(t=>t.value===P);return $?$.mmse:null}function n(P){if(!P)return null;let $=sR.find(t=>t.value===P);return $?$.moca:null}}function DB({values:V,onValuesChange:U}){let T=v("calculator_tool")("form"),Z=V.moca?O(V.moca):null,o=V.mmse?S(V.mmse):null,i=Z?[{value:Z,label:Z}]:[],b=o?[{value:o,label:o}]:[];return(0,jU.jsxs)("div",{className:NW.converterSection,children:[(0,jU.jsxs)("div",{className:NW.converterRow,children:[(0,jU.jsx)("div",{className:NW.converterInputLayout,children:(0,jU.jsx)(Tb,{id:"moca",label:T.moca.label,placeholder:T.moca.placeholder,onChange:z=>U("moca",z.target.value),options:BR,value:V.moca})}),(0,jU.jsx)("div",{className:NW.converterInputLayout,children:(0,jU.jsx)(Tb,{id:"mmse-result",label:T.mmseResult.label,placeholder:T.mmseResult.placeholder,onChange:()=>{},options:i,value:Z||"",disabled:!0})})]}),(0,jU.jsx)("div",{className:(0,_.default)(NW.converterDivider,NW.converterDividerLayout)}),(0,jU.jsxs)("div",{className:NW.converterRow,children:[(0,jU.jsx)("div",{className:NW.converterInputLayout,children:(0,jU.jsx)(Tb,{id:"mmse",label:T.mmse.label,placeholder:T.mmse.placeholder,onChange:z=>U("mmse",z.target.value),options:sR,value:V.mmse})}),(0,jU.jsx)("div",{className:NW.converterInputLayout,children:(0,jU.jsx)(Tb,{id:"moca-result",label:T.mocaResult.label,placeholder:T.mocaResult.placeholder,onChange:()=>{},options:b,value:o||"",disabled:!0})})]})]});function O(z){if(!z)return null;let u=BR.find(q=>q.value===z);return u?u.mmse:null}function S(z){if(!z)return null;let u=sR.find(q=>q.value===z);return u?u.moca:null}}function fB({signup:V,requestAccess:U,formMenuItems:W,values:T,onValuesChange:Z,toMciButton:o}){let{isLoggedIn:i}=PW();return(0,jU.jsxs)(e.default.Fragment,{children:[!i&&(0,jU.jsx)(gB,{signup:V,requestAccess:U}),i&&(0,jU.jsx)(Us,{formMenuItems:W,values:T,onValuesChange:Z,toMciButton:o})]})}function gB({signup:V,requestAccess:U}){let W=WV();return(0,jU.jsxs)("div",{className:NW.contentContainer,children:[(0,jU.jsx)(JW,{text:U}),(0,jU.jsx)(kV,{onClick:()=>navigate(X.app.tools.index({language:W})),layoutClassName:NW.buttonLayout,children:V})]})}function Us({formMenuItems:V,values:U,onValuesChange:W}){return(0,jU.jsxs)("div",{className:NW.contentContainer,children:[(0,jU.jsx)(JW,{text:V[wB.basis].body}),(0,jU.jsx)(DB,{values:U,onValuesChange:W})]})}j();j();j();var YI={component:"src_features_buildingBlocks_Form_component",componentGroup:"src_features_buildingBlocks_Form_componentGroup"};var yI=c(G());function pR({id:V=void 0,children:U,onSubmit:W}){return(0,yI.jsx)("form",{onSubmit:T,className:YI.component,id:V,children:U});function T(Z){Z.preventDefault(),W()}}function YR({children:V}){return(0,yI.jsx)("div",{className:YI.componentGroup,children:V})}j();j();var LZ={componentBase:"src_features_buildingBlocks_FormField_componentBase",label:"src_features_buildingBlocks_FormField_label",textArea:"src_features_buildingBlocks_FormField_textArea",errorMessageLayout:"src_features_buildingBlocks_FormField_errorMessageLayout",componentText:"src_features_buildingBlocks_FormField_componentText",componentTextArea:"src_features_buildingBlocks_FormField_componentTextArea",inputError:"src_features_buildingBlocks_FormField_inputError",componentError:"src_features_buildingBlocks_FormField_componentError"};var qZ=c(G());function Ui({name:V,value:U,onChange:W,placeholder:T,required:Z,error:o=void 0}){return(0,qZ.jsx)(SE,{name:V,placeholder:T,required:Z,error:o,children:(0,qZ.jsx)("input",{type:"text",onCh
50ange:i=>W(i.target.value),className:(0,_.default)(LZ.componentText,o&&LZ.inputError),name:V,value:U,placeholder:T})})}function OE({name:V,value:U,onChange:W,placeholder:T,required:Z,error:o=void 0}){return(0,qZ.jsx)(SE,{name:V,placeholder:T,required:Z,error:o,children:(0,qZ.jsx)("textarea",{onChange:i=>W(i.target.value),className:(0,_.default)(LZ.componentTextArea,o&&LZ.inputError),name:V,value:U,placeholder:T})})}function SE({name:V,required:U,children:W,error:T}){return(0,qZ.jsxs)("div",{className:LZ.componentBase,children:[(0,qZ.jsxs)("label",{className:LZ.label,htmlFor:V,children:[V,U&&" *"]}),W,T&&(0,qZ.jsx)(yO,{text:T,layoutClassName:LZ.errorMessageLayout})]})}function yO({text:V,layoutClassName:U=void 0}){return(0,qZ.jsx)("div",{className:(0,_.default)(LZ.componentError,U),children:V})}function yR(V){return/^[^ ].*@.+\..*[^ ]$/.test(V)}j();j();var KI={privacyStatement:"src_features_buildingBlocks_PrivacyStatement_privacyStatement",privacyStatementContent:"src_features_buildingBlocks_PrivacyStatement_privacyStatementContent"};var Ru=c(G());function KR({onClick:V,privacyStatement:U,showStatement:W}){return(0,Ru.jsxs)("section",{className:KI.privacyStatement,children:[(0,Ru.jsx)(Db,{onClick:V,children:U.buttonText}),W&&(0,Ru.jsx)("div",{className:KI.privacyStatementContent,children:U.statement})]})}j();j();var LI={loader:"src_features_buildingBlocks_Loader_loader",loaderIcon:"src_features_buildingBlocks_Loader_loaderIcon","icon-animation":"src_features_buildingBlocks_Loader_icon-animation"};var wI=c(G());function Pu(){return(0,wI.jsx)("div",{className:LI.loader,children:(0,wI.jsx)("div",{className:LI.loaderIcon})})}j();var zE={thankYou:"src_pages_Contact_thankYou"};var IW=c(G());function uE(){let V=v("informatie"),{form:U,formSent:W}=V("contact"),T=V("privacyStatement"),[Z,o]=e.default.useState(!1),[i,b]=e.default.useState(!1);return(0,IW.jsxs)("section",{children:[i?(0,IW.jsx)("div",{className:zE.thankYou,children:W}):(0,IW.jsx)(Vs,{copy:U,onSent:O=>b(!0)}),(0,IW.jsx)(KR,{onClick:()=>o(O=>!O),showStatement:Z,privacyStatement:T})]})}function Vs({copy:V,onSent:U}){let[W,T]=e.default.useState(""),[Z,o]=e.default.useState(null),[i,b]=e.default.useState(!1),[O,S]=e.default.useState(""),[z,u]=e.default.useState(""),q=Ub(),R=Xo(),I={...$({email:W}),global:Z},M=!!Object.values(I).filter(Boolean).length,n=i||!z||!W||!O||M;return(0,IW.jsxs)(pR,{onSubmit:P,children:[(0,IW.jsxs)(YR,{children:[(0,IW.jsx)(Ui,{required:!0,name:V.name.label,onChange:u,value:z,placeholder:V.name.placeholder}),(0,IW.jsx)(Ui,{required:!0,name:V.email.label,onChange:T,value:W,error:I.email,placeholder:V.email.placeholder})]}),(0,IW.jsx)(OE,{required:!0,name:V.message.label,value:O,onChange:S,placeholder:V.message.placeholder}),I.global&&(0,IW.jsx)(yO,{text:I.global}),(0,IW.jsx)(kV,{type:"submit",disabled:n,children:i?(0,IW.jsx)(Pu,{}):V.button.text})]});async function P(){try{b(!0);let t=NZ(q);t.currentUser||await mz(t);let Q=uq(qq(q),"services/contact-service-queue");await jq(Q,{name:z,email:W,message:O}),R.current&&U()}catch(t){R.current&&o(V.serverError),window.Rollbar.error(t)}finally{R.current&&b(!1)}}function $({email:t}){return{...t===""||yR(t)?{}:{email:V.email.validation}}}}j();var DI=c(G());function lT({i18nPageTitle:V}){let W=v("informatie")(V),{content:T}=W??{};return(0,DI.jsx)("section",{children:(0,DI.jsx)(mU,{content:T})})}j();j();var TT={component:"src_features_pageOnly_predictionTool_Welkom_component",introduction:"src_features_pageOnly_predictionTool_Welkom_introduction",componentShowMoreContent:"src_features_pageOnly_predictionTool_Welkom_componentShowMoreContent",showMoreContent:"src_features_pageOnly_predictionTool_Welkom_showMoreContent",showMoreOpen:"src_features_pageOnly_predictionTool_Welkom_showMoreOpen",showMoreButton:"src_features_pageOnly_predictionTool_Welkom_showMoreButton",loginSection:"src_features_pageOnly_predictionTool_Welkom_loginSection",thankYou:"src_features_pageOnly_predictionTool_Welkom_thankYou",footer:"src_features_pageOnly_predictionTool_Welkom_footer"};var eU=c(G()),jE="welkom";function qE({loggedIn:V,loginError:U,introduction:W}){let T=v("tools"),{content:Z,disclaimer:o,sources:i,formSent:b,errors:O}=T(jE),S=T("privacyStatement"),[z,u]=e.default.useState(!1),[q,R]=e.default.useState(!1);return(0,eU.jsxs)("section",{className:TT.component,children:[(0,eU.jsx)("div",{className:TT.introduction,children:W}),(0,eU.jsx)(mU,{content:Z}),z&&(0,eU.jsxs)("div",{className:TT.thankYou,children:[(0,eU.jsx)("b",{children:b.title}),(0,eU.jsx)("span",{children:b.body})]}),!V&&!z&&(0,eU.jsxs)("div",{className:TT.loginSection,children:[(0,eU.jsx)("b",{children:"Login"}),U&&(0,eU.jsx)(yO,{text:O[U]}),(0,eU.jsx)(Zs,{onSent:()=>u(!0)})]}),(0,eU.jsxs)("div",{className:TT.footer,children:[(0,eU.jsx)(KR,{onClick:()=>R(I=>!I),showStatement:q,privacyStatement:S}),(0,eU.jsx)(Ts,{shortCopy:o.shortCopy,longCopy:o.longCopy}),(0,eU.jsx)(Ws,{sources:i})]})]})}function Ws({sources:V}){let U=WV();return(0,eU.jsx)("div",{className:TT.componentShowMoreContent,children:(0,eU.jsx)("a",{href:`${X.app.informatie.overons({language:U})}#publicaties`,className:TT.showMoreButton,children:V})})}function Ts({shortCopy:V,longCopy:U}){let[W,T]=e.default.useState(!1);return(0,eU.jsxs)("div",{className:TT.componentShowMoreContent,children:[(0,eU.jsx)("button",{type:"button",onClick:Z,className:TT.showMoreButton,children:V}),(0,eU.jsx)("div",{className:(0,_.default)(TT.showMoreContent,W&&TT.showMoreOpen),children:U})]});function Z(){T(!W)}}function Zs({onSent:V}){let U=v("tools"),W=WV(),[T,Z]=e.default.useState(""),[o,i]=e.default.useState(""),[b,O]=e.default.useState(""),[S,z]=e.default.useState(""),[u,q]=e.default.useState(null),[R,I]=e.default.useState(!1),M=Ub(),n=Xo(),P=U(jE).form,$={...k({email:o}),global:u}
50,t=!!Object.values($).filter(Boolean).length,Q=R||!T||!o||!S||!b||t;return(0,eU.jsxs)(pR,{id:"requestAccessForm",onSubmit:x,children:[(0,eU.jsx)(Ui,{required:!0,name:P.name.label,onChange:Z,value:T,placeholder:P.name.placeholder}),(0,eU.jsxs)(YR,{children:[(0,eU.jsx)(Ui,{required:!0,name:P.position.label,onChange:O,value:b,placeholder:P.position.placeholder}),(0,eU.jsx)(Ui,{required:!0,name:P.organization.label,onChange:z,value:S,placeholder:P.organization.placeholder})]}),(0,eU.jsx)(Ui,{required:!0,name:P.email.label,onChange:i,value:o,error:$.email,placeholder:P.email.placeholder}),$.global&&(0,eU.jsx)(yO,{text:$.global}),(0,eU.jsx)(kV,{type:"submit",disabled:Q,children:R?(0,eU.jsx)(Pu,{}):P.button.text})]});async function x(){try{I(!0),await mz(NZ(M));let r=uq(qq(M),"services/request-access-service-queue");await jq(r,{name:T,email:o,organization:S,position:b,language:W}),n.current&&V()}catch(r){n.current&&q(P.serverError),window.Rollbar.error(r)}finally{n.current&&I(!1)}}function k({email:r}){return{...r===""||yR(r)?{}:{email:P.email.validation}}}}j();j();j();var RZ={component:"src_features_pageOnly_Menu_component",logoHomeLink:"src_features_pageOnly_Menu_logoHomeLink",tabMenuLayout:"src_features_pageOnly_Menu_tabMenuLayout",languageSelectorLayout:"src_features_pageOnly_Menu_languageSelectorLayout",componentLanguageSelector:"src_features_pageOnly_Menu_componentLanguageSelector",select:"src_features_pageOnly_Menu_select",iconContainer:"src_features_pageOnly_Menu_iconContainer",option:"src_features_pageOnly_Menu_option",iconLayout:"src_features_pageOnly_Menu_iconLayout"};j();var RE=`<svg width="14" height="9" xmlns="http://www.w3.org/2000/svg">
51  <path d="M13.257 1.128L7.128 7.257 1 1.128" stroke="currentColor" strokeWidth="2" fill="none" />
52</svg>
53`;var ZT=c(G());function fI(){let V=v("informatie"),U=WV(),W=e.default.useMemo(()=>V("headerMenu").tabs,[V]),T=MU(),Z=VV(),[,,o,...i]=T.pathname.split("/"),b=[o,...i].filter(Boolean).join("/");return(0,ZT.jsxs)("header",{role:"banner",className:RZ.component,children:[(0,ZT.jsx)(yS,{to:X.app.informatie({language:U}),className:RZ.logoHomeLink,children:"ADappt"}),(0,ZT.jsx)(br,{selectedTab:O(o),onSelectedTabChange:S=>Z(S.link),layoutClassName:RZ.tabMenuLayout,tabs:W}),(0,ZT.jsx)(os,{selectedLanguage:U,onLanguageChange:S=>Z(`/${S.target.value}/${b}`)})]});function O(S){let z=S||"informatie";return W.find(u=>u.link.includes(`/${z}/`))||null}}function os({selectedLanguage:V,onLanguageChange:U}){return(0,ZT.jsxs)("div",{className:RZ.componentLanguageSelector,children:[(0,ZT.jsxs)("select",{value:V,onChange:W=>U(W),className:RZ.select,children:[(0,ZT.jsx)("option",{value:"nl",className:RZ.option,children:"NL"}),(0,ZT.jsx)("option",{value:"en",className:RZ.option,children:"EN"})]}),(0,ZT.jsx)("div",{className:RZ.iconContainer,children:(0,ZT.jsx)(qU,{icon:RE,layoutClassName:RZ.iconLayout})})]})}j();j();var PE={component:"src_features_pageOnly_Footer_component"};var LR=c(G());function JE(){let V=v("informatie"),{text:U,logos:W}=V("footer");return(0,LR.jsxs)("footer",{role:"contentinfo",className:PE.component,children:[U,W?.map((T,Z)=>(0,LR.jsx)(qU,{icon:T},Z))]})}j();var wR={component_root:"src_features_pageOnly_AppLayout_component_root",component:"src_features_pageOnly_AppLayout_component",childrenContainer:"src_features_pageOnly_AppLayout_childrenContainer"};var nb=c(G());function gI(){return(0,nb.jsxs)("main",{className:(0,_.default)(wR.component,wR.component_root),children:[(0,nb.jsx)(fI,{}),(0,nb.jsx)("div",{role:"main",className:wR.childrenContainer,children:(0,nb.jsx)(sS,{})}),(0,nb.jsx)(JE,{})]})}j();j();j();var DR=`<svg width="12" height="11" xmlns="http://www.w3.org/2000/svg">
54  <path d="M5 4v7H0V4h5zm7-4v11H7V0h5z" fill="currentColor" />
55</svg>
56`;var N=c(G()),$E=V=>({pageNavigation:{buttonText:{nl:"Menu",en:"Menu",se:"Meny",de:"Men\xFC"},buttonToOtherTool:{title:{nl:"Ga naar het tools overzicht",en:"Go to tools overview"},link:X.app.tools.index({language:V})},requestAccess:{nl:"Vraag toegang aan voordat je verder kunt gaan",en:"Request access before you can proceed",se:"",de:""},signup:{nl:"Meld aan",en:"Sign up"},pages:[{title:{nl:"Over de tool",en:"About the tool",se:"Om prognosverktyget",de:"\xDCber das Risikovorhersage-Tool"},section:"",link:X.app.tools.predictieTool.index({language:V})},{title:{nl:"Basisgegevens invoeren",en:"Entering basic patient data",se:"F\xF6ra in bakgrundsuppgifter",de:"Stammdaten eingeben"},section:"basis",link:X.app.tools.predictieTool.basis({language:V})},{title:{nl:"Biomarkers toevoegen",en:"Adding biomarker results",se:"L\xE4gga till biomark\xF6rer",de:"Biomarker hinzuf\xFCgen"},section:"aanvullend",link:X.app.tools.predictieTool.aanvullend({language:V})},{title:{nl:"Uitslagpagina pati\xEBnt",en:"Patient result page",se:"Resultatsida patient",de:"Befundseite Patient"},section:"resultaat",link:X.app.tools.predictieTool.resultaat({language:V})}]},resultaat:{title:{nl:"Uitslag pati\xEBnt",en:"Patient result page",se:"Resultat patient",de:"Ergebnis Patient"},situation:{title:{nl:"Uw situatie",en:"Your situation",se:"Din situation",de:"Ihre Situation"},additionalTest:{yes:{nl:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"Bij u is sprake van milde cognitieve klachten. Deze diagnose 'MCI' betekent ook dat u een verhoogde kans heeft om in de toekomst dementie te ontwikkelen."}),(0,N.jsx)("p",{children:"Bij u zijn aanvullende diagnostische tests uitgevoerd. Deze tests tonen aan of er in uw hersenen al sprake is van Alzhe
56imer-schade. Het is mogelijk om Alzheimer-schade te hebben, zonder dat er sprake is van dementie. Maar deze schade geeft wel een verhoogde kans op dementie in de komende jaren."})]}),en:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"You have been diagnosed with mild cognitive impairment (MCI). That means you are at increased risk of developing dementia in the future."}),(0,N.jsx)("p",{children:"You have had some additional diagnostic tests. The results show whether your brain already has suffered damage from Alzheimer\u2019s disease. However, it is possible to have Alzheimer's disease damage without having dementia. Nevertheless, such damage does increase the risk of developing dementia in the years ahead."})]}),se:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"Du har milda kognitiva besv\xE4r. Denna diagnos kallas MCI och inneb\xE4r att du har en f\xF6rh\xF6jd risk f\xF6r att utveckla demens i framtiden."}),(0,N.jsx)("p",{children:"Du har genomg\xE5tt kompletterande diagnostiska test. Dessa test visar om det finns tecken p\xE5 Alzheimers sjukdom i din hj\xE4rna. Det \xE4r m\xF6jligt att ha tecken p\xE5 Alzheimers sjukdom utan att demens har uppst\xE5tt. Dessa tecken inneb\xE4r dock en f\xF6rh\xF6jd risk f\xF6r demens under kommande \xE5r."})]}),de:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"Bei Ihnen liegt eine leichte kognitive St\xF6rung (MCI) vor. Diese Diagnose bedeutet auch, dass bei Ihnen eine erh\xF6hte Wahrscheinlichkeit besteht, dass sich in der Zukunft eine Demenz entwickelt."}),(0,N.jsx)("p",{children:"Es wurden zus\xE4tzliche diagnostische Tests bei Ihnen durchgef\xFChrt. Mit diesen Untersuchungen wird festgestellt, ob Ihr Gehirn bereits durch die Alzheimer-Krankheit gesch\xE4digt ist. Es kann sein, dass eine Sch\xE4digung durch die Alzheimer-Krankheit vorliegt, ohne dass derzeit eine Demenz besteht. Die Sch\xE4digung durch die Alzheimer-Krankheit erh\xF6ht jedoch die Wahrscheinlichkeit, dass sich in den kommenden Jahren eine Demenz entwickelt."})]})},no:{nl:(0,N.jsx)(N.Fragment,{children:(0,N.jsx)("p",{children:"Bij u zijn geen aanvullende diagnostische tests uitgevoerd."})}),en:(0,N.jsx)(N.Fragment,{children:(0,N.jsx)("p",{children:"You have had no additional diagnostic tests."})}),se:(0,N.jsx)(N.Fragment,{children:(0,N.jsx)("p",{children:"Du har inte genomg\xE5tt kompletterande diagnostiska test."})}),de:(0,N.jsx)(N.Fragment,{children:(0,N.jsx)("p",{children:"Es wurden keine zus\xE4tzlichen diagnostischen Tests mit Ihnen durchgef\xFChrt."})})}}},ruggenprik:{title:{nl:"Ruggenprik",en:"Lumbar puncture",se:"Ryggv\xE4tskeprov",de:"Lumbalpunktion"},content:{nl:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"Met de ruggenprik (lumbaalpunctie) tonen we aan of er aanwijzingen zijn voor de aanwezigheid van de Alzheimer-eiwitten in de hersenen."}),(0,N.jsx)("p",{children:"Er zijn 2 soorten eiwitten: amyloid en p-tau."})]}),en:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"A lumbar puncture (spinal tap) lets us find out whether Alzheimer proteins are present in the brain."}),(0,N.jsx)("p",{children:"We test for two protein types: amyloid and p-tau."})]}),se:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"Med ryggv\xE4tskeprovet (lumbalpunktion) kan vi se om det finns tecken p\xE5 f\xF6rekomst av Alzheimerproteiner i hj\xE4rnan."}),(0,N.jsx)("p",{children:"Det finns tv\xE5 typer av proteiner: amyloid och p-tau."})]}),de:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:"Mit der Lumbalpunktion wird festgestellt, ob die Alzheimer-Eiwei\xDFe im Gehirn vorhanden sind."}),(0,N.jsx)("p",{children:"Es gibt zwei Arten von Eiwei\xDFen: Amyloid und p-Tau."})]})},items:[{title:{nl:"Duidelijk geen Alzheimer-eiwitten aanwezig",en:"Definitely no Alzheimer proteins present",se:"Definitivt ingen f\xF6rekomst av Alzheimerproteiner",de:"Eindeutig keine Alzheimer-Eiwei\xDFe vorhanden."},description:{nl:"Hieruit maken we op dat er geen Alzheimer-eiwitten aanwezig zijn in de hersenen. Dit betekent dat u een lage kans heeft om de komende jaren dementie te ontwikkelen.",en:"The test results show that there are definitely no Alzheimer proteins in your brain. That means that you are at low risk of developing dementia in the next few years.",se:"Resultatet visar att det inte finns n\xE5gra Alzhe
56imerproteiner i hj\xE4rnan. Det inneb\xE4r att sannolikheten \xE4r l\xE5g att du utvecklar demens under de kommande \xE5ren.",de:"Daraus schlie\xDFen wir, dass keine Alzheimer-Eiwei\xDFe im Gehirn vorhanden sind. Das bedeutet, dass bei Ihnen die Wahrscheinlichkeit gering ist, in den kommenden Jahren an Demenz zu erkranken."}},{title:{nl:"Niet duidelijk of er Alzheimer-eiwitten aanwezig zijn",en:"Unclear whether Alzheimer proteins are present",se:"Inte tydligt om det f\xF6rekommer Alzheimerproteiner",de:"Nicht eindeutig feststellbar, ob Alzheimer-Eiwei\xDFe vorhanden sind."},description:{nl:"Er is geen overtuigende aanwezigheid van Alzheimer-eiwitten. De kans om de komende jaren dementie te ontwikkelen verandert door deze informatie nauwelijks.",en:"There is no strong evidence that Alzheimer proteins are present in your brain. That observation has no significant implications for your risk of developing dementia in the next few years.",se:"Det g\xE5r inte tydligt att se om det f\xF6rekommer Alzheimerproteiner. Sannolikheten f\xF6r att utveckla demens under de kommande \xE5ren f\xF6r\xE4ndras knappt av denna information.",de:"Ob Alzheimer-Eiwei\xDFe vorhanden sind, ist nicht eindeutig festzustellen. Diese Informationen haben kaum Einfluss auf die Frage, mit welcher Wahrscheinlichkeit sich in de
56n kommenden Jahren eine Demenz entwickelt."}},{title:{nl:"Duidelijk wel Alzheimer-eiwitten aanwezig",en:"Alzheimer proteins definitely present",se:"Tydlig f\xF6rekomst av Alzheimerproteiner",de:"Alzheimer-Eiwei\xDFe sind eindeutig vorhanden."},description:{nl:"Hieruit maken we op dat er Alzheimer-eiwitten aanwezig zijn in de hersenen. Dit betekent dat u een hogere kans heeft om de komende jaren dementie te ontwikkelen.",en:"The test results show that Alzheimer proteins are definitely present in your brain. That means that you are at increased risk of developing dementia in the next few years.",se:"Resultatet visar att det f\xF6rekommer Alzheimerproteiner i hj\xE4rnan. Det inneb\xE4r en st\xF6rre sannolikhet f\xF6r att du utvecklar demens under de kommande \xE5ren.",de:"Daraus schlie\xDFen wir, dass Alzheimer-Eiwei\xDFe im Gehirn vorhanden sind. Das bedeutet, dass bei Ihnen eine erh\xF6hte Wahrscheinlichkeit besteht, in den kommenden Jahren an Demenz zu erkranken."}}]},mri:{title:{nl:"MRI",en:"MRI",se:"MR",de:"MRT"},image:{alt:{nl:"Gezonde hersenen",en:"A healthy brain",se:"Frisk hj\xE4rna",de:"Gesunden Gehirn"},src:yq.gezondeHersenen},content:{nl:(0,N.jsx)("p",{children:"Een MRI is een foto van uw hersenen. Hier ziet u een voorbeeld van een MRI van gezonde hersenen. Op een MRI kunnen we zien of er sprake is van hersenkrimp (atrofie)."}),en:(0,N.jsx)("p",{children:"An MRI is an image of your brain. The picture below is an MRI of a healthy brain. An MRI shows whether your brain has 'shrunk'. (Doctors call brain shrinkage 'atrophy'.)"}),se:(0,N.jsx)("p",{children:"En MR-bild \xE4r ett foto av din hj\xE4rna. H\xE4r \xE4r ett exempel p\xE5 en MR-bild av en frisk hj\xE4rna. P\xE5 en MR-bild kan man se om hj\xE4rnan har minskat i storlek (atrofi)."}),de:(0,N.jsx)("p",{children:"Ein MRT-Bild ist ein Abbild Ihres Gehirns. Hier sehen Sie als Beispiel ein MRT von einem gesunden Gehirn. Auf einem MRT-Bild kann man sehen, ob eine Gehirnschrumpfung (Atrophie) vorliegt."})},items:[{title:{nl:"Duidelijk geen krimp",en:"Clearly no atrophy",se:"Det syns tydligt att ingen minskning i storlek f\xF6rekommer",de:"Eindeutig keine Gehirnschrumpfung."},description:{nl:"In uw geval zijn er geen aanwijzingen voor hersenkrimp. Hierdoor heeft u een iets lagere kans om de komende jaren dementie te ontwikkelen.",en:"In your case, there is no sign that your brain has shrunk. That means that your risk of developing dementia in the next few years is a little lower.",se:"I ditt fall finns inga tecken p\xE5 att hj\xE4rnan har minskat i storlek. Det inneb\xE4r att sannolikheten \xE4r lite l\xE4gre f\xF6r att du ska utveckla demens under de kommande \xE5ren.",de:"In Ihrem Fall gibt es keine Anzeichen f\xFCr eine Gehirnschrumpfung. Dadurch ist bei Ihnen die Wahrscheinlichkeit etwas geringer, dass Sie in den kommenden Jahren an Demenz erkranken."}},{title:{nl:"Niet duidelijk of er krimp is",en:"Unclear whether atrophy has occurred",se:"Inte tydligt om det f\xF6rekommer storleksf\xF6r\xE4ndringar.",de:"Nicht eindeutig feststellbar, ob eine Gehirnschrumpfung vorliegt."},description:{nl:"In uw geval is er mogelijk sprake van hersenkrimp. De kans om de komende jaren dementie te ontwikkelen verandert door deze informatie nauwelijks.",en:"In your case, there is a possibility that your brain may have shrunk. That observation has no significant implications for your risk of developing dementia in the next few years.",se:"I ditt fall f\xF6rekommer det m\xF6jligen en minskning i storlek av hj\xE4rnan. Sannolikheten f\xF6r att utveckla demens under de kommande \xE5ren f\xF6r\xE4ndras knappt av denna information.",de:"Bei Ihnen besteht die M\xF6glichkeit, dass eine Gehirnschrumpfung vorliegt. Diese Informationen haben kaum Einfluss auf die Frage, mit welcher Wahrscheinlichkeit sich in de
56n kommenden Jahren eine Demenz entwickelt."}},{title:{nl:"Duidelijk wel krimp (atrofie)",en:"Clear atrophy",se:"Tydlig krympning (atrofi)",de:"Eine Gehirnschrumpfung (Atrophie) ist eindeutig feststellbar."},description:{nl:"In uw geval is er sprake van hersenkrimp. Hierdoor heeft u een iets hogere kans om de komende jaren dementie te ontwikkelen.",en:"In your case, it\u2019s clear that your brain has indeed shrunk. That means that you are at increased risk of developing dementia in the next few years.",se:"I ditt fall f\xF6rekommer det en minskning i storlek av hj\xE4rnan. Det inneb\xE4r att sannolikheten \xE4r lite h\xF6gre f\xF6r att du ska utveckla demens under de kommande \xE5ren.",de:"In Ihrem Fall ist eine Gehirnschrumpfung feststellbar. Dadurch ist bei Ihnen die Wahrscheinlichkeit etwas gr\xF6\xDFer, dass Sie in den kommenden Jahren an Demenz erkranken."}}]},pet:{title:{nl:"Amyloid PET",en:"Amyloid PET",se:"Amyloid-PET",de:"Amyloid-PET"},content:{nl:(0,N.jsx)("p",{children:"Met de amyloid PET tonen we aan of er aanwijzingen zijn voor de aanwezigheid van het Alzheimer eiwit amyloid in de hersenen."}),en:(0,N.jsx)("p",{children:"An amyloid PET scan visualizes whether the Alzheimer protein amyloid is present in the brain."}),se:(0,N.jsx)("p",{children:"Med amyloid-PET kan vi se om det finns tecken p\xE5 f\xF6rekomst av Alzheimerproteinet amyloid i hj\xE4rnan."}),de:(0,N.jsx)("p",{children:"Mit Hilfe eines Amyloid-PET stellen wir fest, ob es Anzeichen daf\xFCr gibt, dass das Alzheimer-Eiwei\xDF Amyloid im Gehirn vorhanden ist.'"})},items:[{title:{nl:"Amyloid niet aanwezig",en:"No amyloid present",se:"Ingen f\xF6rekomst av amyloid",de:"Amyloid nicht vorhanden"},description:{nl:"Hieruit maken we op dat het Alzheimer eiwit amyloid niet aanwezig is in de hersenen. Dit betekent dat u een lage kans heeft om de komende jaren dementie te ontwikkelen.",en:"The Alzheimer protein amyloid is not present in your brain. That means that you are at low risk of developing dementia in the next few years.",se:"Resultatet visar att Alzheimerproteinet amyloid inte f\xF6rekommer i hj\xE4rnan. Det inneb\xE4r att sannolikheten \xE4r liten att du utvecklar demens under de kommande \xE5ren.",de:"Daraus schlie\xDFen wir, dass das Alzheimer-Eiwei\xDF Amyloid nicht im Gehirn vorhanden ist. Das bedeutet, dass bei Ihnen die Wahrscheinlichkeit gering ist, in den kommenden Jahren an Demenz zu erkranken."}},{title:{nl:"Amyloid aanwezig",en:"Amyloid present",se:"F\xF6rekomst av amyloid",de:"Amyloid vorhanden"},description:{nl:"Hieruit maken we op dat het Alzheimer eiwit amyloid aanwezig is in de hersenen. Dit betekent dat u een hogere kans heeft om de komende jaren dementie te ontwikkelen.",en:"The Alzheimer protein amyloid is present in your brain. That means that you are at increased risk of developing dementia in the next few years.",se:"Resultatet visar att Alzheimerproteinet amyloid f\xF6rekommer i hj\xE4rnan. Det inneb\xE4r en st\xF6rre sannolikhet f\xF6r att du utvecklar demens under de kommande \xE5ren.",de:"Daraus schlie\xDFen wir, dass das Alzheimer-Eiwei\xDF Amyloid im Gehirn vorhanden ist. Das bedeutet, dass bei Ihnen die Wahrscheinlichkeit gr\xF6\xDFer ist, in den kommenden Jahren an Demenz zu erkranken."}}]},contentEditable:{title:{nl:"Wat betekent dit voor u de komende tijd?",en:"What does this mean for you in the near future?",se:"Vad inneb\xE4r detta f\xF6r dig den n\xE4rmaste tiden?",de:"Was bedeutet dies f\xFCr Sie in der kommenden Zeit?"},text:{nl:(U,W,T,Z)=>`Om een uitspraak te kunnen doen over de kans dat uw klachten zich ontwikkelen tot dementie, vergelijken we uw situatie met andere ${U==="male"?"mannelijke":"vrouwelijke"} pati\xEBnten in onze kliniek, met dezelfde leeftijd en resultaten op diagnostische tests als u. 
57
58Van die ${U==="male"?"mannen":"vrouwen"} in dezelfde situatie als u, ontwikkelen er ${W} van de 100 binnen nu en 1 jaar dementie. 
59
60Als we een langere periode bekijken, dan ontwikkelen ${T} van de 100 ${U==="male"?"mannen":"vrouwen"} in dezelfde situatie als u binnen nu en 3 jaar  dementie. 
61
62${Z?`Op nog langere termijn, dan ontwikkelen ${Z} van de 100 ${U==="male"?"mannen":"vrouwen"} in dezelfde situatie als u binnen nu en 5 jaar dementie.`:""}`,en:(U,W,T,Z)=>`In order to estimate the risk of your symptoms developing into dementia, we compare you with our other ${U==="male"?"male":"female"} patients of your age with similar diagnostic test results.
63
64Out of a hundred ${U==="male"?"men":"women"} whose situation is similar to yours, ${W} will develop dementia within a year.
65
66Within three years, ${T} out of a hundred ${U==="male"?"men":"women"} in the same situation as you will develop dementia.
67
68${Z?`Within five years, ${Z} out of a hundred ${U==="male"?"men":"women"} in the same situation as you will develop dementia.`:""}`,se:(U,W,T,Z)=>`F\xF6r att kunna s\xE4ga n\xE5got om sannolikheten f\xF6r att dina besv\xE4r kommer att utvecklas till demens j\xE4mf\xF6r vi din situation med andra ${U==="male"?"manliga":"kvinnliga"} patienter p\xE5 v\xE5r mottagning som \xE4r i samma \xE5lder och har samma resultat fr\xE5n de diagnostiska testen som du. 
69
70Av ${U==="male"?"m\xE4nnen":"kvinnorna"} som har samma resultat p\xE5 de diagnostiska testen som du har, har ${W} av 100 utvecklat demens inom 1\xA0\xE5r. 
71
72Om vi tittar p\xE5 l\xE4ngre sikt har ${T} av 100 ${U==="male"?"m\xE4n":"kvinnor"} som har samma resultat p\xE5 de diagnostiska testen som du har, utvecklat demens inom 3\xA0\xE5r. 
73
74${Z?`P\xE5 \xE4nnu l\xE4ngre sikt har ${Z} av 100 ${U==="male"?"m\xE4n":"kvinnor"} som har samma resultat p\xE5 de diagnostiska testen som du har, utvecklat demens inom 5\xA0\xE5r.`:""}`,de:(U,W,T,Z)=>`Um eine Aussage zu der Risikowahrscheinlichkeit treffen zu k\xF6nnen, dass sich bei Ihnen eine Demenz entwickelt, vergleichen wir Ihre Situation mit der von anderen gleichaltrigen ${U==="male"?"m\xE4nnlichen Patienten":"weiblichen Patientinnen"}, die bei den diagnostischen Tests vergleichbare Ergebnisse hatten.
75
76Von 100 ${U==="male"?"M\xE4nnern":"Frauen"}, die sich in der gleichen Situation befinden wie Sie, tritt bei ${W} Personen innerhalb eines Jahres eine Demenz auf.
77
78Betrachtet man einen l\xE4ngeren Zeitraum von 3 Jahren, so entwickelt sich bei ${T} von 100 ${U==="male"?"M\xE4nnern":"Frauen"}, die in der gleichen Situation sind wie Sie, eine Demenz.
79
80${Z?`Auf noch l\xE4ngere Sicht innerhalb der n\xE4chsten f\xFCnf Jahre, entwickelt sich bei ${Z} von 100 ${U==="male"?"M\xE4nnern":"Frauen"}, die in der gleichen Situation sind wie Sie, eine Demenz.`:""}`}
80,buttonText:{nl:"Aanvullen of aanpassen",en:"Complete or adjust",se:"Komplettera eller anpassa",de:"Erg\xE4nzen oder anpassen"}},situationVisualization:{intro:{nl:(U,W)=>`Hieronder ziet u een visuele weergave van de kans op het ontwikkelen van dementie voor 100 ${U==="male"?"mannen":"vrouwen"} van uw leeftijd, met dezelfde resultaten op de diagnostische tests, binnen ${W?"nu en 1 jaar, 3 jaar en 5 jaar":"1 jaar en 3 jaar"}.`,en:(U,W)=>`Below you find a visual representation of the risk of developing dementia for 100 ${U==="male"?"men":"women"} of your age, with similar test results, within ${W?"1 year, 3 years or 5 years":"1 year or 3 years"}.`,se:(U,W)=>`Nedan ser du en visuell presentation av sannolikheten f\xF6r att utveckla demens f\xF6r 100 ${U==="male"?"m\xE4n":"kvinnor"} i din \xE5lder, med samma resultat p\xE5 diagnostiska test, inom ${W?"1\xA0\xE5r, 3\xA0\xE5r och 5 \xE5r":"1\xA0\xE5r och 3 \xE5r"}.`,de:(U,W)=>`Nachstehend wird visuell dargestellt, wie hoch die Wahrscheinlichkeit ist, dass bei 100 gleichaltrigen ${U==="male"?"M\xE4nnern":"Frauen"}, die bei den diagnostischen Tests  vergleichbare Ergebnisse hatten, innerhalb eines Zeitraums von ${W?"1 Jahr, von 3 Jahren und von 5 Jahren":"1 Jahr und von 3 Jahren"} eine Demenz auftritt.`},tabs:[{id:"icons",title:{nl:"Icoontjes",en:"Icons",se:"Ikoner",de:"Piktogramme"},IconComponent:(0,N.jsx)(qU,{icon:Cz})},{id:"bars",title:{nl:"Staafdiagrammen",en:"Bars",se:"Stapeldiagram",de:"Balkendiagramme"},IconComponent:(0,N.jsx)(qU,{icon:DR})}],visualization:{year:{nl:U=>`${U} jaar`,en:U=>`${U} ${U>1?"years":"year"}`,se:U=>`${U} \xE5r`,de:U=>`${U} ${U>1?"Jahre":"Jahr"}`},legend:{nl:(U,W,T)=>`${U} mensen ontwikkelen binnen nu en ${W} ${T?"":"geen"} dementie.`,en:(U,W,T)=>`${U} people will ${T?"":"not"} develop dementia within ${W}.`,se:(U,W,T)=>`${U} personer utvecklade ${T?"":"ingen"} demens inom ${W}.`,de:(U,W,T)=>`${U} Menschen erkranken innerhalb von ${W} ${T?"":"nicht"} an Demenz.`}}}},basisgegevens:{title:{nl:"Basisgegevens",en:"Basic information",se:"Bakgrundsuppgifter",de:"Stammdaten"},form:{gender:{legend:{nl:"Mijn pati\xEBnt is een",en:"My patient is",se:"Min patient \xE4r en",de:"Mein Patient ist"},male:{nl:"Man",en:"Male",se:"Man",de:"ein Mann"},female:{nl:"Vrouw",en:"Female",se:"Kvinna",de:"eine Frau"}},age:{label:{nl:"Leeftijd",en:"Age",se:"\xC5lder",de:"Alter"}},score:{label:{nl:"MMSE-score",en:"MMSE score",se:"MMSE-po\xE4ng",de:"MMSE-Score"}}},linkToMoCAMMSETool:{nl:"Alleen een MoCA-score? Gebruik de MoCA-MMSE omrekentool.",en:"Only a MoCA score? Use the MoCA-MMSE converter.",se:"Bara en MoCA-po\xE4ng? Anv\xE4nd MoCA-MMSE omr\xE4knaren.",de:"Nur ein MoCA-Score? Verwenden Sie den MoCA-MMSE-Umrechner."},firstParagraph:{nl:"Kans op dementie zonder biomarkers:",en:"Risk of developing dementia without biomarkers:",se:"Sannolikhet f\xF6r demens utan biomark\xF6rer:",de:"Risikowahrscheinlichkeit f\xFCr Demenz ohne Biomarker:"},tooltip:{text:{nl:"Deze kansen zijn berekend op basis van rekenmodellen die ontwikkeld zijn door het Alzheimercentrum Amsterdam. Deze schatting is gebaseerd op de leeftijd, het geslacht en de MMSE-score van uw pati\xEBnt. U kunt (optioneel) biomarker resultaten toevoegen. Dit zorgt voor een betere betrouwbaarheid van de schatting van het risico op dementie voor uw pati\xEBnt. Meer informatie over de rekenmodellen en de generaliseerbaarheid vindt u hier",en:"These risks are calculated based on models that are developed by the Alzheimer center Amsterdam. This estimate is based on the age, the sex and the MMSE score of your patient. You may choose to (optionally) add biomarker results. This results in a more reliable estimate of your patient\u2019s risk of dementia. More information on the models and their generalizability can be found here",se:"Denna sannolikhet ber\xE4knas med ber\xE4kningsmodeller som utvecklats av Alzheimercentrum Amsterdam. Denna uppskattning grundas p\xE5 patientens \xE5lder, k\xF6n och MMSE-po\xE4ng. Du kan (om du vill) tillf\xF6ra resultat f\xF6r biomark\xF6rer. Det \xF6kar tillf\xF6rlitligheten av uppskattningen av sannolikheten f\xF6r att patienten utvecklar demens. Mer information om ber\xE4kningsmodellerna och generaliserbarheten finns h\xE4r",de:"Diese Risikowahrscheinlichkeiten wurden anhand von Rechenmodellen ermittelt, die vom Alzheimerzentrum Amsterdam entwickelt worden sind. Diese Sch\xE4tzung basiert auf dem Alter, dem Geschlecht und dem MMSE-Score Ihres Patienten. Sie k\xF6nnen (optional) Biomarker-Ergebnisse hinzuf\xFCgen. Daraus ergibt sich eine h\xF6here Zuverl\xE4ssigkeit bei der Einsch\xE4tzung des Demenzrisikos Ihres Patienten. Weitere Einzelheiten zu den Rechenmodellen und der Generalisierbarkeit finden Sie hier."}
80,button:{text:{nl:"Meer info",en:"More info",se:"Mer info",de:"Weitere Informationen"},link:`${X.app.informatie.overons({language:V})}#publicaties`}}},aanvullendegegevens:{title:{nl:"Aanvullende gegevens",en:"Additional test results",se:"Kompletterande uppgifter",de:"Zus\xE4tzliche Angaben"},form:{legend:{nl:"Welke biomarkers wilt u toevoegen?",en:"Which biomarkers do you want to add?",se:"Vilka biomark\xF6rer vill du l\xE4gga till?",de:"Welche Biomarker sollen hinzugef\xFCgt werden?"},mriType:{label:{nl:"MRI",en:"MRI",se:"MR",de:"MRT"},legend:{nl:"Beoordeling MRI",en:"MRI rating",se:"Bed\xF6mning MR",de:"Beurteilung MRT"},visueel:{nl:"Visueel",en:"Visual",se:"Visuell",de:"Visuell"},volumetrisch:{nl:"Volumetrisch",en:"Volumetric",se:"Volymetrisk",de:"Volumetrisch"}},eiwitMethode:{label:{nl:"Eiwitwaarden in het hersenvocht",en:"CSF",se:"Proteinv\xE4rden i cerebrospinalv\xE4tskan",de:"Eiwei\xDFwerte im Nervenwasser"},legend:{nl:"Eiwitwaarden in het hersenvocht",en:"CSF",se:"Proteinv\xE4rden i cerebrospinalv\xE4tskan",de:"Eiwei\xDFwerte im Nervenwasser"},elecsys:{nl:"Met Elecsys",en:"With Elecsys",se:"Med Elecsys",de:"Mit Elecsys"},innotest:{nl:"Met Innotest",en:"With Innotest",se:"Med Innotest",de:"Mit Innotest"},luminex:{nl:"Met Luminex",en:"With Luminex",se:"Med Luminex",de:"Mit Luminex"},calculation:{nl:"Interpretatie",en:"Interpretation",se:"Tolkning",de:"Interpretation"},difference:{nl:fR({isEqualCopy:U=>`Een ratio van ${U} is gelijk aan de cut-off waarde. Deze uitslag laat geen eenduidige interpretatie toe als normaal of afwijkend.`,isHigherCopy:U=>`Een ratio hoger dan ${U} is <b>wel</b> afwijkend. Deze uitslag wijst op de aanwezigheid van de ziekte van Alzheimer in de hersenen.`,isLowerCopy:U=>`Een ratio lager dan ${U} is <b>niet</b> afwijkend.`}),en:fR({isEqualCopy:U=>`A ratio of ${U} is equal to the cut-off value. This result does not allow for a clear interpretation as normal or abnormal.`,isHigherCopy:U=>`A ratio above ${U} is considered <b>abnormal</b>. This result is <b>indicative</b> of Alzheimer's disease.`,isLowerCopy:U=>`A ratio below ${U} is considered <b>normal</b>. This result is <b>not indicative</b> of Alzheimer's disease.`}),se:fR({isEqualCopy:U=>`Ett f\xF6rh\xE5llande p\xE5 ${U} \xE4r lika med gr\xE4nsv\xE4rdet. Detta resultat till\xE5ter ingen entydig tolkning som normal eller avvikande.`,isHigherCopy:U=>`Ett f\xF6rh\xE5llande \xF6ver ${U} anses vara <b>avvikande</b>. Detta resultat <b>indikerar</b> f\xF6rekomst av Alzheimers sjukdom i hj\xE4rnan.`,isLowerCopy:U=>`Ett f\xF6rh\xE5llande under ${U} anses vara <b>normalt</b>. Detta resultat <b>indikerar inte</b> f\xF6rekomst av Alzheimers sjukdom i hj\xE4rnan.`}),de:fR({isEqualCopy:U=>`Ein Verh\xE4ltnis von ${U} entspricht dem Grenzwert. Dieses Ergebnis l\xE4sst keine eindeutige Interpretation als normal oder abweichend zu.`,isHigherCopy:U=>`Ein Verh\xE4ltnis \xFCber ${U} gilt als <b>abweichend</b>. Dieses Ergebnis <b>weist auf</b> die Anwesenheit der Alzheimer-Krankheit im Gehirn hin.`,isLowerCopy:U=>`Ein Verh\xE4ltnis unter ${U} gilt als <b>normal</b>. Dieses Ergebnis <b>weist nicht auf</b> die Anwesenheit der Alzheimer-Krankheit im Gehirn hin.`})}},petMethode:{label:{nl:"Amyloid-PET",en:"Amyloid-PET",se:"Amyloid-PET",de:"Amyloid-PET"},legend:{nl:"Amyloid-PET",en:"Amyloid-PET",se:"Amyloid-PET",de:"Amyloid-PET"},positive:{nl:"Positief",en:"Positive",se:"Positiv",de:"Positiv"},negative:{nl:"Negatief",en:"Negative",se:"Negativ",de:"Negativ"},warning:{nl:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[(0,N.jsx)("strong",{children:"Let op:"})," de modellen die rekenen met amyloid PET gegevens behoeven verdere validatie. Wanneer er eiwitwaarden in hersenvocht beschikbaar zijn, adviseren wij u deze te gebruiken."]}),(0,N.jsxs)("p",{children:["Het amyloid PET model kan gebruikt worden onder de volgende voorwaarden:",(0,N.jsx)("br",{}),"- Leeftijdsrange: 55 - 85 jaar",(0,N.jsx)("br",{}),"- De combinatie met MRI is alleen mogelijk met volumetrische beoordeling"]})]}),en:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[(0,N.jsx)("strong",{children:"Note:"})," the amyloid PET models deserve further validation. When CSF values are available, we strongly recommend using these models."]}),(0,N.jsxs)("p",{children:["The amyloid PET model can be used under the following conditions:",(0,N.jsx)("br",{}),"- Age range: 55 - 85 years",(0,N.jsx)("br",{}),"- The combination with MRI is only possible with volumetric rating"]})]}),se:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[(0,N.jsx)("strong",{children:"Obs!"})," Modellerna som r\xE4knar med data fr\xE5n amyloid-PET kr\xE4ver ytterligare validering. Om det finns tillg\xE4ngliga v\xE4rde
80n f\xF6r proteiner i cerebrospinalv\xE4tskan rekommenderar vi att de anv\xE4nds."]}),(0,N.jsxs)("p",{children:["Amyloid-PET-modellen kan anv\xE4ndas i f\xF6ljande fall:",(0,N.jsx)("br",{}),"- \xC5ldersintervall: 55\u201385 \xE5r",(0,N.jsx)("br",{}),"- Kombinationen med MR \xE4r endast m\xF6jlig med volymetrisk bed\xF6mning"]})]}),de:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[(0,N.jsx)("strong",{children:"Hinweis:"})," Die auf Amyloid-PET-Daten basierenden Modelle bed\xFCrfen einer weiteren Validierung. Wenn die Liquor-Biomarker verf\xFCgbar sind, empfehlen wir Ihnen, diese zu verwenden."]}),(0,N.jsxs)("p",{children:["Das Amyloid-PET-Modell kann unter den folgenden Bedingungen verwendet werden:",(0,N.jsx)("br",{}),"- Altersgruppe: 55 bis 85 Jahre",(0,N.jsx)("br",{}),"- Die Kombination mit einem MRT ist nur zusammen mit einer volumetrischen Beurteilung m\xF6glich."]})]})}},volumetrischMethode:{legend:{nl:"Volumetrisch methode",en:"Volumetric method",se:"Volymetrisk metod",de:"Volumetrische Methode"},fslFirst:"FSL FIRST",freesurfer:"FREESURFER"},mta:{labelLeft:{nl:"MTA links",en:"MTA left",se:"MTA v\xE4nster",de:"MTA links"},labelRight:{nl:"MTA rechts",en:"MTA right",se:"MTA h\xF6ger",de:"MTA rechts"}},mmse:{label:{nl:"MMSE-score",en:"MMSE score",se:"MMSE-po\xE4ng",de:"MMSE-Score"}},hcv:{label:"HCV",labelAddition:{nl:"Vul hier de som van links en rechts in",en:"Enter the sum of left and right here",se:"Ange h\xE4r summan av v\xE4nster och h\xF6ger",de:"Hier den Gesamtwert von links und rechts ausf\xFCllen"}},abeta:{label:"Abeta"},pTau:{label:"P-Tau"}},withBiomarkers:{text:{nl:"Kans op dementie met biomarkers:",en:"Risk of developing dementia with biomarkers:",se:"Sannolikhet f\xF6r demens med biomark\xF6rer:",de:"Demenzrisiko mit Biomarkern:"},tooltip:{text:{nl:"Deze kansen zijn berekend op basis van het rekenmodel dat ontwikkeld is door het Alzheimercentrum Amsterdam. Meer informatie over de rekenmodellen en de generaliseerbaarheid vindt u hier",en:"These risks are calculated based on models that are developed by the Alzheimer center Amsterdam. More information on the models and their generalizability can be found here",se:"Denna sannolikhet ber\xE4knas med ber\xE4kningsmodellen som utvecklats av Alzheimercentrum Amsterdam. Mer information om ber\xE4kningsmodellerna och generaliserbarheten finns h\xE4r",de:"Diese Risikowahrscheinlichkeiten wurden anhand von Rechenmodellen ermittelt, die vom Alzheimerzentrum Amsterdam entwickelt worden sind. Weitere Einzelheiten zu den Rechenmodellen und der Generalisierbarkeit finden Sie hier."}
80,button:{text:{nl:"Meer info",en:"More info",se:"Mer info",de:"Weitere Informationen"},link:`${X.app.informatie.overons({language:V})}#publicaties`}}},withoutBiomarkers:{text:{nl:"Kans op dementie zonder biomarkers:",en:"Risk of developing dementia without biomarkers:",se:"Sannolikhet f\xF6r demens utan biomark\xF6rer:",de:"Demenzrisiko ohne Biomarker:"},tooltip:{text:{nl:"Deze kansen zijn berekend op basis van rekenmodellen die ontwikkeld zijn door het Alzheimercentrum Amsterdam. Deze schatting is gebaseerd op de leeftijd, het geslacht en de MMSE-score van uw pati\xEBnt. U kunt (optioneel) biomarker resultaten toevoegen. Dit zorgt voor een betere betrouwbaarheid van de schatting van het risico op dementie voor uw pati\xEBnt. Meer informatie over de rekenmodellen en de generaliseerbaarheid vindt u hier",en:"These risks are calculated based on models that are developed by the Alzheimer center Amsterdam. This estimate is based on the age, the sex and the MMSE score of your patient. You may choose to (optionally) add biomarker results. This results in a more reliable estimate of your patients\u2019 risk on dementia. More information on the models and their generalizability can be found here",se:"Denna sannolikhet ber\xE4knas med ber\xE4kningsmodeller som utvecklats av Alzheimercentrum Amsterdam. Denna uppskattning grundas p\xE5 patientens \xE5lder, k\xF6n och MMSE-po\xE4ng. Du kan (om du vill) tillf\xF6ra resultat f\xF6r biomark\xF6rer. Det \xF6kar tillf\xF6rlitligheten av uppskattningen av sannolikheten f\xF6r att patienten utvecklar demens. Mer information om ber\xE4kningsmodellerna och generaliserbarheten finns h\xE4r",de:"Diese Risikowahrscheinlichkeiten wurden anhand von Rechenmodellen ermittelt, die vom Alzheimerzentrum Amsterdam entwickelt worden sind. Diese Sch\xE4tzung basiert auf dem Alter, dem Geschlecht und dem MMSE-Score Ihres Patienten. Sie k\xF6nnen (optional) Biomarker-Ergebnisse hinzuf\xFCgen. Daraus ergibt sich eine h\xF6here Zuverl\xE4ssigkeit bei der Einsch\xE4tzung des Demenzrisikos Ihres Patienten. Weitere Einzelheiten zu den Rechenmodellen und der Generalisierbarkeit finden Sie hier."}
80,button:{text:{nl:"Meer info",en:"More info",se:"Mer info",de:"Weitere Informationen"},link:`${X.app.informatie.overons({language:V})}#publicaties`}}}},error:{nl:"Er is iets mis gegaan. Probeer het opnieuw.",en:"Something went wrong. Please try again.",se:"N\xE5got gick fel. F\xF6rs\xF6k igen senare.",de:"Es ist ein Problem aufgetreten. Bitte versuchen Sie es erneut."},circularCharts:{"1year":{label:{nl:"Nu - 1 jaar",en:"Now - 1 year",se:"Inom 1 \xE5r",de:"Heute - 1 Jahr"}},"3year":{label:{nl:"Nu - 3 jaar",en:"Now - 3 year",se:"Inom 3 \xE5r",de:"Heute - 3 Jahre"}},"5year":{label:{nl:"Nu - 5 jaar",en:"Now - 5 year",se:"Inom 5 \xE5r",de:"Heute - 5 Jahre"}}},buttons:{basis:{resultButton:{text:{nl:"Naar uitslagpagina pati\xEBnt",en:"To patient result page",se:"Till resultatsida patient",de:"Zur Ergebnisseite Patient"}},resetButton:{text:{nl:"Begin opnieuw",en:"Start Again",se:"B\xF6rja om",de:"Neue Eingabe"}},addBiomarkersButton:{text:{nl:"Biomarkers toevoegen",en:"Add biomarkers",se:"L\xE4gga till biomark\xF6rer",de:"Biomarker hinzuf\xFCgen"}}},aanvullend:{resetButton:{text:{nl:"Begin opnieuw",en:"Start Again",se:"B\xF6rja om",de:"Neue Eingabe"}},resultButton:{text:{nl:"Naar uitslagpagina pati\xEBnt",en:"To patient result page",se:"Till resultatsida patient",de:"Zur Ergebnisseite Patient"}}},resultaat:{resetButton:{text:{nl:"Begin opnieuw",en:"Start Again",se:"B\xF6rja om",de:"Neue Eingabe"}},printButton:{text:{nl:"Print pagina",en:"Print page",se:"Skriv ut sida",de:"Seite drucken"}}}}});function fR({isEqualCopy:V,isHigherCopy:U,isLowerCopy:W}){return(T,Z)=>{let o=T===Z,i=T>Z;return o?(0,N.jsx)("span",{dangerouslySetInnerHTML:{__html:V(Z)}}):i?(0,N.jsx)("span",{dangerouslySetInnerHTML:{__html:U(Z)}}):(0,N.jsx)("span",{dangerouslySetInnerHTML:{__html:W(Z)}})}}j();var h=c(G()),Ju=({language:V,isLoggedIn:U})=>({welkom:{content:[{type:J.PARAGRAPH,text:{nl:"<b>Dementierisico bij MCI:</b><br>U berekent eenvoudig het dementierisico van uw MCI pati\xEBnt, met behulp van uitslagen van MRI en eiwitmarkers in het hersenvocht en amylo\xEFd PET. De tool helpt u de uitslagen te interpreteren en de uitslagpagina ondersteunt uw uitleg in het gesprek met de pati\xEBnt.",en:"<b>Dementia risk for those with MCI:</b><br>You can easily calculate the dementia risk for your MCI patient using cerebrospinal fluid biomarkers, along with MRI and amyloid PET scan results. The tool helps you interpret the results and the results page  offers support for your discussions with the patient.",se:"",de:""}},{type:J.BUTTONLINK,targetBlank:!1,disabled:!U,disabledNotice:{nl:"Deze functionaliteit is beschikbaar als je bent ingelogd",en:"This functionality is available if you are logged in",se:"",de:""},href:X.app.tools.predictieTool.basis({language:V}),label:{nl:"Dementierisico bij MCI",en:"Dementia risk for those with MCI",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"<b>Ziekteverloop en behandeleffect:</b><br>Met deze tool berekent u de verwachte cognitieve achteruitgang van uw pati\xEBnt na het stellen van de diagnose MCI of milde dementie door de ziekte van Alzheimer. Twee verschillende visuele weergaven maken de persoonlijke voorspelling van het ziekteverloop inzichtelijk en makkelijk uit te leggen aan de pati\xEBnt. Een lijngrafiek toont u de verwachte achteruitgang in cognitie (MMSE-scores) over een periode van 5 jaar na diagnose. Ook kunt u de tijd berekenen tot een door u gekozen MMSE eindpunt (Tijd-tot-grafiek). In beide visuele weergaven plot u vervolgens eenvoudig het mogelijke effect van behandeling (zoals ziekte-remmende medicatie).",en:"<b>Disease progression and effect of treatment:</b><br>With this tool you can calculate the expected cognitive decline of your patient with MCI or mild dementia caused by Alzheimer's disease. Two different visualisations help make a personal prognosis of disease progression easy to grasp and explain to the patient. A line chart shows you the expected decline in cognition (MMSE) over a period of 5 years following diagnosis. You can also calculate the time to your own chosen MMSE endpoint (Time-to chart). With both visualisations you can then easily plot the potential effect of a treatment that aims to 
80slow the disease (e.g. disease-modifying medication).",se:"",de:""}},{type:J.BUTTONLINK,targetBlank:!1,disabled:!U,disabledNotice:{nl:"Deze functionaliteit is beschikbaar als je bent ingelogd",en:"This functionality is available if you are logged in",se:"",de:""},href:X.app.tools.medicatieTool.basis({language:V}),label:{nl:"Ziekteverloop en behandeleffect",en:"Disease progression and effect of treatment",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"<b>MoCA-MMSE omrekentool:</b><br>Reken de MoCA-score om naar een MMSE-score en vice versa.",en:"<b>MoCA-MMSE converter:</b><br>Convert a MoCA score to a MMSE score and vice versa.",se:"",de:""}},{type:J.BUTTONLINK,targetBlank:!1,disabled:!U,disabledNotice:{nl:"Deze functionaliteit is beschikbaar als je bent ingelogd",en:"This functionality is available if you are logged in",se:"",de:""},href:X.app.tools.calculatorTool.basis({language:V}),label:{nl:"MoCA-MMSE omrekentool",en:"MoCA-MMSE converter",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`De rekentools zijn momenteel beschikbaar voor inzage voor zorgprofessionals. ${U?"":"Wilt u de tools inzien? Vraag dan via onderstaand formulier toegang tot de ADappt rekentools aan. U ontvangt dan een unieke link waarmee u toegang tot de rekentools krijgt."}`,en:`Right now, the calculation tools are only available for viewing by healthcare providers and other professionals. ${U?"":"Would you like to see these tools? Make a request for access to the ADappt calculation tools using the button below. You will receive a unique link giving you access to the calculation tools."}`,se:"",de:""}}],errors:{unknown:{nl:"Er is iets mis gegaan, probeer het later nog eens.",en:"Something went wrong, please try again later.",se:"N\xE5got gick fel, f\xF6rs\xF6k igen senare.",de:"Es ist ein Problem aufgetreten; bitte versuchen Sie es sp\xE4ter noch einmal."},invalid:{nl:"Ongeldige of verlopen toegangslink, vraag een nieuwe toegangslink aan.",en:"Invalid or expired access link, please request a new access link.",se:"Ogiltig eller utg\xE5ngen \xE5tkomstl\xE4nk, beg\xE4r en ny \xE5tkomstl\xE4nk.",de:"Ung\xFCltiger oder abgelaufener Zugangslink; bitte fordern Sie einenneuen Zugangslink an."}},formSent:{title:{nl:"Dank u wel voor het invullen van uw gegevens!",en:"Thank you for completing your details!",se:"Tack f\xF6r att du fyllde i dina uppgifter!",de:"Vielen Dank f\xFCr die Angabe Ihrer Daten!"},body:{nl:"U ontvangt zo spoedig mogelijk uw link in de mail.",en:"You will receive your link by email as soon as possible.",se:"Du kommer att f\xE5 inbjudan via e-post s\xE5 snart som m\xF6jligt.",de:"Sie erhalten die Einladung so schnell wie m\xF6glich per E-Mail."}},form:{serverError:{nl:"Er is iets mis gegaan, probeer het later opnieuw",en:"Something went wrong, please try again later",se:"N\xE5got gick fel, f\xF6rs\xF6k igen senare",de:"Es ist ein Problem aufgetreten; bitte versuchen Sie es sp\xE4ter noch einmal."},name:{label:{nl:"Naam",en:"Name",se:"Namn",de:"Name"},placeholder:{nl:"Jouw naam hier",en:"Your name",se:"Ditt namn h\xE4r",de:"Hier den Namen ausf\xFCllen"}},email:{label:{nl:"E-mail",en:"Email",se:"E-post",de:"E-Mail"},placeholder:{nl:"Jouw e-mailadres",en:"Your email adress",se:"Din e-postadress",de:"Ihre E-Mail-Adresse"},validation:{nl:"Voer alstublieft een geldig e-mailadres in",en:"Please provide a valid email address",se:"Ange en giltig e-postadress",de:"Bitte geben Sie eine g\xFCltige E-Mail-Adresse an"}},organization:{label:{nl:"Organisatie",en:"Organization",se:"Organisation",de:"Organisation"},placeholder:{nl:"Jouw organisatie",en:"Your organization",se:"Din organisation",de:"Ihre Organisation"}},position:{label:{nl:"Positie",en:"Position",se:"Befattning",de:"Stellung"},placeholder:{nl:"Jouw positie",en:"Your position",se:"Din befattning",de:"Ihre Stellung"}},button:{text:{nl:"Versturen",en:"Send",se:"Skicka",de:"Abschicken"}}},sources:{nl:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"BRONNEN"}),(0,h.jsx)("br",{}),"Deze rekentools zijn gebaseerd op wetenschappelijk onderzoek.",(0,h.jsx)("br",{}),(0,h.jsx)("u",{children:"Lees meer"})]})}),en:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"SOURCES"}),(0,h.jsx)("br",{}),"These calculation tools are based on scientific research.",(0,h.jsx)("br",{}),(0,h.jsx)("u",{children:"Read more"})]})}),se:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"BRONNAR"}),(0,h.jsx)("br",{}),"Dessa ber\xE4kningsverktyg baseras p\xE5 vetenskaplig forskning.",(0,h.jsx)("br",{}),(0,h.jsx)("u",{children:"L\xE4s mer"})]})}),de:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"QUELLEN"}),(0,h.jsx)("br",{}),"Diese Berechnungstools basieren auf wissenschaftlichen Forschungen.",(0,h.jsx)("br",{}),(0,h.jsx)("u",{children:"Lesen Sie mehr"})]})})},disclaimer:{shortCopy:{nl:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"DISCLAIMER"}),(0,h.jsx)("br",{}),"Amsterdam UMC kan geen enkele verantwoordelijkheid en/of aansprakelijkheid aanvaarden voor scha
80de ten gevolge van... ",(0,h.jsx)("br",{})," ",(0,h.jsx)("u",{children:"Lees meer"})]})}),en:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"DISCLAIMER"}),(0,h.jsx)("br",{}),"Amsterdam UMC accepts no responsibility and/or liability for damages arising from... ",(0,h.jsx)("br",{})," ",(0,h.jsx)("u",{children:" Read more "})]})}),se:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"ANSVARSFRISKRIVNING"}),(0,h.jsx)("br",{}),"Amsterdam UMC fr\xE5ns\xE4ger sig allt ansvar och/eller skadest\xE5ndsansvar f\xF6r skada som uppst\xE5r till f\xF6ljd av... ",(0,h.jsx)("br",{})," ",(0,h.jsx)("u",{children:"L\xE4s mer"})]})}),de:(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("p",{children:[(0,h.jsx)("b",{children:"HAFTUNGSAUSSCHLUSS"}),(0,h.jsx)("br",{}),"Das Amsterdam UMC kann keinerlei Verantwortung und/oder Haftung f\xFCr Sch\xE4den \xFCbernehmen, die darauf zur\xFCckzuf\xFChren sind, dass... ",(0,h.jsx)("br",{})," ",(0,h.jsx)("u",{children:"Weiterlesen"})]})})},longCopy:{nl:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("ol",{children:[(0,h.jsx)("li",{children:"het gebruik van de informatie op haar website/webapplicatie, dan wel"}),(0,h.jsx)("li",{children:"onjuistheden en/of onvolledigheden in en/of het niet actueel zijn van de informatie op haar website/webapplicatie, dan wel"}),(0,h.jsx)("li",{children:"de (tijdelijke) onmogelijkheid om (de informatie op) de website/webapplicatie te raadplegen."})]}),(0,h.jsx)("p",{children:"Tevens aanvaardt Amsterdam UMC geen enkele verantwoordelijkheid en/of aansprakelijkheid voor scha
80de die wordt geleden als gevolg van het direct of indirect gebruik van gegevens, adviezen of idee\xEBn, alles in de ruimste zin des woords, die zijn verstrekt via haar website/webapplicatie. De (informatie op de) website/webapplicatie is uitsluitend bedoeld voor wetenschappelijke onderzoeksdoeleinden en nadrukkelijk niet ter vervanging van professioneel en persoonlijk medisch advies. Binnen de ADappt applicatie wordt geen data opgeslagen. Persoonlijke gegevens van pati\xEBnten worden niet bewaard."}),(0,h.jsx)("p",{children:"De webapplicatie ADappt voldoet niet aan de essenti\xEBle eisen die van toepassing zijn op medische hulpmiddelen volgens Bijlage I van de RICHTLIJN 93/42/EEG VAN DE RAAD van 14 juni 1993 betreffende medische hulpmiddelen. Het is u uitdrukkelijk niet toegestaan de webapplicatie in te zetten voor klinisch gebruik, noch voor gebruik binnen klinisch onderzoek. De webapplicatie is momenteel alleen beschikbaar voor inzage."}),(0,h.jsx)("p",{children:"Ieder ander gebruik, waaronder mede wordt verstaan openbaarmaking en verveelvoudiging, is - zonder de voorafgaande schriftelijke toestemming van Amsterdam UMC - niet toegestaan."})]}),en:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("ol",{children:[(0,h.jsx)("li",{children:"use of the information provided on its website or by its web application, or"}),(0,h.jsx)("li",{children:"inaccuracies in and/or omissions from and/or supersession of the information provided on its website or by its web application, or"}),(0,h.jsx)("li",{children:"the temporary or permanent non-availability of its website/web application or the associated information."})]}),(0,h.jsx)("p",{children:"Amsterdam UMC accepts no responsibility and/or liability for damages incurred as a result of the direct or indirect use of data, advice or ideas (all in the broadest sense) provided via its website/web application. The website/web application and the associated information are intended exclusively for scientific research purposes and are expressly not intended to replace personal, professional medical advice. The ADappt tool application does not store any of the entered (patient) data. No personal data regarding patients is retained."}),(0,h.jsx)("p",{children:"The ADappt web application does not meet the essential requirements for medical devices set out in Annex I to Council Directive 93/42/EEC of 14 June 1993 concerning medical devices. Hence, use of the web application for clinical practice or clinical research is explicitly prohibited. The web application is made available exclusively for perusal."}),(0,h.jsx)("p",{children:"Use (including publication and reproduction) for any other purpose is not permitted without the prior written consent of Amsterdam UMC."})]}),se:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("ol",{children:[(0,h.jsx)("li",{children:"anv\xE4ndningen av informationen p\xE5 Amsterdam UMC:s webbplats/webbapplikation, eller"}),(0,h.jsx)("li",{children:"felaktigheter och/eller ofullst\xE4ndigheter och/eller inaktuell information p\xE5 Amsterdam UMC:s webbplats/webbapplikation, eller"}),(0,h.jsx)("li",{children:"att (informationen p\xE5) webbplatsen/webbapplikationen (tillf\xE4lligt) inte kan n\xE5s."})]}),(0,h.jsx)("p",{children:"Amsterdam UMC tar inte heller n\xE5got ansvar och/eller skadest\xE5ndsansvar f\xF6r skada som v\xE5llas till f\xF6ljd av direkt eller indirekt anv\xE4ndning av uppgifter, r\xE5d eller id\xE9er, allt i ordets vidaste bem\xE4rkelse, som tillhandah\xE5lls via Amsterdam UMC:s webbplats/webbapplikation. (Informationen p\xE5) webbplatsen/webbapplikationen \xE4r uteslutande avsedd f\xF6r vetenskaplig forskning och kan uttryckligen inte ers\xE4tta professionell och personlig medicinsk r\xE5dgivning. Inga data sparas i ADappt-applikationen. Patienternas personuppgifter sparas inte."}),(0,h.jsx)("p",{children:"Webbapplikationen ADappt uppfyller inte de grundl\xE4ggande kraven som g\xE4ller f\xF6r medicintekniska produkter enligt bilaga I i R\xC5DETS DIREKTIV 93/42/EEG av den 14 juni 1993 om medicintekniska produkter. Det \xE4r uttryckligen inte till\xE5tet att anv\xE4nda webbapplikationen f\xF6r kliniskt bruk, eller f\xF6r kliniska studier. F\xF6r tillf\xE4llet \xE4r webbapplikationen endast tillg\xE4nglig f\xF6r att titta p\xE5."}),(0,h.jsx)("p",{children:"All annan anv\xE4ndning, bland annat offentligg\xF6rande och m\xE5ngfaldigande, \xE4r inte till\xE5ten utan f\xF6reg\xE5ende skriftligt tillst\xE5nd fr\xE5n Amsterdam UMC."})]}),de:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("ol",{children:[(0,h.jsx)("li",{children:"der Nutzer von den auf seiner Website beziehungswe
80ise in seiner Webanwendung bereitgestellten Informationen Gebrauch macht, oder"}),(0,h.jsx)("li",{children:"die auf seiner Website beziehungsweise in seiner Webanwendung bereitgestellten Informationen fehlerhaft und/oder unvollst\xE4ndig und/oder nicht aktuell sind, oder"}),(0,h.jsx)("li",{children:"(vor\xFCbergehend) kein Zugriff auf die Website oder die Webanwendung beziehungsweise auf die dort bereitgestellten Informationen m\xF6glich ist."})]}),(0,h.jsx)("p",{children:"Dar\xFCber hinaus \xFCbernimmt das Amsterdam UMC keinerlei Verantwortung und/oder Haftung f\xFCr Sch\xE4den, die durch die unmittelbare oder mittelbare Verwendung von - im weitesten Sinne des Wortes - Daten, Empfehlungen oder Ideen entstehen, die \xFCber seine Website beziehungsweise Webanwendung zur Verf\xFCgung gestellt worden sind. Die Website oder Webanwendung beziehungsweise die dort bereitgestellten Informationen sind ausschlie\xDFlich f\xFCr die wissenschaftliche Forschung bestimmt und dienen ausdr\xFCcklich nicht dazu, eine fachliche und pers\xF6nliche medizinische Beratung zu ersetzen. In der ADappt-Anwendung werden keine Daten gespeichert. Pers\xF6nliche Daten von Patienten werden nicht aufbewahrt."}),(0,h.jsx)("p",{children:"Die Webanwendung ADappt erf\xFCllt nicht die gem\xE4\xDF Anhang I der Richtlinie 93/42/EWG des Rates vom 14. Juni 1993 \xFCber Medizinprodukte geltenden grundlegenden Anforderungen f\xFCr medizinische Produkte. Es ist Ihnen ausdr\xFCcklich nicht gestattet, die Webanwendung f\xFCr klinische Zwecke oder f\xFCr die Anwendung in der klinischen Forschung zu verwenden. Die Webanwendung ist derzeit lediglich zur Ansicht verf\xFCgbar."}),(0,h.jsx)("p",{children:"Jede andere Nutzung, die Ver\xF6ffentlichung und Vervielf\xE4ltigung inbegriffen, ist nur mit der vorherigen schriftlichen Erlaubnis des Amsterdam UMC gestattet."})]})}}}});j();var _E=`<svg width="16" height="16" xmlns="http://www.w3.org/2000/svg">
81  <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm0 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2zm1 5v4H7V7h2zm0-2v1H7V5h2z" fill="currentColor" />
82</svg>
83`;var eE="/Diagnostische_testen_1-KIRNQXLY.jpg";var IE="/Diagnostische_testen_2-S27OFUOM.jpg";var tE="/Diagnostische_testen_3-AOH73R4T.jpg";var ME="/Diagnostische_testen_4-F5CBRJVV.jpg";var QE="/Diagnostische_testen_5-APLIPM26.jpg";var nE="/HelderInGesprek-G76JANKL.jpg";var HE="/rekentool_1-P3WTLCH4.png";var cE="/over_adappt1-7JPUXFXG.png";var GE="/aboardLogo_en-UISZUPL3.png";var rE="/rekentool_2-CGICRROW.png";var xE="/lineGraph_nl-HYWERYE5.png";var EE="/lineGraph_en-HEXPWZZJ.png";var kE="/effects_nl-ADWTHGMT.png";var XE="/effects_en-SR3ZARI4.png";var hE="/Wiesje-WOLEBIZ2.png";var AE="/Pieter-ZG3ICUM4.jpg";var NE="/Leonie-GRBCQFHM.jpg";var mE="/Heleen-BJWQ2S55.jpg";j();var lE=`<svg width="105" height="45" viewBox="0 0 105 45" fill="none" xmlns="http://www.w3.org/2000/svg"><g opacity=".8" clip-path="url(#a)"><path d="M84.098 23.397q.525-.91 1.034-1.922c1.489-2.967 2.492-5.944 2.993-8.858q.358-2.094.366-4.132c-1.938-2.695-4.1-4.648-4.941-5.02 3.473 12.223-6.743 23.003-6.743 23.003s3.698-1.87 7.296-3.066m18.479 5.082c-3.358-2.92-19.267 5.119-19.267 5.119S97.828 18.283 92.893.922c2.987 1.321 17.847 16.813 9.688 27.562" fill="#fff"/><mask id="b" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="79" y="1" width="15" height="30"><path d="M79.824 30.234s3.709-1.876 7.683-3.322a47 47 0 0 0 1.922-3.442c1.719-3.427 2.878-6.869 3.458-10.238.366-2.13.491-4.236.387-6.293-2.116-2.68-4.262-4.565-5.16-4.962 4.267 15.016-8.285 28.262-8.285 28.262" fill="#fff"/></mask><g mask="url(#b)"><path d="M93.373 1.972H79.824v28.262h13.549z" fill="#fff"/></g><path d="m83.904 34.789 1.014 1.984s1.75.82 4.45.199c1.885-.491 3.024-.475 4.481-.167.956.23 1.624.329 1.828.376 1.306-1.118 4.32-3.865 5.161-7.427.01-.053-.042-.094-.089-.068-4.053 2.33-14.16 5.317-16.845 5.097M0 36.47v-8.707q0-1.941 1.081-2.982c.721-.69 1.672-1.04 2.842-1.04q1.754-.001 2.84 1.04c.722.69 1.082 1.687 1.082 2.982v8.707q-.001.558-.559.56h-.559c-.376 0-.559-.189-.559-.56v-3.85H1.682v3.85q-.001.558-.559.56H.564c-.376 0-.559-.189-.559-.56m1.682-8.54v3.082h4.487V27.93c0-.908-.204-1.567-.617-1.969q-.62-.604-1.624-.605c-.669 0-1.217.203-1.624.605-.413.408-.617 1.06-.617 1.97m12.541-3.98h3.479q1.7.
83002 2.548.82c.564.548.852 1.415.852 2.595v.037q-.002 2.203-1.515 2.894c1.133.423 1.698 1.41 1.698 2.95v.356c0 1.185-.283 2.047-.852 2.596q-.847.821-2.549.82h-3.661q-.557-.001-.559-.56V24.5q.001-.557.559-.559m1.139 1.609v4h2q1.106.002 1.577-.428c.319-.287.476-.82.476-1.608q-.002-1.107-.465-1.53c-.314-.288-.815-.429-1.515-.429h-2.073zm2.183 5.589h-2.183v4.277h2.261q1.043.002 1.515-.428c.313-.287.465-.805.465-1.551v-.24q0-1.176-.486-1.615-.485-.438-1.572-.438m8.8-3.385q-.001-1.942 1.087-2.982c.721-.69 1.672-1.04 2.842-1.04q1.755-.001 2.851 1.04c.732.69 1.092 1.687 1.092 2.982v5.474q.002 1.944-1.086 2.972c-.721.684-1.677 1.029-2.857 1.029s-2.116-.345-2.842-1.03c-.72-.683-1.086-1.676-1.086-2.971zm1.683.167v5.119q-.002 1.346.616 1.964c.413.412.95.616 1.624.616q1.012-.002 1.625-.606c.412-.407.616-1.06.616-1.969v-5.12c0-.908-.204-1.567-.616-1.969s-.95-.605-1.625-.605q-1.012-.002-1.624.616-.618.617-.616 1.964m11.642 8.54v-8.707q-.002-1.942 1.086-2.983c.721-.69 1.672-1.04 2.842-1.04q1.754 0 2.841 1.04c.72.69 1.081 1.687 1.081 2.983v8.706q-.001.558-.559.56h-.558c-.377 0-.56-.189-.56-.56v-3.849h-4.486v3.85q-.001.556-.559.558h-.559q-.557-.001-.559-.559m1.682-8.54v3.082h4.487v-3.081q.001-1.365-.617-1.97c-.412-.402-.95-.605-1.624-.605s-1.212.203-1.624.606c-.413.407-.617 1.06-.617 1.969m11.977 8.54V24.515q.001-.558.559-.56h3.567c1.134 0 1.985.278 2.55.82.563.55.85 1.416.85 2.597v.26q0 2.264-1.645 2.936 1.683.633 1.682 2.936v2.971q0 .558-.58.56h-.559c-.37 0-.559-.189-.559-.56V33.54q.001-1.232-.506-1.703c-.334-.313-.888-.465-1.661-.465h-2v5.103q0 .558-.58.56h-.56c-.375 0-.558-.189-.558-.56m3.87-10.912h-2.167v4.205h2.094c.721 0 1.249-.146 1.572-.439q.486-.437.486-1.619v-.167q-.002-1.12-.465-1.551c-.313-.288-.815-.429-1.514-.429m9.36 10.911v-11.96q0-.558.558-.56h3.233c1.186 0 2.131.314 2.852.946q1.075.94 1.076 2.868v5.473q-.001 1.926-1.076 2.857-1.073.934-2.852.935h-3.233q-.557-.001-.559-.559m6.032-8.54q.001-1.323-.616-1.848-.62-.524-1.661-.523h-2.058v9.867h2.058c.694 0 1.253-.172 1.66-.523q.618-.525.617-1.848v-5.124M.481 43.455v.015q.001.283.167.423c.11.094.256.136.433.136a.68.68 0 0 0 .434-.136c.115-.089.167-.23.167-.412a.54.54 0 0 0-.094-.319.7.7 0 0 0-.235-.209 3 3 0 0 0-.324-.146 4 4 0 0 1-.35-.152 1.7 1.7 0 0 1-.319-.203.9.9 0 0 1-.24-.319 1.1 1.1 0 0 1-.094-.475h.005q-.001-.473.288-.731.289-.26.757-.262c.313 0 .559.09.757.267q.29.265.288.726v.016q0 .156-.162.156h-.167q-.149 0-.147-.14v-.017c0-.177-.052-.318-.156-.412a.6.6 0 0 0-.408-.141.6.6 0 0 0-.412.14q-.157.142-.157.408 0 .187.094.319a.7.7 0 0 0 .235.209q.148.077.319.146c.114.047.235.094.35.151q.173.088.323.199a.8.8 0 0 1 .235.319q.094.201.094.475c0 .319-.099.559-.297.731q-.3.26-.794.261c-.33 0-.575-.088-.773-.266Q0 43.944 0 43.49v-.027q0-.157.157-.157h.172q.148 0 .146.141m3.077.815v-3.081h-.685q-.156 0-.156-.162v-.131q0-.157.156-.157h1.86q.157 0 .157.157v.13q0 .164-.157.163h-.69v3.081q0 .157-.156.157h-.157q-.163 0-.162-.157m1.948-2.46c0-.366.1-.648.309-.84q.304-.292.804-.293.5.001.804.292.307.29.308.841v1.546q-.001.55-.308.841-.306.291-.81.293c-.334 0-.595-.094-.804-.293q-.306-.291-.308-.84v-1.547zm.476.047v1.447q0 .383.172.553a.62.62 0 0 0 .46.173.62.62 0 0 0 .46-.173c.114-.114.172-.297.172-.558v-1.447q0-.385-.173-.56a.63.63 0 0 0-.46-.171.63.63 0 0 0-.459.172c-.115.115-.172.303-.172.554m2.695 2.413v-3.38q0-.156.156-.156H9.8q.492-.002.757.256c.178.172.266.423.266.762v.204c0 .334-.088.585-.266.762q-.265.26-.757.262h-.64v1.295c0 .104-.057.157-.162.157h-.156q-.157 0-.157-.157m1.055-3.082h-.574v1.337h.574q.313-.001.454-.135.148-.135.147-.47v-.126c0-.224-.047-.376-.147-.47-.094-.089-.25-.136-.454-.136m1.912 3.082v-3.38q0-.156.156-.156h.962q.493-.002.757.256c.177.172.266.423.266.762v.204c0 .334-.089.585-.266.763q-.265.259-.758.26h-.637v1.296c0 .105-.057.157-.162.157h-.156q-.157 0-.157-.157m1.055-3.081h-.574v1.337h.574q.313-.001.454-.136c.095-.089.147-.246.147-.47v-.126c0-.224-.047-.376-.147-.47-.094-.089-.25-.136-.454-.136m1.912-.298q0-.157.156-.157h.157q.164 0 .162.157v3.38c0 .104-.057.156-.162.156h-.157q-.156 0-.156-.157zm1.488 3.38v-2.461q-.002-.55.308-.84.304-.292.805-.293c.334 0 .595.099.804.292q.307.29.308.841v2.46q0 .157-.156.157h-.157q-.157 0-.157-.157V41.85q0-.385-.172-.559a.63.63 0 0 0-.46-.172.63.63 0 0 0-.46.172q-.172.174-.172.559v2.413q0 .157-.156.157h-.157q-.157 0-.157-.157m5.16-2.355h-.172q-.147 0-.146-.142a.65.65 0 0 0-.16
837-.47.57.57 0 0 0-.428-.172.65.65 0 0 0-.465.172c-.12.115-.178.303-.178.554v1.447q0 .383.172.553a.63.63 0 0 0 .46.173.63.63 0 0 0 .46-.173c.115-.114.172-.297.172-.558v-.256h-.392c-.104 0-.156-.058-.156-.162v-.13q0-.157.156-.157h.71q.157 0 .157.156v.606q-.001.55-.308.841t-.81.293c-.334 0-.595-.094-.804-.293q-.306-.291-.308-.84v-1.547q.002-.55.308-.84.304-.292.805-.293c.334 0 .574.099.778.297.204.199.303.455.303.779v.01q0 .157-.157.157m2.371 2.355v-2.46q.002-.549.309-.84.304-.292.804-.293.5.002.804.292.308.292.309.841v2.46q0 .157-.157.157h-.157q-.156 0-.157-.157v-1.086H24.14v1.086q0 .157-.156.157h-.157q-.157 0-.157-.157m.475-2.413v.873h1.27v-.873q0-.385-.173-.559a.62.62 0 0 0-.46-.172.62.62 0 0 0-.459.172q-.172.173-.172.56m2.747 2.412V40.89q0-.157.157-.157h.156q.163 0 .162.157v3.082h1.243q.157-.002.157.162v.13q0 .157-.157.157h-1.561q-.157 0-.157-.157m4.346-.298q.156 0 .156.162v.13q0 .158-.156.158h-1.823c-.105 0-.152-.053-.152-.157v-.115q0-.14.063-.24l1.504-2.727h-1.363c-.105 0-.151-.052-.151-.162v-.13q.001-.157.151-.157h1.765q.157 0 .157.157V41a.5.5 0 0 1-.063.24l-1.51 2.726zm.971-3.081q0-.157.157-.157h.157q.163 0 .161.157v1.43h1.264v-1.43q0-.157.157-.157h.157q.156 0 .157.157v3.38q0 .156-.157.156h-.157q-.156 0-.157-.157V42.77H32.69v1.494q.002.157-.162.157h-.156q-.157 0-.157-.157zm3.27 3.38v-3.38q0-.157.156-.157h1.693q.156 0 .156.157v.13q0 .163-.156.162H35.96v1.134h1.081q.157 0 .157.156v.13q0 .164-.157.163h-1.08v1.196h1.373q.156-.001.156.162v.13q0 .157-.156.157h-1.693q-.156 0-.156-.157m2.841-3.379q0-.156.157-.157h.157q.163 0 .161.157v3.38c0 .104-.057.156-.161.156h-.157q-.157 0-.157-.157zm4.67.888q-.001-.65-.56-.648a.55.55 0 0 0-.401.152q-.157.15-.157.496v2.491q0 .157-.157.157h-.157q-.156 0-.156-.157v-2.491q.001-.65-.554-.648-.557 0-.559.648v2.491q0 .157-.157.157h-.156q-.157 0-.157-.157v-2.59q-.001-.487.272-.747t.71-.261q.61-.002.852.475.234-.477.846-.475c.297 0 .532.088.715.26q.273.26.272.748v2.59c0 .105-.058.157-.162.157h-.157q-.156 0-.157-.157v-2.491zm1.483 2.491v-3.379q0-.156.157-.157h1.692q.157 0 .157.157v.13q0 .164-.157.163h-1.374v1.133h1.081q.157 0 .157.157v.13q0 .163-.157.162h-1.08v1.196h1.373q.157 0 .157.162v.13q0 .157-.157.157h-1.692q-.157 0-.157-.156m2.841 0v-3.38q0-.156.157-.156h1.008q.479.001.72.23c.163.156.241.396.241.73v.074q-.002.642-.465.83.477.18.476.83v.842c0 .104-.058.157-.162.157h-.157q-.157 0-.157-.157v-.83c0-.236-.047-.392-.14-.481q-.143-.132-.47-.13h-.565v1.44c0 .105-.057.157-.162.157h-.157q-.156 0-.156-.156m1.091-3.082h-.61v1.186h.59q.304 0 .443-.126c.095-.083.136-.235.136-.454v-.047q.002-.313-.13-.439c-.09-.078-.23-.12-.429-.12m2.434-.282-.303.992q-.029.101-.13.1h-.11q-.116.001-.1-.115l.168-1.003c.016-.1.068-.146.167-.146h.199q.069 0 .099.047.029.046.005.13m1.306 2.55v.015q.001.282.167.423c.11.094.256.136.433.136a.68.68 0 0 0 .434-.136c.115-.089.167-.23.167-.413a.53.53 0 0 0-.094-.318.7.7 0 0 0-.235-.21 3 3 0 0 0-.324-.145 4 4 0 0 1-.35-.152 1.7 1.7 0 0 1-.318-.204.8.8 0 0 1-.235-.318 1.1 1.1 0 0 1-.094-.475q-.001-.472.287-.732.289-.259.757-.26c.314 0 .564.088.758.265q.29.265.292.727v.015q.002.157-.162.157h-.167q-.148 0-.146-.141v-.016c0-.177-.052-.319-.157-.413a.6.6 0 0 0-.407-.14.6.6 0 0 0-.413.14q-.156.141-.157.408 0 .187.094.319a.7.7 0 0 0 .236.208q.147.078.318.147c.115.047.235.094.35.151.12.058.225.126.324.199a.9.9 0 0 1 .24.318q.094.203.094.475c0 .32-.1.56-.297.732q-.3.259-.794.26c-.33 0-.575-.088-.773-.266q-.298-.265-.298-.72v-.026q0-.157.156-.157h.173c.1 0 .146.047.146.141m4.043-2.721h.982q.478.001.72.23c.162.156.24.396.24.73v.011c0 .413-.14.69-.428.82q.48.179.481.836v.1q.002.502-.24.73-.243.236-.721.236h-1.034q-.157 0-.157-.157v-3.38q0-.156.157-.156m.324.454v1.128h.564c.209 0 .355-.041.449-.12q.135-.125.136-.454c0-.21-.042-.35-.13-.434-.09-.078-.23-.12-.43-.12zm.616 1.578h-.616v1.211h.637q.297 0 .428-.12.132-.117.13-.439v-.068c0-.219-.046-.376-.135-.454q-.14-.125-.444-.125m1.948 1.504v-3.38q0-.156.157-.156h1.692q.157 0 .157.157v.13q0 .163-.157.162H59.57v1.134h1.08q.157 0 .157.156v.13q0 .164-.156.163h-1.082v1.196h1.374q.157-.001.157.162v.13q0 .157-.157.157h-1.692q-.157 0-.157-.157m4.31-1.441h-.988v1.441q.002.157-.162.157h-.157q-.156 0-.156-.157v-3.379q0-.157.156-.157h1.599q.156 0 .156.157v.13q0 .164-.156.163h-1.28v1.185h.987q.157 0 .157.157v.13q0 .163-.157.162m1.076-1.018q.002-.55.308-.841.304-.291.805-.293.5.002.804.293.307.291.308.84v1.547q-.001.55-.308.84-.307.292-.81.293c-.334 0-.595-.094-.804-.292q-.307-.292-.308-.841V41.75zm.475.047v1.447q0 .382.173.553a.63.63 0 0 0 .46.173.63.63 0 0 0 .46-.173c.114-.115.172-.297.172-.559v-1.446q0-.385-.173-.56a.63.63 0 0 0-.46-.172.63.63 0 0 0-.46.173c-.114.115-.172.303-.172.553M67.65 44.2v-3.379q0-.156.156-.157h1.008q.479.002.721.23c.162.157.24.397.24.732v.073q-.001.642-.464.83.476.18.475.83v.841q.001.157-.162.157h-.157q-.156 0-.156-.157v-.83c0-.235-.048-.392-.142-.48-.093-.09-.25-.131-.47-.131h-.564V44.2q.001.157-.162.157h-.156q-.157 0-.157-.157m1.092-3.081h-.611v1.185h.59q.304 0 .444-.125c.094-.084.136-.235.136-.454v-.047q.001-.314-.131-.44c-.089-.077-.23-.12-.428-.12m2.01 3.081V40.82q0-.156.157-.157h1.693q.156 0 .156.157v.13q0 .164-.156.163h-1.374v1.133h1.081q.157 0 .157.157v.13q0 .163-.157.162h-1.081v1.196h1.374q.156-.002.156.162v.13q0 .158-.156.158h-1.693q-.156 0-.156-.157m4.162-3.38q0-.156.157-.156h.157q.163 0 .162.156v3.38c0 .104-.058.157-.162.157h-.157q-.156 0-.157-.157zm2.043 3.38v-3.082h-.685q-.156.002-.156-.162v-.13q0-.157.156-.157h1.86q.156 0 .156.157v.13q0 .163-.156.162h-.69v3.082q0 .156-.156.
83157h-.157q-.164 0-.162-.157m3.688-.815v.016q.001.282.167.423c.11.094.256.136.433.136a.68.68 0 0 0 .434-.136q.166-.137.167-.413a.54.54 0 0 0-.094-.319.7.7 0 0 0-.235-.209 3 3 0 0 0-.324-.146 4 4 0 0 1-.35-.151 1.7 1.7 0 0 1-.319-.204.84.84 0 0 1-.24-.319 1.1 1.1 0 0 1-.094-.475q-.001-.471.287-.731.289-.26.758-.261.468 0 .757.266.291.266.293.726v.016q0 .156-.162.157h-.167q-.148 0-.147-.141v-.016c0-.178-.052-.319-.156-.413a.6.6 0 0 0-.408-.14.6.6 0 0 0-.412.14q-.157.141-.157.408 0 .187.094.318a.7.7 0 0 0 .235.21q.148.076.319.145c.115.047.235.095.35.152.12.057.224.125.323.198a.8.8 0 0 1 .235.319q.094.202.094.475 0 .477-.297.731-.3.26-.794.262c-.33 0-.575-.09-.773-.267q-.298-.266-.298-.72v-.027q0-.156.157-.156h.172q.148 0 .146.14m3.077.816v-3.082h-.684q-.157.002-.157-.162v-.13q0-.157.156-.157h1.86q.156 0 .157.156v.131q0 .163-.157.162h-.69v3.081q0 .157-.156.157h-.157q-.163 0-.162-.157m2.006 0v-2.46q.001-.549.308-.84.304-.292.804-.293c.335 0 .596.1.805.293q.307.291.308.84v2.46q0 .157-.157.157h-.156q-.157 0-.157-.157v-1.086h-1.27v1.086q0 .157-.156.157h-.157q-.156 0-.156-.157m.475-2.413v.873h1.27v-.873c0-.255-.058-.444-.173-.558a.63.63 0 0 0-.46-.173.63.63 0 0 0-.46.173q-.172.173-.172.559m2.753 2.412V40.8q0-.156.156-.156h1.008q.479.001.721.23c.162.156.24.396.24.73v.074q-.001.642-.464.83.476.18.475.83v.841q.001.157-.162.157h-.157q-.156 0-.156-.157v-.83c0-.235-.047-.392-.141-.48-.094-.09-.251-.131-.47-.131h-.565v1.441q.001.157-.161.157h-.157q-.157 0-.157-.157m1.092-3.081h-.611v1.186h.59q.305 0 .444-.126.135-.125.136-.454v-.047q.001-.314-.131-.439-.132-.118-.428-.12m2.528 3.081v-3.081h-.684q-.157.002-.157-.162v-.13q0-.157.157-.157h1.859q.157 0 .157.156v.131q0 .163-.157.162h-.69v3.081q0 .157-.156.157h-.157q-.163 0-.162-.157m2.366-.814v.015q.002.283.167.423c.11.095.256.136.434.136a.68.68 0 0 0 .433-.136c.115-.088.168-.23.168-.412a.54.54 0 0 0-.094-.319.7.7 0 0 0-.24-.209 3 3 0 0 0-.325-.146 4 4 0 0 1-.35-.151 1.7 1.7 0 0 1-.318-.204.84.84 0 0 1-.24-.319 1.1 1.1 0 0 1-.094-.475q-.001-.471.287-.731t.757-.261c.314 0 .56.088.758.266q.29.266.292.726v.016q.001.156-.162.156h-.167q-.148 0-.146-.14v-.016c0-.178-.053-.319-.157-.413a.6.6 0 0 0-.407-.141.6.6 0 0 0-.413.141q-.156.141-.157.407 0 .187.094.319a.7.7 0 0 0 .235.209q.148.078.319.146c.115.047.235.094.35.152.12.057.225.125.324.198a.8.8 0 0 1 .235.319q.094.202.094.475c0 .319-.1.559-.298.731q-.299.26-.794.261c-.329 0-.574-.088-.773-.266q-.297-.267-.297-.72v-.027q0-.156.156-.157h.172q.148 0 .147.141" fill="#fff"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 .922h105v43.566H0z"/></clipPath></defs></svg>
84`;j();var dE=`<svg width="206" height="38" viewBox="0 0 206 38" fill="none" xmlns="http://www.w3.org/2000/svg">
85<g opacity="0.8">
86<path d="M34.9612 15.4622L37.8333 7.52673C37.9076 7.30389 38.0561 7.19247 38.2913 7.19247H38.8856C39.1084 7.19247 39.2694 7.30389 39.3436 7.52673L42.2157 15.4622C42.2653 15.6107 42.2529 15.7222 42.191 15.8088C42.1291 15.8955 42.03 15.9326 41.8815 15.9326H41.4606C41.2254 15.9326 41.0768 15.8212 41.0025 15.5984L40.2226 13.4195H36.9296L36.162 15.5984C36.1001 15.8212 35.9516 15.9326 35.7163 15.9326H35.2954C35.1345 15.9326 35.0231 15.8955 34.9736 15.8088C34.9117 15.7222 34.9117 15.6107 34.9612 15.4622ZM37.2514 12.4044H39.9007L38.9351 9.6313L38.6008 8.39331H38.5761C38.4399 8.92565 38.3285 9.33418 38.2294 9.6313L37.2514 12.4044ZM43.2197 14.2242V7.60101C43.2197 7.32865 43.3558 7.19247 43.6282 7.19247H44.012C44.2843 7.19247 44.4205 7.32865 44.4205 7.60101V14.0756C44.4205 14.5956 44.6062 14.8803 44.99 14.9051C45.2004 14.9299 45.3119 15.0537 45.3119 15.2641V15.5612C45.3119 15.846 45.1633 15.9821 44.8909 15.9821C43.7768 15.9821 43.2197 15.4003 43.2197 14.2242ZM45.9769 15.586V15.4869C45.9769 15.326 46.0264 15.1651 46.1502 15.0165L49.1337 11.2778L49.6537 10.696V10.6712C49.5175 10.696 49.3194 10.696 49.0471 10.696H46.5216C46.2492 10.696 46.1131 10.5598 46.1131 10.2874V10.077C46.1131 9.80461 46.2492 9.66843 46.5216 9.66843H50.8669C51.1393 9.66843 51.2754 9.79223 51.2754 10.0151V10.1141C51.2754 10.2874 51.2135 10.436 51.1021 10.5845L48.1186 14.3356L47.5863 14.9051V14.9299C47.7101 14.9175 47.9205 14.9051 48.1929 14.9051H50.9659C51.2383 14.9051 51.3745 15.0413 51.3745 15.3012V15.5241C51.3745 15.7964 51.2383 15.9326 50.9659 15.9326H46.3854C46.1131 15.9326 45.9769 15.8212 45.9769 15.586ZM52.662 15.5241V7.60101C52.662 7.32865 52.7982 7.19247 53.0705 7.19247H53.4543C53.7143 7.19247 53.8504 7.32865 53.8504 7.60101V10.436L53.8133 10.9559H53.8381C53.999 10.5969 54.2837 10.2627 54.7046 9.96555C55.1132 9.66843 55.6084 9.51988 56.1778 9.51988C57.6139 9.51988 58.3319 10.3246 58.3319 11.9216V15.5241C58.3319 15.7964 58.1958 15.9326 57.9234 15.9326H57.5396C57.2673 15.9326 57.1311 15.7964 57.1311 15.5241V12.1939C57.1311 11.6987 57.0444 11.3026 56.8835 11.0302C56.7102 10.7579 56.4007 10.6217 55.9426 10.6217C55.336 10.6217 54.8408 10.8445 54.4447 11.2902C54.0485 11.7359 53.8504 12.293 53.8504 12.9615V15.5241C53.8504 15.7964 53.7143 15.9326 53.4543 15.9326H53.0705C52.7982 15.9326 52.662 15.7964 52.662 15.5241ZM59.5798 12.8005C59.5798 11.8225 59.8645 11.0302 60.4587 10.4236C61.053 9.82937 61.7958 9.51988 62.7119 9.51988C63.5537 9.51988 64.2222 9.8
860461 64.6926 10.3493C65.1631 10.894 65.4107 11.6121 65.4107 12.5034C65.4107 12.6272 65.3611 12.7262 65.2869 12.8005C65.2126 12.8872 65.1136 12.9243 64.9898 12.9243H60.8054C60.8301 13.5928 61.053 14.1128 61.4739 14.4842C61.8824 14.8556 62.3776 15.0413 62.9718 15.0413C63.5166 15.0413 64.0241 14.8803 64.4698 14.5461C64.7174 14.4223 64.9031 14.4594 65.0269 14.6823L65.1383 14.868C65.2745 15.1032 65.2374 15.2889 65.0145 15.4127C64.3708 15.8583 63.6651 16.0812 62.8976 16.0812C61.9196 16.0812 61.1273 15.7717 60.5083 15.1527C59.8893 14.5337 59.5798 13.7414 59.5798 12.8005ZM60.8549 12.132H64.2098C64.1851 11.5997 64.0365 11.1912 63.7518 10.894C63.467 10.6093 63.108 10.4607 62.6871 10.4607C62.2167 10.4607 61.8205 10.6093 61.4863 10.9064C61.1396 11.2035 60.9292 11.6121 60.8549 12.132ZM67.1181 8.41807C66.8458 8.41807 66.7096 8.2819 66.7096 8.00954V7.60101C66.7096 7.32865 66.8458 7.19247 67.1181 7.19247H67.539C67.8114 7.19247 67.9476 7.32865 67.9476 7.60101V8.00954C67.9476 8.2819 67.8114 8.41807 67.539 8.41807H67.1181ZM66.722 15.5241V10.077C66.722 9.80461 66.8581 9.66843 67.1305 9.66843H67.5143C67.7866 9.66843 67.9228 9.80461 67.9228 10.077V15.5241C67.9228 15.7964 67.7866 15.9326 67.5143 15.9326H67.1305C66.8581 15.9326 66.722 15.7964 66.722 15.5241ZM69.6597 15.5241V10.077C69.6597 9.80461 69.7959 9.66843 70.0683 9.66843H70.4149C70.6873 9.66843 70.8234 9.80461 70.8234 10.077V10.6341L70.7863 10.9931H70.8111C70.972 10.6093 71.2567 10.2627 71.6653 9.96555C72.0738 9.66843 72.5195 9.51988 72.9899 9.51988C74.0174 9.51988 74.6488 10.0027 74.8716 10.9436H74.8964C75.0697 10.5598 75.3668 10.2255 75.7754 9.94079C76.1715 9.66843 76.6172 9.51988 77.1124 9.51988C77.818 9.51988 78.338 9.71795 78.6722 10.1141C79.0065 10.5103 79.1798 11.1169 79.1798 11.9216V15.5241C79.1798 15.7964 79.0436 15.9326 78.7713 15.9326H78.3875C78.1152 15.9326 77.979 15.7964 77.979 15.5241V12.1815C77.979 11.6863 77.8923 11.2902 77.7438 11.0178C77.5952 10.7455 77.2981 10.6093 76.8772 10.6093C76.3201 10.6093 75.8744 10.8569 75.5278 11.3397C75.1811 11.8225 75.0202 12.3796 75.0202 13.011V15.5241C75.0202 15.7964 74.884 15.9326 74.624 15.9326H74.2279C73.9555 15.9326 73.8317 15.7964 73.8317 15.5241V12.1815C73.8317 11.6863 73.7575 11.3026 73.6089 11.0302C73.4603 10.7579 73.1756 10.6093 72.7423 10.6093C72.1728 10.6093 71.7272 10.8569 71.3805 11.3397C71.0339 11.8349 70.8606 12.392 70.8606 13.011V15.5241C70.8606 15.7964 70.7244 15.9326 70.4521 15.9326H70.0683C69.7959 15.9326 69.6597 15.7964 69.6597 15.5241ZM80.4344 12.8005C80.4344 11.8225 80.7192 11.0302 81.3134 10.4236C81.9076 9.82937 82.6504 9.51988 83.5665 9.51988C84.4084 9.51988 85.0769 9.80461 85.5473 10.3493C86.0177 10.894 86.2653 11.6121 86.2653 12.5034C86.2653 12.6272 86.2158 12.7262 86.1415 12.8005C86.0672 12.8872 85.9682 12.9243 85.8444 12.9243H81.66C81.6848 13.5928 81.9076 14.1128 82.3285 14.4842C82.7371 14.8556 83.2323 15.0413 83.8265 15.0413C84.3712 15.0413 84.8788 14.8803 85.3245 14.5461C85.5721 14.4223 85.7578 14.4594 85.8816 14.6823L85.993 14.868C86.1291 15.1032 86.092 15.2889 85.8692 15.4127C85.2254 15.8583 84.5198 16.0812 83.7522 16.0812C82.7742 16.0812 81.9819 15.7717 81.3629 15.1527C80.7439 14.5337 80.4344 13.7414 80.4344 12.8005ZM81.7096 12.132H85.0645C85.0397 11.5997 84.8912 11.1912 84.6064 10.894C84.3217 10.6093 83.9627 10.4607 83.5418 10.4607C83.0713 10.4607 82.6752 10.6093 82.3409 10.9064C81.9943 11.2035 81.7838 11.6121 81.7096 12.132ZM87.5766 15.5241V10.077C87.5766 9.80461 87.7128 9.66843 87.9851 9.66843H88.3318C88.6041 9.66843 88.7403 9.80461 88.7403 10.077V10.795L88.7032 11.2654H88.7279C88.8765 10.8198 89.1117 10.4236 89.4583 10.1017C89.805 9.77985 90.2011 9.61891 90.6468 9.61891C90.9068 9.61891 91.043 9.75509 91.043 10.0274V10.3741C91.043 10.6464 90.8944 10.7826 90.5973 10.7826C90.0154 10.7826 89.5698 11.0426 89.2479 11.5625C88.926 12.0825 88.7775 12.6767 88.7775 13.3452V15.5241C88.7775 15.7964 88.6413 15.9326 88.3689 15.9326H87.9851C87.7128 15.9326 87.5766 15.7964 87.5766 15.5241ZM91.3511 12.8005C91.3511 11.872 91.6606 11.0921 92.292 10.4607C92.911 9.84175 93.7156 9.51988 94.6937 9.51988C95.4983 9.51988 96.1916 9.74271 96.7611 10.1884C96.9715 10.3369 96.9963 10.5226 96.8354 10.7455L96.7116 10.9312C96.5754 11.1416 96.3897 11.1788 96.1545 11.0302C95.7088 10.7207 95.2507 10.5598 94.7
86556 10.5598C94.1242 10.5598 93.6042 10.7702 93.1957 11.1912C92.7748 11.6121 92.5767 12.1444 92.5767 12.7881C92.5767 13.4319 92.7748 13.9766 93.1957 14.3975C93.6166 14.8308 94.1366 15.0413 94.7803 15.0413C95.3374 15.0413 95.8697 14.8556 96.3773 14.4718C96.6001 14.3232 96.7858 14.3604 96.9344 14.5832L97.0334 14.7689C97.1572 14.9918 97.1201 15.1774 96.922 15.3136C96.303 15.8336 95.5602 16.0812 94.6937 16.0812C93.7033 16.0812 92.8986 15.7717 92.2796 15.1527C91.6606 14.5337 91.3511 13.7538 91.3511 12.8005ZM97.8798 12.8005C97.8798 11.8225 98.1645 11.0302 98.7588 10.4236C99.353 9.82937 100.096 9.51988 101.012 9.51988C101.854 9.51988 102.522 9.80461 102.993 10.3493C103.463 10.894 103.711 11.6121 103.711 12.5034C103.711 12.6272 103.661 12.7262 103.587 12.8005C103.513 12.8872 103.414 12.9243 103.29 12.9243H99.1054C99.1302 13.5928 99.353 14.1128 99.7739 14.4842C100.182 14.8556 100.678 15.0413 101.272 15.0413C101.817 15.0413 102.324 14.8803 102.77 14.5461C103.017 14.4223 103.203 14.4594 103.327 14.6823L103.438 14.868C103.575 15.1032 103.537 15.2889 103.315 15.4127C102.671 15.8583 101.965 16.0812 101.198 16.0812C100.22 16.0812 99.4273 15.7717 98.8083 15.1527C98.1893 14.5337 97.8798 13.7414 97.8798 12.8005ZM99.1549 12.132H102.51C102.485 11.5997 102.337 11.1912 102.052 10.894C101.767 10.6093 101.408 10.4607 100.987 10.4607C100.517 10.4607 100.121 10.6093 99.7863 10.9064C99.4397 11.2035 99.2292 11.6121 99.1549 12.132ZM105.022 15.5241V10.077C105.022 9.80461 105.158 9.66843 105.431 9.66843H105.777C106.05 9.66843 106.186 9.80461 106.186 10.077V10.6341L106.149 10.9931H106.173C106.334 10.6341 106.619 10.2998 107.028 9.99031C107.424 9.68081 107.931 9.51988 108.55 9.51988C109.974 9.51988 110.692 10.3246 110.692 11.9216V15.5241C110.692 15.7964 110.556 15.9326 110.283 15.9326H109.9C109.627 15.9326 109.491 15.7964 109.491 15.5241V12.1939C109.491 11.6987 109.404 11.3026 109.244 11.0302C109.083 10.7579 108.773 10.6217 108.315 10.6217C107.708 10.6217 107.213 10.8445 106.817 11.2902C106.421 11.7359 106.223 12.293 106.223 12.9367V15.5241C106.223 15.7964 106.087 15.9326 105.814 15.9326H105.431C105.158 15.9326 105.022 15.7964 105.022 15.5241ZM112.573 13.6795V10.7083H112.14C111.867 10.7083 111.743 10.5722 111.743 10.2998V10.1389C111.743 9.86651 111.88 9.73033 112.152 9.73033H112.598V8.35617C112.598 8.08382 112.734 7.94764 113.006 7.94764H113.365C113.638 7.94764 113.774 8.08382 113.774 8.35617V9.73033H114.863C115.136 9.73033 115.272 9.86651 115.272 10.1389V10.2998C115.272 10.5722 115.136 10.7083 114.876 10.7083H113.774V13.4938C113.774 14.3728 114.17 14.8432 114.962 14.9051C115.123 14.9299 115.235 14.967 115.296 15.0165C115.358 15.0784 115.395 15.1774 115.395 15.3136V15.5736C115.395 15.846 115.222 15.9821 114.9 15.9821C114.232 15.9821 113.675 15.7964 113.229 15.4003C112.783 15.0041 112.573 14.4347 112.573 13.6795ZM116.507 15.5241V10.077C116.507 9.80461 116.643 9.66843 116.916 9.66843H117.262C117.535 9.66843 117.671 9.80461 117.671 10.077V10.795L117.634 11.2654H117.658C117.807 10.8198 118.042 10.4236 118.389 10.1017C118.736 9.77985 119.132 9.61891 119.577 9.61891C119.837 9.61891 119.974 9.75509 119.974 10.0274V10.3741C119.974 10.6464 119.825 10.7826 119.528 10.7826C118.946 10.7826 118.5 11.0426 118.178 11.5625C117.857 12.0825 117.708 12.6767 117.708 13.3452V15.5241C117.708 15.7964 117.572 15.9326 117.299 15.9326H116.916C116.643 15.9326 116.507 15.7964 116.507 15.5241ZM120.846 13.6795V10.077C120.846 9.80461 120.982 9.66843 121.254 9.66843H121.638C121.898 9.66843 122.034 9.80461 122.034 10.077V13.4071C122.034 13.9023 122.108 14.2861 122.282 14.5585C122.443 14.8308 122.752 14.967 123.21 14.967C123.829 14.967 124.324 14.7442 124.696 14.2737C125.067 13.8157 125.253 13.2586 125.253 12.6024V10.077C125.253 9.80461 125.389 9.66843 125.661 9.66843H126.045C126.317 9.66843 126.454 9.80461 126.454 10.077V15.5241C126.454 15.7964 126.317 15.9326 126.045 15.9326H125.698C125.426 15.9326 125.29 15.7964 125.29 15.5241V14.967L125.327 14.608H125.302C125.129 14.9794 124.844 15.326 124.436 15.6231C124.015 15.9326 123.532 16.0812 122.975 16.0812C122.257 16.0812 121.725 15.8955 121.378 15.4993C121.019 15.1032 120.846 14.4966 120.846 13.6795ZM128.186 15.5241V10.077C128.186 9.80461 128.322 9.66843 128.594 9.66843H128.941C129.213 9.66843 129.349 9.80461 129.349 10.077V10.6341L129.312 10.9931H129.337C129.498 10.6093 129.783 10.2627 130.191 9.96555C130.6 9.66843 131.046 9.51988 131.516 9.51988C132.543 9.51988 133.175 10.0027 133.398 10.9436H133.422C133.596 10.5598 133.893 10.2255 134.301 9.94079C134.698 9.66843 135.143 9.51988 135.638 9.51988C136.344 9.51988 136.864 9.71795 137.198 10.1141C137.533 10.5103 137.706 11.1169 137.706 11.9216V15.5241C137.706 15.7964 137.57 15.9326 137.297 15.9326H136.914C136.641 15.9326 136.505 15.7964 136.505 15.5241V12.1815C136.505 11.6863 136.418 11.2902 136.27 11.0178C136.121 10.7455 135.824 10.6093 135.403 10.6093C134.846 10.6093 134.4 10.8569 134.054 11.3397C133.707 11.8225 133.546 12.3796 133.546 13.011V15.5241C133.546 15.7964 133.41 15.9326 133.15 15.9326H132.754C132.482 15.9326 132.358 15.7964 132.358 15.5241V12.1815C132.358 11.6863 132.283 11.3026 132.135 11.0302C131.986 10.7579 131.702 10.6093 131.268 10.6093C130.699 10.6093 130.253 10.8569 129.907 11.3397C129.56 11.8349 129.387 12.392 129.387 13.011V15.5241C129.387 15.7964 129.25 15.9326 128.978 15.9326H128.594C128.322 15.9326 128.186 15.7964 128.186 15.5241ZM141.882 15.4622L144.754 7.52673C144.828 7.30389 144.977 7.19247 145.212 7.19247H145.806C146.029 7.19247 146.19 7.30389 146.265 7.52673L149.137 15.4622C149.186 15.6107 149.174 15.7222 149.112 15.8088C149.05 15.8955 148.951 15.9326 148.802 15.9326H148.381C148.146 15.9326 147.998 15.8212 147.923 15.5984L147.144 13.4195H143.85L143.083 15.5984C143.021 15.8212 142.872 15.9326 142.637 15.9326H142.216C142.055 15.9326 141.944 15.8955 141.894 15.8088C141.833 15.7222 141.833 15.6107 141.882 15.4622ZM144.172 12.4044H146.822L145.856 9.6313L145.522 8.39331H145.497C145.361 8.92565 145.249 9.33418 145.15 9.6313L144.172 12.4044ZM150.141 15.5241V10.077C150.141 9.80461 150.277 9.66843 150.549 9.66843H150.896C151.168 9.66843 151.304 9.80461 151.304 10.077V10.6341L151.267 10.9931H151.292C151.453 10.6093 151.738 10.2627 152.146 9.96555C152.555 9.66843 153 9.51988 153.471 9.51988C154.498 9.51988 155.13 10.0027 155.352 10.9436H155.377C155.551 10.5598 155.848 10.2255 156.256 9.94079C156.652 9.66843 157.098 9.51988 157.593 9.51988C158.299 9.51988 158.819 9.71795 159.153 10.1141C159.487 10.5103 159.661 11.1169 159.661 11.9216V15.5241C159.661 15.7964 159.524 15.9326 159.252 15.9326H158.868C158.596 15.9326 158.46 15.7964 158.46 15.5241V12.1815C158.46 11.6863 158.373 11.2902 158.225 11.0178C158.076 10.7455 157.779 10.6093 157.358 10.6093C156.801 10.6093 156.355 10.8569 156.009 11.3397C155.662 11.8225 155.501 12.3796 155.501 13.011V15.5241C155.501 15.7964 155.365 15.9326 155.105 15.9326H154.709C154.436 15.9326 154.313 15.7964 154.313 15.5241V12.1815C154.313 11.6863 154.238 11.3026 154.09 11.0302C153.941 10.7579 153.656 10.6093 153.223 10.6093C152.654 10.6093 152.208 10.8569 151.861 11.3397C151.515 11.8349 151.341 12.392 151.341 13.011V15.5241C151.341 15.7964 151.205 15.9326 150.933 15.9326H150.549C150.277 15.9326 150.
86141 15.7964 150.141 15.5241ZM161.287 15.4003C161.076 15.2765 161.051 15.0908 161.2 14.8432L161.324 14.6699C161.46 14.4842 161.646 14.4594 161.893 14.5832C162.413 14.9299 162.921 15.0908 163.428 15.0908C163.738 15.0908 163.998 15.0289 164.196 14.8803C164.394 14.7318 164.493 14.5337 164.493 14.2613C164.493 14.0385 164.382 13.8528 164.159 13.7043C163.936 13.5557 163.664 13.4195 163.342 13.3081C163.02 13.1967 162.71 13.0729 162.401 12.9367C162.079 12.8005 161.819 12.5901 161.596 12.3177C161.373 12.0454 161.262 11.7235 161.262 11.3273C161.262 10.7579 161.472 10.3246 161.906 10.0027C162.339 9.68081 162.884 9.51988 163.527 9.51988C164.171 9.51988 164.741 9.68081 165.261 10.0027C165.483 10.1265 165.533 10.2998 165.397 10.5474L165.285 10.7331C165.162 10.9436 164.988 10.9931 164.741 10.8693C164.32 10.6341 163.886 10.5103 163.466 10.5103C163.144 10.5103 162.896 10.5845 162.698 10.7207C162.5 10.8569 162.413 11.055 162.413 11.3026C162.413 11.5254 162.525 11.7235 162.747 11.872C162.97 12.033 163.23 12.1692 163.552 12.2682C163.874 12.3796 164.184 12.5034 164.505 12.6396C164.815 12.7758 165.087 12.9738 165.31 13.2462C165.533 13.5186 165.644 13.8404 165.644 14.2366C165.644 14.7813 165.434 15.2146 165.013 15.5612C164.592 15.9079 164.06 16.0812 163.391 16.0812C162.587 16.0812 161.881 15.8583 161.287 15.4003ZM167.049 13.6795V10.7083H166.616C166.343 10.7083 166.219 10.5722 166.219 10.2998V10.1389C166.219 9.86651 166.356 9.73033 166.628 9.73033H167.074V8.35617C167.074 8.08382 167.21 7.94764 167.482 7.94764H167.841C168.114 7.94764 168.25 8.08382 168.25 8.35617V9.73033H169.339C169.612 9.73033 169.748 9.86651 169.748 10.1389V10.2998C169.748 10.5722 169.612 10.7083 169.352 10.7083H168.25V13.4938C168.25 14.3728 168.646 14.8432 169.438 14.9051C169.599 14.9299 169.711 14.967 169.772 15.0165C169.834 15.0784 169.871 15.1774 169.871 15.3136V15.5736C169.871 15.846 169.698 15.9821 169.376 15.9821C168.708 15.9821 168.151 15.7964 167.705 15.4003C167.259 15.0041 167.049 14.4347 167.049 13.6795ZM170.539 12.8005C170.539 11.8225 170.823 11.0302 171.418 10.4236C172.012 9.82937 172.755 9.51988 173.671 9.51988C174.513 9.51988 175.181 9.80461 175.652 10.3493C176.122 10.894 176.37 11.6121 176.37 12.5034C176.37 12.6272 176.32 12.7262 176.246 12.8005C176.171 12.8872 176.072 12.9243 175.949 12.9243H171.764C171.789 13.5928 172.012 14.1128 172.433 14.4842C172.841 14.8556 173.336 15.0413 173.931 15.0413C174.475 15.0413 174.983 14.8803 175.429 14.5461C175.676 14.4223 175.862 14.4594 175.986 14.6823L176.097 14.868C176.233 15.1032 176.196 15.2889 175.973 15.4127C175.33 15.8583 174.624 16.0812 173.856 16.0812C172.878 16.0812 172.086 15.7717 171.467 15.1527C170.848 14.5337 170.539 13.7414 170.539 12.8005ZM171.814 12.132H175.169C175.144 11.5997 174.995 11.1912 174.711 10.894C174.426 10.6093 174.067 10.4607 173.646 10.4607C173.176 10.4607 172.779 10.6093 172.445 10.9064C172.098 11.2035 171.888 11.6121 171.814 12.132ZM177.681 15.5241V10.077C177.681 9.80461 177.817 9.66843 178.089 9.66843H178.436C178.708 9.66843 178.845 9.80461 178.845 10.077V10.795L178.807 11.2654H178.832C178.981 10.8198 179.216 10.4236 179.563 10.1017C179.909 9.77985 180.305 9.61891 180.751 9.61891C181.011 9.61891 181.147 9.75509 181.147 10.0274V10.3741C181.147 10.6464 180.999 10.7826 180.701 10.7826C180.12 10.7826 179.674 11.0426 179.352 11.5625C179.03 12.0825 178.882 12.6767 178.882 13.3452V15.5241C178.882 15.7964 178.745 15.9326 178.473 15.9326H178.089C177.817 15.9326 177.681 15.7964 177.681 15.5241ZM181.541 12.8005C181.541 11.8101 181.8 11.0178 182.333 10.4236C182.853 9.82937 183.534 9.51988 184.375 9.51988C184.635 9.51988 184.883 9.55702 185.118 9.6313C185.354 9.70557 185.539 9.80461 185.688 9.90365C185.824 10.0151 185.948 10.1265 186.047 10.2255C186.146 10.3246 186.208 10.4112 186.257 10.4855L186.319 10.5969H186.344C186.319 10.4731 186.307 10.3369 186.307 10.176V7.60101C186.307 7.32865 186.443 7.19247 186.715 7.19247H187.099C187.371 7.19247 187.508 7.32865 187.508 7.60101V15.5241C187.508 15.7964 187.371 15.9326 187.099 15.9326H186.777C186.505 15.9326 186.369 15.8088 186.369 15.5488V15.1898L186.393 14.8803H186.369C186.344 14.9175 186.319 14.967 186.294 15.0165C186.27 15.066 186.195 15.1651 186.084 15.3012C185.96 15.4374 185.836 15.5612 185.688 15.6603C185.539 15.7717 185.354 15.8707 185.106 15.9574C184.858 16.044 184.586 16.0812 184.301 16.0812C183.459 16.
860812 182.779 15.7841 182.283 15.1774C181.788 14.5832 181.541 13.7909 181.541 12.8005ZM182.766 12.8005C182.766 13.4814 182.927 14.0261 183.249 14.4347C183.571 14.8432 184.004 15.0413 184.536 15.0413C185.044 15.0413 185.477 14.8556 185.824 14.4842C186.171 14.1128 186.344 13.5433 186.344 12.7881C186.344 12.1939 186.183 11.674 185.873 11.2283C185.564 10.795 185.131 10.5722 184.561 10.5722C184.041 10.5722 183.62 10.7826 183.274 11.1788C182.927 11.5749 182.766 12.1196 182.766 12.8005ZM188.743 14.2242C188.743 13.8528 188.83 13.5309 189.015 13.2586C189.189 12.9862 189.412 12.7758 189.672 12.6272C189.932 12.4787 190.241 12.3672 190.612 12.2806C190.971 12.1939 191.293 12.132 191.578 12.1073C191.863 12.0825 192.16 12.0701 192.482 12.0701H192.804V11.9092C192.804 10.9931 192.346 10.535 191.442 10.535C190.971 10.535 190.501 10.6712 190.031 10.9312C189.783 11.055 189.597 11.0055 189.473 10.7826L189.374 10.6093C189.238 10.3617 189.288 10.176 189.511 10.0522C190.13 9.70557 190.81 9.51988 191.541 9.51988C192.321 9.51988 192.927 9.73033 193.361 10.1512C193.782 10.5722 194.004 11.1788 194.004 11.9711V15.5241C194.004 15.7964 193.868 15.9326 193.596 15.9326H193.286C193.014 15.9326 192.878 15.7964 192.878 15.5241V15.1527L192.915 14.7689H192.89C192.866 14.8061 192.841 14.8556 192.816 14.9175C192.779 14.9794 192.705 15.0784 192.581 15.227C192.457 15.3755 192.333 15.5117 192.197 15.6231C192.048 15.7469 191.863 15.846 191.615 15.945C191.368 16.044 191.12 16.0812 190.848 16.0812C190.266 16.0812 189.771 15.9202 189.362 15.5736C188.941 15.2393 188.743 14.7937 188.743 14.2242ZM189.956 14.1252C189.956 14.3975 190.055 14.6327 190.266 14.8308C190.464 15.0289 190.749 15.1279 191.12 15.1279C191.615 15.1279 192.011 14.9299 192.333 14.5089C192.655 14.1004 192.816 13.6424 192.816 13.1348V12.8624H192.494C190.798 12.8624 189.956 13.2833 189.956 14.1252ZM195.646 15.5241V10.077C195.646 9.80461 195.782 9.66843 196.055 9.66843H196.401C196.674 9.66843 196.81 9.80461 196.81 10.077V10.6341L196.773 10.9931H196.797C196.958 10.6093 197.243 10.2627 197.652 9.96555C198.06 9.66843 198.506 9.51988 198.976 9.51988C200.004 9.51988 200.635 10.0027 200.858 10.9436H200.883C201.056 10.5598 201.353 10.2255 201.762 9.94079C202.158 9.66843 202.604 9.51988 203.099 9.51988C203.804 9.51988 204.324 9.71795 204.659 10.1141C204.993 10.5103 205.166 11.1169 205.166 11.9216V15.5241C205.166 15.7964 205.03 15.9326 204.758 15.9326H204.374C204.101 15.9326 203.965 15.7964 203.965 15.5241V12.1815C203.965 11.6863 203.879 11.2902 203.73 11.0178C203.582 10.7455 203.284 10.6093 202.863 10.6093C202.306 10.6093 201.861 10.8569 201.514 11.3397C201.167 11.8225 201.007 12.3796 201.007 13.011V15.5241C201.007 15.7964 200.87 15.9326 200.61 15.9326H200.214C199.942 15.9326 199.818 15.7964 199.818 15.5241V12.1815C199.818 11.6863 199.744 11.3026 199.595 11.0302C199.447 10.7579 199.162 10.6093 198.729 10.6093C198.159 10.6093 197.713 10.8569 197.367 11.3397C197.02 11.8349 196.847 12.392 196.847 13.011V15.5241C196.847 15.7964 196.711 15.9326 196.438 15.9326H196.055C195.782 15.9326 195.646 15.7964 195.646 15.5241Z" fill="white"/>
87<path d="M34.8928 28.4454L37.1044 22.3351C37.1616 22.1635 37.276 22.0777 37.4571 22.0777H37.9146C38.0862 22.0777 38.2101 22.1635 38.2673 22.3351L40.4789 28.4454C40.517 28.5598 40.5075 28.6456 40.4598 28.7123C40.4121 28.779 40.3359 28.8076 40.2215 28.8076H39.8974C39.7163 28.8076 39.6019 28.7218 39.5447 28.5502L38.9441 26.8725H36.4085L35.8175 28.5502C35.7698 28.7218 35.6554 28.8076 35.4743 28.8076H35.1502C35.0263 28.8076 34.9405 28.779 34.9024 28.7123C34.8547 28.6456 34.8547 28.5598 34.8928 28.4454ZM36.6563 26.0909H38.6963L37.9528 23.9556L37.6954 23.0024H37.6763C37.5715 23.4122 37.4857 23.7268 37.4094 23.9556L36.6563 26.0909ZM41.2519 28.493V24.2988C41.2519 24.0891 41.3567 23.9842 41.5665 23.9842H41.8334C42.0431 23.9842 42.1479 24.0891 42.1479 24.2988V24.7277L42.1193 25.0042H42.1384C42.2623 24.7087 42.4816 24.4418 42.7961 24.213C43.1107 23.9842 43.4539 23.8698 43.8161 23.8698C44.6073 23.8698 45.0935 24.2416 45.265 24.966H45.2841C45.4176 24.6705 45.6463 24.4132 45.9609 24.1939C46.2659 23.9842 46.6091 23.8698 46.9904 23.8698C47.5338 23.8698 47.9341 24.0223 48.1915 24.3274C48.4489 24.6324 48.5823 25.0995 48.5823 25.7191V28.493C48.5823 28.7028 48.4775 28.8076 48.2678 28.8076H47.9723C47.7625 28.8076 47.6577 28.7028 47.6577 28.493V25.9193C47.6577 25.538 47.591 25.2329 47.4766 25.0232C47.3622 24.8135 47.1334 24.7087 46.8093 24.7087C46.3803 24.7087 46.0372 24.8993 45.7703 25.2711C45.5034 25.6428 45.3794 26.0718 45.3794 26.558V28.493C45.3794 28.7028 45.2746 28.8076 45.0744 28.8076H44.7694C44.5596 28.8076 44.4643 28.7028 44.4643 28.493V25.9193C44.4643 25.538 44.4071 25.2425 44.2927 25.0328C44.1783 24.8231 43.9591 24.7087 43.6255 24.7087C43.187 24.7087 42.8438 24.8993 42.5769 25.2711C42.31 25.6524 42.1765 26.0813 42.1765 26.558V28.493C42.1765 28.7028 42.0717 28.8076 41.862 28.8076H41.5665C41.3567 28.8076 41.2519 28.7028 41.2519 28.493ZM49.8344 28.3977C49.6723 28.3024 49.6532 28.1594 49.7676 27.9688L49.863 27.8353C49.9678 27.6923 50.1108 27.6733 50.3015 27.7686C50.7018 28.0355 51.0926 28.1594 51.4835 28.1594C51.7218 28.1594 51.922 28.1117 52.0745 27.9974C52.227 27.883 52.3033 27.7305 52.3033 27.5207C52.3033 27.3492 52.2175 27.2062 52.0459 27.0918C51.8743 26.9774 51.6646 26.8725 51.4168 26.7867C51.1689 26.7009 50.9306 26.6056 50.6923 26.5008C50.4444 26.3959 50.2443 26.2339 50.0727 26.0241C49.9011 25.8144 49.8153 25.5666 49.8153 25.2615C49.8153 24.8231 49.9774 24.4894 50.311 24.2416C50.6446 23.9937 51.0641 23.8698 51.5597 23.8698C52.0554 23.8698 52.4939 23.9937 52.8943 24.2416C53.0659 24.3369 53.104 24.4704 52.9991 24.661L52.9133 24.804C52.818 24.966 52.6846 25.0042 52.4939 24.9088C52.1698 24.7277 51.8362 24.6324 51.5121 24.6324C51.2642 24.6324 51.0736 24.6896 50.9211 24.7945C50.7685 24.8993 50.7018 25.0518 50.7018 25.2425C50.7018 25.4141 50.7876 25.5666 50.9592 25.681C51.1308 25.8049 51.331 25.9098 51.5788 25.986C51.8266 26.0718 52.065 26.1671 52.3128 26.272C52.5511 26.3768 52.7608 26.5294 52.9324 26.7391C53.104 26.9488 53.1898 27.1966 53.1898 27.5017C53.1898 27.9211 53.0277 28.2547 52.7036 28.5216C52.3795 28.7886 51.9696 28.922 51.4549 28.922C50.8353 28.922 50.2919 28.7504 49.8344 28.3977ZM54.2713 27.0727V24.7849H53.9376C53.7279 24.7849 53.6326 24.6801 53.6326 24.4704V24.3464C53.6326 24.1367 53.7375 24.0319 53.9472 24.0319H54.2903V22.9738C54.2903 22.764 54.3952 22.6592 54.6049 22.6592H54.8813C55.0911 22.6592 55.1959 22.764 55.1959 22.9738V24.0319H56.0348C56.2445 24.0319 56.3493 24.1367 56.3493 24.3464V24.4704C56.3493 24.6801 56.2445 24.7849 56.0443 24.7849H55.1959V26.9297C55.1959 27.6065 55.501 27.9688 56.111 28.0164C56.235 28.0355 56.3207 28.0641 56.3684 28.1022C56.4161 28.1499 56.4447 28.2261 56.4447 28.331V28.5312C56.4447 28.7409 56.3112 28.8457 56.0634 28.8457C55.5486 28.8457 55.1197 28.7028 54.7765 28.3977C54.4333 28.0927 54.2713 27.6542 54.2713 27.0727ZM56.9584 26.3959C56.9584 25.6428 57.1776 25.0328 57.6352 24.5657C58.0927 24.1081 58.6647 23.8698 59.3701 23.8698C60.0183 23.8698 60.5331 24.0891 60.8953 24.5085C61.2575 24.9279 61.4482 25.4808 61.4482 26.1671C61.4482 26.2625 61.41 26.3387 61.3528 26.3959C61.2956 26.4626 61.2194 26.4912 61.1241 26.4912H57.9021C57.9212 27.006 58.0927 27.4063 58.4168 27.6923C58.7314 27.9783 59.1127 28.1213 59.5703 28.1213C59.9897 28.1213 60.3805 27.9974 60.7237 27.74C60.9143 27.6447 61.0573 27.6733 61.1527 27.8448L61.2385 27.9878C61.3433 28.1689 61.3147 28.3119 61.1431 28.4073C60.6474 28.7504 60.1041 28.922 59.5131 28.922C58.76 28.922 58.1499 28.6837 57.6733 28.2071C57.1967 27.7305 56.9584 27.1204 56.9584 26.3959ZM57.9402 25.8812H60.5235C60.5045 25.4713 60.3901 25.1567 60.1708 24.9279C59.9516 24.7087 59.6751 24.5943 59.351 24.5943C58.9888 24.5943 58.6838 24.7087 58.4264 24.9374C58.1595 25.1662 57.9974 25.4808 57.9402 25.8812ZM62.4579 28.493V24.2988C62.4579 24.0891 62.5627 23.9842 62.7724 23.9842H63.0393C63.2491 23.9842 63.3539 24.0891 63.3539 24.2988V24.8516L63.3253 25.2139H63.3444C63.4588 24.8707 63.6399 24.5657 63.9068 24.3178C64.1737 24.07 64.4787 23.9461 64.8219 23.9461C65.0221 23.9461 65.1269 24.0509 65.1269 24.2606V24.5275C65.1269 24.7373 65.0126 24.8421 64.7838 24.8421C64.3358 24.8421 63.9926 25.0423 63.7447 25.4427C63.4969 25.843 63.3825 26.3006 63.3825 26.8153V28.493C63.3825 28.7028 63.2777 28.8076 63.0679 28.8076H62.7724C62.5627 28.8
87076 62.4579 28.7028 62.4579 28.493ZM65.4298 26.3959C65.4298 25.6333 65.63 25.0232 66.0399 24.5657C66.4403 24.1081 66.9646 23.8698 67.6128 23.8698C67.8129 23.8698 68.0036 23.8984 68.1847 23.9556C68.3658 24.0128 68.5088 24.0891 68.6232 24.1653C68.7281 24.2511 68.8234 24.3369 68.8996 24.4132C68.9759 24.4894 69.0236 24.5561 69.0617 24.6133L69.1094 24.6991H69.1284C69.1094 24.6038 69.0998 24.4989 69.0998 24.375V22.3923C69.0998 22.1826 69.2047 22.0777 69.4144 22.0777H69.7099C69.9196 22.0777 70.0245 22.1826 70.0245 22.3923V28.493C70.0245 28.7028 69.9196 28.8076 69.7099 28.8076H69.4621C69.2523 28.8076 69.1475 28.7123 69.1475 28.5121V28.2357L69.1665 27.9974H69.1475C69.1284 28.026 69.1094 28.0641 69.0903 28.1022C69.0712 28.1403 69.014 28.2166 68.9282 28.3215C68.8329 28.4263 68.7376 28.5216 68.6232 28.5979C68.5088 28.6837 68.3658 28.76 68.1752 28.8267C67.9845 28.8934 67.7748 28.922 67.5556 28.922C66.9074 28.922 66.3831 28.6932 66.0018 28.2261C65.6205 27.7686 65.4298 27.1585 65.4298 26.3959ZM66.3735 26.3959C66.3735 26.9202 66.4975 27.3396 66.7453 27.6542C66.9931 27.9688 67.3268 28.1213 67.7367 28.1213C68.1275 28.1213 68.4611 27.9783 68.7281 27.6923C68.995 27.4063 69.1284 26.9679 69.1284 26.3864C69.1284 25.9288 69.0045 25.5285 68.7662 25.1853C68.5279 24.8516 68.1942 24.6801 67.7557 24.6801C67.3554 24.6801 67.0313 24.8421 66.7644 25.1472C66.4975 25.4522 66.3735 25.8716 66.3735 26.3959ZM70.9758 27.4921C70.9758 27.2062 71.0425 26.9583 71.1855 26.7486C71.3189 26.5389 71.4905 26.3768 71.6907 26.2625C71.8909 26.1481 72.1292 26.0623 72.4152 25.9955C72.6916 25.9288 72.9395 25.8812 73.1587 25.8621C73.378 25.843 73.6067 25.8335 73.8546 25.8335H74.1024V25.7096C74.1024 25.0042 73.7497 24.6515 73.0539 24.6515C72.6916 24.6515 72.3294 24.7563 71.9672 24.9565C71.7765 25.0518 71.6335 25.0137 71.5382 24.8421L71.4619 24.7087C71.3571 24.518 71.3952 24.375 71.5668 24.2797C72.0434 24.0128 72.5677 23.8698 73.1301 23.8698C73.7307 23.8698 74.1977 24.0319 74.5314 24.356C74.8555 24.6801 75.0271 25.1472 75.0271 25.7572V28.493C75.0271 28.7028 74.9222 28.8076 74.7125 28.8076H74.4742C74.2645 28.8076 74.1596 28.7028 74.1596 28.493V28.2071L74.1882 27.9116H74.1691C74.1501 27.9402 74.131 27.9783 74.112 28.026C74.0834 28.0736 74.0262 28.1499 73.9308 28.2643C73.8355 28.3787 73.7402 28.4835 73.6353 28.5693C73.5209 28.6646 73.378 28.7409 73.1873 28.8171C72.9967 28.8934 72.806 28.922 72.5963 28.922C72.1483 28.922 71.767 28.7981 71.4524 28.5312C71.1283 28.2738 70.9758 27.9306 70.9758 27.4921ZM71.91 27.4159C71.91 27.6256 71.9862 27.8067 72.1483 27.9592C72.3008 28.1117 72.52 28.188 72.806 28.188C73.1873 28.188 73.4923 28.0355 73.7402 27.7114C73.988 27.3968 74.112 27.0441 74.112 26.6533V26.4436H73.8641C72.5582 26.4436 71.91 26.7677 71.91 27.4159ZM76.2911 28.493V24.2988C76.2911 24.0891 76.3959 23.9842 76.6057 23.9842H76.8726C77.0823 23.9842 77.1871 24.0891 77.1871 24.2988V24.7277L77.1585 25.0042H77.1776C77.3015 24.7087 77.5208 24.4418 77.8353 24.213C78.1499 23.9842 78.4931 23.8698 78.8553 23.8698C79.6465 23.8698 80.1327 24.2416 80.3042 24.966H80.3233C80.4568 24.6705 80.6855 24.4132 81.0001 24.1939C81.3052 23.9842 81.6483 23.8698 82.0296 23.8698C82.573 23.8698 82.9733 24.0223 83.2307 24.3274C83.4881 24.6324 83.6215 25.0995 83.6215 25.7191V28.493C83.6215 28.7028 83.5167 28.8076 83.307 28.8076H83.0115C82.8017 28.8076 82.6969 28.7028 82.6969 28.493V25.9193C82.6969 25.538 82.6302 25.2329 82.5158 25.0232C82.4014 24.8135 82.1726 24.7087 81.8485 24.7087C81.4195 24.7087 81.0764 24.8993 80.8095 25.2711C80.5426 25.6428 80.4186 26.0718 80.4186 26.558V28.493C80.4186 28.7028 80.3138 28.8076 80.1136 28.8076H79.8086C79.5988 28.8076 79.5035 28.7028 79.5035 28.493V25.9193C79.5035 25.538 79.4463 25.2425 79.3319 25.0328C79.2175 24.8231 78.9983 24.7087 78.6647 24.7087C78.2262 24.7087 77.883 24.8993 77.6161 25.2711C77.3492 25.6524 77.2157 26.0813 77.2157 26.558V28.493C77.2157 28.7028 77.1109 28.8076 76.9012 28.8076H76.6057C76.3959 28.8076 76.2911 28.7028 76.2911 28.493ZM87.3806 26.4245V22.3923C87.3806 22.1826 87.4855 22.0777 87.6952 22.0777H88.0097C88.2099 22.0777 88.3148 22.1826 88.3148 22.3923V26.415C88.3148 26.9297 88.4673 27.3301 88.7723 27.6161C89.0774 27.9116 89.4968 28.0546 90.0211 28.0546C90.5358 28.0546 90.9553 27.9116 91.2603 27.6161C91.5653 27.3301 91.7274 26.9202 91.7274 26.4054V22.3923C91.7274 22.1826 91.8323 22.0777 92.042 22.0777H92.3565C92.5663 22.0777 92.6711 22.1826 92.6711 22.3923V26.4245C92.6711 27.1776 92.4233 27.7781 91.9371 28.2357C91.451 28.6932 90.8123 28.922 90.0306 28.922C89.2299 28.922 88.5912 28.6932 88.1051 28.2357C87.6189 27.7781 87.3806 27.1776 87.3806 26.4245ZM94.0895 28.4835L94.5852 22.3732C94.6043 22.1826 94.7091 22.0777 94.9093 22.0777H95.3383C95.5098 22.0777 95.6338 22.1635 95.691 22.3256L97.1494 25.7191L97.4831 26.6247H97.5021C97.6165 26.272 97.7214 25.9669 97.8262 25.7191L99.2847 22.3256C99.3419 22.1635 99.4563 22.0777 99.6374 22.0777H100.066C100.257 22.0777 100.371 22.1826 100.39 22.3732L100.886 28.4835C100.896 28.7028 100.791 28.8076 100.581 28.8076
87H100.276C100.076 28.8076 99.971 28.7123 99.952 28.5026L99.6469 24.5657L99.6279 23.5743H99.6088C99.4658 23.9937 99.3419 24.3178 99.2466 24.5657L98.0074 27.3492C97.9406 27.5207 97.8167 27.597 97.6451 27.597H97.3305C97.1494 27.597 97.0255 27.5207 96.9683 27.3492L95.7291 24.5657L95.3669 23.5552H95.3478C95.3573 23.9556 95.3478 24.2988 95.3287 24.5657L95.0237 28.5026C95.0046 28.7123 94.8998 28.8076 94.7091 28.8076H94.3946C94.1753 28.8076 94.0704 28.7028 94.0895 28.4835ZM101.932 25.4045C101.932 24.4227 102.247 23.6029 102.895 22.9452C103.534 22.297 104.353 21.9633 105.354 21.9633C106.212 21.9633 106.956 22.2016 107.585 22.6592C107.728 22.7736 107.747 22.9261 107.642 23.0977L107.518 23.2883C107.404 23.4599 107.261 23.479 107.08 23.3646C106.546 23.0119 105.983 22.8308 105.392 22.8308C104.63 22.8308 104.02 23.0786 103.572 23.5648C103.124 24.0605 102.904 24.6705 102.904 25.395C102.904 26.1385 103.133 26.7677 103.591 27.2824C104.048 27.7972 104.649 28.0546 105.402 28.0546C106.05 28.0546 106.66 27.8353 107.232 27.3968C107.404 27.2634 107.547 27.2824 107.671 27.4349L107.814 27.6256C107.928 27.7876 107.918 27.9306 107.766 28.0641C107.08 28.636 106.279 28.922 105.373 28.922C104.344 28.922 103.515 28.5884 102.885 27.9211C102.247 27.2538 101.932 26.415 101.932 25.4045Z" fill="white"/>
88<path fill-rule="evenodd" clip-rule="evenodd" d="M13.1621 13.1953V18.3106C13.1621 20.2723 13.5043 21.1723 14.1494 21.7067C14.5161 22.0104 14.9808 22.2136 15.5367 22.4079V17.8407C15.5133 15.9373 14.5854 14.2521 13.1621 13.1953Z" fill="#FEFEFE"/>
89<path fill-rule="evenodd" clip-rule="evenodd" d="M18.6461 13.1953V18.3106C18.6461 20.2723 18.3041 21.1723 17.659 21.7067C17.2921 22.0104 16.8276 22.2136 16.2715 22.4079V17.8407C16.2951 15.9373 17.2228 14.2521 18.6461 13.1953Z" fill="#FEFEFE"/>
90<mask id="mask0_712_1981" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="10" y="12" width="12" height="14">
91<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0195 12.0518H21.7881V25.5173H10.0195V12.0518Z" fill="white"/>
92</mask>
93<g mask="url(#mask0_712_1981)">
94<path fill-rule="evenodd" clip-rule="evenodd" d="M15.9039 25.5173C19.1482 25.5173 21.7882 22.9357 21.7882 19.5375V12.0518C20.935 12.1028 20.1313 12.336 19.4146 12.7128V18.8935C19.4146 22.997 16.4527 23.1397 15.9039 23.1397C15.3553 23.1397 12.3931 22.9907 12.3931 18.8935V12.7128C11.6764 12.336 10.8727 12.1028 10.0195 12.0518V19.5375C10.0195 22.9357 12.6596 25.5173 15.9039 25.5173Z" fill="#FEFEFE"/>
95</g>
96<mask id="mask1_712_1981" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="14" y="10" width="4" height="6">
97<path fill-rule="evenodd" clip-rule="evenodd" d="M14.1719 10.9521H17.6353V15.034H14.1719V10.9521Z" fill="white"/>
98</mask>
99<g mask="url(#mask1_712_1981)">
100<path fill-rule="evenodd" clip-rule="evenodd" d="M15.9035 15.0341C16.3207 14.1898 16.9134 13.448 17.6353 12.8571C17.2044 12.1017 16.6124 11.4501 15.9035 10.9521C15.1946 11.4501 14.6028 12.1017 14.1719 12.8571C14.8936 13.448 15.4866 14.1898 15.9035 15.0341Z" fill="#FEFEFE"/>
101</g>
102<circle cx="15.8459" cy="17.8273" r="13.0951" stroke="white" stroke-width="1.5406"/>
103</g>
104</svg>
105`;var s=c(G()),Hs="45b323bf413eb968a74364c533e77fc2a1c8c5658e3173fad265403f1819eeb2",cs="73e4964b5efde6ca2312a3f4986cece5d31a9a612d1c4b390ea274298fff0558",Gs="3d2079d06a54ef936f2f8e0f31ed2f7b6697707e14df3983f7a64ea92c90230f",rs="f6d269ffe9882ac95f3e96e1590f448f5bef2ff5b076cdae432e14b18556d22a",xs="19ed534a201abeb1c5aa5876e7782c5697da04ed09b55a52b885dbc6268ca9b7",Es="73e9451c321a03342ecf57c3c1fe7208f390e238902c0825b0e104667003f863",ks="93ccfbe85cf75c7e8d4ea8b17529570ee2ab0
105adcac9b58cc0c3184effc9430f7",Xs="23a124c89afa695fe7b6828a6f2a18c3d3e79b4aa9724e99b26899666d2a0bb1",FE="200c5fe28f7e2ae50e03a3a61354b7a984fa37d8975681d9605660e9f5767bb8",aE="93da576a63ecd7c71345cb8945c9eda5e65551463b5cc946f8cd437468a00859",hs="9d03a1a84ea2e19d58dc564f7369821cd7d9216dc6033bdcca9c5731e24c8aa1",As="3a111f811e286e5f8f8dee88e97949f5f17807a743c9ec94c853ab82a8477d00",CE=({language:V,isLoggedIn:U})=>({calculation:{label:{nl:"Rekentools",en:"Calculation tools"}},loggedInState:{loggedIn:{nl:"Ingelogd",en:"Logged in"},notLoggedIn:{nl:"Niet ingelogd",en:"Not logged in"},logInBelow:{nl:"Log in onder aan de huidige pagina",en:"Log in below the current page"}},informatie:{pageNavigation:{buttonText:{nl:"Menu",en:"Menu",se:"Meny",de:"Men\xFC"},pages:[{title:{nl:"Introductie",en:"Introduction",se:"",de:""},link:X.app.informatie({language:V}),i18nKey:"introductie"},{title:{nl:"Diagnose",en:"Diagnosis",se:"",de:""},link:X.app.informatie.topiclijst({language:V}),i18nKey:"topiclijst"},{title:{nl:"Diagnostische testen",en:"Diagnostic tests",se:"",de:""},link:X.app.informatie.diagnostischetesten({language:V}),i18nKey:"diagnostischetesten"},{title:{nl:"Behandeling",en:"Treatment",se:"",de:""},link:X.app.informatie.behandeling({language:V}),i18nKey:"behandeling"},{title:{nl:"Samen beslissen",en:"Shared decision-making",se:"",de:""},link:X.app.informatie.diagnostiek({language:V}),i18nKey:"diagnostiek"},{title:{nl:"Helder in Gesprek",en:"Helder in Gesprek",se:"",de:""},link:X.app.informatie.helderInGesprek({language:V}),i18nKey:"helderInGesprek"},{title:{nl:"Rekentools",en:"Calculation tools",se:"",de:""},link:X.app.informatie.kansBerekenen({language:V}),i18nKey:"kansBerekenen"},{title:{nl:"Veelgestelde vragen",en:"Frequently asked questions",se:"",de:""},link:X.app.informatie.veelgesteldevragen({language:V}),i18nKey:"veelgesteldevragen"},{title:{nl:"Meedoen aan onderzoek",en:"Participate in research",se:"",de:""},link:X.app.informatie.meedoenaanonderzoek({language:V}),i18nKey:"meedoenaanonderzoek"},{title:{nl:"Over ADappt",en:"About ADappt",se:"Om ADappt",de:"\xDCber ADappt"},link:X.app.informatie.overons({language:V}),i18nKey:"overons"},{title:{nl:"Contact",en:"Contact",se:"",de:""},link:X.app.informatie.contact({language:V}),i18nKey:"contact"}]},contact:{title:{nl:"Contact",en:"Contact",se:"Kontakt",de:"Kontakt"},intro:{nl:`De ADappt rekentools zijn momenteel beschikbaar voor inzage voor zorgverleners. <a href='${X.app.tools({language:V})}'>Hier</a> kunt u inloggegevens aanvragen. Heeft u vragen over ADappt? Vult u dan onderstaand contactformulier in.`,en:`The ADappt risk calculation tools are currently only available for viewing by healthcare providers. Would you like to try out the tools? <a href='${X.app.tools({language:V})}'>Here</a> you can request login credentials. Do you have questions concerning the ADappt website? You can reach out to us using the contact form below.`,se:"",de:""},formSent:{nl:"Bedankt voor uw bericht, wij zullen dit zo spoedig mogelijk in behandeling nemen.",en:"Thank you for your message, we will handle this as soon as possible.",se:"Tack f\xF6r ditt meddelande, vi kommer att behandla det s\xE5 snabbt som m\xF6jligt.",de:"Danke f\xFCr Ihre Nachricht; Sie erhalten so bald wie m\xF6glich eine Antwort von uns."},form:{serverError:{nl:"Er is iets mis gegaan, probeer het later opnieuw",en:"Something went wrong, please try again later",se:"N\xE5got gick fel, f\xF6rs\xF6k igen senare",de:"Es ist ein Problem aufgetreten; bitte versuchen Sie es sp\xE4ter noch einmal."},name:{label:{nl:"Naam",en:"Name",se:"Namn",de:"Das ADappt-Risikovorhersage-Tool steht derzeit medizinischen Fachkr\xE4ften und anderen interessierten Kreisen zur Ansicht zur Verf\xFCgung. Anmeldedaten k\xF6nnen hier angefordert werden. Haben Sie Fragen zu ADappt? F\xFCllen Sie das untenstehende Kontaktformular aus."},placeholder:{nl:"Jouw naam hier",en:"Your name",se:"Ditt namn h\xE4r",de:"Hier den Namen ausf\xFCllen"}},email:{label:{nl:"E-mail",en:"Email",se:"E-post",de:"E-Mail"},placeholder:{nl:"Jouw e-mailadres",en:"Your email adress",se:"Din e-postadress",de
105:"Ihre E-Mail-Adresse"},validation:{nl:"Voer alstublieft een geldig e-mailadres in",en:"Please provide a valid email address",se:"Ange en giltig e-postadress",de:"Bitte geben Sie eine g\xFCltige E-Mail-Adresse an"}},message:{label:{nl:"Vraag of bericht",en:"Question or message",se:"Fr\xE5ga eller meddelande",de:"Frage oder Nachricht"},placeholder:{nl:"Je kan hier een bericht schrijven",en:"You can type a message here",se:"H\xE4r kan du skriva ett meddelande",de:"Hier k\xF6nnen Sie eine Nachricht schreiben"}},button:{text:{nl:"Versturen",en:"Send",se:"Skicka",de:"Abschicken"}}}},introductie:{title:{nl:"Introductie",en:"Introduction",se:"",de:""},subtitle:{nl:"Wat is ADappt?",en:"What is ADappt?",se:"",de:""},intro:{nl:"ADappt is een website met informatie voor zorgverleners die werken op een geheugenpoli en voor mensen die een geheugenpoli bezoeken als pati\xEBnt of naaste. Het doel van ADappt is om zorgverleners, pati\xEBnten en naasten te helpen om betekenisvolle gesprekken te voeren over diagnose en behandeling van de ziekte van Alzheimer. Op ADappt staan ook enkele hulpmiddelen, oftewel 'tools', om deze gesprekken te ondersteunen.",en:"ADappt is a website for healthcare providers who work in memory clinics and for people who visit memory clinics, whether as a patient or a loved one. The goal of ADappt is to help healthcare providers, patients and their families enter into meaningful discussions about the diagnosis and treatment of Alzheimer's disease. ADappt also offers several tools that help support these discussions.",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Benieuwd hoe ADappt werkt? Bekijk dan onderstaande instructievideo.",en:"Curious to see how ADappt works? Watch the instructional video below (in Dutch).",se:"",de:""}},{type:J.VIDEO,id:{nl:aE,en:aE,se:"",de:""}}]},topiclijst:{title:{nl:"Diagnose",en:"Diagnosis",se:"",de:""},subtitle:{nl:"Wat kunnen patienten en naasten verwachten?",en:"What can patients and their families expect?",se:"",de:""},intro:{nl:"Op de geheugenpoli wisselen zorgverleners, pati\xEBnten en naasten veel informatie uit. Twee belangrijke gesprekken rondom de diagnose zijn het eerste gesprek op de poli en het uitslaggesprek waarin testresultaten en de diagnose worden gedeeld. In twee handige video's leggen wij uit wat pati\xEBnten en naasten kunnen verwachten van hun eerste afspraak op de poli en het uitslaggesprek.",en:"At the memory clinic, healthcare providers, patients and their families exchange a lot of information. Two important discussions dealing with the diagnosis are the first meeting at the clinic and the results meeting, where test results and the diagnosis are shared. We explain what patients and their families can expect at their first appointment at the clinic and at the results meeting in the following videos:",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"De onderzoeken op de geheugenpoli",en:"The first appointment",se:"",de:""}},{type:J.VIDEO,id:{nl:Hs,en:cs,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Het uitslaggesprek op de geheugenpoli",en:"The results meeting",se:"",de:""}},{type:J.VIDEO,id:{nl:Gs,en:rs,se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"Hoe kunnen pati\xEBnten en naasten zich voorbereiden?",en:"How can patients and their loved ones prepare?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Voor pati\xEBnten en naasten ontwikkelden we een gesprekswijzer. Dat is een lijst met voorbeeldvragen die zij kunnen downloaden en meenemen naar hun afspraken op de poli. Dit helpt om de gesprekken met de arts of andere zorgverlener thuis al voor te bereiden en als geheugensteun. Er is ook ruimte om eigen vragen op te schrijven.",en:"We have created a conversation guide for patients and their families. This is a list of sample questions which people can download and take with them to their clinic appointments. Information in the guide helps patients to prepare for the discussion with their doctor and other healthcare provider. The guide works as a memory aid and there is space to write down other questions.",se:"",de:""}},{type:J.BUTTONLINK,targetBlank:!0,label:{nl:"Klik hier om de gesprekswijzer te downloaden",en:"
105Click here to download the conversation guide",se:"",de:""},href:{nl:"/files/Gesprekswijzer_NED.pdf",en:"/files/Gesprekswijzer_ENG.pdf",se:"",de:""}}]},{title:{nl:"Waarop zijn deze hulpmiddelen gebaseerd?",en:"What are these tools based on?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:`De video's en de gesprekswijzer voor pati\xEBnten en naasten zijn ontwikkeld op basis van wetenschappelijk onderzoek waarin zorgverleners, pati\xEBnten en naasten werd gevraagd wat zij belangrijke informatie vinden om te bespreken op de geheugenpoli. In dat onderzoek kwamen 17 onderwerpen naar voren. Informatie over de topiclijst vindt u <a href='${X.app.informatie.overons({language:V})}'>hier</a>.`,en:`The videos and conversation guide for patients and families are based on a study where healthcare providers, patients and their loved ones were asked what kind of information they find important to discuss at the memory clinic. That study identified 17 topics. Background information about this list of topics can be found <a href='${X.app.informatie.overons({language:V})}'>here</a>.`,se:"",de:""}}]}]}]},diagnostischetesten:{title:{nl:"Diagnostische testen",en:"Diagnostic tests",se:"",de:""},intro:{nl:"Diagnostische testen bieden meer inzicht in de symptomen en/ of in het onderliggende ziekteproces. Hier vindt u een overzicht van veelvoorkomende testen op de geheugenpoli met mogelijke voor- en nadelen van elke test. We hebben geprobeerd dit zo te verwoorden dat het voor (uw) pati\xEBnten en naasten begrijpelijk is.",en:"Diagnostic tests shed light on symptoms and/ or the processes underlying a medical condition. The main tests available at the memory clinic and their pros and cons are described below. The information is intended to be understandable for (your) patients and their loved ones.",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<h2>In het algemeen</h2>",en:"<h2>In general</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong> Diagnostische testen bieden meer kennis over symptomen en/of het onderliggende ziekteproces. Diagnostische tests vraag je aan omdat je wilt weten wat er aan de hand is.",en:"<strong>Why:</strong> Diagnostic tests provide information about symptoms and/ or the processes underlying a medical condition. Diagnostic tests are arranged when we want to know more about what's wrong.",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,title:{nl:"De uitslag van een test",en:"Test results can",se:"",de:""},content:[{type:J.TEXT,text:{nl:"kan helpen bij het inrichten van zorg en medicatie",en:"Help us decide what care and medication are appropriate (e.g. what special care is indicated)",se:"",de:""}},{type:J.TEXT,text:{nl:"kan gerust stellen",en:"Provide reassurance",se:"",de:""}},{type:J.TEXT,text:{nl:"kan een verklaring geven voor symptomen",en:"Explain symptoms",se:"",de:""}},{type:J.TEXT,text:{nl:"kan een inschatting van de prognose/het beloop geven",en:"Tell us more about the prognosis / how the patient's symptoms are likely to progress",se:"",de:""}},{type:J.TEXT,text:{nl:"biedt de kans om deel te nemen aan wetenschappelijk onderzoek.",en:"Enable participation in scientific research",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,title:{nl:"Aanvullend onderzoek kan belastend zijn, bijvoorbeeld door extra ziekenhuisbezoeken. En, ondanks de uitslag van een test:",en:"Further testing can be a burden, for example, extra hospital visits may be needed. Also, even with the test results:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"blijft er sprake van onzekerheid, zeker als er nog geen sprake is van dementie",en:"the picture may remain unclear, especially if there are no clear signs of dementia at the moment",se:"",de:""}},{type:J.TEXT,text:{nl:"is er nog geen behandeling die de ziekte stopt of geneest",en:"there is no cure or treatment for the underlying disease yet",se:"",de:""}}]}]}},{type:J.ACCORDION,items:[{title:{nl:"Neuropsychologisch onderzoek",en:"Neuropsychological testing",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong> Bij dementie gaat het denkvermogen achteruit. Met het neuropsychologisch onderzoek kijken we naar hoe het gaat met het denken, bijvoorbeeld het geheugen, de taal, het overzicht houden of het plannen en organiseren. Het neuropsychologisch onderzoek bestaat uit een serie testen met opdrachten of vragen. Sommige opdrachten/vragen zijn makkelijk, andere moeilijk. Er is niemand die alles goed heeft. We vragen altijd meer dan u kunt, zodat we precies weten wat uw niveau is. We vergelijken hierbij uw prestatie met iemand van uw leeftijd, geslacht en hetzelfde opleidingsniveau.",en:"<strong>Why:</strong> In dementia, thinking ability declines. Neuropsychological tests provide information about aspects of thinking ability, such as memory, language, planning and organizing. Neuropsychological testing involves performing a series of tasks and answering questions. Some tasks and questions are easy, others aren't. No one gets everything right. To show what level you're at, the tasks and questions have to include some that are too hard for you. Your performance will be compared with what's normal for someone of your age, sex and educational background.",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Hiermee weten we precies wat er mis gaat met het denken ('cognitieve functies'). Bijvoorbeeld: Is de vergeetachtigheid erger dan verwacht voor iemand van uw leeftijd? U heeft geheugenklachten, komt dit door het geheugen of is het een concentratieprobleem?",en:"We'll get a clear picture of the problems you have with thinking (your 'cognitive functions'). For example: Is your forgetfulness worse than normal for someone of your age? Do you forget things because you have a memory problem, or a concentration problem?",se:"",de:""}},{type:J.TEXT,text:{nl:"Het neuropsychologisch onderzoek meet of er sprake is van dementie. En het meet ook de ernst daarvan: milde, matige of ernstige dementie.",en:"Neuropsychological testing shows whether you have dementia, and, if so, how serious it is.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Sommige pati\xEBnten ervaren het neuropsychologisch onderzoek als confronterend, want ze merken wat er niet goed gaat.",en:"Some people find neuropsychological testing unpleasant, because they are confronted with their problems.",se:"",de:""}},{type:J.TEXT,text:{nl:"Omdat het testonderzoek vrij lang duurt, is het voor sommige mensen vermoeiend.",en:"The tests take quite a long time, so some people find them tiring.",se:"",de:""}}]}]}},{type:J.IMAGE,src:eE}]},{title:{nl:"Beeldvorming (MRI/CT)",en:"Imaging (MRI/CT)",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong> Een scan van de hersenen wordt standaard gedaan in de dementiediagnostiek. Met een MRI of CT scan kunnen we de hersenen zien. We kunnen behandelbare aandoeningen uitsluiten. Ook kunnen we kenmerken van dementie zien, zoals hersenkrimp of slijtage van de bloedvaten.",en:"<strong>Why:</strong> A brain scan is a standard part of diagnostic testing for dementia. An MRI or CT scan provides an image of the brain. By studying the image, we can rule out the possibility of treatable conditions. A scan can also show signs of dementia, such as brain shrinkage and deterioration of the blood vessels.",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Opsporen van behandelbare aandoeningen, zoals een hersentumor, een herseninfarct of een hersenbloeding.",en:"Treatable conditions - brain tumor, stroke, bleeding - can be detected.",se:"",de:""}},{type:J.TEXT,text:{nl:"Kenmerken van dementie opsporen.",en:"Signs of dementia can be detected.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een MRI laat meer details zien dan een CT.",en:"An MRI scan gives a more detailed picture than a CT scan.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Een pati\xEBnt moet \xB1 30 min stil liggen voor een MRI scan.",en:"Having an MRI scan means lying still for about half an hour.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een MRI scan wordt door sommige pati\xEBnten als spannend of belastend ervaren, bijvoorbeeld bij claustrofobie.",en:"Some patients find MRI scans stressful or difficult, e.g. be
105cause they suffer from claustrophobia.",se:"",de:""}},{type:J.TEXT,text:{nl:"Je kunt niet altijd een MRI doen, bijvoorbeeld bij een pacemaker.",en:"Some people with pacemakers and certain others can't have MRI scans.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een CT is minder belastend, want het onderzoek is korter (10-15min) en het apparaat is ruimer. Ook een pacemaker is geen probleem.",en:"A CT scan is less of a burden, because it doesn't take as long (10 to 15 minutes) and you've got more space. People with pacemakers can have CT scans.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een CT laat minder details zien dan een MRI.",en:"A CT scan provides a less detailed image than an MRI scan.",se:"",de:""}}]}]}},{type:J.IMAGE,src:IE}]},{title:{nl:"Bloedtest",en:"Blood test",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"In het bloed kunnen we steeds beter eiwitten meten die een rol spelen bij hersenziektes die dementie veroorzaken. Ook de eiwitten die wijzen op de aanwezigheid van de ziekte van Alzheimer in de hersenen. Voorheen konden deze eiwitten alleen in het hersenvocht gemeten worden. Het bloed wordt afgenomen met een naald in de elleboogholte.",en:"It is becoming increasingly possible to measure proteins in the blood that play a role in brain diseases causing dementia, such as Alzheimer's disease. In the past, these proteins could only be measured in the fluid around the brain and spinal cord (cerebrospinal fluid). A blood sample is taken with a needle from a vein in your arm (usually at the inside of the elbow).",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Als de uitslag normaal is, sluit dit de ziekte van Alzheimer uit. Mensen met een normale uitslag kunnen wel een andere vorm van dementie hebben.",en:"A normal result rules out Alzheimer's disease. However, people with a normal result may still have another type of dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"Het afnemen van bloed duurt maar een paar minuten en is minder ingrijpend dan andere onderzoeken, zoals een ruggenprik of PET-scan.",en:"Taking blood only takes a few minutes and is less invasive than other tests, such as a lumbar puncture (spinal tap) or PET scan.",se:"",de:""}},{type:J.TEXT,text:{nl:"Veel zorgprofessionals zijn getraind in het afnemen van bloed, waardoor deze test toegankelijker is voor pati\xEBnten.",en:"Many healthcare professionals are trained to take blood samples, which makes this test more accessible for patients.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"De bloedtest all\xE9\xE9n kan geen diagnose stellen, maar het helpt dokters wel om de juiste vervolgstappen te bepalen.",en:"The blood test on its own cannot provide a diagnosis, but it helps doctors decide on the next steps.",se:"",de:""}},{type:J.TEXT,text:{nl:"De bloedtest is nog relatief nieuw, maar de ontwikkeling gaat heel snel. We weten nog niet zeker of hij even nauwkeurig is als een ruggenprik of PET-scan.",en:"This test is still quite new. Although progress is very fast, we do not yet know whether it is as reliable as a lumbar puncture (spinal tap) or a PET scan.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een afwijkende uitslag geeft nog geen zekerheid. Mensen met Alzheimer dementie hebben afwijkende eiwitten, maar mensen met afwijkende eiwitten hebben niet altijd Alzheimer dementie. Dit kan verwarrend zijn.",en:"An abnormal result does not give certainty. People with Alzheimer's dementia have abnormal proteins, but not everyone with abnormal proteins has Alzheimer's dementia. This can be confusing.",se:"",de:""}},{type:J.TEXT,text:{nl:"Mensen zonder Alzheimer eiwitten kunnen wel een andere vorm van dementie krijgen. Hiervoor zijn nog geen goede eiwitbepalingen in bloed of hersenvocht.",en:"People without Alzheimer's proteins can still have another type of dementia. At present, there are no reliable blood or spinal fluid tests for these other forms.",se:"",de:""}}
105,{type:J.TEXT,text:{nl:"Als de ziekte van Alzheimer in een vroeg stadium wordt vastgesteld, is iemand zich hier langer bewust van. Niet iedereen wil dat.",en:"Detecting Alzheimer's disease at an early stage means someone may be aware of it for longer. Not everyone wishes to know this.",se:"",de:""}}]}]}},{type:J.IMAGE,src:QE}]},{title:{nl:"Ruggenprik",en:"Lumbar puncture (spinal tap)",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong>",en:"<strong>Why:</strong>",se:"",de:""}},{type:J.IMAGEWITHTEXT,text:{nl:"In de hersenvloeistof kun je Alzheimer eiwitten bepalen, die zie je niet met MRI of CT. De aanwezigheid van Alzheimer eiwitten zegt iets over de kans op het ontwikkelen van Alzheimer dementie. Hersenvloeistof vangen we op met een ruggenprik.",en:"The presence of Alzheimer proteins increases the risk of developing dementia due to Alzheimer's disease. It doesn't show up on MRI or CT scans, but can be detected in brain fluid. A sample of brain fluid can be collected by inserting a needle into your spine (a spinal tap).",se:"",de:""},src:tE},{type:J.VIDEO,id:{nl:xs,en:Es,se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Als de uitslag normaal is, sluit dit de ziekte van Alzheimer uit. Mensen met een normale uitslag kunnen wel een andere vorm van dementie krijgen.",en:"If the result is normal, we can rule out the possibility of (current) Alzheimer's disease. However, people with normal protein levels can still develop other forms of dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"We kunnen het Alzheimer ziekteproces in de hersenen al in een vroeg stadium vaststellen.",en:"We can detect Alzheimer's disease very early.",se:"",de:""}},{type:J.TEXT,text:{nl:"Juist bij jonge mensen, waar de ziekte van Alzheimer zich anders kan uiten, geven de eiwitbepalingen duidelijkheid.",en:"Testing for proteins is particularly useful for diagnosing Alzheimer's disease in young people, because their symptoms are often different from the symptoms in older people.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"De procedure kan pijnlijk zijn en er is een kleine kans op hoofdpijn. Ernstige bijwerkingen komen eigenlijk niet voor.",en:"The procedure can be painful, and there's a small risk of getting a headache, but there's almost no risk of serious side-effects.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een afwijkende uitslag geeft nog geen zekerheid. Mensen met Alzheimer dementie hebben afwijkende eiwitten, maar mensen met afwijkende eiwitten hebben of krijgen niet altijd Alzheimer dementie. Afwijkende eiwitten betekent dat je een hoger risico hebt of het ontwikkelen van Alzheimer dementie, niet dat je zeker Alzheimer dementie krijgt. Dit kan verwarrend zijn.",en:"If abnormal protein levels are detected, that doesn't definitely indicate a problem. People with Alzheimer's dementia always have abnormal proteins, but not everyone with abnormal proteins goes on to develop Alzheimer's dementia. An abnormal result means that you are at more risk of Alzheimer's dementia, not that you are sure to develop the condition. That can lead to confusion.",se:"",de:""}},{type:J.TEXT,text:{nl:"Maar, mensen zonder Alzheimer eiwitten kunnen wel een andere vorm van dementie krijgen. Hiervoor zijn nog geen goede eiwitbepalingen.",en:"People who don't have Alzheimer proteins can still develop other forms of dementia. Reliable protein tests aren't yet available for other forms of dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"Omdat de ziekte van Alzheimer in een vroeg stadium kan worden vastgesteld, is de pati\xEBnt zich hier langer bewust van. Niet iedereen wil dat.",en:"Early detection of Alzheimer's disease can mean living with the knowledge of what's ahead for longer. Not everyone wants that.",se:"",de:""}}]}]}}]},{title:{nl:"Amylo\xEFd PET",en:"Amylo\xEFd PET",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong> Amyloid PET maakt de aanwezigheid van het Alzheimer eiwit Amyloid in de hersenen zichtbaar. Amyloid PET hoort niet tot de gebruikelijke diagnostiek. Maar in sommige gevallen kan het extra informatie geven.",en:"<strong>Why:</strong> An amyloid PET scan visualizes whether the Alzheimer protein amyloid is present in the brain. An amyloid PET scan isn't one of the standard diagnostic tests. We do these scans when extra information is wanted.",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"De ziekte van Alzhe
105imer kan uitgesloten worden, vooral als de uitslag van de amyloid PET normaal is. Pati\xEBnten met een normale uitslag kunnen wel een andere vorm van dementie krijgen.",en:"We can rule out the possibility of Alzheimer's disease, certainly if the result is normal. However, people with normal protein levels can still develop other forms of dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"We kunnen het Alzheimer ziekteproces in de hersenen al in een vroeg stadium vaststellen.",en:"We can detect Alzheimer's disease very early.",se:"",de:""}},{type:J.TEXT,text:{nl:"Je kunt met amyloid PET ook zien waar het Alzheimer eiwit in de hersenen zit.",en:"An amyloid PET scan also lets us see where Alzheimer's protein is present in the brain.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een amyloid PET scan helpt bij het onderscheid tussen Alzheimer en andere vormen van dementie.",en:"An amyloid PET scan helps us tell the difference between Alzheimer's and other forms of dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"Juist bij jonge mensen, waar Alzheimer zich anders kan uiten, geeft een amyloid PET duidelijkheid.",en:"Testing for the presence of amyloid is particularly useful for diagnosing Alzheimer's disease in young people, because their symptoms are often different from the symptoms in older people.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Een afwijkende amyloid PET betekent niet dat je dementie hebt, dit kan verwarrend zijn. Mensen met Alzheimer dementie hebben een afwijkende amyloid PET, maar mensen met een afwijkende amyloid PET hebben of krijgen niet altijd Alzheimer dementie. Een afwijkende amyloid PET betekent dat je een hoger risico hebt op het ontwikkelen van Alzheimer dementie, maar een afwijkende amyloid PET betekent niet dat je zeker Alzheimer dementie krijgt.",en:"An abnormal amyloid PET result doesn't definitely mean that you have dementia. That can lead to confusion. People with Alzheimer's dementia always have abnormal amyloid PET scans, but not everyone with an abnormal scan goes on to develop Alzheimer's dementia. An abnormal result means that you are at more risk of Alzheimer's dementia, not that you are sure to develop the condition.",se:"",de:""}},{type:J.TEXT,text:{nl:"Mensen met een normale amyloid PET kunnen wel een andere vorm van dementie krijgen.",en:"People who have normal amyloid PET scans can still develop other forms of dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"Omdat Alzheimer in een vroeg stadium kan worden vastgesteld, is de pati\xEBnt zich langer bewust van de hersenziekte. Niet iedereen wil dat.",en:"Early detection of Alzheimer's can mean living with the knowledge of what's ahead for longer. Not everyone wants that.",se:"",de:""}}]}]}},{type:J.IMAGE,src:ME}]},{title:{nl:"Consult andere specialist (neuroloog, geriater, psychiater)",en:"Further specialist consultation (neurologist, geriatrician, psychiatrist)",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong> Op de geheugenpoli werken we met verschillende specialisten samen. Die hebben ieder hun eigen aandachtsgebied.<br /><br />Neuroloog: specialist in hersenziektes, en dementie is een hersenziekte. Over het algemeen ziet de neuroloog jongere mensen.<br /><br />Geriater: specialist in ziektes op oudere leeftijd, wanneer mensen vaak meerdere ziektes tegelijk hebben.<br /><br />Psychiater: specialist in stemmingsproblemen en/of gedragsveranderingen. Deze kunnen onderdeel zijn van dementie, maar kunnen ook juist wijzen op een andere oorzaak van de klachten.",en:"<strong>Why:</strong> At the memory clinic, we have various several specialists working together. Each specialist focuses on a particular field.<br /><br />Neurologist: a specialist in brain diseases and dementia is a brain disease. Typically sees younger people.<br /><br />Geriatrician: a specialist in age-related conditions. Older people often have multiple problems at the same time.<br /><br />Psychiatrist: a specialist in mood disorders and/or behavioral changes (both dementia-related problems and problems with other causes).",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Maatwerk: afhankelijk van de klachten die bij de individuele pati\xEBnt op de voorgrond staan, past de ene specialist beter dan de andere.",en:"Tailoring: the specialist support can be matched to the individual patient's main problems.",se:"",de:""}},{type:J.TEXT,text:{nl:"Twee paar ogen zien meer dan \xE9\xE9n: iedere specialist brengt eigen expertise mee. Soms werken twee of meer specialisten standaard samen. Soms vragen specialisten elkaar in consult als er specifieke aanleiding voor is.",en:"A second pair of eyes: another specialist will use different expertise when looking at a case. Sometimes it's the norm for two or more specialists to work together. Other times, one specialist will ask for another specialist's help with a particular problem.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Een extra bezoek kost tijd.",en:"Seeing more physicians takes more time.",se:"",de:""}}]}]}}]}
105,{title:{nl:"Consult met een klinisch geneticus",en:"Consultation with a clinical geneticist",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:`<strong>Waarom:</strong> Bij een heel klein gedeelte (<3%) van de pati\xEBnten wordt dementie veroorzaakt door \xE9\xE9n erfelijke afwijking. De klinisch geneticus kan hier informatie over geven en onderzoeken of er sprake is van zo'n zeldzame erfelijke vorm van dementie. Als u in aanmerking komt voor DNA-onderzoek, dan bepaalt u zelf of u dit wilt doen en wanneer. Voor het consult met de klinisch geneticus hoeft u nog niet te weten of u zich wilt laten testen. Met <a href="https://www.keuzehulp-dna-onderzoek.nl/" target="_blank">www.keuzehulp-dna-onderzoek.nl</a> kunt u uw overwegingen op een rij zetten.`,en:"<strong>Why:</strong> Very occasionally (in less than 3 per cent of people) dementia is caused by an inherited ('genetic') abnormality. A clinical geneticist can look into that possibility and provide related information. If genetic testing is relevant for you, the decision about whether and when to go ahead will be yours. You can see a clinical geneticist before you've decided whether you want a DNA test. For Dutch people, visiting <a href='https://www.keuzehulp-dna-onderzoek.nl/' target='_blank'>www.keuzehulp-dna-onderzoek.nl</a> can help you decide what you want to do.",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Geeft meer informatie over de erfelijkheid van de ziekte, medische controles en begeleiding.",en:"Provides information about dementia with an inherited cause, medical checks and counselling.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een consult met een klinisch geneticus heeft geen gevolgen voor uw verzekering of hypotheek.",se:"",de:""}},{type:J.TEXT,text:{nl:"Als u besluit tot DNA-onderzoek, geeft dit u duidelijkheid over of het afwijkende gen aanwezig is of niet. Dit kan van belang zijn voor belangrijke besluiten, bijvoorbeeld qua relatie, werk of het krijgen van kinderen.",en:"If you decide to have a DNA test, you will know whether you have the relevant abnormal gene. That may be useful when making decisions about important things such as relationships, work and having children.",se:"",de:""}},{type:J.TEXT,text:{nl:"Als u besluit tot DNA-onderzoek, en er geen erfelijke oorzaak of afwijkend gen wordt gevonden is dit vaak een geruststelling.",en:"If you decide to have a DNA test and no hereditary cause or abnormal gene is found, this is often reassuring.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"In het overgrote deel van de gevallen vinden we geen afwijkend gen.",en:"In the great majority of cases, no abnormality is detected.",se:"",de:""}},{type:J.TEXT,text:{nl:"Sommige mensen die de aanleg niet blijken te hebben, kunnen zich schuldig voelen tegenover familieleden die de aanleg wel hebben.",en:"Some people who don't have an abnormality feel guilty that they are clear, while loved ones are not.",se:"",de:""}},{type:J.TEXT,text:{nl:"Als u besluit tot DNA-onderzoek, en er een erfelijke oorzaak of afwijkend gen wordt gevonden kan dit een belasting zijn voor familieleden.",en:"If you decide to have a DNA test and a hereditary cause or an abnormal gene is found, this can be a burden on family members.",se:"",de:""}}]}]}}]},{title:{nl:"Afwachtend beleid",en:"Watchfull waiting",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<strong>Waarom:</strong> De diagnostische testen hebben meestal geen gevolgen voor de behandeling. De ziekte van Alzheimer en dementie zijn namelijk nog niet te genezen. Je kunt er daarom ook voor kiezen om af te wachten hoe de klachten zich ontwikkelen.",en:"<strong>Why:</strong> With dementia, diagnostic test results don't usually influence treatment. Alzheimer's disease and dementia can't yet be cured, so some people prefer to simply wait and see how their symptoms develop.",se:"",de:""}},{type:J.PROSANDCONS,pros:{title:{nl:"Voordelen",en:"Pros",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Je weet niet wat de oorzaak van de klachten is. Je hoeft daardoor niet dagelijks met de wetenschap te leven dat je mogelijk Alzheimer dementie gaat ontwikkelen.",en:"You don't know 
105what's causing your problems, so you don't have to live with the knowledge that you're at risk of developing Alzheimer's dementia.",se:"",de:""}},{type:J.TEXT,text:{nl:"Een (vroegtijdige) diagnose kan nadelige praktische gevolgen hebben (bijv. niet meer mogen autorijden) of gevolgen voor hoe anderen met u of met de diagnose omgaan. Denk bijvoorbeeld aan de gevolgen voor het gezin of werk.",en:"Diagnosis, especially early diagnosis, can have adverse practical consequences. You might be told not to drive, for example. Also, other people (e.g. family and co-workers) might treat you differently, or find the diagnosis hard to deal with.",se:"",de:""}},{type:J.TEXT,text:{nl:"Zodra er wat verandert kan er altijd nog getest worden. Maar als je eenmaal getest bent en een diagnose hebt, kun je niet meer terug.",en:"If your condition changes, you can always have diagnostic tests later. But, if you undergo testing and you're diagnosed, there's no going back.",se:"",de:""}}]}]},cons:{title:{nl:"Nadelen",en:"Cons",se:"",de:""},content:[{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"De onzekerheid over of er wel of geen sprake is van een hersenziekte, kan soms nog vervelender zijn, dan het slechte nieuws te weten.",en:"Not knowing whether you have a brain disease can sometimes be worse than knowing that you do.",se:"",de:""}},{type:J.TEXT,text:{nl:"Als er geen diagnose gesteld is, kan het moeilijker zijn je voor te bereiden op wat je te wachten staat en om (tijdig) hulp in te schakelen.",en:"Without a diagnosis, it may be harder to prepare for the future or to arrange care in good time.",se:"",de:""}}]}]}}]}]}]},behandeling:{title:{nl:"Behandeling",en:"Treatment",se:"",de:""},subtitle:{nl:"Remmende medicijnen voor Alzheimer",en:"Medicines that slow the disease",se:"",de:""},intro:{nl:"Er zijn nieuwe medicijnen tegen de ziekte van Alzheimer. Deze worden in een aantal landen op de wereld al ingezet. In Nederland worden deze medicijnen nog niet vergoed. De medicijnen grijpen in op het ziekteproces waardoor ze de ziekte van Alzheimer enigszins remmen. De ziekte wordt niet gestopt. Deze medicijnen genezen de ziekte dus niet.",en:"There are new medicines against Alzheimer's disease. These are available in some countries. In the Netherlands, these medicines are not yet covered by healthcare insurance. These medicines slow progression of Alzheimer's disease. However, they do not stop the disease and are not a cure.",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Wat zijn de voordelen? Als groep gaan pati\xEBnten die deze medicijnen gebruiken minder snel achteruit in hun denkvermogen. Mogelijk kan iemand daardoor iets langer zelfstandig de dingen blijven doen die hij of zij nu kan. Het effect verschilt per persoon en dit kunnen we niet goed voorspellen.",en:"What are the advantages? On group level, patients who take these drugs experience slower loss of thinking skills. The drugs may make it possible for someone to keep doing the things they can do now for a while longer. The benefit is different for each person, and we can't yet predict all of the outcomes.",se:"",de:""}}
105,{type:J.TEXT,text:{nl:"De medicijnen hebben ook nadelen. Tijdens en na de behandeling moet de pati\xEBnt, samen met een naaste, vaak naar het ziekenhuis komen, bijvoorbeeld voor een hersenscan. Dit kost tijd en moeite. Er is ook een kans op bijwerkingen, die in enkele gevallen ernstig zijn. Hoe vaak bijwerkingen precies voorkomen, weten we nog niet. We gaan hier ervaring mee opdoen.",en:"These drugs also have disadvantages. During and after treatment, the patient has to come to the hospital with a family member or friend, for example for brain scans. This takes time and effort. There is also a risk of side-effects, which can be serious in some cases. We don't know yet exactly how often people will get side-effects. We will gain experience with this.",se:"",de:""}},{type:J.TEXT,text:{nl:"Maar een (klein) deel van de mensen met Alzheimer kan deze medicijnen krijgen. De arts stelt eerst vast of iemand in aanmerking kan komen op basis van medische omstandigheden. Dan volgt een gesprek. Hierin geeft de arts informatie over het medicijn en vertellen de pati\xEBnt en dienst naaste(n) hoe zij aankijken tegen de voor- en nadelen, en wat zij graag willen. Daarna beslissen de arts, pati\xEBnt en naaste(n) samen om wel of niet te starten met het medicijn.",en:"These drugs are not for everyone with Alzheimer's. The medical doctor will first find out whether a patient is a candidate for treatment based on their medical condition. If they are, there will be a meeting. At this meeting, the doctor will provide information about the medication. With this information the patient and loved ones can think about the pros and cons and decide what they would like to do. Then the doctor, patient and loved ones will decide whether to start treatment.",se:"",de:""}},{type:J.VIDEO,id:{nl:ks,en:Xs,se:"",de:""}},{type:J.ANCHORLINKS,title:{nl:"Snel naar",en:"Quickly to",se:"",de:""},items:[{label:{nl:"Alzheimer",en:"Alzheimer's disease",se:"",de:""},anchor:"alzheimer"},{label:{nl:"Medicijnen",en:"Treatment",se:"",de:""},anchor:"medicijnen"},{label:{nl:"Voordelen",en:"Advantages",se:"",de:""},anchor:"voordelen"},{label:{nl:"Nadelen",en:"Disadvantages",se:"",de:""},anchor:"nadelen"},{label:{nl:"Onzekerheid",en:"Uncertainty",se:"",de:""},anchor:"onzekerheid"},{label:{nl:"Samen beslissen",en:"Shared decision-making",se:"",de:""},anchor:"beslissen"}]},{type:J.SECTION,id:"alzheimer",content:[{type:J.TEXT,text:{nl:"<h2>Ziekte van Alzheimer</h2>",en:"<h2>Alzheimer's disease </h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"De ziekte van Alzheimer is een hersenziekte. Het is de meest voorkomende oorzaak van dementie. Door de ziekte gaat het denkvermogen steeds verder achteruit. Het denkvermogen noemen we ook wel de cognitieve functies. Dit zijn bijvoorbeeld het geheugen, taal, aandacht en concentratie, en logisch redeneren.",en:"Alzheimer's is a disease of the brain and is the most common cause of dementia. The disease causes a decline in thinking and reasoning skills. These skills are the brain's 'cognitive functions', and include remembering, concentrating, problem solving and language skills.",se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"Hoe gaat het ziekteproces?",en:"How does the disease progress?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Bij de ziekte van Alzheimer zijn er eiwitophopingen in de hersenen. Dit gaat om twee soorten eiwitten. E\xE9n eiwit wordt amylo\xEFd genoemd. Het andere eiwit wordt tau genoemd. Als deze eiwitten ophopen, zorgen ze voor schade aan de hersenen. Daardoor gaat het denkvermogen in de loop van de tijd steeds verder achteruit.",en:"With Alzheimer's disease, there is protein buildup in the brain. Two different kinds of proteins are involved. One is called 'amyloid' protein and the other protein is called 'tau'. The buildup of these proteins causes damage to the brain which causes a person's cognitive functions to decline.",se:"",de:""}}]},{title:{nl:"Wat is MCI?",en:"What is MCI?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"De ziekte van Alzheimer ontwikkelt zich langzaam, over een periode van vele jaren. Iemand met de ziekte van Alzhe
105imer ervaart in het begin slechts lichte problemen in het denkvermogen, bijvoorbeeld vergeetachtigheid. Doordat het denkvermogen steeds verder achteruitgaat gaat, krijgen mensen met de ziekte van Alzheimer op den duur ook moeite met dagelijkse activiteiten. In de fase waarin iemand nog veel dingen zelfstandig kan, spreken we over milde cognitieve stoornissen, of MCI, door de ziekte van Alzheimer.",en:"Alzheimer's disease develops slowly over a period of many years. Someone with Alzheimer's experiences at first only very minor problems with cognitive functioning, like becoming forgetful.  Thinking skills continue to decline, and eventually people with Alzheimer's disease have trouble successfully managing day-to-day activities. The stage when someone can still do many things independently we call mild cognitive impairment or MCI caused by Alzheimer's disease.",se:"",de:""}}]},{title:{nl:"Wat is dementie?",en:"What is dementia?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Uiteindelijk kan iemand met de ziekte van Alzheimer veel van zijn of haar normale dagelijkse activiteiten niet meer zelfstandig. In die fase spreken we over dementie door de ziekte van Alzheimer. Over de loop van de tijd nemen de problemen steeds meer toe; van milde dementie tot ernstige dementie.",en:"Eventually, someone with Alzheimer's disease can no longer manage many of their normal daily activities independently. This stage we call dementia caused by Alzheimer's disease. At the point when the problems become more and more difficult to manage; we say that someone has progressed from mild dementia to severe dementia.",se:"",de:""}}]}]}]},{type:J.SECTION,id:"medicijnen",content:[{type:J.TEXT,text:{nl:"<h2>Ziekte-remmende medicijnen</h2>",en:"<h2>Medicines that slow the disease</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Bestaande behandelingen bij de ziekte van Alzheimer, zoals de zogenaamde 'cholinesteraseremmers', verlichten mogelijk de klachten. Zij hebben geen effect op het ziekteverloop. We verwachten nieuwe medicijnen tegen de ziekte van Alzheimer die de ziekte remmen. Deze ziekte-remmende medicijnen worden in een aantal landen op de wereld al gebruikt. In Nederland nog niet, omdat deze medicijnen in Nederland nog niet worden vergoed.",en:"Existing treatments for Alzheimer's disease, such as cholinesterase inhibitors, may help ease symptoms. However, they do not stop the progression of the disease. We are expecting new drugs for Alzheimer's that do slow the disease. These disease-modifying medicines are already being used in other countries but they are not yet covered by healthcare insurance in the Netherlands.",se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"Welke Alzheimer-remmende medicijnen zijn er?",en:"What drugs are there that slow Alzheimer's disease?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Er zijn nu twee medicijnen relevant: Lecanemab (merknaam: Leqembi) en Donanemab (merknaam: Kisunla). Hun werking is ongeveer hetzelfde: ze hebben effect op het Alzheimer ziekteproces. Ze ruimen het amylo\xEFd-eiwit in de hersenen op. De verwachting is dat hierdoor de schadelijke effecten op de hersenen verminderen. De achteruitgang in het denkvermogen gaat langzamer. De medicijnen genezen de ziekte van Alzheimer niet.",en:"There are two relevant drugs: Lecanemab (Leqembi) and Donanemab (Kisunla). They slow the progression of Alzheimer's disease by clearing amyloid protein from the brain. Researchers expect this will reduce the damaging effects of protein buildup in the brain. The drugs slow down cognitive decline but do not cure Alzheimer's disease.",se:"",de:""}}]}]}]},{type:J.SECTION,id:"voordelen",content:[{type:J.TEXT,text:{nl:"<h2>Voordelen</h2>",en:"<h2>Advantages</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"De nieuwe medicijnen genezen de ziekte van Alzheimer niet. Wel is aangetoond in wetenschappelijk onderzoek dat de medicijnen het Alzheimer-eiwit amylo\xEFd kunnen opruimen. Ook zien we in wetenschappelijke onderzoeken dat de achteruitgang in het denkvermogen langzamer gaat bij de groep van mensen die de medicijnen gebruikten.",en:"These new drugs are not a cure for Alzheimer's disease, but trials showed that they can reduce the amyloid protein deposits that come with Alzhe
105imer's. Research has shown a slower rate of cognitive decline in the people who took these drugs.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Mensen die de medicijnen gebruiken gaan dus mogelijk minder snel achteruit in het denkvermogen. Mogelijk kunnen mensen hierdoor langer zelfstandig de dingen blijven doen die zij nu kunnen. Ze gaan nog wel achteruit. Dit betekent dat zij geen verbetering bemerken.",en:"It is therefore possible that those who take the drug will lose their cognitive functions less quickly. This may help people live independently for longer. These people will continue to decline, but usually more slowly. They will thus not notice any improvement.",se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"Wat zegt wetenschappelijk onderzoek?",en:"What does medical research say?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"In wetenschappelijk onderzoek zijn mensen met MCI en met milde dementie door de ziekte van Alzheimer gevolgd over een periode van 18 maanden. Een deel van de mensen kreeg het medicijn, en een ander deel niet. Over de tijd zagen de onderzoekers dat de groep van mensen die het medicijn kreeg, minder snel achteruit ging in het denkvermogen, dan de groep van mensen die het medicijn niet kreeg.",en:"In the drug trials, people with MCI and with mild dementia caused by Alzheimer's disease were tracked for a period of 18 months. One group of people took the drug, the other group did not. Over the course of the trial, researchers observed that the thinking skills of the group of people who took the drug deteriorated less quickly than those of the people who did not get any medicine.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"In het volgende voorbeeld wordt dit voordeel verder uitgelegd.",en:"The benefit for patients is further explained by the following example.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Voorbeeld:<br>Jan is 65 jaar oud en heeft last van geheugenklachten en concentratieproblemen. Ondanks zijn klachten, is Jan in het dagelijks leven nog zelfstandig. In het ziekenhuis spreekt Jan met de arts en worden er onderzoeken gedaan. Er worden afwijkingen gevonden in de twee eiwitten die wijzen op de ziekte van Alzheimer. Ook zijn er testen gedaan voor het denkvermogen. Er wordt vastgesteld dat Jan milde cognitieve stoornissen (MCI) heeft, door de ziekte van Alzheimer.",en:"Example:<br>Jan is 65 years old and has problems with memory and concentration. Despite his symptoms, Jan still takes care of his daily needs independently. At the hospital, Jan talks to the doctor who conducts some tests. They find abnormal levels of the two proteins that indicate Alzheimer's disease is present. They also test Jan's cognitive functions. Jan is diagnosed as having mild cognitive impairment (MCI) caused by Alzheimer's disease.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Het denkvermogen van Jan werd gemeten met de MMSE test. Op de MMSE test kun je een score krijgen tussen 0 en 30. Hoe hoger de score, hoe beter het denkvermogen. De score van Jan is 28. Met een score van 28 spreken we nog niet van dementie. Jan heeft MCI.",en:"They measure Jan's mental ability using the MMSE test. The MMSE test gives a score between 0 and 30. The higher the score, the better your cognitive skills/thinking abilities. Jan scores 28 on the test. A score of 28 means Jan does not have dementia. Jan has MCI.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"In dit figuur zien we hoe we verwachten dat het denkvermogen achteruit zal gaan in de komende 5 jaar, voor pati\xEBnten zoals Jan. Dit is de donkerblauwe, doorgetrokken lijn. We kunnen dit niet heel precies voorspellen. Voor de meeste mensen zoals Jan loopt de deze lijn ergens in het lichtblauwe gebied. Het kan meevallen en het kan tegenvallen.",en:"This figure shows how we expect thinking skills to decline in the next 5 years for patients like Jan. That's shown by the dark blue solid line. We cannot predict this with great precision. For most people like Jan this line goes into the light blue area. It might be better than expected or it might be worse.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Met het medicijn kan de achteruitgang in het denkvermogen worden afgeremd (met ongeveer 30%). Dat laat de lichtblauwe (stippel)lijn zien. Het denkvermogen wordt nog steeds slechter, maar met het medicijn gaat dit wat minder snel. We weten niet wat er gebeurt na de periode van 18 maanden waarop de medicijnen tot nu toe zijn getest. Daarom loopt de lichtblauwe lijn verder als stippellijn. Ook weten we niet wat het effect precies zal zijn voor een individuele persoon, zoals Jan. Het kan effect kan groter of kleiner zijn.",en:"By taking the medication, the decline in cognitive function is slowed down (by about 30%). This is shown by the light blue (dotted) line. A person's thinking skills keep declining, but with the medication this progresses less quickly. We don't know 
105what happens after 18 months because that's how long the drug was tested. That's why the light blue line keeps going as a dotted line. We also don't know the exact effect the drug will have on an individual person like Jan. It may be more or less effective.",se:"",de:""}},{type:J.IMAGE,src:{nl:xE,en:EE}}]}]}]},{type:J.SECTION,id:"nadelen",content:[{type:J.TEXT,text:{nl:"<h2>Nadelen</h2>",en:"<h2>Disadvantages</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Er zijn twee soorten van mogelijke nadelen van de nieuwe medicijnen, namelijk de belasting voor de pati\xEBnt en naaste(n), en eventuele bijwerkingen.",en:"There are two types of potential risks or disadvantages associated with the new medicines, namely the demand on patients and their loved ones, and potential side effects.",se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"Wat is de belasting voor de pati\xEBnt en diens naaste(n)?",en:"What is the demand on patients and their loved ones?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<b>Belangrijk:</b> De nieuwe medicijnen worden in Nederland nog niet vergoed. Als de medicijnen in Nederland voorgeschreven gaan worden, is het nog niet zeker hoe de medicijnen worden gegeven en waar dit gaat plaatsvinden. De tekst hieronder geeft een idee.",en:"<b>Important to note:</b> The new drugs are not yet covered by healthcare insurance in the Netherlands. If the drugs are reimbursed, it is not yet clear how they will be given and where. The text below gives an idea.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Bij het medicijn komt veel kijken. Om te weten of iemand het medicijn mag krijgen, heeft een arts veel informatie nodig. Ook pati\xEBnten en naasten hebben informatie nodig om mee te kunnen beslissen. De behandeling vindt plaats in het ziekenhuis en er zijn veel controles nodig, waarbij er bijvoorbeeld hersenscans worden gemaakt. Dit vergt wat van de pati\xEBnt, en van de naaste(n). Het kost bijvoorbeeld tijd en energie. Je bent ook veel bezig met de ziekte en de behandeling.",en:"There is a lot involved in taking the medication. A doctor needs a lot of information before deciding whether someone can take the drug. Patients and their loved ones also need information to be able to take part in the decision about whether the drug should be taken. Treatment with the drug takes place at a hospital, and many check-ups are needed which involve procedures including brain scans. This demands a lot from patients and from their families and takes time, commitment and energy. A person's life can also become a little dominated by the disease and the treatment.",se:"",de:""}},{type:J.BULLETLIST,title:{nl:"Stappen die gezet moeten worden.",en:"What are the steps leading to treatment?",se:"",de:""},content:[{type:J.TEXT,text:{nl:"<u>Diagnose stellen.</u> Er moet sprake zijn van MCI of milde dementie, door de ziekte van Alzheimer. Hier is een gesprek met de arts voor nodig en verschillende onderzoeken en testen.",en:"<u>Making a diagnosis.<u> The drug is only for people who have MCI or mild dementia caused by Alzheimer's disease. A doctor needs to examine a patient and run several tests before making a diagnosis.",se:"",de:""}},{type:J.TEXT,text:{nl:"<u>Vaststellen of iemand het medicijn mag krijgen.</u> Er vinden ook onderzoeken plaats om vast te stellen of een pati\xEBnt het medicijn mag krijgen. Bij een deel van de mensen is het niet voldoende veilig, bijvoorbeeld bij gebruik van sommige andere medicijnen en bij sommige bevindingen op de hersenscan of genetisch onderzoek. De arts kan hier meer over vertellen.",en:"<u>Deciding whether someone can receive the medication.</u> A patient will have to be examined before deciding whether they can receive the medication. It will not be sufficiently safe for some people, for example because they are using other medicines, because of findings on the brain scan or because they carry a certain gene. The doctor can tell you more about this.",se:"",de:""}},{type:J.TEXT,text:{nl:"<u>Gesprek over medicijnen.</u> Pati\xEBnt en naaste worden ge\xEFnformeerd door de arts (en mogelijk andere zorgverleners, zoals een verpleegkundige). Pati\xEBnt en naaste delen op hun beurt persoonlijke (medische) informatie, bijvoorbeeld over hun situatie, het steunsysteem en hun behoeften, wensen en voorkeuren. Zij kunnen ook vragen stellen.",en:"<u>Discussion about medicines.</u> At a meeting, the doctor and possibly other healthcare providers like a nurse will explain the new drug to the patient and their family. The patient and family will share information with the doctor about their personal and medical conditions, like the
105ir living situation and support system, as well as their needs, wishes and preferences. There will be the opportunity to ask questions.",se:"",de:""}},{type:J.TEXT,text:{nl:"<u>Besluitvorming.</u> Als de pati\xEBnt het medicijn mag krijgen, dan beslissen arts, pati\xEBnt, en naaste(n) samen of starten met medicijnen gewenst is.",en:"<u>Making a decision.</u> If the patient is a good candidate for the drug, then the doctor, patient and family will together decide whether it is a good idea to start the treatment.",se:"",de:""}},{type:J.TEXT,text:{nl:"<u>Behandeling en controle</u>.",en:"<u>Treatment and regular check-ups</u>.",se:"",de:""}},{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Toediening via infuus in het ziekenhuis (een of twee keer per maand).",en:"The drug is administered intravenously in the hospital once or twice a month.",se:"",de:""}},{type:J.TEXT,text:{nl:"Regelmatige controle in het ziekenhuis, waarbij hersenscans worden gemaakt.",en:"Patients also have attend hospital for regular check-ups that include brain scans.",se:"",de:""}}]}]}]},{title:{nl:"Wat zijn de bijwerkingen?",en:"What are the side effects?",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Bijwerkingen verschillen tussen personen. Ook zijn misschien niet alle bijwerkingen bekend en weten we niet wat bijwerkingen op de langere termijn kunnen zijn. De arts maakt voor elke pati\xEBnt een inschatting van de kans op bijwerkingen.",en:"People will experience different side effects and not all the possible side effects are yet known to us. We don't know what the long-term side effects might be. The doctor will assess the risks of side effects for each patient individually.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"In de figuur zie je hoe vaak bijwerkingen ongeveer voorkomen op groepsniveau. Dit is een schatting. Je ziet hier 100 iconen. Elk icoon staat voor 1 mens die het medicijn krijgt. Samen staan deze iconen dus voor 100 mensen die met het medicijn gestart zijn.",en:"The figure shows how often certain side effects occur at the group level. This is an estimate. Here you see 100 icons. Each icon represents 1 person who receives the medicine. Together these icons represent 100 people who have started receiving the medicine.",se:"",de:""}},{type:J.IMAGE,src:{nl:kE,en:XE}},{type:J.BULLETLIST,title:{nl:"Bijwerkingen die voor kunnen komen:",en:"Possible side effects include:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Ongewenste veranderingen in de hersenen die te zien zijn op hersenscans. Deze veranderingen noemen we ook wel amylo\xEFd-gerelateerde beeldvorming afwijkingen (ARIA's). Deze veranderingen hoeven niet erg te zijn. Ze worden door een deel van de mensen niet opgemerkt. Er zijn twee typen:",en:"Undesirable changes to the brain that are visible on brain scans. These changes are also called amyloid-related imaging abnormalities (ARIAs). Such changes are not necessarily serious and some people don't even notice them. There are two types:",se:"",de:""}},{type:J.BULLETLIST,content:[{type:J.TEXT,text:{nl:"Zwelling  van de hersenen",en:"Brain swelling",se:"",de:""}},{type:J.TEXT,text:{nl:"Kleine bloedingen in de hersenen;",en:"Bleeding in the brain",se:"",de:""}}]},{type:J.TEXT,text:{nl:"Uitslag, jeuk en roodheid rondom het infuus;",en:"Rash, itching and redness around the infusion;",se:"",de:""}},{type:J.TEXT,text:{nl:"Hoofdpijn;",en:"Headache;",se:"",de:""}},{type:J.TEXT,text:{nl:"Griep, waaronder rillingen en spierpijn;",en:"Flu-like symptoms, including chills and muscle pain;",se:"",de:""}},{type:J.TEXT,text:{nl:"Misselijkheid en braken;",en:"Nausea and vomiting;",se:"",de:""}},{type:J.TEXT,text:{nl:"Verhoogde bloeddruk; ",en:"Increased blood pressure; ",se:"",de:""}},{type:J.TEXT,text:{nl:"Rugpijn;",en:"Back pain;",se:"",de:""}},{type:J.TEXT,text:{nl:"Duizeligheid.",en:"Dizziness.",se:"",de:""}}]}]}]}]},{type:J.SECTION,id:"onzekerheid",content:[{type:J.TEXT,text:{nl:"<h2>Onzekerheid</h2>",en:"<h2>Uncertainty</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"De medicijnen zijn nieuw.  Lecanemab (merknaam: Leqembi) mag nu gegeven worden in Europa, maar dit medicijn wordt in Nederland n
105og niet vergoed. We moeten nog ervaring gaan opdoen met deze medicijnen in de praktijk. Er is daarom nog veel dat we niet weten.",en:"These drugs are new. Lecanemab (Leqembi) is now approved for use in Europe, but this drug is not yet covered by Dutch healthcare insurance. We need more practical experience of these medicines and there is still a lot that we don't know.",se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"Wat weten we nog niet?",en:"What don't we know yet?",se:"",de:""},content:[{type:J.ORDEREDLIST,content:[{type:J.TEXT,text:{nl:"<b>Artsen en andere zorgverleners hebben weinig ervaring:</b> De medicijnen zijn nieuw. Nieuw voor pati\xEBnten, maar ook voor artsen. Artsen hebben nog weinig ervaring met deze medicijnen. Als ze worden vergoed in Nederland, zullen zorgverleners/artsen extra tijd besteden aan de eerste pati\xEBnten die mogelijk met de medicijnen gaan starten. Zo doen ze stap voor stap ervaring op met deze nieuwe medicijnen.",en:"<b>Doctors and other healthcare providers have little experience:</b> These drugs are new. New for patients, but also new for doctors. Doctors only have limited experience of working with these drugs. Following approval for use and insurance coverage in the Netherlands, healthcare providers/doctors will reserve extra time for the treatment of the first patients who could be starting on the medicines. This will help them gain experience with the new medicines step by step.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Voordelen:</b> Onderzoek heeft laten zien dat de medicijnen werken, maar er is nog meer onderzoek nodig om belangrijke vragen te beantwoorden. Bijvoorbeeld over het effect op lange termijn en over de vraag bij wie de medicijnen het meeste effect hebben.",en:"<b>Benefits:</b> Research has shown that the drugs work, but a lot more research is needed to answer further important questions. For example, the long-term effects and about who will benefit the most from these drugs. ",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Veiligheid:</b> Zoals bij alle medicijnen zijn er mogelijke bijwerkingen. We weten niet zeker wie bijwerkingen krijgt en wie niet. Het is ook onduidelijk wat de bijwerkingen en andere nadelen op de lange termijn zijn.",en:"<b>Safety:</b> As with all medication, there are possible side effects. We don't know yet who will get side effects and who won't. It is also unclear what kind of side effects or other risks exist in the long term.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Behandelingsduur:</b> Het is nog onduidelijk hoe lang het medicijn gebruikt moet worden. Bijvoorbeeld, of je kunt stoppen na een bepaalde periode, of dat een onderhoudsdosis dan beter is.",en:"<b>Period of treatment:</b> It is still unclear how long the medicine should be used. For example, whether patients should stop after a certain period, or whether further doses are needed.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Goedkeuring, regelgeving en kosten:</b> Het medicijn Lecembi (dit is de merknaam) is nu goedgekeurd voor gebruik in Europa, maar wordt in Nederland nog niet vergoed. Het is het nog onduidelijk welke regels zullen gelden en of de medicijnen zullen worden vergoed en voor wie.",en:"<b>Approval, rules and costs:</b> Leqembi has been approved for use in Europe, but this medicine is not yet covered by healthcare insurance in the Netherlands. It is still unclear what kind of rules will apply, what the costs of the drugs will be, whether they will be covered by insurance, and if so for whom.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Andere aandoeningen:</b> Er is nog onduidelijkheid over gebruik van deze medicijnen bij mensen die naast de ziekte van Alzheimer ook andere medische aandoeningen hebben.",en:"<b>Other health problems:</b> It is also still unclear whether people with other health problems in addition to Alzheimer's disease will be able to take these drugs.",se:"",de:""}}]}]}]}]},{type:J.SECTION,id:"beslissen",content:[{type:J.TEXT,text:{nl:"<h2>Samen beslissen</h2>",en:"<h2>Shared decision-making</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"De nieuwe medicijnen hebben voordelen, maar ze hebben ook 
105nadelen. Daarom zijn de behoeften van pati\xEBnten en hun naaste(n) en hun persoonlijke omstandigheden belangrijk om te beslissen over wel of niet starten met deze nieuwe medicijnen.",en:"The new drugs have advantages (the pros), but they also have disadvantages or risks (the cons). That's why the needs of patients and their loved ones, and their personal circumstances, are essential to making the decision about whether to start on these new drugs. ",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"We vatten de mogelijke voor- en nadelen van de medicijnen voor de ziekte van Alzheimer voor u samen:",en:"We summarise the procs and cons of taking these drugs for people with Alzheimer's disease here:",se:"",de:""}},{type:J.BULLETLIST,title:{nl:"Voordelen van starten met medicijnen:",en:"Pros of starting on these drugs:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Remmen ziekteproces; kans op minder snelle achteruitgang in het denken",en:"Slows the progression of the disease; possibly slows cognitive decline",se:"",de:""}}]},{type:J.BULLETLIST,title:{nl:"Nadelen van starten met medicijnen:",en:"Cons of starting on these drugs:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Belasting voor pati\xEBnt en naaste(n), want er zijn (veel) bezoeken aan het ziekenhuis nodig, waarbij extra hersenscans gemaakt worden.",en:"Makes demands on patients and their loved ones because many hospital visits are needed, for example for extra brain scans.",se:"",de:""}},{type:J.TEXT,text:{nl:"Kans op bijwerkingen",en:"Risk of side effects",se:"",de:""}}]},{type:J.BULLETLIST,title:{nl:"Voordelen van niet starten met medicijnen:",en:"Pros of not starting on these drugs:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Geen extra onderzoeken en bezoeken aan ziekenhuis nodig",en:"No extra medical examinations or visits to the hospital needed",se:"",de:""}}]},{type:J.BULLETLIST,title:{nl:"Nadelen van niet starten met medicijnen:",en:"Cons of not starting on these drugs:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"De ziekte wordt niet geremd",en:"No potential slowing of the disease",se:"",de:""}}]},{type:J.ACCORDION,items:[{title:{nl:"Wie bepaalt wat?",en:"Who decides what?",se:"",de:""},content:[{type:J.TEXT,text:{nl:`De arts bepaalt eerst of iemand het medicijn mag krijgen. Als dat zo is, gaan arts, pati\xEBnt en diens naaste(n) in gesprek. Dit proces noemen we 'samen beslissen'. Zie ook de pagina <a href='${X.app.informatie.diagnostiek({language:V})}'>Samen beslissen</a>.`,en:`First the doctor decides whether someone is a good candidate for the drug. If so, the doctor, patient and loved ones will have a meeting. We call this process 'shared decision-making'. See also the page <a href='${X.app.informatie.diagnostiek({language:V})}'>Shared decision-making</a>.`,se:"",de:""}},{type:J.BULLETLIST,title:{nl:"In een gesprek:",en:"At the meeting:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Legt de arts uit dat er een keuze moet worden gemaakt, waarin de wensen, behoeften en omstandigheden van de pati\xEBnt en diens naaste(n) belangrijk zijn;",en:"The doctor will explain how the preferences, needs and circumstances of the patient and their loved ones are essential to the decision whether to start on the medicine;",se:"",de:""}},{type:J.TEXT,text:{nl:"Geeft de arts informatie over de medicatie, over wat er anders mogelijk is, en over de voor- en nadelen van starten met het medicijn en van niet starten met het medicijn;",en:"The doctor will provide information about the medicine, about what else is available, and about the benefits and risks of starting or not starting on the medicine;",se:"",de:""}},{type:J.TEXT,text:{nl:"Laten de pati\xEBnt en naaste(n) weten hoe zij over de voordelen en nadelen denken, wat zij willen, en of er nog vragen zijn;",en:"The patient and loved ones will explain how they feel about the pros and cons, what they would like, and have a chance to ask questions;",se:"",de:""}},{type:J.TEXT,text:{nl:"Wordt een keuze gemaakt over wel of niet starten met medicijnen. Dat kan eventueel ook in een tweede gesprek. Pati\xEBnt en naaste kunnen een duidelijke voorkeur hebben en zelf de beslissing willen nemen. Pati\xEBnt en naaste kunnen ook met de arts bespreken wat zij ervan vinden, maar de keuze vervolgens aan de arts over laten. Uiteindelijk blijft de arts altijd eindverantwoordelijk voor het genomen besluit. Ook kan de arts (mogelijk samen met de pati\xEBnt) beslissen te stoppen met de medicijnen. Bijvoorbeeld als de belasting te groot blijkt of er bijwerkingen zijn.",en:"A decision will be made about whether to start on the medicine. This may also take place at a second meeting. Patients and their loved one
105s may have their own clear preference and want to make the decision themselves. They can also discuss their feelings with the doctor and leave the decision to the doctor. The doctor remains responsible for the decision. The doctor can also decide to stop treatment, and may do so in consultation with the patient. For example, if the demands are too great or if the side effects too severe.",se:"",de:""}}]}]}]}]}]},diagnostiek:{title:{nl:"Samen beslissen",en:"Shared decision-making",se:"",de:""},intro:{nl:"Op de geheugenpoli worden er keuzes gemaakt. Er zijn bijvoorbeeld verschillende diagnostische testen, waarover beslissingen moeten worden genomen.",en:"At the memory clinic decisions will have to be made. For example, there are a number of different diagnostic tests that require decisions.",se:"",de:""},content:[{type:J.BULLETLIST,title:{nl:"Dit gaat om:",en:"We are thinking here of:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"Het besluit om wel of om niet te testen.",en:"The decision whether to have tests.",se:"",de:""}},{type:J.TEXT,text:{nl:"Welke diagnostische tests worden ingezet.",en:"The decision about which diagnostic tests should be administered.",se:"",de:""}}]},{type:J.TEXT,text:{nl:"De keuze kan ook gaan over wel of niet behandelen. Zo moeten er in de toekomst mogelijk keuzes worden gemaakt over het wel of niet starten met ziekte-remmende medicatie bij de ziekte van Alzheimer.",en:"The decision whether to undergo treatment may also arise, for example about whether to start on treatment that slows the progression of Alzheimer's disease.",se:"",de:""}},{type:J.TEXT,text:{nl:"Het uitgangspunt voor zorgverleners is om zoveel mogelijk aan te sluiten bij de dementie richtlijn. Het is ook belangrijk om pati\xEBnten te informeren over de relevante mogelijkheden en te betrekken in de besluitvorming. Samen beslissen is vooral belangrijk bij voorkeursgevoelige beslissingen, waarbij het medisch oogpunt niet duidelijk is welke opties te beste is, bijvoorbeeld omdat er meerdere (min of meer) gelijkwaardige opties zijn.",en:"The fundamental concern for healthcare providers is acting as much as possible in line with the clinical guidelines for dementia. It is also important to inform patients about the relevant options and to involve them in decision-making. Shared decision-making is especially important when decisions deal with preferences and where from a medical standpoint it is unclear what the best option might be, i.e., there are multiple similar options.",se:"",de:""}},{type:J.TEXT,text:{nl:"Hieronder vindt u enkele handvatten voor samen beslissen opgedeeld in vier stappen.",en:"A tool for shared-decision making testing with four steps is provided below.",se:"",de:""}},{type:J.ORDEREDACCORDION,items:[{title:{nl:"Keuzebewustzijn cre\xEBren",en:"Creating choice awareness",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Agenderen dat een beslissing moet worden genomen (bijv. over diagnostisch testen) en dat er meerdere opties zijn, waarbij de keuze in meer of mindere mate afhankelijk is van de wensen van de pati\xEBnt.",en:"Let the patient know that decisions need to be made (e.g., about diagnostic testing). E
105xplain that there are various options, and that the choices made will depend partly on the patient's situation and preferences.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Voorbeeld: 'Het doel is dat we (samen) besluiten welk diagnostische testen we het beste kunnen doen.'",en:"Example: 'The idea is that we decide (together) which diagnostic tests are best to do in your situation.'",se:"",de:""}}]},{title:{nl:"Informeren",en:"Informing",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Allereerst, het uitvragen van de informatievoorkeur van de pati\xEBnt. Voorbeeld: 'Over de verschillende testen valt veel te vertellen. Sommige pati\xEBnten willen daar graag zoveel mogelijk over horen, en anderen willen liever niet te veel weten. Hoe is dat voor u?'",en:"First, find out what type and how much information the patient wants. Example: 'There's a lot I could tell you about the various tests. Some patients want the full picture, while others want to keep it to the basics. What about you?'",se:"",de:""}},{type:J.BULLETLIST,title:{nl:"Vervolgens, informeren over:",en:"Next, inform the patient about:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"De (diagnostische) mogelijkheden/opties: 'Wat zou u willen weten over de mogelijkheden voor verder diagnostisch testen?' of 'Er zijn drie mogelijkheden, namelijk...'",en:"The (diagnostic test) options: 'What would you like to know about the additional diagnostic tests?' or 'There are three options. They are...'",se:"",de:""}},{type:J.TEXT,text:{nl:"De voor- en nadelen op algemeen niveau of per optie: 'Wilt u meer weten over de voor- en nadelen van die mogelijkheden?'",en:"Set out the pros and cons, either generally or for each option: 'Shall I explain the pros and cons of those options?'",se:"",de:""}},{type:J.TEXT,text:{nl:"Het resultaat dat verwacht kan worden: 'Zal ik u iets vertellen over het soort uitslag dat u kunt verwachten met deze testen?'",en:"The possible results: 'Shall I explain what the tests can tell us?'",se:"",de:""}}]},{type:J.PARAGRAPH,text:{nl:`Meer lezen? <a href='${X.app.informatie.diagnostischetesten({language:V})}'>Hier</a> vindt u een overzicht met mogelijkheden voor verschillende diagnostisch testen en voor iedere mogelijkheid de voor- en nadelen.`,en:`Want more detail? An overview of the various diagnostic tests and their pros and cons is available <a href='${X.app.informatie.diagnostischetesten({language:V})}'>here</a>.`,se:"",de:""}}]},{title:{nl:"Wensen verkennen",en:"Exploring preferences and needs",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Allereerst, verkennen van de wensen en overwegingen van de pati\xEBnt.",en:"First, talk about the patient's preferences, needs and considerations.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Voorbeeld: 'Nu ik u heb verteld over de mogelijkheden, hoe kijkt u hier tegenaan?",en:"Example: 'How do you feel about the options I've described?'",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Vervolgens, uitvragen van de beslisvoorkeur van de pati\xEBnt. Wil de pati\xEBnt samen beslissen of volgt de pati\xEBnt graag het advies van de zorgverlener?",en:"Next, ask the patient how involved in decision-making they want to be.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Voorbeeld: 'Sommige mensen willen graag mee beslissen over diagnostisch testen, anderen laten dat liever aan de zorgverlener over. Hoe staat u daarin?'",en:"Example: 'Some people like to be involved in deciding what diagnostic tests to have, but others prefer to leave it to their doctor. What about you?'",se:"",de:""}}]},{title:{nl:"Besluiten",en:"Decision-making",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Samen beslissen, dat wil zeggen, een weloverwogen beslissing nemen waar beide partijen achter staan, en dit ook communiceren.",en:"Arrive at a shared decision that's been thought through and that both of you are happy with. Make sure that the patient knows what's been decided.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Voorbeeld: 'Dus we besluiten om [X], omdat u aangeeft dat [overwegingen pati\xEBnt].'",en:"Example: 'So, we agree that the best thing to do is [X], because you feel that [patient's considerations].'",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Als het de wens van de pati\xEBnt is om een besluit te nemen op advies van de zorgverlener, is het zaak een advies te formuleren waarin u de persoonlijke omstandigheden en behoeften van de pati\xEBnt meeweegt, en dit ook zo te communiceren.",en:"If it's the patient's wish to follow the clinician's advice, it's important to take the patient's preferences and needs in concideration when formulating the advice, and do so when communicating with the patient.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Voorbeeld: 'Dan stel ik [X] voor, op basis van [omstandigheden
105/behoeften pati\xEBnt, richtlijnen, ervaring of voorkeur van de zorgverlener]. Kunt u zich daarin vinden? \u2026 Dan gaan we dat in gang zetten.'",en:"Example: 'In that case, I propose [X], because [patient's preferences, guidelines, doctor's experience/preference]. Are you okay with that? \u2026 Then I'll set things in motion.'",se:"",de:""}}]}]}]},helderInGesprek:{title:{nl:"Helder in Gesprek",en:"Helder in Gesprek",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<h2>Doel</h2>",en:"<h2>Goal</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Helder in Gesprek is een hulpmiddel ontworpen om gesprekken tussen mensen met cognitieve klachten en hun zorgverlener(s) te verbeteren.",en:"Helder in Gesprek is a tool designed to improve conversations between people with cognitive complaints and their healthcare provider(s).",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Het initiatief is ontstaan omdat mensen met geheugenklachten en andere cognitieve klachten graag als volledig persoon gezien willen worden, in plaats van enkel als pati\xEBnt. Zij hebben de behoefte om te begrijpen wat er aan de hand is en hebben allerlei vragen, bijvoorbeeld over hoe het in de toekomst zal gaan. Daarnaast willen zij zich ook gehoord en begrepen voelen als mens met unieke bezigheden, omstandigheden, ervaringen en zorgen. Voor mensen met cognitieve klachten kan het soms lastig zijn om te bedenken welke persoonlijke onderwerpen belangrijk zijn om te bespreken met hun zorgverlener(s) en om deze aan te kaarten tijdens zorgafspraken. Helder in Gesprek helpt hen hierbij.",en:"The initiative arose because people with memory complaints and other cognitive difficulties want to be seen as a whole person, rather than merely as a patient. They need to understand what is happening and have many questions, for example about what the future will bring. In addition, they want to feel heard and understood as a person with unique activities, circumstances, experiences and concerns. For people with cognitive difficulties it can sometimes be hard to think of which personal topics are important to discuss with their healthcare provider(s) and to raise these during care appointments. Helder in Gesprek helps them with this.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Het gebruik van Helder in Gesprek, bijvoorbeeld op geheugenpoli's, heeft als doel om persoonsgerichte communicatie te stimuleren. Henny en Annemieke leggen dit uit in de video hieronder.",en:"The use of Helder in Gesprek, for example in memory clinics, aims to promote person-centred communication. Henny and Annemieke explain this in the video below.",se:"",de:""}},{type:J.VIDEO,id:{nl:hs,en:As,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"<h2>Werkwijze Helder in Gesprek</h2><h3>Voorafgaand aan de afspraak</h3>",en:"<h2>How Helder in Gesprek works</h2><h3>Prior to the appointment</h3>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"V\xF3\xF3r de afspraak met de zorgverlener ontvangt de persoon met klachten een Helder in Gesprek pakketje. In het pakket zit een stapel kaarten met onderwerpen verdeeld over vier thema's: bezigheden, omgeving, ervaring en behoeften. Ook bevat het pakket uitleg om de kaarten te sorteren. Via enkele stappen kiest iemand uiteindelijk 3 kaarten met onderwerpen die het meest belangrijk zijn om met de zorgverlener te bespreken. Voor de naaste is er ook een specifieke kaart beschikbaar.",en:"Before the appointment with the healthcare provider, the person with complaints receives a Helder in Gesprek package. The package contains a set of cards with topics divided across four themes: activities, environment, experience and needs. The package also includes instructions for sorting the cards. Through a few steps, a person ultimately selects 3 cards with topics that are most important to discuss with their healthcare provider. A specific card is also available for the loved one.",se:"",de:""}},{type:J.IMAGE,src:nE},{type:J.PARAGRAPH,text:{nl:"<h3>Tijdens de afspraak</h3>",en:"<h3>During the appointment</h3>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Tijdens de afspraak wordt er van de zorgverlener verwacht dat deze de persoon met klachten en diens naaste(n) actief uitnodigt om de gekozen kaarten te laten zien en samen te bespreken. In de spreekkamer ligt een onderlegger op tafel waar zij de gekozen kaarten op kunnen leggen. Zo worden ze ondersteund om over te brengen welke onderwerpen zij belangrijk vinden en om hier meer over te vertellen. De zorgverlener krijgt op deze manier een completer beeld van deze persoon, wat helpt om persoonsgerichte zorg te leveren.",en:"During the appointment, the healthcare provider is expected to actively invite the person with complaints and their loved one(s) to show the chosen cards and discuss them together. In the consultation room, a placemat lies on the table where they can place the chosen cards. This supports them in conveying which topics they consider important and to share more about them. The healthcare provider thereby gains a more complete picture of this person, which helps to deliver person-centred care.",se:"",de:""}},{type:J.VIDEO,id:{nl:FE,en:FE,se:"",de:""}},{type:J.BULLETLIST,title:{nl:"Helder in Gesprek helpt om:",en:"Helder in Gesprek helps to:",se:"",de:""},content:[{type:J.TEXT,text:{nl:"<b>De unieke persoon die zorg ontvangt centraal te stellen</b> Zorgverleners zien niet alleen de klachten en/of ziekte, maar de persoon als geheel, met unieke achtergrond, wensen, emoties, situatie en behoeften.",en:"<b>Put the unique person receiving care at the centre</b> Healthcare providers see not only the complaints and/or illness, but the person as a whole, with their unique background, wishes, emotions, situation and needs.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Ook naasten te ondersteunen in hun rol</b> Familieleden en andere naasten zijn vaak essentieel in gesprekken en besluitvorming, omdat zij aanvullende informatie geven, ondersteuning bieden en zelf ook vragen of zorgen hebben.",en:"<b>
105Also support loved ones in their role</b> Family members and other loved ones are often essential in conversations and decision-making, as they provide additional information, offer support and also have questions or concerns of their own.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Communicatie en zorg op maat te leveren</b> Door de communicatie af te stemmen op de vragen die er leven, en het begripsniveau, situatie, en emoties van de pati\xEBnt, heeft de informatie die gedeeld wordt meer relevantie, met een positieve invloed op onder andere begrip en vertrouwen. Ook kan de zorg zo worden aangepast op wat voor deze persoon en diens naaste belangrijk is.",en:"<b>Deliver tailored communication and care</b> By aligning communication with the questions that exist, and the patient's level of understanding, situation and emotions, the information shared becomes more relevant, with a positive impact on understanding and trust, among other things. Care can also be adapted to what matters to this person and their loved one.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Echt te luisteren</b> Actief luisteren en ruimte geven aan wat er leeft bij mensen en de bijkomende emoties helpt om de persoon met klachten en diens naaste(n) zich gehoord, gesteund en serieus genomen te laten voelen.",en:"<b>Truly listen</b> Actively listening and creating space for what is on people's minds and the accompanying emotions helps the person with complaints and their loved one(s) feel heard, supported and taken seriously.",se:"",de:""}},{type:J.TEXT,text:{nl:"<b>Samen te beslissen en zorg te verbeteren</b> Persoonsgerichte communicatie bevordert gezamenlijke besluitvorming en verhoogt de (ervaren) kwaliteit van zorg.",en:"<b>Decide together and improve care</b> Person-centred communication promotes shared decision-making and increases the (perceived) quality of care.",se:"",de:""}}]},{type:J.PARAGRAPH,text:{nl:"<h2>Hoe is Helder in Gesprek tot stand gekomen?</h2>",en:"<h2>How was Helder in Gesprek developed?</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`Helder in Gesprek is gemaakt samen met mensen met dementie of cognitieve klachten, naasten, zorgverleners, communicatie-experts, onderzoekers van het Amsterdam UMC en het designbureau Kaliber. Onderzoeker Tanja de Rijke heeft dit proces begeleid en vastgelegd in wetenschappelijke artikelen. Deze vindt u <a href='${X.app.informatie.overons({language:V})}#publicaties'>hier</a>.`,en:`Helder in Gesprek was developed together with people with dementia or cognitive complaints, loved ones, healthcare providers, communication experts, researchers from Amsterdam UMC and the design agency Kaliber. Researcher Tanja de Rijke guided this process and documented it in scientific articles. You can find these <a href='${X.app.informatie.overons({language:V})}#publicaties'>here</a>.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"<h2>Contact</h2>",en:"<h2>Contact</h2>",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:'Bij vragen over Helder in Gesprek kunt u contact opnemen met Ellen Smets van het Amsterdam UMC via <a href="mailto:[email protected]">[email protected]</a>.',en:'For questions about Helder in Gesprek, please contact Ellen Smets of Amsterdam UMC at <a href="mailto:[email protected]">[email protected]</a>.',se:"",de:""}},{type:J.PARAGRAPH,text:{nl:'<i>Wil je aan de slag met Helder in Gesprek en kun je wel wat hulp gebruiken? Bij Vilans staat Dianne Vasseur (of een collega) klaar om je te ondersteunen en begeleiden. Meld je aan of vraag meer informatie via <a href="mailto:[email protected]">[email protected]</a>.</i>',en:'<i>Would you like to get started with Helder in Gesprek and could you use some help? At Vilans, Dianne Vasseur (or a colleague) is ready to support and guide you. Sign up or request more information via <a href="mailto:[email protected]">[email protected]</a>.</i>',se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"<h2>Links naar publicaties</h2>",en:"<h2>Links to publications</h2>",se:"",de:""}},{type:J.ORDEREDLIST,content:[{type:J.PARAGRAPH,text:{nl:'de Rijke TJ, Kaijser KKM, Vasseur D, et al. Usability assessment of a digital tool to enhance person\u2013clinician communication in the memory clinic: An expert evaluation. DIGITAL HEALTH. 2025;11. doi: <a href="https://doi.org/10.1177/20552076251365070" rel="nofollow" target="_blank">10.1177/20552076251365070</a>',en:'de Rijke TJ, Kaijser KKM, Vasseur D, et al. Usability assessment of a digital tool to enhance person\u2013clinician communication in the memory clinic: An expert evaluation. DIGITAL HEALTH. 2025;11. doi: <a href="https://doi.org/10.1177/20552076251365070" rel="nofollow" target="_blank">10.1177/20552076251365070</a>',se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`de Rijke TJ, Kaijser KK, Vasseur D, et al. Design and development of 'Helder in Gesprek': A tool to supp
105ort person-centred communication in memory clinics. DIGITAL HEALTH. 2026;12. doi: <a href="https://doi.org/10.1177/20552076251412631" rel="nofollow" target="_blank">10.1177/20552076251412631</a>`,en:`de Rijke TJ, Kaijser KK, Vasseur D, et al. Design and development of 'Helder in Gesprek': A tool to support person-centred communication in memory clinics. DIGITAL HEALTH. 2026;12. doi: <a href="https://doi.org/10.1177/20552076251412631" rel="nofollow" target="_blank">10.1177/20552076251412631</a>`,se:"",de:""}}]}]},kansBerekenen:{title:{nl:"Rekentools",en:"Calculation tools",se:"",de:""},intro:{nl:`Voor artsen en andere zorgverleners ontwikkelden we twee rekentools, beiden met een uitlegpagina die kan worden gebruikt ter ondersteuning van het gesprek met de pati\xEBnt. Deze tools zijn momenteel beschikbaar ter inzage. Toegang aanvragen voor deze tools doet u <a href='${X.app.tools({language:V})}'>hier</a>.`,en:`We have developed two calculation tools for medical doctors and other healthcare providers, with an explanation page that can be used to support patient discussions. At the moment, these tools are only available for viewing and you can request access to these tools <a href='${X.app.tools({language:V})}'>here</a>.`,se:"",de:""},content:[{type:J.ACCORDION,items:[{title:{nl:"Rekentool 'Dementierisico bij MCI'",en:"'Dementia risk with MCI' calculation tool",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Met behulp van de rekentool 'Dementierisico bij MCI' berekent u wat de testuitslagen betekenen voor het dementierisico van een individuele MCI pati\xEBnt. Deze tool geeft een schatting van de kans dat een pati\xEBnt die zich op de geheugenpoli presenteert met milde cognitieve stoornissen (MCI) binnen 1, 3 en 5 jaar dementie ontwikkelt.",en:"With the aid of the calculation tool 'Dementia risk with MCI' you can calculate what the test results mean in terms of the risk of dementia for an individual MCI patient. The risk calculation tool can be used to estimate the risk that a patient who presents at the memory clinic with mild cognitive impairment (MCI) will develop dementia within one, three and five years.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Deze schatting wordt gemaakt op basis van leeftijd, geslacht en MMSE-score (de kans zonder aanvullende diagnostische tests). Met gegevens over de MRI en eiwitmarkers in hersenvocht en/of amyloid PET volgt een aangepaste schatting van de kans op dementie.",en:"The estimate is based on age, sex and MMSE score (risk as estimated without data from additional diagnostic tests). By additionally entering MRI findings, CSF biomarker data, and/or amyloid PET, an adjusted estimate of the individual's dementia risk can be obtained.",se:"",de:""}},{type:J.IMAGE,src:HE}
105,{type:J.PARAGRAPH,text:{nl:"Binnen de tool wordt ook een uitslagpagina voor de pati\xEBnt gecre\xEBerd, met een toelichting op de uitslag van elke test en het totaal van de testen. De uitslagpagina is samen met pati\xEBnten en artsen ontwikkeld. Afhankelijk van de informatievoorkeuren van de pati\xEBnt kunt u kiezen voor verschillende visuele weergaven van de geschatte kans op dementie.",en:"Within the tool, a result page is also created for the patient, detailing the findings of each test and the overall conclusion. The result page has been developed in consultation with patients and professionals. Various graphical display options can be enabled, in line with the patient's information preferences.",se:"",de:""}},{type:J.IMAGE,src:rE},{type:J.PARAGRAPH,text:{nl:`Achtergrondinformatie over het predictiemodel vindt u hier: <a href='${X.app.informatie.overons({language:V})}'>Publicaties</a>.`,en:`Background information about the prediction model is available here: <a href='${X.app.informatie.overons({language:V})}'>Publications</a>.`,se:"",de:""}}]},{title:{nl:"Rekentool 'Ziekteverloop en behandeleffect'",en:"'Disease progression and treatment effect' calculation tool",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Met deze tool berekent u de verwachte cognitieve achteruitgang van uw pati\xEBnt met MCI of milde dementie door de ziekte van Alzheimer.",en:"With this tool you can calculate the expected cognitive decline of your patient with MCI or mild dementia caused by Alzheimer's disease.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Twee verschillende visuele weergaven maken de persoonlijke schatting van het ziekteverloop inzichtelijk. De voorspelling wordt gemaakt op basis van leeftijd, geslacht, syndroom diagnose en eiwitmarkers in het hersenvocht (ruggenprik). Een lijngrafiek toont u de verwachte achteruitgang in cognitie (MMSE) over een periode van 5 jaar. Ook kunt u de tijd berekenen tot een door u gekozen MMSE eindpunt (Tijd-tot-grafiek).",en:"Two different visualisations show the estimated disease progression and can help explain it to your patient. The prediction is based on age, sex, MMSE, syndrome diagnosis and the presence of disease in the brain (lumbar puncture/CSF). A line chart shows you the expected cognitive decline (MMSE) over a period of 5 years. You can also calculate the time to your own chosen MMSE endpoint (Time-to chart).",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"In beide visuele weergaven plot u vervolgens eenvoudig het mogelijke effect van een behandeling die het ziekteverloop zou vertragen (zoals ziekte-remmende medicatie). Binnen de tool wordt ook een uitlegpagina gecre\xEBerd, die gebruikt kan worden ter ondersteuning van het gesprek met de pati\xEBnt.",en:"For both visualisations you can then easily plot the potential effect of a treatment that aims to slow disease progression (e.g. disease-modifying drugs). The tool will also create an explanation page, which can be used to support your discussions with the patient.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`Achtergrondinformatie over het predictiemodel vindt u hier: <a href='${X.app.informatie.overons({language:V})}'>Publicaties</a>.`,en:`Background information about the prediction model can be found here: <a href='${X.app.informatie.overons({language:V})}'>Publications</a>.`,se:"",de:""}}]}]}]},veelgesteldevragen:{title:{nl:"Veelgestelde vragen",en:"Frequently asked questions",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:'<h2>Wat is de ziekte van Alzheimer?</h2>Veel van de informatie op ADappt gaat over de ziekte van Alzheimer. De ziekte van Alzheimer is een hersenziekte. Het is de meest voorkomende oorzaak van dementie. De alzheimer hersenschade kunnen we aantonen met specifieke diagnostische tests. Door de ziekte van Alzheimer gaat het denkvermogen langzaam achteruit. Dit gaat bijvoorbeeld om het geheugen, aandacht en concentratie, en logisch redeneren. U leest <a href="https://www.alzheimer-nederland.nl/dementie/soorten-vormen/ziekte-van-alzheimer" rel=\u201Dnofollow\u201D target="_blank">hier</a> meer over de ziekte van Alzheimer.',en:`<h2>What is Alzheimer's disease?</h2>
105Much of the information on ADappt deals with Alzheimer's disease. Alzheimer's is a disease of the brain and it is the most common cause of dementia. Damage to the brain caused by Alzheimer's is identified with diagnostic tests. People with Alzheimer's experience slow decline in their thinking abilities. Their ability to remember, concentrate and reason logically deteriorates over time. You can read <a href="https://www.alzheimers.org.uk/about-dementia/types-dementia/alzheimers-disease" rel=\u201Dnofollow\u201D target="_blank">here</a> more about Alzheimer's disease.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`<h2>Welke informatie en tools zijn op ADappt te vinden?</h2>Op de geheugenpoli wisselen zorgverleners, pati\xEBnten en naasten veel informatie uit. Om pati\xEBnten en naasten te helpen om zich voor te bereiden op hun bezoek aan de poli, ontwikkelden we verschillende hulpmiddelen. Op de pagina <a href="/nl/informatie/topiclijst">diagnose</a> vindt u twee video's over wat er gebeurt op de poli en een lijst met voorbeeldvragen om te stellen aan de zorgverlener.`,en:'<h2>What information and tools can be found on ADappt?</h2>At the memory clinic, healthcare providers, patients and their families exchange a lot of information. To help patients and families prepare for their visit to the clinic, we have developed a range of tools. On the <a href="/en/informatie/topiclijst">diagnosis</a> page you can find two videos about what happens at the clinic and a list with sample questions you can ask the doctor.',se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`Op de geheugenpoli zijn verschillende keuzes te maken. Bijvoorbeeld wel of geen diagnostiek, en zo ja - welke diagnostische testen, of over behandeling. Om keuzes te kunnen maken, is goede informatie nodig. Op de pagina <a href='${X.app.informatie.diagnostischetesten({language:V})}'>diagnostische testen</a> vindt u uitleg over verschillende diagnostische testen met voor- en nadelen. Op de pagina <a href='${X.app.informatie.behandeling({language:V})}'>behandeling</a> vindt u uitleg over nieuwe medicijnen tegen de ziekte van Alzheimer, die in de toekomst mogelijk ook in Europa beschikbaar komen. De pagina <a href='${X.app.informatie.diagnostiek({language:V})}'>samen beslissen</a> geeft tips voor de gesprekken tussen arts en pati\xEBnt over diagnose en behandeling.`,en:`People who come to the memory clinic have to make certain decisions. For example, about whether to pursue diagnosis, which diagnostic tests to have, and whether to undergo treatment. Good information is essential to making the right decisions. On the <a href='${X.app.informatie.diagnostischetesten({language:V})}'>diagnostic tests</a> page you can find explanations of the different diagnostic tests with their benefits and risks. On the <a href='${X.app.informatie.behandeling({language:V})}'>treatment</a> page you can find an explanation of the new medicines for Alzheimer's disease that may also soon become available in Europe. The Shared <a href='${X.app.informatie.diagnostiek({language:V})}'>decision-making</a> page has tips for the discussions between doctors and patients about diagnosis and treatment.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`Voor artsen en andere zorgverleners zijn er daarnaast twee rekentools beschikbaar. Met behulp van de tool <a href='${X.app.tools.predictieTool({language:V})}'>Dementierisico bij MCI</a> kan een zorgverlener eenvoudig berekenen wat diverse testuitslagen betekenen voor het dementierisico van MCI pati\xEBnten. De rekentool <a href='${X.app.tools.medicatieTool({language:V})}'>Ziekteverloop en behandeleffect</a> biedt ondersteuning bij het voorspellen van cognitieve achteruitgang bij pati\xEBnten met MCI en milde dementie door de ziekte van Alzheimer, en het uitleggen van het mogelijke behandeleffect.`,en:`For doctors and other healthcare providers there are also two calculation tools available. With the aid of the <a href='${X.app.tools.predictieTool({language:V})}'>Dementia risk with MCI tool</a>, a healthcare provider can easily calculate how different test results affect the dementia risk of MCI patients. The <a href='${X.app.tools.medicatieTool({language:V})}'>Disease progression and treatment effect tool</a> supports prediction of cognitive decline for patients with MCI and mild dementia caused by Alzheimer's disease, and explains the possible effects of treatment.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`<h2>Hoe kan ik inloggegevens aanvragen voor de rekentools?</h2>De ADappt rekentools zijn momenteel beschikbaar voor inzage voor zorgverleners. <a href='${X.app.tools({language:V})}'>
105Hier</a> kunt u inloggegevens aanvragen.`,en:`<h2>How can I request log-in details for the calculation tools?</h2>Currently the ADappt calculation tools are only available for viewing by healthcare providers. You can request log-in details <a href='${X.app.tools({language:V})}'>here</a>.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`<h2>Door wie is ADappt ontwikkeld?</h2>De ADappt website en rekentools zijn ontwikkeld op basis van resultaten uit de wetenschappelijk onderzoeksprojecten ABIDE en ABOARD. Onderzoekers van het Amsterdam UMC werkten voor het ontwikkelen van ADappt samen met andere partners, zoals Vilans. ABIDE en ABOARD zijn publiek-private projecten gefinancierd door ZonMW, Health Holland en Alzheimer Nederland in de context van de Nationale Dementie Strategie. Klik <a href='${X.app.informatie.overons({language:V})}'>hier</a> voor meer informatie over het team.`,en:`<h2>Who is behind ADappt?</h2>The ADappt website and calculation tools were developed based on the results of scientific research projects called ABIDE and ABOARD. Researchers from Amsterdam UMC worked together with other partners like Vilans to develop ADappt. ABIDE and ABOARD are public-private projects funded by ZonMw, Health~Holland and Alzheimer Netherlands in the context of the National Dementia Strategy. Click <a href='${X.app.informatie.overons({language:V})}'>here</a>  for more information about the team.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`<h2>Waar lees ik meer over het onderzoek waarop ADappt is gebaseerd?</h2>De ADappt website en rekentools zijn ontwikkeld op basis van resultaten uit de wetenschappelijk onderzoeksprojecten ABIDE en ABOARD. Meer informatie kunt u vinden in de wetenschappelijke publicaties die we <a href='${X.app.informatie.overons({language:V})}'>hier</a> voor u op een rijtje zetten.`,en:`<h2>Where can I read more about the studies on which ADappt is based?</h2>The ADappt website and calculation tools were developed based on the results of scientific research projects called ABIDE and ABOARD. You can find more information in the scholarly publications that we have collected for you <a href='${X.app.informatie.overons({language:V})}'>here</a>.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`<h2>Hoe kom ik in contact met het ADappt team?</h2>Heeft u opmerkingen of vragen over ADappt? Vult u dan het contactformulier in. Dat vindt u <a href='${X.app.informatie.contact({language:V})}'>hier</a>.`,en:`<h2>How can I contact the ADappt team?</h2>Any comments or questions about ADappt? Please fill in the contact form. You can find the form <a href='${X.app.informatie.contact({language:V})}'>here</a>.`,se:"",de:""}},{type:J.PARAGRAPH,text:{nl:`<h2>Hoe kan ik bijdragen aan wetenschappelijk onderzoek?</h2>We weten steeds meer over alzheimer, maar er zijn ook nog veel vragen onbeantwoord. Zo kunnen we de ziekte nog niet stoppen of genezen, of beter nog - voork\xF3men. Daarvoor is wetenschappelijk onderzoek nodig. Zonder deelnemers geen vooruitgang in de wetenschap. Interesse om mee te doen aan wetenschappelijk onderzoek? <a href='${X.app.informatie.meedoenaanonderzoek({language:V})}'>Hier</a> leest u meer.`,en:`<h2>How can I contribute to scientific research?</h2>We continue to learn about Alzheimer's, but many questions still remain unanswered. We cannot yet stop or cure the disease, or prevent it. We need to do more research, but without participants, science cannot move forward. Are you interested in participating in a scientific study? You can read more <a href='${X.app.informatie.meedoenaanonderzoek({language:V})}'>here</a>.`,se:"",de:""}}]},meedoenaanonderzoek:{title:{nl:"Meedoen aan onderzoek",en:"Taking part in scientific research",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"<h2>Wilt u helpen?</h2>We weten steeds meer over alzheimer, maar er zijn ook nog veel vragen onbeantwoord. Zo kunnen we de ziekte nog niet stoppen of genezen, of beter nog - voork\xF3men. Daarvoor is wetenschappelijk onderzoek nodig. Zonder deelnemers geen vooruitgang in de wetenschap. Interesse om mee te doen aan wetenschappelijk onderzoek? Dit zijn enkele mogelijkheden.",en:"<h2>Do you want to help?</h2>We continue to learn about Alzheimer's, but many questions remain unanswered. We cannot yet stop or cure the disease, or prevent it. We need to do more research but without participants, science cannot progress. Are you interested in participating in a scientific study? Here are a few possibilities.",se:"",de:""}},{type:J.ACCORDION,items:[{title:{nl:"ABOARD-cohort",en:"ABOARD Cohort",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Het ABOARD Cohort is een landelijk onderzoek met als doel om meer inzicht te krijgen in het verloop van gezonde veroudering tot en met gevorderde alzheimer. Dit doen wij door het verzamelen van medische gegevens en vragenlijsten over de ervaringen van mensen met en zonder geheugenklachten en hu
105n naasten. Iedereen vanaf 45 jaar kan meedoen.",en:"The ABOARD Cohort is a nationwide study aimed at generating greater insight into the progression from healthy aging through to advanced Alzheimer's. We achieve this by collecting medical data and using questionnaires to find out about the experiences of people with and without memory problems and their families. Everyone aged 45 or over can participate.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:'<a href="https://www.alzheimer-nederland.nl/onderzoek/projecten/aboard/uurtje-voor-alzheimer" rel="nofollow" target="_blank">Hier</a> lees je meer over het onderzoek.',en:'You can read more about our study <a href="https://www.alzheimer-nederland.nl/onderzoek/projecten/aboard/uurtje-voor-alzheimer" rel="nofollow" target="_blank">here</a>.',se:"",de:""}}]},{title:{nl:"Hersenonderzoek.nl",en:"Brain research website Hersenonderzoek.nl",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:'Niet alleen voor alzheimer, ook voor andere hersenziektes is onderzoek hard nodig. Goed onderzoek kan niet zonder voldoende deelnemers. Help ook mee! Iedereen van 18 jaar en ouder kan zich inschrijven via <a href="https://hersenonderzoek.nl/" ref="nofollow" target="_blank">www.hersenonderzoek.nl</a>.',en:`Research is badly needed, not just for Alzheimer's, but also for other brain disorders. Good research is impossible without sufficient participants. Will you help us? Everyone aged 18 and over can register via <a href="https://hersenonderzoek.nl/" ref="nofollow" target="_blank">www.hersenonderzoek.nl</a>.`,se:"",de:""}}
105,{type:J.PARAGRAPH,text:{nl:"Dit kan als u kerngezond bent \xE9n als u een diagnose hebt. Help mee met het vinden van oplossingen voor dementie, depressie en andere hersenziekten!",en:"We need both people who are healthy and those who have already been diagnosed. Will you help us find solutions for people with dementia, depression and other brain disorders?",se:"",de:""}}]}]}]},overons:{title:{nl:"Over ADappt",en:"About ADappt",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:`<h2>Over ADappt</h2>De ADappt website en rekentools zijn ontwikkeld op basis van resultaten uit de wetenschappelijk onderzoeksprojecten ABIDE en ABOARD. ABOARD is een grootschalig onderzoeksproject dat wordt uitgevoerd door een landelijk, multidisciplinair consortium. ABOARD, voluit A Personalized Medicine Approach for Alzheimer's Disease, werkt aan een toekomst met gepersonaliseerde diagnostiek, predictie en preventie van Alzheimer. ABOARD is gestart per 1 april 2021 en heeft een looptijd van 5 jaar. Prof. dr. Wiesje van der Flier is projectleider van ABOARD. U leest <a href="http://www.aboard-project.nl" rel="nofollow" target="_blank">hier</a> meer over ABOARD.`,en:"<h2>About ADappt</h2>The ADappt website, including the risk calculation tools, was developed in the Netherlands, based on results of the ABIDE and ABOARD research projects. ABOARD is a large-scale research project carried out by a national, multidisciplinary consortium. ABOARD, in full A Personalized Medicine Approach for Alzheimer's Disease, is working on a future with personalized diagnosis, prediction and prevention of Alzheimer's. ABOARD started on April 1, 2021 and has a term of 5 years. Prof. dr. Wiesje van der Flier is project leader of ABOARD. More information on ABOARD can be found <a href='http://www.aboard-project.nl' rel='nofollow' target='_blank'>here</a>.",se:"",de:""}},{type:J.IMAGE,src:{nl:cE,en:GE},width:200},{type:J.PARAGRAPH,text:{nl:"Onderzoekers van het Amsterdam UMC werkten voor het ontwikkelen van ADappt samen met andere partners, zoals Vilans. ABIDE en ABOARD zijn publiek-private projecten gefinancierd door ZonMW, Health Holland en Alzheimer Nederland in de context van de Nationale Dementie Strategie.",en:"Researchers from Amsterdam UMC worked together with other partners like Vilans to develop ADappt. ABIDE and ABOARD are public-private projects funded by ZonMw, Health~Holland and Alzheimer Netherlands in the context of the Dutch National Dementia Strategy.",se:"",de:""}},{type:J.TEAM},{type:J.PARAGRAPH,text:{nl:'<h2 id="publicaties">Publicaties</h2>',en:'<h2 id="publicaties">Publications</h2>',se:'<h2 id="publicaties">Publikationer</h2>',de:'<h2 id="publicaties">Publikationen</h2>'}},{type:J.PARAGRAPH,text:{nl:"Meer informatie kunt u vinden in onderstaande publicaties.",en:"You can find more information in the scholarly publications below.",se:"",de:""}},{type:J.ORDEREDACCORDION,items:[{title:{nl:"De ontwikkeling van ADappt: ",en:"The development of ADappt"},content:[{type:J.PARAGRAPH,text:'van Maurik, I. S., Visser, L. N., Pel-Littel, R. E., van Buchem, M. M., Zwan, M. D., Kunneman, M., ... & van der Flier, W. M. (2019). Development and usability of ADappt: web-based tool to support clinicians, patients, and caregivers in the diagnosis of mild cognitive impairment and Alzheimer disease. JMIR formative research, 3(3), e13417. <a href="https://doi.org/10.2196/13417" rel="nofollow" target="_blank">https://doi.org/10.2196/13417</a>'},{type:J.PARAGRAPH,text:'Hendriksen, H.M., de Rijke, T.J., van Gils, A.M. et al. Usability and feasibility of ADappt: a digital toolkit to support communication on diagnosis and prognosis in memory clinics. Alz Res Therapy 17, 218 (2025). <a href="https://doi.org/10.1186/s13195-025-01847-y" rel="nofollow" target="_blank">https://doi.org/10.1186/s13195-025-01847-y</a>'}]},{title:{nl:"Predictiemodellen",en:"Prediction models",se:"Prediktionsmodeller",de:"Pr\xE4diktionsmodelle"},content:[{type:J.PARAGRAPH,text:'van Maurik IS, Vos SJ , Bos I , Bouwman FH , Teunissen CE , Scheltens P , et al. Biomarker-based prognosis for people with mild cognitive impairment (ABIDE): a modelling study. Lancet Neurol. 2019; 18: 1034-44. <a href="https://doi.org/10.1016/S1474-4422(19)30283-2" rel="nofollow" target="_blank">https://doi.org/10.1016/S1474-4422(19)30283-2</a>'},{type:J.PARAGRAPH,text:'van Maurik IS, van der Kall LM, de Wilde A, et al. Added value of amyloid PET in individualized risk predictions for MCI patients. Alzheimers Dement (Amst). 2019;11:529-537. <a href="https://doi.org/10.1016/j.dadm.2019.04.011" rel="nofollow" target="_blank">https://doi.org/10.1016/j.dadm.2019.04.011</a>'},{type:J.PARAGRAPH,text:'van der Veere, P. J., Hoogland, J., Visser, L. N., Van Harten, A. C., Rhodius-Meester, H. F., Sikkes, S. A., ... & Van Der Flier, W. M. (2024). Predicting Cognitive Decline in Amyloid-Positive Patients W
105ith Mild Cognitive Impairment or Mild Dementia. Neurology, 103(3), e209605. <a href="https://doi.org/10.1212/WNL.0000000000209605" rel="nofollow" target="_blank">https://doi.org/10.1212/WNL.0000000000209605</a>'},{type:J.PARAGRAPH,text:'Dubbelman MA, van de Beek M, van Gils AM, et al. Comparing and linking the Mini-Mental State Examination and Montreal Cognitive Assessment in the Amsterdam Dementia Cohort. Journal of the International Neuropsychological Society. 2024;30(9):867-874. <a href="https://doi.org/10.1017/S1355617724000341" rel="nofollow" target="_blank">https://doi.org/10.1017/S1355617724000341</a>'},{type:J.PARAGRAPH,text:`Van Der Veere, P. J., Van Harten, A. C., Van Maurik, I. S., Teunissen, C. E., Barkhof, F., Vos, S. J., ... & van der Flier, W. M. (2026). Revising the ABIDE MCI to dementia prediction model for automated cerebrospinal fluid assays. Alzheimer's & Dementia, 22(2), e71192. <a href="https://doi.org/10.1002/alz.71192" rel="nofollow" target="_blank">https://doi.org/10.1002/alz.71192</a>`}]},{title:{nl:"Arts-pati\xEBnt communicatie",en:"Clinician-patient communication",se:"",de:""},content:[{type:J.PARAGRAPH,text:"van der Flier WM, Kunneman M, Bouwman FH, Petersen RC, Smets EMA. Diagnostic dilemmas in Alzheimer's disease: Room for shared decision making. Alzheimers Dement (N Y). 2017;3:301-4. <a href='https://doi.org/10.1016/j.trci.2017.03.008' rel='nofollow' target='_blank'>https://doi.org/10.1016/j.trci.2017.03.008</a>"},{type:J.PARAGRAPH,text:"Visser LNC, Kunneman M, Murugesu L, van Maurik I, Zwan M, Bouwman FH, et al. Clinician-patient communication during the diagnostic workup: The ABIDE project. Alzheimer's & Dementia: Diagnosis, Assessment & Disease Monitoring. 2019;11:520-8. <a href='https://doi.org/10.1016/j.dadm.2019.06.001' rel='nofollow' target='_blank'>https://doi.org/10.1016/j.dadm.2019.06.001</a>"},{type:J.PARAGRAPH,text:"Fruijtier AD, Visser LNC, van Maurik IS, Zwan MD, Bouwman FH, van der Flier WM, et al. ABIDE Delphi study: topics to discu
105ss in diagnostic consultations in memory clinics. Alzheimers Res Ther. 2019;11:77. <a href='https://doi.org/10.1186/s13195-019-0531-y' rel='nofollow' target='_blank'>https://doi.org/10.1186/s13195-019-0531-y</a>"},{type:J.PARAGRAPH,text:"Visser LN, van Maurik IS, Bouwman FH, et al. Clinicians' communication with patients receiving a MCI diagnosis: the ABIDE project. PloS One. 2020; 15(1): e0227282. <a href='https://doi.org/10.1371/journal.pone.0227282' rel='nofollow' target='_blank'>https://doi.org/10.1371/journal.pone.0227282</a>"},{type:J.PARAGRAPH,text:"Hendriksen, H.M.A., van Gils, A.M., van Harten, A.C. et al. Communication about diagnosis, prognosis, and prevention in the memory clinic: perspectives of European memory clinic professionals. Alz Res Therapy 15, 131 (2023). <a href='https://doi.org/10.1186/s13195-023-01276-9' rel='nofollow' target='_blank'>https://doi.org/10.1186/s13195-023-01276-9</a>"}]},{title:{nl:"Helder in Gesprek",en:"Helder in Gesprek",se:"",de:""},content:[{type:J.PARAGRAPH,text:'de Rijke TJ, Kaijser KKM, Vasseur D, et al. Usability assessment of a digital tool to enhance person\u2013clinician communication in the memory clinic: An expert evaluation. DIGITAL HEALTH. 2025;11. <a href="https://doi.org/10.1177/20552076251365070" rel="nofollow" target="_blank">https://doi.org/10.1177/20552076251365070</a>'},{type:J.PARAGRAPH,text:`de Rijke TJ, Kaijser KK, Vasseur D, et al. Design and development of 'Helder in Gesprek': A tool to support person-centred communication in memory clinics. DIGITAL HEALTH. 2026;12. <a href="https://doi.org/10.1177/20552076251412631" rel="nofollow" target="_blank">https://doi.org/10.1177/20552076251412631</a>`}]},{title:{nl:"Andere relevante publicaties",en:"Other relevant publications",se:"",de:""},content:[{type:J.PARAGRAPH,text:"Dreves MAE, van Harten AC, Visser LNC, Rhodius-Meester H, K\xF6hler S, Kooistra M, Papma JM, Honey MIJ, Blom MM, Smets EMA, de Vugt ME, Teunissen CE, van der Flier WM; ABOARD Consortium. Rationale and design of the ABOARD project (A Personalized Medicine Approach for Alzheimer's Disease). Alzheimers Dement (N Y). 2023 Jun 5;9(2):e12401. <a href='https://doi.org/10.1002/trc2.12401' rel='nofollow' target='_blank'>https://doi.org/10.1002/trc2.12401</a>"},{type:J.PARAGRAPH,text:"Babapour Mofrad R, Bouwman FH, Slot RER, Timmers T, van der Flier WM, Scheltens P, Teunissen CE. Lumbar puncture in patients with neurologic conditions. Alzheimers Dement (Amst). 2017;8:108-110. <a href='https://doi.org/10.1016/j.dadm.2017.04.008' rel='nofollow' target='_blank'>https://doi.org/10.1016/j.dadm.2017.04.008</a>"},{type:J.PARAGRAPH,text:"Babapour Mofrad R, Visser LNC, Fruijtier AD, Scheltens P, Smets EEMA, van der Flier WM, Teunissen CE. Cerebrospinal fluid collection: An informative animation  video for patients and caregivers. Alzheimers Dement (Amst). 2019;11:435-438. <a href='https://doi.org/10.1016/j.dadm.2019.04.005' rel='nofollow' target='_blank'>https://doi.org/10.1016/j.dadm.2019.04.005</a>"},{type:J.PARAGRAPH,text:"de Wilde A, van Maurik IS, Kunneman M, Bouwman F, Zwan M, Willemse EA, et al. Alzheimer's biomarkers in daily practice (ABIDE) project: Rationale and design. Alzheimers Dement (Amst). 2017;6:143-151. <a href='https://doi.org/10.1016/j.dadm.2017.01.003' rel='nofollow' target='_blank'>https://doi.org/10.1016/j.dadm.2017.01.003</a>"},{type:J.PARAGRAPH,text:"van Maurik IS, Zwan MD, Tijms BM, Bouwman FH, Teunissen CE, Scheltens P, et al. Interpreting Biomarker Results in Individual Patients With Mild Cognitive Impairment in the Alzheimer's Biomarkers in Daily Practice (ABIDE) Project. JAMA Neurol. 2017;74:1481-91. <a href='https://doi.org/10.1001/jamaneurol.2017.2712' rel='nofollow' target='_blank'>https://doi.org/10.1001/jamaneurol.2017.2712003</a>"}]}]}]},...$u({language:V})},medicatie_tool:{graphsContent:{effectsToggle:{nl:"Toon behandel effect in grafieken",en:"Show treatment effects in graphs"},lineGraph:{title:{nl:"Cognitieve achteruitgang",en:"Cognitive decline"},xLabel:{nl:"Tijd in jaren",en:"Time in years"},yLabel:{nl:"MMSE-score",en:"MMSE score"},legend:{average:{nl:"Gemiddelde achteruitgang in cognitie (MMSE)",en:"Average cognitive decline (MMSE)"},uncertainty:{nl:"Onzekerheid rondom voorspelling",en:"Uncertainty regarding predictions"},uncertaintyTooltip:{text:{nl:"Voor 50% van de pati\xEBnten, met de door u ingevulde gegevens, verwachten we een cognitieve achteruitgang binnen dit gebied.",en:"For 50% of patients, with the data you have entered, we expect cognitive decline within this area."}},treatment:{nl:"Achteruitgang met behandeling",en:"Treatment effect"}},description:{nl:"Deze lijngrafiek toont u de voorspelde gemiddelde achteruitgang in MMSE-scores over een periode van 5 jaar voor een pati\xEBnt met de door u ingevoerde gegevens. Het gebied rondom de lijn geeft de onzekerheid in deze voorspelling weer.",en:"This line chart shows you the expected average decline in MMSE scores over a period of 5 years for a patient with the data you entered. The area around the line represents the uncertainty of this prognosis."},treatmentPathDescription:{nl:"De lichtblauwe stippellijn geeft de gemiddelde cognitieve achteruitgang weer m\xE9t behandeling, met een door u gekozen remmende effect van {PERCENTAGE}%.",en:"The light blue path shows how much longer the patient will take on average to reach this MMSE endpoint using treatment with the entered modifying effect of {PERCENTAGE}%."}},stackedBarGraph:{title:{nl:"Tijd tot MMSE eindpunt",en:"Time to MMSE endpoint"},xLabel:{nl:"Tijd in jaren",en:"Time in years"},legend:{withoutTreatment:{nl:"Tijd zonder behandeling",en:"Time without treatment"},withTreatment:{nl:"Tijd met behandeling",en:"Time with treatment"}},description:{nl:"In deze grafiek ziet u hoelang het gemiddeld duurt voordat een pati\xEBnt met de door u ingevoerde gegevens een MMSE-score van {MMSESCORE} bereikt.",en:"In this line chart, you can see how long it takes on average for a patient with the data you entered to reach an MMSE score of {MMSESCORE}."},treatmentPathDescription:{nl:"Het lichtblauwe blok geeft aan hoeveel langer de pati\xEBnt er gemiddeld over zou doen om dit MMSE eindpunt te bereiken m\xE9t behandeling, met het door u gekozen remmende effect van {PERCENTAGE}%.",en:"The light blue block shows how much longer the patient will take on average to reach this MMSE endpoint using treatment with an modifying effect of {PERCENTAGE}% chosen by you."}}},animatedGraph:{xLabel:{nl:"Tijd in jaren",en:"Time in years"},yLabel:{nl:"Uw huidige denkvermogen",en:"Your current thinking ability"},tooltips:{step1:{nl:"Uw huidige MMSE-score",en:"Your current MMSE score"},step2:{nl:"Uw verwachte achteruitgang in 5 jaar",en:"Your expected decline in 5 years"}
105,step3:{nl:"Het kan meevallen",en:"This might be better than expected"},step3_2:{nl:"of tegenvallen",en:"or worse"},step4:{nl:"We gaan voor nu uit van de gemiddelde verwachte situatie",en:"For now, we start with the average situation as expected"},step5:{nl:"Behandeling kan de achteruitgang remmen",en:"Treatments may slow decline of thinking ability"},step6:{nl:"Waardoor u minder snel achteruit k\xE1n gaan",en:"As a result, this may slow disease progression"},step7:{nl:"We weten niet precies hoe het bij u zal gaan",en:"We don't know exactly how it will be in your case"}}},results:{situation:{title:{type:J.HEADING,h:2,text:{nl:"Uw situatie",en:"Your situation"}},content:[{type:J.PARAGRAPH,text:{nl:"Bij u is er sprake van milde dementie door de ziekte van Alzheimer.",en:"You have been diagnosed with mild dementia caused by Alzheimer's disease."}},{type:J.PARAGRAPH,text:{nl:"Bij u is er sprake van Milde cognitieve stoornissen (MCI) door de ziekte van Alzheimer.",en:"You have been diagnosed with mild cognitive impairment (MCI) caused by Alzheimer's disease."}}],tabs:[{id:"line-graph",title:{nl:"Lijn grafiek",en:"Line graph"}},{id:"time-to-time-graph",title:{nl:"Tijd-tot grafiek",en:"Time-to graph"}}]},score:{title:{type:J.HEADING,h:2,text:{nl:"MMSE-score",en:"MMSE score"}},content:[{type:J.PARAGRAPH,text:{nl:"We hebben uw denkvermogen getest met de MMSE test. Op de MMSE test kun je een score krijgen tussen 0 en 30. Hoe hoger uw score, hoe beter het denken nog gaat. Uw MMSE-score is: {SCORE}",en:"We tested your thinking ability using the MMSE test. The MMSE test gives a score between 0 and 30. The higher the score, the better your thinking ability. Your MMSE score is: {SCORE}"}}]},progression:{title:{type:J.HEADING,h:2,text:{nl:"Ziekteverloop",en:"Disease progression"}},content:[{type:J.PARAGRAPH,text:{nl:"Om uw ziekteverloop te voorspellen, hebben we gegevens gebruikt van andere {GENDER} zoals u, met {MODEL} door de ziekte van Alzheimer.",en:"In order to predict how the disease will progress in your case, we used data from other {GENDER} like you, also with {MODEL} caused by Alzheimer's."}},{type:J.PARAGRAPH,text:{nl:"De grafiek geeft een schatting aan van hoe uw denkvermogen achteruit zal gaan. We weten niet precies hoe het bij u zal gaan.",en:"The chart gives an approximation of how your thinking ability will decline. We don't know exactly how it will be in your case."}}]},treatmentEffect:{title:{type:J.HEADING,h:2,text:{nl:"Behandeleffect",en:"Effect of treatment"}},content:[{type:J.PARAGRAPH,text:{nl:"De grafiek laat ook het behandeleffect zien. We verwachten dat de achteruitgang in het denkvermogen gemiddeld met {PERCENTAGE}% wordt geremd. Dit betekent dat we verwachten dat u {PERCENTAGE}% minder snel achteruit zal gaan door de behandeling. Het denkvermogen wordt niet beter.",en:"The chart also shows the effect of treatment. We expect that decline in thinking ability will slow down on average by {PERCENTAGE}%. This means that we expect you will decline {PERCENTAGE}% less quickly because of the treatment. Your thinking ability will not improve."}},{type:J.PARAGRAPH,text:{nl:"Ook het behandeleffect is een schatting. We weten niet precies hoe het bij u zal gaan.",en:"The effect of treatment is also an approximation. We don't know exactly how it will be in your case."}}]},animatedGraph:{title:{nl:"Uitleg bij lijngrafiek",en:"Explainer line chart"}},predictionGraphs:{title:{nl:"Verwachte achteruitgang in uw denkvermogen",en:"Expected decline of your thinking ability"},lineGraph:{description:{nl:"Hier ziet u de gemiddelde achteruitgang in denkvermogen (MMSE-scores) over een periode van 5 jaar, voor iemand zoals u. Het gekleurde gebied rondom de donkerblauwe lijn geeft aan dat we niet precies weten hoe de achteruitgang bij u zal gaan: het kan meevallen en het kan tegenvallen.",en:"Here you can see the average decline of thinking ability over a period of 5 years for someone like you. The coloured area around the dark blue line shows that we don't know exactly how it will be in your case: it might be better than expected, or worse."},treatmentPathDescription:{nl:"De lichtblauwe stippellijn geeft aan hoe we verwachten dat iemand zoals u achteruitgaat in denkvermogen met behandeling, bijvoorbeeld medicatie. We verwachten dat u iets minder snel achteruit zal gaan.",en:"The light blue dotted line shows how someone like you declines in thinking ability with treatment, such as medication. We expect that you will decline less quickly."}},stackedBarGraph:{description:{nl:"Een andere manier om zicht te krijgen op het ziekteverloop, is om de tijd te berekenen tot een vastgesteld denkniveau, zoals een bepaalde MMSE-score. Deze grafiek laat dit zien. In de donkerblauwe balk ziet u hoelang het gemiddeld duurt voor iemand zoals u om een MMSE-score van {SCORE} te bereiken. We weten niet precies hoe dit bij u zal gaan.",en:"Another way to understand the progression of the disease is to calculate the time it takes to reach a predetermined cognitive level, such as a particular MMSE score. This is what this chart represents. The dark blue bar shows you how long it takes on average for someone like you to reach the MMSE endpoint of {SCORE}."},treatmentPathDescription:{nl:"De lichtblauwe balk geeft aan hoeveel langer iemand zoals u er gemiddeld over doet om een MMSE-score van {SCORE} te bereiken met behandeling, zoals medicatie, die de achteruitgang met {PERCENTAGE}% vertraagd.",en:"The light blue plane shows how long it takes for someone like you to reach a MMSE score of {SCORE} with treatment, such as medication, which slows the decline with {PERCENTAGE}%."}}},buttons:{resultButton:{text:{nl:"Naar uitslagpagina pati\xEBnt",en:"To patient result page",se:"Till resultatsida patient",de:"Zur Ergebnisseite Patient"}}
105,print:{nl:"Deze pagina printen",en:"Print this page"},reset:{nl:"Opnieuw beginnen",en:"Start over"}},genders:{male:{nl:"mannen",en:"men"},female:{nl:"vrouwen",en:"women"}},models:{dementia:{nl:"milde dementie",en:"mild dementia"},mci:{nl:"MCI",en:"MCI"}}},tag:{nl:"Rekentool Ziekteverloop en behandeleffect",en:"'Disease progression and treatment effect' calculation tool"},content:[{type:J.PARAGRAPH,text:{nl:"Met deze tool berekent u de verwachte cognitieve achteruitgang van uw pati\xEBnt met MCI of milde dementie door de ziekte van Alzheimer.",en:"With this tool you can calculate the expected cognitive decline of your patient with MCI or mild dementia caused by Alzheimer's disease."}},{type:J.PARAGRAPH,text:{nl:"Twee verschillende visuele weergaven maken de persoonlijke schatting van het ziekteverloop inzichtelijk. De voorspelling wordt gemaakt op basis van leeftijd, geslacht, syndroom diagnose en eiwitmarkers in het hersenvocht (ruggenprik). Een lijngrafiek toont u de verwachte achteruitgang in cognitie (MMSE) over een periode van 5 jaar. Ook kunt u de tijd berekenen tot een door u gekozen MMSE eindpunt (Tijd-tot grafiek).",en:"Two different visualisations show the estimated disease progression and can help explain it to your patient. The prediction is based on age, sex, MMSE, syndrome diagnosis and the presence of disease in the brain (lumbar puncture/CSF). A line chart shows you the expected cognitive decline (MMSE) over a period of 5 years. You can also calculate the time to your own chosen MMSE endpoint (Time-to chart)."}},{type:J.PARAGRAPH,text:{nl:"In beide visuele weergaven plot u vervolgens eenvoudig het mogelijke effect van een behandeling die het ziekteverloop zou vertragen (zoals ziekte-remmende medicatie). In de tool wordt ook een uitlegpagina gecre\xEBerd, die gebruikt kan worden ter ondersteuning van het gesprek met de pati\xEBnt.",en:"For both visualisations you can then easily plot the potential effect of a treatment that aims to slow disease progression (e.g. disease-modifying drugs). The tool will also create an explanation page, which can be used to support your discussions with the patient."}}],form:{validationTitle:{nl:"Niet alle velden zijn (correct) ingevuld. Controleer een van de volgende velden:",en:"Not all fields have been entered (correctly). Please check one of the following fields:"},sex:{legend:{nl:"Mijn pati\xEBnt is een",en:"My patient is"},label:{nl:"Geslacht",en:"Sex"},male:{nl:"Man",en:"Male"},female:{nl:"Vrouw",en:"Female"}},age:{label:{nl:"Leeftijd",en:"Age"}},model:{label:{nl:"Syndroomdiagnose",en:"Syndrome Diagnosis"},placeholder:{nl:"Selecteer",en:"Select"},options:{mci:{en:"Mild cognitive impairment",nl:"Milde cognitieve stoornissen"},ad:{en:"Dementia",nl:"Dementie"}}},mmseAtBaseline:{label:{nl:"Huidige MMSE-score",en:"Current MMSE score"}},csfPtau:{label:{nl:"Elecsys CSF pTAU, ng/ml",en:"Elecsys CSF pTAU, ng/ml "}},csfAb42:{label:{nl:"Elecsys CSF AB1-42, ng/ml",en:"Elecsys CSF AB1-42, ng/ml"}},apoeDose:{label:{nl:"Aantal APOE \u03B54 allelen",en:"Number of APOE \u03B54 alleles"}},prediction:{nl:"Voorspelling ziekteverloop",en:"Prediction disease progression"},predictionTooltip:{text:{nl:"Deze rekentool resulteert in twee verschillende visuele weergaven van het voorspelde ziekteverloop van uw pati\xEBnt. De lijngrafiek toont u de verwachte achteruitgang in cognitie (MMSE) over een periode van 5 jaar na diagnose. Ook kunt u de tijd berekenen tot een door u gekozen MMSE eindpunt (Tijd-tot-grafiek). In beide visuele weergaven plot u eenvoudig het mogelijke effect van behandeling (zoals ziekte-remmende medicatie). Dit behandeleffect staat standaard op 30% remmende werking, maar u kunt dit percentage wijzigen.",en:"With this tool you can calculate the expected cognitive decline in people with MCI or mild dementia caused by Alzheimer's disease. The line chart shows you the expected decline in cognitive ability (MMSE) over a period of 5 years. You can also calculate the time to your own chosen MMSE endpoint (Time-to chart). For both visualisations you can then easily plot the potential effect of a treatment that aims to 
105slow disease progression (e.g. disease-modifying treatment)."}},medicineEffect:{label:{nl:"Behandeleffect",en:"Treatment effect"},tooltip:{text:{nl:"Dit percentage staat voor het verwachte (remmende) effect van een behandeling. Een behandeleffect van 30% betekent dat de cognitieve achteruitgang 30% minder snel zal gaan. U kunt dit percentage aanpassen.",en:"The percentage represents the predicted treatment effect. A treatment effect of 30% means that the cognitive decline slows down by 30%. This percentage can be changed."}}},mmseOfInterest:{label:{nl:"MMSE eindpunt",en:"MMSE end point"}}},pageNavigation:{buttonText:{nl:"Menu",en:"Menu",se:"Meny",de:"Men\xFC"},buttonToOtherTool:{title:{nl:"Ga naar het tools overzicht",en:"Go to tools overview"},link:X.app.tools.index({language:V})},buttonToExplanationPage:{nl:"Naar uitlegpagina",en:"Go to Explanation page"},requestAccess:{nl:"Vraag toegang aan voordat je verder kunt gaan",en:"Request access before you can proceed",se:"",de:""},signup:{nl:"Meld aan",en:"Sign up"},pages:[{title:{nl:"Over de tool",en:"About the tool"},section:"",link:X.app.tools.medicatieTool.index({language:V})},{title:{nl:"Gegevens invoeren",en:"Entering patient data"},section:"basis",link:X.app.tools.medicatieTool.basis({language:V})},{title:{nl:"Uitlegpagina",en:"Explanation page"},section:"resultaat",link:X.app.tools.medicatieTool.resultaat({language:V})}]},tabs:[],...$u({language:V}),...Ju({language:V,isLoggedIn:U})},predictie_tool:{tooltip:{warning:{nl:"Let op: de modellen die rekenen met amyloid PET gegevens behoeven verdere validatie. Wanneer er eiwitwaarden in hersenvocht beschikbaar zijn, adviseren wij u deze te gebruiken.",en:"Note: the models that use amyloid PET data require further validation. If cerebrospinal fluid protein values are available, we advise you to use those instead."},pet:{nl:"Het amyloid PET model kan gebruikt worden onder de volgende voorwaarden:",en:"The amyloid PET model can be used under the following conditions:"},bulletpoints:[{nl:"Leeftijdsrange: 55 - 85 jaar",en:"Age range: 55 \u2013 85 years"},{nl:"De combinatie met MRI is alleen mogelijk met volumetrische beoordeling",en:"Combination with MRI is only possible with volumetric assessment"}]},tag:{nl:"Rekentool Dementierisico bij MCI",en:"'Dementia risk with MCI' calculation tool",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Met behulp van de rekentool 'Dementierisico bij MCI' berekent u wat de testuitslagen betekenen voor het dementierisico van een individuele pati\xEBnt met milde cognitieve stoornissen (MCI).",en:"With the aid of the calculation tool 'Dementia risk with MCI' you can calculate what the test results mean in terms of the risk of dementia for an individual MCI patient.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Deze tool geeft een schatting van de kans dat een MCI pati\xEBnt die zich op de geheugenpoli presenteert dementie ontwikkelt binnen 1, 3 en 5 jaar.",en:"The risk calculation tool can be used to estimate the risk that a patient who presents at the memory clinic with mild cognitive impairment (MCI) will develop dementia within one, three and five years.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Deze schatting wordt gemaakt op basis van leeftijd, geslacht en MMSE-score (de kans zonder aanvullende diagnostische tests). Met gegevens over de MRI en eiwitmarkers in hersenvocht en/of amyloid PET volgt een aangepaste schatting van de kans op dementie (de kans met biomarkers).",en:"The estimate is based on age, sex and MMSE score (risk as estimated without data from additional diagnostic tests). By additionally entering MRI findings, CSF biomarker data, and/or amyloid PET, an adjusted estimate of the individual's dementia risk can be obtained.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Binnen de tool wordt ook een uitslagpagina voor de pati\xEBnt gecre\xEBerd.",en:"Within the tool, a result page is also created for the patient.",se:"",de:""}}],...$E(V),...$u({language:V}),...Ju({language:V,isLoggedIn:U})},calculator_tool:{pageNavigation:{buttonText:{nl:"Menu",en:"Menu",se:"Meny",de:"Men\xFC"},buttonToOtherTool:{title:{nl:"Ga naar het tools overzicht",en:"Go to tools overview"},link:X.app.tools.index({language:V})},buttonToExplanationPage:{nl:"Naar uitlegpagina",en:"Go to Explanation page"},requestAccess:{nl:"Vraag toegang aan voordat je verder kunt gaan",en:"Request access before you can proceed",se:"",de:""},signup:{nl:"Meld aan",en:"Sign up"},pages:[{title:{nl:"Basisgegevens invoeren",en:"Entering patient base data"},body:{nl:"Reken de MoCA-score om naar een MMSE-score en vice versa. Pas het linker dropdown-veld aan om de omrekening te zien.",en:"Convert a MoCA score to a MMSE score and vice versa. Adjust the left dropdown field to see the conversion."},section:"basis",link:X.app.tools.calculatorTool.basis({language:V})}]},form:{moca:{label:"MoCA",placeholder:{nl:"MoCA",en:"MoCA",se:"",de:""}},mocaResult:{label:{nl:"MoCA (resultaat)",en:"MoCA (result)",se:"MoCA (resultat)",de
105:"MoCA (Ergebnis)"},placeholder:"\u2013"},mmse:{label:"MMSE",placeholder:{nl:"MMSE",en:"MMSE",se:"",de:""}},mmseResult:{label:{nl:"MMSE (resultaat)",en:"MMSE (result)",se:"MMSE (resultat)",de:"MMSE (Ergebnis)"},placeholder:"\u2013"}},tabs:[],tag:{nl:"MoCA-MMSE omrekentool",en:"MoCA to MMSE conversion",se:"",de:""},content:[{type:J.PARAGRAPH,text:{nl:"Met behulp van de rekentool 'Dementierisico bij MCI' berekent u wat de testuitslagen betekenen voor het dementierisico van een individuele pati\xEBnt met milde cognitieve stoornissen (MCI).",en:"With the aid of the calculation tool 'Dementia risk with MCI' you can calculate what the test results mean in terms of the risk of dementia for an individual MCI patient.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Deze tool geeft een schatting van de kans dat een MCI pati\xEBnt die zich op de geheugenpoli presenteert dementie ontwikkelt binnen 1, 3 en 5 jaar.",en:"The risk calculation tool can be used to estimate the risk that a patient who presents at the memory clinic with mild cognitive impairment (MCI) will develop dementia within one, three and five years.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Deze schatting wordt gemaakt op basis van leeftijd, geslacht en MMSE-score (de kans zonder aanvullende diagnostische tests). Met gegevens over de MRI en eiwitmarkers in hersenvocht en/of amyloid PET volgt een aangepaste schatting van de kans op dementie (de kans met biomarkers).",en:"The estimate is based on age, sex and MMSE score (risk as estimated without data from additional diagnostic tests). By additionally entering MRI findings, CSF biomarker data, and/or amyloid PET, an adjusted estimate of the individual's dementia risk can be obtained.",se:"",de:""}},{type:J.PARAGRAPH,text:{nl:"Binnen de tool wordt ook een uitslagpagina voor de pati\xEBnt gecre\xEBerd.",en:"Within the tool, a result page is also created for the patient.",se:"",de:""}}],...$u({language:V}),...Ju({language:V,isLoggedIn:U})},tools:{...$u({language:V}),...Ju({language:V,isLoggedIn:U}),tabs:[{id:"medicatie_tool",title:{nl:"Medicatie tool",en:"Medicatie tool"},link:X.app.tools.medicatieTool.basis({language:V})},{id:"tool",title:{nl:"Predictie tool",en:"Prediction tool",se:"Prognosverktyg",de:"Risikovorhersage-Tool"},link:X.app.tools.predictieTool.basis({language:V})}],content:{title:{nl:"Welkom op ADappt",en:"Welcome to ADappt",de:"Willkommen bei ADappt",se:"V\xE4lkommen till ADappt"},introduction:{nl:"Voor artsen en andere zorgverleners werkzaam op een geheugenpoli ontwikkelden we twee rekentools, beiden met een pati\xEBnt uitlegpagina. Daarnaast ontwikkelden we een tool waarmee een MoCA-score kan worden omgezet naar een MMSE-score en vice versa.",en:"For doctors and other healthcare providers who work at a memory clinic we have developed two calculation tools, both with a patient explanation page. In addition, we developed a tool that allows an MoCA score to be converted into a MMSE score, and vice versa.",de:"F\xFCr \xC4rzte und andere Gesundheitsdienstleister, die in einer Ged\xE4chtnisklinik t\xE4tig sind, haben wir zwei Berechnungstools entwickelt, beide mit einer Patienten-Erkl\xE4rungsseite. Zus\xE4tzlich haben wir ein Hilfsmittel entwickelt, das es erm\xF6glicht, eine MoCA-Score in eine MMSE-Score umzurechnen und umgekehrt.",se:"F\xF6r l\xE4kare och annan v\xE5rdpersonal som arbetar p\xE5 en minnesklinik har vi utvecklat tv\xE5 ber\xE4kningsverktyg, b\xE5da med en patientsida f\xF6r f\xF6rklaringar. Vi har ocks\xE5 utvecklat ett verktyg som g\xF6r det m\xF6jligt att en MoCA-skor kan konverteras till en MMSE-skor och vice versa."}},pageNavigation:{buttonText:{nl:"Menu",en:"Menu",se:"Meny",de:"Men\xFC"},pages:[{title:{nl:"Dementierisico bij MCI",en:"Dementia risk with MCI",se:"",de:""},link:X.app.tools.predictieTool.basis({language:V})},{title:{nl:"Ziekteverloop en behandeleffect",en:"Disease progression and treatment",se:"",de:""},link:X.app.tools.medicatieTool.basis({language:V})},{title:{nl:"MoCA-MMSE omrekentool",en:"MoCA-MMSE converter",se:"",de:""},link:X.app.tools.calculatorTool.basis({language:V})}]}},gegevens:{title:{nl:"Basisgegevens",en:"Basic information",se:"Bakgrundsuppgifter",de:"Stammdaten"}}});function $u({language:V}
105){return{team:{title:{nl:"Team",en:"Team",se:"",de:""},contactTitle:{nl:"Contactpersoon",en:"Contact",se:"",de:""},team:[{name:{nl:"Prof. Wiesje van der Flier (PhD)",en:"Prof. Wiesje van der Flier (PhD)",se:"",de:""},profession:{nl:"Directeur onderzoek Alzheimercentrum Amsterdam, Amsterdam UMC",en:"Research director Alzheimercentrum Amsterdam, Amsterdam UMC",se:"",de:""},src:hE},{name:{nl:"Leonie Visser (PhD)",en:"Leonie Visser (PhD)",se:"",de:""},profession:{nl:"Senior onderzoeker medische communicatie, Amsterdam UMC",en:"Senior researcer medical communication, Amsterdam UMC",se:"",de:""},src:NE},{name:{nl:"Heleen Hendriksen (MSc)",en:"Heleen Hendriksen (MSc)",se:"",de:""},profession:{nl:"Project- en implementatiemanager, Amsterdam UMC,",en:"Project- en implementationmanager, Amsterdam UMC,",se:"",de:""},src:mE},{name:{nl:"Pieter van der Veere (MSc)",en:"Pieter van der Veere (MSc)",se:"",de:""},profession:{nl:"PhD student modellering, Amsterdam UMC",en:"PhD student modelling, Amsterdam UMC",se:"",de:""},src:AE}]},footer:{text:{nl:"ADappt is een initiatief van ",en:"ADappt is an initiative of ",se:"ADappt \xE4r ett initiativ av ",de:"ADappt ist eine Initiative von"},logos:[lE,dE]},headerMenu:Ns({language:V}),notFound:{content:{nl:"Deze pagina is helaas niet gevonden.",en:"Unfortunately, this page was not found.",se:"Sidan hittades inte.",de:"Diese Seite existiert leider nicht."}},privacyStatement:{buttonText:{nl:"Privacy Statement",en:"Privacy Statement",se:"Integritetspolicy",de:"Datenschutzerkl\xE4rung"},statement:{nl:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"Doel formulieren 'Contact' en 'Toegang aanvragen':"}),(0,s.jsx)("p",{children:"ADappt is ontwikkeld op basis van resultaten uit de wetenschappelijke onderzoeksprojecten ABIDE en ABOARD binnen Amsterdam UMC."}),(0,s.jsx)("br",{}),(0,s.jsx)("p",{children:"Het doel van de formulieren 'Contact' en 'Toegang aanvragen' is tweeledig:"}),(0,s.jsx)("br",{}),(0,s.jsxs)("ol",{children:[(0,s.jsx)("li",{children:"Professionals, pati\xEBnten, naasten en andere belangstellenden kunnen vragen stellen aan het ADappt team (formulier Contact)."}),(0,s.jsx)("li",{children:"Professionals kunnen via het formulier inloggegevens aanvragen om de rekentools in te zien (Formulier Toegang aanvragen)."})]}),(0,s.jsx)("strong",{children:"Beheer formulier"}),(0,s.jsx)("p",{children:"Persoonsgegevens ingevuld op de formulieren 'Contact' en'Toegang aanvragen' worden beheerd door medewerkers van Alzheimercentrum Amsterdam (Amsterdam UMC)."}),(0,s.jsx)("br",{}),(0,s.jsx)("strong",{children:"Persoonsgegevens, bewerking & doel"}),(0,s.jsx)("p",{children:"Persoonsgegevens (titel, naam, positie, organisatie en e-mailadres) ingevuld in het formulier worden verzameld in een beveiligd bestand (met een wachtwoord) en bewaard in een beveiligde omgeving (digitale data opslag Alzheimercentrum Amsterdam). Persoonsgegevens worden verzameld en bewaard om antwoorden op gestelde vragen, persoonlijke inloggegevens en eventuele updates betreffende die inloggegevens te e-mailen. Persoonsgegevens worden bewaard tot ADappt offline gaat, of tot een nieuwe versie van ADappt de huidige versie zal vervangen. Indien u uw persoonsgegevens wilt inzien, wijzigen of verwijderen, kunt u een e-mail sturen aan: [email protected]"})]}),en:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"Purpose of the forms 'Contact' and 'Request access'"}),(0,s.jsx)("p",{children:"The ADappt website, including the risk calculation tool, was developed in the Netherlands, based on results of the ABIDE and ABOARD research projects."}),(0,s.jsx)("br",{}),(0,s.jsx)("p",{children:"The purpose of our forms 'Contact' and 'Request access' is two-fold:"}),(0,s.jsx)("br",{}),(0,s.jsxs)("ol",{children:[(0,s.jsx)("li",{children:"Healthcare professionals, patients, loved ones and other interested parties can ask questions about the ADappt website and/or the calculation tools by reaching out to us using the contact form."}),(0,s.jsx)("li",{children:"Health care professionals can request login credentials to view the calculation tools."})]}),(0,s.jsx)("br",{}),(0,s.jsx)("strong",{children:"Information Collection, Storage, Access And Use"}),(0,s.jsxs)("p",{children:["Members of the ABOARD research team from Alzheimer center Amsterdam (Amsterdam UMC) have access to, and will handle, these data.",(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),"The information requested in the forms (title, name, position, affiliation, e-mail address) are collected and stored in a password protected file, on a secure digital environment (digital storage Alzheimer center Amsterdam, Amsterdam UMC, Amsterdam, The Netherlands). These data will be used and stored to be able to send (via e-mail) answers to questions asked, login credentials and potential version updates regarding the ADappt website. Personal information will be stored until the current website goes offline, or when a new version of ADappt will replace the current version. If you would like to view, update or request the removal of personal data collected, please send an e-mail to [email protected]."]})]}),se:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"Syftet med formul\xE4ren \u201DKontakt\u201D och \u201DBeg\xE4r \xE5tkomst\u201D."}),(0,s.jsx)("p",{children:"ADappt har utvecklats utifr\xE5n resultat fr\xE5n den kliniska vetenskapliga studien ABIDE hos Alzheimercentrum Amsterdam i VUMC och avdelningen Medicinsk psykologi p\xE5 AMC i Amsterdam, Nederl\xE4nderna (VUMC och AMC bildar nu tillsammans Amsterdam UMC)."}),(0,s.jsx)("p",{children:"ADappt-prognosverktyget ger en uppskattning av sannolikheten f\xF6r att en patient som kommer till minnesmottagningen med en mild kognitiv svikt (MCI) utvecklar demens inom 1, 3 och 5\xA0\xE5r."}),(0,s.jsx)("strong",{children:"Det finns tv\xE5 syften med formul\xE4ren \u201DKontakt\u201D och \u201DBeg\xE4r \xE5tkomst\u201D:"}),(0,s.jsxs)("ol",{children:[(0,s.jsx)("li",{children:"V\xE5rdpersonal och andra intresserade kan st\xE4lla fr\xE5gor till ABIDE-teamet p\xE5 Alzheimercentrum Amsterdam."}),(0,s.jsx)("li",{children:"V\xE5rdpersonal kan via formul\xE4ret beg\xE4ra inloggningsuppgifter f\xF6r att titta p\xE5 prognosverktyget."})]}),(0,s.jsx)("strong",{children:"Behandling av formul\xE4r"}),(0,s.jsx)("p",{children:"Personuppgifter som anges i formul\xE4ren \u201DKontakt\u201D och \u201DBeg\xE4r \xE5tkomst\u201D behandlas av medarbetare p\xE5 Alzheimercentrum Amsterdam (Amsterdam UMC), i synnerhet medarbetare i ABIDE-projektteamet."}),(0,s.jsx)("strong",{children:"Personuppgifter, behandling och \xE4ndam\xE5l"}),(0,s.jsx)("p",{children:"Personuppgifter (titel, namn, befattning, organisation och e-postadress) som anges i formul\xE4ret samlas in i en skyddad fil (med l\xF6senord) och sparas i en skyddad milj\xF6 (digital datalagring p\xE5 Alzheimercentrum Amsterdam). Personuppgifter samlas in och sparas f\xF6r att kunna skicka svar p\xE5 st\xE4llda fr\xE5gor, personliga inloggningsuppgifter och eventuella uppdateringar av inloggningsuppgifterna via e-post. Personuppgifter sparas tills ADappt g\xE5r offline, eller tills en ny ver
105sion av ADappt ers\xE4tter den befintliga versionen. Om du vill se, \xE4ndra eller ta bort dina personuppgifter kan du skicka ett meddelande till: [email protected]"})]}),de:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:'Zweck der Formulare "Kontakt" und "Zugang beantragen":'}),(0,s.jsx)("p",{children:"Grundlage f\xFCr die Entwicklung von ADappt waren Ergebnisse aus dem wissenschaftlichen Forschungsprojekt ABIDE des von der Universit\xE4tsklinik VU Medisch Centrum (VUMC) geleiteten Alzheimerzentrums Amsterdam sowie der Abteilung f\xFCr Medizinische Psychologie der Universit\xE4tsklinik Academisch Medisch Centrum (AMC) in Amsterdam (aus VUMC und AMC ist jetzt das Amsterdam UMC hervorgegangen)."}),(0,s.jsx)("p",{children:"Das ADappt Risikovorhersage-Tool berechnet die Wahrscheinlichkeit, mit der sich innerhalb eines Zeitraums von 1, 3 und 5 Jahren bei einem Patienten mit einer leichten kognitiven St\xF6rungen (MCI) eine Demenz entwickelt."}),(0,s.jsx)("strong",{children:'Die Formulare "Kontakt" und "Zugang beantragen" dienen zweierlei Zwecken:'}),(0,s.jsxs)("ol",{children:[(0,s.jsx)("li",{children:"Medizinische Fachkr\xE4fte und andere interessierte Personen k\xF6nnen Fragen an das ABIDE-Team des Alzheimerzentrums Amsterdam stellen."}),(0,s.jsx)("li",{children:"Medizinische Fachkr\xE4fte k\xF6nnen \xFCber das Formular Anmeldedaten anfordern, um sich das Risikovorhersage-Tool anzusehen."})]}),(0,s.jsx)("strong",{children:"Verwaltung der Formulare"}),(0,s.jsx)("p",{children:'Die Verwaltung personenbezogener Daten, die in den Formularen "Kontakt" und "Zugang beantragen" ausgef\xFCllt werden, erfolgt durch Mitarbeiter des Alzheimerzentrums Amsterdam (Amsterdam UMC), insbesondere durch Mitarbeiter des ABIDE-Projektteams.'}),(0,s.jsx)("strong",{children:"Personenbezogene Daten, Bearbeitung und Zweck"}),(0,s.jsx)("p",{children:"Die in dem Formular eingetragenen personenbezogenen Daten (Titel, Name, Stellung, Organisation und E-Mail-Adresse) werden in einer (mit einem Passwort) gesicherten Datei zusammengefasst und in einer gesch\xFCtzten Umgebung gespeichert (digitaler Datenspeicher Alzheimerzentrum Amsterdam). Personenbezogene Daten werden erfasst und gespeichert, um Antworten auf gestellte Fragen, pers\xF6nliche Anmeldedaten und eventuelle Updates in Bezug auf diese Anmeldedaten per E-Mail zu verschicken. Personenbezogene Daten bleiben gespeichert, bis ADappt offline geht oder bis die heutige Version von ADappt durch eine neue Version ersetzt wird. Wenn Sie Ihre personenbezogenen Daten einsehen, \xE4ndern oder l\xF6schen wollen, k\xF6nnen Sie eine entsprechende E-Mail-Nachricht an die folgende Adresse schicken: [email protected]"})]})}}}}function Ns({language:V}){return{tabs:[{id:"informatie",title:{nl:"Informatie",en:"Information",se:"Information",de:"Informationen"},IconComponent:(0,s.jsx)(qU,{icon:_E}),link:X.app.informatie({language:V})},{id:"tools",title:{nl:"Rekentools",en:"Calculation tools",se:"Prognosverktyg",de:"Risikovorhersage-Tool"},IconComponent:(0,s.jsx)(qU,{icon:DR}),link:X.app.tools({language:V}),subPages:[X.app.tools.predictieTool({language:V}),X.app.tools.medicatieTool({language:V}),X.app.tools.calculatorTool({language:V})]}]}}j();function vE(){let{pathname:V}=MU();return e.default.useEffect(()=>{window.scrollTo(0,0)},[V]),null}j();j();j();function BE(V){return((V?.startsWith("?")?V.slice(1):V)??"").split("&").filter(Boolean).reduce((T,Z)=>{let[o,i]=Z.split("=");return{...T,[o]:decodeURIComponent(i)}},{})}var ms=["auth/invalid-action-code","auth/expired-action-code"];function sE({location:V,loginData:{hasAccess:U=!1,signInUrl:W}={}}){let T=Ub(),Z=Eo({reportError:fT}),o=Xo(),[i,b]=e.default.useState(null),O=e.default.useCallback(q=>{o.current&&b(q)},[]),S=Z!==void 0,z=Z&&!Z.isAnonymous,{search:u}=V??{};return e.default.useEffect(()=>{if(!T||!S||z)return;let q=NZ(T);if(xe(q,window.location.href)){let{email:R}=BE(u);ls(q,R,O)}else U?window.location.href=W:b("invalid")},[T,S,z,u,O,U,W]),{error:i,isLoggedIn:z}}async function ls(V,U,W){try{await ke(V,lz),await Ee(V,U,window.location.href)}catch(T){let Z=T.message==="invalid"||T.code&&ms.includes(T.code)?"invali
105d":"unknown";W(Z),Z==="unknown"&&fT(T)}}j();var Hb={component:"src_login_Login_component",loaderLayout:"src_login_Login_loaderLayout",componentLoader:"src_login_Login_componentLoader",circleBg:"src_login_Login_circleBg",pulse:"src_login_Login_pulse",circle:"src_login_Login_circle",loading:"src_login_Login_loading",text:"src_login_Login_text","fade-in":"src_login_Login_fade-in"};var Vi=c(G());function pE({location:V,onLoginSuccess:U,onLoginError:W,loginData:T}){let{error:Z,isLoggedIn:o}=sE({location:V,loginData:T});return e.default.useEffect(()=>{o&&U()},[o,U]),e.default.useEffect(()=>{Z&&W(Z)},[Z,W]),(0,Vi.jsx)("div",{className:Hb.component,children:(0,Vi.jsx)(ds,{layoutClassName:Hb.loaderLayout})})}function ds({layoutClassName:V=void 0}){return(0,Vi.jsxs)("svg",{viewBox:"0 0 36 36",className:(0,_.default)(Hb.componentLoader,V),children:[(0,Vi.jsx)("path",{className:Hb.circleBg,d:`M18 2.0845
106          a 15.9155 15.9155 0 0 1 0 31.831
107          a 15.9155 15.9155 0 0 1 0 -31.831`}),(0,Vi.jsx)("path",{className:Hb.circle,strokeDasharray:"100 100",d:`M18 2.0845
108          a 15.9155 15.9155 0 0 1 0 31.831
109          a 15.9155 15.9155 0 0 1 0 -31.831`}),(0,Vi.jsx)("text",{x:"18",y:"20.35",className:Hb.text,children:"Loading"})]})}var y=c(G());function Ut({config:V,calculatorFieldInfo:U,url:W,loginData:T}){let[Z,o]=e.default.useState(null),i=o;return(0,y.jsx)(xr,{config:V,children:(0,y.jsx)(kG,{name:"adappt",config:V.firebaseConfig,children:(0,y.jsxs)(vs,{url:W,children:[(0,y.jsx)(vE,{}),(0,y.jsx)(IT,{children:(0,y.jsx)(g,{path:"/:language/*",element:(0,y.jsx)(Bs,{children:(0,y.jsx)(Fs,{calculatorFieldInfo:U,loginData:T,loginError:Z,onLoginError:i})})})})]})})})}function Fs({calculatorFieldInfo:V,loginData:U,loginError:W,onLoginError:T}){return(0,y.jsxs)(IT,{children:[(0,y.jsx)(g,{path:"login",element:(0,y.jsx)(ss,{onLoginCompleteUrl:X.app.tools.index({language:"nl"}),onLoginError:T,loginData:U})}),(0,y.jsxs)(g,{element:(0,y.jsx)(gI,{}),children:[(0,y.jsx)(g,{path:"informatie/*",element:(0,y.jsx)(Cs,{})}),(0,y.jsx)(g,{path:"tools",element:(0,y.jsx)(as,{calculatorFieldInfo:V,loginError:W})}),(0,y.jsx)(g,{path:"tools/predictie_tool/*",element:(0,y.jsx)(wr,{fieldInfo:V,loginError:W})}),(0,y.jsx)(g,{path:"tools/medicatie_tool/*",element:(0,y.jsx)(oE,{loginError:W})}),(0,y.jsx)(g,{path:"tools/calculator_tool/*",element:(0,y.jsx)(bE,{})})]})]})}function as({calculatorFieldInfo:V,loginError:U}){let W=v("tools"),{isLoggedIn:T}=PW(),Z=W("pageNavigation").pages.map(o=>({...o,disabled:!T}));return(0,y.jsx)(ko,{section:"tools",currentPageTitle:W("content").title,menuItems:Z,children:(0,y.jsx)(qE,{introduction:W("content").introduction,loggedIn:T,loginError:U})})}function Cs(){return(0,y.jsx)(fG,{children:(0,y.jsxs)(IT,{children:[(0,y.jsx)(g,{index:!0,element:(0,y.jsx)(lT,{i18nPageTitle:"introductie"})}),(0,y.jsx)(g,{path:"topiclijst",element:(0,y.jsx)(lT,{i18nPageTitle:"topiclijst"})}),(0,y.jsx)(g,{path:"diagnostischetesten",element:(0,y.jsx)(lT,{i18nPageTitle:"diagnostischetesten"})}),(0,y.jsx)(g,{path:"behandeling",element:(0,y.jsx)(lT,{i18nPageTitle:"behandeling"})}),(0,y.jsx)(g,{path:"diagnostiek",element:(0,y.jsx)(lT,{i18nPageTitle:"diagnostiek"})}),(0,y.jsx)(g,{path:"helderInGesprek",element:(0,y.jsx)(lT,{i18nPageTitle:"helderInGesprek"})}),(0,y.jsx)(g,{path:"kansBerekenen",element:(0,y.jsx)(lT,{i18nPageTitle:"kansBerekenen"})}),(0,y.jsx)(g,{path:"veelgesteldevragen",element:(0,y.jsx)(lT,{i18nPageTitle:"veelgesteldevragen"})}),(0,y.jsx)(g,{path:"meedoenaanonderzoek",element:(0,y.jsx)(lT,{i18nPageTitle:"meedoenaanonderzoek"})}),(0,y.jsx)(g,{path:"overons",element:(0,y.jsx)(lT,{i18nPageTitle:"overons"})}),(0,y.jsx)(g,{path:"contact",element:(0,y.jsx)(uE,{})}),(0,y.jsx)(g,{path:"*",element:(0,y.jsx)($o,{})})]})})}function vs({url:V,children:U}){return typeof window>"u"?(0,y.jsx)(R$,{url:V,children:U}):(0,y.jsx)(u$,{children:U})}function Bs({children:V}){let{language:U}=cj(),{isLoggedIn:W}=PW(),T=e.default.useMemo(()=>CE({language:U,isLoggedIn:W}),[U,W]);return(0,y.jsx)(pQ,{value:T,language:U,children:V})}function ss({loginData:V,onLoginError:U,onLoginCompleteUrl:W}){let T=MU(),Z=VV(),o=e.default.useCallback(()=>{Z(W)},[Z,W]),i=o,b=e.default.useCallback(O=>{U(O),o()},[U,o]);return(0,y.jsx)(pE,{onLoginError:b,location:T,loginData:V,onLoginSuccess:i})}var eA=c(_A()),$y=Array.from(document.querySelectorAll('*[data-componentid="958f6f56cd42c904603d226cd36a57b6"]')),WzU=$y.map(V=>{let U=JSON.parse(V.dataset.props);return{props:U,root:(0,eA.hydrateRoot)(V,e.default.createElement(Ut,{...U}))}});
110/*! Bundled license information:
111
112react/cjs/react.production.js:
113  (**
114   * @license React
115   * react.production.js
116   *
117   * Copyright (c) Meta Platforms, Inc. and affiliates.
118   *
119   * This source code is licensed under the MIT license found in the
120   * LICENSE file in the root directory of this source tree.
121   *)
122
123classnames/index.js:
124  (*!
125  	Copyright (c) 2018 Jed Watson.
126  	Licensed under the MIT License (MIT), see
127  	http://jedwatson.github.io/classnames
128  *)
129
130react/cjs/react-jsx-runtime.production.js:
131  (**
132   * @license React
133   * react-jsx-runtime.production.js
134   *
135   * Copyright (c) Meta Platforms, Inc. and affiliates.
136   *
137   * This source code is licensed under the MIT license found in the
138   * LICENSE file in the root directory of this source tree.
139   *)
140
141react-dom/cjs/react-dom.production.js:
142  (**
143   * @license React
144   * react-dom.production.js
145   *
146   * Copyright (c) Meta Platforms, Inc. and affiliates.
147   *
148   * This source code is licensed under the MIT license found in the
149   * LICENSE file in the root directory of this source tree.
150   *)
151
152scheduler/cjs/scheduler.production.js:
153  (**
154   * @license React
155   * scheduler.production.js
156   *
157   * Copyright (c) Meta Platforms, Inc. and affiliates.
158   *
159   * This source code is licensed under the MIT license found in the
160   * LICENSE file in the root directory of this source tree.
161   *)
162
163react-dom/cjs/react-dom-client.production.js:
164  (**
165   * @license React
166   * react-dom-client.production.js
167   *
168   * Copyright (c) Meta Platforms, Inc. and affiliates.
169   *
170   * This source code is licensed under the MIT license found in the
171   * LICENSE file in the root directory of this source tree.
172   *)
173
174react-router/dist/production/lib/router/url.js:
175react-router/dist/production/lib/router/history.js:
176react-router/dist/production/lib/router/utils.js:
177react-router/dist/production/lib/router/navigation.js:
178react-router/dist/production/lib/router/router.js:
179react-router/dist/production/lib/context.js:
180react-router/dist/production/lib/errors.js:
181react-router/dist/production/lib/hooks.js:
182react-router/dist/production/lib/components.js:
183react-router/dist/production/lib/dom/dom.js:
184react-router/dist/production/lib/dom/ssr/invariant.js:
185react-router/dist/production/lib/dom/ssr/markup.js:
186react-router/dist/production/lib/dom/ssr/single-fetch.js:
187react-router/dist/production/lib/dom/ssr/routeModules.js:
188react-router/dist/production/lib/dom/ssr/links.js:
189react-router/dist/production/lib/dom/ssr/components.js:
190react-router/dist/production/lib/dom/lib.js:
191react-router/dist/production/lib/dom/server.js:
192react-router/dist/production/index.js:
193  (**
194   * react-router v8.3.1
195   *
196   * Copyright (c) Remix Software Inc.
197   *
198   * This source code is licensed under the MIT license found in the
199   * LICENSE.md file in the root directory of this source tree.
200   *
201   * @license MIT
202   *)
203
204@firebase/util/dist/postinstall.mjs:
205  (**
206   * @license
207   * Copyright 2025 Google LLC
208   *
209   * Licensed under the Apache License, Version 2.0 (the "License");
210   * you may not use this file except in compliance with the License.
211   * You may obtain a copy of the License at
212   *
213   *   http://www.apache.org/licenses/LICENSE-2.0
214   *
215   * Unless required by applicable law or agreed to in writing, software
216   * distributed under the License is distributed on an "AS IS" BASIS,
217   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
218   * See the License for the specific language governing permissions and
219   * limitations under the License.
220   *)
221
222@firebase/util/dist/index.esm.js:
223  (**
224   * @license
225   * Copyright 2017 Google LLC
226   *
227   * Licensed under the Apache License, Version 2.0 (the "License");
228   * you may not use this file except in compliance with the License.
229   * You may obtain a copy of the License at
230   *
231   *   http://www.apache.org/licenses/LICENSE-2.0
232   *
233   * Unless required by applicable law or agreed to in writing, software
234   * distributed under the License is distributed on an "AS IS" BASIS,
235   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
236   * See the License for the specific language governing permissions and
237   * limitations under the License.
238   *)
239  (**
240   * @license
241   * Copyright 2022 Google LLC
242   *
243   * Licensed under the Apache License, Version 2.0 (the "License");
244   * you may not use this file except in compliance with the License.
245   * You may obtain a copy of the License at
246   *
247   *   http://www.apache.org/licenses/LICENSE-2.0
248   *
249   * Unless required by applicable law or agreed to in writing, software
250   * distributed under the License is distributed on an "AS IS" BASIS,
251   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
252   * See the License for the specific language governing permissions and
253   * limitations under the License.
254   *)
255  (**
256   * @license
257   * Copyright 2021 Google LLC
258   *
259   * Licensed under the Apache License, Version 2.0 (the "License");
260   * you may not use this file except in compliance with the License.
261   * You may obtain a copy of the License at
262   *
263   *   http://www.apache.org/licenses/LICENSE-2.0
264   *
265   * Unless required by applicable law or agreed to in writing, software
266   * distributed under the License is distributed on an "AS IS" BASIS,
267   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
268   * See the License for the specific language governing permissions and
269   * limitations under the License.
270   *)
271
272@firebase/util/dist/index.esm.js:
273@firebase/util/dist/index.esm.js:
274@firebase/util/dist/index.esm.js:
275@firebase/logger/dist/esm/index.esm.js:
276@firebase/database/dist/index.esm.js:
277@firebase/database/dist/index.esm.js:
278@firebase/database/dist/index.esm.js:
279@firebase/database/dist/index.esm.js:
280@firebase/database/dist/index.esm.js:
281@firebase/database/dist/index.esm.js:
282@firebase/database/dist/index.esm.js:
283@firebase/database/dist/index.esm.js:
284@firebase/database/dist/index.esm.js:
285@firebase/database/dist/index.esm.js:
286@firebase/database/dist/index.esm.js:
287@firebase/database/dist/index.esm.js:
288@firebase/database/dist/index.esm.js:
289@firebase/database/dist/index.esm.js:
290@firebase/database/dist/index.esm.js:
291@firebase/database/dist/index.esm.js:
292@firebase/database/dist/index.esm.js:
293@firebase/database/dist/index.esm.js:
294  (**
295   * @license
296   * Copyright 2017 Google LLC
297   *
298   * Licensed under the Apache License, Version 2.0 (the "License");
299   * you may not use this file except in compliance with the License.
300   * You may obtain a copy of the License at
301   *
302   *   http://www.apache.org/licenses/LICENSE-2.0
303   *
304   * Unless required by applicable law or agreed to in writing, software
305   * distributed under the License is distributed on an "AS IS" BASIS,
306   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
307   * See the License for the specific language governing permissions and
308   * limitations under the License.
309   *)
310
311@firebase/util/dist/index.esm.js:
312  (**
313   * @license
314   * Copyright 2017 Google LLC
315   *
316   * Licensed under the Apache License, Version 2.0 (the "License");
317   * you may not use this file except in compliance with the License.
318   * You may obtain a copy of the License at
319   *
320   *   http://www.apache.org/licenses/LICENSE-2.0
321   *
322   * Unless required by applicable law or agreed to in writing, softw
322are
323   * distributed under the License is distributed on an "AS IS" BASIS,
324   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
325   * See the License for the specific language governing permissions and
326   * limitations under the License.
327   *)
328  (**
329   * @license
330   * Copyright 2022 Google LLC
331   *
332   * Licensed under the Apache License, Version 2.0 (the "License");
333   * you may not use this file except in compliance with the License.
334   * You may obtain a copy of the License at
335   *
336   *   http://www.apache.org/licenses/LICENSE-2.0
337   *
338   * Unless required by applicable law or agreed to in writing, software
339   * distributed under the License is distributed on an "AS IS" BASIS,
340   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
341   * See the License for the specific language governing permissions and
342   * limitations under the License.
343   *)
344
345@firebase/util/dist/index.esm.js:
346  (**
347   * @license
348   * Copyright 2017 Google LLC
349   *
350   * Licensed under the Apache License, Version 2.0 (the "License");
351   * you may not use this file except in compliance with the License.
352   * You may obtain a copy of the License at
353   *
354   *   http://www.apache.org/licenses/LICENSE-2.0
355   *
356   * Unless required by applicable law or agreed to in writing, software
357   * distributed under the License is distributed on an "AS IS" BASIS,
358   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
359   * See the License for the specific language governing permissions and
360   * limitations under the License.
361   *)
362  (**
363   * @license
364   * Copyright 2019 Google LLC
365   *
366   * Licensed under the Apache License, Version 2.0 (the "License");
367   * you may not use this file except in compliance with the License.
368   * You may obtain a copy of the License at
369   *
370   *   http://www.apache.org/licenses/LICENSE-2.0
371   *
372   * Unless required by applicable law or agreed to in writing, software
373   * distributed under the License is distributed on an "AS IS" BASIS,
374   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
375   * See the License for the specific language governing permissions and
376   * limitations under the License.
377   *)
378
379@firebase/util/dist/index.esm.js:
380@firebase/database/dist/index.esm.js:
381@firebase/database/dist/index.esm.js:
382@firebase/database/dist/index.esm.js:
383firebase/app/dist/esm/index.esm.js:
384@firebase/auth/dist/esm/index-CvXU3_1x.js:
385@firebase/auth/dist/esm/index-CvXU3_1x.js:
386@firebase/auth/dist/esm/index-CvXU3_1x.js:
387@firebase/auth/dist/esm/index-CvXU3_1x.js:
388@firebase/auth/dist/esm/index-CvXU3_1x.js:
389@firebase/auth/dist/esm/index-CvXU3_1x.js:
390@firebase/auth/dist/esm/index-CvXU3_1x.js:
391@firebase/auth/dist/esm/index-CvXU3_1x.js:
392@firebase/auth/dist/esm/index-CvXU3_1x.js:
393@firebase/auth/dist/esm/index-CvXU3_1x.js:
394@firebase/auth/dist/esm/index-CvXU3_1x.js:
395@firebase/auth/dist/esm/index-CvXU3_1x.js:
396@firebase/auth/dist/esm/index-CvXU3_1x.js:
397@firebase/auth/dist/esm/index-CvXU3_1x.js:
398@firebase/auth/dist/esm/index-CvXU3_1x.js:
399@firebase/auth/dist/esm/index-CvXU3_1x.js:
400@firebase/auth/dist/esm/index-CvXU3_1x.js:
401@firebase/auth/dist/esm/index-CvXU3_1x.js:
402@firebase/auth/dist/esm/index-CvXU3_1x.js:
403@firebase/auth/dist/esm/index-CvXU3_1x.js:
404@firebase/auth/dist/esm/index-CvXU3_1x.js:
405@firebase/auth/dist/esm/index-CvXU3_1x.js:
406@firebase/auth/dist/esm/index-CvXU3_1x.js:
407@firebase/auth/dist/esm/index-CvXU3_1x.js:
408@firebase/auth/dist/esm/index-CvXU3_1x.js:
409@firebase/auth/dist/esm/index-CvXU3_1x.js:
410@firebase/auth/dist/esm/index-CvXU3_1x.js:
411@firebase/auth/dist/esm/index-CvXU3_1x.js:
412@firebase/auth/dist/esm/index-CvXU3_1x.js:
413@firebase/auth/dist/esm/index-CvXU3_1x.js:
414  (**
415   * @license
416   * Copyright 2020 Google LLC
417   *
418   * Licensed under the Apache License, Version 2.0 (the "License");
419   * you may not use this file except in compliance with the License.
420   * You may obtain a copy of the License at
421   *
422   *   http://www.apache.org/licenses/LICENSE-2.0
423   *
424   * Unless required by applicable law or agreed to in writing, software
425   * distributed under the License is distributed on an "AS IS" BASIS,
426   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
427   * See the License for the specific language governing permissions and
428   * limitations under the License.
429   *)
430
431@firebase/util/dist/index.esm.js:
432  (**
433   * @license
434   * Copyright 2021 Google LLC
435   *
436   * Licensed under the Apache License, Version 2.0 (the "License");
437   * you may not use this file except in compliance with the License.
438   * You may obtain a copy of the License at
439   *
440   *   http://www.apache.org/licenses/LICENSE-2.0
441   *
442   * Unless required by applicable law or agreed to in writing, software
443   * distributed under the License is distributed on an "AS IS" BASIS,
444   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
445   * See the License for the specific language governing permissions and
446   * limitations under the License.
447   *)
448  (**
449   * @license
450   * Copyright 2025 Google LLC
451   *
452   * Licensed under the Apache License, Version 2.0 (the "License");
453   * you may not use this file except in compliance with the License.
454   * You may obtain a copy of the License at
455   *
456   *   http://www.apache.org/licenses/LICENSE-2.0
457   *
458   * Unless required by applicable law or agreed to in writing, software
459   * distributed under the License is distributed on an "AS IS" BASIS,
460   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
461   * See the License for the specific language governing permissions and
462   * limitations under the License.
463   *)
464
465@firebase/component/dist/esm/index.esm.js:
466@firebase/app/dist/esm/index.esm.js:
467@firebase/app/dist/esm/index.esm.js:
468@firebase/auth/dist/esm/index-CvXU3_1x.js:
469@firebase/auth/dist/esm/index-CvXU3_1x.js:
470  (**
471   * @license
472   * Copyright 2019 Google LLC
473   *
474   * Licensed under the Apache License, Version 2.0 (the "License");
475   * you may not use this file except in compliance with the License.
476   * You may obtain a copy of the License at
477   *
478   *   http://www.apache.org/licenses/LICENSE-2.0
479   *
480   * Unless required by applicable law or agreed to in writing, software
481   * distributed under the License is distributed on an "AS IS" BASIS,
482   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
483   * See the License for the specific language governing permissions and
484   * limitations under the License.
485   *)
486
487@firebase/app/dist/esm/index.esm.js:
488  (**
489   * @license
490   * Copyright 2019 Google LLC
491   *
492   * Licensed under the Apache License, Version 2.0 (the "License");
493   * you may not use this file except in compliance with the License.
494   * You may obtain a copy of the License at
495   *
496   *   http://www.apache.org/licenses/LICENSE-2.0
497   *
498   * Unless required by applicable law or agreed to in writing, software
499   * distributed under the License is distributed on an "AS IS" BASIS,
500   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
501   * See the License for the specific language governing permissions and
502   * limitations under the License.
503   *)
504  (**
505   * @license
506   * Copyright 2023 Google LLC
507   *
508   * Licensed under the Apache License, Version 2.0 (the "License");
509   * you may not use this file except in compliance with the License.
510   * You may obtain a copy of the License at
511   *
512   *   http://www.apache.org/licenses/LICENSE-2.0
513   *
514   * Unless required by applicable law or agreed to in writing, software
515   * distributed under the License is distributed on an "AS IS" BASIS,
516   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
517   * See the License for the specific language governing permissions and
518   * limitations under the License.
519   *)
520
521@firebase/app/dist/esm/index.esm.js:
522  (**
523   * @license
524   * Copyright 2021 Google LLC
525   *
526   * Licensed under the Apache License, Version 2.0 (the "License");
527   * you may not use this file except in compliance with the License.
528   * You may obtain a copy of the License at
529   *
530   *   http://www.apache.org/licenses/LICENSE-2.0
531   *
532   * Unless required by applicable law or agreed to in writing, software
533   * distributed under the License is distributed on an "AS IS" BASIS,
534   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
535   * See the License for the specific language governing permissions and
536   * limitations under the License.
537   *)
538  (**
539   * @license
540   * Copyright 2019 Google LLC
541   *
542   * Licensed under the Apache License, Version 2.0 (the "License");
543   * you may not use this file except in compliance with the License.
544   * You may obtain a copy of the License at
545   *
546   *   http://www.apache.org/licenses/LICENSE-2.0
547   *
548   * Unless required by applicable law or agreed to in writing, software
549   * distributed under the License is distributed on an "AS IS" BASIS,
550   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
551   * See the License for the specific language governing permissions and
552   * limitations under the License.
553   *)
554
555@firebase/database/dist/index.esm.js:
556  (**
557   * @license
558   * Copyright 2019 Google LLC
559   *
560   * Licensed under the Apache License, Version 2.0 (the "License");
561   * you may not use this file except in compliance with the License.
562   * You may obtain a copy of the License at
563   *
564   *   http://www.apache.org/licenses/LICENSE-2.0
565   *
566   * Unless required by applicable law or agreed to in writing, software
567   * distributed under the License is distributed on an "AS IS" BASIS,
568   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
569   * See the License for the specific language governing permissions and
570   * limitations under the License.
571   *)
572  (**
573   * @license
574   * Copyright 2017 Google LLC
575   *
576   * Licensed under the Apache License, Version 2.0 (the "License");
577   * you may not use this file except in compliance with the License.
578   * You may obtain a copy of the License at
579   *
580   *   http://www.apache.org/licenses/LICENSE-2.0
581   *
582   * Unless required by applicable law or agreed to in writing, software
583   * distributed under the License is distributed on an "AS IS" BASIS,
584   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
585   * See the License for the specific language governing permissions and
586   * limitations under the License.
587   *)
588
589@firebase/database/dist/index.esm.js:
590  (**
591   * @license
592   * Copyright 2021 Google LLC
593   *
594   * Licensed under the Apache License, Version 2.0 (the "License");
595   * you may not use this file except in compliance with the License.
596   * You may obtain a copy of the License at
597   *
598   *   http://www.apache.org/licenses/LICENSE-2.0
599   *
600   * Unless required by applicable law or agreed to in writing, software
601   * distributed under the License is distributed on an "AS IS" BASIS,
602   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
603   * See the License for the specific language governing permissions and
604   * limitations under the License.
605   *)
606  (**
607   * @license
608   * Copyright 2017 Google LLC
609   *
610   * Licensed under the Apache License, Version 2.0 (the "License");
611   * you may not use this file except in compliance with the License.
612   * You may obtain a copy of the License at
613   *
614   *   http://www.apache.org/licenses/LICENSE-2.0
615   *
616   * Unless required by applicable law or agreed to in writing, software
617   * distributed under the License is distributed on an "AS IS" BASIS,
618   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
619   * See the License for the specific language governing permissions and
620   * limitations under the License.
621   *)
622
623@firebase/database/dist/index.esm.js:
624@firebase/auth/dist/esm/index-CvXU3_1x.js:
625  (**
626   * @license
627   * Copyright 2021 Google LLC
628   *
629   * Licensed under the Apache License, Version 2.0 (the "License");
630   * you may not use this file except in compliance with the License.
631   * You may obtain a copy of the License at
632   *
633   *   http://www.apache.org/licenses/LICENSE-2.0
634   *
635   * Unless required by applicable law or agreed to in writing, software
636   * distributed under the License is distributed on an "AS IS" BASIS,
637   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
638   * See the License for the specific language governing permissions and
639   * limitations under the License.
640   *)
641
642@firebase/database/dist/index.esm.js:
643  (**
644   * @license
645   * Copyright 2021 Google LLC
646   *
647   * Licensed under the Apache License, Version 2.0 (the "License");
648   * you may not use this file except in compliance with the License.
649   * You may obtain a copy of the License at
650   *
651   *   http://www.apache.org/licenses/LICENSE-2.0
652   *
653   * Unless required by applicable law or agreed to in writing, softw
653are
654   * distributed under the License is distributed on an "AS IS" BASIS,
655   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
656   * See the License for the specific language governing permissions and
657   * limitations under the License.
658   *)
659  (**
660   * @license
661   * Copyright 2020 Google LLC
662   *
663   * Licensed under the Apache License, Version 2.0 (the "License");
664   * you may not use this file except in compliance with the License.
665   * You may obtain a copy of the License at
666   *
667   *   http://www.apache.org/licenses/LICENSE-2.0
668   *
669   * Unless required by applicable law or agreed to in writing, software
670   * distributed under the License is distributed on an "AS IS" BASIS,
671   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
672   * See the License for the specific language governing permissions and
673   * limitations under the License.
674   *)
675
676@firebase/database/dist/index.esm.js:
677  (**
678   * @license
679   * Copyright 2023 Google LLC
680   *
681   * Licensed under the Apache License, Version 2.0 (the "License");
682   * you may not use this file except in compliance with the License.
683   * You may obtain a copy of the License at
684   *
685   *   http://www.apache.org/licenses/LICENSE-2.0
686   *
687   * Unless required by applicable law or agreed to in writing, software
688   * distributed under the License is distributed on an "AS IS" BASIS,
689   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
690   * See the License for the specific language governing permissions and
691   * limitations under the License.
692   *)
693
694@firebase/auth/dist/esm/index-CvXU3_1x.js:
695@firebase/auth/dist/esm/index-CvXU3_1x.js:
696  (**
697   * @license
698   * Copyright 2020 Google LLC
699   *
700   * Licensed under the Apache License, Version 2.0 (the "License");
701   * you may not use this file except in compliance with the License.
702   * You may obtain a copy of the License at
703   *
704   *   http://www.apache.org/licenses/LICENSE-2.0
705   *
706   * Unless required by applicable law or agreed to in writing, software
707   * distributed under the License is distributed on an "AS IS" BASIS,
708   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
709   * See the License for the specific language governing permissions and
710   * limitations under the License.
711   *)
712  (**
713   * @license
714   * Copyright 2019 Google LLC
715   *
716   * Licensed under the Apache License, Version 2.0 (the "License");
717   * you may not use this file except in compliance with the License.
718   * You may obtain a copy of the License at
719   *
720   *   http://www.apache.org/licenses/LICENSE-2.0
721   *
722   * Unless required by applicable law or agreed to in writing, software
723   * distributed under the License is distributed on an "AS IS" BASIS,
724   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
725   * See the License for the specific language governing permissions and
726   * limitations under the License.
727   *)
728
729@firebase/auth/dist/esm/index-CvXU3_1x.js:
730  (**
731   * @license
732   * Copyright 2020 Google LLC
733   *
734   * Licensed under the Apache License, Version 2.0 (the "License");
735   * you may not use this file except in compliance with the License.
736   * You may obtain a copy of the License at
737   *
738   *   http://www.apache.org/licenses/LICENSE-2.0
739   *
740   * Unless required by applicable law or agreed to in writing, software
741   * distributed under the License is distributed on an "AS IS" BASIS,
742   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
743   * See the License for the specific language governing permissions and
744   * limitations under the License.
745   *)
746  (**
747   * @license
748   * Copyright 2022 Google LLC
749   *
750   * Licensed under the Apache License, Version 2.0 (the "License");
751   * you may not use this file except in compliance with the License.
752   * You may obtain a copy of the License at
753   *
754   *   http://www.apache.org/licenses/LICENSE-2.0
755   *
756   * Unless required by applicable law or agreed to in writing, software
757   * distributed under the License is distributed on an "AS IS" BASIS,
758   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
759   * See the License for the specific language governing permissions and
760   * limitations under the License.
761   *)
762  (**
763   * @license
764   * Copyright 2023 Google LLC
765   *
766   * Licensed under the Apache License, Version 2.0 (the "License");
767   * you may not use this file except in compliance with the License.
768   * You may obtain a copy of the License at
769   *
770   *   http://www.apache.org/licenses/LICENSE-2.0
771   *
772   * Unless required by applicable law or agreed to in writing, software
773   * distributed under the License is distributed on an "AS IS" BASIS,
774   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
775   * See the License for the specific language governing permissions and
776   * limitations under the License.
777   *)
778
779@firebase/auth/dist/esm/index-CvXU3_1x.js:
780  (**
781   * @license
782   * Copyright 2022 Google LLC
783   *
784   * Licensed under the Apache License, Version 2.0 (the "License");
785   * you may not use this file except in compliance with the License.
786   * You may obtain a copy of the License at
787   *
788   *   http://www.apache.org/licenses/LICENSE-2.0
789   *
790   * Unless required by applicable law or agreed to in writing, software
791   * distributed under the License is distributed on an "AS IS" BASIS,
792   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
793   * See the License for the specific language governing permissions and
794   * limitations under the License.
795   *)
796  (**
797   * @license
798   * Copyright 2020 Google LLC
799   *
800   * Licensed under the Apache License, Version 2.0 (the "License");
801   * you may not use this file except in compliance with the License.
802   * You may obtain a copy of the License at
803   *
804   *   http://www.apache.org/licenses/LICENSE-2.0
805   *
806   * Unless required by applicable law or agreed to in writing, software
807   * distributed under the License is distributed on an "AS IS" BASIS,
808   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
809   * See the License for the specific language governing permissions and
810   * limitations under the License.
811   *)
812
813@firebase/auth/dist/esm/index-CvXU3_1x.js:
814  (**
815   * @license
816   * Copyright 2019 Google LLC
817   *
818   * Licensed under the Apache License, Version 2.0 (the "License");
819   * you may not use this file except in compliance with the License.
820   * You may obtain a copy of the License at
821   *
822   *   http://www.apache.org/licenses/LICENSE-2.0
823   *
824   * Unless required by applicable law or agreed to in writing, software
825   * distributed under the License is distributed on an "AS IS" BASIS,
826   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
827   * See the License for the specific language governing permissions and
828   * limitations under the License.
829   *)
830  (**
831   * @license
832   * Copyright 2020 Google LLC
833   *
834   * Licensed under the Apache License, Version 2.0 (the "License");
835   * you may not use this file except in compliance with the License.
836   * You may obtain a copy of the License at
837   *
838   *   http://www.apache.org/licenses/LICENSE-2.0
839   *
840   * Unless required by applicable law or agreed to in writing, software
841   * distributed under the License is distributed on an "AS IS" BASIS,
842   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
843   * See the License for the specific language governing permissions and
844   * limitations under the License.
845   *)
846
847@firebase/auth/dist/esm/index-CvXU3_1x.js:
848  (**
849   * @license
850   * Copyright 2019 Google LLC
851   *
852   * Licensed under the Apache License, Version 2.0 (the "License");
853   * you may not use this file except in compliance with the License.
854   * You may obtain a copy of the License at
855   *
856   *   http://www.apache.org/licenses/LICENSE-2.0
857   *
858   * Unless required by applicable law or agreed to in writing, software
859   * distributed under the License is distributed on an "AS IS" BASIS,
860   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
861   * See the License for the specific language governing permissions and
862   * limitations under the License.
863   *)
864  (**
865   * @license
866   * Copyright 2020 Google LLC
867   *
868   * Licensed under the Apache License, Version 2.0 (the "License");
869   * you may not use this file except in compliance with the License.
870   * You may obtain a copy of the License at
871   *
872   *   http://www.apache.org/licenses/LICENSE-2.0
873   *
874   * Unless required by applicable law or agreed to in writing, softw
874are
875   * distributed under the License is distributed on an "AS IS" BASIS,
876   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
877   * See the License for the specific language governing permissions and
878   * limitations under the License.
879   *)
880  (**
881   * @license
882   * Copyright 2025 Google LLC
883   *
884   * Licensed under the Apache License, Version 2.0 (the "License");
885   * you may not use this file except in compliance with the License.
886   * You may obtain a copy of the License at
887   *
888   *   http://www.apache.org/licenses/LICENSE-2.0
889   *
890   * Unless required by applicable law or agreed to in writing, software
891   * distributed under the License is distributed on an "AS IS" BASIS,
892   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
893   * See the License for the specific language governing permissions and
894   * limitations under the License.
895   *)
896
897@firebase/auth/dist/esm/index-CvXU3_1x.js:
898  (**
899   * @license
900   * Copyright 2020 Google LLC
901   *
902   * Licensed under the Apache License, Version 2.0 (the "License");
903   * you may not use this file except in compliance with the License.
904   * You may obtain a copy of the License at
905   *
906   *   http://www.apache.org/licenses/LICENSE-2.0
907   *
908   * Unless required by applicable law or agreed to in writing, software
909   * distributed under the License is distributed on an "AS IS" BASIS,
910   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
911   * See the License for the specific language governing permissions and
912   * limitations under the License.
913   *)
914  (**
915   * @license
916   * Copyright 2019 Google LLC
917   *
918   * Licensed under the Apache License, Version 2.0 (the "License");
919   * you may not use this file except in compliance with the License.
920   * You may obtain a copy of the License at
921   *
922   *   http://www.apache.org/licenses/LICENSE-2.0
923   *
924   * Unless required by applicable law or agreed to in writing, software
925   * distributed under the License is distributed on an "AS IS" BASIS,
926   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
927   * See the License for the specific language governing permissions and
928   * limitations under the License.
929   *)
930  (**
931   * @license
932   * Copyright 2020 Google LLC.
933   *
934   * Licensed under the Apache License, Version 2.0 (the "License");
935   * you may not use this file except in compliance with the License.
936   * You may obtain a copy of the License at
937   *
938   *   http://www.apache.org/licenses/LICENSE-2.0
939   *
940   * Unless required by applicable law or agreed to in writing, software
941   * distributed under the License is distributed on an "AS IS" BASIS,
942   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
943   * See the License for the specific language governing permissions and
944   * limitations under the License.
945   *)
946
947@firebase/auth/dist/esm/index-CvXU3_1x.js:
948  (**
949   * @license
950   * Copyright 2020 Google LLC
951   *
952   * Licensed under the Apache License, Version 2.0 (the "License");
953   * you may not use this file except in compliance with the License.
954   * You may obtain a copy of the License at
955   *
956   *   http://www.apache.org/licenses/LICENSE-2.0
957   *
958   * Unless required by applicable law or agreed to in writing, software
959   * distributed under the License is distributed on an "AS IS" BASIS,
960   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
961   * See the License for the specific language governing permissions and
962   * limitations under the License.
963   *)
964  (**
965   * @license
966   * Copyright 2021 Google LLC
967   *
968   * Licensed under the Apache License, Version 2.0 (the "License");
969   * you may not use this file except in compliance with the License.
970   * You may obtain a copy of the License at
971   *
972   *   http://www.apache.org/licenses/LICENSE-2.0
973   *
974   * Unless required by applicable law or agreed to in writing, software
975   * distributed under the License is distributed on an "AS IS" BASIS,
976   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
977   * See the License for the specific language governing permissions and
978   * limitations under the License.
979   *)
980  (**
981   * @license
982   * Copyright 2019 Google LLC
983   *
984   * Licensed under the Apache License, Version 2.0 (the "License");
985   * you may not use this file except in compliance with the License.
986   * You may obtain a copy of the License at
987   *
988   *   http://www.apache.org/licenses/LICENSE-2.0
989   *
990   * Unless required by applicable law or agreed to in writing, software
991   * distributed under the License is distributed on an "AS IS" BASIS,
992   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
993   * See the License for the specific language governing permissions and
994   * limitations under the License.
995   *)
996
997@firebase/auth/dist/esm/index-CvXU3_1x.js:
998  (**
999   * @license
1000   * Copyright 2020 Google LLC
1001   *
1002   * Licensed under the Apache License, Version 2.0 (the "License");
1003   * you may not use this file except in compliance with the License.
1004   * You may obtain a copy of the License at
1005   *
1006   *   http://www.apache.org/licenses/LICENSE-2.0
1007   *
1008   * Unless required by applicable law or agreed to in writing, software
1009   * distributed under the License is distributed on an "AS IS" BASIS,
1010   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1011   * See the License for the specific language governing permissions and
1012   * limitations under the License.
1013   *)
1014  (**
1015   * @license
1016   * Copyright 2020 Google LLC.
1017   *
1018   * Licensed under the Apache License, Version 2.0 (the "License");
1019   * you may not use this file except in compliance with the License.
1020   * You may obtain a copy of the License at
1021   *
1022   *   http://www.apache.org/licenses/LICENSE-2.0
1023   *
1024   * Unless required by applicable law or agreed to in writing, software
1025   * distributed under the License is distributed on an "AS IS" BASIS,
1026   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1027   * See the License for the specific language governing permissions and
1028   * limitations under the License.
1029   *)
1030  (**
1031   * @license
1032   * Copyright 2021 Google LLC
1033   *
1034   * Licensed under the Apache License, Version 2.0 (the "License");
1035   * you may not use this file except in compliance with the License.
1036   * You may obtain a copy of the License at
1037   *
1038   *   http://www.apache.org/licenses/LICENSE-2.0
1039   *
1040   * Unless required by applicable law or agreed to in writing, software
1041   * distributed under the License is distributed on an "AS IS" BASIS,
1042   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1043   * See the License for the specific language governing permissions and
1044   * limitations under the License.
1045   *)
1046
1047tabbable/dist/index.esm.js:
1048  (*!
1049  * tabbable 6.5.0
1050  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
1051  *)
1052*/

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.