PageSourceSearch

https://edmundo.is/assets/index-CBzXJ-xX.js

js edmundo.is collected 2026-10-03 23:52:50 UTC 535,488 bytes, 40 lines download raw bytes

vendor: 5,849 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/reading-CbpsieKK.js","assets/Book-gJytddVX.js","assets/index-BuImVusY.js","assets/queries-DM-de_Hv.js","assets/on-time-By3DNPfs.js","assets/-OnTimeClient-DxcfJ2yX.js","assets/building-Bo5gTLp6.js","assets/VRMenu-DEHzJHSf.js","assets/writing.index-C7EqFMna.js","assets/sort-uWuzz0IU.js","assets/the-literary-clock-DJqQ23zW.js","assets/writing._slug-Cidd07A5.js"])))=>i.map(i=>d[i]);
2var BL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var id={exports:{}},Lr={},R0;function ww(){if(R0)return Lr;R0=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(r,l,u){var f=null;if(u!==void 0&&(f=""+u),l.key!==void 0&&(f=""+l.key),"key"in l){u={};for(var h in l)h!=="key"&&(u[h]=l[h])}else u=l;return l=u.ref,{$$typeof:t,type:r,key:f,ref:l!==void 0?l:null,props:u}}return Lr.Fragment=n,Lr.jsx=s,Lr.jsxs=s,Lr}var M0;function _w(){return M0||(M0=1,id.exports=ww()),id.exports}var N=_w(),sd={exports:{}},dt={},D0;function Ew(){if(D0)return dt;D0=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),v=Symbol.iterator;function S(O){return O===null||typeof O!="object"?null:(O=v&&O[v]||O["@@iterator"],typeof O=="function"?O:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,_={};function E(O,Q,et){this.props=O,this.context=Q,this.refs=_,this.updater=et||x}E.prototype.isReactComponent={},E.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")},E.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function R(){}R.prototype=E.prototype;function D(O,Q,et){this.props=O,this.context=Q,this.refs=_,this.updater=et||x}var z=D.prototype=new R;z.constructor=D,C(z,E.prototype),z.isPureReactComponent=!0;var H=Array.isArray;function I(){}var j={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function K(O,Q,et){var nt=et.ref;return{$$typeof:t,type:O,key:Q,ref:nt!==void 0?nt:null,props:et}}function Z(O,Q){return K(O.type,Q,O.props)}function W(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function it(O){var Q={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(et){return Q[et]})}var At=/\/+/g;function gt(O,Q){return typeof O=="object"&&O!==null&&O.key!=null?it(""+O.key):Q.toString(36)}function Et(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(I,I):(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 G(O,Q,et,nt,st){var ft=typeof O;(ft==="undefined"||ft==="boolean")&&(O=null);var vt=!1;if(O===null)vt=!0;else switch(ft){case"bigint":case"string":case"number":vt=!0;break;case"object":switch(O.$$typeof){case t:case n:vt=!0;break;case g:return vt=O._init,G(vt(O._payload),Q,et,nt,st)}}if(vt)return st=st(O),vt=nt===""?"."+gt(O,0):nt,H(st)?(et="",vt!=null&&(et=vt.replace(At,"$&/")+"/"),G(st,Q,et,"",function(Je){return Je})):st!=null&&(W(st)&&(st=Z(st,et+(st.key==null||O&&O.key===st.key?"":(""+st.key).replace(At,"$&/")+"/")+vt)),Q.push(st)),1;vt=0;var Nt=nt===""?".":nt+":";if(H(O))for(var Ot=0;Ot<O.length;Ot++)nt=O[Ot],ft=Nt+gt(nt,Ot),vt+=G(nt,Q,et,ft,st);else if(Ot=S(O),typeof Ot=="function")for(O=Ot.call(O),Ot=0;!(nt=O.next()).done;)nt=nt.value,ft=Nt+gt(nt,Ot++),vt+=G(nt,Q,et,ft,st);else if(ft==="object"){if(typeof O.then=="function")return G(Et(O),Q,et,nt,st);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 $(O,Q,et){if(O==null)return O;var nt=[],st=0;return G(O,nt,"","",function(ft){return Q.call(et,ft,st++)}),nt}function tt(O){if(O._status===-1){var Q=O._result;Q=Q(),Q.then(function(et){(O._status===0||O._status===-1)&&(O._status=1,O._result=et)},function(et){(O._status===0||O._status===-1)&&(O._status=2,O._result=et)}),O._status===-1&&(O._status=0,O._result=Q)}if(O._status===1)return O._result.default;throw O._result}var ct=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)},pt={map:$,forEach:function(O,Q,et){$(O,function(){Q.apply(this,arguments)},et)},count:function(O){var Q=0;return $(O,function(){Q++}),Q},toArray:function(O){return $(O,function(Q){return Q})||[]},only:function(O){if(!W(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};return dt.Activity=y,dt.Children=pt,dt.Component=E,dt.Fragment=s,dt.Profiler=l,dt.PureComponent=
vendor: 14,294 bytes, line 2
2D,dt.StrictMode=r,dt.Suspense=m,dt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j,dt.__COMPILER_RUNTIME={__proto__:null,c:function(O){return j.H.useMemoCache(O)}},dt.cache=function(O){return function(){return O.apply(null,arguments)}},dt.cacheSignal=function(){return null},dt.cloneElement=function(O,Q,et){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var nt=C({},O.props),st=O.key;if(Q!=null)for(ft in Q.key!==void 0&&(st=""+Q.key),Q)!U.call(Q,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&Q.ref===void 0||(nt[ft]=Q[ft]);var ft=arguments.length-2;if(ft===1)nt.children=et;else if(1<ft){for(var vt=Array(ft),Nt=0;Nt<ft;Nt++)vt[Nt]=arguments[Nt+2];nt.children=vt}return K(O.type,st,nt)},dt.createContext=function(O){return O={$$typeof:f,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:u,_context:O},O},dt.createElement=function(O,Q,et){var nt,st={},ft=null;if(Q!=null)for(nt in Q.key!==void 0&&(ft=""+Q.key),Q)U.call(Q,nt)&&nt!=="key"&&nt!=="__self"&&nt!=="__source"&&(st[nt]=Q[nt]);var vt=arguments.length-2;if(vt===1)st.children=et;else if(1<vt){for(var Nt=Array(vt),Ot=0;Ot<vt;Ot++)Nt[Ot]=arguments[Ot+2];st.children=Nt}if(O&&O.defaultProps)for(nt in vt=O.defaultProps,vt)st[nt]===void 0&&(st[nt]=vt[nt]);return K(O,ft,st)},dt.createRef=function(){return{current:null}},dt.forwardRef=function(O){return{$$typeof:h,render:O}},dt.isValidElement=W,dt.lazy=function(O){return{$$typeof:g,_payload:{_status:-1,_result:O},_init:tt}},dt.memo=function(O,Q){return{$$typeof:p,type:O,compare:Q===void 0?null:Q}},dt.startTransition=function(O){var Q=j.T,et={};j.T=et;try{var nt=O(),st=j.S;st!==null&&st(et,nt),typeof nt=="object"&&nt!==null&&typeof nt.then=="function"&&nt.then(I,ct)}catch(ft){ct(ft)}finally{Q!==null&&et.types!==null&&(Q.types=et.types),j.T=Q}},dt.unstable_useCacheRefresh=function(){return j.H.useCacheRefresh()},dt.use=function(O){return j.H.use(O)},dt.useActionState=function(O,Q,et){return j.H.useActionState(O,Q,et)},dt.useCallback=function(O,Q){return j.H.useCallback(O,Q)},dt.useContext=function(O){return j.H.useContext(O)},dt.useDebugValue=function(){},dt.useDeferredValue=function(O,Q){return j.H.useDeferredValue(O,Q)},dt.useEffect=function(O,Q){return j.H.useEffect(O,Q)},dt.useEffectEvent=function(O){return j.H.useEffectEvent(O)},dt.useId=function(){return j.H.useId()},dt.useImperativeHandle=function(O,Q,et){return j.H.useImperativeHandle(O,Q,et)},dt.useInsertionEffect=function(O,Q){return j.H.useInsertionEffect(O,Q)},dt.useLayoutEffect=function(O,Q){return j.H.useLayoutEffect(O,Q)},dt.useMemo=function(O,Q){return j.H.useMemo(O,Q)},dt.useOptimistic=function(O,Q){return j.H.useOptimistic(O,Q)},dt.useReducer=function(O,Q,et){return j.H.useReducer(O,Q,et)},dt.useRef=function(O){return j.H.useRef(O)},dt.useState=function(O){return j.H.useState(O)},dt.useSyncExternalStore=function(O,Q,et){return j.H.useSyncExternalStore(O,Q,et)},dt.useTransition=function(){return j.H.useTransition()},dt.version="19.2.6",dt}var O0;function uo(){return O0||(O0=1,sd.exports=Ew()),sd.exports}var q=uo();const je=Tw(q);var ad={exports:{}},zr={},rd={exports:{}},od={},L0;function Aw(){return L0||(L0=1,(function(t){function n(G,$){var tt=G.length;G.push($);t:for(;0<tt;){var ct=tt-1>>>1,pt=G[ct];if(0<l(pt,$))G[ct]=$,G[tt]=pt,tt=ct;else break t}}function s(G){return G.length===0?null:G[0]}function r(G){if(G.length===0)return null;var $=G[0],tt=G.pop();if(tt!==$){G[0]=tt;t:for(var ct=0,pt=G.length,O=pt>>>1;ct<O;){var Q=2*(ct+1)-1,et=G[Q],nt=Q+1,st=G[nt];if(0>l(et,tt))nt<pt&&0>l(st,et)?(G[ct]=st,G[nt]=tt,ct=nt):(G[ct]=et,G[Q]=tt,ct=Q);else if(nt<pt&&0>l(st,tt))G[ct]=st,G[nt]=tt,ct=nt;else break t}}return $}function l(G,$){var tt=G.sortIndex-$.sortIndex;return tt!==0?tt:G.id-$.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();t.unstable_now=function(){return f.now()-h}}var m=[],p=[],g=1,y=null,v=3,S=!1,x=!1,C=!1,_=!1,E=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function z(G){for(var $=s(p);$!==null;){if($.callback===null)r(p);else if($.startTime<=G)r(p),$.sortIndex=$.expirationTime,n(m,$);else break;$=s(p)}}function H(G){if(C=!1,z(G),!x)if(s(m)!==null)x=!0,I||(I=!0,it());else{var $=s(p);$!==null&&Et(H,$.startTime-G)}}var I=!1,j=-1,U=5,K=-1;function Z(){return _?!0:!(t.unstable_now()-K<U)}function W(){if(_=!1,I){var G=t.unstable_now();K=G;var $=!0;try{t:{x=!1,C&&(C=!1,R(j),j=-1),S=!0;var tt=v;try{e:{for(z(G),y=s(m);y!==null&&!(y.expirationTime>G&&Z());){var ct=y.callback;if(typeof ct=="function"){y.callback=null,v=y.priorityLevel;var pt=ct(y.expirationTime<=G);if(G=t.unstable_now(),typeof pt=="function"){y.callback=pt,z(G),$=!0;break e}y===s(m)&&r(m),z(G)}else r(m);y=s(m)}if(y!==null)$=!0;else{var O=s(p);O!==null&&Et(H,O.startTime-G),$=!1}}break t}finally{y=null,v=tt,S=!1}$=void 0}}finally{$?it():I=!1}}}var it;if(typeof D=="function")it=function(){D(W)};else if(typeof MessageChannel<"u"){var At=new MessageChannel,gt=At.port2;At.port1.onmessage=W,it=function(){gt.postMessage(null)}}else it=function(){E(W,0)};function Et(G,$){j=E(function(){G(t.unstable_now())},$)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(G){G.callback=null},t.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<G?Math.floor(1e3/G):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_next=function(G){switch(v){case 1:case 2:case 3:var $=3;break;default:$=v}var tt=v;v=$;try{return G()}finally{v=tt}},t.unstable_requestPaint=function(){_=!0},t.unstable_runWithPriority=function(G,$){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var tt=v;v=G;try{return $()}finally{v=tt}},t.unstable_scheduleCallback=function(G,$,tt){var ct=t.unstable_now();switch(typeof tt=="object"&&tt!==null?(tt=tt.delay,tt=typeof tt=="number"&&0<tt?ct+tt:ct):tt=ct,G){case 1:var pt=-1;break;case 2:pt=250;break;case 5:pt=1073741823;break;case 4:pt=1e4;break;default:pt=5e3}return pt=tt+pt,G={id:g++,callback:$,priorityLevel:G,startTime:tt,expirationTime:pt,sortIndex:-1},tt>ct?(G.sortIndex=tt,n(p,G),s(m)===null&&G===s(p)&&(C?(R(j),j=-1):C=!0,Et(H,tt-ct))):(G.sortIndex=pt,n(m,G),x||S||(x=!0,I||(I=!0,it()))),G},t.unstable_shouldYield=Z,t.unstable_wrapCallback=function(G){var $=v;return function(){var tt=v;v=$;try{return G.apply(this,arguments)}finally{v=tt}}}})(od)),od}var z0;function Cw(){return z0||(z0=1,rd.exports=Aw()),rd.exports}var ld={exports:{}},xe={},V0;function Rw(){if(V0)return xe;V0=1;var t=uo();function n(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(n(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(m,p,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:m,containerInfo:p,implementation:g}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return xe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,xe.createPortal=function(m,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(n(299));return u(m,p,null,g)},xe.flushSync=function(m){var p=f.T,g=r.p;try{if(f.T=null,r.p=2,m)return m()}finally{f.T=p,r.p=g,r.d.f()}},xe.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(m,p))},xe.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},xe.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var g=p.as,y=h(g,p.crossOrigin),v=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?r.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:v,fetchPriority:S}):g==="script"&&r.d.X(m,{crossOrigin:y,integrity:v,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},xe.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=h(p.as,p.crossOrigin);r.d.M(m,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(m)},xe.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,y=h(g,p.crossOrigin);r.d.L(m,g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},xe.preloadModule=function(m,p){if(typeof m=="string")if(p){var g=h(p.as,p.crossOrigin);r.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(m)},xe.requestFormReset=function(m){r.d.r(m)},xe.unstable_batchedUpdates=function(m,p){return m(p)},xe.useFormState=function(m,p,g){return f.H.useFormState(m,p,g)},xe.useFormStatus=function(){return f.H.useHostTransitionStatus()},xe.version="19.2.6",xe}var j0;function gb(){if(j0)return ld.exports;j0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),ld.exports=Rw(),ld.exports}var P0;function Mw(){if(P0)return zr;P0=1;var t=Cw(),n=uo(),s=gb();function r(e){var i="https://react.dev/errors/"+e;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var i=e,a=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,(i.flags&4098)!==0&&(a=i.return),e=i.return;while(e)}return i.tag===3?a:null}function f(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function h(e){if(e.tag===31){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(r(188))}function p(e){var i=e.alternate;if(!i){if(i=u(e),i===null)throw Error(r(188));return i!==e?null:e}for(var a=e,o=i;;){var c=a.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){a=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===a)return m(c),e;if(d===o)return m(c),i;d=d.sibling}throw Error(r(188))}if(a.return!==o.return)a=c,o=d;else{for(var b=!1,w=c.child;w;){if(w===a){b=!0,a=c,o=d;break}if(w===o){b=!0,o=c,a=d;break}w=w.sibling}if(!b){for(w=d.child;w;){if(w===a){b=!0,a=d,o=c;break}if(w===o){b=!0,o=d,a=c;break}w=w.sibling}if(!b)throw Error(r(189))}}if(a.alternate!==o)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:i}function g(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e;for(e=e.child;e!==null;){if(i=g(e),i!==null)return i;e=e.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),D=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),W=Symbol.iterator;function it(e){return e===null||typeof e!="object"?null:(e=W&&e[W]||e["@@iterator"],typeof e=="function"?e:null)}var At=Symbol.for("react.client.reference");function gt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===At?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case E:return"Profiler";case _:return"StrictMode";case H:return"Suspense";case I:return"SuspenseList";case K:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case x:return"Portal";case D:return e.displayName||"Context";case R:return(e._context.displayName||"Context")+".Consumer";case z:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case j:return i=e.displayName||null,i!==null?i:gt(e.type)||"Memo";case U:i=e._payload,e=e._init;try{return gt(e(i))}catch{}}return null}var Et=Array.isArray,G=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,tt={pending:!1,data:null,method:null,action:null},ct=[],pt=-1;function O(e){return{current:e}}function Q(e){0>pt||(e.current=ct[pt],ct[pt]=null,pt--)}function et(e,i){pt++,ct[pt]=e.current,e.current=i}var nt=O(null),st=O(null),ft=O(null),vt=O(null);function Nt(e,i){switch(et(ft,i),et(st,e),et(nt,null),i.nodeType){case 9:case 11:e=(e
vendor: 12,047 bytes, lines 2-9
2=i.documentElement)&&(e=e.namespaceURI)?Jg(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=Jg(i),e=$g(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(nt),et(nt,e)}function Ot(){Q(nt),Q(st),Q(ft)}function Je(e){e.memoizedState!==null&&et(vt,e);var i=nt.current,a=$g(i,e.type);i!==a&&(et(st,e),et(nt,a))}function $e(e){st.current===e&&(Q(nt),Q(st)),vt.current===e&&(Q(vt),Rr._currentValue=tt)}var de,oi;function ke(e){if(de===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);de=i&&i[1]||"",oi=-1<a.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+de+e+oi}var Yi=!1;function zn(e,i){if(!e||Yi)return"";Yi=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(i){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(F){var k=F}Reflect.construct(e,[],J)}else{try{J.call()}catch(F){k=F}e.call(J.prototype)}}else{try{throw Error()}catch(F){k=F}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(F){if(F&&k&&typeof F.stack=="string")return[F.stack,k.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),b=d[0],w=d[1];if(b&&w){var M=b.split(`
5`),B=w.split(`
6`);for(c=o=0;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;for(;c<B.length&&!B[c].includes("DetermineComponentFrameRoot");)c++;if(o===M.length||c===B.length)for(o=M.length-1,c=B.length-1;1<=o&&0<=c&&M[o]!==B[c];)c--;for(;1<=o&&0<=c;o--,c--)if(M[o]!==B[c]){if(o!==1||c!==1)do if(o--,c--,0>c||M[o]!==B[c]){var Y=`
7`+M[o].replace(" at new "," at ");return e.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",e.displayName)),Y}while(1<=o&&0<=c);break}}}finally{Yi=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?ke(a):""}function Sn(e,i){switch(e.tag){case 26:case 27:case 5:return ke(e.type);case 16:return ke("Lazy");case 13:return e.child!==i&&i!==null?ke("Suspense Fallback"):ke("Suspense");case 19:return ke("SuspenseList");case 0:case 15:return zn(e.type,!1);case 11:return zn(e.type.render,!1);case 1:return zn(e.type,!0);case 31:return ke("Activity");default:return""}}function Vn(e){try{var i="",a=null;do i+=Sn(e,a),a=e,e=e.return;while(e);return i}catch(o){return`
8Error generating stack: `+o.message+`
9`+o.stack}}var Ki=Object.prototype.hasOwnProperty,dn=t.unstable_scheduleCallback,Ua=t.unstable_cancelCallback,go=t.unstable_shouldYield,Gu=t.unstable_requestPaint,Se=t.unstable_now,Ht=t.unstable_getCurrentPriorityLevel,he=t.unstable_ImmediatePriority,xn=t.unstable_UserBlockingPriority,Ls=t.unstable_NormalPriority,iT=t.unstable_LowPriority,Om=t.unstable_IdlePriority,sT=t.log,aT=t.unstable_setDisableYieldValue,ka=null,He=null;function li(e){if(typeof sT=="function"&&aT(e),He&&typeof He.setStrictMode=="function")try{He.setStrictMode(ka,e)}catch{}}var qe=Math.clz32?Math.clz32:lT,rT=Math.log,oT=Math.LN2;function lT(e){return e>>>=0,e===0?32:31-(rT(e)/oT|0)|0}var vo=256,bo=262144,So=4194304;function Qi(e){var i=e&42;if(i!==0)return i;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function xo(e,i,a){var o=e.pendingLanes;if(o===0)return 0;var c=0,d=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var w=o&134217727;return w!==0?(o=w&~d,o!==0?c=Qi(o):(b&=w,b!==0?c=Qi(b):a||(a=w&~e,a!==0&&(c=Qi(a))))):(w=o&~d,w!==0?c=Qi(w):b!==0?c=Qi(b):a||(a=o&~e,a!==0&&(c=Qi(a)))),c===0?0:i!==0&&i!==c&&(i&d)===0&&(d=c&-c,a=i&-i,d>=a||d===32&&(a&4194048)!==0)?i:c}function Ha(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function uT(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 Lm(){var e=So;return So<<=1,(So&62914560)===0&&(So=4194304),e}function Fu(e){for(var i=[],a=0;31>a;a++)i.push(e);return i}function qa(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cT(e,i,a,o,c,d){var b=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var w=e.entanglements,M=e.expirationTimes,B=e.hiddenUpdates;for(a=b&~a;0<a;){var Y=31-qe(a),J=1<<Y;w[Y]=0,M[Y]=-1;var k=B[Y];if(k!==null)for(B[Y]=null,Y=0;Y<k.length;Y++){var F=k[Y];F!==null&&(F.lane&=-536870913)}a&=~J}o!==0&&zm(e,o,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(b&~i))}function zm(e,i,a){e.pendingLanes|=i,e.suspendedLanes&=~i;var o=31-qe(i);e.entangledLanes|=i,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function Vm(e,i){var a=e.entangledLanes|=i;for(e=e.entanglements;a;){var o=31-qe(a),c=1<<o;c&i|e[o]&i&&(e[o]|=i),a&=~c}}function jm(e,i){var a=i&-i;return a=(a&42)!==0?1:Iu(a),(a&(e.suspendedLanes|i))!==0?0:a}function Iu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Yu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Pm(){var e=$.p;return e!==0?e:(e=window.event,e===void 0?32:x0(e.type))}function Bm(e,i){var a=$.p;try{return $.p=e,i()}finally{$.p=a}}var ui=Math.random().toString(36).slice(2),me="__reactFiber$"+ui,Re="__reactProps$"+ui,zs="__reactContainer$"+ui,Ku="__reactEvents$"+ui,fT="__reactListeners$"+ui,dT="__reactHandles$"+ui,Nm="__reactResources$"+ui,Ga="__reactMarker$"+ui;function Qu(e){delete e[me],delete e[Re],delete e[Ku],delete e[fT],delete e[dT]}function Vs(e){var i=e[me];if(i)return i;for(var a=e.parentNode;a;){if(i=a[zs]||a[me]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(e=a0(e);e!==null;){if(a=e[me])return a;e=a0(e)}return i}e=a,a=e.parentNode}return null}function js(e){if(e=e[me]||e[zs]){var i=e.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return e}return null}function Fa(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e.stateNode;throw Error(r(33))}function Ps(e){var i=e[Nm];return i||(i=e[Nm]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function le(e){e[Ga]=!0}var Um=new Set,km={};function Xi(e,i){Bs(e,i),Bs(e+"Capture",i)}function Bs(e,i){for(km[e]=i,e=0;e<i.length;e++)Um.add(i[e])}var hT=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]*$"),Hm={},qm={};function mT(e){return Ki.call(qm,e)?!0:Ki.call(Hm,e)?!1:hT.test(e)?qm[e]=!0:(Hm[e]=!0,!1)}function To(e,i,a){if(mT(i))if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(i);return;case"boolean":var o=i.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(i);return}}e.setAttribute(i,""+a)}}function wo(e,i,a){if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttribute(i,""+a)}}function jn(e,i,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(i,a,""+o)}}function We(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gm(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function pT(e,i,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);if(!e.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,d=o.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return c.call(this)},set:function(b){a=""+b,d.call(this,b)}}),Object.defineProperty(e,i,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(b){a=""+b},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function Xu(e){if(!e._valueTracker){var i=Gm(e)?"checked":"value";e._valueTracker=pT(e,i,""+e[i])}}function Fm(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var a=i.getValue(),o="";return e&&(o=Gm(e)?e.checked?"true":"false":e.value),e=o,e!==a?(i.setValue(e),!0):!1}function _o(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var yT=/[\n"\\]/g;function tn(e){return e.replace(yT,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Zu(e,i,a,o,c,d,b,w){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),i!=null?b==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+We(i)):e.value!==""+We(i)&&(e.value=""+We(i)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),i!=null?Ju(e,b,We(i)):a!=null?Ju(e,b,We(a)):o!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+We(w):e.removeAttribute("name")}function Im(e,i,a,o,c,d,b,w){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),i!=null||a!=null){if(!(d!=="submit"&&d!=="reset"||i!=null)){Xu(e);return}a=a!=null?""+We(a):"",i=i!=null?""+We(i):a,w||i===e.value||(e.value=i),e.defaultValue=i}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=w?e.checked:!!o,e.defaultChecked=!!o,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b),Xu(e)}function Ju(e,i,a){i==="number"&&_o(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ns(e,i,a,o){if(e=e.options,i){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=!0;for(a=0;a<e.length;a++)c=i.hasOwnProperty("$"+e[a].value),e[a].selected!==c&&(e[a].selected=c),c&&o&&(e[a].defaultSelected=!0)}else{for(a=""+We(a),i=null,c=0;c<e.length;c++){if(e[c].value===a){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}i!==null||e[c].disabled||(i=e[c])}i!==null&&(i.selected=!0)}}function Ym(e,i,a){if(i!=null&&(i=""+We(i),i!==e.value&&(e.value=i),a==null)){e.defaultValue!==i&&(e.defaultValue=i);return}e.defaultValue=a!=null?""+We(a):""}function Km(e,i,a,o){if(i==null){if(o!=null){if(a!=null)throw Error(r(92));if(Et(o)){if(1<o.length)throw Error(r(93));o=o[0]}a=o}a==null&&(a=""),i=a}a=We(i),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),Xu(e)}function Us(e,i){if(i){var a=e.firstChild;
vendor: 4,140 bytes, line 9
9if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=i;return}}e.textContent=i}var gT=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 Qm(e,i,a){var o=i.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="":o?e.setProperty(i,a):typeof a!="number"||a===0||gT.has(i)?i==="float"?e.cssFloat=a:e[i]=(""+a).trim():e[i]=a+"px"}function Xm(e,i,a){if(i!=null&&typeof i!="object")throw Error(r(62));if(e=e.style,a!=null){for(var o in a)!a.hasOwnProperty(o)||i!=null&&i.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in i)o=i[c],i.hasOwnProperty(c)&&a[c]!==o&&Qm(e,c,o)}else for(var d in i)i.hasOwnProperty(d)&&Qm(e,d,i[d])}function $u(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vT=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
9-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"]]),bT=/^[\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 Eo(e){return bT.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Pn(){}var Wu=null;function tc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ks=null,Hs=null;function Zm(e){var i=js(e);if(i&&(e=i.stateNode)){var a=e[Re]||null;t:switch(e=i.stateNode,i.type){case"input":if(Zu(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),i=a.name,a.type==="radio"&&i!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+tn(""+i)+'"][type="radio"]'),i=0;i<a.length;i++){var o=a[i];if(o!==e&&o.form===e.form){var c=o[Re]||null;if(!c)throw Error(r(90));Zu(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(i=0;i<a.length;i++)o=a[i],o.form===e.form&&Fm(o)}break t;case"textarea":Ym(e,a.value,a.defaultValue);break t;case"select":i=a.value,i!=null&&Ns(e,!!a.multiple,i,!1)}}}var ec=!1;function Jm(e,i,a){if(ec)return e(i,a);ec=!0;try{var o=e(i);return o}finally{if(ec=!1,(ks!==null||Hs!==null)&&(dl(),ks&&(i=ks,e=Hs,Hs=ks=null,Zm(i),e)))for(i=0;i<e.length;i++)Zm(e[i])}}function Ia(e,i){var a=e.stateNode;if(a===null)return null;var o=a[Re]||null;if(o===null)return null;a=o[i];
vendor: 8,993 bytes, line 9
9t:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break t;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,i,typeof a));return a}var Bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nc=!1;if(Bn)try{var Ya={};Object.defineProperty(Ya,"passive",{get:function(){nc=!0}}),window.addEventListener("test",Ya,Ya),window.removeEventListener("test",Ya,Ya)}catch{nc=!1}var ci=null,ic=null,Ao=null;function $m(){if(Ao)return Ao;var e,i=ic,a=i.length,o,c="value"in ci?ci.value:ci.textContent,d=c.length;for(e=0;e<a&&i[e]===c[e];e++);var b=a-e;for(o=1;o<=b&&i[a-o]===c[d-o];o++);return Ao=c.slice(e,1<o?1-o:void 0)}function Co(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function Ro(){return!0}function Wm(){return!1}function Me(e){function i(a,o,c,d,b){this._reactName=a,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=b,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(a=e[w],this[w]=a?a(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ro:Wm,this.isPropagationStopped=Wm,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ro)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ro)},persist:function(){},isPersistent:Ro}),i}var Zi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mo=Me(Zi),Ka=y({},Zi,{view:0,detail:0}),ST=Me(Ka),sc,ac,Qa,Do=y({},Ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qa&&(Qa&&e.type==="mousemove"?(sc=e.screenX-Qa.screenX,ac=e.screenY-Qa.screenY):ac=sc=0,Qa=e),sc)},movementY:function(e){return"movementY"in e?e.movementY:ac}}),tp=Me(Do),xT=y({},Do,{dataTransfer:0}),TT=Me(xT),wT=y({},Ka,{relatedTarget:0}),rc=Me(wT),_T=y({},Zi,{animationName:0,elapsedTime:0,pseudoElement:0}),ET=Me(_T),AT=y({},Zi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),CT=Me(AT),RT=y({},Zi,{data:0}),ep=Me(RT),MT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},DT={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"},OT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function LT(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=OT[e])?!!i[e]:!1}function oc(){return LT}var zT=y({},Ka,{key:function(e){if(e.key){var i=MT[e.key]||e.key;if(i!=="Unidentified")return i}return e.type==="keypress"?(e=Co(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?DT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oc,charCode:function(e){return e.type==="keypress"?Co(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Co(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),VT=Me(zT),jT=y({},Do,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),np=Me(jT),PT=y({},Ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oc}),BT=Me(PT),NT=y({},Zi,{propertyName:0,elapsedTime:0,pseudoElement:0}),UT=Me(NT),kT=y({},Do,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),HT=Me(kT),qT=y({},Zi,{newState:0,oldState:0}),GT=Me(qT),FT=[9,13,27,32],lc=Bn&&"CompositionEvent"in window,Xa=null;Bn&&"documentMode"in document&&(Xa=document.documentMode);var IT=Bn&&"TextEvent"in window&&!Xa,ip=Bn&&(!lc||Xa&&8<Xa&&11>=Xa),sp=" ",ap=!1;function rp(e,i){switch(e){case"keyup":return FT.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function op(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qs=!1;function YT(e,i){switch(e){case"compositionend":return op(i);case"keypress":return i.which!==32?null:(ap=!0,sp);case"textInput":return e=i.data,e===sp&&ap?null:e;default:return null}}function KT(e,i){if(qs)return e==="compositionend"||!lc&&rp(e,i)?(e=$m(),Ao=ic=ci=null,qs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return ip&&i.locale!=="ko"?null:i.data;default:return null}}var QT={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 lp(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!QT[e.type]:i==="textarea"}function up(e,i,a,o){ks?Hs?Hs.push(o):Hs=[o]:ks=o,i=bl(i,"onChange"),0<i.length&&(a=new Mo("onChange","change",null,a,o),e.push({event:a,listeners:i}))}var Za=null,Ja=null;function XT(e){Ig(e,0)}function Oo(e){var i=Fa(e);if(Fm(i))return e}function cp(e,i){if(e==="change")return i}var fp=!1;if(Bn){var uc;if(Bn){var cc="oninput"in document;if(!cc){var dp=document.createElement("div");dp.setAttribute("oninput","return;"),cc=typeof dp.oninput=="function"}uc=cc}else uc=!1;fp=uc&&(!document.documentMode||9<document.documentMode)}function hp(){Za&&(Za.detachEvent("onpropertychange",mp),Ja=Za=null)}function mp(e){if(e.propertyName==="value"&&Oo(Ja)){var i=[];up(i,Ja,e,tc(e)),Jm(XT,i)}}function ZT(e,i,a){e==="focusin"?(hp(),Za=i,Ja=a,Za.attachEvent("onpropertychange",mp)):e==="focusout"&&hp()}function JT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Oo(Ja)}function $T(e,i){if(e==="click")return Oo(i)}function WT(e,i){if(e==="input"||e==="change")return Oo(i)}function t3(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var Ge=typeof Object.is=="function"?Object.is:t3;function $a(e,i){if(Ge(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var a=Object.keys(e),o=Object.keys(i);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var c=a[o];if(!Ki.call(i,c)||!Ge(e[c],i[c]))return!1}return!0}function pp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yp(e,i){var a=pp(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=i&&o>=i)return{node:a,offset:i-e};e=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=pp(a)}}function gp(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?gp(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function vp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=_o(e.document);i instanceof e.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)e=i.contentWindow;else break;i=_o(e.document)}return i}function fc(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var e3=Bn&&"documentMode"in document&&11>=document.documentMode,Gs=null,dc=null,Wa=null,hc=!1;function bp(e,i,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;hc||Gs==null||Gs!==_o(o)||(o=Gs,"selectionStart"in o&&fc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focu
vendor: 15,007 bytes, line 9
9sNode:o.focusNode,focusOffset:o.focusOffset}),Wa&&$a(Wa,o)||(Wa=o,o=bl(dc,"onSelect"),0<o.length&&(i=new Mo("onSelect","select",null,i,a),e.push({event:i,listeners:o}),i.target=Gs)))}function Ji(e,i){var a={};return a[e.toLowerCase()]=i.toLowerCase(),a["Webkit"+e]="webkit"+i,a["Moz"+e]="moz"+i,a}var Fs={animationend:Ji("Animation","AnimationEnd"),animationiteration:Ji("Animation","AnimationIteration"),animationstart:Ji("Animation","AnimationStart"),transitionrun:Ji("Transition","TransitionRun"),transitionstart:Ji("Transition","TransitionStart"),transitioncancel:Ji("Transition","TransitionCancel"),transitionend:Ji("Transition","TransitionEnd")},mc={},Sp={};Bn&&(Sp=document.createElement("div").style,"AnimationEvent"in window||(delete Fs.animationend.animation,delete Fs.animationiteration.animation,delete Fs.animationstart.animation),"TransitionEvent"in window||delete Fs.transitionend.transition);function $i(e){if(mc[e])return mc[e];if(!Fs[e])return e;var i=Fs[e],a;for(a in i)if(i.hasOwnProperty(a)&&a in Sp)return mc[e]=i[a];return e}var xp=$i("animationend"),Tp=$i("animationiteration"),wp=$i("animationstart"),n3=$i("transitionrun"),i3=$i("transitionstart"),s3=$i("transitioncancel"),_p=$i("transitionend"),Ep=new Map,pc="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(" ");pc.push("scrollEnd");function hn(e,i){Ep.set(e,i),Xi(i,[e])}var Lo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},en=[],Is=0,yc=0;function zo(){for(var e=Is,i=yc=Is=0;i<e;){var a=en[i];en[i++]=null;var o=en[i];en[i++]=null;var c=en[i];en[i++]=null;var d=en[i];if(en[i++]=null,o!==null&&c!==null){var b=o.pending;b===null?c.next=c:(c.next=b.next,b.next=c),o.pending=c}d!==0&&Ap(a,c,d)}}function Vo(e,i,a,o){en[Is++]=e,en[Is++]=i,en[Is++]=a,en[Is++]=o,yc|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function gc(e,i,a,o){return Vo(e,i,a,o),jo(e)}function Wi(e,i){return Vo(e,null,null,i),jo(e)}function Ap(e,i,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var c=!1,d=e.return;d!==null;)d.childLanes|=a,o=d.alternate,o!==null&&(o.childLanes|=a),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&i!==null&&(c=31-qe(a),e=d.hiddenUpdates,o=e[c],o===null?e[c]=[i]:o.push(i),i.lane=a|536870912),d):null}function jo(e){if(50<xr)throw xr=0,Cf=null,Error(r(185));for(var i=e.return;i!==null;)e=i,i=e.return;return e.tag===3?e.stateNode:null}var Ys={};function a3(e,i,a,o){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fe(e,i,a,o){return new a3(e,i,a,o)}function vc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nn(e,i){var a=e.alternate;return a===null?(a=Fe(e.tag,i,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=i,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,i=e.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Cp(e,i){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=i,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,i=a.dependencies,e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),e}function Po(e,i,a,o,c,d){var b=0;if(o=e,typeof e=="function")vc(e)&&(b=1);else if(typeof e=="string")b=cw(e,a,nt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case K:return e=Fe(31,a,i,c),e.elementType=K,e.lanes=d,e;case C:return ts(a.children,c,d,i);case _:b=8,c|=24;break;case E:return e=Fe(12,a,i,c|2),e.elementType=E,e.lanes=d,e;case H:return e=Fe(13,a,i,c),e.elementType=H,e.lanes=d,e;case I:return e=Fe(19,a,i,c),e.elementType=I,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:b=10;break t;case R:b=9;break t;case z:b=11;break t;case j:b=14;break t;case U:b=16,o=null;break t}b=29,a=Error(r(130,e===null?"null":typeof e,"")),o=null}return i=Fe(b,a,i,c),i.elementType=e,i.type=o,i.lanes=d,i}function ts(e,i,a,o){return e=Fe(7,e,o,i),e.lanes=a,e}function bc(e,i,a){return e=Fe(6,e,null,i),e.lanes=a,e}function Rp(e){var i=Fe(18,null,null,0);return i.stateNode=e,i}function Sc(e,i,a){return i=Fe(4,e.children!==null?e.children:[],e.key,i),i.lanes=a,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}var Mp=new WeakMap;function nn(e,i){if(typeof e=="object"&&e!==null){var a=Mp.get(e);return a!==void 0?a:(i={value:e,source:i,stack:Vn(i)},Mp.set(e,i),i)}return{value:e,source:i,stack:Vn(i)}}var Ks=[],Qs=0,Bo=null,tr=0,sn=[],an=0,fi=null,Tn=1,wn="";function Un(e,i){Ks[Qs++]=tr,Ks[Qs++]=Bo,Bo=e,tr=i}function Dp(e,i,a){sn[an++]=Tn,sn[an++]=wn,sn[an++]=fi,fi=e;var o=Tn;e=wn;var c=32-qe(o)-1;o&=~(1<<c),a+=1;var d=32-qe(i)+c;if(30<d){var b=c-c%5;d=(o&(1<<b)-1).toString(32),o>>=b,c-=b,Tn=1<<32-qe(i)+c|a<<c|o,wn=d+e}else Tn=1<<d|a<<c|o,wn=e}function xc(e){e.return!==null&&(Un(e,1),Dp(e,1,0))}function Tc(e){for(;e===Bo;)Bo=Ks[--Qs],Ks[Qs]=null,tr=Ks[--Qs],Ks[Qs]=null;for(;e===fi;)fi=sn[--an],sn[an]=null,wn=sn[--an],sn[an]=null,Tn=sn[--an],sn[an]=null}function Op(e,i){sn[an++]=Tn,sn[an++]=wn,sn[an++]=fi,Tn=i.id,wn=i.overflow,fi=e}var pe=null,qt=null,_t=!1,di=null,rn=!1,wc=Error(r(519));function hi(e){var i=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw er(nn(i,e)),wc}function Lp(e){var i=e.stateNode,a=e.type,o=e.memoizedProps;switch(i[me]=e,i[Re]=o,a){case"dialog":St("cancel",i),St("close",i);break;case"iframe":case"object":case"embed":St("load",i);break;case"video":case"audio":for(a=0;a<wr.length;a++)St(wr[a],i);break;case"source":St("error",i);break;case"img":case"image":case"link":St("error",i),St("load",i);break;case"details":St("toggle",i);break;case"input":St("invalid",i),Im(i,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":St("invalid",i);break;case"textarea":St("invalid",i),Km(i,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||i.textContent===""+a||o.suppressHydrationWarning===!0||Xg(i.textContent,a)?(o.popover!=null&&(St("beforetoggle",i),St("toggle",i)),o.onScroll!=null&&St("scroll",i),o.onScrollEnd!=null&&St("scrollend",i),o.onClick!=null&&(i.onclick=Pn),i=!0):i=!1,i||hi(e,!0)}function zp(e){for(pe=e.return;pe;)switch(pe.tag){case 5:case 31:case 13:rn=!1;return;case 27:case 3:rn=!0;return;default:pe=pe.return}}function Xs(e){if(e!==pe)return!1;if(!_t)return zp(e),_t=!0,!1;var i=e.tag,a;if((a=i!==3&&i!==27)&&((a=i===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||qf(e.type,e.memoizedProps)),a=!a),a&&qt&&hi(e),zp(e),i===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qt=s0(e)}else if(i===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qt=s0(e)}else i===27?(i=qt,Ci(e.type)?(e=Kf,Kf=null,qt=e):qt=i):qt=pe?ln(e.stateNode.nextSibling):null;return!0}function es(){qt=pe=null,_t=!1}function _c(){var e=di;return e!==null&&(ze===null?ze=e:ze.push.apply(ze,e),di=null),e}function er(e){di===null?di=[e]:di.push(e)}var Ec=O(null),ns=null,kn=null;function mi(e,i,a){et(Ec,i._currentValue),i._currentValue=a}function Hn(e){e._currentValue=Ec.current,Q(Ec)}function Ac(e,i,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,o!==null&&(o.childLanes|=i)):o!==null&&(o.childLanes&i)!==i&&(o.childLanes|=i),e===a)break;e=e.return}}function Cc(e,i,a,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var b=c.child;d=d.firstContext;t:for(;d!==null;){var w=d;d=c;for(var M=0;M<i.length;M++)if(w.context===i[M]){d.lanes|=a,w=d.alternate,w!==null&&(w.lanes|=a),Ac(d.return,a,e),o||(b=null);break t}d=w.next}}else if(c.tag===18){if(b=c.return,b===null)throw Error(r(341));b.lanes|=a,d=b.alternate,d!==null&&(d.lanes|=a),Ac(b,a,e),b=null}else b=c.child;if(b!==null)b.return=c;else for(b=c;b!==null;){if(b===e){b=null;break}if(c=b.sibling,c!==null){c.return=b.return,b=c;break}b=b.return}c=b}}function Zs(e,i,a,o){e=null;for(var c=i,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var b=c.alternate;if(b===null)throw Error(r(387));if(b=b.memoizedProps,b!==null){var w=c.type;Ge(c.pendingProps.value,b.value)||(e!==null?e.push(w):e=[w])}}else if(c===vt.current){if(b=c.alternate,b===null)throw Error(r(387));b.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Rr):e=[Rr])}c=c.return}e!==null&&Cc(i,e,a,o),i.flags|=262144}function No(e){for(e=e.firstContext;e!==null;){if(!Ge(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function is(e){ns=e,kn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ye(e){return Vp(ns,e)}function Uo(e,i){return ns===null&&is(e),Vp(e,i)}function Vp(e,i){var a=i._currentValue;if(i={context:i,memoizedValue:a,next:null},kn===null){if(e===null)throw Error(r(308));kn=i,e.dependencies={lanes:0,firstContext:i},e.flags|=524288}else kn=kn.next=i;return a}var r3=typeof AbortController<"u"?AbortController:function(){var e=[],i=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){i.aborted=!0,e.forEach(function(a){return a()})}},o3=t.unstable_scheduleCallback,l3=t.unstable_NormalPriority,Wt={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Rc(){return{controller:new r3,data:new Map,refCount:0}}function nr(e){e.refCount--,e.refCount===0&&o3(l3,function(){e.controller.abort()})}var ir=null,Mc=0,Js=0,$s=null;function u3(e,i){if(ir===null){var a=ir=[];Mc=0,Js=zf(),$s={status:"pending",value:void 0,then:function(o){a.push(o)}}}return Mc++,i.then(jp,jp),i}function jp(){if(--Mc===0&&ir!==null){$s!==null&&($s.status="fulfilled");var e=ir;ir=null,Js=0,$s=null;for(var i=0;i<e.length;i++)(0,e[i])()}}function c3(e,i){var a=[],o={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return e.then(function(){o.status="fulfilled",o.value=i;for(var c=0;c<a.length;c++)(0,a[c])(i)},function(c){for(o.status="rejected",o.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),o}var Pp=G.S;G.S=function(e,i){bg=Se(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&u3(e,i),Pp!==null&&Pp(e,i)};var ss=O(null);function Dc(){var e=ss.current;return e!==null?e:Ut.pooledCache}function ko(e,i){i===null?et(ss,ss.current):et(ss,i.pool)}function Bp(){var e=Dc();return e===null?null:{parent:Wt._currentValue,pool:e}}var Ws=Error(r(460)),Oc=Error(r(474)),Ho=Error(r(542)),qo={then:function(){}};function Np(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Up(e,i,a){switch(a=e[a],a===void 0?e.push(i):a!==i&&(i.then(Pn,Pn),i=a),i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,Hp(e),e;default:if(typeof i.status=="string")i.then(Pn,Pn);else{if(e=Ut,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=i,e.status="pending",e.then(function(o){if(i.status==="pending"){var c=i;c.status="fulfilled",c.value=o}},function(o){if(i.status==="pending"){var c=i;c.status="rejected",c.reason=o}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,Hp(e),e}throw rs=i,Ws}}function as(e){try{var i=e._init;return i(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(rs=a,Ws):a}}var rs=null;function kp(){if(rs===null)throw Error(r(459));var e=rs;return rs=null,e}function Hp(e){if(e===Ws||e===Ho)throw Error(r(483))}var ta=null,sr=0;function Go(e){var i=sr;return sr+=1,ta===null&&(ta=[]),Up(ta,e,i)}function ar(e,i){i=i.props.ref,e.ref=i!==void 0?i:null}function Fo(e,i){throw i.$$typeof===v?Error(r(525)):(e=Object.prototype.toString.call(i),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e)))}function qp(e){function i(V,L){if(e){var P=V.deletions;P===null?(V.deletions=[L],V.flags|=16):P.push(L)}}function a(V,L){if(!e)return null;for(;L!==null;)i(V,L),L=L.sibling;return null}function o(V){for(var L=new Map;V!==null;)V.key!==null?L.set(V.key,V):L.set(V.index,V),V=V.sibling;return L}function c(V,L){return V=Nn(V,L),V.index=0,V.sibling=null,V}function d(V,L,P){return V.index=P,e?(P=V.alternate,P!==null?(P=P.index,P<L?(V.flags|=67108866,L):P):(V.flags|=67108866,L)):(V.flags|=1048576,L)}function b(V){return e&&V.alternate===null&&(V.flags|=67108866),V}function w(V,L,P,X){return L===null||L.tag!==6?(L=bc(P,V.mode,X),L.return=V,L):(L=c(L,P),L.return=V,L)}function M(V,L,P,X){var lt=P.type;return lt===C?Y(V,L,P.props.children,X,P.key):L!==null&&(L.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===U&&as(lt)===L.type)?(L=c(L,P.props),ar(L,P),L.return=V,L):(L=Po(P.type,P.key,P.props,null,V.mode,X),ar(L,P),L.return=V,L)}function B(V,L,P,X){return L===null||L.tag!==4||L.stateNode.containerInfo!==P.containerInfo||L.stateNode.implementation!==P.implementation?(L=Sc(P,V.mode,X),L.return=V,L):(L=c(L,P.children||[]),L.return=V,L)}function Y(V,L,P,X,lt){return L===null||L.tag!==7?(L=ts(P,V.mode,X,lt),L.return=V,L):(L=c(L,P),L.return=V,L)}function J(V,L,P){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return L=bc(""+L,V.mode,P),L.return=V,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case S:return P=Po(L.type,L.
vendor: 5,957 bytes, line 9
9key,L.props,null,V.mode,P),ar(P,L),P.return=V,P;case x:return L=Sc(L,V.mode,P),L.return=V,L;case U:return L=as(L),J(V,L,P)}if(Et(L)||it(L))return L=ts(L,V.mode,P,null),L.return=V,L;if(typeof L.then=="function")return J(V,Go(L),P);if(L.$$typeof===D)return J(V,Uo(V,L),P);Fo(V,L)}return null}function k(V,L,P,X){var lt=L!==null?L.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return lt!==null?null:w(V,L,""+P,X);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case S:return P.key===lt?M(V,L,P,X):null;case x:return P.key===lt?B(V,L,P,X):null;case U:return P=as(P),k(V,L,P,X)}if(Et(P)||it(P))return lt!==null?null:Y(V,L,P,X,null);if(typeof P.then=="function")return k(V,L,Go(P),X);if(P.$$typeof===D)return k(V,L,Uo(V,P),X);Fo(V,P)}return null}function F(V,L,P,X,lt){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return V=V.get(P)||null,w(L,V,""+X,lt);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case S:return V=V.get(X.key===null?P:X.key)||null,M(L,V,X,lt);case x:return V=V.get(X.key===null?P:X.key)||null,B(L,V,X,lt);case U:return X=as(X),F(V,L,P,X,lt)}if(Et(X)||it(X))return V=V.get(P)||null,Y(L,V,X,lt,null);if(typeof X.then=="function")return F(V,L,P,Go(X),lt);if(X.$$typeof===D)return F(V,L,P,Uo(L,X),lt);Fo(L,X)}return null}function at(V,L,P,X){for(var lt=null,Ct=null,ot=L,yt=L=0,wt=null;ot!==null&&yt<P.length;yt++){ot.index>yt?(wt=ot,ot=null):wt=ot.sibling;var Rt=k(V,ot,P[yt],X);if(Rt===null){ot===null&&(ot=wt);break}e&&ot&&Rt.alternate===null&&i(V,ot),L=d(Rt,L,yt),Ct===null?lt=Rt:Ct.sibling=Rt,Ct=Rt,ot=wt}if(yt===P.length)return a(V,ot),_t&&Un(V,yt),lt;if(ot===null){for(;yt<P.length;yt++)ot=J(V,P[yt],X),ot!==null&&(L=d(ot,L,yt),Ct===null?lt=ot:Ct.sibling=ot,Ct=ot);return _t&&Un(V,yt),lt}for(ot=o(ot);yt<P.length;yt++)wt=F(ot,V,yt,P[yt],X),wt!==null&&(e&&wt.alternate!==null&&ot.delete(wt.key===null?yt:wt.key),L=d(wt,L,yt),Ct===null?lt=wt:Ct.sibling=wt,Ct=wt);return e&&ot.forEach(function(Li){return i(V,Li)}),_t&&Un(V,yt),lt}function ut(V,L,P,X){if(P==null)throw Error(r(151));for(var lt=null,Ct=null,ot=L,yt=L=0,wt=null,Rt=P.next();ot!==null&&!Rt.done;yt++,Rt=P.next()){ot.index>yt?(wt=ot,ot=null):wt=ot.sibling;var Li=k(V,ot,Rt.value,X);if(Li===null){ot===null&&(ot=wt);break}e&&ot&&Li.alternate===null&&i(V,ot),L=d(Li,L,yt),Ct===null?lt=Li:Ct.sibling=Li,Ct=Li,ot=wt}if(Rt.done)return a(V,ot),_t&&Un(V,yt),lt;if(ot===null){for(;!Rt.done;yt++,Rt=P.next())Rt=J(V,Rt.value,X),Rt!==null&&(L=d(Rt,L,yt),Ct===null?lt=Rt:Ct.sibling=Rt,Ct=Rt);return _t&&Un(V,yt),lt}for(ot=o(ot);!Rt.done;yt++,Rt=P.next())Rt=F(ot,V,yt,Rt.value,X),Rt!==null&&(e&&Rt.alternate!==null&&ot.delete(Rt.key===null?yt:Rt.key),L=d(Rt,L,yt),Ct===null?lt=Rt:Ct.sibling=Rt,Ct=Rt);return e&&ot.forEach(function(xw){return i(V,xw)}),_t&&Un(V,yt),lt}function Pt(V,L,P,X){if(typeof P=="object"&&P!==null&&P.type===C&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case S:t:{for(var lt=P.key;L!==null;){if(L.key===lt){if(lt=P.type,lt===C){if(L.tag===7){a(V,L.sibling),X=c(L,P.props.children),X.return=V,V=X;break t}}else if(L.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===U&&as(lt)===L.type){a(V,L.sibling),X=c(L,P.props),ar(X,P),X.return=V,V=X;break t}a(V,L);break}else i(V,L);L=L.sibling}P.type===C?(X=ts(P.props.children,V.mode,X,P.key),X.return=V,V=X):(X=Po(P.type,P.key,P.props,null,V.mode,X),ar(X,P),X.return=V,V=X)}return b(V);case x:t:{for(lt=P.key;L!==null;){if(L.key===lt)if(L.tag===4&&L.stateNode.containerInfo===P.containerInfo&&L.stateNode.implementation===P.implementation){a(V,L.sibling),X=c(L,P.children||[]),X.return=V,V=X;break t}else{a(V,L);break}else i(V,L);L=L.sibling}X=Sc(P,V.mode,X),X.return=V,V=X}return b(V);case U:return P=as(P),Pt(V,L,P,X)}if(Et(P))return at(V,L,P,X);if(it(P)){if(lt=it(P),typeof lt!="function")throw Error(r(150));return P=lt.call(P),ut(V,L,P,X)}if(typeof P.then=="function")return Pt(V,L,Go(P),X);if(P.$$typeof===D)return Pt(V,L,Uo(V,P),X);Fo(V,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,L!==null&&L.tag===6?(a(V,L.sibling),X=c(L,P),X.return=V,V=X):(a(V,L),X=bc(P,V.mode,X),X.return=V,V=X),b(V)):a(V,L)}return function(V,L,P,X){try{sr=0;var lt=Pt(V,L,P,X);return ta=null,lt}catch(ot){if(ot===Ws||ot===Ho)throw ot;var Ct=Fe(29,ot,null,V.mode);return Ct.lanes=X,Ct.return=V,Ct}}}var os=qp(!0),Gp=qp(!1),pi=!1;function Lc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zc(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gi(e,i,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Dt&2)!==0){var c=o.pending;return c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i,i=jo(e),Ap(e,null,a),i}return Vo(e,o,i,a),jo(e)}function rr(e,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194048)!==0)){var o=i.lanes;o&=e.pendingLanes,a|=o,i.lanes=a,Vm(e,a)}}function Vc(e,i){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var c=null,d=null;if(a=a.firstBaseUpdate,a!==null){do{var b={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};d===null?c=d=b:d=d.next=b,a=a.next}while(a!==null);d===null?c=d=i:d=d.next=i}else c=d=i;a={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=i:e.next=i,a.lastBaseUpdate=i}var jc=!1;function or(){if(jc){var e=$s;if(e!==null)throw e}}function lr(e,i,a,o){jc=!1;var c=e.updateQueue;pi=!1;var d=c.firstBaseUpdate,b=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var M=w,B=M.next;M.next=null,b===null?d=B:b.next=B,b=M;var Y=e.alternate;
vendor: 7,576 bytes, line 9
9Y!==null&&(Y=Y.updateQueue,w=Y.lastBaseUpdate,w!==b&&(w===null?Y.firstBaseUpdate=B:w.next=B,Y.lastBaseUpdate=M))}if(d!==null){var J=c.baseState;b=0,Y=B=M=null,w=d;do{var k=w.lane&-536870913,F=k!==w.lane;if(F?(Tt&k)===k:(o&k)===k){k!==0&&k===Js&&(jc=!0),Y!==null&&(Y=Y.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});t:{var at=e,ut=w;k=i;var Pt=a;switch(ut.tag){case 1:if(at=ut.payload,typeof at=="function"){J=at.call(Pt,J,k);break t}J=at;break t;case 3:at.flags=at.flags&-65537|128;case 0:if(at=ut.payload,k=typeof at=="function"?at.call(Pt,J,k):at,k==null)break t;J=y({},J,k);break t;case 2:pi=!0}}k=w.callback,k!==null&&(e.flags|=64,F&&(e.flags|=8192),F=c.callbacks,F===null?c.callbacks=[k]:F.push(k))}else F={lane:k,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Y===null?(B=Y=F,M=J):Y=Y.next=F,b|=k;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;F=w,w=F.next,F.next=null,c.lastBaseUpdate=F,c.shared.pending=null}}while(!0);Y===null&&(M=J),c.baseState=M,c.firstBaseUpdate=B,c.lastBaseUpdate=Y,d===null&&(c.shared.lanes=0),Ti|=b,e.lanes=b,e.memoizedState=J}}function Fp(e,i){if(typeof e!="function")throw Error(r(191,e));e.call(i)}function Ip(e,i){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Fp(a[e],i)}var ea=O(null),Io=O(0);function Yp(e,i){e=Zn,et(Io,e),et(ea,i),Zn=e|i.baseLanes}function Pc(){et(Io,Zn),et(ea,ea.current)}function Bc(){Zn=Io.current,Q(ea),Q(Io)}var Ie=O(null),on=null;function vi(e){var i=e.alternate;et(Zt,Zt.current&1),et(Ie,e),on===null&&(i===null||ea.current!==null||i.memoizedState!==null)&&(on=e)}function Nc(e){et(Zt,Zt.current),et(Ie,e),on===null&&(on=e)}function Kp(e){e.tag===22?(et(Zt,Zt.current),et(Ie,e),on===null&&(on=e)):bi()}function bi(){et(Zt,Zt.current),et(Ie,Ie.current)}function Ye(e){Q(Ie),on===e&&(on=null),Q(Zt)}var Zt=O(0);function Yo(e){for(var i=e;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||If(a)||Yf(a)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var qn=0,ht=null,Vt=null,te=null,Ko=!1,na=!1,ls=!1,Qo=0,ur=0,ia=null,f3=0;function Kt(){throw Error(r(321))}function Uc(e,i){if(i===null)return!1;for(var a=0;a<i.length&&a<e.length;a++)if(!Ge(e[a],i[a]))return!1;return!0}function kc(e,i,a,o,c,d){return qn=d,ht=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,G.H=e===null||e.memoizedState===null?Dy:ef,ls=!1,d=a(o,c),ls=!1,na&&(d=Xp(i,a,o,c)),Qp(e),d}function Qp(e){G.H=dr;var i=Vt!==null&&Vt.next!==null;if(qn=0,te=Vt=ht=null,Ko=!1,ur=0,ia=null,i)throw Error(r(300));e===null||ee||(e=e.dependencies,e!==null&&No(e)&&(ee=!0))}function Xp(e,i,a,o){ht=e;var c=0;do{if(na&&(ia=null),ur=0,na=!1,25<=c)throw Error(r(301));if(c+=1,te=Vt=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}G.H=Oy,d=i(a,o)}while(na);return d}function d3(){var e=G.H,i=e.useState()[0];return i=typeof i.then=="function"?cr(i):i,e=e.useState()[0],(Vt!==null?Vt.memoizedState:null)!==e&&(ht.flags|=1024),i}function Hc(){var e=Qo!==0;return Qo=0,e}function qc(e,i,a){i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~a}function Gc(e){if(Ko){for(e=e.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}Ko=!1}qn=0,te=Vt=ht=null,na=!1,ur=Qo=0,ia=null}function Te(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return te===null?ht.memoizedState=te=e:te=te.next=e,te}function Jt(){if(Vt===null){var e=ht.alternate;e=e!==null?e.memoizedState:null}else e=Vt.next;var i=te===null?ht.memoizedState:te.next;if(i!==null)te=i,Vt=e;else{if(e===null)throw ht.alternate===null?Error(r(467)):Error(r(310));Vt=e,e={memoizedState:Vt.memoizedState,baseState:Vt.baseState,baseQueue:Vt.baseQueue,queue:Vt.queue,next:null},te===null?ht.memoizedState=te=e:te=te.next=e}return te}function Xo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function cr(e){var i=ur;return ur+=1,ia===null&&(ia=[]),e=Up(ia,e,i),i=ht,(te===null?i.memoizedState:te.next)===null&&(i=i.alternate,G.H=i===null||i.memoizedState===null?Dy:ef),e}function Zo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return cr(e);if(e.$$typeof===D)return ye(e)}throw Error(r(438,String(e)))}function Fc(e){var i=null,a=ht.updateQueue;if(a!==null&&(i=a.memoCache),i==null){var o=ht.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(i={data:o.data.map(function(c){return c.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),a===null&&(a=Xo(),ht.updateQueue=a),a.memoCache=i,a=i.data[i.index],a===void 0)for(a=i.data[i.index]=Array(e),o=0;o<e;o++)a[o]=Z;return i.index++,a}function Gn(e,i){return typeof i=="function"?i(e):i}function Jo(e){var i=Jt();return Ic(i,Vt,e)}function Ic(e,i,a){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=a;var c=e.baseQueue,d=o.pending;if(d!==null){if(c!==null){var b=c.next;c.next=d.next,d.next=b}i.baseQueue=c=d,o.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{i=c.next;var w=b=null,M=null,B=i,Y=!1;do{var J=B.lane&-536870913;if(J!==B.lane?(Tt&J)===J:(qn&J)===J){var k=B.revertLane;if(k===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),J===Js&&(Y=!0);else if((qn&k)===k){B=B.next,k===Js&&(Y=!0);continue}else J={lane:0,revertLane:B.revertLane,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},M===null?(w=M=J,b=d):M=M.next=J,ht.lanes|=k,Ti|=k;J=B.action,ls&&a(d,J),d=B.hasEagerState?B.eagerState:a(d,J)}else k={lane:J,revertLane:B.revertLane,gesture:B.gesture,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},M===null?(w=M=k,b=d):M=M.next=k,ht.lanes|=J,Ti|=J;B=B.next}while(B!==null&&B!==i);if(M===null?b=d:M.next=w,!Ge(d,e.memoizedState)&&(ee=!0,Y&&(a=$s,a!==null)))throw a;e.memoizedState=d,e.baseState=b,e.baseQueue=M,o.lastRenderedState=d}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Yc(e){var i=Jt(),a=i.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var o=a.dispatch,c=a.pending,d=i.memoizedState;if(c!==null){a.pending=null;var b=c=c.next;do d=e(d,b.action),b=b.next;while(b!==c);Ge(d,i.memoizedState)||(ee=!0),i.memoizedState=d,i.baseQueue===null&&(i.baseState=d),a.lastRenderedState=d}return[d,o]}function Zp(e,i,a){var o=ht,c=Jt(),d=_t;if(d){if(a===void 0)throw Error(r(407));a=a()}else a=i();var b=!Ge((Vt||c).memoizedState,a);if(b&&(c.memoizedState=a,ee=!0),c=c.queue,Xc(Wp.bind(null,o,c,e),[e]),c.getSnapshot!==i||b||te!==null&&te.memoizedState.tag&1){if(o.flags|=2048,sa(9,{destroy:void 0},$p.bind(null,o,c,a,i),null),Ut===null)throw Error(r(349));d||(qn&127)!==0||Jp(o,i,a)}return a}function Jp(e,i,a){e.flags|=16384,e={getSnapshot:i,value:a},i=ht.updateQueue,i===null?(i=Xo(),ht.updateQueue=i,i.stores=[e]):(a=i.stores,a===null?i.stores=[e]:a.push(e))}function $p(e,i,a,o){i.value=a,i.getSnapshot=o,ty(i)&&ey(e)}function Wp(e,i,a){return a(function(){ty(i)&&ey(e)})}function ty(e){var i=e.getSnapshot;e=e.value;try{var a=i();return!Ge(e,a)}catch{return!0}}function ey(e){var i=Wi(e,2);i!==null&&Ve(i,e,2)}
vendor: 4,190 bytes, line 9
9function Kc(e){var i=Te();if(typeof e=="function"){var a=e;if(e=a(),ls){li(!0);try{a()}finally{li(!1)}}}return i.memoizedState=i.baseState=e,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:e},i}function ny(e,i,a,o){return e.baseState=a,Ic(e,Vt,typeof o=="function"?o:Gn)}function h3(e,i,a,o,c){if(tl(e))throw Error(r(485));if(e=i.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){d.listeners.push(b)}};G.T!==null?a(!0):d.isTransition=!1,o(d),a=i.pending,a===null?(d.next=i.pending=d,iy(i,d)):(d.next=a.next,i.pending=a.next=d)}}function iy(e,i){var a=i.action,o=i.payload,c=e.state;if(i.isTransition){var d=G.T,b={};G.T=b;try{var w=a(c,o),M=G.S;M!==null&&M(b,w),sy(e,i,w)}catch(B){Qc(e,i,B)}finally{d!==null&&b.types!==null&&(d.types=b.types),G.T=d}}else try{d=a(c,o),sy(e,i,d)}catch(B){Qc(e,i,B)}}function sy(e,i,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){ay(e,i,o)},function(o){return Qc(e,i,o)}):ay(e,i,a)}function ay(e,i,a){i.status="fulfilled",i.value=a,ry(i),e.state=a,i=e.pending,i!==null&&(a=i.next,a===i?e.pending=null:(a=a.next,i.next=a,iy(e,a)))}function Qc(e,i,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do i.status="rejected",i.reason=a,ry(i),i=i.next;while(i!==o)}e.action=null}function ry(e){e=e.listeners;for(var i=0;i<e.length;i++)(0,e[i])()}function oy(e,i){return i}function ly(e,i){if(_t){var a=Ut.formState;if(a!==null){t:{var o=ht;if(_t){if(qt){e:{for(var c=qt,d=rn;c.nodeType!==8;){if(!d){c=null;break e}if(c=ln(c.nextSibling),c===null){c=null;break e}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){qt=ln(c.nextSibling),o=c.data==="F!";break t}}hi(o)}o=!1}o&&(i=a[0])}}return a=Te(),a.memoizedState=a.baseState=i,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oy,lastRenderedState:i},a.queue=o,a=Cy.bind(null,ht,o),o.dispatch=a,o=Kc(!1),d=tf.bind(null,ht,!1,o.queue),o=Te(),c={state:i,dispatch:null,action:e,pending:null},o.queue=c,a=h3.bind(null,ht,c,d,a),c.dispatch=a,o.memoizedState=e,[i,a,!1]}function uy(e){var i=Jt();return cy(i,Vt,e)}function cy(e,i,a){if(i=Ic(e,i,oy)[0],e=Jo(Gn)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var o=cr(i)}catch(b){throw b===Ws?Ho:b}else o=i;i=Jt();var c=i.queue,d=c.dispatch;return a!==i.memoizedState&&(ht.flags|=2048,sa(9,{destroy:void 0},m3.bind(null,c,a),null)),[o,d,e]}function m3(e,i){e.action=i}function fy(e){var i=Jt(),a=Vt;if(a!==null)return cy(i,a,e);Jt(),i=i.memoizedState,a=Jt();var o=a.queue.dispatch;return a.memoizedState=e,[i,o,!1]}function sa(e,i,a,o){return e={tag:e,create:a,deps:o,inst:i,next:null},i=ht.updateQueue,i===null&&(i=Xo(),ht.updateQueue=i),a=i.lastEffect,a===null?i.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,i.lastEffect=e),e}function dy(){return Jt().memoizedState}function $o(e,i,a,o){var c=Te();ht.flags|=e,c.memoizedState=sa(1|i,{destroy:void 0},a,o===void 0?null:o)}function Wo(e,i,a,o){var c=Jt();o=o===void 0?null:o;var d=c.memoizedState.inst;Vt!==null&&o!==null&&Uc(o,Vt.memoizedState.deps)?c.memoizedState=sa(i,d,a,o):(ht.flags|=e,c.memoizedState=sa(1|i,d,a,o))}function hy(e,i){$o(8390656,8,e,i)}function Xc(e,i){Wo(2048,8,e,i)}function p3(e){ht.flags|=4;var i=ht.updateQueue;if(i===null)i=Xo(),ht.updateQueue=i,i.events=[e];else{var a=i.events;a===null?i.events=[e]:a.push(e)}}function my(e){var i=Jt().memoizedState;return p3({ref:i,nextImpl:e}),function(){if((Dt&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}function py(e,i){return Wo(4,2,e,i)}function yy(e,i){return Wo(4,4,e,i)}function gy(e,i){if(typeof i=="function"){e=e();var a=i(e);return function(){typeof a=="function"?a():i(null)}}if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function vy(e,i,a){a=a!=null?a.concat([e]):null,Wo(4,4,gy.bind(null,i,e),a)}function Zc(){}function by(e,i){var a=Jt();i=i===void 0?null:i;var o=a.memoizedState;return i!==null&&Uc(i,o[1])?o[0]:(a.memoizedState=[e,i],e)}function Sy(e,i){var a=Jt();i=i===void 0?null:i;var o=a.memoizedState;if(i!==null&&Uc(i,o[1]))return o[0];if(o=e(),ls){li(!0);try{e()}finally{li(!1)}}return a.memoizedState=[o,i],o}
vendor: 4,287 bytes, line 9
9function Jc(e,i,a){return a===void 0||(qn&1073741824)!==0&&(Tt&261930)===0?e.memoizedState=i:(e.memoizedState=a,e=xg(),ht.lanes|=e,Ti|=e,a)}function xy(e,i,a,o){return Ge(a,i)?a:ea.current!==null?(e=Jc(e,a,o),Ge(e,i)||(ee=!0),e):(qn&42)===0||(qn&1073741824)!==0&&(Tt&261930)===0?(ee=!0,e.memoizedState=a):(e=xg(),ht.lanes|=e,Ti|=e,i)}function Ty(e,i,a,o,c){var d=$.p;$.p=d!==0&&8>d?d:8;var b=G.T,w={};G.T=w,tf(e,!1,i,a);try{var M=c(),B=G.S;if(B!==null&&B(w,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var Y=c3(M,o);fr(e,i,Y,Xe(e))}else fr(e,i,o,Xe(e))}catch(J){fr(e,i,{then:function(){},status:"rejected",reason:J},Xe())}finally{$.p=d,b!==null&&w.types!==null&&(b.types=w.types),G.T=b}}function y3(){}function $c(e,i,a,o){if(e.tag!==5)throw Error(r(476));var c=wy(e).queue;Ty(e,c,i,tt,a===null?y3:function(){return _y(e),a(o)})}function wy(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:tt,baseState:tt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:tt},next:null};var a={};return i.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:a},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function _y(e){var i=wy(e);i.next===null&&(i=e.alternate.memoizedState),fr(e,i.next.queue,{},Xe())}function Wc(){return ye(Rr)}function Ey(){return Jt().memoizedState}function Ay(){return Jt().memoizedState}function g3(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var a=Xe();e=yi(a);var o=gi(i,e,a);o!==null&&(Ve(o,i,a),rr(o,i,a)),i={cache:Rc()},e.payload=i;return}i=i.return}}function v3(e,i,a){var o=Xe();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},tl(e)?Ry(i,a):(a=gc(e,i,a,o),a!==null&&(Ve(a,e,o),My(a,i,o)))}function Cy(e,i,a){var o=Xe();fr(e,i,a,o)}function fr(e,i,a,o){var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(tl(e))Ry(i,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=i.lastRenderedReducer,d!==null))try{var b=i.lastRenderedState,w=d(b,a);if(c.hasEagerState=!0,c.eagerState=w,Ge(w,b))return Vo(e,i,c,0),Ut===null&&zo(),!1}catch{}if(a=gc(e,i,c,o),a!==null)return Ve(a,e,o),My(a,i,o),!0}return!1}function tf(e,i,a,o){if(o={lane:2,revertLane:zf(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},tl(e)){if(i)throw Error(r(479))}else i=gc(e,a,o,2),i!==null&&Ve(i,e,2)}function tl(e){var i=e.alternate;return e===ht||i!==null&&i===ht}function Ry(e,i){na=Ko=!0;var a=e.pending;a===null?i.next=i:(i.next=a.next,a.next=i),e.pending=i}function My(e,i,a){if((a&4194048)!==0){var o=i.lanes;o&=e.pendingLanes,a|=o,i.lanes=a,Vm(e,a)}}var dr={readContext:ye,use:Zo,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useLayoutEffect:Kt,useInsertionEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useSyncExternalStore:Kt,useId:Kt,useHostTransitionStatus:Kt,useFormState:Kt,useActionState:Kt,useOptimistic:Kt,useMemoCache:Kt,useCacheRefresh:Kt};dr.useEffectEvent=Kt;var Dy={readContext:ye,use:Zo,useCallback:function(e,i){return Te().memoizedState=[e,i===void 0?null:i],e},useContext:ye,useEffect:hy,useImperativeHandle:function(e,i,a){a=a!=null?a.concat([e]):null,$o(4194308,4,gy.bind(null,i,e),a)},useLayoutEffect:function(e,i){return $o(4194308,4,e,i)},useInsertionEffect:function(e,i){$o(4,2,e,i)},useMemo:function(e,i){var a=Te();i=i===void 0?null:i;var o=e();if(ls){li(!0);try{e()}finally{li(!1)}}return a.memoizedState=[o,i],o},useReducer:function(e,i,a){var o=Te();if(a!==void 0){var c=a(i);if(ls){li(!0);try{a(i)}finally{li(!1)}}}else c=i;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=v3.bind(null,ht,e),[o.memoizedState,e]},useRef:function(e){var i=Te();return e={current:e},i.memoizedState=e},useState:function(e){e=Kc(e);var i=e.queue,a=Cy.bind(null,ht,i);return i.dispatch=a,[e.memoizedState,a]},useDebugValue:Zc,useDeferredValue:function(e,i){var a=Te();return Jc(a,e,i)},useTransition:function(){var e=Kc(!1);return e=Ty.bind(null,ht,e.queue,!0,!1),Te().memoizedState=e,[!1,e]}
vendor: 6,316 bytes, line 9
9,useSyncExternalStore:function(e,i,a){var o=ht,c=Te();if(_t){if(a===void 0)throw Error(r(407));a=a()}else{if(a=i(),Ut===null)throw Error(r(349));(Tt&127)!==0||Jp(o,i,a)}c.memoizedState=a;var d={value:a,getSnapshot:i};return c.queue=d,hy(Wp.bind(null,o,d,e),[e]),o.flags|=2048,sa(9,{destroy:void 0},$p.bind(null,o,d,a,i),null),a},useId:function(){var e=Te(),i=Ut.identifierPrefix;if(_t){var a=wn,o=Tn;a=(o&~(1<<32-qe(o)-1)).toString(32)+a,i="_"+i+"R_"+a,a=Qo++,0<a&&(i+="H"+a.toString(32)),i+="_"}else a=f3++,i="_"+i+"r_"+a.toString(32)+"_";return e.memoizedState=i},useHostTransitionStatus:Wc,useFormState:ly,useActionState:ly,useOptimistic:function(e){var i=Te();i.memoizedState=i.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=a,i=tf.bind(null,ht,!0,a),a.dispatch=i,[e,i]},useMemoCache:Fc,useCacheRefresh:function(){return Te().memoizedState=g3.bind(null,ht)},useEffectEvent:function(e){var i=Te(),a={impl:e};return i.memoizedState=a,function(){if((Dt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},ef={readContext:ye,use:Zo,useCallback:by,useContext:ye,useEffect:Xc,useImperativeHandle:vy,useInsertionEffect:py,useLayoutEffect:yy,useMemo:Sy,useReducer:Jo,useRef:dy,useState:function(){return Jo(Gn)},useDebugValue:Zc,useDeferredValue:function(e,i){var a=Jt();return xy(a,Vt.memoizedState,e,i)},useTransition:function(){var e=Jo(Gn)[0],i=Jt().memoizedState;return[typeof e=="boolean"?e:cr(e),i]},useSyncExternalStore:Zp,useId:Ey,useHostTransitionStatus:Wc,useFormState:uy,useActionState:uy,useOptimistic:function(e,i){var a=Jt();return ny(a,Vt,e,i)},useMemoCache:Fc,useCacheRefresh:Ay};ef.useEffectEvent=my;var Oy={readContext:ye,use:Zo,useCallback:by,useContext:ye,useEffect:Xc,useImperativeHandle:vy,useInsertionEffect:py,useLayoutEffect:yy,useMemo:Sy,useReducer:Yc,useRef:dy,useState:function(){return Yc(Gn)},useDebugValue:Zc,useDeferredValue:function(e,i){var a=Jt();return Vt===null?Jc(a,e,i):xy(a,Vt.memoizedState,e,i)},useTransition:function(){var e=Yc(Gn)[0],i=Jt().memoizedState;return[typeof e=="boolean"?e:cr(e),i]},useSyncExternalStore:Zp,useId:Ey,useHostTransitionStatus:Wc,useFormState:fy,useActionState:fy,useOptimistic:function(e,i){var a=Jt();return Vt!==null?ny(a,Vt,e,i):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Fc,useCacheRefresh:Ay};Oy.useEffectEvent=my;function nf(e,i,a,o){i=e.memoizedState,a=a(o,i),a=a==null?i:y({},i,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var sf={enqueueSetState:function(e,i,a){e=e._reactInternals;var o=Xe(),c=yi(o);c.payload=i,a!=null&&(c.callback=a),i=gi(e,c,o),i!==null&&(Ve(i,e,o),rr(i,e,o))},enqueueReplaceState:function(e,i,a){e=e._reactInternals;var o=Xe(),c=yi(o);c.tag=1,c.payload=i,a!=null&&(c.callback=a),i=gi(e,c,o),i!==null&&(Ve(i,e,o),rr(i,e,o))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var a=Xe(),o=yi(a);o.tag=2,i!=null&&(o.callback=i),i=gi(e,o,a),i!==null&&(Ve(i,e,a),rr(i,e,a))}};function Ly(e,i,a,o,c,d,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,b):i.prototype&&i.prototype.isPureReactComponent?!$a(a,o)||!$a(c,d):!0}function zy(e,i,a,o){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,o),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,o),i.state!==e&&sf.enqueueReplaceState(i,i.state,null)}function us(e,i){var a=i;if("ref"in i){a={};for(var o in i)o!=="ref"&&(a[o]=i[o])}if(e=e.defaultProps){a===i&&(a=y({},a));for(var c in e)a[c]===void 0&&(a[c]=e[c])}return a}function Vy(e){Lo(e)}function jy(e){console.error(e)}function Py(e){Lo(e)}function el(e,i){try{var a=e.onUncaughtError;a(i.value,{componentStack:i.stack})}catch(o){setTimeout(function(){throw o})}}function By(e,i,a){try{var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function af(e,i,a){return a=yi(a),a.tag=3,a.payload={element:null},a.callback=function(){el(e,i)},a}function Ny(e){return e=yi(e),e.tag=3,e}function Uy(e,i,a,o){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;e.payload=function(){return c(d)},e.callback=function(){By(i,a,o)}}var b=a.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){By(i,a,o),typeof c!="function"&&(wi===null?wi=new Set([this]):wi.add(this));var w=o.stack;this.componentDidCatch(o.value,{componentStack:w!==null?w:""})})}function b3(e,i,a,o,c){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(i=a.alternate,i!==null&&Zs(i,a,c,!0),a=Ie.current,a!==null){switch(a.tag){case 31:case 13:return on===null?hl():a.alternate===null&&Qt===0&&(Qt=3),a.flags&=-257,a.flags|=65536,a.lanes=c,o===qo?a.flags|=16384:(i=a.updateQueue,i===null?a.updateQueue=new Set([o]):i.add(o),Df(e,o,c)),!1;case 22:return a.flags|=65536,o===qo?a.flags|=16384:(i=a.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=i):(a=i.retryQueue,a===null?i.retryQueue=new Set([o]):a.add(o)),Df(e,o,c)),!1}throw Error(r(435,a.tag))}return Df(e,o,c),hl(),!1}if(_t)return i=Ie.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=c,o!==wc&&(e=Error(r(422),{cause:o}),er(nn(e,a)))):(o!==wc&&(i=Error(r(423),{cause:o}),er(nn(i,a))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=nn(o,a),c=af(e.stateNode,o,c),Vc(e,c),Qt!==4&&(Qt=2)),!1;var d=Error(r(520),{cause:o});if(d=nn(d,a),Sr===null?Sr=[d]:Sr.push(d),Qt!==4&&(Qt=2),i===null)return!0;o=nn(o,a),a=i;do{switch(a.tag){case 3:return a.flags|=65536,e=c&-c,a.lanes|=e,e=af(a.stateNode,o,e),Vc(a,e),!1;case 1:if(i=a.type,d=a.stateNode,(a.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(wi===null||!wi.has(d))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Ny(c),Uy(c,e,a,o),Vc(a,c),!1}a=a.return}while(a!==null);return!1}var rf=Error(r(461)),ee=!1;function ge(e,i,a,o){i.child=e===null?Gp(i,null,a,o):os(i,e.child,a,o)}function ky(e,i,a,o,c){a=a.render;var d=i.ref;if("ref"in o){var b={};for(var w in o)w!=="ref"&&(b[w]=o[w])}else b=o;return is(i),o=kc(e,i,a,b,d,c),w=Hc(),e!==null&&!ee?(qc(e,i,c),Fn(e,i,c)):(_t&&w&&xc(i),i.flags|=1,ge(e,i,o,
vendor: 13,576 bytes, line 9
9c),i.child)}function Hy(e,i,a,o,c){if(e===null){var d=a.type;return typeof d=="function"&&!vc(d)&&d.defaultProps===void 0&&a.compare===null?(i.tag=15,i.type=d,qy(e,i,d,o,c)):(e=Po(a.type,null,o,i,i.mode,c),e.ref=i.ref,e.return=i,i.child=e)}if(d=e.child,!mf(e,c)){var b=d.memoizedProps;if(a=a.compare,a=a!==null?a:$a,a(b,o)&&e.ref===i.ref)return Fn(e,i,c)}return i.flags|=1,e=Nn(d,o),e.ref=i.ref,e.return=i,i.child=e}function qy(e,i,a,o,c){if(e!==null){var d=e.memoizedProps;if($a(d,o)&&e.ref===i.ref)if(ee=!1,i.pendingProps=o=d,mf(e,c))(e.flags&131072)!==0&&(ee=!0);else return i.lanes=e.lanes,Fn(e,i,c)}return of(e,i,a,o,c)}function Gy(e,i,a,o){var c=o.children,d=e!==null?e.memoizedState:null;if(e===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((i.flags&128)!==0){if(d=d!==null?d.baseLanes|a:a,e!==null){for(o=i.child=e.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~d}else o=0,i.child=null;return Fy(e,i,d,a,o)}if((a&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},e!==null&&ko(i,d!==null?d.cachePool:null),d!==null?Yp(i,d):Pc(),Kp(i);else return o=i.lanes=536870912,Fy(e,i,d!==null?d.baseLanes|a:a,a,o)}else d!==null?(ko(i,d.cachePool),Yp(i,d),bi(),i.memoizedState=null):(e!==null&&ko(i,null),Pc(),bi());return ge(e,i,c,a),i.child}function hr(e,i){return e!==null&&e.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function Fy(e,i,a,o,c){var d=Dc();return d=d===null?null:{parent:Wt._currentValue,pool:d},i.memoizedState={baseLanes:a,cachePool:d},e!==null&&ko(i,null),Pc(),Kp(i),e!==null&&Zs(e,i,o,!0),i.childLanes=c,null}function nl(e,i){return i=sl({mode:i.mode,children:i.children},e.mode),i.ref=e.ref,e.child=i,i.return=e,i}function Iy(e,i,a){return os(i,e.child,null,a),e=nl(i,i.pendingProps),e.flags|=2,Ye(i),i.memoizedState=null,e}function S3(e,i,a){var o=i.pendingProps,c=(i.flags&128)!==0;if(i.flags&=-129,e===null){if(_t){if(o.mode==="hidden")return e=nl(i,o),i.lanes=536870912,hr(null,e);if(Nc(i),(e=qt)?(e=i0(e,rn),e=e!==null&&e.data==="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:fi!==null?{id:Tn,overflow:wn}:null,retryLane:536870912,hydrationErrors:null},a=Rp(e),a.return=i,i.child=a,pe=i,qt=null)):e=null,e===null)throw hi(i);return i.lanes=536870912,null}return nl(i,o)}var d=e.memoizedState;if(d!==null){var b=d.dehydrated;if(Nc(i),c)if(i.flags&256)i.flags&=-257,i=Iy(e,i,a);else if(i.memoizedState!==null)i.child=e.child,i.flags|=128,i=null;else throw Error(r(558));else if(ee||Zs(e,i,a,!1),c=(a&e.childLanes)!==0,ee||c){if(o=Ut,o!==null&&(b=jm(o,a),b!==0&&b!==d.retryLane))throw d.retryLane=b,Wi(e,b),Ve(o,e,b),rf;hl(),i=Iy(e,i,a)}else e=d.treeContext,qt=ln(b.nextSibling),pe=i,_t=!0,di=null,rn=!1,e!==null&&Op(i,e),i=nl(i,o),i.flags|=4096;return i}return e=Nn(e.child,{mode:o.mode,children:o.children}),e.ref=i.ref,i.child=e,e.return=i,e}function il(e,i){var a=i.ref;if(a===null)e!==null&&e.ref!==null&&(i.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(i.flags|=4194816)}}function of(e,i,a,o,c){return is(i),a=kc(e,i,a,o,void 0,c),o=Hc(),e!==null&&!ee?(qc(e,i,c),Fn(e,i,c)):(_t&&o&&xc(i),i.flags|=1,ge(e,i,a,c),i.child)}function Yy(e,i,a,o,c,d){return is(i),i.updateQueue=null,a=Xp(i,o,a,c),Qp(e),o=Hc(),e!==null&&!ee?(qc(e,i,d),Fn(e,i,d)):(_t&&o&&xc(i),i.flags|=1,ge(e,i,a,d),i.child)}function Ky(e,i,a,o,c){if(is(i),i.stateNode===null){var d=Ys,b=a.contextType;typeof b=="object"&&b!==null&&(d=ye(b)),d=new a(o,d),i.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=sf,i.stateNode=d,d._reactInternals=i,d=i.stateNode,d.props=o,d.state=i.memoizedState,d.refs={},Lc(i),b=a.contextType,d.context=typeof b=="object"&&b!==null?ye(b):Ys,d.state=i.memoizedState,b=a.getDerivedStateFromProps,typeof b=="function"&&(nf(i,a,b,o),d.state=i.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(b=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),b!==d.state&&sf.enqueueReplaceState(d,d.state,null),lr(i,o,d,c),or(),d.state=i.memoizedState),typeof d.componentDidMount=="function"&&(i.flags|=4194308),o=!0}else if(e===null){d=i.stateNode;var w=i.memoizedProps,M=us(a,w);d.props=M;var B=d.context,Y=a.contextType;b=Ys,typeof Y=="object"&&Y!==null&&(b=ye(Y));var J=a.getDerivedStateFromProps;Y=typeof J=="function"||typeof d.getSnapshotBeforeUpdate=="function",w=i.pendingProps!==w,Y||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(w||B!==b)&&zy(i,d,o,b),pi=!1;var k=i.memoizedState;d.state=k,lr(i,o,d,c),or(),B=i.memoizedState,w||k!==B||pi?(typeof J=="function"&&(nf(i,a,J,o),B=i.memoizedState),(M=pi||Ly(i,a,M,o,k,B,b))?(Y||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(i.flags|=4194308)):(typeof d.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=o,i.memoizedState=B),d.props=o,d.state=B,d.context=b,o=M):(typeof d.componentDidMount=="function"&&(i.flags|=4194308),o=!1)}else{d=i.stateNode,zc(e,i),b=i.memoizedProps,Y=us(a,b),d.props=Y,J=i.pendingProps,k=d.context,B=a.contextType,M=Ys,typeof B=="object"&&B!==null&&(M=ye(B)),w=a.getDerivedStateFromProps,(B=typeof w=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(b!==J||k!==M)&&zy(i,d,o,M),pi=!1,k=i.memoizedState,d.state=k,lr(i,o,d,c),or();var F=i.memoizedState;b!==J||k!==F||pi||e!==null&&e.dependencies!==null&&No(e.dependencies)?(typeof w=="function"&&(nf(i,a,w,o),F=i.memoizedState),(Y=pi||Ly(i,a,Y,o,k,F,M)||e!==null&&e.dependencies!==null&&No(e.dependencies))?(B||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,F,M),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,F,M)),typeof d.componentDidUpdate=="function"&&(i.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof d.componentDidUpdate!="function"||b===e.memoizedProps&&k===e.memoizedState||(i.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&k===e.memoizedState||(i.flags|=1024),i.memoizedProps=o,i.memoizedState=F),d.props=o,d.state=F,d.context=M,o=Y):(typeof d.componentDidUpdate!="function"||b===e.memoizedProps&&k===e.memoizedState||(i.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&k===e.memoizedState||(i.flags|=1024),o=!1)}return d=o,il(e,i),o=(i.flags&128)!==0,d||o?(d=i.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:d.render(),i.flags|=1,e!==null&&o?(i.child=os(i,e.child,null,c),i.child=os(i,null,a,c)):ge(e,i,a,c),i.memoizedState=d.state,e=i.child):e=Fn(e,i,c),e}function Qy(e,i,a,o){return es(),i.flags|=256,ge(e,i,a,o),i.child}var lf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function uf(e){return{baseLanes:e,cachePool:Bp()}}function cf(e,i,a){return e=e!==null?e.childLanes&~a:0,i&&(e|=Qe),e}function Xy(e,i,a){var o=i.pendingProps,c=!1,d=(i.flags&128)!==0,b;if((b=d)||(b=e!==null&&e.memoizedState===null?!1:(Zt.current&2)!==0),b&&(c=!0,i.flags&=-129),b=(i.flags&32)!==0,i.flags&=-33,e===null){if(_t){if(c?vi(i):bi(),(e=qt)?(e=i0(e,rn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:fi!==null?{id:Tn,overflow:wn}:null,retryLane:536870912,hydrationErrors:null},a=Rp(e),a.return=i,i.child=a,pe=i,qt=null)):e=null,e===null)throw hi(i);return Yf(e)?i.lanes=32:i.lanes=536870912,null}var w=o.children;return o=o.fallback,c?(bi(),c=i.mode,w=sl({mode:"hidden",children:w},c),o=ts(o,c,a,null),w.return=i,o.return=i,w.sibling=o,i.child=w,o=i.child,o.memoizedState=uf(a),o.childLanes=cf(e,b,a),i.memoizedState=lf,hr(null,o)):(vi(i),ff(i,w))}var M=e.memoizedState;if(M!==null&&(w=M.dehydrated,w!==null)){if(d)i.flags&256?(vi(i),i.flags&=-257,i=df(e,i,a)):i.memoizedState!==null?(bi(),i.child=e.child,i.flags|=128,i=null):(bi(),w=o.fallback,c=i.mode,o=sl({mode:"visible",children:o.children},c),w=ts(w,c,a,null),w.flags|=2,o.return=i,w.return=i,o.sibling=w,i.child=o,os(i,e.child,null,a),o=i.child,o.memoizedState=uf(a),o.childLanes=cf(e,b,a),i.memoizedState=lf,i=hr(null,o));else if(vi(i),Yf(w)){if(b=w.nextSibling&&w.nextSibling.dataset,b)var B=b.dgst;b=B,o=Error(r(419)),o.stack="",o.digest=b,er({value:o,source:null,stack:null}),i=df(e,i,a)}else if(ee||Zs(e,i,a,!1),b=(a&e.childLanes)!==0,ee||b){if(b=Ut,b!==null&&(o=jm(b,a),o!==0&&o!==M.retryLane))throw M.retryLane=o,Wi(e,o),Ve(b,e,o),rf;If(w)||hl(),i=df(e,i,a)}else If(w)?(i.flags|=192,i.child=e.child,i=null):(e=M.treeContext,qt=ln(w.nextSibling),pe=i,_t=!0,di=null,rn=!1,e!==null&&Op(i,e),i=ff(i,o.children),i.flags|=4096);return i}return c?(bi(),w=o.fallback,c=i.mode,M=e.child,B=M.sibling,o=Nn(M,{mode:"hidden",children:o.children}),o.subtreeFlags=M.subtreeFlags&65011712,B!==null?w=Nn(B,w):(w=ts(w,c,a,null),w.flags|=2),w.return=i,o.return=i,o.sibling=w,i.child=o,hr(null,o),o=i.child,w=e.child.memoizedState,w===null?w=uf(a):(c=w.cachePool,c!==null?(M=Wt._currentValue,c=c.parent!==M?{parent:M,pool:M}:c):c=Bp(),w={baseLanes:w.baseLanes|a,cachePool:c}),o.memoizedState=w,o.childLanes=cf(e,b,a),i.memoizedState=lf,hr(e.child,o)):(vi(i),a=e.child,e=a.sibling,a=Nn(a,{mode:"visible",children:o.children}),a.return=i,a.sibling=null,e!==null&&(b=i.deletions,b===null?(i.deletions=[e],i.flags|=16):b.push(e)),i.child=a,i.memoizedState=null,a)}function ff(e,i){return i=sl({mode:"visible",children:i},e.mode),i.return=e,e.child=i}function sl(e,i){return e=Fe(22,e,null,i),e.lanes=0,e}function df(e,i,a){return os(i,e.child,null,a),e=ff(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function Zy(e,i,a){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i),Ac(e.return,i,a)}function hf(e,i,a,o,c,d){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:c,treeForkCount:d}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=o,b.tail=a,b.tailMode=c,b.treeForkCount=d)}function Jy(e,i,a){var o=i.pendingProps,c=o.revealOrder,d=o.tail;o=o.children;var b=Zt.current,w=(b&2)!==0;if(w?(b=b&1|2,i.flags|=128):b&=1,et(Zt,b),ge(e,i,o,a),o=_t?tr:0,!w&&e!==null&&(e.flags&128)!==0)t:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zy(e,a,i);else if(e.tag===19)Zy(e,a,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break t;for(;e.sibling===null;){if(e.return===null||e.return===i)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(a=i.child,c=null;a!==null;)e=a.alternate,e!==null&&Yo(e)===null&&(c=a),a=a.sibling;a=c,a===null?(c=i.child,i.child=null):(c=a.sibling,a.sibling=null),hf(i,!1,c,a,d,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=i.child,i.child=null;c!==null;){if(e=c.alternate,e!==null&&Yo(e)===null){i.child=c;break}e=c.sibling,c.sibling=a,a=c,c=e}hf(i,!0,a,null,d,o);break;case"together":hf(i,!1,null,null,void 0,o);break;default:i.memoizedState=null}return i.child}function Fn(e,i,a){if(e!==null&&(i.dependencies=e.dependencies),Ti|=i.lanes,(a&i.childLanes)===0)if(e!==null){if(Zs(e,i,a,!1),(a&i.childLanes)===0)return null}else return null;if(e!==null&&i.child!==e.child)throw Error(r(153));if(i.child!==null){for(e=i.child,a=Nn(e,e.pendingProps),i.child=a,a.return=i;e.sibling!==null;)e=e.sibling,a=a.sibling=Nn(e,e.pendingProps),a.return=i;a.sibling=null}return i.child}function mf(e,i){return(e.lanes&i)!==0?!0:(e=e.dependencies,!!(e!==null&&No(e)))}function x3(e,i,a){switch(i.tag){case 3:Nt(i,i.stateNode.containerInfo),mi(i,Wt,e.memoizedState.cache),es();break;case 27:case 5:Je(i);break;case 4:Nt(i,i.stateNode.containerInfo);break;case 10:mi(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Nc(i),null;break;case 13:var o=i.memoizedState;if(o!==null)return o.dehydrated!==null?(vi(i),i.flags|=128,null):(a&i.child.childLanes)!==0?Xy(e,i,a):(vi(i),e=Fn(e,i,a),e!==null?e.sibling:null);vi(i);break;case 19:var c=(e.flags&128)!==0;if(o=(a&i.childLanes)!==0,o||(Zs(e,i,a,!1),o=(a&i.childLanes)!==0),c){if(o)return Jy(e,i,a);i.flags|=128}if(c=i.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),et(Zt,Zt.current),o)break;return null;case 22:return i.lanes=0,Gy(e,i,a,i.pendingProps);case 24:mi(i,Wt,e.memoizedState.cache)}return Fn(e,i,a)}function $y(e,i,a){if(e!==null)if(e.memoizedProps!==i.pendingProps)ee=!0;else{if(!mf(e,a)&&(i.flags&128)===0)return ee=!1,x3(e,i,a);ee=(e.flags&131072)!==0}else ee=!1,_t&&(i.flags&1048576)!==0&&Dp(i,tr,i.index);switch(i.lanes=0,i.tag){case 16:t:{var o=i.pendingProps;if(e=as(i.elementType),i.type=e,typeof e=="function")vc(e)?(o=us(e,o),i.tag=1,i=Ky(null,i,e,o,a)):(i.tag=0,i=of(null,i,e,o,a));else{if(e!=null){var c=e.$$typeof;if(c===z){i.tag=11,i=ky(null,i,e,o,a);break t}else if(c===j){i.tag=14,i=Hy(null,i,e,o,a);break t}}throw i=gt(e)||e,Error(r(306,i,""))}}return i;case 0:return of(e,i,i.type,i.pendingProps,a);
vendor: 5,862 bytes, line 9
9case 1:return o=i.type,c=us(o,i.pendingProps),Ky(e,i,o,c,a);case 3:t:{if(Nt(i,i.stateNode.containerInfo),e===null)throw Error(r(387));o=i.pendingProps;var d=i.memoizedState;c=d.element,zc(e,i),lr(i,o,null,a);var b=i.memoizedState;if(o=b.cache,mi(i,Wt,o),o!==d.cache&&Cc(i,[Wt],a,!0),or(),o=b.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:b.cache},i.updateQueue.baseState=d,i.memoizedState=d,i.flags&256){i=Qy(e,i,o,a);break t}else if(o!==c){c=nn(Error(r(424)),i),er(c),i=Qy(e,i,o,a);break t}else for(e=i.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,qt=ln(e.firstChild),pe=i,_t=!0,di=null,rn=!0,a=Gp(i,null,o,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(es(),o===c){i=Fn(e,i,a);break t}ge(e,i,o,a)}i=i.child}return i;case 26:return il(e,i),e===null?(a=u0(i.type,null,i.pendingProps,null))?i.memoizedState=a:_t||(a=i.type,e=i.pendingProps,o=Sl(ft.current).createElement(a),o[me]=i,o[Re]=e,ve(o,a,e),le(o),i.stateNode=o):i.memoizedState=u0(i.type,e.memoizedProps,i.pendingProps,e.memoizedState),null;case 27:return Je(i),e===null&&_t&&(o=i.stateNode=r0(i.type,i.pendingProps,ft.current),pe=i,rn=!0,c=qt,Ci(i.type)?(Kf=c,qt=ln(o.firstChild)):qt=c),ge(e,i,i.pendingProps.children,a),il(e,i),e===null&&(i.flags|=4194304),i.child;case 5:return e===null&&_t&&((c=o=qt)&&(o=J3(o,i.type,i.pendingProps,rn),o!==null?(i.stateNode=o,pe=i,qt=ln(o.firstChild),rn=!1,c=!0):c=!1),c||hi(i)),Je(i),c=i.type,d=i.pendingProps,b=e!==null?e.memoizedProps:null,o=d.children,qf(c,d)?o=null:b!==null&&qf(c,b)&&(i.flags|=32),i.memoizedState!==null&&(c=kc(e,i,d3,null,null,a),Rr._currentValue=c),il(e,i),ge(e,i,o,a),i.child;case 6:return e===null&&_t&&((e=a=qt)&&(a=$3(a,i.pendingProps,rn),a!==null?(i.stateNode=a,pe=i,qt=null,e=!0):e=!1),e||hi(i)),null;case 13:return Xy(e,i,a);case 4:return Nt(i,i.stateNode.containerInfo),o=i.pendingProps,e===null?i.child=os(i,null,o,a):ge(e,i,o,a),i.child;case 11:return ky(e,i,i.type,i.pendingProps,a);case 7:return ge(e,i,i.pendingProps,a),i.child;case 8:return ge(e,i,i.pendingProps.children,a),i.child;case 12:return ge(e,i,i.pendingProps.children,a),i.child;case 10:return o=i.pendingProps,mi(i,i.type,o.value),ge(e,i,o.children,a),i.child;case 9:return c=i.type._context,o=i.pendingProps.children,is(i),c=ye(c),o=o(c),i.flags|=1,ge(e,i,o,a),i.child;case 14:return Hy(e,i,i.type,i.pendingProps,a);case 15:return qy(e,i,i.type,i.pendingProps,a);case 19:return Jy(e,i,a);case 31:return S3(e,i,a);case 22:return Gy(e,i,a,i.pendingProps);case 24:return is(i),o=ye(Wt),e===null?(c=Dc(),c===null&&(c=Ut,d=Rc(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=a),c=d),i.memoizedState={parent:o,cache:c},Lc(i),mi(i,Wt,c)):((e.lanes&a)!==0&&(zc(e,i),lr(i,null,null,a),or()),c=e.memoizedState,d=i.memoizedState,c.parent!==o?(c={parent:o,cache:o},i.memoizedState=c,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=c),mi(i,Wt,o)):(o=d.cache,mi(i,Wt,o),o!==c.cache&&Cc(i,[Wt],a,!0))),ge(e,i,i.pendingProps.children,a),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function In(e){e.flags|=4}function pf(e,i,a,o,c){if((i=(e.mode&32)!==0)&&(i=!1),i){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(Eg())e.flags|=8192;else throw rs=qo,Oc}else e.flags&=-16777217}function Wy(e,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!m0(i))if(Eg())e.flags|=8192;else throw rs=qo,Oc}function al(e,i){i!==null&&(e.flags|=4),e.flags&16384&&(i=e.tag!==22?Lm():536870912,e.lanes|=i,la|=i)}function mr(e,i){if(!_t)switch(e.tailMode){case"hidden":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Gt(e){var i=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(i)for(var c=e.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=a,i}function T3(e,i,a){var o=i.pendingProps;switch(Tc(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gt(i),null;case 1:return Gt(i),null;case 3:return a=i.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),Hn(Wt),Ot(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Xs(i)?In(i):e===null||e.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,_c())),Gt(i),null;case 26:var c=i.type,d=i.memoizedState;return e===null?(In(i),d!==null?(Gt(i),Wy(i,d)):(Gt(i),pf(i,c,null,o,a))):d?d!==e.memoizedState?(In(i),Gt(i),Wy(i,d)):(Gt(i),i.flags&=-16777217):(e=e.memoizedProps,e!==o&&In(i),Gt(i),pf(i,c,e,o,a)),null;case 27:if($e(i),a=ft.current,c=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&In(i);else{if(!o){if(i.stateNode===null)throw Error(r(166));return Gt(i),null}e=nt.current,Xs(i)?Lp(i):(e=r0(c,o,a),i.stateNode=e,In(i))}return Gt(i),null;case 5:if($e(i),c=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&In(i);else{if(!o){if(i.stateNode===null)throw Error(r(166));return Gt(i),null}if(d=nt.current,Xs(i))Lp(i);else{var b=Sl(ft.current);switch(d){case 1:d=b.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=b.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=b.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=b.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=b.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;
vendor: 25,913 bytes, line 9
9case"select":d=typeof o.is=="string"?b.createElement("select",{is:o.is}):b.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?b.createElement(c,{is:o.is}):b.createElement(c)}}d[me]=i,d[Re]=o;t:for(b=i.child;b!==null;){if(b.tag===5||b.tag===6)d.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===i)break t;for(;b.sibling===null;){if(b.return===null||b.return===i)break t;b=b.return}b.sibling.return=b.return,b=b.sibling}i.stateNode=d;t:switch(ve(d,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&In(i)}}return Gt(i),pf(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,a),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==o&&In(i);else{if(typeof o!="string"&&i.stateNode===null)throw Error(r(166));if(e=ft.current,Xs(i)){if(e=i.stateNode,a=i.memoizedProps,o=null,c=pe,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[me]=i,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Xg(e.nodeValue,a)),e||hi(i,!0)}else e=Sl(e).createTextNode(o),e[me]=i,i.stateNode=e}return Gt(i),null;case 31:if(a=i.memoizedState,e===null||e.memoizedState!==null){if(o=Xs(i),a!==null){if(e===null){if(!o)throw Error(r(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[me]=i}else es(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Gt(i),e=!1}else a=_c(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return i.flags&256?(Ye(i),i):(Ye(i),null);if((i.flags&128)!==0)throw Error(r(558))}return Gt(i),null;case 13:if(o=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Xs(i),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(r(318));if(c=i.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[me]=i}else es(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Gt(i),c=!1}else c=_c(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return i.flags&256?(Ye(i),i):(Ye(i),null)}return Ye(i),(i.flags&128)!==0?(i.lanes=a,i):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=i.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)),a!==e&&a&&(i.child.flags|=8192),al(i,i.updateQueue),Gt(i),null);case 4:return Ot(),e===null&&Bf(i.stateNode.containerInfo),Gt(i),null;case 10:return Hn(i.type),Gt(i),null;case 19:if(Q(Zt),o=i.memoizedState,o===null)return Gt(i),null;if(c=(i.flags&128)!==0,d=o.rendering,d===null)if(c)mr(o,!1);else{if(Qt!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(d=Yo(e),d!==null){for(i.flags|=128,mr(o,!1),e=d.updateQueue,i.updateQueue=e,al(i,e),i.subtreeFlags=0,e=a,a=i.child;a!==null;)Cp(a,e),a=a.sibling;return et(Zt,Zt.current&1|2),_t&&Un(i,o.treeForkCount),i.child}e=e.sibling}o.tail!==null&&Se()>cl&&(i.flags|=128,c=!0,mr(o,!1),i.lanes=4194304)}else{if(!c)if(e=Yo(d),e!==null){if(i.flags|=128,c=!0,e=e.updateQueue,i.updateQueue=e,al(i,e),mr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!_t)return Gt(i),null}else 2*Se()-o.renderingStartTime>cl&&a!==536870912&&(i.flags|=128,c=!0,mr(o,!1),i.lanes=4194304);o.isBackwards?(d.sibling=i.child,i.child=d):(e=o.last,e!==null?e.sibling=d:i.child=d,o.last=d)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Se(),e.sibling=null,a=Zt.current,et(Zt,c?a&1|2:a&1),_t&&Un(i,o.treeForkCount),e):(Gt(i),null);case 22:case 23:return Ye(i),Bc(),o=i.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(i.flags|=8192):o&&(i.flags|=8192),o?(a&536870912)!==0&&(i.flags&128)===0&&(Gt(i),i.subtreeFlags&6&&(i.flags|=8192)):Gt(i),a=i.updateQueue,a!==null&&al(i,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==a&&(i.flags|=2048),e!==null&&Q(ss),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),i.memoizedState.cache!==a&&(i.flags|=2048),Hn(Wt),Gt(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function w3(e,i){switch(Tc(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return Hn(Wt),Ot(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return $e(i),null;case 31:if(i.memoizedState!==null){if(Ye(i),i.alternate===null)throw Error(r(340));es()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(Ye(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(r(340));es()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return Q(Zt),null;case 4:return Ot(),null;case 10:return Hn(i.type),null;case 22:case 23:return Ye(i),Bc(),e!==null&&Q(ss),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return Hn(Wt),null;case 25:return null;default:return null}}function tg(e,i){switch(Tc(i),i.tag){case 3:Hn(Wt),Ot();break;case 26:case 27:case 5:$e(i);break;case 4:Ot();break;case 31:i.memoizedState!==null&&Ye(i);break;case 13:Ye(i);break;case 19:Q(Zt);break;case 10:Hn(i.type);break;case 22:case 23:Ye(i),Bc(),e!==null&&Q(ss);break;case 24:Hn(Wt)}}function pr(e,i){try{var a=i.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&e)===e){o=void 0;var d=a.create,b=a.inst;o=d(),b.destroy=o}a=a.next}while(a!==c)}}catch(w){zt(i,i.return,w)}}function Si(e,i,a){try{var o=i.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&e)===e){var b=o.inst,w=b.destroy;if(w!==void 0){b.destroy=void 0,c=i;var M=a,B=w;try{B()}catch(Y){zt(c,M,Y)}}}o=o.next}while(o!==d)}}catch(Y){zt(i,i.return,Y)}}function eg(e){var i=e.updateQueue;if(i!==null){var a=e.stateNode;try{Ip(i,a)}catch(o){zt(e,e.return,o)}}}function ng(e,i,a){a.props=us(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(o){zt(e,i,o)}}function yr(e,i){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof a=="function"?e.refCleanup=a(o):a.current=o}}catch(c){zt(e,i,c)}}function _n(e,i){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(c){zt(e,i,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(c){zt(e,i,c)}else a.current=null}function ig(e){var i=e.type,a=e.memoizedProps,o=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break t;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(c){zt(e,e.return,c)}}function yf(e,i,a){try{var o=e.stateNode;I3(o,e.type,a,i),o[Re]=i}catch(c){zt(e,e.return,c)}}function sg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ci(e.type)||e.tag===4}function gf(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||sg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ci(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function vf(e,i,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,i):(i=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.appendChild(e),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=Pn));else if(o!==4&&(o===27&&Ci(e.type)&&(a=e.stateNode,i=null),e=e.child,e!==null))for(vf(e,i,a),e=e.sibling;e!==null;)vf(e,i,a),e=e.sibling}function rl(e,i,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?a.insertBefore(e,i):a.appendChild(e);else if(o!==4&&(o===27&&Ci(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(rl(e,i,a),e=e.sibling;e!==null;)rl(e,i,a),e=e.sibling}function ag(e){var i=e.stateNode,a=e.memoizedProps;try{for(var o=e.type,c=i.attributes;c.length;)i.removeAttributeNode(c[0]);ve(i,o,a),i[me]=e,i[Re]=a}catch(d){zt(e,e.return,d)}}var Yn=!1,ne=!1,bf=!1,rg=typeof WeakSet=="function"?WeakSet:Set,ue=null;function _3(e,i){if(e=e.containerInfo,kf=Cl,e=vp(e),fc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else t:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{a.nodeType,d.nodeType}catch{a=null;break t}var b=0,w=-1,M=-1,B=0,Y=0,J=e,k=null;e:for(;;){for(var F;J!==a||c!==0&&J.nodeType!==3||(w=b+c),J!==d||o!==0&&J.nodeType!==3||(M=b+o),J.nodeType===3&&(b+=J.nodeValue.length),(F=J.firstChild)!==null;)k=J,J=F;for(;;){if(J===e)break e;if(k===a&&++B===c&&(w=b),k===d&&++Y===o&&(M=b),(F=J.nextSibling)!==null)break;J=k,k=J.parentNode}J=F}a=w===-1||M===-1?null:{start:w,end:M}}else a=null}a=a||{start:0,end:0}}else a=null;for(Hf={focusedElem:e,selectionRange:a},Cl=!1,ue=i;ue!==null;)if(i=ue,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,ue=e;else for(;ue!==null;){switch(i=ue,d=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)c=e[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,a=i,c=d.memoizedProps,d=d.memoizedState,o=a.stateNode;try{var at=us(a.type,c);e=o.getSnapshotBeforeUpdate(at,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(ut){zt(a,a.return,ut)}}break;case 3:if((e&1024)!==0){if(e=i.stateNode.containerInfo,a=e.nodeType,a===9)Ff(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ff(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=i.sibling,e!==null){e.return=i.return,ue=e;break}ue=i.return}}function og(e,i,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:Qn(e,a),o&4&&pr(5,a);break;case 1:if(Qn(e,a),o&4)if(e=a.stateNode,i===null)try{e.componentDidMount()}catch(b){zt(a,a.return,b)}else{var c=us(a.type,i.memoizedProps);i=i.memoizedState;try{e.componentDidUpdate(c,i,e.__reactInternalSnapshotBeforeUpdate)}catch(b){zt(a,a.return,b)}}o&64&&eg(a),o&512&&yr(a,a.return);break;case 3:if(Qn(e,a),o&64&&(e=a.updateQueue,e!==null)){if(i=null,a.child!==null)switch(a.child.tag){case 27:case 5:i=a.child.stateNode;break;case 1:i=a.child.stateNode}try{Ip(e,i)}catch(b){zt(a,a.return,b)}}break;case 27:i===null&&o&4&&ag(a);case 26:case 5:Qn(e,a),i===null&&o&4&&ig(a),o&512&&yr(a,a.return);break;case 12:Qn(e,a);break;case 31:Qn(e,a),o&4&&cg(e,a);break;case 13:Qn(e,a),o&4&&fg(e,a),o&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=z3.bind(null,a),W3(e,a))));break;case 22:if(o=a.memoizedState!==null||Yn,!o){i=i!==null&&i.memoizedState!==null||ne,c=Yn;var d=ne;Yn=o,(ne=i)&&!d?Xn(e,a,(a.subtreeFlags&8772)!==0):Qn(e,a),Yn=c,ne=d}break;case 30:break;default:Qn(e,a)}}function lg(e){var i=e.alternate;i!==null&&(e.alternate=null,lg(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&Qu(i)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ft=null,De=!1;function Kn(e,i,a){for(a=a.child;a!==null;)ug(e,i,a),a=a.sibling}function ug(e,i,a){if(He&&typeof He.onCommitFiberUnmount=="function")try{He.onCommitFiberUnmount(ka,a)}catch{}switch(a.tag){case 26:ne||_n(a,i),Kn(e,i,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ne||_n(a,i);var o=Ft,c=De;Ci(a.type)&&(Ft=a.stateNode,De=!1),Kn(e,i,a),Er(a.stateNode),Ft=o,De=c;break;case 5:ne||_n(a,i);case 6:if(o=Ft,c=De,Ft=null,Kn(e,i,a),Ft=o,De=c,Ft!==null)if(De)try{(Ft.nodeType===9?Ft.body:Ft.nodeName==="HTML"?Ft.ownerDocument.body:Ft).removeChild(a.stateNode)}catch(d){zt(a,i,d)}else try{Ft.removeChild(a.stateNode)}catch(d){zt(a,i,d)}break;case 18:Ft!==null&&(De?(e=Ft,e0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),ya(e)):e0(Ft,a.stateNode));break;case 4:o=Ft,c=De,Ft=a.stateNode.containerInfo,De=!0,Kn(e,i,a),Ft=o,De=c;break;case 0:case 11:case 14:case 15:Si(2,a,i),ne||Si(4,a,i),Kn(e,i,a);break;case 1:ne||(_n(a,i),o=a.stateNode,typeof o.componentWillUnmount=="function"&&ng(a,i,o)),Kn(e,i,a);break;case 21:Kn(e,i,a);break;case 22:ne=(o=ne)||a.memoizedState!==null,Kn(e,i,a),ne=o;break;default:Kn(e,i,a)}}function cg(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ya(e)}catch(a){zt(i,i.return,a)}}}function fg(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ya(e)}catch(a){zt(i,i.return,a)}}function E3(e){switch(e.tag){case 31:case 13:case 19:var i=e.stateNode;return i===null&&(i=e.stateNode=new rg),i;case 22:return e=e.stateNode,i=e._retryCache,i===null&&(i=e._retryCache=new rg),i;default:throw Error(r(435,e.tag))}}function ol(e,i){var a=E3(e);i.forEach(function(o){if(!a.has(o)){a.add(o);var c=V3.bind(null,e,o);o.then(c,c)}})}function Oe(e,i){var a=i.deletions;if(a!==null)for(var o=0;o<a.length;o++){var c=a[o],d=e,b=i,w=b;t:for(;w!==null;){switch(w.tag){case 27:if(Ci(w.type)){Ft=w.stateNode,De=!1;break t}break;case 5:Ft=w.stateNode,De=!1;break t;case 3:case 4:Ft=w.stateNode.containerInfo,De=!0;break t}w=w.return}if(Ft===null)throw Error(r(160));ug(d,b,c),Ft=null,De=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)dg(i,e),i=i.sibling}var mn=null;function dg(e,i){var a=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Oe(i,e),Le(e),o&4&&(Si(3,e,e.return),pr(3,e),Si(5,e,e.return));break;case 1:Oe(i,e),Le(e),o&512&&(ne||a===null||_n(a,a.return)),o&64&&Yn&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var c=mn;if(Oe(i,e),Le(e),o&512&&(ne||a===null||_n(a,a.return)),o&4){var d=a!==null?a.memoizedState:null;if(o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null){t:{o=e.type,a=e.memoizedProps,c=c.ownerDocument||c;e:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Ga]||d[me]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),ve(d,o,a),d[me]=e,le(d),o=d;break t;case"link":var b=d0("link","href",c).get(o+(a.href||""));if(b){for(var w=0;w<b.length;w++)if(d=b[w],d.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&d.getAttribute("rel")===(a.rel==null?null:a.rel)&&d.getAttribute("title")===(a.title==null?null:a.title)&&d.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){b.splice(w,1);break e}}d=c.createElement(o),ve(d,o,a),c.head.appendChild(d);break;case"meta":if(b=d0("meta","content",c).get(o+(a.content||""))){for(w=0;w<b.length;w++)if(d=b[w],d.getAttribute("content")===(a.content==null?null:""+a.content)&&d.getAttribute("name")===(a.name==null?null:a.name)&&d.getAttribute("property")===(a.property==null?null:a.property)&&d.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&d.getAttribute("charset")===(a.charSet==null?null:a.charSet)){b.splice(w,1);break e}}d=c.createElement(o),ve(d,o,a),c.head.appendChild(d);break;default:throw Error(r(468,o))}d[me]=e,le(d),o=d}e.stateNode=o}else h0(c,e.type,e.stateNode);else e.stateNode=f0(c,o,e.memoizedProps);else d!==o?(d===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):d.count--,o===null?h0(c,e.type,e.stateNode):f0(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&yf(e,e.memoizedProps,a.memoizedProps)}break;case 27:Oe(i,e),Le(e),o&512&&(ne||a===null||_n(a,a.return)),a!==null&&o&4&&yf(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Oe(i,e),Le(e),o&512&&(ne||a===null||_n(a,a.return)),e.flags&32){c=e.stateNode;try{Us(c,"")}catch(at){zt(e,e.return,at)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,yf(e,c,a!==null?a.memoizedProps:c)),o&1024&&(bf=!0);break;case 6:if(Oe(i,e),Le(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,a=e.stateNode;try{a.nodeValue=o}catch(at){zt(e,e.return,at)}}break;case 3:if(wl=null,c=mn,mn=xl(i.containerInfo),Oe(i,e),mn=c,Le(e),o&4&&a!==null&&a.memoizedState.isDehydrated)try{ya(i.containerInfo)}catch(at){zt(e,e.return,at)}bf&&(bf=!1,hg(e));break;case 4:o=mn,mn=xl(e.stateNode.containerInfo),Oe(i,e),Le(e),mn=o;break;case 12:Oe(i,e),Le(e);break;case 31:Oe(i,e),Le(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,ol(e,o)));break;case 13:Oe(i,e),Le(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ul=Se()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,ol(e,o)));break;case 22:c=e.memoizedState!==null;var M=a!==null&&a.memoizedState!==null,B=Yn,Y=ne;if(Yn=B||c,ne=Y||M,Oe(i,e),ne=Y,Yn=B,Le(e),o&8192)t:for(i=e.stateNode,i._visibility=c?i._visibility&-2:i._visibility|1,c&&(a===null||M||Yn||ne||cs(e)),a=null,i=e;;){if(i.tag===5||i.tag===26){if(a===null){M=a=i;try{if(d=M.stateNode,c)b=d.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{w=M.stateNode;var J=M.memoizedProps.style,k=J!=null&&J.hasOwnProperty("display")?J.display:null;w.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(at){zt(M,M.return,at)}}}else if(i.tag===6){if(a===null){M=i;try{M.stateNode.nodeValue=c?"":M.memoizedProps}catch(at){zt(M,M.return,at)}}}else if(i.tag===18){if(a===null){M=i;try{var F=M.stateNode;c?n0(F,!0):n0(M.stateNode,!1)}catch(at){zt(M,M.return,at)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}o&4&&(o=e.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,ol(e,a))));break;case 19:Oe(i,e),Le(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,ol(e,o)));break;case 30:break;case 21:break;default:Oe(i,e),Le(e)}}function Le(e){var i=e.flags;if(i&2){try{for(var a,o=e.return;o!==null;){if(sg(o)){a=o;break}o=o.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var c=a.stateNode,d=gf(e);rl(e,d,c);break;case 5:var b=a.stateNode;a.flags&32&&(Us(b,""),a.flags&=-33);var w=gf(e);rl(e,w,b);break;case 3:case 4:var M=a.stateNode.containerInfo,B=gf(e);vf(e,B,M);break;default:throw Error(r(161))}}catch(Y){zt(e,e.return,Y)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function hg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var i=e;hg(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),e=e.sibling}}function Qn(e,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)og(e,i.alternate,i),i=i.sibling}function cs(e){for(e=e.child;e!==null;){var i=e;switch(i.tag){case 0:case 11:case 14:case 15:Si(4,i,i.return),cs(i);break;case 1:_n(i,i.return);var a=i.stateNode;typeof a.componentWillUnmount=="function"&&ng(i,i.return,a),cs(i);break;case 27:Er(i.stateNode);case 26:case 5:_n(i,i.return),cs(i);break;case 22:i.memoizedState===null&&cs(i);break;case 30:cs(i);break;default:cs(i)}e=e.sibling}}function Xn(e,i,a){for(a=a&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var o=i.alternate,c=e,d=i,b=d.flags;switch(d.tag){case 0:case 11:case 15:Xn(c,d,a),pr(4,d);break;case 1:if(Xn(c,d,a),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(B){zt(o,o.return,B)}if(o=d,c=o.updateQueue,c!==null){var w=o.stateNode;try{var M=c.shared.hiddenCallbacks;if(M!==null)for(c.shared.hiddenCallbacks=null,c=0;c<M.length;c++)Fp(M[c],w)}catch(B){zt(o,o.return,B)}}a&&b&64&&eg(d),yr(d,d.return);break;case 27:ag(d);case 26:case 5:Xn(c,d,a),a&&o===null&&b&4&&ig(d),yr(d,d.return);break;case 12:Xn(c,d,a);break;case 31:Xn(c,d,a),a&&b&4&&cg(c,d);break;case 13:Xn(c,d,a),a&&b&4&&fg(c,d);break;case 22:d.memoizedState===null&&Xn(c,d,a),yr(d,d.return);break;case 30:break;default:Xn(c,d,a)}i=i.sibling}}function Sf(e,i){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(e=i.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&nr(a))}function xf(e,i){e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&nr(e))}function pn(e,i,a,o){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)mg(e,i,a,o),i=i.sibling}function mg(e,i,a,o){var c=i.flags;switch(i.tag){case 0:case 11:case 15:pn(e,i,a,o),c&2048&&pr(9,i);break;case 1:pn(e,i,a,o);break;case 3:pn(e,i,a,o),c&2048&&(e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&nr(e)));break;case 12:if(c&2048){pn(e,i,a,o),e=i.stateNode;try{var d=i.memoizedProps,b=d.id,w=d.onPostCommit;typeof w=="function"&&w(b,i.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(M){zt(i,i.return,M)}}else pn(e,i,a,o);break;case 31:pn(e,i,a,o);break;case 13:pn(e,i,a,o);break;case 23:break;case 22:d=i.stateNode,b=i.alternate,i.memoizedState!==null?d._visibility&2?pn(e,i,a,o):gr(e,i):d._visibility&2?pn(e,i,a,o):(d._visibility|=2,aa(e,i,a,o,(i.subtreeFlags&10256)!==0||!1)),c&2048&&Sf(b,i);break;case 24:pn(e,i,a,o),c&2048&&xf(i.alternate,i);break;default:pn(e,i,a,o)}}function aa(e,i,a,o,c){for(c=c&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var d=e,b=i,w=a,M=o,B=b.flags;switch(b.tag){case 0:case 11:case 15:aa(d,b,w,M,c),pr(8,b);break;case 23:break;case 22:var Y=b.stateNode;b.memoizedState!==null?Y._visibility&2?aa(d,b,w,M,c):gr(d,b):(Y._visibility|=2,aa(d,b,w,M,c)),c&&B&2048&&Sf(b.alternate,b);break;case 24:aa(d,b,w,M,c),c&&B&2048&&xf(b.alternate,b);break;default:aa(d,b,w,M,c)}i=i.sibling}}function gr(e,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var a=e,o=i,c=o.flags;switch(o.tag){case 22:gr(a,o),c&2048&&Sf(o.alternate,o);break;case 24:gr(a,o),c&2048&&xf(o.alternate,o);break;default:gr(a,o)}i=i.sibling}}var vr=8192;function ra(e,i,a){if(e.subtreeFlags&vr)for(e=e.child;e!==null;)pg(e,i,a),e=e.sibling}function pg(e,i,a){switch(e.tag){case 26:ra(e,i,a),e.flags&vr&&e.memoizedState!==null&&fw(a,mn,e.memoizedState,e.memoizedProps);break;case 5:ra(e,i,a);break;case 3:case 4:var o=mn;mn=xl(e.stateNode.containerInfo),ra(e,i,a),mn=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=vr,vr=16777216,ra(e,i,a),vr=o):ra(e,i,a));break;default:ra(e,i,a)}}function yg(e){var i=e.alternate;if(i!==null&&(e=i.child,e!==null)){i.child=null;do i=e.sibling,e.sibling=null,e=i;while(e!==null)}}function br(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var o=i[a];ue=o,vg(o,e)}yg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)gg(e),e=e.sibling}function gg(e){switch(e.tag){case 0:case 11:case 15:br(e),e.flags&2048&&Si(9,e,e.return);break;case 3:br(e);break;case 12:br(e);break;case 22:var i=e.stateNode;e.memoizedState!==null&&i._visibility&2&&(e.return===null||e.return.tag!==13)?(i._visibility&=-3,ll(e)):br(e);break;default:br(e)}}function ll(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var o=i[a];ue=o,vg(o,e)}yg(e)}for(e=e.child;e!==null;){switch(i=e,i.tag){case 0:case 11:case 15:Si(8,i,i.return),ll(i);break;case 22:a=i.stateNode,a._visibility&2&&(a._visibility&=-3,ll(i));break;default:ll(i)}e=e.sibling}}function vg(e,i){for(;ue!==null;){var a=ue;switch(a.tag){case 0:case 11:case 15:Si(8,a,i);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:nr(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,ue=o;else t:for(a=e;ue!==null;){o=ue;var c=o.sibling,d=o.return;if(lg(o),o===a){ue=null;break t}if(c!==null){c.return=d,ue=c;break t}ue=d}}}var A3={getCacheForType:function(e){var i=ye(Wt),a=i.data.get(e);return a===void 0&&(a=e(),i.data.set(e,a)),a},cacheSignal:function(){return ye(Wt).controller.signal}},C3=typeof WeakMap=="function"?WeakMap:Map,Dt=0,Ut=null,bt=null,Tt=0,Lt=0,Ke=null,xi=!1,oa=!1,Tf=!1,Zn=0,Qt=0,Ti=0,fs=0,wf=0,Qe=0,la=0,Sr=null,ze=null,_f=!1,ul=0,bg=0,cl=1/0,fl=null,wi=null,ae=0,_i=null,ua=null,Jn=0,Ef=0,Af=null,Sg=null,xr=0,Cf=null;function Xe(){return(Dt&2)!==0&&Tt!==0?Tt&-Tt:G.T!==null?zf():Pm()}function xg(){if(Qe===0)if((Tt&536870912)===0||_t){var e=bo;bo<<=1,(bo&3932160)===0&&(bo=262144),Qe=e}else Qe=536870912;return e=Ie.current,e!==null&&(e.flags|=32),Qe}function Ve(e,i,a){(e===Ut&&(Lt===2||Lt===9)||e.cancelPendingCommit!==null)&&(ca(e,0),Ei(e,Tt,Qe,!1)),qa(e,a),((Dt&2)===0||e!==Ut)&&(e===Ut&&((Dt&2)===0&&(fs|=a),Qt===4&&Ei(e,Tt,Qe,!1)),En(e))}function Tg(e,i,a){if((Dt&6)!==0)throw Error(r(327));var o=!a&&(i&127)===0&&(i&e.expiredLanes)===0||Ha(e,i),c=o?D3(e,i):Mf(e,i,!0),d=o;do{if(c===0){oa&&!o&&Ei(e,i,0,!1);break}else{if(a=e.current.alternate,d&&!R3(a)){c=Mf(e,i,!1),d=!1;continue}if(c===2){if(d=i,e.errorRecoveryDisabledLanes&d)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){i=b;t:{var w=e;c=Sr;var M=w.current.memoizedState.isDehydrated;if(M&&(ca(w,b).flags|=256),b=Mf(w,b,!1),b!==2){if(Tf&&!M){w.errorRecoveryDisabledLanes|=d,fs|=d,c=4;break t}d=ze,ze=c,d!==null&&(ze===null?ze=d:ze.push.apply(ze,d))}c=b}if(d=!1,c!==2)continue}}if(c===1){ca(e,0),Ei(e,i,0,!0);break}t:{switch(o=e,d=c,d){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:Ei(o,i,Qe,!xi);break t;case 2:ze=null;break;case 3:case 5:break;default:throw Error(r(329))}
vendor: 19,359 bytes, line 9
9if((i&62914560)===i&&(c=ul+300-Se(),10<c)){if(Ei(o,i,Qe,!xi),xo(o,0,!0)!==0)break t;Jn=i,o.timeoutHandle=Wg(wg.bind(null,o,a,ze,fl,_f,i,Qe,fs,la,xi,d,"Throttled",-0,0),c);break t}wg(o,a,ze,fl,_f,i,Qe,fs,la,xi,d,null,-0,0)}}break}while(!0);En(e)}function wg(e,i,a,o,c,d,b,w,M,B,Y,J,k,F){if(e.timeoutHandle=-1,J=i.subtreeFlags,J&8192||(J&16785408)===16785408){J={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pn},pg(i,d,J);var at=(d&62914560)===d?ul-Se():(d&4194048)===d?bg-Se():0;if(at=dw(J,at),at!==null){Jn=d,e.cancelPendingCommit=at(Og.bind(null,e,i,d,a,o,c,b,w,M,Y,J,null,k,F)),Ei(e,d,b,!B);return}}Og(e,i,d,a,o,c,b,w,M)}function R3(e){for(var i=e;;){var a=i.tag;if((a===0||a===11||a===15)&&i.flags&16384&&(a=i.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var c=a[o],d=c.getSnapshot;c=c.value;try{if(!Ge(d(),c))return!1}catch{return!1}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ei(e,i,a,o){i&=~wf,i&=~fs,e.suspendedLanes|=i,e.pingedLanes&=~i,o&&(e.warmLanes|=i),o=e.expirationTimes;for(var c=i;0<c;){var d=31-qe(c),b=1<<d;o[d]=-1,c&=~b}a!==0&&zm(e,a,i)}function dl(){return(Dt&6)===0?(Tr(0),!1):!0}function Rf(){if(bt!==null){if(Lt===0)var e=bt.return;else e=bt,kn=ns=null,Gc(e),ta=null,sr=0,e=bt;for(;e!==null;)tg(e.alternate,e),e=e.return;bt=null}}function ca(e,i){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Q3(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Jn=0,Rf(),Ut=e,bt=a=Nn(e.current,null),Tt=i,Lt=0,Ke=null,xi=!1,oa=Ha(e,i),Tf=!1,la=Qe=wf=fs=Ti=Qt=0,ze=Sr=null,_f=!1,(i&8)!==0&&(i|=i&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=i;0<o;){var c=31-qe(o),d=1<<c;i|=e[c],o&=~d}return Zn=i,zo(),a}function _g(e,i){ht=null,G.H=dr,i===Ws||i===Ho?(i=kp(),Lt=3):i===Oc?(i=kp(),Lt=4):Lt=i===rf?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Ke=i,bt===null&&(Qt=1,el(e,nn(i,e.current)))}function Eg(){var e=Ie.current;return e===null?!0:(Tt&4194048)===Tt?on===null:(Tt&62914560)===Tt||(Tt&536870912)!==0?e===on:!1}function Ag(){var e=G.H;return G.H=dr,e===null?dr:e}function Cg(){var e=G.A;return G.A=A3,e}function hl(){Qt=4,xi||(Tt&4194048)!==Tt&&Ie.current!==null||(oa=!0),(Ti&134217727)===0&&(fs&134217727)===0||Ut===null||Ei(Ut,Tt,Qe,!1)}function Mf(e,i,a){var o=Dt;Dt|=2;var c=Ag(),d=Cg();(Ut!==e||Tt!==i)&&(fl=null,ca(e,i)),i=!1;var b=Qt;t:do try{if(Lt!==0&&bt!==null){var w=bt,M=Ke;switch(Lt){case 8:Rf(),b=6;break t;case 3:case 2:case 9:case 6:Ie.current===null&&(i=!0);var B=Lt;if(Lt=0,Ke=null,fa(e,w,M,B),a&&oa){b=0;break t}break;default:B=Lt,Lt=0,Ke=null,fa(e,w,M,B)}}M3(),b=Qt;break}catch(Y){_g(e,Y)}while(!0);return i&&e.shellSuspendCounter++,kn=ns=null,Dt=o,G.H=c,G.A=d,bt===null&&(Ut=null,Tt=0,zo()),b}function M3(){for(;bt!==null;)Rg(bt)}function D3(e,i){var a=Dt;Dt|=2;var o=Ag(),c=Cg();Ut!==e||Tt!==i?(fl=null,cl=Se()+500,ca(e,i)):oa=Ha(e,i);t:do try{if(Lt!==0&&bt!==null){i=bt;var d=Ke;e:switch(Lt){case 1:Lt=0,Ke=null,fa(e,i,d,1);break;case 2:case 9:if(Np(d)){Lt=0,Ke=null,Mg(i);break}i=function(){Lt!==2&&Lt!==9||Ut!==e||(Lt=7),En(e)},d.then(i,i);break t;case 3:Lt=7;break t;case 4:Lt=5;break t;case 7:Np(d)?(Lt=0,Ke=null,Mg(i)):(Lt=0,Ke=null,fa(e,i,d,7));break;case 5:var b=null;switch(bt.tag){case 26:b=bt.memoizedState;case 5:case 27:var w=bt;if(b?m0(b):w.stateNode.complete){Lt=0,Ke=null;var M=w.sibling;if(M!==null)bt=M;else{var B=w.return;B!==null?(bt=B,ml(B)):bt=null}break e}}Lt=0,Ke=null,fa(e,i,d,5);break;case 6:Lt=0,Ke=null,fa(e,i,d,6);break;case 8:Rf(),Qt=6;break t;default:throw Error(r(462))}}O3();break}catch(Y){_g(e,Y)}while(!0);return kn=ns=null,G.H=o,G.A=c,Dt=a,bt!==null?0:(Ut=null,Tt=0,zo(),Qt)}function O3(){for(;bt!==null&&!go();)Rg(bt)}function Rg(e){var i=$y(e.alternate,e,Zn);e.memoizedProps=e.pendingProps,i===null?ml(e):bt=i}function Mg(e){var i=e,a=i.alternate;switch(i.tag){case 15:case 0:i=Yy(a,i,i.pendingProps,i.type,void 0,Tt);break;case 11:i=Yy(a,i,i.pendingProps,i.type.render,i.ref,Tt);break;case 5:Gc(i);default:tg(a,i),i=bt=Cp(i,Zn),i=$y(a,i,Zn)}e.memoizedProps=e.pendingProps,i===null?ml(e):bt=i}function fa(e,i,a,o){kn=ns=null,Gc(i),ta=null,sr=0;var c=i.return;try{if(b3(e,c,i,a,Tt)){Qt=1,el(e,nn(a,e.current)),bt=null;return}}catch(d){if(c!==null)throw bt=c,d;Qt=1,el(e,nn(a,e.current)),bt=null;return}i.flags&32768?(_t||o===1?e=!0:oa||(Tt&536870912)!==0?e=!1:(xi=e=!0,(o===2||o===9||o===3||o===6)&&(o=Ie.current,o!==null&&o.tag===13&&(o.flags|=16384))),Dg(i,e)):ml(i)}function ml(e){var i=e;do{if((i.flags&32768)!==0){Dg(i,xi);return}e=i.return;var a=T3(i.alternate,i,Zn);if(a!==null){bt=a;return}if(i=i.sibling,i!==null){bt=i;return}bt=i=e}while(i!==null);Qt===0&&(Qt=5)}function Dg(e,i){do{var a=w3(e.alternate,e);if(a!==null){a.flags&=32767,bt=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!i&&(e=e.sibling,e!==null)){bt=e;return}bt=e=a}while(e!==null);Qt=6,bt=null}function Og(e,i,a,o,c,d,b,w,M){e.cancelPendingCommit=null;do pl();while(ae!==0);if((Dt&6)!==0)throw Error(r(327));if(i!==null){if(i===e.current)throw Error(r(177));if(d=i.lanes|i.childLanes,d|=yc,cT(e,a,d,b,w,M),e===Ut&&(bt=Ut=null,Tt=0),ua=i,_i=e,Jn=a,Ef=d,Af=c,Sg=o,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,j3(Ls,function(){return Pg(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||o){o=G.T,G.T=null,c=$.p,$.p=2,b=Dt,Dt|=4;try{_3(e,i,a)}finally{Dt=b,$.p=c,G.T=o}}ae=1,Lg(),zg(),Vg()}}function Lg(){if(ae===1){ae=0;var e=_i,i=ua,a=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||a){a=G.T,G.T=null;var o=$.p;$.p=2;var c=Dt;Dt|=4;try{dg(i,e);var d=Hf,b=vp(e.containerInfo),w=d.focusedElem,M=d.selectionRange;if(b!==w&&w&&w.ownerDocument&&gp(w.ownerDocument.documentElement,w)){if(M!==null&&fc(w)){var B=M.start,Y=M.end;if(Y===void 0&&(Y=B),"selectionStart"in w)w.selectionStart=B,w.selectionEnd=Math.min(Y,w.value.length);else{var J=w.ownerDocument||document,k=J&&J.defaultView||window;if(k.getSelection){var F=k.getSelection(),at=w.textContent.length,ut=Math.min(M.start,at),Pt=M.end===void 0?ut:Math.min(M.end,at);!F.extend&&ut>Pt&&(b=Pt,Pt=ut,ut=b);var V=yp(w,ut),L=yp(w,Pt);if(V&&L&&(F.rangeCount!==1||F.anchorNode!==V.node||F.anchorOffset!==V.offset||F.focusNode!==L.node||F.focusOffset!==L.offset)){var P=J.createRange();P.setStart(V.node,V.offset),F.removeAllRanges(),ut>Pt?(F.addRange(P),F.extend(L.node,L.offset)):(P.setEnd(L.node,L.offset),F.addRange(P))}}}}for(J=[],F=w;F=F.parentNode;)F.nodeType===1&&J.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<J.length;w++){var X=J[w];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Cl=!!kf,Hf=kf=null}finally{Dt=c,$.p=o,G.T=a}}e.current=i,ae=2}}function zg(){if(ae===2){ae=0;var e=_i,i=ua,a=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||a){a=G.T,G.T=null;var o=$.p;$.p=2;var c=Dt;Dt|=4;try{og(e,i.alternate,i)}finally{Dt=c,$.p=o,G.T=a}}ae=3}}function Vg(){if(ae===4||ae===3){ae=0,Gu();var e=_i,i=ua,a=Jn,o=Sg;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?ae=5:(ae=0,ua=_i=null,jg(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(wi=null),Yu(a),i=i.stateNode,He&&typeof He.onCommitFiberRoot=="function")try{He.onCommitFiberRoot(ka,i,void 0,(i.current.flags&128)===128)}catch{}if(o!==null){i=G.T,c=$.p,$.p=2,G.T=null;try{for(var d=e.onRecoverableError,b=0;b<o.length;b++){var w=o[b];d(w.value,{componentStack:w.stack})}}finally{G.T=i,$.p=c}}(Jn&3)!==0&&pl(),En(e),c=e.pendingLanes,(a&261930)!==0&&(c&42)!==0?e===Cf?xr++:(xr=0,Cf=e):xr=0,Tr(0)}}function jg(e,i){(e.pooledCacheLanes&=i)===0&&(i=e.pooledCache,i!=null&&(e.pooledCache=null,nr(i)))}function pl(){return Lg(),zg(),Vg(),Pg()}function Pg(){if(ae!==5)return!1;var e=_i,i=Ef;Ef=0;var a=Yu(Jn),o=G.T,c=$.p;try{$.p=32>a?32:a,G.T=null,a=Af,Af=null;var d=_i,b=Jn;if(ae=0,ua=_i=null,Jn=0,(Dt&6)!==0)throw Error(r(331));var w=Dt;if(Dt|=4,gg(d.current),mg(d,d.current,b,a),Dt=w,Tr(0,!1),He&&typeof He.onPostCommitFiberRoot=="function")try{He.onPostCommitFiberRoot(ka,d)}catch{}return!0}finally{$.p=c,G.T=o,jg(e,i)}}function Bg(e,i,a){i=nn(a,i),i=af(e.stateNode,i,2),e=gi(e,i,2),e!==null&&(qa(e,2),En(e))}function zt(e,i,a){if(e.tag===3)Bg(e,e,a);else for(;i!==null;){if(i.tag===3){Bg(i,e,a);break}else if(i.tag===1){var o=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(wi===null||!wi.has(o))){e=nn(a,e),a=Ny(2),o=gi(i,a,2),o!==null&&(Uy(a,o,i,e),qa(o,2),En(o));break}}i=i.return}}function Df(e,i,a){var o=e.pingCache;if(o===null){o=e.pingCache=new C3;var c=new Set;o.set(i,c)}else c=o.get(i),c===void 0&&(c=new Set,o.set(i,c));c.has(a)||(Tf=!0,c.add(a),e=L3.bind(null,e,i,a),i.then(e,e))}function L3(e,i,a){var o=e.pingCache;o!==null&&o.delete(i),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ut===e&&(Tt&a)===a&&(Qt===4||Qt===3&&(Tt&62914560)===Tt&&300>Se()-ul?(Dt&2)===0&&ca(e,0):wf|=a,la===Tt&&(la=0)),En(e)}function Ng(e,i){i===0&&(i=Lm()),e=Wi(e,i),e!==null&&(qa(e,i),En(e))}function z3(e){var i=e.memoizedState,a=0;i!==null&&(a=i.retryLane),Ng(e,a)}function V3(e,i){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(a=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(i),Ng(e,a)}function j3(e,i){return dn(e,i)}var yl=null,da=null,Of=!1,gl=!1,Lf=!1,Ai=0;function En(e){e!==da&&e.next===null&&(da===null?yl=da=e:da=da.next=e),gl=!0,Of||(Of=!0,B3())}function Tr(e,i){if(!Lf&&gl){Lf=!0;do for(var a=!1,o=yl;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var b=o.suspendedLanes,w=o.pingedLanes;d=(1<<31-qe(42|e)+1)-1,d&=c&~(b&~w),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(a=!0,qg(o,d))}else d=Tt,d=xo(o,o===Ut?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||Ha(o,d)||(a=!0,qg(o,d));o=o.next}while(a);Lf=!1}}function P3(){Ug()}function Ug(){gl=Of=!1;var e=0;Ai!==0&&K3()&&(e=Ai);for(var i=Se(),a=null,o=yl;o!==null;){var c=o.next,d=kg(o,i);d===0?(o.next=null,a===null?yl=c:a.next=c,c===null&&(da=a)):(a=o,(e!==0||(d&3)!==0)&&(gl=!0)),o=c}ae!==0&&ae!==5||Tr(e),Ai!==0&&(Ai=0)}function kg(e,i){for(var a=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var b=31-qe(d),w=1<<b,M=c[b];M===-1?((w&a)===0||(w&o)!==0)&&(c[b]=uT(w,i)):M<=i&&(e.expiredLanes|=w),d&=~w}if(i=Ut,a=Tt,a=xo(e,e===i?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,a===0||e===i&&(Lt===2||Lt===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Ua(o),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ha(e,a)){if(i=a&-a,i===e.callbackPriority)return i;switch(o!==null&&Ua(o),Yu(a)){case 2:case 8:a=xn;break;case 32:a=Ls;break;case 268435456:a=Om;break;default:a=Ls}return o=Hg.bind(null,e),a=dn(a,o),e.callbackPriority=i,e.callbackNode=a,i}return o!==null&&o!==null&&Ua(o),e.callbackPriority=2,e.callbackNode=null,2}function Hg(e,i){if(ae!==0&&ae!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(pl()&&e.callbackNode!==a)return null;var o=Tt;return o=xo(e,e===Ut?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Tg(e,o,i),kg(e,Se()),e.callbackNode!=null&&e.callbackNode===a?Hg.bind(null,e):null)}function qg(e,i){if(pl())return null;Tg(e,i,!0)}function B3(){X3(function(){(Dt&6)!==0?dn(he,P3):Ug()})}function zf(){if(Ai===0){var e=Js;e===0&&(e=vo,vo<<=1,(vo&261888)===0&&(vo=256)),Ai=e}return Ai}function Gg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Eo(""+e)}function Fg(e,i){var a=i.ownerDocument.createElement("input");return a.name=i.name,a.value=i.value,e.id&&a.setAttribute("form",e.id),i.parentNode.insertBefore(a,i),e=new FormData(e),a.parentNode.removeChild(a),e}function N3(e,i,a,o,c){if(i==="submit"&&a&&a.stateNode===c){var d=Gg((c[Re]||null).action),b=o.submitter;b&&(i=(i=b[Re]||null)?Gg(i.formAction):b.getAttribute("formAction"),i!==null&&(d=i,b=null));var w=new Mo("action","action",null,o,c);e.push({event:w,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ai!==0){var M=b?Fg(c,b):new FormData(c);$c(a,{pending:!0,data:M,method:c.method,action:d},null,M)}}else typeof d=="function"&&(w.preventDefault(),M=b?Fg(c,b):new FormData(c),$c(a,{pending:!0,data:M,method:c.method,action:d},d,M))},currentTarget:c}]})}}for(var Vf=0;Vf<pc.length;Vf++){var jf=pc[Vf],U3=jf.toLowerCase(),k3=jf[0].toUpperCase()+jf.slice(1);hn(U3,"on"+k3)}hn(xp,"onAnimationEnd"),hn(Tp,"onAnimationIteration"),hn(wp,"onAnimationStart"),hn("dblclick","onDoubleClick"),hn("focusin","onFocus"),hn("focusout","onBlur"),hn(n3,"onTransitionRun"),hn(i3,"onTransitionStart"),hn(s3,"onTransitionCancel"),hn(_p,"onTransitionEnd"),Bs("onMouseEnter",["mouseout","mouseover"]),Bs("onMouseLeave",["mouseout","mouseover"]),Bs("onPointerEnter",["pointerout","pointerover"]),Bs("onPointerLeave",["pointerout","pointerover"]),Xi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wr="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(" "),H3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wr));function Ig(e,i){i=(i&4)!==0;for(var a=0;a<e.length;a++){var o=e[a],c=o.event;o=o.listeners;t:{var d=void 0;if(i)for(var b=o.length-1;0<=b;b--){var w=o[b],M=w.instance,B=w.currentTarget;if(w=w.listener,M!==d&&c.isPropagationStopped())break t;d=w,c.currentTarget=B;try{d(c)}catch(Y){Lo(Y)}c.currentTarget=null,d=M}else for(b=0;b<o.length;b++){if(w=o[b],M=w.instance,B=w.currentTarget,w=w.listener,M!==d&&c.isPropagationStopped())break t;d=w,c.currentTarget=B;try{d(c)}catch(Y){Lo(Y)}c.currentTarget=null,d=M}}}}function St(e,i){var a=i[Ku];a===void 0&&(a=i[Ku]=new Set);var o=e+"__bubble";a.has(o)||(Yg(i,e,2,!1),a.add(o))}function Pf(e,i,a){var o=0;i&&(o|=4),Yg(a,e,o,i)}var vl="_reactListening"+Math.random().toString(36).slice(2);function Bf(e){if(!e[vl]){e[vl]=!0,Um.forEach(function(a){a!=="selectionchange"&&(H3.has(a)||Pf(a,!1,e),Pf(a,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[vl]||(i[vl]=!0,Pf("selectionchange",!1,i))}}function Yg(e,i,a,o){switch(x0(i)){case 2:var c=pw;break;case 8:c=yw;break;default:c=$f}a=c.bind(null,i,a,e),c=void 0,!nc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(i,a,{capture:!0,passive:c}):e.addEventListener(i,a,!0):c!==void 0?e.addEventListener(i,a,{passive:c}):e.addEventListener(i,a,!1)}function Nf(e,i,a,o,c){var d=o;if((i&1)===0&&(i&2)===0&&o!==null)t:for(;;){if(o===null)return;var b=o.tag;if(b===3||b===4){var w=o.stateNode.containerInfo;if(w===c)break;if(b===4)for(b=o.return;b!==null;){var M=b.tag;if((M===3||M===4)&&b.stateNode.containerInfo===c)return;b=b.return}for(;w!==null;){if(b=Vs(w),b===null)return;if(M=b.tag,M===5||M===6||M===26||M===27){o=d=b;continue t}w=w.parentNode}}o=o.return}Jm(function(){var B=d,Y=tc(a),J=[];t:{var k=Ep.get(e);if(k!==void 0){var F=Mo,at=e;switch(e){case"keypress":if(Co(a)===0)break t;case"keydown":case"keyup":F=VT;break;case"focusin":at="focus",F=rc;break;case"focusout":at="blur",F=rc;break;case"beforeblur":case"afterblur":F=rc;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":F=tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=TT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=BT;break;case xp:case Tp:case wp:F=ET;break;case _p:F=UT;break;case"scroll":case"scrollend":F=ST;break;case"wheel":F=HT;break;case"copy":case"cut":case"paste":F=CT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=np;break;case"toggle":case"beforetoggle":F=GT}var ut=(i&4)!==0,Pt=!ut&&(e==="scroll"||e==="scrollend"),V=ut?k!==null?k+"Capture":null:k;ut=[];for(var L=B,P;L!==null;){var X=L;if(P=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||P===null||V===null||(X=Ia(L,V),X!=null&&ut.push(_r(L,X,P))),Pt)break;L=L.return}0<ut.length&&(k=new F(k,at,null,a,Y),J.push({event:k,listeners:ut}))}}if((i&7)===0){t:{if(k=e==="mouseover"||e==="pointerover",F=e==="mouseout"||e==="pointerout",k&&a!==Wu&&(at=a.relatedTarget||a.fromElement)&&(Vs(at)||at[zs]))break t;if((F||k)&&(k=Y.window===Y?Y:(k=Y.ownerDocument)?k.defaultView||k.parentWindow:window,F?(at=a.relatedTarget||a.toElement,F=B,at=at?Vs(at):null,at!==null&&(Pt=u(at),ut=at.tag,at!==Pt||ut!==5&&ut!==27&&ut!==6)&&(at=null)):(F=null,at=B),F!==at)){if(ut=tp,X="onMouseLeave",V="onMouseEnter",L="mouse",(e==="pointerout"||e==="pointerover")&&(ut=np,X="onPointerLeave",V="onPointerEnter",L="pointer"),Pt=F==null?k:Fa(F),P=at==null?k:Fa(at),k=new ut(X,L+"leave",F,a,Y),k.target=Pt,k.relatedTarget=P,X=null,Vs(Y)===B&&(ut=new ut(V,L+"enter",at,a,Y),ut.target=P,ut.relatedTarget=Pt,X=ut),Pt=X,F&&at)e:{for(ut=q3,V=F,L=at,P=0,X=V;X;X=ut(X))P++;X=0;for(var lt=L;lt;lt=ut(lt))X++;for(;0<P-X;)V=ut(V),P--;for(;0<X-P;)L=ut(L),X--;for(;P--;){if(V===L||L!==null&&V===L.alternate){ut=V;break e}V=ut(V),L=ut(L)}ut=null}else ut=null;F!==null&&Kg(J,k,F,ut,!1),at!==null&&Pt!==null&&Kg(J,Pt,at,ut,!0)}}t:{if(k=B?Fa(B):window,F=k.nodeName&&k.nodeName.toLowerCase(),F==="select"||F==="input"&&k.type==="file")var Ct=cp;else if(lp(k))if(fp)Ct=WT;else{Ct=JT;var ot=ZT}else F=k.nodeName,!F||F.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?B&&$u(B.elementType)&&(Ct=cp):Ct=$T;if(Ct&&(Ct=Ct(e,B))){up(J,Ct,a,Y);break t}ot&&ot(e,k,B),e==="focusout"&&B&&k.type==="number"&&B.memoizedProps.value!=null&&Ju(k,"number",k.value)}switch(ot=B?Fa(B):window,e){case"focusin":(lp(ot)||ot.contentEditable==="true")&&(Gs=ot,dc=B,Wa=null);break;case"focusout":Wa=dc=Gs=null;break;case"mousedown":hc=!0;break;case"contextmenu":case"mouseup":case"dragend":hc=!1,bp(J,a,Y);break;case"selectionchange":if(e3)break;case"keydown":case"keyup":bp(J,a,Y)}var yt;if(lc)t:{switch(e){case"compositionstart":var wt="onCompositionStart";break t;case"compositionend":wt="onCompositionEnd";break t;case"compositionupdate":wt="onCompositionUpdate";break t}wt=void 0}else qs?rp(e,a)&&(wt="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(wt="onCompositionStart");wt&&(ip&&a.locale!=="ko"&&(qs||wt!=="onCompositionStart"?wt==="onCompositionEnd"&&qs&&(yt=$m()):(ci=Y,ic="value"in ci?ci.value:ci.textContent,qs=!0)),ot=bl(B,wt),
vendor: 5,807 bytes, lines 9-10
90<ot.length&&(wt=new ep(wt,e,null,a,Y),J.push({event:wt,listeners:ot}),yt?wt.data=yt:(yt=op(a),yt!==null&&(wt.data=yt)))),(yt=IT?YT(e,a):KT(e,a))&&(wt=bl(B,"onBeforeInput"),0<wt.length&&(ot=new ep("onBeforeInput","beforeinput",null,a,Y),J.push({event:ot,listeners:wt}),ot.data=yt)),N3(J,e,B,a,Y)}Ig(J,i)})}function _r(e,i,a){return{instance:e,listener:i,currentTarget:a}}function bl(e,i){for(var a=i+"Capture",o=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Ia(e,a),c!=null&&o.unshift(_r(e,c,d)),c=Ia(e,i),c!=null&&o.push(_r(e,c,d))),e.tag===3)return o;e=e.return}return[]}function q3(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kg(e,i,a,o,c){for(var d=i._reactName,b=[];a!==null&&a!==o;){var w=a,M=w.alternate,B=w.stateNode;if(w=w.tag,M!==null&&M===o)break;w!==5&&w!==26&&w!==27||B===null||(M=B,c?(B=Ia(a,d),B!=null&&b.unshift(_r(a,B,M))):c||(B=Ia(a,d),B!=null&&b.push(_r(a,B,M)))),a=a.return}b.length!==0&&e.push({event:i,listeners:b})}var G3=/\r\n?/g,F3=/\u0000|\uFFFD/g;function Qg(e){return(typeof e=="string"?e:""+e).replace(G3,`
10`).replace(F3,"")}function Xg(e,i){return i=Qg(i),Qg(e)===i}function jt(e,i,a,o,c,d){switch(a){case"children":typeof o=="string"?i==="body"||i==="textarea"&&o===""||Us(e,o):(typeof o=="number"||typeof o=="bigint")&&i!=="body"&&Us(e,""+o);break;case"className":wo(e,"class",o);break;case"tabIndex":wo(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":wo(e,a,o);break;case"style":Xm(e,o,d);break;case"data":if(i!=="object"){wo(e,"data",o);break}case"src":case"href":if(o===""&&(i!=="a"||a!=="href")){e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Eo(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(a==="formAction"?(i!=="input"&&jt(e,i,"name",c.name,c,null),jt(e,i,"formEncType",c.formEncType,c,null),jt(e,i,"formMethod",c.formMethod,c,null),jt(e,i,"formTarget",c.formTarget,c,null)):(jt(e,i,"encType",c.encType,c,null),jt(e,i,"method",c.method,c,null),jt(e,i,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Eo(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(e.onclick=Pn);break;case"onScroll":o!=null&&St("scroll",e);break;case"onScrollEnd":o!=null&&St("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}a=Eo(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""+o):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,o):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(a,o):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):e.setAttribute(a,o);break;case"popover":St("beforetoggle",e),St("toggle",e),To(e,"popover",o);break;case"xlinkActuate":jn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":jn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":jn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":jn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":jn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":jn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":jn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":jn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":jn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":To(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=vT.get(a)||a,To(e,a,o))}}function Uf(e,i,a,o,c,d){switch(a){case"style":Xm(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=a}}break;
vendor: 6,669 bytes, line 10
10case"children":typeof o=="string"?Us(e,o):(typeof o=="number"||typeof o=="bigint")&&Us(e,""+o);break;case"onScroll":o!=null&&St("scroll",e);break;case"onScrollEnd":o!=null&&St("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!km.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),i=a.slice(2,c?a.length-7:void 0),d=e[Re]||null,d=d!=null?d[a]:null,typeof d=="function"&&e.removeEventListener(i,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(i,o,c);break t}a in e?e[a]=o:o===!0?e.setAttribute(a,""):To(e,a,o)}}}function ve(e,i,a){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",e),St("load",e);var o=!1,c=!1,d;for(d in a)if(a.hasOwnProperty(d)){var b=a[d];if(b!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:jt(e,i,d,b,a,null)}}c&&jt(e,i,"srcSet",a.srcSet,a,null),o&&jt(e,i,"src",a.src,a,null);return;case"input":St("invalid",e);var w=d=b=c=null,M=null,B=null;for(o in a)if(a.hasOwnProperty(o)){var Y=a[o];if(Y!=null)switch(o){case"name":c=Y;break;case"type":b=Y;break;case"checked":M=Y;break;case"defaultChecked":B=Y;break;case"value":d=Y;break;case"defaultValue":w=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,i));break;default:jt(e,i,o,Y,a,null)}}Im(e,d,w,M,B,b,c,!1);return;case"select":St("invalid",e),o=b=d=null;for(c in a)if(a.hasOwnProperty(c)&&(w=a[c],w!=null))switch(c){case"value":d=w;break;case"defaultValue":b=w;break;case"multiple":o=w;default:jt(e,i,c,w,a,null)}i=d,a=b,e.multiple=!!o,i!=null?Ns(e,!!o,i,!1):a!=null&&Ns(e,!!o,a,!0);return;case"textarea":St("invalid",e),d=c=o=null;for(b in a)if(a.hasOwnProperty(b)&&(w=a[b],w!=null))switch(b){case"value":o=w;break;case"defaultValue":c=w;break;case"children":d=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(91));break;default:jt(e,i,b,w,a,null)}Km(e,o,c,d);return;case"option":for(M in a)a.hasOwnProperty(M)&&(o=a[M],o!=null)&&(M==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":jt(e,i,M,o,a,null));return;case"dialog":St("beforetoggle",e),St("toggle",e),St("cancel",e),St("close",e);break;case"iframe":case"object":St("load",e);break;case"video":case"audio":for(o=0;o<wr.length;o++)St(wr[o],e);break;case"image":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"embed":case"source":case"link":St("error",e),St("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(B in a)if(a.hasOwnProperty(B)&&(o=a[B],o!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:jt(e,i,B,o,a,null)}return;default:if($u(i)){for(Y in a)a.hasOwnProperty(Y)&&(o=a[Y],o!==void 0&&Uf(e,i,Y,o,a,void 0));return}}for(w in a)a.hasOwnProperty(w)&&(o=a[w],o!=null&&jt(e,i,w,o,a,null))}function I3(e,i,a,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,b=null,w=null,M=null,B=null,Y=null;for(F in a){var J=a[F];if(a.hasOwnProperty(F)&&J!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":M=J;default:o.hasOwnProperty(F)||jt(e,i,F,null,o,J)}}for(var k in o){var F=o[k];if(J=a[k],o.hasOwnProperty(k)&&(F!=null||J!=null))switch(k){case"type":d=F;break;case"name":c=F;break;case"checked":B=F;break;case"defaultChecked":Y=F;break;case"value":b=F;break;case"defaultValue":w=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,i));break;default:F!==J&&jt(e,i,k,F,o,J)}}Zu(e,b,w,M,B,Y,d,c);return;case"select":F=b=w=k=null;for(d in a)if(M=a[d],a.hasOwnProperty(d)&&M!=null)switch(d){case"value":break;case"multiple":F=M;default:o.hasOwnProperty(d)||jt(e,i,d,null,o,M)}for(c in o)if(d=o[c],M=a[c],o.hasOwnProperty(c)&&(d!=null||M!=null))switch(c){case"value":k=d;break;case"defaultValue":w=d;break;case"multiple":b=d;default:d!==M&&jt(e,i,c,d,o,M)}i=w,a=b,o=F,k!=null?Ns(e,!!a,k,!1):!!o!=!!a&&(i!=null?Ns(e,!!a,i,!0):Ns(e,!!a,a?[]:"",!1));return;case"textarea":F=k=null;for(w in a)if(c=a[w],a.hasOwnProperty(w)&&c!=null&&!o.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:jt(e,i,w,null,o,c)}for(b in o)if(c=o[b],d=a[b],o.hasOwnProperty(b)&&(c!=null||d!=null))switch(b){case"value":k=c;break;case"defaultValue":F=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==d&&jt(e,i,b,c,o,d)}Ym(e,k,F);return;case"option":for(var at in a)k=a[at],a.hasOwnProperty(at)&&k!=null&&!o.hasOwnProperty(at)&&(at==="selected"?e.selected=!1:jt(e,i,at,null,o,k));for(M in o)k=o[M],F=a[M],o.hasOwnProperty(M)&&k!==F&&(k!=null||F!=null)&&(M==="selected"?e.selected=k&&typeof k!="function"&&typeof k!="symbol":jt(e,i,M,k,o,F));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)k=a[ut],a.hasOwnProperty(ut)&&k!=null&&!o.hasOwnProperty(ut)&&jt(e,i,ut,null,o,k);for(B in o)if(k=o[B],F=a[B],o.hasOwnProperty(B)&&k!==F&&(k!=null||F!=null))switch(B){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,i));break;default:jt(e,i,B,k,o,F)}return;default:if($u(i)){for(var Pt in a)k=a[Pt],a.hasOwnProperty(Pt)&&k!==void 0&&!o.hasOwnProperty(Pt)&&Uf(e,i,Pt,void 0,o,k);for(Y in o)k=o[Y],F=a[Y],!o.hasOwnProperty(Y)||k===F||k===void 0&&F===void 0||Uf(e,i,Y,k,o,F);return}}for(var V in a)k=a[V],a.hasOwnProperty(V)&&k!=null&&!o.hasOwnProperty(V)&&jt(e,i,V,null,o,k);for(J in o)k=o[J],F=a[J],!o.hasOwnProperty(J)||k===F||k==null&&F==null||jt(e,i,J,k,o,F)}function Zg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Y3(){if(typeof performance.getEntriesByType=="function"){for(var e=0,i=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var c=a[o],d=c.transferSize,b=c.initiatorType,w=c.duration;if(d&&w&&Zg(b)){for(b=0,w=c.responseEnd,o+=1;o<a.length;o++){var M=a[o],B=M.startTime;if(B>w)break;var Y=M.transferSize,J=M.initiatorType;Y&&Zg(J)&&(M=M.responseEnd,b+=Y*(M<w?1:(w-B)/(M-B)))}if(--o,i+=8*(d+b)/(c.duration/1e3),e++,10<e)break}}if(0<e)return i/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var kf=null,Hf=null;
vendor: 9,309 bytes, line 10
10function Sl(e){return e.nodeType===9?e:e.ownerDocument}function Jg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function $g(e,i){if(e===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&i==="foreignObject"?0:e}function qf(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Gf=null;function K3(){var e=window.event;return e&&e.type==="popstate"?e===Gf?!1:(Gf=e,!0):(Gf=null,!1)}var Wg=typeof setTimeout=="function"?setTimeout:void 0,Q3=typeof clearTimeout=="function"?clearTimeout:void 0,t0=typeof Promise=="function"?Promise:void 0,X3=typeof queueMicrotask=="function"?queueMicrotask:typeof t0<"u"?function(e){return t0.resolve(null).then(e).catch(Z3)}:Wg;function Z3(e){setTimeout(function(){throw e})}function Ci(e){return e==="head"}function e0(e,i){var a=i,o=0;do{var c=a.nextSibling;if(e.removeChild(a),c&&c.nodeType===8)if(a=c.data,a==="/$"||a==="/&"){if(o===0){e.removeChild(c),ya(i);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")Er(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Er(a);for(var d=a.firstChild;d;){var b=d.nextSibling,w=d.nodeName;d[Ga]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&d.rel.toLowerCase()==="stylesheet"||a.removeChild(d),d=b}}else a==="body"&&Er(e.ownerDocument.body);a=c}while(a);ya(i)}function n0(e,i){var a=e;e=0;do{var o=a.nextSibling;if(a.nodeType===1?i?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(i?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=o}while(a)}function Ff(e){var i=e.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var a=i;switch(i=i.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Ff(a),Qu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function J3(e,i,a,o){for(;e.nodeType===1;){var c=a;if(e.nodeName.toLowerCase()!==i.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Ga])switch(i){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(i==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=ln(e.nextSibling),e===null)break}return null}function $3(e,i,a){if(i==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=ln(e.nextSibling),e===null))return null;return e}function i0(e,i){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=ln(e.nextSibling),e===null))return null;return e}function If(e){return e.data==="$?"||e.data==="$~"}function Yf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function W3(e,i){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=i;else if(e.data!=="$?"||a.readyState!=="loading")i();else{var o=function(){i(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function ln(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return e}var Kf=null;function s0(e){e=e.nextSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(i===0)return ln(e.nextSibling);i--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||i++}e=e.nextSibling}return null}function a0(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(i===0)return e;i--}else a!=="/$"&&a!=="/&"||i++}e=e.previousSibling}return null}function r0(e,i,a){switch(i=Sl(a),e){case"html":if(e=i.documentElement,!e)throw Error(r(452));return e;case"head":if(e=i.head,!e)throw Error(r(453));return e;case"body":if(e=i.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Er(e){for(var i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Qu(e)}var un=new Map,o0=new Set;function xl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var $n=$.d;$.d={f:tw,r:ew,D:nw,C:iw,L:sw,m:aw,X:ow,S:rw,M:lw};function tw(){var e=$n.f(),i=dl();return e||i}function ew(e){var i=js(e);i!==null&&i.tag===5&&i.type==="form"?_y(i):$n.r(e)}var ha=typeof document>"u"?null:document;function l0(e,i,a){var o=ha;if(o&&typeof i=="string"&&i){var c=tn(i);c='link[rel="'+e+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),o0.has(c)||(o0.add(c),e={rel:e,crossOrigin:a,href:i},o.querySelector(c)===null&&(i=o.createElement("link"),ve(i,"link",e),le(i),o.head.appendChild(i)))}}function nw(e){$n.D(e),l0("dns-prefetch",e,null)}function iw(e,i){$n.C(e,i),l0("preconnect",e,i)}function sw(e,i,a){$n.L(e,i,a);var o=ha;if(o&&e&&i){var c='link[rel="preload"][as="'+tn(i)+'"]';i==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+tn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+tn(a.imageSizes)+'"]')):c+='[href="'+tn(e)+'"]';var d=c;switch(i){case"style":d=ma(e);break;case"script":d=pa(e)}un.has(d)||(e=y({rel:"preload",href:i==="image"&&a&&a.imageSrcSet?void 0:e,as:i},a),un.set(d,e),o.querySelector(c)!==null||i==="style"&&o.querySelector(Ar(d))||i==="script"&&o.querySelector(Cr(d))||(i=o.createElement("link"),ve(i,"link",e),le(i),o.head.appendChild(i)))}}function aw(e,i){$n.m(e,i);var a=ha;if(a&&e){var o=i&&typeof i.as=="string"?i.as:"script",c='link[rel="modulepreload"][as="'+tn(o)+'"][href="'+tn(e)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=pa(e)}if(!un.has(d)&&(e=y({rel:"modulepreload",href:e},i),un.set(d,e),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Cr(d)))return}o=a.createElement("link"),ve(o,"link",e),le(o),a.head.appendChild(o)}}}function rw(e,i,a){$n.S(e,i,a);var o=ha;if(o&&e){var c=Ps(o).hoistableStyles,d=ma(e);i=i||"default";var b=c.get(d);if(!b){var w={loading:0,preload:null};if(b=o.querySelector(Ar(d)))w.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":i},a),(a=un.get(d))&&Qf(e,a);var M=b=o.createElement("link");le(M),ve(M,"link",e),M._p=new Promise(function(B,Y){M.onload=B,M.onerror=Y}),M.addEventListener("load",function(){w.loading|=1}),M.addEventListener("error",function(){w.loading|=2}),w.loading|=4,Tl(b,i,o)}b={type:"stylesheet",instance:b,count:1,state:w},c.set(d,b)}}}function ow(e,i){$n.X(e,i);var a=ha;if(a&&e){var o=Ps(a).hoistableScripts,c=pa(e),d=o.get(c);d||(d=a.querySelector(Cr(c)),d||(e=y({src:e,async:!0},i),(i=un.get(c))&&Xf(e,i),d=a.createElement("script"),le(d),ve(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function lw(e,i){$n.M(e,i);var a=ha;if(a&&e){var o=Ps(a).hoistableScripts,c=pa(e),d=o.get(c);d||(d=a.querySelector(Cr(c)),d||(e=y({src:e,async:!0,type:"module"},i),(i=un.get(c))&&Xf(e,i),d=a.createElement("script"),le(d),ve(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function u0(e,i,a,o){var c=(c=ft.current)?xl(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(i=ma(a.href),a=Ps(c).hoistableStyles,o=a.get(i),o||(o={type:"style",instance:null,count:0,state:null},a.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=ma(a.href);var d=Ps(c).hoistableStyles,b=d.get(e);if(b||(c=c.ownerDocument||c,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,b),(d=c.querySelector(Ar(e)))&&!d._p&&(b.instance=d,b.state.loading=5),un.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},un.set(e,a),d||uw(c,e,a,b.state))),i&&o===null)throw Error(r(528,""));return b}if(i&&o!==null)throw Error(r(529,""));return null;
vendor: 4,683 bytes, line 10
10case"script":return i=a.async,a=a.src,typeof a=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=pa(a),a=Ps(c).hoistableScripts,o=a.get(i),o||(o={type:"script",instance:null,count:0,state:null},a.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ma(e){return'href="'+tn(e)+'"'}function Ar(e){return'link[rel="stylesheet"]['+e+"]"}function c0(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function uw(e,i,a,o){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?o.loading=1:(i=e.createElement("link"),o.preload=i,i.addEventListener("load",function(){return o.loading|=1}),i.addEventListener("error",function(){return o.loading|=2}),ve(i,"link",a),le(i),e.head.appendChild(i))}function pa(e){return'[src="'+tn(e)+'"]'}function Cr(e){return"script[async]"+e}function f0(e,i,a){if(i.count++,i.instance===null)switch(i.type){case"style":var o=e.querySelector('style[data-href~="'+tn(a.href)+'"]');if(o)return i.instance=o,le(o),o;var c=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),le(o),ve(o,"style",c),Tl(o,a.precedence,e),i.instance=o;case"stylesheet":c=ma(a.href);var d=e.querySelector(Ar(c));if(d)return i.state.loading|=4,i.instance=d,le(d),d;o=c0(a),(c=un.get(c))&&Qf(o,c),d=(e.ownerDocument||e).createElement("link"),le(d);var b=d;return b._p=new Promise(function(w,M){b.onload=w,b.onerror=M}),ve(d,"link",o),i.state.loading|=4,Tl(d,a.precedence,e),i.instance=d;case"script":return d=pa(a.src),(c=e.querySelector(Cr(d)))?(i.instance=c,le(c),c):(o=a,(c=un.get(d))&&(o=y({},a),Xf(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),le(c),ve(c,"link",o),e.head.appendChild(c),i.instance=c);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(o=i.instance,i.state.loading|=4,Tl(o,a.precedence,e));return i.instance}function Tl(e,i,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,b=0;b<o.length;b++){var w=o[b];if(w.dataset.precedence===i)d=w;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(i=a.nodeType===9?a.head:a,i.insertBefore(e,i.firstChild))}function Qf(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.title==null&&(e.title=i.title)}function Xf(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.integrity==null&&(e.integrity=i.integrity)}var wl=null;function d0(e,i,a){if(wl===null){var o=new Map,c=wl=new Map;c.set(a,o)}else c=wl,o=c.get(a),o||(o=new Map,c.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),c=0;c<a.length;c++){var d=a[c];if(!(d[Ga]||d[me]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var b=d.getAttribute(i)||"";b=e+b;var w=o.get(b);w?w.push(d):o.set(b,[d])}}return o}function h0(e,i,a){e=e.ownerDocument||e,e.head.insertBefore(a,i==="title"?e.querySelector("head > title"):null)}function cw(e,i,a){if(a===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(e=i.disabled,typeof i.precedence=="string"&&e==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function m0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function fw(e,i,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var c=ma(o.href),d=i.querySelector(Ar(c));if(d){i=d._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=_l.bind(e),i.then(e,e)),a.state.loading|=4,a.instance=d,le(d);return}d=i.ownerDocument||i,o=c0(o),(c=un.get(c))&&Qf(o,c),d=d.createElement("link"),le(d);var b=d;b._p=new Promise(function(w,M){b.onload=w,b.onerror=M}),ve(d,"link",o),a.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,i),(i=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=_l.bind(e),i.addEventListener("load",a),i.addEventListener("error",a))}}var Zf=0;function dw(e,i){return e.stylesheets&&e.count===0&&Al(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&Al(e,e.stylesheets),e.unsu
vendor: 4,270 bytes, line 10
10spend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+i);0<e.imgBytes&&Zf===0&&(Zf=62500*Y3());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Al(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Zf?50:800)+i);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function _l(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Al(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var El=null;function Al(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,El=new Map,i.forEach(hw,e),El=null,_l.call(e))}function hw(e,i){if(!(i.state.loading&4)){var a=El.get(e);if(a)var o=a.get(null);else{a=new Map,El.set(e,a);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var b=c[d];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(a.set(b.dataset.precedence,b),o=b)}o&&a.set(null,o)}c=i.instance,b=c.getAttribute("data-precedence"),d=a.get(b)||o,d===o&&a.set(null,c),a.set(b,c),this.count++,o=_l.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),i.state.loading|=4}}var Rr={$$typeof:D,Provider:null,Consumer:null,_currentValue:tt,_currentValue2:tt,_threadCount:0};function mw(e,i,a,o,c,d,b,w,M){this.tag=1,this.containerInfo=e,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=Fu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fu(0),this.hiddenUpdates=Fu(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function p0(e,i,a,o,c,d,b,w,M,B,Y,J){return e=new mw(e,i,a,b,M,B,Y,J,w),i=1,d===!0&&(i|=24),d=Fe(3,null,null,i),e.current=d,d.stateNode=e,i=Rc(),i.refCount++,e.pooledCache=i,i.refCount++,d.memoizedState={element:o,isDehydrated:a,cache:i},Lc(d),e}function y0(e){return e?(e=Ys,e):Ys}function g0(e,i,a,o,c,d){c=y0(c),o.context===null?o.context=c:o.pendingContext=c,o=yi(i),o.payload={element:a},d=d===void 0?null:d,d!==null&&(o.callback=d),a=gi(e,o,i),a!==null&&(Ve(a,e,i),rr(a,e,i))}function v0(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<i?a:i}}function Jf(e,i){v0(e,i),(e=e.alternate)&&v0(e,i)}function b0(e){if(e.tag===13||e.tag===31){var i=Wi(e,67108864);i!==null&&Ve(i,e,67108864),Jf(e,67108864)}}function S0(e){if(e.tag===13||e.tag===31){var i=Xe();i=Iu(i);var a=Wi(e,i);a!==null&&Ve(a,e,i),Jf(e,i)}}var Cl=!0;function pw(e,i,a,o){var c=G.T;G.T=null;var d=$.p;try{$.p=2,$f(e,i,a,o)}finally{$.p=d,G.T=c}}function yw(e,i,a,o){var c=G.T;G.T=null;var d=$.p;try{$.p=8,$f(e,i,a,o)}finally{$.p=d,G.T=c}}function $f(e,i,a,o){if(Cl){var c=Wf(o);if(c===null)Nf(e,i,o,Rl,a),T0(e,o);else if(vw(c,e,i,a,o))o.stopPropagation();else if(T0(e,o),i&4&&-1<gw.indexOf(e)){for(;c!==null;){var d=js(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var b=Qi(d.pendingLanes);if(b!==0){var w=d;for(w.pendingLanes|=2,w.entangledLanes|=2;b;){var M=1<<31-qe(b);w.entanglements[1]|=M,b&=~M}En(d),(Dt&6)===0&&(cl=Se()+500,Tr(0))}}break;case 31:case 13:w=Wi(d,2),w!==null&&Ve(w,d,2),dl(),Jf(d,2)}if(d=Wf(o),d===null&&Nf(e,i,o,Rl,a),d===c)break;c=d}c!==null&&o.stopPropagation()}else Nf(e,i,o,null,a)}}function Wf(e){return e=tc(e),td(e)}var Rl=null;function td(e){if(Rl=null,e=Vs(e),e!==null){var i=u(e);if(i===null)e=null;else{var a=i.tag;if(a===13){if(e=f(i),e!==null)return e;e=null}else if(a===31){if(e=h(i),e!==null)return e;e=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null)}}return Rl=e,null}function x0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 5,237 bytes, line 10
10: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(Ht()){case he:return 2;case xn:return 8;case Ls:case iT:return 32;case Om:return 268435456;default:return 32}default:return 32}}var ed=!1,Ri=null,Mi=null,Di=null,Mr=new Map,Dr=new Map,Oi=[],gw="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 T0(e,i){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Mi=null;break;case"mouseover":case"mouseout":Di=null;break;case"pointerover":case"pointerout":Mr.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dr.delete(i.pointerId)}}function Or(e,i,a,o,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:i,domEventName:a,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},i!==null&&(i=js(i),i!==null&&b0(i)),e):(e.eventSystemFlags|=o,i=e.targetContainers,c!==null&&i.indexOf(c)===-1&&i.push(c),e)}function vw(e,i,a,o,c){switch(i){case"focusin":return Ri=Or(Ri,e,i,a,o,c),!0;case"dragenter":return Mi=Or(Mi,e,i,a,o,c),!0;case"mouseover":return Di=Or(Di,e,i,a,o,c),!0;case"pointerover":var d=c.pointerId;return Mr.set(d,Or(Mr.get(d)||null,e,i,a,o,c)),!0;case"gotpointercapture":return d=c.pointerId,Dr.set(d,Or(Dr.get(d)||null,e,i,a,o,c)),!0}return!1}function w0(e){var i=Vs(e.target);if(i!==null){var a=u(i);if(a!==null){if(i=a.tag,i===13){if(i=f(a),i!==null){e.blockedOn=i,Bm(e.priority,function(){S0(a)});return}}else if(i===31){if(i=h(a),i!==null){e.blockedOn=i,Bm(e.priority,function(){S0(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ml(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var a=Wf(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a);Wu=o,a.target.dispatchEvent(o),Wu=null}else return i=js(a),i!==null&&b0(i),e.blockedOn=a,!1;i.shift()}return!0}function _0(e,i,a){Ml(e)&&a.delete(i)}function bw(){ed=!1,Ri!==null&&Ml(Ri)&&(Ri=null),Mi!==null&&Ml(Mi)&&(Mi=null),Di!==null&&Ml(Di)&&(Di=null),Mr.forEach(_0),Dr.forEach(_0)}function Dl(e,i){e.blockedOn===i&&(e.blockedOn=null,ed||(ed=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,bw)))}var Ol=null;function E0(e){Ol!==e&&(Ol=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Ol===e&&(Ol=null);for(var i=0;i<e.length;i+=3){var a=e[i],o=e[i+1],c=e[i+2];if(typeof o!="function"){if(td(o||a)===null)continue;break}var d=js(a);d!==null&&(e.splice(i,3),i-=3,$c(d,{pending:!0,data:c,method:a.method,action:o},o,c))}}))}function ya(e){function i(M){return Dl(M,e)}Ri!==null&&Dl(Ri,e),Mi!==null&&Dl(Mi,e),Di!==null&&Dl(Di,e),Mr.forEach(i),Dr.forEach(i);for(var a=0;a<Oi.length;a++){var o=Oi[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Oi.length&&(a=Oi[0],a.blockedOn===null);)w0(a),a.blockedOn===null&&Oi.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var c=a[o],d=a[o+1],b=c[Re]||null;if(typeof d=="function")b||E0(a);else if(b){var w=null;if(d&&d.hasAttribute("formAction")){if(c=d,b=d[Re]||null)w=b.formAction;else if(td(c)!==null)continue}else w=b.action;typeof w=="function"?a[o+1]=w:(a.splice(o,3),o-=3),E0(a)}}}function A0(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(b){return c=b})},focusReset:"manual",scroll:"manual"})}function i(){c!==null&&(c(),c=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),c!==null&&(c(),c=null)}}}
10function nd(e){this._internalRoot=e}Ll.prototype.render=nd.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(r(409));var a=i.current,o=Xe();g0(a,o,e,i,null,null)},Ll.prototype.unmount=nd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;g0(e.current,2,null,e,null,null),dl(),i[zs]=null}};function Ll(e){this._internalRoot=e}Ll.prototype.unstable_scheduleHydration=function(e){if(e){var i=Pm();e={blockedOn:null,target:e,priority:i};for(var a=0;a<Oi.length&&i!==0&&i<Oi[a].priority;a++);Oi.splice(a,0,e),a===0&&w0(e)}};var C0=n.version;if(C0!=="19.2.6")throw Error(r(527,C0,"19.2.6"));$.findDOMNode=function(e){var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(i),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var Sw={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zl.isDisabled&&zl.supportsFiber)try{ka=zl.inject(Sw),He=zl}catch{}}return zr.createRoot=function(e,i){if(!l(e))throw Error(r(299));var a=!1,o="",c=Vy,d=jy,b=Py;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(o=i.identifierPrefix),i.onUncaughtError!==void 0&&(c=i.onUncaughtError),i.onCaughtError!==void 0&&(d=i.onCaughtError),i.onRecoverableError!==void 0&&(b=i.onRecoverableError)),i=p0(e,1,!1,null,null,a,o,null,c,d,b,A0),e[zs]=i.current,Bf(e),new nd(i)},zr.hydrateRoot=function(e,i,a){if(!l(e))throw Error(r(299));var o=!1,c="",d=Vy,b=jy,w=Py,M=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError),a.formState!==void 0&&(M=a.formState)),i=p0(e,1,!0,i,a??null,o,c,M,d,b,w,A0),i.context=y0(null),a=i.current,o=Xe(),o=Iu(o),c=yi(o),c.callback=null,gi(a,c,o),a=o,i.current.lanes=a,qa(i,a),En(i),e[zs]=i.current,Bf(e),new Ll(i)},zr.version="19.2.6",zr}var B0;function Dw(){if(B0)return ad.exports;B0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),ad.exports=Mw(),ad.exports}var Ow=Dw(),Lw="__TSS_CONTEXT",Fd=Symbol.for("TSS_SERVER_FUNCTION"),zw="application/x-tss-framed",Wn={JSON:0,CHUNK:1,END:2,ERROR:3},Vw=/;\s*v=(\d+)/;function jw(t){const n=t.match(Vw);return n?parseInt(n[1],10):void 0}function Pw(t){const n=jw(t);if(n!==void 0&&n!==1)throw new Error(`Incompatible framed protocol version: server=${n}, client=1. Please ensure client and server are using compatible versions.`)}var vb=()=>window.__TSS_START_OPTIONS__;const bb=!1;function Xr(t){return t[t.length-1]}function Bw(t){return typeof t=="function"}function ps(t,n){return Bw(t)?t(n):t}const Sb=Object.prototype.hasOwnProperty,N0=Object.prototype.propertyIsEnumerable;function xb(t){for(const n in t)if(Sb.call(t,n))return!0;return!1}const Nw=()=>Object.create(null),ds=(t,n)=>ys(t,n,Nw);function ys(t,n,s=()=>({}),r=0){if(t===n)return t;if(r>500)return n;const l=n,u=H0(t)&&H0(l);if(!u&&!(ru(t)&&ru(l)))return l;const f=u?t:U0(t);if(!f)return l;const h=u?l:U0(l);if(!h)return l;const m=f.length,p=h.length,g=u?new Array(p):s();let y=0;for(let v=0;v<p;v++){const S=u?v:h[v],x=t[S],C=l[S];if(x===C){g[S]=x,(u?v<m:Sb.call(t,S))&&y++;continue}if(x===null||C===null||typeof x!="object"||typeof C!="object"){g[S]=C;continue}const _=ys(x,C,s,r+1);g[S]=_,_===x&&y++}return m===p&&y===m?t:g}function U0(t){const n=Object.getOwnPropertyNames(t);for(const l of n)if(!N0.call(t,l))return!1;const s=Object.getOwnPropertySymbols(t);if(s.length===0)return n;const r=n;for(const l of s){if(!N0.call(t,l))return!1;r.push(l)}return r}function ru(t){if(!k0(t))return!1;const n=t.constructor;if(typeof n>"u")return!0;const s=n.prototype;return!(!k0(s)||!s.hasOwnProperty("isPrototypeOf"))}function k0(t){return Object.prototype.toString.call(t)==="[object Object]"}function H0(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function _e(t,n,s){if(t===n)return!0;
10if(typeof t!=typeof n)return!1;if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(let r=0,l=t.length;r<l;r++)if(!_e(t[r],n[r],s))return!1;return!0}if(ru(t)&&ru(n)){const r=s?.ignoreUndefined??!0;if(s?.partial){for(const f in n)if((!r||n[f]!==void 0)&&!_e(t[f],n[f],s))return!1;return!0}let l=0;if(!r)l=Object.keys(t).length;else for(const f in t)t[f]!==void 0&&l++;let u=0;for(const f in n)if((!r||n[f]!==void 0)&&(u++,u>l||!_e(t[f],n[f],s)))return!1;return l===u}return!1}function Es(t){let n,s;const r=new Promise((l,u)=>{n=l,s=u});return r.status="pending",r.resolve=l=>{r.status="resolved",r.value=l,n(l),t?.(l)},r.reject=l=>{r.status="rejected",s(l)},r}function Uw(t){return typeof t?.message!="string"?!1:t.message.startsWith("Failed to fetch dynamically imported module")||t.message.startsWith("error loading dynamically imported module")||t.message.startsWith("Importing a module script failed")}function Zr(t){return!!(t&&typeof t=="object"&&typeof t.then=="function")}const kw=/[\x00-\x1f\x7f"<>`{}]/g;function Hw(t){return t.replace(kw,n=>"%"+n.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function q0(t){let n;try{n=decodeURI(t)}catch{n=t.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return Hw(n)}const qw=["http:","https:","mailto:","tel:"];function ou(t,n){if(!t)return!1;try{const s=new URL(t);return!n.has(s.protocol)}catch{return!1}}const Gw={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Fw=/[&><\u2028\u2029]/g;function Iw(t){return t.replace(Fw,n=>Gw[n])}function Vr(t){if(!t)return{path:t,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(t)&&!t.startsWith("//"))return{path:t,handledProtocolRelativeURL:!1};const n=/%25|%5C/gi;let s=0,r="",l;for(;(l=n.exec(t))!==null;)r+=q0(t.slice(s,l.index))+l[0],s=n.lastIndex;r=r+q0(s?t.slice(s):t);let u=!1;return r.startsWith("//")&&(u=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:u}}function Yw(t){return/\s|[^\u0000-\u007F]/.test(t)?t.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):t}function Kw(t,n){if(t===n)return!0;if(t.length!==n.length)return!1;for(let s=0;s<t.length;s++)if(t[s]!==n[s])return!1;return!0}function Be(){throw new Error("Invariant failed")}function Jr(t){const n=new Map;let s,r;const l=u=>{u.next&&(u.prev?(u.prev.next=u.next,u.next.prev=u.prev,u.next=void 0,r&&(r.next=u,u.prev=r)):(u.next.prev=void 0,s=u.next,u.next=void 0,r&&(u.prev=r,r.next=u)),r=u)};return{get(u){const f=n.get(u);if(f)return l(f),f.value},set(u,f){if(n.size>=t&&s){const m=s;n.delete(m.key),m.next&&(s=m.next,m.next.prev=void 0),m===r&&(r=void 0)}const h=n.get(u);if(h)h.value=f,l(h);else{const m={key:u,value:f,prev:r};r&&(r.next=m),r=m,s||(s=m),n.set(u,m)}},clear(){n.clear(),s=void 0,r=void 0}}}const ji=4,Tb=5;function Qw(t){const n=t.indexOf("{");if(n===-1)return null;const s=t.indexOf("}",n);return s===-1||n+1>=t.length?null:[n,s]}function wb(t,n,s=new Uint16Array(6)){const r=t.indexOf("/",n),l=r===-1?t.length:r,u=t.substring(n,l);if(!u||!u.includes("$"))return s[0]=0,s[1]=n,s[2]=n,s[3]=l,s[4]=l,s[5]=l,s;if(u==="$"){const h=t.length;return s[0]=2,s[1]=n,s[2]=n,s[3]=h,s[4]=h,s[5]=h,s}if(u.charCodeAt(0)===36)return s[0]=1,s[1]=n,s[2]=n+1,s[3]=l,s[4]=l,s[5]=l,s;const f=Qw(u);if(f){const[h,m]=f,p=u.charCodeAt(h+1);if(p===45){if(h+2<u.length&&u.charCodeAt(h+2)===36){const g=h+3,y=m;if(g<y)return s[0]=3,s[1]=n+h,s[2]=n+g,s[3]=n+y,s[4]=n+m+1,s[5]=l,s}}else if(p===36){const g=h+1,y=h+2;return y===m?(s[0]=2,s[1]=n+h,s[2]=n+g,s[3]=n+y,s[4]=n+m+1,s[5]=t.length,s):(s[0]=1,s[1]=n+h,s[2]=n+y,s[3]=n+m,s[4]=n+m+1,s[5]=l,s)}}return s[0]=0,s[1]=n,s[2]=n,s[3]=l,s[4]=l,s[5]=l,s}function Au(t,n,s,r,l,u,f){f?.(s);let h=r;{const m=s.fullPath??s.from,p=m.length,g=s.options?.caseSensitive??t,y=s.options?.params?.parse??s.options?.parseParams;for(;h<p;){const S=wb(m,h,n);let x;const C=h,_=S[5];switch(h=_+1,u++,S[0]){case 0:{const E=m.substring(S[2],S[3]);if(g){const R=l.static?.get(E);if(R)x=R;else{l.static??=new Map;const D=gs(s.fullPath??s.from);D.parent=l,D.depth=u,x=D,l.static.set(E,D)}}else{const R=E.toLowerCase(),D=l.staticInsensitive?.get(R);if(D)x=D;else{l.staticInsensitive??=new Map;const z=gs(s.fullPath??s.from);z.parent=l,z.depth=u,x=z,l.staticInsensitive.set(R,z)}}break}case 1:{const E=m.substring(C,S[1]),R=m.substring(S[4],_),D=g&&!!(E||R),z=E?D?E:E.toLowerCase():void 0,H=R?D?R:R.toLowerCase():void 0,I=!y&&l.dynamic?.find(j=>!j.parse&&j.caseSensitive===D&&j.prefix===z&&j.suffix===H);if(I)x=I;else{const j=cd(1,s.fullPath??s.from,D,z,H);x=j,j.depth=u,j.parent=l,l.dynamic??=[],l.dynamic.push(j)}break}case 3:{const E=m.substring(C,S[1]),R=m.substring(S[4],_),D=g&&!!(E||R),z=E?D?E:E.toLowerCase():void 0,H=R?D?R:R.toLowerCase():void 0,I=!y&&l.optional?.find(j=>!j.parse&&j.caseSensitive===D&&j.prefix===z&&j.suffix===H);if(I)x=I;else{const j=cd(3,s.fullPath??s.from,D,z,H);
10x=j,j.parent=l,j.depth=u,l.optional??=[],l.optional.push(j)}break}case 2:{const E=m.substring(C,S[1]),R=m.substring(S[4],_),D=g&&!!(E||R),z=E?D?E:E.toLowerCase():void 0,H=R?D?R:R.toLowerCase():void 0,I=cd(2,s.fullPath??s.from,D,z,H);x=I,I.parent=l,I.depth=u,l.wildcard??=[],l.wildcard.push(I)}}l=x}if(y&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const S=gs(s.fullPath??s.from);S.kind=Tb,S.parent=l,u++,S.depth=u,l.pathless??=[],l.pathless.push(S),l=S}const v=(s.path||!s.children)&&!s.isRoot;if(v&&m.endsWith("/")){const S=gs(s.fullPath??s.from);S.kind=ji,S.parent=l,u++,S.depth=u,l.index=S,l=S}l.parse=y??null,l.priority=s.options?.params?.priority??0,v&&!l.route&&(l.route=s,l.fullPath=s.fullPath??s.from)}if(s.children)for(const m of s.children)Au(t,n,m,h,l,u,f)}function ud(t,n){if(t.parse&&!n.parse)return-1;if(!t.parse&&n.parse)return 1;if(t.parse&&n.parse&&(t.priority||n.priority))return n.priority-t.priority;if(t.prefix&&n.prefix&&t.prefix!==n.prefix){if(t.prefix.startsWith(n.prefix))return-1;if(n.prefix.startsWith(t.prefix))return 1}if(t.suffix&&n.suffix&&t.suffix!==n.suffix){if(t.suffix.endsWith(n.suffix))return-1;if(n.suffix.endsWith(t.suffix))return 1}return t.prefix&&!n.prefix?-1:!t.prefix&&n.prefix?1:t.suffix&&!n.suffix?-1:!t.suffix&&n.suffix?1:t.caseSensitive&&!n.caseSensitive?-1:!t.caseSensitive&&n.caseSensitive?1:0}function zi(t){if(t.pathless)for(const n of t.pathless)zi(n);if(t.static)for(const n of t.static.values())zi(n);if(t.staticInsensitive)for(const n of t.staticInsensitive.values())zi(n);if(t.dynamic?.length){t.dynamic.sort(ud);for(const n of t.dynamic)zi(n)}if(t.optional?.length){t.optional.sort(ud);for(const n of t.optional)zi(n)}if(t.wildcard?.length){t.wildcard.sort(ud);for(const n of t.wildcard)zi(n)}}function gs(t){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0}}function cd(t,n,s,r,l){return{kind:t,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,caseSensitive:s,prefix:r,suffix:l}}function Xw(t,n){const s=gs("/"),r=new Uint16Array(6);for(const l of t)Au(!1,r,l,1,s,0);zi(s),n.masksTree=s,n.flatCache=Jr(1e3)}function Zw(t,n){t||="/";const s=n.flatCache.get(t);if(s)return s;const r=Oh(t,n.masksTree);return n.flatCache.set(t,r),r}function Jw(t,n,s,r,l){t||="/",r||="/";const u=n?`case\0${t}`:t;let f=l.singleCache.get(u);return f||(f=gs("/"),Au(n,new Uint16Array(6),{from:t},1,f,0),l.singleCache.set(u,f)),Oh(r,f,s)}function $w(t,n,s=!1){const r=s?t:`nofuzz\0${t}`,l=n.matchCache.get(r);if(l!==void 0)return l;t||="/";let u;try{u=Oh(t,n.segmentTree,s)}catch(f){if(f instanceof URIError)u=null;else throw f}return u&&(u.branch=Eb(u.route)),n.matchCache.set(r,u),u}function Ww(t){return t==="/"?t:t.replace(/\/{1,}$/,"")}function t_(t,n=!1,s){const r=gs(t.fullPath),l=new Uint16Array(6),u={},f={};let h=0;return Au(n,l,t,1,r,0,m=>{if(s?.(m,h),m.id in u&&Be(),u[m.id]=m,h!==0&&m.path){const p=Ww(m.fullPath);(!f[p]||m.fullPath.endsWith("/"))&&(f[p]=m)}h++}
10),zi(r),{processedTree:{segmentTree:r,singleCache:Jr(1e3),matchCache:Jr(1e3),flatCache:null,masksTree:null},routesById:u,routesByPath:f}}function Oh(t,n,s=!1){const r=t.split("/"),l=n_(t,r,n,s);if(!l)return null;const[u]=_b(t,r,l);return{route:l.node.route,rawParams:u}}function _b(t,n,s){const r=e_(s.node);let l=null;const u=Object.create(null);let f=s.extract?.part??0,h=s.extract?.node??0,m=s.extract?.path??0,p=s.extract?.segment??0;for(;h<r.length;f++,h++,m++,p++){const g=r[h];if(g.kind===ji)break;if(g.kind===Tb){p--,f--,m--;continue}const y=n[f],v=m;if(y&&(m+=y.length),g.kind===1){l??=s.node.fullPath.split("/");const S=l[p],x=g.prefix?.length??0;if(S.charCodeAt(x)===123){const C=g.suffix?.length??0,_=S.substring(x+2,S.length-C-1),E=y.substring(x,y.length-C);u[_]=decodeURIComponent(E)}else{const C=S.substring(1);u[C]=decodeURIComponent(y)}}else if(g.kind===3){if(s.skipped&1<<h){f--,m=v-1;continue}l??=s.node.fullPath.split("/");const S=l[p],x=g.prefix?.length??0,C=g.suffix?.length??0,_=S.substring(x+3,S.length-C-1),E=g.suffix||g.prefix?y.substring(x,y.length-C):y;E&&(u[_]=decodeURIComponent(E))}else if(g.kind===2){const S=g,x=t.substring(v+(S.prefix?.length??0),t.length-(S.suffix?.length??0)),C=decodeURIComponent(x);u["*"]=C,u._splat=C;break}}return s.rawParams&&Object.assign(u,s.rawParams),[u,{part:f,node:h,path:m,segment:p}]}function Eb(t){const n=[t];for(;t.parentRoute;)t=t.parentRoute,n.push(t);return n.reverse(),n}function e_(t){const n=Array(t.depth+1);do n[t.depth]=t,t=t.parent;while(t);return n}function n_(t,n,s,r){if(t==="/"&&s.index)return{node:s.index,skipped:0};const l=!Xr(n),u=l&&t!=="/",f=n.length-(l?1:0),h=[{node:s,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let m=null,p=null;for(;h.length;){const g=h.pop(),{node:y,index:v,skipped:S,depth:x,statics:C,dynamics:_,optionals:E}=g;let{extract:R,rawParams:D}=g;if(y.kind===2&&y.route&&!jl(p,g))continue;if(y.parse){if(!G0(t,n,g))continue;D=g.rawParams,R=g.extract}r&&y.route&&y.kind!==ji&&jl(m,g)&&(m=g);const z=v===f;if(z&&(y.route&&(!u||y.kind===ji||y.kind===2)&&jl(p,g)&&(p=g),!y.optional&&!y.wildcard&&!y.index&&!y.pathless))continue;const H=z?void 0:n[v];let I;if(z&&y.index){const j={node:y.index,index:v,skipped:S,depth:x+1,statics:C,dynamics:_,optionals:E,extract:R,rawParams:D};let U=!0;if(y.index.parse&&(G0(t,n,j)||(U=!1)),U){if(!_&&!E&&!S&&i_(C,f))return j;jl(p,j)&&(p=j)}}if(y.wildcard)for(let j=y.wildcard.length-1;j>=0;j--){const U=y.wildcard[j],{prefix:K,suffix:Z}=U;if(!(K&&(z||!(U.caseSensitive?H:I??=H.toLowerCase()).startsWith(K)))){if(Z){if(z)continue;const W=n.slice(v).join("/").slice(-Z.length);if((U.caseSensitive?W:W.toLowerCase())!==Z)continue}h.push({node:U,index:f,skipped:S,depth:x+1,statics:C,dynamics:_,optionals:E,extract:R,rawParams:D})}}if(y.optional){const j=S|1<<x,U=x+1;for(let K=y.optional.length-1;K>=0;K--){const Z=y.optional[K];h.push({node:Z,index:v,skipped:j,depth:U,statics:C,dynamics:_,optionals:E,extract:R,rawParams:D})}if(!z)for(let K=y.optional.length-1;K>=0;K--){const Z=y.optional[K],{prefix:W,suffix:it}=Z;if(W||it){const At=Z.caseSensitive?H:I??=H.toLowerCase();if(W&&!At.startsWith(W)||it&&!At.endsWith(it))continue}h.push({node:Z,index:v+1,skipped:S,depth:U,statics:C,dynamics:_,optionals:E+Vl(f,v),extract:R,rawParams:D})}}if(!z&&y.dynamic&&H)for(let j=y.dynamic.length-1;j>=0;j--){const U=y.dynamic[j],{prefix:K,suffix:Z}=U;if(K||Z){const W=U.caseSensitive?H:I??=H.toLowerCase();if(K&&!W.startsWith(K)||Z&&!W.endsWith(Z))continue}h.push({node:U,index:v+1,skipped:S,depth:x+1,statics:C,dynamics:_+Vl(f,v),optionals:E,extract:R,rawParams:D})}if(!z&&y.staticInsensitive){const j=y.staticInsensitive.get(I??=H.toLowerCase());j&&h.push({node:j,index:v+1,skipped:S,depth:x+1,statics:C+Vl(f,v),dynamics:_,optionals:E,extract:R,rawParams:D})}if(!z&&y.static){const j=y.static.get(H);j&&h.push({node:j,index:v+1,skipped:S,depth:x+1,statics:C+Vl(f,v),dynamics:_,optionals:E,extract:R,rawParams:D})}if(y.pathless){const j=x+1;for(let U=y.pathless.length-1;U>=0;U--){const K=y.pathless[U];h.push({node:K,index:v,skipped:S,depth:j,statics:C,dynamics:_,optionals:E,extract:R,rawParams:D})}}}if(p)return p;if(r&&m){let g=m.index;for(let v=0;v<m.index;v++)g+=n[v].length;const y=g===t.length?"/":t.slice(g);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(y),m}return null}function Vl(t,n){return 2**(t-n-1)}function i_(t,n){return t===2**(n-1)-1}function G0(t,n,s){let r,l;try{[r,l]=_b(t,n,s)}catch{return null}if(s.rawParams=r,s.extract=l,!s.node.parse)return!0;try{if(s.node.parse(r)===!1)return null}catch{}return!0}function jl(t,n){return t?n.statics>t.statics||n.statics===t.statics&&(n.dynamics>t.dynamics||n.dynamics===t.dynamics&&(n.optionals>t.optionals||n.optionals===t.optionals&&((n.node.kind===ji)>(t.node.kind===ji)||n.node.kind===ji==(t.node.kind===ji)&&n.depth>
10t.depth))):!0}function Kl(t){return Lh(t.filter(n=>n!==void 0).join("/"))}function Lh(t){return t.replace(/\/{2,}/g,"/")}function Ab(t){return t==="/"?t:t.replace(/^\/{1,}/,"")}function ei(t){const n=t.length;return n>1&&t[n-1]==="/"?t.replace(/\/{1,}$/,""):t}function Cb(t){return ei(Ab(t))}function lu(t,n){return t?.endsWith("/")&&t!=="/"&&t!==`${n}/`?t.slice(0,-1):t}function s_(t,n,s){return lu(t,s)===lu(n,s)}function a_({base:t,to:n,trailingSlash:s="never",cache:r}){const l=n.startsWith("/"),u=!l&&n===".";let f;if(r){f=l?n:u?t:t+"\0"+n;const p=r.get(f);if(p)return p}let h;if(u)h=t.split("/");else if(l)h=n.split("/");else{for(h=t.split("/");h.length>1&&Xr(h)==="";)h.pop();const p=n.split("/");for(let g=0,y=p.length;g<y;g++){const v=p[g];v===""?g?g===y-1&&h.push(v):h=[v]:v===".."?h.pop():v==="."||h.push(v)}}h.length>1&&(Xr(h)===""?s==="never"&&h.pop():s==="always"&&h.push(""));const m=Lh(h.join("/"))||"/";return f&&r&&r.set(f,m),m}function r_(t){const n=new Map(t.map(l=>[encodeURIComponent(l),l])),s=Array.from(n.keys()).map(l=>l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(s,"g");return l=>l.replace(r,u=>n.get(u)??u)}function fd(t,n,s){const r=n[t];return typeof r!="string"?r:t==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(l=>I0(l,s)).join("/"):I0(r,s)}function F0({path:t,params:n,decoder:s,...r}){let l=!1;const u=Object.create(null);if(!t||t==="/")return{interpolatedPath:"/",usedParams:u,isMissingParams:l};if(!t.includes("$"))return{interpolatedPath:t,usedParams:u,isMissingParams:l};const f=t.length;let h=0,m,p="";for(;h<f;){const g=h;m=wb(t,g,m);const y=m[5];if(h=y+1,g===y)continue;const v=m[0];if(v===0){p+="/"+t.substring(g,y);continue}if(v===2){const S=n._splat;u._splat=S,u["*"]=S;const x=t.substring(g,m[1]),C=t.substring(m[4],y);if(!S){l=!0,(x||C)&&(p+="/"+x+C);continue}const _=fd("_splat",n,s);p+="/"+x+_+C;continue}if(v===1){const S=t.substring(m[2],m[3]);!l&&!(S in n)&&(l=!0),u[S]=n[S];const x=t.substring(g,m[1]),C=t.substring(m[4],y),_=fd(S,n,s)??"undefined";p+="/"+x+_+C;continue}if(v===3){const S=t.substring(m[2],m[3]),x=n[S];if(x==null)continue;u[S]=x;const C=t.substring(g,m[1]),_=t.substring(m[4],y),E=fd(S,n,s)??"";p+="/"+C+E+_;continue}}return t.endsWith("/")&&(p+="/"),{usedParams:u,interpolatedPath:p||"/",isMissingParams:l}}function I0(t,n){const s=encodeURIComponent(t);return n?.(s)??s}function o_(t={}){if(t.isNotFound=!0,t.throw)throw t;return t}function fe(t){return t?.isNotFound===!0}function Rb(t,n=String){const s=new URLSearchParams;for(const r in t){const l=t[r];l!==void 0&&s.set(r,n(l))}return s.toString()}function dd(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function l_(t){const n=new URLSearchParams(t),s=Object.create(null);for(const[r,l]of n.entries()){const u=s[r];u==null?s[r]=dd(l):Array.isArray(u)?u.push(dd(l)):s[r]=[u,dd(l)]}return s}const u_=f_(JSON.parse),c_=d_(JSON.stringify,JSON.parse);function f_(t){return n=>{n[0]==="?"&&(n=n.substring(1));const s=l_(n);for(const r in s){const l=s[r];if(typeof l=="string")try{s[r]=t(l)}catch{}}return s}}function d_(t,n){const s=typeof n=="function";function r(l){if(typeof l=="object"&&l!==null)try{return t(l)}catch{}else if(s&&typeof l=="string")try{return n(l),t(l)}catch{}return l}return l=>{const u=Rb(l,r);return u?`?${u}`:""}}const xs="__root__";function Cu(t){if(t.statusCode=t.statusCode||t.code||307,!t._builtLocation&&!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const n=new Headers(t.headers);t.href&&n.get("Location")===null&&n.set("Location",t.href);const s=new Response(null,{status:t.statusCode,headers:n});if(s.options=t,t.throw)throw s;return s}function Pe(t){return t instanceof Response&&!!t.options}function h_(t){if(t!==null&&typeof t=="object"&&t.isSerializedRedirect)return Cu(t)}const Id=t=>{if(!t.rendered)return t.rendered=!0,t.onReady?.()},m_=t=>t.stores.matchesId.get().some(n=>t.stores.matchStores.get(n)?.get()._forcePending),Ru=(t,n)=>!!(t.preload&&!t.router.stores.matchStores.has(n)),Ts=(t,n,s=!0)=>{const r={...t.router.options.context??{}},l=s?n:n-1;for(let u=0;u<=l;u++){const f=t.matches[u];if(!f)continue;const h=t.router.getMatch(f.id);
10h&&Object.assign(r,h.__routeContext,h.__beforeLoadContext)}return r},Y0=(t,n)=>{if(!t.matches.length)return;const s=n.routeId,r=t.matches.findIndex(f=>f.routeId===t.router.routeTree.id),l=r>=0?r:0;let u=s?t.matches.findIndex(f=>f.routeId===s):t.firstBadMatchIndex??t.matches.length-1;u<0&&(u=l);for(let f=u;f>=0;f--){const h=t.matches[f];if(t.router.looseRoutesById[h.routeId].options.notFoundComponent)return f}return s?u:l},Pi=(t,n,s)=>{if(!(!Pe(s)&&!fe(s)))throw Pe(s)&&s.redirectHandled&&!s.options.reloadDocument||(n&&(n._nonReactive.beforeLoadPromise?.resolve(),n._nonReactive.loaderPromise?.resolve(),n._nonReactive.beforeLoadPromise=void 0,n._nonReactive.loaderPromise=void 0,n._nonReactive.error=s,t.updateMatch(n.id,r=>({...r,status:Pe(s)?"redirected":fe(s)?"notFound":r.status==="pending"?"success":r.status,context:Ts(t,n.index),isFetching:!1,error:s})),fe(s)&&!s.routeId&&(s.routeId=n.routeId),n._nonReactive.loadPromise?.resolve()),Pe(s)&&(t.rendered=!0,s.options._fromLocation=t.location,s.redirectHandled=!0,s=t.router.resolveRedirect(s))),s},Mb=(t,n)=>{const s=t.router.getMatch(n);return!!(!s||s._nonReactive.dehydrated)},K0=(t,n,s)=>{const r=Ts(t,s);t.updateMatch(n,l=>({...l,context:r}))},jr=(t,n,s)=>{const{id:r,routeId:l}=t.matches[n],u=t.router.looseRoutesById[l];if(s instanceof Promise)throw s;t.firstBadMatchIndex??=n,Pi(t,t.router.getMatch(r),s);try{u.options.onError?.(s)}catch(f){s=f,Pi(t,t.router.getMatch(r),s)}t.updateMatch(r,f=>(f._nonReactive.beforeLoadPromise?.resolve(),f._nonReactive.beforeLoadPromise=void 0,f._nonReactive.loadPromise?.resolve(),{...f,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!t.preload&&!Pe(s)&&!fe(s)&&(t.serialError??=s)},Db=(t,n,s,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;const l=s.options.pendingMs??t.router.options.defaultPendingMs;if(t.onReady&&!Ru(t,n)&&(s.options.loader||s.options.beforeLoad||Lb(s))&&typeof l=="number"&&l!==1/0&&(s.options.pendingComponent??t.router.options?.defaultPendingComponent)){const u=setTimeout(()=>{Id(t)},l);r._nonReactive.pendingTimeout=u}},p_=(t,n,s)=>{const r=t.router.getMatch(n);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Db(t,n,s,r);const l=()=>{const u=t.router.getMatch(n);u.preload&&(u.status==="redirected"||u.status==="notFound")&&Pi(t,u,u.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(l):l()},y_=(t,n,s,r)=>{const l=t.router.getMatch(n);let u=l._nonReactive.loadPromise;l._nonReactive.loadPromise=Es(()=>{u?.resolve(),u=void 0});const{paramsError:f,searchError:h}=l;f&&jr(t,s,f),h&&jr(t,s,h),Db(t,n,r,l);const m=new AbortController;let p=!1;const g=()=>{p||(p=!0,t.updateMatch(n,z=>({...z,isFetching:"beforeLoad",fetchCount:z.fetchCount+1,abortController:m})))},y=()=>{l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,t.updateMatch(n,z=>({...z,isFetching:!1}))};if(!r.options.beforeLoad){t.router.batch(()=>{g(),y()});return}l._nonReactive.beforeLoadPromise=Es();const v={...Ts(t,s,!1),...l.__routeContext},{search:S,params:x,cause:C}=l,_=Ru(t,n),E={search:S,abortController:m,params:x,preload:_,context:v,location:t.location,navigate:z=>t.router.navigate({...z,_fromLocation:t.location}),buildLocation:t.router.buildLocation,cause:_?"preload":C,matches:t.matches,routeId:r.id,...t.router.options.additionalContext},R=z=>{if(z===void 0){t.router.batch(()=>{g(),y()});return}(Pe(z)||fe(z))&&(g(),jr(t,s,z)),t.router.batch(()=>{g(),t.updateMatch(n,H=>({...H,__beforeLoadContext:z})),y()})};let D;try{if(D=r.options.beforeLoad(E),Zr(D))return g(),D.catch(z=>{jr(t,s,z)}).then(R)}catch(z){g(),jr(t,s,z)}R(D)},g_=(t,n)=>{const{id:s,routeId:r}=t.matches[n],l=t.router.looseRoutesById[r],u=()=>h(),f=()=>y_(t,s,n,l),h=()=>{if(Mb(t,s))return;const m=p_(t,s,l);return Zr(m)?m.then(f):f()};return u()},v_=(t,n,s)=>{const r=t.router.getMatch(n);if(!r||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const l={ssr:t.router.options.ssr,matches:t.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([s.options.head?.(l),s.options.scripts?.(l),s.options.headers?.(l)]).then(([u,f,h]
10)=>({meta:u?.meta,links:u?.links,headScripts:u?.scripts,headers:h,scripts:f,styles:u?.styles}))},Ob=(t,n,s,r,l)=>{const u=n[r-1],{params:f,loaderDeps:h,abortController:m,cause:p}=t.router.getMatch(s),g=Ts(t,r),y=Ru(t,s);return{params:f,deps:h,preload:!!y,parentMatchPromise:u,abortController:m,context:g,location:t.location,navigate:v=>t.router.navigate({...v,_fromLocation:t.location}),cause:y?"preload":p,route:l,...t.router.options.additionalContext}},Q0=async(t,n,s,r,l)=>{try{const u=t.router.getMatch(s);try{(!(bb??t.router.isServer)||u.ssr===!0)&&$r(l);const f=l.options.loader,h=typeof f=="function"?f:f?.handler,m=h?.(Ob(t,n,s,r,l)),p=!!h&&Zr(m);if((p||l._lazyPromise||l._componentsPromise||l.options.head||l.options.scripts||l.options.headers||u._nonReactive.minPendingPromise)&&t.updateMatch(s,y=>({...y,isFetching:"loader"})),h){const y=p?await m:m;Pi(t,t.router.getMatch(s),y),y!==void 0&&t.updateMatch(s,v=>({...v,loaderData:y}))}l._lazyPromise&&await l._lazyPromise;const g=u._nonReactive.minPendingPromise;g&&await g,l._componentsPromise&&await l._componentsPromise,t.updateMatch(s,y=>({...y,error:void 0,context:Ts(t,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(f){let h=f;if(h?.name==="AbortError"){if(u.abortController.signal.aborted){u._nonReactive.loaderPromise?.resolve(),u._nonReactive.loaderPromise=void 0;return}t.updateMatch(s,p=>({...p,status:p.status==="pending"?"success":p.status,isFetching:!1,context:Ts(t,r)}));return}const m=u._nonReactive.minPendingPromise;m&&await m,fe(f)&&await l.options.notFoundComponent?.preload?.(),Pi(t,t.router.getMatch(s),f);try{l.options.onError?.(f)}catch(p){h=p,Pi(t,t.router.getMatch(s),p)}!Pe(h)&&!fe(h)&&await $r(l,["errorComponent"]),t.updateMatch(s,p=>({...p,error:h,context:Ts(t,r),status:"error",isFetching:!1}))}}catch(u){const f=t.router.getMatch(s);f&&(f._nonReactive.loaderPromise=void 0),Pi(t,f,u)}},b_=async(t,n,s)=>{async function r(S,x,C,_,E){const R=Date.now()-x.updatedAt,D=S?E.options.preloadStaleTime??t.router.options.defaultPreloadStaleTime??3e4:E.options.staleTime??t.router.options.defaultStaleTime??0,z=E.options.shouldReload,H=typeof z=="function"?z(Ob(t,n,l,s,E)):z,{status:I,invalid:j}=_,U=R>=D&&(!!t.forceStaleReload||_.cause==="enter"||C!==void 0&&C!==_.id);f=I==="success"&&(j||(H??U)),S&&E.options.preload===!1||(f&&!t.sync&&g?(h=!0,(async()=>{try{await Q0(t,n,l,s,E);const K=t.router.getMatch(l);K._nonReactive.loaderPromise?.resolve(),K._nonReactive.loadPromise?.resolve(),K._nonReactive.loaderPromise=void 0,K._nonReactive.loadPromise=void 0}catch(K){Pe(K)&&await t.router.navigate(K.options)}})()):I!=="success"||f?await Q0(t,n,l,s,E):K0(t,l,s))}const{id:l,routeId:u}=t.matches[s];let f=!1,h=!1;const m=t.router.looseRoutesById[u],p=m.options.loader,g=((typeof p=="function"?void 0:p?.staleReloadMode)??t.router.options.defaultStaleReloadMode)!=="blocking";if(Mb(t,l)){if(!t.router.getMatch(l))return t.matches[s];K0(t,l,s)}else{const S=t.router.getMatch(l),x=t.router.stores.matchesId.get()[s],C=(x&&t.router.stores.matchStores.get(x)||null)?.routeId===u?x:t.router.stores.matches.get().find(E=>E.routeId===u)?.id,_=Ru(t,l);if(S._nonReactive.loaderPromise){if(S.status==="success"&&!t.sync&&!S.preload&&g)return S;await S._nonReactive.loaderPromise;const E=t.router.getMatch(l),R=E._nonReactive.error||E.error;R&&Pi(t,E,R),E.status==="pending"&&await r(_,S,C,E,m)}else{const E=_&&!t.router.stores.matchStores.has(l),R=t.router.getMatch(l);R._nonReactive.loaderPromise=Es(),E!==R.preload&&t.updateMatch(l,D=>({...D,preload:E})),await r(_,S,C,R,m)}}const y=t.router.getMatch(l);h||(y._nonReactive.loaderPromise?.resolve(),y._nonReactive.loadPromise?.resolve(),y._nonReactive.loadPromise=void 0),clearTimeout(y._nonReactive.pendingTimeout),y._nonReactive.pendingTimeout=void 0,h||(y._nonReactive.loaderPromise=void 0),y._nonReactive.dehydrated=void 0;const v=h?y.isFetching:!1;return v!==y.isFetching||y.invalid!==!1?(t.updateMatch(l,S=>({...S,isFetching:v,invalid:!1})),t.router.getMatch(l)):y};async function X0(t){const n=t,s=[];m_(n.router)&&Id(n);let r;for(let v=0;v<n.matches.length;v++){try{const S=g_(n,v);Zr(S)&&await S}catch(S){if(Pe(S))throw S;if(fe(S))r=S;else if(!n.preload)throw S;break}
10if(n.serialError||n.firstBadMatchIndex!=null)break}const l=n.firstBadMatchIndex??n.matches.length,u=r&&!n.preload?Y0(n,r):void 0,f=r&&n.preload?0:u!==void 0?Math.min(u+1,l):l;let h,m;for(let v=0;v<f;v++)s.push(b_(n,s,v));try{await Promise.all(s)}catch{const v=await Promise.allSettled(s);for(const S of v){if(S.status!=="rejected")continue;const x=S.reason;if(Pe(x))throw x;fe(x)?h??=x:m??=x}if(m!==void 0)throw m}const p=h??(r&&!n.preload?r:void 0);let g=n.firstBadMatchIndex!==void 0?n.firstBadMatchIndex:n.matches.length-1;if(!p&&r&&n.preload)return n.matches;if(p){const v=Y0(n,p);v===void 0&&Be();const S=n.matches[v],x=n.router.looseRoutesById[S.routeId],C=n.router.options?.defaultNotFoundComponent;!x.options.notFoundComponent&&C&&(x.options.notFoundComponent=C),p.routeId=S.routeId;const _=S.routeId===n.router.routeTree.id;n.updateMatch(S.id,E=>({...E,..._?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:p},isFetching:!1})),g=v,await $r(x,["notFoundComponent"])}else if(!n.preload){const v=n.matches[0];v.globalNotFound||n.router.getMatch(v.id)?.globalNotFound&&n.updateMatch(v.id,S=>({...S,globalNotFound:!1,error:void 0}))}if(n.serialError&&n.firstBadMatchIndex!==void 0){const v=n.router.looseRoutesById[n.matches[n.firstBadMatchIndex].routeId];await $r(v,["errorComponent"])}for(let v=0;v<=g;v++){const{id:S,routeId:x}=n.matches[v],C=n.router.looseRoutesById[x];try{const _=v_(n,S,C);if(_){const E=await _;n.updateMatch(S,R=>({...R,...E}))}}catch(_){console.error(`Error executing head for route ${x}:`,_)}}const y=Id(n);if(Zr(y)&&await y,p)throw p;if(n.serialError&&!n.preload&&!n.onReady)throw n.serialError;return n.matches}function Z0(t,n){const s=n.map(r=>t.options[r]?.preload?.()).filter(Boolean);if(s.length!==0)return Promise.all(s)}function $r(t,n=Ql){!t._lazyLoaded&&t._lazyPromise===void 0&&(t.lazyFn?t._lazyPromise=t.lazyFn().then(r=>{const{id:l,...u}=r.options;Object.assign(t.options,u),t._lazyLoaded=!0,t._lazyPromise=void 0}):t._lazyLoaded=!0);const s=()=>t._componentsLoaded?void 0:n===Ql?(()=>{if(t._componentsPromise===void 0){const r=Z0(t,Ql);r?t._componentsPromise=r.then(()=>{t._componentsLoaded=!0,t._componentsPromise=void 0}):t._componentsLoaded=!0}return t._componentsPromise})():Z0(t,n);return t._lazyPromise?t._lazyPromise.then(s):s()}function Lb(t){for(const n of Ql)if(t.options[n]?.preload)return!0;return!1}const Ql=["component","errorComponent","pendingComponent","notFoundComponent"];function S_(t){return{input:({url:n})=>{for(const s of t)n=Yd(s,n);return n},output:({url:n})=>{for(let s=t.length-1;s>=0;s--)n=zb(t[s],n);return n}}}function x_(t){const n=Cb(t.basepath),s=`/${n}`,r=t.caseSensitive?s:s.toLowerCase(),l=`${r}/`;return{input:({url:u})=>{const f=t.caseSensitive?u.pathname:u.pathname.toLowerCase();return f===r?u.pathname="/":f.startsWith(l)&&(u.pathname=u.pathname.slice(s.length)),u},output:({url:u})=>(u.pathname=Kl(["/",n,u.pathname]),u)}}function Yd(t,n){const s=t?.input?.({url:n});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return n}function zb(t,n){const s=t?.output?.({url:n});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return n}function T_(t,n){const{createMutableStore:s,createReadonlyStore:r,batch:l,init:u}=n,f=new Map,h=new Map,m=new Map,p=s(t.status),g=s(t.loadedAt),y=s(t.isLoading),v=s(t.isTransitioning),S=s(t.location),x=s(t.resolvedLocation),C=s(t.statusCode),_=s(t.redirect),E=s([]),R=s([]),D=s([]),z=r(()=>hd(f,E.get())),H=r(()=>hd(h,R.get())),I=r(()=>hd(m,D.get())),j=r(()=>E.get()[0]),U=r(()=>E.get().some($=>f.get($)?.get().status==="pending")),K=r(()=>({locationHref:S.get().href,resolvedLocationHref:x.get()?.href,status:p.get()})),Z=r(()=>({status:p.get(),loadedAt:g.get(),isLoading:y.get(),isTransitioning:v.get(),matches:z.get(),location:S.get(),resolvedLocation:x.get(),statusCode:C.get(),redirect:_.get()})),W=Jr(64);function it($){let tt=W.get($);return tt||(tt=r(()=>{const ct=E.get();for(const pt of ct){const O=f.get(pt);if(O&&O.routeId===$)return O.get()}}),W.set($,tt)),tt}const At={status:p,loadedAt:g,isLoading:y,isTransitioning:v,location:S,resolvedLocation:x,statusCode:C,redirect:_,matchesId:E,pendingIds:R,cachedIds:D,matches:z,pendingMatches:H,cachedMatches:I,firstId:j,hasPending:U,matchRouteDeps:K,matchStores:f,pendingMatchStores:h,cachedMatchStores:m,__store:Z,getRouteMatchStore:it,setMatches:gt,setPending:Et,setCac
10hed:G};gt(t.matches),u?.(At);function gt($){md($,f,E,s,l)}function Et($){md($,h,R,s,l)}function G($){md($,m,D,s,l)}return At}function hd(t,n){const s=[];for(const r of n){const l=t.get(r);l&&s.push(l.get())}return s}function md(t,n,s,r,l){const u=t.map(h=>h.id),f=new Set(u);l(()=>{for(const h of n.keys())f.has(h)||n.delete(h);for(const h of t){const m=n.get(h.id);if(!m){const p=r(h);p.routeId=h.routeId,n.set(h.id,p);continue}m.routeId=h.routeId,m.get()!==h&&m.set(h)}Kw(s.get(),u)||s.set(u)})}var Ni="__TSR_index",J0="popstate",$0="beforeunload";function w_(t){let n=t.getLocation();const s=new Set,r=f=>{n=t.getLocation(),s.forEach(h=>h({location:n,action:f}))},l=f=>{t.notifyOnIndexChange??!0?r(f):n=t.getLocation()},u=async({task:f,navigateOpts:h,...m})=>{if(h?.ignoreBlocker??!1){f();return}const p=t.getBlockers?.()??[],g=m.type==="PUSH"||m.type==="REPLACE";if(typeof document<"u"&&p.length&&g)for(const y of p){const v=uu(m.path,m.state);if(await y.blockerFn({currentLocation:n,nextLocation:v,action:m.type})){t.onBlocked?.();return}}f()};return{get location(){return n},get length(){return t.getLength()},subscribers:s,subscribe:f=>(s.add(f),()=>{s.delete(f)}),push:(f,h,m)=>{const p=n.state[Ni];h=W0(p+1,h),u({task:()=>{t.pushState(f,h),r({type:"PUSH"})},navigateOpts:m,type:"PUSH",path:f,state:h})},replace:(f,h,m)=>{const p=n.state[Ni];h=W0(p,h),u({task:()=>{t.replaceState(f,h),r({type:"REPLACE"})},navigateOpts:m,type:"REPLACE",path:f,state:h})},go:(f,h)=>{u({task:()=>{t.go(f),l({type:"GO",index:f})},navigateOpts:h,type:"GO"})},back:f=>{u({task:()=>{t.back(f?.ignoreBlocker??!1),l({type:"BACK"})},navigateOpts:f,type:"BACK"})},forward:f=>{u({task:()=>{t.forward(f?.ignoreBlocker??!1),l({type:"FORWARD"})},navigateOpts:f,type:"FORWARD"})},canGoBack:()=>n.state[Ni]!==0,createHref:f=>t.createHref(f),block:f=>{if(!t.setBlockers)return()=>{};const h=t.getBlockers?.()??[];return t.setBlockers([...h,f]),()=>{const m=t.getBlockers?.()??[];t.setBlockers?.(m.filter(p=>p!==f))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:r}}function W0(t,n){n||(n={});const s=zh();return{...n,key:s,__TSR_key:s,[Ni]:t}}function __(t){const n=typeof document<"u"?window:void 0,s=n.history.pushState,r=n.history.replaceState;let l=[];const u=()=>l,f=U=>l=U,h=(U=>U),m=(()=>uu(`${n.location.pathname}${n.location.search}${n.location.hash}`,n.history.state));if(!n.history.state?.__TSR_key&&!n.history.state?.key){const U=zh();n.history.replaceState({[Ni]:0,key:U,__TSR_key:U},"")}let p=m(),g,y=!1,v=!1,S=!1,x=!1;const C=()=>p;let _,E;const R=()=>{_&&(j._ignoreSubscribers=!0,(_.isPush?n.history.pushState:n.history.replaceState)(_.state,"",_.href),j._ignoreSubscribers=!1,_=void 0,E=void 0,g=void 0)},D=(U,K,Z)=>{const W=h(K);E||(g=p),p=uu(K,Z),_={href:W,state:Z,isPush:_?.isPush||U==="push"},E||(E=Promise.resolve().then(()=>R()))},z=U=>{p=m(),j.notify({type:U})},H=async()=>{if(v){v=!1;return}const U=m(),K=U.state[Ni]-p.state[Ni],Z=K===1,W=K===-1,it=!Z&&!W||y;y=!1;const At=it?"GO":W?"BACK":"FORWARD",gt=it?{type:"GO",index:K}:{type:W?"BACK":"FORWARD"};if(S)S=!1;else{const Et=u();if(typeof document<"u"&&Et.length){for(const G of Et)if(await G.blockerFn({currentLocation:p,nextLocation:U,action:At})){v=!0,n.history.go(1),j.notify(gt);return}}}p=m(),j.notify(gt)},I=U=>{if(x){x=!1;return}let K=!1;const Z=u();if(typeof document<"u"&&Z.length)for(const W of Z){const it=W.enableBeforeUnload??!0;if(it===!0){K=!0;break}if(typeof it=="function"&&it()===!0){K=!0;break}}if(K)return U.preventDefault(),U.returnValue=""},j=w_({getLocation:C,getLength:()=>n.history.length,pushState:(U,K)=>D("push",U,K),replaceState:(U,K)=>D("replace",U,K),back:U=>(U&&(S=!0),x=!0,n.history.back()),forward:U=>{U&&(S=!0),x=!0,n.history.forward()},go:U=>{y=!0,n.history.go(U)},createHref:U=>h(U),flush:R,destroy:()=>{n.history.pushState=s,n.history.replaceState=r,n.removeEventListener($0,I,{capture:!0}),n.removeEventListener(J0,H)},onBlocked:()=>{g&&p!==g&&(p=g)},getBlockers:u,setBlockers:f,notifyOnIndexChange:!1});return n.addEventListener($0,I,{capture:!0}),n.addEventListener(J0,H),n.history.pushState=function(...U){const K=s.apply(n.history,U);return j._ignoreSubscribers||z("PUSH"),K},n.history.replaceState=function(...U){const K=r.apply(n.history,U);return j._ignoreSubscribers||z("REPLACE"),K},j}function E_(t){let n=t.replace(/[\x00-\x1f\x7f]/g,"");return n.startsWith("//")&&(n="/"+n.replace(/^\/+/,"")),n}function uu(t,n){const s=E_(t),r=s.indexOf("#"),l=s.indexOf("?"),u=zh();return{href:s,pathname:s.substring(0,r>0?l>0?Math.min(r,l):r:l>0?l:s.length),hash:r>-1?s.substring(r):"",search:l>-1?s.slice(l,r===-1?void 0:r):"",state:n||{[Ni]:0,key:u,__TSR_key:u}}}function zh(){return(Math.random()+1).toString(36).substring(7)}function A_(t){return t instanceof Error?{name:t.name,message:t.message}:{data:t}}function Ma(t,n){const s=n,r=t;return{fromLocation:s,toLocation:r,pathChanged:s?.pathname!==r.pathname,hrefChanged:s?.href!==r.href,hashChanged:s?.hash!==r.hash}}const Kd=new WeakMap;var C_=class{constructor(t,n){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.lightweightCache=new WeakMap,this.startTransition=s=>s(),this.update=s=>{const r=this.options,l=this.basepath??r?.basepath??"/",u=this.basepath===void 0,f=r?.rewrite;if(this.options={...r,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=r_(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=__()),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 g;this.resolvePathCache=Jr(1e3),g=this.buildRouteTree(),this.setRoutes(g)}if(!this.stores&&this.latestLocation){const g=this.getStoreConfig(this);this.batch=g.batch,this.stores=T_(M_(this.latestLocation),g),k_(this)}let h=!1;const m=this.options.basepath??"/",p=this.options.rewrite;if(u||l!==m||f!==p){this.basepath=m;const g=[],y=Cb(m);y&&y!=="/"&&g.push(x_({basepath:m})),p&&g.push(p),this.rewrite=g.length===0?void 0:g.length===1?g[0]:S_(g),this.history&&this.updateLatestLocation(),h=!0}h&&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=t_(this.routeTree,this.options.caseSensitive,(r,l)=>{r.init({originalIndex:l})});return this.options.routeMasks&&Xw(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,r)=>{const l={eventType:s,fn:r};return this.subscribers.add(l),()=>{this.subscribers.delete(l)}},this.emit=s=>
10{this.subscribers.forEach(r=>{r.eventType===s.type&&r.fn(s)})},this.parseLocation=(s,r)=>{const l=({pathname:m,search:p,hash:g,href:y,state:v})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){const E=this.options.parseSearch(p),R=this.options.stringifySearch(E);return{href:m+R+g,publicHref:m+R+g,pathname:Vr(m).path,external:!1,searchStr:R,search:ds(r?.search,E),hash:Vr(g.slice(1)).path,state:ys(r?.state,v)}}const S=new URL(y,this.origin),x=Yd(this.rewrite,S),C=this.options.parseSearch(x.search),_=this.options.stringifySearch(C);return x.search=_,{href:x.href.replace(x.origin,""),publicHref:y,pathname:Vr(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:_,search:ds(r?.search,C),hash:Vr(x.hash.slice(1)).path,state:ys(r?.state,v)}},u=l(s),{__tempLocation:f,__tempKey:h}=u.state;if(f&&(!h||h===this.tempLocationKey)){const m=l(f);return m.state.key=u.state.key,m.state.__TSR_key=u.state.__TSR_key,delete m.state.__tempLocation,{...m,maskedLocation:u}}return u},this.resolvePathWithBase=(s,r)=>a_({base:s,to:r.includes("//")?Lh(r):r,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,r,l)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:r},l):this.matchRoutesInternal(s,r),this.getMatchedRoutes=s=>D_({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const r=this.getMatch(s);r&&(r.abortController.abort(),clearTimeout(r._nonReactive.pendingTimeout),r._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 r=this.stores.matchStores.get(s)?.get();r&&(r.status==="pending"||r.isFetching==="loader")&&this.cancelMatch(s)})},this.buildLocation=s=>{const r=(u={})=>{const f=u._fromLocation||this.pendingBuiltLocation||this.latestLocation,h=this.matchRoutesLightweight(f);u.from;const m=u.unsafeRelative==="path"?f.pathname:u.from??h.fullPath,p=u.to?`${u.to}`:void 0,g=h.search,y=Object.assign(Object.create(null),h.params),v=p?.charCodeAt(0)===47?"/":this.resolvePathWithBase(m,"."),S=p?this.resolvePathWithBase(v,p):v,x=u.params===!1||u.params===null?Object.create(null):(u.params??!0)===!0?y:Object.assign(y,ps(u.params,y)),C=this.routesByPath[ei(S)];let _;if(C)_=this.getRouteBranch(C);else if(S.includes("$"))_=[];else{const W=this.getMatchedRoutes(S);_=W.matchedRoutes,this.options.notFoundRoute&&(!W.foundRoute||W.foundRoute.path!=="/"&&W.routeParams["**"])&&(_=[..._,this.options.notFoundRoute])}if(_.length&&xb(x))for(const W of _){const it=W.options.params?.stringify??W.options.stringifyParams;if(it)try{Object.assign(x,it(x))}catch{}}const E=s.leaveParams?S:Vr(F0({path:S,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let R=g;if(s._includeValidateSearch&&this.options.search?.strict){const W={};_.forEach(it=>{if(it.options.validateSearch)try{Object.assign(W,Xl(it.options.validateSearch,{...W,...R}))}catch{}}),R=W}R=O_({search:R,dest:u,destRoutes:_,_includeValidateSearch:s._includeValidateSearch}),R=ds(g,R);const D=this.options.stringifySearch(R),z=u.hash===!0?f.hash:u.hash?ps(u.hash,f.hash):void 0,H=z?`#${z}`:"";let I=u.state===!0?f.state:u.state?ps(u.state,f.state):{};I=ys(f.state,I);const j=`${E}${D}${H}`;let U,K,Z=!1;if(this.rewrite){const W=new URL(j,this.origin),it=zb(this.rewrite,W);U=W.href.replace(W.origin,""),it.origin!==this.origin?(K=it.href,Z=!0):K=it.pathname+it.search+it.hash}else U=Yw(j),K=U;return{publicHref:K,href:U,pathname:E,search:R,searchStr:D,state:I,hash:z??"",external:Z,unmaskOnReload:u.unmaskOnReload}},l=(u={},f)=>{const h=r(u);let m=f?r(f):void 0;if(!m){const p=Object.create(null);if(this.options.routeMasks){const g=Zw(h.pathname,this.processedTree);if(g){Object.assign(p,g.rawParams);const{from:y,params:v,...S}=g.route,x=v===!1||v===null?Object.create(null):(v??!0)===!0?p:Object.assign(p,ps(v,p));f={from:s.from,...S,params:x},m=r(f)}}}return m&&(h.maskedLocation=m),h};return s.mask?l(s,{from:s.from,...s.mask}):l(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:r,...l})=>{let u;const f=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(y=>{l.state[y]=this.latestLocation.state[y]});const g=_e(l.state,this.latestLocation.state);return p.forEach(y=>{delete l.state[y]}),g},h=ei(this.latestLocation.href)===ei(l.href);let m=this.commitLocationPromise;if(this.commitLocationPromise=Es(()=>{m?.resolve(),m=void 0}),h&&f())this.load();else{let{maskedLocation:p,hashScrollIntoView:g,...y}=l;p&&(y={...p,state:{...p.state,__tempKey:void 0,__tempLocation:{...y,search:y.searchStr,state:{...y.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(y.unmaskOnReload??this.options.unmaskOnReload??!1)&&(y.state.__tempKey=this.tempLocationKey)),y.state.__hashScrollIntoViewOptions=g??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,u=l.replace?"REPLACE":"PUSH",this.history[u==="REPLACE"?"replace":"push"](y.publicHref,y.state,{ignoreBlocker:r})}return this._scroll.next=l.resetScroll??!0,this.history.subscribers.size||this.load(u?{action:{type:u}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:r,hashScrollIntoView:l,viewTransition:u,ignoreBlocker:f,href:h,...m}={})=>
10{if(h){const y=this.history.location.state.__TSR_index,v=uu(h,{__TSR_index:s?y:y+1}),S=new URL(v.pathname,this.origin);m.to=Yd(this.rewrite,S).pathname,m.search=this.options.parseSearch(v.search),m.hash=v.hash.slice(1)}const p=this.buildLocation({...m,_includeValidateSearch:!0});this.pendingBuiltLocation=p;const g=this.commitLocation({...p,viewTransition:u,replace:s,resetScroll:r,hashScrollIntoView:l,ignoreBlocker:f});return queueMicrotask(()=>{this.pendingBuiltLocation===p&&(this.pendingBuiltLocation=void 0)}),g},this.navigate=async({to:s,reloadDocument:r,href:l,publicHref:u,...f})=>{let h=!1;if(l)try{new URL(`${l}`),h=!0}catch{}if(h&&!r&&(r=!0),r){if(s!==void 0||!l){const p=this.buildLocation({to:s,...f});l=l??p.publicHref,u=u??p.publicHref}const m=!h&&u?u:l;if(ou(m,this.protocolAllowlist))return;if(!f.ignoreBlocker){const p=this.history.getBlockers?.()??[];for(const g of p)if(g?.blockerFn&&await g.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}f.replace?window.location.replace(m):window.location.href=m;return}return this.buildAndCommitLocation({...f,href:l,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation),r=this.stores.cachedMatches.get().filter(l=>!s.some(u=>u.id===l.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(r)})},this.load=async s=>{const r=s?.action?.type;let l,u,f;const h=this.stores.resolvedLocation.get()??this.stores.location.get();for(f=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad(),r?Kd.set(this.latestLocation,r):Kd.delete(this.latestLocation);const g=this.latestLocation,y=Ma(g,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...y}),this.emit({type:"onBeforeLoad",...y}),await X0({router:this,sync:s?.sync,forceStaleReload:h.href===g.href,matches:this.stores.pendingMatches.get(),location:g,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let v=null,S=null,x=null,C=null;this.batch(()=>{const _=this.stores.pendingMatches.get(),E=_.length,R=this.stores.matches.get();v=E?R.filter(H=>!this.stores.pendingMatchStores.has(H.id)):null;const D=new Set;for(const H of this.stores.pendingMatchStores.values())H.routeId&&D.add(H.routeId);const z=new Set;for(const H of this.stores.matchStores.values())H.routeId&&z.add(H.routeId);S=E?R.filter(H=>!D.has(H.routeId)):null,x=E?_.filter(H=>!z.has(H.routeId)):null,C=E?_.filter(H=>z.has(H.routeId)):R,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),E&&(this.stores.setMatches(_),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...v.filter(H=>H.status!=="error"&&H.status!=="notFound"&&H.status!=="redirected")]),this.clearExpiredCache())});for(const[_,E]of[[S,"onLeave"],[x,"onEnter"],[C,"onStay"]])if(_)for(const R of _)this.looseRoutesById[R.routeId].options[E]?.(R)})})}})}catch(g){Pe(g)?(l=g,this.navigate({...l.options,replace:!0,ignoreBlocker:!0})):fe(g)&&(u=g);const y=l?l.status:u?404:this.stores.matches.get().some(v=>v.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(y),this.stores.redirect.set(l)})}this.latestLoadPromise===f&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=f,await f;this.latestLoadPromise&&f!==this.latestLoadPromise;)await this.latestLoadPromise;let m;this.hasNotFoundMatch()?m=404:this.stores.matches.get().some(p=>p.status==="error")&&(m=500),m!==void 0&&this.stores.statusCode.set(m)},this.startViewTransition=s=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let l;if(typeof r=="object"&&this.isViewTransitionTypesSupported){const u=this.latestLocation,f=this.stores.resolvedLocation.get(),h=typeof r.types=="function"?r.types(Ma(u,f)):r.types;if(h===!1){s();return}l={update:s,types:h}}else l=s;document.startViewTransition(l)}else s()},this.updateMatch=(s,r)=>{this.startTransition(()=>
10{const l=this.stores.pendingMatchStores.get(s);if(l){l.set(r);return}const u=this.stores.matchStores.get(s);if(u){u.set(r);return}const f=this.stores.cachedMatchStores.get(s);if(f){const h=r(f.get());h.status==="redirected"?this.stores.cachedMatchStores.delete(s)&&this.stores.cachedIds.set(m=>m.filter(p=>p!==s)):f.set(h)}})},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 r=l=>s?.filter?.(l)??!0?{...l,invalid:!0,...s?.forcePending||l.status==="error"||l.status==="notFound"?{status:"pending",error:void 0}:void 0}:l;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(r)),this.stores.setCached(this.stores.cachedMatches.get().map(r)),this.stores.setPending(this.stores.pendingMatches.get().map(r))}),this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const r=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const l=s.options._builtLocation??this.buildLocation(s.options),u=this.getParsedLocationHref(l);s.options.href=u,s.headers.set("Location",u)}else if(r)try{const l=new URL(r);if(this.origin&&l.origin===this.origin){const u=l.pathname+l.search+l.hash;s.options.href=u,s.headers.set("Location",u)}}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 r=s?.filter;r!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(l=>!r(l))):this.stores.setCached([])},this.clearExpiredCache=()=>{const s=Date.now(),r=l=>{const u=this.looseRoutesById[l.routeId];if(!u.options.loader)return!0;const f=(l.preload?u.options.preloadGcTime??this.options.defaultPreloadGcTime:u.options.gcTime??this.options.defaultGcTime)??300*1e3;return l.status==="error"?!0:s-l.updatedAt>=f};this.clearCache({filter:r})},this.loadRouteChunk=$r,this.preloadRoute=async s=>{const r=s._builtLocation??this.buildLocation(s);let l=this.matchRoutes(r,{throwOnError:!0,preload:!0,dest:s});const u=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),f=new Set([...u,...this.stores.cachedIds.get()]),h=l.filter(m=>!f.has(m.id));if(h.length){const m=this.stores.cachedMatches.get();this.stores.setCached([...m,...h])}try{return l=await X0({router:this,matches:l,location:r,preload:!0,updateMatch:(m,p)=>{u.has(m)?l=l.map(g=>g.id===m?p(g):g):this.updateMatch(m,p)}}),l}catch(m){if(Pe(m))return m.options.reloadDocument?void 0:await this.preloadRoute({...m.options,_fromLocation:r});fe(m)||console.error(m);return}},this.matchRoute=(s,r)=>{const l={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},u=this.buildLocation(l);if(r?.pending&&this.stores.status.get()!=="pending")return!1;const f=(r?.pending===void 0?!this.stores.isLoading.get():r.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),h=Jw(u.pathname,r?.caseSensitive??!1,r?.fuzzy??!1,f.pathname,this.processedTree);return!h||s.params&&!_e(h.rawParams,s.params,{partial:!0})?!1:r?.includeSearch??!0?_e(f.search,u.search,{partial:!0})?h.rawParams:!1:h.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(s=>s.status==="notFound"||s.globalNotFound),this.getStoreConfig=n,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...t,caseSensitive:t.caseSensitive??!1,notFoundMode:t.notFoundMode??"fuzzy",stringifySearch:t.stringifySearch??c_,parseSearch:t.parseSearch??u_,protocolAllowlist:t.protocolAllowlist??qw}),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:t,routesByPath:n,processedTree:s}){this.routesById=t,this.routesByPath=n,this.processedTree=s;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(t){let n=this.routeBranchCache.get(t);return n||(n=Eb(t),this.routeBranchCache.set(t,n)),n}get looseRoutesById(){return this.routesById}getParentContext(t){return t?.id?t.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(t,n){const s=this.getMatchedRoutes(t.pathname),{foundRoute:r,routeParam
10s:l}=s;let{matchedRoutes:u}=s,f=!1;(r?r.path!=="/"&&l["**"]:ei(t.pathname))&&(this.options.notFoundRoute?u=[...u,this.options.notFoundRoute]:f=!0);const h=f?z_(this.options.notFoundMode,u):void 0,m=new Array(u.length),p=new Map;for(const g of this.stores.matchStores.values())g.routeId&&p.set(g.routeId,g.get());for(let g=0;g<u.length;g++){const y=u[g],v=m[g-1];let S,x,C;{const it=v?.search??t.search,At=v?._strictSearch??void 0;try{const gt=Xl(y.options.validateSearch,{...it})??void 0;S={...it,...gt},x={...At,...gt},C=void 0}catch(gt){let Et=gt;if(gt instanceof cu||(Et=new cu(gt.message,{cause:gt})),n?.throwOnError)throw Et;S=it,x={},C=Et}}const _=y.options.loaderDeps?.({search:S})??"",E=_?JSON.stringify(_):"",{interpolatedPath:R,usedParams:D}=F0({path:y.fullPath,params:l,decoder:this.pathParamsDecoder,server:this.isServer}),z=y.id+R+E,H=this.getMatch(z),I=p.get(y.id),j=H?._strictParams??D;let U;if(!H)try{tv(y,j)}catch(it){if(fe(it)||Pe(it)?U=it:U=new R_(it.message,{cause:it}),n?.throwOnError)throw U}Object.assign(l,j);const K=I?"stay":"enter";let Z;if(H)Z={...H,cause:K,params:I?.params??l,_strictParams:j,search:ds(I?I.search:H.search,S),_strictSearch:x};else{const it=y.options.loader||y.options.beforeLoad||y.lazyFn||Lb(y)?"pending":"success";Z={id:z,ssr:y.options.ssr,index:g,routeId:y.id,params:I?.params??l,_strictParams:j,pathname:R,updatedAt:Date.now(),search:I?ds(I.search,S):S,_strictSearch:x,searchError:void 0,status:it,isFetching:!1,error:void 0,paramsError:U,__routeContext:void 0,_nonReactive:{loadPromise:Es()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:K,loaderDeps:I?ys(I.loaderDeps,_):_,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:y.options.staticData||{},fullPath:y.fullPath}}n?.preload||(Z.globalNotFound=h===y.id),Z.searchError=C;const W=this.getParentContext(v);Z.context={...W,...Z.__routeContext,...Z.__beforeLoadContext},m[g]=Z}for(let g=0;g<m.length;g++){const y=m[g],v=this.looseRoutesById[y.routeId],S=this.getMatch(y.id),x=p.get(y.routeId);if(y.params=x?ds(x.params,l):l,!S){const C=m[g-1],_=this.getParentContext(C);if(v.options.context){const E={deps:y.loaderDeps,params:y.params,context:_??{},location:t,navigate:R=>this.navigate({...R,_fromLocation:t}),buildLocation:this.buildLocation,cause:y.cause,abortController:y.abortController,preload:!!y.preload,matches:m,routeId:v.id};
10y.__routeContext=v.options.context(E)??void 0}y.context={..._,...y.__routeContext,...y.__beforeLoadContext}}}return m}matchRoutesLightweight(t){const n=Xr(this.stores.matchesId.get()),s=this.lightweightCache.get(t);if(s&&s[0]===n)return s[1];const{matchedRoutes:r,routeParams:l}=this.getMatchedRoutes(t.pathname),u=Xr(r),f={...t.search};for(const y of r)try{Object.assign(f,Xl(y.options.validateSearch,f))}catch{}const h=n&&this.stores.matchStores.get(n)?.get(),m=h&&h.routeId===u.id&&h.pathname===t.pathname;let p;if(m)p=h.params;else{const y=Object.assign(Object.create(null),l);for(const v of r)try{tv(v,y)}catch{}p=y}const g={matchedRoutes:r,fullPath:u.fullPath,search:f,params:p};return this.lightweightCache.set(t,[n,g]),g}},cu=class extends Error{},R_=class extends Error{};function M_(t){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:t,matches:[],statusCode:200}}function Xl(t,n){if(t==null)return{};if("~standard"in t){const s=t["~standard"].validate(n);if(s instanceof Promise)throw new cu("Async validation not supported");if(s.issues)throw new cu(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in t?t.parse(n):typeof t=="function"?t(n):{}}function D_({pathname:t,routesById:n,processedTree:s}){const r=Object.create(null),l=ei(t);let u;const f=$w(l,s,!0);return f&&(u=f.route,Object.assign(r,f.rawParams)),{matchedRoutes:f?.branch||[n.__root__],routeParams:r,foundRoute:u}}function O_({search:t,dest:n,destRoutes:s,_includeValidateSearch:r}){return L_(s)(t,n,r??!1)}function L_(t){let n,s;const r=[];for(const u of t){const f=u.options;if("search"in f)f.search?.middlewares&&r.push(...f.search.middlewares);else if(f.preSearchFilters||f.postSearchFilters){const m=({search:p,next:g})=>{const y=g(f.preSearchFilters?f.preSearchFilters.reduce((v,S)=>S(v),p):p);return f.postSearchFilters?f.postSearchFilters.reduce((v,S)=>S(v),y):y};r.push(m)}const h=f.validateSearch;if(h){const m=({search:p,next:g,meta:y})=>{const v=g(p);if(s)try{const S=Xl(h,v);if(y&&S)for(const x in S)x in v||(y.defaulted||=new Map).set(x,S[x]);return{...v,...S}}catch{}return v};r.push(m)}}const l=(u,f,h)=>{if(u>=r.length){if(!n.search)return{};if(n.search===!0)return f;const p=ps(n.search,f);return h&&(h.explicit=p),p}const m=(p,g)=>{if(g){const y=h||{};return{search:l(u+1,p,y),meta:y}}return l(u+1,p,h)};return r[u]({search:f,next:m,meta:h})};return function(f,h,m){return n=h,s=m,l(0,f)}}function z_(t,n){if(t!=="root")for(let s=n.length-1;s>=0;s--){const r=n[s];if(r.children)return r.id}return xs}function tv(t,n){const s=t.options.params?.parse??t.options.parseParams;if(s){const r=s(n);if(r===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(n,r)}}function V_(){try{return sessionStorage}catch{return}}const j_="tsr-scroll-restoration-v1_3",Vb=V_();function P_(){try{return JSON.parse(Vb?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function B_(){try{Vb?.setItem(j_,JSON.stringify(ba))}catch{}}const ba=P_(),ev="data-scroll-restoration-id",N_=t=>t.state.__TSR_key||t.href;function U_(t){const n=t.getAttribute(ev);if(n)return`[${ev}="${n}"]`;let s="",r=t,l;for(;l=r.parentNode;){let u=1,f=r;for(;f=f.previousElementSibling;)u++;const h=`${r.localName}:nth-child(${u})`;s=s?`${h} > ${s}`:h,r=l}return s}let Pl=!1;const Sa="window";function Qd(t){try{return typeof t=="function"?t():document.querySelector(t)}catch{}}function nv(t){const n=[];for(const s of t){if(s===Sa)continue;const r=Qd(s);r&&n.push(r)}return n}function k_(t,n){const s=t.options.scrollRestoration,r=t._scroll;s&&(r.restoring=!0);const l=t.options.getScrollRestorationKey||N_,u=new Map,f=(p,g,y)=>{const v=u.get(p)||{};v.scrollX=g,v.scrollY=y,u.set(p,v)},h=p=>{if(!(Pl||!r.restoring))if(p.target===document)f(Sa,scrollX,scrollY);else{const g=p.target;f(g,g.scrollLeft,g.scrollTop)}},m=p=>{if(!r.restoring)return;const g=ba[p]||={};for(const[y,v]of u)y===Sa?g[Sa]=v:y.isConnected&&(g[U_(y)]=v)};s&&!r.restoration&&(r.restoration=!0,Pl=!1,history.scrollRestoration="manual",document.addEventListener("scroll",h,!0),t.subscribe("onBeforeLoad",p=>{p.fromLocation&&m(l(p.fromLocation)),u.clear()}),addEventListener("pagehide",()=>{m(l(t.stores.resolvedLocation.get()??t.stores.location.get())),B_()})),!r.reset&&(r.reset=!0,t.subscribe("onRendered",p=>{const g=t.options.scrollRestorationBehavior,y=t.options.scrollToTopSelectors,v=r.next;let S;if(u.clear(),v||(r.next=!0),typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}))return;const x=l(p.toLocation),C=p.fromLocation&&l(p.fromLocation);if(r.restoring&&C&&C!==x){const _=ba[C];if(_){let E=ba[x];for(const R in _){if(R===Sa){if(v)continue}else{const D=Qd(R);if(!D||v&&y&&(S??=nv(y),S.includes(D)))continue}E||(E=ba[x]={}),E[R]??=_[R]}}}Pl=!0;try{const _=p.toLocation.hash,E=p.toLocation.state.__hashScrollIntoViewOptions??!0;let R=!1;if(v){const D=Kd.get(p.toLocation),z=_&&E&&(D==="PUSH"||D==="REPLACE"),H=r.restoring?ba[x]:void 0;if(H)for(const I in H){const{scrollX:j,scrollY:U}
10=H[I];if(I===Sa){if(z)continue;scrollTo({top:U,left:j,behavior:g}),R=!0}else{const K=Qd(I);K&&(K.scrollLeft=j,K.scrollTop=U)}}if(!R&&!_){const I={top:0,left:0,behavior:g};if(scrollTo(I),y){S??=nv(y);for(const j of S)j.scrollTo(I)}}}!R&&_&&E&&document.getElementById(_)?.scrollIntoView(E)}finally{Pl=!1}}))}const Mn=Symbol.for("TSR_DEFERRED_PROMISE");function H_(t,n){const s=t;return s[Mn]||(s[Mn]={status:"pending"},s.then(r=>{s[Mn].status="success",s[Mn].data=r}).catch(r=>{s[Mn].status="error",s[Mn].error={data:A_(r),__isServerError:!0}})),s}const q_="Error preloading route! ☝️";function jb(t,n){if(t)return typeof t=="string"?t:t[n]}function G_(t){return t?.scriptFormat??"module"}function F_(t,n,s){const r=I_(n),l=jb(s,"script")??r.crossOrigin;return{...G_(t)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:r.href,...l?{crossOrigin:l}:{}}}function I_(t){return typeof t=="string"?{href:t,crossOrigin:void 0}:t}function Bl(t,n){if(n.length===0)return;if(n.length===1){t.push(n[0]);return}const s=new Set;for(const r of n){const l=JSON.stringify(r);s.has(l)||(s.add(l),t.push(r))}}function Y_(t){return typeof t=="string"?{href:t,crossOrigin:void 0}:t}var Pb=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(t){if(this.init=n=>{this.originalIndex=n.originalIndex;const s=this.options,r=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=xs:this.parentRoute||Be();let l=r?xs:s?.path;l&&l!=="/"&&(l=Ab(l));const u=s?.id||l;let f=r?xs:Kl([this.parentRoute.id==="__root__"?"":this.parentRoute.id,u]);l==="__root__"&&(l="/"),f!=="__root__"&&(f=Kl(["/",f]));const h=f==="__root__"?"/":Kl([this.parentRoute.fullPath,l]);this._path=l,this._id=f,this._fullPath=h,this._to=ei(h)},this.addChildren=n=>this._addFileChildren(n),this._addFileChildren=n=>(Array.isArray(n)&&(this.children=n),typeof n=="object"&&n!==null&&(this.children=Object.values(n)),this),this._addFileTypes=()=>this,this.updateLoader=n=>(Object.assign(this.options,n),this),this.update=n=>(Object.assign(this.options,n),this),this.lazy=n=>(this.lazyFn=n,this),this.redirect=n=>Cu({from:this.fullPath,...n}),this.options=t||{},this.isRoot=!t?.getParentRoute,t?.id&&t?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},K_=class extends Pb{constructor(t){super(t)}},Q_=(t=>(t[t.AggregateError=1]="AggregateError",t[t.ArrowFunction=2]="ArrowFunction",t[t.ErrorPrototypeStack=4]="ErrorPrototypeStack",t[t.ObjectAssign=8]="ObjectAssign",t[t.BigIntTypedArray=16]="BigIntTypedArray",t[t.RegExp=32]="RegExp",t))(Q_||{}),ni=Symbol.asyncIterator,Bb=Symbol.hasInstance,Da=Symbol.isConcatSpreadable,ii=Symbol.iterator,Nb=Symbol.match,Ub=Symbol.matchAll,kb=Symbol.replace,Hb=Symbol.search,qb=Symbol.species,Gb=Symbol.split,Fb=Symbol.toPrimitive,Oa=Symbol.toStringTag,Ib=Symbol.unscopables,Yb={[ni]:0,[Bb]:1,[Da]:2,[ii]:3,[Nb]:4,[Ub]:5,[kb]:6,[Hb]:7,[qb]:8,[Gb]:9,[Fb]:10,[Oa]:11,[Ib]:12},X_={0:ni,1:Bb,2:Da,3:ii,4:Nb,5:Ub,6:kb,7:Hb,8:qb,9:Gb,10:Fb,11:Oa,12:Ib},A=void 0,Z_={2:!0,3:!1,1:A,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},J_={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},$_={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function Mt(t,n,s,r,l,u,f,h,m,p,g,y){return{t,i:n,s,c:r,m:l,p:u,e:f,a:h,f:m,b:p,o:g,l:y}}function ki(t){return Mt(2,A,t,A,A,A,A,A,A,A,A,A)}var Kb=ki(2),Qb=ki(3),W_=ki(1),tE=ki(0),eE=ki(4),nE=ki(5),iE=ki(6),sE=ki(7);function aE(t){switch(t){case'"':return'\\"';case"\\":return"\\\\";case`
11`: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 A}}function Hi(t){let n="",s=0,r;for(let l=0,u=t.length;l<u;l++)r=aE(t[l]),r&&(n+=t.slice(s,l)+r,s=l+1);return s===0?n=t:n+=t.slice(s),n}function rE(t){switch(t){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return`
12`;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 t}}function qi(t){return t.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,rE)}var Nl="__SEROVAL_REFS__",Xb=new Map,wa=new Map;function Zb(t){return Xb.has(t)}function oE(t){return wa.has(t)}function lE(t){if(Zb(t))return Xb.get(t);throw new UE(t)}function uE(t){if(oE(t))return wa.get(t);throw new kE(t)}typeof globalThis<"u"?Object.defineProperty(globalThis,Nl,{value:wa,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,Nl,{value:wa,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,Nl,{value:wa,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,Nl,{value:wa,configurable:!0,writable:!1,enumerable:!1});function Vh(t){return t instanceof EvalError?1:t instanceof RangeError?2:t instanceof ReferenceError?3:t instanceof SyntaxError?4:t instanceof TypeError?5:t instanceof URIError?6:0}function cE(t){let n=J_[Vh(t)];return t.name!==n?{name:t.name}:t.constructor.name!==n?{name:t.constructor.name}:{}}function Jb(t,n){let s=cE(t),r=Object.getOwnPropertyNames(t);for(let l=0,u=r.length,f;l<u;l++)f=r[l],f!=="name"&&f!=="message"&&(f==="stack"?n&4&&(s=s||{},s[f]=t[f]):(s=s||{},s[f]=t[f]));return s}function $b(t){return Object.isFrozen(t)?3:Object.isSealed(t)?2:Object.isExtensible(t)?0:1}function fE(t){switch(t){case Number.POSITIVE_INFINITY:return nE;case Number.NEGATIVE_INFINITY:return iE}return t!==t?sE:Object.is(t,-0)?eE:Mt(0,A,t,A,A,A,A,A,A,A,A,A)}function Wb(t){return Mt(1,A,Hi(t),A,A,A,A,A,A,A,A,A)}function dE(t){return Mt(3,A,""+t,A,A,A,A,A,A,A,A,A)}function hE(t){return Mt(4,t,A,A,A,A,A,A,A,A,A,A)}function mE(t,n){let s=n.valueOf();return Mt(5,t,s!==s?"":n.toISOString(),A,A,A,A,A,A,A,A,A)}function pE(t,n){return Mt(6,t,A,Hi(n.source),n.flags,A,A,A,A,A,A,A)}function yE(t,n){return Mt(17,t,Yb[n],A,A,A,A,A,A,A,A,A)}function gE(t,n){return Mt(18,t,Hi(lE(n)),A,A,A,A,A,A,A,A,A)}function vE(t,n,s){return Mt(25,t,s,Hi(n),A,A,A,A,A,A,A,A)}function bE(t,n,s){return Mt(9,t,A,A,A,A,A,s,A,A,$b(n),A)}function SE(t,n){return Mt(21,t,A,A,A,A,A,A,n,A,A,A)}
12function xE(t,n,s){return Mt(15,t,A,n.constructor.name,A,A,A,A,s,n.byteOffset,A,n.length)}function TE(t,n,s){return Mt(16,t,A,n.constructor.name,A,A,A,A,s,n.byteOffset,A,n.length)}function wE(t,n,s){return Mt(20,t,A,A,A,A,A,A,s,n.byteOffset,A,n.byteLength)}function _E(t,n,s){return Mt(13,t,Vh(n),A,Hi(n.message),s,A,A,A,A,A,A)}function EE(t,n,s){return Mt(14,t,Vh(n),A,Hi(n.message),s,A,A,A,A,A,A)}function AE(t,n){return Mt(7,t,A,A,A,A,A,n,A,A,A,A)}function CE(t,n){return Mt(28,A,A,A,A,A,A,[t,n],A,A,A,A)}function RE(t,n){return Mt(30,A,A,A,A,A,A,[t,n],A,A,A,A)}function ME(t,n,s){return Mt(31,t,A,A,A,A,A,s,n,A,A,A)}function DE(t,n){return Mt(32,t,A,A,A,A,A,A,n,A,A,A)}function OE(t,n){return Mt(33,t,A,A,A,A,A,A,n,A,A,A)}function LE(t,n){return Mt(34,t,A,A,A,A,A,A,n,A,A,A)}function zE(t,n,s,r){return Mt(35,t,s,A,A,A,A,n,A,A,A,r)}var VE={parsing:1,serialization:2,deserialization:3};function jE(t){return`Seroval Error (step: ${VE[t]})`}var PE=(t,n)=>jE(t),tS=class extends Error{constructor(t,n){super(PE(t)),this.cause=n}},iv=class extends tS{constructor(t){super("parsing",t)}},BE=class extends tS{constructor(t){super("deserialization",t)}};function si(t){return`Seroval Error (specific: ${t})`}var Mu=class extends Error{constructor(t){super(si(1)),this.value=t}},eS=class extends Error{constructor(t){super(si(2))}},NE=class extends Error{constructor(t){super(si(3))}},co=class extends Error{constructor(t){super(si(4))}},UE=class extends Error{constructor(t){super(si(5)),this.value=t}},kE=class extends Error{constructor(t){super(si(6))}},HE=class extends Error{constructor(t){super(si(7))}},ai=class extends Error{constructor(t){super(si(8))}},nS=class extends Error{constructor(t){super(si(9))}},qE=class{constructor(t,n){this.value=t,this.replacement=n}},Du=()=>{let t={p:0,s:0,f:0};return t.p=new Promise((n,s)=>{t.s=n,t.f=s}),t},GE=(t,n)=>{t.s(n),t.p.s=1,t.p.v=n},FE=(t,n)=>{t.f(n),t.p.s=2,t.p.v=n};Du.toString();GE.toString();FE.toString();var IE=()=>{let t=[],n=[],s=!0,r=!1,l=0,u=(m,p,g)=>{for(g=0;g<l;g++)n[g]&&n[g][p](m)},f=(m,p,g,y)=>{for(p=0,g=t.length;p<g;p++)y=t[p],!s&&p===g-1?m[r?"return":"throw"](y):m.next(y)},h=(m,p)=>(s&&(p=l++,n[p]=m),f(m),()=>{s&&(n[p]=n[l],n[l--]=void 0)});return{__SEROVAL_STREAM__:!0,on:m=>h(m),next:m=>{s&&(t.push(m),u(m,"next"))},throw:m=>{s&&(t.push(m),u(m,"throw"),s=!1,r=!1,n.length=0)},return:m=>{s&&(t.push(m),u(m,"return"),s=!1,r=!0,n.length=0)}}},YE=t=>n=>()=>{let s=0,r={[t]:()=>r,next:()=>{if(s>n.d)return{done:!0,value:void 0};let l=s++,u=n.v[l];if(l===n.t)throw u;return{done:l===n.d,value:u}}};return r},KE=(t,n)=>s=>()=>{let r=0,l=-1,u=!1,f=[],h=[],m=(g=0,y=h.length)=>{for(;g<y;g++)h[g].s({done:!0,value:void 0})};s.on({next:g=>{let y=h.shift();y&&y.s({done:!1,value:g}),f.push(g)},throw:g=>{let y=h.shift();y&&y.f(g),m(),l=f.length,u=!0,f.push(g)},return:g=>{let y=h.shift();y&&y.s({done:!0,value:g}),m(),l=f.length,f.push(g)}});let p={[t]:()=>p,next:()=>{if(l===-1){let v=r++;if(v>=f.length){let S=n();return h.push(S),S.p}return{done:!1,value:f[v]}}if(r>l)return{done:!0,value:void 0};let g=r++,y=f[g];if(g!==l)return{done:!1,value:y};if(u)throw y;return{done:!0,value:y}}};return p},iS=t=>{let n=atob(t),s=n.length,r=new Uint8Array(s);for(let l=0;l<s;l++)r[l]=n.charCodeAt(l);return r.buffer};iS.toString();function QE(t){return"__SEROVAL_SEQUENCE__"in t}function sS(t,n,s){return{__SEROVAL_SEQUENCE__:!0,v:t,t:n,d:s}}function XE(t){let n=[],s=-1,r=-1,l=t[ii]();for(;;)try{let u=l.next();if(n.push(u.value),u.done){r=n.length-1;break}}catch(u){s=n.length,n.push(u)}return sS(n,s,r)}var ZE=YE(ii);function JE(t){return ZE(t)}var $E={},WE={},tA={0:{},1:{},2:{},3:{},4:{},5:{}};function eA(t){return"__SEROVAL_STREAM__"in t}function Ms(){return IE()}function nA(t){let n=Ms(),s=t[ni]();async function r(){try{let l=await s.next();l.done?n.return(l.value):(n.next(l.value),await r())}catch(l){n.throw(l)}}return r().catch(()=>{}),n}var iA=KE(ni,Du);function sA(t){return iA(t)}async function aA(t){try{return[1,await t]}catch(n){return[0,n]}}function rA(t,n){return{plugins:n.plugins,mode:t,marked:new Set,features:63^(n.disabledFeatures||0),refs:n.refs||new Map,depthLimit:n.depthLimit||1e3}}function Zl(t,n){t.marked.add(n)}function oA(t,n){let s=t.refs.size;return t.refs.set(n,s),s}function Ou(t,n){let s=t.refs.get(n);return s!=null?(Zl(t,s),{type:1,value:hE(s)}):{type:0,value:oA(t,n)}}function jh(t,n){let s=Ou(t,n);
12return s.type===1?s:Zb(n)?{type:2,value:gE(s.value,n)}:s}function vs(t,n){let s=jh(t,n);if(s.type!==0)return s.value;if(n in Yb)return yE(s.value,n);throw new Mu(n)}function Lu(t,n){let s=Ou(t,tA[n]);return s.type===1?s.value:Mt(26,s.value,n,A,A,A,A,A,A,A,A,A)}function lA(t){let n=Ou(t,$E);return n.type===1?n.value:Mt(27,n.value,A,A,A,A,A,A,vs(t,ii),A,A,A)}function uA(t){let n=Ou(t,WE);return n.type===1?n.value:Mt(29,n.value,A,A,A,A,A,[Lu(t,1),vs(t,ni)],A,A,A,A)}function cA(t,n,s,r){return Mt(s?11:10,t,A,A,A,r,A,A,A,A,$b(n),A)}function fA(t,n,s,r){return Mt(8,n,A,A,A,A,{k:s,v:r},A,Lu(t,0),A,A,A)}function dA(t,n,s){let r=new Uint8Array(s),l="";for(let u=0,f=r.length;u<f;u++)l+=String.fromCharCode(r[u]);return Mt(19,n,Hi(btoa(l)),A,A,A,A,A,Lu(t,5),A,A,A)}function hA(t,n){return{base:rA(t,n),child:void 0}}var mA=class{constructor(t,n){this._p=t,this.depth=n}parse(t){return re(this._p,this.depth,t)}};async function pA(t,n,s){let r=[];for(let l=0,u=s.length;l<u;l++)l in s?r[l]=await re(t,n,s[l]):r[l]=0;return r}async function yA(t,n,s,r){return bE(s,r,await pA(t,n,r))}async function Ph(t,n,s){let r=Object.entries(s),l=[],u=[];for(let f=0,h=r.length;f<h;f++)l.push(Hi(r[f][0])),u.push(await re(t,n,r[f][1]));return ii in s&&(l.push(vs(t.base,ii)),u.push(CE(lA(t.base),await re(t,n,XE(s))))),ni in s&&(l.push(vs(t.base,ni)),u.push(RE(uA(t.base),await re(t,n,nA(s))))),Oa in s&&(l.push(vs(t.base,Oa)),u.push(Wb(s[Oa]))),Da in s&&(l.push(vs(t.base,Da)),u.push(s[Da]?Kb:Qb)),{k:l,v:u}}async function pd(t,n,s,r,l){return cA(s,r,l,await Ph(t,n,r))}async function gA(t,n,s,r){return SE(s,await re(t,n,r.valueOf()))}async function vA(t,n,s,r){return xE(s,r,await re(t,n,r.buffer))}async function bA(t,n,s,r){return TE(s,r,await re(t,n,r.buffer))}async function SA(t,n,s,r){return wE(s,r,await re(t,n,r.buffer))}async function sv(t,n,s,r){let l=Jb(r,t.base.features);return _E(s,r,l?await Ph(t,n,l):A)}async function xA(t,n,s,r){let l=Jb(r,t.base.features);return EE(s,r,l?await Ph(t,n,l):A)}async function TA(t,n,s,r){let l=[],u=[];for(let[f,h]of r.entries())l.push(await re(t,n,f)),u.push(await re(t,n,h));return fA(t.base,s,l,u)}async function wA(t,n,s,r){let l=[];for(let u of r.keys())l.push(await re(t,n,u));return AE(s,l)}async function aS(t,n,s,r){let l=t.base.plugins;if(l)for(let u=0,f=l.length;u<f;u++){let h=l[u];if(h.parse.async&&h.test(r))return vE(s,h.tag,await h.parse.async(r,new mA(t,n),{id:s}))}return A}async function _A(t,n,s,r){let[l,u]=await aA(r);return Mt(12,s,l,A,A,A,A,A,await re(t,n,u),A,A,A)}function EA(t,n,s,r,l){let u=[],f=s.on({next:h=>{Zl(this.base,n),re(this,t,h).then(m=>{u.push(DE(n,m))},m=>{l(m),f()})},throw:h=>{Zl(this.base,n),re(this,t,h).then(m=>{u.push(OE(n,m)),r(u),f()},m=>{l(m),f()})},return:h=>{Zl(this.base,n),re(this,t,h).then(m=>{u.push(LE(n,m)),r(u),f()},m=>{l(m),f()})}})}async function AA(t,n,s,r){return ME(s,Lu(t.base,4),await new Promise(EA.bind(t,n,s,r)))}async function CA(t,n,s,r){let l=[];for(let u=0,f=r.v.length;u<f;u++)l[u]=await re(t,n,r.v[u]);return zE(s,l,r.t,r.d)}async function RA(t,n,s,r){if(Array.isArray(r))return yA(t,n,s,r);if(eA(r))return AA(t,n,s,r);if(QE(r))return CA(t,n,s,r);let l=r.constructor;if(l===qE)return re(t,n,r.replacement);let u=await aS(t,n,s,r);if(u)return u;switch(l){case Object:return pd(t,n,s,r,!1);case A:return pd(t,n,s,r,!0);case Date:return mE(s,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return sv(t,n,s,r);case Number:case Boolean:case String:case BigInt:return gA(t,n,s,r);case ArrayBuffer:return dA(t.base,s,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return vA(t,n,s,r);case DataView:return SA(t,n,s,r);case Map:return TA(t,n,s,r);case Set:return wA(t,n,s,r)}if(l===Promise||r instanceof Promise)return _A(t,n,s,r);let f=t.base.features;if(f&32&&l===RegExp)return pE(s,r);if(f&16)switch(l){case BigInt64Array:case BigUint64Array:return bA(t,n,s,r)}if(f&1&&typeof AggregateError<"u"&&(l===AggregateError||r instanceof AggregateError))return xA(t,n,s,r);if(r instanceof Error)return sv(t,n,s,r);if(ii in r||ni in r)return pd(t,n,s,r,!!l);throw new Mu(r)}
12async function MA(t,n,s){let r=jh(t.base,s);if(r.type!==0)return r.value;let l=await aS(t,n,r.value,s);if(l)return l;throw new Mu(s)}async function re(t,n,s){if(n>=t.base.depthLimit)throw new nS(t.base.depthLimit);switch(typeof s){case"boolean":return s?Kb:Qb;case"undefined":return W_;case"string":return Wb(s);case"number":return fE(s);case"bigint":return dE(s);case"object":{if(s){let r=jh(t.base,s);return r.type===0?await RA(t,n+1,r.value,s):r.value}return tE}case"symbol":return vs(t.base,s);case"function":return MA(t,n,s);default:throw new Mu(s)}}async function DA(t,n){try{return await re(t,0,n)}catch(s){throw s instanceof iv?s:new iv(s)}}var OA=(t=>(t[t.Vanilla=1]="Vanilla",t[t.Cross=2]="Cross",t))(OA||{});function rS(t,n){for(let s=0,r=n.length;s<r;s++){let l=n[s];t.has(l)||(t.add(l),l.extends&&rS(t,l.extends))}}function oS(t){if(t){let n=new Set;return rS(n,t),[...n]}}function LA(t){switch(t){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 HE(t)}}function zA(t){switch(t){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function VA(t){switch(t){case ni:case Da:case Oa:case ii:return!0;default:return!1}}var jA=1e6,PA=1e4,BA=2e4;function lS(t,n){switch(n){case 3:return Object.freeze(t);case 1:return Object.preventExtensions(t);case 2:return Object.seal(t);default:return t}}var NA=1e3;function UA(t,n){var s;let r=n.refs||new Map;return"types"in r||Object.assign(r,{types:new Map}),{mode:t,plugins:n.plugins,refs:r,features:(s=n.features)!=null?s:63^(n.disabledFeatures||0),depthLimit:n.depthLimit||NA}}function kA(t){return{mode:2,base:UA(2,t),child:A}}var HA=class{constructor(t,n){this._p=t,this.depth=n}deserialize(t){return kt(this._p,this.depth,t)}};function uS(t,n){if(n<0||!Number.isFinite(n)||!Number.isInteger(n))throw new ai({t:4,i:n});if(t.refs.has(n))throw new Error("Conflicted ref id: "+n)}function qA(t,n,s){return uS(t.base,n),t.state.marked.has(n)&&t.base.refs.set(n,s),s}function GA(t,n,s){return uS(t.base,n),t.base.refs.set(n,s),s}function oe(t,n,s){return t.mode===1?qA(t,n,s):GA(t,n,s)}function Xd(t,n,s){if(Object.hasOwn(n,s))return n[s];throw new ai(t)}function FA(t,n){return oe(t,n.i,uE(qi(n.s)))}function IA(t,n,s){let r=s.a,l=r.length,u=oe(t,s.i,new Array(l));for(let f=0,h;f<l;f++)h=r[f],h&&(u[f]=kt(t,n,h));return lS(u,s.o),u}function av(t,n,s){zA(n)?t[n]=s:Object.defineProperty(t,n,{value:s,configurable:!0,enumerable:!0,writable:!0})}function YA(t,n,s,r,l){if(typeof r=="string")av(s,qi(r),kt(t,n,l));else{let u=kt(t,n,r);switch(typeof u){case"string":av(s,u,kt(t,n,l));break;case"symbol":VA(u)&&(s[u]=kt(t,n,l));break;default:throw new ai(r)}}}function cS(t,n,s){t.base.refs.types.set(n,s)}function fo(t,n,s,r){if(t.base.refs.types.get(s)!==r)throw new ai(n)}function fS(t,n,s,r){let l=s.k;if(l.length>0)for(let u=0,f=s.v,h=l.length;u<h;u++)YA(t,n,r,l[u],f[u]);return r}function KA(t,n,s){let r=oe(t,s.i,s.t===10?{}:Object.create(null));return fS(t,n,s.p,r),lS(r,s.o),r}function QA(t,n){return oe(t,n.i,new Date(n.s))}function XA(t,n){if(t.base.features&32){let s=qi(n.c);if(s.length>BA)throw new ai(n);return oe(t,n.i,new RegExp(s,n.m))}throw new eS(n)}function ZA(t,n,s){let r=oe(t,s.i,new Set);for(let l=0,u=s.a,f=u.length;l<f;l++)r.add(kt(t,n,u[l]));return r}function JA(t,n,s){let r=oe(t,s.i,new Map);for(let l=0,u=s.e.k,f=s.e.v,h=u.length;l<h;l++)r.set(kt(t,n,u[l]),kt(t,n,f[l]));return r}function $A(t,n){if(n.s.length>jA)throw new ai(n);return oe(t,n.i,iS(qi(n.s)))}function WA(t,n,s){var r;let l=LA(s.c),u=kt(t,n,s.f),f=(r=s.b)!=null?r:0;if(f<0||f>u.byteLength)throw new ai(s);return oe(t,s.i,new l(u,f,s.l))}function tC(t,n,s){var r;let l=kt(t,n,s.f),u=(r=s.b)!=null?r:0;if(u<0||u>l.byteLength)throw new ai(s);return oe(t,s.i,new DataView(l,u,s.l))}function dS(t,n,s,r){if(s.p){let l=fS(t,n,s.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(l))}return r}function eC(t,n,s){let r=oe(t,s.i,new AggregateError([],qi(s.m)));return dS(t,n,s,r)}function nC(t,n,s){let r=Xd(s,$_,s.s),l=oe(t,s.i,new r(qi(s.m)));return dS(t,n,s,l)}function iC(t,n,s){let r=Du(),l=oe(t,s.i,r.p),u=kt(t,n,s.f);return s.s?r.s(u):r.f(u),l}function sC(t,n,s){return oe(t,s.i,Object(kt(t,n,s.f)))}function aC(t,n,s){let r=t.base.plugins;if(r){let l=qi(s.c);for(let u=0,f=r.length;u<f;u++){let h=r[u];if(h.tag===l)return oe(t,s.i,h.deserialize(s.s,new HA(t,n),{id:s.i}))}}throw new NE(s.c)}function rC(t,n){let s=oe(t,n.i,oe(t,n.s,Du()).p);return cS(t,n.s,22),s}function oC(t,n,s){let r=t.base.refs.get(s.i);if(r)return fo(t,s,s.i,22),r.s(kt(t,n,s.a[1])),A;throw new co("Promise")}function lC(t,n,s){let r=t.base.refs.get(s.i);if(r)return fo(t,s,s.i,22),r.f(kt(t,n,s.a[1])),A;throw new co("Promise")}function uC(t,n,s){kt(t,n,s.a[0]);let r=kt(t,n,s.a[1]);return JE(r)}function cC(t,n,s){kt(t,n,s.a[0]);let r=kt(t,n,s.a[1]);return sA(r)}function fC(t,n,s){let r=oe(t,s.i,Ms());cS(t,s.i,31);let l=s.a,u=l.length;if(u)for(let f=0;f<u;f++)kt(t,n,l[f]);return r}function dC(t,n,s){let r=t.base.refs.get(s.i);if(r)return fo(t,s,s.i,31),r.next(kt(t,n,s.f)),A;throw new co("Stream")}function hC(t,n,s){let r=t.base.refs.get(s.i);if(r)return fo(t,s,s.i,31),r.throw(kt(t,n,s.f)),A;throw new co("Stream")}function mC(t,n,s){let r=t.base.refs.get(s.i);if(r)return fo(t,s,s.i,31),r.return(kt(t,n,s.f)),A;throw new co("Stream")}function pC(t,n,s){return kt(t,n,s.f),A}function yC(t,n,s){return kt(t,n,s.a[1]),A}function gC(t,n,s){let r=oe(t,s.i,sS([],s.s,s.l));for(let l=0,u=s.a.length;l<u;l++)r.v[l]=kt(t,n,s.a[l]);return r}function kt(t,n,s){if(n>t.base.depthLimit)throw new nS(t.base.depthLimit);switch(n+=1,s.t){case 2:return Xd(s,Z_,s.s);case 0:return Number(s.s);case 1:return qi(String(s.s));case 3:if(String(s.s).length>PA)throw new ai(s);return BigInt(s.s);case 4:return t.base.refs.get(s.i);case 18:return FA(t,s);case 9:return IA(t,n,s);case 10:case 11:return KA(t,n,s);case 5:return QA(t,s);case 6:return XA(t,s);case 7:return ZA(t,n,s);case 8:return JA(t,n,s);case 19:return $A(t,s);case 16:case 15:return WA(t,n,s);case 20:return tC(t,n,s);case 14:return eC(t,n,s);case 13:return nC(t,n,s);case 12:return iC(t,n,s);case 17:return Xd(s,X_,s.s);case 21:return sC(t,n,s);case 25:return aC(t,n,s);case 22:return rC(t,s);case 23:return oC(t,n,s);case 24:return lC(t,n,s);case 28:return uC(t,n,s);case 30:return cC(t,n,s);case 31:return fC(t,n,s);case 32:return dC(t,n,s);case 33:return hC(t,n,s);case 34:return mC(t,n,s);case 27:return pC(t,n,s);case 29:return yC(t,n,s);case 35:return gC(t,n,s);default:throw new eS(s)}}function vC(t,n){try{return kt(t,0,n)}catch(s){throw new BE(s)}}var bC=()=>T;bC.toString();function rv(t,n){let s=oS(n.plugins),r=kA({plugins:s,refs:n.refs,features:n.features,disabledFeatures:n.disabledFeatures,depthLimit:n.depthLimit});return vC(r,t)}async function SC(t,n={}){let s=oS(n.plugins),r=hA(1,{plugins:s,disabledFeatures:n.disabledFeatures});return{t:await DA(r,t),f:r.base.features,m:Array.from(r.base.marked)}}function xC(t){return{tag:"$TSR/t/"+t.key,test:t.test,parse:{sync(n,s,r){return{v:s.parse(t.toSerializable(n))}},async async(n,s,r){return{v:await s.parse(t.toSerializable(n))}},stream(n,s,r){return{v:s.parse(t.toSerializable(n))}}},serialize:void 0,deserialize(n,s,r){return t.fromSerializable(s.deserialize(n.v))}}}var TC=class{constructor(t,n){this.stream=t,this.hint=n?.hint??"binary"}};const fu=globalThis.Buffer,hS=!!fu&&typeof fu.from=="function";function mS(t){if(t.length===0)return"";if(hS)return fu.from(t).toString("base64");const n=32768,s=[];for(let r=0;r<t.length;r+=n){const l=t.subarray(r,r+n);s.push(String.fromCharCode.apply(null,l))}return btoa(s.join(""))}function pS(t){if(t.length===0)return new Uint8Array(0);if(hS){const r=fu.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}const n=atob(t),s=new Uint8Array(n.length);for(let r=0;r<n.length;r++)s[r]=n.charCodeAt(r);return s}const Pr=Object.create(null),Br=Object.create(null),wC=t=>new ReadableStream({start(n){t.on({next(s){try{n.enqueue(pS(s))}catch{}},throw(s){n.error(s)},return(){try{n.close()}catch{}}})}}),_C=new TextEncoder,EC=t=>new ReadableStream({start(n){t.on({next(s){try{typeof s=="string"?n.enqueue(_C.encode(s)):n.enqueue(pS(s.$b64))}catch{}},throw(s){n.error(s)},return(){try{n.close()}catch{}}})}}),AC="(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;
12i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",CC="(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 ov(t){const n=Ms(),s=t.getReader();return(async()=>{try{for(;;){const{done:r,value:l}=await s.read();if(r){n.return(void 0);break}n.next(mS(l))}}catch(r){n.throw(r)}finally{s.releaseLock()}})(),n}function lv(t){const n=Ms(),s=t.getReader(),r=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:l,value:u}=await s.read();if(l){try{const f=r.decode();f.length>0&&n.next(f)}catch{}n.return(void 0);break}try{const f=r.decode(u,{stream:!0});f.length>0&&n.next(f)}catch{n.next({$b64:mS(u)})}}}catch(l){n.throw(l)}finally{s.releaseLock()}})(),n}const RC={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(t){return t===Pr},parse:{sync(t,n,s){return{}},async async(t,n,s){return{}},stream(t,n,s){return{}}},serialize(t,n,s){return AC},deserialize(t,n,s){return Pr}},{tag:"tss/RawStreamFactoryText",test(t){return t===Br},parse:{sync(t,n,s){return{}},async async(t,n,s){return{}},stream(t,n,s){return{}}},serialize(t,n,s){return CC},deserialize(t,n,s){return Br}}],test(t){return t instanceof TC},parse:{sync(t,n,s){const r=t.hint==="text"?Br:Pr;return{hint:n.parse(t.hint),factory:n.parse(r),stream:n.parse(Ms())}},async async(t,n,s){const r=t.hint==="text"?Br:Pr,l=t.hint==="text"?lv(t.stream):ov(t.stream);return{hint:await n.parse(t.hint),factory:await n.parse(r),stream:await n.parse(l)}},stream(t,n,s){const r=t.hint==="text"?Br:Pr,l=t.hint==="text"?lv(t.stream):ov(t.stream);return{hint:n.parse(t.hint),factory:n.parse(r),stream:n.parse(l)}}},serialize(t,n,s){return"("+n.serialize(t.factory)+")("+n.serialize(t.stream)+")"},deserialize(t,n,s){const r=n.deserialize(t.stream);return n.deserialize(t.hint)==="text"?EC(r):wC(r)}};function MC(t){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(n,s,r){return t(typeof s?.deserialize=="function"?s.deserialize(n.streamId):n.streamId)}}}const DC={tag:"$TSR/Error",test(t){return t instanceof Error},parse:{sync(t,n){return{message:n.parse(t.message)}},async async(t,n){return{message:await n.parse(t.message)}},stream(t,n){return{message:n.parse(t.message)}}},serialize(t,n){return"new Error("+n.serialize(t.message)+")"},deserialize(t,n){return new Error(n.deserialize(t.message))}};var Vi={},yS=t=>new ReadableStream({start:n=>{t.on({next:s=>{try{n.enqueue(s)}catch{}},throw:s=>{n.error(s)},return:()=>{try{n.close()}catch{}}})}}),OC={tag:"seroval-plugins/web/ReadableStreamFactory",test(t){return t===Vi},parse:{sync(){return Vi},async async(){return await Promise.resolve(Vi)},stream(){return Vi}},serialize(){return yS.toString()},deserialize(){return Vi}};async function gS(t,n){try{let s=await n.read();s.done?(t.return(s.value),n.releaseLock()):(t.next(s.value),await gS(t,n))}catch(s){t.throw(s)}}function LC(t){t.cancel().catch(()=>{}),t.releaseLock()}function uv(t){let n=Ms(),s=t.getReader(),r=LC.bind(null,s);return gS(n,s).catch(r),[n,r]}var zC={tag:"seroval/plugins/web/ReadableStream",extends:[OC],test(t){return typeof ReadableStream>"u"?!1:t instanceof ReadableStream},parse:{sync(t,n){return{factory:n.parse(Vi),stream:n.parse(Ms())}},async async(t,n){return{factory:await n.parse(Vi),stream:await n.parse(uv(t)[0])}},stream(t,n){let[s,r]=uv(t);return n.addCleanup(r),{factory:n.parse(Vi),stream:n.parse(s)}}},serialize(t,n){return"("+n.serialize(t.factory)+")("+n.serialize(t.stream)+")"},deserialize(t,n){let s=n.deserialize(t.stream);return yS(s)}},VC=zC;const jC=[DC,RC,VC];function PC(){return[...vb()?.serializationAdapters?.map(xC)??[],...jC]}var cv=new TextDecoder,BC=new Uint8Array(0),fv=16*1024*1024,dv=32*1024*1024,hv=1024,mv=1e5;function NC(t){const n=new Map,s=new Map,r=new Set;let l=!1,u=null,f=0,h;const m=new ReadableStream({start(y){h=y},cancel(){l=!0;try{u?.cancel()}catch{}n.forEach(y=>{try{y.error(new Error("Framed response cancelled"))}catch{}}),n.clear(),s.clear(),r.clear()}});function p(y){const v=s.get(y);if(v)return v;
12if(r.has(y))return new ReadableStream({start(x){x.close()}});if(s.size>=hv)throw new Error(`Too many raw streams in framed response (max ${hv})`);const S=new ReadableStream({start(x){n.set(y,x)},cancel(){r.add(y),n.delete(y),s.delete(y)}});return s.set(y,S),S}function g(y){return p(y),n.get(y)}return(async()=>{const y=t.getReader();u=y;const v=[];let S=0;function x(){if(S<9)return null;const _=v[0];if(_.length>=9)return{type:_[0],streamId:(_[1]<<24|_[2]<<16|_[3]<<8|_[4])>>>0,length:(_[5]<<24|_[6]<<16|_[7]<<8|_[8])>>>0};const E=new Uint8Array(9);let R=0,D=9;for(let z=0;z<v.length&&D>0;z++){const H=v[z],I=Math.min(H.length,D);E.set(H.subarray(0,I),R),R+=I,D-=I}return{type:E[0],streamId:(E[1]<<24|E[2]<<16|E[3]<<8|E[4])>>>0,length:(E[5]<<24|E[6]<<16|E[7]<<8|E[8])>>>0}}function C(_){if(_===0)return BC;const E=v[0];if(E&&E.length>=_){const H=E.subarray(0,_);return E.length===_?v.shift():v[0]=E.subarray(_),S-=_,H}const R=new Uint8Array(_);let D=0,z=_;for(;z>0&&v.length>0;){const H=v[0];if(!H)break;const I=Math.min(H.length,z);R.set(H.subarray(0,I),D),D+=I,z-=I,I===H.length?v.shift():v[0]=H.subarray(I)}return S-=_,R}try{for(;;){const{done:_,value:E}=await y.read();if(l||_)break;if(E){if(S+E.length>dv)throw new Error(`Framed response buffer exceeded ${dv} bytes`);for(v.push(E),S+=E.length;;){const R=x();if(!R)break;const{type:D,streamId:z,length:H}=R;if(D!==Wn.JSON&&D!==Wn.CHUNK&&D!==Wn.END&&D!==Wn.ERROR)throw new Error(`Unknown frame type: ${D}`);if(D===Wn.JSON){if(z!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(z===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(H>fv)throw new Error(`Frame payload too large: ${H} bytes (max ${fv})`);const I=9+H;if(S<I)break;if(++f>mv)throw new Error(`Too many frames in framed response (max ${mv})`);C(9);const j=C(H);switch(D){case Wn.JSON:try{h.enqueue(cv.decode(j))}catch{}break;case Wn.CHUNK:{const U=g(z);U&&U.enqueue(j);break}case Wn.END:{const U=g(z);if(r.add(z),U){try{U.close()}catch{}n.delete(z)}break}case Wn.ERROR:{const U=g(z);if(r.add(z),U){const K=cv.decode(j);U.error(new Error(K)),n.delete(z)}break}}}}}if(S!==0)throw new Error("Incomplete frame at end of framed response");try{h.close()}catch{}n.forEach(_=>{try{_.close()}catch{}}),n.clear()}catch(_){try{h.error(_)}catch{}n.forEach(E=>{try{E.error(_)}catch{}}),n.clear()}finally{try{y.releaseLock()}catch{}u=null}})(),{getOrCreateStream:p,jsonChunks:m}}var Wr=null;async function Zd(t){t.length>0&&await Promise.allSettled(t)}var UC=Object.prototype.hasOwnProperty;function vS(t){for(const n in t)if(UC.call(t,n))return!0;return!1}async function kC(t,n,s){Wr||(Wr=PC());const r=n[0],l=r.fetch??s,u=r.data instanceof FormData?"formData":"payload",f=r.headers?new Headers(r.headers):new Headers;if(f.set("x-tsr-serverFn","true"),u==="payload"&&f.set("accept",`${zw}, application/x-ndjson, application/json`),r.method==="GET"){if(u==="formData")throw new Error("FormData is not supported with GET requests");const m=await bS(r);if(m!==void 0){const p=Rb({payload:m});t.includes("?")?t+=`&${p}`:t+=`?${p}`}}let h;if(r.method==="POST"){const m=await HC(r);m?.contentType&&f.set("content-type",m.contentType),h=m?.body}return await qC(async()=>l(t,{method:r.method,headers:f,signal:r.signal,body:h}))}async function bS(t){let n=!1;const s={};if(t.data!==void 0&&(n=!0,s.data=t.data),t.context&&vS(t.context)&&(n=!0,s.context=t.context),n)return SS(s)}async function SS(t){return JSON.stringify(await Promise.resolve(SC(t,{plugins:Wr})))}async function HC(t){if(t.data instanceof FormData){let s;return t.context&&vS(t.context)&&(s=await SS(t.context)),s!==void 0&&t.data.set(Lw,s),{body:t.data}}const n=await bS(t);if(n)return{body:n,contentType:"application/json"}}async function qC(t){let n;try{n=await t()}catch(r){if(r instanceof Response)n=r;else throw console.log(r),r}if(n.headers.get("x-tss-raw")==="true")return n;const s=n.headers.get("content-type");if(s||Be(),n.headers.get("x-tss-serialized")){let r;if(s.includes("application/x-tss-framed")){if(Pw(s),!n.body)throw new Error("No response body for framed response");const{getOrCreateStream:l,jsonChunks:u}=NC(n.body),f=[MC(l),...Wr||[]],h=new Map;r=await GC({jsonStream:u,onMessage:m=>rv(m,{refs:h,plugins:f}),onError(m,p){console.error(m,p)}})}else if(s.includes("application/json")){const l=await n.json(),u=[];r=rv(l,{plugins:Wr}),await Zd(u)}if(r||Be(),r instanceof Error)throw r;return r}if(s.includes("application/json")){const r=await n.json(),l=h_(r);if(l)throw l;if(fe(r))throw r;return r}if(!n.ok)throw new Error(await n.text());return n}async function GC({jsonStream:t,onMessage:n,onError:s}){const r=t.getReader(),{value:l,done:u}=await r.read();if(u||!l)throw new Error("Stream ended before first object");const f=JSON.parse(l);let h=!1;const m=(async()=>{try{for(;;){const{value:y,done:v}=await r.read();if(v)break;if(y)try{const S=[];try{n(JSON.parse(y))}finally{}await Zd(S)}catch(S){s?.(`Invalid JSON: ${y}`,S)}}}catch(y){h||s?.("Stream processing error:",y)}})();let p;const g=[];try{p=n(f)}catch(y){throw h=!0,r.cancel().catch(()=>{}),y}return await Zd(g),Promise.resolve(p).catch(()=>{h=!0,r.cancel().catch(()=>{})}),m.finally(()=>{try{r.releaseLock()}catch{}}),p}function FC(t){const n="/_serverFn/"+t;return Object.assign((...l)=>{const u=vb()?.serverFns?.fetch;return kC(n,l,u??fetch)},{url:n,serverFnMeta:{id:t},[Fd]:!0})}var IC={key:"$TSS/serverfn",test:t=>typeof t!="function"||!(Fd in t)?!1:!!t[Fd],toSerializable:({serverFnMeta:t})=>({functionId:t.id}),fromSerializable:({functionId:t})=>FC(t)};function pv(t){return t.replaceAll("\0","/").replaceAll("�","/")}function YC(t,n){t.id=n.i,t.__beforeLoadContext=n.b,t.loaderData=n.l,t.status=n.s,t.ssr=n.ssr,t.updatedAt=n.u,t.error=n.e,n.g!==void 0&&(t.globalNotFound=n.g)}async function KC(t){window.$_TSR||Be();
12const n=t.options.serializationAdapters;if(n?.length){const _=new Map;n.forEach(E=>{_.set(E.key,E.fromSerializable)}),window.$_TSR.t=_,window.$_TSR.buffer.forEach(E=>E())}window.$_TSR.initialized=!0,window.$_TSR.router||Be();const s=window.$_TSR.router;s.matches.forEach(_=>{_.i=pv(_.i)}),s.lastMatchId&&(s.lastMatchId=pv(s.lastMatchId));const{manifest:r,dehydratedData:l,lastMatchId:u}=s;t.ssr={manifest:r};const f=document.querySelector('meta[property="csp-nonce"]')?.content;t.options.ssr={nonce:f},await t.options.hydrate?.(l);const h=t.matchRoutes(t.stores.location.get()),m=Promise.all(h.map(_=>t.loadRouteChunk(t.looseRoutesById[_.routeId])));function p(_){const E=t.looseRoutesById[_.routeId].options.pendingMinMs??t.options.defaultPendingMinMs;if(E){const R=Es();_._nonReactive.minPendingPromise=R,_._forcePending=!0,setTimeout(()=>{R.resolve(),t.updateMatch(_.id,D=>(D._nonReactive.minPendingPromise=void 0,{...D,_forcePending:void 0}))},E)}}function g(_){const E=t.looseRoutesById[_.routeId];E&&(E.options.ssr=_.ssr)}let y;h.forEach(_=>{const E=s.matches.find(R=>R.i===_.id);if(!E){_._nonReactive.dehydrated=!1,_.ssr=!1,g(_);return}YC(_,E),g(_),_._nonReactive.dehydrated=_.ssr!==!1,(_.ssr==="data-only"||_.ssr===!1)&&y===void 0&&(y=_.index,p(_))}),t.stores.setMatches(h);const v=t.stores.matches.get(),S=t.stores.location.get();await Promise.all(v.map(async _=>{try{const E=t.looseRoutesById[_.routeId],R=v[_.index-1]?.context??t.options.context;if(E.options.context){const I={deps:_.loaderDeps,params:_.params,context:R??{},location:S,navigate:j=>t.navigate({...j,_fromLocation:S}),buildLocation:t.buildLocation,cause:_.cause,abortController:_.abortController,preload:!1,matches:h,routeId:E.id};_.__routeContext=E.options.context(I)??void 0}_.context={...R,..._.__routeContext,..._.__beforeLoadContext};const D={ssr:t.options.ssr,matches:v,match:_,params:_.params,loaderData:_.loaderData},z=await E.options.head?.(D),H=await E.options.scripts?.(D);_.meta=z?.meta,_.links=z?.links,_.headScripts=z?.scripts,_.styles=z?.styles,_.scripts=H}catch(E){if(fe(E))_.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${_.routeId}`,E);else throw _.error=E,console.error(`Error during hydration for route ${_.routeId}:`,E),E}}));const x=h[h.length-1].id!==u;if(!h.some(_=>_.ssr===!1)&&!x)return h.forEach(_=>{_._nonReactive.dehydrated=void 0}),t.stores.resolvedLocation.set(t.stores.location.get()),m;const C=Promise.resolve().then(()=>t.load()).catch(_=>{console.error("Error during router hydration:",_)});if(x){const _=h[1];_||Be(),p(_),_._displayPending=!0,_._nonReactive.displayPendingPromise=C,C.then(()=>{t.batch(()=>{t.stores.status.get()==="pending"&&(t.stores.status.set("idle"),t.stores.resolvedLocation.set(t.stores.location.get())),t.updateMatch(_.id,E=>({...E,_displayPending:void 0,displayPendingPromise:void 0}))})})}return m}var du=q.use,kr=typeof window<"u"?q.useLayoutEffect:q.useEffect;function yd(t){const n=q.useRef({value:t,prev:null}),s=n.current.value;return t!==s&&(n.current={value:t,prev:s}),n.current.prev}function QC(t,n,s={},r={}){q.useEffect(()=>{if(!t.current||r.disabled||typeof IntersectionObserver!="function")return;const l=new IntersectionObserver(([u])=>{n(u)},s);return l.observe(t.current),()=>{l.disconnect()}},[n,s,r.disabled,t])}function XC(t){const n=q.useRef(null);return q.useImperativeHandle(t,()=>n.current,[]),n}function ZC({promise:t}){if(du)return du(t);const n=H_(t);if(n[Mn].status==="pending")throw n;if(n[Mn].status==="error")throw n[Mn].error;return n[Mn].data}function JC(t){const n=N.jsx($C,{...t});return t.fallback?N.jsx(q.Suspense,{fallback:t.fallback,children:n}):n}function $C(t){const n=ZC(t);return t.children(n)}function Bh(t){const n=t.errorComponent??Nh;return N.jsx(WC,{getResetKey:t.getResetKey,onCatch:t.onCatch,children:({error:s,reset:r})=>s?q.createElement(n,{error:s,reset:r}):t.children})}var WC=class extends q.Component{constructor(...t){super(...t),this.state={error:null}}static getDerivedStateFromProps(t,n){const s=t.getResetKey();return n.error&&n.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(t){return{error:t}}reset(){this.setState({error:null})}componentDidCatch(t,n){this.props.onCatch&&this.props.onCatch(t,n)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Nh({error:t}){const[n,s]=q.useState(!1);return N.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[N.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[N.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),N.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(r=>!r),children:n?"Hide Error":"Show Error"})]}),N.jsx("div",{style:{height:".25rem"}}),n?N.jsx("div",{children:N.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?N.jsx("code",{children:t.message}):null})}):null]})}function t4({children:t,fallback:n=null}){return Uh()?N.jsx(je.Fragment,{children:t}):N.jsx(je.Fragment,{children:n})}function Uh(){return je.useSyncExternalStore(e4,()=>!0,()=>!1)}function e4(){return()=>{}}var xS=q.createContext(null);function be(t){return q.useContext(xS)}var zu=q.createContext(void 0),n4=q.createContext(void 0),It=(t=>(t[t.None=0]="None",t[t.Mutable=1]="Mutable",t[t.Watching=2]="Watching",t[t.RecursedCheck=4]="RecursedCheck",t[t.Recursed=8]="Recursed",t[t.Dirty=16]="Dirty",t[t.Pending=32]="Pending",t))(It||{});function i4({update:t,notify:n,unwatched:s}){return{link:r,unlink:l,propagate:u,checkDirty:f,shallowPropagate:h};function r(p,g,y){const v=g.depsTail;if(v!==void 0&&v.dep===p)return;const S=v!==void 0?v.nextDep:g.deps;if(S!==void 0&&S.dep===p){S.version=y,g.depsTail=S;return}const x=p.subsTail;if(x!==void 0&&x.version===y&&x.sub===g)return;const C=g.depsTail=p.subsTail={version:y,dep:p,sub:g,prevDep:v,nextDep:S,prevSub:x,nextSub:void 0};S!==void 0&&(S.prevDep=C),v!==void 0?v.nextDep=C:g.deps=C,x!==void 0?x.nextSub=C:p.subs=C}function l(p,g=p.sub){const y=p.dep,v=p.prevDep,S=p.nextDep,x=p.nextSub,C=p.prevSub;return S!==void 0?S.prevDep=v:g.depsTail=v,v!==void 0?v.nextDep=S:g.deps=S,x!==void 0?x.prevSub=C:y.subsTail=C,C!==void 0?C.nextSub=x:(y.subs=x)===void 0&&s(y),S}function u(p){let g=p.nextSub,y;t:do{const v=p.sub;let S=v.flags;if(S&60?S&12?S&4?!(S&48)&&m(p,v)?(v.flags=S|40,S&=1):S=0:v.flags=S&-9|32:S=0:v.flags=S|32,S&2&&n(v),S&1){const x=v.subs;if(x!==void 0){const C=(p=x).nextSub;C!==void 0&&(y={value:g,prev:y},g=C);continue}}if((p=g)!==void 0){g=p.nextSub;continue}for(;y!==void 0;)if(p=y.value,y=y.prev,p!==void 0){g=p.nextSub;continue t}break}while(!0)}function f(p,g){let y,v=0,S=!1;t:do{const x=p.dep,C=x.flags;if(g.flags&16)S=!0;else if((C&17)===17){if(t(x)){const _=x.subs;_.nextSub!==void 0&&h(_),S=!0}}else if((C&33)===33){(p.nextSub!==void 0||p.prevSub!==void 0)&&(y={value:p,prev:y}),p=x.deps,g=x,++v;continue}if(!S){const _=p.nextDep;if(_!==void 0){p=_;continue}}for(;v--;){const _=g.subs,E=_.nextSub!==void 0;if(E?(p=y.value,y=y.prev):p=_,S){if(t(g)){E&&h(_),g=p.sub;continue}S=!1}else g.flags&=-33;g=p.sub;const R=p.nextDep;if(R!==void 0){p=R;continue t}}return S}while(!0)}function h(p){do{const g=p.sub,y=g.flags;(y&48)===32&&(g.flags=y|16,(y&6)===2&&n(g))}while((p=p.nextSub)!==void 0)}function m(p,g){let y=g.depsTail;for(;y!==void 0;){if(y===p)return!0;y=y.prevDep}return!1}}function s4(t,n,s){const r=typeof t=="object",l=r?t:void 0;return{next:(r?t.next:t)?.bind(l),error:(r?t.error:n)?.bind(l),complete:(r?t.complete:s)?.bind(l)}}const Jd=[];let Jl=0;const{link:yv,unlink:a4,propagate:r4,checkDirty:TS,shallowPropagate:gv}=i4({update(t){return t._update()},notify(t){Jd[$d++]=t,t.flags&=~It.Watching},unwatched(t){t.depsTail!==void 0&&(t.depsTail=void 0,t.flags=It.Mutable|It.Dirty,hu(t))}});let Ul=0,$d=0,Cn,Wd=0;function wS(t){try{++Wd,t()}finally{--Wd||_S()}}function hu(t){const n=t.depsTail;let s=n!==void 0?n.nextDep:t.deps;for(;s!==void 0;)s=a4(s,t)}function _S(){if(!(Wd>0)){for(;
12Ul<$d;){const t=Jd[Ul];Jd[Ul++]=void 0,t.notify()}Ul=0,$d=0}}function vv(t,n){const s=typeof t=="function",r=t,l={_snapshot:s?void 0:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?It.None:It.Mutable,get(){return Cn!==void 0&&yv(l,Cn,Jl),l._snapshot},subscribe(u){const f=s4(u),h={current:!1},m=o4(()=>{l.get(),h.current?f.next?.(l._snapshot):h.current=!0});return{unsubscribe:()=>{m.stop()}}},_update(u){const f=Cn,h=n?.compare??Object.is;if(s)Cn=l,++Jl,l.depsTail=void 0;else if(u===void 0)return!1;s&&(l.flags=It.Mutable|It.RecursedCheck);try{const m=l._snapshot,p=typeof u=="function"?u(m):u===void 0&&s?r(m):u;return m===void 0||!h(m,p)?(l._snapshot=p,!0):!1}finally{Cn=f,s&&(l.flags&=~It.RecursedCheck),hu(l)}}};return s?(l.flags=It.Mutable|It.Dirty,l.get=function(){const u=l.flags;if(u&It.Dirty||u&It.Pending&&TS(l.deps,l)){if(l._update()){const f=l.subs;f!==void 0&&gv(f)}}else u&It.Pending&&(l.flags=u&~It.Pending);return Cn!==void 0&&yv(l,Cn,Jl),l._snapshot}):l.set=function(u){if(l._update(u)){const f=l.subs;f!==void 0&&(r4(f),gv(f),_S())}},l}function o4(t){const n=()=>{const r=Cn;Cn=s,++Jl,s.depsTail=void 0,s.flags=It.Watching|It.RecursedCheck;try{return t()}finally{Cn=r,s.flags&=~It.RecursedCheck,hu(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:It.Watching|It.RecursedCheck,notify(){const r=this.flags;r&It.Dirty||r&It.Pending&&TS(this.deps,this)?n():this.flags=It.Watching},stop(){this.flags=It.None,this.depsTail=void 0,hu(this)}};return n(),s}var gd={exports:{}},vd={},bd={exports:{}},Sd={},bv;function l4(){if(bv)return Sd;bv=1;var t=uo();function n(y,v){return y===v&&(y!==0||1/y===1/v)||y!==y&&v!==v}var s=typeof Object.is=="function"?Object.is:n,r=t.useState,l=t.useEffect,u=t.useLayoutEffect,f=t.useDebugValue;function h(y,v){var S=v(),x=r({inst:{value:S,getSnapshot:v}}),C=x[0].inst,_=x[1];return u(function(){C.value=S,C.getSnapshot=v,m(C)&&_({inst:C})},[y,S,v]),l(function(){return m(C)&&_({inst:C}),y(function(){m(C)&&_({inst:C})})},[y]),f(S),S}function m(y){var v=y.getSnapshot;y=y.value;try{var S=v();return!s(y,S)}catch{return!0}}function p(y,v){return v()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return Sd.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:g,Sd}var Sv;function u4(){return Sv||(Sv=1,bd.exports=l4()),bd.exports}var xv;function c4(){if(xv)return vd;xv=1;var t=uo(),n=u4();function s(p,g){return p===g&&(p!==0||1/p===1/g)||p!==p&&g!==g}var r=typeof Object.is=="function"?Object.is:s,l=n.useSyncExternalStore,u=t.useRef,f=t.useEffect,h=t.useMemo,m=t.useDebugValue;return vd.useSyncExternalStoreWithSelector=function(p,g,y,v,S){var x=u(null);if(x.current===null){var C={hasValue:!1,value:null};x.current=C}else C=x.current;x=h(function(){function E(I){if(!R){if(R=!0,D=I,I=v(I),S!==void 0&&C.hasValue){var j=C.value;if(S(j,I))return z=j}return z=I}if(j=z,r(D,I))return j;var U=v(I);return S!==void 0&&S(j,U)?(D=I,j):(D=I,z=U)}var R=!1,D,z,H=y===void 0?null:y;return[function(){return E(g())},H===null?void 0:function(){return E(H())}]},[g,y,v,S]);var _=l(p,x[0],x[1]);return f(function(){C.hasValue=!0,C.value=_},[_]),m(_),_},vd}var Tv;function f4(){return Tv||(Tv=1,gd.exports=c4()),gd.exports}var d4=f4();function h4(t,n){return t===n}function Yt(t,n,s=h4){const r=q.useCallback(f=>{if(!t)return()=>{};const{unsubscribe:h}=t.subscribe(f);return h},[t]),l=q.useCallback(()=>t?.get(),[t]);return d4.useSyncExternalStoreWithSelector(r,l,l,n,s)}var xd={get(){},subscribe(){return{unsubscribe(){}}}};function ES(t,n){const s=q.useRef();return r=>{const l=t?.select?t.select(r):r;return t?.structuralSharing??n.options.defaultStructuralSharing?s.current=ys(s.current,l):l}}function Ds(t){const n=be(),s=q.useContext(t.from?n4:zu),r=t.from?n.stores.getRouteMatchStore(t.from):n.stores.matchStores.get(s),l=ES(t,n),u=Yt(r??xd,f=>f?l(f):xd);if(u!==xd)return u;(t.shouldThrow??!0)&&Be()}function AS(t){return Ds({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:n=>t.select?t.select(n.loaderData):n.loaderData})}function CS(t){const{select:n,...s}=t;return Ds({...s,select:r=>n?n(r.loaderDeps):r.loaderDeps})}function RS(t){return Ds({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:n=>{const s=t.strict===!1?n.params:n._strictParams;return t.select?t.select(s):s}})}function MS(t){return Ds({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:n=>t.select?t.select(n.search):n.search})}function DS(t){const n=be();return q.useCallback(s=>n.navigate({...s,from:s.from??t?.from}),[t?.from,n])}function OS(t){return Ds({...t,select:n=>t.select?t.select(n.context):n.context})}var m4=gb();function p4(t,n){const s=be(),r=XC(n),{activeProps:l,inactiveProps:u,activeOptions:f,to:h,preload:m,preloadDelay:p,preloadIntentProximity:g,hashScrollIntoView:y,replace:v,startTransition:S,resetScroll:x,viewTransition:C,children:_,target:E,disabled:R,style:D,className:z,onClick:H,onBlur:I,onFocus:j,onMouseEnter:U,onMouseLeave:K,onTouchStart:Z,ignoreBlocker:W,params:it,search:At,hash:gt,state:Et,mask:G,reloadDocument:$,unsafeRelative:tt,from:ct,_fromLocation:pt,...O}=t,Q=Uh(),et=q.useMemo(()=>t,[s,t.from,t._fromLocation,t.hash,t.to,t.search,t.params,t.state,t.mask,t.unsafeRelative]),nt=Yt(s.stores.location,Ht=>Ht,(Ht,he)=>Ht.href===he.href),st=q.useMemo(()=>{const Ht={_fromLocation:nt,...et};return s.buildLocation(Ht)},[s,nt,et]),ft=st.maskedLocation?st.maskedLocation.publicHref:st.publicHref,vt=st.maskedLocation?st.maskedLocation.external:st.external,Nt=q.useMemo(()=>x4(ft,vt,s.history,R),[R,vt,ft,s.history]),Ot=q.useMemo(()=>
12{if(Nt?.external)return ou(Nt.href,s.protocolAllowlist)?void 0:Nt.href;if(!T4(h)&&!(typeof h!="string"||h.indexOf(":")===-1))try{return new URL(h),ou(h,s.protocolAllowlist)?void 0:h}catch{}},[h,Nt,s.protocolAllowlist]),Je=q.useMemo(()=>{if(Ot)return!1;if(f?.exact){if(!s_(nt.pathname,st.pathname,s.basepath))return!1}else{const Ht=lu(nt.pathname,s.basepath),he=lu(st.pathname,s.basepath);if(!(Ht.startsWith(he)&&(Ht.length===he.length||Ht[he.length]==="/")))return!1}return(f?.includeSearch??!0)&&!_e(nt.search,st.search,{partial:!f?.exact,ignoreUndefined:!f?.explicitUndefined})?!1:f?.includeHash?Q&&nt.hash===st.hash:!0},[f?.exact,f?.explicitUndefined,f?.includeHash,f?.includeSearch,nt,Ot,Q,st.hash,st.pathname,st.search,s.basepath]),$e=Je?ps(l,{})??y4:Td,de=Je?Td:ps(u,{})??Td,oi=[z,$e.className,de.className].filter(Boolean).join(" "),ke=(D||$e.style||de.style)&&{...D,...$e.style,...de.style},[Yi,zn]=q.useState(!1),Sn=q.useRef(!1),Vn=t.reloadDocument||Ot?!1:m??s.options.defaultPreload,Ki=p??s.options.defaultPreloadDelay??0,dn=q.useCallback(()=>{s.preloadRoute({...et,_builtLocation:st}).catch(Ht=>{console.warn(Ht),console.warn(q_)})},[s,et,st]);QC(r,q.useCallback(Ht=>{Ht?.isIntersecting&&dn()},[dn]),S4,{disabled:!!R||Vn!=="viewport"}),q.useEffect(()=>{Sn.current||!R&&Vn==="render"&&(dn(),Sn.current=!0)},[R,dn,Vn]);const Ua=Ht=>{const he=Ht.currentTarget.getAttribute("target"),xn=E!==void 0?E:he;if(!R&&!w4(Ht)&&!Ht.defaultPrevented&&(!xn||xn==="_self")&&Ht.button===0){Ht.preventDefault(),m4.flushSync(()=>{zn(!0)});const Ls=s.subscribe("onResolved",()=>{Ls(),zn(!1)});s.navigate({...et,replace:v,resetScroll:x,hashScrollIntoView:y,startTransition:S,viewTransition:C,ignoreBlocker:W})}};if(Ot)return{...O,ref:r,href:Ot,..._&&{children:_},...E&&{target:E},...R&&{disabled:R},...D&&{style:D},...z&&{className:z},...H&&{onClick:H},...I&&{onBlur:I},...j&&{onFocus:j},...U&&{onMouseEnter:U},...K&&{onMouseLeave:K},...Z&&{onTouchStart:Z}};const go=Ht=>{if(R||Vn!=="intent")return;if(!Ki){dn();return}const he=Ht.currentTarget;if(Nr.has(he))return;const xn=setTimeout(()=>{Nr.delete(he),dn()},Ki);Nr.set(he,xn)},Gu=Ht=>{R||Vn!=="intent"||dn()},Se=Ht=>{if(R||!Vn||!Ki)return;const he=Ht.currentTarget,xn=Nr.get(he);xn&&(clearTimeout(xn),Nr.delete(he))};return{...O,...$e,...de,href:Nt?.href,ref:r,onClick:ga([H,Ua]),onBlur:ga([I,Se]),onFocus:ga([j,go]),onMouseEnter:ga([U,go]),onMouseLeave:ga([K,Se]),onTouchStart:ga([Z,Gu]),disabled:!!R,target:E,...ke&&{style:ke},...oi&&{className:oi},...R&&g4,...Je&&v4,...Q&&Yi&&b4}}var Td={},y4={className:"active"},g4={role:"link","aria-disabled":!0},v4={"data-status":"active","aria-current":"page"},b4={"data-transitioning":"transitioning"},Nr=new WeakMap,S4={rootMargin:"100px"},ga=t=>n=>{for(const s of t)if(s){if(n.defaultPrevented)return;s(n)}};function x4(t,n,s,r){if(!r)return n?{href:t,external:!0}:{href:s.createHref(t)||"/",external:!1}}function T4(t){if(typeof t!="string")return!1;const n=t.charCodeAt(0);return n===47?t.charCodeAt(1)!==47:n===46}var Vu=q.forwardRef((t,n)=>{const{_asChild:s,...r}=t,{type:l,...u}=p4(r,n),f=typeof r.children=="function"?r.children({isActive:u["data-status"]==="active"}):r.children;if(!s){const{disabled:h,...m}=u;return q.createElement("a",m,f)}return q.createElement(s,u,f)});function w4(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}var _4=class extends Pb{constructor(n){super(n),this.useMatch=s=>Ds({select:s?.select,from:this.id,structuralSharing:s?.structuralSharing}),this.useRouteContext=s=>OS({...s,from:this.id}),this.useSearch=s=>MS({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useParams=s=>RS({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useLoaderDeps=s=>CS({...s,from:this.id}),this.useLoaderData=s=>AS({...s,from:this.id}),this.useNavigate=()=>DS({from:this.fullPath}),this.Link=je.forwardRef((s,r)=>N.jsx(Vu,{ref:r,from:this.fullPath,...s}))}};function E4(t){return new _4(t)}var A4=class extends K_{constructor(t){super(t),this.useMatch=n=>Ds({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>OS({...n,from:this.id}),this.useSearch=n=>MS({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>RS({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>CS({...n,from:this.id}),this.useLoaderData=n=>AS({...n,from:this.id}),this.useNavigate=()=>DS({from:this.fullPath}),this.Link=je.forwardRef((n,s)=>N.jsx(Vu,{ref:s,from:this.fullPath,...n}))}};function C4(t){return new A4(t)}function Ln(t){return new R4(t,{silent:!0}).createRoute}var R4=class{constructor(t,n){this.path=t,this.createRoute=s=>{const r=E4(s);return r.isRoot=!1,r},this.silent=n?.silent}};function Gi(t,n){let s,r,l,u;const f=()=>(s||(s=t().then(m=>{s=void 0,r=m[n]}).catch(m=>{if(l=m,Uw(l)&&l instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const p=`tanstack_router_reload:${l.message}`;sessionStorage.getItem(p)||(sessionStorage.setItem(p,"1"),u=!0)}})),s),h=function(p){if(u)throw window.location.reload(),new Promise(()=>{});if(l)throw l;if(!r)if(du)du(f());else throw f();return q.createElement(r,p)};return h.preload=f,h}function M4(t){const n=be(),s=`not-found-${Yt(n.stores.location,r=>r.pathname)}-${Yt(n.stores.status,r=>r)}`;return N.jsx(Bh,{getResetKey:()=>s,onCatch:(r,l)=>{if(fe(r))t.onCatch?.(r,l);else throw r},errorComponent:({error:r})=>{if(fe(r))return t.fallback?.(r);throw r},children:t.children})}function D4(){return N.jsx("p",{children:"Not Found"})}function xa(t){return N.jsx(N.Fragment,{children:t.children})}function LS(t,n,s){return n.options.notFoundComponent?N.jsx(n.options.notFoundComponent,{...s}):t.options.defaultNotFoundComponent?N.jsx(t.options.defaultNotFoundComponent,{...s}):N.jsx(D4,{})}function O4(t){return null}function L4(){return O4(be()),null}var z4=(t,n)=>t.routeId===n.routeId&&t._displayPending===n._displayPending,V4=(t,n)=>
12t[0]===n[0]&&t[1]===n[1],zS=q.memo(function({matchId:n}){const s=be(),r=s.stores.matchStores.get(n);r||Be();const l=Yt(s.stores.loadedAt,f=>f),u=Yt(r,f=>f,z4);return N.jsx(j4,{router:s,matchId:n,resetKey:l,matchState:q.useMemo(()=>{const f=u.routeId,h=s.routesById[f].parentRoute?.id;return{routeId:f,ssr:u.ssr,_displayPending:u._displayPending,parentRouteId:h}},[u._displayPending,u.routeId,u.ssr,s.routesById])})});function j4({router:t,matchId:n,resetKey:s,matchState:r}){const l=t.routesById[r.routeId],u=l.options.pendingComponent??t.options.defaultPendingComponent,f=u?N.jsx(u,{}):null,h=l.options.errorComponent??t.options.defaultErrorComponent,m=l.options.onCatch??t.options.defaultOnCatch,p=l.isRoot?l.options.notFoundComponent??t.options.notFoundRoute?.options.component:l.options.notFoundComponent,g=r.ssr===!1||r.ssr==="data-only",y=(!l.isRoot||l.options.wrapInSuspense||g)&&(l.options.wrapInSuspense??u??(l.options.errorComponent?.preload||g))?q.Suspense:xa,v=h?Bh:xa,S=p?M4:xa;return N.jsxs(l.isRoot?l.options.shellComponent??xa:xa,{children:[N.jsx(zu.Provider,{value:n,children:N.jsx(y,{fallback:f,children:N.jsx(v,{getResetKey:()=>s,errorComponent:h||Nh,onCatch:(x,C)=>{if(fe(x))throw x.routeId??=r.routeId,x;m?.(x,C)},children:N.jsx(S,{fallback:x=>{if(x.routeId??=r.routeId,!p||x.routeId&&x.routeId!==r.routeId||!x.routeId&&!l.isRoot)throw x;return q.createElement(p,x)},children:g||r._displayPending?N.jsx(t4,{fallback:f,children:N.jsx(wv,{matchId:n})}):N.jsx(wv,{matchId:n})})})})}),r.parentRouteId===xs?N.jsxs(N.Fragment,{children:[N.jsx(P4,{}),t.options.scrollRestoration&&bb?N.jsx(L4,{}):null]}):null]})}function P4(){const t=be(),n=q.useRef();return kr(()=>{const s=t.stores.resolvedLocation.get(),r=n.current;s&&(!r||r.href!==s.href)&&t.emit({type:"onRendered",...Ma(t.stores.location.get(),r??s)}),n.current=s},[Yt(t.stores.resolvedLocation,s=>s?.state.__TSR_key),t]),null}var wv=q.memo(function({matchId:n}){const s=be(),r=(g,y)=>s.getMatch(g.id)?._nonReactive[y]??g._nonReactive[y],l=s.stores.matchStores.get(n);l||Be();const u=Yt(l,g=>g),f=u.routeId,h=s.routesById[f],m=q.useMemo(()=>{const g=(s.routesById[f].options.remountDeps??s.options.defaultRemountDeps)?.({routeId:f,loaderDeps:u.loaderDeps,params:u._strictParams,search:u._strictSearch});return g?JSON.stringify(g):void 0},[f,u.loaderDeps,u._strictParams,u._strictSearch,s.options.defaultRemountDeps,s.routesById]),p=q.useMemo(()=>{const g=h.options.component??s.options.defaultComponent;return g?N.jsx(g,{},m):N.jsx(VS,{})},[m,h.options.component,s.options.defaultComponent]);if(u._displayPending)throw r(u,"displayPendingPromise");if(u._forcePending)throw r(u,"minPendingPromise");if(u.status==="pending"){const g=h.options.pendingMinMs??s.options.defaultPendingMinMs;if(g){const y=s.getMatch(u.id);if(y&&!y._nonReactive.minPendingPromise){const v=Es();y._nonReactive.minPendingPromise=v,setTimeout(()=>{v.resolve(),y._nonReactive.minPendingPromise=void 0},g)}}throw r(u,"loadPromise")}if(u.status==="notFound")return fe(u.error)||Be(),LS(s,h,u.error);if(u.status==="redirected")throw Pe(u.error)||Be(),r(u,"loadPromise");if(u.status==="error")throw u.error;return p}),VS=q.memo(function(){const n=be(),s=q.useContext(zu);let r,l=!1,u;{const p=s?n.stores.matchStores.get(s):void 0;[r,l]=Yt(p,g=>[g?.routeId,g?.globalNotFound??!1],V4),u=Yt(n.stores.matchesId,g=>g[g.findIndex(y=>y===s)+1])}const f=r?n.routesById[r]:void 0,h=n.options.defaultPendingComponent?N.jsx(n.options.defaultPendingComponent,{}):null;if(l)return f||Be(),LS(n,f,void 0);if(!u)return null;const m=N.jsx(zS,{matchId:u});return r===xs?N.jsx(q.Suspense,{fallback:h,children:m}):m});function B4(){const t=be(),n=q.useRef({router:t,mounted:!1}),[s,r]=q.useState(!1),l=Yt(t.stores.isLoading,y=>y),u=Yt(t.stores.hasPending,y=>y),f=yd(l),h=l||s||u,m=yd(h),p=l||u,g=yd(p);return t.startTransition=y=>{r(!0),q.startTransition(()=>{y(),r(!1)})},q.useEffect(()=>{const y=t.history.subscribe(t.load),v=t.buildLocation({to:t.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return ei(t.latestLocation.publicHref)!==ei(v.publicHref)&&t.commitLocation({...v,replace:!0}),()=>{y()}},[t,t.history]),kr(()=>{if(typeof window<"u"&&t.ssr||n.current.router===t&&n.current.mounted)return;n.current={router:t,mounted:!0},(async()=>{try{await t.load()}catch(v){console.error(v)}})()},[t]),kr(()=>{f&&!l&&t.emit({type:"onLoad",...Ma(t.stores.location.get(),t.stores.resolvedLocation.get())})},[f,t,l]),kr(()=>{g&&!p&&t.emit({type:"onBeforeRouteMount",...Ma(t.stores.location.get(),t.stores.resolvedLocation.get())})},[p,g,t]),kr(()=>{if(m&&!h){const y=Ma(t.stores.location.get(),t.stores.resolvedLocation.get());t.emit({type:"onResolved",...y}),wS(()=>{t.stores.status.set("idle"),t.stores.resolvedLocation.set(t.stores.location.get())})}},[h,m,t]),null}
12function N4(){const t=be(),n=t.routesById[xs].options.pendingComponent??t.options.defaultPendingComponent,s=n?N.jsx(n,{}):null,r=N.jsxs(typeof document<"u"&&t.ssr?xa:q.Suspense,{fallback:s,children:[N.jsx(B4,{}),N.jsx(U4,{})]});return t.options.InnerWrap?N.jsx(t.options.InnerWrap,{children:r}):r}function U4(){const t=be(),n=Yt(t.stores.firstId,l=>l),s=Yt(t.stores.loadedAt,l=>l),r=n?N.jsx(zS,{matchId:n}):null;return N.jsx(zu.Provider,{value:n,children:t.options.disableGlobalCatchBoundary?r:N.jsx(Bh,{getResetKey:()=>s,errorComponent:Nh,onCatch:void 0,children:r})})}var k4=t=>({createMutableStore:vv,createReadonlyStore:vv,batch:wS}),H4=t=>new q4(t),q4=class extends C_{constructor(t){super(t,k4)}};function G4({router:t,children:n,...s}){xb(s)&&t.update({...t.options,...s,context:{...t.options.context,...s.context}});const r=N.jsx(xS.Provider,{value:t,children:n});return t.options.Wrap?N.jsx(t.options.Wrap,{children:r}):r}function F4({router:t,...n}){return N.jsx(G4,{router:t,...n,children:N.jsx(N4,{})})}function jS(t){const n=be({warn:t?.router===void 0}),s=t?.router||n;return Yt(s.stores.__store,ES(t,s))}function _v(t,n){if(n)for(const[s,r]of Object.entries(n))s!=="suppressHydrationWarning"&&r!==void 0&&r!==!1&&t.setAttribute(s,typeof r=="boolean"?"":String(r))}function PS(t){const{attrs:n,children:s,nonce:r,preventScriptHoist:l}=t;switch(t.tag){case"title":return N.jsx("title",{...n,suppressHydrationWarning:!0,children:s});case"meta":return N.jsx("meta",{...n,suppressHydrationWarning:!0});case"link":return N.jsx("link",{...n,precedence:n?.precedence??(n?.rel==="stylesheet"?"default":void 0),nonce:r,suppressHydrationWarning:!0});case"style":return t.inlineCss,N.jsx("style",{...n,dangerouslySetInnerHTML:{__html:s},nonce:r});case"script":return N.jsx(I4,{attrs:n,preventScriptHoist:l,children:s});default:return null}}function I4({attrs:t,children:n,preventScriptHoist:s}){be();const r=Uh(),l=typeof t?.type=="string"&&t.type!==""&&t.type!=="text/javascript"&&t.type!=="module";if(q.useEffect(()=>{if(!l){if(t?.src){const u=(()=>{try{const h=document.baseURI||window.location.href;return new URL(t.src,h).href}catch{return t.src}})();for(const h of document.querySelectorAll("script[src]"))if(h.src===u)return;const f=document.createElement("script");return _v(f,t),document.head.appendChild(f),()=>f.remove()}if(typeof n=="string"){const u=typeof t?.type=="string"?t.type:"text/javascript",f=typeof t?.nonce=="string"?t.nonce:void 0;for(const m of document.querySelectorAll("script:not([src])")){if(!(m instanceof HTMLScriptElement))continue;const p=m.getAttribute("type")??"text/javascript",g=m.getAttribute("nonce")??void 0;if(m.textContent===n&&p===u&&g===f)return}const h=document.createElement("script");return h.textContent=n,_v(h,t),document.head.appendChild(h),()=>h.remove()}}},[t,n,l]),l&&typeof n=="string")return N.jsx("script",{...t,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n}});if(!r){if(t?.src)return N.jsx("script",{...t,suppressHydrationWarning:!0});if(typeof n=="string")return N.jsx("script",{...t,dangerouslySetInnerHTML:{__html:n},suppressHydrationWarning:!0})}return null}var Y4=t=>{const n=be(),s=n.options.ssr?.nonce,r=Yt(n.stores.matches,y=>y.map(v=>v.meta).filter(v=>v!==void 0),_e),l=q.useMemo(()=>{const y=[],v={};let S;for(let x=r.length-1;x>=0;x--){const C=r[x];for(let _=C.length-1;_>=0;_--){const E=C[_];if(E)if(E.title)S||(S={tag:"title",children:E.title});else if("script:ld+json"in E)try{const R=JSON.stringify(E["script:ld+json"]);y.push({tag:"script",attrs:{type:"application/ld+json"},children:Iw(R)})}catch{}else{const R=E.name??E.property;if(R){if(v[R])continue;v[R]=!0}y.push({tag:"meta",attrs:{...E,nonce:s}})}}}return S&&y.push(S),s&&y.push({tag:"meta",attrs:{property:"csp-nonce",content:s}}),y.reverse(),y},[r,s]),u=Yt(n.stores.matches,y=>y.flatMap(v=>v.links??[]).filter(v=>v!==void 0).map(v=>({tag:"link",attrs:{...v,nonce:s}})),_e),f=Yt(n.stores.matches,y=>{const v=n.ssr?.manifest,S=[];return v&&(y.forEach(x=>{v.routes[x.routeId]?.css?.forEach(C=>{const _=Y_(C);S.push({tag:"link",attrs:{rel:"stylesheet",..._,crossOrigin:jb(t,"stylesheet")??_.crossOrigin,suppressHydrationWarning:!0,nonce:s}})})}),v.inlineStyle&&S.push({tag:"style",attrs:{...v.inlineStyle.attrs,nonce:s},children:v.inlineStyle.children,inlineCss:!0})),S},_e),h=Yt(n.stores.matches,y=>{const v=[],S=n.ssr?.manifest;
12return S&&y.forEach(x=>{S.routes[x.routeId]?.preloads?.forEach(C=>{v.push({tag:"link",attrs:{...F_(S,C,t),nonce:s}})})}),v},_e),m=Yt(n.stores.matches,y=>y.flatMap(v=>v.styles??[]).filter(v=>v!==void 0).map(({children:v,...S})=>({tag:"style",attrs:{...S,nonce:s},children:v})),_e),p=Yt(n.stores.matches,y=>y.flatMap(v=>v.headScripts??[]).filter(v=>v!==void 0).map(({children:v,...S})=>({tag:"script",attrs:{...S,nonce:s},children:v})),_e),g=[];return Bl(g,l),g.push(...h),Bl(g,u),g.push(...f),Bl(g,m),Bl(g,p),g};function K4(t){const n=Y4(t.assetCrossOrigin),s=be().options.ssr?.nonce;return N.jsx(N.Fragment,{children:n.map(r=>q.createElement(PS,{...r,key:`tsr-meta-${JSON.stringify(r)}`,nonce:s}))})}var Q4=()=>{const t=be(),n=t.options.ssr?.nonce,s=u=>{const f=[],h=t.ssr?.manifest;if(!h)return[];for(const m of u){const p=h.routes[m.routeId]?.scripts;if(p)for(const g of p)f.push({tag:"script",attrs:{...g.attrs,nonce:n},children:g.children,...typeof g.attrs?.src=="string"?{preventScriptHoist:!0}:{}})}return f},r=u=>u.map(f=>f.scripts).flat(1).filter(Boolean).map(({children:f,...h})=>({tag:"script",attrs:{...h,suppressHydrationWarning:!0,nonce:n},children:f})),l=Yt(t.stores.matches,s,_e);return X4(t,Yt(t.stores.matches,r,_e),l)};function X4(t,n,s){const r=[...n,...s];return N.jsx(N.Fragment,{children:r.map((l,u)=>q.createElement(PS,{...l,key:`tsr-scripts-${l.tag}-${u}`}))})}var ju=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Z4=class extends ju{#t;#e;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},BS=new Z4,J4={setTimeout:(t,n)=>setTimeout(t,n),clearTimeout:t=>clearTimeout(t),setInterval:(t,n)=>setInterval(t,n),clearInterval:t=>clearInterval(t)},$4=class{#t=J4;#e=!1;setTimeoutProvider(t){this.#t=t}setTimeout(t,n){return this.#t.setTimeout(t,n)}clearTimeout(t){this.#t.clearTimeout(t)}setInterval(t,n){return this.#t.setInterval(t,n)}clearInterval(t){this.#t.clearInterval(t)}},th=new $4;function W4(t){setTimeout(t,0)}var tR=typeof window>"u"||"Deno"in globalThis;function we(){}function eR(t,n){return typeof t=="function"?t(n):t}function nR(t){return typeof t=="number"&&t>=0&&t!==1/0}function iR(t,n){return Math.max(t+(n||0)-Date.now(),0)}function eh(t,n){return typeof t=="function"?t(n):t}function sR(t,n){return typeof t=="function"?t(n):t}function Ev(t,n){const{type:s="all",exact:r,fetchStatus:l,predicate:u,queryKey:f,stale:h}=t;if(f){if(r){if(n.queryHash!==kh(f,n.options))return!1}else if(!eo(n.queryKey,f))return!1}if(s!=="all"){const m=n.isActive();if(s==="active"&&!m||s==="inactive"&&m)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||l&&l!==n.state.fetchStatus||u&&!u(n))}function Av(t,n){const{exact:s,status:r,predicate:l,mutationKey:u}=t;if(u){if(!n.options.mutationKey)return!1;if(s){if(to(n.options.mutationKey)!==to(u))return!1}else if(!eo(n.options.mutationKey,u))return!1}return!(r&&n.state.status!==r||l&&!l(n))}function kh(t,n){return(n?.queryKeyHashFn||to)(t)}function to(t){return JSON.stringify(t,(n,s)=>nh(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function eo(t,n){return t===n?!0:typeof t!=typeof n?!1:t&&n&&typeof t=="object"&&typeof n=="object"?Object.keys(n).every(s=>eo(t[s],n[s])):!1}var aR=Object.prototype.hasOwnProperty;function NS(t,n,s=0){if(t===n)return t;if(s>500)return n;const r=Cv(t)&&Cv(n);if(!r&&!(nh(t)&&nh(n)))return n;const u=(r?t:Object.keys(t)).length,f=r?n:Object.keys(n),h=f.length,m=r?new Array(h):{};let p=0;for(let g=0;g<h;g++){const y=r?g:f[g],v=t[y],S=n[y];if(v===S){m[y]=v,(r?g<u:aR.call(t,y))&&p++;continue}if(v===null||S===null||typeof v!="object"||typeof S!="object"){m[y]=S;continue}const x=NS(v,S,s+1);m[y]=x,x===v&&p++}return u===h&&p===u?t:m}function UL(t,n){if(!n||Object.keys(t).length!==Object.keys(n).length)return!1;for(const s in t)if(t[s]!==n[s])return!1;return!0}function Cv(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function nh(t){if(!Rv(t))return!1;const n=t.constructor;if(n===void 0)return!0;const s=n.prototype;return!(!Rv(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Rv(t){return Object.prototype.toString.call(t)==="[object Object]"}function rR(t){return new Promise(n=>{th.setTimeout(n,t)})}function oR(t,n,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,n):s.structuralSharing!==!1?NS(t,n):n}function lR(t,n,s=0){const r=[...t,n];return s&&r.length>s?r.slice(1):r}function uR(t,n,s=0){const r=[n,...t];return s&&r.length>s?r.slice(0,-1):r}var Hh=Symbol();function US(t,n){return!t.queryFn&&n?.initialPromise?()=>n.initialPromise:!t.queryFn||t.queryFn===Hh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function kL(t,n){return typeof t=="function"?t(...n):!!t}function cR(t,n,s){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=n(),r||(r=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),t}var kS=(()=>{let t=()=>tR;return{isServer(){return t()},setIsServer(n){t=n}}})();function fR(){let t,n;const s=new Promise((l,u)=>{t=l,n=u});s.status="pending",s.catch(()=>{});function r(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},s.reject=l=>{r({status:"rejected",reason:l}),n(l)},s}function dR(t){let n;if(t.then(s=>(n=s,s),we)?.catch(we),n!==void 0)return{data:n}}function HS(t){return t}function hR(t){return{mutationKey:t.options.mutationKey,state:t.state,...t.options.scope&&{scope:t.options.scope},...t.meta&&{meta:t.meta}}}function mR(t,n,s){const r=()=>{const l=t.promise?.then(n).catch(u=>s(u)?Promise.reject(new Error("redacted")):Promise.reject(u));return l?.catch(we),l};return{dehydratedAt:Date.now(),state:{...t.state,...t.state.data!==void 0&&{data:n(t.state.data)}},queryKey:t.queryKey,queryHash:t.queryHash,...t.state.status==="pending"&&{promise:r()},...t.meta&&{meta:t.meta},...t.queryType&&{queryType:t.queryType}}}
12function pR(t){return t.state.isPaused}function yR(t){return t.state.status==="success"}function gR(t){return!0}function vR(t,n={}){const s=n.shouldDehydrateMutation??t.getDefaultOptions().dehydrate?.shouldDehydrateMutation??pR,r=t.getMutationCache().getAll().flatMap(m=>s(m)?[hR(m)]:[]),l=n.shouldDehydrateQuery??t.getDefaultOptions().dehydrate?.shouldDehydrateQuery??yR,u=n.shouldRedactErrors??t.getDefaultOptions().dehydrate?.shouldRedactErrors??gR,f=n.serializeData??t.getDefaultOptions().dehydrate?.serializeData??HS,h=t.getQueryCache().getAll().flatMap(m=>l(m)?[mR(m,f,u)]:[]);return{mutations:r,queries:h}}function bR(t,n,s){if(typeof n!="object"||n===null)return;const r=t.getMutationCache(),l=t.getQueryCache(),u=t.getDefaultOptions().hydrate?.deserializeData??HS,f=n.mutations||[],h=n.queries||[];f.forEach(({state:m,...p})=>{r.build(t,{...t.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...p},m)}),h.forEach(({queryKey:m,state:p,queryHash:g,meta:y,promise:v,dehydratedAt:S,queryType:x})=>{const C=v?dR(v):void 0,_=p.data===void 0?C?.data:p.data,E=_===void 0?_:u(_);let R=l.get(g);const D=R?.state.status==="pending",z=R?.state.fetchStatus==="fetching";if(R){const H=C&&S!==void 0&&S>R.state.dataUpdatedAt;if(p.dataUpdatedAt>R.state.dataUpdatedAt||H){const{fetchStatus:I,...j}=p;R.setState({...j,data:E,...p.status==="pending"&&E!==void 0&&{status:"success",dataUpdatedAt:S??Date.now(),...!z&&{fetchStatus:"idle"}}})}}else R=l.build(t,{...t.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:m,queryHash:g,meta:y,_type:x},{...p,data:E,fetchStatus:"idle",status:p.status==="pending"&&E!==void 0?"success":p.status,...p.status==="pending"&&E!==void 0&&{dataUpdatedAt:S??Date.now()}});v&&!C&&!D&&!z&&(S===void 0||S>R.state.dataUpdatedAt)&&R.fetch(void 0,{initialPromise:Promise.resolve(v).then(u)}).catch(we)})}var SR=W4;function xR(){let t=[],n=0,s=h=>{h()},r=h=>{h()},l=SR;const u=h=>{n?t.push(h):l(()=>{s(h)})},f=()=>{const h=t;t=[],h.length&&l(()=>{r(()=>{h.forEach(m=>{s(m)})})})};return{batch:h=>{let m;n++;try{m=h()}finally{n--,n||f()}return m},batchCalls:h=>(...m)=>{u(()=>{h(...m)})},schedule:u,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{r=h},setScheduler:h=>{l=h}}}var Ee=xR(),TR=class extends ju{#t=!0;#e;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#n=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#t!==t&&(this.#t=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#t}},mu=new TR;function wR(t){return Math.min(1e3*2**t,3e4)}function qS(t){return(t??"online")==="online"?mu.isOnline():!0}var ih=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function GS(t){let n=!1,s=0,r;const l=fR(),u=()=>l.status!=="pending",f=C=>{if(!u()){const _=new ih(C);v(_),t.onCancel?.(_)}},h=()=>{n=!0},m=()=>{n=!1},p=()=>BS.isFocused()&&(t.networkMode==="always"||mu.isOnline())&&t.canRun(),g=()=>qS(t.networkMode)&&t.canRun(),y=C=>{u()||(r?.(),l.resolve(C))},v=C=>{u()||(r?.(),l.reject(C))},S=()=>new Promise(C=>{r=_=>{(u()||p())&&C(_)},t.onPause?.()}).then(()=>{r=void 0,u()||t.onContinue?.()}),x=()=>{if(u())return;let C;const _=s===0?t.initialPromise:void 0;try{C=_??t.fn()}catch(E){C=Promise.reject(E)}Promise.resolve(C).then(y).catch(E=>{if(u())return;const R=t.retry??(kS.isServer()?0:3),D=t.retryDelay??wR,z=typeof D=="function"?D(s,E):D,H=R===!0||typeof R=="number"&&s<R||typeof R=="function"&&R(s,E);if(n||!H){v(E);return}s++,t.onFail?.(s,E),rR(z).then(()=>p()?void 0:S()).then(()=>{n?v(E):x()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:h,continueRetry:m,canStart:g,start:()=>(g()?x():S().then(x),l)}}var FS=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),nR(this.gcTime)&&(this.#t=th.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(kS.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(th.clearTimeout(this.#t),this.#t=void 0)}};function _R(t){return{onFetch:(n,s)=>
vendor: 15,931 bytes, line 12
12{const r=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,u=n.state.data?.pages||[],f=n.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const p=async()=>{let g=!1;const y=x=>{cR(x,()=>n.signal,()=>g=!0)},v=US(n.options,n.fetchOptions),S=async(x,C,_)=>{if(g)return Promise.reject(n.signal.reason);if(C==null&&x.pages.length)return Promise.resolve(x);const R=(()=>{const I={client:n.client,queryKey:n.queryKey,pageParam:C,direction:_?"backward":"forward",meta:n.options.meta};return y(I),I})(),D=await v(R),{maxPages:z}=n.options,H=_?uR:lR;return{pages:H(x.pages,D,z),pageParams:H(x.pageParams,C,z)}};if(l&&u.length){const x=l==="backward",C=x?ER:Mv,_={pages:u,pageParams:f},E=C(r,_);h=await S(_,E,x)}else{const x=t??u.length;do{const C=m===0?f[0]??r.initialPageParam:Mv(r,h);if(m>0&&C==null)break;h=await S(h,C),m++}while(m<x)}return h};n.options.persister?n.fetchFn=()=>n.options.persister?.(p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},s):n.fetchFn=p}}}function Mv(t,{pages:n,pageParams:s}){const r=n.length-1;return n.length>0?t.getNextPageParam(n[r],n,s[r],s):void 0}function ER(t,{pages:n,pageParams:s}){return n.length>0?t.getPreviousPageParam?.(n[0],n,s[0],s):void 0}var AR=class extends FS{#t;#e;#n;#s;#a;#i;#l;#r;constructor(t){super(),this.#r=!1,this.#l=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#a=t.client,this.#s=this.#a.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=Ov(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#l,...t},t?._type&&(this.#t=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Ov(this.options);n.data!==void 0&&(this.setState(Dv(n.data,n.dataUpdatedAt)),this.#e=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(t,n){const s=oR(this.state.data,t,this.options);return this.#o({data:s,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),s}setState(t){this.#o({type:"setState",state:t})}cancel(t){const n=this.#i?.promise;return this.#i?.cancel(t),n?n.then(we).catch(we):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>sR(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Hh||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>eh(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!iR(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.#i&&(this.#r||this.#u()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,n){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const s=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#r=!0,s.signal)})},l=()=>{const m=US(this.options,n),g=(()=>{const y={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(y),y})();return this.#r=!1,this.options.persister?this.options.persister(m,g,this):m(g)},f=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:l};return r(m),m})();(this.#t==="infinite"?_R(this.options.pages):this.options.behavior)?.onFetch(f,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#o({type:"fetch",meta:f.fetchOptions?.meta}),this.#i=GS({initialPromise:n?.initialPromise,fn:f.fetchFn,onCancel:m=>{m instanceof ih&&m.revert&&this.setState({...this.#n,fetchStatus:"idle"}),s.abort()},onFail:(m,p)=>{this.#o({type:"failed",failureCount:m,error:p})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const m=await this.#i.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#s.config.onSuccess?.(m,this),this.#s.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof ih){if(m.silent)return this.#i.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#o({type:"error",error:m}),this.#s.config.onError?.(m,this),this.#s.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#o(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...CR(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...Dv(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?r:void 0,r;case"error":const l=t.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),Ee.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}};function CR(t,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:qS(n.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Dv(t,n){return{data:t,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Ov(t){const n=typeof t.initialData=="function"?t.initialData():t.initialData,s=n!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var RR=class extends FS{#t;#e;#n;#s;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#e=[],this.state=t.state||MR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(n=>n!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){const n=()=>{this.#a({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=GS({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#a({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",l=!this.#s.canStart();try{if(r)n();else{this.#a({type:"pending",variables:t,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,s);const f=await this.options.onMutate?.(t,s);f!==this.state.context&&this.#a({type:"pending",context:f,variables:t,isPaused:l})}const u=await this.#s.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,s),await this.options.onSuccess?.(u,t,this.state.context,s),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(u,null,t,this.state.context,s),this.#a({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,t,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onError?.(u,t,this.state.context,s)}catch(f){Promise.reject(f)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,u,t,this.state.context,s)}catch(f){Promise.reject(f)}throw this.#a({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#a(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ee.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function MR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var DR=class extends ju{constructor(t={}){super(),this.config=t,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(t,n,s){const r=new RR({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#t.add(t);const n=kl(t);if(typeof n=="string"){const s=this.#e.get(n);s?s.push(t):this.#e.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){const n=kl(t);if(typeof n=="string"){const s=this.#e.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#e.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=kl(t);if(typeof n=="string"){const r=this.#e.get(n)?.find(l=>l.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=kl(t);return typeof n=="string"?this.#e.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Ee.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Av(n,s))}findAll(t={}){return this.getAll().filter(n=>Av(t,n))}notify(t){Ee.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ee.batch(()=>Promise.all(t.map(n=>n.continue().catch(we))))}};function kl(t){return t.options.scope?.id}var OR=class extends ju{constructor(t={}){super(),this.config=t,this.#t=new Map}#t;build(t,n,s){const r=n.queryKey,l=n.queryHash??kh(r,n);let u=this.get(l);return u||(u=new AR({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(u)),u}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#t.get(t.queryHash);n&&(t.destroy(),n===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ee.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Ev(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>Ev(t,s)):n}notify(t){Ee.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ee.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ee.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},LR=class{#t;#e;#n;#s;#a;#i;#l;#r;constructor(t={}){this.#t=t.queryCache||new OR,this.#e=t.mutationCache||new DR,this.#n=t.defaultOptions||{},this.#s=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#l=BS.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#r=mu.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#l?.(),this.#l=void 0,this.#r?.(),this.#r=void 0)}isFetching(t){return this.#t.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#e.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#t.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#t.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(eh(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#t.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),u=this.#t.get(r.queryHash)?.state.data,f=eR(n,u);if(f!==void 0)return this.#t.build(this,r).setData(f,{...s,manual:!0})}setQueriesData(t,n,s){return Ee.batch(()=>this.#t.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#t.get(n.queryHash)?.state}removeQueries(t){const n=this.#t;Ee.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#t;return Ee.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Ee.batch(()=>this.#t.findAll(t).map(l=>l.cancel(s)));return Promise.all(r).then(we).catch(we)}invalidateQueries(t,n={}){return Ee.batch(()=>(this.#t.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=Ee.batch(()=>this.#t.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(we)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(we)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#t.build(this,n);return s.isStaleByTime(eh(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(we).catch(we)}
12fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(we).catch(we)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return mu.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#s.set(to(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{eo(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#a.set(to(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#a.values()],s={};return n.forEach(r=>{eo(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=kh(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Hh&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},IS=q.createContext(void 0),zR=t=>{const n=q.useContext(IS);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},VR=({client:t,children:n})=>(q.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),N.jsx(IS.Provider,{value:t,children:n})),pu={},jR=()=>{window.va||(window.va=function(...n){window.vaq||(window.vaq=[]),window.vaq.push(n)})},PR="@vercel/analytics",BR="2.0.1";function YS(){return typeof window<"u"}function KS(){try{const t="production"}catch{}return"production"}function NR(t="auto"){if(t==="auto"){window.vam=KS();return}window.vam=t}function UR(){return(YS()?window.vam:KS())||"production"}function qh(){return UR()==="development"}function kR(t){return t.scriptSrc?_a(t.scriptSrc):qh()?"https://va.vercel-scripts.com/v1/script.debug.js":t.basePath?_a(`${t.basePath}/insights/script.js`):"/_vercel/insights/script.js"}function HR(t,n){var s;let r=t;if(n)try{r={...(s=JSON.parse(n))==null?void 0:s.analytics,...t}}catch{}NR(r.mode);const l={sdkn:PR+(r.framework?`/${r.framework}`:""),sdkv:BR};return r.disableAutoTrack&&(l.disableAutoTrack="1"),r.viewEndpoint&&(l.viewEndpoint=_a(r.viewEndpoint)),r.eventEndpoint&&(l.eventEndpoint=_a(r.eventEndpoint)),r.sessionEndpoint&&(l.sessionEndpoint=_a(r.sessionEndpoint)),qh()&&r.debug===!1&&(l.debug="false"),r.dsn&&(l.dsn=r.dsn),r.endpoint?l.endpoint=r.endpoint:r.basePath&&(l.endpoint=_a(`${r.basePath}/insights`)),{beforeSend:r.beforeSend,src:kR(r),dataset:l}}function _a(t){return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?t:`/${t}`}function qR(t={debug:!0},n){var s;if(!YS())return;const{beforeSend:r,src:l,dataset:u}=HR(t,n);if(jR(),r&&((s=window.va)==null||s.call(window,"beforeSend",r)),document.head.querySelector(`script[src*="${l}"]`))return;const f=document.createElement("script");f.src=l;for(const[h,m]of Object.entries(u))f.dataset[h]=m;f.defer=!0,f.onerror=()=>{const h=qh()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${l}. ${h}`)},document.head.appendChild(f)}function GR({route:t,path:n}){var s;(s=window.va)==null||s.call(window,"pageview",{route:t,path:n})}function FR(){if(!(typeof process>"u"||typeof pu>"u"))return pu.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function IR(){if(!(typeof process>"u"||typeof pu>"u"))return pu.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}function YR(t){return q.useEffect(()=>{var n;t.beforeSend&&((n=window.va)==null||n.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]),q.useEffect(()=>{qR({framework:t.framework||"react",basePath:t.basePath??FR(),...t.route!==void 0&&{disableAutoTrack:!0},...t}
12,t.configString??IR())},[]),q.useEffect(()=>{t.route&&t.path&&GR({route:t.route,path:t.path})},[t.route,t.path]),null}function KR(){const t=new Date().getFullYear(),n="2026-09-22T11:14:45+01:00",s=new Date(n).toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"});return N.jsxs("footer",{role:"contentinfo",className:"container relative flex items-center justify-between mt-auto py-[1.6rem] text-xs font-text text-muted max-sm:flex-col",children:[N.jsxs("div",{children:["© ",t," Edmundo Santos"]}),N.jsxs("div",{children:[N.jsx("span",{id:"ld",children:"Last updated"})," on"," ",N.jsx("time",{className:"whitespace-nowrap","aria-labelledby":"#ld",dateTime:n,title:n,children:s})]})]})}const QR="modulepreload",XR=function(t){return"/"+t},Lv={},mt=function(n,s,r){let l=Promise.resolve();if(s&&s.length>0){let m=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),h=f?.nonce||f?.getAttribute("nonce");l=m(s.map(p=>{if(p=XR(p),p in Lv)return;Lv[p]=!0;const g=p.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const v=document.createElement("link");if(v.rel=g?"stylesheet":QR,g||(v.as="script"),v.crossOrigin="",v.href=p,h&&v.setAttribute("nonce",h),document.head.appendChild(v),g)return new Promise((S,x)=>{v.addEventListener("load",S),v.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(f){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=f,window.dispatchEvent(h),!h.defaultPrevented)throw f}return l.then(f=>{for(const h of f||[])h.status==="rejected"&&u(h.reason);return n().catch(u)})};function QS(t){var n,s,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(s=QS(t[n]))&&(r&&(r+=" "),r+=s)}else for(s in t)t[s]&&(r&&(r+=" "),r+=s);return r}function ZR(){for(var t,n,s=0,r="",l=arguments.length;s<l;s++)(t=arguments[s])&&(n=QS(t))&&(r&&(r+=" "),r+=n);return r}function yu(){return yu=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var r in s)({}).hasOwnProperty.call(s,r)&&(t[r]=s[r])}return t},yu.apply(null,arguments)}function JR(t,n){if(t==null)return{};var s={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(n.indexOf(r)!==-1)continue;s[r]=t[r]}return s}function $R(t){q.useEffect(t,[])}var WR=["id","volume","playbackRate","soundEnabled","interrupt","onload"];function Gh(t,n){var s=n===void 0?{}:n,r=s.volume,l=r===void 0?1:r,u=s.playbackRate,f=u===void 0?1:u,h=s.soundEnabled,m=h===void 0?!0:h,p=s.interrupt,g=p===void 0?!1:p,y=s.onload,v=JR(s,WR),S=je.useRef(null),x=je.useRef(!1),C=je.useState(null),_=C[0],E=C[1],R=je.useState(null),D=R[0],z=R[1],H=function(){typeof y=="function"&&y.call(this),x.current&&E(this.duration()*1e3),z(this)};$R(function(){return mt(()=>import("./howler-amUBNdC1.js").then(Z=>Z.h),[]).then(function(Z){if(!x.current){var W;S.current=(W=Z.Howl)!==null&&W!==void 0?W:Z.default.Howl,x.current=!0,new S.current(yu({src:Array.isArray(t)?t:[t],volume:l,rate:f,onload:H},v))}}),function(){x.current=!1}}),je.useEffect(function(){S.current&&D&&z(new S.current(yu({src:Array.isArray(t)?t:[t],volume:l,onload:H},v)))},[JSON.stringify(t)]),je.useEffect(function(){D&&(D.volume(l),v.sprite||D.rate(f))},[D,l,f]);var I=je.useCallback(function(Z){typeof Z>"u"&&(Z={}),!(!D||!m&&!Z.forceSoundEnabled)&&(g&&D.stop(),Z.playbackRate&&D.rate(Z.playbackRate),D.play(Z.id))},[D,m,g]),j=je.useCallback(function(Z){D&&D.stop(Z)},[D]),U=je.useCallback(function(Z){D&&D.pause(Z)},[D]),K=[I,{sound:D,stop:j,pause:U,duration:_}];return K}const XS=q.createContext({});function As(t){const n=q.useRef(null);return n.current===null&&(n.current=t()),n.current}const tM=typeof window<"u",Fh=tM?q.useLayoutEffect:q.useEffect,Ih=q.createContext(null);function Yh(t,n){t.indexOf(n)===-1&&t.push(n)}function La(t,n){const s=t.indexOf(n);s>-1&&t.splice(s,1)}const bn=(t,n,s)=>s>n?n:s<t?t:s;let Pu=()=>{};const Ui={},ZS=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),JS=t=>typeof t=="object"&&t!==null,$S=t=>/^0[^.\s]+$/u.test(t);function WS(t){let n;return()=>(n===void 0&&(n=t()),n)}const Ne=t=>t,ho=(...t)=>t.reduce((n,s)=>r=>s(n(r))),Cs=(t,n,s)=>{const r=n-t;return r?(s-t)/r:1};class Kh{constructor(){this.subscriptions=[]}add(n){return Yh(this.subscriptions,n),()=>La(this.subscriptions,n)}notify(n,s,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,s,r);else for(let u=0;u<l;u++){const f=this.subscriptions[u];f&&f(n,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ue=t=>t*1e3,cn=t=>t/1e3,Qh=(t,n)=>n?t*(1e3/n):0,eM=(t,n,s)=>{const r=n-t;return((s-t)%r+r)%r+t},t5=(t,n,s)=>(((1-3*s+3*n)*t+(3*s-6*n))*t+3*n)*t,nM=1e-7,iM=12;function sM(t,n,s,r,l){let u,f,h=0;do f=n+(s-n)/2,u=t5(f,r,l)-t,u>0?s=f:n=f;
vendor: 48,409 bytes, line 12
12while(Math.abs(u)>nM&&++h<iM);return f}function mo(t,n,s,r){if(t===n&&s===r)return Ne;const l=u=>sM(u,0,1,t,s);return u=>u===0||u===1?u:t5(l(u),n,r)}const e5=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,Xh=t=>n=>1-t(1-n),n5=mo(.33,1.53,.69,.99),Zh=Xh(n5),i5=e5(Zh),s5=t=>t>=1?1:(t*=2)<1?.5*Zh(t):.5*(2-Math.pow(2,-10*(t-1))),Jh=t=>1-Math.sin(Math.acos(t)),a5=Xh(Jh),r5=e5(Jh),aM=mo(.42,0,1,1),rM=mo(0,0,.58,1),o5=mo(.42,0,.58,1),l5=t=>Array.isArray(t)&&typeof t[0]!="number";function u5(t,n){return l5(t)?t[eM(0,t.length,n)]:t}const c5=t=>Array.isArray(t)&&typeof t[0]=="number",oM={linear:Ne,easeIn:aM,easeInOut:o5,easeOut:rM,circIn:Jh,circInOut:r5,circOut:a5,backIn:Zh,backInOut:i5,backOut:n5,anticipate:s5},lM=t=>typeof t=="string",zv=t=>{if(c5(t)){Pu(t.length===4);const[n,s,r,l]=t;return mo(n,s,r,l)}else if(lM(t))return oM[t];return t},Hl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function uM(t){let n=new Set,s=new Set,r=!1,l=!1;const u=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function h(p){u.has(p)&&(m.schedule(p),t()),p(f)}const m={schedule:(p,g=!1,y=!1)=>{const S=y&&r?n:s;return g&&u.add(p),S.add(p),p},cancel:p=>{s.delete(p),u.delete(p)},process:p=>{if(f=p,r){l=!0;return}r=!0;const g=n;n=s,s=g,n.forEach(h),n.clear(),r=!1,l&&(l=!1,m.process(p))}};return m}const cM=40;function f5(t,n){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>s=!0,f=Hl.reduce((D,z)=>(D[z]=uM(u),D),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:g,update:y,preRender:v,render:S,postRender:x}=f,C=()=>{const D=Ui.useManualTiming,z=D?l.timestamp:performance.now();s=!1,D||(l.delta=r?1e3/60:Math.max(Math.min(z-l.timestamp,cM),1)),l.timestamp=z,l.isProcessing=!0,h.process(l),m.process(l),p.process(l),g.process(l),y.process(l),v.process(l),S.process(l),x.process(l),l.isProcessing=!1,s&&n&&(r=!1,t(C))},_=()=>{s=!0,r=!0,l.isProcessing||t(C)};return{schedule:Hl.reduce((D,z)=>{const H=f[z];return D[z]=(I,j=!1,U=!1)=>(s||_(),H.schedule(I,j,U)),D},{}),cancel:D=>{for(let z=0;z<Hl.length;z++)f[Hl[z]].cancel(D)},state:l,steps:f}}const{schedule:xt,cancel:Ze,state:ce,steps:wd}=f5(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ne,!0);let $l;function fM(){$l=void 0}const Ae={now:()=>($l===void 0&&Ae.set(ce.isProcessing||Ui.useManualTiming?ce.timestamp:performance.now()),$l),set:t=>{$l=t,queueMicrotask(fM)}},d5=t=>n=>typeof n=="string"&&n.startsWith(t),h5=d5("--"),dM=d5("var(--"),$h=t=>dM(t)?hM.test(t.split("/*")[0].trim()):!1,hM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Vv(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const Pa={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},no={...Pa,transform:t=>bn(0,1,t)},ql={...Pa,default:1},Gr=t=>Math.round(t*1e5)/1e5,Wh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mM(t){return t==null}const pM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tm=(t,n)=>s=>!!(typeof s=="string"&&pM.test(s)&&s.startsWith(t)||n&&!mM(s)&&Object.prototype.hasOwnProperty.call(s,n)),m5=(t,n,s)=>r=>{if(typeof r!="string")return r;const[l,u,f,h]=r.match(Wh);return{[t]:parseFloat(l),[n]:parseFloat(u),[s]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},yM=t=>bn(0,255,t),_d={...Pa,transform:t=>Math.round(yM(t))},bs={test:tm("rgb","red"),parse:m5("red","green","blue"),transform:({red:t,green:n,blue:s,alpha:r=1})=>"rgba("+_d.transform(t)+", "+_d.transform(n)+", "+_d.transform(s)+", "+Gr(no.transform(r))+")"};function gM(t){let n="",s="",r="",l="";return t.length>5?(n=t.substring(1,3),s=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),s=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),n+=n,s+=s,r+=r,l+=l),{red:parseInt(n,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const sh={test:tm("#"),parse:gM,transform:bs.transform},po=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),ti=po("deg"),On=po("%"),rt=po("px"),vM=po("vh"),bM=po("vw"),jv={...On,parse:t=>On.parse(t)/100,transform:t=>On.transform(t*100)},Ea={test:tm("hsl","hue"),parse:m5("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:s,alpha:r=1})=>"hsla("+Math.round(t)+", "+On.transform(Gr(n))+", "+On.transform(Gr(s))+", "+Gr(no.transform(r))+")"},se={test:t=>bs.test(t)||sh.test(t)||Ea.test(t),parse:t=>bs.test(t)?bs.parse(t):Ea.test(t)?Ea.parse(t):sh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?bs.transform(t):Ea.transform(t),getAnimatableNone:t=>{const n=se.parse(t);return n.alpha=0,se.transform(n)}},SM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function xM(t){return isNaN(t)&&typeof t=="string"&&(t.match(Wh)?.length||0)+(t.match(SM)?.length||0)>0}const p5="number",y5="color",TM="var",wM="var(",Pv="${}",_M=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function za(t){const n=t.toString(),s=[],r={color:[],number:[],var:[]},l=[];let u=0;const h=n.replace(_M,m=>(se.test(m)?(r.color.push(u),l.push(y5),s.push(se.parse(m))):m.startsWith(wM)?(r.var.push(u),l.push(TM),s.push(m)):(r.number.push(u),l.push(p5),s.push(parseFloat(m))),++u,Pv)).split(Pv);return{values:s,split:h,indexes:r,types:l}}function EM(t){return za(t).values}function g5({split:t,types:n}){const s=t.length;return r=>{let l="";for(let u=0;u<s;u++)if(l+=t[u],r[u]!==void 0){const f=n[u];f===p5?l+=Gr(r[u]):f===y5?l+=se.transform(r[u]):l+=r[u]}return l}}function AM(t){return g5(za(t))}const CM=t=>typeof t=="number"?0:se.test(t)?se.getAnimatableNone(t):t,RM=(t,n)=>typeof t=="number"?n?.trim().endsWith("/")?t:0:CM(t);function MM(t){const n=za(t);return g5(n)(n.values.map((r,l)=>RM(r,n.split[l])))}const vn={test:xM,parse:EM,createTransformer:AM,getAnimatableNone:MM};function Ed(t,n,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(n-t)*6*s:s<1/2?n:s<2/3?t+(n-t)*(2/3-s)*6:t}function DM({hue:t,saturation:n,lightness:s,alpha:r}){t/=360,n/=100,s/=100;let l=0,u=0,f=0;if(!n)l=u=f=s;else{const h=s<.5?s*(1+n):s+n-s*n,m=2*s-h;l=Ed(m,h,t+1/3),u=Ed(m,h,t),f=Ed(m,h,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function gu(t,n){return s=>s>0?n:t}const Bt=(t,n,s)=>t+(n-t)*s,Ad=(t,n,s)=>{const r=t*t,l=s*(n*n-r)+r;return l<0?0:Math.sqrt(l)},OM=[sh,bs,Ea],LM=t=>OM.find(n=>n.test(t));function Bv(t){const n=LM(t);if(!n)return!1;let s=n.parse(t);return n===Ea&&(s=DM(s)),s}const Nv=(t,n)=>{const s=Bv(t),r=Bv(n);if(!s||!r)return gu(t,n);const l={...s};return u=>(l.red=Ad(s.red,r.red,u),l.green=Ad(s.green,r.green,u),l.blue=Ad(s.blue,r.blue,u),l.alpha=Bt(s.alpha,r.alpha,u),bs.transform(l))},ah=new Set(["none","hidden"]);function zM(t,n){return ah.has(t)?s=>s<=0?t:n:s=>s>=1?n:t}function VM(t,n){return s=>Bt(t,n,s)}function em(t){return typeof t=="number"?VM:typeof t=="string"?$h(t)?gu:se.test(t)?Nv:BM:Array.isArray(t)?v5:typeof t=="object"?se.test(t)?Nv:jM:gu}function v5(t,n){const s=[...t],r=s.length,l=t.map((u,f)=>em(u)(u,n[f]));return u=>{for(let f=0;f<r;f++)s[f]=l[f](u);return s}}function jM(t,n){const s={...t,...n},r={};for(const l in s)t[l]!==void 0&&n[l]!==void 0&&(r[l]=em(t[l])(t[l],n[l]));return l=>{for(const u in r)s[u]=r[u](l);return s}}function PM(t,n){const s=[],r={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const u=n.types[l],f=t.indexes[u][r[u]],h=t.values[f]??0;s[l]=h,r[u]++}return s}const BM=(t,n)=>{const s=vn.createTransformer(n),r=za(t),l=za(n);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?ah.has(t)&&!l.values.length||ah.has(n)&&!r.values.length?zM(t,n):ho(v5(PM(r,l),l.values),s):gu(t,n)};function b5(t,n,s){return typeof t=="number"&&typeof n=="number"&&typeof s=="number"?Bt(t,n,s):em(t)(t,n)}const NM=t=>{const n=({timestamp:s})=>t(s);return{start:(s=!0)=>xt.update(n,s),stop:()=>Ze(n),now:()=>ce.isProcessing?ce.timestamp:Ae.now()}},S5=(t,n,s=10)=>{let r="";const l=Math.max(Math.round(n/s),2);for(let u=0;u<l;u++)r+=Math.round(t(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},vu=2e4;function nm(t){let n=0;const s=50;let r=t.next(n);for(;!r.done&&n<vu;)n+=s,r=t.next(n);return n>=vu?1/0:n}function x5(t,n=100,s){const r=s({...t,keyframes:[0,n]}),l=Math.min(nm(r),vu);return{type:"keyframes",ease:u=>r.next(l*u).value/n,duration:cn(l)}}const Xt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function rh(t,n){return t*Math.sqrt(1-n*n)}const UM=12;function kM(t,n,s){let r=s;for(let l=1;l<UM;l++)r=r-t(r)/n(r);return r}const Cd=.001;function HM({duration:t=Xt.duration,bounce:n=Xt.bounce,velocity:s=Xt.velocity,mass:r=Xt.mass}){let l,u,f=1-n;f=bn(Xt.minDamping,Xt.maxDamping,f),t=bn(Xt.minDuration,Xt.maxDuration,cn(t)),f<1?(l=p=>{const g=p*f,y=g*t,v=g-s,S=rh(p,f),x=Math.exp(-y);return Cd-v/S*x},u=p=>{const y=p*f*t,v=y*s+s,S=Math.pow(f,2)*Math.pow(p,2)*t,x=Math.exp(-y),C=rh(Math.pow(p,2),f);return(-l(p)+Cd>0?-1:1)*((v-S)*x)/C}):(l=p=>{const g=Math.exp(-p*t),y=(p-s)*t+1;return-Cd+g*y},u=p=>{const g=Math.exp(-p*t),y=(s-p)*(t*t);return g*y});const h=5/t,m=kM(l,u,h);if(t=Ue(t),isNaN(m))return{stiffness:Xt.stiffness,damping:Xt.damping,duration:t};{const p=Math.pow(m,2)*r;return{stiffness:p,damping:f*2*Math.sqrt(r*p),duration:t}}}const qM=["duration","bounce"],GM=["stiffness","damping","mass"];function Uv(t,n){return n.some(s=>t[s]!==void 0)}function FM(t){let n={velocity:Xt.velocity,stiffness:Xt.stiffness,damping:Xt.damping,mass:Xt.mass,isResolvedFromDuration:!1,...t};if(!Uv(t,GM)&&Uv(t,qM))if(n.velocity=0,t.visualDuration){const s=t.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,u=2*bn(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:Xt.mass,stiffness:l,damping:u}}else{const s=HM({...t,velocity:0});n={...n,...s,mass:Xt.mass},n.isResolvedFromDuration=!0}return n}function io(t=Xt.visualDuration,n=Xt.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:r,restDelta:l}=s;const u=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:g,duration:y,velocity:v,isResolvedFromDuration:S}=FM({...s,velocity:-cn(s.velocity||0)}),x=v||0,C=p/(2*Math.sqrt(m*g)),_=f-u,E=cn(Math.sqrt(m/g)),R=Math.abs(_)<5;r||(r=R?Xt.restSpeed.granular:Xt.restSpeed.default),l||(l=R?Xt.restDelta.granular:Xt.restDelta.default);let D,z,H,I,j,U;if(C<1)H=rh(E,C),I=(x+C*E*_)/H,D=Z=>{const W=Math.exp(-C*E*Z);return f-W*(I*Math.sin(H*Z)+_*Math.cos(H*Z))},j=C*E*I+_*H,U=C*E*_-I*H,z=Z=>Math.exp(-C*E*Z)*(j*Math.sin(H*Z)+U*Math.cos(H*Z));else if(C===1){D=W=>f-Math.exp(-E*W)*(_+(x+E*_)*W);const Z=x+E*_;z=W=>Math.exp(-E*W)*(E*Z*W-x)}else{const Z=E*Math.sqrt(C*C-1);D=gt=>{const Et=Math.exp(-C*E*gt),G=Math.min(Z*gt,300);return f-Et*((x+C*E*_)*Math.sinh(G)+Z*_*Math.cosh(G))/Z};const W=(x+C*E*_)/Z,it=C*E*W-_*Z,At=C*E*_-W*Z;z=gt=>{const Et=Math.exp(-C*E*gt),G=Math.min(Z*gt,300);return Et*(it*Math.sinh(G)+At*Math.cosh(G))}}const K={calculatedDuration:S&&y||null,velocity:Z=>Ue(z(Z)),next:Z=>{if(!S&&C<1){const it=Math.exp(-C*E*Z),At=Math.sin(H*Z),gt=Math.cos(H*Z),Et=f-it*(I*At+_*gt),G=Ue(it*(j*At+U*gt));return h.done=Math.abs(G)<=r&&Math.abs(f-Et)<=l,h.value=h.done?f:Et,h}const W=D(Z);if(S)h.done=Z>=y;else{const it=Ue(z(Z));h.done=Math.abs(it)<=r&&Math.abs(f-W)<=l}return h.value=h.done?f:W,h},toString:()=>{const Z=Math.min(nm(K),vu),W=S5(it=>K.next(Z*it).value,Z,30);return Z+"ms "+W},toTransition:()=>{}};return K}io.applyToOptions=t=>{const n=x5(t,100,io);return t.ease=n.ease,t.duration=Ue(n.duration),t.type="keyframes",t};const IM=5;function T5(t,n,s){const r=Math.max(n-IM,0);return Qh(s-t(r),n-r)}function oh({keyframes:t,velocity:n=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:f,min:h,max:m,restDelta:p=.5,restSpeed:g}){const y=t[0],v={done:!1,value:y},S=U=>h!==void 0&&U<h||m!==void 0&&U>m,x=U=>h===void 0?m:m===void 0||Math.abs(h-U)<Math.abs(m-U)?h:m;let C=s*n;const _=y+C,E=f===void 0?_:f(_);E!==_&&(C=E-y);const R=U=>-C*Math.exp(-U/r),D=U=>E+R(U),z=U=>{const K=R(U),Z=D(U);v.done=Math.abs(K)<=p,v.value=v.done?E:Z};let H,I;const j=U=>{S(v.value)&&(H=U,I=io({keyframes:[v.value,x(v.value)],velocity:T5(D,U,v.value),damping:l,stiffness:u,restDelta:p,restSpeed:g}))};return j(0),{calculatedDuration:null,next:U=>{let K=!1;return!I&&H===void 0&&(K=!0,z(U),j(U)),H!==void 0&&U>=H?I.next(U-H):(!K&&z(U),v)}}}function YM(t,n,s){const r=[],l=s||Ui.mix||b5,u=t.length-1;for(let f=0;f<u;f++){let h=l(t[f],t[f+1]);if(n){const m=Array.isArray(n)?n[f]||Ne:n;h=ho(m,h)}r.push(h)}return r}function im(t,n,{clamp:s=!0,ease:r,mixer:l}={}){const u=t.length;if(Pu(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const f=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=YM(n,r,l),m=h.length,p=g=>{if(f&&g<t[0])return n[0];let y=0;if(m>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const v=Cs(t[y],t[y+1],g);return h[y](v)};return s?g=>p(bn(t[0],t[u-1],g)):p}function w5(t,n){const s=t[t.length-1];for(let r=1;r<=n;r++){const l=Cs(0,n,r);t.push(Bt(s,1,l))}}function sm(t){const n=[0];return w5(n,t.length-1),n}function KM(t,n){return t.map(s=>s*n)}function QM(t,n){return t.map(()=>n||o5).splice(0,t.length-1)}function Fr({duration:t=300,keyframes:n,times:s,ease:r="easeInOut"}){const l=l5(r)?r.map(zv):zv(r),u={done:!1,value:n[0]},f=KM(s&&s.length===n.length?s:sm(n),t),h=im(f,n,{ease:Array.isArray(l)?l:QM(n,l)});return{calculatedDuration:t,next:m=>(u.value=h(m),u.done=m>=t,u)}}const XM=t=>t!==null;function Bu(t,{repeat:n,repeatType:s="loop"},r,l=1){const u=t.filter(XM),h=l<0||n&&s!=="loop"&&n%2===1?0:u.length-1;return!h||r===void 0?u[h]:r}const ZM={decay:oh,inertia:oh,tween:Fr,keyframes:Fr,spring:io};function _5(t){typeof t.type=="string"&&(t.type=ZM[t.type])}class am{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,s){return this.finished.then(n,s)}}const JM=t=>t/100;class so extends am{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Ae.now()&&this.tick(Ae.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;_5(n);const{type:s=Fr,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:f=0}=n;let{keyframes:h}=n;const m=s||Fr;m!==Fr&&typeof h[0]!="number"&&(this.mixKeyframes=ho(JM,b5(h[0],h[1])),h=[0,100]);const p=m({...n,keyframes:h});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...h].reverse(),velocity:-f})),p.calculatedDuration===null&&(p.calculatedDuration=nm(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=p}updateTime(n){const s=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(n,s=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:g,repeat:y,repeatType:v,repeatDelay:S,type:x,onUpdate:C,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),s?this.currentTime=n:this.updateTime(n);const E=this.currentTime-p*(this.playbackSpeed>=0?1:-1),R=this.playbackSpeed>=0?E<0:E>l;this.currentTime=Math.max(E,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let D=this.currentTime,z=r;if(y){const U=Math.min(this.currentTime,l)/h;let K=Math.floor(U),Z=U%1;!Z&&U>=1&&(Z=1),Z===1&&K--,K=Math.min(K,y+1),K%2&&(v==="reverse"?(Z=1-Z,S&&(Z-=S/h)):v==="mirror"&&(z=f)),D=bn(0,1,Z)*h}let H;R?(this.delayState.value=g[0],H=this.delayState):H=z.next(D),u&&!R&&(H.value=u(H.value));let{done:I}=H;!R&&m!==null&&(I=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const j=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return j&&x!==oh&&(H.value=Bu(g,this.options,_,this.speed)),C&&C(H.value),j&&this.finish(),H}then(n,s){return this.finished.then(n,s)}get duration(){return cn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+cn(n)}get time(){return cn(this.currentTime)}set time(n){n=Ue(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const s=this.generator.next(n).value;return T5(r=>this.generator.next(r).value,n,s)}get speed(){return this.playbackSpeed}set speed(n){const s=this.playbackSpeed!==n;s&&this.driver&&this.updateTime(Ae.now()),this.playbackSpeed=n,s&&this.driver&&(this.time=cn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=NM,startTime:s}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ae.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function $M(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Ss=t=>t*180/Math.PI,lh=t=>{const n=Ss(Math.atan2(t[1],t[0]));return uh(n)},WM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:lh,rotateZ:lh,skewX:t=>Ss(Math.atan(t[1])),skewY:t=>Ss(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},uh=t=>(t=t%360,t<0&&(t+=360),t),kv=lh,Hv=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),qv=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),t6={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Hv,scaleY:qv,scale:t=>(Hv(t)+qv(t))/2,rotateX:t=>uh(Ss(Math.atan2(t[6],t[5]))),rotateY:t=>uh(Ss(Math.atan2(-t[2],t[0]))),rotateZ:kv,rotate:kv,skewX:t=>Ss(Math.atan(t[4])),skewY:t=>Ss(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ch(t){return t.includes("scale")?1:0}function fh(t,n){if(!t||t==="none")return ch(n);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=t6,l=s;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=WM,l=h}if(!l)return ch(n);const u=r[n],f=l[1].split(",").map(n6);return typeof u=="function"?u(f):f[u]}const e6=(t,n)=>{const{transform:s="none"}=getComputedStyle(t);return fh(s,n)};function n6(t){return parseFloat(t.trim())}const Ba=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Na=new Set([...Ba,"pathRotation"]),Gv=t=>t===Pa||t===rt,i6=new Set(["x","y","z"]),s6=Ba.filter(t=>!i6.has(t));function a6(t){const n=[];return s6.forEach(s=>{const r=t.getValue(s);r!==void 0&&(n.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),n}const Bi={width:({x:t},{paddingLeft:n="0",paddingRight:s="0",boxSizing:r})=>{const l=t.max-t.min;return r==="border-box"?l:l-parseFloat(n)-parseFloat(s)},height:({y:t},{paddingTop:n="0",paddingBottom:s="0",boxSizing:r})=>{const l=t.max-t.min;return r==="border-box"?l:l-parseFloat(n)-parseFloat(s)},top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>fh(n,"x"),y:(t,{transform:n})=>fh(n,"y")};Bi.translateX=Bi.x;Bi.translateY=Bi.y;const ws=new Set;let dh=!1,hh=!1,mh=!1;function E5(){if(hh){const t=Array.from(ws).filter(r=>r.needsMeasurement),n=new Set(t.map(r=>r.element)),s=new Map;n.forEach(r=>{const l=a6(r);l.length&&(s.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),n.forEach(r=>{r.render();const l=s.get(r);l&&l.forEach(([u,f])=>{r.getValue(u)?.set(f)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}hh=!1,dh=!1,ws.forEach(t=>t.complete(mh)),ws.clear()}function A5(){ws.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(hh=!0)})}function r6(){mh=!0,A5(),E5(),mh=!1}class rm{constructor(n,s,r,l,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=s,this.name=r,this.motionValue=l,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(ws.add(this),dh||(dh=!0,xt.read(A5),xt.resolveKeyframes(E5))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:s,element:r,motionValue:l}=this;if(n[0]===null){const u=l?.get(),f=n[n.length-1];if(u!==void 0)n[0]=u;else if(r&&s){const h=r.readValue(s,f);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=f),l&&u===void 0&&l.set(n[0])}$M(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),ws.delete(this)}cancel(){this.state==="scheduled"&&(ws.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const o6=t=>t.startsWith("--");function C5(t,n,s){o6(n)?t.style.setProperty(n,s):t.style[n]=s}const l6={};function om(t,n){const s=WS(t);return()=>l6[n]??s()}const lm=om(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),R5=om(()=>window.ViewTimeline!==void 0,"viewTimeline"),M5=om(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Hr=([t,n,s,r])=>`cubic-bezier(${t}, ${n}, ${s}, ${r})`,Fv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Hr([0,.65,.55,1]),circOut:Hr([.55,0,1,.45]),backIn:Hr([.31,.01,.66,-.59]),backOut:Hr([.33,1.53,.69,.99])};function D5(t,n){if(t)return typeof t=="function"?M5()?S5(t,n):"ease-out":c5(t)?Hr(t):Array.isArray(t)?t.map(s=>D5(s,n)||Fv.easeOut):Fv[t]}function u6(t,n,s,{delay:r=0,duration:l=300,repeat:u=0,repeatType:f="loop",ease:h="easeOut",times:m}={},p=void 0){const g={[n]:s};m&&(g.offset=m);const y=D5(h,l);Array.isArray(y)&&(g.easing=y);const v={delay:r,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return p&&(v.pseudoElement=p),t.animate(g,v)}function um(t){return typeof t=="function"&&"applyToOptions"in t}function c6({type:t,...n}){return um(t)&&M5()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class O5 extends am{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:s,name:r,keyframes:l,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=n,Pu(typeof n.type!="string");const p=c6(n);this.animation=u6(s,r,l,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=Bu(l,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),C5(s,r,g),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const n=this.options?.element;!this.isPseudoElement&&n?.isConnected&&this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return cn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+cn(n)}get time(){return cn(Number(this.animation.currentTime)||0)}set time(n){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ue(n),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:s,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&lm()?(this.animation.timeline=n,s&&(this.animation.rangeStart=s),r&&(this.animation.rangeEnd=r),Ne):l(this)}}const L5={anticipate:s5,backInOut:i5,circInOut:r5};function f6(t){return t in L5}function d6(t){typeof t.ease=="string"&&f6(t.ease)&&(t.ease=L5[t.ease])}const Rd=10;class h6 extends O5{constructor(n){d6(n),_5(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:s,onUpdate:r,onComplete:l,element:u,...f}=this.options;if(!s)return;if(n!==void 0){s.set(n);return}const h=new so({...f,autoplay:!1}),m=Math.max(Rd,Ae.now()-this.startTime),p=bn(0,Rd,m-Rd),g=h.sample(m).value,{name:y}=this.options;u&&y&&C5(u,y,g),s.setWithVelocity(h.sample(Math.max(0,m-p)).value,g,p),h.stop()}}const Iv=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(vn.test(t)||t==="0")&&!t.startsWith("url("));function m6(t){const n=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==n)return!0}function p6(t,n,s,r){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],f=Iv(l,n),h=Iv(u,n);return!f||!h?!1:m6(t)||(s==="spring"||um(s))&&r}function ph(t){t.duration=0,t.type="keyframes"}const z5=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),y6=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function g6(t){for(let n=0;n<t.length;n++)if(typeof t[n]=="string"&&y6.test(t[n]))return!0;return!1}const v6=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),b6=WS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function S6(t){const{motionValue:n,name:s,repeatDelay:r,repeatType:l,damping:u,type:f,keyframes:h}=t,m=n?.owner?.current;if(!(m instanceof HTMLElement)&&!(m instanceof SVGElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return b6()&&s&&(z5.has(s)||v6.has(s)&&g6(h))&&(s!=="transform"||!g)&&!p&&!r&&l!=="mirror"&&u!==0&&f!=="inertia"}const x6=40;class T6 extends am{constructor({autoplay:n=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:f="loop",keyframes:h,name:m,motionValue:p,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ae.now();const v={autoplay:n,delay:s,type:r,repeat:l,repeatDelay:u,repeatType:f,name:m,motionValue:p,element:g,...y},S=g?.KeyframeResolver||rm;this.keyframeResolver=new S(h,(x,C,_)=>this.onKeyframesResolved(x,C,v,!_),m,p,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,s,r,l){this.keyframeResolver=void 0;const{name:u,type:f,velocity:h,delay:m,isHandoff:p,onUpdate:g}=r;this.resolvedAt=Ae.now();let y=!0;p6(n,u,f,h)||(y=!1,(Ui.instantAnimations||!m)&&g?.(Bu(n,r,s)),n[0]=n[n.length-1],ph(r),r.repeat=0);const S={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>x6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:n},x=y&&!p&&S6(S),C=S.motionValue?.owner?.current;let _;if(x)try{_=new h6({...S,element:C})}catch{_=new so(S)}else _=new so(S);_.finished.then(()=>{this.notifyFinished()}).catch(Ne),this.pendingTimeline&&(this.stopTimeline=_.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=_}get finished(){return this._animation?this.animation.finished:this._finished}then(n,s){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),r6()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class w6{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>n.finished))}getAll(n){return this.animations[0][n]}setAll(n,s){for(let r=0;r<this.animations.length;r++)this.animations[r][n]=s}attachTimeline(n){const s=this.animations.map(r=>r.attachTimeline(n));return()=>{s.forEach((r,l)=>{r&&r(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return Yv(this.animations,"duration")}get iterationDuration(){return Yv(this.animations,"iterationDuration")}runAll(n){this.animations.forEach(s=>s[n]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Yv(t,n){let s=0;for(let r=0;r<t.length;r++){const l=t[r][n];l!==null&&l>s&&(s=l)}return s}class _6 extends w6{then(n,s){return this.finished.finally(n).then(()=>{})}}function V5(t,n,s,r=0,l=1){const u=Array.from(t).sort((p,g)=>p.sortNodePosition(g)).indexOf(n),f=t.size,h=(f-1)*r;return typeof s=="function"?s(u,f):l===1?u*r:h-u*r}const Kv=30,E6=t=>!isNaN(parseFloat(t)),Ir={current:void 0};class A6{constructor(n,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=Ae.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=s.owner}setCurrent(n){this.current=n,this.updatedAt=Ae.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=E6(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,s){this.events[n]||(this.events[n]=new Kh);const r=this.events[n].add(s);return n==="change"?()=>{r(),xt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,s){this.passiveEffect=n,this.stopPassiveEffect=s}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-r}jump(n,s=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return Ir.current&&Ir.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const n=Ae.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Kv)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Kv);return Qh(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(n){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=n(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function fn(t,n){return new A6(t,n)}function j5(t,n){if(t?.inherit&&n){const{inherit:s,...r}=t;return{...n,...r}}return t}function cm(t,n){const s=t?.[n]??t?.default??t;return s!==t?j5(s,t):s}const C6={type:"spring",stiffness:500,damping:25,restSpeed:10},R6=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),M6={type:"keyframes",duration:.8},D6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},O6=(t,{keyframes:n})=>n.length>2?M6:Na.has(t)?t.startsWith("scale")?R6(n[1]):C6:D6,L6=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function z6(t){for(const n in t)if(!L6.has(n))return!0;return!1}const fm=(t,n,s,r={},l,u)=>f=>{const h=cm(r,t)||{},m=h.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Ue(m);const g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:v=>{n.set(v),h.onUpdate&&h.onUpdate(v)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:u?void 0:l};z6(h)||Object.assign(g,O6(t,g)),g.duration&&(g.duration=Ue(g.duration)),g.repeatDelay&&(g.repeatDelay=Ue(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(ph(g),g.delay===0&&(y=!0)),(Ui.instantAnimations||Ui.skipAnimations||l?.shouldSkipAnimations||h.skipAnimations)&&(y=!0,ph(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,y&&!u&&n.get()!==void 0){const v=Bu(g.keyframes,h);if(v!==void 0){xt.update(()=>{g.onUpdate(v),g.onComplete()});return}}return h.isSync?new so(g):new T6(g)},V6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function j6(t){const n=V6.exec(t);if(!n)return[,];const[,s,r,l]=n;return[`--${s??r}`,l]}function P5(t,n,s=1){const[r,l]=j6(t);if(!r)return;const u=window.getComputedStyle(n).getPropertyValue(r);if(u){const f=u.trim();return ZS(f)?parseFloat(f):f}return $h(l)?P5(l,n,s+1):l}function Qv(t){const n=[{},{}];return t?.values.forEach((s,r)=>{n[0][r]=s.get(),n[1][r]=s.getVelocity()}),n}function dm(t,n,s,r){if(typeof n=="function"){const[l,u]=Qv(r);n=n(s!==void 0?s:t.custom,l,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,u]=Qv(r);n=n(s!==void 0?s:t.custom,l,u)}return n}function _s(t,n,s){const r=t.getProps();return dm(r,n,s!==void 0?s:r.custom,t)}const B5=new Set(["width","height","top","left","right","bottom",...Ba]),yh=t=>Array.isArray(t);function P6(t,n,s){t.hasValue(n)?t.getValue(n).set(s):t.addValue(n,fn(s))}function B6(t){return yh(t)?t[t.length-1]||0:t}function N6(t,n){const s=_s(t,n);let{transitionEnd:r={},transition:l={},...u}=s||{};u={...u,...r};for(const f in u){const h=B6(u[f]);P6(t,f,h)}}const $t=t=>!!(t&&t.getVelocity);function U6(t){return!!($t(t)&&t.add)}function gh(t,n){const s=t.getValue("willChange");if(U6(s))return s.add(n);if(!s&&Ui.WillChange){const r=new Ui.WillChange("auto");t.addValue("willChange",r),r.add(n)}}function hm(t){return t.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const k6="framerAppearId",N5="data-"+hm(k6);function U5(t){return t.props[N5]}function H6({protectedKeys:t,needsAnimating:n},s){const r=t.hasOwnProperty(s)&&n[s]!==!0;return n[s]=!1,r}function mm(t,n,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:u,transitionEnd:f,...h}=n;const m=t.getDefaultTransition();u=u?j5(u,m):m;const p=u?.reduceMotion,g=u?.skipAnimations;r&&(u=r);const y=[],v=l&&t.animationState&&t.animationState.getState()[l],S=u?.path;S&&S.animateVisualElement(t,h,u,s,y);for(const x in h){const C=t.getValue(x,t.latestValues[x]??null),_=h[x];if(_===void 0||v&&H6(v,x))continue;const E={delay:s,...cm(u||{},x)};g&&(E.skipAnimations=!0);const R=C.get();if(R!==void 0&&!C.isAnimating()&&!Array.isArray(_)&&_===R&&!E.velocity){xt.update(()=>C.set(_));continue}let D=!1;if(window.MotionHandoffAnimation){const I=U5(t);if(I){const j=window.MotionHandoffAnimation(I,x,xt);j!==null&&(E.startTime=j,D=!0)}}gh(t,x);const z=p??t.shouldReduceMotion;C.start(fm(x,C,_,z&&B5.has(x)?{type:!1}:E,t,D));const H=C.animation;H&&y.push(H)}if(f){const x=()=>xt.update(()=>{f&&N6(t,f)});y.length?Promise.all(y).then(x):x()}return y}function vh(t,n,s={}){const r=_s(t,n,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(l=s.transitionOverride);const u=r?()=>Promise.all(mm(t,r,s)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=l;return q6(t,n,m,p,g,y,s)}:()=>Promise.resolve(),{when:h}=l;if(h){const[m,p]=h==="beforeChildren"?[u,f]:[f,u];return m().then(()=>p())}else return Promise.all([u(),f(s.delay)])}function q6(t,n,s=0,r=0,l=0,u=1,f){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push(vh(m,n,{...f,delay:s+(typeof r=="function"?0:r)+V5(t.variantChildren,m,r,l,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function G6(t,n,s={}){t.notify("AnimationStart",n);let r;if(Array.isArray(n)){const l=n.map(u=>vh(t,u,s));r=Promise.all(l)}else if(typeof n=="string")r=vh(t,n,s);else{const l=typeof n=="function"?_s(t,n,s.custom):n;r=Promise.all(mm(t,l,s))}return r.then(()=>{t.notify("AnimationComplete",n)})}const F6={test:t=>t==="auto",parse:t=>t},k5=t=>n=>n.test(t),H5=[Pa,rt,On,ti,bM,vM,F6],Xv=t=>H5.find(k5(t));function I6(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||$S(t):!0}const Y6=new Set(["brightness","contrast","saturate","opacity"]);function K6(t){const[n,s]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[r]=s.match(Wh)||[];if(!r)return t;const l=s.replace(r,"");let u=Y6.has(n)?1:0;return r!==s&&(u*=100),n+"("+u+l+")"}const Q6=/\b([a-z-]*)\(.*?\)/gu,bh={...vn,getAnimatableNone:t=>{const n=t.match(Q6);return n?n.map(K6).join(" "):t}},Sh={...vn,getAnimatableNone:t=>{const n=vn.parse(t);return vn.createTransformer(t)(n.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Zv={...Pa,transform:Math.round},X6={rotate:ti,pathRotation:ti,rotateX:ti,rotateY:ti,rotateZ:ti,scale:ql,scaleX:ql,scaleY:ql,scaleZ:ql,skew:ti,skewX:ti,skewY:ti,distance:rt,translateX:rt,translateY:rt,translateZ:rt,x:rt,y:rt,z:rt,perspective:rt,transformPerspective:rt,opacity:no,originX:jv,originY:jv,originZ:rt},bu={borderWidth:rt,borderTopWidth:rt,borderRightWidth:rt,borderBottomWidth:rt,borderLeftWidth:rt,borderRadius:rt,borderTopLeftRadius:rt,borderTopRightRadius:rt,borderBottomRightRadius:rt,borderBottomLeftRadius:rt,width:rt,maxWidth:rt,height:rt,maxHeight:rt,top:rt,right:rt,bottom:rt,left:rt,inset:rt,insetBlock:rt,insetBlockStart:rt,insetBlockEnd:rt,insetInline:rt,insetInlineStart:rt,insetInlineEnd:rt,padding:rt,paddingTop:rt,paddingRight:rt,paddingBottom:rt,paddingLeft:rt,paddingBlock:rt,paddingBlockStart:rt,paddingBlockEnd:rt,paddingInline:rt,paddingInlineStart:rt,paddingInlineEnd:rt,margin:rt,marginTop:rt,marginRight:rt,marginBottom:rt,marginLeft:rt,marginBlock:rt,marginBlockStart:rt,marginBlockEnd:rt,marginInline:rt,marginInlineStart:rt,marginInlineEnd:rt,fontSize:rt,backgroundPositionX:rt,backgroundPositionY:rt,...X6,zIndex:Zv,fillOpacity:no,strokeOpacity:no,numOctaves:Zv},Z6={...bu,color:se,backgroundColor:se,outlineColor:se,fill:se,stroke:se,borderColor:se,borderTopColor:se,borderRightColor:se,borderBottomColor:se,borderLeftColor:se,filter:bh,WebkitFilter:bh,mask:Sh,WebkitMask:Sh},q5=t=>Z6[t],J6=new Set([bh,Sh]);function G5(t,n){let s=q5(t);return J6.has(s)||(s=vn),s.getAnimatableNone?s.getAnimatableNone(n):void 0}const $6=new Set(["auto","none","0"]);function W6(t,n,s){let r=0,l;for(;r<t.length&&!l;){const u=t[r];typeof u=="string"&&!$6.has(u)&&za(u).values.length&&(l=t[r]),r++}if(l&&s)for(const u of n)t[u]=G5(s,l)}class t9 extends rm{constructor(n,s,r,l,u){super(n,s,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let g=0;g<n.length;g++){let y=n[g];if(typeof y=="string"&&(y=y.trim(),$h(y))){const v=P5(y,s.current);v!==void 0&&(n[g]=v),g===n.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!B5.has(r)||n.length!==2)return;const[l,u]=n,f=Xv(l),h=Xv(u),m=Vv(l),p=Vv(u);if(m!==p&&Bi[r]){this.needsMeasurement=!0;return}if(f!==h)if(Gv(f)&&Gv(h))for(let g=0;g<n.length;g++){const y=n[g];typeof y=="string"&&(n[g]=parseFloat(y))}else Bi[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:s}=this,r=[];for(let l=0;l<n.length;l++)(n[l]===null||I6(n[l]))&&r.push(l);r.length&&W6(n,r,s)}measureInitialState(){const{element:n,unresolvedKeyframes:s,name:r}=this;if(!n||!n.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Bi[r](n.measureViewportBox(),window.getComputedStyle(n.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&n.getValue(r,l).jump(l,!1)}measureEndState(){const{element:n,name:s,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const l=n.getValue(s);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,f=r[u];r[u]=Bi[s](n.measureViewportBox(),window.getComputedStyle(n.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,m])=>{n.getValue(h).set(m)}),this.resolveNoneKeyframes()}}const pm=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function ym(t,n,s){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;n&&(r=n.current);const l=s?.[t]??r.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t).filter(r=>r!=null)}const xh=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function F5(t){return JS(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:Va,cancel:I5}=f5(queueMicrotask,!1),gn={x:!1,y:!1};function Y5(){return gn.x||gn.y}function e9(t){return t==="x"||t==="y"?gn[t]?null:(gn[t]=!0,()=>{gn[t]=!1}):gn.x||gn.y?null:(gn.x=gn.y=!0,()=>{gn.x=gn.y=!1})}function K5(t,n){const s=ym(t),r=new AbortController,l={passive:!0,...n,signal:r.signal};return[s,l,()=>r.abort()]}function n9(t){return!(t.pointerType==="touch"||Y5())}function i9(t,n,s={}){const[r,l,u]=K5(t,s);return r.forEach(f=>{let h=!1,m=!1,p;const g=()=>{f.removeEventListener("pointerleave",x)},y=_=>{p&&(p(_),p=void 0),g()},v=_=>{h=!1,window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",v),m&&(m=!1,y(_))},S=()=>{h=!0,window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",v,l)},x=_=>{if(_.pointerType!=="touch"){if(h){m=!0;return}y(_)}},C=_=>{if(!n9(_))return;m=!1;const E=n(f,_);typeof E=="function"&&(p=E,f.addEventListener("pointerleave",x,l))};f.addEventListener("pointerenter",C,l),f.addEventListener("pointerdown",S,l)}),u}const Q5=(t,n)=>n?t===n?!0:Q5(t,n.parentElement):!1,gm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,s9=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a9(t){return s9.has(t.tagName)||t.isContentEditable===!0}const r9=new Set(["INPUT","SELECT","TEXTAREA"]);function o9(t){return r9.has(t.tagName)||t.isContentEditable===!0}const Wl=new WeakSet;function Jv(t){return n=>{n.key==="Enter"&&t(n)}}function Md(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const l9=(t,n)=>{const s=t.currentTarget;if(!s)return;const r=Jv(()=>{if(Wl.has(s))return;Md(s,"down");const l=Jv(()=>{Md(s,"up")}),u=()=>Md(s,"cancel");s.addEventListener("keyup",l,n),s.addEventListener("blur",u,n)});s.addEventListener("keydown",r,n),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),n)};function $v(t){return gm(t)&&!Y5()}const Wv=new WeakSet;function u9(t,n,s={}){const[r,l,u]=K5(t,s),f=h=>{const m=h.currentTarget;if(!$v(h)||Wv.has(h))return;Wl.add(m),s.stopPropagation&&Wv.add(h);const p=n(m,h),g={...l,capture:!0},y=(x,C)=>{window.removeEventListener("pointerup",v,g),window.removeEventListener("pointercancel",S,g),Wl.has(m)&&Wl.delete(m),$v(x)&&typeof p=="function"&&p(x,{success:C})},v=x=>{y(x,m===window||m===document||s.useGlobalTarget||Q5(m,x.target))},S=x=>{y(x,!1)};window.addEventListener("pointerup",v,g),window.addEventListener("pointercancel",S,g)};return r.forEach(h=>{(s.useGlobalTarget?window:h).addEventListener("pointerdown",f,l),F5(h)&&(h.addEventListener("focus",p=>l9(p,l)),!a9(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function Nu(t){return JS(t)&&"ownerSVGElement"in t}const tu=new WeakMap;let eu;const X5=(t,n,s)=>(r,l)=>l&&l[0]?l[0][t+"Size"]:Nu(r)&&"getBBox"in r?r.getBBox()[n]:r[s],c9=X5("inline","width","offsetWidth"),f9=X5("block","height","offsetHeight");function d9({target:t,borderBoxSize:n}){tu.get(t)?.forEach(s=>{s(t,{get width(){return c9(t,n)},get height(){return f9(t,n)}})})}function h9(t){t.forEach(d9)}function m9(){typeof ResizeObserver>"u"||(eu=new ResizeObserver(h9))}function p9(t,n){eu||m9();const s=ym(t);return s.forEach(r=>{let l=tu.get(r);l||(l=new Set,tu.set(r,l)),l.add(n),eu?.observe(r)}),()=>{s.forEach(r=>{const l=tu.get(r);l?.delete(n),l?.size||eu?.unobserve(r)})}}const nu=new Set;let Aa;function y9(){Aa=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};nu.forEach(n=>n(t))},window.addEventListener("resize",Aa)}function g9(t){return nu.add(t),Aa||y9(),()=>{nu.delete(t),!nu.size&&typeof Aa=="function"&&(window.removeEventListener("resize",Aa),Aa=void 0)}}function Th(t,n){return typeof t=="function"?g9(t):p9(t,n)}function Z5(t,n){let s;const r=()=>{const{currentTime:l}=n,f=(l===null?0:l.value)/100;s!==f&&t(f),s=f};return xt.preUpdate(r,!0),()=>Ze(r)}function J5(t){return Nu(t)&&t.tagName==="svg"}function v9(...t){const n=!Array.isArray(t[0]),s=n?0:-1,r=t[0+s],l=t[1+s],u=t[2+s],f=t[3+s],h=im(l,u,f);return n?h(r):h}function b9(t,n,s={}){const r=t.get();let l=null,u=r,f;const h=typeof r=="string"?r.replace(/[\d.-]/g,""):void 0,m=()=>{l&&(l.stop(),l=null),t.animation=void 0},p=()=>{const y=t1(t.get()),v=t1(u);if(y===v){m();return}const S=l?l.getGeneratorVelocity():t.getVelocity();m(),l=new so({keyframes:[y,v],velocity:S,type:"spring",restDelta:.001,restSpeed:.01,...s,onUp
12date:f})},g=()=>{p(),t.animation=l??void 0,t.events.animationStart?.notify(),l?.then(()=>{t.animation=void 0,t.events.animationComplete?.notify()})};if(t.attach((y,v)=>{u=y,f=S=>v(Dd(S,h)),xt.postRender(g)},m),$t(n)){let y=s.skipInitialAnimation===!0;const v=n.on("change",x=>{y?(y=!1,t.jump(Dd(x,h),!1)):t.set(Dd(x,h))}),S=t.on("destroy",v);return()=>{v(),S()}}return m}function Dd(t,n){return n?t+n:t}function t1(t){return typeof t=="number"?t:parseFloat(t)}const S9=[...H5,se,vn],x9=t=>S9.find(k5(t)),e1=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ca=()=>({x:e1(),y:e1()}),n1=()=>({min:0,max:0}),ie=()=>({x:n1(),y:n1()}),ao=new WeakMap;function Uu(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function ro(t){return typeof t=="string"||Array.isArray(t)}const vm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bm=["initial",...vm];function ku(t){return Uu(t.animate)||bm.some(n=>ro(t[n]))}function $5(t){return!!(ku(t)||t.variants)}function T9(t,n,s){for(const r in n){const l=n[r],u=s[r];if($t(l))t.addValue(r,l);else if($t(u))t.addValue(r,fn(l,{owner:t}));else if(u!==l)if(t.hasValue(r)){const f=t.getValue(r);f.liveStyle===!0?f.jump(l):f.hasAnimated||f.set(l)}else{const f=t.getStaticValue(r);t.addValue(r,fn(f!==void 0?f:l,{owner:t}))}}for(const r in s)n[r]===void 0&&t.removeValue(r);return n}const Su={current:null},Sm={current:!1},w9=typeof window<"u";function W5(){if(Sm.current=!0,!!w9)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Su.current=t.matches;t.addEventListener("change",n),n()}else Su.current=!1}const i1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let xu={};function tx(t){xu=t}function _9(){return xu}class ex{scrapeMotionValuesFromProps(n,s,r){return{}}constructor({parent:n,props:s,presenceContext:r,reducedMotionConfig:l,skipAnimations:u,blockInitialAnimation:f,visualState:h},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=rm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Ae.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,xt.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=s,this.presenceContext=r,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!f,this.isControllingVariants=ku(s),this.isVariantNode=$5(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(s,{},this);for(const S in v){const x=v[S];p[S]!==void 0&&$t(x)&&x.set(p[S])}}mount(n){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=n,ao.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Sm.current||W5(),this.shouldReduceMotion=Su.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ze(this.notifyUpdate),Ze(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const s=this.features[n];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}
vendor: 69,840 bytes, line 12
12bindToMotionValue(n,s){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),s.accelerate&&z5.has(n)&&this.current instanceof HTMLElement){const{factory:f,keyframes:h,times:m,ease:p,duration:g}=s.accelerate,y=new O5({element:this.current,name:n,keyframes:h,times:m,ease:p,duration:Ue(g)}),v=f(y);this.valueSubscriptions.set(n,()=>{v(),y.cancel()});return}const r=Na.has(n);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",f=>{this.latestValues[n]=f,this.props.onUpdate&&xt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,s)),this.valueSubscriptions.set(n,()=>{l(),u&&u()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in xu){const s=xu[n];if(!s)continue;const{isEnabled:r,Feature:l}=s;if(!this.features[n]&&l&&r(this.props)&&(this.features[n]=new l(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ie()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,s){this.latestValues[n]=s}update(n,s){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<i1.length;r++){const l=i1[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,f=n[u];f&&(this.propEventSubscriptions[l]=this.on(l,f))}this.prevMotionValues=T9(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(n),()=>s.variantChildren.delete(n)}addValue(n,s){const r=this.values.get(n);s!==r&&(r&&this.removeValue(n),this.bindToMotionValue(n,s),this.values.set(n,s),this.latestValues[n]=s.get())}removeValue(n){this.values.delete(n);const s=this.valueSubscriptions.get(n);s&&(s(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,s){if(this.props.values&&this.props.values[n])return this.props.values[n];let r=this.values.get(n);return r===void 0&&s!==void 0&&(r=fn(s===null?void 0:s,{owner:this}),this.addValue(n,r)),r}readValue(n,s){let r=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return r!=null&&(typeof r=="string"&&(ZS(r)||$S(r))?r=parseFloat(r):!x9(r)&&vn.test(s)&&(r=G5(n,s)),this.setBaseTarget(n,$t(r)?r.get():r)),$t(r)?r.get():r}setBaseTarget(n,s){this.baseTarget[n]=s}getBaseTarget(n){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const u=dm(this.props,s,this.presenceContext?.custom);u&&(r=u[n])}if(s&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!$t(l)?l:this.initialValues[n]!==void 0&&r===void 0?void 0:this.baseTarget[n]}on(n,s){return this.events[n]||(this.events[n]=new Kh),this.events[n].add(s)}notify(n,...s){this.events[n]&&this.events[n].notify(...s)}scheduleRenderMicrotask(){Va.render(this.render)}}class nx extends ex{constructor(){super(...arguments),this.KeyframeResolver=t9}sortInstanceNodePosition(n,s){return n.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(n,s){const r=n.style;return r?r[s]:void 0}removeValueFromRenderState(n,{vars:s,style:r}){delete s[n],delete r[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;$t(n)&&(this.childSubscription=n.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class Fi{constructor(n){this.isMounted=!1,this.node=n}update(){}}function ix({top:t,left:n,right:s,bottom:r}){return{x:{min:n,max:s},y:{min:t,max:r}}}function E9({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function A9(t,n){if(!n)return t;const s=n({x:t.left,y:t.top}),r=n({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Od(t){return t===void 0||t===1}function wh({scale:t,scaleX:n,scaleY:s}){return!Od(t)||!Od(n)||!Od(s)}function ms(t){return wh(t)||sx(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function sx(t){return s1(t.x)||s1(t.y)}function s1(t){return t&&t!=="0%"}function Tu(t,n,s){const r=t-s,l=n*r;return s+l}function a1(t,n,s,r,l){return l!==void 0&&(t=Tu(t,l,r)),Tu(t,s,r)+n}function _h(t,n=0,s=1,r,l){t.min=a1(t.min,n,s,r,l),t.max=a1(t.max,n,s,r,l)}function ax(t,{x:n,y:s}){_h(t.x,n.translate,n.scale,n.originPoint),_h(t.y,s.translate,s.scale,s.originPoint)}const r1=.999999999999,o1=1.0000000000001;function C9(t,n,s,r=!1){const l=s.length;if(!l)return;n.x=n.y=1;let u,f;for(let h=0;h<l;h++){u=s[h],f=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(Dn(t.x,-u.scroll.offset.x),Dn(t.y,-u.scroll.offset.y)),f&&(n.x*=f.x.scale,n.y*=f.y.scale,ax(t,f)),r&&ms(u.latestValues)&&iu(t,u.latestValues,u.layout?.layoutBox))}n.x<o1&&n.x>r1&&(n.x=1),n.y<o1&&n.y>r1&&(n.y=1)}function Dn(t,n){t.min+=n,t.max+=n}function l1(t,n,s,r,l=.5){const u=Bt(t.min,t.max,l);_h(t,n,s,u,r)}function u1(t,n){return typeof t=="string"?parseFloat(t)/100*(n.max-n.min):t}function iu(t,n,s){const r=s??t;l1(t.x,u1(n.x,r.x),n.scaleX,n.scale,n.originX),l1(t.y,u1(n.y,r.y),n.scaleY,n.scale,n.originY)}function rx(t,n){return ix(A9(t.getBoundingClientRect(),n))}function R9(t,n,s){const r=rx(t,s),{scroll:l}=n;return l&&(Dn(r.x,l.offset.x),Dn(r.y,l.offset.y)),r}const M9={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},D9=Ba.length;function O9(t,n,s){let r="",l=!0;for(let f=0;f<D9;f++){const h=Ba[f],m=t[h];if(m===void 0)continue;let p=!0;if(typeof m=="number")p=m===(h.startsWith("scale")?1:0);else{const g=parseFloat(m);p=h.startsWith("scale")?g===1:g===0}if(!p||s){const g=xh(m,bu[h]);if(!p){l=!1;const y=M9[h]||h;r+=`${y}(${g}) `}s&&(n[h]=g)}}const u=t.pathRotation;return u&&(l=!1,r+=`rotate(${xh(u,bu.pathRotation)}) `),r=r.trim(),s?r=s(n,l?"":r):l&&(r="none"),r}function xm(t,n,s){const{style:r,vars:l,transformOrigin:u}=t;let f=!1,h=!1;for(const m in n){const p=n[m];if(Na.has(m)){f=!0;continue}else if(h5(m)){l[m]=p;continue}else{const g=xh(p,bu[m]);m.startsWith("origin")?(h=!0,u[m]=g):r[m]=g}}if(n.transform||(f||s?r.transform=O9(n,t.transform,s):r.transform&&(r.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=u;r.transformOrigin=`${m} ${p} ${g}`}}function ox(t,{style:n,vars:s},r,l){const u=t.style;let f;for(f in n)u[f]=n[f];l?.applyProjectionStyles(u,r);for(f in s)u.setProperty(f,s[f])}function c1(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Ur={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(rt.test(t))t=parseFloat(t);else return t;const s=c1(t,n.target.x),r=c1(t,n.target.y);return`${s}% ${r}%`}},L9={correct:(t,{treeScale:n,projectionDelta:s})=>{const r=t,l=vn.parse(t);if(l.length>5)return r;const u=vn.createTransformer(t),f=typeof l[0]!="number"?1:0,h=s.x.scale*n.x,m=s.y.scale*n.y;l[0+f]/=h,l[1+f]/=m;const p=Bt(h,m,.5);return typeof l[2+f]=="number"&&(l[2+f]/=p),typeof l[3+f]=="number"&&(l[3+f]/=p),u(l)}},Eh={borderRadius:{...Ur,applyTo:[...pm]},borderTopLeftRadius:Ur,borderTopRightRadius:Ur,borderBottomLeftRadius:Ur,borderBottomRightRadius:Ur,boxShadow:L9};function lx(t,{layout:n,layoutId:s}){return Na.has(t)||t.startsWith("origin")||(n||s!==void 0)&&(!!Eh[t]||t==="opacity")}function Tm(t,n,s){const r=t.style,l=n?.style,u={};if(!r)return u;for(const f in r)($t(r[f])||l&&$t(l[f])||lx(f,t)||s?.getValue(f)?.liveStyle!==void 0)&&(u[f]=r[f]);return u}function z9(t){return window.getComputedStyle(t)}class ux extends nx{constructor(){super(...arguments),this.type="html",this.renderInstance=ox}mount(n){Pu(!!n.style),super.mount(n)}readValueFromInstance(n,s){if(Na.has(s))return this.projection?.isProjecting?ch(s):e6(n,s);{const r=z9(n),l=(h5(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:s}){return rx(n,s)}build(n,s,r){xm(n,s,r.transformTemplate)}scrapeMotionValuesFromProps(n,s,r){return Tm(n,s,r)}}function V9(t,n){return t in n}class j9 extends ex{constructor(){super(...arguments),this.type="object"}readValueFromInstance(n,s){if(V9(s,n)){const r=n[s];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(n,s){delete s.output[n]}measureInstanceViewportBox(){return ie()}build(n,s){Object.assign(n.output,s)}renderInstance(n,{output:s}){Object.assign(n,s)}sortInstanceNodePosition(){return 0}}const P9={offset:"stroke-dashoffset",array:"stroke-dasharray"},B9={offset:"strokeDashoffset",array:"strokeDasharray"};function N9(t,n,s=1,r=0,l=!0){t.pathLength=1;const u=l?P9:B9;t[u.offset]=`${-r}`,t[u.array]=`${n} ${s}`}const U9=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function cx(t,{attrX:n,attrY:s,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:f=0,...h},m,p,g){if(xm(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:v}=t;y.transform&&(v.transform=y.transform,delete y.transform),(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=g?.transformBox??"fill-box",delete y.transformBox);for(const S of U9)y[S]!==void 0&&(v[S]=y[S],delete y[S]);n!==void 0&&(y.x=n),s!==void 0&&(y.y=s),r!==void 0&&(y.scale=r),l!==void 0&&N9(y,l,u,f,!1)}const fx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),dx=t=>typeof t=="string"&&t.toLowerCase()==="svg";function k9(t,n,s,r){ox(t,n,void 0,r);for(const l in n.attrs)t.setAttribute(fx.has(l)?l:hm(l),n.attrs[l])}function hx(t,n,s){const r=Tm(t,n,s);for(const l in t)if($t(t[l])||$t(n[l])){const u=Ba.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=t[l]}return r}class mx extends nx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ie}getBaseTargetFromProps(n,s){return n[s]}readValueFromInstance(n,s){if(Na.has(s)){const r=q5(s);return r&&r.default||0}return s=fx.has(s)?s:hm(s),n.getAttribute(s)}scrapeMotionValuesFromProps(n,s,r){return hx(n,s,r)}build(n,s,r){cx(n,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(n,s,r,l){k9(n,s,r,l)}mount(n){this.isSVGTag=dx(n.tagName),super.mount(n)}}const H9=bm.length;function px(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?px(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const n={};for(let s=0;s<H9;s++){const r=bm[s],l=t.props[r];(ro(l)||l===!1)&&(n[r]=l)}return n}function yx(t,n){if(!Array.isArray(n))return!1;const s=n.length;if(s!==t.length)return!1;for(let r=0;r<s;r++)if(n[r]!==t[r])return!1;return!0}const q9=[...vm].reverse(),G9=vm.length;function F9(t){return n=>Promise.all(n.map(({animation:s,options:r})=>G6(t,s,r)))}function I9(t){let n=F9(t),s=f1(),r=!0,l=!1;const u=p=>(g,y)=>{const v=_s(t,y,p==="exit"?t.presenceContext?.custom:void 0);if(v){const{transition:S,transitionEnd:x,...C}=v;g={...g,...C,...x}}return g};function f(p){n=p(t)}function h(p){const{props:g}=t,y=px(t.parent)||{},v=[],S=new Set;let x={},C=1/0;for(let E=0;E<G9;E++){const R=q9[E],D=s[R],z=g[R]!==void 0?g[R]:y[R],H=ro(z),I=R===p?D.isActive:null;I===!1&&(C=E);let j=z===y[R]&&z!==g[R]&&H;if(j&&(r||l)&&t.manuallyAnimateOnMount&&(j=!1),D.protectedKeys={...x},!D.isActive&&I===null||!z&&!D.prevProp||Uu(z)||typeof z=="boolean")continue;if(R==="exit"&&D.isActive&&I!==!0){D.prevResolvedValues&&(x={...x,...D.prevResolvedValues});continue}const U=Y9(D.prevProp,z);let K=U||R===p&&D.isActive&&!j&&H||E>C&&H,Z=!1;const W=Array.isArray(z)?z:[z];let it=W.reduce(u(R),{});I===!1&&(it={});const{prevResolvedValues:At={}}=D,gt={...At,...it},Et=tt=>{K=!0,S.has(tt)&&(Z=!0,S.delete(tt)),D.needsAnimating[tt]=!0;const ct=t.getValue(tt);ct&&(ct.liveStyle=!1)};for(const tt in gt){const ct=it[tt],pt=At[tt];if(x.hasOwnProperty(tt))continue;let O=!1;yh(ct)&&yh(pt)?O=!yx(ct,pt)||U:O=ct!==pt,O?ct!=null?Et(tt):S.add(tt):ct!==void 0&&S.has(tt)?Et(tt):D.protectedKeys[tt]=!0}D.prevProp=z,D.prevResolvedValues=it,D.isActive&&(x={...x,...it}),(r||l)&&t.blockInitialAnimation&&(K=!1);const G=j&&U;K&&(!G||Z)&&v.push(...W.map(tt=>{const ct={type:R};if(typeof tt=="string"&&(r||l)&&!G&&t.manuallyAnimateOnMount&&t.parent){const{parent:pt}=t,O=_s(pt,tt);if(pt.enteringChildren&&O){const{delayChildren:Q}=O.transition||{};ct.delay=V5(pt.enteringChildren,t,Q)}}return{animation:tt,options:ct}}))}if(S.size){const E={};if(typeof g.initial!="boolean"){const R=_s(t,Array.isArray(g.initial)?g.initial[0]:g.initial);R&&R.transition&&(E.transition=R.transition)}S.forEach(R=>{const D=t.getBaseTarget(R),z=t.getValue(R);z&&(z.liveStyle=!0),E[R]=D??null}),v.push({animation:E})}let _=!!v.length;return r&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(_=!1),r=!1,l=!1,_?n(v):Promise.resolve()}function m(p,g){if(s[p].isActive===g)return Promise.resolve();t.variantChildren?.forEach(v=>v.animationState?.setActive(p,g)),s[p].isActive=g;const y=h(p);for(const v in s)s[v].protectedKeys={};return y}return{animateChanges:h,setActive:m,setAnimateFunction:f,getState:()=>s,reset:()=>{s=f1(),l=!0}}}function Y9(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!yx(n,t):!1}function hs(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f1(){return{animate:hs(!0),whileInView:hs(),whileHover:hs(),whileTap:hs(),whileDrag:hs(),whileFocus:hs(),exit:hs()}}function Ah(t,n){t.min=n.min,t.max=n.max}function yn(t,n){Ah(t.x,n.x),Ah(t.y,n.y)}function d1(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}const gx=1e-4,K9=1-gx,Q9=1+gx,vx=.01,X9=0-vx,Z9=0+vx;function Ce(t){return t.max-t.min}function J9(t,n,s){return Math.abs(t-n)<=s}function h1(t,n,s,r=.5){t.origin=r,t.originPoint=Bt(n.min,n.max,t.origin),t.scale=Ce(s)/Ce(n),t.translate=Bt(s.min,s.max,t.origin)-t.originPoint,(t.scale>=K9&&t.scale<=Q9||isNaN(t.scale))&&(t.scale=1),(t.translate>=X9&&t.translate<=Z9||isNaN(t.translate))&&(t.translate=0)}function Yr(t,n,s,r){h1(t.x,n.x,s.x,r?r.originX:void 0),h1(t.y,n.y,s.y,r?r.originY:void 0)}function m1(t,n,s,r=0){const l=r?Bt(s.min,s.max,r):s.min;t.min=l+n.min,t.max=t.min+Ce(n)}function $9(t,n,s,r){m1(t.x,n.x,s.x,r?.x),m1(t.y,n.y,s.y,r?.y)}function p1(t,n,s,r=0){const l=r?Bt(s.min,s.max,r):s.min;t.min=n.min-l,t.max=t.min+Ce(n)}function wu(t,n,s,r){p1(t.x,n.x,s.x,r?.x),p1(t.y,n.y,s.y,r?.y)}function y1(t,n,s,r,l){return t-=n,t=Tu(t,1/s,r),l!==void 0&&(t=Tu(t,1/l,r)),t}function W9(t,n=0,s=1,r=.5,l,u=t,f=t){if(On.test(n)&&(n=parseFloat(n),n=Bt(f.min,f.max,n/100)-f.min),typeof n!="number")return;let h=Bt(u.min,u.max,r);t===u&&(h-=n),t.min=y1(t.min,n,s,h,l),t.max=y1(t.max,n,s,h,l)}function g1(t,n,[s,r,l],u,f){W9(t,n[s],n[r],n[l],n.scale,u,f)}const tD=["x","scaleX","originX"],eD=["y","scaleY","originY"];function v1(t,n,s,r){g1(t.x,n,tD,s?s.x:void 0,r?r.x:void 0),g1(t.y,n,eD,s?s.y:void 0,r?r.y:void 0)}function b1(t){return t.translate===0&&t.scale===1}function bx(t){return b1(t.x)&&b1(t.y)}function S1(t,n){return t.min===n.min&&t.max===n.max}function nD(t,n){return S1(t.x,n.x)&&S1(t.y,n.y)}function x1(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function Sx(t,n){return x1(t.x,n.x)&&x1(t.y,n.y)}function T1(t){return Ce(t.x)/Ce(t.y)}function w1(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}function An(t){return[t("x"),t("y")]}function iD(t,n,s){let r="";const l=t.x.translate/n.x,u=t.y.translate/n.y,f=s?.z||0;if((l||u||f)&&(r=`translate3d(${l}px, ${u}px, ${f}px) `),(n.x!==1||n.y!==1)&&(r+=`scale(${1/n.x}, ${1/n.y}) `),s){const{transformPerspective:p,rotate:g,pathRotation:y,rotateX:v,rotateY:S,skewX:x,skewY:C}=s;p&&(r=`perspective(${p}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotateX(${v}deg) `),S&&(r+=`rotateY(${S}deg) `),x&&(r+=`skewX(${x}deg) `),C&&(r+=`skewY(${C}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(r+=`scale(${h}, ${m})`),r||"none"}const sD=pm.length,_1=t=>typeof t=="string"?parseFloat(t):t,E1=t=>typeof t=="number"||rt.test(t);function aD(t,n,s,r,l,u){l?(t.opacity=Bt(0,s.opacity??1,rD(r)),t.opacityExit=Bt(n.opacity??1,0,oD(r))):u&&(t.opacity=Bt(n.opacity??1,s.opacity??1,r));for(let f=0;f<sD;f++){const h=pm[f];let m=A1(n,h),p=A1(s,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||E1(m)===E1(p)?(t[h]=Math.max(Bt(_1(m),_1(p),r),0),(On.test(p)||On.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||s.rotate)&&(t.rotate=Bt(n.rotate||0,s.rotate||0,r))}function A1(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const rD=xx(0,.5,a5),oD=xx(.5,.95,Ne);function xx(t,n,s){return r=>r<t?0:r>n?1:s(Cs(t,n,r))}function Tx(t,n,s){const r=$t(t)?t:fn(t);return r.start(fm("",r,n,s)),r.animation}function oo(t,n,s,r={passive:!0}){return t.addEventListener(n,s,r),()=>t.removeEventListener(n,s,r)}const lD=(t,n)=>t.depth-n.depth;class uD{constructor(){this.children=[],this.isDirty=!1}add(n){Yh(this.children,n),this.isDirty=!0}remove(n){La(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(lD),this.isDirty=!1,this.children.forEach(n)}}function cD(t,n){const s=Ae.now(),r=({timestamp:l})=>{const u=l-s;u>=n&&(Ze(r),t(u-n))};return xt.setup(r,!0),()=>Ze(r)}function su(t){return $t(t)?t.get():t}class fD{constructor(){this.members=[]}add(n){Yh(this.members,n);for(let s=this.members.length-1;s>=0;s--){const r=this.members[s];if(r===n||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(La(this.members,r),r.unmount())}n.scheduleRender()}remove(n){if(La(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(n){for(let s=this.members.indexOf(n)-1;s>=0;s--){const r=this.members[s];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(n,s){const r=this.lead;if(n!==r&&(this.prevLead=r,this.lead=n,n.show(),r)){r.updateSnapshot(),n.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=n.options;(l===void 0||l!==u)&&(n.resumeFrom=r,s&&(r.preserveOpacity=!0),r.snapshot&&(n.snapshot=r.snapshot,n.snapshot.latestValues=r.animationValues||r.latestValues),n.root?.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(n=>{n.options.onExitComplete?.(),n.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const au={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ld=["","X","Y","Z"],dD=1e3;let hD=0;function zd(t,n,s,r){const{latestValues:l}=n;l[t]&&(s[t]=l[t],n.setStaticValue(t,0),r&&(r[t]=0))}function wx(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const s=U5(n);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",xt,!(l||u))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&wx(r)}function _x({attachResizeListener:t,defaultParent:n,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},h=n?.()){this.id=hD++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(yD),this.nodes.forEach(TD),this.nodes.forEach(wD),this.nodes.forEach(gD)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new uD)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Kh),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const m=this.eventHandlers.get(f);m&&m.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=Nu(f)&&!J5(f),this.instance=f;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),t){let g,y=0;const v=()=>this.root.updateBlockedByResize=!1;xt.read(()=>{y=window.innerWidth}),t(f,()=>{const S=window.innerWidth;S!==y&&(y=S,this.root.updateBlockedByResize=!0,g&&g(),g=cD(v,250),au.hasAnimatedSinceResize&&(au.hasAnimatedSinceResize=!1,this.nodes.forEach(M1)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:v,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||p.getDefaultTransition()||RD,{onLayoutAnimationStart:C,onLayoutAnimationComplete:_}=p.getProps(),E=!this.targetLayout||!Sx(this.targetLayout,S),R=!y&&v;if(this.options.layoutRoot||this.resumeFrom||R||y&&(E||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const D={...cm(x,"layout"),onPlay:C,onComplete:_};(p.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D),this.setAnimationOrigin(g,R,D.path)}else y||M1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ze(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(_D),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,(typeof y.latestValues.x=="string"||typeof y.latestValues.y=="string")&&(y.isLayoutDirty=!0),y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(bD),this.nodes.forEach(C1);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(R1);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(SD),this.nodes.forEach(xD),this.nodes.forEach(mD),this.nodes.forEach(pD)):this.nodes.forEach(R1),this.clearAllSnapshots();const h=Ae.now();ce.delta=bn(0,1e3/60,h-ce.timestamp),ce.timestamp=h,ce.isProcessing=!0,wd.update.process(ce),wd.preRender.process(ce),wd.render.process(ce),ce.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Va.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(vD),this.sharedNodes.forEach(ED)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ce(this.snapshot.measuredBox.x)&&!Ce(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ie()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h&&this.instance){const m=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:m,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!bx(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;f&&this.instance&&(h||ms(this.latestValues)||g)&&(l(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return f&&(m=this.removeTransform(m)),MD(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return ie();const h=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(DD))){const{scroll:p}=this.root;p&&(Dn(h.x,p.offset.x),Dn(h.y,p.offset.y))}return h}removeElementScroll(f){const h=ie();if(yn(h,f),this.scroll?.wasRoot)return h;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&yn(h,f),Dn(h.x,g.offset.x),Dn(h.y,g.offset.y))}return h}applyTransform(f,h=!1,m){const p=m||ie();yn(p,f);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&(Dn(p.x,-y.scroll.offset.x),Dn(p.y,-y.scroll.offset.y)),ms(y.latestValues)&&iu(p,y.latestValues,y.layout?.layoutBox)}return ms(this.latestValues)&&iu(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(f){const h=ie();yn(h,f);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!ms(p.latestValues))continue;let g;p.instance&&(wh(p.latestValues)&&p.updateSnapshot(),g=ie(),yn(g,p.measurePageBox())),v1(h,p.latestValues,p.snapshot?.layoutBox,g)}return ms(this.latestValues)&&v1(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ce.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(f||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=ce.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ie(),this.targetWithTransforms=ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),$9(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):yn(this.target,this.layout.layoutBox),ax(this.target,this.targetDelta)):yn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||wh(this.parent.latestValues)||sx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,h,m){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ie(),this.relativeTargetOrigin=ie(),wu(this.relativeTargetOrigin,h,m,this.options.layoutAnchor||void 0),yn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),h=!!this.resumingFrom||this!==f;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===ce.timestamp&&(m=!1),m)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;yn(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,v=this.treeScale.y;C9(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=ie());const{target:S}=f;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(d1(this.prevProjectionDelta.x,this.projectionDelta.x),d1(this.prevProjectionDelta.y,this.projectionDelta.y)),Yr(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==v||!w1(this.projectionDelta.x,this.prevProjectionDelta.x)||!w1(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ca(),this.projectionDelta=Ca(),this.projectionDeltaWithTransform=Ca()}setAnimationOrigin(f,h=!1,m){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},v=Ca();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const S=ie(),x=p?p.source:void 0,C=this.layout?this.layout.source:void 0,_=x!==C,E=this.getStack(),R=!E||E.members.length<=1,D=!!(_&&!R&&this.options.crossfade===!0&&!this.path.some(CD));this.animationProgress=0;let z;const H=m?.interpolateProjection(f);this.mixTargetDelta=I=>{const j=I/1e3,U=H?.(j);U?(v.x.translate=U.x,v.x.scale=Bt(f.x.scale,1,j),v.x.origin=f.x.origin,v.x.originPoint=f.x.originPoint,v.y.translate=U.y,v.y.scale=Bt(f.y.scale,1,j),v.y.origin=f.y.origin,v.y.originPoint=f.y.originPoint):(D1(v.x,f.x,j),D1(v.y,f.y,j)),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(wu(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),AD(this.relativeTarget,this.relativeTargetOrigin,S,j),z&&nD(this.relativeTarget,z)&&(this.isProjectionDirty=!1),z||(z=ie()),yn(z,this.relativeTarget)),_&&(this.animationValues=y,aD(y,g,this.latestValues,j,D,R)),U&&U.rotate!==void 0&&(this.animationValues||(this.animationValues=y),this.animationValues.pathRotation=U.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=j},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ze(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xt.update(()=>{au.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=fn(0)),this.motionValue.jump(0,!1),this.currentAnimation=Tx(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),f.onUpdate&&f.onUpdate(h)},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(dD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=f;if(!(!h||!m||!p)){if(this!==f&&this.layout&&p&&Ex(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||ie();const y=Ce(this.layout.layoutBox.x);m.x.min=f.target.x.min,m.x.max=m.x.min+y;const v=Ce(this.layout.layoutBox.y);m.y.min=f.target.y.min,m.y.max=m.y.min+v}yn(h,m),iu(h,g),Yr(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new fD),this.sharedNodes.get(f).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:m}=f;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&zd("z",f,p,this.animationValues);for(let g=0;g<Ld.length;g++)zd(`rotate${Ld[g]}`,f,p,this.animationValues),zd(`skew${Ld[g]}`,f,p,this.animationValues);f.render();for(const g in p)f.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);f.scheduleRender()}applyProjectionStyles(f,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=su(h?.pointerEvents)||"",f.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=su(h?.pointerEvents)||""),this.hasProjected&&!ms(this.latestValues)&&(f.transform=m?m({},""):"none",this.hasProjected=!1);return}f.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let y=iD(this.projectionDeltaWithTransform,this.treeScale,g);m&&(y=m(g,y)),f.transform=y;const{x:v,y:S}=this.projectionDelta;f.transformOrigin=`${v.origin*100}% ${S.origin*100}% 0`,p.animationValues?f.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:f.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const x in Eh){if(g[x]===void 0)continue;const{correct:C,applyTo:_,isCSSVariable:E}=Eh[x],R=y==="none"?g[x]:C(g[x],p);if(_){const D=_.length;for(let z=0;z<D;z++)f[_[z]]=R}else E?this.options.visualElement.renderState.vars[x]=R:f[x]=R}this.options.layoutId&&(f.pointerEvents=p===this?su(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(C1),this.root.sharedNodes.clear()}}}function mD(t){t.updateLayout()}function pD(t){const n=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=t.layout,{animationType:l}=t.options,u=n.source!==t.layout.source;if(l==="size")An(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],v=Ce(y);y.min=s[g].min,y.max=y.min+v});else if(l==="x"||l==="y"){const g=l==="x"?"y":"x";Ah(u?n.measuredBox[g]:n.layoutBox[g],s[g])}else Ex(l,n.layoutBox,s)&&An(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],v=Ce(s[g]);y.max=y.min+v,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+v)});const f=Ca();Yr(f,s,n.layoutBox);const h=Ca();u?Yr(h,t.applyTransform(r,!0),n.measuredBox):Yr(h,s,n.layoutBox);const m=!bx(f);let p=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:v}=g;if(y&&v){const S=t.options.layoutAnchor||void 0,x=ie();wu(x,n.layoutBox,y.layoutBox,S);const C=ie();wu(C,s,v.layoutBox,S),Sx(x,C)||(p=!0),g.options.layoutRoot&&(t.relativeTarget=C,t.relativeTargetOrigin=x,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:h,layoutDelta:f,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function yD(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function gD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function vD(t){t.clearSnapshot()}function C1(t){t.clearMeasurements()}function bD(t){t.isLayoutDirty=!0,t.updateLayout()}function R1(t){t.isLayoutDirty=!1}function SD(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function xD(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function M1(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function TD(t){t.resolveTargetDelta()}function wD(t){t.calcProjection()}function _D(t){t.resetSkewAndRotation()}function ED(t){t.removeLeadSnapshot()}function D1(t,n,s){t.translate=Bt(n.translate,0,s),t.scale=Bt(n.scale,1,s),t.origin=n.origin,t.originPoint=n.originPoint}function O1(t,n,s,r){t.min=Bt(n.min,s.min,r),t.max=Bt(n.max,s.max,r)}function AD(t,n,s,r){O1(t.x,n.x,s.x,r),O1(t.y,n.y,s.y,r)}function CD(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const RD={duration:.45,ease:[.4,0,.1,1]},L1=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),z1=L1("applewebkit/")&&!L1("chrome/")?Math.round:Ne;function V1(t){t.min=z1(t.min),t.max=z1(t.max)}function MD(t){V1(t.x),V1(t.y)}function Ex(t,n,s){return t==="position"||t==="preserve-aspect"&&!J9(T1(n),T1(s),.2)}function DD(t){return t!==t.root&&t.scroll?.wasRoot}const OD=_x({attachResizeListener:(t,n)=>oo(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Vd={current:void 0},Ax=_x({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Vd.current){const t=new OD({});t.mount(window),t.setOptions({layoutScroll:!0}),Vd.current=t}return Vd.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Os=q.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function LD(t=!0){const n=q.useContext(Ih);if(n===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:l}=n,u=q.useId();q.useEffect(()=>{if(t)return l(u)},[t]);const f=q.useCallback(()=>t&&r&&r(u),[u,r,t]);return!s&&r?[!1,f]:[!0]}const Cx=q.createContext({strict:!1}),j1={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let P1=!1;function zD(){if(P1)return;const t={};for(const n in j1)t[n]={isEnabled:s=>j1[n].some(r=>!!s[r])};tx(t),P1=!0}function Rx(){return zD(),_9()}function VD(t){const n=Rx();for(const s in t)n[s]={...n[s],...t[s]};tx(n)}const jD=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function _u(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||jD.has(t)}let Mx=t=>!_u(t);function PD(t){typeof t=="function"&&(Mx=n=>n.startsWith("on")?!_u(n):t(n))}try{PD(require("@emotion/is-prop-valid").default)}catch{}function BD(t,n,s){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||$t(t[l])||(Mx(l)||s===!0&&_u(l)||!n&&!_u(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const Hu=q.createContext({});function ND(t,n){if(ku(t)){const{initial:s,animate:r}=t;return{initial:s===!1||ro(s)?s:void 0,animate:ro(r)?r:void 0}}return t.inherit!==!1?n:{}}function UD(t){const{initial:n,animate:s}=ND(t,q.useContext(Hu));return q.useMemo(()=>({initial:n,animate:s}),[B1(n),B1(s)])}function B1(t){return Array.isArray(t)?t.join(" "):t}const wm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dx(t,n,s){for(const r in n)!$t(n[r])&&!lx(r,s)&&(t[r]=n[r])}function kD({transformTemplate:t},n){return q.useMemo(()=>{const s=wm();return xm(s,n,t),Object.assign({},s.vars,s.style)},[n])}function HD(t,n){const s=t.style||{},r={};return Dx(r,s,t),Object.assign(r,kD(t,n)),r}function qD(t,n){const s={},r=HD(t,n);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s}const Ox=()=>({...wm(),attrs:{}});function GD(t,n,s,r){const l=q.useMemo(()=>{const u=Ox();return cx(u,n,dx(r),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};Dx(u,t.style,t),l.style={...u,...l.style}}return l}const FD=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function _m(t){return typeof t!="string"||t.includes("-")?!1:!!(FD.indexOf(t)>-1||/[A-Z]/u.test(t))}function ID(t,n,s,{latestValues:r},l,u=!1,f){const m=(f??_m(t)?GD:qD)(n,r,l,t),p=BD(n,typeof t=="string",u),g=t!==q.Fragment?{...p,...m,ref:s}:{},{children:y}=n,v=q.useMemo(()=>$t(y)?y.get():y,[y]);return q.createElement(t,{...g,children:v})}function YD({scrapeMotionValuesFromProps:t,createRenderState:n},s,r,l){return{latestValues:KD(s,r,l,t),renderState:n()}}function KD(t,n,s,r){const l={},u=r(t,{});for(const v in u)l[v]=su(u[v]);let{initial:f,animate:h}=t;const m=ku(t),p=$5(t);n&&p&&!m&&t.inherit!==!1&&(f===void 0&&(f=n.initial),h===void 0&&(h=n.animate));let g=s?s.initial===!1:!1;g=g||f===!1;const y=g?h:f;if(y&&typeof y!="boolean"&&!Uu(y)){const v=Array.isArray(y)?y:[y];for(let S=0;S<v.length;S++){const x=dm(t,v[S]);if(x){const{transitionEnd:C,transition:_,...E}=x;for(const R in E){let D=E[R];if(Array.isArray(D)){const z=g?D.length-1:0;D=D[z]}D!==null&&(l[R]=D)}for(const R in C)l[R]=C[R]}}}return l}const Lx=t=>(n,s)=>{const r=q.useContext(Hu),l=q.useContext(Ih),u=()=>YD(t,n,r,l);return s?u():As(u)},QD=Lx({scrapeMotionValuesFromProps:Tm,createRenderState:wm}),XD=Lx({scrapeMotionValuesFromProps:hx,createRenderState:Ox}),ZD=Symbol.for("motionComponentSymbol");function JD(t,n,s){const r=q.useRef(s);q.useInsertionEffect(()=>{r.current=s});const l=q.useRef(null);return q.useCallback(u=>{u&&t.onMount?.(u),n&&(u?n.mount(u):n.unmount());const f=r.current;if(typeof f=="function")if(u){const h=f(u);typeof h=="function"&&(l.current=h)}else l.current?(l.current(),l.current=null):f(u);else f&&(f.current=u)},[n])}const zx=q.createContext({});function Ta(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function $D(t,n,s,r,l,u){const{visualElement:f}=q.useContext(Hu),h=q.useContext(Cx),m=q.useContext(Ih),p=q.useContext(Os),g=p.reducedMotion,y=p.skipAnimations,v=q.useRef(null),S=q.useRef(!1);r=r||h.renderer,!v.current&&r&&(v.current=r(t,{visualState:n,parent:f,props:s,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g,skipAnimations:y,isSVG:u}),S.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const x=v.current,C=q.useContext(zx);x&&!x.projection&&l&&(x.type==="html"||x.type==="svg")&&WD(v.current,s,l,C);const _=q.useRef(!1);q.useInsertionEffect(()=>{x&&_.current&&x.update(s,m)});const E=s[N5],R=q.useRef(!!E&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(E)&&window.MotionHasOptimisedAnimation?.(E));return Fh(()=>{S.current=!0,x&&(_.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),R.current&&x.animationState&&x.animationState.animateChanges())}),q.useEffect(()=>{x&&(!R.current&&x.animationState&&x.animationState.animateChanges(),R.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(E)}),R.current=!1),x.enteringChildren=void 0)}),x}function WD(t,n,s,r){const{layoutId:l,layout:u,drag:f,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutAnchor:g,layoutCrossfade:y}=n;t.projection=new s(t.latestValues,n["data-framer-portal-id"]?void 0:Vx(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!f||h&&Ta(h),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:m,layoutRoot:p,layoutAnchor:g})}function Vx(t){if(t)return t.options.allowProjection!==!1?t.projection:Vx(t.parent)}function jd(t,{forwardMotionProps:n=!1,type:s}={},r,l){r&&VD(r);const u=s?s==="svg":_m(t),f=u?XD:QD;function h(p,g){let y;const v={...q.useContext(Os),...p,layoutId:tO(p)},{isStatic:S}=v,x=UD(p),C=f(p,S);if(!S&&typeof window<"u"){eO();const _=nO(v);y=_.MeasureLayout,x.visualElement=$D(t,C,v,l,_.ProjectionNode,u)}return N.jsxs(Hu.Provider,{value:x,children:[y&&x.visualElement?N.jsx(y,{visualElement:x.visualElement,...v}):null,ID(t,p,JD(C,x.visualElement,g),C,S,n,u)]})}h.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const m=q.forwardRef(h);return m[ZD]=t,m}function tO({layoutId:t}){const n=q.useContext(XS).id;return n&&t!==void 0?n+"-"+t:t}function eO(t,n){q.useContext(Cx).strict}function nO(t){const n=Rx(),{drag:s,layout:r}=n;if(!s&&!r)return{};const l={...s,...r};return{MeasureLayout:s?.isEnabled(t)||r?.isEnabled(t)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function iO(t,n){if(typeof Proxy>"u")return jd;const s=new Map,r=(u,f)=>jd(u,f,t,n),l=(u,f)=>r(u,f);return new Proxy(l,{get:(u,f)=>f==="create"?r:(s.has(f)||s.set(f,jd(f,void 0,t,n)),s.get(f))})}const sO=(t,n)=>n.isSVG??_m(t)?new mx(n):new ux(n,{allowProjection:t!==q.Fragment});class aO extends Fi{constructor(n){super(n),n.animationState||(n.animationState=I9(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Uu(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:s}=this.node.prevProps||{};n!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let rO=0;class oO extends Fi{constructor(){super(...arguments),this.id=rO++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===r)return;if(n&&r===!1){if(this.isExitComplete){const{initial:u,custom:f}=this.node.getProps();if(typeof u=="string"||typeof u=="object"&&u!==null&&!Array.isArray(u)){const h=_s(this.node,u,f);if(h){const{transition:m,transitionEnd:p,...g}=h;for(const y in g)this.node.getValue(y)?.jump(g[y])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!n);s&&!n&&l.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:n,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const lO={animation:{Feature:aO},exit:{Feature:oO}};function yo(t){return{point:{x:t.pageX,y:t.pageY}}}const uO=t=>n=>gm(n)&&t(n,yo(n));function Kr(t,n,s,r){return oo(t,n,uO(s),r)}const jx=({current:t})=>t?t.ownerDocument.defaultView:null,N1=(t,n)=>Math.abs(t-n);function cO(t,n){const s=N1(t.x,n.x),r=N1(t.y,n.y);return Math.sqrt(s**2+r**2)}const U1=new Set(["auto","scroll"]);class Px{constructor(n,s,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:f=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=x=>{this.handleScroll(x.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Gl(this.lastRawMoveEventInfo,this.transformPagePoint));const x=Pd(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,_=cO(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!_)return;const{point:E}=x,{timestamp:R}=ce;this.history.push({...E,timestamp:R});const{onStart:D,onMove:z}=this.handlers;C||(D&&D(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),z&&z(this.lastMoveEvent,x)},this.handlePointerMove=(x,C)=>{this.lastMoveEvent=x,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Gl(C,this.transformPagePoint),xt.update(this.updatePoint,!0)},this.handlePointerUp=(x,C)=>{this.end();const{onEnd:_,onSessionEnd:E,resumeAnimation:R}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&R&&R(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const D=Pd(x.type==="pointercancel"?this.lastMoveEventInfo:Gl(C,this.transformPagePoint),this.history);this.startEvent&&_&&_(x,D),E&&E(x,D)},!gm(n))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const m=yo(n),p=Gl(m,this.transformPagePoint),{point:g}=p,{timestamp:y}=ce;this.history=[{...g,timestamp:y}];const{onSessionStart:v}=s;v&&v(n,Pd(p,this.history));const S={passive:!0,capture:!0};this.removeListeners=ho(Kr(this.contextWindow,"pointermove",this.handlePointerMove,S),Kr(this.contextWindow,"pointerup",this.handlePointerUp,S),Kr(this.contextWindow,"pointercancel",this.handlePointerUp,S)),h&&this.startScrollTracking(h)}startScrollTracking(n){let s=n.parentElement;for(;s;){const r=getComputedStyle(s);(U1.has(r.overflowX)||U1.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const s=this.scrollPositions.get(n);if(!s)return;const r=n===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},u={x:l.x-s.x,y:l.y-s.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(n,l),xt.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ze(this.updatePoint)}}function Gl(t,n){return n?{point:n(t.point)}:t}function k1(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Pd({point:t},n){return{point:t,delta:k1(t,Bx(n)),offset:k1(t,fO(n)),velocity:dO(n,.1)}}function fO(t){return t[0]}function Bx(t){return t[t.length-1]}function dO(t,n){if(t.length<2)return{x:0,y:0};let s=t.length-1,r=null;const l=Bx(t);for(;s>=0&&(r=t[s],!(l.timestamp-r.timestamp>Ue(n)));)s--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&l.timestamp-r.timestamp>Ue(n)*2&&(r=t[1]);const u=cn(l.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const f={x:(l.x-r.x)/u,y:(l.y-r.y)/u};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function hO(t,{min:n,max:s},r){return n!==void 0&&t<n?t=r?Bt(n,t,r.min):Math.max(t,n):s!==void 0&&t>s&&(t=r?Bt(s,t,r.max):Math.min(t,s)),t}function H1(t,n,s){return{min:n!==void 0?t.min+n:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function mO(t,{top:n,left:s,bottom:r,right:l}){return{x:H1(t.x,s,l),y:H1(t.y,n,r)}}function q1(t,n){let s=n.min-t.min,r=n.max-t.max;return n.max-n.min<t.max-t.min&&([s,r]=[r,s]),{min:s,max:r}}function pO(t,n){return{x:q1(t.x,n.x),y:q1(t.y,n.y)}}function yO(t,n){let s=.5;const r=Ce(t),l=Ce(n);return l>r?s=Cs(n.min,n.max-r,t.min):r>l&&(s=Cs(t.min,t.max-l,n.min)),bn(0,1,s)}function gO(t,n){const s={};return n.min!==void 0&&(s.min=n.min-t.min),n.max!==void 0&&(s.max=n.max-t.min),s}const Ch=.35;function vO(t=Ch){return t===!1?t=0:t===!0&&(t=Ch),{x:G1(t,"left","right"),y:G1(t,"top","bottom")}}function G1(t,n,s){return{min:F1(t,n),max:F1(t,s)}}function F1(t,n){return typeof t=="number"?t:t[n]||0}const bO=new WeakMap;class SO{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ie(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=y=>{s&&this.snapToCursor(yo(y).point),this.stopAnimation()},f=(y,v)=>{const{drag:S,dragPropagation:x,onDragStart:C}=this.getProps();if(S&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=e9(S),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),An(E=>{let R=this.getAxisMotionValue(E).get()||0;if(On.test(R)){const{projection:D}=this.visualElement;if(D&&D.layout){const z=D.layout.layoutBox[E];z&&(R=Ce(z)*(parseFloat(R)/100))}}this.originPoint[E]=R}),C&&xt.update(()=>C(y,v),!1,!0),gh(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},h=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v;const{dragPropagation:S,dragDirectionLock:x,onDirectionLock:C,onDrag:_}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:E}=v;if(x&&this.currentDirection===null){this.currentDirection=TO(E),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",v.point,E),this.updateAxis("y",v.point,E),this.visualElement.render(),_&&xt.update(()=>_(y,v),!1,!0)},m=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v,this.stop(y,v),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:y}=this.getProps();(y||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Px(n,{onSessionStart:u,onStart:f,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:jx(this.visualElement),element:this.visualElement.current})}stop(n,s){const r=n||this.latestPointerEvent,l=s||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:f}=l;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&xt.postRender(()=>h(r,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:s}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,s,r){const{drag:l}=this.getProps();if(!r||!Fl(n,l,this.currentDirection))return;const u=this.getAxisMotionValue(n);let f=this.originPoint[n]+r[n];this.constraints&&this.constraints[n]&&(f=hO(f,this.constraints[n],this.elastic[n])),u.set(f)}resolveConstraints(){const{dragConstraints:n,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&Ta(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=mO(r.layoutBox,n):this.constraints=!1,this.elastic=vO(s),l!==this.constraints&&!Ta(n)&&r&&this.constraints&&!this.hasMutatedConstraints&&An(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=gO(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:s}=this.getProps();if(!n||!Ta(n))return!1;const r=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;l.root&&(l.root.scroll=void 0,l.root.updateScroll());const u=R9(r,l.root,this.visualElement.getTransformPagePoint());let f=pO(l.layout.layoutBox,u);if(s){const h=s(E9(f));this.hasMutatedConstraints=!!h,h&&(f=ix(h))}return f}startAnimation(n){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=An(g=>{if(!Fl(g,s,this.currentDirection))return;let y=m&&m[g]||{};(f===!0||f===g)&&(y={min:0,max:0});const v=l?200:1e6,S=l?40:1e7,x={type:"inertia",velocity:r?n[g]:0,bounceStiffness:v,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(g,x)});return Promise.all(p).then(h)}startAxisValueAnimation(n,s){const r=this.getAxisMotionValue(n);return gh(this.visualElement,n),r.start(fm(n,r,0,s,this.visualElement,!1))}stopAnimation(){An(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const s=`_drag${n.toUpperCase()}`,l=this.visualElement.getProps()[s];return l||this.visualElement.getValue(n,this.visualElement.latestValues[n]??0)}snapToCursor(n){An(s=>{const{drag:r}=this.getProps();if(!Fl(s,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(s);if(l&&l.layout){const{min:f,max:h}=l.layout.layoutBox[s],m=u.get()||0;u.set(n[s]-Bt(f,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!Ta(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};An(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const m=h.get();l[f]=yO({min:m,max:m},this.constraints[f])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),An(f=>{if(!Fl(f,n,null))return;const h=this.getAxisMotionValue(f),{min:m,max:p}=this.constraints[f];h.set(Bt(m,p,l[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;bO.set(this.visualElement,this);const n=this.visualElement.current,s=Kr(n,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps(),v=p.target,S=v!==n&&o9(v);g&&y&&!S&&this.start(p)});let r;const l=()=>{const{dragConstraints:p}=this.getProps();Ta(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=xO(n,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,f=u.addEventListener("measure",l);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),xt.read(l);const h=oo(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(An(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{h(),s(),f(),m&&m(),r&&r()}}getProps(){const n=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:f=Ch,dragMomentum:h=!0}=n;return{...n,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:h}}}function I1(t){let n=!0;return()=>{if(n){n=!1;return}t()}}function xO(t,n,s){const r=Th(t,I1(s)),l=Th(n,I1(s));return()=>{r(),l()}}function Fl(t,n,s){return(n===!0||n===t)&&(s===null||s===t)}function TO(t,n=10){let s=null;return Math.abs(t.y)>n?s="y":Math.abs(t.x)>n&&(s="x"),s}class wO extends Fi{constructor(n){super(n),this.removeGroupControls=Ne,this.removeListeners=Ne,this.controls=new SO(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ne}update(){const{dragControls:n}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};n!==s&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Bd=t=>(n,s)=>{t&&xt.update(()=>t(n,s),!1,!0)};class _O extends Fi{constructor(){super(...arguments),this.removePointerDownListener=Ne}onPointerDown(n){this.session=new Px(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jx(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Bd(n),onStart:Bd(s),onMove:Bd(r),onEnd:(u,f)=>{delete this.session,l&&xt.postRender(()=>l(u,f))}}}mount(){this.removePointerDownListener=Kr(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Nd=!1;class EO extends q.Component{componentDidMount(){const{visualElement:n,layoutGroup:s,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=n;u&&(s.group&&s.group.add(u),r&&r.register&&l&&r.register(u),Nd&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),au.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:s,visualElement:r,drag:l,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,n.layoutDependency!==s&&f.setOptions({...f.options,layoutDependency:s}),Nd=!0,l||n.layoutDependency!==s||s===void 0||n.isPresent!==u?f.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?f.promote():f.relegate()||xt.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:s}=this.props,{projection:r}=n;r&&(r.options.layoutAnchor=s,r.root.didUpdate(),Va.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=n;Nd=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Nx(t){const[n,s]=LD(),r=q.useContext(XS);return N.jsx(EO,{...t,layoutGroup:r,switchLayoutGroup:q.useContext(zx),isPresent:n,safeToRemove:s})}const AO={pan:{Feature:_O},drag:{Feature:wO,ProjectionNode:Ax,MeasureLayout:Nx}};function Y1(t,n,s){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,u=r[l];u&&xt.postRender(()=>u(n,yo(n)))}class CO extends Fi{mount(){const{current:n}=this.node;n&&(this.unmount=i9(n,(s,r)=>(Y1(this.node,r,"Start"),l=>Y1(this.node,l,"End"))))}unmount(){}}class RO extends Fi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ho(oo(this.node.current,"focus",()=>this.onFocus()),oo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function K1(t,n,s){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),u=r[l];u&&xt.postRender(()=>u(n,yo(n)))}class MO extends Fi{mount(){const{current:n}=this.node;if(!n)return;
12const{globalTapTarget:s,propagate:r}=this.node.props;this.unmount=u9(n,(l,u)=>(K1(this.node,u,"Start"),(f,{success:h})=>K1(this.node,f,h?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:r?.tap===!1})}unmount(){}}const Rh=new WeakMap,Ud=new WeakMap,DO=t=>{const n=Rh.get(t.target);n&&n(t)},OO=t=>{t.forEach(DO)};function LO({root:t,...n}){const s=t||document;Ud.has(s)||Ud.set(s,{});const r=Ud.get(s),l=JSON.stringify(n);return r[l]||(r[l]=new IntersectionObserver(OO,{root:t,...n})),r[l]}function zO(t,n,s){const r=LO(n);return Rh.set(t,s),r.observe(t),()=>{Rh.delete(t),r.unobserve(t)}}const VO={some:0,all:1};class jO extends Fi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:n={}}=this.node.getProps(),{root:s,margin:r,amount:l="some",once:u}=n,f={root:s?s.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:VO[l]},h=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),v=p?g:y;v&&v(m)};this.stopObserver=zO(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:s}=this.node;["amount","margin","root"].some(PO(n,s))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function PO({viewport:t={}},{viewport:n={}}={}){return s=>t[s]!==n[s]}const BO={inView:{Feature:jO},tap:{Feature:MO},focus:{Feature:RO},hover:{Feature:CO}},NO={layout:{ProjectionNode:Ax,MeasureLayout:Nx}},UO={...lO,...BO,...AO,...NO},lo=iO(UO,sO);function kO(t){return q.useEffect(()=>()=>t(),[])}function HO(t,n,s){q.useInsertionEffect(()=>t.on(n,s),[t,n,s])}function Eu(t){return typeof window>"u"?!1:t?R5():lm()}const qO=50,Q1=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),GO=()=>({time:0,x:Q1(),y:Q1()}),FO={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function X1(t,n,s,r){const l=s[n],{length:u,position:f}=FO[n],h=l.current,m=s.time;l.current=Math.abs(t[`scroll${f}`]),l.scrollLength=t[`scroll${u}`]-t[`client${u}`],l.offset.length=0,l.offset[0]=0,l.offset[1]=l.scrollLength,l.progress=Cs(0,l.scrollLength,l.current);const p=r-m;l.velocity=p>qO?0:Qh(l.current-h,p)}function IO(t,n,s){X1(t,"x",n,s),X1(t,"y",n,s),n.time=s}function YO(t,n){const s={x:0,y:0};let r=t;for(;r&&r!==n;)if(F5(r))s.x+=r.offsetLeft,s.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const l=r.getBoundingClientRect();r=r.parentElement;const u=r.getBoundingClientRect();s.x+=l.left-u.left,s.y+=l.top-u.top}else if(r instanceof SVGGraphicsElement){const{x:l,y:u}=r.getBBox();s.x+=l,s.y+=u;let f=null,h=r.parentNode;for(;!f;)h.tagName==="svg"&&(f=h),h=r.parentNode;r=f}else break;return s}const Mh={start:0,center:.5,end:1};function Z1(t,n,s=0){let r=0;if(t in Mh&&(t=Mh[t]),typeof t=="string"){const l=parseFloat(t);t.endsWith("px")?r=l:t.endsWith("%")?t=l/100:t.endsWith("vw")?r=l/100*document.documentElement.clientWidth:t.endsWith("vh")?r=l/100*document.documentElement.clientHeight:t=l}return typeof t=="number"&&(r=n*t),s+r}const KO=[0,0];function QO(t,n,s,r){let l=Array.isArray(t)?t:KO,u=0,f=0;return typeof t=="number"?l=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?l=t.split(" "):l=[t,Mh[t]?t:"0"]),u=Z1(l[0],s,r),f=Z1(l[1],n),u-f}const qr={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},XO={x:0,y:0};function ZO(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function JO(t,n,s){const{offset:r=qr.All}=s,{target:l=t,axis:u="y"}=s,f=u==="y"?"height":"width",h=l!==t?YO(l,t):XO,m=l===t?{width:t.scrollWidth,height:t.scrollHeight}:ZO(l),p={width:t.clientWidth,height:t.clientHeight};n[u].offset.length=0;let g=!n[u].interpolate;const y=r.length;for(let v=0;v<y;v++){const S=QO(r[v],p[f],m[f],h[u]);
12!g&&S!==n[u].interpolatorOffsets[v]&&(g=!0),n[u].offset[v]=S}g&&(n[u].interpolate=im(n[u].offset,sm(r),{clamp:!1}),n[u].interpolatorOffsets=[...n[u].offset]),n[u].progress=bn(0,1,n[u].interpolate(n[u].current))}function $O(t,n=t,s){if(s.x.targetOffset=0,s.y.targetOffset=0,n!==t){let r=n;for(;r&&r!==t;)s.x.targetOffset+=r.offsetLeft,s.y.targetOffset+=r.offsetTop,r=r.offsetParent}s.x.targetLength=n===t?n.scrollWidth:n.clientWidth,s.y.targetLength=n===t?n.scrollHeight:n.clientHeight,s.x.containerLength=t.clientWidth,s.y.containerLength=t.clientHeight}function WO(t,n,s,r={}){return{measure:l=>{$O(t,r.target,s),IO(t,s,l),(r.offset||r.target)&&JO(t,s,r)},notify:()=>n(s)}}const va=new WeakMap,J1=new WeakMap,kd=new WeakMap,$1=new WeakMap,Il=new WeakMap,W1=t=>t===document.scrollingElement?window:t;function Ux(t,{container:n=document.scrollingElement,trackContentSize:s=!1,...r}={}){if(!n)return Ne;let l=kd.get(n);l||(l=new Set,kd.set(n,l));const u=GO(),f=WO(n,t,u,r);if(l.add(f),!va.has(n)){const m=()=>{for(const v of l)v.measure(ce.timestamp);xt.preUpdate(p)},p=()=>{for(const v of l)v.notify()},g=()=>xt.read(m);va.set(n,g);const y=W1(n);window.addEventListener("resize",g),n!==document.documentElement&&J1.set(n,Th(n,g)),y.addEventListener("scroll",g),g()}if(s&&!Il.has(n)){const m=va.get(n),p={width:n.scrollWidth,height:n.scrollHeight};$1.set(n,p);const g=()=>{const v=n.scrollWidth,S=n.scrollHeight;(p.width!==v||p.height!==S)&&(m(),p.width=v,p.height=S)},y=xt.read(g,!0);Il.set(n,y)}const h=va.get(n);return xt.read(h,!1,!0),()=>{Ze(h);const m=kd.get(n);if(!m||(m.delete(f),m.size))return;const p=va.get(n);va.delete(n),p&&(W1(n).removeEventListener("scroll",p),J1.get(n)?.(),window.removeEventListener("resize",p));const g=Il.get(n);g&&(Ze(g),Il.delete(n)),$1.delete(n)}}const t8=[[qr.Enter,"entry"],[qr.Exit,"exit"],[qr.Any,"cover"],[qr.All,"contain"]],tb={start:0,end:1};function e8(t){const n=t.trim().split(/\s+/);if(n.length!==2)return;const s=tb[n[0]],r=tb[n[1]];if(!(s===void 0||r===void 0))return[s,r]}function n8(t){if(t.length!==2)return;const n=[];for(const s of t)if(Array.isArray(s))n.push(s);else if(typeof s=="string"){const r=e8(s);if(!r)return;n.push(r)}else return;return n}function i8(t,n){const s=n8(t);if(!s)return!1;for(let r=0;r<2;r++){const l=s[r],u=n[r];if(l[0]!==u[0]||l[1]!==u[1])return!1}return!0}function Em(t){if(!t)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[n,s]of t8)if(i8(t,n))return{rangeStart:`${s} 0%`,rangeEnd:`${s} 100%`}}const eb=new Map;function nb(t){const n={value:0},s=Ux(r=>{n.value=r[t.axis].progress*100},t);return{currentTime:n,cancel:s}}function kx({source:t,container:n,...s}){const{axis:r}=s;t&&(n=t);let l=eb.get(n);l||(l=new Map,eb.set(n,l));const u=s.target??"self";let f=l.get(u);f||(f={},l.set(u,f));const h=r+(s.offset??[]).join(",");return f[h]||(s.target&&Eu(s.target)?Em(s.offset)?f[h]=new ViewTimeline({subject:s.target,axis:r}):f[h]=nb({container:n,...s}):Eu()?f[h]=new ScrollTimeline({source:n,axis:r}):f[h]=nb({container:n,...s})),f[h]}function s8(t,n){const s=kx(n),r=n.target?Em(n.offset):void 0,l=n.target?Eu(n.target)&&!!r:Eu();return t.attachTimeline({timeline:l?s:void 0,...r&&l&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:u=>(u.pause(),Z5(f=>{u.time=u.iterationDuration*f},s))})}function a8(t){return t&&(t.target||t.offset)}function r8(t){return t.length===2}function o8(t,n){return r8(t)||a8(n)?Ux(s=>{t(s[n.axis].progress,s)},n):Z5(t,kx(n))}function Hx(t,{axis:n="y",container:s=document.scrollingElement,...r}={}){if(!s)return Ne;const l={axis:n,container:s,...r};return typeof t=="function"?o8(t,l):s8(t,l)}const l8=()=>({scrollX:fn(0),scrollY:fn(0),scrollXProgress:fn(0),scrollYProgress:fn(0)}),Ra=t=>t?!t.current:!1;function ib(t,n,s,r){return{factory:l=>{let u;const f=()=>{if(Ra(s)||Ra(r)){Va.read(f);return}u=Hx(l,{...n,axis:t,container:s?.current||void 0,target:r?.current||void 0})};return Va.read(f),()=>{I5(f),u?.()}},times:[0,1],keyframes:[0,1],ease:l=>l,duration:1}}function u8(t,n){return typeof window>"u"?!1:t?R5()&&!!Em(n):lm()}function qx({container:t,target:n,...s}={}){const r=As(l8);u8(n,s.offset)&&(r.scrollXProgress.accelerate=ib("x",s,t,n),r.scrollYProgress.accelerate=ib("y",s,t,n));const l=q.useRef(null),u=q.useRef(!1),f=q.useCallback(()=>(l.current=Hx((h,{x:m,y:p})=>{r.scrollX.set(m.current),r.scrollXProgress.set(m.progress),r.scrollY.set(p.current),r.scrollYProgress.set(p.progress)},{...s,container:t?.current||void 0,target:n?.current||void 0}),()=>{l.current?.()}),[t,n,JSON.stringify(s.offset)]);return Fh(()=>
12{if(u.current=!1,Ra(t)||Ra(n)){u.current=!0;return}else return f()},[f]),q.useEffect(()=>{if(!u.current)return;let h;const m=()=>{const p=Ra(t),g=Ra(n);!p&&!g&&(h=f())};return Va.read(m),()=>{I5(m),h?.()}},[f]),r}function qu(t){const n=As(()=>fn(t)),{isStatic:s}=q.useContext(Os);if(s){const[,r]=q.useState(t);q.useEffect(()=>n.on("change",r),[])}return n}function Gx(t,n){const s=qu(n()),r=()=>s.set(n());return r(),Fh(()=>{const l=()=>xt.preRender(r,!1,!0),u=t.map(f=>f.on("change",l));return()=>{u.forEach(f=>f()),Ze(r)}}),s}function c8(t){Ir.current=[],t();const n=Gx(Ir.current,t);return Ir.current=void 0,n}function Rs(t,n,s,r){if(typeof t=="function")return c8(t);if(s!==void 0&&!Array.isArray(s)&&typeof n!="function")return f8(t,n,s,r);const f=typeof n=="function"?n:v9(n,s,r),h=Array.isArray(t)?sb(t,f):sb([t],([p])=>f(p)),m=Array.isArray(t)?void 0:t.accelerate;return m&&!m.isTransformed&&typeof n!="function"&&Array.isArray(s)&&r?.clamp!==!1&&(h.accelerate={...m,times:n,keyframes:s,isTransformed:!0}),h}function sb(t,n){const s=As(()=>[]);return Gx(t,()=>{s.length=0;const r=t.length;for(let l=0;l<r;l++)s[l]=t[l].get();return n(s)})}function f8(t,n,s,r){const l=As(()=>Object.keys(s)),u=As(()=>({}));for(const f of l)u[f]=Rs(t,n,s[f],r);return u}function d8(t,n={}){const{isStatic:s}=q.useContext(Os),r=()=>$t(t)?t.get():t;if(s)return Rs(r);const l=qu(r());return q.useInsertionEffect(()=>b9(l,t,n),[l,JSON.stringify(n)]),l}function ab(t,n={}){return d8(t,{type:"spring",...n})}function h8(t){const n=q.useRef(0),{isStatic:s}=q.useContext(Os);q.useEffect(()=>{if(s)return;const r=({timestamp:l,delta:u})=>{n.current||(n.current=l),t(l-n.current,u)};return xt.update(r,!0),()=>Ze(r)},[t])}function m8(t){const n=qu(t.getVelocity()),s=()=>{const r=t.getVelocity();n.set(r),r&&xt.update(s)};return HO(t,"change",()=>{xt.update(s,!1,!0)}),n}function Fx(){!Sm.current&&W5();const[t]=q.useState(Su.current);return t}function p8(){const t=Fx(),{reducedMotion:n}=q.useContext(Os);return n==="never"?!1:n==="always"?!0:t}function Am(t){return typeof t=="object"&&!Array.isArray(t)}function Ix(t,n,s,r){return t==null?[]:typeof t=="string"&&Am(n)?ym(t,s,r):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(l=>l!=null):[t]}function y8(t,n,s){return t*(n+1)+s*n}function rb(t,n,s,r){return typeof n=="number"?n:n.startsWith("-")||n.startsWith("+")?Math.max(0,t+parseFloat(n)):n==="<"?s:n.startsWith("<")?Math.max(0,s+parseFloat(n.slice(1))):r.get(n)??t}function g8(t,n,s){for(let r=0;r<t.length;r++){const l=t[r];l.at>n&&l.at<s&&(La(t,l),r--)}}function v8(t,n,s,r,l,u){g8(t,l,u);for(let f=0;f<n.length;f++)t.push({value:n[f],at:Bt(l,u,r[f]),easing:u5(s,f)})}function b8(t,n,s=0){const r=n+1+n*s;for(let l=0;l<t.length;l++)t[l]=t[l]/r}function S8(t,n){return t.at===n.at?t.value===null?1:n.value===null?-1:0:t.at-n.at}const x8="easeInOut",T8=20;function w8(t,{defaultTransition:n={},...s}={},r,l){const u=n.duration||.3,f=new Map,h=new Map,m={},p=new Map;let g=0,y=0,v=0;for(let S=0;S<t.length;S++){const x=t[S];if(typeof x=="string"){p.set(x,y);continue}else if(!Array.isArray(x)){p.set(x.name,rb(y,x.at,g,p));continue}let[C,_,E={}]=x;E.at!==void 0&&(y=rb(y,E.at,g,p));let R=0;const D=(z,H,I,j=0,U=0)=>{const K=_8(z),{delay:Z=0,times:W=sm(K),type:it=n.type||"keyframes",repeat:At,repeatType:gt,repeatDelay:Et=0,...G}=H;let{ease:$=n.ease||"easeOut",duration:tt}=H;const ct=typeof Z=="function"?Z(j,U):Z,pt=K.length,O=um(it)?it:l?.[it||"keyframes"];if(pt<=2&&O){let st=100;if(pt===2&&C8(K)){const Nt=K[1]-K[0];st=Math.abs(Nt)}const ft={...n,...G};tt!==void 0&&(ft.duration=Ue(tt));const vt=x5(ft,st,O);$=vt.ease,tt=vt.duration}tt??(tt=u);const Q=y+ct;W.length===1&&W[0]===0&&(W[1]=1);const et=W.length-K.length;if(et>0&&w5(W,et),K.length===1&&K.unshift(null),At&&At<T8){const st=tt>0?Et/tt:0;tt=y8(tt,At,Et);const ft=[...K],vt=[...W];$=Array.isArray($)?[...$]:[$];const Nt=[...$],Ot=gt==="reverse"||gt==="mirror";let Je=ft,$e=Nt;Ot&&(Je=[...ft].reverse(),gt==="reverse"&&($e=[...Nt].reverse().map(de=>typeof de=="function"?Xh(de):de)));for(let de=0;de<At;de++){const oi=Ot&&de%2===0,ke=oi?Je:ft,Yi=oi?$e:Nt,zn=(de+1)*(1+st);st>
120&&(K.push(K[K.length-1]),W.push(zn),$.push("linear")),K.push(...ke);for(let Sn=0;Sn<ke.length;Sn++)W.push(vt[Sn]+zn),$.push(Sn===0?"linear":u5(Yi,Sn-1))}b8(W,At,st)}const nt=Q+tt;v8(I,K,$,W,Q,nt),R=Math.max(ct+tt,R),v=Math.max(nt,v)};if($t(C)){const z=ob(C,h);D(_,E,lb("default",z))}else{const z=Ix(C,_,r,m),H=z.length;for(let I=0;I<H;I++){_=_,E=E;const j=z[I],U=ob(j,h);for(const K in _)D(_[K],E8(E,K),lb(K,U),I,H)}}g=y,y+=R}return h.forEach((S,x)=>{for(const C in S){const _=S[C];_.sort(S8);const E=[],R=[],D=[];for(let j=0;j<_.length;j++){const{at:U,value:K,easing:Z}=_[j];E.push(K),R.push(Cs(0,v,U)),D.push(Z||"easeOut")}R[0]!==0&&(R.unshift(0),E.unshift(E[0]),D.unshift(x8)),R[R.length-1]!==1&&(R.push(1),E.push(null)),f.has(x)||f.set(x,{keyframes:{},transition:{}});const z=f.get(x);z.keyframes[C]=E;const{type:H,...I}=n;z.transition[C]={...I,duration:v,ease:D,times:R,...s}}}),f}function ob(t,n){return!n.has(t)&&n.set(t,{}),n.get(t)}function lb(t,n){return n[t]||(n[t]=[]),n[t]}function _8(t){return Array.isArray(t)?t:[t]}function E8(t,n){return t&&t[n]?{...t,...t[n]}:{...t}}const A8=t=>typeof t=="number",C8=t=>t.every(A8);function R8(t){const n={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},s=Nu(t)&&!J5(t)?new mx(n):new ux(n);s.mount(t),ao.set(t,s)}function M8(t){const n={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},s=new j9(n);s.mount(t),ao.set(t,s)}function D8(t,n){return $t(t)||typeof t=="number"||typeof t=="string"&&!Am(n)}function Yx(t,n,s,r){const l=[];if(D8(t,n))l.push(Tx(t,Am(n)&&n.default||n,s&&(s.default||s)));else{if(t==null)return l;const u=Ix(t,n,r),f=u.length;for(let h=0;h<f;h++){const m=u[h],p=m instanceof Element?R8:M8;ao.has(m)||p(m);const g=ao.get(m),y={...s};"delay"in y&&typeof y.delay=="function"&&(y.delay=y.delay(h,f)),l.push(...mm(g,{...n,transition:y},{}))}}return l}function O8(t,n,s){const r=[],l=t.map(f=>{if(Array.isArray(f)&&typeof f[0]=="function"){const h=f[0],m=fn(0);return m.on("change",h),f.length===1?[m,[0,1]]:f.length===2?[m,[0,1],f[1]]:[m,f[1],f[2]]}return f});return w8(l,n,s,{spring:io}).forEach(({keyframes:f,transition:h},m)=>{r.push(...Yx(m,f,h))}),r}function L8(t){return Array.isArray(t)&&t.some(Array.isArray)}function Kx(t={}){const{scope:n,reduceMotion:s,skipAnimations:r}=t;function l(u,f,h){let m=[],p;const g={};if(s!==void 0&&(g.reduceMotion=s),r!==void 0&&(g.skipAnimations=r),L8(u)){const{onComplete:v,...S}=f||{};typeof v=="function"&&(p=v),m=O8(u,{...g,...S},n)}else{const{onComplete:v,...S}=h||{};typeof v=="function"&&(p=v),m=Yx(u,f,{...g,...S},n)}const y=new _6(m);return p&&y.finished.then(p),n&&(n.animations.push(y),y.finished.then(()=>{La(n.animations,y)})),y}return l}const qL=Kx();function z8(){const t=As(()=>({current:null,animations:[]})),n=p8()??void 0,{skipAnimations:s}=q.useContext(Os),r=q.useMemo(()=>Kx({scope:t,reduceMotion:n,skipAnimations:s}),[t,n,s]);return kO(()=>{t.animations.forEach(l=>l.stop()),t.animations.length=0}),[t,r]}function V8({href:t,exact:n,label:s,Icon:r,...l}){const u=jS({select:m=>m.location.pathname}),[f]=Gh("/sounds/sheika-noise.mp3",{volume:.4}),h=n?t===u:t.split("/")[1]===u.split("/")[1];return N.jsxs(Vu,{to:t,preload:"intent",onClick:()=>f(),className:ZR("relative flex flex-col items-center justify-center aspect-square py-3 px-2.5 text-heading bg-transparent outline-none transition-opacity duration-200 hover:opacity-100 focus-visible:opacity-100",h?"opacity-100":"opacity-60"),"aria-label":s,"aria-current":h?"page":!1,...l,children:[h&&N.jsx(lo.span,{className:"absolute bottom-0 inset-x-2 bg-linear-to-r from-primary/0 via-primary/75 to-primary/0 h-px before:absolute before:bottom-0 before:left-1/2 before:-translate-x-1/2 before:size-9 before:rounded-full pointer-events-none before:bg-primary/25 before:blur-md",style:{originY:"0px"},layoutId:"navIndicator","aria-hidden":!0}),N.jsx(r,{className:"max-sm:size-5"})]},s)}const ja={width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",fillOpacity:.05,strokeWidth:1.5,stroke:"currentColor"},j8=t=>N.jsxs("svg",{...ja,...t,children:[N.jsx("path",{d:"M22 17V11.845C22 10.433 22 9.72701 21.8204 9.07517C21.6613 8.49771 21.3998 7.95353 21.0483 7.46857C20.6514 6.92115 20.1001 6.48011 18.9976 5.59805L16.9976 3.99805C15.214 2.57118 14.3222 1.85774 13.3332 1.58413C12.4608 1.34279 11.5392 1.34279 10.6668 1.58413C9.67783 1.85774 8.78603 2.57118 7.00244 3.99805L5.00244 5.59805C3.89986 6.48011 3.34857 6.92115 2.95174 7.46857C2.6002 7.95353 2.33865 8.497
1271 2.17957 9.07517C2 9.72701 2 10.433 2 11.845V17C2 19.7614 4.23858 22 7 22C8.10457 22 9 21.1046 9 20V15.9999C9 14.3431 10.3431 12.9999 12 12.9999C13.6569 12.9999 15 14.3431 15 15.9999V20C15 21.1046 15.8954 22 17 22C19.7614 22 22 19.7614 22 17Z"}),N.jsx("path",{d:"M22 17V11.845C22 10.433 22 9.72701 21.8204 9.07517C21.6613 8.49771 21.3998 7.95353 21.0483 7.46857C20.6514 6.92115 20.1001 6.48011 18.9976 5.59805L16.9976 3.99805C15.214 2.57118 14.3222 1.85774 13.3332 1.58413C12.4608 1.34279 11.5392 1.34279 10.6668 1.58413C9.67783 1.85774 8.78603 2.57118 7.00244 3.99805L5.00244 5.59805C3.89986 6.48011 3.34857 6.92115 2.95174 7.46857C2.6002 7.95353 2.33865 8.49771 2.17957 9.07517C2 9.72701 2 10.433 2 11.845V17C2 19.7614 4.23858 22 7 22C8.10457 22 9 21.1046 9 20V15.9999C9 14.3431 10.3431 12.9999 12 12.9999C13.6569 12.9999 15 14.3431 15 15.9999V20C15 21.1046 15.8954 22 17 22C19.7614 22 22 19.7614 22 17Z"})]}),P8=t=>N.jsxs("svg",{...ja,...t,children:[N.jsx("path",{d:"M13.999 19L18.999 14V10.3695C18.999 8.46035 18.999 7.50578 18.6533 6.72913C18.3485 6.04444 17.8574 5.45915 17.2361 5.03999C16.5314 4.56453 15.5913 4.39864 13.7112 4.06686L6.50089 2.79445C4.98642 2.52719 4.22919 2.39356 3.68376 2.62504C3.20654 2.82758 2.8266 3.20751 2.62407 3.68474C2.39258 4.23017 2.52621 4.9874 2.79347 6.50187L4.06589 13.7122C4.39767 15.5923 4.56355 16.5323 5.03902 17.2371C5.45818 17.8584 6.04346 18.3494 6.72815 18.6542C7.50481 19 8.45937 19 10.3685 19H13.999ZM11 13C12.1046 13 13 12.1046 13 11C13 9.89543 12.1046 9 11 9C9.89543 9 9 9.89543 9 11C9 12.1046 9.89543 13 11 13Z"}),N.jsx("path",{d:"M3.49951 3.5L7.49997 7.50046M13.999 19L18.999 14V10.3695C18.999 8.46035 18.999 7.50578 18.6533 6.72913C18.3485 6.04444 17.8574 5.45915 17.2361 5.03999C16.5314 4.56453 15.5913 4.39864 13.7112 4.06686L6.50089 2.79445C4.98642 2.52719 4.22919 2.39356 3.68376 2.62504C3.20654 2.82758 2.8266 3.20751 2.62407 3.68474C2.39258 4.23017 2.52621 4.9874 2.79347 6.50187L4.06589 13.7122C4.39767 15.5923 4.56355 16.5323 5.03901 17.2371C5.45818 17.8584 6.04346 18.3494 6.72815 18.6542C7.50481 19 8.45937 19 10.3685 19H13.999ZM13 11C13 12.1046 12.1046 13 11 13C9.89543 13 9 12.1046 9 11C9 9.89543 9.89543 9 11 9C12.1046 9 13 9.89543 13 11ZM12.999 20L19.499 13.5C20.0513 12.9477 20.9467 12.9477 21.499 13.5C22.0513 14.0523 22.0513 14.9477 21.499 15.5L14.999 22C14.4467 22.5523 13.5513 22.5523 12.999 22C12.4467 21.4477 12.4467 20.5523 12.999 20Z"})]}),B8=t=>N.jsxs("svg",{...ja,...t,children:[N.jsx("path",{d:"M12.4 2H11.6C8.23969 2 6.55953 2 5.27606 2.65396C4.14708 3.2292 3.2292 4.14708 2.65396 5.27606C2 6.55953 2 8.23969 2 11.6V12.4C2 15.7603 2 17.4405 2.65396 18.7239C3.2292 19.8529 4.14708 20.7708 5.27606 21.346C6.55953 22 8.23969 22 11.6 22H13C13.9319 22 14.3978 22 14.7654 21.8478C15.2554 21.6448 15.6448 21.2554 15.8478 20.7654C16 20.3978 16 19.9319 16 19C16 18.0681 16 17.6021 16.1522 17.2346C16.3552 16.7445 16.7446 16.3552 17.2346 16.1522C17.6022 16 18.0681 16 19 16C19.9319 16 20.3978 16 20.7654 15.8477C21.2554 15.6447 21.6448 15.2554 21.8478 14.7653C22 14.3978 22 13.9319 22 13V11.6C22 8.23969 22 6.55953 21.346 5.27606C20.7708 4.14708 19.8529 3.2292 18.7239 2.65396C17.4405 2 15.7603 2 12.4 2Z"}),N.jsx("path",{d:"M16 21.5V19.2C16 18.0799 16 17.5198 16.218 17.092C16.4097 16.7157 16.7157 16.4097 17.092 16.218C17.5198 16 18.0799 16 19.2 16H21.5M7 7H15M7 11H13M7 15H9M15.1716 22H11.6C8.23969 22 6.55953 22 5.27606 21.346C4.14708 20.7708 3.2292 19.8529 2.65396 18.7239C2 17.4405 2 15.7603 2 12.4V11.6C2 8.23969 2 6.55953 2.65396 5.27606C3.2292 4.14708 4.14708 3.2292 5.27606 2.65396C6.55953 2 8.23969 2 11.6 2H12.4C15.7603 2 17.4405 2 18.7239 2.65396C19.8529 3.2292 20.7708 4.14708 21.346 5.27606C22 6.55953 22 8.23969 22 11.6V15.1716C22 15.5088 22 15.6774 21.9912 15.8399C21.9171 17.2049 21.3791 18.5036 20.4663 19.5212C20.3577 19.6423 20.2385 19.7615 20 20V20C19.7615 20.2385 19.6423 20.3577 19.5212 20.4663C18.5036 21.3791 17.2049 21.9171 15.8399 21.9912C15.6774 22 15.5088 22 15.1716 22Z"})]}),N8=t=>N.jsxs("svg",{...ja,...t,children:[N.jsx("path",{d:"M22 2V12.6571C22 13.7586 22 14.3093 21.7942 14.7271C21.60
1276 15.106 21.3343 15.3921 20.9643 15.5957C20.5562 15.8203 19.9707 15.8469 18.7998 15.9002C16.2646 16.0156 14.4268 16.4399 12 18C9.57324 16.4399 7.7354 16.0156 5.20023 15.9002C4.02927 15.8469 3.44379 15.8203 3.03575 15.5957C2.66572 15.3921 2.39236 15.106 2.20576 14.7271C2 14.3093 2 13.7586 2 12.6571V2C6.44444 2 8.66667 2 12 4.14286C15.3333 2 17.5556 2 22 2Z"}),N.jsx("path",{d:"M12 18C14.4268 16.4399 16.2646 16.0156 18.7998 15.9002C19.9707 15.8469 20.5562 15.8203 20.9643 15.5957C21.3343 15.3921 21.6076 15.106 21.7942 14.7271C22 14.3093 22 13.7586 22 12.6571V2C17.5556 2 15.3333 2 12 4.14286M12 18C9.57324 16.4399 7.7354 16.0156 5.20023 15.9002C4.02927 15.8469 3.44379 15.8203 3.03575 15.5957C2.66572 15.3921 2.39236 15.106 2.20576 14.7271C2 14.3093 2 13.7586 2 12.6571V2C6.44444 2 8.66667 2 12 4.14286M12 18V4.14286M21 19.5C17 19.5 15 20 12 22C9 20 7 19.5 3 19.5"})]}),U8=[{label:"Home",Icon:j8,href:"/home"},{label:"Building",Icon:P8,href:"/building"},{label:"Writing",Icon:B8,href:"/writing"},{label:"Reading",Icon:N8,href:"/reading"}];function k8(){const t=zR();return q.useEffect(()=>{mt(async()=>{const{readingArchiveQueryOptions:n,readingDataQueryOptions:s}=await import("./queries-DM-de_Hv.js");return{readingArchiveQueryOptions:n,readingDataQueryOptions:s}},[]).then(({readingArchiveQueryOptions:n,readingDataQueryOptions:s})=>{t.prefetchQuery(s),t.prefetchQuery(n)})},[t]),N.jsx("nav",{className:"flex px-2.5 rounded-full glass-shadow",children:U8.map(({href:n,Icon:s,label:r})=>N.jsx(V8,{href:n,label:r,Icon:s},r))})}function H8(){const[t]=Gh("/sounds/sheika-noise.mp3",{volume:.4}),n=q.useRef(null),[s,r]=q.useState(!1);return q.useEffect(()=>{const l=n.current;l&&l.play().catch(()=>r(!0))},[]),N.jsx(Vu,{to:"/","aria-label":"Edmundo Santos",className:"relative z-13 overflow-hidden p-px glass-shadow rounded-full",onClick:()=>t(),children:s?N.jsx("img",{src:"/img/[email protected]",alt:"",className:"relative max-sm:size-11 max-w-full aspect-square pointer-events-none select-none rounded-full",width:52,height:52}):N.jsx("video",{ref:n,src:"/img/ed.mp4",poster:"/img/[email protected]",className:"relative max-sm:size-11 max-w-full aspect-square pointer-events-none select-none rounded-full",controls:!1,autoPlay:!0,playsInline:!0,loop:!0,muted:!0,width:52,height:52})})}const Cm="(prefers-color-scheme: light)",q8=new Set(["system","light","dark"]),Qx=q.createContext({theme:"system",setTheme:()=>{}});function Dh(t){return q8.has(t)}function G8(t){const n=Dh(t)?t:"system";if(typeof window>"u")return n;try{const s=window.localStorage.getItem("theme");return Dh(s)?s:n}catch{return n}}function Hd(t){const n=t==="system"?window.matchMedia(Cm).matches?"light":"dark":t,s=document.documentElement;s.classList.toggle("light",n==="light"),s.classList.toggle("dark",n==="dark"),s.style.colorScheme=n}const F8=`
13  (() => {
14    let storedTheme;
15
16    try {
17      storedTheme = window.localStorage.getItem("theme");
18    } catch {}
19
20    const theme = ["system", "light", "dark"].includes(storedTheme)
21      ? storedTheme
22      : "system";
23    const resolvedTheme =
24      theme === "system"
25        ? window.matchMedia("${Cm}").matches
26          ? "light"
27          : "dark"
28        : theme;
29    const root = document.documentElement;
30
31    root.classList.toggle("light", resolvedTheme === "light");
32    root.classList.toggle("dark", resolvedTheme === "dark");
33    root.style.colorScheme = resolvedTheme;
34  })();
35`;function I8({children:t,defaultTheme:n="system"}){const[s,r]=q.useState(()=>G8(n));q.useEffect(()=>{if(Hd(s),s!=="system")return;const u=window.matchMedia(Cm),f=()=>Hd("system");return u.addEventListener("change",f),()=>u.removeEventListener("change",f)},[s]);const l=q.useMemo(()=>({theme:s,setTheme(u){if(Dh(u)){r(u),Hd(u);try{window.localStorage.setItem("theme",u)}catch{}}}}),[s]);return N.jsx(Qx.Provider,{value:l,children:t})}function Y8(){return q.useContext(Qx)}const qd=["system","light","dark"];function K8(){const[t,n]=q.useState(!1),{setTheme:s,theme:r}=Y8(),[l]=Gh("/sounds/sheika-click.mp3",{volume:.6}),u=qd[(qd.indexOf(r)+1)%qd.length];return q.useEffect(()=>{n(!0)},[]),t?N.jsx("div",{className:"flex rounded-full glass-shadow",children:N.jsx("button",{type:"button",className:"relative cursor-pointer flex flex-row items-center justify-center aspect-square p-3 text-heading bg-transparent roun
35ded-full border-none opacity-60 transition-opacity duration-200 hover:opacity-100 focus-visible:opacity-100","aria-label":`Switch to ${u} mode`,onClick:()=>{l(),s(u)},children:r==="system"?N.jsx(Q8,{}):N.jsx("svg",{...ja,"aria-hidden":!0,className:"max-sm:size-5",children:N.jsx("path",{d:r==="dark"?"M3 11.4489C3 16.7238 7.16904 21 12.3118 21C16.2709 21 19.6529 18.4657 21 14.8925C19.9331 15.4065 18.7418 15.6938 17.485 15.6938C12.9137 15.6938 9.20787 11.8928 9.20787 7.20396C9.20787 5.24299 9.85605 3.4373 10.9446 2C6.45002 2.6783 3 6.65034 3 11.4489Z":"M12 20L12 22M12 2L12 4M20 12H22M2 12H4M18 17.9995L19.5 19.4995M4.5 4.49949L6.00002 5.99953M18 6L19.5 4.5M4.5 19.5L6 18M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z"})})})}):N.jsx("div",{className:"flex rounded-full glass-shadow",children:N.jsx("button",{className:"relative flex flex-row items-center justify-center aspect-square p-3 text-heading bg-transparent rounded-full border-none opacity-60 transition-opacity duration-200 hover:opacity-100 focus-visible:opacity-100",children:N.jsx("svg",{...ja,className:"max-sm:size-5"})})})}function Q8(){return N.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,className:"max-sm:size-5",children:[N.jsx("rect",{x:"2",y:"3",width:"20",height:"14",rx:"3",fill:"currentColor",fillOpacity:"0.16"}),N.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.25H7.94513C6.57754 2.24998 5.47522 2.24996 4.60825 2.36652C3.70814 2.48754 2.95027 2.74643 2.34835 3.34835C1.74643 3.95027 1.48754 4.70814 1.36652 5.60825C1.24996 6.47522 1.24998 7.57754 1.25 8.94513V9V11V11.0549C1.24998 12.4225 1.24996 13.5248 1.36652 14.3918C1.48754 15.2919 1.74643 16.0497 2.34835 16.6517C2.95027 17.2536 3.70814 17.5125 4.60825 17.6335C5.47522 17.75 6.57754 17.75 7.94512 17.75H7.94513H8H11.25V20.25H9C8.58579 20.25 8.25 20.5858 8.25 21C8.25 21.4142 8.58579 21.75 9 21.75H12H15C15.4142 21.75 15.75 21.4142 15.75 21C15.75 20.5858 15.4142 20.25 15 20.25H12.75V17.75H16H16.0549H16.0549C17.4225 17.75 18.5248 17.75 19.3918 17.6335C20.2919 17.5125 21.0497 17.2536 21.6517 16.6517C22.2536 16.0497 22.5125 15.2919 22.6335 14.3918C22.75 13.5248 22.75 12.4225 22.75 11.0549V11V9V8.94513C22.75 7.57754 22.75 6.47522 22.6335 5.60825C22.5125 4.70814 22.2536 3.95027 21.6517 3.34835C21.0497 2.74643 20.2919 2.48754 19.3918 2.36652C18.5248 2.24996 17.4225 2.24998 16.0549 2.25H16H8ZM12 16.25H16C17.4354 16.25 18.4365 16.2484 19.1919 16.1469C19.9257 16.0482 20.3142 15.8678 20.591 15.591C20.8678 15.3142 21.0482 14.9257 21.1469 14.1919C21.2484 13.4365 21.25 12.4354 21.25 11V9C21.25 7.56458 21.2484 6.56347 21.1469 5.80812C21.0482 5.07435 20.8678 4.68577 20.591 4.40901C20.3142 4.13225 19.9257 3.9518 19.1919 3.85315C18.4365 3.75159 17.4354 3.75 16 3.75H8C6.56459 3.75 5.56347 3.75159 4.80812 3.85315C4.07435 3.9518 3.68577 4.13225 3.40901 4.40901C3.13225 4.68577 2.9518 5.07435 2.85315 5.80812C2.75159 6.56347 2.75 7.56458 2.75 9V11C2.75 12.4354 2.75159 13.4365 2.85315 14.1919C2.9518 14.9257 3.13225 15.3142 3.40901 15.591C3.68577 15.8678 4.07435 16.0482 4.80812 16.1469C5.56347 16.2484 6.56459 16.25 8 16.25H12Z",fill:"currentColor"})]})}function X8(){return N.jsxs("header",{className:"-top-4 sticky z-10 py-8 max-sm:-top-3 max-sm:py-6 font-features-(--ffs-heading)",children:[N.jsx(Z8,{}),N.jsxs("div",{className:"container relative z-10 flex items-center justify-between gap-1",children:[N.jsx(H8,{}),N.jsx(k8,{}),N.jsx(K8,{})]})]})}const Z8=()=>[...Array(4)].map((t,n)=>{const s=`blur(${1*2**n}px)`,r=`linear-gradient(to top,
36          transparent ${25*n}%,
37          black ${25*n+25}%,
38          black ${25*n+50}%,
39          transparent ${25*n+75}%
40        )`;return N.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 pointer-events-none",style:{backdropFilter:s,maskImage:r}},n)});function J8(){const{scrollYProgress:t}=qx(),n=Rs(t,[0,1],[0,64]);return N.jsx("div",{className:"max-sm:hidden fixed top-1/2 right-2 w-1 h-16 rounded bg-primary/20 -translate-y-1/2",children:N.jsx(lo.div,{className:"absolute top-0 w-full h-3 rounded bg-primary",style:{y:n}})})}const ub="Edmundo Santos",$8="Edmundo is",cb="https://edmundo.is",W8="Designer based in Ireland.",t7="/og/default.png";function Ii({title:t,description:n=W8,image:s=t7,type:r="website",path:l="/",robots:u}={}){const f=t?`${$8} ${t}`:ub,h=new URL(l,cb).toString(),m=s?new URL(s,cb).toString():null;return{meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, color-scheme=dark"},{name:"theme-color",content:"#000000"},{title:f},{name:"description",content:n},{name:"application-name",content:"Ed"},{name:"author",content:"Edmundo Santos"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:creator",content:"@edmundojr_"},{name:"twitter:site",content:"@edmundojr_"},{name:"twitter:title",content:f},{name:"twitter:description",content:n},m?{name:"twitter:image",content:m}:null,m?{name:"twitter:image:alt",content:f}:null,{property:"og:site_name",content:ub},{property:"og:url",content:h},{property:"og:locale",content:"en"},{property:"og:type",content:r},{property:"og:title",content:f},{property:"og:description",content:n},m?{property:"og:image",content:m}:null,m?{property:"og:image:alt",content:f}:null,u?{name:"robots",content:u}
40:null].filter(Boolean)}}function e7({children:t}){return N.jsx("main",{className:"page-view-transition container flex-1",children:t})}const n7=(t,n)=>Math.floor(Math.random()*(n-t+1)+t),Qr=t=>{const n=Math.sin(t*12.9898)*43758.5453;return n-Math.floor(n)},i7=(t,n,s)=>{const l=4.5+Qr(s)*7.5,u=Qr(s+1)*466;return((n+15+u-t/l*466)%466+466)%466-15-n},s7=t=>{const n=2.8+Qr(t+2)*3.4;return{y:[0,0,-(1.5+Qr(t+3)*7),0,0],transition:{delay:-Qr(t+4)*n,duration:n,ease:"easeInOut",repeat:1/0,times:[0,.24,.48,.72,1]}}};function fb({className:t,id:n,parallax:s,parallaxDistance:r,scrollSpring:l,shimmer:u,starClock:f,starSeed:h,starfield:m,x:p,y:g}){const y=Rs(l,[0,1],[0,r]),v=Rs(f,x=>i7(x,g,h)),S=s7(h);return N.jsx(lo.g,{style:s?{y}:void 0,children:N.jsx(lo.rect,{x:p,y:g,width:15,height:15,vectorEffect:"non-scaling-stroke",strokeWidth:.5,"data-pixel-id":n,className:t,style:m?{y:v}:void 0,animate:u?{y:S.y}:void 0,transition:u?S.transition:void 0})})}function a7({parallax:t=!1}){const[n,s]=z8(),r=Fx(),l=qu(0),u=q.useRef(1),{scrollY:f,scrollYProgress:h}=qx(),m=m8(f),p=Rs(m,S=>1+Math.min(Math.abs(S)/90,11)),g=ab(p,{stiffness:400,damping:35,mass:.5}),y=ab(h,{stiffness:100,damping:30,restDelta:.001}),v=Rs(y,[0,1],[0,60]);return h8((S,x)=>{if(r)return;const C=m.get();Math.abs(C)>20&&(u.current=C>0?-1:1),l.set(l.get()+Math.min(x,50)/1e3*g.get()*u.current)}),q.useEffect(()=>{if(r)return;const S=performance.now(),x=new Map,C={decor:S+Math.random()*600,skull:S+600+Math.random()*900},_=new Map;let E,R=!1;hb.forEach(z=>{x.set(z.id,S+Math.random()*(z.group==="decor"?5e3:8e3))});const D=()=>{if(R)return;const z=performance.now(),H=hb.filter(I=>z>=C[I.group]&&z>=x.get(I.id)&&I.neighbours.every(j=>z-(_.get(j)??-1/0)>800));if(H.length>0){const I=[...new Set(H.map(({group:W})=>W))],j=I.length===1?I[0]:Math.random()<.55?"decor":"skull",U=H.filter(W=>W.group===j),K=U[Math.floor(Math.random()*U.length)],Z=K.group==="decor";s(`[data-pixel-id="${K.id}"]`,{opacity:[1,Math.random()*.15,1]},{duration:.45+Math.random()*.2,ease:"linear"}),_.set(K.id,z),C[K.group]=z+(Z?500+Math.random()*900:1200+Math.random()*1200),x.set(K.id,z+(Z?5e3+Math.random()*5e3:7e3+Math.random()*7e3))}E=window.setTimeout(D,100+Math.random()*150)};return D(),()=>{R=!0,window.clearTimeout(E)}},[s,r]),N.jsxs("svg",{ref:n,viewBox:"0 0 796 451",className:"block h-auto w-full text-inherit fill-current overflow-visible",children:[N.jsx("g",{children:Xx.map(({x:S,y:x},C)=>N.jsx(fb,{id:`decor-${C}`,x:S,y:x,parallax:!1,parallaxDistance:0,scrollSpring:y,shimmer:!1,starClock:l,starSeed:C+1,starfield:!r},C))}),N.jsx(lo.g,{style:t?{y:v}:void 0,children:Zx.map(({x:S,y:x},C)=>N.jsx(fb,{id:`skull-${C}`,x:S,y:x,className:"stroke-current",parallax:t,parallaxDistance:n7(-45,45),scrollSpring:y,shimmer:!r,starClock:l,starSeed:C+101,starfield:!1},C))})]})}const Xx=[{x:690.5,y:75.5},{x:660.5,y:120.5},{x:645.5,y:135.5},{x:780.5,y:165.5},{x:600.5,y:180.5},{x:735.5,y:225.5},{x:750.5,y:240.5},{x:630.5,y:255.5},{x:705.5,y:315.5},{x:645.5,y:375.5},{x:720.5,y:420.5},{x:360.5,y:15.5},{x:135.5,y:.5},{x:150.5,y:75.5},{x:135.5,y:90.5},{x:60.5,y:120.5},{x:90.5,y:180.5},{x:150.5,y:210.5},{x:.5,y:225.5},{x:30.5,y:300.5},{x:165.5,y:330.5},{x:120.5,y:345.5},{x:255.5,y:105.5},{x:540.5,y:30.5},{x:525.5,y:105.5},{x:255.5,y:285.5},{x:240.5,y:300.5},{x:240.5,y:420.5},{x:315.5,y:405.5},{x:510.5,y:390.5},{x:435.5,y:420.5},{x:540.5,y:420.5},{x:480.5,y:435.5},{x:540.5,y:300.5},{x:525.5,y:285.5},{x:270.5,y:390.5}],Zx=[{x:345.5,y:45.5},{x:360.5,y:45.5},{x:375.5,y:45.5},{x:390.5,y:45.5},{x:405.5,y:45.5},{x:420.5,y:45.5},{x:435.5,y:45.5},{x:315.5,y:60.5},{x:330.5,y:60.5},{x:450.5,y:60.5},{x:465.5,y:60.5},{x:300.5,y:75.5},{x:465.5,y:75.5},{x:480.5,y:75.5},{x:300.5,y:90.5},{x:480.5,y:90.5},{x:285.5,y:105.5},{x:300.5,y:105.5},{x:390.5,y:105.5},{x:495.5,y:105.5},{x:285.5,y:120.5},{x:495.5,y:120.5},{x:270.5,y:135.5},{x:510.5,y:135.5},{x:270.5,y:150.5},{x:345.5,y:150.5},{x:360.5,y:150.5},{x:420.5,y:150.5},{x:435.5,y:150.5},{x:510.5,y:150.5},{x:270.5,y:165.5},{x:315.5,y:165.5},{x:330.5,y:165.5},{x:345.5,y:165.5},{x:360.5,y:165.5},{x:420.5,y:165.5},{x:435.5,y:165.5},{x:450.5,y:165.5},{x:465.5,y:165.5},{x:510.5,y:165.5},{x:270.5,y:180.5},{x:300.5,y:180.5},{x:315.5,y:180.5},{x:330.5,y:180.5},{x:345.5,y:180.5},{x:360.5,y:180.5},{x:420.5,y:180.5},{x:435.5,y:180.5},{x:450.5,y:180.5},{x:465.5,y:180.5},{x:480.5,y:180.5},{x:510.5,y:180.5},{x:270.5,y:195.5},{x:300.5,y:195.5},{x:315.5,y:195.5},{x:330.5,y:195.5},{x:345.5,y:195.5},{x:360.5,y:195.5},{x:420.5,y:195.5},{x:435.5,y:195.5},{x:450.5,y:195.5},{x:465.5,y:195.5},{x:480.5,y:195.5},{x:510.5,y:195.5},{x:270.5,y:210.5},{x:315.5,y:210.5},{x:330.5,y:210.5},{x:345.5,y:210.5},{x:435.5,y:210.5},{x:450.5,y:210.5},{x:465.5,y:210.5},{x:510.5,y:210.5},{x:270.5,y:225.5},{x:375.5,y:225.5},{x:390.5,y:225.5},{x:405.5,y:225.5},{x:510.5,y:225.5},{x:270.5,y:240.5},{x:375.5,y:240.5},{x:390.5,y:240.5},{x:405.5,y:240.5},{x:510.5,y:240.5},{x:270.5,y:255.5},{x:285.5,y:255.5},{x:300.5,y:255.5},{x:375.5,y:255.5},{x:405.5,y:255.5},{x:480.5,y:255.5},{x:495.5,y:255.5},{x:510.5,y:255.5},{x:300.5,y:270.5},{x:480.5,y:270.5},{x:300.5,y:285.5},{x:315.5,y:285.5},{x:330.5,y:285.5},{x:450.5,y:285.5},{x:465.5,y:285.5},{x:480.5,y:285.5},{x:300.5,y:300.5},{x:330.5,y:300.5},{x:360.5,y:300.5},{x:390.5,y:300.5},{x:420.5,y:300.5},{x:450.5,y:300.5},{x:480.5,y:300.5},{x:300.5,y:315.5},{x:330.5,y:315.5},{x:345.5,y:315.5},{x:360.5,y:315.5},{x:375.5,y:315.5},{x:390.5,y:315.5},{x:405.5,y:315.5},{x:420.5,y:315.5},{x:435.5,y:315.5},{x:450.5,y:315.5},{x:480.5,y:315.5},{x:300.5,y:330.5},{x:345.5,y:330.5},{x:360.5,y:330.5},{x:375.5,y:330.5},{x:390.5,y:330.5},{x:405.5,y:330.5},{x:420.5,y:330.5},{x:435.5,y:330.5},{x:480.5,y:330.5},{x:300.5,y:345.5},{x:345.5,y:345.5},{x:360.5,y:345.5},{x:390.5,y:345.5},{x:420.5,y:345.5},{x:435.5,y:345.5},{x:480.5,y:345.5},{x:315.5,y:360.5},{x:465.5,y:360.5},{x:330.5,y:375.5},{x:450.5,y:375.5},{x:345.5,y:390.5},{x:360.5,y:390.5},{x:375.5,y:390.5},{x:390.5,y:390.5},{x:405.5,y:390.5},{x:420.5,y:390.5},{x:435.5,y:390.5}],r7=(t,n)=>Math.abs(t.x-n.x)===15&&t.y===n.y||Math.abs(t.y-n.y)===15&&t.x===n.x,db=[...Xx.map((t,n)=>({...t,id:`decor-${n}`,group:"decor"})),...Zx.map((t,n)=>({...t,id:`skull-${n}`,group:"skull"}))],hb=db.map(t=>({...t,neighbours:db.filter(n=>r7(t,n)).map(({id:n})=>n)}));function o7(){return N.jsx("div",{className:"bg-[blue] text-[white]",children:N.jsx("main",{className:"container flex min-h-screen flex-col justify-center py-8 before:pointer-events-none before:fixed before:inset-[-100vw] before:animate-noise before:bg-[url('data:image/svg+xml,%3Csvg%20width=%22256%22%20height=%22256%22%20viewBox=%220%200%20256%20256%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter%20id=%22f%22%3E%3CfeTurbulence%20type=%22turbulence%22%20baseFrequency=%22.3%22%20numOctaves=%221%22%20stitchTiles=%22stitch%22%20/%3E%3C/filter%3E%3Crect%20width=%22100%25%22%20height=%22100%25%22%20filter=%22url(%23f)%22%20/%3E%3C/svg%3E')] before:opacity-35 [&_blockquote]:mb-0 [&_h1]:mt-0",children:N.jsxs("div",{children:[N.jsx("figure",{className:"media-wrapper",children:N.jsx(a7,{})}),N.jsxs("article",{children:[N.jsxs("p",{children:["Go ",N.jsx("a",{href:"https://edmundo.is/home",children:"home"})," kid, you’re drunk."]}),N.jsxs("blockquote",{className:"relative py-0 pr-[1.2rem] pl-[2.4rem] italic before:absolute before:text-xl before:content-['“'] before:[translate:-150%_-6%]",children:["Once we’re thrown off our habitual paths, we think all is lost, but it’s only here that the new and the good begins.",N.jsx("footer",{className:"m-[0.4rem] block text-xs opacity-60 before:mx-[0.4rem] before:inline-block before:content-['└─']",children:"Leo Tolstoy"})]})]})]})})})}const l7="/assets/globals-CU2JGf7B.css",ri=C4({head:()=>({...Ii(),links:[{rel:"stylesheet",href:"/fonts/output-sans/fonts.css"},{rel:"stylesheet",href:"/fonts/ibm-plex-mono/fonts.css"},{rel:"stylesheet",href:l7},{rel:"icon",href:"/favicon.ico"}]}
40),component:u7,notFoundComponent:o7});function u7(){return N.jsx(c7,{children:N.jsx(VS,{})})}function c7({children:t}){const{isNotFound:n,pathname:s}=jS({select:l=>({pathname:l.location.pathname,isNotFound:l.location.pathname==="/404"||l.matches.some(u=>u.status==="notFound"||u.globalNotFound)})}),r=s!=="/on-time"&&!n;return N.jsxs("html",{lang:"en",suppressHydrationWarning:!0,className:"scroll-smooth scrollbar-none dark","data-scroll-behavior":"smooth",children:[N.jsxs("head",{children:[N.jsx("script",{children:F8}),N.jsx(K4,{})]}),N.jsxs("body",{className:"flex flex-col min-h-screen font-sans text-base leading-normal text-text antialiased bg-background",children:[N.jsxs(I8,{defaultTheme:"system",children:[r?N.jsxs(N.Fragment,{children:[N.jsx("div",{"aria-hidden":!0,className:"pointer-events-none fixed inset-y-0 left-1/2 -z-1 w-[calc(var(--width)+8vw)] max-w-[calc(var(--max-width)+4rem)] -translate-x-1/2 border-x border-rail max-sm:hidden"}),N.jsx(X8,{}),N.jsx(J8,{}),N.jsx(e7,{children:t}),N.jsx(KR,{})]}):t,N.jsx(YR,{})]}),N.jsx(Q4,{})]})]})}const f7=()=>mt(()=>import("./writing-Cs0dvckd.js"),[]),d7=Ln("/writing")({component:Gi(f7,"component")}),h7=()=>mt(()=>import("./reading-CbpsieKK.js"),__vite__mapDeps([0,1,2,3])),m7=Ln("/reading")({loader:async({context:t})=>{const{readingDataQueryOptions:n}=await mt(async()=>{const{readingDataQueryOptions:s}=await import("./queries-DM-de_Hv.js");return{readingDataQueryOptions:s}},[]);await t.queryClient.ensureQueryData({...n,revalidateIfStale:!0})},head:()=>Ii({title:"reading",description:"EX LIBRIS ĒAD MUND SANCTUS. The personal library of Edmundo Santos. Books I'm reading, read, and plan to read.",image:"/og/reading.png",path:"/reading"}),component:Gi(h7,"component")}),p7=()=>mt(()=>import("./on-time-By3DNPfs.js"),__vite__mapDeps([4,5,2])),y7=Ln("/on-time")({head:()=>Ii({title:"on time"}),component:Gi(p7,"component")}),g7=()=>mt(()=>import("./home-Ix6FOVGL.js"),[]),v7=Ln("/home")({head:()=>Ii({title:"home",description:"Interface designer based in Ireland.",path:"/home"}),component:Gi(g7,"component")}),b7=()=>mt(()=>import("./building-Bo5gTLp6.js"),__vite__mapDeps([6,5,2,7])),S7="Some design work and random bits I’ve done for money and pleasure",x7=Ln("/building")({head:()=>Ii({title:"building",description:S7,path:"/building"}),component:Gi(b7,"component")}),T7=Ln("/biking")({beforeLoad:()=>{throw Cu({href:"https://youtube.com/@manfromanotherland"})}}),w7=()=>mt(()=>import("./404-D_k5doEQ.js"),[]),_7=Ln("/404")({head:()=>Ii({title:"not found…"}),component:Gi(w7,"component")}),E7=Ln("/")({beforeLoad:()=>{throw Cu({to:"/home"})}}),A7=1,C7="did:plc:kw44sas6mycztnlojh2ylio4",R7={rkey:"3mvzrnbrtnb25"},M7={"artillery-playwright-reporter-with-github-actions":{rkey:"3mvzrnbrtmc25"},"building-my-first-terrarium":{rkey:"3mvzrnbrtmd25"},"css-chevron":{rkey:"3mvzrnbrtme25"},"dark-side-tumblr-theme":{rkey:"3mvzrnbrtmf25"},"designing-view-transitions":{rkey:"3mvzrnbrtmg25"},"eddy-terminal-reading-log":{rkey:"3mvzrnbrtmh25"},"hide-mymind-sidebar-by-default":{rkey:"3mvzrnbrtmi25"},"human-readable-lists-from-array":{rkey:"3mvzrnbrtmj25"},kalokagathos:{rkey:"3mvzrnbrtmk25"},"leo-tolstoy-on-personal-growth":{rkey:"3mvzrnbrtml25"},"less-vs-sass":{rkey:"3mvzrnbrtmm25"},"lets-move":{rkey:"3mvzrnbrtmn25"},"minui-rom-search-app-for-trimui-brick":{rkey:"3mvzrnbrtmo25"},"my-lego-winter-village":{rkey:"3mvzrnbrtmp25"},"northern-lights-in-ireland":{rkey:"3mvzrnbrtmq25"},"owning-my-reading-log":{rkey:"3mvzrnbrtmr25"},"reading-tip":{rkey:"3mvzrnbrtms25"},"should-designers-code":{rkey:"3mvzrnbrtmt25"},"sketch-libraries":{rkey:"3mvzrnbrtmu25"},solitude:{rkey:"3mvzrnbrtmv25"},"surprised-by-joy":{rkey:"3mvzrnbrtmw25"},"thank-you-evervault":{rkey:"3mvzrnbrtmx25"},"thank-you-poppulo":{rkey:"3mvzrnbrtmy25"},"the-beast-from-the-east":{rkey:"3mvzrnbrtmz25"},"the-literary-clock":{rkey:"3mvzrnbrtn225"},"the-scariest-moment":{rkey:"3mvzrnbrtn325"},"waiting-for-inspiration":{rkey:"3mvzrnbrtn425"},"walking-from-dublin-to-glendalough":{rkey:"3mvzrnbrtn525"},"windhager-firewin-klassic":{rkey:"3mvzrnbrtn625"},"xcode-ios-build-fail-compileassetcatalog":{rkey:"3mvzrnbrtn725"},"xiaomi-mi-mix-2s-custom-rom":{rkey:"3mvzrnbrtna25"}},Rm={version:A7,did:C7,publication:R7,documents:M7},mb="did:plc:kw44sas6mycztnlojh2ylio4",Jx="site.standard.publication",$x="site.standard.document",D7=/^[a-z0-9]+(?:-[a-z0-9]+)*$/,O7=/^[2-7a-z]{13}$/;function Rn(t){throw new Error(`Invalid Standard.site data: ${t}`)}function Yl(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}
40function Wx(t){(typeof t!="string"||!D7.test(t))&&Rn(`invalid post slug "${t}"`)}function pb(t,n){(typeof t!="string"||!O7.test(t))&&Rn(`${n} must contain a TID record key`)}function Mm(t,{expectedSlugs:n}={}){(!Yl(t)||t.version!==1)&&Rn("manifest version must be 1"),t.did!==mb&&Rn(`manifest DID must be ${mb}`),Yl(t.publication)||Rn("manifest publication is missing"),pb(t.publication.rkey,"manifest publication"),Yl(t.documents)||Rn("manifest documents must be a mapping");const s=new Set([t.publication.rkey]);for(const[r,l]of Object.entries(t.documents))Wx(r),Yl(l)||Rn(`manifest entry for "${r}" must be a mapping`),pb(l.rkey,`manifest entry for "${r}"`),s.has(l.rkey)&&Rn(`record key "${l.rkey}" is used more than once`),s.add(l.rkey);if(n){const r=[...new Set(n)].filter(l=>!t.documents[l]).sort();r.length&&Rn(`manifest is missing ${r.join(", ")}; run "bun run atproto:prepare"`)}return t}function tT(t,n,s){return`at://${t}/${n}/${s}`}function L7(t=Rm){return Mm(t),tT(t.did,Jx,t.publication.rkey)}function z7(t,n=Rm){Wx(t),Mm(n);const s=n.documents[t];return s||Rn(`manifest is missing ${t}; run "bun run atproto:prepare" before building`),tT(n.did,$x,s.rkey)}function eT(t){const n=[{rel:Jx,href:L7()}];return t!==void 0&&n.push({rel:$x,href:z7(t)}),n}Mm(Rm);const V7=()=>mt(()=>import("./writing.index-C7EqFMna.js"),__vite__mapDeps([8,9])),j7=Ln("/writing/")({head:()=>{const t=Ii({title:"writing",description:"Blog posts about design, code, and random thoughts written by Edmundo Santos.",image:"/og/writing.png",path:"/writing"});return{...t,links:[...t.links??[],...eT()]}},component:Gi(V7,"component")}),P7={title:"Set up Artillery Playwright Reporter with GitHub Actions",description:"How to use @artillery/playwright-reporter with GitHub Actions",publishedAt:"2024-12-03",featured:!1,theme:null},B7={title:"A Hobbit’s Garden: Crafting a Middle-earth Terrarium",description:"Terrariums are the perfect way for bringing the outside inside. Building one is also very relaxing.",publishedAt:"2023-02-17",featured:!1,theme:null},N7={title:"CSS Chevron Separator",description:"Terrariums are the perfect way for bringing the outside inside. Building one is also very relaxing.",publishedAt:"2023-12-06",featured:!1,theme:null},U7={title:"Dark Side: a free Tumblr theme",description:"“Dark Side” is a free Tumblr theme inspired by Star Wars and the most badass Sith Lord ever, Darth Vader.",publishedAt:"2015-05-04",featured:!1,theme:null},k7={title:"Seamless navigation using the View Transitions API",description:"Replacing a motion-based animation hack with the native View Transitions API in Next.js.",publishedAt:"2026-04-30",featured:!1,theme:null},H7={title:"Building Eddy, my terminal reading log",description:"How I replaced my web book CMS with a lazygit-inspired TUI powered by Ink and Supabase.",publishedAt:"2026-07-21",featured:!0,image:"/og/[email protected]",theme:null},q7={title:"Hide mymind’s sidebar by default with Arc’s Boost",description:"mymind is cool and all but the sidebar is too big",publishedAt:"2025-03-15",featured:!1,theme:null},G7={title:"Human readable lists from arrays",description:"How to use Intl.ListFormat to create a human readable list from an array",publishedAt:"2021-03-04",featured:!1,theme:null},F7={title:"Kalos kagathos",description:"Kalos kagathos: a concept of beauty inseparably linked to the concept of use.",publishedAt:"2020-02-20",featured:!1,theme:null},I7={title:"On personal growth",description:"From the diaries of Leo Tolstoy.",publishedAt:"2018-09-09",featured:!1,theme:null},Y7={title:"Less vs Sass",description:"Comparison between Sass and Less, and why Sass is better.",publishedAt:"2017-11-02",featured:!1,theme:null},K7={title:"Let’s move",description:"No animation is unnatural.",publishedAt:"2022-03-01",featured:!0,theme:null},Q7={title:"Building a ROM Search app for TrimUI Brick and MinUI",description:"A ROM search app for the TrimUI Brick that allows users to search and launch games quickly",publishedAt:"2025-03-18",featured:!1,theme:null},X7={title:"My LEGO Christmas Winter Village",description:"A Christmas tradition started as an excuse to buy more LEGO.",publishedAt:"2024-12-25",featured:!1,theme:null},Z7={title:"A Night Under Northern Lights",description:"The first time I’ve seen an aurora borealis.",publishedAt:"2024-05-13",featured:!1,theme:null},J7={title:"Owning my reading log",description:"How I build my own reading log with Next.js and Contentlayer and left Goodreads for good.",publishedAt:"2023-12-30",featured:!0,image:"/media/
40[email protected]",theme:null},$7={title:"Reading tip #1",description:"Here’s some reading advice that stuck with me.",publishedAt:"2018-06-29",featured:!1,theme:null},W7={title:"Should designers code?",description:"Code shouldn’t hurt your creativity. It should enhance it.",publishedAt:"2021-10-28",featured:!0,theme:null},tL={title:"Sketch Libraries @ UX Cork Meetup",description:"Improving your design workflow and collaboration with other designers.",publishedAt:"2019-03-23",featured:!1,theme:null},eL={title:"Solitude",description:"Much was possible to a man in solitude, but some things were possible only to a man in companionship.",publishedAt:"2015-11-15",featured:!1,theme:null},nL={title:"Surprised by Joy",description:"I heard a voice that cried, / Balder the beautiful / Is dead, is dead–",publishedAt:"2016-03-17",featured:!1,theme:null},iL={title:"Would you still remember me",description:"On 2 years working with some amazingly talended people.",publishedAt:"2022-05-06",featured:!1,theme:null},sL={title:"My heart will go on",description:"New year, new mission. Thank you Poppulo, hello Evervault!",publishedAt:"2020-01-31",featured:!1,theme:null},aL={title:"The Beast from the East",description:"One of the worst storms to hit Ireland in the last 100 years.",publishedAt:"2018-03-22",featured:!1,theme:null},rL={title:"The Literary Clock",description:"Telling time with passages from books I have read.",publishedAt:"2026-07-10",featured:!0,image:"/og/[email protected]",theme:null},oL={title:"The scariest moment",description:"It’s not scary really, I just love this quote.",publishedAt:"2018-02-18",featured:!1,theme:null},lL={title:"Waiting for inspiration",description:"Creative mojo just doesn’t bubble from who knows where.",publishedAt:"2020-12-07",featured:!1,theme:null},uL={title:"Walking from Dublin to Glendalough",description:"A hiking and wild camping trip made with barefoot shoes.",publishedAt:"2022-09-28",featured:!1,theme:null},cL={title:"Bringing Our Cottage’s Heating Back to Life",description:"Fixing my Windhager FireWIN Klassic wood pellet boiler",publishedAt:"2026-01-16",featured:!1,theme:null},fL={title:"macOS upgrade breaking XCode iOS build",description:"Try this if your iOS builds are failing on CompileAssetCatalog step.",publishedAt:"2018-05-21",featured:!1,theme:null},dL={title:"The notchless pixel",description:"Installing a custom ROM on Xiaomi Mi Mix 2S.",publishedAt:"2018-05-27",featured:!1,theme:null},hL=Object.assign({"/data/posts/artillery-playwright-reporter-with-github-actions.mdx":P7,"/data/posts/building-my-first-terrarium.mdx":B7,"/data/posts/css-chevron.mdx":N7,"/data/posts/dark-side-tumblr-theme.mdx":U7,"/data/posts/designing-view-transitions.mdx":k7,"/data/posts/eddy-terminal-reading-log.mdx":H7,"/data/posts/hide-mymind-sidebar-by-default.mdx":q7,"/data/posts/human-readable-lists-from-array.mdx":G7,"/data/posts/kalokagathos.mdx":F7,"/data/posts/leo-tolstoy-on-personal-growth.mdx":I7,"/data/posts/less-vs-sass.mdx":Y7,"/data/posts/lets-move.mdx":K7,"/data/posts/minui-rom-search-app-for-trimui-brick.mdx":Q7,"/data/posts/my-lego-winter-village.mdx":X7,"/data/posts/northern-lights-in-ireland.mdx":Z7,"/data/posts/
40owning-my-reading-log.mdx":J7,"/data/posts/reading-tip.mdx":$7,"/data/posts/should-designers-code.mdx":W7,"/data/posts/sketch-libraries.mdx":tL,"/data/posts/solitude.mdx":eL,"/data/posts/surprised-by-joy.mdx":nL,"/data/posts/thank-you-evervault.mdx":iL,"/data/posts/thank-you-poppulo.mdx":sL,"/data/posts/the-beast-from-the-east.mdx":aL,"/data/posts/the-literary-clock.mdx":rL,"/data/posts/the-scariest-moment.mdx":oL,"/data/posts/waiting-for-inspiration.mdx":lL,"/data/posts/walking-from-dublin-to-glendalough.mdx":uL,"/data/posts/windhager-firewin-klassic.mdx":cL,"/data/posts/xcode-ios-build-fail-compileassetcatalog.mdx":fL,"/data/posts/xiaomi-mi-mix-2s-custom-rom.mdx":dL}),mL=Object.assign({
40"/data/posts/artillery-playwright-reporter-with-github-actions.mdx":()=>mt(()=>import("./artillery-playwright-reporter-with-github-actions-DsdEByjg.js"),[]),
40"/data/posts/building-my-first-terrarium.mdx":()=>mt(()=>import("./building-my-first-terrarium-B4hEQ0ay.js"),[]),
40"/data/posts/css-chevron.mdx":()=>mt(()=>import("./css-chevron-DdLNzmhc.js"),[]),
40"/data/posts/dark-side-tumblr-theme.mdx":()=>mt(()=>import("./dark-side-tumblr-theme-D_3CdmDz.js"),[]),
40"/data/posts/designing-view-transitions.mdx":()=>mt(()=>import("./designing-view-transitions-DC_1nneQ.js"),[]),
40"/data/posts/eddy-terminal-reading-log.mdx":()=>mt(()=>import("./eddy-terminal-reading-log-4f_P_8XS.js"),[]),
40"/data/posts/hide-mymind-sidebar-by-default.mdx":()=>mt(()=>import("./hide-mymind-sidebar-by-default-ChKpynVA.js"),[]),
40"/data/posts/human-readable-lists-from-array.mdx":()=>mt(()=>import("./human-readable-lists-from-array-B1XN_UZA.js"),[]),
40"/data/posts/kalokagathos.mdx":()=>mt(()=>import("./kalokagathos-BEg48lWB.js"),[]),
40"/data/posts/leo-tolstoy-on-personal-growth.mdx":()=>mt(()=>import("./leo-tolstoy-on-personal-growth-EfWPDvE7.js"),[]),
40"/data/posts/less-vs-sass.mdx":()=>mt(()=>import("./less-vs-sass-BSivFnmX.js"),[]),
40"/data/posts/lets-move.mdx":()=>mt(()=>import("./lets-move-DMUcIITD.js"),[]),
40"/data/posts/minui-rom-search-app-for-trimui-brick.mdx":()=>mt(()=>import("./minui-rom-search-app-for-trimui-brick-Bt6tN5ni.js"),[]),
40"/data/posts/my-lego-winter-village.mdx":()=>mt(()=>import("./my-lego-winter-village-CGbOkvUp.js"),[]),
40"/data/posts/northern-lights-in-ireland.mdx":()=>mt(()=>import("./northern-lights-in-ireland-DLVvRgMB.js"),[]),
40"/data/posts/owning-my-reading-log.mdx":()=>mt(()=>import("./owning-my-reading-log-BDPV7lmy.js"),[]),
40"/data/posts/reading-tip.mdx":()=>mt(()=>import("./reading-tip-vB7I1ynC.js"),[]),
40"/data/posts/should-designers-code.mdx":()=>mt(()=>import("./should-designers-code-D_O6KlLN.js"),[]),
40"/data/posts/sketch-libraries.mdx":()=>mt(()=>import("./sketch-libraries-C5REFM3X.js"),[]),
40"/data/posts/solitude.mdx":()=>mt(()=>import("./solitude-Ch5yOuae.js"),[]),
40"/data/posts/surprised-by-joy.mdx":()=>mt(()=>import("./surprised-by-joy-BbPZJBv8.js"),[]),
40"/data/posts/thank-you-evervault.mdx":()=>mt(()=>import("./thank-you-evervault-CgVlQ761.js"),[]),
40"/data/posts/thank-you-poppulo.mdx":()=>mt(()=>import("./thank-you-poppulo-CHD5OiS9.js"),[]),
40"/data/posts/the-beast-from-the-east.mdx":()=>mt(()=>import("./the-beast-from-the-east-Dxxnk0w8.js"),[]),
40"/data/posts/the-literary-clock.mdx":()=>mt(()=>import("./the-literary-clock-DJqQ23zW.js"),__vite__mapDeps([10,5,2])),
40"/data/posts/the-scariest-moment.mdx":()=>mt(()=>import("./the-scariest-moment-CapYpDDy.js"),[]),
40"/data/posts/waiting-for-inspiration.mdx":()=>mt(()=>import("./waiting-for-inspiration-BAnYzmvI.js"),[]),
40"/data/posts/walking-from-dublin-to-glendalough.mdx":()=>mt(()=>import("./walking-from-dublin-to-glendalough-BSl6nwuz.js"),[]),
40"/data/posts/windhager-firewin-klassic.mdx":()=>mt(()=>import("./windhager-firewin-klassic-DhBmgTc5.js"),[]),
40"/data/posts/xcode-ios-build-fail-compileassetcatalog.mdx":()=>mt(()=>import("./xcode-ios-build-fail-compileassetcatalog-Bi3Ru7m7.js"),[]),
40"/data/posts/xiaomi-mi-mix-2s-custom-rom.mdx":()=>mt(()=>import("./xiaomi-mi-mix-2s-custom-rom-DNjKL1iW.js"),[])
40}),nT=Object.entries(hL).map(([t,n])=>{const s=t.split("/").pop().replace(/\.mdx$/,"");return{...n,slug:s,slugAsParams:s,Component:q.lazy(mL[t])}}),yb=nT.map(t=>t.slug).filter((t,n,s)=>s.indexOf(t)!==n);if(yb.length)throw new Error(`Duplicate post slug(s): ${[...new Set(yb)].join(", ")}`);function pL(t){return nT.find(n=>n.slugAsParams===t)??null}function yL(t){return{title:t.title,description:t.description,publishedAt:t.publishedAt,featured:t.featured,image:t.image,theme:t.theme,slug:t.slug,slugAsParams:t.slugAsParams}}const gL=()=>mt(()=>import("./writing._slug-Cidd07A5.js"),__vite__mapDeps([11,1,2,7,3,9])),vL=Ln("/writing/$slug")({loader:({params:t})=>{const n=pL(t.slug);if(!n)throw o_();return{post:yL(n)}},head:({loaderData:t})=>{const n=t?.post,s=Ii({title:`writing about “${n?.title??""}”`,description:n?.description,image:n?.image??"/og/writing.png",type:"article",path:`/writing/${n?.slugAsParams??""}`});return{...s,links:[...s.links??[],...n?eT(n.slugAsParams):[]]}},component:Gi(gL,"component")}),Dm=d7.update({id:"/writing",path:"/writing",getParentRoute:()=>ri}),bL=m7.update({id:"/reading",path:"/reading",getParentRoute:()=>ri}),SL=y7.update({id:"/on-time",path:"/on-time",getParentRoute:()=>ri}),xL=v7.update({id:"/home",path:"/home",getParentRoute:()=>ri}),TL=x7.update({id:"/building",path:"/building",getParentRoute:()=>ri}),wL=T7.update({id:"/biking",path:"/biking",getParentRoute:()=>ri}),_L=_7.update({id:"/404",path:"/404",getParentRoute:()=>ri}),EL=E7.update({id:"/",path:"/",getParentRoute:()=>ri}),AL=j7.update({id:"/",path:"/",getParentRoute:()=>Dm}),CL=vL.update({id:"/$slug",path:"/$slug",getParentRoute:()=>Dm}),RL={WritingSlugRoute:CL,WritingIndexRoute:AL},ML=Dm._addFileChildren(RL),DL={IndexRoute:EL,R404Route:_L,BikingRoute:wL,BuildingRoute:TL,HomeRoute:xL,OnTimeRoute:SL,ReadingRoute:bL,WritingRoute:ML},OL=ri._addFileChildren(DL);function LL(){const t=new LR;return H4({routeTree:OL,context:{queryClient:t},dehydrate:()=>vR(t),hydrate:n=>bR(t,n),scrollRestoration:!0,defaultViewTransition:!0,Wrap:({children:n})=>N.jsx(VR,{client:t,children:n})})}async function zL(){const t=await LL();let n;return n=[],window.__TSS_START_OPTIONS__={serializationAdapters:n},n.push(IC),t.options.serializationAdapters&&n.push(...t.options.serializationAdapters),t.update({basepath:"",serializationAdapters:n}),t.stores.matchesId.get().length||await KC(t),t}var VL=zL;async function jL(){const t=await VL();return window.$_TSR?.h(),t}var Gd;function PL(){return Gd||(Gd=jL()),N.jsx(JC,{promise:Gd,children:t=>N.jsx(F4,{router:t})})}q.startTransition(()=>{Ow.hydrateRoot(document,N.jsx(q.StrictMode,{children:N.jsx(PL,{})}))});export{we as A,kS as B,nR as C,iR as D,th as E,BS as F,CR as G,oR as H,Ee as I,kL as J,zR as K,Vu as L,ym as M,o7 as N,VS as O,Os as P,F5 as Q,vL as R,a7 as S,Ih as T,LD as U,XS as V,h8 as W,qu as a,Rs as b,qL as c,Gh as d,ZR as e,ab as f,nT as g,G6 as h,As as i,N as j,Fh as k,BL as l,lo as m,Tw as n,z8 as o,qx as p,pL as q,q as r,N6 as s,yL as t,Fx as u,ju as v,fR as w,sR as x,UL as y,eh as z};

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.