PageSourceSearch

https://bold.games/assets/index-DU23HXjF.js

js bold.games collected 2026-10-02 00:02:13 UTC 351,015 bytes, 11 lines download raw bytes

vendor: 20,708 bytes, lines 1-3
1function W0(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var lc={exports:{}},Ci={};var $m;function $0(){if($m)return Ci;$m=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(u,c,f){var h=null;if(f!==void 0&&(h=""+f),c.key!==void 0&&(h=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:n,type:u,key:h,ref:c!==void 0?c:null,props:f}}return Ci.Fragment=i,Ci.jsx=s,Ci.jsxs=s,Ci}var ty;function tS(){return ty||(ty=1,lc.exports=$0()),lc.exports}var J=tS(),ic={exports:{}},ot={};var ey;function eS(){if(ey)return ot;ey=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),b=Symbol.iterator;function E(O){return O===null||typeof O!="object"?null:(O=b&&O[b]||O["@@iterator"],typeof O=="function"?O:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,R={};function C(O,Q,k){this.props=O,this.context=Q,this.refs=R,this.updater=k||x}C.prototype.isReactComponent={},C.prototype.setState=function(O,Q){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,Q,"setState")},C.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function N(){}N.prototype=C.prototype;function Y(O,Q,k){this.props=O,this.context=Q,this.refs=R,this.updater=k||x}var X=Y.prototype=new N;X.constructor=Y,z(X,C.prototype),X.isPureReactComponent=!0;var Z=Array.isArray;function F(){}var q={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function I(O,Q,k){var W=k.ref;return{$$typeof:n,type:O,key:Q,ref:W!==void 0?W:null,props:k}}function rt(O,Q){return I(O.type,Q,O.props)}function st(O){return typeof O=="object"&&O!==null&&O.$$typeof===n}function it(O){var Q={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(k){return Q[k]})}var $t=/\/+/g;function jt(O,Q){return typeof O=="object"&&O!==null&&O.key!=null?it(""+O.key):Q.toString(36)}function Qt(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(F,F):(O.status="pending",O.then(function(Q){O.status==="pending"&&(O.status="fulfilled",O.value=Q)},function(Q){O.status==="pending"&&(O.status="rejected",O.reason=Q)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function B(O,Q,k,W,nt){var dt=typeof O;(dt==="undefined"||dt==="boolean")&&(O=null);var vt=!1;if(O===null)vt=!0;else switch(dt){case"bigint":case"string":case"number":vt=!0;break;case"object":switch(O.$$typeof){case n:case i:vt=!0;break;case S:return vt=O._init,B(vt(O._payload),Q,k,W,nt)}}if(vt)return nt=nt(O),vt=W===""?"."+jt(O,0):W,Z(nt)?(k="",vt!=null&&(k=vt.replace($t,"$&/")+"/"),B(nt,Q,k,"",function(nn){return nn})):nt!=null&&(st(nt)&&(nt=rt(nt,k+(nt.key==null||O&&O.key===nt.key?"":(""+nt.key).replace($t,"$&/")+"/")+vt)),Q.push(nt)),1;vt=0;var Vt=W===""?".":W+":";if(Z(O))for(var wt=0;wt<O.length;wt++)W=O[wt],dt=Vt+jt(W,wt),vt+=B(W,Q,k,dt,nt);else if(wt=E(O),typeof wt=="function")for(O=wt.call(O),wt=0;!(W=O.next()).done;)W=W.value,dt=Vt+jt(W,wt++),vt+=B(W,Q,k,dt,nt);else if(dt==="object"){if(typeof O.then=="function")return B(Qt(O),Q,k,W,nt);throw Q=String(O),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return vt}function P(O,Q,k){if(O==null)return O;var W=[],nt=0;return B(O,W,"","",function(dt){return Q.call(k,dt,nt++)}),W}function lt(O){if(O._status===-1){var Q=O._result;Q=Q(),Q.then(function(k){(O._status===0||O._status===-1)&&(O._status=1,O._result=k)},function(k){(O._status===0||O._status===-1)&&(O._status=2,O._result=k)}),O._status===-1&&(O._status=0,O._result=Q)}if(O._status===1)return O._result.default;throw O._result}var Et=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)},Tt={map:P,forEach:function(O,Q,k){P(O,function(){Q.apply(this,arguments)},k)},count:function(O){var Q=0;return P(O,function(){Q++}),Q},toArray:function(O){return P(O,function(Q){return Q})||[]},only:function(O){if(!st(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};return ot.Activity=p,ot.Children=Tt,ot.Component=C,ot.Fragment=s,ot.Profiler=c,ot.PureComponent=Y,ot.StrictMode=u,ot.Suspense=g,ot.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,ot.__COMPILER_RUNTIME={__proto__:null,c:function(O){return q.H.useMemoCache(O)}},ot.cache=function(O){return function(){return O.apply(null,arguments)}},ot.cacheSignal=function(){return null},ot.cloneElement=function(O,Q,k){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var W=z({},O.props),nt=O.key;if(Q!=null)for(dt in Q.key!==void 0&&(nt=""+Q.key),Q)!K.call(Q,dt)||dt==="key"||dt==="__self"||dt==="__source"||dt==="ref"&&Q.ref===void 0||(W[dt]=Q[dt]);var dt=arguments.length-2;if(dt===1)W.children=k;else if(1<dt){for(var vt=Array(dt),Vt=0;Vt<dt;Vt++)vt[Vt]=arguments[Vt+2];W.children=vt}return I(O.type,nt,W)},ot.createContext=function(O){return O={$$typeof:h,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:f,_context:O},O},ot.createElement=function(O,Q,k){var W,nt={},dt=null;if(Q!=null)for(W in Q.key!==void 0&&(dt=""+Q.key),Q)K.call(Q,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(nt[W]=Q[W]);var vt=arguments.length-2;if(vt===1)nt.children=k;else if(1<vt){for(var Vt=Array(vt),wt=0;wt<vt;wt++)Vt[wt]=arguments[wt+2];nt.children=Vt}if(O&&O.defaultProps)for(W in vt=O.defaultProps,vt)nt[W]===void 0&&(nt[W]=vt[W]);return I(O,dt,nt)},ot.createRef=function(){return{current:null}},ot.forwardRef=function(O){return{$$typeof:m,render:O}},ot.isValidElement=st,ot.lazy=function(O){return{$$typeof:S,_payload:{_status:-1,_result:O},_init:lt}},ot.memo=function(O,Q){return{$$typeof:y,type:O,compare:Q===void 0?null:Q}},ot.startTransition=function(O){var Q=q.T,k={};q.T=k;try{var W=O(),nt=q.S;nt!==null&&nt(k,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(F,Et)}catch(dt){Et(dt)}finally{Q!==null&&k.types!==null&&(Q.types=k.types),q.T=Q}},ot.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},ot.use=function(O){return q.H.use(O)},ot.useActionState=function(O,Q,k){return q.H.useActionState(O,Q,k)},ot.useCallback=function(O,Q){return q.H.useCallback(O,Q)},ot.useContext=function(O){return q.H.useContext(O)},ot.useDebugValue=function(){},ot.useDeferredValue=function(O,Q){return q.H.useDeferredValue(O,Q)},ot.useEffect=function(O,Q){return q.H.useEffect(O,Q)},ot.useEffectEvent=function(O){return q.H.useEffectEvent(O)},ot.useId=function(){return q.H.useId()},ot.useImperativeHandle=function(O,Q,k){return q.H.useImperativeHandle(O,Q,k)},ot.useInsertionEffect=function(O,Q){return q.H.useInsertionEffect(O,Q)},ot.useLayoutEffect=function(O,Q){return q.H.useLayoutEffect(O,Q)},ot.useMemo=function(O,Q){return q.H.useMemo(O,Q)},ot.useOptimistic=function(O,Q){return q.H.useOptimistic(O,Q)},ot.useReducer=function(O,Q,k){return q.H.useReducer(O,Q,k)},ot.useRef=function(O){return q.H.useRef(O)},ot.useState=function(O){return q.H.useState(O)},ot.useSyncExternalStore=function(O,Q,k){return q.H.useSyncExternalStore(O,Q,k)},ot.useTransition=function(){return q.H.useTransition()},ot.version="19.2.5",ot}var ny;function Ki(){return ny||(ny=1,ic.exports=eS()),ic.exports}var et=Ki();const Bi=W0(et);var sc={exports:{}},wi={},uc={exports:{}},rc={};var ay;function nS(){return ay||(ay=1,(function(n){function i(B,P){var lt=B.length;B.push(P);t:for(;0<lt;){var Et=lt-1>>>1,Tt=B[Et];if(0<c(Tt,P))B[Et]=P,B[lt]=Tt,lt=Et;else break t}}function s(B){return B.length===0?null:B[0]}function u(B){if(B.length===0)return null;var P=B[0],lt=B.pop();if(lt!==P){B[0]=lt;t:for(var Et=0,Tt=B.length,O=Tt>>>1;Et<O;){var Q=2*(Et+1)-1,k=B[Q],W=Q+1,nt=B[W];if(0>c(k,lt))W<Tt&&0>c(nt,k)?(B[Et]=nt,B[W]=lt,Et=W):(B[Et]=k,B[Q]=lt,Et=Q);else if(W<Tt&&0>c(nt,lt))B[Et]=nt,B[W]=lt,Et=W;else break t}}return P}function c(B,P){var lt=B.sortIndex-P.sortIndex;return lt!==0?lt:B.id-P.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var h=Date,m=h.now();n.unstable_now=function(){return h.now()-m}}var g=[],y=[],S=1,p=null,b=3,E=!1,x=!1,z=!1,R=!1,C=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function X(B){for(var P=s(y);P!==null;){if(P.callback===null)u(y);else if(P.startTime<=B)u(y),P.sortIndex=P.expirationTime,i(g,P);else break;P=s(y)}}function Z(B){if(z=!1,X(B),!x)if(s(g)!==null)x=!0,F||(F=!0,it());else{var P=s(y);P!==null&&Qt(Z,P.startTime-B)}}var F=!1,q=-1,K=5,I=-1;function rt(){return R?!0:!(n.unstable_now()-I<K)}function st(){if(R=!1,F){var B=n.unstable_now();I=B;var P=!0;try{t:{x=!1,z&&(z=!1,N(q),q=-1),E=!0;var lt=b;try{e:{for(X(B),p=s(g);p!==null&&!(p.expirationTime>B&&rt());){var Et=p.callback;if(typeof Et=="function"){p.callback=null,b=p.priorityLevel;var Tt=Et(p.expirationTime<=B);if(B=n.unstable_now(),typeof Tt=="function"){p.callback=Tt,X(B),P=!0;break e}p===s(g)&&u(g),X(B)}else u(g);p=s(g)}if(p!==null)P=!0;else{var O=s(y);O!==null&&Qt(Z,O.startTime-B),P=!1}}break t}finally{p=null,b=lt,E=!1}P=void 0}}finally{P?it():F=!1}}}var it;if(typeof Y=="function")it=function(){Y(st)};else if(typeof MessageChannel<"u"){var $t=new MessageChannel,jt=$t.port2;$t.port1.onmessage=st,it=function(){jt.postMessage(null)}}else it=function(){C(st,0)};function Qt(B,P){q=C(function(){B(n.unstable_now())},P)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(B){B.callback=null},n.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<B?Math.floor(1e3/B):5},n.unstable_getCurrentPriorityLevel=function(){return b},n.unstable_next=function(B){switch(b){case 1:case 2:case 3:var P=3;break;default:P=b}var lt=b;b=P;try{return B()}finally{b=lt}},n.unstable_requestPaint=function(){R=!0},n.unstable_runWithPriority=function(B,P){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var lt=b;b=B;try{return P()}finally{b=lt}},n.unstable_scheduleCallback=function(B,P,lt){var Et=n.unstable_now();switch(typeof lt=="object"&&lt!==null?(lt=lt.delay,lt=typeof lt=="number"&&0<lt?Et+lt:Et):lt=Et,B){case 1:var Tt=-1;break;case 2:Tt=250;break;case 5:Tt=1073741823;break;case 4:Tt=1e4;break;default:Tt=5e3}return Tt=lt+Tt,B={id:S++,callback:P,priorityLevel:B,startTime:lt,expirationTime:Tt,sortIndex:-1},lt>Et?(B.sortIndex=lt,i(y,B),s(g)===null&&B===s(y)&&(z?(N(q),q=-1):z=!0,Qt(Z,lt-Et))):(B.sortIndex=Tt,i(g,B),x||E||(x=!0,F||(F=!0,it()))),B},n.unstable_shouldYield=rt,n.unstable_wrapCallback=function(B){var P=b;return function(){var lt=b;b=P;try{return B.apply(this,arguments)}finally{b=lt}}}})(rc)),rc}var ly;function aS(){return ly||(ly=1,uc.exports=nS()),uc.exports}var oc={exports:{}},fe={};var iy;function lS(){if(iy)return fe;iy=1;var n=Ki();function i(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)y+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var u={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,y,S){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:p==null?null:""+p,children:g,containerInfo:y,implementation:S}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return fe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,fe.createPortal=function(g,y){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(i(299));return f(g,y,null,S)},fe.flushSync=function(g){var y=h.T,S=u.p;try{if(h.T=null,u.p=2,g)return g()}finally{h.T=y,u.p=S,u.d.f()}},fe.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,u.d.C(g,y))},fe.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},fe.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var S=y.as,p=m(S,y.crossOrigin),b=typeof y.integrity=="string"?y.integrity:void 0,E=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;S==="style"?u.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:p,integrity:b,fetchPriority:E}):S==="script"&&u.d.X(g,{crossOrigin:p,integrity:b,fetchPriority:E,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},fe.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var S=m(y.as,y.crossOrigin);u.d.M(g,{crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&u.d.M(g)},fe.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var S=y.as,p=m(S,y.crossOrigin);u.d.L(g,S,{crossOrigin:p,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},fe.preloadModule=function(g,y){if(typeof g=="string")if(y){var S=m(y.as,y.crossOrigin);u.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else u.d.m(g)},fe.requestFormReset=function(g){u.d.r(g)},fe.unstable_batchedUpdates=function(g,y){return g(y)},fe.useFormState=function(g,y,S){return h.H.useFormState(g,y,S)},fe.useFormStatus=function(){return h.H.useHostTransitionStatus()},fe.version="19.2.5",fe}var sy;function rp(){if(sy)return oc.exports;sy=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),oc.exports=lS(),oc.exports}var uy;function iS(){if(uy)return wi;uy=1;var n=aS(),i=Ki(),s=rp();function u(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function m(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(f(t)!==t)throw Error(u(188))}function y(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(u(188));return e!==t?null:t}for(var a=t,l=e;;){var r=a.return;if(r===null)break;var o=r.alternate;if(o===null){if(l=r.return,l!==null){a=l;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===a)return g(r),t;if(o===l)return g(r),e;o=o.sibling}throw Error(u(188))}if(a.return!==l.return)a=r,l=o;else{for(var d=!1,v=r.child;v;){if(v===a){d=!0,a=r,l=o;break}if(v===l){d=!0,l=r,a=o;break}v=v.sibling}if(!d){for(v=o.child;v;){if(v===a){d=!0,a=o,l=r;break}if(v===l){d=!0,l=o,a=r;break}v=v.sibling}if(!d)throw Error(u(189))}}if(a.alternate!==l)throw Error(u(190))}if(a.tag!==3)throw Error(u(188));return a.stateNode.current===a?t:e}function S(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=S(t),e!==null)return e;t=t.sibling}return null}var p=Object.assign,b=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),rt=Symbol.for("react.memo_cache_sentinel"),st=Symbol.iterator;function it(t){return t===null||typeof t!="object"?null:(t=st&&t[st]||t["@@iterator"],typeof t=="function"?t:null)}var $t=Symbol.for("react.client.reference");function jt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===$t?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case z:return"Fragment";case C:return"Profiler";case R:return"StrictMode";case Z:return"Suspense";case F:return"SuspenseList";case I:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case x:return"Portal";case Y:return t.displayName||"Context";case N:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case q:return e=t.displayName||null,e!==null?e:jt(t.type)||"Memo";case K:e=t._payload,t=t._init;try{return jt(t(e))}catch{}}return null}var Qt=Array.isArray,B=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,lt={pending:!1,data:null,method:null,action:null},Et=[],Tt=-1;function O(t){return{current:t}}function Q(t){0>Tt||(t.current=Et[Tt],Et[Tt]=null,Tt--)}function k(t,e){Tt++,Et[Tt]=t.current,t.current=e}var W=O(null),nt=O(null),dt=O(null),vt=O(null);function Vt(t,e){switch(k(dt,e),k(nt,t),k(W,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Em(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Em(e),t=Rm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(W),k(W,t)}function wt(){Q(W),Q(nt),Q(dt)}function nn(t){t.memoizedState!==null&&k(vt,t);var e=W.current,a=Rm(e,t.type);e!==a&&(k(nt,t),k(W,a))}function an(t){nt.current===t&&(Q(W),Q(nt)),vt.current===t&&(Q(vt),Ai._currentValue=lt)}var wn,Ul;function Pe(t){if(wn===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);wn=e&&e[1]||"",Ul=-1<a.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+wn+t+Ul}var Nl=!1;function qa(t,e){if(!t||Nl)return"";Nl=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(j){var U=j}Reflect.construct(t,[],V)}else{try{V.call()}catch(j){U=j}t.call(V.prototype)}}else{try{throw Error()}catch(j){U=j}(V=t())&&typeof V.catch=="function"&&V.catch(function(){})}}
vendor: 12,115 bytes, lines 3-8
3catch(j){if(j&&U&&typeof j.stack=="string")return[j.stack,U.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),d=o[0],v=o[1];if(d&&v){var A=d.split(`
4`),L=v.split(`
5`);for(r=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;r<L.length&&!L[r].includes("DetermineComponentFrameRoot");)r++;if(l===A.length||r===L.length)for(l=A.length-1,r=L.length-1;1<=l&&0<=r&&A[l]!==L[r];)r--;for(;1<=l&&0<=r;l--,r--)if(A[l]!==L[r]){if(l!==1||r!==1)do if(l--,r--,0>r||A[l]!==L[r]){var H=`
6`+A[l].replace(" at new "," at ");return t.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",t.displayName)),H}while(1<=l&&0<=r);break}}}finally{Nl=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?Pe(a):""}function Fi(t,e){switch(t.tag){case 26:case 27:case 5:return Pe(t.type);case 16:return Pe("Lazy");case 13:return t.child!==e&&e!==null?Pe("Suspense Fallback"):Pe("Suspense");case 19:return Pe("SuspenseList");case 0:case 15:return qa(t.type,!1);case 11:return qa(t.type.render,!1);case 1:return qa(t.type,!0);case 31:return Pe("Activity");default:return""}}function ln(t){try{var e="",a=null;do e+=Fi(t,a),a=t,t=t.return;while(t);return e}catch(l){return`
7Error generating stack: `+l.message+`
8`+l.stack}}var ca=Object.prototype.hasOwnProperty,Ve=n.unstable_scheduleCallback,jl=n.unstable_cancelCallback,ki=n.unstable_shouldYield,Xu=n.unstable_requestPaint,ce=n.unstable_now,Lt=n.unstable_getCurrentPriorityLevel,ae=n.unstable_ImmediatePriority,Fe=n.unstable_UserBlockingPriority,Ga=n.unstable_NormalPriority,Lg=n.unstable_LowPriority,ef=n.unstable_IdlePriority,Ug=n.log,Ng=n.unstable_setDisableYieldValue,Bl=null,Te=null;function zn(t){if(typeof Ug=="function"&&Ng(t),Te&&typeof Te.setStrictMode=="function")try{Te.setStrictMode(Bl,t)}catch{}}var Ae=Math.clz32?Math.clz32:Hg,jg=Math.log,Bg=Math.LN2;function Hg(t){return t>>>=0,t===0?32:31-(jg(t)/Bg|0)|0}var Ii=256,Wi=262144,$i=4194304;function fa(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ts(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var r=0,o=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var v=l&134217727;return v!==0?(l=v&~o,l!==0?r=fa(l):(d&=v,d!==0?r=fa(d):a||(a=v&~t,a!==0&&(r=fa(a))))):(v=l&~o,v!==0?r=fa(v):d!==0?r=fa(d):a||(a=l&~t,a!==0&&(r=fa(a)))),r===0?0:e!==0&&e!==r&&(e&o)===0&&(o=r&-r,a=e&-e,o>=a||o===32&&(a&4194048)!==0)?e:r}function Hl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function qg(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 nf(){var t=$i;return $i<<=1,($i&62914560)===0&&($i=4194304),t}function Ku(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function ql(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Gg(t,e,a,l,r,o){var d=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var v=t.entanglements,A=t.expirationTimes,L=t.hiddenUpdates;for(a=d&~a;0<a;){var H=31-Ae(a),V=1<<H;v[H]=0,A[H]=-1;var U=L[H];if(U!==null)for(L[H]=null,H=0;H<U.length;H++){var j=U[H];j!==null&&(j.lane&=-536870913)}a&=~V}l!==0&&af(t,l,0),o!==0&&r===0&&t.tag!==0&&(t.suspendedLanes|=o&~(d&~e))}function af(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Ae(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&261930}function lf(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-Ae(a),r=1<<l;r&e|t[l]&e&&(t[l]|=e),a&=~r}}function sf(t,e){var a=e&-e;return a=(a&42)!==0?1:Zu(a),(a&(t.suspendedLanes|e))!==0?0:a}function Zu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ju(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function uf(){var t=P.p;return t!==0?t:(t=window.event,t===void 0?32:Zm(t.type))}function rf(t,e){var a=P.p;try{return P.p=t,e()}finally{P.p=a}}var Dn=Math.random().toString(36).slice(2),le="__reactFiber$"+Dn,ye="__reactProps$"+Dn,Ya="__reactContainer$"+Dn,Pu="__reactEvents$"+Dn,Yg="__reactListeners$"+Dn,Qg="__reactHandles$"+Dn,of="__reactResources$"+Dn,Gl="__reactMarker$"+Dn;function Fu(t){delete t[le],delete t[ye],delete t[Pu],delete t[Yg],delete t[Qg]}function Qa(t){var e=t[le];if(e)return e;for(var a=t.parentNode;a;){if(e=a[Ya]||a[le]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=wm(t);t!==null;){if(a=t[le])return a;t=wm(t)}return e}t=a,a=t.parentNode}return null}function Va(t){if(t=t[le]||t[Ya]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Yl(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(u(33))}function Xa(t){var e=t[of];return e||(e=t[of]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function te(t){t[Gl]=!0}var cf=new Set,ff={};function da(t,e){Ka(t,e),Ka(t+"Capture",e)}function Ka(t,e){for(ff[t]=e,t=0;t<e.length;t++)cf.add(e[t])}var Vg=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]*$"),df={},hf={};function Xg(t){return ca.call(hf,t)?!0:ca.call(df,t)?!1:Vg.test(t)?hf[t]=!0:(df[t]=!0,!1)}function es(t,e,a){if(Xg(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function ns(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function sn(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+l)}}function Le(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function mf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Kg(t,e,a){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var r=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(d){a=""+d,o.call(this,d)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(d){a=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ku(t){if(!t._valueTracker){var e=mf(t)?"checked":"value";t._valueTracker=Kg(t,e,""+t[e])}}function yf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=mf(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function as(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Zg=/[\n"\\]/g;function Ue(t){return t.replace(Zg,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Iu(t,e,a,l,r,o,d,v){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Le(e)):t.value!==""+Le(e)&&(t.value=""+Le(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?Wu(t,d,Le(e)):a!=null?Wu(t,d,Le(a)):l!=null&&t.removeAttribute("value"),r==null&&o!=null&&(t.defaultChecked=!!o),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Le(v):t.removeAttribute("name")}function pf(t,e,a,l,r,o,d,v){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||a!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){ku(t);return}a=a!=null?""+Le(a):"",e=e!=null?""+Le(e):a,v||e===t.value||(t.value=e),t.defaultValue=e}l=l??r,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=v?t.checked:!!l,t.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d),ku(t)}function Wu(t,e,a){e==="number"&&as(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Za(t,e,a,l){if(t=t.options,e){e={};for(var r=0;r<a.length;r++)e["$"+a[r]]=!0;for(a=0;a<t.length;a++)r=e.hasOwnProperty("$"+t[a].value),t[a].selected!==r&&(t[a].selected=r),r&&l&&(t[a].defaultSelected=!0)}else{for(a=""+Le(a),e=null,r=0;r<t.length;r++){if(t[r].value===a){t[r].selected=!0,l&&(t[r].defaultSelected=!0);return}e!==null||t[r].disabled||(e=t[r])}e!==null&&(e.selected=!0)}}function gf(t,e,a){if(e!=null&&(e=""+Le(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Le(a):""}function vf(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(u(92));if(Qt(l)){if(1<l.length)throw Error(u(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=Le(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),ku(t)}function Ja(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var Jg=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 Sf(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||Jg.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a
vendor: 4,274 bytes, line 8
8).trim():t[e]=a+"px"}function bf(t,e,a){if(e!=null&&typeof e!="object")throw Error(u(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var r in e)l=e[r],e.hasOwnProperty(r)&&a[r]!==l&&Sf(t,r,l)}else for(var o in e)e.hasOwnProperty(o)&&Sf(t,o,e[o])}function $u(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Pg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-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"]]),Fg=/^[\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 ls(t){return Fg.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function un(){}var tr=null;function er(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Pa=null,Fa=null;function _f(t){var e=Va(t);if(e&&(t=e.stateNode)){var a=t[ye]||null;t:switch(t=e.stateNode,e.type){case"input":if(Iu(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ue(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var r=l[ye]||null;if(!r)throw Error(u(90));Iu(l,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}
vendor: 9,468 bytes, line 8
8}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&yf(l)}break t;case"textarea":gf(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Za(t,!!a.multiple,e,!1)}}}var nr=!1;function Ef(t,e,a){if(nr)return t(e,a);nr=!0;try{var l=t(e);return l}finally{if(nr=!1,(Pa!==null||Fa!==null)&&(Ks(),Pa&&(e=Pa,t=Fa,Fa=Pa=null,_f(e),t)))for(e=0;e<t.length;e++)_f(t[e])}}function Ql(t,e){var a=t.stateNode;if(a===null)return null;var l=a[ye]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(u(231,e,typeof a));return a}var rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ar=!1;if(rn)try{var Vl={};Object.defineProperty(Vl,"passive",{get:function(){ar=!0}}),window.addEventListener("test",Vl,Vl),window.removeEventListener("test",Vl,Vl)}catch{ar=!1}var Ln=null,lr=null,is=null;function Rf(){if(is)return is;var t,e=lr,a=e.length,l,r="value"in Ln?Ln.value:Ln.textContent,o=r.length;for(t=0;t<a&&e[t]===r[t];t++);var d=a-t;for(l=1;l<=d&&e[a-l]===r[o-l];l++);return is=r.slice(t,1<l?1-l:void 0)}function ss(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function us(){return!0}function Tf(){return!1}function pe(t){function e(a,l,r,o,d){this._reactName=a,this._targetInst=r,this.type=l,this.nativeEvent=o,this.target=d,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(a=t[v],this[v]=a?a(o):o[v]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?us:Tf,this.isPropagationStopped=Tf,this}return p(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=us)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=us)},persist:function(){},isPersistent:us}),e}var ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rs=pe(ha),Xl=p({},ha,{view:0,detail:0}),kg=pe(Xl),ir,sr,Kl,os=p({},Xl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rr,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Kl&&(Kl&&t.type==="mousemove"?(ir=t.screenX-Kl.screenX,sr=t.screenY-Kl.screenY):sr=ir=0,Kl=t),ir)},movementY:function(t){return"movementY"in t?t.movementY:sr}}),Af=pe(os),Ig=p({},os,{dataTransfer:0}),Wg=pe(Ig),$g=p({},Xl,{relatedTarget:0}),ur=pe($g),tv=p({},ha,{animationName:0,elapsedTime:0,pseudoElement:0}),ev=pe(tv),nv=p({},ha,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),av=pe(nv),lv=p({},ha,{data:0}),xf=pe(lv),iv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sv={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"},uv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=uv[t])?!!e[t]:!1}function rr(){return rv}var ov=p({},Xl,{key:function(t){if(t.key){var e=iv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ss(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?sv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rr,charCode:function(t){return t.type==="keypress"?ss(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ss(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),cv=pe(ov),fv=p({},os,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mf=pe(fv),dv=p({},Xl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rr}),hv=pe(dv),mv=p({},ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),yv=pe(mv),pv=p({},os,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),gv=pe(pv),vv=p({},ha,{newState:0,oldState:0}),Sv=pe(vv),bv=[9,13,27,32],or=rn&&"CompositionEvent"in window,Zl=null;rn&&"documentMode"in document&&(Zl=document.documentMode);var _v=rn&&"TextEvent"in window&&!Zl,Of=rn&&(!or||Zl&&8<Zl&&11>=Zl),Cf=" ",wf=!1;function zf(t,e){switch(t){case"keyup":return bv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ka=!1;function Ev(t,e){switch(t){case"compositionend":return Df(e);case"keypress":return e.which!==32?null:(wf=!0,Cf);case"textInput":return t=e.data,t===Cf&&wf?null:t;default:return null}}function Rv(t,e){if(ka)return t==="compositionend"||!or&&zf(t,e)?(t=Rf(),is=lr=Ln=null,ka=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Of&&e.locale!=="ko"?null:e.data;default:return null}}var Tv={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 Lf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Tv[t.type]:e==="textarea"}function Uf(t,e,a,l){Pa?Fa?Fa.push(l):Fa=[l]:Pa=l,e=Ws(e,"onChange"),0<e.length&&(a=new rs("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var Jl=null,Pl=null;function Av(t){pm(t,0)}function cs(t){var e=Yl(t);if(yf(e))return t}function Nf(t,e){if(t==="change")return e}var jf=!1;if(rn){var cr;if(rn){var fr="oninput"in document;if(!fr){var Bf=document.createElement("div");Bf.setAttribute("oninput","return;"),fr=typeof Bf.oninput=="function"}cr=fr}else cr=!1;jf=cr&&(!document.documentMode||9<document.documentMode)}function Hf(){Jl&&(Jl.detachEvent("onpropertychange",qf),Pl=Jl=null)}function qf(t){if(t.propertyName==="value"&&cs(Pl)){var e=[];Uf(e,Pl,t,er(t)),Ef(Av,e)}}function xv(t,e,a){t==="focusin"?(Hf(),Jl=e,Pl=a,Jl.attachEvent("onpropertychange",qf)):t==="focusout"&&Hf()}function Mv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return cs(Pl)}function Ov(t,e){if(t==="click")return cs(e)}function Cv(t,e){if(t==="input"||t==="change")return cs(e)}function wv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var xe=typeof Object.is=="function"?Object.is:wv;function Fl(t,e){if(xe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var r=a[l];if(!ca.call(e,r)||!xe(t[r],e[r]))return!1}return!0}function Gf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Yf(t,e){var a=Gf(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Gf(a)}}function Qf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Qf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Vf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=as(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=as(t.document)}return e}function dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var zv=rn&&"documentMode"in document&&11>=document.documentMode,Ia=null,hr=null,kl=null,mr=!1;function Xf(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;mr||Ia==null||Ia!==as(l)||(l=Ia,"selectionStart"in l&&dr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 18,997 bytes, line 8
8sNode:l.focusNode,focusOffset:l.focusOffset}),kl&&Fl(kl,l)||(kl=l,l=Ws(hr,"onSelect"),0<l.length&&(e=new rs("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=Ia)))}function ma(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var Wa={animationend:ma("Animation","AnimationEnd"),animationiteration:ma("Animation","AnimationIteration"),animationstart:ma("Animation","AnimationStart"),transitionrun:ma("Transition","TransitionRun"),transitionstart:ma("Transition","TransitionStart"),transitioncancel:ma("Transition","TransitionCancel"),transitionend:ma("Transition","TransitionEnd")},yr={},Kf={};rn&&(Kf=document.createElement("div").style,"AnimationEvent"in window||(delete Wa.animationend.animation,delete Wa.animationiteration.animation,delete Wa.animationstart.animation),"TransitionEvent"in window||delete Wa.transitionend.transition);function ya(t){if(yr[t])return yr[t];if(!Wa[t])return t;var e=Wa[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in Kf)return yr[t]=e[a];return t}var Zf=ya("animationend"),Jf=ya("animationiteration"),Pf=ya("animationstart"),Dv=ya("transitionrun"),Lv=ya("transitionstart"),Uv=ya("transitioncancel"),Ff=ya("transitionend"),kf=new Map,pr="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(" ");pr.push("scrollEnd");function Xe(t,e){kf.set(t,e),da(e,[t])}var fs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ne=[],$a=0,gr=0;function ds(){for(var t=$a,e=gr=$a=0;e<t;){var a=Ne[e];Ne[e++]=null;var l=Ne[e];Ne[e++]=null;var r=Ne[e];Ne[e++]=null;var o=Ne[e];if(Ne[e++]=null,l!==null&&r!==null){var d=l.pending;d===null?r.next=r:(r.next=d.next,d.next=r),l.pending=r}o!==0&&If(a,r,o)}}function hs(t,e,a,l){Ne[$a++]=t,Ne[$a++]=e,Ne[$a++]=a,Ne[$a++]=l,gr|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function vr(t,e,a,l){return hs(t,e,a,l),ms(t)}function pa(t,e){return hs(t,null,null,e),ms(t)}function If(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var r=!1,o=t.return;o!==null;)o.childLanes|=a,l=o.alternate,l!==null&&(l.childLanes|=a),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(r=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,r&&e!==null&&(r=31-Ae(a),t=o.hiddenUpdates,l=t[r],l===null?t[r]=[e]:l.push(e),e.lane=a|536870912),o):null}function ms(t){if(50<vi)throw vi=0,Oo=null,Error(u(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var tl={};function Nv(t,e,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Me(t,e,a,l){return new Nv(t,e,a,l)}function Sr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function on(t,e){var a=t.alternate;return a===null?(a=Me(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Wf(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function ys(t,e,a,l,r,o){var d=0;if(l=t,typeof t=="function")Sr(t)&&(d=1);else if(typeof t=="string")d=G0(t,a,W.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case I:return t=Me(31,a,e,r),t.elementType=I,t.lanes=o,t;case z:return ga(a.children,r,o,e);case R:d=8,r|=24;break;case C:return t=Me(12,a,e,r|2),t.elementType=C,t.lanes=o,t;case Z:return t=Me(13,a,e,r),t.elementType=Z,t.lanes=o,t;case F:return t=Me(19,a,e,r),t.elementType=F,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Y:d=10;break t;case N:d=9;break t;case X:d=11;break t;case q:d=14;break t;case K:d=16,l=null;break t}d=29,a=Error(u(130,t===null?"null":typeof t,"")),l=null}return e=Me(d,a,e,r),e.elementType=t,e.type=l,e.lanes=o,e}function ga(t,e,a,l){return t=Me(7,t,l,e),t.lanes=a,t}function br(t,e,a){return t=Me(6,t,null,e),t.lanes=a,t}function $f(t){var e=Me(18,null,null,0);return e.stateNode=t,e}function _r(t,e,a){return e=Me(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var td=new WeakMap;function je(t,e){if(typeof t=="object"&&t!==null){var a=td.get(t);return a!==void 0?a:(e={value:t,source:e,stack:ln(e)},td.set(t,e),e)}return{value:t,source:e,stack:ln(e)}}var el=[],nl=0,ps=null,Il=0,Be=[],He=0,Un=null,ke=1,Ie="";function cn(t,e){el[nl++]=Il,el[nl++]=ps,ps=t,Il=e}function ed(t,e,a){Be[He++]=ke,Be[He++]=Ie,Be[He++]=Un,Un=t;var l=ke;t=Ie;var r=32-Ae(l)-1;l&=~(1<<r),a+=1;var o=32-Ae(e)+r;if(30<o){var d=r-r%5;o=(l&(1<<d)-1).toString(32),l>>=d,r-=d,ke=1<<32-Ae(e)+r|a<<r|l,Ie=o+t}else ke=1<<o|a<<r|l,Ie=t}function Er(t){t.return!==null&&(cn(t,1),ed(t,1,0))}function Rr(t){for(;t===ps;)ps=el[--nl],el[nl]=null,Il=el[--nl],el[nl]=null;for(;t===Un;)Un=Be[--He],Be[He]=null,Ie=Be[--He],Be[He]=null,ke=Be[--He],Be[He]=null}function nd(t,e){Be[He++]=ke,Be[He++]=Ie,Be[He++]=Un,ke=e.id,Ie=e.overflow,Un=t}var ie=null,Ut=null,gt=!1,Nn=null,qe=!1,Tr=Error(u(519));function jn(t){var e=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Wl(je(e,t)),Tr}function ad(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[le]=t,e[ye]=l,a){case"dialog":mt("cancel",e),mt("close",e);break;case"iframe":case"object":case"embed":mt("load",e);break;case"video":case"audio":for(a=0;a<bi.length;a++)mt(bi[a],e);break;case"source":mt("error",e);break;case"img":case"image":case"link":mt("error",e),mt("load",e);break;case"details":mt("toggle",e);break;case"input":mt("invalid",e),pf(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":mt("invalid",e);break;case"textarea":mt("invalid",e),vf(e,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||bm(e.textContent,a)?(l.popover!=null&&(mt("beforetoggle",e),mt("toggle",e)),l.onScroll!=null&&mt("scroll",e),l.onScrollEnd!=null&&mt("scrollend",e),l.onClick!=null&&(e.onclick=un),e=!0):e=!1,e||jn(t,!0)}function ld(t){for(ie=t.return;ie;)switch(ie.tag){case 5:case 31:case 13:qe=!1;return;case 27:case 3:qe=!0;return;default:ie=ie.return}}function al(t){if(t!==ie)return!1;if(!gt)return ld(t),gt=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Vo(t.type,t.memoizedProps)),a=!a),a&&Ut&&jn(t),ld(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));Ut=Cm(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));Ut=Cm(t)}else e===27?(e=Ut,kn(t.type)?(t=Po,Po=null,Ut=t):Ut=e):Ut=ie?Ye(t.stateNode.nextSibling):null;return!0}function va(){Ut=ie=null,gt=!1}function Ar(){var t=Nn;return t!==null&&(be===null?be=t:be.push.apply(be,t),Nn=null),t}function Wl(t){Nn===null?Nn=[t]:Nn.push(t)}var xr=O(null),Sa=null,fn=null;function Bn(t,e,a){k(xr,e._currentValue),e._currentValue=a}function dn(t){t._currentValue=xr.current,Q(xr)}function Mr(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function Or(t,e,a,l){var r=t.child;for(r!==null&&(r.return=t);r!==null;){var o=r.dependencies;if(o!==null){var d=r.child;o=o.firstContext;t:for(;o!==null;){var v=o;o=r;for(var A=0;A<e.length;A++)if(v.context===e[A]){o.lanes|=a,v=o.alternate,v!==null&&(v.lanes|=a),Mr(o.return,a,t),l||(d=null);break t}o=v.next}}else if(r.tag===18){if(d=r.return,d===null)throw Error(u(341));d.lanes|=a,o=d.alternate,o!==null&&(o.lanes|=a),Mr(d,a,t),d=null}else d=r.child;if(d!==null)d.return=r;else for(d=r;d!==null;){if(d===t){d=null;break}if(r=d.sibling,r!==null){r.return=d.return,d=r;break}d=d.return}r=d}}function ll(t,e,a,l){t=null;for(var r=e,o=!1;r!==null;){if(!o){if((r.flags&524288)!==0)o=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var d=r.alternate;if(d===null)throw Error(u(387));if(d=d.memoizedProps,d!==null){var v=r.type;xe(r.pendingProps.value,d.value)||(t!==null?t.push(v):t=[v])}}else if(r===vt.current){if(d=r.alternate,d===null)throw Error(u(387));d.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(t!==null?t.push(Ai):t=[Ai])}r=r.return}t!==null&&Or(e,t,a,l),e.flags|=262144}function gs(t){for(t=t.firstContext;t!==null;){if(!xe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ba(t){Sa=t,fn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function se(t){return id(Sa,t)}function vs(t,e){return Sa===null&&ba(t),id(t,e)}function id(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},fn===null){if(t===null)throw Error(u(308));fn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else fn=fn.next=e;return a}var jv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},Bv=n.unstable_scheduleCallback,Hv=n.unstable_NormalPriority,Zt={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cr(){return{controller:new jv,data:new Map,refCount:0}}function $l(t){t.refCount--,t.refCount===0&&Bv(Hv,function(){t.controller.abort()})}var ti=null,wr=0,il=0,sl=null;function qv(t,e){if(ti===null){var a=ti=[];wr=0,il=Uo(),sl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return wr++,e.then(sd,sd),e}function sd(){if(--wr===0&&ti!==null){sl!==null&&(sl.status="fulfilled");var t=ti;ti=null,il=0,sl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Gv(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(r){a.push(r)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var r=0;r<a.length;r++)(0,a[r])(e)},function(r){for(l.status="rejected",l.reason=r,r=0;r<a.length;r++)(0,a[r])(void 0)}),l}var ud=B.S;B.S=function(t,e){Xh=ce(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&qv(t,e),ud!==null&&ud(t,e)};var _a=O(null);function zr(){var t=_a.current;return t!==null?t:zt.pooledCache}function Ss(t,e){e===null?k(_a,_a.current):k(_a,e.pool)}function rd(){var t=zr();return t===null?null:{parent:Zt._currentValue,pool:t}}var ul=Error(u(460)),Dr=Error(u(474)),bs=Error(u(542)),_s={then:function(){}};function od(t){return t=t.status,t==="fulfilled"||t==="rejected"}function cd(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(un,un),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dd(t),t;default:if(typeof e.status=="string")e.then(un,un);else{if(t=zt,t!==null&&100<t.shellSuspendCounter)throw Error(u(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var r=e;r.status="fulfilled",r.value=l}},function(l){if(e.status==="pending"){var r=e;r.status="rejected",r.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dd(t),t}throw Ra=e,ul}}function Ea(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ra=a,ul):a}}var Ra=null;function fd(){if(Ra===null)throw Error(u(459));var t=Ra;return Ra=null,t}function dd(t){if(t===ul||t===bs)throw Error(u(483))}var rl=null,ei=0;function Es(t){var e=ei;return ei+=1,rl===null&&(rl=[]),cd(rl,t,e)}function ni(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Rs(t,e){throw e.$$typeof===b?Error(u(525)):(t=Object.prototype.toString.call(e),Error(u(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function hd(t){function e(w,M){if(t){var D=w.deletions;D===null?(w.deletions=[M],w.flags|=16):D.push(M)}}function a(w,M){if(!t)return null;for(;M!==null;)e(w,M),M=M.sibling;return null}function l(w){for(var M=new Map;w!==null;)w.key!==null?M.set(w.key,w):M.set(w.index,w),w=w.sibling;return M}function r(w,M){return w=on(w,M),w.index=0,w.sibling=null,w}function o(w,M,D){return w.index=D,t?(D=w.alternate,D!==null?(D=D.index,D<M?(w.flags|=67108866,M):D):(w.flags|=67108866,M)):(w.flags|=1048576,M)}function d(w){return t&&w.alternate===null&&(w.flags|=67108866),w}function v(w,M,D,G){return M===null||M.tag!==6?(M=br(D,w.mode,G),M.return=w,M):(M=r(M,D),M.return=w,M)}function A(w,M,D,G){var at=D.type;return at===z?H(w,M,D.props.children,G,D.key):M!==null&&(M.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===K&&Ea(at)===M.type)?(M=r(M,D.props),ni(M,D),M.return=w,M):(M=ys(D.type,D.key,D.props,null,w.mode,G),ni(M,D),M.return=w,M)}function L(w,M,D,G){return M===null||M.tag!==4||M.stateNode.containerInfo!==D.containerInfo||M.stateNode.implementation!==D.implementation?(M=_r(D,w.mode,G),M.return=w,M):(M=r(M,D.children||[]),M.return=w,M)}function H(w,M,D,G,at){return M===null||M.tag!==7?(M=ga(D,w.mode,G,at),M.return=w,M):(M=r(M,D),M.return=w,M)}function V(w,M,D){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=br(""+M,w.mode,D),M.return=w,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case E:return D=ys(M.type,M.key,M.props,null,w.mode,D),ni(D,M),D.return=w,D;case x:return M=_r(M,w.mode,D),M.return=w,M;case K:return M=Ea(M),V(w,M,D)}if(Qt(M)||it(M))return M=ga(M,w.mode,D,null),M.return=w,M;if(typeof M.then=="function")return V(w,Es(M),D);if(M.$$typeof===Y)return V(w,vs(w,M),D);Rs(w,M)}return null}function U(w,M,D,G){var at=M!==null?M.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return at!==null?null:v(w,M,""+D,G);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case E:return D.key===at?A(w,M,D,G):null;case x:return D.key===at?L(w,M,D,G):null;case K:return D=Ea(D),U(w,M,D,G)}if(Qt(D)||it(D))return at!==null?null:H(w,M,D,G,null);if(typeof D.then=="function")return U(w,M,Es(D),G);if(D.$$typeof===Y)return U(w,M,vs(w,D),G);Rs(w,D)}return null}function j(w,M,D,G,at){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return w=w.get(D)||null,v(M,w,""+G,at);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case E:return w=w.get(G.key===null?D:G.key)||null,A(M,w,G,at);case x:return w=w.get(G.key===null?D:G.key)||null,L(M,w,G,at);case K:return G=Ea(G),j(w,M,D,G,at)}if(Qt(G)||it(G))return w=w.get(D)||null,H(M,w,G,at,null);if(typeof G.then=="function")return j(w,M,D,Es(G),at);if(G.$$typeof===Y)return j(w,M,D,vs(M,G),at);Rs(M,G)}return null}function $(w,M,D,G){for(var at=null,St=null,tt=M,ft=M=0,pt=null;tt!==null&&ft<D.length;ft++){tt.index>ft?(pt=tt,tt=null):pt=tt.sibling;var bt=U(w,tt,D[ft],G);if(bt===null){tt===null&&(tt=pt);break}t&&tt&&bt.alternate===null&&e(w,tt),M=o(bt,M,ft),St===null?at=bt:St.sibling=bt,St=bt,tt=pt}if(ft===D.length)return a(w,tt),gt&&cn(w,ft),at;if(tt===null){for(;ft<D.length;ft++)tt=V(w,D[ft],G),tt!==null&&(M=o(tt,M,ft),St===null?at=tt:St.sibling=tt,St=tt);return gt&&cn(w,ft),at}for(tt=l(tt);ft<D.length;ft++)pt=j(tt,w,ft,D[ft],G),pt!==null&&(t&&pt.alternate!==null&&tt.delete(pt.key===null?ft:pt.key),M=o(pt,M,ft),St===null?at=pt:St.sibling=pt,St=pt);return t&&tt.forEach(function(ea){return e(w,ea)}),gt&&cn(w,ft),at}function ut(w,M,D,G){if(D==null)throw Error(u(151));for(var at=null,St=null,tt=M,ft=M=0,pt=null,bt=D.next();tt!==null&&!bt.done;ft++,bt=D.next()){tt.index>ft?(pt=tt,tt=null):pt=tt.sibling;var ea=U(w,tt,bt.value,G);if(ea===null){tt===null&&(tt=pt);break}t&&tt&&ea.alternate===null&&e(w,tt),M=o(ea,M,ft),St===null?at=ea:St.sibling=ea,St=ea,tt=pt}if(bt.done)return a(w,tt),gt&&cn(w,ft),at;if(tt===null){for(;!bt.done;ft++,bt=D.next())bt=V(w,bt.value,G),bt!==null&&(M=o(bt,M,ft),St===null?at=bt:St.sibling=bt,St=bt);return gt&&cn(w,ft),at}for(tt=l(tt);!bt.done;ft++,bt=D.next())bt=j(tt,w,ft,bt.value,G),bt!==null&&(t&&bt.alternate!==null&&tt.delete(bt.key===null?ft:bt.key),M=o(bt,M,ft),St===null?at=bt:St.sibling=bt,St=bt);return t&&tt.forEach(function(I0){return e(w,I0)}),gt&&cn(w,ft),at}function Ct(w,M,D,G){if(typeof D=="object"&&D!==null&&D.type===z&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case E:t:{for(var at=D.key;M!==null;){if(M.key===at){if(at=D.type,at===z){if(M.tag===7){a(w,M.sibling),G=r(M,D.props.children),G.return=w,w=G;break t}}else if(M.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===K&&Ea(at)===M.type){a(w,M.sibling),G=r(M,D.props),ni(G,D),G.return=w,w=G;break t}a(w,M);break}else e(w,M);M=M.sibling}D.type===z?(G=ga(D.props.children,w.mode,G,D.key),G.return=w,w=G):(G=ys(D.type,D.key,D.props,null,w.mode,G),ni(G,D),G.return=w,w=G)}return d(w);case x:t:{for(at=D.key;M!==null;){if(M.key===at)if(M.tag===4&&M.stateNode.containerInfo===D.containerInfo&&M.stateNode.implementation===D.implementation){a(w,M.sibling),G=r(M,D.children||[]),G.return=w,w=G;break t}else{a(w,M);break}else e(w,M);M=M.sibling}G=_r(D,w.mode,G),G.return=w,w=G}return d(w);case K:return D=Ea(D),Ct(w,M,D,G)}if(Qt(D))return $(w,M,D,G);if(it(D)){if(at=it(D),typeof at!="function")throw Error(u(150));return D=at.call(D),ut(w,M,D,G)}if(typeof D.then=="function")return Ct(w,M,Es(D),G);if(D.$$typeof===Y)return Ct(w,M,vs(w,D),G);Rs(w,D)}
vendor: 11,540 bytes, line 8
8return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,M!==null&&M.tag===6?(a(w,M.sibling),G=r(M,D),G.return=w,w=G):(a(w,M),G=br(D,w.mode,G),G.return=w,w=G),d(w)):a(w,M)}return function(w,M,D,G){try{ei=0;var at=Ct(w,M,D,G);return rl=null,at}catch(tt){if(tt===ul||tt===bs)throw tt;var St=Me(29,tt,null,w.mode);return St.lanes=G,St.return=w,St}}}var Ta=hd(!0),md=hd(!1),Hn=!1;function Lr(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ur(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function qn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Gn(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Rt&2)!==0){var r=l.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),l.pending=e,e=ms(t),If(t,null,a),e}return hs(t,l,e,a),ms(t)}function ai(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,lf(t,a)}}function Nr(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var r=null,o=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};o===null?r=o=d:o=o.next=d,a=a.next}while(a!==null);o===null?r=o=e:o=o.next=e}else r=o=e;a={baseState:l.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var jr=!1;function li(){if(jr){var t=sl;if(t!==null)throw t}}function ii(t,e,a,l){jr=!1;var r=t.updateQueue;Hn=!1;var o=r.firstBaseUpdate,d=r.lastBaseUpdate,v=r.shared.pending;if(v!==null){r.shared.pending=null;var A=v,L=A.next;A.next=null,d===null?o=L:d.next=L,d=A;var H=t.alternate;H!==null&&(H=H.updateQueue,v=H.lastBaseUpdate,v!==d&&(v===null?H.firstBaseUpdate=L:v.next=L,H.lastBaseUpdate=A))}if(o!==null){var V=r.baseState;d=0,H=L=A=null,v=o;do{var U=v.lane&-536870913,j=U!==v.lane;if(j?(yt&U)===U:(l&U)===U){U!==0&&U===il&&(jr=!0),H!==null&&(H=H.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var $=t,ut=v;U=e;var Ct=a;switch(ut.tag){case 1:if($=ut.payload,typeof $=="function"){V=$.call(Ct,V,U);break t}V=$;break t;case 3:$.flags=$.flags&-65537|128;case 0:if($=ut.payload,U=typeof $=="function"?$.call(Ct,V,U):$,U==null)break t;V=p({},V,U);break t;case 2:Hn=!0}}U=v.callback,U!==null&&(t.flags|=64,j&&(t.flags|=8192),j=r.callbacks,j===null?r.callbacks=[U]:j.push(U))}else j={lane:U,tag:v.tag,payload:v.payload,callback:v.callback,next:null},H===null?(L=H=j,A=V):H=H.next=j,d|=U;if(v=v.next,v===null){if(v=r.shared.pending,v===null)break;j=v,v=j.next,j.next=null,r.lastBaseUpdate=j,r.shared.pending=null}}while(!0);H===null&&(A=V),r.baseState=A,r.firstBaseUpdate=L,r.lastBaseUpdate=H,o===null&&(r.shared.lanes=0),Kn|=d,t.lanes=d,t.memoizedState=V}}function yd(t,e){if(typeof t!="function")throw Error(u(191,t));t.call(e)}function pd(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)yd(a[t],e)}var ol=O(null),Ts=O(0);function gd(t,e){t=_n,k(Ts,t),k(ol,e),_n=t|e.baseLanes}function Br(){k(Ts,_n),k(ol,ol.current)}function Hr(){_n=Ts.current,Q(ol),Q(Ts)}var Oe=O(null),Ge=null;function Yn(t){var e=t.alternate;k(Xt,Xt.current&1),k(Oe,t),Ge===null&&(e===null||ol.current!==null||e.memoizedState!==null)&&(Ge=t)}function qr(t){k(Xt,Xt.current),k(Oe,t),Ge===null&&(Ge=t)}function vd(t){t.tag===22?(k(Xt,Xt.current),k(Oe,t),Ge===null&&(Ge=t)):Qn()}function Qn(){k(Xt,Xt.current),k(Oe,Oe.current)}function Ce(t){Q(Oe),Ge===t&&(Ge=null),Q(Xt)}var Xt=O(0);function As(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Zo(a)||Jo(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var hn=0,ct=null,Mt=null,Jt=null,xs=!1,cl=!1,Aa=!1,Ms=0,si=0,fl=null,Yv=0;function qt(){throw Error(u(321))}function Gr(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!xe(t[a],e[a]))return!1;return!0}function Yr(t,e,a,l,r,o){return hn=o,ct=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?eh:no,Aa=!1,o=a(l,r),Aa=!1,cl&&(o=bd(e,a,l,r)),Sd(t),o}function Sd(t){B.H=oi;var e=Mt!==null&&Mt.next!==null;if(hn=0,Jt=Mt=ct=null,xs=!1,si=0,fl=null,e)throw Error(u(300));t===null||Pt||(t=t.dependencies,t!==null&&gs(t)&&(Pt=!0))}function bd(t,e,a,l){ct=t;var r=0;do{if(cl&&(fl=null),si=0,cl=!1,25<=r)throw Error(u(301));if(r+=1,Jt=Mt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}B.H=nh,o=e(a,l)}while(cl);return o}function Qv(){var t=B.H,e=t.useState()[0];return e=typeof e.then=="function"?ui(e):e,t=t.useState()[0],(Mt!==null?Mt.memoizedState:null)!==t&&(ct.flags|=1024),e}function Qr(){var t=Ms!==0;return Ms=0,t}function Vr(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Xr(t){if(xs){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}xs=!1}hn=0,Jt=Mt=ct=null,cl=!1,si=Ms=0,fl=null}function de(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Jt===null?ct.memoizedState=Jt=t:Jt=Jt.next=t,Jt}function Kt(){if(Mt===null){var t=ct.alternate;t=t!==null?t.memoizedState:null}else t=Mt.next;var e=Jt===null?ct.memoizedState:Jt.next;if(e!==null)Jt=e,Mt=t;else{if(t===null)throw ct.alternate===null?Error(u(467)):Error(u(310));Mt=t,t={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},Jt===null?ct.memoizedState=Jt=t:Jt=Jt.next=t}return Jt}function Os(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ui(t){var e=si;return si+=1,fl===null&&(fl=[]),t=cd(fl,t,e),e=ct,(Jt===null?e.memoizedState:Jt.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?eh:no),t}function Cs(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ui(t);if(t.$$typeof===Y)return se(t)}throw Error(u(438,String(t)))}function Kr(t){var e=null,a=ct.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=ct.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(r){return r.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Os(),ct.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=rt;return e.index++,a}function mn(t,e){return typeof e=="function"?e(t):e}function ws(t){var e=Kt();return Zr(e,Mt,t)}function Zr(t,e,a){var l=t.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=a;var r=t.baseQueue,o=l.pending;if(o!==null){if(r!==null){var d=r.next;r.next=o.next,o.next=d}e.baseQueue=r=o,l.pending=null}if(o=t.baseState,r===null)t.memoizedState=o;else{e=r.next;var v=d=null,A=null,L=e,H=!1;do{var V=L.lane&-536870913;if(V!==L.lane?(yt&V)===V:(hn&V)===V){var U=L.revertLane;if(U===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),V===il&&(H=!0);else if((hn&U)===U){L=L.next,U===il&&(H=!0);continue}else V={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(v=A=V,d=o):A=A.next=V,ct.lanes|=U,Kn|=U;V=L.action,Aa&&a(o,V),o=L.hasEagerState?L.eagerState:a(o,V)}else U={lane:V,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(v=A=U,d=o):A=A.next=U,ct.lanes|=V,Kn|=V;L=L.next}while(L!==null&&L!==e);if(A===null?d=o:A.next=v,!xe(o,t.memoizedState)&&(Pt=!0,H&&(a=sl,a!==null)))throw a;t.memoizedState=o,t.baseState=d,t.baseQueue=A,l.lastRenderedState=o}return r===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Jr(t){var e=Kt(),a=e.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=t;var l=a.dispatch,r=a.pending,o=e.memoizedState;if(r!==null){a.pending=null;var d=r=r.next;do o=t(o,d.action),d=d.next;while(d!==r);xe(o,e.memoizedState)||(Pt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),a.lastRenderedState=o}return[o,l]}function _d(t,e,a){var l=ct,r=Kt(),o=gt;if(o){if(a===void 0)throw Error(u(407));a=a()}else a=e();var d=!xe((Mt||r).memoizedState,a);if(d&&(r.memoizedState=a,Pt=!0),r=r.queue,kr(Td.bind(null,l,r,t),[t]),r.getSnapshot!==e||d||Jt!==null&&Jt.memoizedState.tag&1){if(l.flags|=2048,dl(9,{destroy:void 0},Rd.bind(null,l,r,a,e),null),zt===null)throw Error(u(349));o||(hn&127)!==0||Ed(l,e,a)}return a}function Ed(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=ct.updateQueue,e===null?(e=Os(),ct.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Rd(t,e,a,l){e.value=a,e.getSnapshot=l,Ad(e)&&xd(t)}function Td(t,e,a){return a(function(){Ad(e)&&xd(t)})}function Ad(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!xe(t,a)}catch{return!0}}function xd(t){var e=pa(t,2);e!==null&&_e(e,t,2)}function Pr(t){var e=de();if(typeof t=="function"){var a=t;if(t=a(),Aa){zn(!0);try{a()}finally{zn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mn,lastRenderedState:t},e}function Md(t,e,a,l){return t.baseState=a,Zr(t,Mt,typeof l=="function"?l:mn)}function Vv(t,e,a,l,r){if(Ls(t))throw Error(u(485));if(t=e.action,t!==null){var o={payload:r,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){o.listeners.push(d)}};B.T!==null?a(!0):o.isTransition=!1,l(o),a=e.pending,a===null?(o.next=e.pending=o,Od(e,o)):(o.next=a.next,e.pending=a.next=o)}}function Od(t,e){var a=e.action,l=e.payload,r=t.state;if(e.isTransition){var o=B.T,d={};B.T=d;try{var v=a(r,l),A=B.S;A!==null&&A(d,v),Cd(t,e,v)}catch(L){Fr(t,e,L)}finally{o!==null&&d.types!==null&&(o.types=d.types),B.T=o}}else try{o=a(r,l),Cd(t,e,o)}catch(L){Fr(t,e,L)}}function Cd(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){wd(t,e,l)},function(l){return Fr(t,e,l)}):wd(t,e,a)}function wd(t,e,a){e.status="fulfilled",e.value=a,zd(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,Od(t,a)))}function Fr(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,zd(e),e=e.next;while(e!==l)}t.action=null}function zd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Dd(t,e){return e}function Ld(t,e){if(gt){var a=zt.formState;if(a!==null){t:{var l=ct;if(gt){if(Ut){e:{for(var r=Ut,o=qe;r.nodeType!==8;){if(!o){r=null;break e}if(r=Ye(r.nextSibling),r===null){r=null;break e}}o=r.data,r=o==="F!"||o==="F"?r:null}if(r){Ut=Ye(r.nextSibling),l=r.data==="F!";break t}}jn(l)}l=!1}l&&(e=a[0])}}return a=de(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dd,lastRenderedState:e},a.queue=l,a=Wd.bind(null,ct,l),l.dispatch=a,l=Pr(!1),o=eo.bind(null,ct,!1,l.queue),l=de(),r={state:e,dispatch:null,action:t,pending:null}
vendor: 6,093 bytes, line 8
8,l.queue=r,a=Vv.bind(null,ct,r,o,a),r.dispatch=a,l.memoizedState=t,[e,a,!1]}function Ud(t){var e=Kt();return Nd(e,Mt,t)}function Nd(t,e,a){if(e=Zr(t,e,Dd)[0],t=ws(mn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ui(e)}catch(d){throw d===ul?bs:d}else l=e;e=Kt();var r=e.queue,o=r.dispatch;return a!==e.memoizedState&&(ct.flags|=2048,dl(9,{destroy:void 0},Xv.bind(null,r,a),null)),[l,o,t]}function Xv(t,e){t.action=e}function jd(t){var e=Kt(),a=Mt;if(a!==null)return Nd(e,a,t);Kt(),e=e.memoizedState,a=Kt();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function dl(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=ct.updateQueue,e===null&&(e=Os(),ct.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function Bd(){return Kt().memoizedState}function zs(t,e,a,l){var r=de();ct.flags|=t,r.memoizedState=dl(1|e,{destroy:void 0},a,l===void 0?null:l)}function Ds(t,e,a,l){var r=Kt();l=l===void 0?null:l;var o=r.memoizedState.inst;Mt!==null&&l!==null&&Gr(l,Mt.memoizedState.deps)?r.memoizedState=dl(e,o,a,l):(ct.flags|=t,r.memoizedState=dl(1|e,o,a,l))}function Hd(t,e){zs(8390656,8,t,e)}function kr(t,e){Ds(2048,8,t,e)}function Kv(t){ct.flags|=4;var e=ct.updateQueue;if(e===null)e=Os(),ct.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function qd(t){var e=Kt().memoizedState;return Kv({ref:e,nextImpl:t}),function(){if((Rt&2)!==0)throw Error(u(440));return e.impl.apply(void 0,arguments)}}function Gd(t,e){return Ds(4,2,t,e)}function Yd(t,e){return Ds(4,4,t,e)}function Qd(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Vd(t,e,a){a=a!=null?a.concat([t]):null,Ds(4,4,Qd.bind(null,e,t),a)}function Ir(){}function Xd(t,e){var a=Kt();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&Gr(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function Kd(t,e){var a=Kt();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&Gr(e,l[1]))return l[0];if(l=t(),Aa){zn(!0);try{t()}finally{zn(!1)}}return a.memoizedState=[l,e],l}function Wr(t,e,a){return a===void 0||(hn&1073741824)!==0&&(yt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Zh(),ct.lanes|=t,Kn|=t,a)}function Zd(t,e,a,l){return xe(a,e)?a:ol.current!==null?(t=Wr(t,a,l),xe(t,e)||(Pt=!0),t):(hn&42)===0||(hn&1073741824)!==0&&(yt&261930)===0?(Pt=!0,t.memoizedState=a):(t=Zh(),ct.lanes|=t,Kn|=t,e)}function Jd(t,e,a,l,r){var o=P.p;P.p=o!==0&&8>o?o:8;var d=B.T,v={};B.T=v,eo(t,!1,e,a);try{var A=r(),L=B.S;if(L!==null&&L(v,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var H=Gv(A,l);ri(t,e,H,De(t))}else ri(t,e,l,De(t))}catch(V){ri(t,e,{then:function(){},status:"rejected",reason:V},De())}finally{P.p=o,d!==null&&v.types!==null&&(d.types=v.types),B.T=d}}function Zv(){}function $r(t,e,a,l){if(t.tag!==5)throw Error(u(476));var r=Pd(t).queue;Jd(t,r,e,lt,a===null?Zv:function(){return Fd(t),a(l)})}function Pd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:lt,baseState:lt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mn,lastRenderedState:lt},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:mn,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Fd(t){var e=Pd(t);e.next===null&&(e=t.alternate.memoizedState),ri(t,e.next.queue,{},De())}function to(){return se(Ai)}function kd(){return Kt().memoizedState}function Id(){return Kt().memoizedState}function Jv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=De();t=qn(a);var l=Gn(e,t,a);l!==null&&(_e(l,e,a),ai(l,e,a)),e={cache:Cr()},t.payload=e;return}e=e.return}}function Pv(t,e,a){var l=De();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ls(t)?$d(e,a):(a=vr(t,e,a,l),a!==null&&(_e(a,t,l),th(a,e,l)))}function Wd(t,e,a){var l=De();ri(t,e,a,l)}function ri(t,e,a,l){var r={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ls(t))$d(e,r);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var d=e.lastRenderedState,v=o(d,a);if(r.hasEagerState=!0,r.eagerState=v,xe(v,d))return hs(t,e,r,0),zt===null&&ds(),!1}catch{}if(a=vr(t,e,r,l),a!==null)return _e(a,t,l),th(a,e,l),!0}return!1}function eo(t,e,a,l){if(l={lane:2,revertLane:Uo(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ls(t)){if(e)throw Error(u(479))}else e=vr(t,a,l,2),e!==null&&_e(e,t,2)}function Ls(t){var e=t.alternate;return t===ct||e!==null&&e===ct}function $d(t,e){cl=xs=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function th(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,lf(t,a)}}var oi={readContext:se,use:Cs,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt};oi.useEffectEvent=qt;var eh={readContext:se,use:Cs,useCallback:function(t,e){return de().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:Hd,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,zs(4194308,4,Qd.bind(null,e,t),a)},useLayoutEffect:function(t,e){return zs(4194308,4,t,e)},useInsertionEffect:function(t,e){zs(4,2,t,e)},useMemo:function(t,e){var a=de();e=e===void 0?null:e;var l=t();if(Aa){zn(!0);try{t()}finally{zn(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=de();if(a!==void 0){var r=a(e);if(Aa){zn(!0);try{a(e)}finally{zn(!1)}}}else r=e;return l.memoizedState=l.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},l.queue=t,t=t.dispatch=Pv.bind(null,ct,t),[l.memoizedState,t]}
vendor: 2,325 bytes, line 8
8,useRef:function(t){var e=de();return t={current:t},e.memoizedState=t},useState:function(t){t=Pr(t);var e=t.queue,a=Wd.bind(null,ct,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Ir,useDeferredValue:function(t,e){var a=de();return Wr(a,t,e)},useTransition:function(){var t=Pr(!1);return t=Jd.bind(null,ct,t.queue,!0,!1),de().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=ct,r=de();if(gt){if(a===void 0)throw Error(u(407));a=a()}else{if(a=e(),zt===null)throw Error(u(349));(yt&127)!==0||Ed(l,e,a)}r.memoizedState=a;var o={value:a,getSnapshot:e};return r.queue=o,Hd(Td.bind(null,l,o,t),[t]),l.flags|=2048,dl(9,{destroy:void 0},Rd.bind(null,l,o,a,e),null),a},useId:function(){var t=de(),e=zt.identifierPrefix;if(gt){var a=Ie,l=ke;a=(l&~(1<<32-Ae(l)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Ms++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=Yv++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:to,useFormState:Ld,useActionState:Ld,useOptimistic:function(t){var e=de();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=eo.bind(null,ct,!0,a),a.dispatch=e,[t,e]},useMemoCache:Kr,useCacheRefresh:function(){return de().memoizedState=Jv.bind(null,ct)},useEffectEvent:function(t){var e=de(),a={impl:t};return e.memoizedState=a,function(){if((Rt&2)!==0)throw Error(u(440));return a.impl.apply(void 0,arguments)}}},no={readContext:se,use:Cs,useCallback:Xd,useContext:se,useEffect:kr,useImperativeHandle:Vd,useInsertionEffect:Gd,useLayoutEffect:Yd,useMemo:Kd,useReducer:ws,useRef:Bd,useState:function(){return ws(mn)},useDebugValue:Ir,useDeferredValue:function(t,e){var a=Kt();return Zd(a,Mt.memoizedState,t,e)},useTransition:function(){var t=ws(mn)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:ui(t),e]},useSyncExternalStore:_d,useId:kd,useHostTransitionStatus:to,useFormState:Ud,useActionState:Ud,useOptimistic:function(t,e){var a=Kt();return Md(a,Mt,t,e)},useMemoCache:Kr,useCacheRefresh:Id};no.useEffectEvent=qd;var nh={readContext:se,use:Cs,useCallback:Xd,useContext:se,useEffect:kr,useImperativeHandle:Vd,useInsertionEffect:Gd,useLayoutEffect:Yd,useMemo:Kd,useReducer:Jr,useRef:Bd,useState:function(){return Jr(mn)},useDebugValue:Ir,useDeferredValue:function(t,e){var a=Kt();
vendor: 7,118 bytes, line 8
8return Mt===null?Wr(a,t,e):Zd(a,Mt.memoizedState,t,e)},useTransition:function(){var t=Jr(mn)[0],e=Kt().memoizedState;return[typeof t=="boolean"?t:ui(t),e]},useSyncExternalStore:_d,useId:kd,useHostTransitionStatus:to,useFormState:jd,useActionState:jd,useOptimistic:function(t,e){var a=Kt();return Mt!==null?Md(a,Mt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Kr,useCacheRefresh:Id};nh.useEffectEvent=qd;function ao(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:p({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var lo={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=De(),r=qn(l);r.payload=e,a!=null&&(r.callback=a),e=Gn(t,r,l),e!==null&&(_e(e,t,l),ai(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=De(),r=qn(l);r.tag=1,r.payload=e,a!=null&&(r.callback=a),e=Gn(t,r,l),e!==null&&(_e(e,t,l),ai(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=De(),l=qn(a);l.tag=2,e!=null&&(l.callback=e),e=Gn(t,l,a),e!==null&&(_e(e,t,a),ai(e,t,a))}};function ah(t,e,a,l,r,o,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,d):e.prototype&&e.prototype.isPureReactComponent?!Fl(a,l)||!Fl(r,o):!0}function lh(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&lo.enqueueReplaceState(e,e.state,null)}function xa(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=p({},a));for(var r in t)a[r]===void 0&&(a[r]=t[r])}return a}function ih(t){fs(t)}function sh(t){console.error(t)}function uh(t){fs(t)}function Us(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function rh(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function io(t,e,a){return a=qn(a),a.tag=3,a.payload={element:null},a.callback=function(){Us(t,e)},a}function oh(t){return t=qn(t),t.tag=3,t}function ch(t,e,a,l){var r=a.type.getDerivedStateFromError;if(typeof r=="function"){var o=l.value;t.payload=function(){return r(o)},t.callback=function(){rh(e,a,l)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){rh(e,a,l),typeof r!="function"&&(Zn===null?Zn=new Set([this]):Zn.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function Fv(t,e,a,l,r){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&ll(e,a,r,!0),a=Oe.current,a!==null){switch(a.tag){case 31:case 13:return Ge===null?Zs():a.alternate===null&&Gt===0&&(Gt=3),a.flags&=-257,a.flags|=65536,a.lanes=r,l===_s?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),zo(t,l,r)),!1;case 22:return a.flags|=65536,l===_s?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),zo(t,l,r)),!1}throw Error(u(435,a.tag))}return zo(t,l,r),Zs(),!1}if(gt)return e=Oe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=r,l!==Tr&&(t=Error(u(422),{cause:l}),Wl(je(t,a)))):(l!==Tr&&(e=Error(u(423),{cause:l}),Wl(je(e,a))),t=t.current.alternate,t.flags|=65536,r&=-r,t.lanes|=r,l=je(l,a),r=io(t.stateNode,l,r),Nr(t,r),Gt!==4&&(Gt=2)),!1;var o=Error(u(520),{cause:l});if(o=je(o,a),gi===null?gi=[o]:gi.push(o),Gt!==4&&(Gt=2),e===null)return!0;l=je(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=r&-r,a.lanes|=t,t=io(a.stateNode,l,t),Nr(a,t),!1;case 1:if(e=a.type,o=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Zn===null||!Zn.has(o))))return a.flags|=65536,r&=-r,a.lanes|=r,r=oh(r),ch(r,t,a,l),Nr(a,r),!1}a=a.return}while(a!==null);return!1}var so=Error(u(461)),Pt=!1;function ue(t,e,a,l){e.child=t===null?md(e,null,a,l):Ta(e,t.child,a,l)}function fh(t,e,a,l,r){a=a.render;var o=e.ref;if("ref"in l){var d={};for(var v in l)v!=="ref"&&(d[v]=l[v])}else d=l;return ba(e),l=Yr(t,e,a,d,o,r),v=Qr(),t!==null&&!Pt?(Vr(t,e,r),yn(t,e,r)):(gt&&v&&Er(e),e.flags|=1,ue(t,e,l,r),e.child)}function dh(t,e,a,l,r){if(t===null){var o=a.type;return typeof o=="function"&&!Sr(o)&&o.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=o,hh(t,e,o,l,r)):(t=ys(a.type,null,l,e,e.mode,r),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!yo(t,r)){var d=o.memoizedProps;if(a=a.compare,a=a!==null?a:Fl,a(d,l)&&t.ref===e.ref)return yn(t,e,r)}return e.flags|=1,t=on(o,l),t.ref=e.ref,t.return=e,e.child=t}function hh(t,e,a,l,r){if(t!==null){var o=t.memoizedProps;if(Fl(o,l)&&t.ref===e.ref)if(Pt=!1,e.pendingProps=l=o,yo(t,r))(t.flags&131072)!==0&&(Pt=!0);else return e.lanes=t.lanes,yn(t,e,r)}return uo(t,e,a,l,r)}function mh(t,e,a,l){var r=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|a:a,t!==null){for(l=e.child=t.child,r=0;l!==null;)r=r|l.lanes|l.childLanes,l=l.sibling;l=r&~o}else l=0,e.child=null;return yh(t,e,o,a,l)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ss(e,o!==null?o.cachePool:null),o!==null?gd(e,o):Br(),vd(e);else return l=e.lanes=536870912,yh(t,e,o!==null?o.baseLanes|a:a,a,l)}else o!==null?(Ss(e,o.cachePool),gd(e,o),Qn(),e.memoizedState=null):(t!==null&&Ss(e,null),Br(),Qn());return ue(t,e,r,a),e.child}function ci(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function yh(t,e,a,l,r){var o=zr();return o=o===null?null:{parent:Zt._currentValue,pool:o},e.memoizedState={baseLanes:a,cachePool:o},t!==null&&Ss(e,null),Br(),vd(e),t!==null&&ll(t,e,l,!0),e.childLanes=r,null}function Ns(t,e){return e=Bs({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function ph(t,e,a){return Ta(e,t.child,null,a),t=Ns(e,e.pendingProps),t.flags|=2,Ce(e),e.memoizedState=null,t}function kv(t,e,a){var l=e.pendingProps,r=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(gt){if(l.mode==="hidden")return t=Ns(e,l),e.lanes=536870912,ci(null,t);if(qr(e),(t=Ut)?(t=Om(t,qe),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Un!==null?{id:ke,overflow:Ie}:null,retryLane:536870912,hydrationErrors:null},a=$f(t),a.return=e,e.child=a,ie=e,Ut=null)):t=null,t===null)throw jn(e);return e.lanes=536870912,null}return Ns(e,l)}var o=t.memoizedState;if(o!==null){var d=o.dehydrated;if(qr(e),r)if(e.flags&256)e.flags&=-257,e=ph(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(u(558));else if(Pt||ll(t,e,a,!1),r=(a&t.childLanes)!==0,Pt||r){if(l=zt,l!==null&&(d=sf(l,a),d!==0&&d!==o.retryLane))throw o.retryLane=d,pa(t,d),_e(l,t,d),so;Zs(),e=ph(t,e,a)}
vendor: 2,212 bytes, line 8
8else t=o.treeContext,Ut=Ye(d.nextSibling),ie=e,gt=!0,Nn=null,qe=!1,t!==null&&nd(e,t),e=Ns(e,l),e.flags|=4096;return e}return t=on(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function js(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(u(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function uo(t,e,a,l,r){return ba(e),a=Yr(t,e,a,l,void 0,r),l=Qr(),t!==null&&!Pt?(Vr(t,e,r),yn(t,e,r)):(gt&&l&&Er(e),e.flags|=1,ue(t,e,a,r),e.child)}function gh(t,e,a,l,r,o){return ba(e),e.updateQueue=null,a=bd(e,l,a,r),Sd(t),l=Qr(),t!==null&&!Pt?(Vr(t,e,o),yn(t,e,o)):(gt&&l&&Er(e),e.flags|=1,ue(t,e,a,o),e.child)}function vh(t,e,a,l,r){if(ba(e),e.stateNode===null){var o=tl,d=a.contextType;typeof d=="object"&&d!==null&&(o=se(d)),o=new a(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=lo,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},Lr(e),d=a.contextType,o.context=typeof d=="object"&&d!==null?se(d):tl,o.state=e.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(ao(e,a,d,l),o.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(d=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),d!==o.state&&lo.enqueueReplaceState(o,o.state,null),ii(e,l,o,r),li(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var v=e.memoizedProps,A=xa(a,v);o.props=A;var L=o.context,H=a.contextType;d=tl,typeof H=="object"&&H!==null&&(d=se(H));var V=a.getDerivedStateFromProps;H=typeof V=="function"||typeof o.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,H||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(v||L!==d)&&lh(e,o,l,d),Hn=!1;var U=e.memoizedState;o.state=U,ii(e,l,o,r),li(),L=e.memoizedState,v||U!==L||Hn?(typeof V=="function"&&(ao(e,a,
vendor: 8,548 bytes, line 8
8V,l),L=e.memoizedState),(A=Hn||ah(e,a,A,l,U,L,d))?(H||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"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=L),o.props=l,o.state=L,o.context=d,l=A):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,Ur(t,e),d=e.memoizedProps,H=xa(a,d),o.props=H,V=e.pendingProps,U=o.context,L=a.contextType,A=tl,typeof L=="object"&&L!==null&&(A=se(L)),v=a.getDerivedStateFromProps,(L=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(d!==V||U!==A)&&lh(e,o,l,A),Hn=!1,U=e.memoizedState,o.state=U,ii(e,l,o,r),li();var j=e.memoizedState;d!==V||U!==j||Hn||t!==null&&t.dependencies!==null&&gs(t.dependencies)?(typeof v=="function"&&(ao(e,a,v,l),j=e.memoizedState),(H=Hn||ah(e,a,H,l,U,j,A)||t!==null&&t.dependencies!==null&&gs(t.dependencies))?(L||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,j,A),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,j,A)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||d===t.memoizedProps&&U===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&U===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=j),o.props=l,o.state=j,o.context=A,l=H):(typeof o.componentDidUpdate!="function"||d===t.memoizedProps&&U===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&U===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,js(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=Ta(e,t.child,null,r),e.child=Ta(e,null,a,r)):ue(t,e,a,r),e.memoizedState=o.state,t=e.child):t=yn(t,e,r),t}function Sh(t,e,a,l){return va(),e.flags|=256,ue(t,e,a,l),e.child}var ro={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function oo(t){return{baseLanes:t,cachePool:rd()}}function co(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=ze),t}function bh(t,e,a){var l=e.pendingProps,r=!1,o=(e.flags&128)!==0,d;if((d=o)||(d=t!==null&&t.memoizedState===null?!1:(Xt.current&2)!==0),d&&(r=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(gt){if(r?Yn(e):Qn(),(t=Ut)?(t=Om(t,qe),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Un!==null?{id:ke,overflow:Ie}:null,retryLane:536870912,hydrationErrors:null},a=$f(t),a.return=e,e.child=a,ie=e,Ut=null)):t=null,t===null)throw jn(e);return Jo(t)?e.lanes=32:e.lanes=536870912,null}var v=l.children;return l=l.fallback,r?(Qn(),r=e.mode,v=Bs({mode:"hidden",children:v},r),l=ga(l,r,a,null),v.return=e,l.return=e,v.sibling=l,e.child=v,l=e.child,l.memoizedState=oo(a),l.childLanes=co(t,d,a),e.memoizedState=ro,ci(null,l)):(Yn(e),fo(e,v))}var A=t.memoizedState;if(A!==null&&(v=A.dehydrated,v!==null)){if(o)e.flags&256?(Yn(e),e.flags&=-257,e=ho(t,e,a)):e.memoizedState!==null?(Qn(),e.child=t.child,e.flags|=128,e=null):(Qn(),v=l.fallback,r=e.mode,l=Bs({mode:"visible",children:l.children},r),v=ga(v,r,a,null),v.flags|=2,l.return=e,v.return=e,l.sibling=v,e.child=l,Ta(e,t.child,null,a),l=e.child,l.memoizedState=oo(a),l.childLanes=co(t,d,a),e.memoizedState=ro,e=ci(null,l));else if(Yn(e),Jo(v)){if(d=v.nextSibling&&v.nextSibling.dataset,d)var L=d.dgst;d=L,l=Error(u(419)),l.stack="",l.digest=d,Wl({value:l,source:null,stack:null}),e=ho(t,e,a)}else if(Pt||ll(t,e,a,!1),d=(a&t.childLanes)!==0,Pt||d){if(d=zt,d!==null&&(l=sf(d,a),l!==0&&l!==A.retryLane))throw A.retryLane=l,pa(t,l),_e(d,t,l),so;Zo(v)||Zs(),e=ho(t,e,a)}else Zo(v)?(e.flags|=192,e.child=t.child,e=null):(t=A.treeContext,Ut=Ye(v.nextSibling),ie=e,gt=!0,Nn=null,qe=!1,t!==null&&nd(e,t),e=fo(e,l.children),e.flags|=4096);return e}return r?(Qn(),v=l.fallback,r=e.mode,A=t.child,L=A.sibling,l=on(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,L!==null?v=on(L,v):(v=ga(v,r,a,null),v.flags|=2),v.return=e,l.return=e,l.sibling=v,e.child=l,ci(null,l),l=e.child,v=t.child.memoizedState,v===null?v=oo(a):(r=v.cachePool,r!==null?(A=Zt._currentValue,r=r.parent!==A?{parent:A,pool:A}:r):r=rd(),v={baseLanes:v.baseLanes|a,cachePool:r}),l.memoizedState=v,l.childLanes=co(t,d,a),e.memoizedState=ro,ci(t.child,l)):(Yn(e),a=t.child,t=a.sibling,a=on(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=a,e.memoizedState=null,a)}function fo(t,e){return e=Bs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Bs(t,e){return t=Me(22,t,null,e),t.lanes=0,t}function ho(t,e,a){return Ta(e,t.child,null,a),t=fo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function _h(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Mr(t.return,e,a)}function mo(t,e,a,l,r,o){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:r,treeForkCount:o}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=a,d.tailMode=r,d.treeForkCount=o)}function Eh(t,e,a){var l=e.pendingProps,r=l.revealOrder,o=l.tail;l=l.children;var d=Xt.current,v=(d&2)!==0;if(v?(d=d&1|2,e.flags|=128):d&=1,k(Xt,d),ue(t,e,l,a),l=gt?Il:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&_h(t,a,e);else if(t.tag===19)_h(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(r){case"forwards":for(a=e.child,r=null;a!==null;)t=a.alternate,t!==null&&As(t)===null&&(r=a),a=a.sibling;a=r,a===null?(r=e.child,e.child=null):(r=a.sibling,a.sibling=null),mo(e,!1,r,a,o,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,r=e.child,e.child=null;r!==null;){if(t=r.alternate,t!==null&&As(t)===null){e.child=r;break}t=r.sibling,r.sibling=a,a=r,r=t}mo(e,!0,a,null,o,l);break;case"together":mo(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function yn(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Kn|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(ll(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(u(153));if(e.child!==null){for(t=e.child,a=on(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=on(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function yo(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&gs(t)))}function Iv(t,e,a){switch(e.tag){case 3:Vt(e,e.stateNode.containerInfo),Bn(e,Zt,t.memoizedState.cache),va();break;case 27:case 5:nn(e);break;case 4:Vt(e,e.stateNode.containerInfo);break;case 10:Bn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,qr(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Yn(e),e.flags|=128,null):(a&e.child.childLanes)!==0?bh(t,e,a):(Yn(e),t=yn(t,e,a),t!==null?t.sibling:null);Yn(e);break;case 19:var r=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(ll(t,e,a,!1),l=(a&e.childLanes)!==0),r){if(l)return Eh(t,e,a);e.flags|=128}if(r=e.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),k(Xt,Xt.current),l)break;return null;case 22:return e.lanes=0,mh(t,e,a,e.pendingProps);case 24:Bn(e,Zt,t.memoizedState.cache)}return yn(t,e,a)}function Rh(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)Pt=!0;else{if(!yo(t,a)&&(e.flags&128)===0)return Pt=!1,Iv(t,e,a);Pt=(t.flags&131072)!==0}else Pt=!1,gt&&(e.flags&1048576)!==0&&ed(e,Il,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Ea(e.elementType),e.type=t,typeof t=="function")Sr(t)?(l=xa(t,l),e.tag=1,e=vh(null,e,t,l,a)):(e.tag=0,e=uo(null,e,t,l,a));else{if(t!=null){var r=t.$$typeof;if(r===X){e.tag=11,e=fh(null,e,t,l,a);break t}else if(r===q){e.tag=14,e=dh(null,e,t,l,a);break t}}throw e=jt(t)||t,Error(u(306,e,""))}}return e;
vendor: 5,906 bytes, line 8
8case 0:return uo(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,r=xa(l,e.pendingProps),vh(t,e,l,r,a);case 3:t:{if(Vt(e,e.stateNode.containerInfo),t===null)throw Error(u(387));l=e.pendingProps;var o=e.memoizedState;r=o.element,Ur(t,e),ii(e,l,null,a);var d=e.memoizedState;if(l=d.cache,Bn(e,Zt,l),l!==o.cache&&Or(e,[Zt],a,!0),li(),l=d.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=Sh(t,e,l,a);break t}else if(l!==r){r=je(Error(u(424)),e),Wl(r),e=Sh(t,e,l,a);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Ut=Ye(t.firstChild),ie=e,gt=!0,Nn=null,qe=!0,a=md(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(va(),l===r){e=yn(t,e,a);break t}ue(t,e,l,a)}e=e.child}return e;case 26:return js(t,e),t===null?(a=Um(e.type,null,e.pendingProps,null))?e.memoizedState=a:gt||(a=e.type,t=e.pendingProps,l=$s(dt.current).createElement(a),l[le]=e,l[ye]=t,re(l,a,t),te(l),e.stateNode=l):e.memoizedState=Um(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return nn(e),t===null&&gt&&(l=e.stateNode=zm(e.type,e.pendingProps,dt.current),ie=e,qe=!0,r=Ut,kn(e.type)?(Po=r,Ut=Ye(l.firstChild)):Ut=r),ue(t,e,e.pendingProps.children,a),js(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&gt&&((r=l=Ut)&&(l=M0(l,e.type,e.pendingProps,qe),l!==null?(e.stateNode=l,ie=e,Ut=Ye(l.firstChild),qe=!1,r=!0):r=!1),r||jn(e)),nn(e),r=e.type,o=e.pendingProps,d=t!==null?t.memoizedProps:null,l=o.children,Vo(r,o)?l=null:d!==null&&Vo(r,d)&&(e.flags|=32),e.memoizedState!==null&&(r=Yr(t,e,Qv,null,null,a),Ai._currentValue=r),js(t,e),ue(t,e,l,a),e.child;case 6:return t===null&&gt&&((t=a=Ut)&&(a=O0(a,e.pendingProps,qe),a!==null?(e.stateNode=a,ie=e,Ut=null,t=!0):t=!1),t||jn(e)),null;case 13:return bh(t,e,a);case 4:return Vt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Ta(e,null,l,a):ue(t,e,l,a),e.child;case 11:return fh(t,e,e.type,e.pendingProps,a);case 7:return ue(t,e,e.pendingProps,a),e.child;case 8:return ue(t,e,e.pendingProps.children,a),e.child;case 12:return ue(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,Bn(e,e.type,l.value),ue(t,e,l.children,a),e.child;case 9:return r=e.type._context,l=e.pendingProps.children,ba(e),r=se(r),l=l(r),e.flags|=1,ue(t,e,l,a),e.child;case 14:return dh(t,e,e.type,e.pendingProps,a);case 15:return hh(t,e,e.type,e.pendingProps,a);case 19:return Eh(t,e,a);case 31:return kv(t,e,a);case 22:return mh(t,e,a,e.pendingProps);case 24:return ba(e),l=se(Zt),t===null?(r=zr(),r===null&&(r=zt,o=Cr(),r.pooledCache=o,o.refCount++,o!==null&&(r.pooledCacheLanes|=a),r=o),e.memoizedState={parent:l,cache:r},Lr(e),Bn(e,Zt,r)):((t.lanes&a)!==0&&(Ur(t,e),ii(e,null,null,a),li()),r=t.memoizedState,o=e.memoizedState,r.parent!==l?(r={parent:l,cache:l},e.memoizedState=r,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=r),Bn(e,Zt,l)):(l=o.cache,Bn(e,Zt,l),l!==r.cache&&Or(e,[Zt],a,!0))),ue(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(u(156,e.tag))}function pn(t){t.flags|=4}function po(t,e,a,l,r){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(r&335544128)===r)if(t.stateNode.complete)t.flags|=8192;else if(kh())t.flags|=8192;else throw Ra=_s,Dr}else t.flags&=-16777217}function Th(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!qm(e))if(kh())t.flags|=8192;else throw Ra=_s,Dr}function Hs(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?nf():536870912,t.lanes|=e,pl|=e)}function fi(t,e){if(!gt)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Nt(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var r=t.child;r!==null;)a|=r.lanes|r.childLanes,l|=r.subtreeFlags&65011712,l|=r.flags&65011712,r.return=t,r=r.sibling;else for(r=t.child;r!==null;)a|=r.lanes|r.childLanes,l|=r.subtreeFlags,l|=r.flags,r.return=t,r=r.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function Wv(t,e,a){var l=e.pendingProps;switch(Rr(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(e),null;case 1:return Nt(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),dn(Zt),wt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(al(e)?pn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ar())),Nt(e),null;case 26:var r=e.type,o=e.memoizedState;return t===null?(pn(e),o!==null?(Nt(e),Th(e,o)):(Nt(e),po(e,r,null,l,a))):o?o!==t.memoizedState?(pn(e),Nt(e),Th(e,o)):(Nt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&pn(e),Nt(e),po(e,r,t,l,a)),null;case 27:if(an(e),a=dt.current,r=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&pn(e);else{if(!l){if(e.stateNode===null)throw Error(u(166));return Nt(e),null}t=W.current,al(e)?ad(e):(t=zm(r,l,a),e.stateNode=t,pn(e))}return Nt(e),null;case 5:if(an(e),r=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&pn(e);else{if(!l){if(e.stateNode===null)throw Error(u(166));return Nt(e),null}if(o=W.current,al(e))ad(e);else{var d=$s(dt.current);switch(o){case 1:o=d.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:o=d.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":o=d.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":o=d.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":o=d.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;
vendor: 23,991 bytes, line 8
8case"select":o=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?d.createElement(r,{is:l.is}):d.createElement(r)}}o[le]=e,o[ye]=l;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)o.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=o;t:switch(re(o,r,l),r){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&pn(e)}}return Nt(e),po(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&pn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(u(166));if(t=dt.current,al(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,r=ie,r!==null)switch(r.tag){case 27:case 5:l=r.memoizedProps}t[le]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||bm(t.nodeValue,a)),t||jn(e,!0)}else t=$s(t).createTextNode(l),t[le]=e,e.stateNode=t}return Nt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(l=al(e),a!==null){if(t===null){if(!l)throw Error(u(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(557));t[le]=e}else va(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Nt(e),t=!1}else a=Ar(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Ce(e),e):(Ce(e),null);if((e.flags&128)!==0)throw Error(u(558))}return Nt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=al(e),l!==null&&l.dehydrated!==null){if(t===null){if(!r)throw Error(u(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(u(317));r[le]=e}else va(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Nt(e),r=!1}else r=Ar(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(Ce(e),e):(Ce(e),null)}return Ce(e),(e.flags&128)!==0?(e.lanes=a,e):(a=l!==null,t=t!==null&&t.memoizedState!==null,a&&(l=e.child,r=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(r=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==r&&(l.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),Hs(e,e.updateQueue),Nt(e),null);case 4:return wt(),t===null&&Ho(e.stateNode.containerInfo),Nt(e),null;case 10:return dn(e.type),Nt(e),null;case 19:if(Q(Xt),l=e.memoizedState,l===null)return Nt(e),null;if(r=(e.flags&128)!==0,o=l.rendering,o===null)if(r)fi(l,!1);else{if(Gt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=As(t),o!==null){for(e.flags|=128,fi(l,!1),t=o.updateQueue,e.updateQueue=t,Hs(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Wf(a,t),a=a.sibling;return k(Xt,Xt.current&1|2),gt&&cn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&ce()>Vs&&(e.flags|=128,r=!0,fi(l,!1),e.lanes=4194304)}else{if(!r)if(t=As(o),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,Hs(e,t),fi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!gt)return Nt(e),null}else 2*ce()-l.renderingStartTime>Vs&&a!==536870912&&(e.flags|=128,r=!0,fi(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ce(),t.sibling=null,a=Xt.current,k(Xt,r?a&1|2:a&1),gt&&cn(e,l.treeForkCount),t):(Nt(e),null);case 22:case 23:return Ce(e),Hr(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(Nt(e),e.subtreeFlags&6&&(e.flags|=8192)):Nt(e),a=e.updateQueue,a!==null&&Hs(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&Q(_a),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),dn(Zt),Nt(e),null;case 25:return null;case 30:return null}throw Error(u(156,e.tag))}function $v(t,e){switch(Rr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return dn(Zt),wt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return an(e),null;case 31:if(e.memoizedState!==null){if(Ce(e),e.alternate===null)throw Error(u(340));va()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ce(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(u(340));va()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(Xt),null;case 4:return wt(),null;case 10:return dn(e.type),null;case 22:case 23:return Ce(e),Hr(),t!==null&&Q(_a),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return dn(Zt),null;case 25:return null;default:return null}}function Ah(t,e){switch(Rr(e),e.tag){case 3:dn(Zt),wt();break;case 26:case 27:case 5:an(e);break;case 4:wt();break;case 31:e.memoizedState!==null&&Ce(e);break;case 13:Ce(e);break;case 19:Q(Xt);break;case 10:dn(e.type);break;case 22:case 23:Ce(e),Hr(),t!==null&&Q(_a);break;case 24:dn(Zt)}}function di(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var r=l.next;a=r;do{if((a.tag&t)===t){l=void 0;var o=a.create,d=a.inst;l=o(),d.destroy=l}a=a.next}while(a!==r)}}catch(v){xt(e,e.return,v)}}function Vn(t,e,a){try{var l=e.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var o=r.next;l=o;do{if((l.tag&t)===t){var d=l.inst,v=d.destroy;if(v!==void 0){d.destroy=void 0,r=e;var A=a,L=v;try{L()}catch(H){xt(r,A,H)}}}l=l.next}while(l!==o)}}catch(H){xt(e,e.return,H)}}function xh(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{pd(e,a)}catch(l){xt(t,t.return,l)}}}function Mh(t,e,a){a.props=xa(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){xt(t,e,l)}}function hi(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(r){xt(t,e,r)}}function We(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(r){xt(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(r){xt(t,e,r)}else a.current=null}function Oh(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(r){xt(t,t.return,r)}}function go(t,e,a){try{var l=t.stateNode;_0(l,t.type,a,e),l[ye]=e}catch(r){xt(t,t.return,r)}}function Ch(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&kn(t.type)||t.tag===4}function vo(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ch(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&kn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function So(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=un));else if(l!==4&&(l===27&&kn(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(So(t,e,a),t=t.sibling;t!==null;)So(t,e,a),t=t.sibling}function qs(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(l!==4&&(l===27&&kn(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(qs(t,e,a),t=t.sibling;t!==null;)qs(t,e,a),t=t.sibling}function wh(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);re(e,l,a),e[le]=t,e[ye]=a}catch(o){xt(t,t.return,o)}}var gn=!1,Ft=!1,bo=!1,zh=typeof WeakSet=="function"?WeakSet:Set,ee=null;function t0(t,e){if(t=t.containerInfo,Yo=su,t=Vf(t),dr(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var r=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{a.nodeType,o.nodeType}catch{a=null;break t}var d=0,v=-1,A=-1,L=0,H=0,V=t,U=null;e:for(;;){for(var j;V!==a||r!==0&&V.nodeType!==3||(v=d+r),V!==o||l!==0&&V.nodeType!==3||(A=d+l),V.nodeType===3&&(d+=V.nodeValue.length),(j=V.firstChild)!==null;)U=V,V=j;for(;;){if(V===t)break e;if(U===a&&++L===r&&(v=d),U===o&&++H===l&&(A=d),(j=V.nextSibling)!==null)break;V=U,U=V.parentNode}V=j}a=v===-1||A===-1?null:{start:v,end:A}}else a=null}a=a||{start:0,end:0}}else a=null;for(Qo={focusedElem:t,selectionRange:a},su=!1,ee=e;ee!==null;)if(e=ee,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ee=t;else for(;ee!==null;){switch(e=ee,o=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)r=t[a],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,a=e,r=o.memoizedProps,o=o.memoizedState,l=a.stateNode;try{var $=xa(a.type,r);t=l.getSnapshotBeforeUpdate($,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(ut){xt(a,a.return,ut)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)Ko(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ko(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(u(163))}if(t=e.sibling,t!==null){t.return=e.return,ee=t;break}ee=e.return}}function Dh(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Sn(t,a),l&4&&di(5,a);break;case 1:if(Sn(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(d){xt(a,a.return,d)}else{var r=xa(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(r,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){xt(a,a.return,d)}}l&64&&xh(a),l&512&&hi(a,a.return);break;case 3:if(Sn(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{pd(t,e)}catch(d){xt(a,a.return,d)}}break;case 27:e===null&&l&4&&wh(a);case 26:case 5:Sn(t,a),e===null&&l&4&&Oh(a),l&512&&hi(a,a.return);break;case 12:Sn(t,a);break;case 31:Sn(t,a),l&4&&Nh(t,a);break;case 13:Sn(t,a),l&4&&jh(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=o0.bind(null,a),C0(t,a))));break;case 22:if(l=a.memoizedState!==null||gn,!l){e=e!==null&&e.memoizedState!==null||Ft,r=gn;var o=Ft;gn=l,(Ft=e)&&!o?bn(t,a,(a.subtreeFlags&8772)!==0):Sn(t,a),gn=r,Ft=o}break;case 30:break;default:Sn(t,a)}}function Lh(t){var e=t.alternate;e!==null&&(t.alternate=null,Lh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Fu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Bt=null,ge=!1;function vn(t,e,a){for(a=a.child;a!==null;)Uh(t,e,a),a=a.sibling}function Uh(t,e,a){if(Te&&typeof Te.onCommitFiberUnmount=="function")try{Te.onCommitFiberUnmount(Bl,a)}catch{}switch(a.tag){case 26:Ft||We(a,e),vn(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ft||We(a,e);var l=Bt,r=ge;kn(a.type)&&(Bt=a.stateNode,ge=!1),vn(t,e,a),Ei(a.stateNode),Bt=l,ge=r;break;case 5:Ft||We(a,e);case 6:if(l=Bt,r=ge,Bt=null,vn(t,e,a),Bt=l,ge=r,Bt!==null)if(ge)try{(Bt.nodeType===9?Bt.body:Bt.nodeName==="HTML"?Bt.ownerDocument.body:Bt).removeChild(a.stateNode)}catch(o){xt(a,e,o)}else try{Bt.removeChild(a.stateNode)}catch(o){xt(a,e,o)}break;case 18:Bt!==null&&(ge?(t=Bt,xm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Tl(t)):xm(Bt,a.stateNode));break;case 4:l=Bt,r=ge,Bt=a.stateNode.containerInfo,ge=!0,vn(t,e,a),Bt=l,ge=r;break;case 0:case 11:case 14:case 15:Vn(2,a,e),Ft||Vn(4,a,e),vn(t,e,a);break;case 1:Ft||(We(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Mh(a,e,l)),vn(t,e,a);break;case 21:vn(t,e,a);break;case 22:Ft=(l=Ft)||a.memoizedState!==null,vn(t,e,a),Ft=l;break;default:vn(t,e,a)}}function Nh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Tl(t)}catch(a){xt(e,e.return,a)}}}function jh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Tl(t)}catch(a){xt(e,e.return,a)}}function e0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new zh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new zh),e;default:throw Error(u(435,t.tag))}}function Gs(t,e){var a=e0(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var r=c0.bind(null,t,l);l.then(r,r)}})}function ve(t,e){var a=e.deletions;if(a!==null)for(var l=0;l<a.length;l++){var r=a[l],o=t,d=e,v=d;t:for(;v!==null;){switch(v.tag){case 27:if(kn(v.type)){Bt=v.stateNode,ge=!1;break t}break;case 5:Bt=v.stateNode,ge=!1;break t;case 3:case 4:Bt=v.stateNode.containerInfo,ge=!0;break t}v=v.return}if(Bt===null)throw Error(u(160));Uh(o,d,r),Bt=null,ge=!1,o=r.alternate,o!==null&&(o.return=null),r.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Bh(e,t),e=e.sibling}var Ke=null;function Bh(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ve(e,t),Se(t),l&4&&(Vn(3,t,t.return),di(3,t),Vn(5,t,t.return));break;case 1:ve(e,t),Se(t),l&512&&(Ft||a===null||We(a,a.return)),l&64&&gn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var r=Ke;if(ve(e,t),Se(t),l&512&&(Ft||a===null||We(a,a.return)),l&4){var o=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){t:{l=t.type,a=t.memoizedProps,r=r.ownerDocument||r;e:switch(l){case"title":o=r.getElementsByTagName("title")[0],(!o||o[Gl]||o[le]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=r.createElement(l),r.head.insertBefore(o,r.querySelector("head > title"))),re(o,l,a),o[le]=t,te(o),l=o;break t;case"link":var d=Bm("link","href",r).get(l+(a.href||""));if(d){for(var v=0;v<d.length;v++)if(o=d[v],o.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&o.getAttribute("rel")===(a.rel==null?null:a.rel)&&o.getAttribute("title")===(a.title==null?null:a.title)&&o.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){d.splice(v,1);break e}}o=r.createElement(l),re(o,l,a),r.head.appendChild(o);break;case"meta":if(d=Bm("meta","content",r).get(l+(a.content||""))){for(v=0;v<d.length;v++)if(o=d[v],o.getAttribute("content")===(a.content==null?null:""+a.content)&&o.getAttribute("name")===(a.name==null?null:a.name)&&o.getAttribute("property")===(a.property==null?null:a.property)&&o.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&o.getAttribute("charset")===(a.charSet==null?null:a.charSet)){d.splice(v,1);break e}}o=r.createElement(l),re(o,l,a),r.head.appendChild(o);break;default:throw Error(u(468,l))}o[le]=t,te(o),l=o}t.stateNode=l}else Hm(r,t.type,t.stateNode);else t.stateNode=jm(r,l,t.memoizedProps);else o!==l?(o===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):o.count--,l===null?Hm(r,t.type,t.stateNode):jm(r,l,t.memoizedProps)):l===null&&t.stateNode!==null&&go(t,t.memoizedProps,a.memoizedProps)}break;case 27:ve(e,t),Se(t),l&512&&(Ft||a===null||We(a,a.return)),a!==null&&l&4&&go(t,t.memoizedProps,a.memoizedProps);break;case 5:if(ve(e,t),Se(t),l&512&&(Ft||a===null||We(a,a.return)),t.flags&32){r=t.stateNode;try{Ja(r,"")}catch($){xt(t,t.return,$)}}l&4&&t.stateNode!=null&&(r=t.memoizedProps,go(t,r,a!==null?a.memoizedProps:r)),l&1024&&(bo=!0);break;case 6:if(ve(e,t),Se(t),l&4){if(t.stateNode===null)throw Error(u(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch($){xt(t,t.return,$)}}break;case 3:if(nu=null,r=Ke,Ke=tu(e.containerInfo),ve(e,t),Ke=r,Se(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Tl(e.containerInfo)}catch($){xt(t,t.return,$)}bo&&(bo=!1,Hh(t));break;case 4:l=Ke,Ke=tu(t.stateNode.containerInfo),ve(e,t),Se(t),Ke=l;break;case 12:ve(e,t),Se(t);break;case 31:ve(e,t),Se(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Gs(t,l)));break;case 13:ve(e,t),Se(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Qs=ce()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Gs(t,l)));break;case 22:r=t.memoizedState!==null;var A=a!==null&&a.memoizedState!==null,L=gn,H=Ft;if(gn=L||r,Ft=H||A,ve(e,t),Ft=H,gn=L,Se(t),l&8192)t:for(e=t.stateNode,e._visibility=r?e._visibility&-2:e._visibility|1,r&&(a===null||A||gn||Ft||Ma(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){A=a=e;try{if(o=A.stateNode,r)d=o.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{v=A.stateNode;var V=A.memoizedProps.style,U=V!=null&&V.hasOwnProperty("display")?V.display:null;v.style.display=U==null||typeof U=="boolean"?"":(""+U).trim()}}catch($){xt(A,A.return,$)}}}else if(e.tag===6){if(a===null){A=e;try{A.stateNode.nodeValue=r?"":A.memoizedProps}catch($){xt(A,A.return,$)}}}else if(e.tag===18){if(a===null){A=e;try{var j=A.stateNode;r?Mm(j,!0):Mm(A.stateNode,!1)}catch($){xt(A,A.return,$)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Gs(t,a))));break;case 19:ve(e,t),Se(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Gs(t,l)));break;case 30:break;case 21:break;default:ve(e,t),Se(t)}}function Se(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(Ch(l)){a=l;break}l=l.return}if(a==null)throw Error(u(160));switch(a.tag){case 27:var r=a.stateNode,o=vo(t);qs(t,o,r);break;case 5:var d=a.stateNode;a.flags&32&&(Ja(d,""),a.flags&=-33);var v=vo(t);qs(t,v,d);break;case 3:case 4:var A=a.stateNode.containerInfo,L=vo(t);So(t,L,A);break;default:throw Error(u(161))}}catch(H){xt(t,t.return,H)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Hh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Hh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Sn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Dh(t,e.alternate,e),e=e.sibling}function Ma(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Vn(4,e,e.return),Ma(e);break;case 1:We(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&Mh(e,e.return,a),Ma(e);break;case 27:Ei(e.stateNode);case 26:case 5:We(e,e.return),Ma(e);break;case 22:e.memoizedState===null&&Ma(e);break;case 30:Ma(e);break;default:Ma(e)}t=t.sibling}}function bn(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,r=t,o=e,d=o.flags;switch(o.tag){case 0:case 11:case 15:bn(r,o,a),di(4,o);break;case 1:if(bn(r,o,a),l=o,r=l.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(L){xt(l,l.return,L)}if(l=o,r=l.updateQueue,r!==null){var v=l.stateNode;try{var A=r.shared.hiddenCallbacks;if(A!==null)for(r.shared.hiddenCallbacks=null,r=0;r<A.length;r++)yd(A[r],v)}catch(L){xt(l,l.return,L)}}a&&d&64&&xh(o),hi(o,o.return);break;case 27:wh(o);case 26:case 5:bn(r,o,a),a&&l===null&&d&4&&Oh(o),hi(o,o.return);break;case 12:bn(r,o,a);break;case 31:bn(r,o,a),a&&d&4&&Nh(r,o);break;case 13:bn(r,o,a),a&&d&4&&jh(r,o);break;case 22:o.memoizedState===null&&bn(r,o,a),hi(o,o.return);break;case 30:break;default:bn(r,o,a)}e=e.sibling}}function _o(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&$l(a))}function Eo(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&$l(t))}function Ze(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qh(t,e,a,l),e=e.sibling}function qh(t,e,a,l){var r=e.flags;switch(e.tag){case 0:case 11:case 15:Ze(t,e,a,l),r&2048&&di(9,e);break;case 1:Ze(t,e,a,l);break;case 3:Ze(t,e,a,l),r&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&$l(t)));break;case 12:if(r&2048){Ze(t,e,a,l),t=e.stateNode;try{var o=e.memoizedProps,d=o.id,v=o.onPostCommit;typeof v=="function"&&v(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){xt(e,e.return,A)}}else Ze(t,e,a,l);break;case 31:Ze(t,e,a,l);break;case 13:Ze(t,e,a,l);break;case 23:break;case 22:o=e.stateNode,d=e.alternate,e.memoizedState!==null?o._visibility&2?Ze(t,e,a,l):mi(t,e):o._visibility&2?Ze(t,e,a,l):(o._visibility|=2,hl(t,e,a,l,(e.subtreeFlags&10256)!==0||!1)),r&2048&&_o(d,e);break;case 24:Ze(t,e,a,l),r&2048&&Eo(e.alternate,e);break;default:Ze(t,e,a,l)}}function hl(t,e,a,l,r){for(r=r&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,d=e,v=a,A=l,L=d.flags;switch(d.tag){case 0:case 11:case 15:hl(o,d,v,A,r),di(8,d);break;case 23:break;case 22:var H=d.stateNode;d.memoizedState!==null?H._visibility&2?hl(o,d,v,A,r):mi(o,d):(H._visibility|=2,hl(o,d,v,A,r)),r&&L&2048&&_o(d.alternate,d);break;case 24:hl(o,d,v,A,r),r&&L&2048&&Eo(d.alternate,d);break;default:hl(o,d,v,A,r)}e=e.sibling}}function mi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,r=l.flags;switch(l.tag){case 22:mi(a,l),r&2048&&_o(l.alternate,l);break;case 24:mi(a,l),r&2048&&Eo(l.alternate,l);break;default:mi(a,l)}e=e.sibling}}var yi=8192;function ml(t,e,a){if(t.subtreeFlags&yi)for(t=t.child;t!==null;)Gh(t,e,a),t=t.sibling}function Gh(t,e,a){switch(t.tag){case 26:ml(t,e,a),t.flags&yi&&t.memoizedState!==null&&Y0(a,Ke,t.memoizedState,t.memoizedProps);break;case 5:ml(t,e,a);break;case 3:case 4:var l=Ke;Ke=tu(t.stateNode.containerInfo),ml(t,e,a),Ke=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=yi,yi=16777216,ml(t,e,a),yi=l):ml(t,e,a));break;default:ml(t,e,a)}}function Yh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function pi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];ee=l,Vh(l,t)}Yh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Qh(t),t=t.sibling}function Qh(t){switch(t.tag){case 0:case 11:case 15:pi(t),t.flags&2048&&Vn(9,t,t.return);break;case 3:pi(t);break;case 12:pi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Ys(t)):pi(t);break;default:pi(t)}}function Ys(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];ee=l,Vh(l,t)}Yh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Vn(8,e,e.return),Ys(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,Ys(e));break;default:Ys(e)}t=t.sibling}}function Vh(t,e){for(;ee!==null;){var a=ee;switch(a.tag){case 0:case 11:case 15:Vn(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;
vendor: 15,203 bytes, line 8
8case 24:$l(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,ee=l;else t:for(a=t;ee!==null;){l=ee;var r=l.sibling,o=l.return;if(Lh(l),l===a){ee=null;break t}if(r!==null){r.return=o,ee=r;break t}ee=o}}}var n0={getCacheForType:function(t){var e=se(Zt),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return se(Zt).controller.signal}},a0=typeof WeakMap=="function"?WeakMap:Map,Rt=0,zt=null,ht=null,yt=0,At=0,we=null,Xn=!1,yl=!1,Ro=!1,_n=0,Gt=0,Kn=0,Oa=0,To=0,ze=0,pl=0,gi=null,be=null,Ao=!1,Qs=0,Xh=0,Vs=1/0,Xs=null,Zn=null,kt=0,Jn=null,gl=null,En=0,xo=0,Mo=null,Kh=null,vi=0,Oo=null;function De(){return(Rt&2)!==0&&yt!==0?yt&-yt:B.T!==null?Uo():uf()}function Zh(){if(ze===0)if((yt&536870912)===0||gt){var t=Wi;Wi<<=1,(Wi&3932160)===0&&(Wi=262144),ze=t}else ze=536870912;return t=Oe.current,t!==null&&(t.flags|=32),ze}function _e(t,e,a){(t===zt&&(At===2||At===9)||t.cancelPendingCommit!==null)&&(vl(t,0),Pn(t,yt,ze,!1)),ql(t,a),((Rt&2)===0||t!==zt)&&(t===zt&&((Rt&2)===0&&(Oa|=a),Gt===4&&Pn(t,yt,ze,!1)),$e(t))}function Jh(t,e,a){if((Rt&6)!==0)throw Error(u(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||Hl(t,e),r=l?s0(t,e):wo(t,e,!0),o=l;do{if(r===0){yl&&!l&&Pn(t,e,0,!1);break}else{if(a=t.current.alternate,o&&!l0(a)){r=wo(t,e,!1),o=!1;continue}if(r===2){if(o=e,t.errorRecoveryDisabledLanes&o)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var v=t;r=gi;var A=v.current.memoizedState.isDehydrated;if(A&&(vl(v,d).flags|=256),d=wo(v,d,!1),d!==2){if(Ro&&!A){v.errorRecoveryDisabledLanes|=o,Oa|=o,r=4;break t}o=be,be=r,o!==null&&(be===null?be=o:be.push.apply(be,o))}r=d}if(o=!1,r!==2)continue}}if(r===1){vl(t,0),Pn(t,e,0,!0);break}t:{switch(l=t,o=r,o){case 0:case 1:throw Error(u(345));case 4:if((e&4194048)!==e)break;case 6:Pn(l,e,ze,!Xn);break t;case 2:be=null;break;case 3:case 5:break;default:throw Error(u(329))}if((e&62914560)===e&&(r=Qs+300-ce(),10<r)){if(Pn(l,e,ze,!Xn),ts(l,0,!0)!==0)break t;En=e,l.timeoutHandle=Tm(Ph.bind(null,l,a,be,Xs,Ao,e,ze,Oa,pl,Xn,o,"Throttled",-0,0),r);break t}Ph(l,a,be,Xs,Ao,e,ze,Oa,pl,Xn,o,null,-0,0)}}break}while(!0);$e(t)}function Ph(t,e,a,l,r,o,d,v,A,L,H,V,U,j){if(t.timeoutHandle=-1,V=e.subtreeFlags,V&8192||(V&16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:un},Gh(e,o,V);var $=(o&62914560)===o?Qs-ce():(o&4194048)===o?Xh-ce():0;if($=Q0(V,$),$!==null){En=o,t.cancelPendingCommit=$(nm.bind(null,t,e,o,a,l,r,d,v,A,H,V,null,U,j)),Pn(t,o,d,!L);return}}nm(t,e,o,a,l,r,d,v,A)}function l0(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var r=a[l],o=r.getSnapshot;r=r.value;try{if(!xe(o(),r))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Pn(t,e,a,l){e&=~To,e&=~Oa,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var r=e;0<r;){var o=31-Ae(r),d=1<<o;l[o]=-1,r&=~d}a!==0&&af(t,a,e)}function Ks(){return(Rt&6)===0?(Si(0),!1):!0}function Co(){if(ht!==null){if(At===0)var t=ht.return;else t=ht,fn=Sa=null,Xr(t),rl=null,ei=0,t=ht;for(;t!==null;)Ah(t.alternate,t),t=t.return;ht=null}}function vl(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,T0(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),En=0,Co(),zt=t,ht=a=on(t.current,null),yt=e,At=0,we=null,Xn=!1,yl=Hl(t,e),Ro=!1,pl=ze=To=Oa=Kn=Gt=0,be=gi=null,Ao=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var r=31-Ae(l),o=1<<r;e|=t[r],l&=~o}return _n=e,ds(),a}function Fh(t,e){ct=null,B.H=oi,e===ul||e===bs?(e=fd(),At=3):e===Dr?(e=fd(),At=4):At=e===so?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,we=e,ht===null&&(Gt=1,Us(t,je(e,t.current)))}function kh(){var t=Oe.current;return t===null?!0:(yt&4194048)===yt?Ge===null:(yt&62914560)===yt||(yt&536870912)!==0?t===Ge:!1}function Ih(){var t=B.H;return B.H=oi,t===null?oi:t}function Wh(){var t=B.A;return B.A=n0,t}function Zs(){Gt=4,Xn||(yt&4194048)!==yt&&Oe.current!==null||(yl=!0),(Kn&134217727)===0&&(Oa&134217727)===0||zt===null||Pn(zt,yt,ze,!1)}function wo(t,e,a){var l=Rt;Rt|=2;var r=Ih(),o=Wh();(zt!==t||yt!==e)&&(Xs=null,vl(t,e)),e=!1;var d=Gt;t:do try{if(At!==0&&ht!==null){var v=ht,A=we;switch(At){case 8:Co(),d=6;break t;case 3:case 2:case 9:case 6:Oe.current===null&&(e=!0);var L=At;if(At=0,we=null,Sl(t,v,A,L),a&&yl){d=0;break t}break;default:L=At,At=0,we=null,Sl(t,v,A,L)}}i0(),d=Gt;break}catch(H){Fh(t,H)}while(!0);return e&&t.shellSuspendCounter++,fn=Sa=null,Rt=l,B.H=r,B.A=o,ht===null&&(zt=null,yt=0,ds()),d}function i0(){for(;ht!==null;)$h(ht)}function s0(t,e){var a=Rt;Rt|=2;var l=Ih(),r=Wh();zt!==t||yt!==e?(Xs=null,Vs=ce()+500,vl(t,e)):yl=Hl(t,e);t:do try{if(At!==0&&ht!==null){e=ht;var o=we;e:switch(At){case 1:At=0,we=null,Sl(t,e,o,1);break;case 2:case 9:if(od(o)){At=0,we=null,tm(e);break}e=function(){At!==2&&At!==9||zt!==t||(At=7),$e(t)},o.then(e,e);break t;case 3:At=7;break t;case 4:At=5;break t;case 7:od(o)?(At=0,we=null,tm(e)):(At=0,we=null,Sl(t,e,o,7));break;case 5:var d=null;switch(ht.tag){case 26:d=ht.memoizedState;case 5:case 27:var v=ht;if(d?qm(d):v.stateNode.complete){At=0,we=null;var A=v.sibling;if(A!==null)ht=A;else{var L=v.return;L!==null?(ht=L,Js(L)):ht=null}break e}}At=0,we=null,Sl(t,e,o,5);break;case 6:At=0,we=null,Sl(t,e,o,6);break;case 8:Co(),Gt=6;break t;default:throw Error(u(462))}}u0();break}catch(H){Fh(t,H)}while(!0);return fn=Sa=null,B.H=l,B.A=r,Rt=a,ht!==null?0:(zt=null,yt=0,ds(),Gt)}function u0(){for(;ht!==null&&!ki();)$h(ht)}function $h(t){var e=Rh(t.alternate,t,_n);t.memoizedProps=t.pendingProps,e===null?Js(t):ht=e}function tm(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=gh(a,e,e.pendingProps,e.type,void 0,yt);break;case 11:e=gh(a,e,e.pendingProps,e.type.render,e.ref,yt);break;case 5:Xr(e);default:Ah(a,e),e=ht=Wf(e,_n),e=Rh(a,e,_n)}t.memoizedProps=t.pendingProps,e===null?Js(t):ht=e}function Sl(t,e,a,l){fn=Sa=null,Xr(e),rl=null,ei=0;var r=e.return;try{if(Fv(t,r,e,a,yt)){Gt=1,Us(t,je(a,t.current)),ht=null;return}}catch(o){if(r!==null)throw ht=r,o;Gt=1,Us(t,je(a,t.current)),ht=null;return}e.flags&32768?(gt||l===1?t=!0:yl||(yt&536870912)!==0?t=!1:(Xn=t=!0,(l===2||l===9||l===3||l===6)&&(l=Oe.current,l!==null&&l.tag===13&&(l.flags|=16384))),em(e,t)):Js(e)}function Js(t){var e=t;do{if((e.flags&32768)!==0){em(e,Xn);return}t=e.return;var a=Wv(e.alternate,e,_n);if(a!==null){ht=a;return}if(e=e.sibling,e!==null){ht=e;return}ht=e=t}while(e!==null);Gt===0&&(Gt=5)}function em(t,e){do{var a=$v(t.alternate,t);if(a!==null){a.flags&=32767,ht=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){ht=t;return}ht=t=a}while(t!==null);Gt=6,ht=null}function nm(t,e,a,l,r,o,d,v,A){t.cancelPendingCommit=null;do Ps();while(kt!==0);if((Rt&6)!==0)throw Error(u(327));if(e!==null){if(e===t.current)throw Error(u(177));if(o=e.lanes|e.childLanes,o|=gr,Gg(t,a,o,d,v,A),t===zt&&(ht=zt=null,yt=0),gl=e,Jn=t,En=a,xo=o,Mo=r,Kh=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,f0(Ga,function(){return um(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=B.T,B.T=null,r=P.p,P.p=2,d=Rt,Rt|=4;try{t0(t,e,a)}finally{Rt=d,P.p=r,B.T=l}}kt=1,am(),lm(),im()}}function am(){if(kt===1){kt=0;var t=Jn,e=gl,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var l=P.p;P.p=2;var r=Rt;Rt|=4;try{Bh(e,t);var o=Qo,d=Vf(t.containerInfo),v=o.focusedElem,A=o.selectionRange;if(d!==v&&v&&v.ownerDocument&&Qf(v.ownerDocument.documentElement,v)){if(A!==null&&dr(v)){var L=A.start,H=A.end;if(H===void 0&&(H=L),"selectionStart"in v)v.selectionStart=L,v.selectionEnd=Math.min(H,v.value.length);else{var V=v.ownerDocument||document,U=V&&V.defaultView||window;if(U.getSelection){var j=U.getSelection(),$=v.textContent.length,ut=Math.min(A.start,$),Ct=A.end===void 0?ut:Math.min(A.end,$);!j.extend&&ut>Ct&&(d=Ct,Ct=ut,ut=d);var w=Yf(v,ut),M=Yf(v,Ct);if(w&&M&&(j.rangeCount!==1||j.anchorNode!==w.node||j.anchorOffset!==w.offset||j.focusNode!==M.node||j.focusOffset!==M.offset)){var D=V.createRange();D.setStart(w.node,w.offset),j.removeAllRanges(),ut>Ct?(j.addRange(D),j.extend(M.node,M.offset)):(D.setEnd(M.node,M.offset),j.addRange(D))}}}}for(V=[],j=v;j=j.parentNode;)j.nodeType===1&&V.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<V.length;v++){var G=V[v];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}su=!!Yo,Qo=Yo=null}finally{Rt=r,P.p=l,B.T=a}}t.current=e,kt=2}}function lm(){if(kt===2){kt=0;var t=Jn,e=gl,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var l=P.p;P.p=2;var r=Rt;Rt|=4;try{Dh(t,e.alternate,e)}finally{Rt=r,P.p=l,B.T=a}}kt=3}}function im(){if(kt===4||kt===3){kt=0,Xu();var t=Jn,e=gl,a=En,l=Kh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?kt=5:(kt=0,gl=Jn=null,sm(t,t.pendingLanes));var r=t.pendingLanes;if(r===0&&(Zn=null),Ju(a),e=e.stateNode,Te&&typeof Te.onCommitFiberRoot=="function")try{Te.onCommitFiberRoot(Bl,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=B.T,r=P.p,P.p=2,B.T=null;try{for(var o=t.onRecoverableError,d=0;d<l.length;d++){var v=l[d];o(v.value,{componentStack:v.stack})}}finally{B.T=e,P.p=r}}(En&3)!==0&&Ps(),$e(t),r=t.pendingLanes,(a&261930)!==0&&(r&42)!==0?t===Oo?vi++:(vi=0,Oo=t):vi=0,Si(0)}}function sm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,$l(e)))}function Ps(){return am(),lm(),im(),um()}function um(){if(kt!==5)return!1;var t=Jn,e=xo;xo=0;var a=Ju(En),l=B.T,r=P.p;try{P.p=32>a?32:a,B.T=null,a=Mo,Mo=null;var o=Jn,d=En;if(kt=0,gl=Jn=null,En=0,(Rt&6)!==0)throw Error(u(331));var v=Rt;if(Rt|=4,Qh(o.current),qh(o,o.current,d,a),Rt=v,Si(0,!1),Te&&typeof Te.onPostCommitFiberRoot=="function")try{Te.onPostCommitFiberRoot(Bl,o)}catch{}return!0}finally{P.p=r,B.T=l,sm(t,e)}}function rm(t,e,a){e=je(a,e),e=io(t.stateNode,e,2),t=Gn(t,e,2),t!==null&&(ql(t,2),$e(t))}function xt(t,e,a){if(t.tag===3)rm(t,t,a);else for(;e!==null;){if(e.tag===3){rm(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Zn===null||!Zn.has(l))){t=je(a,t),a=oh(2),l=Gn(e,a,2),l!==null&&(ch(a,l,e,t),ql(l,2),$e(l));break}}e=e.return}}function zo(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new a0;var r=new Set;l.set(e,r)}else r=l.get(e),r===void 0&&(r=new Set,l.set(e,r));r.has(a)||(Ro=!0,r.add(a),t=r0.bind(null,t,e,a),e.then(t,t))}function r0(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,zt===t&&(yt&a)===a&&(Gt===4||Gt===3&&(yt&62914560)===yt&&300>ce()-Qs?(Rt&2)===0&&vl(t,0):To|=a,pl===yt&&(pl=0)),$e(t)}function om(t,e){e===0&&(e=nf()),t=pa(t,e),t!==null&&(ql(t,e),$e(t))}function o0(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),om(t,a)}function c0(t,e){var a=0;switch(t.tag){case 31:case 13:var l=t.stateNode,r=t.memoizedState;r!==null&&(a=r.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(u(314))}l!==null&&l.delete(e),om(t,a)}function f0(t,e){return Ve(t,e)}var Fs=null,bl=null,Do=!1,ks=!1,Lo=!1,Fn=0;function $e(t){t!==bl&&t.next===null&&(bl===null?Fs=bl=t:bl=bl.next=t),ks=!0,Do||(Do=!0,h0())}function Si(t,e){if(!Lo&&ks){Lo=!0;do for(var a=!1,l=Fs;l!==null;){if(t!==0){var r=l.pendingLanes;if(r===0)var o=0;else{var d=l.suspendedLanes,v=l.pingedLanes;o=(1<<31-Ae(42|t)+1)-1,o&=r&~(d&~v),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(a=!0,hm(l,o))}else o=yt,o=ts(l,l===zt?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||Hl(l,o)||(a=!0,hm(l,o));l=l.next}while(a);Lo=!1}}function d0(){cm()}function cm(){ks=Do=!1;var t=0;Fn!==0&&R0()&&(t=Fn);for(var e=ce(),a=null,l=Fs;l!==null;){var r=l.next,o=fm(l,e);o===0?(l.next=null,a===null?Fs=r:a.next=r,r===null&&(bl=a)):(a=l,(t!==0||(o&3)!==0)&&(ks=!0)),l=r}kt!==0&&kt!==5||Si(t),Fn!==0&&(Fn=0)}function fm(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,r=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var d=31-Ae(o),v=1<<d,A=r[d];A===-1?((v&a)===0||(v&l)!==0)&&(r[d]=qg(v,e)):A<=e&&(t.expiredLanes|=v),o&=~v}if(e=zt,a=yt,a=ts(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(At===2||At===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&jl(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Hl(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&jl(l),Ju(a)){case 2:case 8:a=Fe;break;case 32:a=Ga;break;case 268435456:a=ef;break;default:a=Ga}return l=dm.bind(null,t),a=Ve(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&jl(l),t.callbackPriority=2,t.callbackNode=null,2}function dm(t,e){if(kt!==0&&kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Ps()&&t.callbackNode!==a)return null;var l=yt;return l=ts(t,t===zt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Jh(t,l,e),fm(t,ce()),t.callbackNode!=null&&t.callbackNode===a?dm.bind(null,t):null)}function hm(t,e){if(Ps())return null;Jh(t,e,!0)}function h0(){A0(function(){(Rt&6)!==0?Ve(ae,d0):cm()})}function Uo(){if(Fn===0){var t=il;t===0&&(t=Ii,Ii<<=1,(Ii&261888)===0&&(Ii=256)),Fn=t}return Fn}function mm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ls(""+t)}function ym(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function m0(t,e,a,l,r){if(e==="submit"&&a&&a.stateNode===r){var o=mm((r[ye]||null).action),d=l.submitter;d&&(e=(e=d[ye]||null)?mm(e.formAction):d.getAttribute("formAction"),e!==null&&(o=e,d=null));var v=new rs("action","action",null,l,r);t.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Fn!==0){var A=d?ym(r,d):new FormData(r);$r(a,{pending:!0,data:A,method:r.method,action:o},null,A)}}else typeof o=="function"&&(v.preventDefault(),A=d?ym(r,d):new FormData(r),$r(a,{pending:!0,data:A,method:r.method,action:o},o,A))},currentTarget:r}]})}}for(var No=0;No<pr.length;No++){var jo=pr[No],y0=jo.toLowerCase(),p0=jo[0].toUpperCase()+jo.slice(1);Xe(y0,"on"+p0)}Xe(Zf,"onAnimationEnd"),Xe(Jf,"onAnimationIteration"),Xe(Pf,"onAnimationStart"),Xe("dblclick","onDoubleClick"),Xe("focusin","onFocus"),Xe("focusout","onBlur"),Xe(Dv,"onTransitionRun"),Xe(Lv,"onTransitionStart"),Xe(Uv,"onTransitionCancel"),Xe(Ff,"onTransitionEnd"),Ka("onMouseEnter",["mouseout","mouseover"]),Ka("onMouseLeave",["mouseout","mouseover"]),Ka("onPointerEnter",["pointerout","pointerover"]),Ka("onPointerLeave",["pointerout","pointerover"]),da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),da("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),da("onBeforeInput",["compositionend","keypress","textInput","paste"]),da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bi="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(" "),g0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bi));function pm(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],r=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var d=l.length-1;0<=d;d--){var v=l[d],A=v.instance,L=v.currentTarget;if(v=v.listener,A!==o&&r.isPropagationStopped())break t;o=v,r.currentTarget=L;try{o(r)}catch(H){fs(H)}r.currentTarget=null,o=A}else for(d=0;d<l.length;d++){if(v=l[d],A=v.instance,L=v.currentTarget,v=v.listener,A!==o&&r.isPropagationStopped())break t;o=v,r.currentTarget=L;try{o(r)}catch(H){fs(H)}r.currentTarget=null,o=A}}}}function mt(t,e){var a=e[Pu];a===void 0&&(a=e[Pu]=new Set);var l=t+"__bubble";a.has(l)||(gm(e,t,2,!1),a.add(l))}function Bo(t,e,a){var l=0;e&&(l|=4),gm(a,t,l,e)}var Is="_reactListening"+Math.random().toString(36).slice(2);function Ho(t){if(!t[Is]){t[Is]=!0,cf.forEach(function(a){a!=="selectionchange"&&(g0.has(a)||Bo(a,!1,t),Bo(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Is]||(e[Is]=!0,Bo("selectionchange",!1,e))}}function gm(t,e,a,l){switch(Zm(e)){case 2:var r=K0;break;case 8:r=Z0;break;default:r=$o}a=r.bind(null,e,a,t),r=void 0,!ar||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(r=!0),l?r!==void 0?t.addEventListener(e,a,{capture:!0,passive:r}):t.addEventListener(e,a,!0):r!==void 0?t.addEventListener(e,a,{passive:r}):t.addEventListener(e,a,!1)}function qo(t,e,a,l,r){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var v=l.stateNode.containerInfo;if(v===r)break;if(d===4)for(d=l.return;d!==null;){var A=d.tag;if((A===3||A===4)&&d.stateNode.containerInfo===r)return;d=d.return}for(;v!==null;){if(d=Qa(v),d===null)return;if(A=d.tag,A===5||A===6||A===26||A===27){l=o=d;continue t}v=v.parentNode}}l=l.return}Ef(function(){var L=o,H=er(a),V=[];t:{var U=kf.get(t);if(U!==void 0){var j=rs,$=t;switch(t){case"keypress":if(ss(a)===0)break t;case"keydown":case"keyup":j=cv;break;case"focusin":$="focus",j=ur;break;case"focusout":$="blur",j=ur;break;case"beforeblur":case"afterblur":j=ur;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Af;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Wg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=hv;break;case Zf:case Jf:case Pf:j=ev;break;case Ff:j=yv;break;case"scroll":case"scrollend":j=kg;break;case"wheel":j=gv;break;case"copy":case"cut":case"paste":j=av;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Mf;break;case"toggle":case"beforetoggle":j=Sv}var ut=(e&4)!==0,Ct=!ut&&(t==="scroll"||t==="scrollend"),w=ut?U!==null?U+"Capture":null:U;ut=[];for(var M=L,D;M!==null;){var G=M;if(D=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||D===null||w===null||(G=Ql(M,w),G!=null&&ut.push(_i(M,G,D))),Ct)break;M=M.return}0<ut.length&&(U=new j(U,$,null,a,H),V.push({event:U,listeners:ut}))}}if((e&7)===0){t:{if(U=t==="mouseover"||t==="pointerover",j=t==="mouseout"||t==="pointerout",U&&a!==tr&&($=a.relatedTarget||a.fromElement)&&(Qa($)||$[Ya]))break t;if((j||U)&&(U=H.window===H?H:(U=H.ownerDocument)?U.defaultView||U.parentWindow:window,j?($=a.relatedTarget||a.toElement,j=L,$=$?Qa($):null,$!==null&&(Ct=f($),ut=$.tag,$!==Ct||ut!==5&&ut!==27&&ut!==6)&&($=null)):(j=null,$=L),j!==$)){if(ut=Af,G="onMouseLeave",w="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(ut=Mf,G="onPointerLeave",w="onPointerEnter",M="pointer"),Ct=j==null?U:Yl(j),D=$==null?U:Yl($),U=new ut(G,M+"leave",j,a,H),U.target=Ct,U.relatedTarget=D,G=null,Qa(H)===L&&(ut=new ut(w,M+"enter",$,a,H),ut.target=D,ut.relatedTarget=Ct,G=ut),Ct=G,j&&$)e:{for(ut=v0,w=j,M=$,D=0,G=w;G;G=ut(G))D++;G=0;for(var at=M;at;at=ut(at))G++;for(;0<D-G;)w=ut(w),D--;for(;0<G-D;)M=ut(M),G--;for(;D--;){if(w===M||M!==null&&w===M.alternate){ut=w;break e}w=ut(w),M=ut(M)}ut=null}else ut=null;j!==null&&vm(V,U,j,ut,!1),$!==null&&Ct!==null&&vm(V,Ct,$,ut,!0)}}t:{if(U=L?Yl(L):window,j=U.nodeName&&U.nodeName.toLowerCase(),j==="select"||j==="input"&&U.type==="file")var St=Nf;else if(Lf(U))if(jf)St=Cv;else{St=Mv;var tt=xv}else j=U.nodeName,!j||j.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?L&&$u(L.elementType)&&(St=Nf):St=Ov;if(St&&(St=St(t,L))){Uf(V,St,a,H);break t}tt&&tt(t,U,L),t==="focusout"&&L&&U.type==="number"&&L.memoizedProps.value!=null&&Wu(U,"number",U.value)}switch(tt=L?Yl(L):window,t){case"focusin":(Lf(tt)||tt.contentEditable==="true")&&(Ia=tt,hr=L,kl=null);break;case"focusout":kl=hr=Ia=null;break;case"mousedown":mr=!0;break;case"contextmenu":case"mouseup":case"dragend":mr=!1,Xf(V,a,H);break;case"selectionchange":if(zv)break;case"keydown":case"keyup":Xf(V,a,H)}var ft;if(or)t:{switch(t){case"compositionstart":var pt="onCompositionStart";break t;case"compositionend":pt="onCompositionEnd";break t;case"compositionupdate":pt="onCompositionUpdate";break t}pt=void 0}else ka?zf(t,a)&&(pt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(pt="onCompositionStart");pt&&(Of&&a.locale!=="ko"&&(ka||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&ka&&(ft=Rf()):(Ln=H,lr="value"in Ln?Ln.value:Ln.textContent,ka=!0)),tt=Ws(L,pt),0<tt.length&&(pt=new xf(pt,t,null,a,H),V.push({event:pt,listeners:tt}),ft?pt.data=ft:(ft=Df(a),ft!==null&&(pt.data=ft)))),(ft=_v?Ev(t,a):Rv(t,a))&&(pt=Ws(L,"onBeforeInput"),0<pt.length&&(tt=new xf("onBeforeInput","beforeinput",null,a,H),V.push({event:tt,listeners:pt}),tt.data=ft)),m0(V,t,L,a,H)}pm(V,e)})}function _i(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Ws(t,e){for(var a=e+"Capture",l=[];t!==null;){var r=t,o=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||o===null||(r=Ql(t,a),r!=null&&l.unshift(_i(t,r,o)),r=Ql(t,e),r!=null&&l.push(_i(t,r,o))),t.tag===3)return l;t=t.return}return[]}function v0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function vm(t,e,a,l,r){for(var o=e._reactName,d=[];a!==null&&a!==l;){var v=a,A=v.alternate,L=v.stateNode;if(v=v.tag,A!==null&&A===l)break;v!==5&&v!==26&&v!==27||L===null||(A=L,r?(L=Ql(a,o),L!=null&&d.unshift(_i(a,L,A))):r||(L=Ql(a,o),L!=null&&d.push(_i(a,L,A)))),a=a.return}d.length!==0&&t.push({event:e,listeners:d})}var S0=/\r\n?/g,b0=/\u0000|\uFFFD/g;function Sm(t){return(typeof t=="string"?t:""+t).replace(S0,`
9`).replace(b0,"")}function bm(t,e){return e=Sm(e),Sm(t)===e}function Ot(t,e,a,l,r,o){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Ja(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Ja(t,""+l);break;case"className":ns(t,"class",l);break;case"tabIndex":ns(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ns(t,a,l);break;case"style":bf(t,l,o);break;case"data":if(e!=="object"){ns(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=ls(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(a==="formAction"?(e!=="input"&&Ot(t,e,"name",r.name,r,null),Ot(t,e,"formEncType",r.formEncType,r,null),Ot(t,e,"formMethod",r.formMethod,r,null),Ot(t,e,"formTarget",r.formTarget,r,null)):(Ot(t,e,"encType",r.encType,r,null),Ot(t,e,"method",r.method,r,null),Ot(t,e,"target",r.target,r,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=ls(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=un);break;case"onScroll":l!=null&&mt("scroll",t);break;case"onScrollEnd":l!=null&&mt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(a=l.__html,a!=null){if(r.children!=null)throw Error(u(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=ls(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""+l):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":mt("beforetoggle",t),mt("toggle",t),es(t,"popover",l);break;case"xlinkActuate":sn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":sn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":sn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":sn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":sn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":sn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":sn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":sn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":sn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":es(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Pg.get(a)||a,es(t,a,l))}}function Go(t,e,a,l,r,o){switch(a){case"style":bf(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(a=l.__html,a!=null){if(r.children!=null)throw Error(u(60));t.innerHTML=a}}break;case"children":typeof l=="string"?Ja(t,l):(typeof l=="number"||typeof l=="bigint")&&Ja(t,""+l);break;case"onScroll":l!=null&&mt("scroll",t);break;case"onScrollEnd":l!=null&&mt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=un);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ff.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(r=a.endsWith("Capture"),e=a.slice(2,r?a.length-7:void 0),o=t[ye]||null,o=o!=null?o[a]:null,typeof o=="function"&&t.removeEventListener(e,o,r),typeof l=="function")){typeof o!="function"&&o!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,l,r);break t}a in t?t[a]=l:l===!0?t.setAttribute(a,""):es(t,a,l)}}}function re(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":mt("error",t),mt("load",t);var l=!1,r=!1,o;for(o in a)if(a.hasOwnProperty(o)){var d=a[o];if(d!=null)switch(o){case"src":l=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,e));default:Ot(t,e,o,d,a,null)}}r&&Ot(t,e,"srcSet",a.srcSet,a,null),l&&Ot(t,e,"src",a.src,a,null);return;case"input":mt("invalid",t);var v=o=d=r=null,A=null,L=null;for(l in a)if(a.hasOwnProperty(l)){var H=a[l];if(H!=null)switch(l){case"name":r=H;break;case"type":d=H;break;case"checked":A=H;break;case"defaultChecked":L=H;break;case"value":o=H;break;case"defaultValue":v=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(u(137,e));break;default:Ot(t,e,l,H,a,null)}}pf(t,o,v,A,L,d,r,!1);return;case"select":mt("invalid",t),l=d=o=null;for(r in a)if(a.hasOwnProperty(r)&&(v=a[r],v!=null))switch(r){case"value":o=v;break;case"defaultValue":d=v;break;case"multiple":l=v;default:Ot(t,e,r,v,a,null)}e=o,a=d,t.multiple=!!l,e!=null?Za(t,!!l,e,!1):a!=null&&Za(t,!!l,a,!0);return;case"textarea":mt("invalid",t),o=r=l=null;for(d in a)if(a.hasOwnProperty(d)&&(v=a[d],v!=null))switch(d){case"value":l=v;break;case"defaultValue":r=v;break;case"children":o=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(u(91));break;default:Ot(t,e,d,v,a,null)}vf(t,l,r,o);return;case"option":for(A in a)a.hasOwnProperty(A)&&(l=a[A],l!=null)&&(A==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":Ot(t,e,A,l,a,null));return;case"dialog":mt("beforetoggle",t),mt("toggle",t),mt("cancel",t),mt("close",t);break;case"iframe":case"object":mt("load",t);break;case"video":case"audio":for(l=0;l<bi.length;l++)mt(bi[l],t);break;case"image":mt("error",t),mt("load",t);break;case"details":mt("toggle",t);break;case"embed":case"source":case"link":mt("error",t),mt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in a)if(a.hasOwnProperty(L)&&(l=a[L],l!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,e));default:Ot(t,e,L,l,a,null)}return;default:if($u(e)){for(H in a)a.hasOwnProperty(H)&&(l=a[H],l!==void 0&&Go(t,e,H,l,a,void 0));return}}for(v in a)a.hasOwnProperty(v)&&(l=a[v],l!=null&&Ot(t,e,v,l,a,null))}function _0(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,o=null,d=null,v=null,A=null,L=null,H=null;for(j in a){var V=a[j];if(a.hasOwnProperty(j)&&V!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":A=V;default:l.hasOwnProperty(j)||Ot(t,e,j,null,l,V)}}for(var U in l){var j=l[U];if(V=a[U],l.hasOwnProperty(U)&&(j!=null||V!=null))switch(U){case"type":o=j;break;case"name":r=j;break;case"checked":L=j;break;case"defaultChecked":H=j;break;case"value":d=j;break;case"defaultValue":v=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(u(137,e));break;default:j!==V&&Ot(t,e,U,j,l,V)}}Iu(t,d,v,A,L,H,o,r);return;case"select":j=d=v=U=null;for(o in a)if(A=a[o],a.hasOwnProperty(o)&&A!=null)switch(o){case"value":break;case"multiple":j=A;default:l.hasOwnProperty(o)||Ot(t,e,o,null,l,A)}for(r in l)if(o=l[r],A=a[r],l.hasOwnProperty(r)&&(o!=null||A!=null))switch(r){case"value":U=o;break;case"defaultValue":v=o;break;case"multiple":d=o;default:o!==A&&Ot(t,e,r,o,l,A)}e=v,a=d,l=j,U!=null?Za(t,!!a,U,!1):!!l!=!!a&&(e!=null?Za(t,!!a,e,!0):Za(t,!!a,a?[]:"",!1));return;case"textarea":j=U=null;for(v in a)if(r=a[v],a.hasOwnProperty(v)&&r!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Ot(t,e,v,null,l,r)}for(d in l)if(r=l[d],o=a[d],l.hasOwnProperty(d)&&(r!=null||o!=null))switch(d){case"value":U=r;break;case"defaultValue":j=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(u(91));break;default:r!==o&&Ot(t,e,d,r,l,o)}gf(t,U,j);return;case"option":for(var $ in a)U=a[$],a.hasOwnProperty($)&&U!=null&&!l.hasOwnProperty($)&&($==="selected"?t.selected=!1:Ot(t,e,$,null,l,U));for(A in l)U=l[A],j=a[A],l.hasOwnProperty(A)&&U!==j&&(U!=null||j!=null)&&(A==="selected"?t.selected=U&&typeof U!="function"&&typeof U!="symbol":Ot(t,e,A,U,l,j));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 ut in a)U=a[ut],a.hasOwnProperty(ut)&&U!=null&&!l.hasOwnProperty(ut)&&Ot(t,e,ut,null,l,U);for(L in l)if(U=l[L],j=a[L],l.hasOwnProperty(L)&&U!==j&&(U!=null||j!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(u(137,e));break;default:Ot(t,e,L,U,l,j)}return;default:if($u(e)){for(var Ct in a)U=a[Ct],a.hasOwnProperty(Ct)&&U!==void 0&&!l.hasOwnProperty(Ct)&&Go(t,e,Ct,void 0,l,U);for(H in l)U=l[H],j=a[H],!l.hasOwnProperty(H)||U===j||U===void 0&&j===void 0||Go(t,e,H,U,l,j);return}}for(var w in a)U=a[w],a.hasOwnProperty(w)&&U!=null&&!l.hasOwnProperty(w)&&Ot(t,e,w,null,l,U);for(V in l)U=l[V],j=a[V],!l.hasOwnProperty(V)||U===j||U==null&&j==null||Ot(t,e,V,U,l,j)}function _m(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E0(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var r=a[l],o=r.transferSize,d=r.initiatorType,v=r.duration;if(o&&v&&_m(d)){for(d=0,v=r.responseEnd,l+=1;l<a.length;l++){var A=a[l],L=A.startTime;if(L>v)break;var H=A.transferSize,V=A.initiatorType;H&&_m(V)&&(A=A.responseEnd,d+=H*(A<v?1:(v-L)/(A-L)))}if(--l,e+=8*(o+d)/(r.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Yo=null,Qo=null;function $s(t){return t.nodeType===9?t:t.ownerDocument}function Em(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Rm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Vo(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Xo=null;function R0(){var t=window.event;return t&&t.type==="popstate"?t===Xo?!1:(Xo=t,!0):(Xo=null,!1)}var Tm=typeof setTimeout=="function"?setTimeout:void 0,T0=typeof clearTimeout=="function"?clearTimeout:void 0,Am=typeof Promise=="function"?Promise:void 0,A0=typeof queueMicrotask=="function"?queueMicrotask:typeof Am<"u"?function(t){return Am.resolve(null).then(t).cat
vendor: 4,641 bytes, line 9
9ch(x0)}:Tm;function x0(t){setTimeout(function(){throw t})}function kn(t){return t==="head"}function xm(t,e){var a=e,l=0;do{var r=a.nextSibling;if(t.removeChild(a),r&&r.nodeType===8)if(a=r.data,a==="/$"||a==="/&"){if(l===0){t.removeChild(r),Tl(e);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Ei(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Ei(a);for(var o=a.firstChild;o;){var d=o.nextSibling,v=o.nodeName;o[Gl]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&o.rel.toLowerCase()==="stylesheet"||a.removeChild(o),o=d}}else a==="body"&&Ei(t.ownerDocument.body);a=r}while(a);Tl(e)}function Mm(t,e){var a=t;t=0;do{var l=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=l}while(a)}function Ko(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Ko(a),Fu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function M0(t,e,a,l){for(;t.nodeType===1;){var r=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Gl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==r.rel||t.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||t.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||t.getAttribute("title")!==(r.title==null?null:r.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(r.src==null?null:r.src)||t.getAttribute("type")!==(r.type==null?null:r.type)||t.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=r.name==null?null:""+r.name;if(r.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Ye(t.nextSibling),t===null)break}return null}function O0(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Ye(t.nextSibling),t===null))return null;return t}function Om(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ye(t.nextSibling),t===null))return null;return t}function Zo(t){return t.data==="$?"||t.data==="$~"}function Jo(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function C0(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Ye(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Po=null;function Cm(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Ye(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function wm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(e===0)return t;e--}else a!=="/$"&&a!=="/&"||e++}t=t.previousSibling}return null}function zm(t,e,a){switch(e=$s(a),t){case"html":if(t=e.documentElement,!t)throw Error(u(452));return t;case"head":if(t=e.head,!t)throw Error(u(453));return t;case"body":if(t=e.body,!t)throw Error(u(454));return t;default:throw Error(u(451))}}function Ei(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Fu(t)}var Qe=new Map,Dm=new Set;function tu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Rn=P.d;P.d={f:w0,r:z0,D:D0,C:L0,L:U0,m:N0,X:B0,S:j0,M:H0};function w0(){var t=Rn.f(),e=Ks();return t||e}function z0(t){var e=Va(t);e!==null&&e.tag===5&&e.type==="form"?Fd(e):Rn.r(t)}var _l=typeof document>"u"?null:document;function Lm(t,e,a){var l=_l;if(l&&typeof e=="string"&&e){var r=Ue(e);
vendor: 7,548 bytes, line 9
9r='link[rel="'+t+'"][href="'+r+'"]',typeof a=="string"&&(r+='[crossorigin="'+a+'"]'),Dm.has(r)||(Dm.add(r),t={rel:t,crossOrigin:a,href:e},l.querySelector(r)===null&&(e=l.createElement("link"),re(e,"link",t),te(e),l.head.appendChild(e)))}}function D0(t){Rn.D(t),Lm("dns-prefetch",t,null)}function L0(t,e){Rn.C(t,e),Lm("preconnect",t,e)}function U0(t,e,a){Rn.L(t,e,a);var l=_l;if(l&&t&&e){var r='link[rel="preload"][as="'+Ue(e)+'"]';e==="image"&&a&&a.imageSrcSet?(r+='[imagesrcset="'+Ue(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(r+='[imagesizes="'+Ue(a.imageSizes)+'"]')):r+='[href="'+Ue(t)+'"]';var o=r;switch(e){case"style":o=El(t);break;case"script":o=Rl(t)}Qe.has(o)||(t=p({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Qe.set(o,t),l.querySelector(r)!==null||e==="style"&&l.querySelector(Ri(o))||e==="script"&&l.querySelector(Ti(o))||(e=l.createElement("link"),re(e,"link",t),te(e),l.head.appendChild(e)))}}function N0(t,e){Rn.m(t,e);var a=_l;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+Ue(l)+'"][href="'+Ue(t)+'"]',o=r;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Rl(t)}if(!Qe.has(o)&&(t=p({rel:"modulepreload",href:t},e),Qe.set(o,t),a.querySelector(r)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ti(o)))return}l=a.createElement("link"),re(l,"link",t),te(l),a.head.appendChild(l)}}}function j0(t,e,a){Rn.S(t,e,a);var l=_l;if(l&&t){var r=Xa(l).hoistableStyles,o=El(t);e=e||"default";var d=r.get(o);if(!d){var v={loading:0,preload:null};if(d=l.querySelector(Ri(o)))v.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Qe.get(o))&&Fo(t,a);var A=d=l.createElement("link");te(A),re(A,"link",t),A._p=new Promise(function(L,H){A.onload=L,A.onerror=H}),A.addEventListener("load",function(){v.loading|=1}),A.addEventListener("error",function(){v.loading|=2}),v.loading|=4,eu(d,e,l)}d={type:"stylesheet",instance:d,count:1,state:v},r.set(o,d)}}}function B0(t,e){Rn.X(t,e);var a=_l;if(a&&t){var l=Xa(a).hoistableScripts,r=Rl(t),o=l.get(r);o||(o=a.querySelector(Ti(r)),o||(t=p({src:t,async:!0},e),(e=Qe.get(r))&&ko(t,e),o=a.createElement("script"),te(o),re(o,"link",t),a.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(r,o))}}function H0(t,e){Rn.M(t,e);var a=_l;if(a&&t){var l=Xa(a).hoistableScripts,r=Rl(t),o=l.get(r);o||(o=a.querySelector(Ti(r)),o||(t=p({src:t,async:!0,type:"module"},e),(e=Qe.get(r))&&ko(t,e),o=a.createElement("script"),te(o),re(o,"link",t),a.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(r,o))}}function Um(t,e,a,l){var r=(r=dt.current)?tu(r):null;if(!r)throw Error(u(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=El(a.href),a=Xa(r).hoistableStyles,l=a.get(e),l||(l={type:"style",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=El(a.href);var o=Xa(r).hoistableStyles,d=o.get(t);if(d||(r=r.ownerDocument||r,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,d),(o=r.querySelector(Ri(t)))&&!o._p&&(d.instance=o,d.state.loading=5),Qe.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Qe.set(t,a),o||q0(r,t,a,d.state))),e&&l===null)throw Error(u(528,""));return d}if(e&&l!==null)throw Error(u(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Rl(a),a=Xa(r).hoistableScripts,l=a.get(e),l||(l={type:"script",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,t))}}function El(t){return'href="'+Ue(t)+'"'}function Ri(t){return'link[rel="stylesheet"]['+t+"]"}function Nm(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function q0(t,e,a,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),re(e,"link",a),te(e),t.head.appendChild(e))}function Rl(t){return'[src="'+Ue(t)+'"]'}function Ti(t){return"script[async]"+t}function jm(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ue(a.href)+'"]');if(l)return e.instance=l,te(l),l;var r=p({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),te(l),re(l,"style",r),eu(l,a.precedence,t),e.instance=l;case"stylesheet":r=El(a.href);var o=t.querySelector(Ri(r));if(o)return e.state.loading|=4,e.instance=o,te(o),o;l=Nm(a),(r=Qe.get(r))&&Fo(l,r),o=(t.ownerDocument||t).createElement("link"),te(o);var d=o;return d._p=new Promise(function(v,A){d.onload=v,d.onerror=A}),re(o,"link",l),e.state.loading|=4,eu(o,a.precedence,t),e.instance=o;case"script":return o=Rl(a.src),(r=t.querySelector(Ti(o)))?(e.instance=r,te(r),r):(l=a,(r=Qe.get(o))&&(l=p({},a),ko(l,r)),t=t.ownerDocument||t,r=t.createElement("script"),te(r),re(r,"link",l),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(u(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,eu(l,a.precedence,t));return e.instance}function eu(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=l.length?l[l.length-1]:null,o=r,d=0;d<l.length;d++){var v=l[d];if(v.dataset.precedence===e)o=v;else if(o!==r)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Fo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ko(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var nu=null;function Bm(t,e,a){if(nu===null){var l=new Map,r=nu=new Map;r.set(a,l)}else r=nu,l=r.get(a),l||(l=new Map,r.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),r=0;r<a.length;r++){var o=a[r];if(!(o[Gl]||o[le]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var d=o.getAttribute(e)||"";d=t+d;var v=l.get(d);v?v.push(o):l.set(d,[o])}}return l}function Hm(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function G0(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function qm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Y0(t,e,a,l){if(a.type==="stylesheet"&&(typeof l.media!="str
9ing"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var r=El(l.href),o=e.querySelector(Ri(r));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=au.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=o,te(o);return}o=e.ownerDocument||e,l=Nm(l),(r=Qe.get(r))&&Fo(l,r),o=o.createElement("link"),te(o);var d=o;d._p=new Promise(function(v,A){d.onload=v,d.onerror=A}),re(o,"link",l),a.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=au.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Io=0;function Q0(t,e){return t.stylesheets&&t.count===0&&iu(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&iu(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&Io===0&&(Io=62500*E0());var r=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&iu(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>Io?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(r)}}:null}function au(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)iu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var lu=null;function iu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,lu=new Map,e.forEach(V0,t),lu=null,au.call(t))}function V0(t,e){if(!(e.state.loading&4)){var a=lu.get(t);if(a)var l=a.get(null);else{a=new Map,lu.set(t,a);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<r.length;o++){var d=r[o];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(a.set(d.dataset.precedence,d),l=d)}l&&a.set(null,l)}r=e.instance,d=r.getAttribute("data-precedence"),o=a.get(d)||l,o===l&&a.set(null,r),a.set(d,r),this.count++,l=au.bind(this),r.addEventListener("load",l),r.addEventListener("error",l),o?o.parentNode.insertBefore(r,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(r,t.firstChild)),e.state.loading|=4}}var Ai={$$typeof:Y,Provider:null,Consumer:null,_currentValue:lt,_currentValue2:lt,_threadCount:0};function X0(t,e,a,l,r,o,d,v,A){this.tag=1,this.containerInfo=t,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=Ku(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ku(0),this.hiddenUpdates=Ku(null),this.identifierPrefix=l,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Gm(t,e,a,l,r,o,d,v,A,L,H,V){return t=new X0(t,e,a,d,A,L,H,V,v),e=1,o===!0&&(e|=24),o=Me(3,null,null,e),t.current=o,o.stateNode=t,e=Cr(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:a,cache:e},Lr(o),t}function Ym(t){return t?(t=tl,t):tl}function Qm(t,e,a,l,r,o){r=Ym(r),l.context===null?l.context=r:l.pendingContext=r,l=qn(e),l.payload={element:a},o=o===void 0?null:o,o!==null&&(l.callback=o),a=Gn(t,l,e),a!==null&&(_e(a,t,e),ai(a,t,e))}function Vm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Wo(t,e){Vm(t,e),(t=t.alternate)&&Vm(t,e)}function Xm(t){if(t.tag===13||t.tag===31){var e=pa(t,67108864);e!==null&&_e(e,t,67108864),Wo(t,67108864)}}function Km(t){if(t.tag===13||t.tag===31){var e=De();e=Zu(e);var a=pa(t,e);a!==null&&_e(a,t,e),Wo(t,e)}}var su=!0;function K0(t,e,a,l){var r=B.T;B.T=null;var o=P.p;try{P.p=2,$o(t,e,a,l)}finally{P.p=o,B.T=r}}function Z0(t,e,a,l){var r=B.T;B.T=null;var o=P.p;try{P.p=8,$o(t,e,a,l)}finally{P.p=o,B.T=r}}function $o(t,e,a,l){if(su){var r=tc(l);if(r===null)qo(t,e,l,uu,a),Jm(t,l);else if(P0(r,t,e,a,l))l.stopPropagation();else if(Jm(t,l),e&4&&-1<J0.indexOf(t)){for(;r!==null;){var o=Va(r);
vendor: 7,163 bytes, line 9
9if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var d=fa(o.pendingLanes);if(d!==0){var v=o;for(v.pendingLanes|=2,v.entangledLanes|=2;d;){var A=1<<31-Ae(d);v.entanglements[1]|=A,d&=~A}$e(o),(Rt&6)===0&&(Vs=ce()+500,Si(0))}}break;case 31:case 13:v=pa(o,2),v!==null&&_e(v,o,2),Ks(),Wo(o,2)}if(o=tc(l),o===null&&qo(t,e,l,uu,a),o===r)break;r=o}r!==null&&l.stopPropagation()}else qo(t,e,l,null,a)}}function tc(t){return t=er(t),ec(t)}var uu=null;function ec(t){if(uu=null,t=Qa(t),t!==null){var e=f(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=h(e),t!==null)return t;t=null}else if(a===31){if(t=m(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return uu=t,null}function Zm(t){switch(t){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(Lt()){case ae:return 2;case Fe:return 8;case Ga:case Lg:return 32;case ef:return 268435456;default:return 32}default:return 32}}var nc=!1,In=null,Wn=null,$n=null,xi=new Map,Mi=new Map,ta=[],J0="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 Jm(t,e){switch(t){case"focusin":case"focusout":In=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":xi.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mi.delete(e.pointerId)}}function Oi(t,e,a,l,r,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:o,targetContainers:[r]},e!==null&&(e=Va(e),e!==null&&Xm(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,r!==null&&e.indexOf(r)===-1&&e.push(r),t)}function P0(t,e,a,l,r){switch(e){case"focusin":return In=Oi(In,t,e,a,l,r),!0;case"dragenter":return Wn=Oi(Wn,t,e,a,l,r),!0;case"mouseover":return $n=Oi($n,t,e,a,l,r),!0;case"pointerover":var o=r.pointerId;return xi.set(o,Oi(xi.get(o)||null,t,e,a,l,r)),!0;case"gotpointercapture":return o=r.pointerId,Mi.set(o,Oi(Mi.get(o)||null,t,e,a,l,r)),!0}return!1}function Pm(t){var e=Qa(t.target);if(e!==null){var a=f(e);if(a!==null){if(e=a.tag,e===13){if(e=h(a),e!==null){t.blockedOn=e,rf(t.priority,function(){Km(a)});return}}else if(e===31){if(e=m(a),e!==null){t.blockedOn=e,rf(t.priority,function(){Km(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ru(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=tc(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);tr=l,a.target.dispatchEvent(l),tr=null}else return e=Va(a),e!==null&&Xm(e),t.blockedOn=a,!1;e.shift()}return!0}function Fm(t,e,a){ru(t)&&a.delete(e)}function F0(){nc=!1,In!==null&&ru(In)&&(In=null),Wn!==null&&ru(Wn)&&(Wn=null),$n!==null&&ru($n)&&($n=null),xi.forEach(Fm),Mi.forEach(Fm)}function ou(t,e){t.blockedOn===e&&(t.blockedOn=null,nc||(nc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,F0)))}var cu=null;function km(t){cu!==t&&(cu=t,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){cu===t&&(cu=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],r=t[e+2];if(typeof l!="function"){if(ec(l||a)===null)continue;break}var o=Va(a);o!==null&&(t.splice(e,3),e-=3,$r(o,{pending:!0,data:r,method:a.method,action:l},l,r))}}))}function Tl(t){function e(A){return ou(A,t)}In!==null&&ou(In,t),Wn!==null&&ou(Wn,t),$n!==null&&ou($n,t),xi.forEach(e),Mi.forEach(e);for(var a=0;a<ta.length;a++){var l=ta[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ta.length&&(a=ta[0],a.blockedOn===null);)Pm(a),a.blockedOn===null&&ta.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var r=a[l],o=a[l+1],d=r[ye]||null;if(typeof o=="function")d||km(a);else if(d){var v=null;if(o&&o.hasAttribute("formAction")){if(r=o,d=o[ye]||null)v=d.formAction;else if(ec(r)!==null)continue}else v=d.action;typeof v=="function"?a[l+1]=v:(a.splice(l,3),l-=3),km(a)}}}function Im(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(d){return r=d})},focusReset:"manual",scroll:"manual"})}function e(){r!==null&&(r(),r=null),l||setTimeout(a,20)}function a(){if(!l&&!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 l=!1,r=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),r!==null&&(r(),r=null)}}}function ac(t){this._internalRoot=t}fu.prototype.render=ac.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(u(409));var a=e.current,l=De();Qm(a,l,t,e,null,null)},fu.prototype.unmount=ac.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Qm(t.current,2,null,t,null,null),Ks(),e[Ya]=null}};function fu(t){this._internalRoot=t}fu.prototype.unstable_scheduleHydration=function(t){if(t){var e=uf();t={blockedOn:null,target:t,priority:e};for(var a=0;a<ta.length&&e!==0&&e<ta[a].priority;a++);ta.splice(a,0,t),a===0&&Pm(t)}};var Wm=i.version;if(Wm!=="19.2.5")throw Error(u(527,Wm,"19.2.5"));P.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(u(188)):(t=Object.keys(t).join(","),Error(u(268,t)));return t=y(e),t=t!==null?S(t):null,t=t===null?null:t.stateNode,t};var k0={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.5"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!du.isDisabled&&du.supportsFiber)try{Bl=du.inject(k0),Te=du}catch{}}return wi.createRoot=function(t,e){if(!c(t))throw Error(u(299));var a=!1,l="",r=ih,o=sh,d=uh;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(r=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=Gm(t,1,!1,null,null,a,l,null,r,o,d,Im),t[Ya]=e.current,Ho(t),new ac(e)},wi.hydrateRoot=function(t,e,a){if(!c(t))throw Error(u(299));var l=!1,r="",o=ih,d=sh,v=uh,A=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(r=a.identifierPrefix),a.onUncaughtError!==void 0&&(o=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(v=a.onRecoverableError),a.formState!==void 0&&(A=a.formState)),e=Gm(t,1,!0,e,a??null,l,r,A,o,d,v,Im),e.context=Ym(null),a=e.current,l=De(),l=Zu(l),r=qn(l),r.callback=null,Gn(a,r,l),a=l,e.current.lanes=a,ql(e,a),$e(e),t[Ya]=e.current,Ho(t),new fu(e)},wi.version="19.2.5",wi}var ry;function sS(){if(ry)return sc.exports;ry=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),sc.exports=iS(),sc.exports}var uS=sS(),rS="__TSS_CONTEXT",xc=Symbol.for("TSS_SERVER_FUNCTION"),oS="application/x-tss-framed",Tn={JSON:0,CHUNK:1,END:2,ERROR:3},cS=/;\s*v=(\d+)/;function fS(n){const i=n.match(cS);return i?parseInt(i[1],10):void 0}function dS(n){const i=fS(n);if(i!==void 0&&i!==1)throw new Error(`Incompatible framed protocol version: server=${i}, client=1. Please ensure client and server are using compatible versions.`)}var op=()=>window.__TSS_START_OPTIONS__;const cp=!1;function Hi(n){return n[n.length-1]}function hS(n){return typeof n=="function"}function wa(n,i){return hS(n)?n(i):n}const fp=Object.prototype.hasOwnProperty,oy=Object.prototype.propertyIsEnumerable;function dp(n){for(const i in n)if(fp.call(n,i))return!0;return!1}const mS=()=>Object.create(null),Ca=(n,i)=>za(n,i,mS);function za(n,i,s=()=>({}),u=0){if(n===i)return n;if(u>500)return i;const c=i,f=dy(n)&&dy(c);if(!f&&!(Mu(n)&&Mu(c)))return c;const h=f?n:cy(n);if(!h)return c;const m=f?c:cy(c);if(!m)return c;const g=h.length,y=m.length,S=f?new Array(y):s();let p=0;for(let b=0;b<y;b++){const E=f?b:m[b],x=n[E],z=c[E];if(x===z){S[E]=x,(f?b<g:fp.call(n,E))&&p++;continue}if(x===null||z===null||typeof x!="object"||typeof z!="object"){S[E]=z;continue}const R=za(x,z,s,u+1);S[E]=R,R===x&&p++}return g===y&&p===g?n:S}function cy(n){const i=Object.getOwnPropertyNames(n);for(const c of i)if(!oy.call(n,c))return!1;const s=Object.getOwnPropertySymbols(n);if(s.length===0)return i;const u=i;for(const c of s){if(!oy.call(n,c))return!1;u.push(c)}return u}function Mu(n){if(!fy(n))return!1;const i=n.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!fy(s)||!s.hasOwnProperty("isPrototypeOf"))}function fy(n){return Object.prototype.toString.call(n)==="[object Object]"}function dy(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function he(n,i,s){if(n===i)return!0;if(typeof n!=typeof i)return!1;if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length)return!1;for(let u=0,c=n.length;u<c;u++)if(!he(n[u],i[u],s))return!1;return!0}if(Mu(n)&&Mu(i)){const u=s?.ignoreUndefined??!0;if(s?.partial){for(const h in i)if((!u||i[h]!==void 0)&&!he(n[h],i[h],s))return!1;return!0}let c=0;if(!u)c=Object.keys(n).length;else for(const h in n)n[h]!==void 0&&c++;let f=0;for(const h in i)if((!u||i[h]!==void 0)&&(f++,f>c||!he(n[h],i[h],s)))return!1;return c===f}return!1}function ja(n){let i,s;const u=new Promise((c,f)=>{i=c,s=f});return u.status="pending",u.resolve=c=>{u.status="resolved",u.value=c,i(c),n?.(c)},u.reject=c=>{u.status="rejected",s(c)},u}function yS(n){return typeof n?.message!="string"?!1:n.message.startsWith("Failed to fetch dynamically imported module")||n.message.startsWith("error loading dynamically imported module")||n.message.startsWith("Importing a module script failed")}function qi(n){return!!(n&&typeof n=="object"&&typeof n.then=="function")}function pS(n){return n.replace(/[\x00-\x1f\x7f]/g,"")}function hy(n){let i;try{i=decodeURI(n)}catch{i=n.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return pS(i)}const gS=["http:","https:","mailto:","tel:"];function Ou(n,i){if(!n)return!1;try{const s=new URL(n);return!i.has(s.protocol)}catch{return!1}}const vS={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},SS=/[&><\u2028\u2029]/g;function bS(n){return n.replace(SS,i=>vS[i])}
9function zi(n){if(!n)return{path:n,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(n)&&!n.startsWith("//"))return{path:n,handledProtocolRelativeURL:!1};const i=/%25|%5C/gi;let s=0,u="",c;for(;(c=i.exec(n))!==null;)u+=hy(n.slice(s,c.index))+c[0],s=i.lastIndex;u=u+hy(s?n.slice(s):n);let f=!1;return u.startsWith("//")&&(f=!0,u="/"+u.replace(/^\/+/,"")),{path:u,handledProtocolRelativeURL:f}}function _S(n){return/\s|[^\u0000-\u007F]/.test(n)?n.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):n}function ES(n,i){if(n===i)return!0;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!==i[s])return!1;return!0}function Re(){throw new Error("Invariant failed")}function Gi(n){const i=new Map;let s,u;const c=f=>{f.next&&(f.prev?(f.prev.next=f.next,f.next.prev=f.prev,f.next=void 0,u&&(u.next=f,f.prev=u)):(f.next.prev=void 0,s=f.next,f.next=void 0,u&&(f.prev=u,u.next=f)),u=f)};return{get(f){const h=i.get(f);if(h)return c(h),h.value},set(f,h){if(i.size>=n&&s){const g=s;i.delete(g.key),g.next&&(s=g.next,g.next.prev=void 0),g===u&&(u=void 0)}const m=i.get(f);if(m)m.value=h,c(m);else{const g={key:f,value:h,prev:u};u&&(u.next=g),u=g,s||(s=g),i.set(f,g)}},clear(){i.clear(),s=void 0,u=void 0}}}const la=4,hp=5;function RS(n){const i=n.indexOf("{");if(i===-1)return null;const s=n.indexOf("}",i);return s===-1||i+1>=n.length?null:[i,s]}function mp(n,i,s=new Uint16Array(6)){const u=n.indexOf("/",i),c=u===-1?n.length:u,f=n.substring(i,c);if(!f||!f.includes("$"))return s[0]=0,s[1]=i,s[2]=i,s[3]=c,s[4]=c,s[5]=c,s;if(f==="$"){const m=n.length;return s[0]=2,s[1]=i,s[2]=i,s[3]=m,s[4]=m,s[5]=m,s}if(f.charCodeAt(0)===36)return s[0]=1,s[1]=i,s[2]=i+1,s[3]=c,s[4]=c,s[5]=c,s;const h=RS(f);if(h){const[m,g]=h,y=f.charCodeAt(m+1);if(y===45){if(m+2<f.length&&f.charCodeAt(m+2)===36){const S=m+3,p=g;if(S<p)return s[0]=3,s[1]=i+m,s[2]=i+S,s[3]=i+p,s[4]=i+g+1,s[5]=c,s}}else if(y===36){const S=m+1,p=m+2;return p===g?(s[0]=2,s[1]=i+m,s[2]=i+S,s[3]=i+p,s[4]=i+g+1,s[5]=n.length,s):(s[0]=1,s[1]=i+m,s[2]=i+p,s[3]=i+g,s[4]=i+g+1,s[5]=c,s)}}return s[0]=0,s[1]=i,s[2]=i,s[3]=c,s[4]=c,s[5]=c,s}function ju(n,i,s,u,c,f,h){h?.(s);let m=u;{const g=s.fullPath??s.from,y=g.length,S=s.options?.caseSensitive??n,p=s.options?.params?.parse??s.options?.parseParams;for(;m<y;){const E=mp(g,m,i);let x;const z=m,R=E[5];switch(m=R+1,f++,E[0]){case 0:{const C=g.substring(E[2],E[3]);if(S){const N=c.static?.get(C);if(N)x=N;else{c.static??=new Map;const Y=Da(s.fullPath??s.from);Y.parent=c,Y.depth=f,x=Y,c.static.set(C,Y)}}else{const N=C.toLowerCase(),Y=c.staticInsensitive?.get(N);if(Y)x=Y;else{c.staticInsensitive??=new Map;const X=Da(s.fullPath??s.from);X.parent=c,X.depth=f,x=X,c.staticInsensitive.set(N,X)}}break}case 1:{const C=g.substring(z,E[1]),N=g.substring(E[4],R),Y=S&&!!(C||N),X=C?Y?C:C.toLowerCase():void 0,Z=N?Y?N:N.toLowerCase():void 0,F=!p&&c.dynamic?.find(q=>!q.parse&&q.caseSensitive===Y&&q.prefix===X&&q.suffix===Z);if(F)x=F;else{const q=fc(1,s.fullPath??s.from,Y,X,Z);x=q,q.depth=f,q.parent=c,c.dynamic??=[],c.dynamic.push(q)}break}case 3:{const C=g.substring(z,E[1]),N=g.substring(E[4],R),Y=S&&!!(C||N),X=C?Y?C:C.toLowerCase():void 0,Z=N?Y?N:N.toLowerCase():void 0,F=!p&&c.optional?.find(q=>!q.parse&&q.caseSensitive===Y&&q.prefix===X&&q.suffix===Z);if(F)x=F;else{const q=fc(3,s.fullPath??s.from,Y,X,Z);x=q,q.parent=c,q.depth=f,c.optional??=[],c.optional.push(q)}break}case 2:{const C=g.substring(z,E[1]),N=g.substring(E[4],R),Y=S&&!!(C||N),X=C?Y?C:C.toLowerCase():void 0,Z=N?Y?N:N.toLowerCase():void 0,F=fc(2,s.fullPath??s.from,Y,X,Z);x=F,F.parent=c,F.depth=f,c.wildcard??=[],c.wildcard.push(F)}}c=x}if(p&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const E=Da(s.fullPath??s.from);E.kind=hp,E.parent=c,f++,E.depth=f,c.pathless??=[],c.pathless.push(E),c=E}const b=(s.path||!s.children)&&!s.isRoot;if(b&&g.endsWith("/")){const E=Da(s.fullPath??s.from);E.kind=la,E.parent=c,f++,E.depth=f,c.index=E,c=E}c.parse=p??null,c.priority=s.options?.params?.priority??0,b&&!c.route&&(c.route=s,c.fullPath=s.fullPath??s.from)}if(s.children)for(const g of s.children)ju(n,i,g,m,c,f,h)}
9function cc(n,i){if(n.parse&&!i.parse)return-1;if(!n.parse&&i.parse)return 1;if(n.parse&&i.parse&&(n.priority||i.priority))return i.priority-n.priority;if(n.prefix&&i.prefix&&n.prefix!==i.prefix){if(n.prefix.startsWith(i.prefix))return-1;if(i.prefix.startsWith(n.prefix))return 1}if(n.suffix&&i.suffix&&n.suffix!==i.suffix){if(n.suffix.endsWith(i.suffix))return-1;if(i.suffix.endsWith(n.suffix))return 1}return n.prefix&&!i.prefix?-1:!n.prefix&&i.prefix?1:n.suffix&&!i.suffix?-1:!n.suffix&&i.suffix?1:n.caseSensitive&&!i.caseSensitive?-1:!n.caseSensitive&&i.caseSensitive?1:0}function na(n){if(n.pathless)for(const i of n.pathless)na(i);if(n.static)for(const i of n.static.values())na(i);if(n.staticInsensitive)for(const i of n.staticInsensitive.values())na(i);if(n.dynamic?.length){n.dynamic.sort(cc);for(const i of n.dynamic)na(i)}if(n.optional?.length){n.optional.sort(cc);for(const i of n.optional)na(i)}if(n.wildcard?.length){n.wildcard.sort(cc);for(const i of n.wildcard)na(i)}}function Da(n){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:n,parent:null,parse:null,priority:0}}function fc(n,i,s,u,c){return{kind:n,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:i,parent:null,parse:null,priority:0,caseSensitive:s,prefix:u,suffix:c}}function TS(n,i){const s=Da("/"),u=new Uint16Array(6);for(const c of n)ju(!1,u,c,1,s,0);na(s),i.masksTree=s,i.flatCache=Gi(1e3)}function AS(n,i){n||="/";const s=i.flatCache.get(n);if(s)return s;const u=Gc(n,i.masksTree);return i.flatCache.set(n,u),u}function xS(n,i,s,u,c){n||="/",u||="/";const f=i?`case\0${n}`:n;let h=c.singleCache.get(f);return h||(h=Da("/"),ju(i,new Uint16Array(6),{from:n},1,h,0),c.singleCache.set(f,h)),Gc(u,h,s)}function MS(n,i,s=!1){const u=s?n:`nofuzz\0${n}`,c=i.matchCache.get(u);if(c!==void 0)return c;n||="/";let f;try{f=Gc(n,i.segmentTree,s)}catch(h){if(h instanceof URIError)f=null;else throw h}return f&&(f.branch=pp(f.route)),i.matchCache.set(u,f),f}function OS(n){return n==="/"?n:n.replace(/\/{1,}$/,"")}function CS(n,i=!1,s){const u=Da(n.fullPath),c=new Uint16Array(6),f={},h={};let m=0;return ju(i,c,n,1,u,0,g=>{if(s?.(g,m),g.id in f&&Re(),f[g.id]=g,m!==0&&g.path){const y=OS(g.fullPath);(!h[y]||g.fullPath.endsWith("/"))&&(h[y]=g)}m++}),na(u),{processedTree:{segmentTree:u,singleCache:Gi(1e3),matchCache:Gi(1e3),flatCache:null,masksTree:null},routesById:f,routesByPath:h}}function Gc(n,i,s=!1){const u=n.split("/"),c=zS(n,u,i,s);if(!c)return null;const[f]=yp(n,u,c);return{route:c.node.route,rawParams:f}}function yp(n,i,s){const u=wS(s.node);let c=null;const f=Object.create(null);let h=s.extract?.part??0,m=s.extract?.node??0,g=s.extract?.path??0,y=s.extract?.segment??0;for(;m<u.length;h++,m++,g++,y++){const S=u[m];if(S.kind===la)break;if(S.kind===hp){y--,h--,g--;continue}const p=i[h],b=g;if(p&&(g+=p.length),S.kind===1){c??=s.node.fullPath.split("/");const E=c[y],x=S.prefix?.length??0;if(E.charCodeAt(x)===123){const z=S.suffix?.length??0,R=E.substring(x+2,E.length-z-1),C=p.substring(x,p.length-z);f[R]=decodeURIComponent(C)}else{const z=E.substring(1);f[z]=decodeURIComponent(p)}}else if(S.kind===3){if(s.skipped&1<<m){h--,g=b-1;continue}c??=s.node.fullPath.split("/");const E=c[y],x=S.prefix?.length??0,z=S.suffix?.length??0,R=E.substring(x+3,E.length-z-1),C=S.suffix||S.prefix?p.substring(x,p.length-z):p;C&&(f[R]=decodeURIComponent(C))}else if(S.kind===2){const E=S,x=n.substring(b+(E.prefix?.length??0),n.length-(E.suffix?.length??0)),z=decodeURIComponent(x);f["*"]=z,f._splat=z;break}}return s.rawParams&&Object.assign(f,s.rawParams),[f,{part:h,node:m,path:g,segment:y}]}function pp(n){const i=[n];for(;n.parentRoute;)n=n.parentRoute,i.push(n);return i.reverse(),i}function wS(n){const i=Array(n.depth+1);do i[n.depth]=n,n=n.parent;while(n);return i}function zS(n,i,s,u){if(n==="/"&&s.index)return{node:s.index,skipped:0};const c=!Hi(i),f=c&&n!=="/",h=i.length-(c?1:0),m=[{node:s,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let g=null,y=null;for(;m.length;){const S=m.pop(),{node:p,index:b,skipped:E,depth:x,statics:z,dynamics:R,optionals:C}=S;let{extract:N,rawParams:Y}=S;if(p.kind===2&&p.route&&!mu(y,S))continue;if(p.parse){if(!my(n,i,S))continue;Y=S.rawParams,N=S.extract}u&&p.route&&p.kind!==la&&mu(g,S)&&(g=S);const X=b===h;if(X&&(p.route&&(!f||p.kind===la||p.kind===2)&&mu(y,S)&&(y=S),!p.optional&&!p.wildcard&&!p.index&&!p.pathless))continue;const Z=X?void 0:i[b];let F;if(X&&p.index){const q={node:p.index,index:b,skipped:E,depth:x+1,statics:z,dynamics:R,optionals:C,extract:N,rawParams:Y};let K=!0;if(p.index.parse&&(my(n,i,q)||(K=!1)),K){if(!R&&!C&&!E&&DS(z,h))return q;mu(y,q)&&(y=q)}}if(p.wildcard)for(let q=p.wildcard.length-1;q>=0;q--){const K=p.wildcard[q],{prefix:I,suffix:rt}=K;if(!(I&&(X||!(K.caseSensitive?Z:F??=Z.toLowerCase()).startsWith(I)))){if(rt){if(X)continue;const st=i.slice(b).join("/").slice(-rt.length);if((K.caseSensitive?st:st.toLowerCase())!==rt)continue}m.push({node:K,index:h,skipped:E,depth:x+1,statics:z,dynamics:R,optionals:C,extract:N,rawParams:Y})}}if(p.optional){const q=E|1<<x,K=x+1;for(let I=p.optional.length-1;I>=0;I--){const rt=p.optional[I];m.push({node:rt,index:b,skipped:q,depth:K,statics:z,dynamics:R,optionals:C,extract:N,rawParams:Y})}if(!X)for(let I=p.optional.length-1;I>=0;I--){const rt=p.optional[I],{prefix:st,suffix:it}=rt;if(st||it){const $t=rt.caseSensitive?Z:F??=Z.toLowerCase();if(st&&!$t.startsWith(st)||it&&!$t.endsWith(it))continue}m.push({node:rt,index:b+1,skipped:E,depth:K,statics:z,dynamics:R,optionals:C+hu(h,b),extract:N,rawParams:Y})}}if(!X&&p.dynamic&&Z)for(let q=p.dynamic.length-1;q>=0;q--){const K=p.dynamic[q],{prefix:I,suffix:rt}=K;if(I||rt){const st=K.caseSensitive?Z:F??=Z.toLowerCase();if(I&&!st.startsWith(I)||rt&&!st.endsWith(rt))continue}m.push({node:K,index:b+1,skipped:E,depth:x+1,statics:z,dynamics:R+hu(h,b),optionals:C,extract:N,rawParams:Y})}if(!X&&p.staticInsensitive){const q=p.staticInsensitive.get(F??=Z.toLowerCase());q&&m.push({node:q,index:b+1,skipped:E,depth:x+1,statics:z+hu(h,b),dynamics:R,optionals:C,extract:N,rawParams:Y})}if(!X&&p.static){const q=p.static.get(Z);q&&m.push({node:q,index:b+1,skipped:E,depth:x+1,statics:z+hu(h,b),dynamics:R,optionals:C,extract:N,rawParams:Y})}if(p.pathless){const q=x+1;for(let K=p.pathless.length-1;K>=0;K--){const I=p.pathless[K];m.push({node:I,index:b,skipped:E,depth:q,statics:z,dynamics:R,optionals:C,extract:N,rawParams:Y})}}}if(y)return y;if(u&&g){let S=g.index;for(let b=0;b<g.index;b++)S+=i[b].length;const p=S===n.length?"/":n.slice(S);return g.rawParams??=Object.create(null),g.rawParams["**"]=decodeURIComponent(p),g}return null}function hu(n,i){return 2**(n-i-1)}function DS(n,i){return n===2**(i-1)-1}function my(n,i,s){let u,c;try{[u,c]=yp(n,i,s)}catch{return null}if(s.rawParams=u,s.extract=c,!s.node.parse)return!0;try{if(s.node.parse(u)===!1)return null}catch{}return!0}function mu(n,i){return n?i.statics>n.statics||i.statics===n.statics&&(i.dynamics>n.dynamics||i.dynamics===n.dynamics&&(i.optionals>n.optionals||i.optionals===n.optionals&&((i.node.kind===la)>(n.node.kind===la)||i.node.kind===la==(n.node.kind===la)&&i.depth>
9n.depth))):!0}function Eu(n){return Yc(n.filter(i=>i!==void 0).join("/"))}function Yc(n){return n.replace(/\/{2,}/g,"/")}function gp(n){return n==="/"?n:n.replace(/^\/{1,}/,"")}function An(n){const i=n.length;return i>1&&n[i-1]==="/"?n.replace(/\/{1,}$/,""):n}function vp(n){return An(gp(n))}function Cu(n,i){return n?.endsWith("/")&&n!=="/"&&n!==`${i}/`?n.slice(0,-1):n}function LS(n,i,s){return Cu(n,s)===Cu(i,s)}function US({base:n,to:i,trailingSlash:s="never",cache:u}){const c=i.startsWith("/"),f=!c&&i===".";let h;if(u){h=c?i:f?n:n+"\0"+i;const y=u.get(h);if(y)return y}let m;if(f)m=n.split("/");else if(c)m=i.split("/");else{for(m=n.split("/");m.length>1&&Hi(m)==="";)m.pop();const y=i.split("/");for(let S=0,p=y.length;S<p;S++){const b=y[S];b===""?S?S===p-1&&m.push(b):m=[b]:b===".."?m.pop():b==="."||m.push(b)}}m.length>1&&(Hi(m)===""?s==="never"&&m.pop():s==="always"&&m.push(""));const g=Yc(m.join("/"))||"/";return h&&u&&u.set(h,g),g}function NS(n){const i=new Map(n.map(c=>[encodeURIComponent(c),c])),s=Array.from(i.keys()).map(c=>c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),u=new RegExp(s,"g");return c=>c.replace(u,f=>i.get(f)??f)}function dc(n,i,s){const u=i[n];return typeof u!="string"?u:n==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(u)?u:u.split("/").map(c=>py(c,s)).join("/"):py(u,s)}function yy({path:n,params:i,decoder:s,...u}){let c=!1;const f=Object.create(null);if(!n||n==="/")return{interpolatedPath:"/",usedParams:f,isMissingParams:c};if(!n.includes("$"))return{interpolatedPath:n,usedParams:f,isMissingParams:c};const h=n.length;let m=0,g,y="";for(;m<h;){const S=m;g=mp(n,S,g);const p=g[5];if(m=p+1,S===p)continue;const b=g[0];if(b===0){y+="/"+n.substring(S,p);continue}if(b===2){const E=i._splat;f._splat=E,f["*"]=E;const x=n.substring(S,g[1]),z=n.substring(g[4],p);if(!E){c=!0,(x||z)&&(y+="/"+x+z);continue}const R=dc("_splat",i,s);y+="/"+x+R+z;continue}if(b===1){const E=n.substring(g[2],g[3]);!c&&!(E in i)&&(c=!0),f[E]=i[E];const x=n.substring(S,g[1]),z=n.substring(g[4],p),R=dc(E,i,s)??"undefined";y+="/"+x+R+z;continue}if(b===3){const E=n.substring(g[2],g[3]),x=i[E];if(x==null)continue;f[E]=x;const z=n.substring(S,g[1]),R=n.substring(g[4],p),C=dc(E,i,s)??"";y+="/"+z+C+R;continue}}return n.endsWith("/")&&(y+="/"),{usedParams:f,interpolatedPath:y||"/",isMissingParams:c}}function py(n,i){const s=encodeURIComponent(n);return i?.(s)??s}function ne(n){return n?.isNotFound===!0}function Sp(n,i=String){const s=new URLSearchParams;for(const u in n){const c=n[u];c!==void 0&&s.set(u,i(c))}return s.toString()}function hc(n){return n?n==="false"?!1:n==="true"?!0:+n*0===0&&+n+""===n?+n:n:""}function jS(n){const i=new URLSearchParams(n),s=Object.create(null);for(const[u,c]of i.entries()){const f=s[u];f==null?s[u]=hc(c):Array.isArray(f)?f.push(hc(c)):s[u]=[f,hc(c)]}return s}const BS=qS(JSON.parse),HS=GS(JSON.stringify,JSON.parse);function qS(n){return i=>{i[0]==="?"&&(i=i.substring(1));const s=jS(i);for(const u in s){const c=s[u];if(typeof c=="string")try{s[u]=n(c)}catch{}}return s}}function GS(n,i){const s=typeof i=="function";function u(c){if(typeof c=="object"&&c!==null)try{return n(c)}catch{}else if(s&&typeof c=="string")try{return i(c),n(c)}catch{}return c}return c=>{const f=Sp(c,u);return f?`?${f}`:""}}const Ua="__root__";function bp(n){if(n.statusCode=n.statusCode||n.code||307,!n._builtLocation&&!n.reloadDocument&&typeof n.href=="string")try{new URL(n.href),n.reloadDocument=!0}catch{}const i=new Headers(n.headers);n.href&&i.get("Location")===null&&i.set("Location",n.href);const s=new Response(null,{status:n.statusCode,headers:i});if(s.options=n,n.throw)throw s;return s}function Ee(n){return n instanceof Response&&!!n.options}function YS(n){if(n!==null&&typeof n=="object"&&n.isSerializedRedirect)return bp(n)}const Mc=n=>{if(!n.rendered)return n.rendered=!0,n.onReady?.()},QS=n=>n.stores.matchesId.get().some(i=>n.stores.matchStores.get(i)?.get()._forcePending),Bu=(n,i)=>!!(n.preload&&!n.router.stores.matchStores.has(i)),Na=(n,i,s=!0)=>{const u={...n.router.options.context??{}},c=s?i:i-1;for(let f=0;f<=c;f++){const h=n.matches[f];
9if(!h)continue;const m=n.router.getMatch(h.id);m&&Object.assign(u,m.__routeContext,m.__beforeLoadContext)}return u},gy=(n,i)=>{if(!n.matches.length)return;const s=i.routeId,u=n.matches.findIndex(h=>h.routeId===n.router.routeTree.id),c=u>=0?u:0;let f=s?n.matches.findIndex(h=>h.routeId===s):n.firstBadMatchIndex??n.matches.length-1;f<0&&(f=c);for(let h=f;h>=0;h--){const m=n.matches[h];if(n.router.looseRoutesById[m.routeId].options.notFoundComponent)return h}return s?f:c},ia=(n,i,s)=>{if(!(!Ee(s)&&!ne(s)))throw Ee(s)&&s.redirectHandled&&!s.options.reloadDocument||(i&&(i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.loaderPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,i._nonReactive.loaderPromise=void 0,i._nonReactive.error=s,n.updateMatch(i.id,u=>({...u,status:Ee(s)?"redirected":ne(s)?"notFound":u.status==="pending"?"success":u.status,context:Na(n,i.index),isFetching:!1,error:s})),ne(s)&&!s.routeId&&(s.routeId=i.routeId),i._nonReactive.loadPromise?.resolve()),Ee(s)&&(n.rendered=!0,s.options._fromLocation=n.location,s.redirectHandled=!0,s=n.router.resolveRedirect(s))),s},_p=(n,i)=>{const s=n.router.getMatch(i);return!!(!s||s._nonReactive.dehydrated)},vy=(n,i,s)=>{const u=Na(n,s);n.updateMatch(i,c=>({...c,context:u}))},Di=(n,i,s)=>{const{id:u,routeId:c}=n.matches[i],f=n.router.looseRoutesById[c];if(s instanceof Promise)throw s;n.firstBadMatchIndex??=i,ia(n,n.router.getMatch(u),s);try{f.options.onError?.(s)}catch(h){s=h,ia(n,n.router.getMatch(u),s)}n.updateMatch(u,h=>(h._nonReactive.beforeLoadPromise?.resolve(),h._nonReactive.beforeLoadPromise=void 0,h._nonReactive.loadPromise?.resolve(),{...h,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!n.preload&&!Ee(s)&&!ne(s)&&(n.serialError??=s)},Ep=(n,i,s,u)=>{if(u._nonReactive.pendingTimeout!==void 0)return;const c=s.options.pendingMs??n.router.options.defaultPendingMs;if(n.onReady&&!Bu(n,i)&&(s.options.loader||s.options.beforeLoad||Tp(s))&&typeof c=="number"&&c!==1/0&&(s.options.pendingComponent??n.router.options?.defaultPendingComponent)){const f=setTimeout(()=>{Mc(n)},c);u._nonReactive.pendingTimeout=f}},VS=(n,i,s)=>{const u=n.router.getMatch(i);if(!u._nonReactive.beforeLoadPromise&&!u._nonReactive.loaderPromise)return;Ep(n,i,s,u);const c=()=>{const f=n.router.getMatch(i);f.preload&&(f.status==="redirected"||f.status==="notFound")&&ia(n,f,f.error)};return u._nonReactive.beforeLoadPromise?u._nonReactive.beforeLoadPromise.then(c):c()},XS=(n,i,s,u)=>{const c=n.router.getMatch(i);let f=c._nonReactive.loadPromise;c._nonReactive.loadPromise=ja(()=>{f?.resolve(),f=void 0});const{paramsError:h,searchError:m}=c;h&&Di(n,s,h),m&&Di(n,s,m),Ep(n,i,u,c);const g=new AbortController;let y=!1;const S=()=>{y||(y=!0,n.updateMatch(i,X=>({...X,isFetching:"beforeLoad",fetchCount:X.fetchCount+1,abortController:g})))},p=()=>{c._nonReactive.beforeLoadPromise?.resolve(),c._nonReactive.beforeLoadPromise=void 0,n.updateMatch(i,X=>({...X,isFetching:!1}))};if(!u.options.beforeLoad){n.router.batch(()=>{S(),p()});return}c._nonReactive.beforeLoadPromise=ja();const b={...Na(n,s,!1),...c.__routeContext},{search:E,params:x,cause:z}=c,R=Bu(n,i),C={search:E,abortController:g,params:x,preload:R,context:b,location:n.location,navigate:X=>n.router.navigate({...X,_fromLocation:n.location}),buildLocation:n.router.buildLocation,cause:R?"preload":z,matches:n.matches,routeId:u.id,...n.router.options.additionalContext},N=X=>{if(X===void 0){n.router.batch(()=>{S(),p()});return}(Ee(X)||ne(X))&&(S(),Di(n,s,X)),n.router.batch(()=>{S(),n.updateMatch(i,Z=>({...Z,__beforeLoadContext:X})),p()})};let Y;try{if(Y=u.options.beforeLoad(C),qi(Y))return S(),Y.catch(X=>{Di(n,s,X)}).then(N)}catch(X){S(),Di(n,s,X)}N(Y)},KS=(n,i)=>{const{id:s,routeId:u}=n.matches[i],c=n.router.looseRoutesById[u],f=()=>m(),h=()=>XS(n,s,i,c),m=()=>{if(_p(n,s))return;const g=VS(n,s,c);return qi(g)?g.then(h):h()};return f()},ZS=(n,i,s)=>{const u=n.router.getMatch(i);if(!u||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const c={ssr:n.router.options.ssr,matches:n.matches,match:u,params:u.params,loaderData:u.loaderData};return Promise.all([s.options.head?.(c),s.options.scripts?.(c),s.options.headers?.(c)]).then(([f,h,m])=>({meta:f?.meta,links:f?.links,headScripts:f?.scripts,headers:m,scripts:h,styles:f?.styles}))},Rp=(n,i,s,u,c)=>{const f=i[u-1],{params:h,loaderDeps:m,abortController:g,cause:y}=n.router.getMatch(s),S=Na(n,u),p=Bu(n,s);return{params:h,deps:m,preload:!!p,parentMatchPromise:f,abortController:g,context:S,location:n.location,navigate:b=>n.router.navigate({...b,_fromLocation:n.location}),cause:p?"preload":y,route:c,...n.router.options.additionalContext}},Sy=async(n,i,s,u,c)=>{try{const f=n.router.getMatch(s);try{(!(cp??n.router.isServer)||f.ssr===!0)&&Yi(c);const h=c.options.loader,m=typeof h=="function"?h:h?.handler,g=m?.(Rp(n,i,s,u,c)),y=!!m&&qi(g);
9if((y||c._lazyPromise||c._componentsPromise||c.options.head||c.options.scripts||c.options.headers||f._nonReactive.minPendingPromise)&&n.updateMatch(s,p=>({...p,isFetching:"loader"})),m){const p=y?await g:g;ia(n,n.router.getMatch(s),p),p!==void 0&&n.updateMatch(s,b=>({...b,loaderData:p}))}c._lazyPromise&&await c._lazyPromise;const S=f._nonReactive.minPendingPromise;S&&await S,c._componentsPromise&&await c._componentsPromise,n.updateMatch(s,p=>({...p,error:void 0,context:Na(n,u),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(h){let m=h;if(m?.name==="AbortError"){if(f.abortController.signal.aborted){f._nonReactive.loaderPromise?.resolve(),f._nonReactive.loaderPromise=void 0;return}n.updateMatch(s,y=>({...y,status:y.status==="pending"?"success":y.status,isFetching:!1,context:Na(n,u)}));return}const g=f._nonReactive.minPendingPromise;g&&await g,ne(h)&&await c.options.notFoundComponent?.preload?.(),ia(n,n.router.getMatch(s),h);try{c.options.onError?.(h)}catch(y){m=y,ia(n,n.router.getMatch(s),y)}!Ee(m)&&!ne(m)&&await Yi(c,["errorComponent"]),n.updateMatch(s,y=>({...y,error:m,context:Na(n,u),status:"error",isFetching:!1}))}}catch(f){const h=n.router.getMatch(s);h&&(h._nonReactive.loaderPromise=void 0),ia(n,h,f)}},JS=async(n,i,s)=>{async function u(E,x,z,R,C){const N=Date.now()-x.updatedAt,Y=E?C.options.preloadStaleTime??n.router.options.defaultPreloadStaleTime??3e4:C.options.staleTime??n.router.options.defaultStaleTime??0,X=C.options.shouldReload,Z=typeof X=="function"?X(Rp(n,i,c,s,C)):X,{status:F,invalid:q}=R,K=N>=Y&&(!!n.forceStaleReload||R.cause==="enter"||z!==void 0&&z!==R.id);h=F==="success"&&(q||(Z??K)),E&&C.options.preload===!1||(h&&!n.sync&&S?(m=!0,(async()=>{try{await Sy(n,i,c,s,C);const I=n.router.getMatch(c);I._nonReactive.loaderPromise?.resolve(),I._nonReactive.loadPromise?.resolve(),I._nonReactive.loaderPromise=void 0,I._nonReactive.loadPromise=void 0}catch(I){Ee(I)&&await n.router.navigate(I.options)}})()):F!=="success"||h?await Sy(n,i,c,s,C):vy(n,c,s))}const{id:c,routeId:f}=n.matches[s];let h=!1,m=!1;const g=n.router.looseRoutesById[f],y=g.options.loader,S=((typeof y=="function"?void 0:y?.staleReloadMode)??n.router.options.defaultStaleReloadMode)!=="blocking";if(_p(n,c)){if(!n.router.getMatch(c))return n.matches[s];vy(n,c,s)}else{const E=n.router.getMatch(c),x=n.router.stores.matchesId.get()[s],z=(x&&n.router.stores.matchStores.get(x)||null)?.routeId===f?x:n.router.stores.matches.get().find(C=>C.routeId===f)?.id,R=Bu(n,c);if(E._nonReactive.loaderPromise){if(E.status==="success"&&!n.sync&&!E.preload&&S)return E;await E._nonReactive.loaderPromise;const C=n.router.getMatch(c),N=C._nonReactive.error||C.error;N&&ia(n,C,N),C.status==="pending"&&await u(R,E,z,C,g)}else{const C=R&&!n.router.stores.matchStores.has(c),N=n.router.getMatch(c);N._nonReactive.loaderPromise=ja(),C!==N.preload&&n.updateMatch(c,Y=>({...Y,preload:C})),await u(R,E,z,N,g)}}const p=n.router.getMatch(c);m||(p._nonReactive.loaderPromise?.resolve(),p._nonReactive.loadPromise?.resolve(),p._nonReactive.loadPromise=void 0),clearTimeout(p._nonReactive.pendingTimeout),p._nonReactive.pendingTimeout=void 0,m||(p._nonReactive.loaderPromise=void 0),p._nonReactive.dehydrated=void 0;const b=m?p.isFetching:!1;return b!==p.isFetching||p.invalid!==!1?(n.updateMatch(c,E=>({...E,isFetching:b,invalid:!1})),n.router.getMatch(c)):p};async function by(n){const i=n,s=[];QS(i.router)&&Mc(i);let u;for(let b=0;b<i.matches.length;b++){try{const E=KS(i,b);qi(E)&&await E}catch(E){if(Ee(E))throw E;if(ne(E))u=E;else if(!i.preload)throw E;break}if(i.serialError||i.firstBadMatchIndex!=null)break}const c=i.firstBadMatchIndex??i.matches.length,f=u&&!i.preload?gy(i,u):void 0,h=u&&i.preload?0:f!==void 0?Math.min(f+1,c):c;let m,g;for(let b=0;b<h;b++)s.push(JS(i,s,b));try{await Promise.all(s)}catch{const b=await Promise.allSettled(s);for(const E of b){if(E.status!=="rejected")continue;const x=E.reason;if(Ee(x))throw x;ne(x)?m??=x:g??=x}if(g!==void 0)throw g}const y=m??(u&&!i.preload?u:void 0);let S=i.firstBadMatchIndex!==void 0?i.firstBadMatchIndex:i.matches.length-1;if(!y&&u&&i.preload)return i.matches;if(y){const b=gy(i,y);b===void 0&&Re();const E=i.matches[b],x=i.router.looseRoutesById[E.routeId],z=i.router.options?.defaultNotFoundComponent;!x.options.notFoundComponent&&z&&(x.options.notFoundComponent=z),y.routeId=E.routeId;const R=E.routeId===i.router.routeTree.id;i.updateMatch(E.id,C=>({...C,...R?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:y},isFetching:!1})),S=b,await Yi(x,["notFoundComponent"])}else if(!i.preload){const b=i.matches[0];b.globalNotFound||i.router.getMatch(b.id)?.globalNotFound&&i.updateMatch(b.id,E=>({...E,globalNotFound:!1,error:void 0}))}
9if(i.serialError&&i.firstBadMatchIndex!==void 0){const b=i.router.looseRoutesById[i.matches[i.firstBadMatchIndex].routeId];await Yi(b,["errorComponent"])}for(let b=0;b<=S;b++){const{id:E,routeId:x}=i.matches[b],z=i.router.looseRoutesById[x];try{const R=ZS(i,E,z);if(R){const C=await R;i.updateMatch(E,N=>({...N,...C}))}}catch(R){console.error(`Error executing head for route ${x}:`,R)}}const p=Mc(i);if(qi(p)&&await p,y)throw y;if(i.serialError&&!i.preload&&!i.onReady)throw i.serialError;return i.matches}function _y(n,i){const s=i.map(u=>n.options[u]?.preload?.()).filter(Boolean);if(s.length!==0)return Promise.all(s)}function Yi(n,i=Ru){!n._lazyLoaded&&n._lazyPromise===void 0&&(n.lazyFn?n._lazyPromise=n.lazyFn().then(u=>{const{id:c,...f}=u.options;Object.assign(n.options,f),n._lazyLoaded=!0,n._lazyPromise=void 0}):n._lazyLoaded=!0);const s=()=>n._componentsLoaded?void 0:i===Ru?(()=>{if(n._componentsPromise===void 0){const u=_y(n,Ru);u?n._componentsPromise=u.then(()=>{n._componentsLoaded=!0,n._componentsPromise=void 0}):n._componentsLoaded=!0}return n._componentsPromise})():_y(n,i);return n._lazyPromise?n._lazyPromise.then(s):s()}function Tp(n){for(const i of Ru)if(n.options[i]?.preload)return!0;return!1}const Ru=["component","errorComponent","pendingComponent","notFoundComponent"];function PS(n){return{input:({url:i})=>{for(const s of n)i=Oc(s,i);return i},output:({url:i})=>{for(let s=n.length-1;s>=0;s--)i=Ap(n[s],i);return i}}}function FS(n){const i=vp(n.basepath),s=`/${i}`,u=n.caseSensitive?s:s.toLowerCase(),c=`${u}/`;return{input:({url:f})=>{const h=n.caseSensitive?f.pathname:f.pathname.toLowerCase();return h===u?f.pathname="/":h.startsWith(c)&&(f.pathname=f.pathname.slice(s.length)),f},output:({url:f})=>(f.pathname=Eu(["/",i,f.pathname]),f)}}function Oc(n,i){const s=n?.input?.({url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function Ap(n,i){const s=n?.output?.({url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function kS(n,i){const{createMutableStore:s,createReadonlyStore:u,batch:c,init:f}=i,h=new Map,m=new Map,g=new Map,y=s(n.status),S=s(n.loadedAt),p=s(n.isLoading),b=s(n.isTransitioning),E=s(n.location),x=s(n.resolvedLocation),z=s(n.statusCode),R=s(n.redirect),C=s([]),N=s([]),Y=s([]),X=u(()=>mc(h,C.get())),Z=u(()=>mc(m,N.get())),F=u(()=>mc(g,Y.get())),q=u(()=>C.get()[0]),K=u(()=>C.get().some(P=>h.get(P)?.get().status==="pending")),I=u(()=>({locationHref:E.get().href,resolvedLocationHref:x.get()?.href,status:y.get()})),rt=u(()=>({status:y.get(),loadedAt:S.get(),isLoading:p.get(),isTransitioning:b.get(),matches:X.get(),location:E.get(),resolvedLocation:x.get(),statusCode:z.get(),redirect:R.get()})),st=Gi(64);function it(P){let lt=st.get(P);return lt||(lt=u(()=>{const Et=C.get();for(const Tt of Et){const O=h.get(Tt);if(O&&O.routeId===P)return O.get()}}),st.set(P,lt)),lt}const $t={status:y,loadedAt:S,isLoading:p,isTransitioning:b,location:E,resolvedLocation:x,statusCode:z,redirect:R,matchesId:C,pendingIds:N,cachedIds:Y,matches:X,pendingMatches:Z,cachedMatches:F,firstId:q,hasPending:K,matchRouteDeps:I,matchStores:h,pendingMatchStores:m,cachedMatchStores:g,__store:rt,getRouteMatchStore:it,setMatches:jt,setPending:Qt,setCached:B};jt(n.matches),f?.($t);function jt(P){yc(P,h,C,s,c)}function Qt(P){yc(P,m,N,s,c)}function B(P){yc(P,g,Y,s,c)}return $t}function mc(n,i){const s=[];for(const u of i){const c=n.get(u);c&&s.push(c.get())}return s}function yc(n,i,s,u,c){const f=n.map(m=>m.id),h=new Set(f);c(()=>{for(const m of i.keys())h.has(m)||i.delete(m);for(const m of n){const g=i.get(m.id);if(!g){const y=u(m);y.routeId=m.routeId,i.set(m.id,y);continue}g.routeId=m.routeId,g.get()!==m&&g.set(m)}ES(s.get(),f)||s.set(f)})}var sa="__TSR_index",Ey="popstate",Ry="beforeunload";function IS(n){let i=n.getLocation();const s=new Set,u=h=>{i=n.getLocation(),s.forEach(m=>m({location:i,action:h}))},c=h=>{n.notifyOnIndexChange??!0?u(h):i=n.getLocation()},f=async({task:h,navigateOpts:m,...g})=>{if(m?.ignoreBlocker??!1){h();return}const y=n.getBlockers?.()??[],S=g.type==="PUSH"||g.type==="REPLACE";if(typeof document<"u"&&y.length&&S)for(const p of y){const b=wu(g.path,g.state);if(await p.blockerFn({currentLocation:i,nextLocation:b,action:g.type})){n.onBlocked?.();return}}h()};return{get location(){return i},get length(){return n.getLength()},subscribers:s,subscribe:h=>(s.add(h),()=>{s.delete(h)}),push:(h,m,g)=>{const y=i.state[sa];m=Ty(y+1,m),f({task:()=>{n.pushState(h,m),u({type:"PUSH"})},navigateOpts:g,type:"PUSH",path:h,state:m})},replace:(h,m,g)=>{const y=i.state[sa];m=Ty(y,m),f({task:()=>{n.replaceState(h,m),u({type:"REPLACE"})},navigateOpts:g,type:"REPLACE",path:h,state:m})},go:(h,m)=>{f({task:()=>{n.go(h),c({type:"GO",index:h})},navigateOpts:m,type:"GO"})},back:h=>{f({task:()=>{n.back(h?.ignoreBlocker??!1),c({type:"BACK"})},navigateOpts:h,type:"BACK"})},forward:h=>{f({task:()=>{n.forward(h?.ignoreBlocker??!1),c({type:"FORWARD"})},navigateOpts:h,type:"FORWARD"})},canGoBack:()=>i.state[sa]!==0,createHref:h=>n.createHref(h),block:h=>{if(!n.setBlockers)return()=>{};const m=n.getBlockers?.()??[];return n.setBlockers([...m,h]),()=>{const g=n.getBlockers?.()??[];n.setBlockers?.(g.filter(y=>y!==h))}},flush:()=>n.flush?.(),destroy:()=>n.destroy?.(),notify:u}}function Ty(n,i){i||(i={});const s=Qc();return{...i,key:s,__TSR_key:s,[sa]:n}}function WS(n){const i=typeof document<"u"?window:void 0,s=i.history.pushState,u=i.history.replaceState;let c=[];const f=()=>c,h=K=>c=K,m=(K=>K),g=(()=>wu(`${i.location.pathname}${i.location.search}${i.location.hash}`,i.history.state));if(!i.history.state?.__TSR_key&&!i.history.state?.key){const K=Qc();i.history.replaceState({[sa]:0,key:K,__TSR_key:K},"")}let y=g(),S,p=!1,b=!1,E=!1,x=!1;const z=()=>y;let R,C;const N=()=>{R&&(q._ignoreSubscribers=!0,(R.isPush?i.history.pushState:i.history.replaceState)(R.state,"",R.href),q._ignoreSubscribers=!1,R=void 0,C=void 0,S=void 0)},Y=(K,I,rt)=>{const st=m(I);C||(S=y),y=wu(I,rt),R={href:st,state:rt,isPush:R?.isPush||K==="push"},C||(C=Promise.resolve().then(()=>N()))},X=K=>{y=g(),q.notify({type:K})},Z=async()=>
9{if(b){b=!1;return}const K=g(),I=K.state[sa]-y.state[sa],rt=I===1,st=I===-1,it=!rt&&!st||p;p=!1;const $t=it?"GO":st?"BACK":"FORWARD",jt=it?{type:"GO",index:I}:{type:st?"BACK":"FORWARD"};if(E)E=!1;else{const Qt=f();if(typeof document<"u"&&Qt.length){for(const B of Qt)if(await B.blockerFn({currentLocation:y,nextLocation:K,action:$t})){b=!0,i.history.go(1),q.notify(jt);return}}}y=g(),q.notify(jt)},F=K=>{if(x){x=!1;return}let I=!1;const rt=f();if(typeof document<"u"&&rt.length)for(const st of rt){const it=st.enableBeforeUnload??!0;if(it===!0){I=!0;break}if(typeof it=="function"&&it()===!0){I=!0;break}}if(I)return K.preventDefault(),K.returnValue=""},q=IS({getLocation:z,getLength:()=>i.history.length,pushState:(K,I)=>Y("push",K,I),replaceState:(K,I)=>Y("replace",K,I),back:K=>(K&&(E=!0),x=!0,i.history.back()),forward:K=>{K&&(E=!0),x=!0,i.history.forward()},go:K=>{p=!0,i.history.go(K)},createHref:K=>m(K),flush:N,destroy:()=>{i.history.pushState=s,i.history.replaceState=u,i.removeEventListener(Ry,F,{capture:!0}),i.removeEventListener(Ey,Z)},onBlocked:()=>{S&&y!==S&&(y=S)},getBlockers:f,setBlockers:h,notifyOnIndexChange:!1});return i.addEventListener(Ry,F,{capture:!0}),i.addEventListener(Ey,Z),i.history.pushState=function(...K){const I=s.apply(i.history,K);return q._ignoreSubscribers||X("PUSH"),I},i.history.replaceState=function(...K){const I=u.apply(i.history,K);return q._ignoreSubscribers||X("REPLACE"),I},q}function $S(n){let i=n.replace(/[\x00-\x1f\x7f]/g,"");return i.startsWith("//")&&(i="/"+i.replace(/^\/+/,"")),i}function wu(n,i){const s=$S(n),u=s.indexOf("#"),c=s.indexOf("?"),f=Qc();return{href:s,pathname:s.substring(0,u>0?c>0?Math.min(u,c):u:c>0?c:s.length),hash:u>-1?s.substring(u):"",search:c>-1?s.slice(c,u===-1?void 0:u):"",state:i||{[sa]:0,key:f,__TSR_key:f}}}function Qc(){return(Math.random()+1).toString(36).substring(7)}function tb(n){return n instanceof Error?{name:n.name,message:n.message}:{data:n}}function zl(n,i){const s=i,u=n;return{fromLocation:s,toLocation:u,pathChanged:s?.pathname!==u.pathname,hrefChanged:s?.href!==u.href,hashChanged:s?.hash!==u.hash}}const Cc=new WeakMap;var eb=class{constructor(n,i){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.startTransition=s=>s(),this.update=s=>{const u=this.options,c=this.basepath??u?.basepath??"/",f=this.basepath===void 0,h=u?.rewrite;if(this.options={...u,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=NS(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=WS()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let S;this.resolvePathCache=Gi(1e3),S=this.buildRouteTree(),this.setRoutes(S)}if(!this.stores&&this.latestLocation){const S=this.getStoreConfig(this);this.batch=S.batch,this.stores=kS(ab(this.latestLocation),S),mb(this)}let m=!1;const g=this.options.basepath??"/",y=this.options.rewrite;if(f||c!==g||h!==y){this.basepath=g;const S=[],p=vp(g);p&&p!=="/"&&S.push(FS({basepath:g})),y&&S.push(y),this.rewrite=S.length===0?void 0:S.length===1?S[0]:PS(S),this.history&&this.updateLatestLocation(),m=!0}m&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=CS(this.routeTree,this.options.caseSensitive,(u,c)=>{u.init({originalIndex:c})});return this.options.routeMasks&&TS(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,u)=>{const c={eventType:s,fn:u};return this.subscribers.add(c),()=>{this.subscribers.delete(c)}},this.emit=s=>
9{this.subscribers.forEach(u=>{u.eventType===s.type&&u.fn(s)})},this.parseLocation=(s,u)=>{const c=({pathname:g,search:y,hash:S,href:p,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(g)){const C=this.options.parseSearch(y),N=this.options.stringifySearch(C);return{href:g+N+S,publicHref:g+N+S,pathname:zi(g).path,external:!1,searchStr:N,search:Ca(u?.search,C),hash:zi(S.slice(1)).path,state:za(u?.state,b)}}const E=new URL(p,this.origin),x=Oc(this.rewrite,E),z=this.options.parseSearch(x.search),R=this.options.stringifySearch(z);return x.search=R,{href:x.href.replace(x.origin,""),publicHref:p,pathname:zi(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:R,search:Ca(u?.search,z),hash:zi(x.hash.slice(1)).path,state:za(u?.state,b)}},f=c(s),{__tempLocation:h,__tempKey:m}=f.state;if(h&&(!m||m===this.tempLocationKey)){const g=c(h);return g.state.key=f.state.key,g.state.__TSR_key=f.state.__TSR_key,delete g.state.__tempLocation,{...g,maskedLocation:f}}return f},this.resolvePathWithBase=(s,u)=>US({base:s,to:u.includes("//")?Yc(u):u,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,u,c)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:u},c):this.matchRoutesInternal(s,u),this.getMatchedRoutes=s=>lb({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const u=this.getMatch(s);u&&(u.abortController.abort(),clearTimeout(u._nonReactive.pendingTimeout),u._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(s=>{this.cancelMatch(s)}),this.stores.matchesId.get().forEach(s=>{if(this.stores.pendingMatchStores.has(s))return;const u=this.stores.matchStores.get(s)?.get();u&&(u.status==="pending"||u.isFetching==="loader")&&this.cancelMatch(s)})},this.buildLocation=s=>{const u=(f={})=>{const h=f._fromLocation||this.pendingBuiltLocation||this.latestLocation,m=this.matchRoutesLightweight(h);f.from;const g=f.unsafeRelative==="path"?h.pathname:f.from??m.fullPath,y=f.to?`${f.to}`:void 0,S=m.search,p=Object.assign(Object.create(null),m.params),b=y?.charCodeAt(0)===47?"/":this.resolvePathWithBase(g,"."),E=y?this.resolvePathWithBase(b,y):b,x=f.params===!1||f.params===null?Object.create(null):(f.params??!0)===!0?p:Object.assign(p,wa(f.params,p)),z=this.routesByPath[An(E)];let R;if(z)R=this.getRouteBranch(z);else if(E.includes("$"))R=[];else{const st=this.getMatchedRoutes(E);R=st.matchedRoutes,this.options.notFoundRoute&&(!st.foundRoute||st.foundRoute.path!=="/"&&st.routeParams["**"])&&(R=[...R,this.options.notFoundRoute])}if(R.length&&dp(x))for(const st of R){const it=st.options.params?.stringify??st.options.stringifyParams;if(it)try{Object.assign(x,it(x))}catch{}}const C=s.leaveParams?E:zi(yy({path:E,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let N=S;if(s._includeValidateSearch&&this.options.search?.strict){const st={};R.forEach(it=>{if(it.options.validateSearch)try{Object.assign(st,Tu(it.options.validateSearch,{...st,...N}))}catch{}}),N=st}N=ib({search:N,dest:f,destRoutes:R,_includeValidateSearch:s._includeValidateSearch}),N=Ca(S,N);const Y=this.options.stringifySearch(N),X=f.hash===!0?h.hash:f.hash?wa(f.hash,h.hash):void 0,Z=X?`#${X}`:"";let F=f.state===!0?h.state:f.state?wa(f.state,h.state):{};F=za(h.state,F);const q=`${C}${Y}${Z}`;let K,I,rt=!1;if(this.rewrite){const st=new URL(q,this.origin),it=Ap(this.rewrite,st);K=st.href.replace(st.origin,""),it.origin!==this.origin?(I=it.href,rt=!0):I=it.pathname+it.search+it.hash}else K=_S(q),I=K;return{publicHref:I,href:K,pathname:C,search:N,searchStr:Y,state:F,hash:X??"",external:rt,unmaskOnReload:f.unmaskOnReload}},c=(f={},h)=>{const m=u(f);let g=h?u(h):void 0;if(!g){const y=Object.create(null);if(this.options.routeMasks){const S=AS(m.pathname,this.processedTree);if(S){Object.assign(y,S.rawParams);const{from:p,params:b,...E}=S.route,x=b===!1||b===null?Object.create(null):(b??!0)===!0?y:Object.assign(y,wa(b,y));h={from:s.from,...E,params:x},g=u(h)}}}return g&&(m.maskedLocation=g),m};return s.mask?c(s,{from:s.from,...s.mask}):c(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:u,...c})=>{let f;const h=()=>
9{const y=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];y.forEach(p=>{c.state[p]=this.latestLocation.state[p]});const S=he(c.state,this.latestLocation.state);return y.forEach(p=>{delete c.state[p]}),S},m=An(this.latestLocation.href)===An(c.href);let g=this.commitLocationPromise;if(this.commitLocationPromise=ja(()=>{g?.resolve(),g=void 0}),m&&h())this.load();else{let{maskedLocation:y,hashScrollIntoView:S,...p}=c;y&&(p={...y,state:{...y.state,__tempKey:void 0,__tempLocation:{...p,search:p.searchStr,state:{...p.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(p.unmaskOnReload??this.options.unmaskOnReload??!1)&&(p.state.__tempKey=this.tempLocationKey)),p.state.__hashScrollIntoViewOptions=S??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,f=c.replace?"REPLACE":"PUSH",this.history[f==="REPLACE"?"replace":"push"](p.publicHref,p.state,{ignoreBlocker:u})}return this._scroll.next=c.resetScroll??!0,this.history.subscribers.size||this.load(f?{action:{type:f}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:u,hashScrollIntoView:c,viewTransition:f,ignoreBlocker:h,href:m,...g}={})=>{if(m){const p=this.history.location.state.__TSR_index,b=wu(m,{__TSR_index:s?p:p+1}),E=new URL(b.pathname,this.origin);g.to=Oc(this.rewrite,E).pathname,g.search=this.options.parseSearch(b.search),g.hash=b.hash.slice(1)}const y=this.buildLocation({...g,_includeValidateSearch:!0});this.pendingBuiltLocation=y;const S=this.commitLocation({...y,viewTransition:f,replace:s,resetScroll:u,hashScrollIntoView:c,ignoreBlocker:h});return Promise.resolve().then(()=>{this.pendingBuiltLocation===y&&(this.pendingBuiltLocation=void 0)}),S},this.navigate=async({to:s,reloadDocument:u,href:c,publicHref:f,...h})=>{let m=!1;if(c)try{new URL(`${c}`),m=!0}catch{}if(m&&!u&&(u=!0),u){if(s!==void 0||!c){const y=this.buildLocation({to:s,...h});c=c??y.publicHref,f=f??y.publicHref}const g=!m&&f?f:c;if(Ou(g,this.protocolAllowlist))return Promise.resolve();if(!h.ignoreBlocker){const y=this.history.getBlockers?.()??[];for(const S of y)if(S?.blockerFn&&await S.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return h.replace?window.location.replace(g):window.location.href=g,Promise.resolve()}return this.buildAndCommitLocation({...h,href:c,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation),u=this.stores.cachedMatches.get().filter(c=>!s.some(f=>f.id===c.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(s),this.stores.setCached(u)})},this.load=async s=>{const u=s?.action?.type;let c,f,h;const m=this.stores.resolvedLocation.get()??this.stores.location.get();for(h=new Promise(y=>{this.startTransition(async()=>{try{this.beforeLoad(),u?Cc.set(this.latestLocation,u):Cc.delete(this.latestLocation);const S=this.latestLocation,p=zl(S,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...p}),this.emit({type:"onBeforeLoad",...p}),await by({router:this,sync:s?.sync,forceStaleReload:m.href===S.href,matches:this.stores.pendingMatches.get(),location:S,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let b=null,E=null,x=null,z=null;this.batch(()=>{const R=this.stores.pendingMatches.get(),C=R.length,N=this.stores.matches.get();b=C?N.filter(Z=>!this.stores.pendingMatchStores.has(Z.id)):null;const Y=new Set;for(const Z of this.stores.pendingMatchStores.values())Z.routeId&&Y.add(Z.routeId);const X=new Set;for(const Z of this.stores.matchStores.values())Z.routeId&&X.add(Z.routeId);E=C?N.filter(Z=>!Y.has(Z.routeId)):null,x=C?R.filter(Z=>!X.has(Z.routeId)):null,z=C?R.filter(Z=>X.has(Z.routeId)):N,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),C&&(this.stores.setMatches(R),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...b.filter(Z=>Z.status!=="error"&&Z.status!=="notFound"&&Z.status!=="redirected")]),this.clearExpiredCache())});for(const[R,C]of[[E,"onLeave"],[x,"onEnter"],[z,"onStay"]])if(R)for(const N of R)this.looseRoutesById[N.routeId].options[C]?.(N)})})}})}catch(S){Ee(S)?(c=S,this.navigate({...c.options,replace:!0,ignoreBlocker:!0})):ne(S)&&(f=S);const p=c?c.status:f?404:this.stores.matches.get().some(b=>b.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(p),this.stores.redirect.set(c)})}this.latestLoadPromise===h&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),y()})}),this.latestLoadPromise=h,await h;this.latestLoadPromise&&h!==this.latestLoadPromise;)await this.latestLoadPromise;let g;this.hasNotFoundMatch()?g=404:this.stores.matches.get().some(y=>y.status==="error")&&(g=500),g!==void 0&&this.stores.statusCode.set(g)},this.startViewTransition=s=>{const u=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,u&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let c;if(typeof u=="object"&&this.isViewTransitionTypesSupported){const f=this.latestLocation,h=this.stores.resolvedLocation.get(),m=typeof u.types=="function"?u.types(zl(f,h)):u.types;if(m===!1){s();return}c={update:s,types:m}}else c=s;document.startViewTransition(c)}else s()},this.updateMatch=(s,u)=>{this.startTransition(()=>
9{const c=this.stores.pendingMatchStores.get(s);if(c){c.set(u);return}const f=this.stores.matchStores.get(s);if(f){f.set(u);return}const h=this.stores.cachedMatchStores.get(s);if(h){const m=u(h.get());m.status==="redirected"?this.stores.cachedMatchStores.delete(s)&&this.stores.cachedIds.set(g=>g.filter(y=>y!==s)):h.set(m)}})},this.getMatch=s=>this.stores.cachedMatchStores.get(s)?.get()??this.stores.pendingMatchStores.get(s)?.get()??this.stores.matchStores.get(s)?.get(),this.invalidate=s=>{const u=c=>s?.filter?.(c)??!0?{...c,invalid:!0,...s?.forcePending||c.status==="error"||c.status==="notFound"?{status:"pending",error:void 0}:void 0}:c;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(u)),this.stores.setCached(this.stores.cachedMatches.get().map(u)),this.stores.setPending(this.stores.pendingMatches.get().map(u))}),this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const u=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const c=s.options._builtLocation??this.buildLocation(s.options),f=this.getParsedLocationHref(c);s.options.href=f,s.headers.set("Location",f)}else if(u)try{const c=new URL(u);if(this.origin&&c.origin===this.origin){const f=c.pathname+c.search+c.hash;s.options.href=f,s.headers.set("Location",f)}}catch{}if(s.options.href&&!s.options._builtLocation&&Ou(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const u=s?.filter;u!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(c=>!u(c))):this.stores.setCached([])},this.clearExpiredCache=()=>{const s=Date.now(),u=c=>{const f=this.looseRoutesById[c.routeId];if(!f.options.loader)return!0;const h=(c.preload?f.options.preloadGcTime??this.options.defaultPreloadGcTime:f.options.gcTime??this.options.defaultGcTime)??300*1e3;return c.status==="error"?!0:s-c.updatedAt>=h};this.clearCache({filter:u})},this.loadRouteChunk=Yi,this.preloadRoute=async s=>{const u=s._builtLocation??this.buildLocation(s);let c=this.matchRoutes(u,{throwOnError:!0,preload:!0,dest:s});const f=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),h=new Set([...f,...this.stores.cachedIds.get()]),m=c.filter(g=>!h.has(g.id));if(m.length){const g=this.stores.cachedMatches.get();this.stores.setCached([...g,...m])}try{return c=await by({router:this,matches:c,location:u,preload:!0,updateMatch:(g,y)=>{f.has(g)?c=c.map(S=>S.id===g?y(S):S):this.updateMatch(g,y)}}),c}catch(g){if(Ee(g))return g.options.reloadDocument?void 0:await this.preloadRoute({...g.options,_fromLocation:u});ne(g)||console.error(g);return}},this.matchRoute=(s,u)=>{const c={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},f=this.buildLocation(c);if(u?.pending&&this.stores.status.get()!=="pending")return!1;const h=(u?.pending===void 0?!this.stores.isLoading.get():u.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),m=xS(f.pathname,u?.caseSensitive??!1,u?.fuzzy??!1,h.pathname,this.processedTree);return!m||s.params&&!he(m.rawParams,s.params,{partial:!0})?!1:u?.includeSearch??!0?he(h.search,f.search,{partial:!0})?m.rawParams:!1:m.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(s=>s.status==="notFound"||s.globalNotFound),this.getStoreConfig=i,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...n,caseSensitive:n.caseSensitive??!1,notFoundMode:n.notFoundMode??"fuzzy",stringifySearch:n.stringifySearch??HS,parseSearch:n.parseSearch??BS,protocolAllowlist:n.protocolAllowlist??gS}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:n,routesByPath:i,processedTree:s}){this.routesById=n,this.routesByPath=i,this.processedTree=s;const u=this.options.notFoundRoute;u&&(u.init({originalIndex:99999999999}),this.routesById[u.id]=u)}getRouteBranch(n){let i=this.routeBranchCache.get(n);
9return i||(i=pp(n),this.routeBranchCache.set(n,i)),i}get looseRoutesById(){return this.routesById}getParentContext(n){return n?.id?n.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(n,i){const s=this.getMatchedRoutes(n.pathname),{foundRoute:u,routeParams:c}=s;let{matchedRoutes:f}=s,h=!1;(u?u.path!=="/"&&c["**"]:An(n.pathname))&&(this.options.notFoundRoute?f=[...f,this.options.notFoundRoute]:h=!0);const m=h?ub(this.options.notFoundMode,f):void 0,g=new Array(f.length),y=new Map;for(const S of this.stores.matchStores.values())S.routeId&&y.set(S.routeId,S.get());for(let S=0;S<f.length;S++){const p=f[S],b=g[S-1];let E,x,z;{const it=b?.search??n.search,$t=b?._strictSearch??void 0;try{const jt=Tu(p.options.validateSearch,{...it})??void 0;E={...it,...jt},x={...$t,...jt},z=void 0}catch(jt){let Qt=jt;if(jt instanceof zu||(Qt=new zu(jt.message,{cause:jt})),i?.throwOnError)throw Qt;E=it,x={},z=Qt}}const R=p.options.loaderDeps?.({search:E})??"",C=R?JSON.stringify(R):"",{interpolatedPath:N,usedParams:Y}=yy({path:p.fullPath,params:c,decoder:this.pathParamsDecoder,server:this.isServer}),X=p.id+N+C,Z=this.getMatch(X),F=y.get(p.id),q=Z?._strictParams??Y;let K;if(!Z)try{Ay(p,q)}catch(it){if(ne(it)||Ee(it)?K=it:K=new nb(it.message,{cause:it}),i?.throwOnError)throw K}Object.assign(c,q);const I=F?"stay":"enter";let rt;if(Z)rt={...Z,cause:I,params:F?.params??c,_strictParams:q,search:Ca(F?F.search:Z.search,E),_strictSearch:x};else{const it=p.options.loader||p.options.beforeLoad||p.lazyFn||Tp(p)?"pending":"success";rt={id:X,ssr:p.options.ssr,index:S,routeId:p.id,params:F?.params??c,_strictParams:q,pathname:N,updatedAt:Date.now(),search:F?Ca(F.search,E):E,_strictSearch:x,searchError:void 0,status:it,isFetching:!1,error:void 0,paramsError:K,__routeContext:void 0,_nonReactive:{loadPromise:ja()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:I,loaderDeps:F?za(F.loaderDeps,R):R,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:p.options.staticData||{},fullPath:p.fullPath}}i?.preload||(rt.globalNotFound=m===p.id),rt.searchError=z;const st=this.getParentContext(b);rt.context={...st,...rt.__routeContext,...rt.__beforeLoadContext},g[S]=rt}for(let S=0;S<g.length;S++){const p=g[S],b=this.looseRoutesById[p.routeId],E=this.getMatch(p.id),x=y.get(p.routeId);if(p.params=x?Ca(x.params,c):c,!E){const z=g[S-1],R=this.getParentContext(z);if(b.options.context){const C={deps:p.loaderDeps,params:p.params,context:R??{},location:n,navigate:N=>this.navigate({...N,_fromLocation:n}),buildLocation:this.buildLocation,cause:p.cause,abortController:p.abortController,preload:!!p.preload,matches:g,routeId:b.id};p.__routeContext=b.options.context(C)??void 0}p.context={...R,...p.__routeContext,...p.__beforeLoadContext}}}return g}matchRoutesLightweight(n){const{matchedRoutes:i,routeParams:s}=this.getMatchedRoutes(n.pathname),u=Hi(i),c={...n.search};for(const y of i)try{Object.assign(c,Tu(y.options.validateSearch,c))}catch{}const f=Hi(this.stores.matchesId.get()),h=f&&this.stores.matchStores.get(f)?.get(),m=h&&h.routeId===u.id&&h.pathname===n.pathname;let g;if(m)g=h.params;else{const y=Object.assign(Object.create(null),s);for(const S of i)try{Ay(S,y)}catch{}g=y}return{matchedRoutes:i,fullPath:u.fullPath,search:c,params:g}}},zu=class extends Error{},nb=class extends Error{};function ab(n){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:n,matches:[],statusCode:200}}function Tu(n,i){if(n==null)return{};if("~standard"in n){const s=n["~standard"].validate(i);if(s instanceof Promise)throw new zu("Async validation not supported");if(s.issues)throw new zu(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in n?n.parse(i):typeof n=="function"?n(i):{}}function lb({pathname:n,routesById:i,processedTree:s}){const u=Object.create(null),c=An(n);let f;const h=MS(c,s,!0);return h&&(f=h.route,Object.assign(u,h.rawParams)),{matchedRoutes:h?.branch||[i.__root__],routeParams:u,foundRoute:f}}function ib({search:n,dest:i,destRoutes:s,_includeValidateSearch:u}){return sb(s)(n,i,u??!1)}
9function sb(n){let i,s;const u=[];for(const f of n){const h=f.options;if("search"in h)h.search?.middlewares&&u.push(...h.search.middlewares);else if(h.preSearchFilters||h.postSearchFilters){const g=({search:y,next:S})=>{const p=S(h.preSearchFilters?h.preSearchFilters.reduce((b,E)=>E(b),y):y);return h.postSearchFilters?h.postSearchFilters.reduce((b,E)=>E(b),p):p};u.push(g)}const m=h.validateSearch;if(m){const g=({search:y,next:S,meta:p})=>{const b=S(y);if(s)try{const E=Tu(m,b);if(p&&E)for(const x in E)x in b||(p.defaulted||=new Map).set(x,E[x]);return{...b,...E}}catch{}return b};u.push(g)}}const c=(f,h,m)=>{if(f>=u.length){if(!i.search)return{};if(i.search===!0)return h;const y=wa(i.search,h);return m&&(m.explicit=y),y}const g=(y,S)=>{if(S){const p=m||{};return{search:c(f+1,y,p),meta:p}}return c(f+1,y,m)};return u[f]({search:h,next:g,meta:m})};return function(h,m,g){return i=m,s=g,c(0,h)}}function ub(n,i){if(n!=="root")for(let s=i.length-1;s>=0;s--){const u=i[s];if(u.children)return u.id}return Ua}function Ay(n,i){const s=n.options.params?.parse??n.options.parseParams;if(s){const u=s(i);if(u===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(i,u)}}function rb(){try{return sessionStorage}catch{return}}const ob="tsr-scroll-restoration-v1_3",xp=rb();function cb(){try{return JSON.parse(xp?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function fb(){try{xp?.setItem(ob,JSON.stringify(xl))}catch{}}const xl=cb(),xy="data-scroll-restoration-id",db=n=>n.state.__TSR_key||n.href;function hb(n){const i=n.getAttribute(xy);if(i)return`[${xy}="${i}"]`;let s="",u=n,c;for(;c=u.parentNode;){let f=1,h=u;for(;h=h.previousElementSibling;)f++;const m=`${u.localName}:nth-child(${f})`;s=s?`${m} > ${s}`:m,u=c}return s}let yu=!1;const Ml="window";function wc(n){try{return typeof n=="function"?n():document.querySelector(n)}catch{}}function My(n){const i=[];for(const s of n){if(s===Ml)continue;const u=wc(s);u&&i.push(u)}return i}function mb(n,i){const s=n.options.scrollRestoration,u=n._scroll;s&&(u.restoring=!0);const c=n.options.getScrollRestorationKey||db,f=new Map,h=(y,S,p)=>{const b=f.get(y)||{};b.scrollX=S,b.scrollY=p,f.set(y,b)},m=y=>{if(!(yu||!u.restoring))if(y.target===document)h(Ml,scrollX,scrollY);else{const S=y.target;h(S,S.scrollLeft,S.scrollTop)}},g=y=>{if(!u.restoring)return;const S=xl[y]||={};for(const[p,b]of f)p===Ml?S[Ml]=b:p.isConnected&&(S[hb(p)]=b)};s&&!u.restoration&&(u.restoration=!0,yu=!1,history.scrollRestoration="manual",document.addEventListener("scroll",m,!0),n.subscribe("onBeforeLoad",y=>{y.fromLocation&&g(c(y.fromLocation)),f.clear()}),addEventListener("pagehide",()=>{g(c(n.stores.resolvedLocation.get()??n.stores.location.get())),fb()})),!u.reset&&(u.reset=!0,n.subscribe("onRendered",y=>{const S=n.options.scrollRestorationBehavior,p=n.options.scrollToTopSelectors,b=u.next;let E;if(f.clear(),b||(u.next=!0),typeof n.options.scrollRestoration=="function"&&!n.options.scrollRestoration({location:n.latestLocation}))return;const x=c(y.toLocation),z=y.fromLocation&&c(y.fromLocation);if(u.restoring&&z&&z!==x){const R=xl[z];if(R){let C=xl[x];for(const N in R){if(N===Ml){if(b)continue}else{const Y=wc(N);if(!Y||b&&p&&(E??=My(p),E.includes(Y)))continue}C||(C=xl[x]={}),C[N]??=R[N]}}}yu=!0;try{const R=y.toLocation.hash,C=y.toLocation.state.__hashScrollIntoViewOptions??!0;let N=!1;if(b){const Y=Cc.get(y.toLocation),X=R&&C&&(Y==="PUSH"||Y==="REPLACE"),Z=u.restoring?xl[x]:void 0;if(Z)for(const F in Z){const{scrollX:q,scrollY:K}=Z[F];if(F===Ml){if(X)continue;scrollTo({top:K,left:q,behavior:S}),N=!0}else{const I=wc(F);I&&(I.scrollLeft=q,I.scrollTop=K)}}if(!N&&!R){const F={top:0,left:0,behavior:S};if(scrollTo(F),p){E??=My(p);for(const q of E)q.scrollTo(F)}}}!N&&R&&C&&document.getElementById(R)?.scrollIntoView(C)}finally{yu=!1}}))}const en=Symbol.for("TSR_DEFERRED_PROMISE");function yb(n,i){const s=n;return s[en]||(s[en]={status:"pending"},s.then(u=>{s[en].status="success",s[en].data=u}).catch(u=>{s[en].status="error",s[en].error={data:tb(u),__isServerError:!0}})),s}const pb="Error preloading route! ☝️";
9function Mp(n,i){if(n)return typeof n=="string"?n:n[i]}function gb(n){return n?.scriptFormat??"module"}function vb(n,i,s){const u=Sb(i),c=Mp(s,"script")??u.crossOrigin;return{...gb(n)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:u.href,...c?{crossOrigin:c}:{}}}function Sb(n){return typeof n=="string"?{href:n,crossOrigin:void 0}:n}function pu(n,i){if(i.length===0)return;if(i.length===1){n.push(i[0]);return}const s=new Set;for(const u of i){const c=JSON.stringify(u);s.has(c)||(s.add(c),n.push(u))}}function bb(n){return typeof n=="string"?{href:n,crossOrigin:void 0}:n}var Op=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(n){if(this.init=i=>{this.originalIndex=i.originalIndex;const s=this.options,u=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),u?this._path=Ua:this.parentRoute||Re();let c=u?Ua:s?.path;c&&c!=="/"&&(c=gp(c));const f=s?.id||c;let h=u?Ua:Eu([this.parentRoute.id==="__root__"?"":this.parentRoute.id,f]);c==="__root__"&&(c="/"),h!=="__root__"&&(h=Eu(["/",h]));const m=h==="__root__"?"/":Eu([this.parentRoute.fullPath,c]);this._path=c,this._id=h,this._fullPath=m,this._to=An(m)},this.addChildren=i=>this._addFileChildren(i),this._addFileChildren=i=>(Array.isArray(i)&&(this.children=i),typeof i=="object"&&i!==null&&(this.children=Object.values(i)),this),this._addFileTypes=()=>this,this.updateLoader=i=>(Object.assign(this.options,i),this),this.update=i=>(Object.assign(this.options,i),this),this.lazy=i=>(this.lazyFn=i,this),this.redirect=i=>bp({from:this.fullPath,...i}),this.options=n||{},this.isRoot=!n?.getParentRoute,n?.id&&n?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},_b=class extends Op{constructor(n){super(n)}},Eb=(n=>(n[n.AggregateError=1]="AggregateError",n[n.ArrowFunction=2]="ArrowFunction",n[n.ErrorPrototypeStack=4]="ErrorPrototypeStack",n[n.ObjectAssign=8]="ObjectAssign",n[n.BigIntTypedArray=16]="BigIntTypedArray",n[n.RegExp=32]="RegExp",n))(Eb||{}),xn=Symbol.asyncIterator,Cp=Symbol.hasInstance,Dl=Symbol.isConcatSpreadable,Mn=Symbol.iterator,wp=Symbol.match,zp=Symbol.matchAll,Dp=Symbol.replace,Lp=Symbol.search,Up=Symbol.species,Np=Symbol.split,jp=Symbol.toPrimitive,Ll=Symbol.toStringTag,Bp=Symbol.unscopables,Hp={[xn]:0,[Cp]:1,[Dl]:2,[Mn]:3,[wp]:4,[zp]:5,[Dp]:6,[Lp]:7,[Up]:8,[Np]:9,[jp]:10,[Ll]:11,[Bp]:12},Rb={0:xn,1:Cp,2:Dl,3:Mn,4:wp,5:zp,6:Dp,7:Lp,8:Up,9:Np,10:jp,11:Ll,12:Bp},_=void 0,Tb={2:!0,3:!1,1:_,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},Ab={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},xb={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function _t(n,i,s,u,c,f,h,m,g,y,S,p){return{t:n,i,s,c:u,m:c,p:f,e:h,a:m,f:g,b:y,o:S,l:p}}function ua(n){return _t(2,_,n,_,_,_,_,_,_,_,_,_)}var qp=ua(2),Gp=ua(3),Mb=ua(1),Ob=ua(0),Cb=ua(4),wb=ua(5),zb=ua(6),Db=ua(7);
9function Lb(n){switch(n){case'"':return'\\"';case"\\":return"\\\\";case`
10`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case"	":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return _}}function ra(n){let i="",s=0,u;for(let c=0,f=n.length;c<f;c++)u=Lb(n[c]),u&&(i+=n.slice(s,c)+u,s=c+1);return s===0?i=n:i+=n.slice(s),i}function Ub(n){switch(n){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return`
11`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return"	";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return n}}function oa(n){return n.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,Ub)}var gu="__SEROVAL_REFS__",Yp=new Map,Cl=new Map;function Qp(n){return Yp.has(n)}function Nb(n){return Cl.has(n)}function jb(n){if(Qp(n))return Yp.get(n);throw new h1(n)}function Bb(n){if(Nb(n))return Cl.get(n);throw new m1(n)}typeof globalThis<"u"?Object.defineProperty(globalThis,gu,{value:Cl,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,gu,{value:Cl,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,gu,{value:Cl,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,gu,{value:Cl,configurable:!0,writable:!1,enumerable:!1});function Vc(n){return n instanceof EvalError?1:n instanceof RangeError?2:n instanceof ReferenceError?3:n instanceof SyntaxError?4:n instanceof TypeError?5:n instanceof URIError?6:0}function Hb(n){let i=Ab[Vc(n)];return n.name!==i?{name:n.name}:n.constructor.name!==i?{name:n.constructor.name}:{}}function Vp(n,i){let s=Hb(n),u=Object.getOwnPropertyNames(n);for(let c=0,f=u.length,h;c<f;c++)h=u[c],h!=="name"&&h!=="message"&&(h==="stack"?i&4&&(s=s||{},s[h]=n[h]):(s=s||{},s[h]=n[h]));return s}function Xp(n){return Object.isFrozen(n)?3:Object.isSealed(n)?2:Object.isExtensible(n)?0:1}function qb(n){switch(n){case Number.POSITIVE_INFINITY:return wb;case Number.NEGATIVE_INFINITY:return zb}return n!==n?Db:Object.is(n,-0)?Cb:_t(0,_,n,_,_,_,_,_,_,_,_,_)}function Kp(n){return _t(1,_,ra(n),_,_,_,_,_,_,_,_,_)}function Gb(n){return _t(3,_,""+n,_,_,_,_,_,_,_,_,_)}function Yb(n){return _t(4,n,_,_,_,_,_,_,_,_,_,_)}function Qb(n,i){let s=i.valueOf();return _t(5,n,s!==s?"":i.toISOString(),_,_,_,_,_,_,_,_,_)}function Vb(n,i){return _t(6,n,_,ra(i.source),i.flags,_,_,_,_,_,_,_)}function Xb(n,i){return _t(17,n,Hp[i],_,_,_,_,_,_,_,_,_)}function Kb(n,i){return _t(18,n,ra(jb(i)),_,_,_,_,_,_,_,_,_)}function Zb(n,i,s){return _t(25,n,s,ra(i),_,_,_,_,_,_,_,_)}function Jb(n,i,s){return _t(9,n,_,_,_,_,_,s,_,_,Xp(i),_)}function Pb(n,i){return _t(21,n,_,_,_,_,_,_,i,_,_,_)}function Fb(n,i,s){return _t(15,n,_,i.constructor.name,_,_,_,_,s,i.byteOffset,_,i.length)}function kb(n,i,s){return _t(16,n,_,i.constructor.name,_,_,_,_,s,i.byteOffset,_,i.byteLength)}function Ib(n,i,s){return _t(20,n,_,_,_,_,_,_,s,i.byteOffset,_,i.byteLength)}function Wb(n,i,s){return _t(13,n,Vc(i),_,ra(i.message),s,_,_,_,_,_,_)}function $b(n,i,s){return _t(14,n,Vc(i),_,ra(i.message),s,_,_,_,_,_,_)}function t1(n,i){return _t(7,n,_,_,_,_,_,i,_,_,_,_)}function e1(n,i){return _t(28,_,_,_,_,_,_,[n,i],_,_,_,_)}function n1(n,i){return _t(30,_,_,_,_,_,_,[n,i],_,_,_,_)}function a1(n,i,s){return _t(31,n,_,_,_,_,_,s,i,_,_,_)}function l1(n,i){return _t(32,n,_,_,_,_,_,_,i,_,_,_)}function i1(n,i){return _t(33,n,_,_,_,_,_,_,i,_,_,_)}function s1(n,i){return _t(34,n,_,_,_,_,_,_,i,_,_,_)}function u1(n,i,s,u){return _t(35,n,s,_,_,_,_,i,_,_,_,u)}var r1={parsing:1,serialization:2,deserialization:3};function o1(n){return`Seroval Error (step: ${r1[n]})`}var c1=(n,i)=>o1(n),Zp=class extends Error{constructor(n,i){super(c1(n)),this.cause=i}},Oy=class extends Zp{constructor(n){super("parsing",n)}},f1=class extends Zp{constructor(n){super("deserialization",n)}};function On(n){return`Seroval Error (specific: ${n})`}var Hu=class extends Error{constructor(i){super(On(1)),this.value=i}},Jp=class extends Error{constructor(n){super(On(2))}}
11,d1=class extends Error{constructor(n){super(On(3))}},Zi=class extends Error{constructor(n){super(On(4))}},h1=class extends Error{constructor(n){super(On(5)),this.value=n}},m1=class extends Error{constructor(n){super(On(6))}},y1=class extends Error{constructor(n){super(On(7))}},Cn=class extends Error{constructor(n){super(On(8))}},p1=class extends Error{constructor(n){super(On(9))}},g1=class{constructor(n,i){this.value=n,this.replacement=i}},qu=()=>{let n={p:0,s:0,f:0};return n.p=new Promise((i,s)=>{n.s=i,n.f=s}),n},v1=(n,i)=>{n.s(i),n.p.s=1,n.p.v=i},S1=(n,i)=>{n.f(i),n.p.s=2,n.p.v=i};qu.toString();v1.toString();S1.toString();var b1=()=>{let n=[],i=[],s=!0,u=!1,c=0,f=(g,y,S)=>{for(S=0;S<c;S++)i[S]&&i[S][y](g)},h=(g,y,S,p)=>{for(y=0,S=n.length;y<S;y++)p=n[y],!s&&y===S-1?g[u?"return":"throw"](p):g.next(p)},m=(g,y)=>(s&&(y=c++,i[y]=g),h(g),()=>{s&&(i[y]=i[c],i[c--]=void 0)});return{__SEROVAL_STREAM__:!0,on:g=>m(g),next:g=>{s&&(n.push(g),f(g,"next"))},throw:g=>{s&&(n.push(g),f(g,"throw"),s=!1,u=!1,i.length=0)},return:g=>{s&&(n.push(g),f(g,"return"),s=!1,u=!0,i.length=0)}}},_1=n=>i=>()=>{let s=0,u={[n]:()=>u,next:()=>{if(s>i.d)return{done:!0,value:void 0};let c=s++,f=i.v[c];if(c===i.t)throw f;return{done:c===i.d,value:f}}};return u},E1=(n,i)=>s=>()=>{let u=0,c=-1,f=!1,h=[],m=[],g=(S=0,p=m.length)=>{for(;S<p;S++)m[S].s({done:!0,value:void 0})};s.on({next:S=>{let p=m.shift();p&&p.s({done:!1,value:S}),h.push(S)},throw:S=>{let p=m.shift();p&&p.f(S),g(),c=h.length,f=!0,h.push(S)},return:S=>{let p=m.shift();p&&p.s({done:!0,value:S}),g(),c=h.length,h.push(S)}});let y={[n]:()=>y,next:()=>{if(c===-1){let b=u++;if(b>=h.length){let E=i();return m.push(E),E.p}return{done:!1,value:h[b]}}if(u>c)return{done:!0,value:void 0};let S=u++,p=h[S];if(S!==c)return{done:!1,value:p};if(f)throw p;return{done:!0,value:p}}};return y},Pp=n=>{let i=atob(n),s=i.length,u=new Uint8Array(s);for(let c=0;c<s;c++)u[c]=i.charCodeAt(c);return u.buffer};Pp.toString();function R1(n){return"__SEROVAL_SEQUENCE__"in n}function Fp(n,i,s){return{__SEROVAL_SEQUENCE__:!0,v:n,t:i,d:s}}function T1(n){let i=[],s=-1,u=-1,c=n[Mn]();for(;;)try{let f=c.next();if(i.push(f.value),f.done){u=i.length-1;break}}catch(f){s=i.length,i.push(f)}return Fp(i,s,u)}var A1=_1(Mn);function x1(n){return A1(n)}var M1={},O1={},C1={0:{},1:{},2:{},3:{},4:{},5:{}};function w1(n){return"__SEROVAL_STREAM__"in n}function Ba(){return b1()}function z1(n){let i=Ba(),s=n[xn]();async function u(){try{let c=await s.next();c.done?i.return(c.value):(i.next(c.value),await u())}catch(c){i.throw(c)}}return u().catch(()=>{}),i}var D1=E1(xn,qu);function L1(n){return D1(n)}async function U1(n){try{return[1,await n]}catch(i){return[0,i]}}function N1(n,i){return{plugins:i.plugins,mode:n,marked:new Set,features:63^(i.disabledFeatures||0),refs:i.refs||new Map,depthLimit:i.depthLimit||1e3}}function Au(n,i){n.marked.add(i)}function j1(n,i){let s=n.refs.size;return n.refs.set(i,s),s}function Gu(n,i){let s=n.refs.get(i);return s!=null?(Au(n,s),{type:1,value:Yb(s)}):{type:0,value:j1(n,i)}}function Xc(n,i){let s=Gu(n,i);return s.type===1?s:Qp(i)?{type:2,value:Kb(s.value,i)}:s}function La(n,i){let s=Xc(n,i);if(s.type!==0)return s.value;if(i in Hp)return Xb(s.value,i);throw new Hu(i)}function Yu(n,i){let s=Gu(n,C1[i]);return s.type===1?s.value:_t(26,s.value,i,_,_,_,_,_,_,_,_,_)}function B1(n){let i=Gu(n,M1);return i.type===1?i.value:_t(27,i.value,_,_,_,_,_,_,La(n,Mn),_,_,_)}function H1(n){let i=Gu(n,O1);return i.type===1?i.value:_t(29,i.value,_,_,_,_,_,[Yu(n,1),La(n,xn)],_,_,_,_)}function q1(n,i,s,u){return _t(s?11:10,n,_,_,_,u,_,_,_,_,Xp(i),_)}function G1(n,i,s,u){return _t(8,i,_,_,_,_,{k:s,v:u},_,Yu(n,0),_,_,_)}function Y1(n,i,s){let u=new Uint8Array(s),c="";for(let f=0,h=u.length;f<h;f++)c+=String.fromCharCode(u[f]);return _t(19,i,ra(btoa(c)),_,_,_,_,_,Yu(n,5),_,_,_)}function Q1(n,i){return{base:N1(n,i),child:void 0}}var V1=class{constructor(n,i){this._p=n,this.depth=i}parse(n){return It(this._p,this.depth,n)}};async function X1(n,i,s){let u=[];for(let c=0,f=s.length;c<f;c++)c in s?u[c]=await It(n,i,s[c]):u[c]=0;return u}async function K1(n,i,s,u){return Jb(s,u,await X1(n,i,u))}async function Kc(n,i,s){let u=Object.entries(s),c=[],f=[];for(let h=0,m=u.length;h<m;
11h++)c.push(ra(u[h][0])),f.push(await It(n,i,u[h][1]));return Mn in s&&(c.push(La(n.base,Mn)),f.push(e1(B1(n.base),await It(n,i,T1(s))))),xn in s&&(c.push(La(n.base,xn)),f.push(n1(H1(n.base),await It(n,i,z1(s))))),Ll in s&&(c.push(La(n.base,Ll)),f.push(Kp(s[Ll]))),Dl in s&&(c.push(La(n.base,Dl)),f.push(s[Dl]?qp:Gp)),{k:c,v:f}}async function pc(n,i,s,u,c){return q1(s,u,c,await Kc(n,i,u))}async function Z1(n,i,s,u){return Pb(s,await It(n,i,u.valueOf()))}async function J1(n,i,s,u){return Fb(s,u,await It(n,i,u.buffer))}async function P1(n,i,s,u){return kb(s,u,await It(n,i,u.buffer))}async function F1(n,i,s,u){return Ib(s,u,await It(n,i,u.buffer))}async function Cy(n,i,s,u){let c=Vp(u,n.base.features);return Wb(s,u,c?await Kc(n,i,c):_)}async function k1(n,i,s,u){let c=Vp(u,n.base.features);return $b(s,u,c?await Kc(n,i,c):_)}async function I1(n,i,s,u){let c=[],f=[];for(let[h,m]of u.entries())c.push(await It(n,i,h)),f.push(await It(n,i,m));return G1(n.base,s,c,f)}async function W1(n,i,s,u){let c=[];for(let f of u.keys())c.push(await It(n,i,f));return t1(s,c)}async function kp(n,i,s,u){let c=n.base.plugins;if(c)for(let f=0,h=c.length;f<h;f++){let m=c[f];if(m.parse.async&&m.test(u))return Zb(s,m.tag,await m.parse.async(u,new V1(n,i),{id:s}))}return _}async function $1(n,i,s,u){let[c,f]=await U1(u);return _t(12,s,c,_,_,_,_,_,await It(n,i,f),_,_,_)}function t_(n,i,s,u,c){let f=[],h=s.on({next:m=>{Au(this.base,i),It(this,n,m).then(g=>{f.push(l1(i,g))},g=>{c(g),h()})},throw:m=>{Au(this.base,i),It(this,n,m).then(g=>{f.push(i1(i,g)),u(f),h()},g=>{c(g),h()})},return:m=>{Au(this.base,i),It(this,n,m).then(g=>{f.push(s1(i,g)),u(f),h()},g=>{c(g),h()})}})}async function e_(n,i,s,u){return a1(s,Yu(n.base,4),await new Promise(t_.bind(n,i,s,u)))}async function n_(n,i,s,u){let c=[];for(let f=0,h=u.v.length;f<h;f++)c[f]=await It(n,i,u.v[f]);return u1(s,c,u.t,u.d)}async function a_(n,i,s,u){if(Array.isArray(u))return K1(n,i,s,u);if(w1(u))return e_(n,i,s,u);if(R1(u))return n_(n,i,s,u);let c=u.constructor;if(c===g1)return It(n,i,u.replacement);let f=await kp(n,i,s,u);if(f)return f;switch(c){case Object:return pc(n,i,s,u,!1);case _:return pc(n,i,s,u,!0);case Date:return Qb(s,u);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Cy(n,i,s,u);case Number:case Boolean:case String:case BigInt:return Z1(n,i,s,u);case ArrayBuffer:return Y1(n.base,s,u);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return J1(n,i,s,u);case DataView:return F1(n,i,s,u);case Map:return I1(n,i,s,u);case Set:return W1(n,i,s,u)}if(c===Promise||u instanceof Promise)return $1(n,i,s,u);let h=n.base.features;if(h&32&&c===RegExp)return Vb(s,u);if(h&16)switch(c){case BigInt64Array:case BigUint64Array:return P1(n,i,s,u)}if(h&1&&typeof AggregateError<"u"&&(c===AggregateError||u instanceof AggregateError))return k1(n,i,s,u);if(u instanceof Error)return Cy(n,i,s,u);if(Mn in u||xn in u)return pc(n,i,s,u,!!c);throw new Hu(u)}async function l_(n,i,s){let u=Xc(n.base,s);if(u.type!==0)return u.value;
11let c=await kp(n,i,u.value,s);if(c)return c;throw new Hu(s)}async function It(n,i,s){switch(typeof s){case"boolean":return s?qp:Gp;case"undefined":return Mb;case"string":return Kp(s);case"number":return qb(s);case"bigint":return Gb(s);case"object":{if(s){let u=Xc(n.base,s);return u.type===0?await a_(n,i+1,u.value,s):u.value}return Ob}case"symbol":return La(n.base,s);case"function":return l_(n,i,s);default:throw new Hu(s)}}async function i_(n,i){try{return await It(n,0,i)}catch(s){throw s instanceof Oy?s:new Oy(s)}}var s_=(n=>(n[n.Vanilla=1]="Vanilla",n[n.Cross=2]="Cross",n))(s_||{});function Ip(n,i){for(let s=0,u=i.length;s<u;s++){let c=i[s];n.has(c)||(n.add(c),c.extends&&Ip(n,c.extends))}}function Wp(n){if(n){let i=new Set;return Ip(i,n),[...i]}}function u_(n){switch(n){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new y1(n)}}var r_=1e6,o_=1e4,c_=2e4;function $p(n,i){switch(i){case 3:return Object.freeze(n);case 1:return Object.preventExtensions(n);case 2:return Object.seal(n);default:return n}}var f_=1e3;function d_(n,i){var s;let u=i.refs||new Map;return"types"in u||Object.assign(u,{types:new Map}),{mode:n,plugins:i.plugins,refs:u,features:(s=i.features)!=null?s:63^(i.disabledFeatures||0),depthLimit:i.depthLimit||f_}}function h_(n){return{mode:2,base:d_(2,n),child:_}}var m_=class{constructor(n,i){this._p=n,this.depth=i}deserialize(n){return Dt(this._p,this.depth,n)}};function tg(n,i){if(i<0||!Number.isFinite(i)||!Number.isInteger(i))throw new Cn({t:4,i});if(n.refs.has(i))throw new Error("Conflicted ref id: "+i)}function y_(n,i,s){return tg(n.base,i),n.state.marked.has(i)&&n.base.refs.set(i,s),s}function p_(n,i,s){return tg(n.base,i),n.base.refs.set(i,s),s}function Wt(n,i,s){return n.mode===1?y_(n,i,s):p_(n,i,s)}function zc(n,i,s){if(Object.hasOwn(i,s))return i[s];throw new Cn(n)}function g_(n,i){return Wt(n,i.i,Bb(oa(i.s)))}function v_(n,i,s){let u=s.a,c=u.length,f=Wt(n,s.i,new Array(c));for(let h=0,m;h<c;h++)m=u[h],m&&(f[h]=Dt(n,i,m));return $p(f,s.o),f}function S_(n){switch(n){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function b_(n){switch(n){case xn:case Dl:case Ll:case Mn:return!0;default:return!1}}function wy(n,i,s){S_(i)?n[i]=s:Object.defineProperty(n,i,{value:s,configurable:!0,enumerable:!0,writable:!0})}function __(n,i,s,u,c){if(typeof u=="string")wy(s,oa(u),Dt(n,i,c));else{let f=Dt(n,i,u);switch(typeof f){case"string":wy(s,f,Dt(n,i,c));break;case"symbol":b_(f)&&(s[f]=Dt(n,i,c));break;default:throw new Cn(u)}}}function eg(n,i,s){n.base.refs.types.set(i,s)}function Ji(n,i,s,u){if(n.base.refs.types.get(s)!==u)throw new Cn(i)}function ng(n,i,s,u){let c=s.k;if(c.length>0)for(let f=0,h=s.v,m=c.length;f<m;f++)__(n,i,u,c[f],h[f]);return u}function E_(n,i,s){let u=Wt(n,s.i,s.t===10?{}:Object.create(null));return ng(n,i,s.p,u),$p(u,s.o),u}function R_(n,i){return Wt(n,i.i,new Date(i.s))}function T_(n,i){if(n.base.features&32){let s=oa(i.c);if(s.length>c_)throw new Cn(i);return Wt(n,i.i,new RegExp(s,i.m))}throw new Jp(i)}function A_(n,i,s){let u=Wt(n,s.i,new Set);for(let c=0,f=s.a,h=f.length;c<h;c++)u.add(Dt(n,i,f[c]));return u}function x_(n,i,s){let u=Wt(n,s.i,new Map);for(let c=0,f=s.e.k,h=s.e.v,m=f.length;c<m;c++)u.set(Dt(n,i,f[c]),Dt(n,i,h[c]));return u}function M_(n,i){if(i.s.length>r_)throw new Cn(i);return Wt(n,i.i,Pp(oa(i.s)))}function O_(n,i,s){var u;let c=u_(s.c),f=Dt(n,i,s.f),h=(u=s.b)!=null?u:0;if(h<0||h>f.byteLength)throw new Cn(s);return Wt(n,s.i,new c(f,h,s.l))}function C_(n,i,s){var u;let c=Dt(n,i,s.f),f=(u=s.b)!=null?u:0;if(f<0||f>c.byteLength)throw new Cn(s);return Wt(n,s.i,new DataView(c,f,s.l))}function ag(n,i,s,u){if(s.p){let c=ng(n,i,s.p,{});Object.defineProperties(u,Object.getOwnPropertyDescriptors(c))}return u}function w_(n,i,s){let u=Wt(n,s.i,new AggregateError([],oa(s.m)));return ag(n,i,s,u)}function z_(n,i,s){let u=zc(s,xb,s.s),c=Wt(n,s.i,new u(oa(s.m)));return ag(n,i,s,c)}function D_(n,i,s){let u=qu(),c=Wt(n,s.i,u.p),f=Dt(n,i,s.f);return s.s?u.s(f):u.f(f),c}function L_(n,i,s){return Wt(n,s.i,Object(Dt(n,i,s.f)))}function U_(n,i,s){let u=n.base.plugins;if(u){let c=oa(s.c);for(let f=0,h=u.length;f<h;f++){let m=u[f];if(m.tag===c)return Wt(n,s.i,m.deserialize(s.s,new m_(n,i),{id:s.i}))}}throw new d1(s.c)}function N_(n,i){let s=Wt(n,i.i,Wt(n,i.s,qu()).p);return eg(n,i.s,22),s}function j_(n,i,s){let u=n.base.refs.get(s.i);if(u)return Ji(n,s,s.i,22),u.s(Dt(n,i,s.a[1])),_;throw new Zi("Promise")}function B_(n,i,s){let u=n.base.refs.get(s.i);if(u)return Ji(n,s,s.i,22),u.f(Dt(n,i,s.a[1])),_;throw new Zi("Promise")}function H_(n,i,s){Dt(n,i,s.a[0]);let u=Dt(n,i,s.a[1]);return x1(u)}function q_(n,i,s){Dt(n,i,s.a[0]);let u=Dt(n,i,s.a[1]);return L1(u)}function G_(n,i,s){let u=Wt(n,s.i,Ba());eg(n,s.i,31);let c=s.a,f=c.length;if(f)for(let h=0;h<f;h++)Dt(n,i,c[h]);return u}function Y_(n,i,s){let u=n.base.refs.get(s.i);if(u)return Ji(n,s,s.i,31),u.next(Dt(n,i,s.f)),_;throw new Zi("Stream")}function Q_(n,i,s){let u=n.base.refs.get(s.i);if(u)return Ji(n,s,s.i,31),u.throw(Dt(n,i,s.f)),_;throw new Zi("Stream")}function V_(n,i,s){let u=n.base.refs.get(s.i);if(u)return Ji(n,s,s.i,31),u.return(Dt(n,i,s.f)),_;throw new Zi("Stream")}function X_(n,i,s){return Dt(n,i,s.f),_}function K_(n,i,s){return Dt(n,i,s.a[1]),_}function Z_(n,i,s){let u=Wt(n,s.i,Fp([],s.s,s.l));for(let c=0,f=s.a.length;c<f;c++)u.v[c]=Dt(n,i,s.a[c]);return u}function Dt(n,i,s){if(i>n.base.depthLimit)throw new p1(n.base.depthLimit);switch(i+=1,s.t){case 2:return zc(s,Tb,s.s);case 0:return Number(s.s);case 1:return oa(String(s.s));case 3:if(String(s.s).length>o_)throw new Cn(s);return BigInt(s.s);case 4:return n.base.refs.get(s.i);case 18:return g_(n,s);case 9:return v_(n,i,s);case 10:case 11:return E_(n,i,s);case 5:return R_(n,s);case 6:return T_(n,s);case 7:return A_(n,i,s);case 8:return x_(n,i,s);case 19:return M_(n,s);case 16:case 15:return O_(n,i,s);case 20:return C_(n,i,s);case 14:return w_(n,i,s);case 13:return z_(n,i,s);case 12:return D_(n,i,s);case 17:return zc(s,Rb,s.s);case 21:return L_(n,i,s);case 25:return U_(n,i,s);case 22:return N_(n,s);case 23:return j_(n,i,s);case 24:return B_(n,i,s);case 28:return H_(n,i,s);case 30:return q_(n,i,s);case 31:return G_(n,i,s);case 32:return Y_(n,i,s);case 33:return Q_(n,i,s);case 34:return V_(n,i,s);case 27:return X_(n,i,s);case 29:return K_(n,i,s);case 35:return Z_(n,i,s);default:throw new Jp(s)}}function J_(n,i){try{return Dt(n,0,i)}catch(s){throw new f1(s)}}var P_=()=>T;P_.toString();function zy(n,i){let s=Wp(i.plugins),u=h_({plugins:s,refs:i.refs,features:i.features,disabledFeatures:i.disabledFeatures,depthLimit:i.depthLimit});return J_(u,n)}async function F_(n,i={}){let s=Wp(i.plugins),u=Q1(1,{plugins:s,disabledFeatures:i.disabledFeatures});return{t:await i_(u,n),f:u.base.features,m:Array.from(u.base.marked)}}function k_(n){return{tag:"$TSR/t/"+n.key,test:n.test,parse:{sync(i,s,u){return{v:s.parse(n.toSerializable(i))}},async async(i,s,u){return{v:await s.parse(n.toSerializable(i))}},stream(i,s,u){return{v:s.parse(n.toSerializable(i))}}},serialize:void 0,deserialize(i,s,u){return n.fromSerializable(s.deserialize(i.v))}}}var I_=class{constructor(n,i){this.stream=n,this.hint=i?.hint??"binary"}};const Du=globalThis.Buffer,lg=!!Du&&typeof Du.from=="function";function ig(n){if(n.length===0)return"";if(lg)return Du.from(n).toString("base64");const i=32768,s=[];for(let u=0;u<n.length;u+=i){const c=n.subarray(u,u+i);s.push(String.fromCharCode.apply(null,c))}return btoa(s.join(""))}function sg(n){if(n.length===0)return new Uint8Array(0);if(lg){const u=Du.from(n,"base64");return new Uint8Array(u.buffer,u.byteOffset,u.byteLength)}const i=atob(n),s=new Uint8Array(i.length);for(let u=0;u<i.length;u++)s[u]=i.charCodeAt(u);return s}const Li=Object.create(null),Ui=Object.create(null),W_=n=>new ReadableStream({start(i){n.on({next(s){try{i.enqueue(sg(s))}catch{}},throw(s){i.error(s)},return(){try{i.close()}catch{}}})}}),$_=new TextEncoder,tE=n=>new ReadableStream({start(i){n.on({next(s){try{typeof s=="string"?i.enqueue($_.encode(s)):i.enqueue(sg(s.$b64))}catch{}},throw(s){i.error(s)},return(){try{i.close()}catch{}}})}}),eE="(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;
11i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",nE="(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})";function Dy(n){const i=Ba(),s=n.getReader();return(async()=>{try{for(;;){const{done:u,value:c}=await s.read();if(u){i.return(void 0);break}i.next(ig(c))}}catch(u){i.throw(u)}finally{s.releaseLock()}})(),i}function Ly(n){const i=Ba(),s=n.getReader(),u=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:c,value:f}=await s.read();if(c){try{const h=u.decode();h.length>0&&i.next(h)}catch{}i.return(void 0);break}try{const h=u.decode(f,{stream:!0});h.length>0&&i.next(h)}catch{i.next({$b64:ig(f)})}}}catch(c){i.throw(c)}finally{s.releaseLock()}})(),i}const aE={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(n){return n===Li},parse:{sync(n,i,s){return{}},async async(n,i,s){return{}},stream(n,i,s){return{}}},serialize(n,i,s){return eE},deserialize(n,i,s){return Li}},{tag:"tss/RawStreamFactoryText",test(n){return n===Ui},parse:{sync(n,i,s){return{}},async async(n,i,s){return{}},stream(n,i,s){return{}}},serialize(n,i,s){return nE},deserialize(n,i,s){return Ui}}],test(n){return n instanceof I_},parse:{sync(n,i,s){const u=n.hint==="text"?Ui:Li;return{hint:i.parse(n.hint),factory:i.parse(u),stream:i.parse(Ba())}},async async(n,i,s){const u=n.hint==="text"?Ui:Li,c=n.hint==="text"?Ly(n.stream):Dy(n.stream);return{hint:await i.parse(n.hint),factory:await i.parse(u),stream:await i.parse(c)}},stream(n,i,s){const u=n.hint==="text"?Ui:Li,c=n.hint==="text"?Ly(n.stream):Dy(n.stream);return{hint:i.parse(n.hint),factory:i.parse(u),stream:i.parse(c)}}},serialize(n,i,s){return"("+i.serialize(n.factory)+")("+i.serialize(n.stream)+")"},deserialize(n,i,s){const u=i.deserialize(n.stream);return i.deserialize(n.hint)==="text"?tE(u):W_(u)}};function lE(n){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(i,s,u){return n(typeof s?.deserialize=="function"?s.deserialize(i.streamId):i.streamId)}}}const iE={tag:"$TSR/Error",test(n){return n instanceof Error},parse:{sync(n,i){return{message:i.parse(n.message)}},async async(n,i){return{message:await i.parse(n.message)}},stream(n,i){return{message:i.parse(n.message)}}},serialize(n,i){return"new Error("+i.serialize(n.message)+")"},deserialize(n,i){return new Error(i.deserialize(n.message))}};var aa={},ug=n=>new ReadableStream({start:i=>{n.on({next:s=>{try{i.enqueue(s)}catch{}},throw:s=>{i.error(s)},return:()=>{try{i.close()}catch{}}})}}),sE={tag:"seroval-plugins/web/ReadableStreamFactory",test(n){return n===aa},parse:{sync(){return aa},async async(){return await Promise.resolve(aa)},stream(){return aa}},serialize(){return ug.toString()},deserialize(){return aa}};function Uy(n){let i=Ba(),s=n.getReader();async function u(){try{let c=await s.read();c.done?i.return(c.value):(i.next(c.value),await u())}catch(c){i.throw(c)}}return u().catch(()=>{}),i}var uE={tag:"seroval/plugins/web/ReadableStream",extends:[sE],test(n){return typeof ReadableStream>"u"?!1:n instanceof ReadableStream},parse:{sync(n,i){return{factory:i.parse(aa),stream:i.parse(Ba())}},async async(n,i){return{factory:await i.parse(aa),stream:await i.parse(Uy(n))}},stream(n,i){return{factory:i.parse(aa),stream:i.parse(Uy(n))}}},serialize(n,i){return"("+i.serialize(n.factory)+")("+i.serialize(n.stream)+")"},deserialize(n,i){let s=i.deserialize(n.stream);return ug(s)}},rE=uE;const oE=[iE,aE,rE];function cE(){return[...op()?.serializationAdapters?.map(k_)??[],...oE]}var Ny=new TextDecoder,fE=new Uint8Array(0),jy=16*1024*1024,By=32*1024*1024,Hy=1024,qy=1e5;function dE(n){const i=new Map,s=new Map,u=new Set;let c=!1,f=null,h=0,m;const g=new ReadableStream({start(p){m=p},cancel(){c=!0;try{f?.cancel()}catch{}i.forEach(p=>{try{p.error(new Error("Framed response cancelled"))}catch{}}),i.clear(),s.clear(),u.clear()}});function y(p){const b=s.get(p);if(b)return b;
11if(u.has(p))return new ReadableStream({start(x){x.close()}});if(s.size>=Hy)throw new Error(`Too many raw streams in framed response (max ${Hy})`);const E=new ReadableStream({start(x){i.set(p,x)},cancel(){u.add(p),i.delete(p),s.delete(p)}});return s.set(p,E),E}function S(p){return y(p),i.get(p)}return(async()=>{const p=n.getReader();f=p;const b=[];let E=0;function x(){if(E<9)return null;const R=b[0];if(R.length>=9)return{type:R[0],streamId:(R[1]<<24|R[2]<<16|R[3]<<8|R[4])>>>0,length:(R[5]<<24|R[6]<<16|R[7]<<8|R[8])>>>0};const C=new Uint8Array(9);let N=0,Y=9;for(let X=0;X<b.length&&Y>0;X++){const Z=b[X],F=Math.min(Z.length,Y);C.set(Z.subarray(0,F),N),N+=F,Y-=F}return{type:C[0],streamId:(C[1]<<24|C[2]<<16|C[3]<<8|C[4])>>>0,length:(C[5]<<24|C[6]<<16|C[7]<<8|C[8])>>>0}}function z(R){if(R===0)return fE;const C=new Uint8Array(R);let N=0,Y=R;for(;Y>0&&b.length>0;){const X=b[0];if(!X)break;const Z=Math.min(X.length,Y);C.set(X.subarray(0,Z),N),N+=Z,Y-=Z,Z===X.length?b.shift():b[0]=X.subarray(Z)}return E-=R,C}try{for(;;){const{done:R,value:C}=await p.read();if(c||R)break;if(C){if(E+C.length>By)throw new Error(`Framed response buffer exceeded ${By} bytes`);for(b.push(C),E+=C.length;;){const N=x();if(!N)break;const{type:Y,streamId:X,length:Z}=N;if(Y!==Tn.JSON&&Y!==Tn.CHUNK&&Y!==Tn.END&&Y!==Tn.ERROR)throw new Error(`Unknown frame type: ${Y}`);if(Y===Tn.JSON){if(X!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(X===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(Z>jy)throw new Error(`Frame payload too large: ${Z} bytes (max ${jy})`);const F=9+Z;if(E<F)break;if(++h>qy)throw new Error(`Too many frames in framed response (max ${qy})`);z(9);const q=z(Z);switch(Y){case Tn.JSON:try{m.enqueue(Ny.decode(q))}catch{}break;case Tn.CHUNK:{const K=S(X);K&&K.enqueue(q);break}case Tn.END:{const K=S(X);if(u.add(X),K){try{K.close()}catch{}i.delete(X)}break}case Tn.ERROR:{const K=S(X);if(u.add(X),K){const I=Ny.decode(q);K.error(new Error(I)),i.delete(X)}break}}}}}if(E!==0)throw new Error("Incomplete frame at end of framed response");try{m.close()}catch{}i.forEach(R=>{try{R.close()}catch{}}),i.clear()}catch(R){try{m.error(R)}catch{}i.forEach(C=>{try{C.error(R)}catch{}}),i.clear()}finally{try{p.releaseLock()}catch{}f=null}})(),{getOrCreateStream:y,jsonChunks:g}}var Qi=null;async function Dc(n){n.length>0&&await Promise.allSettled(n)}var hE=Object.prototype.hasOwnProperty;function rg(n){for(const i in n)if(hE.call(n,i))return!0;return!1}async function mE(n,i,s){Qi||(Qi=cE());const u=i[0],c=u.fetch??s,f=u.data instanceof FormData?"formData":"payload",h=u.headers?new Headers(u.headers):new Headers;if(h.set("x-tsr-serverFn","true"),f==="payload"&&h.set("accept",`${oS}, application/x-ndjson, application/json`),u.method==="GET"){if(f==="formData")throw new Error("FormData is not supported with GET requests");const g=await og(u);if(g!==void 0){const y=Sp({payload:g});n.includes("?")?n+=`&${y}`:n+=`?${y}`}}let m;if(u.method==="POST"){const g=await yE(u);g?.contentType&&h.set("content-type",g.contentType),m=g?.body}return await pE(async()=>c(n,{method:u.method,headers:h,signal:u.signal,body:m}))}async function og(n){let i=!1;const s={};if(n.data!==void 0&&(i=!0,s.data=n.data),n.context&&rg(n.context)&&(i=!0,s.context=n.context),i)return cg(s)}async function cg(n){return JSON.stringify(await Promise.resolve(F_(n,{plugins:Qi})))}async function yE(n){if(n.data instanceof FormData){let s;return n.context&&rg(n.context)&&(s=await cg(n.context)),s!==void 0&&n.data.set(rS,s),{body:n.data}}const i=await og(n);if(i)return{body:i,contentType:"application/json"}}async function pE(n){let i;try{i=await n()}catch(u){if(u instanceof Response)i=u;else throw console.log(u),u}if(i.headers.get("x-tss-raw")==="true")return i;const s=i.headers.get("content-type");if(s||Re(),i.headers.get("x-tss-serialized")){let u;if(s.includes("application/x-tss-framed")){if(dS(s),!i.body)throw new Error("No response body for framed response");const{getOrCreateStream:c,jsonChunks:f}=dE(i.body),h=[lE(c),...Qi||[]],m=new Map;u=await gE({jsonStream:f,onMessage:g=>zy(g,{refs:m,plugins:h}),onError(g,y){console.error(g,y)}})}else if(s.includes("application/json")){const c=await i.json(),f=[];u=zy(c,{plugins:Qi}),await Dc(f)}if(u||Re(),u instanceof Error)throw u;return u}if(s.includes("application/json")){const u=await i.json(),c=YS(u);if(c)throw c;if(ne(u))throw u;return u}if(!i.ok)throw new Error(await i.text());return i}async function gE({jsonStream:n,onMessage:i,onError:s}){const u=n.getReader(),{value:c,done:f}=await u.read();if(f||!c)throw new Error("Stream ended before first object");const h=JSON.parse(c);let m=!1;const g=(async()=>{try{for(;;){const{value:p,done:b}=await u.read();if(b)break;
11if(p)try{const E=[];try{i(JSON.parse(p))}finally{}await Dc(E)}catch(E){s?.(`Invalid JSON: ${p}`,E)}}}catch(p){m||s?.("Stream processing error:",p)}})();let y;const S=[];try{y=i(h)}catch(p){throw m=!0,u.cancel().catch(()=>{}),p}return await Dc(S),Promise.resolve(y).catch(()=>{m=!0,u.cancel().catch(()=>{})}),g.finally(()=>{try{u.releaseLock()}catch{}}),y}function vE(n){const i="/_serverFn/"+n;return Object.assign((...c)=>{const f=op()?.serverFns?.fetch;return mE(i,c,f??fetch)},{url:i,serverFnMeta:{id:n},[xc]:!0})}var SE={key:"$TSS/serverfn",test:n=>typeof n!="function"||!(xc in n)?!1:!!n[xc],toSerializable:({serverFnMeta:n})=>({functionId:n.id}),fromSerializable:({functionId:n})=>vE(n)};function Gy(n){return n.replaceAll("\0","/").replaceAll("�","/")}function bE(n,i){n.id=i.i,n.__beforeLoadContext=i.b,n.loaderData=i.l,n.status=i.s,n.ssr=i.ssr,n.updatedAt=i.u,n.error=i.e,i.g!==void 0&&(n.globalNotFound=i.g)}async function _E(n){window.$_TSR||Re();const i=n.options.serializationAdapters;if(i?.length){const R=new Map;i.forEach(C=>{R.set(C.key,C.fromSerializable)}),window.$_TSR.t=R,window.$_TSR.buffer.forEach(C=>C())}window.$_TSR.initialized=!0,window.$_TSR.router||Re();const s=window.$_TSR.router;s.matches.forEach(R=>{R.i=Gy(R.i)}),s.lastMatchId&&(s.lastMatchId=Gy(s.lastMatchId));const{manifest:u,dehydratedData:c,lastMatchId:f}=s;n.ssr={manifest:u};const h=document.querySelector('meta[property="csp-nonce"]')?.content;n.options.ssr={nonce:h},await n.options.hydrate?.(c);const m=n.matchRoutes(n.stores.location.get()),g=Promise.all(m.map(R=>n.loadRouteChunk(n.looseRoutesById[R.routeId])));function y(R){const C=n.looseRoutesById[R.routeId].options.pendingMinMs??n.options.defaultPendingMinMs;if(C){const N=ja();R._nonReactive.minPendingPromise=N,R._forcePending=!0,setTimeout(()=>{N.resolve(),n.updateMatch(R.id,Y=>(Y._nonReactive.minPendingPromise=void 0,{...Y,_forcePending:void 0}))},C)}}function S(R){const C=n.looseRoutesById[R.routeId];C&&(C.options.ssr=R.ssr)}let p;m.forEach(R=>{const C=s.matches.find(N=>N.i===R.id);if(!C){R._nonReactive.dehydrated=!1,R.ssr=!1,S(R);return}bE(R,C),S(R),R._nonReactive.dehydrated=R.ssr!==!1,(R.ssr==="data-only"||R.ssr===!1)&&p===void 0&&(p=R.index,y(R))}),n.stores.setMatches(m);const b=n.stores.matches.get(),E=n.stores.location.get();await Promise.all(b.map(async R=>{try{const C=n.looseRoutesById[R.routeId],N=b[R.index-1]?.context??n.options.context;if(C.options.context){const F={deps:R.loaderDeps,params:R.params,context:N??{},location:E,navigate:q=>n.navigate({...q,_fromLocation:E}),buildLocation:n.buildLocation,cause:R.cause,abortController:R.abortController,preload:!1,matches:m,routeId:C.id};R.__routeContext=C.options.context(F)??void 0}R.context={...N,...R.__routeContext,...R.__beforeLoadContext};const Y={ssr:n.options.ssr,matches:b,match:R,params:R.params,loaderData:R.loaderData},X=await C.options.head?.(Y),Z=await C.options.scripts?.(Y);R.meta=X?.meta,R.links=X?.links,R.headScripts=X?.scripts,R.styles=X?.styles,R.scripts=Z}catch(C){if(ne(C))R.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${R.routeId}`,C);else throw R.error=C,console.error(`Error during hydration for route ${R.routeId}:`,C),C}}));const x=m[m.length-1].id!==f;if(!m.some(R=>R.ssr===!1)&&!x)return m.forEach(R=>{R._nonReactive.dehydrated=void 0}),n.stores.resolvedLocation.set(n.stores.location.get()),g;const z=Promise.resolve().then(()=>n.load()).catch(R=>{console.error("Error during router hydration:",R)});if(x){const R=m[1];R||Re(),y(R),R._displayPending=!0,R._nonReactive.displayPendingPromise=z,z.then(()=>{n.batch(()=>{n.stores.status.get()==="pending"&&(n.stores.status.set("idle"),n.stores.resolvedLocation.set(n.stores.location.get())),n.updateMatch(R.id,C=>({...C,_displayPending:void 0,displayPendingPromise:void 0}))})})}return g}var Lu=et.use,ji=typeof window<"u"?et.useLayoutEffect:et.useEffect;function gc(n){const i=et.useRef({value:n,prev:null}),s=i.current.value;return n!==s&&(i.current={value:n,prev:s}),i.current.prev}function EE(n,i,s={},u={}){et.useEffect(()=>{if(!n.current||u.disabled||typeof IntersectionObserver!="function")return;const c=new IntersectionObserver(([f])=>{i(f)},s);return c.observe(n.current),()=>{c.disconnect()}},[i,s,u.disabled,n])}function RE(n){const i=et.useRef(null);return et.useImperativeHandle(n,()=>i.current,[]),i}function TE({promise:n}){if(Lu)return Lu(n);const i=yb(n);if(i[en].status==="pending")throw i;if(i[en].status==="error")throw i[en].error;return i[en].data}function AE(n){const i=J.jsx(xE,{...n});
11return n.fallback?J.jsx(et.Suspense,{fallback:n.fallback,children:i}):i}function xE(n){const i=TE(n);return n.children(i)}function Zc(n){const i=n.errorComponent??Jc;return J.jsx(ME,{getResetKey:n.getResetKey,onCatch:n.onCatch,children:({error:s,reset:u})=>s?et.createElement(i,{error:s,reset:u}):n.children})}var ME=class extends et.Component{constructor(...n){super(...n),this.state={error:null}}static getDerivedStateFromProps(n,i){const s=n.getResetKey();return i.error&&i.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(n){return{error:n}}reset(){this.setState({error:null})}componentDidCatch(n,i){this.props.onCatch&&this.props.onCatch(n,i)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Jc({error:n}){const[i,s]=et.useState(!1);return J.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[J.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[J.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),J.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(u=>!u),children:i?"Hide Error":"Show Error"})]}),J.jsx("div",{style:{height:".25rem"}}),i?J.jsx("div",{children:J.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:n.message?J.jsx("code",{children:n.message}):null})}):null]})}function OE({children:n,fallback:i=null}){return Pc()?J.jsx(Bi.Fragment,{children:n}):J.jsx(Bi.Fragment,{children:i})}function Pc(){return Bi.useSyncExternalStore(CE,()=>!0,()=>!1)}function CE(){return()=>{}}var fg=et.createContext(null);function oe(n){return et.useContext(fg)}var Qu=et.createContext(void 0),wE=et.createContext(void 0),Ht=(n=>(n[n.None=0]="None",n[n.Mutable=1]="Mutable",n[n.Watching=2]="Watching",n[n.RecursedCheck=4]="RecursedCheck",n[n.Recursed=8]="Recursed",n[n.Dirty=16]="Dirty",n[n.Pending=32]="Pending",n))(Ht||{});function zE({update:n,notify:i,unwatched:s}){return{link:u,unlink:c,propagate:f,checkDirty:h,shallowPropagate:m};function u(y,S,p){const b=S.depsTail;if(b!==void 0&&b.dep===y)return;const E=b!==void 0?b.nextDep:S.deps;if(E!==void 0&&E.dep===y){E.version=p,S.depsTail=E;return}const x=y.subsTail;if(x!==void 0&&x.version===p&&x.sub===S)return;const z=S.depsTail=y.subsTail={version:p,dep:y,sub:S,prevDep:b,nextDep:E,prevSub:x,nextSub:void 0};E!==void 0&&(E.prevDep=z),b!==void 0?b.nextDep=z:S.deps=z,x!==void 0?x.nextSub=z:y.subs=z}function c(y,S=y.sub){const p=y.dep,b=y.prevDep,E=y.nextDep,x=y.nextSub,z=y.prevSub;return E!==void 0?E.prevDep=b:S.depsTail=b,b!==void 0?b.nextDep=E:S.deps=E,x!==void 0?x.prevSub=z:p.subsTail=z,z!==void 0?z.nextSub=x:(p.subs=x)===void 0&&s(p),E}function f(y){let S=y.nextSub,p;t:do{const b=y.sub;let E=b.flags;if(E&60?E&12?E&4?!(E&48)&&g(y,b)?(b.flags=E|40,E&=1):E=0:b.flags=E&-9|32:E=0:b.flags=E|32,E&2&&i(b),E&1){const x=b.subs;if(x!==void 0){const z=(y=x).nextSub;z!==void 0&&(p={value:S,prev:p},S=z);continue}}if((y=S)!==void 0){S=y.nextSub;continue}for(;p!==void 0;)if(y=p.value,p=p.prev,y!==void 0){S=y.nextSub;continue t}break}while(!0)}function h(y,S){let p,b=0,E=!1;t:do{const x=y.dep,z=x.flags;if(S.flags&16)E=!0;else if((z&17)===17){if(n(x)){const R=x.subs;R.nextSub!==void 0&&m(R),E=!0}}else if((z&33)===33){(y.nextSub!==void 0||y.prevSub!==void 0)&&(p={value:y,prev:p}),y=x.deps,S=x,++b;continue}if(!E){const R=y.nextDep;if(R!==void 0){y=R;continue}}for(;b--;){const R=S.subs,C=R.nextSub!==void 0;if(C?(y=p.value,p=p.prev):y=R,E){if(n(S)){C&&m(R),S=y.sub;continue}E=!1}else S.flags&=-33;S=y.sub;const N=y.nextDep;if(N!==void 0){y=N;continue t}}return E}while(!0)}function m(y){do{const S=y.sub,p=S.flags;(p&48)===32&&(S.flags=p|16,(p&6)===2&&i(S))}while((y=y.nextSub)!==void 0)}function g(y,S){let p=S.depsTail;for(;p!==void 0;){if(p===y)return!0;p=p.prevDep}return!1}}function DE(n,i,s){const u=typeof n=="object",c=u?n:void 0;return{next:(u?n.next:n)?.bind(c),error:(u?n.error:i)?.bind(c),complete:(u?n.complete:s)?.bind(c)}}const Lc=[];let xu=0;const{link:Yy,unlink:LE,propagate:UE,checkDirty:dg,shallowPropagate:Qy}=zE({update(n){return n._update()},notify(n){Lc[Uc++]=n,n.flags&=~Ht.Watching},unwatched(n){n.depsTail!==void 0&&(n.depsTail=void 0,n.flags=Ht.Mutable|Ht.Dirty,Uu(n))}});let vu=0,Uc=0,tn,Nc=0;function hg(n){try{++Nc,n()}finally{--Nc||mg()}}function Uu(n){const i=n.depsTail;let s=i!==void 0?i.nextDep:n.deps;for(;s!==void 0;)s=LE(s,n)}function mg(){if(!(Nc>0)){for(;vu<Uc;){const n=Lc[vu];Lc[vu++]=void 0,n.notify()}vu=0,Uc=0}}function Vy(n,i){const s=typeof n=="function",u=n,c={_snapshot:s?void 0:n,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?Ht.None:Ht.Mutable,get(){return tn!==void 0&&Yy(c,tn,xu),c._snapshot},subscribe(f){const h=DE(f),m={current:!1},g=NE(()=>{c.get(),m.current?h.next?.(c._snapshot):m.current=!0});return{unsubscribe:()=>{g.stop()}}},_update(f){const h=tn,m=i?.compare??Object.is;if(s)tn=c,++xu,c.depsTail=void 0;else if(f===void 0)return!1;s&&(c.flags=Ht.Mutable|Ht.RecursedCheck);try{const g=c._snapshot,y=typeof f=="function"?f(g):f===void 0&&s?u
11(g):f;return g===void 0||!m(g,y)?(c._snapshot=y,!0):!1}finally{tn=h,s&&(c.flags&=~Ht.RecursedCheck),Uu(c)}}};return s?(c.flags=Ht.Mutable|Ht.Dirty,c.get=function(){const f=c.flags;if(f&Ht.Dirty||f&Ht.Pending&&dg(c.deps,c)){if(c._update()){const h=c.subs;h!==void 0&&Qy(h)}}else f&Ht.Pending&&(c.flags=f&~Ht.Pending);return tn!==void 0&&Yy(c,tn,xu),c._snapshot}):c.set=function(f){if(c._update(f)){const h=c.subs;h!==void 0&&(UE(h),Qy(h),mg())}},c}function NE(n){const i=()=>{const u=tn;tn=s,++xu,s.depsTail=void 0,s.flags=Ht.Watching|Ht.RecursedCheck;try{return n()}finally{tn=u,s.flags&=~Ht.RecursedCheck,Uu(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Ht.Watching|Ht.RecursedCheck,notify(){const u=this.flags;u&Ht.Dirty||u&Ht.Pending&&dg(this.deps,this)?i():this.flags=Ht.Watching},stop(){this.flags=Ht.None,this.depsTail=void 0,Uu(this)}};return i(),s}var vc={exports:{}},Sc={},bc={exports:{}},_c={};var Xy;function jE(){if(Xy)return _c;Xy=1;var n=Ki();function i(p,b){return p===b&&(p!==0||1/p===1/b)||p!==p&&b!==b}var s=typeof Object.is=="function"?Object.is:i,u=n.useState,c=n.useEffect,f=n.useLayoutEffect,h=n.useDebugValue;function m(p,b){var E=b(),x=u({inst:{value:E,getSnapshot:b}}),z=x[0].inst,R=x[1];return f(function(){z.value=E,z.getSnapshot=b,g(z)&&R({inst:z})},[p,E,b]),c(function(){return g(z)&&R({inst:z}),p(function(){g(z)&&R({inst:z})})},[p]),h(E),E}function g(p){var b=p.getSnapshot;p=p.value;try{var E=b();return!s(p,E)}catch{return!0}}function y(p,b){return b()}var S=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:m;return _c.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:S,_c}var Ky;function BE(){return Ky||(Ky=1,bc.exports=jE()),bc.exports}var Zy;function HE(){if(Zy)return Sc;Zy=1;var n=Ki(),i=BE();function s(y,S){return y===S&&(y!==0||1/y===1/S)||y!==y&&S!==S}var u=typeof Object.is=="function"?Object.is:s,c=i.useSyncExternalStore,f=n.useRef,h=n.useEffect,m=n.useMemo,g=n.useDebugValue;return Sc.useSyncExternalStoreWithSelector=function(y,S,p,b,E){var x=f(null);if(x.current===null){var z={hasValue:!1,value:null};x.current=z}else z=x.current;x=m(function(){function C(F){if(!N){if(N=!0,Y=F,F=b(F),E!==void 0&&z.hasValue){var q=z.value;if(E(q,F))return X=q}return X=F}if(q=X,u(Y,F))return q;var K=b(F);return E!==void 0&&E(q,K)?(Y=F,q):(Y=F,X=K)}var N=!1,Y,X,Z=p===void 0?null:p;return[function(){return C(S())},Z===null?void 0:function(){return C(Z())}]},[S,p,b,E]);var R=c(y,x[0],x[1]);return h(function(){z.hasValue=!0,z.value=R},[R]),g(R),R},Sc}var Jy;function qE(){return Jy||(Jy=1,vc.exports=HE()),vc.exports}var GE=qE();function YE(n,i){return n===i}function Yt(n,i,s=YE){const u=et.useCallback(h=>{if(!n)return()=>{};const{unsubscribe:m}=n.subscribe(h);return m},[n]),c=et.useCallback(()=>n?.get(),[n]);return GE.useSyncExternalStoreWithSelector(u,c,c,i,s)}var Ec={get(){},subscribe(){return{unsubscribe(){}}}};function QE(n,i){const s=et.useRef();return u=>{const c=n?.select?n.select(u):u;return n?.structuralSharing??i.options.defaultStructuralSharing?s.current=za(s.current,c):c}}function Ha(n){const i=oe(),s=et.useContext(n.from?wE:Qu),u=n.from?i.stores.getRouteMatchStore(n.from):i.stores.matchStores.get(s),c=QE(n,i),f=Yt(u??Ec,h=>h?c(h):Ec);if(f!==Ec)return f;(n.shouldThrow??!0)&&Re()}function yg(n){return Ha({from:n.from,strict:n.strict,structuralSharing:n.structuralSharing,select:i=>n.select?n.select(i.loaderData):i.loaderData})}function pg(n){const{select:i,...s}=n;return Ha({...s,select:u=>i?i(u.loaderDeps):u.loaderDeps})}function gg(n){return Ha({from:n.from,shouldThrow:n.shouldThrow,structuralSharing:n.structuralSharing,strict:n.strict,select:i=>{const s=n.strict===!1?i.params:i._strictParams;return n.select?n.select(s):s}})}function vg(n){return Ha({from:n.from,strict:n.strict,shouldThrow:n.shouldThrow,structuralSharing:n.structuralSharing,select:i=>n.select?n.select(i.search):i.search})}function Sg(n){const i=oe();return et.useCallback(s=>i.navigate({...s,from:s.from??n?.from}),[n?.from,i])}function bg(n){return Ha({...n,select:i=>n.select?n.select(i.context):i.context})}var VE=rp();function XE(n,i){const s=oe(),u=RE(i),{activeProps:c,inactiveProps:f,activeOptions:h,to:m,preload:g,preloadDelay:y,preloadIntentProximity:S,hashScrollIntoView:p,replace:b,startTransition:E,resetScroll:x,viewTransition:z,children:R,target:C,disabled:N,style:Y,className:X,onClick:Z,onBlur:F,onFocus:q,onMouseEnter:K,onMouseLeave:I,onTouchStart:rt,ignoreBlocker:st,params:it,search:$t,hash:jt,state:Qt,mask:B,reloadDocument:P,unsafeRelative:lt,from:Et,_fromLocation:Tt,...O}=n,Q=Pc(),k=et.useMemo(()=>n,[s,n.from,n._fromLocation,n.hash,n.to,n.search,n.params,n.state,n.mask,n.unsafeRelative]),W=Yt(s.stores.location,Lt=>Lt,(Lt,ae)=>Lt.href===ae.href),nt=et.useMemo(()=>{const Lt={_fromLocation:W,...k};return s.buildLocation(Lt)},[s,W,k]),dt=nt.maskedLocation?nt.maskedLocation.publicHref:nt.publicHref,vt=nt.maskedLocation?nt.maskedLocation.external:nt.external,Vt=et.useMemo(()=>kE(dt,vt,s.history,N),[N,vt,dt,s.history]),wt=et.useMemo(()=>
11{if(Vt?.external)return Ou(Vt.href,s.protocolAllowlist)?void 0:Vt.href;if(!IE(m)&&!(typeof m!="string"||m.indexOf(":")===-1))try{return new URL(m),Ou(m,s.protocolAllowlist)?void 0:m}catch{}},[m,Vt,s.protocolAllowlist]),nn=et.useMemo(()=>{if(wt)return!1;if(h?.exact){if(!LS(W.pathname,nt.pathname,s.basepath))return!1}else{const Lt=Cu(W.pathname,s.basepath),ae=Cu(nt.pathname,s.basepath);if(!(Lt.startsWith(ae)&&(Lt.length===ae.length||Lt[ae.length]==="/")))return!1}return(h?.includeSearch??!0)&&!he(W.search,nt.search,{partial:!h?.exact,ignoreUndefined:!h?.explicitUndefined})?!1:h?.includeHash?Q&&W.hash===nt.hash:!0},[h?.exact,h?.explicitUndefined,h?.includeHash,h?.includeSearch,W,wt,Q,nt.hash,nt.pathname,nt.search,s.basepath]),an=nn?wa(c,{})??KE:Rc,wn=nn?Rc:wa(f,{})??Rc,Ul=[X,an.className,wn.className].filter(Boolean).join(" "),Pe=(Y||an.style||wn.style)&&{...Y,...an.style,...wn.style},[Nl,qa]=et.useState(!1),Fi=et.useRef(!1),ln=n.reloadDocument||wt?!1:g??s.options.defaultPreload,ca=y??s.options.defaultPreloadDelay??0,Ve=et.useCallback(()=>{s.preloadRoute({...k,_builtLocation:nt}).catch(Lt=>{console.warn(Lt),console.warn(pb)})},[s,k,nt]);EE(u,et.useCallback(Lt=>{Lt?.isIntersecting&&Ve()},[Ve]),FE,{disabled:!!N||ln!=="viewport"}),et.useEffect(()=>{Fi.current||!N&&ln==="render"&&(Ve(),Fi.current=!0)},[N,Ve,ln]);const jl=Lt=>{const ae=Lt.currentTarget.getAttribute("target"),Fe=C!==void 0?C:ae;if(!N&&!WE(Lt)&&!Lt.defaultPrevented&&(!Fe||Fe==="_self")&&Lt.button===0){Lt.preventDefault(),VE.flushSync(()=>{qa(!0)});const Ga=s.subscribe("onResolved",()=>{Ga(),qa(!1)});s.navigate({...k,replace:b,resetScroll:x,hashScrollIntoView:p,startTransition:E,viewTransition:z,ignoreBlocker:st})}};if(wt)return{...O,ref:u,href:wt,...R&&{children:R},...C&&{target:C},...N&&{disabled:N},...Y&&{style:Y},...X&&{className:X},...Z&&{onClick:Z},...F&&{onBlur:F},...q&&{onFocus:q},...K&&{onMouseEnter:K},...I&&{onMouseLeave:I},...rt&&{onTouchStart:rt}};const ki=Lt=>{if(N||ln!=="intent")return;if(!ca){Ve();return}const ae=Lt.currentTarget;if(Ni.has(ae))return;const Fe=setTimeout(()=>{Ni.delete(ae),Ve()},ca);Ni.set(ae,Fe)},Xu=Lt=>{N||ln!=="intent"||Ve()},ce=Lt=>{if(N||!ln||!ca)return;const ae=Lt.currentTarget,Fe=Ni.get(ae);Fe&&(clearTimeout(Fe),Ni.delete(ae))};return{...O,...an,...wn,href:Vt?.href,ref:u,onClick:Al([Z,jl]),onBlur:Al([F,ce]),onFocus:Al([q,ki]),onMouseEnter:Al([K,ki]),onMouseLeave:Al([I,ce]),onTouchStart:Al([rt,Xu]),disabled:!!N,target:C,...Pe&&{style:Pe},...Ul&&{className:Ul},...N&&ZE,...nn&&JE,...Q&&Nl&&PE}}var Rc={},KE={className:"active"},ZE={role:"link","aria-disabled":!0},JE={"data-status":"active","aria-current":"page"},PE={"data-transitioning":"transitioning"},Ni=new WeakMap,FE={rootMargin:"100px"},Al=n=>i=>{for(const s of n)if(s){if(i.defaultPrevented)return;s(i)}};function kE(n,i,s,u){if(!u)return i?{href:n,external:!0}:{href:s.createHref(n)||"/",external:!1}}function IE(n){if(typeof n!="string")return!1;const i=n.charCodeAt(0);return i===47?n.charCodeAt(1)!==47:i===46}var Fc=et.forwardRef((n,i)=>{const{_asChild:s,...u}=n,{type:c,...f}=XE(u,i),h=typeof u.children=="function"?u.children({isActive:f["data-status"]==="active"}):u.children;if(!s){const{disabled:m,...g}=f;return et.createElement("a",g,h)}return et.createElement(s,f,h)});function WE(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}var $E=class extends Op{constructor(i){super(i),this.useMatch=s=>Ha({select:s?.select,from:this.id,structuralSharing:s?.structuralSharing}),this.useRouteContext=s=>bg({...s,from:this.id}),this.useSearch=s=>vg({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useParams=s=>gg({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useLoaderDeps=s=>pg({...s,from:this.id}),this.useLoaderData=s=>yg({...s,from:this.id}),this.useNavigate=()=>Sg({from:this.fullPath}),this.Link=Bi.forwardRef((s,u)=>J.jsx(Fc,{ref:u,from:this.fullPath,...s}))}};function tR(n){return new $E(n)}function eR(){return n=>aR(n)}var nR=class extends _b{constructor(n){super(n),this.useMatch=i=>Ha({select:i?.select,from:this.id,structuralSharing:i?.structuralSharing}),this.useRouteContext=i=>bg({...i,from:this.id}),this.useSearch=i=>vg({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useParams=i=>gg({select:i?.select,structuralSharing:i?.structuralSharing,from:this.id}),this.useLoaderDeps=i=>pg({...i,from:this.id}),this.useLoaderData=i=>yg({...i,from:this.id}),this.useNavigate=()=>Sg({from:this.fullPath}),this.Link=Bi.forwardRef((i,s)=>J.jsx(Fc,{ref:s,from:this.fullPath,...i}))}};function aR(n){return new nR(n)}function kc(n){return new lR(n,{silent:!0}).createRoute}var lR=class{constructor(n,i){this.path=n,this.createRoute=s=>{const u=tR(s);return u.isRoot=!1,u},this.silent=i?.silent}};function Ic(n,i){let s,u,c,f;const h=()=>(s||(s=n().then(g=>{s=void 0,u=g[i]}).catch(g=>{if(c=g,yS(c)&&c instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const y=`tanstack_router_reload:${c.message}`;sessionStorage.getItem(y)||(sessionStorage.setItem(y,"1"),f=!0)}})),s),m=function(y){if(f)throw window.location.reload(),new Promise(()=>{});if(c)throw c;if(!u)if(Lu)Lu(h());else throw h();return et.createElement(u,y)};return m.preload=h,m}function iR(n){const i=oe(),s=`not-found-${Yt(i.stores.location,u=>u.pathname)}-${Yt(i.stores.status,u=>u)}`;
11return J.jsx(Zc,{getResetKey:()=>s,onCatch:(u,c)=>{if(ne(u))n.onCatch?.(u,c);else throw u},errorComponent:({error:u})=>{if(ne(u))return n.fallback?.(u);throw u},children:n.children})}function sR(){return J.jsx("p",{children:"Not Found"})}function Ol(n){return J.jsx(J.Fragment,{children:n.children})}function _g(n,i,s){return i.options.notFoundComponent?J.jsx(i.options.notFoundComponent,{...s}):n.options.defaultNotFoundComponent?J.jsx(n.options.defaultNotFoundComponent,{...s}):J.jsx(sR,{})}function uR(n){return null}function rR(){return uR(oe()),null}var oR=(n,i)=>n.routeId===i.routeId&&n._displayPending===i._displayPending,cR=(n,i)=>n[0]===i[0]&&n[1]===i[1],Eg=et.memo(function({matchId:i}){const s=oe(),u=s.stores.matchStores.get(i);u||Re();const c=Yt(s.stores.loadedAt,h=>h),f=Yt(u,h=>h,oR);return J.jsx(fR,{router:s,matchId:i,resetKey:c,matchState:et.useMemo(()=>{const h=f.routeId,m=s.routesById[h].parentRoute?.id;return{routeId:h,ssr:f.ssr,_displayPending:f._displayPending,parentRouteId:m}},[f._displayPending,f.routeId,f.ssr,s.routesById])})});function fR({router:n,matchId:i,resetKey:s,matchState:u}){const c=n.routesById[u.routeId],f=c.options.pendingComponent??n.options.defaultPendingComponent,h=f?J.jsx(f,{}):null,m=c.options.errorComponent??n.options.defaultErrorComponent,g=c.options.onCatch??n.options.defaultOnCatch,y=c.isRoot?c.options.notFoundComponent??n.options.notFoundRoute?.options.component:c.options.notFoundComponent,S=u.ssr===!1||u.ssr==="data-only",p=(!c.isRoot||c.options.wrapInSuspense||S)&&(c.options.wrapInSuspense??f??(c.options.errorComponent?.preload||S))?et.Suspense:Ol,b=m?Zc:Ol,E=y?iR:Ol;return J.jsxs(c.isRoot?c.options.shellComponent??Ol:Ol,{children:[J.jsx(Qu.Provider,{value:i,children:J.jsx(p,{fallback:h,children:J.jsx(b,{getResetKey:()=>s,errorComponent:m||Jc,onCatch:(x,z)=>{if(ne(x))throw x.routeId??=u.routeId,x;g?.(x,z)},children:J.jsx(E,{fallback:x=>{if(x.routeId??=u.routeId,!y||x.routeId&&x.routeId!==u.routeId||!x.routeId&&!c.isRoot)throw x;return et.createElement(y,x)},children:S||u._displayPending?J.jsx(OE,{fallback:h,children:J.jsx(Py,{matchId:i})}):J.jsx(Py,{matchId:i})})})})}),u.parentRouteId===Ua?J.jsxs(J.Fragment,{children:[J.jsx(dR,{}),n.options.scrollRestoration&&cp?J.jsx(rR,{}):null]}):null]})}function dR(){const n=oe(),i=et.useRef();return ji(()=>{const s=n.stores.resolvedLocation.get(),u=i.current;s&&(!u||u.href!==s.href)&&n.emit({type:"onRendered",...zl(n.stores.location.get(),u??s)}),i.current=s},[Yt(n.stores.resolvedLocation,s=>s?.state.__TSR_key),n]),null}var Py=et.memo(function({matchId:i}
11){const s=oe(),u=(S,p)=>s.getMatch(S.id)?._nonReactive[p]??S._nonReactive[p],c=s.stores.matchStores.get(i);c||Re();const f=Yt(c,S=>S),h=f.routeId,m=s.routesById[h],g=et.useMemo(()=>{const S=(s.routesById[h].options.remountDeps??s.options.defaultRemountDeps)?.({routeId:h,loaderDeps:f.loaderDeps,params:f._strictParams,search:f._strictSearch});return S?JSON.stringify(S):void 0},[h,f.loaderDeps,f._strictParams,f._strictSearch,s.options.defaultRemountDeps,s.routesById]),y=et.useMemo(()=>{const S=m.options.component??s.options.defaultComponent;return S?J.jsx(S,{},g):J.jsx(Rg,{})},[g,m.options.component,s.options.defaultComponent]);if(f._displayPending)throw u(f,"displayPendingPromise");if(f._forcePending)throw u(f,"minPendingPromise");if(f.status==="pending"){const S=m.options.pendingMinMs??s.options.defaultPendingMinMs;if(S){const p=s.getMatch(f.id);if(p&&!p._nonReactive.minPendingPromise){const b=ja();p._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),p._nonReactive.minPendingPromise=void 0},S)}}throw u(f,"loadPromise")}if(f.status==="notFound")return ne(f.error)||Re(),_g(s,m,f.error);if(f.status==="redirected")throw Ee(f.error)||Re(),u(f,"loadPromise");if(f.status==="error")throw f.error;return y}),Rg=et.memo(function(){const i=oe(),s=et.useContext(Qu);let u,c=!1,f;{const y=s?i.stores.matchStores.get(s):void 0;[u,c]=Yt(y,S=>[S?.routeId,S?.globalNotFound??!1],cR),f=Yt(i.stores.matchesId,S=>S[S.findIndex(p=>p===s)+1])}const h=u?i.routesById[u]:void 0,m=i.options.defaultPendingComponent?J.jsx(i.options.defaultPendingComponent,{}):null;if(c)return h||Re(),_g(i,h,void 0);if(!f)return null;const g=J.jsx(Eg,{matchId:f});return u===Ua?J.jsx(et.Suspense,{fallback:m,children:g}):g});function hR(){const n=oe(),i=et.useRef({router:n,mounted:!1}),[s,u]=et.useState(!1),c=Yt(n.stores.isLoading,p=>p),f=Yt(n.stores.hasPending,p=>p),h=gc(c),m=c||s||f,g=gc(m),y=c||f,S=gc(y);return n.startTransition=p=>{u(!0),et.startTransition(()=>{p(),u(!1)})},et.useEffect(()=>{const p=n.history.subscribe(n.load),b=n.buildLocation({to:n.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return An(n.latestLocation.publicHref)!==An(b.publicHref)&&n.commitLocation({...b,replace:!0}),()=>{p()}},[n,n.history]),ji(()=>{if(typeof window<"u"&&n.ssr||i.current.router===n&&i.current.mounted)return;i.current={router:n,mounted:!0},(async()=>{try{await n.load()}catch(b){console.error(b)}})()},[n]),ji(()=>{h&&!c&&n.emit({type:"onLoad",...zl(n.stores.location.get(),n.stores.resolvedLocation.get())})},[h,n,c]),ji(()=>{S&&!y&&n.emit({type:"onBeforeRouteMount",...zl(n.stores.location.get(),n.stores.resolvedLocation.get())})},[y,S,n]),ji(()=>{if(g&&!m){const p=zl(n.stores.location.get(),n.stores.resolvedLocation.get());n.emit({type:"onResolved",...p}),hg(()=>{n.stores.status.set("idle"),n.stores.resolvedLocation.set(n.stores.location.get())})}},[m,g,n]),null}function mR(){const n=oe(),i=n.routesById[Ua].options.pendingComponent??n.options.defaultPendingComponent,s=i?J.jsx(i,{}):null,u=J.jsxs(typeof document<"u"&&n.ssr?Ol:et.Suspense,{fallback:s,children:[J.jsx(hR,{}),J.jsx(yR,{})]});return n.options.InnerWrap?J.jsx(n.options.InnerWrap,{children:u}):u}function yR(){const n=oe(),i=Yt(n.stores.firstId,c=>c),s=Yt(n.stores.loadedAt,c=>c),u=i?J.jsx(Eg,{matchId:i}):null;return J.jsx(Qu.Provider,{value:i,children:n.options.disableGlobalCatchBoundary?u:J.jsx(Zc,{getResetKey:()=>s,errorComponent:Jc,onCatch:void 0,children:u})})}var pR=n=>({createMutableStore:Vy,createReadonlyStore:Vy,batch:hg}),gR=n=>new vR(n),vR=class extends eb{constructor(n){super(n,pR)}};function SR({router:n,children:i,...s}){dp(s)&&n.update({...n.options,...s,context:{...n.options.context,...s.context}});const u=J.jsx(fg.Provider,{value:n,children:i});return n.options.Wrap?J.jsx(n.options.Wrap,{children:u}):u}function bR({router:n,...i}){return J.jsx(SR,{router:n,...i,children:J.jsx(mR,{})})}function Fy(n,i){if(i)for(const[s,u]of Object.entries(i))s!=="suppressHydrationWarning"&&u!==void 0&&u!==!1&&n.setAttribute(s,typeof u=="boolean"?"":String(u))}function Tg(n){const{attrs:i,children:s,nonce:u,preventScriptHoist:c}=n;
11switch(n.tag){case"title":return J.jsx("title",{...i,suppressHydrationWarning:!0,children:s});case"meta":return J.jsx("meta",{...i,suppressHydrationWarning:!0});case"link":return J.jsx("link",{...i,precedence:i?.precedence??(i?.rel==="stylesheet"?"default":void 0),nonce:u,suppressHydrationWarning:!0});case"style":return n.inlineCss,J.jsx("style",{...i,dangerouslySetInnerHTML:{__html:s},nonce:u});case"script":return J.jsx(_R,{attrs:i,preventScriptHoist:c,children:s});default:return null}}function _R({attrs:n,children:i,preventScriptHoist:s}){oe();const u=Pc(),c=typeof n?.type=="string"&&n.type!==""&&n.type!=="text/javascript"&&n.type!=="module";if(et.useEffect(()=>{if(!c){if(n?.src){const f=(()=>{try{const m=document.baseURI||window.location.href;return new URL(n.src,m).href}catch{return n.src}})();for(const m of document.querySelectorAll("script[src]"))if(m.src===f)return;const h=document.createElement("script");return Fy(h,n),document.head.appendChild(h),()=>h.remove()}if(typeof i=="string"){const f=typeof n?.type=="string"?n.type:"text/javascript",h=typeof n?.nonce=="string"?n.nonce:void 0;for(const g of document.querySelectorAll("script:not([src])")){if(!(g instanceof HTMLScriptElement))continue;const y=g.getAttribute("type")??"text/javascript",S=g.getAttribute("nonce")??void 0;if(g.textContent===i&&y===f&&S===h)return}
11const m=document.createElement("script");return m.textContent=i,Fy(m,n),document.head.appendChild(m),()=>m.remove()}}},[n,i,c]),c&&typeof i=="string")return J.jsx("script",{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:i}});if(!u){if(n?.src)return J.jsx("script",{...n,suppressHydrationWarning:!0});if(typeof i=="string")return J.jsx("script",{...n,dangerouslySetInnerHTML:{__html:i},suppressHydrationWarning:!0})}return null}var ER=n=>{const i=oe(),s=i.options.ssr?.nonce,u=Yt(i.stores.matches,p=>p.map(b=>b.meta).filter(b=>b!==void 0),he),c=et.useMemo(()=>{const p=[],b={};let E;for(let x=u.length-1;x>=0;x--){const z=u[x];for(let R=z.length-1;R>=0;R--){const C=z[R];if(C)if(C.title)E||(E={tag:"title",children:C.title});else if("script:ld+json"in C)try{const N=JSON.stringify(C["script:ld+json"]);p.push({tag:"script",attrs:{type:"application/ld+json"},children:bS(N)})}catch{}else{const N=C.name??C.property;if(N){if(b[N])continue;b[N]=!0}p.push({tag:"meta",attrs:{...C,nonce:s}})}}}return E&&p.push(E),s&&p.push({tag:"meta",attrs:{property:"csp-nonce",content:s}}),p.reverse(),p},[u,s]),f=Yt(i.stores.matches,p=>p.flatMap(b=>b.links??[]).filter(b=>b!==void 0).map(b=>({tag:"link",attrs:{...b,nonce:s}})),he),h=Yt(i.stores.matches,p=>{const b=i.ssr?.manifest,E=[];return b&&(p.forEach(x=>{b.routes[x.routeId]?.css?.forEach(z=>{const R=bb(z);E.push({tag:"link",attrs:{rel:"stylesheet",...R,crossOrigin:Mp(n,"stylesheet")??R.crossOrigin,suppressHydrationWarning:!0,nonce:s}})})}),b.inlineStyle&&E.push({tag:"style",attrs:{...b.inlineStyle.attrs,nonce:s},children:b.inlineStyle.children,inlineCss:!0})),E},he),m=Yt(i.stores.matches,p=>{const b=[],E=i.ssr?.manifest;return E&&p.forEach(x=>{E.routes[x.routeId]?.preloads?.forEach(z=>{b.push({tag:"link",attrs:{...vb(E,z,n),nonce:s}})})}),b},he),g=Yt(i.stores.matches,p=>p.flatMap(b=>b.styles??[]).filter(b=>b!==void 0).map(({children:b,...E})=>({tag:"style",attrs:{...E,nonce:s},children:b})),he),y=Yt(i.stores.matches,p=>p.flatMap(b=>b.headScripts??[]).filter(b=>b!==void 0).map(({children:b,...E})=>({tag:"script",attrs:{...E,nonce:s},children:b})),he),S=[];return pu(S,c),S.push(...m),pu(S,f),S.push(...h),pu(S,g),pu(S,y),S};function RR(n){const i=ER(n.assetCrossOrigin),s=oe().options.ssr?.nonce;return J.jsx(J.Fragment,{children:i.map(u=>et.createElement(Tg,{...u,key:`tsr-meta-${JSON.stringify(u)}`,nonce:s}))})}var TR=()=>{const n=oe(),i=n.options.ssr?.nonce,s=f=>{const h=[],m=n.ssr?.manifest;if(!m)return[];for(const g of f){const y=m.routes[g.routeId]?.scripts;if(y)for(const S of y)h.push({tag:"script",attrs:{...S.attrs,nonce:i},children:S.children,...typeof S.attrs?.src=="string"?{preventScriptHoist:!0}:{}})}return h},u=f=>f.map(h=>h.scripts).flat(1).filter(Boolean).map(({children:h,...m})=>({tag:"script",attrs:{...m,suppressHydrationWarning:!0,nonce:i},children:h})),c=Yt(n.stores.matches,s,he);return AR(n,Yt(n.stores.matches,u,he),c)};function AR(n,i,s){const u=[...i,...s];return J.jsx(J.Fragment,{children:u.map((c,f)=>et.createElement(Tg,{...c,key:`tsr-scripts-${c.tag}-${f}`}))})}var wl=(n,i)=>{const s={type:"request",...i||n},u=c=>wl({},Object.assign(s,{validator:c,inputValidator:c}));return{options:s,middleware:c=>wl({},Object.assign(s,{middleware:c})),validator:u,inputValidator:u,client:c=>wl({},Object.assign(s,{client:c})),server:c=>wl({},Object.assign(s,{server:c}))}};function Ag(n,i){for(let s=0,u=i.length;s<u;s++){const c=i[s];n.has(c)||(n.add(c),c.extends&&Ag(n,c.extends))}}var xR=n=>({getOptions:async()=>{const i=await n();if(i.serializationAdapters){const s=new Set;Ag(s,i.serializationAdapters),i.serializationAdapters=Array.from(s)}return i},createMiddleware:wl});const MR=wl(),ky=xR(()=>({requestMiddleware:[MR]}));var Vu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},OR=class extends Vu{#t;#n;#e;constructor(){super(),this.#e=n=>{if(typeof window<"u"&&window.addEventListener){const i=()=>n();return window.addEventListener("visibilitychange",i,!1),()=>
vendor: 23,044 bytes, line 11
11{window.removeEventListener("visibilitychange",i)}}}}onSubscribe(){this.#n||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(n){this.#e=n,this.#n?.(),this.#n=n(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(n){this.#t!==n&&(this.#t=n,this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(i=>{i(n)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},xg=new OR,CR={setTimeout:(n,i)=>setTimeout(n,i),clearTimeout:n=>clearTimeout(n),setInterval:(n,i)=>setInterval(n,i),clearInterval:n=>clearInterval(n)},wR=class{#t=CR;#n=!1;setTimeoutProvider(n){this.#t=n}setTimeout(n,i){return this.#t.setTimeout(n,i)}clearTimeout(n){this.#t.clearTimeout(n)}setInterval(n,i){return this.#t.setInterval(n,i)}clearInterval(n){this.#t.clearInterval(n)}},jc=new wR;function zR(n){setTimeout(n,0)}var DR=typeof window>"u"||"Deno"in globalThis;function Je(){}function LR(n,i){return typeof n=="function"?n(i):n}function UR(n){return typeof n=="number"&&n>=0&&n!==1/0}function NR(n,i){return Math.max(n+(i||0)-Date.now(),0)}function Bc(n,i){return typeof n=="function"?n(i):n}function jR(n,i){return typeof n=="function"?n(i):n}function Iy(n,i){const{type:s="all",exact:u,fetchStatus:c,predicate:f,queryKey:h,stale:m}=n;if(h){if(u){if(i.queryHash!==Wc(h,i.options))return!1}else if(!Xi(i.queryKey,h))return!1}if(s!=="all"){const g=i.isActive();if(s==="active"&&!g||s==="inactive"&&g)return!1}return!(typeof m=="boolean"&&i.isStale()!==m||c&&c!==i.state.fetchStatus||f&&!f(i))}function Wy(n,i){const{exact:s,status:u,predicate:c,mutationKey:f}=n;if(f){if(!i.options.mutationKey)return!1;if(s){if(Vi(i.options.mutationKey)!==Vi(f))return!1}else if(!Xi(i.options.mutationKey,f))return!1}return!(u&&i.state.status!==u||c&&!c(i))}function Wc(n,i){return(i?.queryKeyHashFn||Vi)(n)}function Vi(n){return JSON.stringify(n,(i,s)=>Hc(s)?Object.keys(s).sort().reduce((u,c)=>(u[c]=s[c],u),{}):s)}function Xi(n,i){return n===i?!0:typeof n!=typeof i?!1:n&&i&&typeof n=="object"&&typeof i=="object"?Object.keys(i).every(s=>Xi(n[s],i[s])):!1}var BR=Object.prototype.hasOwnProperty;function Mg(n,i,s=0){if(n===i)return n;if(s>500)return i;const u=$y(n)&&$y(i);if(!u&&!(Hc(n)&&Hc(i)))return i;const f=(u?n:Object.keys(n)).length,h=u?i:Object.keys(i),m=h.length,g=u?new Array(m):{};let y=0;for(let S=0;S<m;S++){const p=u?S:h[S],b=n[p],E=i[p];if(b===E){g[p]=b,(u?S<f:BR.call(n,p))&&y++;continue}if(b===null||E===null||typeof b!="object"||typeof E!="object"){g[p]=E;continue}const x=Mg(b,E,s+1);g[p]=x,x===b&&y++}return f===m&&y===f?n:g}function $y(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function Hc(n){if(!tp(n))return!1;const i=n.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!tp(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function tp(n){return Object.prototype.toString.call(n)==="[object Object]"}function HR(n){return new Promise(i=>{jc.setTimeout(i,n)})}function qR(n,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(n,i):s.structuralSharing!==!1?Mg(n,i):i}function GR(n,i,s=0){const u=[...n,i];return s&&u.length>s?u.slice(1):u}function YR(n,i,s=0){const u=[i,...n];return s&&u.length>s?u.slice(0,-1):u}var $c=Symbol();function Og(n,i){return!n.queryFn&&i?.initialPromise?()=>i.initialPromise:!n.queryFn||n.queryFn===$c?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function QR(n,i,s){let u=!1,c;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(c??=i(),u||(u=!0,c.aborted?s():c.addEventListener("abort",s,{once:!0})),c)}),n}var Cg=(()=>{let n=()=>DR;return{isServer(){return n()},setIsServer(i){n=i}}})();function VR(){let n,i;const s=new Promise((c,f)=>{n=c,i=f});s.status="pending",s.catch(()=>{});function u(c){Object.assign(s,c),delete s.resolve,delete s.reject}return s.resolve=c=>{u({status:"fulfilled",value:c}),n(c)},s.reject=c=>{u({status:"rejected",reason:c}),i(c)},s}var XR=zR;function KR(){let n=[],i=0,s=m=>{m()},u=m=>{m()},c=XR;const f=m=>{i?n.push(m):c(()=>{s(m)})},h=()=>{const m=n;n=[],m.length&&c(()=>{u(()=>{m.forEach(g=>{s(g)})})})};return{batch:m=>{let g;i++;try{g=m()}finally{i--,i||h()}return g},batchCalls:m=>(...g)=>{f(()=>{m(...g)})},schedule:f,setNotifyFunction:m=>{s=m},setBatchNotifyFunction:m=>{u=m},setScheduler:m=>{c=m}}}var me=KR(),ZR=class extends Vu{#t=!0;#n;#e;constructor(){super(),this.#e=n=>{if(typeof window<"u"&&window.addEventListener){const i=()=>n(!0),s=()=>n(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#n||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(n){this.#e=n,this.#n?.(),this.#n=n(this.setOnline.bind(this))}setOnline(n){this.#t!==n&&(this.#t=n,this.listeners.forEach(s=>{s(n)}))}isOnline(){return this.#t}},Nu=new ZR;function JR(n){return Math.min(1e3*2**n,3e4)}function wg(n){return(n??"online")==="online"?Nu.isOnline():!0}var qc=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function zg(n){let i=!1,s=0,u;const c=VR(),f=()=>c.status!=="pending",h=z=>{if(!f()){const R=new qc(z);b(R),n.onCancel?.(R)}},m=()=>{i=!0},g=()=>{i=!1},y=()=>xg.isFocused()&&(n.networkMode==="always"||Nu.isOnline())&&n.canRun(),S=()=>wg(n.networkMode)&&n.canRun(),p=z=>{f()||(u?.(),c.resolve(z))},b=z=>{f()||(u?.(),c.reject(z))},E=()=>new Promise(z=>{u=R=>{(f()||y())&&z(R)},n.onPause?.()}).then(()=>{u=void 0,f()||n.onContinue?.()}),x=()=>{if(f())return;let z;const R=s===0?n.initialPromise:void 0;try{z=R??n.fn()}catch(C){z=Promise.reject(C)}Promise.resolve(z).then(p).catch(C=>{if(f())return;const N=n.retry??(Cg.isServer()?0:3),Y=n.retryDelay??JR,X=typeof Y=="function"?Y(s,C):Y,Z=N===!0||typeof N=="number"&&s<N||typeof N=="function"&&N(s,C);if(i||!Z){b(C);return}s++,n.onFail?.(s,C),HR(X).then(()=>y()?void 0:E()).then(()=>{i?b(C):x()})})};return{promise:c,status:()=>c.status,cancel:h,continue:()=>(u?.(),c),cancelRetry:m,continueRetry:g,canStart:S,start:()=>(S()?x():E().then(x),c)}}var Dg=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),UR(this.gcTime)&&(this.#t=jc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(Cg.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(jc.clearTimeout(this.#t),this.#t=void 0)}},PR=class extends Dg{#t;#n;#e;#l;#a;#i;#s;constructor(n){super(),this.#s=!1,this.#i=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#l=n.client,this.#e=this.#l.getQueryCache(),this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#t=np(this.options),this.state=n.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(n){if(this.options={...this.#i,...n},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=np(this.options);i.data!==void 0&&(this.setState(ep(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#e.remove(this)}setData(n,i){const s=qR(this.state.data,n,this.options);return this.#u({data:s,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),s}setState(n,i){this.#u({type:"setState",state:n,setStateOptions:i})}cancel(n){const i=this.#a?.promise;return this.#a?.cancel(n),i?i.then(Je).catch(Je):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(n=>jR(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===$c||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>Bc(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!NR(this.state.dataUpdatedAt,n)}onFocus(){this.observers.find(i=>i.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(i=>i.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(i=>i!==n),this.observers.length||(this.#a&&(this.#s||this.#r()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#e.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}#r(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(n,i){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(n&&this.setOptions(n),!this.options.queryFn){const m=this.observers.find(g=>g.options.queryFn);m&&this.setOptions(m.options)}const s=new AbortController,u=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#s=!0,s.signal)})},c=()=>{const m=Og(this.options,i),y=(()=>{const S={client:this.#l,queryKey:this.queryKey,meta:this.meta};return u(S),S})();return this.#s=!1,this.options.persister?this.options.persister(m,y,this):m(y)},h=(()=>{const m={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:c};return u(m),m})();this.options.behavior?.onFetch(h,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==h.fetchOptions?.meta)&&this.#u({type:"fetch",meta:h.fetchOptions?.meta}),this.#a=zg({initialPromise:i?.initialPromise,fn:h.fetchFn,onCancel:m=>{m instanceof qc&&m.revert&&this.setState({...this.#n,fetchStatus:"idle"}),s.abort()},onFail:(m,g)=>{this.#u({type:"failed",failureCount:m,error:g})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0});try{const m=await this.#a.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#e.config.onSuccess?.(m,this),this.#e.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof qc){if(m.silent)return this.#a.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#u({type:"error",error:m}),this.#e.config.onError?.(m,this),this.#e.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#u(n){const i=s=>{switch(n.type){case"failed":return{...s,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...FR(s.data,this.options),fetchMeta:n.meta??null};case"success":const u={...s,...ep(n.data,n.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=n.manual?u:void 0,u;case"error":const c=n.error;return{...s,error:c,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...n.state}}};this.state=i(this.state),me.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#e.notify({query:this,type:"updated",action:n})})}};function FR(n,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:wg(i.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function ep(n,i){return{data:n,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function np(n){const i=typeof n.initialData=="function"?n.initialData():n.initialData,s=i!==void 0,u=s?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?u??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}function ap(n){return{onFetch:(i,s)=>{const u=i.options,c=i.fetchOptions?.meta?.fetchMore?.direction,f=i.state.data?.pages||[],h=i.state.data?.pageParams||[];let m={pages:[],pageParams:[]},g=0;const y=async()=>{let S=!1;const p=x=>{QR(x,()=>i.signal,()=>S=!0)},b=Og(i.options,i.fetchOptions),E=async(x,z,R)=>{if(S)return Promise.reject();if(z==null&&x.pages.length)return Promise.resolve(x);const N=(()=>{const F={client:i.client,queryKey:i.queryKey,pageParam:z,direction:R?"backward":"forward",meta:i.options.meta};return p(F),F})(),Y=await b(N),{maxPages:X}=i.options,Z=R?YR:GR;return{pages:Z(x.pages,Y,X),pageParams:Z(x.pageParams,z,X)}};if(c&&f.length){const x=c==="backward",z=x?kR:lp,R={pages:f,pageParams:h},C=z(u,R);m=await E(R,C,x)}else{const x=n??f.length;do{const z=g===0?h[0]??u.initialPageParam:lp(u,m);if(g>0&&z==null)break;m=await E(m,z),g++}while(g<x)}return m};i.options.persister?i.fetchFn=()=>i.options.persister?.(y,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s):i.fetchFn=y}}}function lp(n,{pages:i,pageParams:s}){const u=i.length-1;return i.length>0?n.getNextPageParam(i[u],i,s[u],s):void 0}function kR(n,{pages:i,pageParams:s}){return i.length>0?n.getPreviousPageParam?.(i[0],i,s[0],s):void 0}var IR=class extends Dg{#t;#n;#e;#l;constructor(n){super(),this.#t=n.client,this.mutationId=n.mutationId,this.#e=n.mutationCache,this.#n=[],this.state=n.state||WR(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#n.includes(n)||(this.#n.push(n),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#n=this.#n.filter(i=>i!==n),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(n){const i=()=>{this.#a({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=zg({fn:()=>this.options.mutationFn?this.options.mutationFn(n,s):Promise.reject(new Error("No mutationFn found")),onFail:(f,h)=>{this.#a({type:"failed",failureCount:f,error:h})},onPause:()=>{this.#a({type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const u=this.state.status==="pending",c=!this.#l.canStart();try{if(u)i();else{this.#a({type:"pending",variables:n,isPaused:c}),this.#e.config.onMutate&&await this.#e.config.onMutate(n,this,s);const h=await this.options.onMutate?.(n,s);h!==this.state.context&&this.#a({type:"pending",context:h,variables:n,isPaused:c})}const f=await this.#l.start();return await this.#e.config.onSuccess?.(f,n,this.state.context,this,s),await this.options.onSuccess?.(f,n,this.state.context,s),await this.#e.config.onSettled?.(f,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(f,null,n,this.state.context,s),this.#a({type:"success",data:f}),f}catch(f){try{await this.#e.config.onError?.(f,n,this.state.context,this,s)}catch(h){Promise.reject(h)}try{await this.options.onError?.(f,n,this.state.context,s)}catch(h){Promise.reject(h)}try{await this.#e.config.onSettled?.(void 0,f,this.state.variables,this.state.context,this,s)}catch(h){Promise.reject(h)}try{await this.options.onSettled?.(void 0,f,n,this.state.context,s)}catch(h){Promise.reject(h)}throw this.#a({type:"error",error:f}),f}finally{this.#e.runNext(this)}}#a(n){const i=s=>{switch(n.type){case"failed":return{...s,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...s,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:n.error,failureCount:s.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=i(this.state),me.batch(()=>{this.#n.forEach(s=>{s.onMutationUpdate(n)}),this.#e.notify({mutation:this,type:"updated",action:n})})}};function WR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var $R=class extends Vu{constructor(n={}){super(),this.config=n,this.#t=new Set,this.#n=new Map,this.#e=0}#t;#n;#e;build(n,i,s){const u=new IR({client:n,mutationCache:this,mutationId:++this.#e,options:n.defaultMutationOptions(i),state:s});return this.add(u),u}add(n){this.#t.add(n);const i=Su(n);if(typeof i=="string"){const s=this.#n.get(i);s?s.push(n):this.#n.set(i,[n])}this.notify({type:"added",mutation:n})}remove(n){if(this.#t.delete(n)){const i=Su(n);if(typeof i=="string"){const s=this.#n.get(i);if(s)if(s.length>1){const u=s.indexOf(n);u!==-1&&s.splice(u,1)}else s[0]===n&&this.#n.delete(i)}}this.notify({type:"removed",mutation:n})}canRun(n){const i=Su(n);if(typeof i=="string"){const u=this.#n.get(i)?.find(c=>c.state.status==="pending");return!u||u===n}else return!0}runNext(n){const i=Su(n);return typeof i=="string"?this.#n.get(i)?.find(u=>u!==n&&u.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){me.batch(()=>{this.#t.forEach(n=>{this.notify({type:"removed",mutation:n})}),this.#t.clear(),this.#n.clear()})}getAll(){return Array.from(this.#t)}find(n){const i={exact:!0,...n};return this.getAll().find(s=>Wy(i,s))}findAll(n={}){return this.getAll().filter(i=>Wy(n,i))}notify(n){me.batch(()=>{this.listeners.forEach(i=>{i(n)})})}resumePausedMutations(){const n=this.getAll().filter(i=>i.state.isPaused);return me.batch(()=>Promise.all(n.map(i=>i.continue().catch(Je))))}};function Su(n){return n.options.scope?.id}var t2=class extends Vu{constructor(n={}){super(),this.config=n,this.#t=new Map}#t;build(n,i,s){const u=i.queryKey,c=i.queryHash??Wc(u,i);let f=this.get(c);return f||(f=new PR({client:n,queryKey:u,queryHash:c,options:n.defaultQueryOptions(i),state:s,defaultOptions:n.getQueryDefaults(u)}),this.add(f)),f}add(n){this.#t.has(n.queryHash)||(this.#t.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const i=this.#t.get(n.queryHash);i&&(n.destroy(),i===n&&this.#t.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){me.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#t.get(n)}getAll(){return[...this.#t.values()]}find(n){const i={exact:!0,...n};return this.getAll().find(s=>Iy(i,s))}findAll(n={}){const i=this.getAll();return Object.keys(n).length>0?i.filter(s=>Iy(n,s)):i}notify(n){me.batch(()=>{this.listeners.forEach(i=>{i(n)})})}onFocus(){me.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){me.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},e2=class{#t;#n;#e;#l;#a;#i;#s;#r;constructor(n={}){this.#t=n.queryCache||new t2,this.#n=n.mutationCache||new $R,this.#e=n.defaultOptions||{},this.#l=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=xg.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#r=Nu.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#r?.(),this.#r=void 0)}isFetching(n){return this.#t.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#n.findAll({...n,status:"pending"}).length}getQueryData(n){const i=this.defaultQueryOptions({queryKey:n});return this.#t.get(i.queryHash)?.state.data}ensureQueryData(n){const i=this.defaultQueryOptions(n),s=this.#t.build(this,i),u=s.state.data;return u===void 0?this.fetchQuery(n):(n.revalidateIfStale&&s.isStaleByTime(Bc(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(u))}getQueriesData(n){return this.#t.findAll(n).map(({queryKey:i,state:s})=>{const u=s.data;return[i,u]})}setQueryData(n,i,s){const u=this.defaultQueryOptions({queryKey:n}),f=this.#t.get(u.queryHash)?.state.data,h=LR(i,f);if(h!==void 0)return this.#t.build(this,u).setData(h,{...s,manual:!0})}setQueriesData(n,i,s){return me.batch(()=>this.#t.findAll(n).map(({queryKey:u})=>[u,this.setQueryData(u,i,s)]))}getQueryState(n){const i=this.defaultQueryOptions({queryKey:n});return this.#t.get(i.queryHash)?.state}removeQueries(n){const i=this.#t;me.batch(()=>{i.findAll(n).forEach(s=>{i.remove(s)})})}resetQueries(n,i){const s=this.#t;return me.batch(()=>(s.findAll(n).forEach(u=>{u.reset()}),this.refetchQueries({type:"active",...n},i)))}cancelQueries(n,i={}){const s={revert:!0,...i},u=me.batch(()=>this.#t.findAll(n).map(c=>c.cancel(s)));return Promise.all(u).then(Je).catch(Je)}invalidateQueries(n,i={}){return me.batch(()=>(this.#t.findAll(n).forEach(s=>{s.invalidate()}),n?.refetchType==="none"?Promise.resolve():this.refetchQueries({...n,type:n?.refetchType??n?.type??"active"},i)))}refetchQueries(n,i={}){const s={...i,cancelRefetch:i.cancelRefetch??!0},u=me.batch(()=>this.#t.findAll(n).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,s);return s.throwOnError||(f=f.catch(Je)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(u).then(Je)}fetchQuery(n){const i=this.defaultQueryOptions(n);i.retry===void 0&&(i.retry=!1);const s=this.#t.build(this,i);return s.isStaleByTime(Bc(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(Je).catch(Je)}fetchInfiniteQuery(n){return n.behavior=ap(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Je).catch(Je)}ensureInfiniteQueryData(n){return n.behavior=ap(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Nu.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#n}getDefaultOptions(){return this.#e}setDefaultOptions(n){this.#e=n}setQueryDefaults(n,i){this.#l.set(Vi(n),{queryKey:n,defaultOptions:i})}getQueryDefaults(n){const i=[...this.#l.values()],s={};
11return i.forEach(u=>{Xi(n,u.queryKey)&&Object.assign(s,u.defaultOptions)}),s}setMutationDefaults(n,i){this.#a.set(Vi(n),{mutationKey:n,defaultOptions:i})}getMutationDefaults(n){const i=[...this.#a.values()],s={};return i.forEach(u=>{Xi(n,u.mutationKey)&&Object.assign(s,u.defaultOptions)}),s}defaultQueryOptions(n){if(n._defaulted)return n;const i={...this.#e.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return i.queryHash||(i.queryHash=Wc(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===$c&&(i.enabled=!1),i}defaultMutationOptions(n){return n?._defaulted?n:{...this.#e.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#t.clear(),this.#n.clear()}},n2=et.createContext(void 0),a2=({client:n,children:i})=>(et.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),J.jsx(n2.Provider,{value:n,children:i}));const l2="/assets/styles-DWlQwvHd.css";function i2(n,i={}){typeof window>"u"||window.__lovableEvents?.captureException?.(n,{source:"react_error_boundary",route:window.location.pathname,...i},{mechanism:"react_error_boundary",handled:!1,severity:"error"})}const s2="/__l5e/assets-v1/4ddd1738-23ff-45a2-a3fe-318144aaaf91/bold-favicon.png",ip={url:s2};function u2(){return J.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:J.jsxs("div",{className:"max-w-md text-center",children:[J.jsx("h1",{className:"text-7xl font-bold text-foreground",children:"404"}),J.jsx("h2",{className:"mt-4 text-xl font-semibold text-foreground",children:"Page not found"}),J.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"The page you're looking for doesn't exist or has been moved."}),J.jsx("div",{className:"mt-6",children:J.jsx(Fc,{to:"/",className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Go home"})})]})})}function r2({error:n,reset:i}){console.error(n);const s=oe();return et.useEffect(()=>{i2(n,{boundary:"tanstack_root_error_component"})},[n]),J.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:J.jsxs("div",{className:"max-w-md text-center",children:[J.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground",children:"This page didn't load"}),J.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Something went wrong on our end. You can try refreshing or head back home."}),J.jsxs("div",{className:"mt-6 flex flex-wrap justify-center gap-2",children:[J.jsx("button",{onClick:()=>{s.invalidate(),i()},className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Try again"}),J.jsx("a",{href:"/",className:"inline-flex items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-accent",children:"Go home"})]})]})})}const Tc="We are building mobile games to reach millions. Join our team!",Pi=eR()({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{title:"Bold Games"},{name:"description",content:Tc},{name:"author",content:"Bold Games"},{property:"og:site_name",content:"Bold Games"},{property:"og:title",content:"Bold Games"},{property:"og:description",content:Tc},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:"Bold Games"},{name:"twitter:description",content:Tc},{httpEquiv:"Cache-Control",content:"no-cache, no-store, must-revalidate"},{httpEquiv:"Pragma",content:"no-cache"},{httpEquiv:"Expires",content:"0"}],links:[{rel:"stylesheet",href:l2},{rel:"icon",type:"image/png",href:ip.url},{rel:"apple-touch-icon",href:ip.url}]}),shellComponent:o2,component:c2,notFoundComponent:u2,errorComponent:r2});function o2({children:n}
11){return J.jsxs("html",{lang:"en",children:[J.jsx("head",{children:J.jsx(RR,{})}),J.jsxs("body",{children:[n,J.jsx(TR,{})]})]})}function c2(){const{queryClient:n}=Pi.useRouteContext();return J.jsx(a2,{client:n,children:J.jsx(Rg,{})})}const f2="modulepreload",d2=function(n){return"/"+n},sp={},tf=function(i,s,u){let c=Promise.resolve();if(s&&s.length>0){let g=function(y){return Promise.all(y.map(S=>Promise.resolve(S).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),m=h?.nonce||h?.getAttribute("nonce");c=g(s.map(y=>{if(y=d2(y),y in sp)return;sp[y]=!0;const S=y.endsWith(".css"),p=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${p}`))return;const b=document.createElement("link");if(b.rel=S?"stylesheet":f2,S||(b.as="script"),b.crossOrigin="",b.href=y,m&&b.setAttribute("nonce",m),document.head.appendChild(b),S)return new Promise((E,x)=>{b.addEventListener("load",E),b.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(h){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=h,window.dispatchEvent(m),!m.defaultPrevented)throw h}return c.then(h=>{for(const m of h||[])m.status==="rejected"&&f(m.reason);return i().catch(f)})},h2=()=>tf(()=>import("./terms-of-service-BdVvcAAe.js"),[]),m2=kc("/terms-of-service")({head:()=>({meta:[{title:"Terms of Service | Bold Games"},{name:"description",content:"Terms of Service for Bold Games."},{httpEquiv:"Cache-Control",content:"no-cache, no-store, must-revalidate"},{httpEquiv:"Pragma",content:"no-cache"},{httpEquiv:"Expires",content:"0"}]}),component:Ic(h2,"component")}),y2=()=>tf(()=>import("./privacy-policy-CDzuB2dX.js"),[]),p2=kc("/privacy-policy")({head:()=>({meta:[{title:"Privacy Policy | Bold Games"},{name:"description",content:"Privacy Policy for Bold Games."},{httpEquiv:"Cache-Control",content:"no-cache, no-store, must-revalidate"},{httpEquiv:"Pragma",content:"no-cache"},{httpEquiv:"Expires",content:"0"}]}),component:Ic(y2,"component")}),g2=()=>tf(()=>import("./index-D_iBresK.js"),[]),bu="https://bold.games",up="https://pub-bb2e103a32db4e198524a2e9ed8f35b4.r2.dev/602bd4d9-fa81-4389-8a0c-e9493c2d9d2b/id-preview-fe2453be--634da575-0006-44d7-a55b-9d0f4ceb0cb5.lovable.app-1782124011697.png",_u="We are building mobile games to reach millions. Join our team!",v2=kc("/")({head:()=>({meta:[{title:"Bold Games"},{name:"description",content:_u},{property:"og:title",content:"Bold Games"},{property:"og:description",content:_u},{property:"og:type",content:"website"},{property:"og:url",content:bu},{property:"og:image",content:up},{name:"twitter:title",content:"Bold Games"},{name:"twitter:description",content:_u},{name:"twitter:image",content:up},{httpEquiv:"Cache-Control",content:"no-cache, no-store, must-revalidate"},{httpEquiv:"Pragma",content:"no-cache"},{httpEquiv:"Expires",content:"0"}],links:[{rel:"canonical",href:bu}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"Organization",name:"Bold Games",url:bu,logo:"https://bold.games/bold-favicon.png",sameAs:["https://www.linkedin.com/company/boldgame/"]},{"@type":"WebSite",name:"Bold Games",url:bu,description:_u},{"@type":"MobileApplication",name:"Market Match",url:"https://apps.apple.com/tr/app/market-match/id6754193919",applicationCategory:"GameApplication",operatingSystem:"iOS, Android",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"}}]})}]}),component:Ic(g2,"component")}),S2=m2.update({id:"/terms-of-service",path:"/terms-of-service",getParentRoute:()=>Pi}),b2=p2.update({id:"/privacy-policy",path:"/privacy-policy",getParentRoute:()=>Pi}),_2=v2.update({id:"/",path:"/",getParentRoute:()=>Pi}),E2={IndexRoute:_2,PrivacyPolicyRoute:b2,TermsOfServiceRoute:S2},R2=Pi._addFileChildren(E2),T2=()=>{const n=new e2;return gR({routeTree:R2,context:{queryClient:n},scrollRestoration:!0,defaultPreloadStaleTime:0})};async function A2(){const n=await T2();let i;if(ky){const s=await ky.getOptions();s.serializationAdapters=s.serializationAdapters??[],window.__TSS_START_OPTIONS__=s,i=s.serializationAdapters,n.options.defaultSsr=s.defaultSsr}else i=[],window.__TSS_START_OPTIONS__={serializationAdapters:i};return i.push(SE),n.options.serializationAdapters&&i.push(...n.options.serializationAdapters),n.update({basepath:"",serializationAdapters:i}
11),n.stores.matchesId.get().length||await _E(n),n}var x2=A2;async function M2(){const n=await x2();return window.$_TSR?.h(),n}var Ac;function O2(){return Ac||(Ac=M2()),J.jsx(AE,{promise:Ac,children:n=>J.jsx(bR,{router:n})})}et.startTransition(()=>{uS.hydrateRoot(document,J.jsx(et.StrictMode,{children:J.jsx(O2,{})}))});export{J as j,et as r};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.