vendor: 5,334 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-vzEbFbNN.js","assets/footer-7Wf13BPg.js","assets/founder._slug-fCBldklP.js"])))=>i.map(i=>d[i]); 2function RA(e,t){for(var a=0;a<t.length;a++){const o=t[a];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const c=Object.getOwnPropertyDescriptor(o,l);c&&Object.defineProperty(e,l,c.get?c:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Bw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Td={exports:{}},or={};var Vv;function CA(){if(Vv)return or;Vv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(o,l,c){var u=null;if(c!==void 0&&(u=""+c),l.key!==void 0&&(u=""+l.key),"key"in l){c={};for(var d in l)d!=="key"&&(c[d]=l[d])}else c=l;return l=c.ref,{$$typeof:e,type:o,key:u,ref:l!==void 0?l:null,props:c}}return or.Fragment=t,or.jsx=a,or.jsxs=a,or}var Iv;function MA(){return Iv||(Iv=1,Td.exports=CA()),Td.exports}var b=MA(),Ad={exports:{}},xe={};var Hv;function jA(){if(Hv)return xe;Hv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),w=Symbol.iterator;function x(M){return M===null||typeof M!="object"?null:(M=w&&M[w]||M["@@iterator"],typeof M=="function"?M:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,T={};function S(M,Y,K){this.props=M,this.context=Y,this.refs=T,this.updater=K||_}S.prototype.isReactComponent={},S.prototype.setState=function(M,Y){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,Y,"setState")},S.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function R(){}R.prototype=S.prototype;function O(M,Y,K){this.props=M,this.context=Y,this.refs=T,this.updater=K||_}var k=O.prototype=new R;k.constructor=O,E(k,S.prototype),k.isPureReactComponent=!0;var q=Array.isArray;function F(){}var B={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function G(M,Y,K){var ne=K.ref;return{$$typeof:e,type:M,key:Y,ref:ne!==void 0?ne:null,props:K}}function Z(M,Y){return G(M.type,Y,M.props)}function te(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function oe(M){var Y={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(K){return Y[K]})}var re=/\/+/g;function ae(M,Y){return typeof M=="object"&&M!==null&&M.key!=null?oe(""+M.key):Y.toString(36)}function le(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(F,F):(M.status="pending",M.then(function(Y){M.status==="pending"&&(M.status="fulfilled",M.value=Y)},function(Y){M.status==="pending"&&(M.status="rejected",M.reason=Y)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function L(M,Y,K,ne,$){var ie=typeof M;(ie==="undefined"||ie==="boolean")&&(M=null);var ve=!1;if(M===null)ve=!0;else switch(ie){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(M.$$typeof){case e:case t:ve=!0;break;case y:return ve=M._init,L(ve(M._payload),Y,K,ne,$)}}if(ve)return $=$(M),ve=ne===""?"."+ae(M,0):ne,q($)?(K="",ve!=null&&(K=ve.replace(re,"$&/")+"/"),L($,Y,K,"",function(Je){return Je})):$!=null&&(te($)&&($=Z($,K+($.key==null||M&&M.key===$.key?"":(""+$.key).replace(re,"$&/")+"/")+ve)),Y.push($)),1;ve=0;var ge=ne===""?".":ne+":";if(q(M))for(var pe=0;pe<M.length;pe++)ne=M[pe],ie=ge+ae(ne,pe),ve+=L(ne,Y,K,ie,$);else if(pe=x(M),typeof pe=="function")for(M=pe.call(M),pe=0;!(ne=M.next()).done;)ne=ne.value,ie=ge+ae(ne,pe++),ve+=L(ne,Y,K,ie,$);else if(ie==="object"){if(typeof M.then=="function")return L(le(M),Y,K,ne,$);throw Y=String(M),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return ve}function H(M,Y,K){if(M==null)return M;var ne=[],$=0;return L(M,ne,"","",function(ie){return Y.call(K,ie,$++)}),ne}function ee(M){if(M._status===-1){var Y=M._result;Y=Y(),Y.then(function(K){(M._status===0||M._status===-1)&&(M._status=1,M._result=K)},function(K){(M._status===0||M._status===-1)&&(M._status=2,M._result=K)}),M._status===-1&&(M._status=0,M._result=Y)}if(M._status===1)return M._result.default;throw M._result}var ce=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}
vendor: 6,224 bytes, line 2
2console.error(M)},J={map:H,forEach:function(M,Y,K){H(M,function(){Y.apply(this,arguments)},K)},count:function(M){var Y=0;return H(M,function(){Y++}),Y},toArray:function(M){return H(M,function(Y){return Y})||[]},only:function(M){if(!te(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return xe.Activity=m,xe.Children=J,xe.Component=S,xe.Fragment=a,xe.Profiler=l,xe.PureComponent=O,xe.StrictMode=o,xe.Suspense=p,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,xe.__COMPILER_RUNTIME={__proto__:null,c:function(M){return B.H.useMemoCache(M)}},xe.cache=function(M){return function(){return M.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(M,Y,K){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var ne=E({},M.props),$=M.key;if(Y!=null)for(ie in Y.key!==void 0&&($=""+Y.key),Y)!j.call(Y,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&Y.ref===void 0||(ne[ie]=Y[ie]);var ie=arguments.length-2;if(ie===1)ne.children=K;else if(1<ie){for(var ve=Array(ie),ge=0;ge<ie;ge++)ve[ge]=arguments[ge+2];ne.children=ve}return G(M.type,$,ne)},xe.createContext=function(M){return M={$$typeof:u,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:c,_context:M},M},xe.createElement=function(M,Y,K){var ne,$={},ie=null;if(Y!=null)for(ne in Y.key!==void 0&&(ie=""+Y.key),Y)j.call(Y,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&($[ne]=Y[ne]);var ve=arguments.length-2;if(ve===1)$.children=K;else if(1<ve){for(var ge=Array(ve),pe=0;pe<ve;pe++)ge[pe]=arguments[pe+2];$.children=ge}if(M&&M.defaultProps)for(ne in ve=M.defaultProps,ve)$[ne]===void 0&&($[ne]=ve[ne]);return G(M,ie,$)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(M){return{$$typeof:d,render:M}},xe.isValidElement=te,xe.lazy=function(M){return{$$typeof:y,_payload:{_status:-1,_result:M},_init:ee}},xe.memo=function(M,Y){return{$$typeof:g,type:M,compare:Y===void 0?null:Y}},xe.startTransition=function(M){var Y=B.T,K={};B.T=K;try{var ne=M(),$=B.S;$!==null&&$(K,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(F,ce)}catch(ie){ce(ie)}finally{Y!==null&&K.types!==null&&(Y.types=K.types),B.T=Y}},xe.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},xe.use=function(M){return B.H.use(M)},xe.useActionState=function(M,Y,K){return B.H.useActionState(M,Y,K)},xe.useCallback=function(M,Y){return B.H.useCallback(M,Y)},xe.useContext=function(M){return B.H.useContext(M)},xe.useDebugValue=function(){},xe.useDeferredValue=function(M,Y){return B.H.useDeferredValue(M,Y)},xe.useEffect=function(M,Y){return B.H.useEffect(M,Y)},xe.useEffectEvent=function(M){return B.H.useEffectEvent(M)},xe.useId=function(){return B.H.useId()},xe.useImperativeHandle=function(M,Y,K){return B.H.useImperativeHandle(M,Y,K)},xe.useInsertionEffect=function(M,Y){return B.H.useInsertionEffect(M,Y)},xe.useLayoutEffect=function(M,Y){return B.H.useLayoutEffect(M,Y)},xe.useMemo=function(M,Y){return B.H.useMemo(M,Y)},xe.useOptimistic=function(M,Y){return B.H.useOptimistic(M,Y)},xe.useReducer=function(M,Y,K){return B.H.useReducer(M,Y,K)},xe.useRef=function(M){return B.H.useRef(M)},xe.useState=function(M){return B.H.useState(M)},xe.useSyncExternalStore=function(M,Y,K){return B.H.useSyncExternalStore(M,Y,K)},xe.useTransition=function(){return B.H.useTransition()},xe.version="19.2.5",xe}var qv;function Vr(){return qv||(qv=1,Ad.exports=jA()),Ad.exports}var U=Vr();const se=Bw(U),DN=RA({__proto__:null,default:se},[U]);var Ed={exports:{}},rr={},Rd={exports:{}},Cd={};var Fv;function kA(){return Fv||(Fv=1,(function(e){function t(L,H){var ee=L.length;L.push(H);e:for(;0<ee;){var ce=ee-1>>>1,J=L[ce];if(0<l(J,H))L[ce]=H,L[ee]=J,ee=ce;else break e}}function a(L){return L.length===0?null:L[0]}function o(L){if(L.length===0)return null;var H=L[0],ee=L.pop();if(ee!==H){L[0]=ee;e:for(var ce=0,J=L.length,M=J>>>1;ce<M;){var Y=2*(ce+1)-1,K=L[Y],ne=Y+1,$=L[ne];if(0>l(K,ee))ne<J&&0>l($,K)?(L[ce]=$,L[ne]=ee,ce=ne):(L[ce]=K,L[Y]=ee,ce=Y);else if(ne<J&&0>l($,ee))L[ce]=$,L[ne]=ee,ce=ne;else break e}}return H}function l(L,H){var ee=L.sortIndex-H.sortIndex;return ee!==0?ee:L.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var p=[],g=[],y=1,m=null,w=3,x=!1,_=!1,E=!1,T=!1,S=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function k(L){for(var H=a(g);H!==null;){if(H.callback===null)o(g);else if(H.startTime<=L)o(g),H.sortIndex=H.expirationTime,t(p,H);else break;H=a(g)}}function q(L){if(E=!1,k(L),!_)if(a(p)!==null)_=!0,F||(F=!0,oe());else{var H=a(g);H!==null&&le(q,H.startTime-L)}}var F=!1,B=-1,j=5,G=-1;function Z(){return T?!0:!(e.unstable_now()-G<j)}function te(){if(T=!1,F){var L=e.unstable_now();G=L;var H=!0;try{e:{_=!1,E&&(E=!1,R(B),B=-1),x=!0;var ee=w;try{t:{for(k(L),m=a(p);m!==null&&!(m.expirationTime>L&&Z());){var ce=m.callback;if(typeof ce=="function"){m.callback=null,w=m.priorityLevel;var J=ce(m.expirationTime<=L);if(L=e.unstable_now(),typeof J=="function"){m.callback=J,k(L),H=!0;break t}m===a(p)&&o(p),k(L)}else o(p);m=a(p)}if(m!==null)H=!0;else{var M=a(g);M!==null&&le(q,M.startTime-L),H=!1}}break e}finally{m=null,w=ee,x=!1}H=void 0}}finally{H?oe():F=!1}}}var oe;if(typeof O=="function")oe=function(){O(te)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,ae=re.port2;re.port1.onmessage=te,oe=function(){ae.postMessage(null)}}else oe=function(){S(te,0)};function le(L,H){B=S(function(){L(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<L?Math.floor(1e3/L):
vendor: 8,899 bytes, line 2
25},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(L){switch(w){case 1:case 2:case 3:var H=3;break;default:H=w}var ee=w;w=H;try{return L()}finally{w=ee}},e.unstable_requestPaint=function(){T=!0},e.unstable_runWithPriority=function(L,H){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var ee=w;w=L;try{return H()}finally{w=ee}},e.unstable_scheduleCallback=function(L,H,ee){var ce=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?ce+ee:ce):ee=ce,L){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=ee+J,L={id:y++,callback:H,priorityLevel:L,startTime:ee,expirationTime:J,sortIndex:-1},ee>ce?(L.sortIndex=ee,t(g,L),a(p)===null&&L===a(g)&&(E?(R(B),B=-1):E=!0,le(q,ee-ce))):(L.sortIndex=J,t(p,L),_||x||(_=!0,F||(F=!0,oe()))),L},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(L){var H=w;return function(){var ee=w;w=H;try{return L.apply(this,arguments)}finally{w=ee}}}})(Cd)),Cd}var Gv;function OA(){return Gv||(Gv=1,Rd.exports=kA()),Rd.exports}var Md={exports:{}},Bt={};var Yv;function DA(){if(Yv)return Bt;Yv=1;var e=Vr();function t(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(p,g,y){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:m==null?null:""+m,children:p,containerInfo:g,implementation:y}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Bt.createPortal=function(p,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(t(299));return c(p,g,null,y)},Bt.flushSync=function(p){var g=u.T,y=o.p;try{if(u.T=null,o.p=2,p)return p()}finally{u.T=g,o.p=y,o.d.f()}},Bt.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,o.d.C(p,g))},Bt.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},Bt.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var y=g.as,m=d(y,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,x=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?o.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:m,integrity:w,fetchPriority:x}):y==="script"&&o.d.X(p,{crossOrigin:m,integrity:w,fetchPriority:x,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Bt.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=d(g.as,g.crossOrigin);o.d.M(p,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&o.d.M(p)},Bt.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,m=d(y,g.crossOrigin);o.d.L(p,y,{crossOrigin:m,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Bt.preloadModule=function(p,g){if(typeof p=="string")if(g){var y=d(g.as,g.crossOrigin);o.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else o.d.m(p)},Bt.requestFormReset=function(p){o.d.r(p)},Bt.unstable_batchedUpdates=function(p,g){return p(g)},Bt.useFormState=function(p,g,y){return u.H.useFormState(p,g,y)},Bt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Bt.version="19.2.5",Bt}var Qv;function Nw(){if(Qv)return Md.exports;Qv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Md.exports=DA(),Md.exports}var Kv;function LA(){if(Kv)return rr;Kv=1;var e=OA(),t=Vr(),a=Nw();function o(n){var s="https://react.dev/errors/"+n;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)s+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+n+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function c(n){var s=n,i=n;if(n.alternate)for(;s.return;)s=s.return;else{n=s;do s=n,(s.flags&4098)!==0&&(i=s.return),n=s.return;while(n)}return s.tag===3?i:null}function u(n){if(n.tag===13){var s=n.memoizedState;if(s===null&&(n=n.alternate,n!==null&&(s=n.memoizedState)),s!==null)return s.dehydrated}return null}function d(n){if(n.tag===31){var s=n.memoizedState;if(s===null&&(n=n.alternate,n!==null&&(s=n.memoizedState)),s!==null)return s.dehydrated}return null}function p(n){if(c(n)!==n)throw Error(o(188))}function g(n){var s=n.alternate;if(!s){if(s=c(n),s===null)throw Error(o(188));return s!==n?null:n}for(var i=n,r=s;;){var f=i.return;if(f===null)break;var h=f.alternate;if(h===null){if(r=f.return,r!==null){i=r;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===i)return p(f),n;if(h===r)return p(f),s;h=h.sibling}throw Error(o(188))}if(i.return!==r.return)i=f,r=h;else{for(var v=!1,A=f.child;A;){if(A===i){v=!0,i=f,r=h;break}if(A===r){v=!0,r=f,i=h;break}A=A.sibling}if(!v){for(A=h.child;A;){if(A===i){v=!0,i=h,r=f;break}if(A===r){v=!0,r=h,i=f;break}A=A.sibling}if(!v)throw Error(o(189))}}if(i.alternate!==r)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?n:s}function y(n){var s=n.tag;if(s===5||s===26||s===27||s===6)return n;for(n=n.child;n!==null;){if(s=y(n),s!==null)return s;n=n.sibling}return null}var m=Object.assign,w=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),O=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),te=Symbol.iterator;function oe(n){return n===null||typeof n!="object"?null:(n=te&&n[te]||n["@@iterator"],typeof n=="function"?n:null)}var re=Symbol.for("react.client.reference");function ae(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===re?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case E:return"Fragment";case S:return"Profiler";case T:return"StrictMode";case q:return"Suspense";case F:return"SuspenseList";case G:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case _:return"Portal";case O:return n.displayName||"Context";case R:return(n._context.displayName||"Context")+".Consumer";case k:var s=n.render;return n=n.displayName,n||(n=s.displayName||s.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case B:return s=n.displayName||null,s!==null?s:ae(n.type)||"Memo";case j:s=n._payload,n=n._init;try{return ae(n(s))}catch{}}return null}var le=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},ce=[],J=-1;function M(n){return{current:n}}function Y(n){0>J||(n.current=ce[J],ce[J]=null,J--)}function K(n,s){J++,ce[J]=n.current,n.current=s}var ne=M(null),$=M(null),ie=M(null),ve=M(null);function ge(n,s){switch(K(ie,s),K($,n),K(ne,null),s.nodeType){case 9:case 11:n=(n=s.documentElement)&&(n=n.namespaceURI)?cv(n):0;break;default:if(n=s.tagName,s=s.namespaceURI)s=cv(s),n=uv(s,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Y(ne),K(ne,n)}function pe(){Y(ne),Y($),Y(ie)}function Je(n){n.memoizedState!==null&&K(ve,n);var s=ne.current,i=uv(s,n.type);s!==i&&(K($,n),K(ne,i))}function Qe(n){$.current===n&&(Y(ne),Y($)),ve.current===n&&(Y(ve),nr._currentValue=ee)}
vendor: 6,691 bytes, lines 2-9
2var De,Ot;function Ke(n){if(De===void 0)try{throw Error()}catch(i){var s=i.stack.trim().match(/\n( *(at )?)/);De=s&&s[1]||"",Ot=-1<i.stack.indexOf(` 3 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 4`+De+n+Ot}var Jn=!1;function hn(n,s){if(!n||Jn)return"";Jn=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(s){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(I){var V=I}Reflect.construct(n,[],W)}else{try{W.call()}catch(I){V=I}n.call(W.prototype)}}else{try{throw Error()}catch(I){V=I}(W=n())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(I){if(I&&V&&typeof I.stack=="string")return[I.stack,V.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=r.DetermineComponentFrameRoot(),v=h[0],A=h[1];if(v&&A){var C=v.split(` 5`),P=A.split(` 6`);for(f=r=0;r<C.length&&!C[r].includes("DetermineComponentFrameRoot");)r++;for(;f<P.length&&!P[f].includes("DetermineComponentFrameRoot");)f++;if(r===C.length||f===P.length)for(r=C.length-1,f=P.length-1;1<=r&&0<=f&&C[r]!==P[f];)f--;for(;1<=r&&0<=f;r--,f--)if(C[r]!==P[f]){if(r!==1||f!==1)do if(r--,f--,0>f||C[r]!==P[f]){var Q=` 7`+C[r].replace(" at new "," at ");return n.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",n.displayName)),Q}while(1<=r&&0<=f);break}}}finally{Jn=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Ke(i):""}function Dt(n,s){switch(n.tag){case 26:case 27:case 5:return Ke(n.type);case 16:return Ke("Lazy");case 13:return n.child!==s&&s!==null?Ke("Suspense Fallback"):Ke("Suspense");case 19:return Ke("SuspenseList");case 0:case 15:return hn(n.type,!1);case 11:return hn(n.type.render,!1);case 1:return hn(n.type,!0);case 31:return Ke("Activity");default:return""}}function mn(n){try{var s="",i=null;do s+=Dt(n,i),i=n,n=n.return;while(n);return s}catch(r){return` 8Error generating stack: `+r.message+` 9`+r.stack}}var At=Object.prototype.hasOwnProperty,sn=e.unstable_scheduleCallback,ba=e.unstable_cancelCallback,vt=e.unstable_shouldYield,Pn=e.unstable_requestPaint,bt=e.unstable_now,Pe=e.unstable_getCurrentPriorityLevel,et=e.unstable_ImmediatePriority,pn=e.unstable_UserBlockingPriority,$n=e.unstable_NormalPriority,po=e.unstable_LowPriority,es=e.unstable_IdlePriority,Yr=e.log,Rs=e.unstable_setDisableYieldValue,wa=null,Nt=null;function Mn(n){if(typeof Yr=="function"&&Rs(n),Nt&&typeof Nt.setStrictMode=="function")try{Nt.setStrictMode(wa,n)}catch{}}var Lt=Math.clz32?Math.clz32:Un,du=Math.log,go=Math.LN2;function Un(n){return n>>>=0,n===0?32:31-(du(n)/go|0)|0}var oi=256,ri=262144,xa=4194304;function Vn(n){var s=n&42;if(s!==0)return s;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function we(n,s,i){var r=n.pendingLanes;if(r===0)return 0;var f=0,h=n.suspendedLanes,v=n.pingedLanes;n=n.warmLanes;var A=r&134217727;return A!==0?(r=A&~h,r!==0?f=Vn(r):(v&=A,v!==0?f=Vn(v):i||(i=A&~n,i!==0&&(f=Vn(i))))):(A=r&~h,A!==0?f=Vn(A):v!==0?f=Vn(v):i||(i=r&~n,i!==0&&(f=Vn(i)))),f===0?0:s!==0&&s!==f&&(s&h)===0&&(h=f&-f,i=s&-s,h>=i||h===32&&(i&4194048)!==0)?s:f}function Xe(n,s){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&s)===0}function wt(n,s){switch(n){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 zt(){var n=xa;return xa<<=1,(xa&62914560)===0&&(xa=4194304),n}function Cs(n){for(var s=[],i=0;31>i;i++)s.push(n);return s}function $e(n,s){n.pendingLanes|=s,s!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Ht(n,s,i,r,f,h){var v=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var A=n.entanglements,C=n.expirationTimes,P=n.hiddenUpdates;for(i=v&~i;0<i;){var Q=31-Lt(i),W=1<<Q;A[Q]=0,C[Q]=-1;var V=P[Q];if(V!==null)for(P[Q]=null,Q=0;Q<V.length;Q++){var I=V[Q];I!==null&&(I.lane&=-536870913)}i&=~W}r!==0&&Sa(n,r,0),h!==0&&f===0&&n.tag!==0&&(n.suspendedLanes|=h&~(v&~s))}function Sa(n,s,i){n.pendingLanes|=s,n.suspendedLanes&=~s;var r=31-Lt(s);n.entangledLanes|=s,n.entanglements[r]=n.entanglements[r]|1073741824|i&261930}function qt(n,s){var i=n.entangledLanes|=s;for(n=n.entanglements;i;){var r=31-Lt(i),f=1<<r;f&s|n[r]&s&&(n[r]|=s),i&=~f}}function Ft(n,s){var i=s&-s;return i=(i&42)!==0?1:li(i),(i&(n.suspendedLanes|s))!==0?0:i}function li(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function jn(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function hu(){var n=H.p;return n!==0?n:(n=window.event,n===void 0?32:Dv(n.type))}function Xm(n,s){var i=H.p;try{return H.p=n,s()}finally{H.p=i}}var Ms=Math.random().toString(36).slice(2),Et="__reactFiber$"+Ms,Gt="__reactProps$"+Ms,ci="__reactContainer$"+Ms,mu="__reactEvents$"+Ms,g_="__reactListeners$"+Ms,y_="__reactHandles$"+Ms,Zm="__reactResources$"+Ms,yo="__reactMarker$"+Ms;function pu(n){delete n[Et],delete n[Gt],delete n[mu],delete n[g_],delete n[y_]}function ui(n){var s=n[Et];if(s)return s;for(var i=n.parentNode;i;){if(s=i[ci]||i[Et]){if(i=s.alternate,s.child!==null||i!==null&&i.child!==null)for(n=yv(n);n!==null;){if(i=n[Et])return i;n=yv(n)}return s}n=i,i=n.parentNode}return null}
vendor: 7,314 bytes, line 9
9function fi(n){if(n=n[Et]||n[ci]){var s=n.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return n}return null}function vo(n){var s=n.tag;if(s===5||s===26||s===27||s===6)return n.stateNode;throw Error(o(33))}function di(n){var s=n[Zm];return s||(s=n[Zm]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function xt(n){n[yo]=!0}var Wm=new Set,Jm={};function _a(n,s){hi(n,s),hi(n+"Capture",s)}function hi(n,s){for(Jm[n]=s,n=0;n<s.length;n++)Wm.add(s[n])}var v_=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]*$"),$m={},ep={};function b_(n){return At.call(ep,n)?!0:At.call($m,n)?!1:v_.test(n)?ep[n]=!0:($m[n]=!0,!1)}function Qr(n,s,i){if(b_(s))if(i===null)n.removeAttribute(s);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(s);return;case"boolean":var r=s.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){n.removeAttribute(s);return}}n.setAttribute(s,""+i)}}function Kr(n,s,i){if(i===null)n.removeAttribute(s);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}n.setAttribute(s,""+i)}}function ts(n,s,i,r){if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(s,i,""+r)}}function gn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function tp(n){var s=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function w_(n,s,i){var r=Object.getOwnPropertyDescriptor(n.constructor.prototype,s);if(!n.hasOwnProperty(s)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var f=r.get,h=r.set;return Object.defineProperty(n,s,{configurable:!0,get:function(){return f.call(this)},set:function(v){i=""+v,h.call(this,v)}}),Object.defineProperty(n,s,{enumerable:r.enumerable}),{getValue:function(){return i},setValue:function(v){i=""+v},stopTracking:function(){n._valueTracker=null,delete n[s]}}}}function gu(n){if(!n._valueTracker){var s=tp(n)?"checked":"value";n._valueTracker=w_(n,s,""+n[s])}}function np(n){if(!n)return!1;var s=n._valueTracker;if(!s)return!0;var i=s.getValue(),r="";return n&&(r=tp(n)?n.checked?"true":"false":n.value),n=r,n!==i?(s.setValue(n),!0):!1}function Xr(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var x_=/[\n"\\]/g;function yn(n){return n.replace(x_,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function yu(n,s,i,r,f,h,v,A){n.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?n.type=v:n.removeAttribute("type"),s!=null?v==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+gn(s)):n.value!==""+gn(s)&&(n.value=""+gn(s)):v!=="submit"&&v!=="reset"||n.removeAttribute("value"),s!=null?vu(n,v,gn(s)):i!=null?vu(n,v,gn(i)):r!=null&&n.removeAttribute("value"),f==null&&h!=null&&(n.defaultChecked=!!h),f!=null&&(n.checked=f&&typeof f!="function"&&typeof f!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?n.name=""+gn(A):n.removeAttribute("name")}function sp(n,s,i,r,f,h,v,A){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(n.type=h),s!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||s!=null)){gu(n);return}i=i!=null?""+gn(i):"",s=s!=null?""+gn(s):i,A||s===n.value||(n.value=s),n.defaultValue=s}r=r??f,r=typeof r!="function"&&typeof r!="symbol"&&!!r,n.checked=A?n.checked:!!r,n.defaultChecked=!!r,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.name=v),gu(n)}function vu(n,s,i){s==="number"&&Xr(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function mi(n,s,i,r){if(n=n.options,s){s={};for(var f=0;f<i.length;f++)s["$"+i[f]]=!0;for(i=0;i<n.length;i++)f=s.hasOwnProperty("$"+n[i].value),n[i].selected!==f&&(n[i].selected=f),f&&r&&(n[i].defaultSelected=!0)}else{for(i=""+gn(i),s=null,f=0;f<n.length;f++){if(n[f].value===i){n[f].selected=!0,r&&(n[f].defaultSelected=!0);return}s!==null||n[f].disabled||(s=n[f])}s!==null&&(s.selected=!0)}}function ap(n,s,i){if(s!=null&&(s=""+gn(s),s!==n.value&&(n.value=s),i==null)){n.defaultValue!==s&&(n.defaultValue=s);return}n.defaultValue=i!=null?""+gn(i):""}function ip(n,s,i,r){if(s==null){if(r!=null){if(i!=null)throw Error(o(92));if(le(r)){if(1<r.length)throw Error(o(93));r=r[0]}i=r}i==null&&(i=""),s=i}i=gn(s),n.defaultValue=i,r=n.textContent,r===i&&r!==""&&r!==null&&(n.value=r),gu(n)}function pi(n,s){if(s){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=s;return}}n.textContent=s}var S_=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 op(n,s,i){var r=s.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?r?n.setProperty(s,""):s==="float"?n.cssFloat="":n[s]="":r?n.setProperty(s,i):typeof i!="number"||i===0||S_.has(s)?s==="float"?n.cssFloat=i:n[s]=(""+i).trim():n[s]=i+"px"}function rp(n,s,i){if(s!=null&&typeof s!="object")throw Error(o(62));if(n=n.style,i!=null){for(var r in i)!i.hasOwnProperty(r)||s!=null&&s.hasOwnProperty(r)||(r.indexOf("--")===0?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="");for(var f in s)r=s[f],s.hasOwnProperty(f)&&i[f]!==r&&op(n,f,r)}else for(var h in s)s.hasOwnProperty(h)&&op(n,h,s[h])}function bu(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var __=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
9dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),T_=/^[\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 Zr(n){return T_.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function ns(){}var wu=null;function xu(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var gi=null,yi=null;function lp(n){var s=fi(n);if(s&&(n=s.stateNode)){var i=n[Gt]||null;e:switch(n=s.stateNode,s.type){case"input":if(yu(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),s=i.name,i.type==="radio"&&s!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+yn(""+s)+'"][type="radio"]'),s=0;s<i.length;s++){var r=i[s];if(r!==n&&r.form===n.form){var f=r[Gt]||null;if(!f)throw Error(o(90));yu(r,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(s=0;s<i.length;s++)r=i[s],r.form===n.form&&np(r)}break e;case"textarea":ap(n,i.value,i.defaultValue);break e;case"select":s=i.value,s!=null&&mi(n,!!i.multiple,s,!1)}}}var Su=!1;function cp(n,s,i){if(Su)return n(s,i);Su=!0;try{var r=n(s);return r}finally{if(Su=!1,(gi!==null||yi!==null)&&(Nl(),gi&&(s=gi,n=yi,yi=gi=null,lp(s),n)))for(s=0;s<n.length;s++)lp(n[s])}}function bo(n,s){var i=n.stateNode;if(i===null)return null;var r=i[Gt]||null;if(r===null)return null;i=r[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(n=n.type,r=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!r;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(o(231,s,typeof i));return i}var ss=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_u=!1;if(ss)try{var wo={};Object.defineProperty(wo,"passive",{get:function(){_u=!0}}),window.addEventListener("test",wo,wo),window.removeEventListener("test",wo,wo)}catch{_u=!1}var js=null,Tu=null,Wr=null;function up(){if(Wr)return Wr;var n,s=Tu,i=s.length,r,f="value"in js?js.value:js.textContent,h=f.length;for(n=0;n<i&&s[n]===f[n];n++);var v=i-n;for(r=1;r<=v&&s[i-r]===f[h-r];r++);return Wr=f.slice(n,1<r?1-r:void 0)}function Jr(n){var s=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&s===13&&(n=13)):n=s,n===10&&(n=13),32<=n||n===13?n:0}function $r(){return!0}function fp(){return!1}function Yt(n){function s(i,r,f,h,v){this._reactName=i,this._targetInst=f,this.type=r,this.nativeEvent=h,this.target=v,this.currentTarget=null;for(var A in n)n.hasOwnProperty(A)&&(i=n[A],this[A]=i?i(h):h[A]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?$r:fp,this.isPropagationStopped=fp,this}return m(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=$r)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),s}var Ta={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},el=Yt(Ta),xo=m({},Ta,{view:0,detail:0}),A_=Yt(xo),Au,Eu,So,tl=m({},xo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cu,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==So&&(So&&n.type==="mousemove"?(Au=n.screenX-So.screenX,Eu=n.screenY-So.screenY):Eu=Au=0,So=n),Au)},movementY:function(n){return"movementY"in n?n.movementY:Eu}}),dp=Yt(tl),E_=m({},tl,{dataTransfer:0}),R_=Yt(E_),C_=m({},xo,{relatedTarget:0}),Ru=Yt(C_),M_=m({},Ta,{animationName:0,elapsedTime:0,pseudoElement:0}),j_=Yt(M_),k_=m({},Ta,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),O_=Yt(k_),D_=m({},Ta,{data:0}),hp=Yt(D_),L_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},z_={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"},B_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function N_(n){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(n):(n=B_[n])?!!s[n]:!1}function Cu(){return N_}var P_=m({},xo,{key:function(n){if(n.key){var s=L_[n.key]||n.key;if(s!=="Unidentified")return s}
vendor: 5,186 bytes, line 9
9return n.type==="keypress"?(n=Jr(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?z_[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cu,charCode:function(n){return n.type==="keypress"?Jr(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Jr(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),U_=Yt(P_),V_=m({},tl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mp=Yt(V_),I_=m({},xo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cu}),H_=Yt(I_),q_=m({},Ta,{propertyName:0,elapsedTime:0,pseudoElement:0}),F_=Yt(q_),G_=m({},tl,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Y_=Yt(G_),Q_=m({},Ta,{newState:0,oldState:0}),K_=Yt(Q_),X_=[9,13,27,32],Mu=ss&&"CompositionEvent"in window,_o=null;ss&&"documentMode"in document&&(_o=document.documentMode);var Z_=ss&&"TextEvent"in window&&!_o,pp=ss&&(!Mu||_o&&8<_o&&11>=_o),gp=" ",yp=!1;function vp(n,s){switch(n){case"keyup":return X_.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bp(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var vi=!1;function W_(n,s){switch(n){case"compositionend":return bp(s);case"keypress":return s.which!==32?null:(yp=!0,gp);case"textInput":return n=s.data,n===gp&&yp?null:n;default:return null}}function J_(n,s){if(vi)return n==="compositionend"||!Mu&&vp(n,s)?(n=up(),Wr=Tu=js=null,vi=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return pp&&s.locale!=="ko"?null:s.data;default:return null}}var $_={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 wp(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s==="input"?!!$_[n.type]:s==="textarea"}function xp(n,s,i,r){gi?yi?yi.push(r):yi=[r]:gi=r,s=Fl(s,"onChange"),0<s.length&&(i=new el("onChange","change",null,i,r),n.push({event:i,listeners:s}))}var To=null,Ao=null;function eT(n){sv(n,0)}function nl(n){var s=vo(n);if(np(s))return n}function Sp(n,s){if(n==="change")return s}var _p=!1;if(ss){var ju;if(ss){var ku="oninput"in document;if(!ku){var Tp=document.createElement("div");Tp.setAttribute("oninput","return;"),ku=typeof Tp.oninput=="function"}ju=ku}else ju=!1;_p=ju&&(!document.documentMode||9<document.documentMode)}function Ap(){To&&(To.detachEvent("onpropertychange",Ep),Ao=To=null)}function Ep(n){if(n.propertyName==="value"&&nl(Ao)){var s=[];xp(s,Ao,n,xu(n)),cp(eT,s)}}function tT(n,s,i){n==="focusin"?(Ap(),To=s,Ao=i,To.attachEvent("onpropertychange",Ep)):n==="focusout"&&Ap()}function nT(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return nl(Ao)}function sT(n,s){if(n==="click")return nl(s)}function aT(n,s){if(n==="input"||n==="change")return nl(s)}function iT(n,s){return n===s&&(n!==0||1/n===1/s)||n!==n&&s!==s}var an=typeof Object.is=="function"?Object.is:iT;function Eo(n,s){if(an(n,s))return!0;if(typeof n!="object"||n===null||typeof s!="object"||s===null)return!1;var i=Object.keys(n),r=Object.keys(s);if(i.length!==r.length)return!1;for(r=0;r<i.length;r++){var f=i[r];if(!At.call(s,f)||!an(n[f],s[f]))return!1}return!0}function Rp(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Cp(n,s){var i=Rp(n);n=0;for(var r;i;){if(i.nodeType===3){if(r=n+i.textContent.length,n<=s&&r>=s)return{node:i,offset:s-n};n=r}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Rp(i)}}function Mp(n,s){return n&&s?n===s?!0:n&&n.nodeType===3?!1:s&&s.nodeType===3?Mp(n,s.parentNode):"contains"in n?n.contains(s):n.compareDocumentPosition?!!(n.compareDocumentPosition(s)&16):!1:!1}function jp(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var s=Xr(n.document);s instanceof n.HTMLIFrameElement;){try{var i=typeof s.contentWindow.location.href=="string"}catch{i=!1}if(i)n=s.contentWindow;else break;s=Xr(n.document)}return s}function Ou(n){var s=n&&n.nodeName&&n.nodeName.toLowerCase();return s&&(s==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||s==="textarea"||n.contentEditable==="true")}var oT=ss&&"documentMode"in document&&11>=document.documentMode,bi=null,Du=null,Ro=null,Lu=!1;function kp(n,s,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Lu||bi==null||bi!==Xr(r)||(r=bi,"selectionStart"in r&&Ou(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 18,801 bytes, line 9
9sNode:r.focusNode,focusOffset:r.focusOffset}),Ro&&Eo(Ro,r)||(Ro=r,r=Fl(Du,"onSelect"),0<r.length&&(s=new el("onSelect","select",null,s,i),n.push({event:s,listeners:r}),s.target=bi)))}function Aa(n,s){var i={};return i[n.toLowerCase()]=s.toLowerCase(),i["Webkit"+n]="webkit"+s,i["Moz"+n]="moz"+s,i}var wi={animationend:Aa("Animation","AnimationEnd"),animationiteration:Aa("Animation","AnimationIteration"),animationstart:Aa("Animation","AnimationStart"),transitionrun:Aa("Transition","TransitionRun"),transitionstart:Aa("Transition","TransitionStart"),transitioncancel:Aa("Transition","TransitionCancel"),transitionend:Aa("Transition","TransitionEnd")},zu={},Op={};ss&&(Op=document.createElement("div").style,"AnimationEvent"in window||(delete wi.animationend.animation,delete wi.animationiteration.animation,delete wi.animationstart.animation),"TransitionEvent"in window||delete wi.transitionend.transition);function Ea(n){if(zu[n])return zu[n];if(!wi[n])return n;var s=wi[n],i;for(i in s)if(s.hasOwnProperty(i)&&i in Op)return zu[n]=s[i];return n}var Dp=Ea("animationend"),Lp=Ea("animationiteration"),zp=Ea("animationstart"),rT=Ea("transitionrun"),lT=Ea("transitionstart"),cT=Ea("transitioncancel"),Bp=Ea("transitionend"),Np=new Map,Bu="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(" ");Bu.push("scrollEnd");function kn(n,s){Np.set(n,s),_a(s,[n])}var sl=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},vn=[],xi=0,Nu=0;function al(){for(var n=xi,s=Nu=xi=0;s<n;){var i=vn[s];vn[s++]=null;var r=vn[s];vn[s++]=null;var f=vn[s];vn[s++]=null;var h=vn[s];if(vn[s++]=null,r!==null&&f!==null){var v=r.pending;v===null?f.next=f:(f.next=v.next,v.next=f),r.pending=f}h!==0&&Pp(i,f,h)}}function il(n,s,i,r){vn[xi++]=n,vn[xi++]=s,vn[xi++]=i,vn[xi++]=r,Nu|=r,n.lanes|=r,n=n.alternate,n!==null&&(n.lanes|=r)}function Pu(n,s,i,r){return il(n,s,i,r),ol(n)}function Ra(n,s){return il(n,null,null,s),ol(n)}function Pp(n,s,i){n.lanes|=i;var r=n.alternate;r!==null&&(r.lanes|=i);for(var f=!1,h=n.return;h!==null;)h.childLanes|=i,r=h.alternate,r!==null&&(r.childLanes|=i),h.tag===22&&(n=h.stateNode,n===null||n._visibility&1||(f=!0)),n=h,h=h.return;return n.tag===3?(h=n.stateNode,f&&s!==null&&(f=31-Lt(i),n=h.hiddenUpdates,r=n[f],r===null?n[f]=[s]:r.push(s),s.lane=i|536870912),h):null}function ol(n){if(50<Xo)throw Xo=0,Kf=null,Error(o(185));for(var s=n.return;s!==null;)n=s,s=n.return;return n.tag===3?n.stateNode:null}var Si={};function uT(n,s,i,r){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function on(n,s,i,r){return new uT(n,s,i,r)}function Uu(n){return n=n.prototype,!(!n||!n.isReactComponent)}function as(n,s){var i=n.alternate;return i===null?(i=on(n.tag,s,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=s,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,s=n.dependencies,i.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function Up(n,s){n.flags&=65011714;var i=n.alternate;return i===null?(n.childLanes=0,n.lanes=s,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,s=i.dependencies,n.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),n}function rl(n,s,i,r,f,h){var v=0;if(r=n,typeof n=="function")Uu(n)&&(v=1);else if(typeof n=="string")v=pA(n,i,ne.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case G:return n=on(31,i,s,f),n.elementType=G,n.lanes=h,n;case E:return Ca(i.children,f,h,s);case T:v=8,f|=24;break;case S:return n=on(12,i,s,f|2),n.elementType=S,n.lanes=h,n;case q:return n=on(13,i,s,f),n.elementType=q,n.lanes=h,n;case F:return n=on(19,i,s,f),n.elementType=F,n.lanes=h,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case O:v=10;break e;case R:v=9;break e;case k:v=11;break e;case B:v=14;break e;case j:v=16,r=null;break e}v=29,i=Error(o(130,n===null?"null":typeof n,"")),r=null}return s=on(v,i,s,f),s.elementType=n,s.type=r,s.lanes=h,s}function Ca(n,s,i,r){return n=on(7,n,r,s),n.lanes=i,n}function Vu(n,s,i){return n=on(6,n,null,s),n.lanes=i,n}function Vp(n){var s=on(18,null,null,0);return s.stateNode=n,s}function Iu(n,s,i){return s=on(4,n.children!==null?n.children:[],n.key,s),s.lanes=i,s.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},s}var Ip=new WeakMap;function bn(n,s){if(typeof n=="object"&&n!==null){var i=Ip.get(n);return i!==void 0?i:(s={value:n,source:s,stack:mn(s)},Ip.set(n,s),s)}return{value:n,source:s,stack:mn(s)}}var _i=[],Ti=0,ll=null,Co=0,wn=[],xn=0,ks=null,In=1,Hn="";function is(n,s){_i[Ti++]=Co,_i[Ti++]=ll,ll=n,Co=s}function Hp(n,s,i){wn[xn++]=In,wn[xn++]=Hn,wn[xn++]=ks,ks=n;var r=In;n=Hn;var f=32-Lt(r)-1;r&=~(1<<f),i+=1;var h=32-Lt(s)+f;if(30<h){var v=f-f%5;h=(r&(1<<v)-1).toString(32),r>>=v,f-=v,In=1<<32-Lt(s)+f|i<<f|r,Hn=h+n}else In=1<<h|i<<f|r,Hn=n}function Hu(n){n.return!==null&&(is(n,1),Hp(n,1,0))}function qu(n){for(;n===ll;)ll=_i[--Ti],_i[Ti]=null,Co=_i[--Ti],_i[Ti]=null;for(;n===ks;)ks=wn[--xn],wn[xn]=null,Hn=wn[--xn],wn[xn]=null,In=wn[--xn],wn[xn]=null}function qp(n,s){wn[xn++]=In,wn[xn++]=Hn,wn[xn++]=ks,In=s.id,Hn=s.overflow,ks=n}var Rt=null,Ge=null,Me=!1,Os=null,Sn=!1,Fu=Error(o(519));function Ds(n){var s=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Mo(bn(s,n)),Fu}function Fp(n){var s=n.stateNode,i=n.type,r=n.memoizedProps;switch(s[Et]=n,s[Gt]=r,i){case"dialog":Ee("cancel",s),Ee("close",s);break;case"iframe":case"object":case"embed":Ee("load",s);break;case"video":case"audio":for(i=0;i<Wo.length;i++)Ee(Wo[i],s);break;case"source":Ee("error",s);break;case"img":case"image":case"link":Ee("error",s),Ee("load",s);break;case"details":Ee("toggle",s);break;case"input":Ee("invalid",s),sp(s,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ee("invalid",s);break;case"textarea":Ee("invalid",s),ip(s,r.value,r.defaultValue,r.children)}i=r.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||s.textContent===""+i||r.suppressHydrationWarning===!0||rv(s.textContent,i)?(r.popover!=null&&(Ee("beforetoggle",s),Ee("toggle",s)),r.onScroll!=null&&Ee("scroll",s),r.onScrollEnd!=null&&Ee("scrollend",s),r.onClick!=null&&(s.onclick=ns),s=!0):s=!1,s||Ds(n,!0)}function Gp(n){for(Rt=n.return;Rt;)switch(Rt.tag){case 5:case 31:case 13:Sn=!1;return;case 27:case 3:Sn=!0;return;default:Rt=Rt.return}}function Ai(n){if(n!==Rt)return!1;if(!Me)return Gp(n),Me=!0,!1;var s=n.tag,i;if((i=s!==3&&s!==27)&&((i=s===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||cd(n.type,n.memoizedProps)),i=!i),i&&Ge&&Ds(n),Gp(n),s===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));Ge=gv(n)}else if(s===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));Ge=gv(n)}else s===27?(s=Ge,Qs(n.type)?(n=md,md=null,Ge=n):Ge=s):Ge=Rt?Tn(n.stateNode.nextSibling):null;return!0}function Ma(){Ge=Rt=null,Me=!1}function Gu(){var n=Os;return n!==null&&(Zt===null?Zt=n:Zt.push.apply(Zt,n),Os=null),n}function Mo(n){Os===null?Os=[n]:Os.push(n)}var Yu=M(null),ja=null,os=null;function Ls(n,s,i){K(Yu,s._currentValue),s._currentValue=i}function rs(n){n._currentValue=Yu.current,Y(Yu)}function Qu(n,s,i){for(;n!==null;){var r=n.alternate;if((n.childLanes&s)!==s?(n.childLanes|=s,r!==null&&(r.childLanes|=s)):r!==null&&(r.childLanes&s)!==s&&(r.childLanes|=s),n===i)break;n=n.return}}function Ku(n,s,i,r){var f=n.child;for(f!==null&&(f.return=n);f!==null;){var h=f.dependencies;if(h!==null){var v=f.child;h=h.firstContext;e:for(;h!==null;){var A=h;h=f;for(var C=0;C<s.length;C++)if(A.context===s[C]){h.lanes|=i,A=h.alternate,A!==null&&(A.lanes|=i),Qu(h.return,i,n),r||(v=null);break e}h=A.next}}else if(f.tag===18){if(v=f.return,v===null)throw Error(o(341));v.lanes|=i,h=v.alternate,h!==null&&(h.lanes|=i),Qu(v,i,n),v=null}else v=f.child;if(v!==null)v.return=f;else for(v=f;v!==null;){if(v===n){v=null;break}if(f=v.sibling,f!==null){f.return=v.return,v=f;break}v=v.return}f=v}}function Ei(n,s,i,r){n=null;for(var f=s,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var v=f.alternate;if(v===null)throw Error(o(387));if(v=v.memoizedProps,v!==null){var A=f.type;an(f.pendingProps.value,v.value)||(n!==null?n.push(A):n=[A])}}else if(f===ve.current){if(v=f.alternate,v===null)throw Error(o(387));v.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(n!==null?n.push(nr):n=[nr])}f=f.return}n!==null&&Ku(s,n,i,r),s.flags|=262144}function cl(n){for(n=n.firstContext;n!==null;){if(!an(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function ka(n){ja=n,os=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Ct(n){return Yp(ja,n)}function ul(n,s){return ja===null&&ka(n),Yp(n,s)}function Yp(n,s){var i=s._currentValue;if(s={context:s,memoizedValue:i,next:null},os===null){if(n===null)throw Error(o(308));os=s,n.dependencies={lanes:0,firstContext:s},n.flags|=524288}else os=os.next=s;return i}var fT=typeof AbortController<"u"?AbortController:function(){var n=[],s=this.signal={aborted:!1,addEventListener:function(i,r){n.push(r)}};this.abort=function(){s.aborted=!0,n.forEach(function(i){return i()})}},dT=e.unstable_scheduleCallback,hT=e.unstable_NormalPriority,lt={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xu(){return{controller:new fT,data:new Map,refCount:0}}function jo(n){n.refCount--,n.refCount===0&&dT(hT,function(){n.controller.abort()})}var ko=null,Zu=0,Ri=0,Ci=null;function mT(n,s){if(ko===null){var i=ko=[];Zu=0,Ri=ed(),Ci={status:"pending",value:void 0,then:function(r){i.push(r)}}}return Zu++,s.then(Qp,Qp),s}function Qp(){if(--Zu===0&&ko!==null){Ci!==null&&(Ci.status="fulfilled");var n=ko;ko=null,Ri=0,Ci=null;for(var s=0;s<n.length;s++)(0,n[s])()}}function pT(n,s){var i=[],r={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return n.then(function(){r.status="fulfilled",r.value=s;for(var f=0;f<i.length;f++)(0,i[f])(s)},function(f){for(r.status="rejected",r.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),r}var Kp=L.S;L.S=function(n,s){ky=bt(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&mT(n,s),Kp!==null&&Kp(n,s)};var Oa=M(null);function Wu(){var n=Oa.current;return n!==null?n:qe.pooledCache}function fl(n,s){s===null?K(Oa,Oa.current):K(Oa,s.pool)}function Xp(){var n=Wu();return n===null?null:{parent:lt._currentValue,pool:n}}var Mi=Error(o(460)),Ju=Error(o(474)),dl=Error(o(542)),hl={then:function(){}};function Zp(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Wp(n,s,i){switch(i=n[i],i===void 0?n.push(s):i!==s&&(s.then(ns,ns),s=i),s.status){case"fulfilled":return s.value;case"rejected":throw n=s.reason,$p(n),n;default:if(typeof s.status=="string")s.then(ns,ns);else{if(n=qe,n!==null&&100<n.shellSuspendCounter)throw Error(o(482));n=s,n.status="pending",n.then(function(r){if(s.status==="pending"){var f=s;f.status="fulfilled",f.value=r}},function(r){if(s.status==="pending"){var f=s;f.status="rejected",f.reason=r}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw n=s.reason,$p(n),n}throw La=s,Mi}}function Da(n){try{var s=n._init;return s(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(La=i,Mi):i}}var La=null;function Jp(){if(La===null)throw Error(o(459));var n=La;return La=null,n}function $p(n){if(n===Mi||n===dl)throw Error(o(483))}var ji=null,Oo=0;function ml(n){var s=Oo;return Oo+=1,ji===null&&(ji=[]),Wp(ji,n,s)}function Do(n,s){s=s.props.ref,n.ref=s!==void 0?s:null}function pl(n,s){throw s.$$typeof===w?Error(o(525)):(n=Object.prototype.toString.call(s),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":n)))}function eg(n){function s(z,D){if(n){var N=z.deletions;N===null?(z.deletions=[D],z.flags|=16):N.push(D)}}function i(z,D){if(!n)return null;for(;D!==null;)s(z,D),D=D.sibling;return null}function r(z){for(var D=new Map;z!==null;)z.key!==null?D.set(z.key,z):D.set(z.index,z),z=z.sibling;return D}function f(z,D){return z=as(z,D),z.index=0,z.sibling=null,z}function h(z,D,N){return z.index=N,n?(N=z.alternate,N!==null?(N=N.index,N<D?(z.flags|=67108866,D):N):(z.flags|=67108866,D)):(z.flags|=1048576,D)}function v(z){return n&&z.alternate===null&&(z.flags|=67108866),z}function A(z,D,N,X){return D===null||D.tag!==6?(D=Vu(N,z.mode,X),D.return=z,D):(D=f(D,N),D.return=z,D)}function C(z,D,N,X){var ye=N.type;return ye===E?Q(z,D,N.props.children,X,N.key):D!==null&&(D.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===j&&Da(ye)===D.type)?(D=f(D,N.props),Do(D,N),D.return=z,D):(D=rl(N.type,N.key,N.props,null,z.mode,X),Do(D,N),D.return=z,D)}function P(z,D,N,X){return D===null||D.tag!==4||D.stateNode.containerInfo!==N.containerInfo||D.stateNode.implementation!==N.implementation?(D=Iu(N,z.mode,X),D.return=z,D):(D=f(D,N.children||[]),D.return=z,D)}function Q(z,D,N,X,ye){return D===null||D.tag!==7?(D=Ca(N,z.mode,X,ye),D.return=z,D):(D=f(D,N),D.return=z,D)}function W(z,D,N){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=Vu(""+D,z.mode,N),D.return=z,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case x:return N=rl(D.type,D.key,D.props,null,z.mode,N),Do(N,D),N.return=z,N;case _:return D=Iu(D,z.mode,N),D.return=z,D;case j:return D=Da(D),W(z,D,N)}if(le(D)||oe(D))return D=Ca(D,z.mode,N,null),D.return=z,D;if(typeof D.then=="function")return W(z,ml(D),N);if(D.$$typeof===O)return W(z,ul(z,D),N);pl(z,D)}return null}function V(z,D,N,X){var ye=D!==null?D.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return ye!==null?null:A(z,D,""+N,X);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case x:return N.key===ye?C(z,D,N,X):null;case _:return N.key===ye?P(z,D,N,X):null;case j:return N=Da(N),V(z,D,N,X)}if(le(N)||oe(N))return ye!==null?null:Q(z,D,N,X,null);if(typeof N.then=="function")return V(z,D,ml(N),X);if(N.$$typeof===O)return V(z,D,ul(z,N),X);pl(z,N)}return null}function I(z,D,N,X,ye){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return z=z.get(N)||null,A(D,z,""+X,ye);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case x:return z=z.get(X.key===null?N:X.key)||null,C(D,z,X,ye);case _:return z=z.get(X.key===null?N:X.key)||null,P(D,z,X,ye);case j:return X=Da(X),I(z,D,N,X,ye)}if(le(X)||oe(X))return z=z.get(N)||null,Q(D,z,X,ye,null);if(typeof X.then=="function")return I(z,D,N,ml(X),ye);if(X.$$typeof===O)return I(z,D,N,ul(D,X),ye);pl(D,X)}return null}function ue(z,D,N,X){for(var ye=null,ke=null,me=D,_e=D=0,Ce=null;me!==null&&_e<N.length;_e++){me.index>_e?(Ce=me,me=null):Ce=me.sibling;var Oe=V(z,me,N[_e],X);if(Oe===null){me===null&&(me=Ce);break}n&&me&&Oe.alternate===null&&s(z,me),D=h(Oe,D,_e),ke===null?ye=Oe:ke.sibling=Oe,ke=Oe,me=Ce}if(_e===N.length)return i(z,me),Me&&is(z,_e),ye;if(me===null){for(;_e<N.length;_e++)me=W(z,N[_e],X),me!==null&&(D=h(me,D,_e),ke===null?ye=me:ke.sibling=me,ke=me);return Me&&is(z,_e),ye}for(me=r(me);_e<N.length;_e++)Ce=I(me,z,_e,N[_e],X),Ce!==null&&(n&&Ce.alternate!==null&&me.delete(Ce.key===null?_e:Ce.key),D=h(Ce,D,_e),ke===null?ye=Ce:ke.sibling=Ce,ke=Ce);return n&&me.forEach(function(Js){return s(z,Js)}),Me&&is(z,_e),ye}function be(z,D,N,X){if(N==null)throw Error(o(151));for(var ye=null,ke=null,me=D,_e=D=0,Ce=null,Oe=N.next();me!==null&&!Oe.done;_e++,Oe=N.next()){me.index>_e?(Ce=me,me=null):Ce=me.sibling;var Js=V(z,me,Oe.value,X);if(Js===null){me===null&&(me=Ce);break}n&&me&&Js.alternate===null&&s(z,me),D=h(Js,D,_e),ke===null?ye=Js:ke.sibling=Js,ke=Js,me=Ce}if(Oe.done)return i(z,me),Me&&is(z,_e),ye;if(me===null){for(;!Oe.done;_e++,Oe=N.next())Oe=W(z,Oe.value,X),Oe!==null&&(D=h(Oe,D,_e),ke===null?ye=Oe:ke.sibling=Oe,ke=Oe);return Me&&is(z,_e),ye}for(me=r(me);!Oe.done;_e++,Oe=N.next())Oe=I(me,z,_e,Oe.value,X),Oe!==null&&(n&&Oe.alternate!==null&&me.delete(Oe.key===null?_e:Oe.key),D=h(Oe,D,_e),ke===null?ye=Oe:ke.sibling=Oe,ke=Oe);return n&&me.forEach(function(EA){return s(z,EA)}),Me&&is(z,_e),ye}function Ie(z,D,N,X){if(typeof N=="object"&&N!==null&&N.type===E&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case x:e:{for(var ye=N.key;D!==null;){if(D.key===ye){if(ye=N.type,ye===E){if(D.tag===7){i(z,D.sibling),X=f(D,N.props.children),X.return=z,z=X;break e}}else if(D.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===j&&Da(ye)===D.type){i(z,D.sibling),X=f(D,N.props),Do(X,N),X.return=z,z=X;break e}i(z,D);break}else s(z,D);D=D.sibling}N.type===E?(X=Ca(N.props.children,z.mode,X,N.key),X.return=z,z=X):(X=rl(N.type,N.key,N.props,null,z.mode,X),Do(X,N),X.return=z,z=X)}return v(z);case _:e:{for(ye=N.key;D!==null;){if(D.key===ye)if(D.tag===4&&D.stateNode.containerInfo===N.containerInfo&&D.stateNode.implementation===N.implementation){i(z,D.sibling),X=f(D,N.children||[]),X.return=z,z=X;break e}else{i(z,D);break}else s(z,D);D=D.sibling}X=Iu(N,z.mode,X),X.return=z,z=X}return v(z);case j:return N=Da(N),Ie(z,D,N,X)}if(le(N))return ue(z,D,N,X);
vendor: 4,676 bytes, line 9
9if(oe(N)){if(ye=oe(N),typeof ye!="function")throw Error(o(150));return N=ye.call(N),be(z,D,N,X)}if(typeof N.then=="function")return Ie(z,D,ml(N),X);if(N.$$typeof===O)return Ie(z,D,ul(z,N),X);pl(z,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(N=""+N,D!==null&&D.tag===6?(i(z,D.sibling),X=f(D,N),X.return=z,z=X):(i(z,D),X=Vu(N,z.mode,X),X.return=z,z=X),v(z)):i(z,D)}return function(z,D,N,X){try{Oo=0;var ye=Ie(z,D,N,X);return ji=null,ye}catch(me){if(me===Mi||me===dl)throw me;var ke=on(29,me,null,z.mode);return ke.lanes=X,ke.return=z,ke}}}var za=eg(!0),tg=eg(!1),zs=!1;function $u(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ef(n,s){n=n.updateQueue,s.updateQueue===n&&(s.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Bs(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Ns(n,s,i){var r=n.updateQueue;if(r===null)return null;if(r=r.shared,(Le&2)!==0){var f=r.pending;return f===null?s.next=s:(s.next=f.next,f.next=s),r.pending=s,s=ol(n),Pp(n,null,i),s}return il(n,r,s,i),ol(n)}function Lo(n,s,i){if(s=s.updateQueue,s!==null&&(s=s.shared,(i&4194048)!==0)){var r=s.lanes;r&=n.pendingLanes,i|=r,s.lanes=i,qt(n,i)}}function tf(n,s){var i=n.updateQueue,r=n.alternate;if(r!==null&&(r=r.updateQueue,i===r)){var f=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var v={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?f=h=v:h=h.next=v,i=i.next}while(i!==null);h===null?f=h=s:h=h.next=s}else f=h=s;i={baseState:r.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:r.shared,callbacks:r.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=s:n.next=s,i.lastBaseUpdate=s}var nf=!1;function zo(){if(nf){var n=Ci;if(n!==null)throw n}}function Bo(n,s,i,r){nf=!1;var f=n.updateQueue;zs=!1;var h=f.firstBaseUpdate,v=f.lastBaseUpdate,A=f.shared.pending;if(A!==null){f.shared.pending=null;var C=A,P=C.next;C.next=null,v===null?h=P:v.next=P,v=C;var Q=n.alternate;Q!==null&&(Q=Q.updateQueue,A=Q.lastBaseUpdate,A!==v&&(A===null?Q.firstBaseUpdate=P:A.next=P,Q.lastBaseUpdate=C))}if(h!==null){var W=f.baseState;v=0,Q=P=C=null,A=h;do{var V=A.lane&-536870913,I=V!==A.lane;if(I?(Re&V)===V:(r&V)===V){V!==0&&V===Ri&&(nf=!0),Q!==null&&(Q=Q.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var ue=n,be=A;V=s;var Ie=i;switch(be.tag){case 1:if(ue=be.payload,typeof ue=="function"){W=ue.call(Ie,W,V);break e}W=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=be.payload,V=typeof ue=="function"?ue.call(Ie,W,V):ue,V==null)break e;W=m({},W,V);break e;case 2:zs=!0}}V=A.callback,V!==null&&(n.flags|=64,I&&(n.flags|=8192),I=f.callbacks,I===null?f.callbacks=[V]:I.push(V))}else I={lane:V,tag:A.tag,payload:A.payload,callback:A.callback,next:null},Q===null?(P=Q=I,C=W):Q=Q.next=I,v|=V;if(A=A.next,A===null){if(A=f.shared.pending,A===null)break;I=A,A=I.next,I.next=null,f.lastBaseUpdate=I,f.shared.pending=null}}while(!0);Q===null&&(C=W),f.baseState=C,f.firstBaseUpdate=P,f.lastBaseUpdate=Q,h===null&&(f.shared.lanes=0),Hs|=v,n.lanes=v,n.memoizedState=W}}function ng(n,s){if(typeof n!="function")throw Error(o(191,n));n.call(s)}function sg(n,s){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)ng(i[n],s)}var ki=M(null),gl=M(0);function ag(n,s){n=gs,K(gl,n),K(ki,s),gs=n|s.baseLanes}function sf(){K(gl,gs),K(ki,ki.current)}function af(){gs=gl.current,Y(ki),Y(gl)}var rn=M(null),_n=null;function Ps(n){var s=n.alternate;K(at,at.current&1),K(rn,n),_n===null&&(s===null||ki.current!==null||s.memoizedState!==null)&&(_n=n)}function of(n){K(at,at.current),K(rn,n),_n===null&&(_n=n)}function ig(n){n.tag===22?(K(at,at.current),K(rn,n),_n===null&&(_n=n)):Us()}function Us(){K(at,at.current),K(rn,rn.current)}function ln(n){Y(rn),_n===n&&(_n=null),Y(at)}var at=M(0);function yl(n){for(var s=n;s!==null;){if(s.tag===13){var i=s.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||dd(i)||hd(i)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var ls=0,Se=null,Ue=null,ct=null,vl=!1,Oi=!1,Ba=!1,bl=0,No=0,Di=null,gT=0;function tt(){throw Error(o(321))}
vendor: 10,641 bytes, line 9
9function rf(n,s){if(s===null)return!1;for(var i=0;i<s.length&&i<n.length;i++)if(!an(n[i],s[i]))return!1;return!0}function lf(n,s,i,r,f,h){return ls=h,Se=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,L.H=n===null||n.memoizedState===null?Hg:_f,Ba=!1,h=i(r,f),Ba=!1,Oi&&(h=rg(s,i,r,f)),og(n),h}function og(n){L.H=Vo;var s=Ue!==null&&Ue.next!==null;if(ls=0,ct=Ue=Se=null,vl=!1,No=0,Di=null,s)throw Error(o(300));n===null||ut||(n=n.dependencies,n!==null&&cl(n)&&(ut=!0))}function rg(n,s,i,r){Se=n;var f=0;do{if(Oi&&(Di=null),No=0,Oi=!1,25<=f)throw Error(o(301));if(f+=1,ct=Ue=null,n.updateQueue!=null){var h=n.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}L.H=qg,h=s(i,r)}while(Oi);return h}function yT(){var n=L.H,s=n.useState()[0];return s=typeof s.then=="function"?Po(s):s,n=n.useState()[0],(Ue!==null?Ue.memoizedState:null)!==n&&(Se.flags|=1024),s}function cf(){var n=bl!==0;return bl=0,n}function uf(n,s,i){s.updateQueue=n.updateQueue,s.flags&=-2053,n.lanes&=~i}function ff(n){if(vl){for(n=n.memoizedState;n!==null;){var s=n.queue;s!==null&&(s.pending=null),n=n.next}vl=!1}ls=0,ct=Ue=Se=null,Oi=!1,No=bl=0,Di=null}function Pt(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ct===null?Se.memoizedState=ct=n:ct=ct.next=n,ct}function it(){if(Ue===null){var n=Se.alternate;n=n!==null?n.memoizedState:null}else n=Ue.next;var s=ct===null?Se.memoizedState:ct.next;if(s!==null)ct=s,Ue=n;else{if(n===null)throw Se.alternate===null?Error(o(467)):Error(o(310));Ue=n,n={memoizedState:Ue.memoizedState,baseState:Ue.baseState,baseQueue:Ue.baseQueue,queue:Ue.queue,next:null},ct===null?Se.memoizedState=ct=n:ct=ct.next=n}return ct}function wl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Po(n){var s=No;return No+=1,Di===null&&(Di=[]),n=Wp(Di,n,s),s=Se,(ct===null?s.memoizedState:ct.next)===null&&(s=s.alternate,L.H=s===null||s.memoizedState===null?Hg:_f),n}function xl(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Po(n);if(n.$$typeof===O)return Ct(n)}throw Error(o(438,String(n)))}function df(n){var s=null,i=Se.updateQueue;if(i!==null&&(s=i.memoCache),s==null){var r=Se.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(s={data:r.data.map(function(f){return f.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),i===null&&(i=wl(),Se.updateQueue=i),i.memoCache=s,i=s.data[s.index],i===void 0)for(i=s.data[s.index]=Array(n),r=0;r<n;r++)i[r]=Z;return s.index++,i}function cs(n,s){return typeof s=="function"?s(n):s}function Sl(n){var s=it();return hf(s,Ue,n)}function hf(n,s,i){var r=n.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=i;var f=n.baseQueue,h=r.pending;if(h!==null){if(f!==null){var v=f.next;f.next=h.next,h.next=v}s.baseQueue=f=h,r.pending=null}if(h=n.baseState,f===null)n.memoizedState=h;else{s=f.next;var A=v=null,C=null,P=s,Q=!1;do{var W=P.lane&-536870913;if(W!==P.lane?(Re&W)===W:(ls&W)===W){var V=P.revertLane;if(V===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),W===Ri&&(Q=!0);else if((ls&V)===V){P=P.next,V===Ri&&(Q=!0);continue}else W={lane:0,revertLane:P.revertLane,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},C===null?(A=C=W,v=h):C=C.next=W,Se.lanes|=V,Hs|=V;W=P.action,Ba&&i(h,W),h=P.hasEagerState?P.eagerState:i(h,W)}else V={lane:W,revertLane:P.revertLane,gesture:P.gesture,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},C===null?(A=C=V,v=h):C=C.next=V,Se.lanes|=W,Hs|=W;P=P.next}while(P!==null&&P!==s);if(C===null?v=h:C.next=A,!an(h,n.memoizedState)&&(ut=!0,Q&&(i=Ci,i!==null)))throw i;n.memoizedState=h,n.baseState=v,n.baseQueue=C,r.lastRenderedState=h}return f===null&&(r.lanes=0),[n.memoizedState,r.dispatch]}function mf(n){var s=it(),i=s.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=n;var r=i.dispatch,f=i.pending,h=s.memoizedState;if(f!==null){i.pending=null;var v=f=f.next;do h=n(h,v.action),v=v.next;while(v!==f);an(h,s.memoizedState)||(ut=!0),s.memoizedState=h,s.baseQueue===null&&(s.baseState=h),i.lastRenderedState=h}return[h,r]}function lg(n,s,i){var r=Se,f=it(),h=Me;if(h){if(i===void 0)throw Error(o(407));i=i()}else i=s();var v=!an((Ue||f).memoizedState,i);if(v&&(f.memoizedState=i,ut=!0),f=f.queue,yf(fg.bind(null,r,f,n),[n]),f.getSnapshot!==s||v||ct!==null&&ct.memoizedState.tag&1){if(r.flags|=2048,Li(9,{destroy:void 0},ug.bind(null,r,f,i,s),null),qe===null)throw Error(o(349));h||(ls&127)!==0||cg(r,s,i)}return i}function cg(n,s,i){n.flags|=16384,n={getSnapshot:s,value:i},s=Se.updateQueue,s===null?(s=wl(),Se.updateQueue=s,s.stores=[n]):(i=s.stores,i===null?s.stores=[n]:i.push(n))}function ug(n,s,i,r){s.value=i,s.getSnapshot=r,dg(s)&&hg(n)}function fg(n,s,i){return i(function(){dg(s)&&hg(n)})}function dg(n){var s=n.getSnapshot;n=n.value;try{var i=s();return!an(n,i)}catch{return!0}}function hg(n){var s=Ra(n,2);s!==null&&Wt(s,n,2)}function pf(n){var s=Pt();if(typeof n=="function"){var i=n;if(n=i(),Ba){Mn(!0);try{i()}finally{Mn(!1)}}}return s.memoizedState=s.baseState=n,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cs,lastRenderedState:n},s}function mg(n,s,i,r){return n.baseState=i,hf(n,Ue,typeof r=="function"?r:cs)}function vT(n,s,i,r,f){if(Al(n))throw Error(o(485));if(n=s.action,n!==null){var h={payload:f,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){h.listeners.push(v)}};L.T!==null?i(!0):h.isTransition=!1,r(h),i=s.pending,i===null?(h.next=s.pending=h,pg(s,h)):(h.next=i.next,s.pending=i.next=h)}}function pg(n,s){var i=s.action,r=s.payload,f=n.state;if(s.isTransition){var h=L.T,v={};L.T=v;try{var A=i(f,r),C=L.S;C!==null&&C(v,A),gg(n,s,A)}catch(P){gf(n,s,P)}finally{h!==null&&v.types!==null&&(h.types=v.types),L.T=h}}else try{h=i(f,r),gg(n,s,h)}catch(P){gf(n,s,P)}}function gg(n,s,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(r){yg(n,s,r)},function(r){return gf(n,s,r)}):yg(n,s,i)}function yg(n,s,i){s.status="fulfilled",s.value=i,vg(s),n.state=i,s=n.pending,s!==null&&(i=s.next,i===s?n.pending=null:(i=i.next,s.next=i,pg(n,i)))}function gf(n,s,i){var r=n.pending;if(n.pending=null,r!==null){r=r.next;do s.status="rejected",s.reason=i,vg(s),s=s.next;while(s!==r)}n.action=null}function vg(n){n=n.listeners;for(var s=0;s<n.length;s++)(0,n[s])()}function bg(n,s){return s}function wg(n,s){if(Me){var i=qe.formState;if(i!==null){e:{var r=Se;if(Me){if(Ge){t:{for(var f=Ge,h=Sn;f.nodeType!==8;){if(!h){f=null;break t}if(f=Tn(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){Ge=Tn(f.nextSibling),r=f.data==="F!";break e}}Ds(r)}r=!1}r&&(s=i[0])}}return i=Pt(),i.memoizedState=i.baseState=s,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bg,lastRenderedState:s},i.queue=r,i=Ug.bind(null,Se,r),r.dispatch=i,r=pf(!1),h=Sf.bind(null,Se,!1,r.queue),r=Pt(),f={state:s,dispatch:null,action:n,pending:null},r.queue=f,i=vT.bind(null,Se,f,h,i),f.dispatch=i,r.memoizedState=n,[s,i,!1]}function xg(n){var s=it();return Sg(s,Ue,n)}function Sg(n,s,i){if(s=hf(n,s,bg)[0],n=Sl(cs)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var r=Po(s)}catch(v){throw v===Mi?dl:v}else r=s;s=it();var f=s.queue,h=f.dispatch;return i!==s.memoizedState&&(Se.flags|=2048,Li(9,{destroy:void 0},bT.bind(null,f,i),null)),[r,h,n]}function bT(n,s){n.action=s}function _g(n){var s=it(),i=Ue;if(i!==null)return Sg(s,i,n);it(),s=s.memoizedState,i=it();var r=i.queue.dispatch;return i.memoizedState=n,[s,r,!1]}function Li(n,s,i,r){return n={tag:n,create:i,deps:r,inst:s,next:null},s=Se.updateQueue,s===null&&(s=wl(),Se.updateQueue=s),i=s.lastEffect,i===null?s.lastEffect=n.next=n:(r=i.next,i.next=n,n.next=r,s.lastEffect=n),n}function Tg(){return it().memoizedState}function _l(n,s,i,r){var f=Pt();Se.flags|=n,f.memoizedState=Li(1|s,{destroy:void 0},i,r===void 0?null:r)}function Tl(n,s,i,r){var f=it();r=r===void 0?null:r;var h=f.memoizedState.inst;Ue!==null&&r!==null&&rf(r,Ue.memoizedState.deps)?f.memoizedState=Li(s,h,i,r):(Se.flags|=n,f.memoizedState=Li(1|s,h,i,r))}function Ag(n,s){_l(8390656,8,n,s)}function yf(n,s){Tl(2048,8,n,s)}function wT(n){Se.flags|=4;var s=Se.updateQueue;if(s===null)s=wl(),Se.updateQueue=s,s.events=[n];else{var i=s.events;i===null?s.events=[n]:i.push(n)}}function Eg(n){var s=it().memoizedState;return wT({ref:s,nextImpl:n}),function(){if((Le&2)!==0)throw Error(o(440));return s.impl.apply(void 0,arguments)}}function Rg(n,s){return Tl(4,2,n,s)}function Cg(n,s){return Tl(4,4,n,s)}function Mg(n,s){if(typeof s=="function"){n=n();var i=s(n);return function(){typeof i=="function"?i():s(null)}}if(s!=null)return n=n(),s.current=n,function(){s.current=null}}function jg(n,s,i){i=i!=null?i.concat([n]):null,Tl(4,4,Mg.bind(null,s,n),i)}function vf(){}function kg(n,s){var i=it();s=s===void 0?null:s;var r=i.memoizedState;return s!==null&&rf(s,r[1])?r[0]:(i.memoizedState=[n,s],n)}function Og(n,s){var i=it();s=s===void 0?null:s;var r=i.memoizedState;if(s!==null&&rf(s,r[1]))return r[0];if(r=n(),Ba){Mn(!0);try{n()}finally{Mn(!1)}}return i.memoizedState=[r,s],r}function bf(n,s,i){return i===void 0||(ls&1073741824)!==0&&(Re&261930)===0?n.memoizedState=s:(n.memoizedState=i,n=Dy(),Se.lanes|=n,Hs|=n,i)}function Dg(n,s,i,r){return an(i,s)?i:ki.current!==null?(n=bf(n,i,r),an(n,s)||(ut=!0),n):(ls&42)===0||(ls&1073741824)!==0&&(Re&261930)===0?(ut=!0,n.memoizedState=i):(n=Dy(),Se.lanes|=n,Hs|=n,s)}function Lg(n,s,i,r,f){var h=H.p;H.p=h!==0&&8>h?h:8;var v=L.T,A={};L.T=A,Sf(n,!1,s,i);try{var C=f(),P=L.S;if(P!==null&&P(A,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var Q=pT(C,r);Uo(n,s,Q,fn(n))}else Uo(n,s,r,fn(n))}catch(W){Uo(n,s,{then:function(){},status:"rejected",reason:W},fn())}finally{H.p=h,v!==null&&A.types!==null&&(v.types=A.types),L.T=v}}function xT(){}function wf(n,s,i,r){if(n.tag!==5)throw Error(o(476));var f=zg(n).queue;Lg(n,f,s,ee,i===null?xT:function(){return Bg(n),i(r)})}function zg(n){var s=n.memoizedState;if(s!==null)return s;s={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cs,lastRenderedState:ee},next:null};var i={};return s.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cs,lastRenderedState:i},next:null},n.memoizedState=s,n=n.alternate,n!==null&&(n.memoizedState=s),s}function Bg(n){var s=zg(n);s.next===null&&(s=n.alternate.memoizedState),Uo(n,s.next.queue,{},fn())}function xf(){return Ct(nr)}
vendor: 6,341 bytes, line 9
9function Ng(){return it().memoizedState}function Pg(){return it().memoizedState}function ST(n){for(var s=n.return;s!==null;){switch(s.tag){case 24:case 3:var i=fn();n=Bs(i);var r=Ns(s,n,i);r!==null&&(Wt(r,s,i),Lo(r,s,i)),s={cache:Xu()},n.payload=s;return}s=s.return}}function _T(n,s,i){var r=fn();i={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Al(n)?Vg(s,i):(i=Pu(n,s,i,r),i!==null&&(Wt(i,n,r),Ig(i,s,r)))}function Ug(n,s,i){var r=fn();Uo(n,s,i,r)}function Uo(n,s,i,r){var f={lane:r,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Al(n))Vg(s,f);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=s.lastRenderedReducer,h!==null))try{var v=s.lastRenderedState,A=h(v,i);if(f.hasEagerState=!0,f.eagerState=A,an(A,v))return il(n,s,f,0),qe===null&&al(),!1}catch{}if(i=Pu(n,s,f,r),i!==null)return Wt(i,n,r),Ig(i,s,r),!0}return!1}function Sf(n,s,i,r){if(r={lane:2,revertLane:ed(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Al(n)){if(s)throw Error(o(479))}else s=Pu(n,i,r,2),s!==null&&Wt(s,n,2)}function Al(n){var s=n.alternate;return n===Se||s!==null&&s===Se}function Vg(n,s){Oi=vl=!0;var i=n.pending;i===null?s.next=s:(s.next=i.next,i.next=s),n.pending=s}function Ig(n,s,i){if((i&4194048)!==0){var r=s.lanes;r&=n.pendingLanes,i|=r,s.lanes=i,qt(n,i)}}var Vo={readContext:Ct,use:xl,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useLayoutEffect:tt,useInsertionEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useSyncExternalStore:tt,useId:tt,useHostTransitionStatus:tt,useFormState:tt,useActionState:tt,useOptimistic:tt,useMemoCache:tt,useCacheRefresh:tt};Vo.useEffectEvent=tt;var Hg={readContext:Ct,use:xl,useCallback:function(n,s){return Pt().memoizedState=[n,s===void 0?null:s],n},useContext:Ct,useEffect:Ag,useImperativeHandle:function(n,s,i){i=i!=null?i.concat([n]):null,_l(4194308,4,Mg.bind(null,s,n),i)},useLayoutEffect:function(n,s){return _l(4194308,4,n,s)},useInsertionEffect:function(n,s){_l(4,2,n,s)},useMemo:function(n,s){var i=Pt();s=s===void 0?null:s;var r=n();if(Ba){Mn(!0);try{n()}finally{Mn(!1)}}return i.memoizedState=[r,s],r},useReducer:function(n,s,i){var r=Pt();if(i!==void 0){var f=i(s);if(Ba){Mn(!0);try{i(s)}finally{Mn(!1)}}}else f=s;return r.memoizedState=r.baseState=f,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:f},r.queue=n,n=n.dispatch=_T.bind(null,Se,n),[r.memoizedState,n]},useRef:function(n){var s=Pt();return n={current:n},s.memoizedState=n},useState:function(n){n=pf(n);var s=n.queue,i=Ug.bind(null,Se,s);return s.dispatch=i,[n.memoizedState,i]},useDebugValue:vf,useDeferredValue:function(n,s){var i=Pt();return bf(i,n,s)},useTransition:function(){var n=pf(!1);return n=Lg.bind(null,Se,n.queue,!0,!1),Pt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,s,i){var r=Se,f=Pt();if(Me){if(i===void 0)throw Error(o(407));i=i()}else{if(i=s(),qe===null)throw Error(o(349));(Re&127)!==0||cg(r,s,i)}f.memoizedState=i;var h={value:i,getSnapshot:s};return f.queue=h,Ag(fg.bind(null,r,h,n),[n]),r.flags|=2048,Li(9,{destroy:void 0},ug.bind(null,r,h,i,s),null),i},useId:function(){var n=Pt(),s=qe.identifierPrefix;if(Me){var i=Hn,r=In;i=(r&~(1<<32-Lt(r)-1)).toString(32)+i,s="_"+s+"R_"+i,i=bl++,0<i&&(s+="H"+i.toString(32)),s+="_"}else i=gT++,s="_"+s+"r_"+i.toString(32)+"_";return n.memoizedState=s},useHostTransitionStatus:xf,useFormState:wg,useActionState:wg,useOptimistic:function(n){var s=Pt();s.memoizedState=s.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=i,s=Sf.bind(null,Se,!0,i),i.dispatch=s,[n,s]},useMemoCache:df,useCacheRefresh:function(){return Pt().memoizedState=ST.bind(null,Se)},useEffectEvent:function(n){var s=Pt(),i={impl:n};return s.memoizedState=i,function(){if((Le&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}},_f={readContext:Ct,use:xl,useCallback:kg,useContext:Ct,useEffect:yf,useImperativeHandle:jg,useInsertionEffect:Rg,useLayoutEffect:Cg,useMemo:Og,useReducer:Sl,useRef:Tg,useState:function(){return Sl(cs)},useDebugValue:vf,useDeferredValue:function(n,s){var i=it();return Dg(i,Ue.memoizedState,n,s)},useTransition:function(){var n=Sl(cs)[0],s=it().memoizedState;return[typeof n=="boolean"?n:Po(n),s]},useSyncExternalStore:lg,useId:Ng,useHostTransitionStatus:xf,useFormState:xg,useActionState:xg,useOptimistic:function(n,s){var i=it();return mg(i,Ue,n,s)},useMemoCache:df,useCacheRefresh:Pg};_f.useEffectEvent=Eg;var qg={readContext:Ct,use:xl,useCallback:kg,useContext:Ct,useEffect:yf,useImperativeHandle:jg,useInsertionEffect:Rg,useLayoutEffect:Cg,useMemo:Og,useReducer:mf,useRef:Tg,useState:function(){return mf(cs)},useDebugValue:vf,useDeferredValue:function(n,s){var i=it();return Ue===null?bf(i,n,s):Dg(i,Ue.memoizedState,n,s)},useTransition:function(){var n=mf(cs)[0],s=it().memoizedState;return[typeof n=="boolean"?n:Po(n),s]},useSyncExternalStore:lg,useId:Ng,useHostTransitionStatus:xf,useFormState:_g,useActionState:_g,useOptimistic:function(n,s){var i=it();return Ue!==null?mg(i,Ue,n,s):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:df,useCacheRefresh:Pg};qg.useEffectEvent=Eg;function Tf(n,s,i,r){s=n.memoizedState,i=i(r,s),i=i==null?s:m({},s,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Af={enqueueSetState:function(n,s,i){n=n._reactInternals;var r=fn(),f=Bs(r);f.payload=s,i!=null&&(f.callback=i),s=Ns(n,f,r),s!==null&&(Wt(s,n,r),Lo(s,n,r))},enqueueReplaceState:function(n,s,i){n=n._reactInternals;var r=fn(),f=Bs(r);f.tag=1,f.payload=s,i!=null&&(f.callback=i),s=Ns(n,f,r),s!==null&&(Wt(s,n,r),Lo(s,n,r))},enqueueForceUpdate:function(n,s){n=n._reactInternals;var i=fn(),r=Bs(i);r.tag=2,s!=null&&(r.callback=s),s=Ns(n,r,i),s!==null&&(Wt(s,n,i),Lo(s,n,i))}};function Fg(n,s,i,r,f,h,v){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(r,h,v):s.prototype&&s.prototype.isPureReactComponent?!Eo(i,r)||!Eo(f,h):!0}function Gg(n,s,i,r){n=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(i,r),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(i,r),s.state!==n&&Af.enqueueReplaceState(s,s.state,null)}function Na(n,s){var i=s;
vendor: 4,183 bytes, line 9
9if("ref"in s){i={};for(var r in s)r!=="ref"&&(i[r]=s[r])}if(n=n.defaultProps){i===s&&(i=m({},i));for(var f in n)i[f]===void 0&&(i[f]=n[f])}return i}function Yg(n){sl(n)}function Qg(n){console.error(n)}function Kg(n){sl(n)}function El(n,s){try{var i=n.onUncaughtError;i(s.value,{componentStack:s.stack})}catch(r){setTimeout(function(){throw r})}}function Xg(n,s,i){try{var r=n.onCaughtError;r(i.value,{componentStack:i.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Ef(n,s,i){return i=Bs(i),i.tag=3,i.payload={element:null},i.callback=function(){El(n,s)},i}function Zg(n){return n=Bs(n),n.tag=3,n}function Wg(n,s,i,r){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var h=r.value;n.payload=function(){return f(h)},n.callback=function(){Xg(s,i,r)}}var v=i.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(n.callback=function(){Xg(s,i,r),typeof f!="function"&&(qs===null?qs=new Set([this]):qs.add(this));var A=r.stack;this.componentDidCatch(r.value,{componentStack:A!==null?A:""})})}function TT(n,s,i,r,f){if(i.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(s=i.alternate,s!==null&&Ei(s,i,f,!0),i=rn.current,i!==null){switch(i.tag){case 31:case 13:return _n===null?Pl():i.alternate===null&&nt===0&&(nt=3),i.flags&=-257,i.flags|=65536,i.lanes=f,r===hl?i.flags|=16384:(s=i.updateQueue,s===null?i.updateQueue=new Set([r]):s.add(r),Wf(n,r,f)),!1;case 22:return i.flags|=65536,r===hl?i.flags|=16384:(s=i.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([r])},i.updateQueue=s):(i=s.retryQueue,i===null?s.retryQueue=new Set([r]):i.add(r)),Wf(n,r,f)),!1}throw Error(o(435,i.tag))}return Wf(n,r,f),Pl(),!1}if(Me)return s=rn.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=f,r!==Fu&&(n=Error(o(422),{cause:r}),Mo(bn(n,i)))):(r!==Fu&&(s=Error(o(423),{cause:r}),Mo(bn(s,i))),n=n.current.alternate,n.flags|=65536,f&=-f,n.lanes|=f,r=bn(r,i),f=Ef(n.stateNode,r,f),tf(n,f),nt!==4&&(nt=2)),!1;var h=Error(o(520),{cause:r});if(h=bn(h,i),Ko===null?Ko=[h]:Ko.push(h),nt!==4&&(nt=2),s===null)return!0;r=bn(r,i),i=s;do{switch(i.tag){case 3:return i.flags|=65536,n=f&-f,i.lanes|=n,n=Ef(i.stateNode,r,n),tf(i,n),!1;case 1:if(s=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(qs===null||!qs.has(h))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Zg(f),Wg(f,n,i,r),tf(i,f),!1}i=i.return}while(i!==null);return!1}var Rf=Error(o(461)),ut=!1;function Mt(n,s,i,r){s.child=n===null?tg(s,null,i,r):za(s,n.child,i,r)}function Jg(n,s,i,r,f){i=i.render;var h=s.ref;if("ref"in r){var v={};for(var A in r)A!=="ref"&&(v[A]=r[A])}else v=r;return ka(s),r=lf(n,s,i,v,h,f),A=cf(),n!==null&&!ut?(uf(n,s,f),us(n,s,f)):(Me&&A&&Hu(s),s.flags|=1,Mt(n,s,r,f),s.child)}function $g(n,s,i,r,f){if(n===null){var h=i.type;return typeof h=="function"&&!Uu(h)&&h.defaultProps===void 0&&i.compare===null?(s.tag=15,s.type=h,ey(n,s,h,r,f)):(n=rl(i.type,null,r,s,s.mode,f),n.ref=s.ref,n.return=s,s.child=n)}if(h=n.child,!zf(n,f)){var v=h.memoizedProps;if(i=i.compare,i=i!==null?i:Eo,i(v,r)&&n.ref===s.ref)return us(n,s,f)}return s.flags|=1,n=as(h,r),n.ref=s.ref,n.return=s,s.child=n}function ey(n,s,i,r,f){if(n!==null){var h=n.memoizedProps;if(Eo(h,r)&&n.ref===s.ref)if(ut=!1,s.pendingProps=r=h,zf(n,f))(n.flags&131072)!==0&&(ut=!0);else return s.lanes=n.lanes,us(n,s,f)}return Cf(n,s,i,r,f)}function ty(n,s,i,r){var f=r.children,h=n!==null?n.memoizedState:null;if(n===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((s.flags&128)!==0){if(h=h!==null?h.baseLanes|i:i,n!==null){for(r=s.child=n.child,f=0;r!==null;)f=f|r.lanes|r.childLanes,r=r.sibling;r=f&~h}else r=0,s.child=null;return ny(n,s,h,i,r)}if((i&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},n!==null&&fl(s,h!==null?h.cachePool:null),h!==null?ag(s,h):sf(),ig(s);else return r=s.lanes=536870912,ny(n,s,h!==null?h.baseLanes|i:i,i,r)}else h!==null?(fl(s,h.cachePool),ag(s,h),Us(),s.memoizedState=null):(n!==null&&fl(s,null),sf(),Us());
vendor: 3,209 bytes, line 9
9return Mt(n,s,f,i),s.child}function Io(n,s){return n!==null&&n.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function ny(n,s,i,r,f){var h=Wu();return h=h===null?null:{parent:lt._currentValue,pool:h},s.memoizedState={baseLanes:i,cachePool:h},n!==null&&fl(s,null),sf(),ig(s),n!==null&&Ei(n,s,r,!0),s.childLanes=f,null}function Rl(n,s){return s=Ml({mode:s.mode,children:s.children},n.mode),s.ref=n.ref,n.child=s,s.return=n,s}function sy(n,s,i){return za(s,n.child,null,i),n=Rl(s,s.pendingProps),n.flags|=2,ln(s),s.memoizedState=null,n}function AT(n,s,i){var r=s.pendingProps,f=(s.flags&128)!==0;if(s.flags&=-129,n===null){if(Me){if(r.mode==="hidden")return n=Rl(s,r),s.lanes=536870912,Io(null,n);if(of(s),(n=Ge)?(n=pv(n,Sn),n=n!==null&&n.data==="&"?n:null,n!==null&&(s.memoizedState={dehydrated:n,treeContext:ks!==null?{id:In,overflow:Hn}:null,retryLane:536870912,hydrationErrors:null},i=Vp(n),i.return=s,s.child=i,Rt=s,Ge=null)):n=null,n===null)throw Ds(s);return s.lanes=536870912,null}return Rl(s,r)}var h=n.memoizedState;if(h!==null){var v=h.dehydrated;if(of(s),f)if(s.flags&256)s.flags&=-257,s=sy(n,s,i);else if(s.memoizedState!==null)s.child=n.child,s.flags|=128,s=null;else throw Error(o(558));else if(ut||Ei(n,s,i,!1),f=(i&n.childLanes)!==0,ut||f){if(r=qe,r!==null&&(v=Ft(r,i),v!==0&&v!==h.retryLane))throw h.retryLane=v,Ra(n,v),Wt(r,n,v),Rf;Pl(),s=sy(n,s,i)}else n=h.treeContext,Ge=Tn(v.nextSibling),Rt=s,Me=!0,Os=null,Sn=!1,n!==null&&qp(s,n),s=Rl(s,r),s.flags|=4096;return s}return n=as(n.child,{mode:r.mode,children:r.children}),n.ref=s.ref,s.child=n,n.return=s,n}function Cl(n,s){var i=s.ref;if(i===null)n!==null&&n.ref!==null&&(s.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(o(284));(n===null||n.ref!==i)&&(s.flags|=4194816)}}function Cf(n,s,i,r,f){return ka(s),i=lf(n,s,i,r,void 0,f),r=cf(),n!==null&&!ut?(uf(n,s,f),us(n,s,f)):(Me&&r&&Hu(s),s.flags|=1,Mt(n,s,i,f),s.child)}function ay(n,s,i,r,f,h){return ka(s),s.updateQueue=null,i=rg(s,r,i,f),og(n),r=cf(),n!==null&&!ut?(uf(n,s,h),us(n,s,h)):(Me&&r&&Hu(s),s.flags|=1,Mt(n,s,i,h),s.child)}function iy(n,s,i,r,f){if(ka(s),s.stateNode===null){var h=Si,v=i.contextType;typeof v=="object"&&v!==null&&(h=Ct(v)),h=new i(r,h),s.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Af,s.stateNode=h,h._reactInternals=s,h=s.stateNode,h.props=r,h.state=s.memoizedState,h.refs={},$u(s),v=i.contextType,h.context=typeof v=="object"&&v!==null?Ct(v):Si,h.state=s.memoizedState,v=i.getDerivedStateFromProps,typeof v=="function"&&(Tf(s,i,v,r),h.state=s.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(v=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),v!==h.state&&Af.enqueueReplaceState(h,h.state,null),Bo(s,r,h,f),zo(),h.state=s.memoizedState),typeof h.componentDidMount=="function"&&(s.flags|=4194308),r=!0}else if(n===null){h=s.stateNode;var A=s.memoizedProps,C=Na(i,A);h.props=C;
vendor: 5,063 bytes, line 9
9var P=h.context,Q=i.contextType;v=Si,typeof Q=="object"&&Q!==null&&(v=Ct(Q));var W=i.getDerivedStateFromProps;Q=typeof W=="function"||typeof h.getSnapshotBeforeUpdate=="function",A=s.pendingProps!==A,Q||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(A||P!==v)&&Gg(s,h,r,v),zs=!1;var V=s.memoizedState;h.state=V,Bo(s,r,h,f),zo(),P=s.memoizedState,A||V!==P||zs?(typeof W=="function"&&(Tf(s,i,W,r),P=s.memoizedState),(C=zs||Fg(s,i,C,r,V,P,v))?(Q||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(s.flags|=4194308)):(typeof h.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=r,s.memoizedState=P),h.props=r,h.state=P,h.context=v,r=C):(typeof h.componentDidMount=="function"&&(s.flags|=4194308),r=!1)}else{h=s.stateNode,ef(n,s),v=s.memoizedProps,Q=Na(i,v),h.props=Q,W=s.pendingProps,V=h.context,P=i.contextType,C=Si,typeof P=="object"&&P!==null&&(C=Ct(P)),A=i.getDerivedStateFromProps,(P=typeof A=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(v!==W||V!==C)&&Gg(s,h,r,C),zs=!1,V=s.memoizedState,h.state=V,Bo(s,r,h,f),zo();var I=s.memoizedState;v!==W||V!==I||zs||n!==null&&n.dependencies!==null&&cl(n.dependencies)?(typeof A=="function"&&(Tf(s,i,A,r),I=s.memoizedState),(Q=zs||Fg(s,i,Q,r,V,I,C)||n!==null&&n.dependencies!==null&&cl(n.dependencies))?(P||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(r,I,C),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(r,I,C)),typeof h.componentDidUpdate=="function"&&(s.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof h.componentDidUpdate!="function"||v===n.memoizedProps&&V===n.memoizedState||(s.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===n.memoizedProps&&V===n.memoizedState||(s.flags|=1024),s.memoizedProps=r,s.memoizedState=I),h.props=r,h.state=I,h.context=C,r=Q):(typeof h.componentDidUpdate!="function"||v===n.memoizedProps&&V===n.memoizedState||(s.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||v===n.memoizedProps&&V===n.memoizedState||(s.flags|=1024),r=!1)}return h=r,Cl(n,s),r=(s.flags&128)!==0,h||r?(h=s.stateNode,i=r&&typeof i.getDerivedStateFromError!="function"?null:h.render(),s.flags|=1,n!==null&&r?(s.child=za(s,n.child,null,f),s.child=za(s,null,i,f)):Mt(n,s,i,f),s.memoizedState=h.state,n=s.child):n=us(n,s,f),n}function oy(n,s,i,r){return Ma(),s.flags|=256,Mt(n,s,i,r),s.child}var Mf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function jf(n){return{baseLanes:n,cachePool:Xp()}}function kf(n,s,i){return n=n!==null?n.childLanes&~i:0,s&&(n|=un),n}function ry(n,s,i){var r=s.pendingProps,f=!1,h=(s.flags&128)!==0,v;if((v=h)||(v=n!==null&&n.memoizedState===null?!1:(at.current&2)!==0),v&&(f=!0,s.flags&=-129),v=(s.flags&32)!==0,s.flags&=-33,n===null){if(Me){if(f?Ps(s):Us(),(n=Ge)?(n=pv(n,Sn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(s.memoizedState={dehydrated:n,treeContext:ks!==null?{id:In,overflow:Hn}:null,retryLane:536870912,hydrationErrors:null},i=Vp(n),i.return=s,s.child=i,Rt=s,Ge=null)):n=null,n===null)throw Ds(s);return hd(n)?s.lanes=32:s.lanes=536870912,null}var A=r.children;return r=r.fallback,f?(Us(),f=s.mode,A=Ml({mode:"hidden",children:A},f),r=Ca(r,f,i,null),A.return=s,r.return=s,A.sibling=r,s.child=A,r=s.child,r.memoizedState=jf(i),r.childLanes=kf(n,v,i),s.memoizedState=Mf,Io(null,r)):(Ps(s),Of(s,A))}var C=n.memoizedState;if(C!==null&&(A=C.dehydrated,A!==null)){if(h)s.flags&256?(Ps(s),s.flags&=-257,s=Df(n,s,i)):s.memoizedState!==null?(Us(),s.child=n.child,s.flags|=128,s=null):(Us(),A=r.fallback,f=s.mode,r=Ml({mode:"visible",children:r.children},f),A=Ca(A,f,i,null),A.flags|=2,r.return=s,A.return=s,r.sibling=A,s.child=r,za(s,n.child,null,i),r=s.child,r.memoizedState=jf(i),r.childLanes=kf(n,v,i),s.memoizedState=Mf,s=Io(null,r));else if(Ps(s),hd(A)){if(v=A.nextSibling&&A.nextSibling.dataset,v)var P=v.dgst;v=P,r=Error(o(419)),r.stack="",r.digest=v,Mo({value:r,source:null,stack:null}),s=Df(n,s,i)}else if(ut||Ei(n,s,i,!1),v=(i&n.childLanes)!==0,ut||v){if(v=qe,v!==null&&(r=Ft(v,i),r!==0&&r!==C.retryLane))throw C.retryLane=r,Ra(n,r),Wt(v,n,r),Rf;dd(A)||Pl(),s=Df(n,s,i)}else dd(A)?(s.flags|=192,s.child=n.child,s=null):(n=C.treeContext,Ge=Tn(A.nextSibling),Rt=s,Me=!0,Os=null,Sn=!1,n!==null&&qp(s,n),s=Of(s,r.children),s.flags|=4096);return s}return f?(Us(),A=r.fallback,f=s.mode,C=n.child,P=C.sibling,r=as(C,{mode:"hidden",children:r.children}),r.subtreeFlags=C.subtreeFlags&65011712,P!==null?A=as(P,A):(A=Ca(A,f,i,null),A.flags|=2),A.return=s,r.return=s,r.sibling=A,s.child=r,Io(null,r),r=s.child,A=n.child.memoizedState,A===null?A=jf(i):(f=A.cac
vendor: 9,840 bytes, line 9
9hePool,f!==null?(C=lt._currentValue,f=f.parent!==C?{parent:C,pool:C}:f):f=Xp(),A={baseLanes:A.baseLanes|i,cachePool:f}),r.memoizedState=A,r.childLanes=kf(n,v,i),s.memoizedState=Mf,Io(n.child,r)):(Ps(s),i=n.child,n=i.sibling,i=as(i,{mode:"visible",children:r.children}),i.return=s,i.sibling=null,n!==null&&(v=s.deletions,v===null?(s.deletions=[n],s.flags|=16):v.push(n)),s.child=i,s.memoizedState=null,i)}function Of(n,s){return s=Ml({mode:"visible",children:s},n.mode),s.return=n,n.child=s}function Ml(n,s){return n=on(22,n,null,s),n.lanes=0,n}function Df(n,s,i){return za(s,n.child,null,i),n=Of(s,s.pendingProps.children),n.flags|=2,s.memoizedState=null,n}function ly(n,s,i){n.lanes|=s;var r=n.alternate;r!==null&&(r.lanes|=s),Qu(n.return,s,i)}function Lf(n,s,i,r,f,h){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:r,tail:i,tailMode:f,treeForkCount:h}:(v.isBackwards=s,v.rendering=null,v.renderingStartTime=0,v.last=r,v.tail=i,v.tailMode=f,v.treeForkCount=h)}function cy(n,s,i){var r=s.pendingProps,f=r.revealOrder,h=r.tail;r=r.children;var v=at.current,A=(v&2)!==0;if(A?(v=v&1|2,s.flags|=128):v&=1,K(at,v),Mt(n,s,r,i),r=Me?Co:0,!A&&n!==null&&(n.flags&128)!==0)e:for(n=s.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&ly(n,i,s);else if(n.tag===19)ly(n,i,s);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===s)break e;for(;n.sibling===null;){if(n.return===null||n.return===s)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(f){case"forwards":for(i=s.child,f=null;i!==null;)n=i.alternate,n!==null&&yl(n)===null&&(f=i),i=i.sibling;i=f,i===null?(f=s.child,s.child=null):(f=i.sibling,i.sibling=null),Lf(s,!1,f,i,h,r);break;case"backwards":case"unstable_legacy-backwards":for(i=null,f=s.child,s.child=null;f!==null;){if(n=f.alternate,n!==null&&yl(n)===null){s.child=f;break}n=f.sibling,f.sibling=i,i=f,f=n}Lf(s,!0,i,null,h,r);break;case"together":Lf(s,!1,null,null,void 0,r);break;default:s.memoizedState=null}return s.child}function us(n,s,i){if(n!==null&&(s.dependencies=n.dependencies),Hs|=s.lanes,(i&s.childLanes)===0)if(n!==null){if(Ei(n,s,i,!1),(i&s.childLanes)===0)return null}else return null;if(n!==null&&s.child!==n.child)throw Error(o(153));if(s.child!==null){for(n=s.child,i=as(n,n.pendingProps),s.child=i,i.return=s;n.sibling!==null;)n=n.sibling,i=i.sibling=as(n,n.pendingProps),i.return=s;i.sibling=null}return s.child}function zf(n,s){return(n.lanes&s)!==0?!0:(n=n.dependencies,!!(n!==null&&cl(n)))}function ET(n,s,i){switch(s.tag){case 3:ge(s,s.stateNode.containerInfo),Ls(s,lt,n.memoizedState.cache),Ma();break;case 27:case 5:Je(s);break;case 4:ge(s,s.stateNode.containerInfo);break;case 10:Ls(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,of(s),null;break;case 13:var r=s.memoizedState;if(r!==null)return r.dehydrated!==null?(Ps(s),s.flags|=128,null):(i&s.child.childLanes)!==0?ry(n,s,i):(Ps(s),n=us(n,s,i),n!==null?n.sibling:null);Ps(s);break;case 19:var f=(n.flags&128)!==0;if(r=(i&s.childLanes)!==0,r||(Ei(n,s,i,!1),r=(i&s.childLanes)!==0),f){if(r)return cy(n,s,i);s.flags|=128}if(f=s.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),K(at,at.current),r)break;return null;case 22:return s.lanes=0,ty(n,s,i,s.pendingProps);case 24:Ls(s,lt,n.memoizedState.cache)}return us(n,s,i)}function uy(n,s,i){if(n!==null)if(n.memoizedProps!==s.pendingProps)ut=!0;else{if(!zf(n,i)&&(s.flags&128)===0)return ut=!1,ET(n,s,i);ut=(n.flags&131072)!==0}else ut=!1,Me&&(s.flags&1048576)!==0&&Hp(s,Co,s.index);switch(s.lanes=0,s.tag){case 16:e:{var r=s.pendingProps;if(n=Da(s.elementType),s.type=n,typeof n=="function")Uu(n)?(r=Na(n,r),s.tag=1,s=iy(null,s,n,r,i)):(s.tag=0,s=Cf(null,s,n,r,i));else{if(n!=null){var f=n.$$typeof;if(f===k){s.tag=11,s=Jg(null,s,n,r,i);break e}else if(f===B){s.tag=14,s=$g(null,s,n,r,i);break e}}throw s=ae(n)||n,Error(o(306,s,""))}}return s;case 0:return Cf(n,s,s.type,s.pendingProps,i);case 1:return r=s.type,f=Na(r,s.pendingProps),iy(n,s,r,f,i);case 3:e:{if(ge(s,s.stateNode.containerInfo),n===null)throw Error(o(387));r=s.pendingProps;var h=s.memoizedState;f=h.element,ef(n,s),Bo(s,r,null,i);var v=s.memoizedState;if(r=v.cache,Ls(s,lt,r),r!==h.cache&&Ku(s,[lt],i,!0),zo(),r=v.element,h.isDehydrated)if(h={element:r,isDehydrated:!1,cache:v.cache},s.updateQueue.baseState=h,s.memoizedState=h,s.flags&256){s=oy(n,s,r,i);break e}else if(r!==f){f=bn(Error(o(424)),s),Mo(f),s=oy(n,s,r,i);break e}else for(n=s.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Ge=Tn(n.firstChild),Rt=s,Me=!0,Os=null,Sn=!0,i=tg(s,null,r,i),s.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Ma(),r===f){s=us(n,s,i);break e}Mt(n,s,r,i)}s=s.child}return s;case 26:return Cl(n,s),n===null?(i=xv(s.type,null,s.pendingProps,null))?s.memoizedState=i:Me||(i=s.type,n=s.pendingProps,r=Gl(ie.current).createElement(i),r[Et]=s,r[Gt]=n,jt(r,i,n),xt(r),s.stateNode=r):s.memoizedState=xv(s.type,n.memoizedProps,s.pendingProps,n.memoizedState),null;case 27:return Je(s),n===null&&Me&&(r=s.stateNode=vv(s.type,s.pendingProps,ie.current),Rt=s,Sn=!0,f=Ge,Qs(s.type)?(md=f,Ge=Tn(r.firstChild)):Ge=f),Mt(n,s,s.pendingProps.children,i),Cl(n,s),n===null&&(s.flags|=4194304),s.child;case 5:return n===null&&Me&&((f=r=Ge)&&(r=nA(r,s.type,s.pendingProps,Sn),r!==null?(s.stateNode=r,Rt=s,Ge=Tn(r.firstChild),Sn=!1,f=!0):f=!1),f||Ds(s)),Je(s),f=s.type,h=s.pendingProps,v=n!==null?n.memoizedProps:null,r=h.children,cd(f,h)?r=null:v!==null&&cd(f,v)&&(s.flags|=32),s.memoizedState!==null&&(f=lf(n,s,yT,null,null,i),nr._currentValue=f),Cl(n,s),Mt(n,s,r,i),s.child;case 6:return n===null&&Me&&((n=i=Ge)&&(i=sA(i,s.pendingProps,Sn),i!==null?(s.stateNode=i,Rt=s,Ge=null,n=!0):n=!1),n||Ds(s)),null;case 13:return ry(n,s,i);case 4:return ge(s,s.stateNode.containerInfo),r=s.pendingProps,n===null?s.child=za(s,null,r,i):Mt(n,s,r,i),s.child;case 11:return Jg(n,s,s.type,s.pendingProps,i);case 7:return Mt(n,s,s.pendingProps,i),s.child;case 8:return Mt(n,s,s.pendingProps.children,i),s.child;case 12:return Mt(n,s,s.pendingProps.children,i),s.child;case 10:return r=s.pendingProps,Ls(s,s.type,r.value),Mt(n,s,r.children,i),s.child;case 9:return f=s.type._context,r=s.pendingProps.children,ka(s),f=Ct(f),r=r(f),s.flags|=1,Mt(n,s,r,i),s.child;case 14:return $g(n,s,s.type,s.pendingProps,i);case 15:return ey(n,s,s.type,s.pendingProps,i);case 19:return cy(n,s,i);case 31:return AT(n,s,i);case 22:return ty(n,s,i,s.pendingProps);case 24:return ka(s),r=Ct(lt),n===null?(f=Wu(),f===null&&(f=qe,h=Xu(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=i),f=h),s.memoizedState={parent:r,cache:f},$u(s),Ls(s,lt,f)):((n.lanes&i)!==0&&(ef(n,s),Bo(s,null,null,i),zo()),f=n.memoizedState,h=s.memoizedState,f.parent!==r?(f={parent:r,cache:r},s.memoizedState=f,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=f),Ls(s,lt,r)):(r=h.cache,Ls(s,lt,r),r!==f.cache&&Ku(s,[lt],i,!0))),Mt(n,s,s.pendingProps.children,i),s.child;case 29:throw s.pendingProps}throw Error(o(156,s.tag))}function fs(n){n.flags|=4}function Bf(n,s,i,r,f){if((s=(n.mode&32)!==0)&&(s=!1),s){if(n.flags|=16777216,(f&335544128)===f)if(n.stateNode.complete)n.flags|=8192;else if(Ny())n.flags|=8192;else throw La=hl,Ju}else n.flags&=-16777217}function fy(n,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ev(s))if(Ny())n.flags|=8192;else throw La=hl,Ju}function jl(n,s){s!==null&&(n.flags|=4),n.flags&16384&&(s=n.tag!==22?zt():536870912,n.lanes|=s,Pi|=s)}function Ho(n,s){if(!Me)switch(n.tailMode){case"hidden":s=n.tail;for(var i=null;s!==null;)s.alternate!==null&&(i=s),s=s.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?s||n.tail===null?n.tail=null:n.tail.sibling=null:r.sibling=null}}function Ye(n){var s=n.alternate!==null&&n.alternate.child===n.child,i=0,r=0;if(s)for(var f=n.child;f!==null;)i|=f.lanes|f.childLanes,r|=f.subtreeFlags&65011712,r|=f.flags&65011712,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)i|=f.lanes|f.childLanes,r|=f.subtreeFlags,r|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=r,n.childLanes=i,s}function RT(n,s,i){var r=s.pendingProps;switch(qu(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(s),null;case 1:return Ye(s),null;case 3:return i=s.stateNode,r=null,n!==null&&(r=n.memoizedState.cache),s.memoizedState.cache!==r&&(s.flags|=2048),rs(lt),pe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Ai(s)?fs(s):n===null||n.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Gu())),Ye(s),null;case 26:var f=s.type,h=s.memoizedState;return n===null?(fs(s),h!==null?(Ye(s),fy(s,h)):(Ye(s),Bf(s,f,null,r,i))):h?h!==n.memoizedState?(fs(s),Ye(s),fy(s,h)):(Ye(s),s.flags&=-16777217):(n=n.memoizedProps,n!==r&&fs(s),Ye(s),Bf(s,f,n,r,i)),null;case 27:if(Qe(s),i=ie.current,f=s.type,n!==null&&s.stateNode!=null)n.memoizedProps!==r&&fs(s);else{if(!r){if(s.stateNode===null)throw Error(o(166));return Ye(s),null}n=ne.current,Ai(s)?Fp(s):(n=vv(f,r,i),s.stateNode=n,fs(s))}return Ye(s),null;case 5:if(Qe(s),f=s.type,n!==null&&s.stateNode!=null)n.memoizedProps!==r&&fs(s);else{if(!r){if(s.stateNode===null)throw Error(o(166));return Ye(s),null}if(h=ne.current,Ai(s))Fp(s);else{var v=Gl(ie.current);switch(h){case 1:h=v.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:h=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":h=v.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":h=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":h=v.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;
vendor: 26,410 bytes, line 9
9case"select":h=typeof r.is=="string"?v.createElement("select",{is:r.is}):v.createElement("select"),r.multiple?h.multiple=!0:r.size&&(h.size=r.size);break;default:h=typeof r.is=="string"?v.createElement(f,{is:r.is}):v.createElement(f)}}h[Et]=s,h[Gt]=r;e:for(v=s.child;v!==null;){if(v.tag===5||v.tag===6)h.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===s)break e;for(;v.sibling===null;){if(v.return===null||v.return===s)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}s.stateNode=h;e:switch(jt(h,f,r),f){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&fs(s)}}return Ye(s),Bf(s,s.type,n===null?null:n.memoizedProps,s.pendingProps,i),null;case 6:if(n&&s.stateNode!=null)n.memoizedProps!==r&&fs(s);else{if(typeof r!="string"&&s.stateNode===null)throw Error(o(166));if(n=ie.current,Ai(s)){if(n=s.stateNode,i=s.memoizedProps,r=null,f=Rt,f!==null)switch(f.tag){case 27:case 5:r=f.memoizedProps}n[Et]=s,n=!!(n.nodeValue===i||r!==null&&r.suppressHydrationWarning===!0||rv(n.nodeValue,i)),n||Ds(s,!0)}else n=Gl(n).createTextNode(r),n[Et]=s,s.stateNode=n}return Ye(s),null;case 31:if(i=s.memoizedState,n===null||n.memoizedState!==null){if(r=Ai(s),i!==null){if(n===null){if(!r)throw Error(o(318));if(n=s.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(557));n[Et]=s}else Ma(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Ye(s),n=!1}else i=Gu(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return s.flags&256?(ln(s),s):(ln(s),null);if((s.flags&128)!==0)throw Error(o(558))}return Ye(s),null;case 13:if(r=s.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(f=Ai(s),r!==null&&r.dehydrated!==null){if(n===null){if(!f)throw Error(o(318));if(f=s.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(o(317));f[Et]=s}else Ma(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Ye(s),f=!1}else f=Gu(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=f),f=!0;if(!f)return s.flags&256?(ln(s),s):(ln(s),null)}return ln(s),(s.flags&128)!==0?(s.lanes=i,s):(i=r!==null,n=n!==null&&n.memoizedState!==null,i&&(r=s.child,f=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(f=r.alternate.memoizedState.cachePool.pool),h=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(h=r.memoizedState.cachePool.pool),h!==f&&(r.flags|=2048)),i!==n&&i&&(s.child.flags|=8192),jl(s,s.updateQueue),Ye(s),null);case 4:return pe(),n===null&&ad(s.stateNode.containerInfo),Ye(s),null;case 10:return rs(s.type),Ye(s),null;case 19:if(Y(at),r=s.memoizedState,r===null)return Ye(s),null;if(f=(s.flags&128)!==0,h=r.rendering,h===null)if(f)Ho(r,!1);else{if(nt!==0||n!==null&&(n.flags&128)!==0)for(n=s.child;n!==null;){if(h=yl(n),h!==null){for(s.flags|=128,Ho(r,!1),n=h.updateQueue,s.updateQueue=n,jl(s,n),s.subtreeFlags=0,n=i,i=s.child;i!==null;)Up(i,n),i=i.sibling;return K(at,at.current&1|2),Me&&is(s,r.treeForkCount),s.child}n=n.sibling}r.tail!==null&&bt()>zl&&(s.flags|=128,f=!0,Ho(r,!1),s.lanes=4194304)}else{if(!f)if(n=yl(h),n!==null){if(s.flags|=128,f=!0,n=n.updateQueue,s.updateQueue=n,jl(s,n),Ho(r,!0),r.tail===null&&r.tailMode==="hidden"&&!h.alternate&&!Me)return Ye(s),null}else 2*bt()-r.renderingStartTime>zl&&i!==536870912&&(s.flags|=128,f=!0,Ho(r,!1),s.lanes=4194304);r.isBackwards?(h.sibling=s.child,s.child=h):(n=r.last,n!==null?n.sibling=h:s.child=h,r.last=h)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.renderingStartTime=bt(),n.sibling=null,i=at.current,K(at,f?i&1|2:i&1),Me&&is(s,r.treeForkCount),n):(Ye(s),null);case 22:case 23:return ln(s),af(),r=s.memoizedState!==null,n!==null?n.memoizedState!==null!==r&&(s.flags|=8192):r&&(s.flags|=8192),r?(i&536870912)!==0&&(s.flags&128)===0&&(Ye(s),s.subtreeFlags&6&&(s.flags|=8192)):Ye(s),i=s.updateQueue,i!==null&&jl(s,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),r=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(r=s.memoizedState.cachePool.pool),r!==i&&(s.flags|=2048),n!==null&&Y(Oa),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),s.memoizedState.cache!==i&&(s.flags|=2048),rs(lt),Ye(s),null;case 25:return null;case 30:return null}throw Error(o(156,s.tag))}function CT(n,s){switch(qu(s),s.tag){case 1:return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 3:return rs(lt),pe(),n=s.flags,(n&65536)!==0&&(n&128)===0?(s.flags=n&-65537|128,s):null;case 26:case 27:case 5:return Qe(s),null;case 31:if(s.memoizedState!==null){if(ln(s),s.alternate===null)throw Error(o(340));Ma()}return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 13:if(ln(s),n=s.memoizedState,n!==null&&n.dehydrated!==null){if(s.alternate===null)throw Error(o(340));Ma()}return n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 19:return Y(at),null;case 4:return pe(),null;case 10:return rs(s.type),null;case 22:case 23:return ln(s),af(),n!==null&&Y(Oa),n=s.flags,n&65536?(s.flags=n&-65537|128,s):null;case 24:return rs(lt),null;case 25:return null;default:return null}}function dy(n,s){switch(qu(s),s.tag){case 3:rs(lt),pe();break;case 26:case 27:case 5:Qe(s);break;case 4:pe();break;case 31:s.memoizedState!==null&&ln(s);break;case 13:ln(s);break;case 19:Y(at);break;case 10:rs(s.type);break;case 22:case 23:ln(s),af(),n!==null&&Y(Oa);break;case 24:rs(lt)}}function qo(n,s){try{var i=s.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var f=r.next;i=f;do{if((i.tag&n)===n){r=void 0;var h=i.create,v=i.inst;r=h(),v.destroy=r}i=i.next}while(i!==f)}}catch(A){Be(s,s.return,A)}}function Vs(n,s,i){try{var r=s.updateQueue,f=r!==null?r.lastEffect:null;if(f!==null){var h=f.next;r=h;do{if((r.tag&n)===n){var v=r.inst,A=v.destroy;if(A!==void 0){v.destroy=void 0,f=s;var C=i,P=A;try{P()}catch(Q){Be(f,C,Q)}}}r=r.next}while(r!==h)}}catch(Q){Be(s,s.return,Q)}}function hy(n){var s=n.updateQueue;if(s!==null){var i=n.stateNode;try{sg(s,i)}catch(r){Be(n,n.return,r)}}}function my(n,s,i){i.props=Na(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(r){Be(n,s,r)}}function Fo(n,s){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var r=n.stateNode;break;case 30:r=n.stateNode;break;default:r=n.stateNode}typeof i=="function"?n.refCleanup=i(r):i.current=r}}catch(f){Be(n,s,f)}}function qn(n,s){var i=n.ref,r=n.refCleanup;if(i!==null)if(typeof r=="function")try{r()}catch(f){Be(n,s,f)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){Be(n,s,f)}else i.current=null}function py(n){var s=n.type,i=n.memoizedProps,r=n.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":i.autoFocus&&r.focus();break e;case"img":i.src?r.src=i.src:i.srcSet&&(r.srcset=i.srcSet)}}catch(f){Be(n,n.return,f)}}function Nf(n,s,i){try{var r=n.stateNode;ZT(r,n.type,i,s),r[Gt]=s}catch(f){Be(n,n.return,f)}}function gy(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Qs(n.type)||n.tag===4}function Pf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||gy(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Qs(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Uf(n,s,i){var r=n.tag;if(r===5||r===6)n=n.stateNode,s?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,s):(s=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,s.appendChild(n),i=i._reactRootContainer,i!=null||s.onclick!==null||(s.onclick=ns));else if(r!==4&&(r===27&&Qs(n.type)&&(i=n.stateNode,s=null),n=n.child,n!==null))for(Uf(n,s,i),n=n.sibling;n!==null;)Uf(n,s,i),n=n.sibling}function kl(n,s,i){var r=n.tag;if(r===5||r===6)n=n.stateNode,s?i.insertBefore(n,s):i.appendChild(n);else if(r!==4&&(r===27&&Qs(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(kl(n,s,i),n=n.sibling;n!==null;)kl(n,s,i),n=n.sibling}function yy(n){var s=n.stateNode,i=n.memoizedProps;try{for(var r=n.type,f=s.attributes;f.length;)s.removeAttributeNode(f[0]);jt(s,r,i),s[Et]=n,s[Gt]=i}catch(h){Be(n,n.return,h)}}var ds=!1,ft=!1,Vf=!1,vy=typeof WeakSet=="function"?WeakSet:Set,St=null;function MT(n,s){if(n=n.containerInfo,rd=Jl,n=jp(n),Ou(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var f=r.anchorOffset,h=r.focusNode;r=r.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var v=0,A=-1,C=-1,P=0,Q=0,W=n,V=null;t:for(;;){for(var I;W!==i||f!==0&&W.nodeType!==3||(A=v+f),W!==h||r!==0&&W.nodeType!==3||(C=v+r),W.nodeType===3&&(v+=W.nodeValue.length),(I=W.firstChild)!==null;)V=W,W=I;for(;;){if(W===n)break t;if(V===i&&++P===f&&(A=v),V===h&&++Q===r&&(C=v),(I=W.nextSibling)!==null)break;W=V,V=W.parentNode}W=I}i=A===-1||C===-1?null:{start:A,end:C}}else i=null}i=i||{start:0,end:0}}else i=null;for(ld={focusedElem:n,selectionRange:i},Jl=!1,St=s;St!==null;)if(s=St,n=s.child,(s.subtreeFlags&1028)!==0&&n!==null)n.return=s,St=n;else for(;St!==null;){switch(s=St,h=s.alternate,n=s.flags,s.tag){case 0:if((n&4)!==0&&(n=s.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)f=n[i],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&h!==null){n=void 0,i=s,f=h.memoizedProps,h=h.memoizedState,r=i.stateNode;try{var ue=Na(i.type,f);n=r.getSnapshotBeforeUpdate(ue,h),r.__reactInternalSnapshotBeforeUpdate=n}catch(be){Be(i,i.return,be)}}break;case 3:if((n&1024)!==0){if(n=s.stateNode.containerInfo,i=n.nodeType,i===9)fd(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":fd(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(o(163))}if(n=s.sibling,n!==null){n.return=s.return,St=n;break}St=s.return}}function by(n,s,i){var r=i.flags;switch(i.tag){case 0:case 11:case 15:ms(n,i),r&4&&qo(5,i);break;case 1:if(ms(n,i),r&4)if(n=i.stateNode,s===null)try{n.componentDidMount()}catch(v){Be(i,i.return,v)}else{var f=Na(i.type,s.memoizedProps);s=s.memoizedState;try{n.componentDidUpdate(f,s,n.__reactInternalSnapshotBeforeUpdate)}catch(v){Be(i,i.return,v)}}r&64&&hy(i),r&512&&Fo(i,i.return);break;case 3:if(ms(n,i),r&64&&(n=i.updateQueue,n!==null)){if(s=null,i.child!==null)switch(i.child.tag){case 27:case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}try{sg(n,s)}catch(v){Be(i,i.return,v)}}break;case 27:s===null&&r&4&&yy(i);case 26:case 5:ms(n,i),s===null&&r&4&&py(i),r&512&&Fo(i,i.return);break;case 12:ms(n,i);break;case 31:ms(n,i),r&4&&Sy(n,i);break;case 13:ms(n,i),r&4&&_y(n,i),r&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=PT.bind(null,i),aA(n,i))));break;case 22:if(r=i.memoizedState!==null||ds,!r){s=s!==null&&s.memoizedState!==null||ft,f=ds;var h=ft;ds=r,(ft=s)&&!h?ps(n,i,(i.subtreeFlags&8772)!==0):ms(n,i),ds=f,ft=h}break;case 30:break;default:ms(n,i)}}function wy(n){var s=n.alternate;s!==null&&(n.alternate=null,wy(s)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(s=n.stateNode,s!==null&&pu(s)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Ze=null,Qt=!1;function hs(n,s,i){for(i=i.child;i!==null;)xy(n,s,i),i=i.sibling}function xy(n,s,i){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(wa,i)}catch{}switch(i.tag){case 26:ft||qn(i,s),hs(n,s,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:ft||qn(i,s);var r=Ze,f=Qt;Qs(i.type)&&(Ze=i.stateNode,Qt=!1),hs(n,s,i),$o(i.stateNode),Ze=r,Qt=f;break;case 5:ft||qn(i,s);case 6:if(r=Ze,f=Qt,Ze=null,hs(n,s,i),Ze=r,Qt=f,Ze!==null)if(Qt)try{(Ze.nodeType===9?Ze.body:Ze.nodeName==="HTML"?Ze.ownerDocument.body:Ze).removeChild(i.stateNode)}catch(h){Be(i,s,h)}else try{Ze.removeChild(i.stateNode)}catch(h){Be(i,s,h)}break;case 18:Ze!==null&&(Qt?(n=Ze,hv(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),Yi(n)):hv(Ze,i.stateNode));break;case 4:r=Ze,f=Qt,Ze=i.stateNode.containerInfo,Qt=!0,hs(n,s,i),Ze=r,Qt=f;break;case 0:case 11:case 14:case 15:Vs(2,i,s),ft||Vs(4,i,s),hs(n,s,i);break;case 1:ft||(qn(i,s),r=i.stateNode,typeof r.componentWillUnmount=="function"&&my(i,s,r)),hs(n,s,i);break;case 21:hs(n,s,i);break;case 22:ft=(r=ft)||i.memoizedState!==null,hs(n,s,i),ft=r;break;default:hs(n,s,i)}}function Sy(n,s){if(s.memoizedState===null&&(n=s.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Yi(n)}catch(i){Be(s,s.return,i)}}}function _y(n,s){if(s.memoizedState===null&&(n=s.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Yi(n)}catch(i){Be(s,s.return,i)}}function jT(n){switch(n.tag){case 31:case 13:case 19:var s=n.stateNode;return s===null&&(s=n.stateNode=new vy),s;case 22:return n=n.stateNode,s=n._retryCache,s===null&&(s=n._retryCache=new vy),s;default:throw Error(o(435,n.tag))}}function Ol(n,s){var i=jT(n);s.forEach(function(r){if(!i.has(r)){i.add(r);var f=UT.bind(null,n,r);r.then(f,f)}})}function Kt(n,s){var i=s.deletions;if(i!==null)for(var r=0;r<i.length;r++){var f=i[r],h=n,v=s,A=v;e:for(;A!==null;){switch(A.tag){case 27:if(Qs(A.type)){Ze=A.stateNode,Qt=!1;break e}break;case 5:Ze=A.stateNode,Qt=!1;break e;case 3:case 4:Ze=A.stateNode.containerInfo,Qt=!0;break e}A=A.return}if(Ze===null)throw Error(o(160));xy(h,v,f),Ze=null,Qt=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)Ty(s,n),s=s.sibling}var On=null;function Ty(n,s){var i=n.alternate,r=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Kt(s,n),Xt(n),r&4&&(Vs(3,n,n.return),qo(3,n),Vs(5,n,n.return));break;case 1:Kt(s,n),Xt(n),r&512&&(ft||i===null||qn(i,i.return)),r&64&&ds&&(n=n.updateQueue,n!==null&&(r=n.callbacks,r!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?r:i.concat(r))));break;case 26:var f=On;if(Kt(s,n),Xt(n),r&512&&(ft||i===null||qn(i,i.return)),r&4){var h=i!==null?i.memoizedState:null;if(r=n.memoizedState,i===null)if(r===null)if(n.stateNode===null){e:{r=n.type,i=n.memoizedProps,f=f.ownerDocument||f;t:switch(r){case"title":h=f.getElementsByTagName("title")[0],(!h||h[yo]||h[Et]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(r),f.head.insertBefore(h,f.querySelector("head > title"))),jt(h,r,i),h[Et]=n,xt(h),r=h;break e;case"link":var v=Tv("link","href",f).get(r+(i.href||""));if(v){for(var A=0;A<v.length;A++)if(h=v[A],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){v.splice(A,1);break t}}h=f.createElement(r),jt(h,r,i),f.head.appendChild(h);break;case"meta":if(v=Tv("meta","content",f).get(r+(i.content||""))){for(A=0;A<v.length;A++)if(h=v[A],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){v.splice(A,1);break t}}h=f.createElement(r),jt(h,r,i),f.head.appendChild(h);break;default:throw Error(o(468,r))}h[Et]=n,xt(h),r=h}n.stateNode=r}else Av(f,n.type,n.stateNode);else n.stateNode=_v(f,r,n.memoizedProps);else h!==r?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,r===null?Av(f,n.type,n.stateNode):_v(f,r,n.memoizedProps)):r===null&&n.stateNode!==null&&Nf(n,n.memoizedProps,i.memoizedProps)}break;case 27:Kt(s,n),Xt(n),r&512&&(ft||i===null||qn(i,i.return)),i!==null&&r&4&&Nf(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Kt(s,n),Xt(n),r&512&&(ft||i===null||qn(i,i.return)),n.flags&32){f=n.stateNode;try{pi(f,"")}catch(ue){Be(n,n.return,ue)}}r&4&&n.stateNode!=null&&(f=n.memoizedProps,Nf(n,f,i!==null?i.memoizedProps:f)),r&1024&&(Vf=!0);break;case 6:if(Kt(s,n),Xt(n),r&4){if(n.stateNode===null)throw Error(o(162));r=n.memoizedProps,i=n.stateNode;try{i.nodeValue=r}catch(ue){Be(n,n.return,ue)}}break;case 3:if(Kl=null,f=On,On=Yl(s.containerInfo),Kt(s,n),On=f,Xt(n),r&4&&i!==null&&i.memoizedState.isDehydrated)try{Yi(s.containerInfo)}catch(ue){Be(n,n.return,ue)}Vf&&(Vf=!1,Ay(n));break;case 4:r=On,On=Yl(n.stateNode.containerInfo),Kt(s,n),Xt(n),On=r;break;case 12:Kt(s,n),Xt(n);break;case 31:Kt(s,n),Xt(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,Ol(n,r)));break;case 13:Kt(s,n),Xt(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Ll=bt()),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,Ol(n,r)));break;case 22:f=n.memoizedState!==null;var C=i!==null&&i.memoizedState!==null,P=ds,Q=ft;if(ds=P||f,ft=Q||C,Kt(s,n),ft=Q,ds=P,Xt(n),r&8192)e:for(s=n.stateNode,s._visibility=f?s._visibility&-2:s._visibility|1,f&&(i===null||C||ds||ft||Pa(n)),i=null,s=n;;){if(s.tag===5||s.tag===26){if(i===null){C=i=s;try{if(h=C.stateNode,f)v=h.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{A=C.stateNode;var W=C.memoizedProps.style,V=W!=null&&W.hasOwnProperty("display")?W.display:null;A.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(ue){Be(C,C.return,ue)}}}else if(s.tag===6){if(i===null){C=s;try{C.stateNode.nodeValue=f?"":C.memoizedProps}catch(ue){Be(C,C.return,ue)}}}else if(s.tag===18){if(i===null){C=s;try{var I=C.stateNode;f?mv(I,!0):mv(C.stateNode,!1)}catch(ue){Be(C,C.return,ue)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===n)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break e;for(;s.sibling===null;){if(s.return===null||s.return===n)break e;i===s&&(i=null),s=s.return}i===s&&(i=null),s.sibling.return=s.return,s=s.sibling}r&4&&(r=n.updateQueue,r!==null&&(i=r.retryQueue,i!==null&&(r.retryQueue=null,Ol(n,i))));break;case 19:Kt(s,n),Xt(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,Ol(n,r)));break;case 30:break;case 21:break;default:Kt(s,n),Xt(n)}}function Xt(n){var s=n.flags;if(s&2){try{for(var i,r=n.return;r!==null;){if(gy(r)){i=r;break}r=r.return}if(i==null)throw Error(o(160));switch(i.tag){case 27:var f=i.stateNode,h=Pf(n);kl(n,h,f);break;case 5:var v=i.stateNode;i.flags&32&&(pi(v,""),i.flags&=-33);var A=Pf(n);kl(n,A,v);break;case 3:case 4:var C=i.stateNode.containerInfo,P=Pf(n);Uf(n,P,C);break;default:throw Error(o(161))}}catch(Q){Be(n,n.return,Q)}n.flags&=-3}s&4096&&(n.flags&=-4097)}function Ay(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var s=n;Ay(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),n=n.sibling}}function ms(n,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)by(n,s.alternate,s),s=s.sibling}function Pa(n){for(n=n.child;n!==null;){var s=n;switch(s.tag){case 0:case 11:case 14:case 15:Vs(4,s,s.return),Pa(s);break;case 1:qn(s,s.return);var i=s.stateNode;typeof i.componentWillUnmount=="function"&&my(s,s.return,i),Pa(s);break;case 27:$o(s.stateNode);case 26:case 5:qn(s,s.return),Pa(s);break;case 22:s.memoizedState===null&&Pa(s);break;case 30:Pa(s);break;default:Pa(s)}n=n.sibling}}function ps(n,s,i){for(i=i&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var r=s.alternate,f=n,h=s,v=h.flags;switch(h.tag){case 0:case 11:case 15:ps(f,h,i),qo(4,h);break;case 1:if(ps(f,h,i),r=h,f=r.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(P){Be(r,r.return,P)}if(r=h,f=r.updateQueue,f!==null){var A=r.stateNode;try{var C=f.shared.hiddenCallbacks;if(C!==null)for(f.shared.hiddenCallbacks=null,f=0;f<C.length;f++)ng(C[f],A)}catch(P){Be(r,r.return,P)}}i&&v&64&&hy(h),Fo(h,h.return);break;case 27:yy(h);case 26:case 5:ps(f,h,i),i&&r===null&&v&4&&py(h),Fo(h,h.return);break;case 12:ps(f,h,i);break;case 31:ps(f,h,i),i&&v&4&&Sy(f,h);break;case 13:ps(f,h,i),i&&v&4&&_y(f,h);break;case 22:h.memoizedState===null&&ps(f,h,i),Fo(h,h.return);break;case 30:break;default:ps(f,h,i)}s=s.sibling}}function If(n,s){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(n=s.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&jo(i))}function Hf(n,s){n=null,s.alternate!==null&&(n=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==n&&(s.refCount++,n!=null&&jo(n))}function Dn(n,s,i,r){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)Ey(n,s,i,r),s=s.sibling}function Ey(n,s,i,r){var f=s.flags;switch(s.tag){case 0:case 11:case 15:Dn(n,s,i,r),f&2048&&qo(9,s);break;case 1:Dn(n,s,i,r);break;case 3:Dn(n,s,i,r),f&2048&&(n=null,s.alternate!==null&&(n=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==n&&(s.refCount++,n!=null&&jo(n)));break;case 12:if(f&2048){Dn(n,s,i,r),n=s.stateNode;try{var h=s.memoizedProps,v=h.id,A=h.onPostCommit;typeof A=="function"&&A(v,s.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(C){Be(s,s.return,C)}}else Dn(n,s,i,r);break;case 31:Dn(n,s,i,r);break;case 13:Dn(n,s,i,r);break;case 23:break;case 22:h=s.stateNode,v=s.alternate,s.memoizedState!==null?h._visibility&2?Dn(n,s,i,r):Go(n,s):h._visibility&2?Dn(n,s,i,r):(h._visibility|=2,zi(n,s,i,r,(s.subtreeFlags&10256)!==0||!1)),f&2048&&If(v,s);break;case 24:Dn(n,s,i,r),f&2048&&Hf(s.alternate,s);break;default:Dn(n,s,i,r)}}function zi(n,s,i,r,f){for(f=f&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var h=n,v=s,A=i,C=r,P=v.flags;switch(v.tag){case 0:case 11:case 15:zi(h,v,A,C,f),qo(8,v);break;case 23:break;case 22:var Q=v.stateNode;v.memoizedState!==null?Q._visibility&2?zi(h,v,A,C,f):Go(h,v):(Q._visibility|=2,zi(h,v,A,C,f)),f&&P&2048&&If(v.alternate,v);break;case 24:zi(h,v,A,C,f),f&&P&2048&&Hf(v.alternate,v);break;default:zi(h,v,A,C,f)}s=s.sibling}}function Go(n,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var i=n,r=s,f=r.flags;switch(r.tag){case 22:Go(i,r),f&2048&&If(r.alternate,r);break;case 24:Go(i,r),f&2048&&Hf(r.alternate,r);break;default:Go(i,r)}s=s.sibling}}var Yo=8192;function Bi(n,s,i){if(n.subtreeFlags&Yo)for(n=n.child;n!==null;)Ry(n,s,i),n=n.sibling}function Ry(n,s,i){switch(n.tag){case 26:Bi(n,s,i),n.flags&Yo&&n.memoizedState!==null&&gA(i,On,n.memoizedState,n.memoizedProps);break;case 5:Bi(n,s,i);break;case 3:case 4:var r=On;On=Yl(n.stateNode.containerInfo),Bi(n,s,i),On=r;break;case 22:n.memoizedState===null&&(r=n.alternate,r!==null&&r.memoizedState!==null?(r=Yo,Yo=16777216,Bi(n,s,i),Yo=r):Bi(n,s,i));break;default:Bi(n,s,i)}}function Cy(n){var s=n.alternate;if(s!==null&&(n=s.child,n!==null)){s.child=null;do s=n.sibling,n.sibling=null,n=s;while(n!==null)}}function Qo(n){var s=n.deletions;if((n.flags&16)!==0){if(s!==null)for(var i=0;i<s.length;i++){var r=s[i];St=r,jy(r,n)}Cy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)My(n),n=n.sibling}function My(n){switch(n.tag){case 0:case 11:case 15:Qo(n),n.flags&2048&&Vs(9,n,n.return);break;case 3:Qo(n);break;case 12:Qo(n);break;case 22:var s=n.stateNode;n.memoizedState!==null&&s._visibility&2&&(n.return===null||n.return.tag!==13)?(s._visibility&=-3,Dl(n)):Qo(n);break;default:Qo(n)}}function Dl(n){var s=n.deletions;if((n.flags&16)!==0){if(s!==null)for(var i=0;i<s.length;i++){var r=s[i];St=r,jy(r,n)}Cy(n)}for(n=n.child;n!==null;){switch(s=n,s.tag){case 0:case 11:case 15:Vs(8,s,s.return),Dl(s);break;case 22:i=s.stateNode,i._visibility&2&&(i._visibility&=-3,Dl(s));break;default:Dl(s)}n=n.sibling}}function jy(n,s){for(;St!==null;){var i=St;switch(i.tag){case 0:case 11:case 15:Vs(8,i,s);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var r=i.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:jo(i.memoizedState.cache)}if(r=i.child,r!==null)r.return=i,St=r;else e:for(i=n;St!==null;){r=St;var f=r.sibling,h=r.return;if(wy(r),r===i){St=null;break e}if(f!==null){f.return=h,St=f;break e}St=h}}}var kT={getCacheForType:function(n){var s=Ct(lt),i=s.data.get(n);return i===void 0&&(i=n(),s.data.set(n,i)),i},cacheSignal:function(){return Ct(lt).controller.signal}},OT=typeof WeakMap=="function"?WeakMap:Map,Le=0,qe=null,Ae=null,Re=0,ze=0,cn=null,Is=!1,Ni=!1,qf=!1,gs=0,nt=0,Hs=0,Ua=0,Ff=0,un=0,Pi=0,Ko=null,Zt=null,Gf=!1,Ll=0,ky=0,zl=1/0,Bl=null,qs=null,pt=0,Fs=null,Ui=null,ys=0,Yf=0,Qf=null,Oy=null,Xo=0,Kf=null;function fn(){return(Le&2)!==0&&Re!==0?Re&-Re:L.T!==null?ed():hu()}function Dy(){if(un===0)if((Re&536870912)===0||Me){var n=ri;ri<<=1,(ri&3932160)===0&&(ri=262144),un=n}else un=536870912;return n=rn.current,n!==null&&(n.flags|=32),un}function Wt(n,s,i){(n===qe&&(ze===2||ze===9)||n.cancelPendingCommit!==null)&&(Vi(n,0),Gs(n,Re,un,!1)),$e(n,i),((Le&2)===0||n!==qe)&&(n===qe&&((Le&2)===0&&(Ua|=i),nt===4&&Gs(n,Re,un,!1)),Fn(n))}function Ly(n,s,i){if((Le&6)!==0)throw Error(o(327));var r=!i&&(s&127)===0&&(s&n.expiredLanes)===0||Xe(n,s),f=r?zT(n,s):Zf(n,s,!0),h=r;do{if(f===0){Ni&&!r&&Gs(n,s,0,!1);break}else{if(i=n.current.alternate,h&&!DT(i)){f=Zf(n,s,!1),h=!1;continue}if(f===2){if(h=s,n.errorRecoveryDisabledLanes&h)var v=0;else v=n.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){s=v;e:{var A=n;f=Ko;var C=A.current.memoizedState.isDehydrated;if(C&&(Vi(A,v).flags|=256),v=Zf(A,v,!1),v!==2){if(qf&&!C){A.errorRecoveryDisabledLanes|=h,Ua|=h,f=4;break e}h=Zt,Zt=f,h!==null&&(Zt===null?Zt=h:Zt.push.apply(Zt,h))}f=v}if(h=!1,f!==2)continue}}if(f===1){Vi(n,0),Gs(n,s,0,!0);break}e:{switch(r=n,h=f,h){case 0:case 1:throw Error(o(345));case 4:if((s&4194048)!==s)break;case 6:Gs(r,s,un,!Is);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((s&62914560)===s&&(f=Ll+300-bt(),10<f)){if(Gs(r,s,un,!Is),we(r,0,!0)!==0)break e;ys=s,r.timeoutHandle=fv(zy.bind(null,r,i,Zt,Bl,Gf,s,un,Ua,Pi,Is,h,"Throttled",-0,0),f);break e}zy(r,i,Zt,Bl,Gf,s,un,Ua,Pi,Is,h,null,-0,0)}}break}while(!0);Fn(n)}function zy(n,s,i,r,f,h,v,A,C,P,Q,W,V,I){if(n.timeoutHandle=-1,W=s.subtreeFlags,W&8192||(W&16785408)===16785408){W={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ns},Ry(s,h,W);
vendor: 22,845 bytes, lines 9-10
9var ue=(h&62914560)===h?Ll-bt():(h&4194048)===h?ky-bt():0;if(ue=yA(W,ue),ue!==null){ys=h,n.cancelPendingCommit=ue(qy.bind(null,n,s,h,i,r,f,v,A,C,Q,W,null,V,I)),Gs(n,h,v,!P);return}}qy(n,s,h,i,r,f,v,A,C)}function DT(n){for(var s=n;;){var i=s.tag;if((i===0||i===11||i===15)&&s.flags&16384&&(i=s.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var r=0;r<i.length;r++){var f=i[r],h=f.getSnapshot;f=f.value;try{if(!an(h(),f))return!1}catch{return!1}}if(i=s.child,s.subtreeFlags&16384&&i!==null)i.return=s,s=i;else{if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Gs(n,s,i,r){s&=~Ff,s&=~Ua,n.suspendedLanes|=s,n.pingedLanes&=~s,r&&(n.warmLanes|=s),r=n.expirationTimes;for(var f=s;0<f;){var h=31-Lt(f),v=1<<h;r[h]=-1,f&=~v}i!==0&&Sa(n,i,s)}function Nl(){return(Le&6)===0?(Zo(0),!1):!0}function Xf(){if(Ae!==null){if(ze===0)var n=Ae.return;else n=Ae,os=ja=null,ff(n),ji=null,Oo=0,n=Ae;for(;n!==null;)dy(n.alternate,n),n=n.return;Ae=null}}function Vi(n,s){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,$T(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),ys=0,Xf(),qe=n,Ae=i=as(n.current,null),Re=s,ze=0,cn=null,Is=!1,Ni=Xe(n,s),qf=!1,Pi=un=Ff=Ua=Hs=nt=0,Zt=Ko=null,Gf=!1,(s&8)!==0&&(s|=s&32);var r=n.entangledLanes;if(r!==0)for(n=n.entanglements,r&=s;0<r;){var f=31-Lt(r),h=1<<f;s|=n[f],r&=~h}return gs=s,al(),i}function By(n,s){Se=null,L.H=Vo,s===Mi||s===dl?(s=Jp(),ze=3):s===Ju?(s=Jp(),ze=4):ze=s===Rf?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,cn=s,Ae===null&&(nt=1,El(n,bn(s,n.current)))}function Ny(){var n=rn.current;return n===null?!0:(Re&4194048)===Re?_n===null:(Re&62914560)===Re||(Re&536870912)!==0?n===_n:!1}function Py(){var n=L.H;return L.H=Vo,n===null?Vo:n}function Uy(){var n=L.A;return L.A=kT,n}function Pl(){nt=4,Is||(Re&4194048)!==Re&&rn.current!==null||(Ni=!0),(Hs&134217727)===0&&(Ua&134217727)===0||qe===null||Gs(qe,Re,un,!1)}function Zf(n,s,i){var r=Le;Le|=2;var f=Py(),h=Uy();(qe!==n||Re!==s)&&(Bl=null,Vi(n,s)),s=!1;var v=nt;e:do try{if(ze!==0&&Ae!==null){var A=Ae,C=cn;switch(ze){case 8:Xf(),v=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(s=!0);var P=ze;if(ze=0,cn=null,Ii(n,A,C,P),i&&Ni){v=0;break e}break;default:P=ze,ze=0,cn=null,Ii(n,A,C,P)}}LT(),v=nt;break}catch(Q){By(n,Q)}while(!0);return s&&n.shellSuspendCounter++,os=ja=null,Le=r,L.H=f,L.A=h,Ae===null&&(qe=null,Re=0,al()),v}function LT(){for(;Ae!==null;)Vy(Ae)}function zT(n,s){var i=Le;Le|=2;var r=Py(),f=Uy();qe!==n||Re!==s?(Bl=null,zl=bt()+500,Vi(n,s)):Ni=Xe(n,s);e:do try{if(ze!==0&&Ae!==null){s=Ae;var h=cn;t:switch(ze){case 1:ze=0,cn=null,Ii(n,s,h,1);break;case 2:case 9:if(Zp(h)){ze=0,cn=null,Iy(s);break}s=function(){ze!==2&&ze!==9||qe!==n||(ze=7),Fn(n)},h.then(s,s);break e;case 3:ze=7;break e;case 4:ze=5;break e;case 7:Zp(h)?(ze=0,cn=null,Iy(s)):(ze=0,cn=null,Ii(n,s,h,7));break;case 5:var v=null;switch(Ae.tag){case 26:v=Ae.memoizedState;case 5:case 27:var A=Ae;if(v?Ev(v):A.stateNode.complete){ze=0,cn=null;var C=A.sibling;if(C!==null)Ae=C;else{var P=A.return;P!==null?(Ae=P,Ul(P)):Ae=null}break t}}ze=0,cn=null,Ii(n,s,h,5);break;case 6:ze=0,cn=null,Ii(n,s,h,6);break;case 8:Xf(),nt=6;break e;default:throw Error(o(462))}}BT();break}catch(Q){By(n,Q)}while(!0);return os=ja=null,L.H=r,L.A=f,Le=i,Ae!==null?0:(qe=null,Re=0,al(),nt)}function BT(){for(;Ae!==null&&!vt();)Vy(Ae)}function Vy(n){var s=uy(n.alternate,n,gs);n.memoizedProps=n.pendingProps,s===null?Ul(n):Ae=s}function Iy(n){var s=n,i=s.alternate;switch(s.tag){case 15:case 0:s=ay(i,s,s.pendingProps,s.type,void 0,Re);break;case 11:s=ay(i,s,s.pendingProps,s.type.render,s.ref,Re);break;case 5:ff(s);default:dy(i,s),s=Ae=Up(s,gs),s=uy(i,s,gs)}n.memoizedProps=n.pendingProps,s===null?Ul(n):Ae=s}function Ii(n,s,i,r){os=ja=null,ff(s),ji=null,Oo=0;var f=s.return;try{if(TT(n,f,s,i,Re)){nt=1,El(n,bn(i,n.current)),Ae=null;return}}catch(h){if(f!==null)throw Ae=f,h;nt=1,El(n,bn(i,n.current)),Ae=null;return}s.flags&32768?(Me||r===1?n=!0:Ni||(Re&536870912)!==0?n=!1:(Is=n=!0,(r===2||r===9||r===3||r===6)&&(r=rn.current,r!==null&&r.tag===13&&(r.flags|=16384))),Hy(s,n)):Ul(s)}function Ul(n){var s=n;do{if((s.flags&32768)!==0){Hy(s,Is);return}n=s.return;var i=RT(s.alternate,s,gs);if(i!==null){Ae=i;return}if(s=s.sibling,s!==null){Ae=s;return}Ae=s=n}while(s!==null);nt===0&&(nt=5)}function Hy(n,s){do{var i=CT(n.alternate,n);if(i!==null){i.flags&=32767,Ae=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!s&&(n=n.sibling,n!==null)){Ae=n;return}Ae=n=i}while(n!==null);nt=6,Ae=null}function qy(n,s,i,r,f,h,v,A,C){n.cancelPendingCommit=null;do Vl();while(pt!==0);if((Le&6)!==0)throw Error(o(327));if(s!==null){if(s===n.current)throw Error(o(177));if(h=s.lanes|s.childLanes,h|=Nu,Ht(n,i,h,v,A,C),n===qe&&(Ae=qe=null,Re=0),Ui=s,Fs=n,ys=i,Yf=h,Qf=f,Oy=r,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,VT($n,function(){return Ky(),null})):(n.callbackNode=null,n.callbackPriority=0),r=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||r){r=L.T,L.T=null,f=H.p,H.p=2,v=Le,Le|=4;try{MT(n,s,i)}finally{Le=v,H.p=f,L.T=r}}pt=1,Fy(),Gy(),Yy()}}function Fy(){if(pt===1){pt=0;var n=Fs,s=Ui,i=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var r=H.p;H.p=2;var f=Le;Le|=4;try{Ty(s,n);var h=ld,v=jp(n.containerInfo),A=h.focusedElem,C=h.selectionRange;if(v!==A&&A&&A.ownerDocument&&Mp(A.ownerDocument.documentElement,A)){if(C!==null&&Ou(A)){var P=C.start,Q=C.end;if(Q===void 0&&(Q=P),"selectionStart"in A)A.selectionStart=P,A.selectionEnd=Math.min(Q,A.value.length);else{var W=A.ownerDocument||document,V=W&&W.defaultView||window;if(V.getSelection){var I=V.getSelection(),ue=A.textContent.length,be=Math.min(C.start,ue),Ie=C.end===void 0?be:Math.min(C.end,ue);!I.extend&&be>Ie&&(v=Ie,Ie=be,be=v);var z=Cp(A,be),D=Cp(A,Ie);if(z&&D&&(I.rangeCount!==1||I.anchorNode!==z.node||I.anchorOffset!==z.offset||I.focusNode!==D.node||I.focusOffset!==D.offset)){var N=W.createRange();N.setStart(z.node,z.offset),I.removeAllRanges(),be>Ie?(I.addRange(N),I.extend(D.node,D.offset)):(N.setEnd(D.node,D.offset),I.addRange(N))}}}}for(W=[],I=A;I=I.parentNode;)I.nodeType===1&&W.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<W.length;A++){var X=W[A];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Jl=!!rd,ld=rd=null}finally{Le=f,H.p=r,L.T=i}}n.current=s,pt=2}}function Gy(){if(pt===2){pt=0;var n=Fs,s=Ui,i=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var r=H.p;H.p=2;var f=Le;Le|=4;try{by(n,s.alternate,s)}finally{Le=f,H.p=r,L.T=i}}pt=3}}function Yy(){if(pt===4||pt===3){pt=0,Pn();var n=Fs,s=Ui,i=ys,r=Oy;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?pt=5:(pt=0,Ui=Fs=null,Qy(n,n.pendingLanes));var f=n.pendingLanes;if(f===0&&(qs=null),jn(i),s=s.stateNode,Nt&&typeof Nt.onCommitFiberRoot=="function")try{Nt.onCommitFiberRoot(wa,s,void 0,(s.current.flags&128)===128)}catch{}if(r!==null){s=L.T,f=H.p,H.p=2,L.T=null;try{for(var h=n.onRecoverableError,v=0;v<r.length;v++){var A=r[v];h(A.value,{componentStack:A.stack})}}finally{L.T=s,H.p=f}}(ys&3)!==0&&Vl(),Fn(n),f=n.pendingLanes,(i&261930)!==0&&(f&42)!==0?n===Kf?Xo++:(Xo=0,Kf=n):Xo=0,Zo(0)}}function Qy(n,s){(n.pooledCacheLanes&=s)===0&&(s=n.pooledCache,s!=null&&(n.pooledCache=null,jo(s)))}function Vl(){return Fy(),Gy(),Yy(),Ky()}function Ky(){if(pt!==5)return!1;var n=Fs,s=Yf;Yf=0;var i=jn(ys),r=L.T,f=H.p;try{H.p=32>i?32:i,L.T=null,i=Qf,Qf=null;var h=Fs,v=ys;if(pt=0,Ui=Fs=null,ys=0,(Le&6)!==0)throw Error(o(331));var A=Le;if(Le|=4,My(h.current),Ey(h,h.current,v,i),Le=A,Zo(0,!1),Nt&&typeof Nt.onPostCommitFiberRoot=="function")try{Nt.onPostCommitFiberRoot(wa,h)}catch{}return!0}finally{H.p=f,L.T=r,Qy(n,s)}}function Xy(n,s,i){s=bn(i,s),s=Ef(n.stateNode,s,2),n=Ns(n,s,2),n!==null&&($e(n,2),Fn(n))}function Be(n,s,i){if(n.tag===3)Xy(n,n,i);else for(;s!==null;){if(s.tag===3){Xy(s,n,i);break}else if(s.tag===1){var r=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qs===null||!qs.has(r))){n=bn(i,n),i=Zg(2),r=Ns(s,i,2),r!==null&&(Wg(i,r,s,n),$e(r,2),Fn(r));break}}s=s.return}}function Wf(n,s,i){var r=n.pingCache;if(r===null){r=n.pingCache=new OT;var f=new Set;r.set(s,f)}else f=r.get(s),f===void 0&&(f=new Set,r.set(s,f));f.has(i)||(qf=!0,f.add(i),n=NT.bind(null,n,s,i),s.then(n,n))}function NT(n,s,i){var r=n.pingCache;r!==null&&r.delete(s),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,qe===n&&(Re&i)===i&&(nt===4||nt===3&&(Re&62914560)===Re&&300>bt()-Ll?(Le&2)===0&&Vi(n,0):Ff|=i,Pi===Re&&(Pi=0)),Fn(n)}function Zy(n,s){s===0&&(s=zt()),n=Ra(n,s),n!==null&&($e(n,s),Fn(n))}function PT(n){var s=n.memoizedState,i=0;s!==null&&(i=s.retryLane),Zy(n,i)}function UT(n,s){var i=0;switch(n.tag){case 31:case 13:var r=n.stateNode,f=n.memoizedState;f!==null&&(i=f.retryLane);break;case 19:r=n.stateNode;break;case 22:r=n.stateNode._retryCache;break;default:throw Error(o(314))}r!==null&&r.delete(s),Zy(n,i)}function VT(n,s){return sn(n,s)}var Il=null,Hi=null,Jf=!1,Hl=!1,$f=!1,Ys=0;function Fn(n){n!==Hi&&n.next===null&&(Hi===null?Il=Hi=n:Hi=Hi.next=n),Hl=!0,Jf||(Jf=!0,HT())}function Zo(n,s){if(!$f&&Hl){$f=!0;do for(var i=!1,r=Il;r!==null;){if(n!==0){var f=r.pendingLanes;if(f===0)var h=0;else{var v=r.suspendedLanes,A=r.pingedLanes;h=(1<<31-Lt(42|n)+1)-1,h&=f&~(v&~A),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,ev(r,h))}else h=Re,h=we(r,r===qe?h:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(h&3)===0||Xe(r,h)||(i=!0,ev(r,h));r=r.next}while(i);$f=!1}}function IT(){Wy()}function Wy(){Hl=Jf=!1;var n=0;Ys!==0&&JT()&&(n=Ys);for(var s=bt(),i=null,r=Il;r!==null;){var f=r.next,h=Jy(r,s);h===0?(r.next=null,i===null?Il=f:i.next=f,f===null&&(Hi=i)):(i=r,(n!==0||(h&3)!==0)&&(Hl=!0)),r=f}pt!==0&&pt!==5||Zo(n),Ys!==0&&(Ys=0)}function Jy(n,s){for(var i=n.suspendedLanes,r=n.pingedLanes,f=n.expirationTimes,h=n.pendingLanes&-62914561;0<h;){var v=31-Lt(h),A=1<<v,C=f[v];C===-1?((A&i)===0||(A&r)!==0)&&(f[v]=wt(A,s)):C<=s&&(n.expiredLanes|=A),h&=~A}if(s=qe,i=Re,i=we(n,n===s?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r=n.callbackNode,i===0||n===s&&(ze===2||ze===9)||n.cancelPendingCommit!==null)return r!==null&&r!==null&&ba(r),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||Xe(n,i)){if(s=i&-i,s===n.callbackPriority)return s;switch(r!==null&&ba(r),jn(i)){case 2:case 8:i=pn;break;case 32:i=$n;break;case 268435456:i=es;break;default:i=$n}return r=$y.bind(null,n),i=sn(i,r),n.callbackPriority=s,n.callbackNode=i,s}return r!==null&&r!==null&&ba(r),n.callbackPriority=2,n.callbackNode=null,2}function $y(n,s){if(pt!==0&&pt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Vl()&&n.callbackNode!==i)return null;var r=Re;return r=we(n,n===qe?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r===0?null:(Ly(n,r,s),Jy(n,bt()),n.callbackNode!=null&&n.callbackNode===i?$y.bind(null,n):null)}function ev(n,s){if(Vl())return null;Ly(n,s,!0)}function HT(){eA(function(){(Le&6)!==0?sn(et,IT):Wy()})}function ed(){if(Ys===0){var n=Ri;n===0&&(n=oi,oi<<=1,(oi&261888)===0&&(oi=256)),Ys=n}return Ys}function tv(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Zr(""+n)}function nv(n,s){var i=s.ownerDocument.createElement("input");return i.name=s.name,i.value=s.value,n.id&&i.setAttribute("form",n.id),s.parentNode.insertBefore(i,s),n=new FormData(n),i.parentNode.removeChild(i),n}function qT(n,s,i,r,f){if(s==="submit"&&i&&i.stateNode===f){var h=tv((f[Gt]||null).action),v=r.submitter;v&&(s=(s=v[Gt]||null)?tv(s.formAction):v.getAttribute("formAction"),s!==null&&(h=s,v=null));var A=new el("action","action",null,r,f);n.push({event:A,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ys!==0){var C=v?nv(f,v):new FormData(f);wf(i,{pending:!0,data:C,method:f.method,action:h},null,C)}}else typeof h=="function"&&(A.preventDefault(),C=v?nv(f,v):new FormData(f),wf(i,{pending:!0,data:C,method:f.method,action:h},h,C))},currentTarget:f}]})}}for(var td=0;td<Bu.length;td++){var nd=Bu[td],FT=nd.toLowerCase(),GT=nd[0].toUpperCase()+nd.slice(1);kn(FT,"on"+GT)}kn(Dp,"onAnimationEnd"),kn(Lp,"onAnimationIteration"),kn(zp,"onAnimationStart"),kn("dblclick","onDoubleClick"),kn("focusin","onFocus"),kn("focusout","onBlur"),kn(rT,"onTransitionRun"),kn(lT,"onTransitionStart"),kn(cT,"onTransitionCancel"),kn(Bp,"onTransitionEnd"),hi("onMouseEnter",["mouseout","mouseover"]),hi("onMouseLeave",["mouseout","mouseover"]),hi("onPointerEnter",["pointerout","pointerover"]),hi("onPointerLeave",["pointerout","pointerover"]),_a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_a("onBeforeInput",["compositionend","keypress","textInput","paste"]),_a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wo="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(" "),YT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wo));function sv(n,s){s=(s&4)!==0;for(var i=0;i<n.length;i++){var r=n[i],f=r.event;r=r.listeners;e:{var h=void 0;if(s)for(var v=r.length-1;0<=v;v--){var A=r[v],C=A.instance,P=A.currentTarget;if(A=A.listener,C!==h&&f.isPropagationStopped())break e;h=A,f.currentTarget=P;try{h(f)}catch(Q){sl(Q)}f.currentTarget=null,h=C}else for(v=0;v<r.length;v++){if(A=r[v],C=A.instance,P=A.currentTarget,A=A.listener,C!==h&&f.isPropagationStopped())break e;h=A,f.currentTarget=P;try{h(f)}catch(Q){sl(Q)}f.currentTarget=null,h=C}}}}function Ee(n,s){var i=s[mu];i===void 0&&(i=s[mu]=new Set);var r=n+"__bubble";i.has(r)||(av(s,n,2,!1),i.add(r))}function sd(n,s,i){var r=0;s&&(r|=4),av(i,n,r,s)}var ql="_reactListening"+Math.random().toString(36).slice(2);function ad(n){if(!n[ql]){n[ql]=!0,Wm.forEach(function(i){i!=="selectionchange"&&(YT.has(i)||sd(i,!1,n),sd(i,!0,n))});var s=n.nodeType===9?n:n.ownerDocument;s===null||s[ql]||(s[ql]=!0,sd("selectionchange",!1,s))}}function av(n,s,i,r){switch(Dv(s)){case 2:var f=wA;break;case 8:f=xA;break;default:f=bd}i=f.bind(null,s,i,n),f=void 0,!_u||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(f=!0),r?f!==void 0?n.addEventListener(s,i,{capture:!0,passive:f}):n.addEventListener(s,i,!0):f!==void 0?n.addEventListener(s,i,{passive:f}):n.addEventListener(s,i,!1)}function id(n,s,i,r,f){var h=r;if((s&1)===0&&(s&2)===0&&r!==null)e:for(;;){if(r===null)return;var v=r.tag;if(v===3||v===4){var A=r.stateNode.containerInfo;if(A===f)break;if(v===4)for(v=r.return;v!==null;){var C=v.tag;if((C===3||C===4)&&v.stateNode.containerInfo===f)return;v=v.return}for(;A!==null;){if(v=ui(A),v===null)return;if(C=v.tag,C===5||C===6||C===26||C===27){r=h=v;continue e}A=A.parentNode}}r=r.return}cp(function(){var P=h,Q=xu(i),W=[];e:{var V=Np.get(n);if(V!==void 0){var I=el,ue=n;switch(n){case"keypress":if(Jr(i)===0)break e;case"keydown":case"keyup":I=U_;break;case"focusin":ue="focus",I=Ru;break;case"focusout":ue="blur",I=Ru;break;case"beforeblur":case"afterblur":I=Ru;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=dp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=R_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=H_;break;case Dp:case Lp:case zp:I=j_;break;case Bp:I=F_;break;case"scroll":case"scrollend":I=A_;break;case"wheel":I=Y_;break;case"copy":case"cut":case"paste":I=O_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=mp;break;case"toggle":case"beforetoggle":I=K_}var be=(s&4)!==0,Ie=!be&&(n==="scroll"||n==="scrollend"),z=be?V!==null?V+"Capture":null:V;be=[];for(var D=P,N;D!==null;){var X=D;if(N=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||N===null||z===null||(X=bo(D,z),X!=null&&be.push(Jo(D,X,N))),Ie)break;D=D.return}0<be.length&&(V=new I(V,ue,null,i,Q),W.push({event:V,listeners:be}))}}if((s&7)===0){e:{if(V=n==="mouseover"||n==="pointerover",I=n==="mouseout"||n==="pointerout",V&&i!==wu&&(ue=i.relatedTarget||i.fromElement)&&(ui(ue)||ue[ci]))break e;if((I||V)&&(V=Q.window===Q?Q:(V=Q.ownerDocument)?V.defaultView||V.parentWindow:window,I?(ue=i.relatedTarget||i.toElement,I=P,ue=ue?ui(ue):null,ue!==null&&(Ie=c(ue),be=ue.tag,ue!==Ie||be!==5&&be!==27&&be!==6)&&(ue=null)):(I=null,ue=P),I!==ue)){if(be=dp,X="onMouseLeave",z="onMouseEnter",D="mouse",(n==="pointerout"||n==="pointerover")&&(be=mp,X="onPointerLeave",z="onPointerEnter",D="pointer"),Ie=I==null?V:vo(I),N=ue==null?V:vo(ue),V=new be(X,D+"leave",I,i,Q),V.target=Ie,V.relatedTarget=N,X=null,ui(Q)===P&&(be=new be(z,D+"enter",ue,i,Q),be.target=N,be.relatedTarget=Ie,X=be),Ie=X,I&&ue)t:{for(be=QT,z=I,D=ue,N=0,X=z;X;X=be(X))N++;X=0;for(var ye=D;ye;ye=be(ye))X++;for(;0<N-X;)z=be(z),N--;for(;0<X-N;)D=be(D),X--;for(;N--;){if(z===D||D!==null&&z===D.alternate){be=z;break t}z=be(z),D=be(D)}be=null}else be=null;I!==null&&iv(W,V,I,be,!1),ue!==null&&Ie!==null&&iv(W,Ie,ue,be,!0)}}e:{if(V=P?vo(P):window,I=V.nodeName&&V.nodeName.toLowerCase(),I==="select"||I==="input"&&V.type==="file")var ke=Sp;else if(wp(V))if(_p)ke=aT;else{ke=nT;var me=tT}else I=V.nodeName,!I||I.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?P&&bu(P.elementType)&&(ke=Sp):ke=sT;if(ke&&(ke=ke(n,P))){xp(W,ke,i,Q);break e}me&&me(n,V,P),n==="focusout"&&P&&V.type==="number"&&P.memoizedProps.value!=null&&vu(V,"number",V.value)}switch(me=P?vo(P):window,n){case"focusin":(wp(me)||me.contentEditable==="true")&&(bi=me,Du=P,Ro=null);break;case"focusout":Ro=Du=bi=null;break;case"mousedown":Lu=!0;break;case"contextmenu":case"mouseup":case"dragend":Lu=!1,kp(W,i,Q);break;case"selectionchange":if(oT)break;case"keydown":case"keyup":kp(W,i,Q)}var _e;if(Mu)e:{switch(n){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else vi?vp(n,i)&&(Ce="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(Ce="onCompositionStart");Ce&&(pp&&i.locale!=="ko"&&(vi||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&vi&&(_e=up()):(js=Q,Tu="value"in js?js.value:js.textContent,vi=!0)),me=Fl(P,Ce),0<me.length&&(Ce=new hp(Ce,n,null,i,Q),W.push({event:Ce,listeners:me}),_e?Ce.data=_e:(_e=bp(i),_e!==null&&(Ce.data=_e)))),(_e=Z_?W_(n,i):J_(n,i))&&(Ce=Fl(P,"onBeforeInput"),0<Ce.length&&(me=new hp("onBeforeInput","beforeinput",null,i,Q),W.push({event:me,listeners:Ce}),me.data=_e)),qT(W,n,P,i,Q)}sv(W,s)})}function Jo(n,s,i){return{instance:n,listener:s,currentTarget:i}}function Fl(n,s){for(var i=s+"Capture",r=[];n!==null;){var f=n,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=bo(n,i),f!=null&&r.unshift(Jo(n,f,h)),f=bo(n,s),f!=null&&r.push(Jo(n,f,h))),n.tag===3)return r;n=n.return}return[]}function QT(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function iv(n,s,i,r,f){for(var h=s._reactName,v=[];i!==null&&i!==r;){var A=i,C=A.alternate,P=A.stateNode;if(A=A.tag,C!==null&&C===r)break;A!==5&&A!==26&&A!==27||P===null||(C=P,f?(P=bo(i,h),P!=null&&v.unshift(Jo(i,P,C))):f||(P=bo(i,h),P!=null&&v.push(Jo(i,P,C)))),i=i.return}v.length!==0&&n.push({event:s,listeners:v})}var KT=/\r\n?/g,XT=/\u0000|\uFFFD/g;function ov(n){return(typeof n=="string"?n:""+n).replace(KT,` 10`).replace(XT,"")}function rv(n,s){return s=ov(s),ov(n)===s}function Ve(n,s,i,r,f,h){switch(i){case"children":typeof r=="string"?s==="body"||s==="textarea"&&r===""||pi(n,r):(typeof r=="number"||typeof r=="bigint")&&s!=="body"&&pi(n,""+r);break;case"className":Kr(n,"class",r);break;case"tabIndex":Kr(n,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Kr(n,i,r);break;case"style":rp(n,r,h);break;case"data":if(s!=="object"){Kr(n,"data",r);break}case"src":case"href":if(r===""&&(s!=="a"||i!=="href")){n.removeAttribute(i);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(i);break}r=Zr(""+r),n.setAttribute(i,r);break;case"action":case"formAction":if(typeof r=="function"){n.setAttribute(i,"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 h=="function"&&(i==="formAction"?(s!=="input"&&Ve(n,s,"name",f.name,f,null),Ve(n,s,"formEncType",f.formEncType,f,null),Ve(n,s,"formMethod",f.formMethod,f,null),Ve(n,s,"formTarget",f.formTarget,f,null)):(Ve(n,s,"encType",f.encType,f,null),Ve(n,s,"method",f.method,f,null),Ve(n,s,"target",f.target,f,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(i);break}r=Zr(""+r),n.setAttribute(i,r);break;case"onClick":r!=null&&(n.onclick=ns);break;case"onScroll":r!=null&&Ee("scroll",n);break;case"onScrollEnd":r!=null&&Ee("scrollend",n);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(i=r.__html,i!=null){if(f.children!=null)throw Error(o(60));n.innerHTML=i}}break;case"multiple":n.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":n.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){n.removeAttribute("xlink:href");break}i=Zr(""+r),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,""+r):n.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":r===!0?n.setAttribute(i,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(i,r):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?n.setAttribute(i,r):n.removeAttribute(i);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?n.removeAttribute(i):n.setAttribute(i,r);break;case"popover":Ee("beforetoggle",n),Ee("toggle",n),Qr(n,"popover",r);break;case"xlinkActuate":ts(n,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":ts(n,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":ts(n,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":ts(n,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":ts(n,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":ts(n,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":ts(n,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":ts(n,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":ts(n,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Qr(n,"is",r);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=__.get(i)||i,Qr(n,i,r))}}function od(n,s,i,r,f,h){switch(i){case"style":rp(n,r,h);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(o(61));if(i=r.__html,i!=null){if(f.children!=null)throw Error(o(60));n.innerHTML=i}}break;case"children":typeof r=="string"?pi(n,r):(typeof r=="number"||typeof r=="bigint")&&pi(n,""+r);break;case"onScroll":r!=null&&Ee("scroll",n);break;case"onScrollEnd":r!=null&&Ee("scrollend",n);break;case"onClick":r!=null&&(n.onclick=ns);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jm.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),s=i.slice(2,f?i.length-7:void 0),h=n[Gt]||null,h=h!=null?h[i]:null,typeof h=="function"&&n.removeEventListener(s,h,f),typeof r=="function")){typeof h!="function"&&h!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(s,r,f);break e}i in n?n[i]=r:r===!0?n.setAttribute(i,""):Qr(n,i,r)}}}function jt(n,s,i){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",n),Ee("load",n);var r=!1,f=!1,h;for(h in i)if(i.hasOwnProperty(h)){var v=i[h];if(v!=null)switch(h){case"src":r=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,s));default:Ve(n,s,h,v,i,null)}}f&&Ve(n,s,"srcSet",i.srcSet,i,null),r&&Ve(n,s,"src",i.src,i,null);return;case"input":Ee("invalid",n);var A=h=v=f=null,C=null,P=null;for(r in i)if(i.hasOwnProperty(r)){var Q=i[r];if(Q!=null)switch(r){case"name":f=Q;break;case"type":v=Q;break;case"checked":C=Q;break;case"defaultChecked":P=Q;break;case"value":h=Q;break;case"defaultValue":A=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(o(137,s));break;default:Ve(n,s,r,Q,i,null)}}sp(n,h,A,C,P,v,f,!1);return;case"select":Ee("invalid",n),r=v=h=null;for(f in i)if(i.hasOwnProperty(f)&&(A=i[f],A!=null))switch(f){case"value":h=A;break;case"defaultValue":v=A;break;case"multiple":r=A;default:Ve(n,s,f,A,i,null)}s=h,i=v,n.multiple=!!r,s!=null?mi(n,!!r,s,!1):i!=null&&mi(n,!!r,i,!0);return;case"textarea":Ee("invalid",n),h=f=r=null;for(v in i)if(i.hasOwnProperty(v)&&(A=i[v],A!=null))switch(v){case"value":r=A;break;case"defaultValue":f=A;break;case"children":h=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(91));break;default:Ve(n,s,v,A,i,null)}ip(n,r,f,h);return;case"option":for(C in i)i.hasOwnProperty(C)&&(r=i[C],r!=null)&&(C==="selected"?n.selected=r&&typeof r!="function"&&typeof r!="symbol":Ve(n,s,C,r,i,null));return;case"dialog":Ee("beforetoggle",n),Ee("toggle",n),Ee("cancel",n),Ee("close",n);break;case"iframe":case"object":Ee("load",n);break;case"video":case"audio":for(r=0;r<Wo.length;r++)Ee(Wo[r],n);break;case"image":Ee("error",n),Ee("load",n);break;case"details":Ee("toggle",n);break;case"embed":case"source":case"link":Ee("error",n),Ee("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in i)if(i.hasOwnProperty(P)&&(r=i[P],r!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,s));default:Ve(n,s,P,r,i,null)}return;default:if(bu(s)){for(Q in i)i.hasOwnProperty(Q)&&(r=i[Q],r!==void 0&&od(n,s,Q,r,i,void 0));return}}for(A in i)i.hasOwnProperty(A)&&(r=i[A],r!=null&&Ve(n,s,A,r,i,null))}function ZT(n,s,i,r){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,v=null,A=null,C=null,P=null,Q=null;for(I in i){var W=i[I];if(i.hasOwnProperty(I)&&W!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":C=W;default:r.hasOwnProperty(I)||Ve(n,s,I,null,r,W)}}for(var V in r){var I=r[V];if(W=i[V],r.hasOwnProperty(V)&&(I!=null||W!=null))switch(V){case"type":h=I;break;case"name":f=I;break;case"checked":P=I;break;case"defaultChecked":Q=I;break;case"value":v=I;break;case"defaultValue":A=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(o(137,s));break;default:I!==W&&Ve(n,s,V,I,r,W)}}yu(n,v,A,C,P,Q,h,f);return;case"select":I=v=A=V=null;for(h in i)if(C=i[h],i.hasOwnProperty(h)&&C!=null)switch(h){case"value":break;case"multiple":I=C;
vendor: 4,578 bytes, line 10
10default:r.hasOwnProperty(h)||Ve(n,s,h,null,r,C)}for(f in r)if(h=r[f],C=i[f],r.hasOwnProperty(f)&&(h!=null||C!=null))switch(f){case"value":V=h;break;case"defaultValue":A=h;break;case"multiple":v=h;default:h!==C&&Ve(n,s,f,h,r,C)}s=A,i=v,r=I,V!=null?mi(n,!!i,V,!1):!!r!=!!i&&(s!=null?mi(n,!!i,s,!0):mi(n,!!i,i?[]:"",!1));return;case"textarea":I=V=null;for(A in i)if(f=i[A],i.hasOwnProperty(A)&&f!=null&&!r.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:Ve(n,s,A,null,r,f)}for(v in r)if(f=r[v],h=i[v],r.hasOwnProperty(v)&&(f!=null||h!=null))switch(v){case"value":V=f;break;case"defaultValue":I=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(o(91));break;default:f!==h&&Ve(n,s,v,f,r,h)}ap(n,V,I);return;case"option":for(var ue in i)V=i[ue],i.hasOwnProperty(ue)&&V!=null&&!r.hasOwnProperty(ue)&&(ue==="selected"?n.selected=!1:Ve(n,s,ue,null,r,V));for(C in r)V=r[C],I=i[C],r.hasOwnProperty(C)&&V!==I&&(V!=null||I!=null)&&(C==="selected"?n.selected=V&&typeof V!="function"&&typeof V!="symbol":Ve(n,s,C,V,r,I));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 be in i)V=i[be],i.hasOwnProperty(be)&&V!=null&&!r.hasOwnProperty(be)&&Ve(n,s,be,null,r,V);for(P in r)if(V=r[P],I=i[P],r.hasOwnProperty(P)&&V!==I&&(V!=null||I!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,s));break;default:Ve(n,s,P,V,r,I)}return;default:if(bu(s)){for(var Ie in i)V=i[Ie],i.hasOwnProperty(Ie)&&V!==void 0&&!r.hasOwnProperty(Ie)&&od(n,s,Ie,void 0,r,V);for(Q in r)V=r[Q],I=i[Q],!r.hasOwnProperty(Q)||V===I||V===void 0&&I===void 0||od(n,s,Q,V,r,I);return}}for(var z in i)V=i[z],i.hasOwnProperty(z)&&V!=null&&!r.hasOwnProperty(z)&&Ve(n,s,z,null,r,V);for(W in r)V=r[W],I=i[W],!r.hasOwnProperty(W)||V===I||V==null&&I==null||Ve(n,s,W,V,r,I)}function lv(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function WT(){if(typeof performance.getEntriesByType=="function"){for(var n=0,s=0,i=performance.getEntriesByType("resource"),r=0;r<i.length;r++){var f=i[r],h=f.transferSize,v=f.initiatorType,A=f.duration;if(h&&A&&lv(v)){for(v=0,A=f.responseEnd,r+=1;r<i.length;r++){var C=i[r],P=C.startTime;if(P>A)break;var Q=C.transferSize,W=C.initiatorType;Q&&lv(W)&&(C=C.responseEnd,v+=Q*(C<A?1:(A-P)/(C-P)))}if(--r,s+=8*(h+v)/(f.duration/1e3),n++,10<n)break}}if(0<n)return s/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var rd=null,ld=null;function Gl(n){return n.nodeType===9?n:n.ownerDocument}function cv(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uv(n,s){if(n===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&s==="foreignObject"?0:n}function cd(n,s){return n==="textarea"||n==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var ud=null;function JT(){var n=window.event;return n&&n.type==="popstate"?n===ud?!1:(ud=n,!0):(ud=null,!1)}var fv=typeof setTimeout=="function"?setTimeout:void 0,$T=typeof clearTimeout=="function"?clearTimeout:void 0,dv=typeof Promise=="function"?Promise:void 0,eA=typeof queueMicrotask=="function"?queueMicrotask:typeof dv<"u"?function(n){return dv.resolve(null).then(n).catch(tA)}:fv;function tA(n){setTimeout(function(){throw n})}function Qs(n){return n==="head"}function hv(n,s){var i=s,r=0;do{var f=i.nextSibling;if(n.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"||i==="/&"){if(r===0){n.removeChild(f),Yi(s);return}r--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")r++;else if(i==="html")$o(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,$o(i);for(var h=i.firstChild;h;){var v=h.nextSibling,A=h.nodeName;h[yo]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&h.rel.toLowerCase()==="stylesheet"||i.removeChild(h),h=v}}else i==="body"&&$o(n.ownerDocument.body);i=f}while(i);Yi(s)}function mv(n,s){var i=n;n=0;do{var r=i.nextSibling;if(i.nodeType===1?s?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(s?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),r&&r.n
vendor: 7,481 bytes, line 10
10odeType===8)if(i=r.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=r}while(i)}function fd(n){var s=n.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var i=s;switch(s=s.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":fd(i),pu(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function nA(n,s,i,r){for(;n.nodeType===1;){var f=i;if(n.nodeName.toLowerCase()!==s.toLowerCase()){if(!r&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(r){if(!n[yo])switch(s){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(h=n.getAttribute("rel"),h==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(h!==f.rel||n.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||n.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||n.getAttribute("title")!==(f.title==null?null:f.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(h=n.getAttribute("src"),(h!==(f.src==null?null:f.src)||n.getAttribute("type")!==(f.type==null?null:f.type)||n.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(s==="input"&&n.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&n.getAttribute("name")===h)return n}else return n;if(n=Tn(n.nextSibling),n===null)break}return null}function sA(n,s,i){if(s==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Tn(n.nextSibling),n===null))return null;return n}function pv(n,s){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=Tn(n.nextSibling),n===null))return null;return n}function dd(n){return n.data==="$?"||n.data==="$~"}function hd(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function aA(n,s){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=s;else if(n.data!=="$?"||i.readyState!=="loading")s();else{var r=function(){s(),i.removeEventListener("DOMContentLoaded",r)};i.addEventListener("DOMContentLoaded",r),n._reactRetry=r}}function Tn(n){for(;n!=null;n=n.nextSibling){var s=n.nodeType;if(s===1||s===3)break;if(s===8){if(s=n.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;if(s==="/$"||s==="/&")return null}}return n}var md=null;function gv(n){n=n.nextSibling;for(var s=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(s===0)return Tn(n.nextSibling);s--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||s++}n=n.nextSibling}return null}function yv(n){n=n.previousSibling;for(var s=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(s===0)return n;s--}else i!=="/$"&&i!=="/&"||s++}n=n.previousSibling}return null}function vv(n,s,i){switch(s=Gl(i),n){case"html":if(n=s.documentElement,!n)throw Error(o(452));return n;case"head":if(n=s.head,!n)throw Error(o(453));return n;case"body":if(n=s.body,!n)throw Error(o(454));return n;default:throw Error(o(451))}}function $o(n){for(var s=n.attributes;s.length;)n.removeAttributeNode(s[0]);pu(n)}var An=new Map,bv=new Set;function Yl(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var vs=H.d;H.d={f:iA,r:oA,D:rA,C:lA,L:cA,m:uA,X:dA,S:fA,M:hA};function iA(){var n=vs.f(),s=Nl();return n||s}function oA(n){var s=fi(n);s!==null&&s.tag===5&&s.type==="form"?Bg(s):vs.r(n)}var qi=typeof document>"u"?null:document;function wv(n,s,i){var r=qi;if(r&&typeof s=="string"&&s){var f=yn(s);f='link[rel="'+n+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),bv.has(f)||(bv.add(f),n={rel:n,crossOrigin:i,href:s},r.querySelector(f)===null&&(s=r.createElement("link"),jt(s,"link",n),xt(s),r.head.appendChild(s)))}}function rA(n){vs.D(n),wv("dns-prefetch",n,null)}function lA(n,s){vs.C(n,s),wv("preconnect",n,s)}function cA(n,s,i){vs.L(n,s,i);var r=qi;if(r&&n&&s){var f='link[rel="preload"][as="'+yn(s)+'"]';s==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+yn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+yn(i.imageSizes)+'"]')):f+='[href="'+yn(n)+'"]';var h=f;switch(s){case"style":h=Fi(n);break;case"script":h=Gi(n)}An.has(h)||(n=m({rel:"preload",href:s==="image"&&i&&i.imageSrcSet?void 0:n,as:s},i),An.set(h,n),r.querySelector(f)!==null||s==="style"&&r.querySelector(er(h))||s==="script"&&r.querySelector(tr(h))||(s=r.createElement("link"),jt(s,"link",n),xt(s),r.head.appendChild(s)))}}function uA(n,s){vs.m(n,s);var i=qi;if(i&&n){var r=s&&typeof s.as=="string"?s.as:"script",f='link[rel="modulepreload"][as="'+yn(r)+'"][href="'+yn(n)+'"]',h=f;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Gi(n)}if(!An.has(h)&&(n=m({rel:"modulepreload",href:n},s),An.set(h,n),i.querySelector(f)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(tr(h)))return}r=i.createElement("link"),jt(r,"link",n),xt(r),i.head.appendChild(r)}}}function fA(n,s,i){vs.S(n,s,i);var r=qi;if(r&&n){var f=di(r).hoistableStyles,h=Fi(n);s=s||"default";var v=f.get(h);if(!v){var A={loading:0,preload:null};if(v=r.querySelector(er(h)))A.loading=5;else{n=m({rel:"stylesheet",href:n,"data-precedence":s},i),(i=An.get(h))&&pd(n,i);var C=v=r.createElement("link");xt(C),jt(C,"link",n),C._p=new Promise(function(P,Q){C.onload=P,C.onerror=Q}),C.addEventListener("load",function(){A.loading|=1}),C.addEventListener("error",function(){A.loading|=2}),A.loading|=4,Ql(v,s,r)}v={type:"stylesheet",instance:v,count:1,state:A},f.set(h,v)}}}function dA(n,s){vs.X(n,s);var i=qi;if(i&&n){var r=di(i).hoistableScripts,f=Gi(n),h=r.get(f);h||(h=i.querySelector(tr(f)),h||(n=m({src:n,async:!0},s),(s=An.get(f))&&gd(n,s),h=i.createElement("script"),xt(h),jt(h,"link",n),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},r.set(f,h))}}function hA(n,s){vs.M(n,s);var i=qi;if(i&&n){var r=di(i).hoistableScripts,f=Gi(n),h=r.get(f);h||(h=i.querySelector(tr(f)),h||(n=m({src:n,async:!0,type:"module"},s),(s=An.get(f))&&gd(n,s),h=i.createElement("script"),xt(h),jt(h,"link",n),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},r.set(f,h))}}function xv(n,s,i,r){var f=(f=ie.current)?Yl(f):null;if(!f)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(s=Fi(i.href),i=di(f).hoistableStyles,r=i.get(s),r||(r={type:"style",instance:null,count:0,state:null},i.set(s,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=Fi(i.href);var h=di(f).hoistableStyles,v=h.get(n);if(v||(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(n,v),(h=f.querySelector(er(n)))&&!h._p&&(v.instance=h,v.state.loading=5),An.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},An.set(n,i),h||mA(f,n,i,v.state))),s&&r===null)throw Error(o(528,""));return v}if(s&&r!==null)throw Error(o(529,""));return null;case"script":return s=i.async,i=i.src,typeof i=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?
vendor: 4,945 bytes, line 10
10(s=Gi(i),i=di(f).hoistableScripts,r=i.get(s),r||(r={type:"script",instance:null,count:0,state:null},i.set(s,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}function Fi(n){return'href="'+yn(n)+'"'}function er(n){return'link[rel="stylesheet"]['+n+"]"}function Sv(n){return m({},n,{"data-precedence":n.precedence,precedence:null})}function mA(n,s,i,r){n.querySelector('link[rel="preload"][as="style"]['+s+"]")?r.loading=1:(s=n.createElement("link"),r.preload=s,s.addEventListener("load",function(){return r.loading|=1}),s.addEventListener("error",function(){return r.loading|=2}),jt(s,"link",i),xt(s),n.head.appendChild(s))}function Gi(n){return'[src="'+yn(n)+'"]'}function tr(n){return"script[async]"+n}function _v(n,s,i){if(s.count++,s.instance===null)switch(s.type){case"style":var r=n.querySelector('style[data-href~="'+yn(i.href)+'"]');if(r)return s.instance=r,xt(r),r;var f=m({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return r=(n.ownerDocument||n).createElement("style"),xt(r),jt(r,"style",f),Ql(r,i.precedence,n),s.instance=r;case"stylesheet":f=Fi(i.href);var h=n.querySelector(er(f));if(h)return s.state.loading|=4,s.instance=h,xt(h),h;r=Sv(i),(f=An.get(f))&&pd(r,f),h=(n.ownerDocument||n).createElement("link"),xt(h);var v=h;return v._p=new Promise(function(A,C){v.onload=A,v.onerror=C}),jt(h,"link",r),s.state.loading|=4,Ql(h,i.precedence,n),s.instance=h;case"script":return h=Gi(i.src),(f=n.querySelector(tr(h)))?(s.instance=f,xt(f),f):(r=i,(f=An.get(h))&&(r=m({},i),gd(r,f)),n=n.ownerDocument||n,f=n.createElement("script"),xt(f),jt(f,"link",r),n.head.appendChild(f),s.instance=f);case"void":return null;default:throw Error(o(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(r=s.instance,s.state.loading|=4,Ql(r,i.precedence,n));return s.instance}function Ql(n,s,i){for(var r=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=r.length?r[r.length-1]:null,h=f,v=0;v<r.length;v++){var A=r[v];if(A.dataset.precedence===s)h=A;else if(h!==f)break}h?h.parentNode.insertBefore(n,h.nextSibling):(s=i.nodeType===9?i.head:i,s.insertBefore(n,s.firstChild))}function pd(n,s){n.crossOrigin==null&&(n.crossOrigin=s.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=s.referrerPolicy),n.title==null&&(n.title=s.title)}function gd(n,s){n.crossOrigin==null&&(n.crossOrigin=s.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=s.referrerPolicy),n.integrity==null&&(n.integrity=s.integrity)}var Kl=null;function Tv(n,s,i){if(Kl===null){var r=new Map,f=Kl=new Map;f.set(i,r)}else f=Kl,r=f.get(i),r||(r=new Map,f.set(i,r));if(r.has(n))return r;for(r.set(n,null),i=i.getElementsByTagName(n),f=0;f<i.length;f++){var h=i[f];if(!(h[yo]||h[Et]||n==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var v=h.getAttribute(s)||"";v=n+v;var A=r.get(v);A?A.push(h):r.set(v,[h])}}return r}function Av(n,s,i){n=n.ownerDocument||n,n.head.insertBefore(i,s==="title"?n.querySelector("head > title"):null)}function pA(n,s,i){if(i===1||s.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(n=s.disabled,typeof s.precedence=="string"&&n==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Ev(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function gA(n,s,i,r){if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var f=Fi(r.href),h=s.querySelector(er(f));if(h){s=h._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(n.count++,n=Xl.bind(n),s.then(n,n)),i.state.loading|=4,i.instance=h,xt(h);return}h=s.ownerDocument||s,r=Sv(r),(f=An.get(f))&&pd(r,f),h=h.createElement("link"),xt(h);var v=h;v._p=new Promise(function(A,C){v.onload=A,v.onerror=C}),jt(h,"link",r),i.instance=h}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,s),(s=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=Xl.bind(n),s.addEventListener("load",i),s.addEventListener("error",i))}}var yd=0;function yA(n,s){return n.stylesheets&&n.count===0&&Wl(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var r=setTimeout(function(){if(n.stylesheets&&Wl(n,n.stylesheets),n.unsuspend){var h=n.unsuspend;n.unsuspend=null,h()}},6e4+s);0<n.imgBytes&&yd===0&&(yd=62500*WT());var f=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Wl(n,n.stylesheets),n.unsuspend)){var h=n.unsuspend;n.unsuspend=null,h()}},(n.imgBytes>yd?50:800)+s);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(r),clearTimeout(f)}}:null}
vendor: 6,755 bytes, line 10
10function Xl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wl(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Zl=null;function Wl(n,s){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Zl=new Map,s.forEach(vA,n),Zl=null,Xl.call(n))}function vA(n,s){if(!(s.state.loading&4)){var i=Zl.get(n);if(i)var r=i.get(null);else{i=new Map,Zl.set(n,i);for(var f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var v=f[h];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(i.set(v.dataset.precedence,v),r=v)}r&&i.set(null,r)}f=s.instance,v=f.getAttribute("data-precedence"),h=i.get(v)||r,h===r&&i.set(null,f),i.set(v,f),this.count++,r=Xl.bind(this),f.addEventListener("load",r),f.addEventListener("error",r),h?h.parentNode.insertBefore(f,h.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(f,n.firstChild)),s.state.loading|=4}}var nr={$$typeof:O,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function bA(n,s,i,r,f,h,v,A,C){this.tag=1,this.containerInfo=n,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=Cs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cs(0),this.hiddenUpdates=Cs(null),this.identifierPrefix=r,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function Rv(n,s,i,r,f,h,v,A,C,P,Q,W){return n=new bA(n,s,i,v,C,P,Q,W,A),s=1,h===!0&&(s|=24),h=on(3,null,null,s),n.current=h,h.stateNode=n,s=Xu(),s.refCount++,n.pooledCache=s,s.refCount++,h.memoizedState={element:r,isDehydrated:i,cache:s},$u(h),n}function Cv(n){return n?(n=Si,n):Si}function Mv(n,s,i,r,f,h){f=Cv(f),r.context===null?r.context=f:r.pendingContext=f,r=Bs(s),r.payload={element:i},h=h===void 0?null:h,h!==null&&(r.callback=h),i=Ns(n,r,s),i!==null&&(Wt(i,n,s),Lo(i,n,s))}function jv(n,s){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<s?i:s}}function vd(n,s){jv(n,s),(n=n.alternate)&&jv(n,s)}function kv(n){if(n.tag===13||n.tag===31){var s=Ra(n,67108864);s!==null&&Wt(s,n,67108864),vd(n,67108864)}}function Ov(n){if(n.tag===13||n.tag===31){var s=fn();s=li(s);var i=Ra(n,s);i!==null&&Wt(i,n,s),vd(n,s)}}var Jl=!0;function wA(n,s,i,r){var f=L.T;L.T=null;var h=H.p;try{H.p=2,bd(n,s,i,r)}finally{H.p=h,L.T=f}}function xA(n,s,i,r){var f=L.T;L.T=null;var h=H.p;try{H.p=8,bd(n,s,i,r)}finally{H.p=h,L.T=f}}function bd(n,s,i,r){if(Jl){var f=wd(r);if(f===null)id(n,s,r,$l,i),Lv(n,r);else if(_A(f,n,s,i,r))r.stopPropagation();else if(Lv(n,r),s&4&&-1<SA.indexOf(n)){for(;f!==null;){var h=fi(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var v=Vn(h.pendingLanes);if(v!==0){var A=h;for(A.pendingLanes|=2,A.entangledLanes|=2;v;){var C=1<<31-Lt(v);A.entanglements[1]|=C,v&=~C}Fn(h),(Le&6)===0&&(zl=bt()+500,Zo(0))}}break;case 31:case 13:A=Ra(h,2),A!==null&&Wt(A,h,2),Nl(),vd(h,2)}if(h=wd(r),h===null&&id(n,s,r,$l,i),h===f)break;f=h}f!==null&&r.stopPropagation()}else id(n,s,r,null,i)}}function wd(n){return n=xu(n),xd(n)}var $l=null;function xd(n){if($l=null,n=ui(n),n!==null){var s=c(n);if(s===null)n=null;else{var i=s.tag;if(i===13){if(n=u(s),n!==null)return n;n=null}else if(i===31){if(n=d(s),n!==null)return n;n=null}else if(i===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;n=null}else s!==n&&(n=null)}}return $l=n,null}function Dv(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Pe()){case et:return 2;case pn:return 8;case $n:case po:return 32;case es:return 268435456;default:return 32}default:return 32}}var Sd=!1,Ks=null,Xs=null,Zs=null,sr=new Map,ar=new Map,Ws=[],SA="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 Lv(n,s){switch(n){case"focusin":case"focusout":Ks=null;break;case"dragenter":case"dragleave":Xs=null;break;case"mouseover":case"mouseout":Zs=null;break;case"pointerover":case"pointerout":sr.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":ar.delete(s.pointerId)}}function ir(n,s,i,r,f,h){return n===null||n.nativeEvent!==h?(n={blockedOn:s,domEventName:i,eventSystemFlags:r,nativeEvent:h,targetContainers:[f]},s!==null&&(s=fi(s),s!==null&&kv(s)),n):(n.eventSystemFlags|=r,s=n.targetContainers,f!==null&&s.indexOf(f)===-1&&s.push(f),n)}function _A(n,s,i,r,f){switch(s){case"focusin":return Ks=ir(Ks,n,s,i,r,f),!0;case"dragenter":return Xs=ir(Xs,n,s,i,r,f),!0;case"mouseover":return Zs=ir(Zs,n,s,i,r,f),!0;case"pointerover":var h=f.pointerId;return sr.set(h,ir(sr.get(h)||null,n,s,i,r,f)),!0;case"gotpointercapture":return h=f.pointerId,ar.set(h,ir(ar.get(h)||null,n,s,i,r,f)),!0}return!1}function zv(n){var s=ui(n.target);if(s!==null){var i=c(s);if(i!==null){if(s=i.tag,s===13){if(s=u(i),s!==null){n.blockedOn=s,Xm(n.priority,function(){Ov(i)});return}}else if(s===31){if(s=d(i),s!==null){n.blockedOn=s,Xm(n.priority,function(){Ov(i)});return}}else if(s===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}
vendor: 5,664 bytes, line 10
10function ec(n){if(n.blockedOn!==null)return!1;for(var s=n.targetContainers;0<s.length;){var i=wd(n.nativeEvent);if(i===null){i=n.nativeEvent;var r=new i.constructor(i.type,i);wu=r,i.target.dispatchEvent(r),wu=null}else return s=fi(i),s!==null&&kv(s),n.blockedOn=i,!1;s.shift()}return!0}function Bv(n,s,i){ec(n)&&i.delete(s)}function TA(){Sd=!1,Ks!==null&&ec(Ks)&&(Ks=null),Xs!==null&&ec(Xs)&&(Xs=null),Zs!==null&&ec(Zs)&&(Zs=null),sr.forEach(Bv),ar.forEach(Bv)}function tc(n,s){n.blockedOn===s&&(n.blockedOn=null,Sd||(Sd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,TA)))}var nc=null;function Nv(n){nc!==n&&(nc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){nc===n&&(nc=null);for(var s=0;s<n.length;s+=3){var i=n[s],r=n[s+1],f=n[s+2];if(typeof r!="function"){if(xd(r||i)===null)continue;break}var h=fi(i);h!==null&&(n.splice(s,3),s-=3,wf(h,{pending:!0,data:f,method:i.method,action:r},r,f))}}))}function Yi(n){function s(C){return tc(C,n)}Ks!==null&&tc(Ks,n),Xs!==null&&tc(Xs,n),Zs!==null&&tc(Zs,n),sr.forEach(s),ar.forEach(s);for(var i=0;i<Ws.length;i++){var r=Ws[i];r.blockedOn===n&&(r.blockedOn=null)}for(;0<Ws.length&&(i=Ws[0],i.blockedOn===null);)zv(i),i.blockedOn===null&&Ws.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(r=0;r<i.length;r+=3){var f=i[r],h=i[r+1],v=f[Gt]||null;if(typeof h=="function")v||Nv(i);else if(v){var A=null;if(h&&h.hasAttribute("formAction")){if(f=h,v=h[Gt]||null)A=v.formAction;else if(xd(f)!==null)continue}else A=v.action;typeof A=="function"?i[r+1]=A:(i.splice(r,3),r-=3),Nv(i)}}}function Pv(){function n(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(v){return f=v})},focusReset:"manual",scroll:"manual"})}function s(){f!==null&&(f(),f=null),r||setTimeout(i,20)}function i(){if(!r&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,f=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(i,100),function(){r=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),f!==null&&(f(),f=null)}}}function _d(n){this._internalRoot=n}sc.prototype.render=_d.prototype.render=function(n){var s=this._internalRoot;if(s===null)throw Error(o(409));var i=s.current,r=fn();Mv(i,r,n,s,null,null)},sc.prototype.unmount=_d.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var s=n.containerInfo;Mv(n.current,2,null,n,null,null),Nl(),s[ci]=null}};function sc(n){this._internalRoot=n}sc.prototype.unstable_scheduleHydration=function(n){if(n){var s=hu();n={blockedOn:null,target:n,priority:s};for(var i=0;i<Ws.length&&s!==0&&s<Ws[i].priority;i++);Ws.splice(i,0,n),i===0&&zv(n)}};var Uv=t.version;if(Uv!=="19.2.5")throw Error(o(527,Uv,"19.2.5"));H.findDOMNode=function(n){var s=n._reactInternals;if(s===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=g(s),n=n!==null?y(n):null,n=n===null?null:n.stateNode,n};var AA={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{wa=ac.inject(AA),Nt=ac}catch{}}return rr.createRoot=function(n,s){if(!l(n))throw Error(o(299));var i=!1,r="",f=Yg,h=Qg,v=Kg;return s!=null&&(s.unstable_strictMode===!0&&(i=!0),s.identifierPrefix!==void 0&&(r=s.identifierPrefix),s.onUncaughtError!==void 0&&(f=s.onUncaughtError),s.onCaughtError!==void 0&&(h=s.onCaughtError),s.onRecoverableError!==void 0&&(v=s.onRecoverableError)),s=Rv(n,1,!1,null,null,i,r,null,f,h,v,Pv),n[ci]=s.current,ad(n),new _d(s)},rr.hydrateRoot=function(n,s,i){if(!l(n))throw Error(o(299));var r=!1,f="",h=Yg,v=Qg,A=Kg,C=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(v=i.onCaughtError),i.onRecoverableError!==void 0&&(A=i.onRecoverableError),i.formState!==void 0&&(C=i.formState)),s=Rv(n,1,!0,s,i??null,r,f,C,h,v,A,Pv),s.context=Cv(null),i=s.current,r=fn(),r=li(r),f=Bs(r),f.callback=null,Ns(i,f,r),i=r,s.current.lanes=i,$e(s,i),Fn(s),n[ci]=s.current,ad(n),new sc(s)},rr.version="19.2.5",rr}var Xv;function zA(){if(Xv)return Ed.exports;Xv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ed.exports=LA(),Ed.exports}var BA=zA(),NA="__TSS_CONTEXT",uh=Symbol.for("TSS_SERVER_FUNCTION"),PA="application/x-tss-framed",bs={JSON:0,CHUNK:1,END:2,ERROR:3},UA=/;\s*v=(\d+)/;function VA(e){const t=e.match(UA);return t?parseInt(t[1],10):void 0}function IA(e){const t=VA(e);if(t!==void 0&&t!==1)throw new Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var Pw=()=>window.__TSS_START_OPTIONS__,Uw=!1;function Ar(e){return e[e.length-1]}function HA(e){return typeof e=="function"}function ia(e,t){return HA(e)?e(t):e}var qA=Object.prototype.hasOwnProperty,Zv=Object.prototype.propertyIsEnumerable,FA=()=>Object.create(null),Va=(e,t)=>oa(e,t,FA);function oa(e,t,a=()=>({}),o=0){if(e===t)return e;if(o>500)return t;const l=t,c=$v(e)&&$v(l);
10if(!c&&!(oo(e)&&oo(l)))return l;const u=c?e:Wv(e);if(!u)return l;const d=c?l:Wv(l);if(!d)return l;const p=u.length,g=d.length,y=c?new Array(g):a();let m=0;for(let w=0;w<g;w++){const x=c?w:d[w],_=e[x],E=l[x];if(_===E){y[x]=_,(c?w<p:qA.call(e,x))&&m++;continue}if(_===null||E===null||typeof _!="object"||typeof E!="object"){y[x]=E;continue}const T=oa(_,E,a,o+1);y[x]=T,T===_&&m++}return p===g&&m===p?e:y}function Wv(e){const t=Object.getOwnPropertyNames(e);for(const l of t)if(!Zv.call(e,l))return!1;const a=Object.getOwnPropertySymbols(e);if(a.length===0)return t;const o=t;for(const l of a){if(!Zv.call(e,l))return!1;o.push(l)}return o}function oo(e){if(!Jv(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const a=t.prototype;return!(!Jv(a)||!a.hasOwnProperty("isPrototypeOf"))}function Jv(e){return Object.prototype.toString.call(e)==="[object Object]"}function $v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $t(e,t,a){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0,l=e.length;o<l;o++)if(!$t(e[o],t[o],a))return!1;return!0}if(oo(e)&&oo(t)){const o=a?.ignoreUndefined??!0;if(a?.partial){for(const u in t)if((!o||t[u]!==void 0)&&!$t(e[u],t[u],a))return!1;return!0}let l=0;if(!o)l=Object.keys(e).length;else for(const u in e)e[u]!==void 0&&l++;let c=0;for(const u in t)if((!o||t[u]!==void 0)&&(c++,c>l||!$t(e[u],t[u],a)))return!1;return l===c}return!1}function ni(e){let t,a;const o=new Promise((l,c)=>{t=l,a=c});return o.status="pending",o.resolve=l=>{o.status="resolved",o.value=l,t(l),e?.(l)},o.reject=l=>{o.status="rejected",a(l)},o}function GA(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function Er(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}function YA(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function e0(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,a=>{try{return decodeURI(a)}catch{return a}})}return YA(t)}var QA=["http:","https:","mailto:","tel:"];function Oc(e,t){if(!e)return!1;try{const a=new URL(e);return!t.has(a.protocol)}catch{return!1}}var KA={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},XA=/[&><\u2028\u2029]/g;function ZA(e){return e.replace(XA,t=>KA[t])}function lr(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let a=0,o="",l;for(;(l=t.exec(e))!==null;)o+=e0(e.slice(a,l.index))+l[0],a=t.lastIndex;o=o+e0(a?e.slice(a):e);let c=!1;return o.startsWith("//")&&(c=!0,o="/"+o.replace(/^\/+/,"")),{path:o,handledProtocolRelativeURL:c}}function WA(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function JA(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}function tn(){throw new Error("Invariant failed")}function Rr(e){const t=new Map;let a,o;const l=c=>{c.next&&(c.prev?(c.prev.next=c.next,c.next.prev=c.prev,c.next=void 0,o&&(o.next=c,c.prev=o)):(c.next.prev=void 0,a=c.next,c.next=void 0,o&&(c.prev=o,o.next=c)),o=c)};return{get(c){const u=t.get(c);if(u)return l(u),u.value},set(c,u){if(t.size>=e&&a){const p=a;t.delete(p.key),p.next&&(a=p.next,p.next.prev=void 0),p===o&&(o=void 0)}const d=t.get(c);if(d)d.value=u,l(d);else{const p={key:c,value:u,prev:o};o&&(o.next=p),o=p,a||(a=p),t.set(c,p)}},clear(){t.clear(),a=void 0,o=void 0}}}var ra=4,Vw=5;function $A(e){const t=e.indexOf("{");if(t===-1)return null;const a=e.indexOf("}",t);return a===-1||t+1>=e.length?null:[t,a]}function Xh(e,t,a=new Uint16Array(6)){const o=e.indexOf("/",t),l=o===-1?e.length:o,c=e.substring(t,l);if(!c||!c.includes("$"))return a[0]=0,a[1]=t,a[2]=t,a[3]=l,a[4]=l,a[5]=l,a;if(c==="$"){const d=e.length;return a[0]=2,a[1]=t,a[2]=t,a[3]=d,a[4]=d,a[5]=d,a}if(c.charCodeAt(0)===36)return a[0]=1,a[1]=t,a[2]=t+1,a[3]=l,a[4]=l,a[5]=l,a;const u=$A(c);if(u){const[d,p]=u,g=c.charCodeAt(d+1);
10if(g===45){if(d+2<c.length&&c.charCodeAt(d+2)===36){const y=d+3,m=p;if(y<m)return a[0]=3,a[1]=t+d,a[2]=t+y,a[3]=t+m,a[4]=t+p+1,a[5]=l,a}}else if(g===36){const y=d+1,m=d+2;return m===p?(a[0]=2,a[1]=t+d,a[2]=t+y,a[3]=t+m,a[4]=t+p+1,a[5]=e.length,a):(a[0]=1,a[1]=t+d,a[2]=t+m,a[3]=t+p,a[4]=t+p+1,a[5]=l,a)}}return a[0]=0,a[1]=t,a[2]=t,a[3]=l,a[4]=l,a[5]=l,a}function Zc(e,t,a,o,l,c,u){u?.(a);let d=o;{const p=a.fullPath??a.from,g=p.length,y=a.options?.caseSensitive??e,m=!!(a.options?.params?.parse&&a.options?.skipRouteOnParseError?.params);for(;d<g;){const x=Xh(p,d,t);let _;const E=d,T=x[5];switch(d=T+1,c++,x[0]){case 0:{const S=p.substring(x[2],x[3]);if(y){const R=l.static?.get(S);if(R)_=R;else{l.static??=new Map;const O=Qa(a.fullPath??a.from);O.parent=l,O.depth=c,_=O,l.static.set(S,O)}}else{const R=S.toLowerCase(),O=l.staticInsensitive?.get(R);if(O)_=O;else{l.staticInsensitive??=new Map;const k=Qa(a.fullPath??a.from);k.parent=l,k.depth=c,_=k,l.staticInsensitive.set(R,k)}}break}case 1:{const S=p.substring(E,x[1]),R=p.substring(x[4],T),O=y&&!!(S||R),k=S?O?S:S.toLowerCase():void 0,q=R?O?R:R.toLowerCase():void 0,F=!m&&l.dynamic?.find(B=>!B.skipOnParamError&&B.caseSensitive===O&&B.prefix===k&&B.suffix===q);if(F)_=F;else{const B=kd(1,a.fullPath??a.from,O,k,q);_=B,B.depth=c,B.parent=l,l.dynamic??=[],l.dynamic.push(B)}break}case 3:{const S=p.substring(E,x[1]),R=p.substring(x[4],T),O=y&&!!(S||R),k=S?O?S:S.toLowerCase():void 0,q=R?O?R:R.toLowerCase():void 0,F=!m&&l.optional?.find(B=>!B.skipOnParamError&&B.caseSensitive===O&&B.prefix===k&&B.suffix===q);if(F)_=F;else{const B=kd(3,a.fullPath??a.from,O,k,q);_=B,B.parent=l,B.depth=c,l.optional??=[],l.optional.push(B)}break}case 2:{const S=p.substring(E,x[1]),R=p.substring(x[4],T),O=y&&!!(S||R),k=S?O?S:S.toLowerCase():void 0,q=R?O?R:R.toLowerCase():void 0,F=kd(2,a.fullPath??a.from,O,k,q);_=F,F.parent=l,F.depth=c,l.wildcard??=[],l.wildcard.push(F)}}l=_}if(m&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){const x=Qa(a.fullPath??a.from);x.kind=Vw,x.parent=l,c++,x.depth=c,l.pathless??=[],l.pathless.push(x),l=x}const w=(a.path||!a.children)&&!a.isRoot;if(w&&p.endsWith("/")){const x=Qa(a.fullPath??a.from);x.kind=ra,x.parent=l,c++,x.depth=c,l.index=x,l=x}l.parse=a.options?.params?.parse??null,l.skipOnParamError=m,l.parsingPriority=a.options?.skipRouteOnParseError?.priority??0,w&&!l.route&&(l.route=a,l.fullPath=a.fullPath??a.from)}if(a.children)for(const p of a.children)Zc(e,t,p,d,l,c,u)}function jd(e,t){if(e.skipOnParamError&&!t.skipOnParamError)return-1;if(!e.skipOnParamError&&t.skipOnParamError)return 1;if(e.skipOnParamError&&t.skipOnParamError&&(e.parsingPriority||t.parsingPriority))return t.parsingPriority-e.parsingPriority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function na(e){if(e.pathless)for(const t of e.pathless)na(t);if(e.static)for(const t of e.static.values())na(t);if(e.staticInsensitive)for(const t of e.staticInsensitive.values())na(t);if(e.dynamic?.length){e.dynamic.sort(jd);for(const t of e.dynamic)na(t)}if(e.optional?.length){e.optional.sort(jd);for(const t of e.optional)na(t)}if(e.wildcard?.length){e.wildcard.sort(jd);for(const t of e.wildcard)na(t)}}function Qa(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function kd(e,t,a,o,l){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:a,prefix:o,suffix:l}}function eE(e,t){const a=Qa("/"),o=new Uint16Array(6);for(const l of e)Zc(!1,o,l,1,a,0);na(a),t.masksTree=a,t.flatCache=Rr(1e3)}function tE(e,t){e||="/";const a=t.flatCache.get(e);if(a)return a;const o=Zh(e,t.masksTree);return t.flatCache.set(e,o),o}function nE(e,t,a,o,l){e||="/",o||="/";const c=t?`case\0${e}`:e;let u=l.singleCache.get(c);return u||(u=Qa("/"),Zc(t,new Uint16Array(6),{from:e},1,u,0),l.singleCache.set(c,u)),Zh(o,u,a)}function sE(e,t,a=!1){const o=a?e:`nofuzz\0${e}`,l=t.matchCache.get(o);if(l!==void 0)return l;e||="/";
10let c;try{c=Zh(e,t.segmentTree,a)}catch(u){if(u instanceof URIError)c=null;else throw u}return c&&(c.branch=oE(c.route)),t.matchCache.set(o,c),c}function aE(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function iE(e,t=!1,a){const o=Qa(e.fullPath),l=new Uint16Array(6),c={},u={};let d=0;return Zc(t,l,e,1,o,0,p=>{if(a?.(p,d),p.id in c&&tn(),c[p.id]=p,d!==0&&p.path){const g=aE(p.fullPath);(!u[g]||p.fullPath.endsWith("/"))&&(u[g]=p)}d++}),na(o),{processedTree:{segmentTree:o,singleCache:Rr(1e3),matchCache:Rr(1e3),flatCache:null,masksTree:null},routesById:c,routesByPath:u}}function Zh(e,t,a=!1){const o=e.split("/"),l=lE(e,o,t,a);if(!l)return null;const[c]=Iw(e,o,l);return{route:l.node.route,rawParams:c,parsedParams:l.parsedParams}}function Iw(e,t,a){const o=rE(a.node);let l=null;const c=Object.create(null);let u=a.extract?.part??0,d=a.extract?.node??0,p=a.extract?.path??0,g=a.extract?.segment??0;for(;d<o.length;u++,d++,p++,g++){const y=o[d];if(y.kind===ra)break;if(y.kind===Vw){g--,u--,p--;continue}const m=t[u],w=p;if(m&&(p+=m.length),y.kind===1){l??=a.node.fullPath.split("/");const x=l[g],_=y.prefix?.length??0;if(x.charCodeAt(_)===123){const E=y.suffix?.length??0,T=x.substring(_+2,x.length-E-1),S=m.substring(_,m.length-E);c[T]=decodeURIComponent(S)}else{const E=x.substring(1);c[E]=decodeURIComponent(m)}}else if(y.kind===3){if(a.skipped&1<<d){u--,p=w-1;continue}l??=a.node.fullPath.split("/");const x=l[g],_=y.prefix?.length??0,E=y.suffix?.length??0,T=x.substring(_+3,x.length-E-1),S=y.suffix||y.prefix?m.substring(_,m.length-E):m;S&&(c[T]=decodeURIComponent(S))}else if(y.kind===2){const x=y,_=e.substring(w+(x.prefix?.length??0),e.length-(x.suffix?.length??0)),E=decodeURIComponent(_);c["*"]=E,c._splat=E;break}}return a.rawParams&&Object.assign(c,a.rawParams),[c,{part:u,node:d,path:p,segment:g}]}function oE(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function rE(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function lE(e,t,a,o){if(e==="/"&&a.index)return{node:a.index,skipped:0};const l=!Ar(t),c=l&&e!=="/",u=t.length-(l?1:0),d=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let p=null,g=null;for(;d.length;){const y=d.pop(),{node:m,index:w,skipped:x,depth:_,statics:E,dynamics:T,optionals:S}=y;let{extract:R,rawParams:O,parsedParams:k}=y;if(m.kind===2&&m.route&&!oc(g,y))continue;if(m.skipOnParamError){if(!t0(e,t,y))continue;O=y.rawParams,R=y.extract,k=y.parsedParams}o&&m.route&&m.kind!==ra&&oc(p,y)&&(p=y);const q=w===u;if(q&&(m.route&&(!c||m.kind===ra||m.kind===2)&&oc(g,y)&&(g=y),!m.optional&&!m.wildcard&&!m.index&&!m.pathless))continue;const F=q?void 0:t[w];let B;if(q&&m.index){const j={node:m.index,index:w,skipped:x,depth:_+1,statics:E,dynamics:T,optionals:S,extract:R,rawParams:O,parsedParams:k};let G=!0;if(m.index.skipOnParamError&&(t0(e,t,j)||(G=!1)),G){if(!T&&!S&&!x&&cE(E,u))return j;oc(g,j)&&(g=j)}}if(m.wildcard)for(let j=m.wildcard.length-1;j>=0;j--){const G=m.wildcard[j],{prefix:Z,suffix:te}=G;if(!(Z&&(q||!(G.caseSensitive?F:B??=F.toLowerCase()).startsWith(Z)))){if(te){if(q)continue;const oe=t.slice(w).join("/").slice(-te.length);if((G.caseSensitive?oe:oe.toLowerCase())!==te)continue}d.push({node:G,index:u,skipped:x,depth:_+1,statics:E,dynamics:T,optionals:S,extract:R,rawParams:O,parsedParams:k})}}if(m.optional){const j=x|1<<_,G=_+1;for(let Z=m.optional.length-1;Z>=0;Z--){const te=m.optional[Z];d.push({node:te,index:w,skipped:j,depth:G,statics:E,dynamics:T,optionals:S,extract:R,rawParams:O,parsedParams:k})}if(!q)for(let Z=m.optional.length-1;Z>=0;Z--){const te=m.optional[Z],{prefix:oe,suffix:re}=te;if(oe||re){const ae=te.caseSensitive?F:B??=F.toLowerCase();if(oe&&!ae.startsWith(oe)||re&&!ae.endsWith(re))continue}d.push({node:te,index:w+1,skipped:x,depth:G,statics:E,dynamics:T,optionals:S+ic(u,w),extract:R,rawParams:O,parsedParams:k})}}if(!q&&m.dynamic&&F)for(let j=m.dynamic.length-1;j>=0;j--){const G=m.dynamic[j],{prefix:Z,suffix:te}=G;if(Z||te){const oe=G.caseSensitive?F:B??=F.toLowerCase();if(Z&&!oe.startsWith(Z)||te&&!oe.endsWith(te))continue}d.push({node:G,index:w+1,skipped:x,depth:_+1,statics:E,dynamics:T+ic(u,w),optionals:S,extract:R,rawParams:O,parsedParams:k})}if(!q&&m.staticInsensitive){const j=m.staticInsensitive.get(B??=F.toLowerCase());j&&d.push({node:j,index:w+1,skipped:x,depth:_+1,statics:E+ic(u,w),dynamics:T,optionals:S,extract:R,rawParams:O,parsedParams:k})}if(!q&&m.static){const j=m.static.get(F);j&&d.push({node:j,index:w+1,skipped:x,depth:_+1,statics:E+ic(u,w),dynamics:T,optionals:S,extract:R,rawParams:O,parsedParams:k})}if(m.pathless){const j=_+1;for(let G=m.pathless.length-1;G>=0;G--){const Z=m.pathless[G];d.push({node:Z,index:w,skipped:x,depth:j,statics:E,dynamics:T,optionals:S,extract:R,rawParams:O,parsedParams:k})}}}if(g)return g;if(o&&p){let y=p.index;for(let w=0;w<p.index;w++)y+=t[w].length;const m=y===e.length?"/":e.slice(y);return p.rawParams??=Object.create(null),p.rawParams["**"]=decodeURIComponent(m),p}return null}function ic(e,t){return 2**(e-t-1)}function cE(e,t){return e===2**(t-1)-1}function t0(e,t,a){try{const[o,l]=Iw(e,t,a);a.rawParams=o,a.extract=l;const c=a.node.parse(o);return a.parsedParams=Object.assign(Object.create(null),a.parsedParams,c),!0}catch{return null}}function oc(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===ra)>(e.node.kind===ra)||t.node.kind===ra==(e.node.kind===ra)&&t.depth>e.depth))):!0}function bc(e){return Wh(e.filter(t=>t!==void 0).join("/"))}function Wh(e){return e.replace(/\/{2,}/g,"/")}function Hw(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function ua(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\/{1,}$/,""):e}function qw(e){return ua(Hw(e))}function Dc(e,t){return e?.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function uE(e,t,a){return Dc(e,a)===Dc(t,a)}function fE({base:e,to:t,trailingSlash:a="never",cache:o}){const l=t.startsWith("/"),c=!l&&t===".";let u;if(o){u=l?t:c?e:e+"\0"+t;const m=o.get(u);if(m)return m}let d;if(c)d=e.split("/");else if(l)d=t.split("/");else{for(d=e.split("/");d.length>1&&Ar(d)==="";)d.pop();const m=t.split("/");for(let w=0,x=m.length;w<x;w++){const _=m[w];
10_===""?w?w===x-1&&d.push(_):d=[_]:_===".."?d.pop():_==="."||d.push(_)}}d.length>1&&(Ar(d)===""?a==="never"&&d.pop():a==="always"&&d.push(""));let p,g="";for(let m=0;m<d.length;m++){m>0&&(g+="/");const w=d[m];if(!w)continue;p=Xh(w,0,p);const x=p[0];if(x===0){g+=w;continue}const _=p[5],E=w.substring(0,p[1]),T=w.substring(p[4],_),S=w.substring(p[2],p[3]);x===1?g+=E||T?`${E}{$${S}}${T}`:`$${S}`:x===2?g+=E||T?`${E}{$}${T}`:"$":g+=`${E}{-$${S}}${T}`}g=Wh(g);const y=g||"/";return u&&o&&o.set(u,y),y}function dE(e){const t=new Map(e.map(l=>[encodeURIComponent(l),l])),a=Array.from(t.keys()).map(l=>l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),o=new RegExp(a,"g");return l=>l.replace(o,c=>t.get(c)??c)}function Od(e,t,a){const o=t[e];return typeof o!="string"?o:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(o)?o:o.split("/").map(l=>s0(l,a)).join("/"):s0(o,a)}function n0({path:e,params:t,decoder:a,...o}){let l=!1;const c=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:c,isMissingParams:l};if(!e.includes("$"))return{interpolatedPath:e,usedParams:c,isMissingParams:l};const u=e.length;let d=0,p,g="";for(;d<u;){const y=d;p=Xh(e,y,p);const m=p[5];if(d=m+1,y===m)continue;const w=p[0];if(w===0){g+="/"+e.substring(y,m);continue}if(w===2){const x=t._splat;c._splat=x,c["*"]=x;const _=e.substring(y,p[1]),E=e.substring(p[4],m);if(!x){l=!0,(_||E)&&(g+="/"+_+E);continue}const T=Od("_splat",t,a);g+="/"+_+T+E;continue}if(w===1){const x=e.substring(p[2],p[3]);!l&&!(x in t)&&(l=!0),c[x]=t[x];const _=e.substring(y,p[1]),E=e.substring(p[4],m),T=Od(x,t,a)??"undefined";g+="/"+_+T+E;continue}if(w===3){const x=e.substring(p[2],p[3]),_=t[x];if(_==null)continue;c[x]=_;const E=e.substring(y,p[1]),T=e.substring(p[4],m),S=Od(x,t,a)??"";g+="/"+E+S+T;continue}}return e.endsWith("/")&&(g+="/"),{usedParams:c,interpolatedPath:g||"/",isMissingParams:l}}function s0(e,t){const a=encodeURIComponent(e);return t?.(a)??a}function hE(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function _t(e){return e?.isNotFound===!0}function mE(){try{return typeof window<"u"&&typeof window.sessionStorage=="object"?window.sessionStorage:void 0}catch{return}}var pE="tsr-scroll-restoration-v1_3";function gE(){const e=mE();if(!e)return null;let t={};try{const o=JSON.parse(e.getItem("tsr-scroll-restoration-v1_3")||"{}");oo(o)&&(t=o)}catch{}return{get state(){return t},set:o=>{t=ia(o,t)||t},persist:()=>{try{e.setItem(pE,JSON.stringify(t))}catch{}}}}var a0=gE(),yE=e=>e.state.__TSR_key||e.href;function vE(e){const t=[];let a;for(;a=e.parentNode;)t.push(`${e.tagName}:nth-child(${Array.prototype.indexOf.call(a.children,e)+1})`),e=a;return`${t.reverse().join(" > ")}`.toLowerCase()}var rc=!1,cr="window",i0="data-scroll-restoration-id";function bE(e,t){if(!a0)return;const a=a0;if((e.options.scrollRestoration??!1)&&(e.isScrollRestoring=!0),e.isScrollRestorationSetup||!a)return;e.isScrollRestorationSetup=!0,rc=!1;const o=e.options.getScrollRestorationKey||yE,l=new Map;window.history.scrollRestoration="manual";const c=d=>{if(!(rc||!e.isScrollRestoring))if(d.target===document||d.target===window)l.set(cr,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{const p=d.target;l.set(p,{scrollX:p.scrollLeft||0,scrollY:p.scrollTop||0})}},u=d=>{if(!e.isScrollRestoring||!d||l.size===0||!a)return;const p=a.state[d]||={};for(const[g,y]of l){let m;if(g===cr)m=cr;else if(g.isConnected){const w=g.getAttribute(i0);m=w?`[${i0}="${w}"]`:vE(g)}m&&(p[m]=y)}};document.addEventListener("scroll",c,!0),e.subscribe("onBeforeLoad",d=>{u(d.fromLocation?o(d.fromLocation):void 0),l.clear()}),window.addEventListener("pagehide",()=>{u(o(e.stores.resolvedLocation.get()??e.stores.location.get())),a.persist()}),e.subscribe("onRendered",d=>{const p=o(d.toLocation),g=e.options.scrollRestorationBehavior,y=e.options.scrollToTopSelectors;if(l.clear(),!e.resetNextScroll){e.resetNextScroll=!0;return}if(!(typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))){rc=!0;try{const m=e.isScrollRestoring?a.state[p]:void 0;let w=!1;if(m)for(const x in m){const _=m[x];if(!oo(_))continue;const{scrollX:E,scrollY:T}=_;if(!(!Number.isFinite(E)||!Number.isFinite(T))){if(x===cr)window.scrollTo({top:T,left:E,behavior:g}),w=!0;else if(x){let S;try{S=document.querySelector(x)}catch{continue}S&&(S.scrollLeft=E,S.scrollTop=T,w=!0)}}}if(!w){const x=e.history.location.hash.slice(1);if(x){const _=window.history.state?.__hashScrollIntoViewOptions??!0;if(_){const E=document.getElementById(x);E&&E.scrollIntoView(_)}}else{const _={top:0,left:0,behavior:g};if(window.scrollTo(_),y)for(const E of y){if(E===cr)continue;const T=typeof E=="function"?E():document.querySelector(E);T&&T.scrollTo(_)}}}}finally{rc=!1}e.isScrollRestoring&&a.set(m=>(m[p]||={},m))}})}function Fw(e,t=String){const a=new URLSearchParams;for(const o in e){const l=e[o];l!==void 0&&a.set(o,t(l))}return a.toString()}function Dd(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function wE(e){const t=new URLSearchParams(e),a=Object.create(null);for(const[o,l]of t.entries()){const c=a[o];c==null?a[o]=Dd(l):Array.isArray(c)?c.push(Dd(l)):a[o]=[c,Dd(l)]}return a}var xE=_E(JSON.parse),SE=TE(JSON.stringify,JSON.parse);function _E(e){return t=>{t[0]==="?"&&(t=t.substring(1));const a=wE(t);for(const o in a){const l=a[o];if(typeof l=="string")try{a[o]=e(l)}catch{}}return a}}function TE(e,t){const a=typeof t=="function";function o(l){if(typeof l=="object"&&l!==null)try{return e(l)}catch{}else if(a&&typeof l=="string")try{return t(l),e(l)}catch{}return l}return l=>{const c=Fw(l,o);return c?`?${c}`:""}}var Wa="__root__";function Gw(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const a=new Response(null,{status:e.statusCode,headers:t});if(a.options=e,e.throw)throw a;return a}function en(e){return e instanceof Response&&!!e.options}function AE(e){if(e!==null&&typeof e=="object"&&e.isSerializedRedirect)return Gw(e)}function EE(e){return{input:({url:t})=>{for(const a of e)t=fh(a,t);return t},output:({url:t})=>{for(let a=e.length-1;a>=0;a--)t=Yw(e[a],t);return t}}}function RE(e){const t=qw(e.basepath),a=`/${t}`,o=`${a}/`,l=e.caseSensitive?a:a.toLowerCase(),c=e.caseSensitive?o:o.toLowerCase();return{input:({url:u})=>{const d=e.caseSensitive?u.pathname:u.pathname.toLowerCase();return d===l?u.pathname="/":d.startsWith(c)&&(u.pathname=u.pathname.slice(a.length)),u},output:({url:u})=>(u.pathname=bc(["/",t,u.pathname]),u)}}function fh(e,t){const a=e?.input?.({url:t});
10if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return t}function Yw(e,t){const a=e?.output?.({url:t});if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return t}function CE(e,t){const{createMutableStore:a,createReadonlyStore:o,batch:l,init:c}=t,u=new Map,d=new Map,p=new Map,g=a(e.status),y=a(e.loadedAt),m=a(e.isLoading),w=a(e.isTransitioning),x=a(e.location),_=a(e.resolvedLocation),E=a(e.statusCode),T=a(e.redirect),S=a([]),R=a([]),O=a([]),k=o(()=>Ld(u,S.get())),q=o(()=>Ld(d,R.get())),F=o(()=>Ld(p,O.get())),B=o(()=>S.get()[0]),j=o(()=>S.get().some(H=>u.get(H)?.get().status==="pending")),G=o(()=>({locationHref:x.get().href,resolvedLocationHref:_.get()?.href,status:g.get()})),Z=o(()=>({status:g.get(),loadedAt:y.get(),isLoading:m.get(),isTransitioning:w.get(),matches:k.get(),location:x.get(),resolvedLocation:_.get(),statusCode:E.get(),redirect:T.get()})),te=Rr(64);function oe(H){let ee=te.get(H);return ee||(ee=o(()=>{const ce=S.get();for(const J of ce){const M=u.get(J);if(M&&M.routeId===H)return M.get()}}),te.set(H,ee)),ee}const re={status:g,loadedAt:y,isLoading:m,isTransitioning:w,location:x,resolvedLocation:_,statusCode:E,redirect:T,matchesId:S,pendingIds:R,cachedIds:O,matches:k,pendingMatches:q,cachedMatches:F,firstId:B,hasPending:j,matchRouteDeps:G,matchStores:u,pendingMatchStores:d,cachedMatchStores:p,__store:Z,getRouteMatchStore:oe,setMatches:ae,setPending:le,setCached:L};ae(e.matches),c?.(re);function ae(H){zd(H,u,S,a,l)}function le(H){zd(H,d,R,a,l)}function L(H){zd(H,p,O,a,l)}return re}function Ld(e,t){const a=[];for(const o of t){const l=e.get(o);l&&a.push(l.get())}return a}function zd(e,t,a,o,l){const c=e.map(d=>d.id),u=new Set(c);l(()=>{for(const d of t.keys())u.has(d)||t.delete(d);for(const d of e){const p=t.get(d.id);if(!p){const g=o(d);g.routeId=d.routeId,t.set(d.id,g);continue}p.routeId=d.routeId,p.get()!==d&&p.set(d)}JA(a.get(),c)||a.set(c)})}var dh=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},ME=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),Wc=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Ja=(e,t,a=!0)=>{const o={...e.router.options.context??{}},l=a?t:t-1;for(let c=0;c<=l;c++){const u=e.matches[c];if(!u)continue;const d=e.router.getMatch(u.id);d&&Object.assign(o,d.__routeContext,d.__beforeLoadContext)}return o},o0=(e,t)=>{if(!e.matches.length)return;const a=t.routeId,o=e.matches.findIndex(u=>u.routeId===e.router.routeTree.id),l=o>=0?o:0;let c=a?e.matches.findIndex(u=>u.routeId===a):e.firstBadMatchIndex??e.matches.length-1;c<0&&(c=l);for(let u=c;u>=0;u--){const d=e.matches[u];if(e.router.looseRoutesById[d.routeId].options.notFoundComponent)return u}return a?c:l},la=(e,t,a)=>{if(!(!en(a)&&!_t(a)))throw en(a)&&a.redirectHandled&&!a.options.reloadDocument||(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=a,e.updateMatch(t.id,o=>({...o,status:en(a)?"redirected":_t(a)?"notFound":o.status==="pending"?"success":o.status,context:Ja(e,t.index),isFetching:!1,error:a})),_t(a)&&!a.routeId&&(a.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),en(a)&&(e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a))),a},Qw=(e,t)=>{const a=e.router.getMatch(t);return!!(!a||a._nonReactive.dehydrated)},r0=(e,t,a)=>{const o=Ja(e,a);e.updateMatch(t,l=>({...l,context:o}))},ur=(e,t,a,o)=>{const{id:l,routeId:c}=e.matches[t],u=e.router.looseRoutesById[c];if(a instanceof Promise)throw a;a.routerCode=o,e.firstBadMatchIndex??=t,la(e,e.router.getMatch(l),a);try{u.options.onError?.(a)}catch(d){a=d,la(e,e.router.getMatch(l),a)}e.updateMatch(l,d=>(d._nonReactive.beforeLoadPromise?.resolve(),d._nonReactive.beforeLoadPromise=void 0,d._nonReactive.loadPromise?.resolve(),{...d,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!en(a)&&!_t(a)&&(e.serialError??=a)},Kw=(e,t,a,o)=>
10{if(o._nonReactive.pendingTimeout!==void 0)return;const l=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Wc(e,t)&&(a.options.loader||a.options.beforeLoad||Zw(a))&&typeof l=="number"&&l!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){const c=setTimeout(()=>{dh(e)},l);o._nonReactive.pendingTimeout=c}},jE=(e,t,a)=>{const o=e.router.getMatch(t);if(!o._nonReactive.beforeLoadPromise&&!o._nonReactive.loaderPromise)return;Kw(e,t,a,o);const l=()=>{const c=e.router.getMatch(t);c.preload&&(c.status==="redirected"||c.status==="notFound")&&la(e,c,c.error)};return o._nonReactive.beforeLoadPromise?o._nonReactive.beforeLoadPromise.then(l):l()},kE=(e,t,a,o)=>{const l=e.router.getMatch(t);let c=l._nonReactive.loadPromise;l._nonReactive.loadPromise=ni(()=>{c?.resolve(),c=void 0});const{paramsError:u,searchError:d}=l;u&&ur(e,a,u,"PARSE_PARAMS"),d&&ur(e,a,d,"VALIDATE_SEARCH"),Kw(e,t,o,l);const p=new AbortController;let g=!1;const y=()=>{g||(g=!0,e.updateMatch(t,k=>({...k,isFetching:"beforeLoad",fetchCount:k.fetchCount+1,abortController:p})))},m=()=>{l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,k=>({...k,isFetching:!1}))};if(!o.options.beforeLoad){e.router.batch(()=>{y(),m()});return}l._nonReactive.beforeLoadPromise=ni();const w={...Ja(e,a,!1),...l.__routeContext},{search:x,params:_,cause:E}=l,T=Wc(e,t),S={search:x,abortController:p,params:_,preload:T,context:w,location:e.location,navigate:k=>e.router.navigate({...k,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:T?"preload":E,matches:e.matches,routeId:o.id,...e.router.options.additionalContext},R=k=>{if(k===void 0){e.router.batch(()=>{y(),m()});return}(en(k)||_t(k))&&(y(),ur(e,a,k,"BEFORE_LOAD")),e.router.batch(()=>{y(),e.updateMatch(t,q=>({...q,__beforeLoadContext:k})),m()})};let O;try{if(O=o.options.beforeLoad(S),Er(O))return y(),O.catch(k=>{ur(e,a,k,"BEFORE_LOAD")}).then(R)}catch(k){y(),ur(e,a,k,"BEFORE_LOAD")}R(O)},OE=(e,t)=>{const{id:a,routeId:o}=e.matches[t],l=e.router.looseRoutesById[o],c=()=>d(),u=()=>kE(e,a,t,l),d=()=>{if(Qw(e,a))return;const p=jE(e,a,l);return Er(p)?p.then(u):u()};return c()},DE=(e,t,a)=>{const o=e.router.getMatch(t);if(!o||!a.options.head&&!a.options.scripts&&!a.options.headers)return;const l={ssr:e.router.options.ssr,matches:e.matches,match:o,params:o.params,loaderData:o.loaderData};return Promise.all([a.options.head?.(l),a.options.scripts?.(l),a.options.headers?.(l)]).then(([c,u,d])=>({meta:c?.meta,links:c?.links,headScripts:c?.scripts,headers:d,scripts:u,styles:c?.styles}))},Xw=(e,t,a,o,l)=>{const c=t[o-1],{params:u,loaderDeps:d,abortController:p,cause:g}=e.router.getMatch(a),y=Ja(e,o),m=Wc(e,a);return{params:u,deps:d,preload:!!m,parentMatchPromise:c,abortController:p,context:y,location:e.location,navigate:w=>e.router.navigate({...w,_fromLocation:e.location}),cause:m?"preload":g,route:l,...e.router.options.additionalContext}},l0=async(e,t,a,o,l)=>{try{const c=e.router.getMatch(a);try{(!(Uw??e.router.isServer)||c.ssr===!0)&&Cr(l);const u=l.options.loader,d=typeof u=="function"?u:u?.handler,p=d?.(Xw(e,t,a,o,l)),g=!!d&&Er(p);if((g||l._lazyPromise||l._componentsPromise||l.options.head||l.options.scripts||l.options.headers||c._nonReactive.minPendingPromise)&&e.updateMatch(a,m=>({...m,isFetching:"loader"})),d){const m=g?await p:p;la(e,e.router.getMatch(a),m),m!==void 0&&e.updateMatch(a,w=>({...w,loaderData:m}))}l._lazyPromise&&await l._lazyPromise;const y=c._nonReactive.minPendingPromise;y&&await y,l._componentsPromise&&await l._componentsPromise,e.updateMatch(a,m=>({...m,error:void 0,context:Ja(e,o),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(u){let d=u;if(d?.name==="AbortError"){if(c.abortController.signal.aborted){c._nonReactive.loaderPromise?.resolve(),c._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,g=>({...g,status:g.status==="pending"?"success":g.status,isFetching:!1,context:Ja(e,o)}));return}const p=c._nonReactive.minPendingPromise;p&&await p,_t(u)&&await l.options.notFoundComponent?.preload?.(),la(e,e.router.getMatch(a),u);try{l.options.onError?.(u)}catch(g){d=g,la(e,e.router.getMatch(a),g)}!en(d)&&!_t(d)&&await Cr(l,["errorComponent"]),e.updateMatch(a,g=>
10({...g,error:d,context:Ja(e,o),status:"error",isFetching:!1}))}}catch(c){const u=e.router.getMatch(a);u&&(u._nonReactive.loaderPromise=void 0),la(e,u,c)}},LE=async(e,t,a)=>{async function o(x,_,E,T,S){const R=Date.now()-_.updatedAt,O=x?S.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:S.options.staleTime??e.router.options.defaultStaleTime??0,k=S.options.shouldReload,q=typeof k=="function"?k(Xw(e,t,l,a,S)):k,{status:F,invalid:B}=T,j=R>=O&&(!!e.forceStaleReload||T.cause==="enter"||E!==void 0&&E!==T.id);u=F==="success"&&(B||(q??j)),x&&S.options.preload===!1||(u&&!e.sync&&y?(d=!0,(async()=>{try{await l0(e,t,l,a,S);const G=e.router.getMatch(l);G._nonReactive.loaderPromise?.resolve(),G._nonReactive.loadPromise?.resolve(),G._nonReactive.loaderPromise=void 0,G._nonReactive.loadPromise=void 0}catch(G){en(G)&&await e.router.navigate(G.options)}})()):F!=="success"||u?await l0(e,t,l,a,S):r0(e,l,a))}const{id:l,routeId:c}=e.matches[a];let u=!1,d=!1;const p=e.router.looseRoutesById[c],g=p.options.loader,y=((typeof g=="function"?void 0:g?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(Qw(e,l)){if(!e.router.getMatch(l))return e.matches[a];r0(e,l,a)}else{const x=e.router.getMatch(l),_=e.router.stores.matchesId.get()[a],E=(_&&e.router.stores.matchStores.get(_)||null)?.routeId===c?_:e.router.stores.matches.get().find(S=>S.routeId===c)?.id,T=Wc(e,l);if(x._nonReactive.loaderPromise){if(x.status==="success"&&!e.sync&&!x.preload&&y)return x;await x._nonReactive.loaderPromise;const S=e.router.getMatch(l),R=S._nonReactive.error||S.error;R&&la(e,S,R),S.status==="pending"&&await o(T,x,E,S,p)}else{const S=T&&!e.router.stores.matchStores.has(l),R=e.router.getMatch(l);R._nonReactive.loaderPromise=ni(),S!==R.preload&&e.updateMatch(l,O=>({...O,preload:S})),await o(T,x,E,R,p)}}const m=e.router.getMatch(l);d||(m._nonReactive.loaderPromise?.resolve(),m._nonReactive.loadPromise?.resolve(),m._nonReactive.loadPromise=void 0),clearTimeout(m._nonReactive.pendingTimeout),m._nonReactive.pendingTimeout=void 0,d||(m._nonReactive.loaderPromise=void 0),m._nonReactive.dehydrated=void 0;const w=d?m.isFetching:!1;return w!==m.isFetching||m.invalid!==!1?(e.updateMatch(l,x=>({...x,isFetching:w,invalid:!1})),e.router.getMatch(l)):m};async function c0(e){const t=e,a=[];ME(t.router)&&dh(t);let o;for(let w=0;w<t.matches.length;w++){try{const x=OE(t,w);Er(x)&&await x}catch(x){if(en(x))throw x;if(_t(x))o=x;else if(!t.preload)throw x;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const l=t.firstBadMatchIndex??t.matches.length,c=o&&!t.preload?o0(t,o):void 0,u=o&&t.preload?0:c!==void 0?Math.min(c+1,l):l;let d,p;for(let w=0;w<u;w++)a.push(LE(t,a,w));try{await Promise.all(a)}catch{const w=await Promise.allSettled(a);for(const x of w){if(x.status!=="rejected")continue;const _=x.reason;if(en(_))throw _;_t(_)?d??=_:p??=_}if(p!==void 0)throw p}const g=d??(o&&!t.preload?o:void 0);let y=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!g&&o&&t.preload)return t.matches;if(g){const w=o0(t,g);w===void 0&&tn();const x=t.matches[w],_=t.router.looseRoutesById[x.routeId],E=t.router.options?.defaultNotFoundComponent;!_.options.notFoundComponent&&E&&(_.options.notFoundComponent=E),g.routeId=x.routeId;const T=x.routeId===t.router.routeTree.id;t.updateMatch(x.id,S=>({...S,...T?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),y=w,await Cr(_,["notFoundComponent"])}else if(!t.preload){const w=t.matches[0];w.globalNotFound||t.router.getMatch(w.id)?.globalNotFound&&t.updateMatch(w.id,x=>({...x,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const w=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Cr(w,["errorComponent"])}for(let w=0;w<=y;w++){const{id:x,routeId:_}=t.matches[w],E=t.router.looseRoutesById[_];try{const T=DE(t,x,E);if(T){const S=await T;t.updateMatch(x,R=>({...R,...S}))}}catch(T){console.error(`Error executing head for route ${_}:`,T)}}const m=dh(t);if(Er(m)&&await m,g)throw g;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function u0(e,t){const a=t.map(o=>
10e.options[o]?.preload?.()).filter(Boolean);if(a.length!==0)return Promise.all(a)}function Cr(e,t=wc){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(o=>{const{id:l,...c}=o.options;Object.assign(e.options,c),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const a=()=>e._componentsLoaded?void 0:t===wc?(()=>{if(e._componentsPromise===void 0){const o=u0(e,wc);o?e._componentsPromise=o.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():u0(e,t);return e._lazyPromise?e._lazyPromise.then(a):a()}function Zw(e){for(const t of wc)if(e.options[t]?.preload)return!0;return!1}var wc=["component","errorComponent","pendingComponent","notFoundComponent"],fa="__TSR_index",f0="popstate",d0="beforeunload";function zE(e){let t=e.getLocation();const a=new Set,o=u=>{t=e.getLocation(),a.forEach(d=>d({location:t,action:u}))},l=u=>{e.notifyOnIndexChange??!0?o(u):t=e.getLocation()},c=async({task:u,navigateOpts:d,...p})=>{if(d?.ignoreBlocker??!1){u();return}const g=e.getBlockers?.()??[],y=p.type==="PUSH"||p.type==="REPLACE";if(typeof document<"u"&&g.length&&y)for(const m of g){const w=Lc(p.path,p.state);if(await m.blockerFn({currentLocation:t,nextLocation:w,action:p.type})){e.onBlocked?.();return}}u()};return{get location(){return t},get length(){return e.getLength()},subscribers:a,subscribe:u=>(a.add(u),()=>{a.delete(u)}),push:(u,d,p)=>{const g=t.state[fa];d=h0(g+1,d),c({task:()=>{e.pushState(u,d),o({type:"PUSH"})},navigateOpts:p,type:"PUSH",path:u,state:d})},replace:(u,d,p)=>{const g=t.state[fa];d=h0(g,d),c({task:()=>{e.replaceState(u,d),o({type:"REPLACE"})},navigateOpts:p,type:"REPLACE",path:u,state:d})},go:(u,d)=>{c({task:()=>{e.go(u),l({type:"GO",index:u})},navigateOpts:d,type:"GO"})},back:u=>{c({task:()=>{e.back(u?.ignoreBlocker??!1),l({type:"BACK"})},navigateOpts:u,type:"BACK"})},forward:u=>{c({task:()=>{e.forward(u?.ignoreBlocker??!1),l({type:"FORWARD"})},navigateOpts:u,type:"FORWARD"})},canGoBack:()=>t.state[fa]!==0,createHref:u=>e.createHref(u),block:u=>{if(!e.setBlockers)return()=>{};const d=e.getBlockers?.()??[];return e.setBlockers([...d,u]),()=>{const p=e.getBlockers?.()??[];e.setBlockers?.(p.filter(g=>g!==u))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:o}}function h0(e,t){t||(t={});const a=Jh();return{...t,key:a,__TSR_key:a,[fa]:e}}function BE(e){const t=typeof document<"u"?window:void 0,a=t.history.pushState,o=t.history.replaceState;let l=[];const c=()=>l,u=j=>l=j,d=(j=>j),p=(()=>Lc(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){const j=Jh();t.history.replaceState({[fa]:0,key:j,__TSR_key:j},"")}let g=p(),y,m=!1,w=!1,x=!1,_=!1;const E=()=>g;let T,S;const R=()=>{T&&(B._ignoreSubscribers=!0,(T.isPush?t.history.pushState:t.history.replaceState)(T.state,"",T.href),B._ignoreSubscribers=!1,T=void 0,S=void 0,y=void 0)},O=(j,G,Z)=>{const te=d(G);S||(y=g),g=Lc(G,Z),T={href:te,state:Z,isPush:T?.isPush||j==="push"},S||(S=Promise.resolve().then(()=>R()))},k=j=>{g=p(),B.notify({type:j})},q=async()=>{if(w){w=!1;return}const j=p(),G=j.state[fa]-g.state[fa],Z=G===1,te=G===-1,oe=!Z&&!te||m;m=!1;const re=oe?"GO":te?"BACK":"FORWARD",ae=oe?{type:"GO",index:G}:{type:te?"BACK":"FORWARD"};if(x)x=!1;else{const le=c();if(typeof document<"u"&&le.length){for(const L of le)if(await L.blockerFn({currentLocation:g,nextLocation:j,action:re})){w=!0,t.history.go(1),B.notify(ae);return}}}g=p(),B.notify(ae)},F=j=>{if(_){_=!1;return}let G=!1;const Z=c();if(typeof document<"u"&&Z.length)for(const te of Z){const oe=te.enableBeforeUnload??!0;if(oe===!0){G=!0;break}if(typeof oe=="function"&&oe()===!0){G=!0;break}}if(G)return j.preventDefault(),j.returnValue=""},B=zE({getLocation:E,getLength:()=>t.history.length,pushState:(j,G)=>O("push",j,G),replaceState:(j,G)=>O("replace",j,G),back:j=>(j&&(x=!0),_=!0,t.history.back()),forward:j=>{j&&(x=!0),_=!0,t.history.forward()},go:j=>{m=!0,t.history.go(j)},createHref:j=>d(j),flush:R,destroy:()=>{t.history.pushState=a,t.history.replaceState=o,t.removeEventListener(d0,F,{capture:!0}),t.removeEventListener(f0,q)},onBlocked:()=>{y&&g!==y&&(g=y)},getBlockers:c,setBlockers:u,notifyOnIndexChange:!1});return t.addEventListener(d0,F,{capture:!0}),t.addEventListener(f0,q),t.history.pushState=function(...j){const G=a.apply(t.history,j);return B._ignoreSubscribers||k("PUSH"),G},t.history.replaceState=function(...j){const G=o.apply(t.history,j);return B._ignoreSubscribers||k("REPLACE"),G},B}function NE(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function Lc(e,t){const a=NE(e),o=a.indexOf("#"),l=a.indexOf("?"),c=Jh();return{href:a,pathname:a.substring(0,o>0?l>0?Math.min(o,l):o:l>0?l:a.length),hash:o>-1?a.substring(o):"",search:l>-1?a.slice(l,o===-1?void 0:o):"",state:t||{[fa]:0,key:c,__TSR_key:c}}}function Jh(){return(Math.random()+1).toString(36).substring(7)}function PE(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function so(e,t){const a=t,o=e;return{fromLocation:a,toLocation:o,pathChanged:a?.pathname!==o.pathname,hrefChanged:a?.href!==o.href,hashChanged:a?.hash!==o.hash}}var UE=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=a=>a(),this.update=a=>{const o=this.options,l=this.basepath??o?.basepath??"/",c=this.basepath===void 0,u=o?.rewrite;if(this.options={...o,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=dE(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=BE()),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 y;this.resolvePathCache=Rr(1e3),y=this.buildRouteTree(),this.setRoutes(y)}if(!this.stores&&this.latestLocation){const y=this.getStoreConfig(this);this.batch=y.batch,this.stores=CE(IE(this.latestLocation),y),bE(this)}let d=!1;const p=this.options.basepath??"/",g=this.options.rewrite;if(c||l!==p||u!==g){this.basepath=p;const y=[],m=qw(p);m&&m!=="/"&&y.push(RE({basepath:p})),g&&y.push(g),this.rewrite=y.length===0?void 0:y.length===1?y[0]:EE(y),this.history&&this.updateLatestLocation(),d=!0}d&&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 a=iE(this.routeTree,this.options.caseSensitive,(o,l)=>{o.init({originalIndex:l})});return this.options.routeMasks&&eE(this.options.routeMasks,a.processedTree),a},this.subscribe=(a,o)=>{const l={eventType:a,fn:o};return this.subscribers.add(l),()=>{this.subscribers.delete(l)}},this.emit=a=>
10{this.subscribers.forEach(o=>{o.eventType===a.type&&o.fn(a)})},this.parseLocation=(a,o)=>{const l=({pathname:p,search:g,hash:y,href:m,state:w})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(p)){const S=this.options.parseSearch(g),R=this.options.stringifySearch(S);return{href:p+R+y,publicHref:p+R+y,pathname:lr(p).path,external:!1,searchStr:R,search:Va(o?.search,S),hash:lr(y.slice(1)).path,state:oa(o?.state,w)}}const x=new URL(m,this.origin),_=fh(this.rewrite,x),E=this.options.parseSearch(_.search),T=this.options.stringifySearch(E);return _.search=T,{href:_.href.replace(_.origin,""),publicHref:m,pathname:lr(_.pathname).path,external:!!this.rewrite&&_.origin!==this.origin,searchStr:T,search:Va(o?.search,E),hash:lr(_.hash.slice(1)).path,state:oa(o?.state,w)}},c=l(a),{__tempLocation:u,__tempKey:d}=c.state;if(u&&(!d||d===this.tempLocationKey)){const p=l(u);return p.state.key=c.state.key,p.state.__TSR_key=c.state.__TSR_key,delete p.state.__tempLocation,{...p,maskedLocation:c}}return c},this.resolvePathWithBase=(a,o)=>fE({base:a,to:Wh(o),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,o,l)=>typeof a=="string"?this.matchRoutesInternal({pathname:a,search:o},l):this.matchRoutesInternal(a,o),this.getMatchedRoutes=a=>HE({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=a=>{const o=this.getMatch(a);o&&(o.abortController.abort(),clearTimeout(o._nonReactive.pendingTimeout),o._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(a=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach(a=>{if(this.stores.pendingMatchStores.has(a))return;const o=this.stores.matchStores.get(a)?.get();o&&(o.status==="pending"||o.isFetching==="loader")&&this.cancelMatch(a)})},this.buildLocation=a=>{const o=(c={})=>{const u=c._fromLocation||this.pendingBuiltLocation||this.latestLocation,d=this.matchRoutesLightweight(u);c.from;const p=c.unsafeRelative==="path"?u.pathname:c.from??d.fullPath,g=this.resolvePathWithBase(p,"."),y=d.search,m=Object.assign(Object.create(null),d.params),w=c.to?this.resolvePathWithBase(g,`${c.to}`):this.resolvePathWithBase(g,"."),x=c.params===!1||c.params===null?Object.create(null):(c.params??!0)===!0?m:Object.assign(m,ia(c.params,m)),_=this.getMatchedRoutes(w);let E=_.matchedRoutes;if((!_.foundRoute||_.foundRoute.path!=="/"&&_.routeParams["**"])&&this.options.notFoundRoute&&(E=[...E,this.options.notFoundRoute]),Object.keys(x).length>0)for(const Z of E){const te=Z.options.params?.stringify??Z.options.stringifyParams;if(te)try{Object.assign(x,te(x))}catch{}}const T=a.leaveParams?w:lr(n0({path:w,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let S=y;if(a._includeValidateSearch&&this.options.search?.strict){const Z={};E.forEach(te=>{if(te.options.validateSearch)try{Object.assign(Z,xc(te.options.validateSearch,{...Z,...S}))}catch{}}),S=Z}S=qE({search:S,dest:c,destRoutes:E,_includeValidateSearch:a._includeValidateSearch}),S=Va(y,S);const R=this.options.stringifySearch(S),O=c.hash===!0?u.hash:c.hash?ia(c.hash,u.hash):void 0,k=O?`#${O}`:"";let q=c.state===!0?u.state:c.state?ia(c.state,u.state):{};q=oa(u.state,q);const F=`${T}${R}${k}`;let B,j,G=!1;if(this.rewrite){const Z=new URL(F,this.origin),te=Yw(this.rewrite,Z);B=Z.href.replace(Z.origin,""),te.origin!==this.origin?(j=te.href,G=!0):j=te.pathname+te.search+te.hash}else B=WA(F),j=B;return{publicHref:j,href:B,pathname:T,search:S,searchStr:R,state:q,hash:O??"",external:G,unmaskOnReload:c.unmaskOnReload}},l=(c={},u)=>{const d=o(c);let p=u?o(u):void 0;if(!p){const g=Object.create(null);if(this.options.routeMasks){const y=tE(d.pathname,this.processedTree);if(y){Object.assign(g,y.rawParams);const{from:m,params:w,...x}=y.route,_=w===!1||w===null?Object.create(null):(w??!0)===!0?g:Object.assign(g,ia(w,g));u={from:a.from,...x,params:_},p=o(u)}}}return p&&(d.maskedLocation=p),d};return a.mask?l(a,{from:a.from,...a.mask}):l(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:o,...l})=>{const c=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(y=>{l.state[y]=this.latestLocation.state[y]});const g=$t(l.state,this.latestLocation.state);return p.forEach(y=>{delete l.state[y]}),g},u=ua(this.latestLocation.href)===ua(l.href);let d=this.commitLocationPromise;if(this.commitLocationPromise=ni(()=>{d?.resolve(),d=void 0}),u&&c())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=a,this.history[l.replace?"replace":"push"](y.publicHref,y.state,{ignoreBlocker:o})}return this.resetNextScroll=l.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:o,hashScrollIntoView:l,viewTransition:c,ignoreBlocker:u,href:d,...p}={})=>
10{if(d){const m=this.history.location.state.__TSR_index,w=Lc(d,{__TSR_index:a?m:m+1}),x=new URL(w.pathname,this.origin);p.to=fh(this.rewrite,x).pathname,p.search=this.options.parseSearch(w.search),p.hash=w.hash.slice(1)}const g=this.buildLocation({...p,_includeValidateSearch:!0});this.pendingBuiltLocation=g;const y=this.commitLocation({...g,viewTransition:c,replace:a,resetScroll:o,hashScrollIntoView:l,ignoreBlocker:u});return Promise.resolve().then(()=>{this.pendingBuiltLocation===g&&(this.pendingBuiltLocation=void 0)}),y},this.navigate=async({to:a,reloadDocument:o,href:l,publicHref:c,...u})=>{let d=!1;if(l)try{new URL(`${l}`),d=!0}catch{}if(d&&!o&&(o=!0),o){if(a!==void 0||!l){const g=this.buildLocation({to:a,...u});l=l??g.publicHref,c=c??g.publicHref}const p=!d&&c?c:l;if(Oc(p,this.protocolAllowlist))return Promise.resolve();if(!u.ignoreBlocker){const g=this.history.getBlockers?.()??[];for(const y of g)if(y?.blockerFn&&await y.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return u.replace?window.location.replace(p):window.location.href=p,Promise.resolve()}return this.buildAndCommitLocation({...u,href:l,to:a,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const a=this.matchRoutes(this.latestLocation),o=this.stores.cachedMatches.get().filter(l=>!a.some(c=>c.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(a),this.stores.setCached(o)})},this.load=async a=>{let o,l,c;const u=this.stores.resolvedLocation.get()??this.stores.location.get();for(c=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad();const g=this.latestLocation,y=so(g,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...y}),this.emit({type:"onBeforeLoad",...y}),await c0({router:this,sync:a?.sync,forceStaleReload:u.href===g.href,matches:this.stores.pendingMatches.get(),location:g,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let m=null,w=null,x=null,_=null;this.batch(()=>{const E=this.stores.pendingMatches.get(),T=E.length,S=this.stores.matches.get();m=T?S.filter(k=>!this.stores.pendingMatchStores.has(k.id)):null;const R=new Set;for(const k of this.stores.pendingMatchStores.values())k.routeId&&R.add(k.routeId);const O=new Set;for(const k of this.stores.matchStores.values())k.routeId&&O.add(k.routeId);w=T?S.filter(k=>!R.has(k.routeId)):null,x=T?E.filter(k=>!O.has(k.routeId)):null,_=T?E.filter(k=>O.has(k.routeId)):S,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),T&&(this.stores.setMatches(E),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...m.filter(k=>k.status!=="error"&&k.status!=="notFound"&&k.status!=="redirected")]),this.clearExpiredCache())});for(const[E,T]of[[w,"onLeave"],[x,"onEnter"],[_,"onStay"]])if(E)for(const S of E)this.looseRoutesById[S.routeId].options[T]?.(S)})})}})}catch(g){en(g)?(o=g,this.navigate({...o.options,replace:!0,ignoreBlocker:!0})):_t(g)&&(l=g);const y=o?o.status:l?404:this.stores.matches.get().some(m=>m.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(y),this.stores.redirect.set(o)})}this.latestLoadPromise===c&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=c,await c;this.latestLoadPromise&&c!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.stores.matches.get().some(p=>p.status==="error")&&(d=500),d!==void 0&&this.stores.statusCode.set(d)},this.startViewTransition=a=>{const o=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,o&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let l;if(typeof o=="object"&&this.isViewTransitionTypesSupported){const c=this.latestLocation,u=this.stores.resolvedLocation.get(),d=typeof o.types=="function"?o.types(so(c,u)):o.types;if(d===!1){a();return}l={update:a,types:d}}else l=a;document.startViewTransition(l)}else a()},this.updateMatch=(a,o)=>{this.startTransition(()=>
10{const l=this.stores.pendingMatchStores.get(a);if(l){l.set(o);return}const c=this.stores.matchStores.get(a);if(c){c.set(o);return}const u=this.stores.cachedMatchStores.get(a);if(u){const d=o(u.get());d.status==="redirected"?this.stores.cachedMatchStores.delete(a)&&this.stores.cachedIds.set(p=>p.filter(g=>g!==a)):u.set(d)}})},this.getMatch=a=>this.stores.cachedMatchStores.get(a)?.get()??this.stores.pendingMatchStores.get(a)?.get()??this.stores.matchStores.get(a)?.get(),this.invalidate=a=>{const o=l=>a?.filter?.(l)??!0?{...l,invalid:!0,...a?.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(o)),this.stores.setCached(this.stores.cachedMatches.get().map(o)),this.stores.setPending(this.stores.pendingMatches.get().map(o))}),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.getParsedLocationHref=a=>a.publicHref||"/",this.resolveRedirect=a=>{const o=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){const l=a.options._builtLocation??this.buildLocation(a.options),c=this.getParsedLocationHref(l);a.options.href=c,a.headers.set("Location",c)}else if(o)try{const l=new URL(o);if(this.origin&&l.origin===this.origin){const c=l.pathname+l.search+l.hash;a.options.href=c,a.headers.set("Location",c)}}catch{}if(a.options.href&&!a.options._builtLocation&&Oc(a.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return a.headers.get("Location")||a.headers.set("Location",a.options.href),a},this.clearCache=a=>{const o=a?.filter;o!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(l=>!o(l))):this.stores.setCached([])},this.clearExpiredCache=()=>{const a=Date.now(),o=l=>{const c=this.looseRoutesById[l.routeId];if(!c.options.loader)return!0;const u=(l.preload?c.options.preloadGcTime??this.options.defaultPreloadGcTime:c.options.gcTime??this.options.defaultGcTime)??300*1e3;return l.status==="error"?!0:a-l.updatedAt>=u};this.clearCache({filter:o})},this.loadRouteChunk=Cr,this.preloadRoute=async a=>{const o=a._builtLocation??this.buildLocation(a);let l=this.matchRoutes(o,{throwOnError:!0,preload:!0,dest:a});const c=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),u=new Set([...c,...this.stores.cachedIds.get()]),d=l.filter(p=>!u.has(p.id));if(d.length){const p=this.stores.cachedMatches.get();this.stores.setCached([...p,...d])}try{return l=await c0({router:this,matches:l,location:o,preload:!0,updateMatch:(p,g)=>{c.has(p)?l=l.map(y=>y.id===p?g(y):y):this.updateMatch(p,g)}}),l}catch(p){if(en(p))return p.options.reloadDocument?void 0:await this.preloadRoute({...p.options,_fromLocation:o});_t(p)||console.error(p);return}},this.matchRoute=(a,o)=>{const l={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},c=this.buildLocation(l);if(o?.pending&&this.stores.status.get()!=="pending")return!1;const u=(o?.pending===void 0?!this.stores.isLoading.get():o.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),d=nE(c.pathname,o?.caseSensitive??!1,o?.fuzzy??!1,u.pathname,this.processedTree);return!d||a.params&&!$t(d.rawParams,a.params,{partial:!0})?!1:o?.includeSearch??!0?$t(u.search,c.search,{partial:!0})?d.rawParams:!1:d.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(a=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??SE,parseSearch:e.parseSearch??xE,protocolAllowlist:e.protocolAllowlist??QA}),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:e,routesByPath:t,processedTree:a}){this.routesById=e,this.routesByPath=t,this.processedTree=a;const o=this.options.notFoundRoute;o&&(o.init({originalIndex:99999999999}),this.routesById[o.id]=o)}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){const a=this.getMatchedRoutes(e.pathname),{foundRoute:o,routeParam
10s:l,parsedParams:c}=a;let{matchedRoutes:u}=a,d=!1;(o?o.path!=="/"&&l["**"]:ua(e.pathname))&&(this.options.notFoundRoute?u=[...u,this.options.notFoundRoute]:d=!0);const p=d?GE(this.options.notFoundMode,u):void 0,g=new Array(u.length),y=new Map;for(const m of this.stores.matchStores.values())m.routeId&&y.set(m.routeId,m.get());for(let m=0;m<u.length;m++){const w=u[m],x=g[m-1];let _,E,T;{const re=x?.search??e.search,ae=x?._strictSearch??void 0;try{const le=xc(w.options.validateSearch,{...re})??void 0;_={...re,...le},E={...ae,...le},T=void 0}catch(le){let L=le;if(le instanceof zc||(L=new zc(le.message,{cause:le})),t?.throwOnError)throw L;_=re,E={},T=L}}const S=w.options.loaderDeps?.({search:_})??"",R=S?JSON.stringify(S):"",{interpolatedPath:O,usedParams:k}=n0({path:w.fullPath,params:l,decoder:this.pathParamsDecoder,server:this.isServer}),q=w.id+O+R,F=this.getMatch(q),B=y.get(w.id),j=F?._strictParams??k;let G;if(!F)try{m0(w,k,c,j)}catch(re){if(_t(re)||en(re)?G=re:G=new VE(re.message,{cause:re}),t?.throwOnError)throw G}Object.assign(l,j);const Z=B?"stay":"enter";let te;if(F)te={...F,cause:Z,params:B?.params??l,_strictParams:j,search:Va(B?B.search:F.search,_),_strictSearch:E};else{const re=w.options.loader||w.options.beforeLoad||w.lazyFn||Zw(w)?"pending":"success";te={id:q,ssr:w.options.ssr,index:m,routeId:w.id,params:B?.params??l,_strictParams:j,pathname:O,updatedAt:Date.now(),search:B?Va(B.search,_):_,_strictSearch:E,searchError:void 0,status:re,isFetching:!1,error:void 0,paramsError:G,__routeContext:void 0,_nonReactive:{loadPromise:ni()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:Z,loaderDeps:B?oa(B.loaderDeps,S):S,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:w.options.staticData||{},fullPath:w.fullPath}}t?.preload||(te.globalNotFound=p===w.id),te.searchError=T;const oe=this.getParentContext(x);te.context={...oe,...te.__routeContext,...te.__beforeLoadContext},g[m]=te}for(let m=0;m<g.length;m++){const w=g[m],x=this.looseRoutesById[w.routeId],_=this.getMatch(w.id),E=y.get(w.routeId);if(w.params=E?Va(E.params,l):l,!_){const T=g[m-1],S=this.getParentContext(T);if(x.options.context){const R={deps:w.loaderDeps,params:w.params,context:S??{},location:e,navigate:O=>this.navigate({...O,_fromLocation:e}),buildLocation:this.buildLocation,cause:w.cause,abortController:w.abortController,preload:!!w.preload,matches:g,routeId:x.id};w.__routeContext=x.options.context(R)??void 0}w.context={...S,...w.__routeContext,...w.__beforeLoadContext}}}return g}matchRoutesLightweight(e){const{matchedRoutes:t,routeParams:a,parsedParams:o}=this.getMatchedRoutes(e.pathname),l=Ar(t),c={...e.search};for(const y of t)try{Object.assign(c,xc(y.options.validateSearch,c))}catch{}const u=Ar(this.stores.matchesId.get()),d=u&&this.stores.matchStores.get(u)?.get(),p=d&&d.routeId===l.id&&d.pathname===e.pathname;let g;if(p)g=d.params;else{const y=Object.assign(Object.create(null),a);for(const m of t)try{m0(m,a,o??{},y)}catch{}g=y}return{matchedRoutes:t,fullPath:l.fullPath,search:c,params:g}}},zc=class extends Error{},VE=class extends Error{};function IE(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function xc(e,t){if(e==null)return{};if("~standard"in e){const a=e["~standard"].validate(t);if(a instanceof Promise)throw new zc("Async validation not supported");if(a.issues)throw new zc(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function HE({pathname:e,routesById:t,processedTree:a}){const o=Object.create(null),l=ua(e);let c,u;const d=sE(l,a,!0);return d&&(c=d.route,Object.assign(o,d.rawParams),u=Object.assign(Object.create(null),d.parsedParams)),{matchedRoutes:d?.branch||[t.__root__],routeParams:o,foundRoute:c,parsedParams:u}}function qE({search:e,dest:t,destRoutes:a,_includeValidateSearch:o}){return FE(a)(e,t,o??!1)}function FE(e){const t={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const l of e){if("search"in l.options)l.options.search?.middlewares&&t.middlewares.push(...l.options.search.middlewares);else if(l.options.preSearchFilters||l.options.postSearchFilters){const c=({search:u,next:d})=>{let p=u;
10"preSearchFilters"in l.options&&l.options.preSearchFilters&&(p=l.options.preSearchFilters.reduce((y,m)=>m(y),u));const g=d(p);return"postSearchFilters"in l.options&&l.options.postSearchFilters?l.options.postSearchFilters.reduce((y,m)=>m(y),g):g};t.middlewares.push(c)}if(l.options.validateSearch){const c=({search:u,next:d})=>{const p=d(u);if(!t._includeValidateSearch)return p;try{return{...p,...xc(l.options.validateSearch,p)??void 0}}catch{return p}};t.middlewares.push(c)}}const a=({search:l})=>{const c=t.dest;return c.search?c.search===!0?l:ia(c.search,l):{}};t.middlewares.push(a);const o=(l,c,u)=>{if(l>=u.length)return c;const d=u[l];return d({search:c,next:g=>o(l+1,g,u)})};return function(c,u,d){return t.dest=u,t._includeValidateSearch=d,o(0,c,t.middlewares)}}function GE(e,t){if(e!=="root")for(let a=t.length-1;a>=0;a--){const o=t[a];if(o.children)return o.id}return Wa}function m0(e,t,a,o){const l=e.options.params?.parse??e.options.parseParams;if(l)if(e.options.skipRouteOnParseError)for(const c in t)c in a&&(o[c]=a[c]);else{const c=l(o);Object.assign(o,c)}}var Kn=Symbol.for("TSR_DEFERRED_PROMISE");function YE(e,t){const a=e;return a[Kn]||(a[Kn]={status:"pending"},a.then(o=>{a[Kn].status="success",a[Kn].data=o}).catch(o=>{a[Kn].status="error",a[Kn].error={data:PE(o),__isServerError:!0}})),a}var QE="Error preloading route! âï¸";function p0(e,t){if(e)return typeof e=="string"?e:e[t]}function KE(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}function XE(e){if(e.tag!=="link")return;const t=e.attrs?.rel,a=e.attrs?.href;if(typeof a=="string"&&(typeof t=="string"?t.split(/\s+/):[]).includes("stylesheet"))return a}function ZE(e,t){const a=XE(t);return!!a&&e?.inlineCss?.styles[a]!==void 0}var Ww=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{this.originalIndex=t.originalIndex;const a=this.options,o=!a?.path&&!a?.id;this.parentRoute=this.options.getParentRoute?.(),o?this._path=Wa:this.parentRoute||tn();let l=o?Wa:a?.path;l&&l!=="/"&&(l=Hw(l));const c=a?.id||l;let u=o?Wa:bc([this.parentRoute.id==="__root__"?"":this.parentRoute.id,c]);l==="__root__"&&(l="/"),u!=="__root__"&&(u=bc(["/",u]));const d=u==="__root__"?"/":bc([this.parentRoute.fullPath,l]);this._path=l,this._id=u,this._fullPath=d,this._to=ua(d)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>Gw({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},WE=class extends Ww{constructor(e){super(e)}};function JE(e){if(typeof document<"u"&&document.querySelector){const t=e.stores.location.get(),a=t.state.__hashScrollIntoViewOptions??!0;if(a&&t.hash!==""){const o=document.getElementById(t.hash);o&&o.scrollIntoView(a)}}}const _s=Symbol.asyncIterator,Jw=Symbol.hasInstance,ao=Symbol.isConcatSpreadable,Ts=Symbol.iterator,$w=Symbol.match,ex=Symbol.matchAll,tx=Symbol.replace,nx=Symbol.search,sx=Symbol.species,ax=Symbol.split,ix=Symbol.toPrimitive,io=Symbol.toStringTag,ox=Symbol.unscopables,rx={[_s]:0,[Jw]:1,[ao]:2,[Ts]:3,[$w]:4,[ex]:5,[tx]:6,[nx]:7,[sx]:8,[ax]:9,[ix]:10,[io]:11,[ox]:12},$E={0:_s,1:Jw,2:ao,3:Ts,4:$w,5:ex,6:tx,7:nx,8:sx,9:ax,10:ix,11:io,12:ox},e2={2:!0,3:!1,1:void 0,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:NaN},t2={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},n2={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function je(e,t,a,o,l,c,u,d,p,g,y,m){return{t:e,i:t,s:a,c:o,m:l,p:c,e:u,a:d,f:p,b:g,o:y,l:m}}function ma(e){return je(2,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}const lx=ma(2),cx=ma(3),s2=ma(1),a2=ma(0),i2=ma(4),o2=ma(5),r2=ma(6),l2=ma(7);function c2(e){switch(e){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}}function pa(e){let t="",a=0,o;for(let l=0,c=e.length;l<c;l++)o=c2(e[l]),o&&(t+=e.slice(a,l)+o,a=l+1);return a===0?t=e:t+=e.slice(a),t}function u2(e){switch(e){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 e}}function ga(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,u2)}const lc="__SEROVAL_REFS__",ux=new Map,Ji=new Map;function fx(e){return ux.has(e)}function f2(e){return Ji.has(e)}function d2(e){if(fx(e))return ux.get(e);throw new q2(e)}function h2(e){if(f2(e))return Ji.get(e);throw new F2(e)}typeof globalThis<"u"?Object.defineProperty(globalThis,lc,{value:Ji,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,lc,{value:Ji,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,lc,{value:Ji,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,lc,{value:Ji,configurable:!0,writable:!1,enumerable:!1});function $h(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function m2(e){const t=t2[$h(e)];return e.name!==t?{name:e.name}:e.constructor.name!==t?{name:e.constructor.name}:{}}function dx(e,t){let a=m2(e);const o=Object.getOwnPropertyNames(e);for(let l=0,c=o.length,u;l<c;l++)u=o[l],u!=="name"&&u!=="message"&&(u==="stack"?t&4&&(a=a||{},a[u]=e[u]):(a=a||{},a[u]=e[u]));return a}function hx(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}
12function p2(e){switch(e){case Number.POSITIVE_INFINITY:return o2;case Number.NEGATIVE_INFINITY:return r2}return e!==e?l2:Object.is(e,-0)?i2:je(0,void 0,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function mx(e){return je(1,void 0,pa(e),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function g2(e){return je(3,void 0,""+e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function y2(e){return je(4,e,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function v2(e,t){const a=t.valueOf();return je(5,e,a!==a?"":t.toISOString(),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function $s(e,t,a){return je(36,e,a.toString(),t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function b2(e,t){return je(6,e,void 0,pa(t.source),t.flags,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function w2(e,t){return je(17,e,rx[t],void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function x2(e,t){return je(18,e,pa(d2(t)),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function S2(e,t,a){return je(25,e,a,pa(t),void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function _2(e,t,a){return je(9,e,void 0,void 0,void 0,void 0,void 0,a,void 0,void 0,hx(t),void 0)}function T2(e,t){return je(21,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function A2(e,t,a){return je(15,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,a,t.byteOffset,void 0,t.length)}function E2(e,t,a){return je(16,e,void 0,t.constructor.name,void 0,void 0,void 0,void 0,a,t.byteOffset,void 0,t.length)}function R2(e,t,a){return je(20,e,void 0,void 0,void 0,void 0,void 0,void 0,a,t.byteOffset,void 0,t.byteLength)}function C2(e,t,a){return je(13,e,$h(t),void 0,pa(t.message),a,void 0,void 0,void 0,void 0,void 0,void 0)}function M2(e,t,a){return je(14,e,$h(t),void 0,pa(t.message),a,void 0,void 0,void 0,void 0,void 0,void 0)}function j2(e,t){return je(7,e,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,void 0)}function k2(e,t){return je(28,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function O2(e,t){return je(30,void 0,void 0,void 0,void 0,void 0,void 0,[e,t],void 0,void 0,void 0,void 0)}function D2(e,t,a){return je(31,e,void 0,void 0,void 0,void 0,void 0,a,t,void 0,void 0,void 0)}function L2(e,t){return je(32,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function z2(e,t){return je(33,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function B2(e,t){return je(34,e,void 0,void 0,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0)}function N2(e,t,a,o){return je(35,e,a,void 0,void 0,void 0,void 0,t,void 0,void 0,void 0,o)}const P2={parsing:1,serialization:2,deserialization:3};function U2(e){return`Seroval Error (step: ${P2[e]})`}const V2=(e,t)=>U2(e);var px=class extends Error{constructor(e,t){super(V2(e)),this.cause=t}},g0=class extends px{constructor(e){super("parsing",e)}},I2=class extends px{constructor(e){super("deserialization",e)}};function Es(e){return`Seroval Error (specific: ${e})`}var Jc=class extends Error{constructor(e){super(Es(1)),this.value=e}},em=class extends Error{constructor(e){super(Es(2))}},H2=class extends Error{constructor(e){super(Es(3))}},$c=class extends Error{constructor(e){super(Es(4))}},q2=class extends Error{constructor(e){super(Es(5)),this.value=e}},F2=class extends Error{constructor(e){super(Es(6))}},G2=class extends Error{constructor(e){super(Es(7))}},Cn=class extends Error{constructor(e){super(Es(8))}},gx=class extends Error{constructor(e){super(Es(9))}},Y2=class{constructor(e,t){this.value=e,this.replacement=t}};const tm=()=>{const e={p:0,s:0,f:0};return e.p=new Promise((t,a)=>{e.s=t,e.f=a}),e},Q2=()=>{const e=[],t=[];let a=!0,o=!1,l=0;const c={flush(u,d,p){for(p=0;p<l;p++)t[p]&&t[p][d](u)},up(u,d,p,g){for(d=0,p=e.length;d<p;d++)g=e[d],!a&&d===p-1?u[o?"return":"throw"](g):u.next(g)},on(u,d){return a&&(d=l++,t[d]=u),c.up(u),()=>{a&&(t[d]=t[l],t[l--]=void 0)}}};return{__SEROVAL_STREAM__:!0,on(u){return c.on(u)},next(u){a&&(e.push(u),c.flush(u,"next"))},throw(u){a&&(e.push(u),c.flush(u,"throw"),a=!1,o=!1,t.length=0)},return(u){a&&(e.push(u),c.flush(u,"return"),a=!1,o=!0,t.length=0)}}},K2=e=>t=>()=>{let a=0;const o={[e](){return o},next(){if(a>t.d)return{done:!0,value:void 0};const l=a++,c=t.v[l];if(l===t.t)throw c;return{done:l===t.d,value:c}}};return o},X2=(e,t)=>
12a=>()=>{let o=0,l=-1,c=!1;const u=[],d=[],p={finalize(y=0,m=d.length){for(;y<m;y++)d[y].s({done:!0,value:void 0})}};a.on({next(y){const m=d.shift();m&&m.s({done:!1,value:y}),u.push(y)},throw(y){const m=d.shift();m&&m.f(y),p.finalize(),l=u.length,c=!0,u.push(y)},return(y){const m=d.shift();m&&m.s({done:!0,value:y}),p.finalize(),l=u.length,u.push(y)}});const g={[e](){return g},next(){if(l===-1){const w=o++;if(w>=u.length){const x=t();return d.push(x),x.p}return{done:!1,value:u[w]}}if(o>l)return{done:!0,value:void 0};const y=o++,m=u[y];if(y!==l)return{done:!1,value:m};if(c)throw m;return{done:!0,value:m}}};return g},Z2=e=>{const t=atob(e),a=t.length,o=new Uint8Array(a);for(let l=0;l<a;l++)o[l]=t.charCodeAt(l);return o.buffer};function W2(e){return"__SEROVAL_SEQUENCE__"in e}function yx(e,t,a){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:a}}function J2(e){const t=[];let a=-1,o=-1;const l=e[Ts]();for(;;)try{const c=l.next();if(t.push(c.value),c.done){o=t.length-1;break}}catch(c){a=t.length,t.push(c)}return yx(t,a,o)}const $2=K2(Ts);function eR(e){return $2(e)}const tR={},nR={},sR={0:{},1:{},2:{},3:{},4:{},5:{}};function aR(e){return"__SEROVAL_STREAM__"in e}function si(){return Q2()}function iR(e){const t=si(),a=e[_s]();async function o(){try{const l=await a.next();l.done?t.return(l.value):(t.next(l.value),await o())}catch(l){t.throw(l)}}return o().catch(()=>{}),t}const oR=X2(_s,tm);function rR(e){return oR(e)}async function lR(e){try{return[1,await e]}catch(t){return[0,t]}}function cR(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:127^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function Sc(e,t){e.marked.add(t)}function uR(e,t){const a=e.refs.size;return e.refs.set(t,a),a}function eu(e,t){const a=e.refs.get(t);return a!=null?(Sc(e,a),{type:1,value:y2(a)}):{type:0,value:uR(e,t)}}function nm(e,t){const a=eu(e,t);return a.type===1?a:fx(t)?{type:2,value:x2(a.value,t)}:a}function Ka(e,t){const a=nm(e,t);if(a.type!==0)return a.value;if(t in rx)return w2(a.value,t);throw new Jc(t)}function tu(e,t){const a=eu(e,sR[t]);return a.type===1?a.value:je(26,a.value,t,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0)}function fR(e){const t=eu(e,tR);return t.type===1?t.value:je(27,t.value,void 0,void 0,void 0,void 0,void 0,void 0,Ka(e,Ts),void 0,void 0,void 0)}function dR(e){const t=eu(e,nR);return t.type===1?t.value:je(29,t.value,void 0,void 0,void 0,void 0,void 0,[tu(e,1),Ka(e,_s)],void 0,void 0,void 0,void 0)}function hR(e,t,a,o){return je(a?11:10,e,void 0,void 0,void 0,o,void 0,void 0,void 0,void 0,hx(t),void 0)}function mR(e,t,a,o){return je(8,t,void 0,void 0,void 0,void 0,{k:a,v:o},void 0,tu(e,0),void 0,void 0,void 0)}function pR(e,t,a){const o=new Uint8Array(a);let l="";for(let c=0,u=o.length;c<u;c++)l+=String.fromCharCode(o[c]);return je(19,t,pa(btoa(l)),void 0,void 0,void 0,void 0,void 0,tu(e,5),void 0,void 0,void 0)}function gR(e,t){return{base:cR(e,t),child:void 0}}var yR=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return yt(this._p,this.depth,e)}};async function vR(e,t,a){const o=[];for(let l=0,c=a.length;l<c;l++)l in a?o[l]=await yt(e,t,a[l]):o[l]=0;return o}async function bR(e,t,a,o){return _2(a,o,await vR(e,t,o))}async function sm(e,t,a){const o=Object.entries(a),l=[],c=[];for(let u=0,d=o.length;u<d;u++)l.push(pa(o[u][0])),c.push(await yt(e,t,o[u][1]));return Ts in a&&(l.push(Ka(e.base,Ts)),c.push(k2(fR(e.base),await yt(e,t,J2(a))))),_s in a&&(l.push(Ka(e.base,_s)),c.push(O2(dR(e.base),await yt(e,t,iR(a))))),io in a&&(l.push(Ka(e.base,io)),c.push(mx(a[io]))),ao in a&&(l.push(Ka(e.base,ao)),c.push(a[ao]?lx:cx)),{k:l,v:c}}async function Bd(e,t,a,o,l){return hR(a,o,l,await sm(e,t,o))}async function wR(e,t,a,o){return T2(a,await yt(e,t,o.valueOf()))}async function xR(e,t,a,o){return A2(a,o,await yt(e,t,o.buffer))}async function SR(e,t,a,o){return E2(a,o,await yt(e,t,o.buffer))}async function _R(e,t,a,o){return R2(a,o,await yt(e,t,o.buffer))}async function y0(e,t,a,o){const l=dx(o,e.base.features);return C2(a,o,l?await sm(e,t,l):void 0)}async function TR(e,t,a,o){const l=dx(o,e.base.features);return M2(a,o,l?await sm(e,t,l):void 0)}async function AR(e,t,a,o){const l=[],c=[];for(const[u,d]of o.entries())l.push(await yt(e,t,u)),c.push(await yt(e,t,d));return mR(e.base,a,l,c)}async function ER(e,t,a,o){const l=[];for(const c of o.keys())l.push(await yt(e,t,c));return j2(a,l)}async function vx(e,t,a,o){const l=e.base.plugins;if(l)for(let c=0,u=l.length;c<u;c++){const d=l[c];if(d.parse.async&&d.test(o))return S2(a,d.tag,await d.parse.async(o,new yR(e,t),{id:a}))}}async function RR(e,t,a,o){const[l,c]=await lR(o);return je(12,a,l,void 0,void 0,void 0,void 0,void 0,await yt(e,t,c),void 0,void 0,void 0)}function CR(e,t,a,o,l){const c=[],u=a.on({next:d=>{Sc(this.base,t),yt(this,e,d).then(p=>{c.push(L2(t,p))},p=>{l(p),u()})},throw:d=>{Sc(this.base,t),yt(this,e,d).then(p=>{c.push(z2(t,p)),o(c),u()},p=>{l(p),u()})},return:d=>{Sc(this.base,t),yt(this,e,d).then(p=>{c.push(B2(t,p)),o(c),u()},p=>{l(p),u()})}})}async function MR(e,t,a,o){return D2(a,tu(e.base,4),await new Promise(CR.bind(e,t,a,o)))}async function jR(e,t,a,o){const l=[];for(let c=0,u=o.v.length;c<u;c++)l[c]=await yt(e,t,o.v[c]);return N2(a,l,o.t,o.d)}async function kR(e,t,a,o){if(Array.isArray(o))return bR(e,t,a,o);if(aR(o))return MR(e,t,a,o);if(W2(o))return jR(e,t,a,o);let l=o.constructor;if(l!==void 0&&typeof l!="function"){const d=Object.getPrototypeOf(o
12);l=d===null?void 0:d.constructor}if(l===Y2)return yt(e,t,o.replacement);const c=await vx(e,t,a,o);if(c)return c;switch(l){case Object:return Bd(e,t,a,o,!1);case void 0:return Bd(e,t,a,o,!0);case Date:return v2(a,o);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return y0(e,t,a,o);case Number:case Boolean:case String:case BigInt:return wR(e,t,a,o);case ArrayBuffer:return pR(e.base,a,o);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return xR(e,t,a,o);case DataView:return _R(e,t,a,o);case Map:return AR(e,t,a,o);case Set:return ER(e,t,a,o)}if(l===Promise||o instanceof Promise)return RR(e,t,a,o);const u=e.base.features;if(u&32&&l===RegExp)return b2(a,o);if(u&16)switch(l){case BigInt64Array:case BigUint64Array:return SR(e,t,a,o)}if(u&1&&typeof AggregateError<"u"&&(l===AggregateError||o instanceof AggregateError))return TR(e,t,a,o);if(u&64&&typeof Temporal<"u")switch(l){case Temporal.Instant:return $s(a,0,o);case Temporal.Duration:return $s(a,1,o);case Temporal.PlainDate:return $s(a,2,o);case Temporal.PlainDateTime:return $s(a,3,o);case Temporal.PlainMonthDay:return $s(a,4,o);case Temporal.PlainTime:return $s(a,5,o);case Temporal.PlainYearMonth:return $s(a,6,o);case Temporal.ZonedDateTime:return $s(a,7,o)}if(o instanceof Error)return y0(e,t,a,o);if(Ts in o||_s in o)return Bd(e,t,a,o,!!l);throw new Jc(o)}async function OR(e,t,a){const o=nm(e.base,a);if(o.type!==0)return o.value;const l=await vx(e,t,o.value,a);if(l)return l;throw new Jc(a)}async function yt(e,t,a){if(t>=e.base.depthLimit)throw new gx(e.base.depthLimit);switch(typeof a){case"boolean":return a?lx:cx;case"undefined":return s2;case"string":return mx(a);case"number":return p2(a);case"bigint":return g2(a);case"object":if(a){const o=nm(e.base,a);return o.type===0?await kR(e,t+1,o.value,a):o.value}return a2;case"symbol":return Ka(e.base,a);case"function":return OR(e,t,a);default:throw new Jc(a)}}async function DR(e,t){try{return await yt(e,0,t)}catch(a){throw a instanceof g0?a:new g0(a)}}function bx(e,t){for(let a=0,o=t.length;a<o;a++){const l=t[a];e.has(l)||(e.add(l),l.extends&&bx(e,l.extends))}}function wx(e){if(e){const t=new Set;return bx(t,e),[...t]}}function LR(e){switch(e){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 G2(e)}}function zR(e){switch(e){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function BR(e){switch(e){case _s:case ao:case io:case Ts:return!0;default:return!1}}const NR=1e6,PR=1e4,UR=2e4;function xx(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}const VR=1e3;function IR(e,t){var a;const o=t.refs||new Map;return"types"in o||Object.assign(o,{types:new Map}),{mode:e,plugins:t.plugins,refs:o,features:(a=t.features)!==null&&a!==void 0?a:127^(t.disabledFeatures||0),depthLimit:t.depthLimit||VR}}function HR(e){return{mode:2,base:IR(2,e),child:void 0}}var qR=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return Fe(this._p,this.depth,e)}};function Sx(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Cn({t:4,i:t});if(e.refs.has(t))throw new Error("Conflicted ref id: "+t)}function _x(e){return!!e&&typeof e=="object"&&"then"in e&&typeof e.then=="function"}function FR(e,t,a){return Sx(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,a),a}function GR(e,t,a){return Sx(e.base,t),e.base.refs.set(t,a),a}function mt(e,t,a){return e.mode===1?FR(e,t,a):GR(e,t,a)}function hh(e,t,a){if(Object.hasOwn(t,a))return t[a];throw new Cn(e)}function YR(e,t){return mt(e,t.i,h2(ga(t.s)))}function QR(e,t,a){const o=a.a,l=o.length,c=mt(e,a.i,new Array(l));for(let u=0,d;u<l;u++)d=o[u],d&&(c[u]=Fe(e,t,d));return xx(c,a.o),c}function v0(e,t,a){zR(t)?e[t]=a:Object.defineProperty(e,t,{value:a,configurable:!0,enumerable:!0,writable:!0})}
12function KR(e,t,a,o,l){if(typeof o=="string")v0(a,ga(o),Fe(e,t,l));else{const c=Fe(e,t,o);switch(typeof c){case"string":v0(a,c,Fe(e,t,l));break;case"symbol":BR(c)&&(a[c]=Fe(e,t,l));break;default:throw new Cn(o)}}}function Tx(e,t,a){e.base.refs.types.set(t,a)}function nu(e,t,a,o){if(e.base.refs.types.get(a)!==o)throw new Cn(t)}function Ax(e,t,a,o){const l=a.k;if(l.length>0)for(let c=0,u=a.v,d=l.length;c<d;c++)KR(e,t,o,l[c],u[c]);return o}function XR(e,t,a){const o=mt(e,a.i,a.t===10?{}:Object.create(null));return Ax(e,t,a.p,o),xx(o,a.o),o}function ZR(e,t){return mt(e,t.i,new Date(t.s))}function WR(e,t){if(!(e.base.features&64))throw new em(t);let a;switch(t.c){case 0:a=Temporal.Instant.from(t.s);break;case 1:a=Temporal.Duration.from(t.s);break;case 2:a=Temporal.PlainDate.from(t.s);break;case 3:a=Temporal.PlainDateTime.from(t.s);break;case 4:a=Temporal.PlainMonthDay.from(t.s);break;case 5:a=Temporal.PlainTime.from(t.s);break;case 6:a=Temporal.PlainYearMonth.from(t.s);break;case 7:a=Temporal.ZonedDateTime.from(t.s);break;default:throw new Cn(t)}return mt(e,t.i,a)}function JR(e,t){if(e.base.features&32){const a=ga(t.c);if(a.length>UR)throw new Cn(t);return mt(e,t.i,new RegExp(a,t.m))}throw new em(t)}function $R(e,t,a){const o=mt(e,a.i,new Set);for(let l=0,c=a.a,u=c.length;l<u;l++)o.add(Fe(e,t,c[l]));return o}function eC(e,t,a){const o=mt(e,a.i,new Map);for(let l=0,c=a.e.k,u=a.e.v,d=c.length;l<d;l++)o.set(Fe(e,t,c[l]),Fe(e,t,u[l]));return o}function tC(e,t){if(t.s.length>NR)throw new Cn(t);return mt(e,t.i,Z2(ga(t.s)))}function nC(e,t,a){var o;const l=LR(a.c),c=Fe(e,t,a.f),u=(o=a.b)!==null&&o!==void 0?o:0;if(u<0||u>c.byteLength)throw new Cn(a);return mt(e,a.i,new l(c,u,a.l))}function sC(e,t,a){var o;const l=Fe(e,t,a.f),c=(o=a.b)!==null&&o!==void 0?o:0;if(c<0||c>l.byteLength)throw new Cn(a);return mt(e,a.i,new DataView(l,c,a.l))}function Ex(e,t,a,o){if(a.p){const l=Ax(e,t,a.p,{});Object.defineProperties(o,Object.getOwnPropertyDescriptors(l))}return o}function aC(e,t,a){return Ex(e,t,a,mt(e,a.i,new AggregateError([],ga(a.m))))}function iC(e,t,a){const o=hh(a,n2,a.s);return Ex(e,t,a,mt(e,a.i,new o(ga(a.m))))}function oC(e,t,a){const o=tm(),l=mt(e,a.i,o.p),c=Fe(e,t,a.f);if(_x(c))throw new Cn(a.f);return a.s?o.s(c):o.f(c),l}function rC(e,t,a){return mt(e,a.i,Object(Fe(e,t,a.f)))}function lC(e,t,a){const o=e.base.plugins;if(o){const l=ga(a.c);for(let c=0,u=o.length;c<u;c++){const d=o[c];if(d.tag===l)return mt(e,a.i,d.deserialize(a.s,new qR(e,t),{id:a.i}))}}throw new H2(a.c)}function cC(e,t){const a=mt(e,t.i,mt(e,t.s,tm()).p);return Tx(e,t.s,22),a}function uC(e,t,a){const o=e.base.refs.get(a.i);if(o){nu(e,a,a.i,22);const l=Fe(e,t,a.a[1]);if(_x(l))throw new Cn(a.a[1]);a.t===23?o.s(l):o.f(l);return}throw new $c("Promise")}function fC(e,t,a){return Fe(e,t,a.a[0]),eR(Fe(e,t,a.a[1]))}function dC(e,t,a){return Fe(e,t,a.a[0]),rR(Fe(e,t,a.a[1]))}function hC(e,t,a){const o=mt(e,a.i,si());Tx(e,a.i,31);const l=a.a,c=l.length;if(c)for(let u=0;u<c;u++)Fe(e,t,l[u]);return o}function mC(e,t,a){const o=e.base.refs.get(a.i);if(o){nu(e,a,a.i,31),o.next(Fe(e,t,a.f));return}throw new $c("Stream")}function pC(e,t,a){const o=e.base.refs.get(a.i);if(o){nu(e,a,a.i,31),o.throw(Fe(e,t,a.f));return}throw new $c("Stream")}function gC(e,t,a){const o=e.base.refs.get(a.i);if(o){nu(e,a,a.i,31),o.return(Fe(e,t,a.f));return}throw new $c("Stream")}function yC(e,t,a){Fe(e,t,a.f)}function vC(e,t,a){Fe(e,t,a.a[1])}function bC(e,t,a){const o=mt(e,a.i,yx([],a.s,a.l));for(let l=0,c=a.a.length;l<c;l++)o.v[l]=Fe(e,t,a.a[l]);return o}function Fe(e,t,a){if(t>e.base.depthLimit)throw new gx(e.base.depthLimit);switch(t+=1,a.t){case 2:return hh(a,e2,a.s);case 0:return Number(a.s);case 1:return ga(String(a.s));case 3:if(String(a.s).length>PR)throw new Cn(a);return BigInt(a.s);case 4:return e.base.refs.get(a.i);case 18:return YR(e,a);case 9:return QR(e,t,a);case 10:case 11:return XR(e,t,a);case 5:return ZR(e,a);case 6:return JR(e,a);case 7:return $R(e,t,a);case 8:return eC(e,t,a);case 19:return tC(e,a);case 16:case 15:return nC(e,t,a);case 20:return sC(e,t,a);case 14:return aC(e,t,a);case 13:return iC(e,t,a);case 12:return oC(e,t,a);case 17:return hh(a,$E,a.s);case 21:return rC(e,t,a);case 25:return lC(e,t,a);case 22:return cC(e,a);case 23:case 24:return uC(e,t,a);case 28:return fC(e,t,a);case 30:return dC(e,t,a);case 31:return hC(e,t,a);case 32:return mC(e,t,a);case 33:return pC(e,t,a);case 34:return gC(e,t,a);case 27:return yC(e,t,a);case 29:return vC(e,t,a);case 35:return bC(e,t,a);case 36:return WR(e,a);default:throw new em(a)}}function wC(e,t){try{return Fe(e,0,t)}catch(a){throw new I2(a)}}function b0(e,t){return wC(HR({plugins:wx(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function xC(e,t={}){const a=gR(1,{plugins:wx(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await DR(a,e),f:a.base.features,m:Array.from(a.base.marked)}}function SC(e){return{tag:"$TSR/t/"+e.key,test:e.test,parse:{sync(t,a,o){return{v:a.parse(e.toSerializable(t))}},async async(t,a,o){return{v:await a.parse(e.toSerializable(t))}},stream(t,a,o){return{v:a.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,a,o){return e.fromSerializable(a.deserialize(t.v))}}}var _C=class{constructor(e,t){this.stream=e,this.hint=t?.hint??"binary"}}
12,Bc=globalThis.Buffer,Rx=!!Bc&&typeof Bc.from=="function";function Cx(e){if(e.length===0)return"";if(Rx)return Bc.from(e).toString("base64");const t=32768,a=[];for(let o=0;o<e.length;o+=t){const l=e.subarray(o,o+t);a.push(String.fromCharCode.apply(null,l))}return btoa(a.join(""))}function Mx(e){if(e.length===0)return new Uint8Array(0);if(Rx){const o=Bc.from(e,"base64");return new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}const t=atob(e),a=new Uint8Array(t.length);for(let o=0;o<t.length;o++)a[o]=t.charCodeAt(o);return a}var fr=Object.create(null),dr=Object.create(null),TC=e=>new ReadableStream({start(t){e.on({next(a){try{t.enqueue(Mx(a))}catch{}},throw(a){t.error(a)},return(){try{t.close()}catch{}}})}}),AC=new TextEncoder,EC=e=>new ReadableStream({start(t){e.on({next(a){try{typeof a=="string"?t.enqueue(AC.encode(a)):t.enqueue(Mx(a.$b64))}catch{}},throw(a){t.error(a)},return(){try{t.close()}catch{}}})}}),RC="(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;i++)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 w0(e){const t=si(),a=e.getReader();return(async()=>{try{for(;;){const{done:o,value:l}=await a.read();if(o){t.return(void 0);break}t.next(Cx(l))}}catch(o){t.throw(o)}finally{a.releaseLock()}})(),t}function x0(e){const t=si(),a=e.getReader(),o=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:l,value:c}=await a.read();if(l){try{const u=o.decode();u.length>0&&t.next(u)}catch{}t.return(void 0);break}try{const u=o.decode(c,{stream:!0});u.length>0&&t.next(u)}catch{t.next({$b64:Cx(c)})}}}catch(l){t.throw(l)}finally{a.releaseLock()}})(),t}var MC={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(e){return e===fr},parse:{sync(e,t,a){return{}},async async(e,t,a){return{}},stream(e,t,a){return{}}},serialize(e,t,a){return RC},deserialize(e,t,a){return fr}},{tag:"tss/RawStreamFactoryText",test(e){return e===dr},parse:{sync(e,t,a){return{}},async async(e,t,a){return{}},stream(e,t,a){return{}}},serialize(e,t,a){return CC},deserialize(e,t,a){return dr}}],test(e){return e instanceof _C},parse:{sync(e,t,a){const o=e.hint==="text"?dr:fr;return{hint:t.parse(e.hint),factory:t.parse(o),stream:t.parse(si())}},async async(e,t,a){const o=e.hint==="text"?dr:fr,l=e.hint==="text"?x0(e.stream):w0(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(o),stream:await t.parse(l)}},stream(e,t,a){const o=e.hint==="text"?dr:fr,l=e.hint==="text"?x0(e.stream):w0(e.stream);return{hint:t.parse(e.hint),factory:t.parse(o),stream:t.parse(l)}}},serialize(e,t,a){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t,a){const o=t.deserialize(e.stream);return t.deserialize(e.hint)==="text"?EC(o):TC(o)}};function jC(e){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(t,a,o){return e(typeof a?.deserialize=="function"?a.deserialize(t.streamId):t.streamId)}}}var kC={tag:"$TSR/Error",test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return"new Error("+t.serialize(e.message)+")"},deserialize(e,t){return new Error(t.deserialize(e.message))}};const aa={},jx=e=>new ReadableStream({start(t){e.on({next(a){try{t.enqueue(a)}catch{}},throw(a){t.error(a)},return(){try{t.close()}catch{}}})}}),OC={tag:"seroval-plugins/web/ReadableStreamFactory",test(e){return e===aa},parse:{sync(){return aa},async async(){return await Promise.resolve(aa)},stream(){return aa}},serialize(){return jx.toString()},deserialize(){return aa}};async function kx(e,t){try{const a=await t.read();a.done?(e.return(a.value),t.releaseLock()):(e.next(a.value),await kx(e,t))}catch(a){e.throw(a)}}function DC(e){e.cancel().catch(()=>{}),e.releaseLock()}function S0(e){const t=si(),a=e.getReader(),o=DC.bind(null,a);return kx(t,a).catch(o),[t,o]}const LC={tag:"seroval/plugins/web/ReadableStream",extends:[OC],test(e){return typeof ReadableStream>"u"?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(aa),stream:t.parse(si())}},async async(e,t){return{factory:await t.parse(aa),stream:await t.parse(S0(e)[0])}},stream(e,t){const[a,o]=S0(e);return t.addCleanup(o),{factory:t.parse(aa),stream:t.parse(a)}}},serialize(e,t){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t){const a=t.deserialize(e.stream);return jx(a)}};var zC=[kC,MC,LC];function BC(){return[...Pw()?.serializationAdapters?.map(SC)??[],...zC]}var _0=new TextDecoder,NC=new Uint8Array(0),T0=16*1024*1024,A0=32*1024*1024,E0=1024,R0=1e5;function PC(e){const t=new Map,a=new Map,o=new Set;let l=!1,c=null,u=0,d;const p=new ReadableStream({start(m){d=m},cancel(){l=!0;try{c?.cancel()}catch{}t.forEach(m=>{try{m.error(new Error("Framed response cancelled"))}catch{}}),t.clear(),a.clear(),o.clear()}});function g(m){const w=a.get(m);
12if(w)return w;if(o.has(m))return new ReadableStream({start(_){_.close()}});if(a.size>=E0)throw new Error(`Too many raw streams in framed response (max ${E0})`);const x=new ReadableStream({start(_){t.set(m,_)},cancel(){o.add(m),t.delete(m),a.delete(m)}});return a.set(m,x),x}function y(m){return g(m),t.get(m)}return(async()=>{const m=e.getReader();c=m;const w=[];let x=0;function _(){if(x<9)return null;const T=w[0];if(T.length>=9)return{type:T[0],streamId:(T[1]<<24|T[2]<<16|T[3]<<8|T[4])>>>0,length:(T[5]<<24|T[6]<<16|T[7]<<8|T[8])>>>0};const S=new Uint8Array(9);let R=0,O=9;for(let k=0;k<w.length&&O>0;k++){const q=w[k],F=Math.min(q.length,O);S.set(q.subarray(0,F),R),R+=F,O-=F}return{type:S[0],streamId:(S[1]<<24|S[2]<<16|S[3]<<8|S[4])>>>0,length:(S[5]<<24|S[6]<<16|S[7]<<8|S[8])>>>0}}function E(T){if(T===0)return NC;const S=new Uint8Array(T);let R=0,O=T;for(;O>0&&w.length>0;){const k=w[0];if(!k)break;const q=Math.min(k.length,O);S.set(k.subarray(0,q),R),R+=q,O-=q,q===k.length?w.shift():w[0]=k.subarray(q)}return x-=T,S}try{for(;;){const{done:T,value:S}=await m.read();if(l||T)break;if(S){if(x+S.length>A0)throw new Error(`Framed response buffer exceeded ${A0} bytes`);for(w.push(S),x+=S.length;;){const R=_();if(!R)break;const{type:O,streamId:k,length:q}=R;if(O!==bs.JSON&&O!==bs.CHUNK&&O!==bs.END&&O!==bs.ERROR)throw new Error(`Unknown frame type: ${O}`);if(O===bs.JSON){if(k!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(k===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(q>T0)throw new Error(`Frame payload too large: ${q} bytes (max ${T0})`);const F=9+q;if(x<F)break;if(++u>R0)throw new Error(`Too many frames in framed response (max ${R0})`);E(9);const B=E(q);switch(O){case bs.JSON:try{d.enqueue(_0.decode(B))}catch{}break;case bs.CHUNK:{const j=y(k);j&&j.enqueue(B);break}case bs.END:{const j=y(k);if(o.add(k),j){try{j.close()}catch{}t.delete(k)}break}case bs.ERROR:{const j=y(k);if(o.add(k),j){const G=_0.decode(B);j.error(new Error(G)),t.delete(k)}break}}}}}if(x!==0)throw new Error("Incomplete frame at end of framed response");try{d.close()}catch{}t.forEach(T=>{try{T.close()}catch{}}),t.clear()}catch(T){try{d.error(T)}catch{}t.forEach(S=>{try{S.error(T)}catch{}}),t.clear()}finally{try{m.releaseLock()}catch{}c=null}})(),{getOrCreateStream:g,jsonChunks:p}}var Mr=null;async function mh(e){e.length>0&&await Promise.allSettled(e)}var UC=Object.prototype.hasOwnProperty;function Ox(e){for(const t in e)if(UC.call(e,t))return!0;return!1}async function VC(e,t,a){Mr||(Mr=BC());const o=t[0],l=o.fetch??a,c=o.data instanceof FormData?"formData":"payload",u=o.headers?new Headers(o.headers):new Headers;if(u.set("x-tsr-serverFn","true"),c==="payload"&&u.set("accept",`${PA}, application/x-ndjson, application/json`),o.method==="GET"){if(c==="formData")throw new Error("FormData is not supported with GET requests");const p=await Dx(o);if(p!==void 0){const g=Fw({payload:p});e.includes("?")?e+=`&${g}`:e+=`?${g}`}}let d;if(o.method==="POST"){const p=await IC(o);p?.contentType&&u.set("content-type",p.contentType),d=p?.body}return await HC(async()=>l(e,{method:o.method,headers:u,signal:o.signal,body:d}))}async function Dx(e){let t=!1;const a={};if(e.data!==void 0&&(t=!0,a.data=e.data),e.context&&Ox(e.context)&&(t=!0,a.context=e.context),t)return Lx(a)}async function Lx(e){return JSON.stringify(await Promise.resolve(xC(e,{plugins:Mr})))}async function IC(e){if(e.data instanceof FormData){let a;return e.context&&Ox(e.context)&&(a=await Lx(e.context)),a!==void 0&&e.data.set(NA,a),{body:e.data}}const t=await Dx(e);if(t)return{body:t,contentType:"application/json"}}async function HC(e){let t;try{t=await e()}catch(o){if(o instanceof Response)t=o;else throw console.log(o),o}if(t.headers.get("x-tss-raw")==="true")return t;const a=t.headers.get("content-type");if(a||tn(),t.headers.get("x-tss-serialized")){let o;if(a.includes("application/x-tss-framed")){if(IA(a),!t.body)throw new Error("No response body for framed response");const{getOrCreateStream:l,jsonChunks:c}=PC(t.body),u=[jC(l),...Mr||[]],d=new Map;o=await qC({jsonStream:c,onMessage:p=>b0(p,{refs:d,plugins:u}),onError(p,g){console.error(p,g)}})}else if(a.includes("application/json")){const l=await t.json(),c=[];o=b0(l,{plugins:Mr}),await mh(c)}if(o||tn(),o instanceof Error)throw o;return o}if(a.includes("application/json")){const o=await t.json(),l=AE(o);if(l)throw l;if(_t(o))throw o;return o}if(!t.ok)throw new Error(await t.text());return t}async function qC({jsonStream:e,onMessage:t,onError:a}){const o=e.getReader(),{value:l,done:c}=await o.read();if(c||!l)throw new Error("Stream ended before first object");const u=JSON.parse(l);let d=!1;const p=(async()=>{try{for(;;){const{value:m,done:w}=await o.read();if(w)break;if(m)try{const x=[];try{t(JSON.parse(m))}finally{}await mh(x)}catch(x){a?.(`Invalid JSON: ${m}`,x)}}}catch(m){d||a?.("Stream processing error:",m)}})();let g;const y=[];try{g=t(u)}catch(m){throw d=!0,o.cancel().catch(()=>{}),m}return await mh(y),Promise.resolve(g).catch(()=>{d=!0,o.cancel().catch(()=>{})}),p.finally(()=>{try{o.releaseLock()}catch{}}),g}function FC(e){const t="/_serverFn/"+e;return Object.assign((...l)=>{const c=Pw()?.serverFns?.fetch;return VC(t,l,c??fetch)},{url:t,serverFnMeta:{id:e},[uh]:!0})}var GC={key:"$TSS/serverfn",test:e=>typeof e!="function"||!(uh in e)?!1:!!e[uh],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>FC(e)};function C0(e){return e.replaceAll("\0","/").replaceAll("�","/")}function YC(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.
12status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function QC(e){window.$_TSR||tn();const t=e.options.serializationAdapters;if(t?.length){const T=new Map;t.forEach(S=>{T.set(S.key,S.fromSerializable)}),window.$_TSR.t=T,window.$_TSR.buffer.forEach(S=>S())}window.$_TSR.initialized=!0,window.$_TSR.router||tn();const a=window.$_TSR.router;a.matches.forEach(T=>{T.i=C0(T.i)}),a.lastMatchId&&(a.lastMatchId=C0(a.lastMatchId));const{manifest:o,dehydratedData:l,lastMatchId:c}=a;e.ssr={manifest:o};const u=document.querySelector('meta[property="csp-nonce"]')?.content;e.options.ssr={nonce:u};const d=e.matchRoutes(e.stores.location.get()),p=Promise.all(d.map(T=>e.loadRouteChunk(e.looseRoutesById[T.routeId])));function g(T){const S=e.looseRoutesById[T.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(S){const R=ni();T._nonReactive.minPendingPromise=R,T._forcePending=!0,setTimeout(()=>{R.resolve(),e.updateMatch(T.id,O=>(O._nonReactive.minPendingPromise=void 0,{...O,_forcePending:void 0}))},S)}}function y(T){const S=e.looseRoutesById[T.routeId];S&&(S.options.ssr=T.ssr)}let m;d.forEach(T=>{const S=a.matches.find(R=>R.i===T.id);if(!S){T._nonReactive.dehydrated=!1,T.ssr=!1,y(T);return}YC(T,S),y(T),T._nonReactive.dehydrated=T.ssr!==!1,(T.ssr==="data-only"||T.ssr===!1)&&m===void 0&&(m=T.index,g(T))}),e.stores.setMatches(d),await e.options.hydrate?.(l);const w=e.stores.matches.get(),x=e.stores.location.get();await Promise.all(w.map(async T=>{try{const S=e.looseRoutesById[T.routeId],R=w[T.index-1]?.context??e.options.context;if(S.options.context){const F={deps:T.loaderDeps,params:T.params,context:R??{},location:x,navigate:B=>e.navigate({...B,_fromLocation:x}),buildLocation:e.buildLocation,cause:T.cause,abortController:T.abortController,preload:!1,matches:d,routeId:S.id};T.__routeContext=S.options.context(F)??void 0}T.context={...R,...T.__routeContext,...T.__beforeLoadContext};const O={ssr:e.options.ssr,matches:w,match:T,params:T.params,loaderData:T.loaderData},k=await S.options.head?.(O),q=await S.options.scripts?.(O);T.meta=k?.meta,T.links=k?.links,T.headScripts=k?.scripts,T.styles=k?.styles,T.scripts=q}catch(S){if(_t(S))T.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${T.routeId}`,S);else throw T.error=S,console.error(`Error during hydration for route ${T.routeId}:`,S),S}}));const _=d[d.length-1].id!==c;if(!d.some(T=>T.ssr===!1)&&!_)return d.forEach(T=>{T._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),p;const E=Promise.resolve().then(()=>e.load()).catch(T=>{console.error("Error during router hydration:",T)});if(_){const T=d[1];T||tn(),g(T),T._displayPending=!0,T._nonReactive.displayPendingPromise=E,E.then(()=>{e.batch(()=>{e.stores.status.get()==="pending"&&(e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(T.id,S=>({...S,_displayPending:void 0,displayPendingPromise:void 0}))})})}return p}var Nc=U.use,vr=typeof window<"u"?U.useLayoutEffect:U.useEffect;function Nd(e){const t=U.useRef({value:e,prev:null}),a=t.current.value;return e!==a&&(t.current={value:e,prev:a}),t.current.prev}function KC(e,t,a={},o={}){U.useEffect(()=>{if(!e.current||o.disabled||typeof IntersectionObserver!="function")return;const l=new IntersectionObserver(([c])=>{t(c)},a);return l.observe(e.current),()=>{l.disconnect()}},[t,a,o.disabled,e])}function XC(e){const t=U.useRef(null);return U.useImperativeHandle(e,()=>t.current,[]),t}function ZC({promise:e}){if(Nc)return Nc(e);const t=YE(e);if(t[Kn].status==="pending")throw t;if(t[Kn].status==="error")throw t[Kn].error;return t[Kn].data}function WC(e){const t=b.jsx(JC,{...e});return e.fallback?b.jsx(U.Suspense,{fallback:e.fallback,children:t}):t}function JC(e){const t=ZC(e);return e.children(t)}function am(e){const t=e.errorComponent??im;return b.jsx($C,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:o})=>a?U.createElement(t,{error:a,reset:o}):e.children})}var $C=class extends U.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const a=e.getResetKey();return t.error&&t.resetKey!==a?{resetKey:a,error:null}:{resetKey:a}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function im({error:e}){const[t,a]=U.useState(!1);return b.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[b.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[b.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),b.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a(o=>!o),children:t?"Hide Error":"Show Error"})]}),b.jsx("div",{style:{height:".25rem"}}),t?b.jsx("div",{children:b.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?b.jsx("code",{children:e.message}):null})}):null]})}function eM({children:e,fallback:t=null}){return om()?b.jsx(se.Fragment,{children:e}):b.jsx(se.Fragment,{children:t})}function om(){return se.useSyncExternalStore(tM,()=>!0,()=>!1)}function tM(){return()=>{}}var zx=U.createContext(null);function Tt(e){return U.useContext(zx)}var su=U.createContext(void 0),nM=U.createContext(void 0),We=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(We||{});function sM({update:e,notify:t,unwatched:a}){return{link:o,unlink:l,propagate:c,checkDirty:u,shallowPropagate:d};function o(g,y,m){const w=y.depsTail;if(w!==void 0&&w.dep===g)return;const x=w!==void 0?w.nextDep:y.deps;if(x!==void 0&&x.dep===g){x.version=m,y.depsTail=x;return}const _=g.subsTail;if(_!==void 0&&_.version===m&&_.sub===y)return;const E=y.depsTail=g.subsTail={version:m,dep:g,sub:y,prevDep:w,nextDep:x,prevSub:_,nextSub:void 0};x!==void 0&&(x.prevDep=E),w!==void 0?w.nextDep=E:y.deps=E,_!==void 0?_.nextSub=E:g.subs=E}function l(g,y=g.sub){const m=g.dep,w=g.prevDep,x=g.nextDep,_=g.nextSub,E=g.prevSub;return x!==void 0?x.prevDep=w:y.depsTail=w,w!==void 0?w.nextDep=x:y.deps=x,_!==void 0?_.prevSub=E:m.subsTail=E,E!==void 0?E.nextSub=_:(m.subs=_)===void 0&&a(m),x}function c(g){let y=g.nextSub,m;e:do{const w=g.sub;let x=w.flags;if(x&60?x&12?x&4?!(x&48)&&p(g,w)?(w.flags=x|40,x&=1):x=0:w.flags=x&-9|32:x=0:w.flags=x|32,x&2&&t(w),x&1){const _=w.subs;if(_!==void 0){const E=(g=_).nextSub;E!==void 0&&(m={value:y,prev:m},y=E);continue}}if((g=y)!==void 0){y=g.nextSub;continue}for(;m!==void 0;)if(g=m.value,m=m.prev,g!==void 0){y=g.nextSub;continue e}break}while(!0)}function u(g,y){let m,w=0,x=!1;e:do{const _=g.dep,E=_.flags;if(y.flags&16)x=!0;else if((E&17)===17){if(e(_)){const T=_.subs;T.nextSub!==void 0&&d(T),x=!0}}else if((E&33)===33){(g.nextSub!==void 0||g.prevSub!==void 0)&&(m={value:g,prev:m}),g=_.deps,y=_,++w;continue}if(!x){const T=g.nextDep;if(T!==void 0){g=T;continue}}for(;w--;){const T=y.subs,S=T.nextSub!==void 0;
12if(S?(g=m.value,m=m.prev):g=T,x){if(e(y)){S&&d(T),y=g.sub;continue}x=!1}else y.flags&=-33;y=g.sub;const R=g.nextDep;if(R!==void 0){g=R;continue e}}return x}while(!0)}function d(g){do{const y=g.sub,m=y.flags;(m&48)===32&&(y.flags=m|16,(m&6)===2&&t(y))}while((g=g.nextSub)!==void 0)}function p(g,y){let m=y.depsTail;for(;m!==void 0;){if(m===g)return!0;m=m.prevDep}return!1}}function aM(e,t,a){const o=typeof e=="object",l=o?e:void 0;return{next:(o?e.next:e)?.bind(l),error:(o?e.error:t)?.bind(l),complete:(o?e.complete:a)?.bind(l)}}const ph=[];let _c=0;const{link:M0,unlink:iM,propagate:oM,checkDirty:Bx,shallowPropagate:j0}=sM({update(e){return e._update()},notify(e){ph[gh++]=e,e.flags&=~We.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=We.Mutable|We.Dirty,Pc(e))}});let cc=0,gh=0,Qn,yh=0;function Nx(e){try{++yh,e()}finally{--yh||Px()}}function Pc(e){const t=e.depsTail;let a=t!==void 0?t.nextDep:e.deps;for(;a!==void 0;)a=iM(a,e)}function Px(){if(!(yh>0)){for(;cc<gh;){const e=ph[cc];ph[cc++]=void 0,e.notify()}cc=0,gh=0}}function k0(e,t){const a=typeof e=="function",o=e,l={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?We.None:We.Mutable,get(){return Qn!==void 0&&M0(l,Qn,_c),l._snapshot},subscribe(c){const u=aM(c),d={current:!1},p=rM(()=>{l.get(),d.current?u.next?.(l._snapshot):d.current=!0});return{unsubscribe:()=>{p.stop()}}},_update(c){const u=Qn,d=t?.compare??Object.is;if(a)Qn=l,++_c,l.depsTail=void 0;else if(c===void 0)return!1;a&&(l.flags=We.Mutable|We.RecursedCheck);try{const p=l._snapshot,g=typeof c=="function"?c(p):c===void 0&&a?o(p):c;return p===void 0||!d(p,g)?(l._snapshot=g,!0):!1}finally{Qn=u,a&&(l.flags&=~We.RecursedCheck),Pc(l)}}};return a?(l.flags=We.Mutable|We.Dirty,l.get=function(){const c=l.flags;if(c&We.Dirty||c&We.Pending&&Bx(l.deps,l)){if(l._update()){const u=l.subs;u!==void 0&&j0(u)}}else c&We.Pending&&(l.flags=c&~We.Pending);return Qn!==void 0&&M0(l,Qn,_c),l._snapshot}):l.set=function(c){if(l._update(c)){const u=l.subs;u!==void 0&&(oM(u),j0(u),Px())}},l}function rM(e){const t=()=>{const o=Qn;Qn=a,++_c,a.depsTail=void 0,a.flags=We.Watching|We.RecursedCheck;try{return e()}finally{Qn=o,a.flags&=~We.RecursedCheck,Pc(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:We.Watching|We.RecursedCheck,notify(){const o=this.flags;o&We.Dirty||o&We.Pending&&Bx(this.deps,this)?t():this.flags=We.Watching},stop(){this.flags=We.None,this.depsTail=void 0,Pc(this)}};return t(),a}var Pd={exports:{}},Ud={},Vd={exports:{}},Id={};var O0;function lM(){if(O0)return Id;O0=1;var e=Vr();function t(m,w){return m===w&&(m!==0||1/m===1/w)||m!==m&&w!==w}var a=typeof Object.is=="function"?Object.is:t,o=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,w){var x=w(),_=o({inst:{value:x,getSnapshot:w}}),E=_[0].inst,T=_[1];return c(function(){E.value=x,E.getSnapshot=w,p(E)&&T({inst:E})},[m,x,w]),l(function(){return p(E)&&T({inst:E}),m(function(){p(E)&&T({inst:E})})},[m]),u(x),x}function p(m){var w=m.getSnapshot;m=m.value;try{var x=w();return!a(m,x)}catch{return!0}}function g(m,w){return w()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:d;return Id.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,Id}var D0;function cM(){return D0||(D0=1,Vd.exports=lM()),Vd.exports}var L0;function uM(){if(L0)return Ud;L0=1;var e=Vr(),t=cM();function a(g,y){return g===y&&(g!==0||1/g===1/y)||g!==g&&y!==y}var o=typeof Object.is=="function"?Object.is:a,l=t.useSyncExternalStore,c=e.useRef,u=e.useEffect,d=e.useMemo,p=e.useDebugValue;return Ud.useSyncExternalStoreWithSelector=function(g,y,m,w,x){var _=c(null);if(_.current===null){var E={hasValue:!1,value:null};_.current=E}else E=_.current;_=d(function(){function S(F){if(!R){if(R=!0,O=F,F=w(F),x!==void 0&&E.hasValue){var B=E.value;if(x(B,F))return k=B}return k=F}if(B=k,o(O,F))return B;var j=w(F);return x!==void 0&&x(B,j)?(O=F,B):(O=F,k=j)}var R=!1,O,k,q=m===void 0?null:m;return[function(){return S(y())},q===null?void 0:function(){return S(q())}]},[y,m,w,x]);var T=l(g,_[0],_[1]);return u(function(){E.hasValue=!0,E.value=T},[T]),p(T),T},Ud}var z0;function fM(){return z0||(z0=1,Pd.exports=uM()),Pd.exports}var dM=fM();function hM(e,t){return e===t}function ot(e,t,a=hM){const o=U.useCallback(u=>{if(!e)return()=>{};const{unsubscribe:d}=e.subscribe(u);return d},[e]),l=U.useCallback(()=>e?.get(),[e]);
12return dM.useSyncExternalStoreWithSelector(o,l,l,t,a)}var mM={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function ai(e){const t=Tt(),a=U.useContext(e.from?nM:su),o=e.from??a,l=o?e.from?t.stores.getRouteMatchStore(o):t.stores.matchStores.get(o):void 0,c=U.useRef(void 0);return ot(l??mM,u=>{if((e.shouldThrow??!0)&&!u&&tn(),u===void 0)return;const d=e.select?e.select(u):u;if(e.structuralSharing??t.options.defaultStructuralSharing){const p=oa(c.current,d);return c.current=p,p}return d})}function Ux(e){return ai({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function Vx(e){const{select:t,...a}=e;return ai({...a,select:o=>t?t(o.loaderDeps):o.loaderDeps})}function Ix(e){return ai({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const a=e.strict===!1?t.params:t._strictParams;return e.select?e.select(a):a}})}function Hx(e){return ai({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function qx(e){const t=Tt();return U.useCallback(a=>t.navigate({...a,from:a.from??e?.from}),[e?.from,t])}function Fx(e){return ai({...e,select:t=>e.select?e.select(t.context):t.context})}var rm=Nw();const pM=Bw(rm);function gM(e,t){const a=Tt(),o=XC(t),{activeProps:l,inactiveProps:c,activeOptions:u,to:d,preload:p,preloadDelay:g,preloadIntentProximity:y,hashScrollIntoView:m,replace:w,startTransition:x,resetScroll:_,viewTransition:E,children:T,target:S,disabled:R,style:O,className:k,onClick:q,onBlur:F,onFocus:B,onMouseEnter:j,onMouseLeave:G,onTouchStart:Z,ignoreBlocker:te,params:oe,search:re,hash:ae,state:le,mask:L,reloadDocument:H,unsafeRelative:ee,from:ce,_fromLocation:J,...M}=e,Y=om(),K=U.useMemo(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ne=ot(a.stores.location,Pe=>Pe,(Pe,et)=>Pe.href===et.href),$=U.useMemo(()=>{const Pe={_fromLocation:ne,...K};return a.buildLocation(Pe)},[a,ne,K]),ie=$.maskedLocation?$.maskedLocation.publicHref:$.publicHref,ve=$.maskedLocation?$.maskedLocation.external:$.external,ge=U.useMemo(()=>SM(ie,ve,a.history,R),[R,ve,ie,a.history]),pe=U.useMemo(()=>{if(ge?.external)return Oc(ge.href,a.protocolAllowlist)?void 0:ge.href;if(!_M(d)&&!(typeof d!="string"||d.indexOf(":")===-1))try{return new URL(d),Oc(d,a.protocolAllowlist)?void 0:d}catch{}},[d,ge,a.protocolAllowlist]),Je=U.useMemo(()=>{if(pe)return!1;if(u?.exact){if(!uE(ne.pathname,$.pathname,a.basepath))return!1}else{const Pe=Dc(ne.pathname,a.basepath),et=Dc($.pathname,a.basepath);if(!(Pe.startsWith(et)&&(Pe.length===et.length||Pe[et.length]==="/")))return!1}return(u?.includeSearch??!0)&&!$t(ne.search,$.search,{partial:!u?.exact,ignoreUndefined:!u?.explicitUndefined})?!1:u?.includeHash?Y&&ne.hash===$.hash:!0},[u?.exact,u?.explicitUndefined,u?.includeHash,u?.includeSearch,ne,pe,Y,$.hash,$.pathname,$.search,a.basepath]),Qe=Je?ia(l,{})??yM:Hd,De=Je?Hd:ia(c,{})??Hd,Ot=[k,Qe.className,De.className].filter(Boolean).join(" "),Ke=(O||Qe.style||De.style)&&{...O,...Qe.style,...De.style},[Jn,hn]=U.useState(!1),Dt=U.useRef(!1),mn=e.reloadDocument||pe?!1:p??a.options.defaultPreload,At=g??a.options.defaultPreloadDelay??0,sn=U.useCallback(()=>{a.preloadRoute({...K,_builtLocation:$}).catch(Pe=>{console.warn(Pe),console.warn(QE)})},[a,K,$]);KC(o,U.useCallback(Pe=>{Pe?.isIntersecting&&sn()},[sn]),xM,{disabled:!!R||mn!=="viewport"}),U.useEffect(()=>{Dt.current||!R&&mn==="render"&&(sn(),Dt.current=!0)},[R,sn,mn]);const ba=Pe=>{const et=Pe.currentTarget.getAttribute("target"),pn=S!==void 0?S:et;if(!R&&!TM(Pe)&&!Pe.defaultPrevented&&(!pn||pn==="_self")&&Pe.button===0){Pe.preventDefault(),rm.flushSync(()=>{hn(!0)});const $n=a.subscribe("onResolved",()=>{$n(),hn(!1)});a.navigate({...K,replace:w,resetScroll:_,hashScrollIntoView:m,startTransition:x,viewTransition:E,ignoreBlocker:te})}};if(pe)return{...M,ref:o,href:pe,...T&&{children:T},...S&&{target:S},...R&&{disabled:R},...O&&{style:O},...k&&{className:k},...q&&{onClick:q},...F&&{onBlur:F},...B&&{onFocus:B},...j&&{onMouseEnter:j},...G&&{onMouseLeave:G},...Z&&{onTouchStart:Z}};const vt=Pe=>{if(R||mn!=="intent")return;if(!At){sn();return}const et=Pe.currentTarget;if(hr.has(et))return;const pn=setTimeout(()=>{hr.delete(et),sn()},At);hr.set(et,pn)},Pn=Pe=>{R||mn!=="intent"||sn()},bt=Pe=>{if(R||!mn||!At)return;const et=Pe.currentTarget,pn=hr.get(et);pn&&(clearTimeout(pn),hr.delete(et))};return{...M,...Qe,...De,href:ge?.href,ref:o,onClick:Qi([q,ba]),onBlur:Qi([F,bt]),onFocus:Qi([B,vt]),onMouseEnter:Qi([j,vt]),onMouseLeave:Qi([G,bt]),onTouchStart:Qi([Z,Pn]),disabled:!!R,target:S,...Ke&&{style:Ke},...Ot&&{className:Ot},...R&&vM,...Je&&bM,...Y&&Jn&&wM}}var Hd={},yM={className:"active"},vM={role:"link","aria-disabled":!0},bM={"data-status":"active","aria-current":"page"},wM={"data-transitioning":"transitioning"},hr=new WeakMap,xM={rootMargin:"100px"},Qi=e=>t=>{for(const a of e)if(a){if(t.defaultPrevented)return;a(t)}};function SM(e,t,a,o){if(!o)return t?{href:e,external:!0}:{href:a.createHref(e)||"/",external:!1}}function _M(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var lm=U.forwardRef((e,t)=>
12{const{_asChild:a,...o}=e,{type:l,...c}=gM(o,t),u=typeof o.children=="function"?o.children({isActive:c["data-status"]==="active"}):o.children;if(!a){const{disabled:d,...p}=c;return U.createElement("a",p,u)}return U.createElement(a,c,u)});function TM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var AM=class extends Ww{constructor(t){super(t),this.useMatch=a=>ai({select:a?.select,from:this.id,structuralSharing:a?.structuralSharing}),this.useRouteContext=a=>Fx({...a,from:this.id}),this.useSearch=a=>Hx({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useParams=a=>Ix({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useLoaderDeps=a=>Vx({...a,from:this.id}),this.useLoaderData=a=>Ux({...a,from:this.id}),this.useNavigate=()=>qx({from:this.fullPath}),this.Link=se.forwardRef((a,o)=>b.jsx(lm,{ref:o,from:this.fullPath,...a}))}};function EM(e){return new AM(e)}function RM(){return e=>MM(e)}var CM=class extends WE{constructor(e){super(e),this.useMatch=t=>ai({select:t?.select,from:this.id,structuralSharing:t?.structuralSharing}),this.useRouteContext=t=>Fx({...t,from:this.id}),this.useSearch=t=>Hx({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useParams=t=>Ix({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useLoaderDeps=t=>Vx({...t,from:this.id}),this.useLoaderData=t=>Ux({...t,from:this.id}),this.useNavigate=()=>qx({from:this.fullPath}),this.Link=se.forwardRef((t,a)=>b.jsx(lm,{ref:a,from:this.fullPath,...t}))}};function MM(e){return new CM(e)}function au(e){return new jM(e,{silent:!0}).createRoute}var jM=class{constructor(e,t){this.path=e,this.createRoute=a=>{const o=EM(a);return o.isRoot=!1,o},this.silent=t?.silent}};function jr(e,t){let a,o,l,c;const u=()=>(a||(a=e().then(p=>{a=void 0,o=p[t??"default"]}).catch(p=>{if(l=p,GA(l)&&l instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const g=`tanstack_router_reload:${l.message}`;sessionStorage.getItem(g)||(sessionStorage.setItem(g,"1"),c=!0)}})),a),d=function(g){if(c)throw window.location.reload(),new Promise(()=>{});if(l)throw l;if(!o)if(Nc)Nc(u());else throw u();return U.createElement(o,g)};return d.preload=u,d}function kM(e){const t=Tt(),a=`not-found-${ot(t.stores.location,o=>o.pathname)}-${ot(t.stores.status,o=>o)}`;return b.jsx(am,{getResetKey:()=>a,onCatch:(o,l)=>{if(_t(o))e.onCatch?.(o,l);else throw o},errorComponent:({error:o})=>{if(_t(o))return e.fallback?.(o);throw o},children:e.children})}function OM(){return b.jsx("p",{children:"Not Found"})}function Zi(e){return b.jsx(b.Fragment,{children:e.children})}function Gx(e,t,a){return t.options.notFoundComponent?b.jsx(t.options.notFoundComponent,{...a}):e.options.defaultNotFoundComponent?b.jsx(e.options.defaultNotFoundComponent,{...a}):b.jsx(OM,{})}function DM(e){return null}function LM(){return DM(Tt()),null}var Yx=U.memo(function({matchId:t}){const a=Tt(),o=a.stores.matchStores.get(t);o||tn();const l=ot(a.stores.loadedAt,u=>u),c=ot(o,u=>u);return b.jsx(zM,{router:a,matchId:t,resetKey:l,matchState:U.useMemo(()=>{const u=c.routeId,d=a.routesById[u].parentRoute?.id;return{routeId:u,ssr:c.ssr,_displayPending:c._displayPending,parentRouteId:d}},[c._displayPending,c.routeId,c.ssr,a.routesById])})});function zM({router:e,matchId:t,resetKey:a,matchState:o}){const l=e.routesById[o.routeId],c=l.options.pendingComponent??e.options.defaultPendingComponent,u=c?b.jsx(c,{}):null,d=l.options.errorComponent??e.options.defaultErrorComponent,p=l.options.onCatch??e.options.defaultOnCatch,g=l.isRoot?l.options.notFoundComponent??e.options.notFoundRoute?.options.component:l.options.notFoundComponent,y=o.ssr===!1||o.ssr==="data-only",m=(!l.isRoot||l.options.wrapInSuspense||y)&&(l.options.wrapInSuspense??c??(l.options.errorComponent?.preload||y))?U.Suspense:Zi,w=d?am:Zi,x=g?kM:Zi;return b.jsxs(l.isRoot?l.options.shellComponent??Zi:Zi,{children:[b.jsx(su.Provider,{value:t,children:b.jsx(m,{fallback:u,children:b.jsx(w,{getResetKey:()=>a,errorComponent:d||im,onCatch:(_,E)=>{if(_t(_))throw _.routeId??=o.routeId,_;p?.(_,E)},children:b.jsx(x,{fallback:_=>{if(_.routeId??=o.routeId,!g||_.routeId&&_.routeId!==o.routeId||!_.routeId&&
12!l.isRoot)throw _;return U.createElement(g,_)},children:y||o._displayPending?b.jsx(eM,{fallback:u,children:b.jsx(B0,{matchId:t})}):b.jsx(B0,{matchId:t})})})})}),o.parentRouteId===Wa?b.jsxs(b.Fragment,{children:[b.jsx(BM,{resetKey:a}),e.options.scrollRestoration&&Uw?b.jsx(LM,{}):null]}):null]})}function BM({resetKey:e}){const t=Tt(),a=U.useRef(void 0);return vr(()=>{const o=t.latestLocation.href;(a.current===void 0||a.current!==o)&&(t.emit({type:"onRendered",...so(t.stores.location.get(),t.stores.resolvedLocation.get())}),a.current=o)},[t.latestLocation.state.__TSR_key,e,t]),null}var B0=U.memo(function({matchId:t}){const a=Tt(),o=(y,m)=>a.getMatch(y.id)?._nonReactive[m]??y._nonReactive[m],l=a.stores.matchStores.get(t);l||tn();const c=ot(l,y=>y),u=c.routeId,d=a.routesById[u],p=U.useMemo(()=>{const y=(a.routesById[u].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:u,loaderDeps:c.loaderDeps,params:c._strictParams,search:c._strictSearch});return y?JSON.stringify(y):void 0},[u,c.loaderDeps,c._strictParams,c._strictSearch,a.options.defaultRemountDeps,a.routesById]),g=U.useMemo(()=>{const y=d.options.component??a.options.defaultComponent;return y?b.jsx(y,{},p):b.jsx(Qx,{})},[p,d.options.component,a.options.defaultComponent]);if(c._displayPending)throw o(c,"displayPendingPromise");if(c._forcePending)throw o(c,"minPendingPromise");if(c.status==="pending"){const y=d.options.pendingMinMs??a.options.defaultPendingMinMs;if(y){const m=a.getMatch(c.id);if(m&&!m._nonReactive.minPendingPromise){const w=ni();m._nonReactive.minPendingPromise=w,setTimeout(()=>{w.resolve(),m._nonReactive.minPendingPromise=void 0},y)}}throw o(c,"loadPromise")}if(c.status==="notFound")return _t(c.error)||tn(),Gx(a,d,c.error);if(c.status==="redirected")throw en(c.error)||tn(),o(c,"loadPromise");if(c.status==="error")throw c.error;return g}),Qx=U.memo(function(){const t=Tt(),a=U.useContext(su);let o,l=!1,c;{const g=a?t.stores.matchStores.get(a):void 0;[o,l]=ot(g,y=>[y?.routeId,y?.globalNotFound??!1]),c=ot(t.stores.matchesId,y=>y[y.findIndex(m=>m===a)+1])}const u=o?t.routesById[o]:void 0,d=t.options.defaultPendingComponent?b.jsx(t.options.defaultPendingComponent,{}):null;if(l)return u||tn(),Gx(t,u,void 0);if(!c)return null;const p=b.jsx(Yx,{matchId:c});return o===Wa?b.jsx(U.Suspense,{fallback:d,children:p}):p});function NM(){const e=Tt(),t=U.useRef({router:e,mounted:!1}),[a,o]=U.useState(!1),l=ot(e.stores.isLoading,m=>m),c=ot(e.stores.hasPending,m=>m),u=Nd(l),d=l||a||c,p=Nd(d),g=l||c,y=Nd(g);return e.startTransition=m=>{o(!0),U.startTransition(()=>{m(),o(!1)})},U.useEffect(()=>{const m=e.history.subscribe(e.load),w=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return ua(e.latestLocation.publicHref)!==ua(w.publicHref)&&e.commitLocation({...w,replace:!0}),()=>{m()}},[e,e.history]),vr(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(w){console.error(w)}})()},[e]),vr(()=>{u&&!l&&e.emit({type:"onLoad",...so(e.stores.location.get(),e.stores.resolvedLocation.get())})},[u,e,l]),vr(()=>{y&&!g&&e.emit({type:"onBeforeRouteMount",...so(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,y,e]),vr(()=>{if(p&&!d){const m=so(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...m}),Nx(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())}),m.hrefChanged&&JE(e)}},[d,p,e]),null}function PM(){const e=Tt(),t=e.routesById[Wa].options.pendingComponent??e.options.defaultPendingComponent,a=t?b.jsx(t,{}):null,o=b.jsxs(typeof document<"u"&&e.ssr?Zi:U.Suspense,{fallback:a,children:[b.jsx(NM,{}),b.jsx(UM,{})]});return e.options.InnerWrap?b.jsx(e.options.InnerWrap,{children:o}):o}function UM(){const e=Tt(),t=ot(e.stores.firstId,l=>l),a=ot(e.stores.loadedAt,l=>l),o=t?b.jsx(Yx,{matchId:t}):null;return b.jsx(su.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?o:b.jsx(am,{getResetKey:()=>a,errorComponent:im,onCatch:void 0,children:o})})}var VM=e=>({createMutableStore:k0,createReadonlyStore:k0,batch:Nx}),IM=e=>new HM(e),HM=class extends UE{constructor(e){super(e,VM)}};function qM({router:e,children:t,...a}){Object.keys(a).length>0&&e.update({...e.options,...a,context:{...e.options.context,...a.context}});const o=b.jsx(zx.Provider,{value:e,children:t});return e.options.Wrap?b.jsx(e.options.Wrap,{children:o}):o}function FM({router:e,...t}){return b.jsx(qM,{router:e,...t,children:b.jsx(PM,{})})}function GM(e){const t=Tt({warn:e?.router===void 0}),a=e?.router||t,o=U.useRef(void 0);return ot(a.stores.__store,l=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){const c=oa(o.current,e.
12select(l));return o.current=c,c}return e.select(l)}return l})}function Kx(e){const{attrs:t,children:a,nonce:o}=e;switch(e.tag){case"title":return b.jsx("title",{...t,suppressHydrationWarning:!0,children:a});case"meta":return b.jsx("meta",{...t,suppressHydrationWarning:!0});case"link":return b.jsx("link",{...t,precedence:t?.precedence??(t?.rel==="stylesheet"?"default":void 0),nonce:o,suppressHydrationWarning:!0});case"style":return e.inlineCss,b.jsx("style",{...t,dangerouslySetInnerHTML:{__html:a},nonce:o});case"script":return b.jsx(YM,{attrs:t,children:a});default:return null}}function YM({attrs:e,children:t}){Tt();const a=om(),o=typeof e?.type=="string"&&e.type!==""&&e.type!=="text/javascript"&&e.type!=="module";if(U.useEffect(()=>{if(!o){if(e?.src){const l=(()=>{try{const u=document.baseURI||window.location.href;return new URL(e.src,u).href}catch{return e.src}})();if(Array.from(document.querySelectorAll("script[src]")).find(u=>u.src===l))return;const c=document.createElement("script");for(const[u,d]of Object.entries(e))u!=="suppressHydrationWarning"&&d!==void 0&&d!==!1&&c.setAttribute(u,typeof d=="boolean"?"":String(d));return document.head.appendChild(c),()=>{c.parentNode&&c.parentNode.removeChild(c)}}if(typeof t=="string"){const l=typeof e?.type=="string"?e.type:"text/javascript",c=typeof e?.nonce=="string"?e.nonce:void 0;if(Array.from(document.querySelectorAll("script:not([src])")).find(d=>{if(!(d instanceof HTMLScriptElement))return!1;const p=d.getAttribute("type")??"text/javascript",g=d.getAttribute("nonce")??void 0;return d.textContent===t&&p===l&&g===c}))return;const u=document.createElement("script");if(u.textContent=t,e)for(const[d,p]of Object.entries(e))d!=="suppressHydrationWarning"&&p!==void 0&&p!==!1&&u.setAttribute(d,typeof p=="boolean"?"":String(p));return document.head.appendChild(u),()=>{u.parentNode&&u.parentNode.removeChild(u)}}}},[e,t,o]),o&&typeof t=="string")return b.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!a){if(e?.src)return b.jsx("script",{...e,suppressHydrationWarning:!0});if(typeof t=="string")return b.jsx("script",{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var QM=e=>{const t=Tt(),a=t.options.ssr?.nonce,o=ot(t.stores.matches,g=>g.map(y=>y.meta).filter(Boolean),$t),l=U.useMemo(()=>{const g=[],y={};let m;for(let w=o.length-1;w>=0;w--){const x=o[w];for(let _=x.length-1;_>=0;_--){const E=x[_];if(E)if(E.title)m||(m={tag:"title",children:E.title});else if("script:ld+json"in E)try{const T=JSON.stringify(E["script:ld+json"]);g.push({tag:"script",attrs:{type:"application/ld+json"},children:ZA(T)})}catch{}else{const T=E.name??E.property;if(T){if(y[T])continue;y[T]=!0}g.push({tag:"meta",attrs:{...E,nonce:a}})}}}return m&&g.push(m),a&&g.push({tag:"meta",attrs:{property:"csp-nonce",content:a}}),g.reverse(),g},[o,a]),c=ot(t.stores.matches,g=>{const y=g.map(x=>x.links).filter(Boolean).flat(1).map(x=>({tag:"link",attrs:{...x,nonce:a}})),m=t.ssr?.manifest,w=g.map(x=>m?.routes[x.routeId]?.assets??[]).filter(Boolean).flat(1).flatMap(x=>x.tag==="link"?ZE(m,x)?[]:[{tag:"link",attrs:{...x.attrs,crossOrigin:p0(e,"stylesheet")??x.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:a}}]:x.tag==="style"?[{tag:"style",attrs:{...x.attrs,nonce:a},children:x.children,...x.inlineCss?{inlineCss:!0}:{}}]:[]);return[...y,...w]},$t),u=ot(t.stores.matches,g=>{const y=[];return g.map(m=>t.looseRoutesById[m.routeId]).forEach(m=>t.ssr?.manifest?.routes[m.id]?.preloads?.filter(Boolean).forEach(w=>{const x=KE(w);y.push({tag:"link",attrs:{rel:"modulepreload",href:x.href,crossOrigin:p0(e,"modulepreload")??x.crossOrigin,nonce:a}})})),y},$t),d=ot(t.stores.matches,g=>g.map(y=>y.styles).flat(1).filter(Boolean).map(({children:y,...m})=>({tag:"style",attrs:{...m,nonce:a},children:y})),$t),p=ot(t.stores.matches,g=>g.map(y=>y.headScripts).flat(1).filter(Boolean).map(({children:y,...m})=>({tag:"script",attrs:{...m,nonce:a},children:y})),$t);return KM([...l,...u,...c,...d,...p],g=>JSON.stringify(g))};function KM(e,t){const a=new Set;return e.filter(o=>{const l=t(o);return a.has(l)?!1:(a.add(l),!0)})}function XM(e){const t=QM(e.assetCrossOrigin),a=Tt().options.ssr?.nonce;return b.jsx(b.Fragment,{children:t.map(o=>U.createElement(Kx,{...o,key:`tsr-meta-${JSON.stringify(o)}`,nonce:a}))})}var ZM=()=>{const e=Tt(),t=e.options.ssr?.nonce,a=c=>{const u=[],d=e.ssr?.manifest;return d?(c.map(p=>
12e.looseRoutesById[p.routeId]).forEach(p=>d.routes[p.id]?.assets?.filter(g=>g.tag==="script").forEach(g=>{u.push({tag:"script",attrs:{...g.attrs,nonce:t},children:g.children})})),u):[]},o=c=>c.map(u=>u.scripts).flat(1).filter(Boolean).map(({children:u,...d})=>({tag:"script",attrs:{...d,suppressHydrationWarning:!0,nonce:t},children:u})),l=ot(e.stores.matches,a,$t);return WM(e,ot(e.stores.matches,o,$t),l)};function WM(e,t,a){let o;e.serverSsr&&(o=e.serverSsr.takeBufferedScripts());const l=[...t,...a];return o&&l.unshift(o),b.jsx(b.Fragment,{children:l.map((c,u)=>U.createElement(Kx,{...c,key:`tsr-scripts-${c.tag}-${u}`}))})}var $i=(e,t)=>{const a={type:"request",...t||e};return{options:a,middleware:o=>$i({},Object.assign(a,{middleware:o})),inputValidator:o=>$i({},Object.assign(a,{inputValidator:o})),client:o=>$i({},Object.assign(a,{client:o})),server:o=>$i({},Object.assign(a,{server:o}))}};function Xx(e,t){for(let a=0,o=t.length;a<o;a++){const l=t[a];e.has(l)||(e.add(l),l.extends&&Xx(e,l.extends))}}var JM=e=>({getOptions:async()=>{const t=await e();if(t.serializationAdapters){const a=new Set;Xx(a,t.serializationAdapters),t.serializationAdapters=Array.from(a)}return t},createMiddleware:$i});const $M=$i(),N0=JM(()=>({requestMiddleware:[$M]}));var iu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},e3=class extends iu{#e;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Zx=new e3,t3={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},n3=class{#e=t3;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},vh=new n3;function s3(e){setTimeout(e,0)}var a3=typeof window>"u"||"Deno"in globalThis;function Bn(){}function i3(e,t){return typeof e=="function"?e(t):e}function o3(e){return typeof e=="number"&&e>=0&&e!==1/0}function r3(e,t){return Math.max(e+(t||0)-Date.now(),0)}function bh(e,t){return typeof e=="function"?e(t):e}function l3(e,t){return typeof e=="function"?e(t):e}function P0(e,t){const{type:a="all",exact:o,fetchStatus:l,predicate:c,queryKey:u,stale:d}=e;if(u){if(o){if(t.queryHash!==cm(u,t.options))return!1}else if(!Or(t.queryKey,u))return!1}if(a!=="all"){const p=t.isActive();if(a==="active"&&!p||a==="inactive"&&p)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||l&&l!==t.state.fetchStatus||c&&!c(t))}function U0(e,t){const{exact:a,status:o,predicate:l,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(a){if(kr(t.options.mutationKey)!==kr(c))return!1}else if(!Or(t.options.mutationKey,c))return!1}return!(o&&t.state.status!==o||l&&!l(t))}function cm(e,t){return(t?.queryKeyHashFn||kr)(e)}function kr(e){return JSON.stringify(e,(t,a)=>wh(a)?Object.keys(a).sort().reduce((o,l)=>(o[l]=a[l],o),{}):a)}function Or(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(a=>Or(e[a],t[a])):!1}var c3=Object.prototype.hasOwnProperty;function Wx(e,t,a=0){if(e===t)return e;if(a>500)return t;const o=V0(e)&&V0(t);if(!o&&!(wh(e)&&wh(t)))return t;const c=(o?e:Object.keys(e)).length,u=o?t:Object.keys(t),d=u.length,p=o?new Array(d):{};let g=0;for(let y=0;y<d;y++){const m=o?y:u[y],w=e[m],x=t[m];if(w===x){p[m]=w,(o?y<c:c3.call(e,m))&&g++;continue}if(w===null||x===null||typeof w!="object"||typeof x!="object"){p[m]=x;continue}const _=Wx(w,x,a+1);p[m]=_,_===w&&g++}return c===d&&g===c?e:p}function V0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function wh(e){if(!I0(e))return!1;const t=e.constructor;if(t===void 0)return!0;const a=t.prototype;return!(!I0(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function I0(e){return Object.prototype.toString.call(e)==="[object Object]"}function u3(e){return new Promise(t=>{vh.setTimeout(t,e)})}function f3(e,t,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,t):a.structuralSharing!==!1?Wx(e,t):t}function d3(e,t,a=0){const o=[...e,t];return a&&o.length>a?o.slice(1):o}function h3(e,t,a=0){const o=[t,...e];return a&&o.length>a?o.slice(0,-1):o}var um=Symbol();function Jx(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===um?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function m3(e,t,a){let o=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??=t(),o||(o=!0,l.aborted?a():l.addEventListener("abort",a,{once:!0})),l)}),e}var $x=(()=>{let e=()=>a3;return{isServer(){return e()},setIsServer(t){e=t}}})();function p3(){let e,t;const a=new Promise((l,c)=>{e=l,t=c});
vendor: 22,020 bytes, line 12
12a.status="pending",a.catch(()=>{});function o(l){Object.assign(a,l),delete a.resolve,delete a.reject}return a.resolve=l=>{o({status:"fulfilled",value:l}),e(l)},a.reject=l=>{o({status:"rejected",reason:l}),t(l)},a}var g3=s3;function y3(){let e=[],t=0,a=d=>{d()},o=d=>{d()},l=g3;const c=d=>{t?e.push(d):l(()=>{a(d)})},u=()=>{const d=e;e=[],d.length&&l(()=>{o(()=>{d.forEach(p=>{a(p)})})})};return{batch:d=>{let p;t++;try{p=d()}finally{t--,t||u()}return p},batchCalls:d=>(...p)=>{c(()=>{d(...p)})},schedule:c,setNotifyFunction:d=>{a=d},setBatchNotifyFunction:d=>{o=d},setScheduler:d=>{l=d}}}var Ut=y3(),v3=class extends iu{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},Uc=new v3;function b3(e){return Math.min(1e3*2**e,3e4)}function eS(e){return(e??"online")==="online"?Uc.isOnline():!0}var xh=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function tS(e){let t=!1,a=0,o;const l=p3(),c=()=>l.status!=="pending",u=E=>{if(!c()){const T=new xh(E);w(T),e.onCancel?.(T)}},d=()=>{t=!0},p=()=>{t=!1},g=()=>Zx.isFocused()&&(e.networkMode==="always"||Uc.isOnline())&&e.canRun(),y=()=>eS(e.networkMode)&&e.canRun(),m=E=>{c()||(o?.(),l.resolve(E))},w=E=>{c()||(o?.(),l.reject(E))},x=()=>new Promise(E=>{o=T=>{(c()||g())&&E(T)},e.onPause?.()}).then(()=>{o=void 0,c()||e.onContinue?.()}),_=()=>{if(c())return;let E;const T=a===0?e.initialPromise:void 0;try{E=T??e.fn()}catch(S){E=Promise.reject(S)}Promise.resolve(E).then(m).catch(S=>{if(c())return;const R=e.retry??($x.isServer()?0:3),O=e.retryDelay??b3,k=typeof O=="function"?O(a,S):O,q=R===!0||typeof R=="number"&&a<R||typeof R=="function"&&R(a,S);if(t||!q){w(S);return}a++,e.onFail?.(a,S),u3(k).then(()=>g()?void 0:x()).then(()=>{t?w(S):_()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(o?.(),l),cancelRetry:d,continueRetry:p,canStart:y,start:()=>(y()?_():x().then(_),l)}}var nS=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),o3(this.gcTime)&&(this.#e=vh.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??($x.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(vh.clearTimeout(this.#e),this.#e=void 0)}},w3=class extends nS{#e;#n;#t;#a;#s;#i;#o;constructor(e){super(),this.#o=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#t=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=q0(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=q0(this.options);t.data!==void 0&&(this.setState(H0(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,t){const a=f3(this.state.data,e,this.options);return this.#r({data:a,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),a}setState(e,t){this.#r({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(Bn).catch(Bn):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(e=>l3(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===um||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>bh(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!r3(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#s&&(this.#o||this.#l()?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#r({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#s?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const a=new AbortController,o=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#o=!0,a.signal)})},l=()=>{const d=Jx(this.options,t),g=(()=>{const y={client:this.#a,queryKey:this.queryKey,meta:this.meta};return o(y),y})();return this.#o=!1,this.options.persister?this.options.persister(d,g,this):d(g)},u=(()=>{const d={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:l};return o(d),d})();this.options.behavior?.onFetch(u,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#r({type:"fetch",meta:u.fetchOptions?.meta}),this.#s=tS({initialPromise:t?.initialPromise,fn:u.fetchFn,onCancel:d=>{d instanceof xh&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(d,p)=>{this.#r({type:"failed",failureCount:d,error:p})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const d=await this.#s.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#t.config.onSuccess?.(d,this),this.#t.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof xh){if(d.silent)return this.#s.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#r({type:"error",error:d}),this.#t.config.onError?.(d,this),this.#t.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#r(e){const t=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...x3(a.data,this.options),fetchMeta:e.meta??null};case"success":const o={...a,...H0(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?o:void 0,o;case"error":const l=e.error;return{...a,error:l,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=t(this.state),Ut.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function x3(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:eS(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function H0(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function q0(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,a=t!==void 0,o=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:a?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}function F0(e){return{onFetch:(t,a)=>{const o=t.options,l=t.fetchOptions?.meta?.fetchMore?.direction,c=t.state.data?.pages||[],u=t.state.data?.pageParams||[];let d={pages:[],pageParams:[]},p=0;const g=async()=>{let y=!1;const m=_=>{m3(_,()=>t.signal,()=>y=!0)},w=Jx(t.options,t.fetchOptions),x=async(_,E,T)=>{if(y)return Promise.reject();if(E==null&&_.pages.length)return Promise.resolve(_);const R=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:E,direction:T?"backward":"forward",meta:t.options.meta};return m(F),F})(),O=await w(R),{maxPages:k}=t.options,q=T?h3:d3;return{pages:q(_.pages,O,k),pageParams:q(_.pageParams,E,k)}};if(l&&c.length){const _=l==="backward",E=_?S3:G0,T={pages:c,pageParams:u},S=E(o,T);d=await x(T,S,_)}else{const _=e??c.length;do{const E=p===0?u[0]??o.initialPageParam:G0(o,d);if(p>0&&E==null)break;d=await x(d,E),p++}while(p<_)}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(g,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},a):t.fetchFn=g}}}function G0(e,{pages:t,pageParams:a}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,a[o],a):void 0}function S3(e,{pages:t,pageParams:a}){return t.length>0?e.getPreviousPageParam?.(t[0],t,a[0],a):void 0}var _3=class extends nS{#e;#n;#t;#a;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||T3(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=tS({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(c,u)=>{this.#s({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const o=this.state.status==="pending",l=!this.#a.canStart();try{if(o)t();else{this.#s({type:"pending",variables:e,isPaused:l}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,a);const u=await this.options.onMutate?.(e,a);u!==this.state.context&&this.#s({type:"pending",context:u,variables:e,isPaused:l})}const c=await this.#a.start();return await this.#t.config.onSuccess?.(c,e,this.state.context,this,a),await this.options.onSuccess?.(c,e,this.state.context,a),await this.#t.config.onSettled?.(c,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(c,null,e,this.state.context,a),this.#s({type:"success",data:c}),c}catch(c){try{await this.#t.config.onError?.(c,e,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onError?.(c,e,this.state.context,a)}catch(u){Promise.reject(u)}try{await this.#t.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,a)}catch(u){Promise.reject(u)}throw this.#s({type:"error",error:c}),c}finally{this.#t.runNext(this)}}#s(e){const t=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Ut.batch(()=>{this.#n.forEach(a=>{a.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function T3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var A3=class extends iu{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(e,t,a){const o=new _3({client:e,mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(t),state:a});return this.add(o),o}add(e){this.#e.add(e);const t=uc(e);if(typeof t=="string"){const a=this.#n.get(t);a?a.push(e):this.#n.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=uc(e);if(typeof t=="string"){const a=this.#n.get(t);if(a)if(a.length>1){const o=a.indexOf(e);o!==-1&&a.splice(o,1)}else a[0]===e&&this.#n.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=uc(e);if(typeof t=="string"){const o=this.#n.get(t)?.find(l=>l.state.status==="pending");return!o||o===e}else return!0}runNext(e){const t=uc(e);return typeof t=="string"?this.#n.get(t)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Ut.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(a=>U0(t,a))}findAll(e={}){return this.getAll().filter(t=>U0(e,t))}notify(e){Ut.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Ut.batch(()=>Promise.all(e.map(t=>t.continue().catch(Bn))))}};function uc(e){return e.options.scope?.id}var E3=class extends iu{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,a){const o=t.queryKey,l=t.queryHash??cm(o,t);let c=this.get(l);return c||(c=new w3({client:e,queryKey:o,queryHash:l,options:e.defaultQueryOptions(t),state:a,defaultOptions:e.getQueryDefaults(o)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ut.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(a=>P0(t,a))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(a=>P0(e,a)):t}notify(e){Ut.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ut.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ut.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},R3=class{#e;#n;#t;#a;#s;#i;#o;#l;constructor(e={}){this.#e=e.queryCache||new E3,this.#n=e.mutationCache||new A3,this.#t=e.defaultOptions||{},this.#a=new Map,this.#s=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=Zx.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=Uc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#n.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),a=this.#e.build(this,t),o=a.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(bh(t.staleTime,a))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:a})=>{const o=a.data;return[t,o]})}setQueryData(e,t,a){const o=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(o.queryHash)?.state.data,u=i3(t,c);if(u!==void 0)return this.#e.build(this,o).setData(u,{...a,manual:!0})}setQueriesData(e,t,a){return Ut.batch(()=>this.#e.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,t,a)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Ut.batch(()=>{t.findAll(e).forEach(a=>{t.remove(a)})})}resetQueries(e,t){const a=this.#e;return Ut.batch(()=>(a.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const a={revert:!0,...t},o=Ut.batch(()=>this.#e.findAll(e).map(l=>l.cancel(a)));return Promise.all(o).then(Bn).catch(Bn)}invalidateQueries(e,t={}){return Ut.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const a={...t,cancelRefetch:t.cancelRefetch??!0},o=Ut.batch(()=>this.#e.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,a);return a.throwOnError||(c=c.catch(Bn)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(o).then(Bn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const a=this.#e.build(this,t);return a.isStaleByTime(bh(t.staleTime,a))?a.fetch(t):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Bn).catch(Bn)}fetchInfiniteQuery(e){return e.behavior=F0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Bn).catch(Bn)}ensureInfiniteQueryData(e){return e.behavior=F0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Uc.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(e){this.#t=e}setQueryDefaults(e,t){this.#a.set(kr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],a={};return t.forEach(o=>{Or(e,o.queryKey)&&Object.assign(a,o.defaultOptions)}),a}setMutationDefaults(e,t){this.#s.set(kr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#s.values()],a={};return t.forEach(o=>{Or(e,o.mutationKey)&&Object.assign(a,o.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#t.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cm(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===um&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#t.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},C3=U.createContext(void 0),M3=({client:e,children:t})=>(U.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),b.jsx(C3.Provider,{value:e,children:t}));const j3="data:image/svg+xml,%3csvg%20role='img'%20aria-label='Lovable'%20viewBox='0%200%2023%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20class='h-5%20w-5%20shrink-0%20transition-opacity%20duration-200'%20aria-hidden='true'%3e%3cmask%20id='_R_r9kolknolq5r7cmsnrhldb_-mask'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='23'%20height='24'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.89785%200C10.7074%200%2013.7957%203.17898%2013.7957%207.10046V9.79908H16.0913C19.9009%209.79908%2022.9892%2012.9781%2022.9892%2016.8995C22.9892%2020.821%2019.9009%2024%2016.0913%2024H0V7.10046C0%203.17898%203.08827%200%206.89785%200Z'%20fill='url(%23_R_r9kolknolq5r7cmsnrhldb_-gradient)'%3e%3c/path%3e%3c/mask%3e%3cg%20mask='url(%23_R_r9kolknolq5r7cmsnrhldb_-mask)'%3e%3cg%20filter='url(%23_R_r9kolknolq5r7cmsnrhldb_-filter0)'%3e%3cellipse%20cx='10.0844'%20cy='12.8114'%20rx='15.5619'%20ry='15.9769'%20fill='%234B73FF'%3e%3c/ellipse%3e%3c/g%3e%3cg%20filter='url(%23_R_r9kolknolq5r7cmsnrhldb_-filter1)'%3e%3cellipse%20cx='11.7941'%20cy='4.04332'%20rx='19.9306'%20ry='15.9769'%20fill='%23FF66F4'%3e%3c/ellipse%3e%3c/g%3e%3cg%20filter='url(%23_R_r9kolknolq5r7cmsnrhldb_-filter2)'%3e%3cellipse%20cx='15.0451'%20cy='1.037'%20rx='15.5619'%20ry='14.0311'%20fill='%23FF0105'%3e%3c/ellipse%3e%3c/g%3e%3cg%20filter='url(%23_R_r9kolknolq5r7cmsnrhldb_-filter3)'%3e%3cellipse%20cx='12.071'%20cy='4.03913'%20rx='9.35889'%20ry='9.60846'%20fill='%23FE7B02'%3e%3c/ellipse%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='_R_r9kolknolq5r7cmsnrhldb_-filter0'%20x='-12.6378'%20y='-10.3257'%20width='45.4442'%20height='46.2743'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='Backgroun
12dImageFix'%3e%3c/feFlood%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'%3e%3c/feBlend%3e%3cfeGaussianBlur%20stdDeviation='3.58011'%20result='effect1_foregroundBlur'%3e%3c/feGaussianBlur%3e%3c/filter%3e%3cfilter%20id='_R_r9kolknolq5r7cmsnrhldb_-filter1'%20x='-15.2967'%20y='-19.0938'%20width='54.1815'%20height='46.2743'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'%3e%3c/feFlood%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'%3e%3c/feBlend%3e%3cfeGaussianBlur%20stdDeviation='3.58011'%20result='effect1_foregroundBlur'%3e%3c/feGaussianBlur%3e%3c/filter%3e%3cfilter%20id='_R_r9kolknolq5r7cmsnrhldb_-filter2'%20x='-7.67707'%20y='-20.1544'%20width='45.4442'%20height='42.3827'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'%3e%3c/feFlood%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'%3e%3c/feBlend%3e%3cfeGaussianBlur%20stdDeviation='3.58011'%20result='effect1_foregroundBlur'%3e%3c/feGaussianBlur%3e%3c/filter%3e%3cfilter%20id='_R_r9kolknolq5r7cmsnrhldb_-filter3'%20x='-4.44806'%20y='-12.7296'%20width='33.0382'%20height='33.5375'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'%3e%3c/feFlood%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'%3e%3c/feBlend%3e%3cfeGaussianBlur%20stdDeviation='3.58011'%20result='effect1_foregroundBlur'%3e%3c/feGaussianBlur%3e%3c/filter%3e%3clinearGradient%20id='_R_r9kolknolq5r7cmsnrhldb_-gradient'%20x1='7.73627'%20y1='4.21757'%20x2='15.0724'%20y2='23.8669'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.025'%20stop-color='%23FF8E63'%3e%3c/stop%3e%3cstop%20offset='0.56'%20stop-color='%23FF7EB0'%3e%3c/stop%3e%3cstop%20offset='0.95'%20stop-color='%234B73FF'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",k3="/assets/styles-CZGQEpcR.css";function O3(e,t={}){typeof window>"u"||window.__lovableEvents?.captureException?.(e,{source:"react_error_boundary",route:window.location.pathname,...t},{mechanism:"react_error_boundary",handled:!1,severity:"error"})}const sS=(...e)=>e.filter((t,a,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===a).join(" ").trim();const D3=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const L3=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,o)=>o?o.toUpperCase():a.toLowerCase());const Y0=e=>{const t=L3(e);return t.charAt(0).toUpperCase()+t.slice(1)};var z3={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const B3=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const N3=U.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:l="",children:c,iconNode:u,...d},p)=>U.createElement("svg",{ref:p,...z3,width:t,height:t,stroke:e,strokeWidth:o?Number(a)*24/Number(t):a,className:sS("lucide",l),...!c&&!B3(d)&&{"aria-hidden":"true"},...d},[...u.map(([g,y])=>U.createElement(g,y)),...Array.isArray(c)?c:[c]]));const fm=(e,t)=>{const a=U.forwardRef(({className:o,...l},c)=>U.createElement(N3,{ref:c,iconNode:t,className:sS(`lucide-${D3(Y0(e))}`,`lucide-${e}`,o),...l}));return a.displayName=Y0(e),a};const P3=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],U3=fm("arrow-up",P3);const V3=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],I3=fm("check",V3);const H3=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],q3=fm("chevron-down",H3),aS=U.createContext({});function Dr(e){const t=U.useRef(null);return t.current===null&&(t.current=e()),t.current}const F3=typeof window<"u",iS=F3?U.useLayoutEffect:U.useEffect,dm=U.createContext(null);function hm(e,t){e.indexOf(t)===-1&&e.push(t)}function ro(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const Wn=(e,t,a)=>a>t?t:a<e?e:a;let mm=()=>{};const da={},oS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),rS=e=>typeof e=="object"&&e!==null,lS=e=>/^0[^.\s]+$/u.test(e);function cS(e){let t;return()=>(t===void 0&&(t=e()),t)}const Rn=e=>e,Ir=(...e)=>e.reduce((t,a)=>o=>a(t(o))),lo=(e,t,a)=>{const o=t-e;return o?(a-e)/o:1};class pm{constructor(){this.subscriptions=[]}add(t){return hm(this.subscriptions,t),()=>ro(this.subscriptions,t)}notify(t,a,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](t,a,o);else for(let c=0;c<l;c++){const u=this.subscriptions[c];u&&u(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const nn=e=>e*1e3,En=e=>e/1e3,uS=(e,t)=>t?e*(1e3/t):0,G3=(e,t,a)=>{const o=t-e;return((a-e)%o+o)%o+e},fS=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,Y3=1e-7,Q3=12;function K3(e,t,a,o,l){let c,u,d=0;do u=t+(a-t)/2,c=fS(u,o,l)-e,c>0?a=u:t=u;
vendor: 47,801 bytes, line 12
12while(Math.abs(c)>Y3&&++d<Q3);return u}function Hr(e,t,a,o){if(e===t&&a===o)return Rn;const l=c=>K3(c,0,1,e,a);return c=>c===0||c===1?c:fS(l(c),t,o)}const dS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,gm=e=>t=>1-e(1-t),hS=Hr(.33,1.53,.69,.99),ym=gm(hS),mS=dS(ym),pS=e=>e>=1?1:(e*=2)<1?.5*ym(e):.5*(2-Math.pow(2,-10*(e-1))),vm=e=>1-Math.sin(Math.acos(e)),gS=gm(vm),yS=dS(vm),X3=Hr(.42,0,1,1),Z3=Hr(0,0,.58,1),vS=Hr(.42,0,.58,1),bS=e=>Array.isArray(e)&&typeof e[0]!="number";function wS(e,t){return bS(e)?e[G3(0,e.length,t)]:e}const xS=e=>Array.isArray(e)&&typeof e[0]=="number",W3={linear:Rn,easeIn:X3,easeInOut:vS,easeOut:Z3,circIn:vm,circInOut:yS,circOut:gS,backIn:ym,backInOut:mS,backOut:hS,anticipate:pS},J3=e=>typeof e=="string",Q0=e=>{if(xS(e)){mm(e.length===4);const[t,a,o,l]=e;return Hr(t,a,o,l)}else if(J3(e))return W3[e];return e},fc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $3(e,t){let a=new Set,o=new Set,l=!1,c=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function p(y){u.has(y)&&(g.schedule(y),e()),y(d)}const g={schedule:(y,m=!1,w=!1)=>{const _=w&&l?a:o;return m&&u.add(y),_.add(y),y},cancel:y=>{o.delete(y),u.delete(y)},process:y=>{if(d=y,l){c=!0;return}l=!0;const m=a;a=o,o=m,a.forEach(p),a.clear(),l=!1,c&&(c=!1,g.process(y))}};return g}const ej=40;function SS(e,t){let a=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,u=fc.reduce((O,k)=>(O[k]=$3(c),O),{}),{setup:d,read:p,resolveKeyframes:g,preUpdate:y,update:m,preRender:w,render:x,postRender:_}=u,E=()=>{const O=da.useManualTiming,k=O?l.timestamp:performance.now();a=!1,O||(l.delta=o?1e3/60:Math.max(Math.min(k-l.timestamp,ej),1)),l.timestamp=k,l.isProcessing=!0,d.process(l),p.process(l),g.process(l),y.process(l),m.process(l),w.process(l),x.process(l),_.process(l),l.isProcessing=!1,a&&t&&(o=!1,e(E))},T=()=>{a=!0,o=!0,l.isProcessing||e(E)};return{schedule:fc.reduce((O,k)=>{const q=u[k];return O[k]=(F,B=!1,j=!1)=>(a||T(),q.schedule(F,B,j)),O},{}),cancel:O=>{for(let k=0;k<fc.length;k++)u[fc[k]].cancel(O)},state:l,steps:u}}const{schedule:Ne,cancel:As,state:kt,steps:qd}=SS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Rn,!0);let Tc;function tj(){Tc=void 0}const Vt={now:()=>(Tc===void 0&&Vt.set(kt.isProcessing||da.useManualTiming?kt.timestamp:performance.now()),Tc),set:e=>{Tc=e,queueMicrotask(tj)}},_S=e=>t=>typeof t=="string"&&t.startsWith(e),TS=_S("--"),nj=_S("var(--"),bm=e=>nj(e)?sj.test(e.split("/*")[0].trim()):!1,sj=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function K0(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const uo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Lr={...uo,transform:e=>Wn(0,1,e)},dc={...uo,default:1},wr=e=>Math.round(e*1e5)/1e5,wm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function aj(e){return e==null}const ij=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,xm=(e,t)=>a=>!!(typeof a=="string"&&ij.test(a)&&a.startsWith(e)||t&&!aj(a)&&Object.prototype.hasOwnProperty.call(a,t)),AS=(e,t,a)=>o=>{if(typeof o!="string")return o;const[l,c,u,d]=o.match(wm);return{[e]:parseFloat(l),[t]:parseFloat(c),[a]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},oj=e=>Wn(0,255,e),Fd={...uo,transform:e=>Math.round(oj(e))},Xa={test:xm("rgb","red"),parse:AS("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:o=1})=>"rgba("+Fd.transform(e)+", "+Fd.transform(t)+", "+Fd.transform(a)+", "+wr(Lr.transform(o))+")"};function rj(e){let t="",a="",o="",l="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),o=e.substring(5,7),l=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),o=e.substring(3,4),l=e.substring(4,5),t+=t,a+=a,o+=o,l+=l),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const Sh={test:xm("#"),parse:rj,transform:Xa.transform},qr=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xs=qr("deg"),Zn=qr("%"),de=qr("px"),lj=qr("vh"),cj=qr("vw"),X0={...Zn,parse:e=>Zn.parse(e)/100,transform:e=>Zn.transform(e*100)},eo={test:xm("hsl","hue"),parse:AS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(e)+", "+Zn.transform(wr(t))+", "+Zn.transform(wr(a))+", "+wr(Lr.transform(o))+")"},ht={test:e=>Xa.test(e)||Sh.test(e)||eo.test(e),parse:e=>Xa.test(e)?Xa.parse(e):eo.test(e)?eo.parse(e):Sh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Xa.transform(e):eo.transform(e),getAnimatableNone:e=>{const t=ht.parse(e);return t.alpha=0,ht.transform(t)}},uj=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function fj(e){return isNaN(e)&&typeof e=="string"&&(e.match(wm)?.length||0)+(e.match(uj)?.length||0)>0}const ES="number",RS="color",dj="var",hj="var(",Z0="${}",mj=/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 co(e){const t=e.toString(),a=[],o={color:[],number:[],var:[]},l=[];let c=0;const d=t.replace(mj,p=>(ht.test(p)?(o.color.push(c),l.push(RS),a.push(ht.parse(p))):p.startsWith(hj)?(o.var.push(c),l.push(dj),a.push(p)):(o.number.push(c),l.push(ES),a.push(parseFloat(p))),++c,Z0)).split(Z0);return{values:a,split:d,indexes:o,types:l}}function pj(e){return co(e).values}function CS({split:e,types:t}){const a=e.length;return o=>{let l="";for(let c=0;c<a;c++)if(l+=e[c],o[c]!==void 0){const u=t[c];u===ES?l+=wr(o[c]):u===RS?l+=ht.transform(o[c]):l+=o[c]}return l}}function gj(e){return CS(co(e))}const yj=e=>typeof e=="number"?0:ht.test(e)?ht.getAnimatableNone(e):e,vj=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:yj(e);function bj(e){const t=co(e);return CS(t)(t.values.map((o,l)=>vj(o,t.split[l])))}const Nn={test:fj,parse:pj,createTransformer:gj,getAnimatableNone:bj};function Gd(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function wj({hue:e,saturation:t,lightness:a,alpha:o}){e/=360,t/=100,a/=100;let l=0,c=0,u=0;if(!t)l=c=u=a;else{const d=a<.5?a*(1+t):a+t-a*t,p=2*a-d;l=Gd(p,d,e+1/3),c=Gd(p,d,e),u=Gd(p,d,e-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:o}}function Vc(e,t){return a=>a>0?t:e}const He=(e,t,a)=>e+(t-e)*a,Yd=(e,t,a)=>{const o=e*e,l=a*(t*t-o)+o;return l<0?0:Math.sqrt(l)},xj=[Sh,Xa,eo],Sj=e=>xj.find(t=>t.test(e));function W0(e){const t=Sj(e);if(!t)return!1;let a=t.parse(e);return t===eo&&(a=wj(a)),a}const J0=(e,t)=>{const a=W0(e),o=W0(t);if(!a||!o)return Vc(e,t);const l={...a};return c=>(l.red=Yd(a.red,o.red,c),l.green=Yd(a.green,o.green,c),l.blue=Yd(a.blue,o.blue,c),l.alpha=He(a.alpha,o.alpha,c),Xa.transform(l))},_h=new Set(["none","hidden"]);function _j(e,t){return _h.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function Tj(e,t){return a=>He(e,t,a)}function Sm(e){return typeof e=="number"?Tj:typeof e=="string"?bm(e)?Vc:ht.test(e)?J0:Rj:Array.isArray(e)?MS:typeof e=="object"?ht.test(e)?J0:Aj:Vc}function MS(e,t){const a=[...e],o=a.length,l=e.map((c,u)=>Sm(c)(c,t[u]));return c=>{for(let u=0;u<o;u++)a[u]=l[u](c);return a}}function Aj(e,t){const a={...e,...t},o={};for(const l in a)e[l]!==void 0&&t[l]!==void 0&&(o[l]=Sm(e[l])(e[l],t[l]));return l=>{for(const c in o)a[c]=o[c](l);return a}}function Ej(e,t){const a=[],o={color:0,var:0,number:0};for(let l=0;l<t.values.length;l++){const c=t.types[l],u=e.indexes[c][o[c]],d=e.values[u]??0;a[l]=d,o[c]++}return a}const Rj=(e,t)=>{const a=Nn.createTransformer(t),o=co(e),l=co(t);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?_h.has(e)&&!l.values.length||_h.has(t)&&!o.values.length?_j(e,t):Ir(MS(Ej(o,l),l.values),a):Vc(e,t)};function jS(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?He(e,t,a):Sm(e)(e,t)}const Cj=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>Ne.update(t,a),stop:()=>As(t),now:()=>kt.isProcessing?kt.timestamp:Vt.now()}},kS=(e,t,a=10)=>{let o="";const l=Math.max(Math.round(t/a),2);for(let c=0;c<l;c++)o+=Math.round(e(c/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},Ic=2e4;function _m(e){let t=0;const a=50;let o=e.next(t);for(;!o.done&&t<Ic;)t+=a,o=e.next(t);return t>=Ic?1/0:t}function OS(e,t=100,a){const o=a({...e,keyframes:[0,t]}),l=Math.min(_m(o),Ic);return{type:"keyframes",ease:c=>o.next(l*c).value/t,duration:En(l)}}const st={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 Th(e,t){return e*Math.sqrt(1-t*t)}const Mj=12;function jj(e,t,a){let o=a;for(let l=1;l<Mj;l++)o=o-e(o)/t(o);return o}const Qd=.001;function kj({duration:e=st.duration,bounce:t=st.bounce,velocity:a=st.velocity,mass:o=st.mass}){let l,c,u=1-t;u=Wn(st.minDamping,st.maxDamping,u),e=Wn(st.minDuration,st.maxDuration,En(e)),u<1?(l=g=>{const y=g*u,m=y*e,w=y-a,x=Th(g,u),_=Math.exp(-m);return Qd-w/x*_},c=g=>{const m=g*u*e,w=m*a+a,x=Math.pow(u,2)*Math.pow(g,2)*e,_=Math.exp(-m),E=Th(Math.pow(g,2),u);return(-l(g)+Qd>0?-1:1)*((w-x)*_)/E}):(l=g=>{const y=Math.exp(-g*e),m=(g-a)*e+1;return-Qd+y*m},c=g=>{const y=Math.exp(-g*e),m=(a-g)*(e*e);return y*m});const d=5/e,p=jj(l,c,d);if(e=nn(e),isNaN(p))return{stiffness:st.stiffness,damping:st.damping,duration:e};{const g=Math.pow(p,2)*o;return{stiffness:g,damping:u*2*Math.sqrt(o*g),duration:e}}}const Oj=["duration","bounce"],Dj=["stiffness","damping","mass"];function $0(e,t){return t.some(a=>e[a]!==void 0)}function Lj(e){let t={velocity:st.velocity,stiffness:st.stiffness,damping:st.damping,mass:st.mass,isResolvedFromDuration:!1,...e};if(!$0(e,Dj)&&$0(e,Oj))if(t.velocity=0,e.visualDuration){const a=e.visualDuration,o=2*Math.PI/(a*1.2),l=o*o,c=2*Wn(.05,1,1-(e.bounce||0))*Math.sqrt(l);t={...t,mass:st.mass,stiffness:l,damping:c}}else{const a=kj({...e,velocity:0});t={...t,...a,mass:st.mass},t.isResolvedFromDuration=!0}return t}function zr(e=st.visualDuration,t=st.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:l}=a;const c=a.keyframes[0],u=a.keyframes[a.keyframes.length-1],d={done:!1,value:c},{stiffness:p,damping:g,mass:y,duration:m,velocity:w,isResolvedFromDuration:x}=Lj({...a,velocity:-En(a.velocity||0)}),_=w||0,E=g/(2*Math.sqrt(p*y)),T=u-c,S=En(Math.sqrt(p/y)),R=Math.abs(T)<5;o||(o=R?st.restSpeed.granular:st.restSpeed.default),l||(l=R?st.restDelta.granular:st.restDelta.default);let O,k,q,F,B,j;if(E<1)q=Th(S,E),F=(_+E*S*T)/q,O=Z=>{const te=Math.exp(-E*S*Z);return u-te*(F*Math.sin(q*Z)+T*Math.cos(q*Z))},B=E*S*F+T*q,j=E*S*T-F*q,k=Z=>Math.exp(-E*S*Z)*(B*Math.sin(q*Z)+j*Math.cos(q*Z));else if(E===1){O=te=>u-Math.exp(-S*te)*(T+(_+S*T)*te);const Z=_+S*T;k=te=>Math.exp(-S*te)*(S*Z*te-_)}else{const Z=S*Math.sqrt(E*E-1);O=ae=>{const le=Math.exp(-E*S*ae),L=Math.min(Z*ae,300);return u-le*((_+E*S*T)*Math.sinh(L)+Z*T*Math.cosh(L))/Z};const te=(_+E*S*T)/Z,oe=E*S*te-T*Z,re=E*S*T-te*Z;k=ae=>{const le=Math.exp(-E*S*ae),L=Math.min(Z*ae,300);return le*(oe*Math.sinh(L)+re*Math.cosh(L))}}const G={calculatedDuration:x&&m||null,velocity:Z=>nn(k(Z)),next:Z=>{if(!x&&E<1){const oe=Math.exp(-E*S*Z),re=Math.sin(q*Z),ae=Math.cos(q*Z),le=u-oe*(F*re+T*ae),L=nn(oe*(B*re+j*ae));return d.done=Math.abs(L)<=o&&Math.abs(u-le)<=l,d.value=d.done?u:le,d}const te=O(Z);if(x)d.done=Z>=m;else{const oe=nn(k(Z));d.done=Math.abs(oe)<=o&&Math.abs(u-te)<=l}return d.value=d.done?u:te,d},toString:()=>{const Z=Math.min(_m(G),Ic),te=kS(oe=>G.next(Z*oe).value,Z,30);return Z+"ms "+te},toTransition:()=>{}};return G}zr.applyToOptions=e=>{const t=OS(e,100,zr);return e.ease=t.ease,e.duration=nn(t.duration),e.type="keyframes",e};const zj=5;function DS(e,t,a){const o=Math.max(t-zj,0);return uS(a-e(o),t-o)}function Ah({keyframes:e,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:u,min:d,max:p,restDelta:g=.5,restSpeed:y}){const m=e[0],w={done:!1,value:m},x=j=>d!==void 0&&j<d||p!==void 0&&j>p,_=j=>d===void 0?p:p===void 0||Math.abs(d-j)<Math.abs(p-j)?d:p;let E=a*t;const T=m+E,S=u===void 0?T:u(T);S!==T&&(E=S-m);const R=j=>-E*Math.exp(-j/o),O=j=>S+R(j),k=j=>{const G=R(j),Z=O(j);w.done=Math.abs(G)<=g,w.value=w.done?S:Z};let q,F;const B=j=>{x(w.value)&&(q=j,F=zr({keyframes:[w.value,_(w.value)],velocity:DS(O,j,w.value),damping:l,stiffness:c,restDelta:g,restSpeed:y}))};return B(0),{calculatedDuration:null,next:j=>{let G=!1;return!F&&q===void 0&&(G=!0,k(j),B(j)),q!==void 0&&j>=q?F.next(j-q):(!G&&k(j),w)}}}function Bj(e,t,a){const o=[],l=a||da.mix||jS,c=e.length-1;for(let u=0;u<c;u++){let d=l(e[u],e[u+1]);if(t){const p=Array.isArray(t)?t[u]||Rn:t;d=Ir(p,d)}o.push(d)}return o}function LS(e,t,{clamp:a=!0,ease:o,mixer:l}={}){const c=e.length;if(mm(c===t.length),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=Bj(t,o,l),p=d.length,g=y=>{if(u&&y<e[0])return t[0];let m=0;if(p>1)for(;m<e.length-2&&!(y<e[m+1]);m++);const w=lo(e[m],e[m+1],y);return d[m](w)};return a?y=>g(Wn(e[0],e[c-1],y)):g}function zS(e,t){const a=e[e.length-1];for(let o=1;o<=t;o++){const l=lo(0,t,o);e.push(He(a,1,l))}}function BS(e){const t=[0];return zS(t,e.length-1),t}function Nj(e,t){return e.map(a=>a*t)}function Pj(e,t){return e.map(()=>t||vS).splice(0,e.length-1)}function xr({duration:e=300,keyframes:t,times:a,ease:o="easeInOut"}){const l=bS(o)?o.map(Q0):Q0(o),c={done:!1,value:t[0]},u=Nj(a&&a.length===t.length?a:BS(t),e),d=LS(u,t,{ease:Array.isArray(l)?l:Pj(t,l)});return{calculatedDuration:e,next:p=>(c.value=d(p),c.done=p>=e,c)}}const Uj=e=>e!==null;function ou(e,{repeat:t,repeatType:a="loop"},o,l=1){const c=e.filter(Uj),d=l<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!d||o===void 0?c[d]:o}const Vj={decay:Ah,inertia:Ah,tween:xr,keyframes:xr,spring:zr};function NS(e){typeof e.type=="string"&&(e.type=Vj[e.type])}class Tm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const Ij=e=>e/100;class Br extends Tm{constructor(t){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:a}=this.options;a&&a.updatedAt!==Vt.now()&&this.tick(Vt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;NS(t);const{type:a=xr,repeat:o=0,repeatDelay:l=0,repeatType:c,velocity:u=0}=t;let{keyframes:d}=t;const p=a||xr;p!==xr&&typeof d[0]!="number"&&(this.mixKeyframes=Ir(Ij,jS(d[0],d[1])),d=[0,100]);const g=p({...t,keyframes:d});c==="mirror"&&(this.mirroredGenerator=p({...t,keyframes:[...d].reverse(),velocity:-u})),g.calculatedDuration===null&&(g.calculatedDuration=_m(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=g}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:o,totalDuration:l,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:p}=this;if(this.startTime===null)return o.next(0);const{delay:g=0,keyframes:y,repeat:m,repeatType:w,repeatDelay:x,type:_,onUpdate:E,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-l/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const S=this.currentTime-g*(this.playbackSpeed>=0?1:-1),R=this.playbackSpeed>=0?S<0:S>l;this.currentTime=Math.max(S,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let O=this.currentTime,k=o;if(m){const j=Math.min(this.currentTime,l)/d;let G=Math.floor(j),Z=j%1;!Z&&j>=1&&(Z=1),Z===1&&G--,G=Math.min(G,m+1),G%2&&(w==="reverse"?(Z=1-Z,x&&(Z-=x/d)):w==="mirror"&&(k=u)),O=Wn(0,1,Z)*d}let q;R?(this.delayState.value=y[0],q=this.delayState):q=k.next(O),c&&!R&&(q.value=c(q.value));let{done:F}=q;!R&&p!==null&&(F=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return B&&_!==Ah&&(q.value=ou(y,this.options,T,this.speed)),E&&E(q.value),B&&this.finish(),q}then(t,a){return this.finished.then(t,a)}get duration(){return En(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+En(t)}get time(){return En(this.currentTime)}set time(t){t=nn(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const a=this.generator.next(t).value;return DS(o=>this.generator.next(o).value,t,a)}get speed(){return this.playbackSpeed}set speed(t){const a=this.playbackSpeed!==t;a&&this.driver&&this.updateTime(Vt.now()),this.playbackSpeed=t,a&&this.driver&&(this.time=En(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Cj,startTime:a}=this.options;this.driver||(this.driver=t(l=>this.tick(l))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??o),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(Vt.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(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function Hj(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Za=e=>e*180/Math.PI,Eh=e=>{const t=Za(Math.atan2(e[1],e[0]));return Rh(t)},qj={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Eh,rotateZ:Eh,skewX:e=>Za(Math.atan(e[1])),skewY:e=>Za(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Rh=e=>(e=e%360,e<0&&(e+=360),e),eb=Eh,tb=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),nb=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Fj={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tb,scaleY:nb,scale:e=>(tb(e)+nb(e))/2,rotateX:e=>Rh(Za(Math.atan2(e[6],e[5]))),rotateY:e=>Rh(Za(Math.atan2(-e[2],e[0]))),rotateZ:eb,rotate:eb,skewX:e=>Za(Math.atan(e[4])),skewY:e=>Za(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ch(e){return e.includes("scale")?1:0}function Mh(e,t){if(!e||e==="none")return Ch(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(a)o=Fj,l=a;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=qj,l=d}if(!l)return Ch(t);const c=o[t],u=l[1].split(",").map(Yj);return typeof c=="function"?c(u):u[c]}const Gj=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return Mh(a,t)};function Yj(e){return parseFloat(e.trim())}const fo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ho=new Set([...fo,"pathRotation"]),sb=e=>e===uo||e===de,Qj=new Set(["x","y","z"]),Kj=fo.filter(e=>!Qj.has(e));function Xj(e){const t=[];return Kj.forEach(a=>{const o=e.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}const ca={width:({x:e},{paddingLeft:t="0",paddingRight:a="0",boxSizing:o})=>{const l=e.max-e.min;return o==="border-box"?l:l-parseFloat(t)-parseFloat(a)},height:({y:e},{paddingTop:t="0",paddingBottom:a="0",boxSizing:o})=>{const l=e.max-e.min;return o==="border-box"?l:l-parseFloat(t)-parseFloat(a)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Mh(t,"x"),y:(e,{transform:t})=>Mh(t,"y")};ca.translateX=ca.x;ca.translateY=ca.y;const $a=new Set;let jh=!1,kh=!1,Oh=!1;function PS(){if(kh){const e=Array.from($a).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),a=new Map;t.forEach(o=>{const l=Xj(o);l.length&&(a.set(o,l),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const l=a.get(o);l&&l.forEach(([c,u])=>{o.getValue(c)?.set(u)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}kh=!1,jh=!1,$a.forEach(e=>e.complete(Oh)),$a.clear()}function US(){$a.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(kh=!0)})}function Zj(){Oh=!0,US(),PS(),Oh=!1}class Am{constructor(t,a,o,l,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=l,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?($a.add(this),jh||(jh=!0,Ne.read(US),Ne.resolveKeyframes(PS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:o,motionValue:l}=this;if(t[0]===null){const c=l?.get(),u=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&a){const d=o.readValue(a,u);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=u),l&&c===void 0&&l.set(t[0])}Hj(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),$a.delete(this)}cancel(){this.state==="scheduled"&&($a.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Wj=e=>e.startsWith("--");function VS(e,t,a){Wj(t)?e.style.setProperty(t,a):e.style[t]=a}const Jj={};function Em(e,t){const a=cS(e);return()=>Jj[t]??a()}const $j=Em(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),zN=Em(()=>window.ViewTimeline!==void 0,"viewTimeline"),IS=Em(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),br=([e,t,a,o])=>`cubic-bezier(${e}, ${t}, ${a}, ${o})`,ab={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:br([0,.65,.55,1]),circOut:br([.55,0,1,.45]),backIn:br([.31,.01,.66,-.59]),backOut:br([.33,1.53,.69,.99])};function HS(e,t){if(e)return typeof e=="function"?IS()?kS(e,t):"ease-out":xS(e)?br(e):Array.isArray(e)?e.map(a=>HS(a,t)||ab.easeOut):ab[e]}function ek(e,t,a,{delay:o=0,duration:l=300,repeat:c=0,repeatType:u="loop",ease:d="easeOut",times:p}={},g=void 0){const y={[t]:a};p&&(y.offset=p);const m=HS(d,l);Array.isArray(m)&&(y.easing=m);const w={delay:o,duration:l,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return g&&(w.pseudoElement=g),e.animate(y,w)}function Rm(e){return typeof e=="function"&&"applyToOptions"in e}function tk({type:e,...t}){return Rm(e)&&IS()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class qS extends Tm{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:a,name:o,keyframes:l,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:d,onComplete:p}=t;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=t,mm(typeof t.type!="string");const g=tk(t);this.animation=ek(a,o,l,g,c),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const y=ou(l,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(y),VS(a,o,y),this.animation.cancel()}p?.(),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:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return En(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+En(t)}get time(){return En(Number(this.animation.currentTime)||0)}set time(t){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=nn(t),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:a,rangeEnd:o,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&$j()?(this.animation.timeline=t,a&&(this.animation.rangeStart=a),o&&(this.animation.rangeEnd=o),Rn):l(this)}}const FS={anticipate:pS,backInOut:mS,circInOut:yS};function nk(e){return e in FS}function sk(e){typeof e.ease=="string"&&nk(e.ease)&&(e.ease=FS[e.ease])}const Kd=10;class ak extends qS{constructor(t){sk(t),NS(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:o,onComplete:l,element:c,...u}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const d=new Br({...u,autoplay:!1}),p=Math.max(Kd,Vt.now()-this.startTime),g=Wn(0,Kd,p-Kd),y=d.sample(p).value,{name:m}=this.options;c&&m&&VS(c,m,y),a.setWithVelocity(d.sample(Math.max(0,p-g)).value,y,g),d.stop()}}const ib=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Nn.test(e)||e==="0")&&!e.startsWith("url("));function ik(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function ok(e,t,a,o){const l=e[0];if(l===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],u=ib(l,t),d=ib(c,t);return!u||!d?!1:ik(e)||(a==="spring"||Rm(a))&&o}function Dh(e){e.duration=0,e.type="keyframes"}const GS=new Set(["opacity","clipPath","filter","transform"]),rk=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function lk(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&rk.test(e[t]))return!0;return!1}const ck=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),uk=cS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fk(e){const{motionValue:t,name:a,repeatDelay:o,repeatType:l,damping:c,type:u,keyframes:d}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:y}=t.owner.getProps();return uk()&&a&&(GS.has(a)||ck.has(a)&&lk(d))&&(a!=="transform"||!y)&&!g&&!o&&l!=="mirror"&&c!==0&&u!=="inertia"}const dk=40;class hk extends Tm{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:u="loop",keyframes:d,name:p,motionValue:g,element:y,...m}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Vt.now();const w={autoplay:t,delay:a,type:o,repeat:l,repeatDelay:c,repeatType:u,name:p,motionValue:g,element:y,...m},x=y?.KeyframeResolver||Am;this.keyframeResolver=new x(d,(_,E,T)=>this.onKeyframesResolved(_,E,w,!T),p,g,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,o,l){this.keyframeResolver=void 0;const{name:c,type:u,velocity:d,delay:p,isHandoff:g,onUpdate:y}=o;this.resolvedAt=Vt.now();let m=!0;ok(t,c,u,d)||(m=!1,(da.instantAnimations||!p)&&y?.(ou(t,o,a)),t[0]=t[t.length-1],Dh(o),o.repeat=0);const x={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>dk?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},_=m&&!g&&fk(x),E=x.motionValue?.owner?.current;let T;if(_)try{T=new ak({...x,element:E})}catch{T=new Br(x)}else T=new Br(x);T.finished.then(()=>{this.notifyFinished()}).catch(Rn),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Zj()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}class mk{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,a){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=a}attachTimeline(t){const a=this.animations.map(o=>o.attachTimeline(t));return()=>{a.forEach((o,l)=>{o&&o(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return ob(this.animations,"duration")}get iterationDuration(){return ob(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(a=>a[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function ob(e,t){let a=0;for(let o=0;o<e.length;o++){const l=e[o][t];l!==null&&l>a&&(a=l)}return a}class pk extends mk{then(t,a){return this.finished.finally(t).then(()=>{})}}function YS(e,t,a,o=0,l=1){const c=Array.from(e).sort((g,y)=>g.sortNodePosition(y)).indexOf(t),u=e.size,d=(u-1)*o;return typeof a=="function"?a(c,u):l===1?c*o:d-c*o}const rb=30,gk=e=>!isNaN(parseFloat(e)),Sr={current:void 0};class yk{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const l=Vt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=Vt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=gk(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new pm);const o=this.events[t].add(a);return t==="change"?()=>{o(),Ne.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Sr.current&&Sr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Vt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>rb)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,rb);return uS(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),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 ha(e,t){return new yk(e,t)}function QS(e,t){if(e?.inherit&&t){const{inherit:a,...o}=e;return{...t,...o}}return e}function Cm(e,t){const a=e?.[t]??e?.default??e;return a!==e?QS(a,e):a}const vk={type:"spring",stiffness:500,damping:25,restSpeed:10},bk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),wk={type:"keyframes",duration:.8},xk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Sk=(e,{keyframes:t})=>t.length>2?wk:ho.has(e)?e.startsWith("scale")?bk(t[1]):vk:xk,_k=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Tk(e){for(const t in e)if(!_k.has(t))return!0;return!1}const Mm=(e,t,a,o={},l,c)=>u=>{const d=Cm(o,e)||{},p=d.delay||o.delay||0;let{elapsed:g=0}=o;g=g-nn(p);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-g,onUpdate:w=>{t.set(w),d.onUpdate&&d.onUpdate(w)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:c?void 0:l};Tk(d)||Object.assign(y,Sk(e,y)),y.duration&&(y.duration=nn(y.duration)),y.repeatDelay&&(y.repeatDelay=nn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let m=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Dh(y),y.delay===0&&(m=!0)),(da.instantAnimations||da.skipAnimations||l?.shouldSkipAnimations||d.skipAnimations)&&(m=!0,Dh(y),y.delay=0),y.allowFlatten=!d.type&&!d.ease,m&&!c&&t.get()!==void 0){const w=ou(y.keyframes,d);if(w!==void 0){Ne.update(()=>{y.onUpdate(w),y.onComplete()});return}}return d.isSync?new Br(y):new hk(y)},Ak=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ek(e){const t=Ak.exec(e);if(!t)return[,];const[,a,o,l]=t;return[`--${a??o}`,l]}function KS(e,t,a=1){const[o,l]=Ek(e);if(!o)return;const c=window.getComputedStyle(t).getPropertyValue(o);if(c){const u=c.trim();return oS(u)?parseFloat(u):u}return bm(l)?KS(l,t,a+1):l}function lb(e){const t=[{},{}];return e?.values.forEach((a,o)=>{t[0][o]=a.get(),t[1][o]=a.getVelocity()}),t}function jm(e,t,a,o){if(typeof t=="function"){const[l,c]=lb(o);t=t(a!==void 0?a:e.custom,l,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[l,c]=lb(o);t=t(a!==void 0?a:e.custom,l,c)}return t}function ei(e,t,a){const o=e.getProps();return jm(o,t,a!==void 0?a:o.custom,e)}const XS=new Set(["width","height","top","left","right","bottom",...fo]),Lh=e=>Array.isArray(e);function Rk(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,ha(a))}function Ck(e){return Lh(e)?e[e.length-1]||0:e}function Mk(e,t){const a=ei(e,t);let{transitionEnd:o={},transition:l={},...c}=a||{};c={...c,...o};for(const u in c){const d=Ck(c[u]);Rk(e,u,d)}}const rt=e=>!!(e&&e.getVelocity);function jk(e){return!!(rt(e)&&e.add)}function zh(e,t){const a=e.getValue("willChange");if(jk(a))return a.add(t);if(!a&&da.WillChange){const o=new da.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function km(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const kk="framerAppearId",ZS="data-"+km(kk);function WS(e){return e.props[ZS]}function Ok({protectedKeys:e,needsAnimating:t},a){const o=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,o}function Om(e,t,{delay:a=0,transitionOverride:o,type:l}={}){let{transition:c,transitionEnd:u,...d}=t;const p=e.getDefaultTransition();c=c?QS(c,p):p;const g=c?.reduceMotion,y=c?.skipAnimations;o&&(c=o);const m=[],w=l&&e.animationState&&e.animationState.getState()[l],x=c?.path;x&&x.animateVisualElement(e,d,c,a,m);for(const _ in d){const E=e.getValue(_,e.latestValues[_]??null),T=d[_];if(T===void 0||w&&Ok(w,_))continue;const S={delay:a,...Cm(c||{},_)};y&&(S.skipAnimations=!0);const R=E.get();if(R!==void 0&&!E.isAnimating()&&!Array.isArray(T)&&T===R&&!S.velocity){Ne.update(()=>E.set(T));continue}let O=!1;if(window.MotionHandoffAnimation){const F=WS(e);if(F){const B=window.MotionHandoffAnimation(F,_,Ne);B!==null&&(S.startTime=B,O=!0)}}zh(e,_);const k=g??e.shouldReduceMotion;E.start(Mm(_,E,T,k&&XS.has(_)?{type:!1}:S,e,O));const q=E.animation;q&&m.push(q)}if(u){const _=()=>Ne.update(()=>{u&&Mk(e,u)});m.length?Promise.all(m).then(_):_()}return m}function Bh(e,t,a={}){const o=ei(e,t,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(l=a.transitionOverride);const c=o?()=>Promise.all(Om(e,o,a)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:m}=l;return Dk(e,t,p,g,y,m,a)}:()=>Promise.resolve(),{when:d}=l;if(d){const[p,g]=d==="beforeChildren"?[c,u]:[u,c];return p().then(()=>g())}else return Promise.all([c(),u(a.delay)])}function Dk(e,t,a=0,o=0,l=0,c=1,u){const d=[];for(const p of e.variantChildren)p.notify("AnimationStart",t),d.push(Bh(p,t,{...u,delay:a+(typeof o=="function"?0:o)+YS(e.variantChildren,p,o,l,c)}).then(()=>p.notify("AnimationComplete",t)));return Promise.all(d)}function Lk(e,t,a={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const l=t.map(c=>Bh(e,c,a));o=Promise.all(l)}else if(typeof t=="string")o=Bh(e,t,a);else{const l=typeof t=="function"?ei(e,t,a.custom):t;o=Promise.all(Om(e,l,a))}return o.then(()=>{e.notify("AnimationComplete",t)})}const zk={test:e=>e==="auto",parse:e=>e},JS=e=>t=>t.test(e),$S=[uo,de,Zn,xs,cj,lj,zk],cb=e=>$S.find(JS(e));function Bk(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||lS(e):!0}const Nk=new Set(["brightness","contrast","saturate","opacity"]);function Pk(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=a.match(wm)||[];if(!o)return e;const l=a.replace(o,"");let c=Nk.has(t)?1:0;return o!==a&&(c*=100),t+"("+c+l+")"}const Uk=/\b([a-z-]*)\(.*?\)/gu,Nh={...Nn,getAnimatableNone:e=>{const t=e.match(Uk);return t?t.map(Pk).join(" "):e}},Ph={...Nn,getAnimatableNone:e=>{const t=Nn.parse(e);return Nn.createTransformer(e)(t.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}},ub={...uo,transform:Math.round},Vk={rotate:xs,pathRotation:xs,rotateX:xs,rotateY:xs,rotateZ:xs,scale:dc,scaleX:dc,scaleY:dc,scaleZ:dc,skew:xs,skewX:xs,skewY:xs,distance:de,translateX:de,translateY:de,translateZ:de,x:de,y:de,z:de,perspective:de,transformPerspective:de,opacity:Lr,originX:X0,originY:X0,originZ:de},Hc={borderWidth:de,borderTopWidth:de,borderRightWidth:de,borderBottomWidth:de,borderLeftWidth:de,borderRadius:de,borderTopLeftRadius:de,borderTopRightRadius:de,borderBottomRightRadius:de,borderBottomLeftRadius:de,width:de,maxWidth:de,height:de,maxHeight:de,top:de,right:de,bottom:de,left:de,inset:de,insetBlock:de,insetBlockStart:de,insetBlockEnd:de,insetInline:de,insetInlineStart:de,insetInlineEnd:de,padding:de,paddingTop:de,paddingRight:de,paddingBottom:de,paddingLeft:de,paddingBlock:de,paddingBlockStart:de,paddingBlockEnd:de,paddingInline:de,paddingInlineStart:de,paddingInlineEnd:de,margin:de,marginTop:de,marginRight:de,marginBottom:de,marginLeft:de,marginBlock:de,marginBlockStart:de,marginBlockEnd:de,marginInline:de,marginInlineStart:de,marginInlineEnd:de,fontSize:de,backgroundPositionX:de,backgroundPositionY:de,...Vk,zIndex:ub,fillOpacity:Lr,strokeOpacity:Lr,numOctaves:ub},Ik={...Hc,color:ht,backgroundColor:ht,outlineColor:ht,fill:ht,stroke:ht,borderColor:ht,borderTopColor:ht,borderRightColor:ht,borderBottomColor:ht,borderLeftColor:ht,filter:Nh,WebkitFilter:Nh,mask:Ph,WebkitMask:Ph},e1=e=>Ik[e],Hk=new Set([Nh,Ph]);function t1(e,t){let a=e1(e);return Hk.has(a)||(a=Nn),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const qk=new Set(["auto","none","0"]);function Fk(e,t,a){let o=0,l;for(;o<e.length&&!l;){const c=e[o];typeof c=="string"&&!qk.has(c)&&co(c).values.length&&(l=e[o]),o++}if(l&&a)for(const c of t)e[c]=t1(a,l)}class Gk extends Am{constructor(t,a,o,l,c){super(t,a,o,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<t.length;y++){let m=t[y];if(typeof m=="string"&&(m=m.trim(),bm(m))){const w=KS(m,a.current);w!==void 0&&(t[y]=w),y===t.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!XS.has(o)||t.length!==2)return;const[l,c]=t,u=cb(l),d=cb(c),p=K0(l),g=K0(c);if(p!==g&&ca[o]){this.needsMeasurement=!0;return}if(u!==d)if(sb(u)&&sb(d))for(let y=0;y<t.length;y++){const m=t[y];typeof m=="string"&&(t[y]=parseFloat(m))}else ca[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,o=[];for(let l=0;l<t.length;l++)(t[l]===null||Bk(t[l]))&&o.push(l);o.length&&Fk(t,o,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ca[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const l=a[a.length-1];l!==void 0&&t.getValue(o,l).jump(l,!1)}measureEndState(){const{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const l=t.getValue(a);l&&l.jump(this.measuredOrigin,!1);const c=o.length-1,u=o[c];o[c]=ca[a](t.measureViewportBox(),window.getComputedStyle(t.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,p])=>{t.getValue(d).set(p)}),this.resolveNoneKeyframes()}}function Dm(e,t,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);const l=a?.[e]??o.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e).filter(o=>o!=null)}const Uh=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Yk(e){return rS(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Lm,cancel:BN}=SS(queueMicrotask,!1),zn={x:!1,y:!1};function n1(){return zn.x||zn.y}function Qk(e){return e==="x"||e==="y"?zn[e]?null:(zn[e]=!0,()=>{zn[e]=!1}):zn.x||zn.y?null:(zn.x=zn.y=!0,()=>{zn.x=zn.y=!1})}function s1(e,t){const a=Dm(e),o=new AbortController,l={passive:!0,...t,signal:o.signal};return[a,l,()=>o.abort()]}function Kk(e){return!(e.pointerType==="touch"||n1())}function Xk(e,t,a={}){const[o,l,c]=s1(e,a);return o.forEach(u=>{let d=!1,p=!1,g;const y=()=>{u.removeEventListener("pointerleave",_)},m=T=>{g&&(g(T),g=void 0),y()},w=T=>{d=!1,window.removeEventListener("pointerup",w),window.removeEventListener("pointercancel",w),p&&(p=!1,m(T))},x=()=>{d=!0,window.addEventListener("pointerup",w,l),window.addEventListener("pointercancel",w,l)},_=T=>{if(T.pointerType!=="touch"){if(d){p=!0;return}m(T)}},E=T=>{if(!Kk(T))return;p=!1;const S=t(u,T);typeof S=="function"&&(g=S,u.addEventListener("pointerleave",_,l))};u.addEventListener("pointerenter",E,l),u.addEventListener("pointerdown",x,l)}),c}const a1=(e,t)=>t?e===t?!0:a1(e,t.parentElement):!1,zm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Zk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Wk(e){return Zk.has(e.tagName)||e.isContentEditable===!0}const Jk=new Set(["INPUT","SELECT","TEXTAREA"]);function $k(e){return Jk.has(e.tagName)||e.isContentEditable===!0}const Ac=new WeakSet;function fb(e){return t=>{t.key==="Enter"&&e(t)}}function Xd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const eO=(e,t)=>{const a=e.currentTarget;if(!a)return;const o=fb(()=>{if(Ac.has(a))return;Xd(a,"down");const l=fb(()=>{Xd(a,"up")}),c=()=>Xd(a,"cancel");a.addEventListener("keyup",l,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function db(e){return zm(e)&&!n1()}const hb=new WeakSet;function tO(e,t,a={}){const[o,l,c]=s1(e,a),u=d=>{const p=d.currentTarget;if(!db(d)||hb.has(d))return;Ac.add(p),a.stopPropagation&&hb.add(d);const g=t(p,d),y=(x,_)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",w),Ac.has(p)&&Ac.delete(p),db(x)&&typeof g=="function"&&g(x,{success:_})},m=x=>{y(x,p===window||p===document||a.useGlobalTarget||a1(p,x.target))},w=x=>{y(x,!1)};window.addEventListener("pointerup",m,l),window.addEventListener("pointercancel",w,l)};return o.forEach(d=>{(a.useGlobalTarget?window:d).addEventListener("pointerdown",u,l),Yk(d)&&(d.addEventListener("focus",g=>eO(g,l)),!Wk(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),c}function ru(e){return rS(e)&&"ownerSVGElement"in e}const Ec=new WeakMap;let Rc;const i1=(e,t,a)=>(o,l)=>l&&l[0]?l[0][e+"Size"]:ru(o)&&"getBBox"in o?o.getBBox()[t]:o[a],nO=i1("inline","width","offsetWidth"),sO=i1("block","height","offsetHeight");function aO({target:e,borderBoxSize:t}){Ec.get(e)?.forEach(a=>{a(e,{get width(){return nO(e,t)},get height(){return sO(e,t)}})})}function iO(e){e.forEach(aO)}function oO(){typeof ResizeObserver>"u"||(Rc=new ResizeObserver(iO))}function rO(e,t){Rc||oO();const a=Dm(e);return a.forEach(o=>{let l=Ec.get(o);l||(l=new Set,Ec.set(o,l)),l.add(t),Rc?.observe(o)}),()=>{a.forEach(o=>{const l=Ec.get(o);l?.delete(t),l?.size||Rc?.unobserve(o)})}}const Cc=new Set;let to;function lO(){to=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Cc.forEach(t=>t(e))},window.addEventListener("resize",to)}function cO(e){return Cc.add(e),to||lO(),()=>{Cc.delete(e),!Cc.size&&typeof to=="function"&&(window.removeEventListener("resize",to),to=void 0)}}function mb(e,t){return typeof e=="function"?cO(e):rO(e,t)}function o1(e){return ru(e)&&e.tagName==="svg"}function uO(...e){const t=!Array.isArray(e[0]),a=t?0:-1,o=e[0+a],l=e[1+a],c=e[2+a],u=e[3+a],d=LS(l,c,u);return t?d(o):d}function fO(e,t,a={}){const o=e.get();let l=null,c=o,u;
12const d=typeof o=="string"?o.replace(/[\d.-]/g,""):void 0,p=()=>{l&&(l.stop(),l=null),e.animation=void 0},g=()=>{const m=pb(e.get()),w=pb(c);if(m===w){p();return}const x=l?l.getGeneratorVelocity():e.getVelocity();p(),l=new Br({keyframes:[m,w],velocity:x,type:"spring",restDelta:.001,restSpeed:.01,...a,onUpdate:u})},y=()=>{g(),e.animation=l??void 0,e.events.animationStart?.notify(),l?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((m,w)=>{c=m,u=x=>w(Zd(x,d)),Ne.postRender(y)},p),rt(t)){let m=a.skipInitialAnimation===!0;const w=t.on("change",_=>{m?(m=!1,e.jump(Zd(_,d),!1)):e.set(Zd(_,d))}),x=e.on("destroy",w);return()=>{w(),x()}}return p}function Zd(e,t){return t?e+t:e}function pb(e){return typeof e=="number"?e:parseFloat(e)}const dO=[...$S,ht,Nn],hO=e=>dO.find(JS(e)),gb=()=>({translate:0,scale:1,origin:0,originPoint:0}),no=()=>({x:gb(),y:gb()}),yb=()=>({min:0,max:0}),dt=()=>({x:yb(),y:yb()}),Nr=new WeakMap;function lu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Pr(e){return typeof e=="string"||Array.isArray(e)}const Bm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nm=["initial",...Bm];function cu(e){return lu(e.animate)||Nm.some(t=>Pr(e[t]))}function r1(e){return!!(cu(e)||e.variants)}function mO(e,t,a){for(const o in t){const l=t[o],c=a[o];if(rt(l))e.addValue(o,l);else if(rt(c))e.addValue(o,ha(l,{owner:e}));else if(c!==l)if(e.hasValue(o)){const u=e.getValue(o);u.liveStyle===!0?u.jump(l):u.hasAnimated||u.set(l)}else{const u=e.getStaticValue(o);e.addValue(o,ha(u!==void 0?u:l,{owner:e}))}}for(const o in a)t[o]===void 0&&e.removeValue(o);return t}const qc={current:null},Pm={current:!1},pO=typeof window<"u";function l1(){if(Pm.current=!0,!!pO)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qc.current=e.matches;e.addEventListener("change",t),t()}else qc.current=!1}const vb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Fc={};function c1(e){Fc=e}function gO(){return Fc}class u1{scrapeMotionValuesFromProps(t,a,o){return{}}constructor({parent:t,props:a,presenceContext:o,reducedMotionConfig:l,skipAnimations:c,blockInitialAnimation:u,visualState:d},p={}){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=Am,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 x=Vt.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,Ne.render(this.render,!1,!0))};const{latestValues:g,renderState:y}=d;this.latestValues=g,this.baseTarget={...g},this.initialValues=a.initial?{...g}:{},this.renderState=y,this.parent=t,this.props=a,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=c,this.options=p,this.blockInitialAnimation=!!u,this.isControllingVariants=cu(a),this.isVariantNode=r1(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...w}=this.scrapeMotionValuesFromProps(a,{},this);for(const x in w){const _=w[x];g[x]!==void 0&&rt(_)&&_.set(g[x])}}mount(t){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=t,Nr.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,o)=>this.bindToMotionValue(o,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Pm.current||l1(),this.shouldReduceMotion=qc.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(),As(this.notifyUpdate),As(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}
vendor: 71,664 bytes, line 12
12bindToMotionValue(t,a){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),a.accelerate&&GS.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:d,times:p,ease:g,duration:y}=a.accelerate,m=new qS({element:this.current,name:t,keyframes:d,times:p,ease:g,duration:nn(y)}),w=u(m);this.valueSubscriptions.set(t,()=>{w(),m.cancel()});return}const o=ho.has(t);o&&this.onBindTransform&&this.onBindTransform();const l=a.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&Ne.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{l(),c&&c()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Fc){const a=Fc[t];if(!a)continue;const{isEnabled:o,Feature:l}=a;if(!this.features[t]&&l&&o(this.props)&&(this.features[t]=new l(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let o=0;o<vb.length;o++){const l=vb[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,u=t[c];u&&(this.propEventSubscriptions[l]=this.on(l,u))}this.prevMotionValues=mO(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){const o=this.values.get(t);a!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);const a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&a!==void 0&&(o=ha(a===null?void 0:a,{owner:this}),this.addValue(t,o)),o}readValue(t,a){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(oS(o)||lS(o))?o=parseFloat(o):!hO(o)&&Nn.test(a)&&(o=t1(t,a)),this.setBaseTarget(t,rt(o)?o.get():o)),rt(o)?o.get():o}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){const{initial:a}=this.props;let o;if(typeof a=="string"||typeof a=="object"){const c=jm(this.props,a,this.presenceContext?.custom);c&&(o=c[t])}if(a&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,t);return l!==void 0&&!rt(l)?l:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new pm),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){Lm.render(this.render)}}class f1 extends u1{constructor(){super(...arguments),this.KeyframeResolver=Gk}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){const o=t.style;return o?o[a]:void 0}removeValueFromRenderState(t,{vars:a,style:o}){delete a[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;rt(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class ya{constructor(t){this.isMounted=!1,this.node=t}update(){}}function d1({top:e,left:t,right:a,bottom:o}){return{x:{min:t,max:a},y:{min:e,max:o}}}function yO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function vO(e,t){if(!t)return e;const a=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:o.y,right:o.x}}function Wd(e){return e===void 0||e===1}function Vh({scale:e,scaleX:t,scaleY:a}){return!Wd(e)||!Wd(t)||!Wd(a)}function Ya(e){return Vh(e)||h1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function h1(e){return bb(e.x)||bb(e.y)}function bb(e){return e&&e!=="0%"}function Gc(e,t,a){const o=e-a,l=t*o;return a+l}function wb(e,t,a,o,l){return l!==void 0&&(e=Gc(e,l,o)),Gc(e,a,o)+t}function Ih(e,t=0,a=1,o,l){e.min=wb(e.min,t,a,o,l),e.max=wb(e.max,t,a,o,l)}function m1(e,{x:t,y:a}){Ih(e.x,t.translate,t.scale,t.originPoint),Ih(e.y,a.translate,a.scale,a.originPoint)}const xb=.999999999999,Sb=1.0000000000001;function bO(e,t,a,o=!1){const l=a.length;if(!l)return;t.x=t.y=1;let c,u;for(let d=0;d<l;d++){c=a[d],u=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(Xn(e.x,-c.scroll.offset.x),Xn(e.y,-c.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,m1(e,u)),o&&Ya(c.latestValues)&&Mc(e,c.latestValues,c.layout?.layoutBox))}t.x<Sb&&t.x>xb&&(t.x=1),t.y<Sb&&t.y>xb&&(t.y=1)}function Xn(e,t){e.min+=t,e.max+=t}function _b(e,t,a,o,l=.5){const c=He(e.min,e.max,l);Ih(e,t,a,c,o)}function Tb(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Mc(e,t,a){const o=a??e;_b(e.x,Tb(t.x,o.x),t.scaleX,t.scale,t.originX),_b(e.y,Tb(t.y,o.y),t.scaleY,t.scale,t.originY)}function p1(e,t){return d1(vO(e.getBoundingClientRect(),t))}function wO(e,t,a){const o=p1(e,a),{scroll:l}=t;return l&&(Xn(o.x,l.offset.x),Xn(o.y,l.offset.y)),o}const xO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},SO=fo.length;function _O(e,t,a){let o="",l=!0;for(let u=0;u<SO;u++){const d=fo[u],p=e[d];if(p===void 0)continue;let g=!0;if(typeof p=="number")g=p===(d.startsWith("scale")?1:0);else{const y=parseFloat(p);g=d.startsWith("scale")?y===1:y===0}if(!g||a){const y=Uh(p,Hc[d]);if(!g){l=!1;const m=xO[d]||d;o+=`${m}(${y}) `}a&&(t[d]=y)}}const c=e.pathRotation;return c&&(l=!1,o+=`rotate(${Uh(c,Hc.pathRotation)}) `),o=o.trim(),a?o=a(t,l?"":o):l&&(o="none"),o}function Um(e,t,a){const{style:o,vars:l,transformOrigin:c}=e;let u=!1,d=!1;for(const p in t){const g=t[p];if(ho.has(p)){u=!0;continue}else if(TS(p)){l[p]=g;continue}else{const y=Uh(g,Hc[p]);p.startsWith("origin")?(d=!0,c[p]=y):o[p]=y}}if(t.transform||(u||a?o.transform=_O(t,e.transform,a):o.transform&&(o.transform="none")),d){const{originX:p="50%",originY:g="50%",originZ:y=0}=c;o.transformOrigin=`${p} ${g} ${y}`}}function g1(e,{style:t,vars:a},o,l){const c=e.style;let u;for(u in t)c[u]=t[u];l?.applyProjectionStyles(c,o);for(u in a)c.setProperty(u,a[u])}function Ab(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const mr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(de.test(e))e=parseFloat(e);else return e;const a=Ab(e,t.target.x),o=Ab(e,t.target.y);return`${a}% ${o}%`}},TO={correct:(e,{treeScale:t,projectionDelta:a})=>{const o=e,l=Nn.parse(e);if(l.length>5)return o;const c=Nn.createTransformer(e),u=typeof l[0]!="number"?1:0,d=a.x.scale*t.x,p=a.y.scale*t.y;l[0+u]/=d,l[1+u]/=p;const g=He(d,p,.5);return typeof l[2+u]=="number"&&(l[2+u]/=g),typeof l[3+u]=="number"&&(l[3+u]/=g),c(l)}},Hh={borderRadius:{...mr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mr,borderTopRightRadius:mr,borderBottomLeftRadius:mr,borderBottomRightRadius:mr,boxShadow:TO};function y1(e,{layout:t,layoutId:a}){return ho.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!Hh[e]||e==="opacity")}function Vm(e,t,a){const o=e.style,l=t?.style,c={};if(!o)return c;for(const u in o)(rt(o[u])||l&&rt(l[u])||y1(u,e)||a?.getValue(u)?.liveStyle!==void 0)&&(c[u]=o[u]);return c}function AO(e){return window.getComputedStyle(e)}class v1 extends f1{constructor(){super(...arguments),this.type="html",this.renderInstance=g1}readValueFromInstance(t,a){if(ho.has(a))return this.projection?.isProjecting?Ch(a):Gj(t,a);{const o=AO(t),l=(TS(a)?o.getPropertyValue(a):o[a])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:a}){return p1(t,a)}build(t,a,o){Um(t,a,o.transformTemplate)}scrapeMotionValuesFromProps(t,a,o){return Vm(t,a,o)}}function EO(e,t){return e in t}class RO extends u1{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,a){if(EO(a,t)){const o=t[a];if(typeof o=="string"||typeof o=="number")return o}}getBaseTargetFromProps(){}removeValueFromRenderState(t,a){delete a.output[t]}measureInstanceViewportBox(){return dt()}build(t,a){Object.assign(t.output,a)}renderInstance(t,{output:a}){Object.assign(t,a)}sortInstanceNodePosition(){return 0}}const CO={offset:"stroke-dashoffset",array:"stroke-dasharray"},MO={offset:"strokeDashoffset",array:"strokeDasharray"};function jO(e,t,a=1,o=0,l=!0){e.pathLength=1;const c=l?CO:MO;e[c.offset]=`${-o}`,e[c.array]=`${t} ${a}`}const kO=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function b1(e,{attrX:t,attrY:a,attrScale:o,pathLength:l,pathSpacing:c=1,pathOffset:u=0,...d},p,g,y){if(Um(e,d,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:w}=e;m.transform&&(w.transform=m.transform,delete m.transform),(w.transform||m.transformOrigin)&&(w.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),w.transform&&(w.transformBox=y?.transformBox??"fill-box",delete m.transformBox);for(const x of kO)m[x]!==void 0&&(w[x]=m[x],delete m[x]);t!==void 0&&(m.x=t),a!==void 0&&(m.y=a),o!==void 0&&(m.scale=o),l!==void 0&&jO(m,l,c,u,!1)}const w1=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"]),x1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function OO(e,t,a,o){g1(e,t,void 0,o);for(const l in t.attrs)e.setAttribute(w1.has(l)?l:km(l),t.attrs[l])}function S1(e,t,a){const o=Vm(e,t,a);for(const l in e)if(rt(e[l])||rt(t[l])){const c=fo.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[c]=e[l]}return o}class _1 extends f1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=dt}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(ho.has(a)){const o=e1(a);return o&&o.default||0}return a=w1.has(a)?a:km(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,o){return S1(t,a,o)}build(t,a,o){b1(t,a,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,a,o,l){OO(t,a,o,l)}mount(t){this.isSVGTag=x1(t.tagName),super.mount(t)}}const DO=Nm.length;function T1(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?T1(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const t={};for(let a=0;a<DO;a++){const o=Nm[a],l=e.props[o];(Pr(l)||l===!1)&&(t[o]=l)}return t}function A1(e,t){if(!Array.isArray(t))return!1;const a=t.length;if(a!==e.length)return!1;for(let o=0;o<a;o++)if(t[o]!==e[o])return!1;return!0}const LO=[...Bm].reverse(),zO=Bm.length;function BO(e){return t=>Promise.all(t.map(({animation:a,options:o})=>Lk(e,a,o)))}function NO(e){let t=BO(e),a=Eb(),o=!0,l=!1;const c=g=>(y,m)=>{const w=ei(e,m,g==="exit"?e.presenceContext?.custom:void 0);if(w){const{transition:x,transitionEnd:_,...E}=w;y={...y,...E,..._}}return y};function u(g){t=g(e)}function d(g){const{props:y}=e,m=T1(e.parent)||{},w=[],x=new Set;let _={},E=1/0;for(let S=0;S<zO;S++){const R=LO[S],O=a[R],k=y[R]!==void 0?y[R]:m[R],q=Pr(k),F=R===g?O.isActive:null;F===!1&&(E=S);let B=k===m[R]&&k!==y[R]&&q;if(B&&(o||l)&&e.manuallyAnimateOnMount&&(B=!1),O.protectedKeys={..._},!O.isActive&&F===null||!k&&!O.prevProp||lu(k)||typeof k=="boolean")continue;if(R==="exit"&&O.isActive&&F!==!0){O.prevResolvedValues&&(_={..._,...O.prevResolvedValues});continue}const j=PO(O.prevProp,k);let G=j||R===g&&O.isActive&&!B&&q||S>E&&q,Z=!1;const te=Array.isArray(k)?k:[k];let oe=te.reduce(c(R),{});F===!1&&(oe={});const{prevResolvedValues:re={}}=O,ae={...re,...oe},le=ee=>{G=!0,x.has(ee)&&(Z=!0,x.delete(ee)),O.needsAnimating[ee]=!0;const ce=e.getValue(ee);ce&&(ce.liveStyle=!1)};for(const ee in ae){const ce=oe[ee],J=re[ee];if(_.hasOwnProperty(ee))continue;let M=!1;Lh(ce)&&Lh(J)?M=!A1(ce,J)||j:M=ce!==J,M?ce!=null?le(ee):x.add(ee):ce!==void 0&&x.has(ee)?le(ee):O.protectedKeys[ee]=!0}O.prevProp=k,O.prevResolvedValues=oe,O.isActive&&(_={..._,...oe}),(o||l)&&e.blockInitialAnimation&&(G=!1);const L=B&&j;G&&(!L||Z)&&w.push(...te.map(ee=>{const ce={type:R};if(typeof ee=="string"&&(o||l)&&!L&&e.manuallyAnimateOnMount&&e.parent){const{parent:J}=e,M=ei(J,ee);if(J.enteringChildren&&M){const{delayChildren:Y}=M.transition||{};ce.delay=YS(J.enteringChildren,e,Y)}}return{animation:ee,options:ce}}))}if(x.size){const S={};if(typeof y.initial!="boolean"){const R=ei(e,Array.isArray(y.initial)?y.initial[0]:y.initial);R&&R.transition&&(S.transition=R.transition)}x.forEach(R=>{const O=e.getBaseTarget(R),k=e.getValue(R);k&&(k.liveStyle=!0),S[R]=O??null}),w.push({animation:S})}let T=!!w.length;return o&&(y.initial===!1||y.initial===y.animate)&&!e.manuallyAnimateOnMount&&(T=!1),o=!1,l=!1,T?t(w):Promise.resolve()}function p(g,y){if(a[g].isActive===y)return Promise.resolve();e.variantChildren?.forEach(w=>w.animationState?.setActive(g,y)),a[g].isActive=y;const m=d(g);for(const w in a)a[w].protectedKeys={};return m}return{animateChanges:d,setActive:p,setAnimateFunction:u,getState:()=>a,reset:()=>{a=Eb(),l=!0}}}function PO(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!A1(t,e):!1}function Ia(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Eb(){return{animate:Ia(!0),whileInView:Ia(),whileHover:Ia(),whileTap:Ia(),whileDrag:Ia(),whileFocus:Ia(),exit:Ia()}}function qh(e,t){e.min=t.min,e.max=t.max}function Ln(e,t){qh(e.x,t.x),qh(e.y,t.y)}function Rb(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const E1=1e-4,UO=1-E1,VO=1+E1,R1=.01,IO=0-R1,HO=0+R1;function It(e){return e.max-e.min}function qO(e,t,a){return Math.abs(e-t)<=a}function Cb(e,t,a,o=.5){e.origin=o,e.originPoint=He(t.min,t.max,e.origin),e.scale=It(a)/It(t),e.translate=He(a.min,a.max,e.origin)-e.originPoint,(e.scale>=UO&&e.scale<=VO||isNaN(e.scale))&&(e.scale=1),(e.translate>=IO&&e.translate<=HO||isNaN(e.translate))&&(e.translate=0)}function _r(e,t,a,o){Cb(e.x,t.x,a.x,o?o.originX:void 0),Cb(e.y,t.y,a.y,o?o.originY:void 0)}function Mb(e,t,a,o=0){const l=o?He(a.min,a.max,o):a.min;e.min=l+t.min,e.max=e.min+It(t)}function FO(e,t,a,o){Mb(e.x,t.x,a.x,o?.x),Mb(e.y,t.y,a.y,o?.y)}function jb(e,t,a,o=0){const l=o?He(a.min,a.max,o):a.min;e.min=t.min-l,e.max=e.min+It(t)}function Yc(e,t,a,o){jb(e.x,t.x,a.x,o?.x),jb(e.y,t.y,a.y,o?.y)}function kb(e,t,a,o,l){return e-=t,e=Gc(e,1/a,o),l!==void 0&&(e=Gc(e,1/l,o)),e}function GO(e,t=0,a=1,o=.5,l,c=e,u=e){if(Zn.test(t)&&(t=parseFloat(t),t=He(u.min,u.max,t/100)-u.min),typeof t!="number")return;let d=He(c.min,c.max,o);e===c&&(d-=t),e.min=kb(e.min,t,a,d,l),e.max=kb(e.max,t,a,d,l)}function Ob(e,t,[a,o,l],c,u){GO(e,t[a],t[o],t[l],t.scale,c,u)}const YO=["x","scaleX","originX"],QO=["y","scaleY","originY"];function Db(e,t,a,o){Ob(e.x,t,YO,a?a.x:void 0,o?o.x:void 0),Ob(e.y,t,QO,a?a.y:void 0,o?o.y:void 0)}function Lb(e){return e.translate===0&&e.scale===1}function C1(e){return Lb(e.x)&&Lb(e.y)}function zb(e,t){return e.min===t.min&&e.max===t.max}function KO(e,t){return zb(e.x,t.x)&&zb(e.y,t.y)}function Bb(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function M1(e,t){return Bb(e.x,t.x)&&Bb(e.y,t.y)}function Nb(e){return It(e.x)/It(e.y)}function Pb(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Yn(e){return[e("x"),e("y")]}function XO(e,t,a){let o="";const l=e.x.translate/t.x,c=e.y.translate/t.y,u=a?.z||0;if((l||c||u)&&(o=`translate3d(${l}px, ${c}px, ${u}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),a){const{transformPerspective:g,rotate:y,pathRotation:m,rotateX:w,rotateY:x,skewX:_,skewY:E}=a;g&&(o=`perspective(${g}px) ${o}`),y&&(o+=`rotate(${y}deg) `),m&&(o+=`rotate(${m}deg) `),w&&(o+=`rotateX(${w}deg) `),x&&(o+=`rotateY(${x}deg) `),_&&(o+=`skewX(${_}deg) `),E&&(o+=`skewY(${E}deg) `)}const d=e.x.scale*t.x,p=e.y.scale*t.y;return(d!==1||p!==1)&&(o+=`scale(${d}, ${p})`),o||"none"}const j1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ZO=j1.length,Ub=e=>typeof e=="string"?parseFloat(e):e,Vb=e=>typeof e=="number"||de.test(e);function WO(e,t,a,o,l,c){l?(e.opacity=He(0,a.opacity??1,JO(o)),e.opacityExit=He(t.opacity??1,0,$O(o))):c&&(e.opacity=He(t.opacity??1,a.opacity??1,o));for(let u=0;u<ZO;u++){const d=j1[u];let p=Ib(t,d),g=Ib(a,d);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||Vb(p)===Vb(g)?(e[d]=Math.max(He(Ub(p),Ub(g),o),0),(Zn.test(g)||Zn.test(p))&&(e[d]+="%")):e[d]=g}(t.rotate||a.rotate)&&(e.rotate=He(t.rotate||0,a.rotate||0,o))}function Ib(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const JO=k1(0,.5,gS),$O=k1(.5,.95,Rn);function k1(e,t,a){return o=>o<e?0:o>t?1:a(lo(e,t,o))}function O1(e,t,a){const o=rt(e)?e:ha(e);return o.start(Mm("",o,t,a)),o.animation}function Ur(e,t,a,o={passive:!0}){return e.addEventListener(t,a,o),()=>e.removeEventListener(t,a)}const eD=(e,t)=>e.depth-t.depth;class tD{constructor(){this.children=[],this.isDirty=!1}add(t){hm(this.children,t),this.isDirty=!0}remove(t){ro(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eD),this.isDirty=!1,this.children.forEach(t)}}function nD(e,t){const a=Vt.now(),o=({timestamp:l})=>{const c=l-a;c>=t&&(As(o),e(c-t))};return Ne.setup(o,!0),()=>As(o)}function jc(e){return rt(e)?e.get():e}class sD{constructor(){this.members=[]}add(t){hm(this.members,t);for(let a=this.members.length-1;a>=0;a--){const o=this.members[a];if(o===t||o===this.lead||o===this.prevLead)continue;const l=o.instance;(!l||l.isConnected===!1)&&!o.snapshot&&(ro(this.members,o),o.unmount())}t.scheduleRender()}remove(t){if(ro(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){for(let a=this.members.indexOf(t)-1;a>=0;a--){const o=this.members[a];if(o.isPresent!==!1&&o.instance?.isConnected!==!1)return this.promote(o),!0}return!1}promote(t,a){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.updateSnapshot(),t.scheduleRender();const{layoutDependency:l}=o.options,{layoutDependency:c}=t.options;(l===void 0||l!==c)&&(t.resumeFrom=o,a&&(o.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const kc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Jd=["","X","Y","Z"],aD=1e3;let iD=0;function $d(e,t,a,o){const{latestValues:l}=t;l[e]&&(a[e]=l[e],t.setStaticValue(e,0),o&&(o[e]=0))}function D1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const a=WS(t);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:l,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Ne,!(l||c))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&D1(o)}function L1({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(u={},d=t?.()){this.id=iD++,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(lD),this.nodes.forEach(mD),this.nodes.forEach(pD),this.nodes.forEach(cD)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new tD)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new pm),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const p=this.eventHandlers.get(u);p&&p.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=ru(u)&&!o1(u),this.instance=u;const{layoutId:d,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||d)&&(this.isLayoutDirty=!0),e){let y,m=0;const w=()=>this.root.updateBlockedByResize=!1;Ne.read(()=>{m=window.innerWidth}),e(u,()=>{const x=window.innerWidth;x!==m&&(m=x,this.root.updateBlockedByResize=!0,y&&y(),y=nD(w,250),kc.hasAnimatedSinceResize&&(kc.hasAnimatedSinceResize=!1,this.nodes.forEach(Fb)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&g&&(d||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:m,hasRelativeLayoutChanged:w,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const _=this.options.transition||g.getDefaultTransition()||wD,{onLayoutAnimationStart:E,onLayoutAnimationComplete:T}=g.getProps(),S=!this.targetLayout||!M1(this.targetLayout,x),R=!m&&w;if(this.options.layoutRoot||this.resumeFrom||R||m&&(S||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const O={...Cm(_,"layout"),onPlay:E,onComplete:T};(g.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O),this.setAnimationOrigin(y,R,O.path)}else m||Fb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),As(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(gD),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&D1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const m=this.path[y];m.shouldResetTransform=!0,(typeof m.latestValues.x=="string"||typeof m.latestValues.y=="string")&&(m.isLayoutDirty=!0),m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:d,layout:p}=this.options;if(d===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(fD),this.nodes.forEach(Hb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(dD),this.nodes.forEach(hD),this.nodes.forEach(oD),this.nodes.forEach(rD)):this.nodes.forEach(qb),this.clearAllSnapshots();const d=Vt.now();kt.delta=Wn(0,1e3/60,d-kt.timestamp),kt.timestamp=d,kt.isProcessing=!0,qd.update.process(kt),qd.preRender.process(kt),qd.render.process(kt),kt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Lm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uD),this.sharedNodes.forEach(yD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!It(this.snapshot.measuredBox.x)&&!It(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=dt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!C1(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;u&&this.instance&&(d||Ya(this.latestValues)||y)&&(l(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let p=this.removeElementScroll(d);return u&&(p=this.removeTransform(p)),xD(p),{animationId:this.root.animationId,measuredBox:d,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return dt();const d=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(SD))){const{scroll:g}=this.root;g&&(Xn(d.x,g.offset.x),Xn(d.y,g.offset.y))}return d}removeElementScroll(u){const d=dt();if(Ln(d,u),this.scroll?.wasRoot)return d;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:y,options:m}=g;g!==this.root&&y&&m.layoutScroll&&(y.wasRoot&&Ln(d,u),Xn(d.x,y.offset.x),Xn(d.y,y.offset.y))}return d}applyTransform(u,d=!1,p){const g=p||dt();Ln(g,u);for(let y=0;y<this.path.length;y++){const m=this.path[y];!d&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(Xn(g.x,-m.scroll.offset.x),Xn(g.y,-m.scroll.offset.y)),Ya(m.latestValues)&&Mc(g,m.latestValues,m.layout?.layoutBox)}return Ya(this.latestValues)&&Mc(g,this.latestValues,this.layout?.layoutBox),g}removeTransform(u){const d=dt();Ln(d,u);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!Ya(g.latestValues))continue;let y;g.instance&&(Vh(g.latestValues)&&g.updateSnapshot(),y=dt(),Ln(y,g.measurePageBox())),Db(d,g.latestValues,g.snapshot?.layoutBox,y)}return Ya(this.latestValues)&&Db(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==kt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==d;if(!(u||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:m}=this.options;if(!this.layout||!(y||m))return;this.resolvedRelativeTargetAt=kt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=dt(),this.targetWithTransforms=dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),FO(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ln(this.target,this.layout.layoutBox),m1(this.target,this.targetDelta)):Ln(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Vh(this.parent.latestValues)||h1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,p){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),Yc(this.relativeTargetOrigin,d,p,this.options.layoutAnchor||void 0),Ln(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const u=this.getLead(),d=!!this.resumingFrom||this!==u;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===kt.timestamp&&(p=!1),p)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;Ln(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,w=this.treeScale.y;bO(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=dt());const{target:x}=u;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Rb(this.prevProjectionDelta.x,this.projectionDelta.x),Rb(this.prevProjectionDelta.y,this.projectionDelta.y)),_r(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==w||!Pb(this.projectionDelta.x,this.prevProjectionDelta.x)||!Pb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=no(),this.projectionDelta=no(),this.projectionDeltaWithTransform=no()}setAnimationOrigin(u,d=!1,p){const g=this.snapshot,y=g?g.latestValues:{},m={...this.latestValues},w=no();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=dt(),_=g?g.source:void 0,E=this.layout?this.layout.source:void 0,T=_!==E,S=this.getStack(),R=!S||S.members.length<=1,O=!!(T&&!R&&this.options.crossfade===!0&&!this.path.some(bD));this.animationProgress=0;let k;const q=p?.interpolateProjection(u);this.mixTargetDelta=F=>{const B=F/1e3,j=q?.(B);j?(w.x.translate=j.x,w.x.scale=He(u.x.scale,1,B),w.x.origin=u.x.origin,w.x.originPoint=u.x.originPoint,w.y.translate=j.y,w.y.scale=He(u.y.scale,1,B),w.y.origin=u.y.origin,w.y.originPoint=u.y.originPoint):(Gb(w.x,u.x,B),Gb(w.y,u.y,B)),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Yc(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),vD(this.relativeTarget,this.relativeTargetOrigin,x,B),k&&KO(this.relativeTarget,k)&&(this.isProjectionDirty=!1),k||(k=dt()),Ln(k,this.relativeTarget)),T&&(this.animationValues=m,WO(m,y,this.latestValues,B,O,R)),j&&j.rotate!==void 0&&(this.animationValues||(this.animationValues=m),this.animationValues.pathRotation=j.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=B},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(As(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ne.update(()=>{kc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ha(0)),this.motionValue.jump(0,!1),this.currentAnimation=O1(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),u.onUpdate&&u.onUpdate(d)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(aD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:p,layout:g,latestValues:y}=u;if(!(!d||!p||!g)){if(this!==u&&this.layout&&g&&z1(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||dt();const m=It(this.layout.layoutBox.x);p.x.min=u.target.x.min,p.x.max=p.x.min+m;const w=It(this.layout.layoutBox.y);p.y.min=u.target.y.min,p.y.max=p.y.min+w}Ln(d,p),Mc(d,y),_r(this.projectionDeltaWithTransform,this.layoutCorrected,d,y)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new sD),this.sharedNodes.get(u).add(d);const g=d.options.initialPromotionConfig;d.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:p}=u;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(d=!0),!d)return;const g={};p.z&&$d("z",u,g,this.animationValues);for(let y=0;y<Jd.length;y++)$d(`rotate${Jd[y]}`,u,g,this.animationValues),$d(`skew${Jd[y]}`,u,g,this.animationValues);u.render();for(const y in g)u.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=jc(d?.pointerEvents)||"",u.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=jc(d?.pointerEvents)||""),this.hasProjected&&!Ya(this.latestValues)&&(u.transform=p?p({},""):"none",this.hasProjected=!1);return}u.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let m=XO(this.projectionDeltaWithTransform,this.treeScale,y);p&&(m=p(y,m)),u.transform=m;const{x:w,y:x}=this.projectionDelta;u.transformOrigin=`${w.origin*100}% ${x.origin*100}% 0`,g.animationValues?u.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:u.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const _ in Hh){if(y[_]===void 0)continue;const{correct:E,applyTo:T,isCSSVariable:S}=Hh[_],R=m==="none"?y[_]:E(y[_],g);if(T){const O=T.length;for(let k=0;k<O;k++)u[T[k]]=R}else S?this.options.visualElement.renderState.vars[_]=R:u[_]=R}this.options.layoutId&&(u.pointerEvents=g===this?jc(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(Hb),this.root.sharedNodes.clear()}}}function oD(e){e.updateLayout()}function rD(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:o}=e.layout,{animationType:l}=e.options,c=t.source!==e.layout.source;if(l==="size")Yn(y=>{const m=c?t.measuredBox[y]:t.layoutBox[y],w=It(m);m.min=a[y].min,m.max=m.min+w});else if(l==="x"||l==="y"){const y=l==="x"?"y":"x";qh(c?t.measuredBox[y]:t.layoutBox[y],a[y])}else z1(l,t.layoutBox,a)&&Yn(y=>{const m=c?t.measuredBox[y]:t.layoutBox[y],w=It(a[y]);m.max=m.min+w,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+w)});const u=no();_r(u,a,t.layoutBox);const d=no();c?_r(d,e.applyTransform(o,!0),t.measuredBox):_r(d,a,t.layoutBox);const p=!C1(u);let g=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:m,layout:w}=y;if(m&&w){const x=e.options.layoutAnchor||void 0,_=dt();Yc(_,t.layoutBox,m.layoutBox,x);const E=dt();Yc(E,a,w.layoutBox,x),M1(_,E)||(g=!0),y.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=_,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:d,layoutDelta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function lD(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uD(e){e.clearSnapshot()}function Hb(e){e.clearMeasurements()}function fD(e){e.isLayoutDirty=!0,e.updateLayout()}function qb(e){e.isLayoutDirty=!1}function dD(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function hD(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Fb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function mD(e){e.resolveTargetDelta()}function pD(e){e.calcProjection()}function gD(e){e.resetSkewAndRotation()}function yD(e){e.removeLeadSnapshot()}function Gb(e,t,a){e.translate=He(t.translate,0,a),e.scale=He(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function Yb(e,t,a,o){e.min=He(t.min,a.min,o),e.max=He(t.max,a.max,o)}function vD(e,t,a,o){Yb(e.x,t.x,a.x,o),Yb(e.y,t.y,a.y,o)}function bD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const wD={duration:.45,ease:[.4,0,.1,1]},Qb=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Kb=Qb("applewebkit/")&&!Qb("chrome/")?Math.round:Rn;function Xb(e){e.min=Kb(e.min),e.max=Kb(e.max)}function xD(e){Xb(e.x),Xb(e.y)}function z1(e,t,a){return e==="position"||e==="preserve-aspect"&&!qO(Nb(t),Nb(a),.2)}function SD(e){return e!==e.root&&e.scroll?.wasRoot}const _D=L1({attachResizeListener:(e,t)=>Ur(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eh={current:void 0},B1=L1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eh.current){const e=new _D({});e.mount(window),e.setOptions({layoutScroll:!0}),eh.current=e}return eh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),uu=U.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function TD(e=!0){const t=U.useContext(dm);if(t===null)return[!0,null];const{isPresent:a,onExitComplete:o,register:l}=t,c=U.useId();U.useEffect(()=>{if(e)return l(c)},[e]);const u=U.useCallback(()=>e&&o&&o(c),[c,o,e]);return!a&&o?[!1,u]:[!0]}const N1=U.createContext({strict:!1}),Zb={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 Wb=!1;function AD(){if(Wb)return;const e={};for(const t in Zb)e[t]={isEnabled:a=>Zb[t].some(o=>!!a[o])};c1(e),Wb=!0}function P1(){return AD(),gO()}function ED(e){const t=P1();for(const a in e)t[a]={...t[a],...e[a]};c1(t)}const RD=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 Qc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||RD.has(e)}let U1=e=>!Qc(e);function CD(e){typeof e=="function"&&(U1=t=>t.startsWith("on")?!Qc(t):e(t))}try{CD(require("@emotion/is-prop-valid").default)}catch{}function MD(e,t,a){const o={};for(const l in e)l==="values"&&typeof e.values=="object"||rt(e[l])||(U1(l)||a===!0&&Qc(l)||!t&&!Qc(l)||e.draggable&&l.startsWith("onDrag"))&&(o[l]=e[l]);return o}const fu=U.createContext({});function jD(e,t){if(cu(e)){const{initial:a,animate:o}=e;return{initial:a===!1||Pr(a)?a:void 0,animate:Pr(o)?o:void 0}}return e.inherit!==!1?t:{}}function kD(e){const{initial:t,animate:a}=jD(e,U.useContext(fu));return U.useMemo(()=>({initial:t,animate:a}),[Jb(t),Jb(a)])}function Jb(e){return Array.isArray(e)?e.join(" "):e}const Im=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function V1(e,t,a){for(const o in t)!rt(t[o])&&!y1(o,a)&&(e[o]=t[o])}function OD({transformTemplate:e},t){return U.useMemo(()=>{const a=Im();return Um(a,t,e),Object.assign({},a.vars,a.style)},[t])}function DD(e,t){const a=e.style||{},o={};return V1(o,a,e),Object.assign(o,OD(e,t)),o}function LD(e,t){const a={},o=DD(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=o,a}const I1=()=>({...Im(),attrs:{}});function zD(e,t,a,o){const l=U.useMemo(()=>{const c=I1();return b1(c,t,x1(o),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};V1(c,e.style,e),l.style={...c,...l.style}}return l}const BD=["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 Hm(e){return typeof e!="string"||e.includes("-")?!1:!!(BD.indexOf(e)>-1||/[A-Z]/u.test(e))}function ND(e,t,a,{latestValues:o},l,c=!1,u){const p=(u??Hm(e)?zD:LD)(t,o,l,e),g=MD(t,typeof e=="string",c),y=e!==U.Fragment?{...g,...p,ref:a}:{},{children:m}=t,w=U.useMemo(()=>rt(m)?m.get():m,[m]);return U.createElement(e,{...y,children:w})}function PD({scrapeMotionValuesFromProps:e,createRenderState:t},a,o,l){return{latestValues:UD(a,o,l,e),renderState:t()}}function UD(e,t,a,o){const l={},c=o(e,{});for(const w in c)l[w]=jc(c[w]);let{initial:u,animate:d}=e;const p=cu(e),g=r1(e);t&&g&&!p&&e.inherit!==!1&&(u===void 0&&(u=t.initial),d===void 0&&(d=t.animate));let y=a?a.initial===!1:!1;y=y||u===!1;const m=y?d:u;if(m&&typeof m!="boolean"&&!lu(m)){const w=Array.isArray(m)?m:[m];for(let x=0;x<w.length;x++){const _=jm(e,w[x]);if(_){const{transitionEnd:E,transition:T,...S}=_;for(const R in S){let O=S[R];if(Array.isArray(O)){const k=y?O.length-1:0;O=O[k]}O!==null&&(l[R]=O)}for(const R in E)l[R]=E[R]}}}return l}const H1=e=>(t,a)=>{const o=U.useContext(fu),l=U.useContext(dm),c=()=>PD(e,t,o,l);return a?c():Dr(c)},VD=H1({scrapeMotionValuesFromProps:Vm,createRenderState:Im}),ID=H1({scrapeMotionValuesFromProps:S1,createRenderState:I1}),HD=Symbol.for("motionComponentSymbol");function qD(e,t,a){const o=U.useRef(a);U.useInsertionEffect(()=>{o.current=a});const l=U.useRef(null);return U.useCallback(c=>{c&&e.onMount?.(c),t&&(c?t.mount(c):t.unmount());const u=o.current;if(typeof u=="function")if(c){const d=u(c);typeof d=="function"&&(l.current=d)}else l.current?(l.current(),l.current=null):u(c);else u&&(u.current=c)},[t])}const q1=U.createContext({});function Wi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function FD(e,t,a,o,l,c){const{visualElement:u}=U.useContext(fu),d=U.useContext(N1),p=U.useContext(dm),g=U.useContext(uu),y=g.reducedMotion,m=g.skipAnimations,w=U.useRef(null),x=U.useRef(!1);o=o||d.renderer,!w.current&&o&&(w.current=o(e,{visualState:t,parent:u,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y,skipAnimations:m,isSVG:c}),x.current&&w.current&&(w.current.manuallyAnimateOnMount=!0));const _=w.current,E=U.useContext(q1);_&&!_.projection&&l&&(_.type==="html"||_.type==="svg")&&GD(w.current,a,l,E);const T=U.useRef(!1);U.useInsertionEffect(()=>{_&&T.current&&_.update(a,p)});const S=a[ZS],R=U.useRef(!!S&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(S)&&window.MotionHasOptimisedAnimation?.(S));return iS(()=>{x.current=!0,_&&(T.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),R.current&&_.animationState&&_.animationState.animateChanges())}),U.useEffect(()=>{_&&(!R.current&&_.animationState&&_.animationState.animateChanges(),R.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(S)}),R.current=!1),_.enteringChildren=void 0)}),_}function GD(e,t,a,o){const{layoutId:l,layout:c,drag:u,dragConstraints:d,layoutScroll:p,layoutRoot:g,layoutAnchor:y,layoutCrossfade:m}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:F1(e.parent)),e.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||d&&Wi(d),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:o,crossfade:m,layoutScroll:p,layoutRoot:g,layoutAnchor:y})}function F1(e){if(e)return e.options.allowProjection!==!1?e.projection:F1(e.parent)}function th(e,{forwardMotionProps:t=!1,type:a}={},o,l){o&&ED(o);const c=a?a==="svg":Hm(e),u=c?ID:VD;function d(g,y){let m;const w={...U.useContext(uu),...g,layoutId:YD(g)},{isStatic:x}=w,_=kD(g),E=u(g,x);if(!x&&typeof window<"u"){QD();const T=KD(w);m=T.MeasureLayout,_.visualElement=FD(e,E,w,l,T.ProjectionNode,c)}return b.jsxs(fu.Provider,{value:_,children:[m&&_.visualElement?b.jsx(m,{visualElement:_.visualElement,...w}):null,ND(e,g,qD(E,_.visualElement,y),E,x,t,c)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=U.forwardRef(d);return p[HD]=e,p}function YD({layoutId:e}){const t=U.useContext(aS).id;return t&&e!==void 0?t+"-"+e:e}function QD(e,t){U.useContext(N1).strict}function KD(e){const t=P1(),{drag:a,layout:o}=t;if(!a&&!o)return{};const l={...a,...o};return{MeasureLayout:a?.isEnabled(e)||o?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function XD(e,t){if(typeof Proxy>"u")return th;const a=new Map,o=(c,u)=>th(c,u,e,t),l=(c,u)=>o(c,u);return new Proxy(l,{get:(c,u)=>u==="create"?o:(a.has(u)||a.set(u,th(u,void 0,e,t)),a.get(u))})}const ZD=(e,t)=>t.isSVG??Hm(e)?new _1(t):new v1(t,{allowProjection:e!==U.Fragment});class WD extends ya{constructor(t){super(t),t.animationState||(t.animationState=NO(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();lu(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let JD=0;class $D extends ya{constructor(){super(...arguments),this.id=JD++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;if(t&&o===!1){if(this.isExitComplete){const{initial:c,custom:u}=this.node.getProps();if(typeof c=="string"||typeof c=="object"&&c!==null&&!Array.isArray(c)){const d=ei(this.node,c,u);if(d){const{transition:p,transitionEnd:g,...y}=d;for(const m in y)this.node.getValue(m)?.jump(y[m])}}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",!t);a&&!t&&l.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const e5={animation:{Feature:WD},exit:{Feature:$D}};function Fr(e){return{point:{x:e.pageX,y:e.pageY}}}const t5=e=>t=>zm(t)&&e(t,Fr(t));function Tr(e,t,a,o){return Ur(e,t,t5(a),o)}const G1=({current:e})=>e?e.ownerDocument.defaultView:null,$b=(e,t)=>Math.abs(e-t);function n5(e,t){const a=$b(e.x,t.x),o=$b(e.y,t.y);return Math.sqrt(a**2+o**2)}const ew=new Set(["auto","scroll"]);class Y1{constructor(t,a,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:d}={}){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=hc(this.lastRawMoveEventInfo,this.transformPagePoint));const x=nh(this.lastMoveEventInfo,this.history),_=this.startEvent!==null,E=n5(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!_&&!E)return;const{point:T}=x,{timestamp:S}=kt;this.history.push({...T,timestamp:S});const{onStart:R,onMove:O}=this.handlers;_||(R&&R(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,x)},this.handlePointerMove=(x,_)=>{this.lastMoveEvent=x,this.lastRawMoveEventInfo=_,this.lastMoveEventInfo=hc(_,this.transformPagePoint),Ne.update(this.updatePoint,!0)},this.handlePointerUp=(x,_)=>{this.end();const{onEnd:E,onSessionEnd:T,resumeAnimation:S}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&S&&S(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const R=nh(x.type==="pointercancel"?this.lastMoveEventInfo:hc(_,this.transformPagePoint),this.history);this.startEvent&&E&&E(x,R),T&&T(x,R)},!zm(t))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=o,this.distanceThreshold=u,this.contextWindow=l||window;const p=Fr(t),g=hc(p,this.transformPagePoint),{point:y}=g,{timestamp:m}=kt;this.history=[{...y,timestamp:m}];const{onSessionStart:w}=a;w&&w(t,nh(g,this.history)),this.removeListeners=Ir(Tr(this.contextWindow,"pointermove",this.handlePointerMove),Tr(this.contextWindow,"pointerup",this.handlePointerUp),Tr(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let a=t.parentElement;for(;a;){const o=getComputedStyle(a);(ew.has(o.overflowX)||ew.has(o.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.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(t){const a=this.scrollPositions.get(t);if(!a)return;const o=t===window,l=o?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},c={x:l.x-a.x,y:l.y-a.y};c.x===0&&c.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(t,l),Ne.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),As(this.updatePoint)}}function hc(e,t){return t?{point:t(e.point)}:e}function tw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function nh({point:e},t){return{point:e,delta:tw(e,Q1(t)),offset:tw(e,s5(t)),velocity:a5(t,.1)}}function s5(e){return e[0]}function Q1(e){return e[e.length-1]}function a5(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,o=null;const l=Q1(e);for(;a>=0&&(o=e[a],!(l.timestamp-o.timestamp>nn(t)));)a--;if(!o)return{x:0,y:0};o===e[0]&&e.length>2&&l.timestamp-o.timestamp>nn(t)*2&&(o=e[1]);const c=En(l.timestamp-o.timestamp);if(c===0)return{x:0,y:0};const u={x:(l.x-o.x)/c,y:(l.y-o.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function i5(e,{min:t,max:a},o){return t!==void 0&&e<t?e=o?He(t,e,o.min):Math.max(e,t):a!==void 0&&e>a&&(e=o?He(a,e,o.max):Math.min(e,a)),e}function nw(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function o5(e,{top:t,left:a,bottom:o,right:l}){return{x:nw(e.x,a,l),y:nw(e.y,t,o)}}function sw(e,t){let a=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,o]=[o,a]),{min:a,max:o}}function r5(e,t){return{x:sw(e.x,t.x),y:sw(e.y,t.y)}}function l5(e,t){let a=.5;const o=It(e),l=It(t);return l>o?a=lo(t.min,t.max-o,e.min):o>l&&(a=lo(e.min,e.max-l,t.min)),Wn(0,1,a)}function c5(e,t){const a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}const Fh=.35;function u5(e=Fh){return e===!1?e=0:e===!0&&(e=Fh),{x:aw(e,"left","right"),y:aw(e,"top","bottom")}}function aw(e,t,a){return{min:iw(e,t),max:iw(e,a)}}function iw(e,t){return typeof e=="number"?e:e[t]||0}const f5=new WeakMap;class d5{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=dt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=m=>{a&&this.snapToCursor(Fr(m).point),this.stopAnimation()},u=(m,w)=>{const{drag:x,dragPropagation:_,onDragStart:E}=this.getProps();if(x&&!_&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qk(x),!this.openDragLock))return;this.latestPointerEvent=m,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Yn(S=>{let R=this.getAxisMotionValue(S).get()||0;if(Zn.test(R)){const{projection:O}=this.visualElement;if(O&&O.layout){const k=O.layout.layoutBox[S];k&&(R=It(k)*(parseFloat(R)/100))}}this.originPoint[S]=R}),E&&Ne.update(()=>E(m,w),!1,!0),zh(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},d=(m,w)=>{this.latestPointerEvent=m,this.latestPanInfo=w;const{dragPropagation:x,dragDirectionLock:_,onDirectionLock:E,onDrag:T}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:S}=w;if(_&&this.currentDirection===null){this.currentDirection=m5(S),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",w.point,S),this.updateAxis("y",w.point,S),this.visualElement.render(),T&&Ne.update(()=>T(m,w),!1,!0)},p=(m,w)=>{this.latestPointerEvent=m,this.latestPanInfo=w,this.stop(m,w),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>{const{dragSnapToOrigin:m}=this.getProps();(m||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new Y1(t,{onSessionStart:c,onStart:u,onMove:d,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:o,contextWindow:G1(this.visualElement),element:this.visualElement.current})}stop(t,a){const o=t||this.latestPointerEvent,l=a||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!l||!o)return;const{velocity:u}=l;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&Ne.postRender(()=>d(o,l))}cancel(){this.isDragging=!1;const{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,a,o){const{drag:l}=this.getProps();if(!o||!mc(t,l,this.currentDirection))return;const c=this.getAxisMotionValue(t);let u=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(u=i5(u,this.constraints[t],this.elastic[t])),c.set(u)}resolveConstraints(){const{dragConstraints:t,dragElastic:a}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;t&&Wi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=o5(o.layoutBox,t):this.constraints=!1,this.elastic=u5(a),l!==this.constraints&&!Wi(t)&&o&&this.constraints&&!this.hasMutatedConstraints&&Yn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=c5(o.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!Wi(t))return!1;const o=t.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;l.root&&(l.root.scroll=void 0,l.root.updateScroll());const c=wO(o,l.root,this.visualElement.getTransformPagePoint());let u=r5(l.layout.layoutBox,c);if(a){const d=a(yO(u));this.hasMutatedConstraints=!!d,d&&(u=d1(d))}return u}startAnimation(t){const{drag:a,dragMomentum:o,dragElastic:l,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),p=this.constraints||{},g=Yn(y=>{if(!mc(y,a,this.currentDirection))return;let m=p&&p[y]||{};(u===!0||u===y)&&(m={min:0,max:0});const w=l?200:1e6,x=l?40:1e7,_={type:"inertia",velocity:o?t[y]:0,bounceStiffness:w,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...c,...m};return this.startAxisValueAnimation(y,_)});return Promise.all(g).then(d)}startAxisValueAnimation(t,a){const o=this.getAxisMotionValue(t);return zh(this.visualElement,t),o.start(Mm(t,o,0,a,this.visualElement,!1))}stopAnimation(){Yn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const a=`_drag${t.toUpperCase()}`,l=this.visualElement.getProps()[a];return l||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Yn(a=>{const{drag:o}=this.getProps();if(!mc(a,o,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(a);if(l&&l.layout){const{min:u,max:d}=l.layout.layoutBox[a],p=c.get()||0;c.set(t[a]-He(u,d,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:a}=this.getProps(),{projection:o}=this.visualElement;if(!Wi(a)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Yn(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const p=d.get();l[u]=l5({min:p,max:p},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),Yn(u=>{if(!mc(u,t,null))return;const d=this.getAxisMotionValue(u),{min:p,max:g}=this.constraints[u];d.set(He(p,g,l[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;f5.set(this.visualElement,this);const t=this.visualElement.current,a=Tr(t,"pointerdown",g=>{const{drag:y,dragListener:m=!0}=this.getProps(),w=g.target,x=w!==t&&$k(w);y&&m&&!x&&this.start(g)});let o;const l=()=>{const{dragConstraints:g}=this.getProps();Wi(g)&&g.current&&(this.constraints=this.resolveRefConstraints(),o||(o=h5(t,g.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,u=c.addEventListener("measure",l);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Ne.read(l);const d=Ur(window,"resize",()=>this.scalePositionWithinConstraints()),p=c.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:y})=>{this.isDragging&&y&&(Yn(m=>{const w=this.getAxisMotionValue(m);w&&(this.originPoint[m]+=g[m].translate,w.set(w.get()+g[m].translate))}),this.visualElement.render())}));return()=>{d(),a(),u(),p&&p(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:u=Fh,dragMomentum:d=!0}=t;return{...t,drag:a,dragDirectionLock:o,dragPropagation:l,dragConstraints:c,dragElastic:u,dragMomentum:d}}}function ow(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function h5(e,t,a){const o=mb(e,ow(a)),l=mb(t,ow(a));return()=>{o(),l()}}function mc(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function m5(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}class p5 extends ya{constructor(t){super(t),this.removeGroupControls=Rn,this.removeListeners=Rn,this.controls=new d5(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Rn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};t!==a&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const sh=e=>(t,a)=>{e&&Ne.update(()=>e(t,a),!1,!0)};class g5 extends ya{constructor(){super(...arguments),this.removePointerDownListener=Rn}onPointerDown(t){this.session=new Y1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:a,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:sh(t),onStart:sh(a),onMove:sh(o),onEnd:(c,u)=>{delete this.session,l&&Ne.postRender(()=>l(c,u))}}}mount(){this.removePointerDownListener=Tr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ah=!1;class y5 extends U.Component{componentDidMount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o,layoutId:l}=this.props,{projection:c}=t;c&&(a.group&&a.group.add(c),o&&o.register&&l&&o.register(c),ah&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),kc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:a,visualElement:o,drag:l,isPresent:c}=this.props,{projection:u}=o;return u&&(u.isPresent=c,t.layoutDependency!==a&&u.setOptions({...u.options,layoutDependency:a}),ah=!0,l||t.layoutDependency!==a||a===void 0||t.isPresent!==c?u.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?u.promote():u.relegate()||Ne.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:a}=this.props,{projection:o}=t;o&&(o.options.layoutAnchor=a,o.root.didUpdate(),Lm.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o}=this.props,{projection:l}=t;ah=!0,l&&(l.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function K1(e){const[t,a]=TD(),o=U.useContext(aS);return b.jsx(y5,{...e,layoutGroup:o,switchLayoutGroup:U.useContext(q1),isPresent:t,safeToRemove:a})}const v5={pan:{Feature:g5},drag:{Feature:p5,ProjectionNode:B1,MeasureLayout:K1}};function rw(e,t,a){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",a==="Start");const l="onHover"+a,c=o[l];c&&Ne.postRender(()=>c(t,Fr(t)))}class b5 extends ya{mount(){const{current:t}=this.node;t&&(this.unmount=Xk(t,(a,o)=>(rw(this.node,o,"Start"),l=>rw(this.node,l,"End"))))}unmount(){}}class w5 extends ya{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Ir(Ur(this.node.current,"focus",()=>this.onFocus()),Ur(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function lw(e,t,a){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",a==="Start");const l="onTap"+(a==="End"?"":a),c=o[l];c&&Ne.postRender(()=>c(t,Fr(t)))}class x5 extends ya{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:a,propagate:o}=this.node.props;this.unmount=tO(t,(l,c)=>(lw(this.node,c,"Start"),(u,{success:d})=>lw(this.node,u,d?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:o?.tap===!1})}unmount(){}}const Gh=new WeakMap,ih=new WeakMap,S5=e=>{const t=Gh.get(e.target);t&&t(e)},_5=e=>{e.forEach(S5)};function T5({root:e,...t}){const a=e||document;ih.has(a)||ih.set(a,{});const o=ih.get(a),l=JSON.stringify(t);return o[l]||(o[l]=new IntersectionObserver(_5,{root:e,...t})),o[l]}function A5(e,t,a){const o=T5(t);return Gh.set(e,a),o.observe(e),()=>{Gh.delete(e),o.unobserve(e)}}const E5={some:0,all:1};class R5 extends ya{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:a,margin:o,amount:l="some",once:c}=t,u={root:a?a.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:E5[l]},d=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,c&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:m}=this.node.getProps(),w=g?y:m;w&&w(p)};this.stopObserver=A5(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:a}=this.node;["amount","margin","root"].some(C5(t,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function C5({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}const M5={inView:{Feature:R5},tap:{Feature:x5},focus:{Feature:w5},hover:{Feature:b5}},j5={layout:{ProjectionNode:B1,MeasureLayout:K1}
12},k5={...e5,...M5,...v5,...j5},sa=XD(k5,ZD);function ti(e){const t=Dr(()=>ha(e)),{isStatic:a}=U.useContext(uu);if(a){const[,o]=U.useState(e);U.useEffect(()=>t.on("change",o),[])}return t}function X1(e,t){const a=ti(t()),o=()=>a.set(t());return o(),iS(()=>{const l=()=>Ne.preRender(o,!1,!0),c=e.map(u=>u.on("change",l));return()=>{c.forEach(u=>u()),As(o)}}),a}function O5(e){Sr.current=[],e();const t=X1(Sr.current,e);return Sr.current=void 0,t}function qm(e,t,a,o){if(typeof e=="function")return O5(e);if(a!==void 0&&!Array.isArray(a)&&typeof t!="function")return D5(e,t,a,o);const u=typeof t=="function"?t:uO(t,a,o),d=Array.isArray(e)?cw(e,u):cw([e],([g])=>u(g)),p=Array.isArray(e)?void 0:e.accelerate;return p&&!p.isTransformed&&typeof t!="function"&&Array.isArray(a)&&o?.clamp!==!1&&(d.accelerate={...p,times:t,keyframes:a,isTransformed:!0}),d}function cw(e,t){const a=Dr(()=>[]);return X1(e,()=>{a.length=0;const o=e.length;for(let l=0;l<o;l++)a[l]=e[l].get();return t(a)})}function D5(e,t,a,o){const l=Dr(()=>Object.keys(a)),c=Dr(()=>({}));for(const u of l)c[u]=qm(e,t,a[u],o);return c}function L5(e,t={}){const{isStatic:a}=U.useContext(uu),o=()=>rt(e)?e.get():e;if(a)return qm(o);const l=ti(o());return U.useInsertionEffect(()=>fO(l,e,t),[l,JSON.stringify(t)]),l}function Kc(e,t={}){return L5(e,{type:"spring",...t})}function Fm(){!Pm.current&&l1();const[e]=U.useState(qc.current);return e}function Gm(e){return typeof e=="object"&&!Array.isArray(e)}function Z1(e,t,a,o){return e==null?[]:typeof e=="string"&&Gm(t)?Dm(e,a,o):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(l=>l!=null):[e]}function z5(e,t,a){return e*(t+1)+a*t}function uw(e,t,a,o){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?a:t.startsWith("<")?Math.max(0,a+parseFloat(t.slice(1))):o.get(t)??e}function B5(e,t,a){for(let o=0;o<e.length;o++){const l=e[o];l.at>t&&l.at<a&&(ro(e,l),o--)}}function N5(e,t,a,o,l,c){B5(e,l,c);for(let u=0;u<t.length;u++)e.push({value:t[u],at:He(l,c,o[u]),easing:wS(a,u)})}function P5(e,t,a=0){const o=t+1+t*a;for(let l=0;l<e.length;l++)e[l]=e[l]/o}function U5(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const V5="easeInOut",I5=20;function H5(e,{defaultTransition:t={},...a}={},o,l){const c=t.duration||.3,u=new Map,d=new Map,p={},g=new Map;let y=0,m=0,w=0;for(let x=0;x<e.length;x++){const _=e[x];if(typeof _=="string"){g.set(_,m);continue}else if(!Array.isArray(_)){g.set(_.name,uw(m,_.at,y,g));continue}let[E,T,S={}]=_;S.at!==void 0&&(m=uw(m,S.at,y,g));let R=0;const O=(k,q,F,B=0,j=0)=>
12{const G=q5(k),{delay:Z=0,times:te=BS(G),type:oe=t.type||"keyframes",repeat:re,repeatType:ae,repeatDelay:le=0,...L}=q;let{ease:H=t.ease||"easeOut",duration:ee}=q;const ce=typeof Z=="function"?Z(B,j):Z,J=G.length,M=Rm(oe)?oe:l?.[oe||"keyframes"];if(J<=2&&M){let $=100;if(J===2&&Y5(G)){const ge=G[1]-G[0];$=Math.abs(ge)}const ie={...t,...L};ee!==void 0&&(ie.duration=nn(ee));const ve=OS(ie,$,M);H=ve.ease,ee=ve.duration}ee??(ee=c);const Y=m+ce;te.length===1&&te[0]===0&&(te[1]=1);const K=te.length-G.length;if(K>0&&zS(te,K),G.length===1&&G.unshift(null),re&&re<I5){const $=ee>0?le/ee:0;ee=z5(ee,re,le);const ie=[...G],ve=[...te];H=Array.isArray(H)?[...H]:[H];const ge=[...H],pe=ae==="reverse"||ae==="mirror";let Je=ie,Qe=ge;pe&&(Je=[...ie].reverse(),ae==="reverse"&&(Qe=[...ge].reverse().map(De=>typeof De=="function"?gm(De):De)));for(let De=0;De<re;De++){const Ot=pe&&De%2===0,Ke=Ot?Je:ie,Jn=Ot?Qe:ge,hn=(De+1)*(1+$);$>0&&(G.push(G[G.length-1]),te.push(hn),H.push("linear")),G.push(...Ke);for(let Dt=0;Dt<Ke.length;Dt++)te.push(ve[Dt]+hn),H.push(Dt===0?"linear":wS(Jn,Dt-1))}P5(te,re,$)}const ne=Y+ee;N5(F,G,H,te,Y,ne),R=Math.max(ce+ee,R),w=Math.max(ne,w)};if(rt(E)){const k=fw(E,d);O(T,S,dw("default",k))}else{const k=Z1(E,T,o,p),q=k.length;for(let F=0;F<q;F++){T=T,S=S;const B=k[F],j=fw(B,d);for(const G in T)O(T[G],F5(S,G),dw(G,j),F,q)}}y=m,m+=R}return d.forEach((x,_)=>{for(const E in x){const T=x[E];T.sort(U5);const S=[],R=[],O=[];for(let B=0;B<T.length;B++){const{at:j,value:G,easing:Z}=T[B];S.push(G),R.push(lo(0,w,j)),O.push(Z||"easeOut")}R[0]!==0&&(R.unshift(0),S.unshift(S[0]),O.unshift(V5)),R[R.length-1]!==1&&(R.push(1),S.push(null)),u.has(_)||u.set(_,{keyframes:{},transition:{}});const k=u.get(_);k.keyframes[E]=S;const{type:q,...F}=t;k.transition[E]={...F,duration:w,ease:O,times:R,...a}}}),u}function fw(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function dw(e,t){return t[e]||(t[e]=[]),t[e]}function q5(e){return Array.isArray(e)?e:[e]}function F5(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const G5=e=>typeof e=="number",Y5=e=>e.every(G5);function Q5(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},a=ru(e)&&!o1(e)?new _1(t):new v1(t);a.mount(e),Nr.set(e,a)}function K5(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},a=new RO(t);a.mount(e),Nr.set(e,a)}function X5(e,t){return rt(e)||typeof e=="number"||typeof e=="string"&&!Gm(t)}function W1(e,t,a,o){const l=[];if(X5(e,t))l.push(O1(e,Gm(t)&&t.default||t,a&&(a.default||a)));else{if(e==null)return l;const c=Z1(e,t,o),u=c.length;for(let d=0;d<u;d++){const p=c[d],g=p instanceof Element?Q5:K5;Nr.has(p)||g(p);const y=Nr.get(p),m={...a};"delay"in m&&typeof m.delay=="function"&&(m.delay=m.delay(d,u)),l.push(...Om(y,{...t,transition:m},{}))}}return l}function Z5(e,t,a){const o=[],l=e.map(u=>{if(Array.isArray(u)&&typeof u[0]=="function"){const d=u[0],p=ha(0);return p.on("change",d),u.length===1?[p,[0,1]]:u.length===2?[p,[0,1],u[1]]:[p,u[1],u[2]]}return u});return H5(l,t,a,{spring:zr}).forEach(({keyframes:u,transition:d},p)=>{o.push(...W1(p,u,d))}),o}function W5(e){return Array.isArray(e)&&e.some(Array.isArray)}function J5(e={}){const{scope:t,reduceMotion:a,skipAnimations:o}=e;function l(c,u,d){let p=[],g;const y={};if(a!==void 0&&(y.reduceMotion=a),o!==void 0&&(y.skipAnimations=o),W5(c)){const{onComplete:w,...x}=u||{};typeof w=="function"&&(g=w),p=Z5(c,{...y,...x},t)}else{const{onComplete:w,...x}=d||{};typeof w=="function"&&(g=w),p=W1(c,u,{...y,...x},t)}const m=new pk(p);return g&&m.finished.then(g),t&&(t.animations.push(m),m.finished.then(()=>{ro(t.animations,m)})),m}return l}const $5=J5(),eL=24,hw={stiffness:200,damping:17,mass:.9},tL={type:"spring",stiffness:180,damping:16,mass:1},nL=[.22,.12,0],sL=` 13attribute vec2 a_position; 14void main() { 15 gl_Position = vec4(a_position, 0.0, 1.0); 16} 17`,aL=` 18precision highp float; 19 20uniform vec2 u_resolution; 21uniform float u_time; 22uniform vec2 u_mouse; // normalised, -0.5..0.5 from centre, y up 23uniform vec2 u_mouseVel; // normalised cursor velocity (lag between target & eased) 24uniform float u_expand[3]; // per-layer eased open amount (staggered, springy) 25uniform float u_dpr; // device pixels per CSS px 26uniform vec2 u_boxCenter; // island box centre, in gl_FragCoord px 27uniform vec2 u_boxHalf; // island box half-size, in gl_FragCoord px 28uniform float u_boxRadius; // island box corner radius, CSS px 29 30// Layer colours (matching island-back-layers.tsx, back -> front). 31const vec3 BLUE = vec3(0.373, 0.573, 0.973); // #5f92f8 32const vec3 MAGENTA = vec3(0.918, 0.200, 0.471); // #ea3378 33const vec3 ORANGE = vec3(0.933, 0.463, 0.216); // #ee7637 34 35// Cheap value noise (hash-based), smoothly interpolated. 36float hash(vec2 p) { 37 p = fract(p * vec2(123.34, 456.21)); 38 p += dot(p, p + 45.32); 39 return fract(p.x * p.y); 40} 41float noise(vec2 p) { 42 vec2 i = floor(p); 43 vec2 f = fract(p); 44 vec2 u = f * f * (3.0 - 2.0 * f); 45 float a = hash(i); 46 float b = hash(i + vec2(1.0, 0.0)); 47 float c = hash(i + vec2(0.0, 1.0)); 48 float d = hash(i + vec2(1.0, 1.0)); 49 return mix(mix(a, b, u.x), mix(c, d, u.x), u.y); 50} 51 52// A 2D warp vector in [-0.5, 0.5], built from two decorrelated noise fields that 53// slowly drift over time so the distortion is organic rather than a clean wave. 54vec2 warpField(vec2 q, float scale, float speed) { 55 float nx = noise(q * scale + vec2(0.0, u_time * speed)); 56 float ny = noise(q * scale + vec2(5.2, -u_time * speed) + 11.7); 57 return vec2(nx, ny) - 0.5; 58} 59 60// Signed distance to a rounded box centred at origin. 61float sdRoundBox(vec2 p, vec2 b, float r) { 62 vec2 q = abs(p) - b + r; 63 return min(max(q.x, q.y), 0.0) + length(max(q, 0.0)) - r; 64} 65 66// Coverage of one blurred, grown rounded-rect layer. growth/blur are CSS px 67// (scaled by dpr);
67 both swell with this layer's open amount so the footprint 68// grows out from the button. vScale sets how much of the growth goes vertical 69// (the blue back layer reaches higher). A gentle opacity ramp fades the layer in 70// over the first part of the open so its edge doesn't pop sharply into view; at 71// ex == 0 the layer matches the button and is fully hidden behind it. 72float layer(vec2 p, float growth, float vScale, float blur, float ex) { 73 vec2 g = 0.5 * vec2(growth, growth * vScale) * ex * u_dpr; 74 vec2 hs = u_boxHalf + g; 75 float minHalf = min(hs.x, hs.y); 76 // Never round tighter than the button, so its corners are tucked inside. 77 float boxR = min(u_boxRadius * u_dpr, minHalf); 78 float rad = clamp(110.0 * u_dpr, boxR, minHalf); 79 float d = sdRoundBox(p, hs, rad); 80 float b = max(blur * u_dpr * ex, 0.75); 81 float cov = 1.0 - smoothstep(-b, b, d); 82 return cov * smoothstep(0.0, 0.35, ex); 83} 84 85void main() { 86 vec2 p = gl_FragCoord.xy - u_boxCenter; 87 88 // Fluid warp. A slowly self-drifting noise field gives the glow constant life, 89 // and the cursor locally *stirs* that field â pushing outward and curling 90 // tangentially around itself â rather than sliding the whole pattern. The stir 91 // grows with cursor speed, so a still pointer is calm and a moving one churns 92 // the fluid. Gated by openness so there is zero warp during open/close 93 // (otherwise the layers can't tuck cleanly behind the button). 94 float open = max(max(u_expand[0], u_expand[1]), u_expand[2]); 95 float warpGate = smoothstep(0.15, 0.6, open); 96 97 // Cursor position in box-relative gl_FragCoord px, and this fragment's offset 98 // from it; influence falls off smoothly with distance. 99 vec2 cursor = vec2((u_mouse.x + 0.5) * u_resolution.x, 100 (u_mouse.y + 0.5) * u_resolution.y) - u_boxCenter; 101 // Time-driven self-motion: two noise octaves at different scales/speeds for an 102 // organic churn, plus a slow global sway so the whole glow gently breathes. 103 vec2 flow = warpField(p, 0.001, 0.9) * 1.0 104 + warpField(p + 80.0, 0.001, 0.6) * 0.45; 105 vec2 sway = vec2(sin(u_time * 0.5), cos(u_time * 0.37)); 106 107 // Pointer interaction â it intensifies a DOMAIN WARP of the existing low-freq 108 // flow near the cursor, so the same glow stretches into smooth flowing lobes 109 // rather than gaining a second, grainy noise cloud on top. NOT a swirl, NOT a 110 // radial lens (which only scales the cloud when the cursor is at its centre), 111 // NOT a uniform offset. A wake drags the fluid along the pointer's motion. 112 vec2 toC = p - cursor; 113 float s = 320.0 * u_dpr; 114 float bell = exp(-dot(toC, toC) / (2.0 * s * s)); 115 float mv = length(u_mouseVel); 116 vec2 velDir = mv > 0.0001 ? u_mouseVel / mv : vec2(0.0); 117 float speed = clamp(mv * 8.0, 0.0, 1.0); 118 119 // Same frequency as the ambient flow (no new grain), but its sample point is 120 // pushed by the flow itself â domain warping â so it folds into organic lobes. 121 vec2 dwarp = warpField(p + flow * 240.0, 0.0045, 0.5); 122 vec2 stir = dwarp * bell * (130.0 + 150.0 * speed); 123 vec2 wake = velDir * speed * bell * 170.0; 124 125 vec2 warp = flow * 60.0 + sway * 14.0 + stir + wake; 126 p += warp * u_dpr * warpGate; 127 128 vec3 color = vec3(0.0); 129 float alpha = 0.0; 130 131 // Back -> front: each layer composites over the previous (painter's order). 132 // Indices align with u_expand: 0 orange (front), 1 magenta, 2 blue. 133 float c; 134 c = layer(p, 600.0, 0.95, 165.0, u_expand[2]); color = mix(color, BLUE, c); alpha = alpha + c * (1.0 - alpha); 135 c = layer(p, 230.0, 0.55, 115.0, u_expand[1]); color = mix(color, MAGENTA, c); alpha = alpha + c * (1.0 - alpha); 136 c = layer(p, 70.0, 0.50, 50.0, u_expand[0]); color = mix(color, ORANGE, c); alpha = alpha + c * (1.0 - alpha); 137 138 // Warm halo hugging the box: lifts opacity and warms the colour right around 139 // the container so it reads as emitting light rather than a flat blurred patch. 140 float boxMinHalf = min(u_boxHalf.x, u_boxHalf.y); 141 float boxD = sdRoundBox(p, u_boxHalf, min(u_boxRadius * u_dpr, boxMinHalf)); 142 float glow = exp(-max(boxD, 0.0) / (120.0 * u_dpr)) * 0.7 * warpGate; 143 color = mix(color, ORANGE, glow * (1.0 - alpha)); 144 alpha = alpha + glow * (1.0 - alpha); 145 146 gl_FragColor = vec4(color, alpha); 147} 148`;function mw(e,t,a){const o=e.createShader(t);return o?(e.shaderSource(o,a),e.compileShader(o),e.getShaderParameter(o,e.COMPILE_STATUS)?o:(console.error("Shader compile error:",e.getShaderInfoLog(o)),e.deleteShader(o),null)):null}function iL(e){const t=mw(e,e.VERTEX_SHADER,sL),a=mw(e,e.FRAGMENT_SHADER,aL);if(!t||!a)return null;const o=e.createProgram();return o?(e.attachShader(o,t),e.attachShader(o,a),e.linkProgram(o),e.deleteShader(t),e.deleteShader(a),e.getProgramParameter(o,e.LINK_STATUS)?o:(console.error("Program link error:",e.getProgramInfoLog(o)),e.deleteProgram(o),null)):null}function oL({expanded:e,width:t,height:a,radius:o,bottomOffset:l}){const c=U.useRef(null),u=Fm(),d=ti(e?1:0),p=ti(e?1:0),g=ti(e?1:0),y=Kc(t??0,hw),m=Kc(a??0,hw),w=U.useRef(e),x=U.useRef(o),_=U.useRef(!!u),E=U.useRef(null);return U.useEffect(()=>
148{y.set(t??0),m.set(a??0)},[t,a,y,m]),U.useEffect(()=>{x.current=o},[o]),U.useEffect(()=>{_.current=!!u},[u]),U.useEffect(()=>{w.current=e;const T=e?1:0,R=[d,p,g].map((O,k)=>$5(O,T,u?{duration:0}:{...tL,delay:e?nL[k]:0}));return e&&E.current?.(),()=>R.forEach(O=>O.stop())},[e,u,d,p,g]),U.useEffect(()=>{const T=c.current;if(!T)return;const S=T.getContext("webgl")||T.getContext("experimental-webgl");if(!S){console.warn("WebGL not available; island shader disabled.");return}const R=iL(S);if(!R)return;const O=S.createBuffer();S.bindBuffer(S.ARRAY_BUFFER,O),S.bufferData(S.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),S.STATIC_DRAW),S.useProgram(R);const k=S.getAttribLocation(R,"a_position");S.enableVertexAttribArray(k),S.vertexAttribPointer(k,2,S.FLOAT,!1,0,0);const q=S.getUniformLocation(R,"u_resolution"),F=S.getUniformLocation(R,"u_time"),B=S.getUniformLocation(R,"u_mouse");S.getUniformLocation(R,"u_mouseVel");const j=S.getUniformLocation(R,"u_expand[0]"),G=S.getUniformLocation(R,"u_dpr"),Z=S.getUniformLocation(R,"u_boxCenter"),te=S.getUniformLocation(R,"u_boxHalf"),oe=S.getUniformLocation(R,"u_boxRadius");S.enable(S.BLEND),S.blendFunc(S.SRC_ALPHA,S.ONE_MINUS_SRC_ALPHA),S.clearColor(0,0,0,0);let re=1;const ae=()=>{re=Math.min(window.devicePixelRatio||1,2);const $=Math.max(1,Math.round(T.clientWidth*re)),ie=Math.max(1,Math.round(T.clientHeight*re));(T.width!==$||T.height!==ie)&&(T.width=$,T.height=ie),S.viewport(0,0,T.width,T.height)};ae();const le=new ResizeObserver(ae);le.observe(T);const L={x:0,y:0},H={x:0,y:0},ee=$=>{const ie=T.getBoundingClientRect();L.x=($.clientX-ie.left)/ie.width-.5,L.y=.5-($.clientY-ie.top)/ie.height};window.addEventListener("pointermove",ee,{passive:!0});const ce=performance.now(),J=new Float32Array(3);let M=0,Y=!1;const K=$=>{const ie=_.current?0:($-ce)/1e3;J[0]=d.get(),J[1]=p.get(),J[2]=g.get();const ve=L.x-H.x,ge=L.y-H.y;H.x+=ve*.08,H.y+=ge*.08;const pe=y.get()*re/2,Je=m.get()*re/2,Qe=T.width/2,De=l?.get()??0,Ot=(eL+De)*re+Je;S.clear(S.COLOR_BUFFER_BIT),S.uniform2f(q,T.width,T.height),S.uniform1f(F,ie),S.uniform2f(B,H.x,H.y),S.uniform1fv(j,J),S.uniform1f(G,re),S.uniform2f(Z,Qe,Ot),S.uniform2f(te,pe,Je),S.uniform1f(oe,x.current),S.drawArrays(S.TRIANGLES,0,6);const Ke=Math.max(Math.abs(J[0]),Math.abs(J[1]),Math.abs(J[2]));if(!w.current&&Ke<.003){Y=!1,S.clear(S.COLOR_BUFFER_BIT);return}M=requestAnimationFrame(K)},ne=()=>{Y||(Y=!0,M=requestAnimationFrame(K))};return E.current=ne,w.current&&ne(),()=>{E.current=null,cancelAnimationFrame(M),le.disconnect(),window.removeEventListener("pointermove",ee),S.deleteBuffer(O),S.deleteProgram(R)}},[d,p,g,y,m,l]),b.jsx("canvas",{ref:c,"aria-hidden":"true",className:"pointer-events-none fixed bottom-0 left-0 z-40 h-screen w-screen",style:{opacity:1}})}function J1(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(a=J1(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function rL(){for(var e,t,a=0,o="",l=arguments.length;a<l;a++)(e=arguments[a])&&(t=J1(e))&&(o&&(o+=" "),o+=t);return o}const lL=(e,t)=>{const a=new Array(e.length+t.length);for(let o=0;o<e.length;o++)a[o]=e[o];for(let o=0;o<t.length;o++)a[e.length+o]=t[o];return a},cL=(e,t)=>({classGroupId:e,validator:t}),$1=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),Xc="-",pw=[],uL="arbitrary..",fL=e=>{const t=hL(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return dL(u);const d=u.split(Xc),p=d[0]===""&&d.length>1?1:0;return e_(d,p,t)},getConflictingClassGroupIds:(u,d)=>{if(d){const p=o[u],g=a[u];return p?g?lL(g,p):p:g||pw}return a[u]||pw}}},e_=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const l=e[t],c=a.nextPart.get(l);if(c){const g=e_(e,t+1,c);if(g)return g}const u=a.validators;if(u===null)return;const d=t===0?e.join(Xc):e.slice(t).join(Xc),p=u.length;for(let g=0;g<p;g++){const y=u[g];if(y.validator(d))return y.classGroupId}},dL=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),o=t.slice(0,a);return o?uL+o:void 0}
vendor: 6,788 bytes, line 148
148)(),hL=e=>{const{theme:t,classGroups:a}=e;return mL(a,t)},mL=(e,t)=>{const a=$1();for(const o in e){const l=e[o];Ym(l,a,o,t)}return a},Ym=(e,t,a,o)=>{const l=e.length;for(let c=0;c<l;c++){const u=e[c];pL(u,t,a,o)}},pL=(e,t,a,o)=>{if(typeof e=="string"){gL(e,t,a);return}if(typeof e=="function"){yL(e,t,a,o);return}vL(e,t,a,o)},gL=(e,t,a)=>{const o=e===""?t:t_(t,e);o.classGroupId=a},yL=(e,t,a,o)=>{if(bL(e)){Ym(e(o),t,a,o);return}t.validators===null&&(t.validators=[]),t.validators.push(cL(a,e))},vL=(e,t,a,o)=>{const l=Object.entries(e),c=l.length;for(let u=0;u<c;u++){const[d,p]=l[u];Ym(p,t_(t,d),a,o)}},t_=(e,t)=>{let a=e;const o=t.split(Xc),l=o.length;for(let c=0;c<l;c++){const u=o[c];let d=a.nextPart.get(u);d||(d=$1(),a.nextPart.set(u,d)),a=d}return a},bL=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,wL=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),o=Object.create(null);const l=(c,u)=>{a[c]=u,t++,t>e&&(t=0,o=a,a=Object.create(null))};return{get(c){let u=a[c];if(u!==void 0)return u;if((u=o[c])!==void 0)return l(c,u),u},set(c,u){c in a?a[c]=u:l(c,u)}}},Yh="!",gw=":",xL=[],yw=(e,t,a,o,l)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:o,isExternal:l}),SL=e=>{const{prefix:t,experimentalParseClassName:a}=e;let o=l=>{const c=[];let u=0,d=0,p=0,g;const y=l.length;for(let E=0;E<y;E++){const T=l[E];if(u===0&&d===0){if(T===gw){c.push(l.slice(p,E)),p=E+1;continue}if(T==="/"){g=E;continue}}T==="["?u++:T==="]"?u--:T==="("?d++:T===")"&&d--}const m=c.length===0?l:l.slice(p);let w=m,x=!1;m.endsWith(Yh)?(w=m.slice(0,-1),x=!0):m.startsWith(Yh)&&(w=m.slice(1),x=!0);const _=g&&g>p?g-p:void 0;return yw(c,x,w,_)};if(t){const l=t+gw,c=o;o=u=>u.startsWith(l)?c(u.slice(l.length)):yw(xL,!1,u,void 0,!0)}if(a){const l=o;o=c=>a({className:c,parseClassName:l})}return o},_L=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,o)=>{t.set(a,1e6+o)}),a=>{const o=[];let l=[];for(let c=0;c<a.length;c++){const u=a[c],d=u[0]==="[",p=t.has(u);d||p?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(u)):l.push(u)}return l.length>0&&(l.sort(),o.push(...l)),o}},TL=e=>({cache:wL(e.cacheSize),parseClassName:SL(e),sortModifiers:_L(e),...fL(e)}),AL=/\s+/,EL=(e,t)=>{const{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:c}=t,u=[],d=e.trim().split(AL);let p="";for(let g=d.length-1;g>=0;g-=1){const y=d[g],{isExternal:m,modifiers:w,hasImportantModifier:x,baseClassName:_,maybePostfixModifierPosition:E}=a(y);if(m){p=y+(p.length>0?" "+p:p);continue}let T=!!E,S=o(T?_.substring(0,E):_);if(!S){if(!T){p=y+(p.length>0?" "+p:p);continue}if(S=o(_),!S){p=y+(p.length>0?" "+p:p);continue}T=!1}const R=w.length===0?"":w.length===1?w[0]:c(w).join(":"),O=x?R+Yh:R,k=O+S;if(u.indexOf(k)>-1)continue;u.push(k);const q=l(S,T);for(let F=0;F<q.length;++F){const B=q[F];u.push(O+B)}p=y+(p.length>0?" "+p:p)}return p},RL=(...e)=>{let t=0,a,o,l="";for(;t<e.length;)(a=e[t++])&&(o=n_(a))&&(l&&(l+=" "),l+=o);return l},n_=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=n_(e[o]))&&(a&&(a+=" "),a+=t);return a},CL=(e,...t)=>{let a,o,l,c;const u=p=>{const g=t.reduce((y,m)=>m(y),e());return a=TL(g),o=a.cache.get,l=a.cache.set,c=d,d(p)},d=p=>{const g=o(p);if(g)return g;const y=EL(p,a);return l(p,y),y};return c=u,(...p)=>c(RL(...p))},ML=[],gt=e=>{const t=a=>a[e]||ML;return t.isThemeGetter=!0,t},s_=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,a_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,jL=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,kL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,OL=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,LL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ea=e=>jL.test(e),Te=e=>!!e&&!Number.isNaN(Number(e)),ta=e=>!!e&&Number.isInteger(Number(e)),oh=e=>e.endsWith("%")&&Te(e.slice(0,-1)),ws=e=>kL.test(e),i_=()=>!0,BL=e=>OL.test(e)&&!DL.test(e),Qm=()=>!1,NL=e=>LL.test(e),PL=e=>zL.test(e),UL=e=>!fe(e)&&!he(e),VL=e=>va(e,l_,Qm),fe=e=>s_.test(e),Ha=e=>va(e,c_,BL),vw=e=>va(e,KL,Te),IL=e=>va(e,f_,i_),HL=e=>va(e,u_,Qm),bw=e=>va(e,o_,Qm),qL=e=>va(e,r_,PL),pc=e=>va(e,d_,NL),he=e=>a_.test(e),pr=e=>ii(e,c_),FL=e=>ii(e,u_),ww=e=>ii(e,o_),GL=e=>ii(e,l_),YL=e=>ii(e,r_),gc=e=>ii(e,d_,!0),QL=e=>ii(e,f_,!0),va=(e,t,a)=>{const o=s_.exec(e);return o?o[1]?t(o[1]):a(o[2]):!1},ii=(e,t,a=!1)=>{const o=a_.exec(e);return o?o[1]?t(o[1]):a:!1},o_=e=>e==="position"||e==="percentage",r_=e=>e==="image"||e==="url",l_=e=>e==="length"||e==="size"||e==="bg-size",c_=e=>e==="length",KL=e=>e==="number",u_=e=>e==="family-name",f_=e=>e==="number"||e==="weight",d_=e=>e==="shadow",XL=()=>{const e=gt("color"),t=gt("font"),a=gt("text"),o=gt("font-weight"),l=gt("tracking"),c=gt("leading"),u=gt("breakpoint"),d=gt("container"),p=gt("spacing"),g=gt("radius"),y=gt("shadow"),m=gt("inset-shadow"),w=gt("text-shadow"),x=gt("drop-shadow"),_=gt("blur"),E=gt("perspective"),T=gt("aspect"),S=gt("ease"),R=gt("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],q=()=>[...k(),he,fe],F=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],j=()=>[he,fe,p],G=()=>[ea,"full","auto",...j()],Z=()=>[ta,"none","subgrid",he,fe],te=()=>["auto",{span:["full",ta,he,fe]},ta,he,fe],oe=()=>[ta,"auto",he,fe],re=()=>["auto","min","max","fr",he,fe],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],le=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...j()],H=()=>[ea,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],ee=()=>[ea,"screen","full","dvw","lvw","svw","min","max","fit",...j()],ce=()=>[ea,"screen","full","lh","dvh","lvh","svh","min","max","fit",...j()],J=()=>[e,he,fe],M=()=>[...k(),ww,bw,{position:[he,fe]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",GL,VL,{size:[he,fe]}],ne=()=>[oh,pr,Ha],$=()=>["","none","full",g,he,fe],ie=()=>["",Te,pr,Ha],ve=()=>["solid","dashed","dotted","double"],ge=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[Te,oh,ww,bw],Je=()=>["","none",_,he,fe],Qe=()=>["none",Te,he,fe],De=()=>["none",Te,he,fe],Ot=()=>[Te,he,fe],Ke=()=>[ea,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ws],breakpoint:[ws],c
vendor: 6,636 bytes, line 148
148olor:[i_],container:[ws],"drop-shadow":[ws],ease:["in","out","in-out"],font:[UL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ws],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ws],shadow:[ws],spacing:["px",Te],text:[ws],"text-shadow":[ws],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ea,fe,he,T]}],container:["container"],columns:[{columns:[Te,fe,he,d]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:q()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{"inset-s":G(),start:G()}],end:[{"inset-e":G(),end:G()}],"inset-bs":[{"inset-bs":G()}],"inset-be":[{"inset-be":G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[ta,"auto",he,fe]}],basis:[{basis:[ea,"full","auto",d,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Te,ea,"auto","initial","none",fe]}],grow:[{grow:["",Te,he,fe]}],shrink:[{shrink:["",Te,he,fe]}],order:[{order:[ta,"first","last","none",he,fe]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...le(),"normal"]}],"justify-self":[{"justify-self":["auto",...le()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...le(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...le(),"baseline"]}],"place-self":[{"place-self":["auto",...le()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pbs:[{pbs:j()}],pbe:[{pbe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],"inline-size":[{inline:["auto",...ee()]}],"min-inline-size":[{"min-inline":["auto",...ee()]}],"max-inline-size":[{"max-inline":["none",...ee()]}],"block-size":[{block:["auto",...ce()]}],"min-block-size":[{"min-block":["auto",...ce()]}],"max-block-size":[{"max-block":["none",...ce()]}],w:[{w:[d,"screen",...H()]}],"min-w":[{"min-w":[d,"screen","none",...H()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",a,pr,Ha]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,QL,IL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",oh,fe]}],"font-family":[{font:[FL,HL,t]}],"font-features":[{"font-features":[fe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,he,fe]}],"line-clamp":[{"line-clamp":[Te,"none",he,vw]}],leading:[{leading:[c,...j()]}],"list-image":[{"list-image":["none",he,fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",he,fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:J()}],"text-color":[{text:J()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[Te,"from-font","auto",he,Ha]}],"text-decoration-color":[{decoration:J()}],"underline-offset":[{"underline-offset":[Te,"auto",he,fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he,fe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he,fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ta,he,fe],radial:["",he,fe],conic:[ta,he,fe]},YL,qL]}],"bg-color":[{bg:J()}],"gradient-from-pos":[{from:ne()}
vendor: 7,387 bytes, line 148
148],"gradient-via-pos":[{via:ne()}],"gradient-to-pos":[{to:ne()}],"gradient-from":[{from:J()}],"gradient-via":[{via:J()}],"gradient-to":[{to:J()}],rounded:[{rounded:$()}],"rounded-s":[{"rounded-s":$()}],"rounded-e":[{"rounded-e":$()}],"rounded-t":[{"rounded-t":$()}],"rounded-r":[{"rounded-r":$()}],"rounded-b":[{"rounded-b":$()}],"rounded-l":[{"rounded-l":$()}],"rounded-ss":[{"rounded-ss":$()}],"rounded-se":[{"rounded-se":$()}],"rounded-ee":[{"rounded-ee":$()}],"rounded-es":[{"rounded-es":$()}],"rounded-tl":[{"rounded-tl":$()}],"rounded-tr":[{"rounded-tr":$()}],"rounded-br":[{"rounded-br":$()}],"rounded-bl":[{"rounded-bl":$()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:J()}],"border-color-x":[{"border-x":J()}],"border-color-y":[{"border-y":J()}],"border-color-s":[{"border-s":J()}],"border-color-e":[{"border-e":J()}],"border-color-bs":[{"border-bs":J()}],"border-color-be":[{"border-be":J()}],"border-color-t":[{"border-t":J()}],"border-color-r":[{"border-r":J()}],"border-color-b":[{"border-b":J()}],"border-color-l":[{"border-l":J()}],"divide-color":[{divide:J()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Te,he,fe]}],"outline-w":[{outline:["",Te,pr,Ha]}],"outline-color":[{outline:J()}],shadow:[{shadow:["","none",y,gc,pc]}],"shadow-color":[{shadow:J()}],"inset-shadow":[{"inset-shadow":["none",m,gc,pc]}],"inset-shadow-color":[{"inset-shadow":J()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:J()}],"ring-offset-w":[{"ring-offset":[Te,Ha]}],"ring-offset-color":[{"ring-offset":J()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":J()}],"text-shadow":[{"text-shadow":["none",w,gc,pc]}],"text-shadow-color":[{"text-shadow":J()}],opacity:[{opacity:[Te,he,fe]}],"mix-blend":[{"mix-blend":[...ge(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ge()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Te]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":J()}],"mask-image-linear-to-color":[{"mask-linear-to":J()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":J()}],"mask-image-t-to-color":[{"mask-t-to":J()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":J()}],"mask-image-r-to-color":[{"mask-r-to":J()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":J()}],"mask-image-b-to-color":[{"mask-b-to":J()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":J()}],"mask-image-l-to-color":[{"mask-l-to":J()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":J()}],"mask-image-x-to-color":[{"mask-x-to":J()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":J()}],"mask-image-y-to-color":[{"mask-y-to":J()}],"mask-image-radial":[{"mask-radial":[he,fe]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":J()}],"mask-image-radial-to-color":[{"mask-radial-to":J()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[Te]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":J()}],"mask-image-conic-to-color":[{"mask-conic-to":J()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",he,fe]}],filter:[{filter:["","none",he,fe]}],blur:[{blur:Je()}],brightness:[{brightness:[Te,he,fe]}],contrast:[{contrast:[Te,he,fe]}],"drop-shadow":[{"drop-shadow":["","none",x,gc,pc]}],"drop-shadow-color":[{"drop-shadow":J()}],grayscale:[{grayscale:["",Te,he,fe]}],"hue-rotate":[{"hue-rotate":[Te,he,fe]}],invert:[{invert:["",Te,he,fe]}],saturate:[{saturate:[Te,he,fe]}],sepia:[{sepia:["",Te,he,fe]}],"backdrop-filter":[{"backdrop-filter":["","none",he,fe]}],"backdrop-blur":[{"backdrop-blur":Je()}],"backdrop-brightness":[{"backdrop-brightness":[Te,he,fe]}],"backdrop-contrast":[{"backdrop-contrast":[Te,he,fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Te,he,fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Te,he,fe]}],"backdrop-invert":[{"backdrop-invert":["",Te,he,fe]}],"backdrop-opacity":[{"backdrop-opacity":[Te,he,fe]}],"backdrop-saturate":[{"backdrop-saturate":[Te,he,fe]}],"backdrop-sepia":[{"backdrop-sepia":["",Te,he,fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",he,fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Te,"initial",he,fe]}],ease:[{ease:["linear","initial",S,he,fe]}],delay:[{delay:[Te,he,fe]}],animate:[{animate:["none",R,he,fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,he,fe]}],"perspective-origin":[{"perspective-origin":q()}],rotate:[{rotate:Qe()}],"rotate-x":[{"rotate-x":Qe()}],"rotate-y":[{"rotate-y":Qe()}],"rotate-z":[{"rotate-z":Qe()}],scale:[{scale:De()}],"scale-x":[{"scale-x":De()}],"scale-y":[{"scale-y":De()}],"scale-z":[{"scale-z":De()}],"scale-3d":["scale-3d"],skew:[{skew:Ot()}],"skew-x":[{"skew-x":Ot()}],"skew-y":[{"skew-y":Ot()}],transform:[{transform:[he,fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:q()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ke()}],"translate-x":[{"translate-x":Ke()}],"translate-y":[{"translate-y":Ke()}],"translate-z":[{"translate-z":Ke()}],"translate-none":["translate-none"],accent:[{accent:J()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:J()}
148],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he,fe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mbs":[{"scroll-mbs":j()}],"scroll-mbe":[{"scroll-mbe":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pbs":[{"scroll-pbs":j()}],"scroll-pbe":[{"scroll-pbe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he,fe]}],fill:[{fill:["none",...J()]}],"stroke-w":[{stroke:[Te,pr,Ha,vw]}],stroke:[{stroke:["none",...J()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ZL=CL(XL);function Ss(...e){return ZL(rL(e))}const rh=[{value:"build",label:"Build",description:"Make changes directly"},{value:"plan",label:"Plan",description:"Discuss before building"}];function WL({mode:e,onChange:t,variant:a="light",tabIndex:o}){const[l,c]=U.useState(!1),[u,d]=U.useState(null),p=U.useRef(null),g=U.useRef(null),y=U.useRef(null),m=a==="dark";U.useEffect(()=>{if(!l)return;const E=S=>{const R=S.target;!p.current?.contains(R)&&!g.current?.contains(R)&&c(!1)},T=S=>{S.key==="Escape"&&c(!1)};return document.addEventListener("pointerdown",E),document.addEventListener("keydown",T),()=>{document.removeEventListener("pointerdown",E),document.removeEventListener("keydown",T)}},[l]),U.useLayoutEffect(()=>{if(!l||!m){d(null);return}const E=()=>{const T=y.current?.getBoundingClientRect();T&&d({right:window.innerWidth-T.right,bottom:window.innerHeight-T.top+8})};return E(),window.addEventListener("resize",E),window.addEventListener("scroll",E,!0),()=>{window.removeEventListener("resize",E),window.removeEventListener("scroll",E,!0)}},[l,m]);const w=rh.find(E=>E.value===e)??rh[0],_=l&&(!m||u!==null)?b.jsx("div",{ref:g,role:"listbox",onPointerDown:E=>E.stopPropagation(),style:m&&u?{position:"fixed",right:u.right,bottom:u.bottom}:void 0,className:Ss("z-60 w-56 rounded-xl border p-1.5 shadow-lg",!m&&"absolute bottom-full right-0 mb-2",m?"border-(--paper)/15 bg-(--ink) text-(--paper)":"border-(--ink)/10 bg-white text-(--ink)"),children:rh.map(E=>
148b.jsxs("button",{type:"button",role:"option","aria-selected":E.value===e,onClick:T=>{T.stopPropagation(),t(E.value),c(!1)},className:Ss("flex w-full items-start gap-2 rounded-lg px-2.5 py-2 text-left",m?"hover:bg-(--paper)/10":"hover:bg-(--ink)/5"),children:[b.jsx("span",{className:"w-4 pt-0.5",children:E.value===e&&b.jsx(I3,{size:14})}),b.jsxs("span",{children:[b.jsx("span",{className:"block text-sm font-medium",children:E.label}),b.jsx("span",{className:Ss("block text-xs",m?"text-(--paper)/60":"text-(--ink-muted)"),children:E.description})]})]},E.value))}):null;return b.jsxs("div",{ref:p,className:"relative",children:[b.jsxs("button",{ref:y,type:"button",tabIndex:o,"aria-haspopup":"listbox","aria-expanded":l,onClick:E=>{E.stopPropagation(),c(T=>!T)},className:Ss("flex items-center gap-1 rounded-full px-2 py-1 text-sm font-medium transition-colors",m?"text-(--paper)/80 hover:text-(--paper) hover:bg-(--paper)/10":"text-(--ink-muted) hover:text-(--ink) hover:bg-(--ink)/5"),children:[w.label,b.jsx(q3,{size:14,className:Ss("transition-transform",l&&"rotate-180")})]}),_&&(m?rm.createPortal(_,document.body):_)]})}function JL(e){const t=e.trim();if(!t)return!1;const a=`https://lovable.dev?prompt=${encodeURIComponent(t)}`;return window.open(a,"_blank","noopener,noreferrer"),!0}const lh="Ask Lovable to build...",xw={type:"spring",stiffness:200,damping:17,mass:.9},$L={type:"spring",stiffness:220,damping:26},Sw={type:"spring",stiffness:160,damping:20,delay:.18},_w={y:$L,opacity:{duration:.12}},Tw="absolute bottom-0 left-1/2 -translate-x-1/2",ez=typeof window<"u"?U.useLayoutEffect:U.useEffect;function tz(){const[e,t]=U.useState(!1),[a,o]=U.useState(!1),[l,c]=U.useState(""),[u,d]=U.useState("build"),[p,g]=U.useState(null),[y,m]=U.useState(!1),w=U.useRef(null),x=U.useRef(null),_=U.useRef(null),E=U.useRef(null),T=Fm(),S=e||a,R=ti(0),O=Kc(R,{stiffness:200,damping:16,mass:1}),k=ti(0),q=Kc(k,{stiffness:300,damping:30}),F=qm([O,q],([ae,le])=>ae-le),B=U.useRef(S);U.useEffect(()=>{B.current=S,S&&R.set(0)},[S,R]),U.useEffect(()=>{if(T)return;let ae=window.scrollY;const le=160,L=200,H=()=>{const ee=window.scrollY,ce=ee-ae;if(ae=ee,Math.abs(ce)>300)return;const J=window.innerHeight+ee>=document.documentElement.scrollHeight-L;B.current?R.set(0):J?R.set(le):ee<80?R.set(0):ce>4?R.set(le):ce<-4&&R.set(0)};return window.addEventListener("scroll",H,{passive:!0}),()=>window.removeEventListener("scroll",H)},[T,R]),U.useEffect(()=>{const ae=window.visualViewport;if(!ae)return;const le=()=>{const L=Math.max(0,window.innerHeight-ae.height-ae.offsetTop);k.set(L)};return le(),ae.addEventListener("resize",le),ae.addEventListener("scroll",le),()=>{ae.removeEventListener("resize",le),ae.removeEventListener("scroll",le)}},[k]);const j=U.useCallback(()=>{const ae=S?E.current:_.current;ae&&g({width:ae.offsetWidth,height:ae.offsetHeight})},[S]);ez(()=>{j()},[j,l]),U.useEffect(()=>{p&&!y&&m(!0)},[p,y]),U.useEffect(()=>{const ae=()=>j();return window.addEventListener("resize",ae),()=>window.removeEventListener("resize",ae)},[j]);const G=()=>{const ae=x.current;ae&&(ae.style.height="auto",ae.style.height=`${ae.scrollHeight}px`)},Z=()=>{t(!1),o(!1),c("")},te=()=>{JL(l)&&Z()};U.useEffect(()=>{e?x.current?.focus():x.current?.blur()},[e]),U.useEffect(()=>{if(!e)return;function ae(L){w.current?.contains(L.target)||Z()}function le(L){L.key==="Escape"&&Z()}return document.addEventListener("pointerdown",ae),document.addEventListener("keydown",le),()=>{document.removeEventListener("pointerdown",ae),document.removeEventListener("keydown",le)}},[e]);const oe=S&&l==="",re=ae=>ae?Ss("z-10",p?Tw:"relative"):Ss("pointer-events-none",Tw);return b.jsxs(b.Fragment,{children:[b.jsx(oL,{expanded:S,width:p?.width,height:p?.height,radius:S?32:50,bottomOffset:q}),b.jsx(sa.div,{ref:w,style:{y:F},onPointerEnter:ae=>{ae.pointerType==="mouse"&&o(!0)},onPointerLeave:ae=>{ae.pointerType==="mouse"&&o(!1)},className:"fixed bottom-3 left-1/2 z-50 -translate-x-1/2",children:b.jsxs(sa.div,{initial:{borderRadius:50},animate:{width:p?.width,height:p?.height,borderRadius:S?32:50},transition:{width:y?xw:{duration:0},height:y?xw:{duration:0},borderRadius:{duration:.3,ease:"easeOut"}},className:"relative overflow-hidden bg-(--ink) text-(--paper) shadow-xl shadow-black/20",children:[b.jsxs(sa.div,{ref:E,"aria-hidden":!S,onClick:()=>
148t(!0),animate:{opacity:S?1:0,y:S?0:-16},transition:_w,className:Ss("flex w-[88vw] max-w-xl flex-col p-4 sm:p-5",re(S)),children:[b.jsxs("div",{className:"relative",children:[oe&&b.jsx(nz,{reduceMotion:!!T}),b.jsx("textarea",{ref:x,value:l,tabIndex:S?0:-1,onChange:ae=>{c(ae.target.value),G()},onKeyDown:ae=>{ae.key==="Enter"&&!ae.shiftKey&&(ae.preventDefault(),te())},rows:1,"aria-label":"Ask Lovable to build",className:"relative w-full resize-none bg-transparent text-lg leading-relaxed text-(--paper) outline-none min-h-[28px] max-h-[240px] overflow-y-auto sm:text-xl"})]}),b.jsxs("div",{className:"mt-6 flex items-center justify-between",children:[b.jsx(sa.span,{"aria-hidden":"true",initial:{rotate:45},animate:{rotate:S?0:45},transition:Sw,className:"flex h-9 w-9 items-center justify-center text-(--paper)",children:b.jsx(Aw,{className:"h-[22px] w-[22px]"})}),b.jsxs("div",{className:"flex items-center gap-3",children:[b.jsx(WL,{mode:u,onChange:d,variant:"dark",tabIndex:S?0:-1}),b.jsx(sa.button,{type:"button","aria-label":"Send to Lovable",tabIndex:S?0:-1,onClick:ae=>{ae.stopPropagation(),te()},disabled:!l.trim(),initial:{rotate:-45},animate:{rotate:S?0:-45},transition:Sw,className:"flex h-11 w-11 items-center justify-center rounded-full bg-(--paper) text-(--ink) transition-opacity hover:opacity-90 disabled:opacity-40",children:b.jsx(U3,{size:20,strokeWidth:2.5})})]})]})]}),b.jsxs(sa.button,{ref:_,type:"button","aria-hidden":S,tabIndex:S?-1:0,onClick:()=>t(!0),animate:{opacity:S?0:1,y:S?16:0},transition:_w,className:Ss("flex items-center gap-2 whitespace-nowrap px-8 py-3.5 text-base md:text-lg font-medium",re(!S)),children:["Build with",b.jsx(Aw,{className:"h-[16px] w-[16px]"}),"Lovable"]})]})})]})}function Aw({className:e}){return b.jsx("svg",{viewBox:"0 0 52 52",fill:"currentColor","aria-hidden":"true",className:e,children:b.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6 0c8.6 0 15.6 6.9 15.6 15.4v5.8h5.2c8.6 0 15.6 7 15.6 15.4S45 52 36.4 52H0V15.4C0 6.9 7 0 15.6 0"})})}function Ew(){return 50+Math.floor(Math.random()*41)}function nz({reduceMotion:e}){const[t,a]=U.useState(e?lh.length:0);return U.useEffect(()=>{if(e)return;a(0);let o=0,l;const c=()=>{o+=1,a(o),o<lh.length?l=setTimeout(c,Ew()):l=setTimeout(()=>{o=0,a(0),l=setTimeout(c,Ew())},1800)};return l=setTimeout(c,400),()=>clearTimeout(l)},[e]),b.jsxs("span",{className:"pointer-events-none absolute left-0 top-0 text-lg leading-relaxed text-(--paper)/55 sm:text-xl",children:[lh.slice(0,t),!e&&b.jsx(sa.span,{"aria-hidden":"true",className:"ml-px inline-block w-px align-middle text-(--paper)/70",animate:{opacity:[1,1,0,0]},transition:{duration:1,repeat:1/0,ease:"linear"},children:"|"})]})}const sz=.3;function az(){const e=GM({select:a=>a.matches[a.matches.length-1]?.pathname??a.location.pathname}),t=Fm();return b.jsx(sa.div,{initial:t?!1:{opacity:0},animate:{opacity:1},transition:{duration:sz,ease:"easeOut"},children:b.jsx(Qx,{})},e)}function iz(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}const oz=e=>{switch(e){case"success":return cz;case"info":return fz;case"warning":return uz;case"error":return dz;default:return null}},rz=Array(12).fill(0),lz=({visible:e,className:t})=>se.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},se.createElement("div",{className:"sonner-spinner"},rz.map((a,o)=>se.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),cz=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),uz=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),fz=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),dz=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},se.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),hz=se.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},se.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),se.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),mz=()=>{const[e,t]=se.useState(document.hidden);return se.useEffect(()=>{const a=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),e};let Qh=1;class pz{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const a=this.subscribers.indexOf(t);this.subscribers.splice(a,1)}),this.publish=t=>
vendor: 3,617 bytes, line 148
148{this.subscribers.forEach(a=>a(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var a;const{message:o,...l}=t,c=typeof t?.id=="number"||((a=t.id)==null?void 0:a.length)>0?t.id:Qh++,u=this.toasts.find(p=>p.id===c),d=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(c)&&this.dismissedToasts.delete(c),u?this.toasts=this.toasts.map(p=>p.id===c?(this.publish({...p,...t,id:c,title:o}),{...p,...t,id:c,dismissible:d,title:o}):p):this.addToast({title:o,...l,dismissible:d,id:c}),c},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:t,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(o=>o({id:a.id,dismiss:!0}))}),t),this.message=(t,a)=>this.create({...a,message:t}),this.error=(t,a)=>this.create({...a,message:t,type:"error"}),this.success=(t,a)=>this.create({...a,type:"success",message:t}),this.info=(t,a)=>this.create({...a,type:"info",message:t}),this.warning=(t,a)=>this.create({...a,type:"warning",message:t}),this.loading=(t,a)=>this.create({...a,type:"loading",message:t}),this.promise=(t,a)=>{if(!a)return;let o;a.loading!==void 0&&(o=this.create({...a,promise:t,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const l=Promise.resolve(t instanceof Function?t():t);let c=o!==void 0,u;const d=l.then(async g=>{if(u=["resolve",g],se.isValidElement(g))c=!1,this.create({id:o,type:"default",message:g});else if(yz(g)&&!g.ok){c=!1;const m=typeof a.error=="function"?await a.error(`HTTP error! status: ${g.status}`):a.error,w=typeof a.description=="function"?await a.description(`HTTP error! status: ${g.status}`):a.description,_=typeof m=="object"&&!se.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:w,..._})}else if(g instanceof Error){c=!1;const m=typeof a.error=="function"?await a.error(g):a.error,w=typeof a.description=="function"?await a.description(g):a.description,_=typeof m=="object"&&!se.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:w,..._})}else if(a.success!==void 0){c=!1;const m=typeof a.success=="function"?await a.success(g):a.success,w=typeof a.description=="function"?await a.description(g):a.description,_=typeof m=="object"&&!se.isValidElement(m)?m:{message:m};this.create({id:o,type:"success",description:w,..._})}}).catch(async g=>{if(u=["reject",g],a.error!==void 0){c=!1;const y=typeof a.error=="function"?await a.error(g):a.error,m=typeof a.description=="function"?await a.description(g):a.description,x=typeof y=="object"&&!se.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:m,...x})}}).finally(()=>{c&&(this.dismiss(o),o=void 0),a.finally==null||a.finally.call(a)}),p=()=>new Promise((g,y)=>d.then(()=>u[0]==="reject"?y(u[1]):g(u[1])).catch(y));return typeof o!="string"&&typeof o!="number"?{unwrap:p}:Object.assign(o,{unwrap:p})},this.custom=(t,a)=>{const o=a?.id||Qh++;return this.create({jsx:t(o),id:o,...a}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Jt=new pz,gz=(e,t)=>{const a=t?.id||Qh++;return Jt.addToast({title:e,...t,id:a}),a},yz=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",vz=gz,bz=()=>Jt.toasts,wz=()=>Jt.getActiveToasts(),PN=Object.assign(vz,{success:Jt.success,info:Jt.info,warning:Jt.warning,error:Jt.error,custom:Jt.custom,message:Jt.message,promise:Jt.promise,dismiss:Jt.dismiss,loading:Jt.loading},{getHistory:bz,getToasts:wz});iz
vendor: 14,873 bytes, line 148
148("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
148yc(e){return e.label!==void 0}const xz=3,Sz="24px",_z="16px",Rw=4e3,Tz=356,Az=14,Ez=45,Rz=200;function Gn(...e){return e.filter(Boolean).join(" ")}function Cz(e){const[t,a]=e.split("-"),o=[];return t&&o.push(t),a&&o.push(a),o}const Mz=e=>{var t,a,o,l,c,u,d,p,g;
vendor: 17,056 bytes, line 148
148const{invert:y,toast:m,unstyled:w,interacting:x,setHeights:_,visibleToasts:E,heights:T,index:S,toasts:R,expanded:O,removeToast:k,defaultRichColors:q,closeButton:F,style:B,cancelButtonStyle:j,actionButtonStyle:G,className:Z="",descriptionClassName:te="",duration:oe,position:re,gap:ae,expandByDefault:le,classNames:L,icons:H,closeButtonAriaLabel:ee="Close toast"}=e,[ce,J]=se.useState(null),[M,Y]=se.useState(null),[K,ne]=se.useState(!1),[$,ie]=se.useState(!1),[ve,ge]=se.useState(!1),[pe,Je]=se.useState(!1),[Qe,De]=se.useState(!1),[Ot,Ke]=se.useState(0),[Jn,hn]=se.useState(0),Dt=se.useRef(m.duration||oe||Rw),mn=se.useRef(null),At=se.useRef(null),sn=S===0,ba=S+1<=E,vt=m.type,Pn=m.dismissible!==!1,bt=m.className||"",Pe=m.descriptionClassName||"",et=se.useMemo(()=>T.findIndex(we=>we.toastId===m.id)||0,[T,m.id]),pn=se.useMemo(()=>{var we;return(we=m.closeButton)!=null?we:F},[m.closeButton,F]),$n=se.useMemo(()=>m.duration||oe||Rw,[m.duration,oe]),po=se.useRef(0),es=se.useRef(0),Yr=se.useRef(0),Rs=se.useRef(null),[wa,Nt]=re.split("-"),Mn=se.useMemo(()=>T.reduce((we,Xe,wt)=>wt>=et?we:we+Xe.height,0),[T,et]),Lt=mz(),du=m.invert||y,go=vt==="loading";es.current=se.useMemo(()=>et*ae+Mn,[et,Mn]),se.useEffect(()=>{Dt.current=$n},[$n]),se.useEffect(()=>{ne(!0)},[]),se.useEffect(()=>{const we=At.current;if(we){const Xe=we.getBoundingClientRect().height;return hn(Xe),_(wt=>[{toastId:m.id,height:Xe,position:m.position},...wt]),()=>_(wt=>wt.filter(zt=>zt.toastId!==m.id))}},[_,m.id]),se.useLayoutEffect(()=>{if(!K)return;const we=At.current,Xe=we.style.height;we.style.height="auto";const wt=we.getBoundingClientRect().height;we.style.height=Xe,hn(wt),_(zt=>zt.find($e=>$e.toastId===m.id)?zt.map($e=>$e.toastId===m.id?{...$e,height:wt}:$e):[{toastId:m.id,height:wt,position:m.position},...zt])},[K,m.title,m.description,_,m.id,m.jsx,m.action,m.cancel]);const Un=se.useCallback(()=>{ie(!0),Ke(es.current),_(we=>we.filter(Xe=>Xe.toastId!==m.id)),setTimeout(()=>{k(m)},Rz)},[m,k,_,es]);se.useEffect(()=>{if(m.promise&&vt==="loading"||m.duration===1/0||m.type==="loading")return;let we;return O||x||Lt?(()=>{if(Yr.current<po.current){const zt=new Date().getTime()-po.current;Dt.current=Dt.current-zt}Yr.current=new Date().getTime()})():Dt.current!==1/0&&(po.current=new Date().getTime(),we=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Un()},Dt.current)),()=>clearTimeout(we)},[O,x,m,vt,Lt,Un]),se.useEffect(()=>{m.delete&&(Un(),m.onDismiss==null||m.onDismiss.call(m,m))},[Un,m.delete]);function oi(){var we;if(H?.loading){var Xe;return se.createElement("div",{className:Gn(L?.loader,m==null||(Xe=m.classNames)==null?void 0:Xe.loader,"sonner-loader"),"data-visible":vt==="loading"},H.loading)}return se.createElement(lz,{className:Gn(L?.loader,m==null||(we=m.classNames)==null?void 0:we.loader),visible:vt==="loading"})}const ri=m.icon||H?.[vt]||oz(vt);var xa,Vn;return se.createElement("li",{tabIndex:0,ref:At,className:Gn(Z,bt,L?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,L?.default,L?.[vt],m==null||(a=m.classNames)==null?void 0:a[vt]),"data-sonner-toast":"","data-rich-colors":(xa=m.richColors)!=null?xa:q,"data-styled":!(m.jsx||m.unstyled||w),"data-mounted":K,"data-promise":!!m.promise,"data-swiped":Qe,"data-removed":$,"data-visible":ba,"data-y-position":wa,"data-x-position":Nt,"data-index":S,"data-front":sn,"data-swiping":ve,"data-dismissible":Pn,"data-type":vt,"data-invert":du,"data-swipe-out":pe,"data-swipe-direction":M,"data-expanded":!!(O||le&&K),"data-testid":m.testId,style:{"--index":S,"--toasts-before":S,"--z-index":R.length-S,"--offset":`${$?Ot:es.current}px`,"--initial-height":le?"auto":`${Jn}px`,...B,...m.style},onDragEnd:()=>{ge(!1),J(null),Rs.current=null},onPointerDown:we=>{we.button!==2&&(go||!Pn||(mn.current=new Date,Ke(es.current),we.target.setPointerCapture(we.pointerId),we.target.tagName!=="BUTTON"&&(ge(!0),Rs.current={x:we.clientX,y:we.clientY})))},onPointerUp:()=>{var we,Xe,wt;if(pe||!Pn)return;Rs.current=null;const zt=Number(((we=At.current)==null?void 0:we.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Cs=Number(((Xe=At.current)==null?void 0:Xe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),$e=new Date().getTime()-((wt=mn.current)==null?void 0:wt.getTime()),Ht=ce==="x"?zt:Cs,Sa=Math.abs(Ht)/$e;if(Math.abs(Ht)>=Ez||Sa>.11){Ke(es.current),m.onDismiss==null||m.onDismiss.call(m,m),Y(ce==="x"?zt>0?"right":"left":Cs>0?"down":"up"),Un(),Je(!0);return}else{var qt,Ft;(qt=At.current)==null||qt.style.setProperty("--swipe-amount-x","0px"),(Ft=At.current)==null||Ft.style.setProperty("--swipe-amount-y","0px")}De(!1),ge(!1),J(null)},onPointerMove:we=>{var Xe,wt,zt;if(!Rs.current||!Pn||((Xe=window.getSelection())==null?void 0:Xe.toString().length)>0)return;const $e=we.clientY-Rs.current.y,Ht=we.clientX-Rs.current.x;var Sa;const qt=(Sa=e.swipeDirections)!=null?Sa:Cz(re);!ce&&(Math.abs(Ht)>1||Math.abs($e)>1)&&J(Math.abs(Ht)>Math.abs($e)?"x":"y");let Ft={x:0,y:0};const li=jn=>1/(1.5+Math.abs(jn)/20);if(ce==="y"){if(qt.includes("top")||qt.includes("bottom"))if(qt.includes("top")&&$e<0||qt.includes("bottom")&&$e>0)Ft.y=$e;else{const jn=$e*li($e);Ft.y=Math.abs(jn)<Math.abs($e)?jn:$e}}else if(ce==="x"&&(qt.includes("left")||qt.includes("right")))if(qt.includes("left")&&Ht<0||qt.includes("right")&&Ht>0)Ft.x=Ht;else{const jn=Ht*li(Ht);Ft.x=Math.abs(jn)<Math.abs(Ht)?jn:Ht}(Math.abs(Ft.x)>0||Math.abs(Ft.y)>0)&&De(!0),(wt=At.current)==null||wt.style.setProperty("--swipe-amount-x",`${Ft.x}px`),(zt=At.current)==null||zt.style.setProperty("--swipe-amount-y",`${Ft.y}px`)}},pn&&!m.jsx&&vt!=="loading"?se.createElement("button",{"aria-label":ee,"data-disabled":go,"data-close-button":!0,onClick:go||!Pn?()=>{}:()=>{Un(),m.onDismiss==null||m.onDismiss.call(m,m)},className:Gn(L?.closeButton,m==null||(o=m.classNames)==null?void 0:o.closeButton)},(Vn=H?.close)!=null?Vn:hz):null,(vt||m.icon||m.promise)&&m.icon!==null&&(H?.[vt]!==null||m.icon)?se.createElement("div",{"data-icon":"",className:Gn(L?.icon,m==null||(l=m.classNames)==null?void 0:l.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||oi():null,m.type!=="loading"?ri:null):null,se.createElement("div",{"data-content":"",className:Gn(L?.content,m==null||(c=m.classNames)==null?void 0:c.content)},se.createElement("div",{"data-title":"",className:Gn(L?.title,m==null||(u=m.classNames)==null?void 0:u.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?se.createElement("div",{"data-description":"",className:Gn(te,Pe,L?.description,m==null||(d=m.classNames)==null?void 0:d.description)},typeof m.description=="function"?m.description():m.description):null),se.isValidElement(m.cancel)?m.cancel:m.cancel&&yc(m.cancel)?se.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||j,onClick:we=>{yc(m.cancel)&&Pn&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,we),Un())},className:Gn(L?.cancelButton,m==null||(p=m.classNames)==null?void 0:p.cancelButton)},m.cancel.label):null,se.isValidElement(m.action)?m.action:m.action&&yc(m.action)?se.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||G,onClick:we=>{yc(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,we),!we.defaultPrevented&&Un())},className:Gn(L?.actionButton,m==null||(g=m.classNames)==null?void 0:g.actionButton)},m.action.label):null)};function Cw(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function jz(e,t){const a={};return[e,t].forEach((o,l)=>{const c=l===1,u=c?"--mobile-offset":"--offset",d=c?_z:Sz;function p(g){["top","right","bottom","left"].forEach(y=>{a[`${u}-${y}`]=typeof g=="number"?`${g}px`:g})}typeof o=="number"||typeof o=="string"?p(o):typeof o=="object"?["top","right","bottom","left"].forEach(g=>{o[g]===void 0?a[`${u}-${g}`]=d:a[`${u}-${g}`]=typeof o[g]=="number"?`${o[g]}px`:o[g]}):p(d)}),a}const kz=se.forwardRef(function(t,a){const{id:o,invert:l,position:c="bottom-right",hotkey:u=["altKey","KeyT"],expand:d,closeButton:p,className:g,offset:y,mobileOffset:m,theme:w="light",richColors:x,duration:_,style:E,visibleToasts:T=xz,toastOptions:S,dir:R=Cw(),gap:O=Az,icons:k,containerAriaLabel:q="Notifications"}=t,[F,B]=se.useState([]),j=se.useMemo(()=>o?F.filter(K=>K.toasterId===o):F.filter(K=>!K.toasterId),[F,o]),G=se.useMemo(()=>Array.from(new Set([c].concat(j.filter(K=>K.position).map(K=>K.position)))),[j,c]),[Z,te]=se.useState([]),[oe,re]=se.useState(!1),[ae,le]=se.useState(!1),[L,H]=se.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ee=se.useRef(null),ce=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),J=se.useRef(null),M=se.useRef(!1),Y=se.useCallback(K=>{B(ne=>{var $;return($=ne.find(ie=>ie.id===K.id))!=null&&$.delete||Jt.dismiss(K.id),ne.filter(({id:ie})=>ie!==K.id)})},[]);return se.useEffect(()=>Jt.subscribe(K=>{if(K.dismiss){requestAnimationFrame(()=>{B(ne=>ne.map($=>$.id===K.id?{...$,delete:!0}:$))});return}setTimeout(()=>{pM.flushSync(()=>{B(ne=>{const $=ne.findIndex(ie=>ie.id===K.id);return $!==-1?[...ne.slice(0,$),{...ne[$],...K},...ne.slice($+1)]:[K,...ne]})})})}),[F]),se.useEffect(()=>{if(w!=="system"){H(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;const K=window.matchMedia("(prefers-color-scheme: dark)");try{K.addEventListener("change",({matches:ne})=>{H(ne?"dark":"light")})}catch{K.addListener(({matches:$})=>{try{H($?"dark":"light")}catch(ie){console.error(ie)}})}},[w]),se.useEffect(()=>{F.length<=1&&re(!1)},[F]),se.useEffect(()=>{const K=ne=>{var $;if(u.every(ge=>ne[ge]||ne.code===ge)){var ve;re(!0),(ve=ee.current)==null||ve.focus()}ne.code==="Escape"&&(document.activeElement===ee.current||($=ee.current)!=null&&$.contains(document.activeElement))&&re(!1)};return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[u]),se.useEffect(()=>{if(ee.current)return()=>{J.current&&(J.current.focus({preventScroll:!0}),J.current=null,M.current=!1)}},[ee.current]),se.createElement("section",{ref:a,"aria-label":`${q} ${ce}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},G.map((K,ne)=>{var $;const[ie,ve]=K.split("-");return j.length?se.createElement("ol",{key:K,dir:R==="auto"?Cw():R,tabIndex:-1,ref:ee,className:g,"data-sonner-toaster":!0,"data-sonner-theme":L,"data-y-position":ie,"data-x-position":ve,style:{"--front-toast-height":`${(($=Z[0])==null?void 0:$.height)||0}px`,"--width":`${Tz}px`,"--gap":`${O}px`,...E,...jz(y,m)},onBlur:ge=>{M.current&&!ge.currentTarget.contains(ge.relatedTarget)&&(M.current=!1,J.current&&(J.current.focus({preventScroll:!0}),J.current=null))},onFocus:ge=>{ge.target instanceof HTMLElement&&ge.target.dataset.dismissible==="false"||M.current||(M.current=!0,J.current=ge.relatedTarget)},onMouseEnter:()=>re(!0),onMouseMove:()=>re(!0),onMouseLeave:()=>{ae||re(!1)},onDragEnd:()=>re(!1),onPointerDown:ge=>{ge.target instanceof HTMLElement&&ge.target.dataset.dismissible==="false"||le(!0)},onPointerUp:()=>le(!1)},j.filter(ge=>!ge.position&&ne===0||ge.position===K).map((ge,pe)=>{var Je,Qe;return se.createElement(Mz,{key:ge.id,icons:k,index:pe,toast:ge,defaultRichColors:x,duration:(Je=S?.duration)!=null?Je:_,className:S?.className,descriptionClassName:S?.descriptionClassName,invert:l,visibleToasts:T,closeButton:(Qe=S?.closeButton)!=null?Qe:p,interacting:ae,position:K,style:S?.style,unstyled:S?.unstyled,classNames:S?.classNames,cancelButtonStyle:S?.cancelButtonStyle,actionButtonStyle:S?.actionButtonStyle,closeButtonAriaLabel:S?.closeButtonAriaLabel,removeToast:Y,toasts:j.filter(De=>De.position==ge.position),heights:Z.filter(De=>De.position==ge.position),setHeights:te,expandByDefault:d,gap:O,expanded:oe,swipeDirections:t.swipeDirections})})):null}))}),Oz=({...e})=>b.jsx(kz,{className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e});function Dz(){return b.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:b.jsxs("div",{className:"max-w-md text-center",children:[b.jsx("h1",{className:"text-7xl font-bold text-foreground",children:"404"}),b.jsx("h2",{className:"mt-4 text-xl font-semibold text-foreground",children:"Page not found"}),b.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"The page you're looking for doesn't exist or has been moved."}),b.jsx("div",{className:"mt-6",children:b.jsx(lm,{to:"/",className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Go home"})})]})})}function Lz({error:e,reset:t}){const a=Tt();return U.useEffect(()=>{O3(e,{boundary:"tanstack_root_error_component"})},[e]),b.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:b.jsxs("div",{className:"max-w-md text-center",children:[b.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground",children:"This page didn't load"}),b.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Something went wrong on our end. You can try refreshing or head back home."}),b.jsxs("div",{className:"mt-6 flex flex-wrap justify-center gap-2",children:[b.jsx("button",{onClick:()=>{a.invalidate(),t()},className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90",children:"Try again"}),b.jsx("a",{href:"/",className:"inline-flex items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-accent",children:"Go home"})]})]})})}const mo=RM()({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{title:"Founder Stories | Lovable"},{name:"description",content:"Editorial founder stories about builders using Lovable to launch companies."},{name:"author",content:"Lovable"},{property:"og:title",content:"Founder Stories | Lovable"},{property:"og:description",content:"Editorial founder stories about builders using Lovable to launch companies."},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:site",content:"@Lovable"}],links:[{rel:"icon",href:j3,type:"image/svg+xml"},{rel:"stylesheet",href:k3}]}),shellComponent:zz,component:Bz,notFoundComponent:Dz,errorComponent:Lz});function zz({children:e}){return b.jsxs("html",{lang:"en",children:[b.jsx("head",{children:b.jsx(XM,{})}),b.jsxs("body",{className:"overflow-x-hidden w-screen",children:[e,b.jsx(tz,{}),b.jsx(Oz,{}),b.jsx(ZM,{})]})]})}function Bz(){const{queryClient:e}=mo.useRouteContext();return b.jsx(M3,{client:e,children:b.jsx(az,{})})}const Nz="modulepreload",Pz=function(e){return"/"+e},Mw={},Gr=function(t,a,o){let l=Promise.resolve();if(a&&a.length>0){let p=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),d=u?.nonce||u?.getAttribute("nonce");l=p(a.map(g=>{if(g=Pz(g),g in Mw)return;Mw[g]=!0;const y=g.endsWith(".css"),m=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${m}`))return;const w=document.createElement("link");if(w.rel=y?"stylesheet":Nz,y||(w.as="script"),w.crossOrigin="",w.href=g,d&&w.setAttribute("nonce",d),document.head.appendChild(w),y)return new Promise((x,_)=>{w.addEventListener("load",x),w.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${g}`)))})}))}function c(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return l.then(u=>{for(const d of u||[])d.status==="rejected"&&c(d.reason);return t().catch(c)})},Uz=()=>Gr(()=>import("./terms-hRHWqZpR.js"),[]),Vz=au("/terms")({component:jr(Uz,"component")}),Iz=()=>Gr(()=>import("./privacy-CjT1PH5L.js"),[]),Hz=au("/privacy")({component:jr(Iz,"component")}),Kh={},h_=se.createContext(Kh);function dn(e){const t=se.useContext(h_);return se.useMemo(function(){return typeof e=="function"?e(t):{...t,...e}},[t,e])}function UN(e){let t;return e.disableParentContext?t=typeof e.components=="function"?e.components(Kh):e.components||Kh:t=dn(e.components),se.createElement(h_.Provider,{value:t},e.children)}const qz={slug:"isabel-eric-and-andreas",name:"Andreas, Isabel & Eric",foun
148derCount:"plural",companyName:"Klar",companyLogoUrl:"/images/isabel-eric-andreas/logo.svg",mainImageUrl:"/images/new/klar-hero.webp",heroSize:"lg",smallVerticalImageUrl:"/images/new/klar-portrait-1.webp",smallHorizontalImageUrl:"/images/new/klar-hor.webp",shortExcerpt:"University students who built an AI learning system and reached â¬130K ARR in 30 days.",excerpt:"Universities banned AI â these students built an AI learning system anyway, hit â¬130K ARR in one month, then those same schools called for partnerships",quoteImageUrl:"/images/isabel-eric-andreas/quote.webp",quoteBackgroundImageUrl:"/images/new/Klar-quote.webp",quoteName:"Isabel",quote:"Education should be the first frontier for AI, not the last. Our generationâs challenge is to adapt to a future nobody can predict. And the one thing we know is that learning will become the core skill for us to compete with AI.",appLink:"https://klarlabs.ai/",writer:`Andrea Lim 149`,date:"2026-06-01"};function jw(e){const t={em:"em",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...dn(),...e.components},{ArrTimelineBlock:a,FounderQuoteBlock:o,ImageCarouselBlock:l,OpenAppButton:c,OverlappingPhotosBlock:u,StatQuoteBlock:d,VideoBlock:p}=t;return a||qa("ArrTimelineBlock"),o||qa("FounderQuoteBlock"),l||qa("ImageCarouselBlock"),c||qa("OpenAppButton"),u||qa("OverlappingPhotosBlock"),d||qa("StatQuoteBlock"),p||qa("VideoBlock"),b.jsxs(b.Fragment,{children:[b.jsx(t.p,{children:b.jsx(t.strong,{children:"From a very young age, Andreas, Isabel, and Eric were obsessed with becoming entrepreneurs. Each one started building companies on their own, long before they met."})}),` 150`,b.jsx(t.p,{children:"When they ended up at the same university, they bonded over a shared frustration: school wasnât built for how students actually learn. That gap is what they set out to fix together."}),` 151`,b.jsxs(t.p,{children:["They discovered they had all independently built personalized AI study apps to keep up with their coursework. ",b.jsx(t.em,{children:"âThe course material is like a massive data set where you can only see a limited amount of patterns,â"})," says Andreas. ",b.jsx(t.em,{children:"âWhen I threw in AI, I could see so many more connections, and thatâs what let me make it personal.â"})]}),` 152`,b.jsx(o,{}),` 153`,b.jsxs(t.p,{children:["There was so much demand for better AI learning tools â not to cheat but to learn more efficiently. Isabelâs friends begged her to share her makeshift AI study tool, even offering to pay for it. ",b.jsx(t.em,{children:"âThey were more interested in this little side project I had built to help myself study than my actual startup,â"})," she says."]}),` 154`,b.jsx(t.p,{children:"The three of them knew they were onto something. They dropped out, moved into a 25-square-meter apartment (complete with foldable beds), and decided to create an AI system from the ground up to help every human learn faster."}),` 155`,b.jsx(p,{id:"video",src:"/__l5e/assets-v1/1c0bd498-6337-4e08-9f91-0fb042f28790/klar-compressed-2.mp4",aspectRatio:"16:9"}),` 156`,b.jsx(t.h2,{children:"A little coding help let them focus on going viral"}),` 157`,b.jsx(t.p,{children:"There was one small catch: none of them had much programming experience. Isabel had battle scars from her last attempt to build an app. She had hired dozens of developers offshore and spent thousands of dollars building an app that never even met her standards for an MVP."}),` 158`,b.jsxs(t.p,{children:["Andreas, a product designer by training, had been introduced to Lovable earlier that year. ",b.jsx(t.em,{children:"âIâd always been frustrated that I couldnât build what I designed,â"})," says Andreas. ",b.jsx(t.em,{children:"âWhen I realized Lovable could make whatever I wanted, I was like âHoly shit, this is the best thing Iâve ever seen in my life.ââ"})]}),` 159`,b.jsx(u,{wideImage:"/__l5e/assets-v1/2fe33acc-7ffc-432d-baf3-3b2bf98b36aa/klar-stockholm-15.jpg",verticalImage:"/__l5e/assets-v1/bd8f1a07-abf9-453b-9858-4f99f8e95aaa/klar-stockholm-19.jpg"}),` 160`,b.jsxs(t.p,{children:["Over the course of a few weeks, he started describing to Lovable exactly how the team wanted the app to look and work. The result was Tentaklar â ",b.jsx(t.em,{children:"âexam-readyâ"})," in Swedish. Students had always studied past exams to prepare for the next exam. Tentaklar made that process far more efficient by ingesting old exams that were public re
160cord, processing studentsâ lecture notes, and predicting their next exam."]}),` 161`,b.jsx(t.p,{children:"With Andreas and Lovable handling the product development, Isabel and Eric focused on what they did best: marketing the heck out of Tentaklar."}),` 162`,b.jsx(d,{quote:"The acquisition offer was just another signal weâre onto something great. We donât want to let it go.",value:"â¬130K",image:"/images/new/klar-vert.webp",imageAspect:"1364:1215",label:"ARR in 30 days"}),` 163`,b.jsxs(t.p,{children:["Their promotion plan worked a little too wellâone of their first social media campaigns went viral and got them into hot water. ",b.jsx(t.em,{children:"âThe administration pulled us into a board meeting and told us to stop promoting Tentaklar and encouraging students to use AI,â"})," says Andreas. He tried to explain that the app merely automated and personalized what students were already doing to prepare for exams, but the universities were skeptical."]}),` 164`,b.jsx(t.p,{children:"They couldnât understand why AI was still banned in many universities, even as students were expected to enter an AI-native workforce. They knew they were going against the grain, but that only motivated them more."}),` 165`,b.jsx(t.p,{children:"To the universitiesâ disappointment, Tentaklar went viral on campus. 2,500+ users signed up within two days of the launch, with another 4,000 on the waitlist. By the end of the first month, ARR grew to â¬130K, entirely organically."}),` 166`,b.jsx(u,{wideImage:"/__l5e/assets-v1/3f397f65-2e75-4a0d-a3e5-df95cefca977/klar-sf.jpg",verticalImage:"/__l5e/assets-v1/f63a4135-8aa4-4e61-8e90-41ed2d032616/klar-team-mvp.jpg"}),` 167`,b.jsxs(t.p,{children:["A few months later, Andreas, Isabel, and Eric were invited back to the university boardroom, except this time the university wasnât reprimanding them. ",b.jsx(t.em,{children:"âThe administration realized they have to work with us because so many students were already using it,â"})," says Andreas. ",b.jsx(t.em,{children:"âAnd now they understand what weâre trying to do.â"})]}),` 168`,b.jsx(t.h2,{children:"A personalized tutor for every student"}),` 169`,b.jsx(t.p,{children:"Tentaklar has since evolved into Klar, an AI agent thatâs changing the way humans learn. Klar pulls from hundreds of thousands of courses across every university in Swede
169n â and if a course isnât listed, students can build their own workspace and upload whatever they have: lecture notes, old exams, reading lists and more."}),` 170`,b.jsx(l,{items:[{id:"1",url:"/__l5e/assets-v1/a5b583a6-b830-4bff-a398-a58bc5bba7c6/klar-clean-1.png",title:"You donât need a complicated prompt, just say, âHi.â",description:" ",aspectRatio:"4:3"},{id:"2",url:"/__l5e/assets-v1/2f279f38-a898-426f-a9a2-b2f81efe037e/klar-clean-2.png",title:"Connected to frontier models like GPT, Claude, and Gemini",description:" ",aspectRatio:"4:3"},{id:"3",url:"/__l5e/assets-v1/e6ef0be9-ac7e-4d6e-9cf2-04635bfd5f13/klar-clean-3.png",title:"Build your own workspace",description:" ",aspectRatio:"4:3"},{id:"4",url:"/__l5e/assets-v1/aee7f3d2-7032-4893-b574-40359b8d628d/klar-clean-4.png",title:"Upload lecture notes, old exams, and reading lists",description:" ",aspectRatio:"4:3"}]}),` 171`,b.jsxs(t.ul,{children:[` 172`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Personalized learning tools:"})," Klar doesnât just answer questions, it generates practice exams, flashcards, podcasts, and other learning tools directly in the chat, adapted to the course material and how each student learns."]}),` 173`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Proactive AI agent:"})," You donât need to know where to start. Klarâs agent asks questions and guides the learning path based on the course material. No complicated prompts needed. The first message can be as simple as saying, âHi.â"]}),` 174`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Trustworthy and secure:"})," Klar cites its sources and links to exact passages. Itâs connected to frontier models like GPT, Claude, and Gemini but it never pulls from the internet or hallucinates. It is GDPR compliant, EU-hosted, and end-to-end encrypted."]}),` 175`]}),` 176`,b.jsx(a,{progress:1,milestones:[{date:"02/26",label:"Launch"},{date:"03/26",label:"â¬130K ARR"},{date:"05/26",label:"University partnerships"},{date:"06/26",label:"Offered exit"}]}),` 177`,b.jsxs(t.p,{children:["Klar has become the teacher that every student wishes they had. ",b.jsx(t.em,{children:"âLearning right now is one-size-fits-all,â"})," says Eric. ",b.jsx(t.em,{children:"âWhen youâre at a lecture, the professor explains everything in one way.â"})," In contrast, Klar tailors its approach to each student. ",b.jsx(t.em,{children:"âWhether youâre a visual, auditory, or some other kind of learner, the agent will figure out the best method for you to understand a concept.â"})]}),` 178`,b.jsxs(t.p,{children:["Business is booming faster than the team can handle. They have a long-term partnership in the works, worth up to â¬128K. Twenty hours later, an even bigger partnership opportunity came their way, worth up to â¬649K. Theyâve also announced a partnership with the Swedish business student association, worth up to â¬7.5M ARR. Theyâve even been offered an exit, but they turned it down. ",b.jsx(t.em,{children:"âThe acquisition offer was just another signal weâre onto something great,â"})," says Isabel. ",b.jsx(t.em,{children:"âWe donât want to let it go.â"})]}),` 179`,b.jsx(t.h2,{children:"From Sweden to every campus"}),` 180`,b.jsx(t.p,{children:"Isabel, Andreas, and Eric arenât sitting in lecture halls anymore. Instead, theyâre on the road promoting Klar at universities across Sweden, with expansion to US campuses already in motion."}),` 181`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âEducation should be the first frontier for AI, not the last,â"})," says Isabel. ",b.jsx(t.em,{children:"âOur generationâs challenge is to adapt to a future nobody can predict. And the one thing we know is that learning will become the core skill for us to compete with AI.â"})]}),` 182`,b.jsx(c,{}),` 183`,b.jsxs(t.p,{children:["In their usual fashion, Andreas finishes her thought: ",b.jsx(t.em,{children:"âI want to give every thinker, builder, and visionary the tools they need to learn, not to replace their mind, but to set it on fire. I think thatâs the biggest hope for humanity. If we donât do that, we will lose humanity.â"})]}),` 184`,b.jsxs(t.p,{children:["The team is still bootstrapped and struggling to keep up with demand, so theyâve launched an ambassador program to expand their reach. ",b.jsx(t.em,{children:"âWeâre trying to figure out how to be in five places at the same time,â"})," says Isabel. Itâs a daunting journey, but the team is excited to expand beyond Sweden and close more long-term partnerships."]}),` 185`,b.jsxs(t.p,{children:["Most of all, theyâre grateful to have each other. ",b.jsx(t.em,{children:"âItâs amazing to see how we complement each other but also share the same mindset,â"})," says Isabel. ",b.jsx(t.em,{children:"âIt feels like weâre unstoppable.â"})]})]})}function Fz(e={}){const{wrapper:t}={...dn(),...e.components};return t?b.jsx(t,{...e,children:b.jsx(jw,{...e})}):jw(e)}function qa(e,t){throw new Error("Expected component `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}const Gz=Object.freeze(Object.defineProperty({__proto__:null,default:Fz,frontmatter:qz},Symbol.toStringTag,{value:"Module"})),Yz={slug:"jaleel-and-hussein",name:"Jaleel, Hussein, Morten & Zanyar",founderCount:"plural",companyName:"QuickTables",companyLogoUrl:"/images/jaleel-and-hussein/logo.png",mainImageUrl:"/images/new/Quicktables-hero.webp",heroSize:"lg",shortExcerpt:"They built a restaurant management platform in 60 days, hit â¬100K ARR in two months and got acquired.",smallHorizontalImageUrl:"/images/new/Quicktables-hor.webp",smallVerticalImageUrl:"/images/new/Quicktables-portrait-1.webp",excerpt:"How QuickTables gives mom-and-pop restaurants a fighting chance against big chains",quoteName:"Jaleel",quoteBackgroun
185dImageUrl:"/images/new/Quicktables-quote.webp",quote:"Most of the time, the biggest chains don't have the best food. They just have better marketing. We want to give every restaurant the same tool stack as McDonald's or Max so they can compete on even terms.",appLink:"https://quicktables.site/",writer:`Andrea Lim 186`,date:"2026-06-01"};function kw(e){const t={em:"em",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...dn(),...e.components},{ArrTimelineBlock:a,FounderQuoteBlock:o,ImageCarouselBlock:l,OpenAppButton:c,StatQuoteBlock:u,VideoBlock:d}=t;return a||Ki("ArrTimelineBlock"),o||Ki("FounderQuoteBlock"),l||Ki("ImageCarouselBlock"),c||Ki("OpenAppButton"),u||Ki("StatQuoteBlock"),d||Ki("VideoBlock"),b.jsxs(b.Fragment,{children:[b.jsxs(t.p,{children:["Jaleel's childhood didn't lend itself to entrepreneurship. He grew up in GamlegÃ¥rden, one of the poorest areas in Sweden. ",b.jsx(t.em,{children:`"I wasn't surrounded by startups or investors. But I've always been an entrepreneurial person,"`})," says Jaleel. As a kid, he sold pencils to forgetful students during national exams. Years later, bored out of his mind in a sales job, that same instinct kicked in. He noticed that his co-workers didn't know where to eat lunch, so he went down to the restaurants below his office and told them they should market themselves better. They wanted to, they said, but they didn't know how."]}),` 187`,b.jsx(o,{}),` 188`,b.jsx(t.h2,{children:"Lunchtime conversations turned into a business opportunity"}),` 189`,b.jsxs(t.p,{children:["At first, Jaleel started helping the neighborhood restaurantsâBrödernas, a local hamburger chain, and Noi's, a family-run pizza shopâwith SMS marketing. But once he got to know their businesses better, the floodgates opened: ",b.jsx(t.em,{children:'"My customers told me over and over again how delivery companies like Foodora and Uber Eats were really milking them, taking 30-40% of their profits, which forced them to mark up prices."'})," Many restaurants couldn't find reliable ways to build websites, either paying developers way too much or asking family members to cobble together basic Wix and WordPress sites, with no backup plan if something broke. Here was this massive gap in the market, and as far as Jaleel knew, no one was filling it."]}),` 190`,b.jsx(d,{id:"video",src:"/__l5e/assets-v1/879f80f9-29fd-44fb-881d-084ecaa690a9/quicktables.mp4",aspectRatio:"16:9"}),` 191`,b.jsxs(t.p,{children:["One day, his boss reprimanded him for spending too much time on his lunch break talking to the restaurants. For Jaleel, this was the nudge he needed. ",b.jsx(t.em,{children:'"The opportunities I was seeing downstairs were way more exciting than what I was doing upstairs."'})," So he quit his job, and his idea grew from SMS marketing and websites into a platform that could run a restaurant's entire marketing operations."]}),` 192`,b.jsx(t.h2,{children:"The 60-day challenge"}),` 193`,b.jsx(t.p,{children:"Jaleel didn't have a safety net. He had just 60 days to turn a profit, or he couldn't pay rent. That deadline motivated him to move fast when others would have wasted weeks doubting themselves."}),` 194`,b.jsxs(t.p,{children:["Jaleel was confident in his salesmanship but needed
194someone with coding experience. ",b.jsx(t.em,{children:'"We had worked on a prior app together,"'})," says Jaleel. ",b.jsx(t.em,{children:'"I saw Hussein spend countless nights toiling away at block coding. So I knew he was the right guy for the job."'})]}),` 195`,b.jsxs(t.p,{children:["Hussein told him his idea was possible, but it would cost $500K to build it. So Jaleel walked into his local startup accelerator and asked them how to raise that kind of capital. They paired him with a mentor investor who changed everything: ",b.jsx(t.em,{children:`"He told me, 'I don't think you need $500K. There's this tool called Lovable. Try it before you raise a round.'"`})]}),` 196`,b.jsx(a,{progress:1,milestones:[{date:"06/25",label:"Quits job"},{date:"08/25",label:"Launches QuickTables"},{date:"10/25",label:"â¬100K ARR"},{date:"06/26",label:"Acquired"}]}),` 197`,b.jsxs(t.p,{children:["That night, Jaleel opened up Lovable and asked it to make a hamburger restaurant website. Within a few minutes, there it was in front of him. ",b.jsx(t.em,{children:'"I told Hussein, screw the investment, we can build our startup with Lovable,"'})," says Jaleel. ",b.jsx(t.em,{children:'"In that second, I felt infinite possibilities. It was like me and Hussein had found a magic artifact to outcompete the market."'})]}),` 198`,b.jsxs(t.p,{children:["Hussein was shocked by how fast he could build out different features: ",b.jsx(t.em,{children:`"I'd always been the coder, but now I could think like a team leader,"`})," says Hussein. ",b.jsx(t.em,{children:'"Lovable was like a team of developers I managed."'})," Within six weeks, they built QuickTables, though the only reason it took that long was because the current Stripe and Lovable Cloud connectors didn't exist yet. Recently, Jaleel asked a hiring candidate to rebuild the first version of QuickTables during an interview. The candidate built it in one day."]}),` 199`,b.jsx(t.h2,{children:"A big chain marketing stack for every local restaurant"}),` 200`,b.jsx(t.p,{children:"Today, QuickTables has grown from a simple SMS marketing tool to an end-to-end restaurant management platform, including:"}),` 201`,b.jsx(l,{items:[{id:"1",url:"/images/jaleel-and-hussein/app-orders.png",title:"Manage online orders directly",description:"",aspectRatio:"2:1"},{id:"2",url:"/images/jaleel-and-hussein/app-menu.png",title:"Quickly launch an online menu and ordering",description:"",aspectRatio:"2:1"}]}),` 202`,b.jsxs(t.ul,{children:[` 203`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Website builder:"})," A beautiful website, ready in under an hour. QuickTables handles the design, the mobile optimization, and the search ranking so restaurants show up at the top of Google and take orders directly â no intermediaries taking 30-40% off the top."]}),` 204`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Online booking and takeaway:"})," Bookings and takeaway orders go directly to staff, not a third-party platform. Built-in offers raise how much customers spend per order, and restaurants keep up to $33 a month they'd otherwise pay in fees."]}),` 205`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"SMS and email marketing:"})," Built-in SMS and email campaigns let restaurant owners reach out directly to customers to fill empty tables, adding up to $400 a month in revenue for the average QuickTables restaurant."]}),` 206`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Loyalty program:"})," QuickTables comes with a built-in points system so customers earn in-app rewards on every order and keep coming back."]}),` 207`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"App and mobile experience:"})," Every restaurant gets its own branded app so push notifications, loyalty rewards, and campaigns land directly in customers' pockets."]}),` 208`]}),` 209`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:`"Most of the time, the biggest chains don't have the best food. They just have better marketing,"`})," Jaleel says. ",b.jsx(t.em,{children:`"We want to give every restaurant the same tool stack as McDonald's or Max so they can compete on even terms."`})]}),` 210`,b.jsx(c,{}),` 211`,b.jsx(t.h2,{children:"Scaling the team and the business"}),` 212`,b.jsx(t.p,{children:`To round out the team, they added two more co-founders: Jaleel's childhood friend Morten, who took over customer research and expansion into Oslo, so Jaleel could focus on selling in Swede
212n, and Zanyar, a "genius" who watches the broader market and steers the company's long-term future.`}),` 213`,b.jsxs(t.p,{children:["Together, they drove â¬100K ARR in just two months after launch. To date, they've handled 80K transactions across Sweden, Norway, Denmark, the UAE, and the UK, and the team has grown to 15 people. The coolest part? ",b.jsx(t.em,{children:'"There have been no manual lines of code written whatsoever,"'})," says Hussein. ",b.jsx(t.em,{children:`"It's all 100% Lovable."`})]}),` 214`,b.jsxs(t.p,{children:["Over time, the team collected valuable customer data from the heatmaps they built and clickthrough rates. And the brand itself was becoming a well-known name across the restaurant industry. Just 10 months in, QuickTables was acquired by a Dutch asset manager. ",b.jsx(t.em,{children:'"Our goal was to grow our local restaurants, but our acquirer wanted to grow the food market within all of Sweden. It was a clear alignment as soon as we heard that."'})]}),` 215`,b.jsx(u,{name:"Jaleel",quote:"My story is the everyman's story. You don't even have to invent a problem. Just look around, see what people are struggling with. Then tell them, let's solve it together.",value:"â¬100K",label:"ARR in two months",image:"/images/new/Quicktables-portrait-1.webp"}),` 216`,b.jsx(t.h2,{children:"From QuickTables to QuickSolutions"}),` 217`,b.jsxs(t.p,{children:["Looking back, Jaleel can't believe how quickly he's ended up where he always wanted to be: a founder. ",b.jsx(t.em,{children:'"I feel like I manifested a company out of nothing and made a livelihood for myself, the team, and the local economy."'})," Now, all he thinks about is how to do it all over again. ",b.jsx(t.em,{children:`"We built QuickTables, and now we want to build 'QuickSolutions'âten more problems, ten more companies."`})]}),` 218`,b.jsxs(t.p,{children:["With the acquisition just a few months behind them, the team is already focused on solving the next problem: sales training. It's one they experienced firsthand when they needed to grow their team fast and get every rep selling with confidence. They built an internal tool called Closer to help sales teams train and get coached by AI. ",b.jsx(t.em,{children:'"When we were selling QuickTables, we had our reps practice against AI before real calls to sharpen their skills,"'})," says Jaleel. ",b.jsx(t.em,{children:`"It helped more than we expected. Now we're bringing it to other businesses, so every salesperson can start selling like their best rep."`})]}),` 219`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:`"My story is the everyman's story,"`})," Jaleel says. ",b.jsx(t.em,{children:`"Move to a new city, find a problem to solve, and start selling. You don't even have to invent a problem. Just look around, see what people are struggling with. Then tell them, let's solve it together. Let's go on this great journey."`})]})]})}function Qz(e={}){const{wrapper:t}={...dn(),...e.components};return t?b.jsx(t,{...e,children:b.jsx(kw,{...e})}):kw(e)}function Ki(e,t){throw new Error("Expected component `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}const Kz=Object.freeze(Object.defineProperty({__proto__:null,default:Qz,frontmatter:Yz},Symbol.toStringTag,{value:"Module"})),Xz={slug:"lex",name:"Lex Deak",founderCount:"singular",companyName:"WNTD",companyLogoUrl:"/images/lex/logo.png",mainImageUrl:"/images/lex/lex-hero.webp",heroSize:"sm",excerpt:"Lex built a shopping companion that learns your style and turns anything you see into something you can buy",shortExcerpt:"A serial founder who built a fashion AI startup that personalizes shopping and raised £3M to grow it.",smallVerticalImageUrl:"/images/lex/lex-portrait.webp",smallHorizontalImageUrl:"/images/lex/lex-hor.webp",quoteName:"Lex",quote:"It didnât feel like work at all. I was so invigorated by my ability to have an idea and bring it to life I couldnât stop building.",appLink:"https://www.wntd.ai/",quoteBackgroundImageUrl:"/images/lex/lex-quote.webp",writer:`Ellie Stuvland 220`,date:"2026-06-01"};function Ow(e){const t={em:"em",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...dn(),...e.components},{FounderQuoteBlock:a,ImageCarouselBlock:o,OpenAppButton:l,StatQuoteBlock:c,VideoBlock:u}=t;return a||gr("FounderQuoteBlock"),o||gr("ImageCarouselBlock"),l||gr("OpenAppButton"),c||gr("StatQuoteBlock"),u||gr("VideoBlock"),b.jsxs(b.Fragment,{children:[b.jsx(t.p,{children:b.jsx(t.strong,{children:"While his friends were out playing ball, Lex Deak was faxing purchase orders to China. He imported mini disc players and sold them from his childhood bedroom for £500 a piece. Before that, he sold sweets on the playground for extra pocket money. Entrepreneurship wasnât something Lex stumbled into; he inherited it. His mother was widowed young, but picked herself up and started the UKâs first female-only taxi company."})}),` 221`,b.jsx(t.p,{children:b.jsx(t.em,{children:"âI took a lot of inspiration from my mother. She took control over her life by starting her business. Entrepreneurship became our way of thinking as a small family.â"})}),` 222`,b.jsx(t.p,{children:"Lex has built more companies than most people have ideas. Nightclub events. Property businesses. A boutique hotel in Marrakesh. A family social network featured on Dragonâs Den."}),` 223`,b.jsx(a,{}),` 224`,b.jsx(t.h2,{children:"The Frankenstein problem"}),` 225`,b.jsxs(t.p,{children:["But every time, he faced the same frustration. Heâd come up with an idea and then pass it off to engineers, and somewhere in that handoff, the thing would change. ",b.jsx(t.em,{children:"âThe distance between your idea and the realization of it becomes so stretched, you end up with this Frankensteinâs monster of other peopleâs ideas,â"})," says Lex."]}),` 226`,b.jsx(t.p,{children:"He felt this acutely building Basket, a wishlist app that grew to 350K registered users and £5M in funding. People signed up and used the app but it didnât have the features that kept them coming back daily. He knew exactly what the roadmap looked like to make the product more engaging but too much was getting lost in translation. Every quarter the distance between his vision and what the engineering team could ship grew wider."}),` 227`,b.jsx(t.p,{children:"One night, sitting at his kitchen table, he started taking screenshots of the Basket app, page by page. His plan was just to build a prototype with Lovable. Heâd bring it to his team to show them his vision and they could move forward together."}),` 228`,b.jsx(u,{id:"video",src:"/__l5e/assets-v1/e109e88a-261d-4974-b146-8fe1db5aa058/lex-video.mp4",aspectRatio:"16:9"}),` 229`,b.jsx(t.h2,{children:"âItâs not a prototypeâ"}),` 230`,b.jsxs(t.p,{children:["What happened instead was a month of working until two or three in the morning, every night. ",b.jsx(t.em,{children:"âIt didnât feel like work at all. I was so invigorated by my ability to have an idea and bring it to life I couldnât stop building,â"})," he says. One feature led to another: virtual try-on, an AI shopping assistant, price watch. Things heâd assumed would take months of sprint cycles were coming back in hours."]}),` 231`,b.jsxs(t.p,{children:["Lex describes hovering over the enter key after a complex prompt, certain it couldnât possibly return what heâd asked for, pressing it anyway, and getting something better than what heâd written. ",b.jsx(t.em,{children:"âItâs addictive. Your imagination is the only limit. Youâre like â more. Bigger.â"})]}),` 232`,b.jsxs(t.p,{children:["The Basket team started wondering where heâd gone. When he surfaced and showed them what heâd built, the response from the team was: ",b.jsx(t.em,{children:"âNice prototype.â"})," Lex told them it wasnât a prototype, it worked."]}),` 233`,b.jsx(o,{items:[{id:"1",url:"/__l5e/assets-v1/7f8a2c46-e29c-4354-9573-df47ad372ac8/wntd-home.png",title:"Your saves in a snap",description:"Every wishlist, price drop, and back-in-stock alert in one place.",aspectRatio:"883:1920"},{id:"2",url:"/__l5e/assets-v1/22b6089b-eb23-48dc-852f-193985d500dc/wntd-feed.png",title:"A feed that gets you",description:"Curated collections and saves from people whose taste you trust.",aspectRatio:"883:1920"}
233,{id:"3",url:"/__l5e/assets-v1/346406c6-742d-4dce-996b-ebc87b060b66/wntd-product.png",title:"Fair price, right now",description:"12 months of price history so you know when to buy â and when to wait.",aspectRatio:"883:1920"},{id:"4",url:"/__l5e/assets-v1/954d6852-8d83-40a4-832c-1951ac691eca/wntd-tryon.png",title:"Try on anything",description:"Mix up to six items from any store and see the full look on you.",aspectRatio:"883:1920"},{id:"5",url:"/__l5e/assets-v1/427e7b49-f890-40b9-bc65-be17023c79ef/wntd-magicmirror.png",title:"Magic Mirror",description:"Poll your friends before you commit â no dressing room required.",aspectRatio:"883:1920"},{id:"6",url:"/__l5e/assets-v1/eeb3ba4f-b893-41c7-b3a8-aa024f804ee9/wntd-analysis.png",title:"Your style, decoded",description:"A full style analysis built around your face, frame, and vibe.",aspectRatio:"883:1920"},{id:"7",url:"/__l5e/assets-v1/337b085a-d414-456d-8e3e-3a5c8f3b7bb4/wntd-palette.png",title:"The palette nature gave you",description:"Colours picked for your eyes, skin, and hair â never a bad shade again.",aspectRatio:"883:1920"}]}),` 234`,b.jsxs(t.p,{children:["His engineers were reluctant. ",b.jsx(t.em,{children:"âYou donât undo a decade of muscle memory overnight,â"})," says Lex."]}),` 235`,b.jsxs(t.p,{children:["He carved out a couple of days for each engineer to build their own projects with Lovable. No deliverables, no pressure. Just time to feel it out for themselves. ",b.jsx(t.em,{children:"âThat mattered more than any demo I could give,â"})," says Lex. ",b.jsx(t.em,{children:"âA lot of what people thought they knew about vibe coding was already out of date, even from six months prior.â"})]}),` 236`,b.jsx(t.p,{children:"They came back wanting to build more. Together, they rebuilt the entire product from scratch. WNTD was born."}),` 237`,b.jsx(t.h2,{children:"A shopping app that knows your style"}),` 238`,b.jsx(t.p,{children:"WNTD is the shopping companion Lex always imagined. Judging by the early numbers, consumers had been waiting for it too. Two weeks after launch, 5,000 users had already joined and were driving 200,000 in-app events daily. A month later, users have doubled to nearly 10,000 and in-app events have grown fivefold."}),` 239`,b.jsx(t.p,{children:"Hereâs whatâs inside:"}),` 240`,b.jsxs(t.ul,{children:[` 241`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Outfit saving:"})," Spot something on Instagram, in a store, or on any website and save it via a Safari or Chrome extension or scan the physical barcode. Everything lands in WNTD, ready to shop anytime."]}),` 242`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Price tracking:"})," WNTD monitors prices and sends a notification when something drops. It shows 12 months of history and flags whether itâs a good time to buy. It also searches resale platforms to surface alternatives or better prices on saved items."]}),` 243`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Virtual try-on:"})," Combine up to six items into a look and see it in the âMagic Mirrorâ before buying anything. Share it with friends and run a poll to get a second opinion."]}),` 244`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"AI styling:"})," Every save, search, and skip builds a picture of shoppersâ taste and shapes recommendations over time. With around 1 billion products in the catalogue, the AI stylist never runs out of ideas."]}),` 245`]}),` 246`,b.jsx(l,{}),` 247`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âItâs the most personalized shopping experience on the planet,â"})," Lex says. ",b.jsx(t.em,{children:"âAnd weâre adding new functionality every day.â"})," When creators asked for a way to earn affiliate commission on their shoppable collections, he had a working prototype ready by that afternoon."]}),` 248`,b.jsx(t.p,{children:"Lex stripped out every third-party dependency and built them himself with Lovable: customer engagement, mail, analytics. None of the existing tools were quite right, so he built better ones. âIâm almost as proud of the back-end admin portal as I am of the consumer product,â says Lex. Heâs saving £25â30K every month by using admin software he built himself."}),` 249`,b.jsx(c,{quote:"The delta between my ideas, my vision, and what we can bring to life has basically disappeared. There has never been a more exciting time to be a founder.",value:"£3M",label:"raised",image:"/images/lex/lex-portrait.webp"}),` 250`,b.jsx(t.h2,{children:"Raising the next round and expanding beyond fashion"}),` 251`,b.jsx(t.p,{children:"Lex has a £3M term sheet from the UKâs largest commercial broadcaster and is raising another round. The next six months are about driving user adoption and building new categories beyond fashion and beauty into every corner of retail. The longer-term vision: a platform that reshapes itself around each user who opens it."}),` 252`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âThe delta between my ideas, my vision, and what we can bring to life,â"})," he says, ",b.jsx(t.em,{children:"âhas basically disappeared. There has never been a more exciting time to be a founder.â"})]})]})}function Zz(e={}){const{wrapper:t}={...dn(),...e.components};return t?b.jsx(t,{...e,children:b.jsx(Ow,{...e})}):Ow(e)}function gr(e,t){throw new Error("Expected component `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}const Wz=Object.freeze(Object.defineProperty({__proto__:null,default:Zz,frontmatter:Xz},Symbol.toStringTag,{value:"Module"})),Jz={slug:"nico",name:"Nico Wittenberg",founderCount:"singular",companyName:"AVARA",companyLogoUrl:"/images/nico/logo.png",mainImageUrl:"/images/new/Avara-hero.webp",heroSize:"lg",smallVerticalImageUrl:"/images/new/Avara-portrait.webp",smallHorizontalImageUrl:"/images/new/Avara-hor.webp",shortExcerpt:"A former SAP and Google sales and marketing leader who wrote nearly a million lines of code in under a year to take on the trillion-dollar travel industry.",excerpt:"Nicoâs idea is taking on the trillion dollar travel industry â he built it himself in under a year.",quoteImageUrl:"/images/nico/quote.webp",quoteBackgroun
252dImageUrl:"/images/new/Avara-quote.webp",quoteName:"Nico Wittenberg",quote:"âIf thereâs a delay or cancellation, airlines only look at their flight options. Trains only look at the train system. Thereâs no one looking broadly at all the possible solutions.â",appLink:"https://www.avara.global/",writer:`Andrea Lim 253`,date:"2026-06-01"};function Dw(e){const t={h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...dn(),...e.components},{ArrTimelineBlock:a,FounderQuoteBlock:o,ImageCarouselBlock:l,OpenAppButton:c,OverlappingPhotosBlock:u,StatQuoteBlock:d,VideoBlock:p}=t;return a||Fa("ArrTimelineBlock"),o||Fa("FounderQuoteBlock"),l||Fa("ImageCarouselBlock"),c||Fa("OpenAppButton"),u||Fa("OverlappingPhotosBlock"),d||Fa("StatQuoteBlock"),p||Fa("VideoBlock"),b.jsxs(b.Fragment,{children:[b.jsx(t.p,{children:b.jsx(t.strong,{children:"In 2012, Nicoâs phone rang in his apartment in Hamburg. It was Emma, his long-distance girlfriend, calling from an airport in Switzerland. A snowstorm had grounded the airport, and her flight to see him for Valentineâs Day and his birthday had just been cancelled. She was upset, and the airline had nothing left to offer her: no rebooking, no alternative, no plan."})}),` 254`,b.jsx(t.p,{children:"Nico refused to accept that. He was a seasoned traveler, and he knew there was more than one way to get across Europe. After a few minutes of searching, he found an overnight train that left in an hour. Emma grabbed her bags and ran to the station. The next morning, he picked her up, their weekend saved."}),` 255`,b.jsx(t.p,{children:"For fourteen years, he turned that experience over in his mind. Most people would have let it go but Nico couldnât. Why wasnât there a travel platform that monitored your trip in real time and offered backup plans automatically if something went wrong?"}),` 256`,b.jsx(o,{}),` 257`,b.jsx(t.p,{children:"Nico believed in the idea enough to pitch it to his colleagues at Google. With no engineering background, he knew it was a stretch walking into a room full of engineers with a product idea but he needed to know what they thought. âI wasnât laughed out of the room, but they made it pretty clear to me that without a huge funding round and 50 engineers, it wasnât possible,â he says. âAll the flight data and real-time updates created a massive amount of complexity I hadnât considered.â"}),` 258`,b.jsx(t.p,{children:"So, Nico set the idea aside, built his sales and marketing career and filed the idea away, doubtful heâd ever act on it. Maybe it just wasnât meant to be."}),` 259`,b.jsx(u,{image1:"/images/nico/overlap/1.webp",aspect1:"4/3",image2:"/images/nico/overlap/2.webp",aspect2:"3/4",image3:"/images/nico/overlap/3.webp",aspect3:"4/3"}),` 260`,b.jsx(t.h2,{children:"An old dream resurrected by AI"}),` 261`,b.jsx(t.p,{children:"When Nico saw AI start to reshape his job, his first instinct was to become an expert. âI saw the writing on the wall pretty early. I could either be the one driving this revolution, or be left behind.â He took courses to learn as much as he could and eventually became SAPâs AI lead. But the more he learned, the more he realized AI wasnât just changing how work got done â it was changing who could do what. All the reasons that had stopped him from building his long-held idea no longer held up. There were tools now that could do the part that had stopped him in 2012. He couldnât stay in his corporate job wondering, what if? So he quit."}),` 262`,b.jsx(p,{id:"video",src:"/__l5e/assets-v1/1bef32a9-983f-47ef-9211-3ef2aa8fb157/avara.mp4",aspectRatio:"16:9"}),` 263`,b.jsx(t.p,{children:"Nico jumped in with conviction, then immediately doubted himself. His first vibe-coding platform generated code he couldnât read, couldnât preview, and had no way of testing."}),` 264`,b.jsx(t.p,{children:"A friend recommended Lovable. The experience was different. âYou see the results so quickly. You canât really stop once you see your vision coming to life,â says Nico. He consulted Lovable on everything: the business plan, the UI, the UX. What surprised Nico was how much fun he was having: âIt felt like a passion project rather than work.â For months he stayed up late every night working with Lovable after he and his now-wife, Emma put their two young kids to bed. âI was probably less social last year than usual,â Nico says with a laugh. âBut I also got way more done than I ever thought possible.â"}),` 265`,b.jsx(a,{progress:1,milestones:[{date:"â12",label:"Idea"},{date:"â25",label:"Quits job"},{date:"04/26",label:"AVARA in beta"},{date:"06/26",label:"Live in 17 countries"}]}),` 266`,b.jsx(t.h2,{children:"A full-stack travel platform, without the full-stack engineers"}),` 267`,b.jsx(t.p,{children:"His ambition quickly outgrew his original idea. âMost travel tools treat you like a transaction,â he says. âThey wait for you to do the work: search, compare, book, repeat, then forget you the moment itâs done. I wanted to build the opposite. Something that pays attention to who you are, and acts before you have to ask.â"}),` 268`,b.jsx(l,{items:[{id:"1",url:"/images/nico/screenshots/1.png",title:"Beautifully organized trips, all in one place.",description:" ",aspectRatio:"1052:1036"},{id:"2",url:"/images/nico/screenshots/2.png",title:"Plan group adventures together.",description:" ",aspectRatio:"1052:1036"},{id:"3",url:"/images/nico/screenshots/3.png",title:"A complete emergency supp
268ort center, wherever you are.",description:" ",aspectRatio:"1052:1036"}]}),` 269`,b.jsx(t.p,{children:"Nearly a million lines of code later, AVARA is now a full-stack travel platform with:"}),` 270`,b.jsxs(t.ul,{children:[` 271`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Real-time bookings:"})," Unlike airlines that only look for flights, AVARA searches everythingâflights, trains, buses, ferries, rental cars, and more, all from one place. Flight, hotels and package bookings will be live at launch, with the rest of the network rolling out shortly after. Users can book and pay for their trip natively in the app."]}),` 272`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Proactive trip monitoring:"})," In the background, the AI concierge scans your itinerary in real time and alerts you before problems become crises. If Emma had AVARA back in 2012, it would have notified her the moment her flight was cancelled and shown her the available alternatives, including the overnight train, ready to book within minutes. âThe promise of AVARA is that we never leave you behind,â Nico says. âWe always show you the way home.â"]}),` 273`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Emergency response readiness:"})," If youâre stranded somewhere unfamiliar, AVARA alerts your emergency contacts to confirm youâre safe and shows you options for hospitals, embassies, and more via global navigation with Mapbox."]}),` 274`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"85+ crowdsourced city guides and counting:"})," AVARA has already built and published more than 85 destination guides, ready to explore from day one. Users can also upload their own travel notes in just about any file format, and AVARA converts them into a sharable city guide that credits the creator."]}),` 275`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Group travel planning:"})," A built-in messaging function, complete with read receipts and offline support, lets groups coordinate an entire trip without leaving the app. Share itineraries, consolidate bookings, and split expenses, all in one place, with no need to jump over to WhatsApp or Telegram."]}),` 276`]}),` 277`,b.jsx(c,{}),` 278`,b.jsx(t.p,{children:"âIâm most proud of the group messaging feature,â says Nico. âI essentially built my own WhatsApp messaging app in Lovable. The night I got it to work, I woke Emma up at 2am to make her test it with me. I couldnât believe I was capable of building something so complex.â"}),` 279`,b.jsx(t.p,{children:"When Nico reflects back on what heâs built over the last year, he realizes his old Google colleagues werenât exaggerating. The complexity of the problem hadnât gone away with time. What changed was his ability to build it."}),` 280`,b.jsx(t.p,{children:"âI had to build dozens of integrations to booking systems like Amadeus and backend services like Stripe and Lovable Cloud. What changed was the tools. I finally had the ability to build this myself. I always had the conviction and the willingness to spend the time but now I had the means to do it.â"}),` 281`,b.jsx(t.p,{children:"All of this happened in less than a year, which Nico still finds hard to believe. He estimates Lovable saved him roughly 125,000 hours of coding, the equivalent of 14 years of nonstop work and â ironically â exactly how long he carried the idea before building it. âI can comfortably say I can build just about any product on the market with Lovable. If I see a product I admire and want to add that functionality in AVARA, I just need to give myself a bit of time but I know I can build it. A couple of years ago, that would have been impossible to imagine.â"}),` 282`,b.jsx(t.h2,{children:"AVARA is ready for takeoff"}),` 283`,b.jsx(t.p,{children:"After four months in closed beta with users in 17 countries, Nico is preparing to launch AVARA publicly in Europe and raise his first round of funding, all as a solo founder. The hardest part of the past year wasnât writing the code, he says. It was learning the rules: travel regulation, licensing, consumer protection law, the parts of the industry that have nothing to do with software and everything to do with operating responsibly across dozens of countries at once."}),` 284`,b.jsx(d,{quote:"You see the results so quickly. You canât really stop once you see your vision coming to life.",name:"Nico Wittenberg",value:"1M",label:"lines of code",image:"/images/new/Avara-portrait.webp"}),` 285`,b.jsx(t.p,{children:"Nico is candid about the size of the ambition. âI believe AVARA can become the worldâs most trusted platform for travel and human connection,â he says. âNot the loudest one. The one people return to. The one they rely on, for the everyday planning and for when plans change.â"}),` 286`,b.jsx(t.p,{children:"Nicoâs advice for others sitting on an idea? âJust start,â he says. âThe opportunity cost of failing is so, so low. Youâll learn fast what works and what doesnât. Use that feedback and course correct. Even if you have a full-time job, you can try it as a hobby. Delete Instagram and use that time to build. Thereâs no need to be afraid anymore.â"})]})}function $z(e={}){const{wrapper:t}={...dn(),...e.components};return t?b.jsx(t,{...e,children:b.jsx(Dw,{...e})}):Dw(e)}function Fa(e,t){throw new Error("Expected component `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}const eB=Object.freeze(Object.defineProperty({__proto__:null,default:$z,frontmatter:Jz},Symbol.toStringTag,{value:"Module"})),tB={slug:"quinten-and-jef",name:`Quinten 287& Jef`,founderCount:"plural",companyName:"WeGlow",companyLogoUrl:"/images/quinten-and-jef/logo.png",mainImageUrl:"/images/quinten-and-jef/hero.webp",heroSize:"lg",shortExcerpt:"They turned a family tradition of lighting candles into a fundraising platform that has raised over â¬1.3M for nonprofits.",excerpt:"How Quinten Dockx turned a family tradition into WeGlow, a platform that has helped nonprofits raise more than â¬1.3 million",smallHorizontalImageUrl:"/images/quinten-and-jef/hor.webp",smallVerticalImageUrl:"/images/quinten-and-jef/portrait.webp",quoteName:"Quinten Dockx",quoteBackgroun
287dImageUrl:"/images/quinten-and-jef/quote.webp",quote:"That was the moment everything changed for WeGlow. We could really start building what we were dreaming of.",appLink:"https://weglow.world",writer:`Jen Roney 288`,date:"2026-08-01"};function Lw(e){const t={em:"em",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...dn(),...e.components},{FounderQuoteBlock:a,ImageCarouselBlock:o,OpenAppButton:l,OverlappingPhotosBlock:c,StatQuoteBlock:u,VideoBlock:d}=t;return a||Xi("FounderQuoteBlock"),o||Xi("ImageCarouselBlock"),l||Xi("OpenAppButton"),c||Xi("OverlappingPhotosBlock"),u||Xi("StatQuoteBlock"),d||Xi("VideoBlock"),b.jsxs(b.Fragment,{children:[b.jsx(t.p,{children:b.jsx(t.strong,{children:"For as long as Quinten Dockx can remember, lighting a candle has meant something in his family. Quintenâs father has lived with a serious illness for 15 years and before each of his hospital checkups, Quinten would send him a simple message: Iâm lighting a candle for you. His sisters did it. So did his fatherâs friends. The candle became a meaningful way to show support."})}),` 289`,b.jsx(t.p,{children:"It was a small gesture, but his father saw something bigger in it. What if they could bring all those candles together? What if you could look at a map of the world and see each act of support glowing on it? With each candle representing a donation. That idea became WeGlow."}),` 290`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âMy dadâs idea is where WeGlow started and why it exists,â"})," says Quinten. ",b.jsx(t.em,{children:"âIt was his dream to see it in reality, and itâs been amazing for him to see it come to life.â"})]}),` 291`,b.jsx(d,{id:"video",src:"/__l5e/assets-v1/0bea0d83-7033-41dd-b19b-e3f5eab5234d/weglow.mp4",aspectRatio:"16:9"}),` 292`,b.jsx(t.p,{children:"Today, more than 35,000 virtual candles have been lit through WeGlow, helping to raise more than â¬1.3 million for nonprofits. But going from a family ritual to a fundraising platform used by more than 100 organizations took a few unexpected turns, including one that happened in a day."}),` 293`,b.jsx(c,{wideImage:"/images/quinten-and-jef/dad-wide.webp",verticalImage:"/images/quinten-and-jef/dad-vertical.webp"}),` 294`,b.jsx(t.h2,{children:"The outsourced MVP that almost ended WeGlow"}),` 295`,b.jsx(t.p,{children:"Quinten started working on the idea with his father but quickly decided to bring on a co-founder to help commercialize their vision. He knew exactly who to call: Jef Janssens."}),` 296`,b.jsx(t.p,{children:"Quinten had met Jef years earlier at school. They were close friends, and by their own accounts, perhaps not the pair teachers most wanted sitting together. But whenever they had a project to tackle, something clicked."}),` 297`,b.jsx(t.p,{children:"Quinten called him in December 2023. By January 2024, Jef was working full time on WeGlow. Neither of them came from a technical background, so they did what seemed logical: they hired people who knew how to build software."}),` 298`,b.jsx(a,{}),` 299`,b.jsx(t.p,{children:"It was expensive. It was slow. And what came back wasnât what Quinten had imagined. Their first minimum viable product didnât work, and bringing their idea to life was taking longer and costing more than they could afford."}),` 300`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âWe found ourselves at a crossroads with no more funding to continue working with the development agency, and no clear path forward,â"})," Quinten says."]}),` 301`,b.jsx(t.p,{children:"Quinten and Jef eventually got a basic version of WeGlow into nonprofitsâ hands by offering the first 10 customers lifetime access to the product for a one-time fee, including early access to new feature releases. This early version centered on a simple idea: a donor could give to a cause and light a virtual candle alongside their donation, turning a donation into something visible and personal. Each candle would appear on the map with the others."}),` 302`,b.jsx(t.p,{children:"The idea resonated with nonprofits, but their conversations revealed a bigger problem."}),` 303`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âWe were pretty young, and we were pretty naive,â"})," Jef says. ",b.jsx(t.em,{children:"âThese charities loved the idea, but it was a fun feature, not a product theyâd pay for.â"})]}),` 304`,b.jsx(t.h2,{children:"From pitching an idea to listening to a problem"}),` 305`,b.jsx(t.p,{children:"So Quinten and Jef stopped pitching and started asking questions. They spoke with nonprofits about how they raised money, what tools they used, and where those tools fell short. Again and again, they heard about softw
305are that was too expensive, too technical, or poorly suited to smaller organizations. Free fundraising platforms came with their own tradeoffs around money and donor data."}),` 306`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âOur mission is still to glow the world, but we also saw the problem nonprofits were having because they couldnât get the right technical tools,â"})," Quinten says. ",b.jsx(t.em,{children:"âWe want to give every nonprofit the right tools to start fundraising.â"})]}),` 307`,b.jsx(t.p,{children:"The original idea didnât disappear, but Quinten and Jef had stumbled into a bigger problem worth solving. WeGlow could make the act of giving feel more personal while offering nonprofits better ways to do the work behind it. There was just one problem: the business idea was becoming more complex, and Quinten and Jef still didnât have a technical team to build it."}),` 308`,b.jsx(t.h2,{children:"The five-minute experiment"}),` 309`,b.jsx(t.p,{children:"One day, Jef was scrolling LinkedIn when he discovered Lovable, a product that lets people build their own apps. As the least technical person on the team, he thought he should check it out."}),` 310`,b.jsx(t.p,{children:"He opened Lovable and started describing what he wanted. Within minutes, he had an interactive sales dashboard. It wasnât supposed to be serious, and it certainly wasnât supposed to work that quickly."}),` 311`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âI walked over to Quintenâs desk to see if it could be interesting for what we were doing,â"})," says Jef. ",b.jsx(t.em,{children:"âAnd I saw him have a little âahaâ moment as well.â"})]}),` 312`,b.jsx(t.p,{children:"Quinten tried it himself, and within a day, he showed Jef what he had built on his laptop. WeGlow now had w
312orking donation campaigns where donors could light a virtual candle on a world map. Nonprofits could log in, create their own campaigns and accept donations through a direct Stripe integration. The user experience was also significantly better than anything they had built before."}),` 313`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âIt was way more than we expected to have in a single day,â"})," Quinten says."]}),` 314`,b.jsx(t.p,{children:"The product they had spent nearly three years and almost â¬100K trying, and failing, to get right was suddenly something they could bring to life themselves. More importantly, they could keep iterating on their own, adding new features and fixing problems as they came up."}),` 315`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âThat was the moment everything changed for WeGlow,â"})," Quinten says. ",b.jsx(t.em,{children:"âWe could really start building what we had been dreaming of because we had all the nonprofit feedback we needed. When we finally had Lovable, we knew exactly what to build.â"})]}),` 316`,b.jsx(c,{wideImage:"/images/quinten-and-jef/wide.webp",verticalImage:"/images/quinten-and-jef/vertical.webp"}),` 317`,b.jsx(t.h2,{children:"When the five-year vision arrives early"}),` 318`,b.jsx(t.p,{children:"Once building became faster, so did learning. Quinten and Jef could hear a problem from a nonprofit, create something, put it in front of users, collect feedback, and keep going. The product started expanding around what nonprofits were actually asking for."}),` 319`,b.jsx(t.p,{children:"What began as a campaign platform grew into a complete fundraising toolkit, including:"}),` 320`,b.jsx(o,{items:[{id:"1",url:"/images/quinten-and-jef/app-insights.webp",title:"Insights on revenue, retention, and campaign performance",description:"",aspectRatio:"2:1"},{id:"2",url:"/images/quinten-and-jef/app-campaign.webp",title:"Fundraising pages where every donation lights a candle",description:"",aspectRatio:"2:1"},{id:"3",url:"/images/quinten-and-jef/app-contacts.webp",title:"All donors and contacts in one place",description:"",aspectRatio:"2:1"},{id:"4",url:"/images/quinten-and-jef/app-donor.webp",title:"A full history of every gift, conversation, and thank-you",description:"",aspectRatio:"2:1"},{id:"5",url:"/images/quinten-and-jef/app-mail.webp",title:"WeGlow Mail for newsletters and donor communication",description:"",aspectRatio:"2:1"}]}),` 321`,b.jsxs(t.ul,{children:[` 322`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"WeGlow Mail:"})," After hearing from nonprofits struggling with the cost and complexity of email software, Quinten and Jef built an integrated email tool for newsletters and donor communication. Adoption was immediate. Two months in, nonprofits had already sent 50,000 emails."]}),` 323`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Donor CRM:"})," WeGlow expanded beyond donations to help organizations manage donor information, build relationships, and better understand their supporters."]}),` 324`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"WeGlow Auctions:"})," After seeing nonprofits miss out on a proven fundraising format, Quinten and Jef built an integrated auction platform directly into the WeGlow dashboard. And in the first three auctions, nonprofits raised over â¬60,000."]}),` 325`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Glowy AI:"})," WeGlowâs AI assistant helps nonprofits create campaigns, newsletters, emails, and other fundraising materials by describing what they want to achieve."]}),` 326`]}),` 327`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âWe started out super small with just one feature, being able to build a campaign,â"})," Jef says. ",b.jsx(t.em,{children:"âThen we just listened and optimized.â"})]}),` 328`,b.jsx(t.p,{children:"The difference wasnât simply that Quinten and Jef could build more. They could build alongside the people using WeGlow, testing ideas and responding to what nonprofits actually needed. The vision they once imagined taking five or 10 years to reach suddenly felt much closer. And as the platform grew, the candles kept appearing."}),` 329`,b.jsx(l,{}),` 330`,b.jsx(t.h2,{children:"Seeing how far a candle can go"}),` 331`,b.jsx(t.p,{children:"Some candles light up close to home. Others travel surprisingly far. A campaign with a Dutch radio station brought candles from the Netherlands, Belgium, the UK, Germany, Spain, and beyond. Quinten has watched supp
331ort for other campaigns appear from Mexico, Jamaica, and Australia."}),` 332`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âSometimes itâs really crazy to see how far a candle can go,â"})," says Quinten. ",b.jsx(t.em,{children:"âAnd how many people will support a campaign if they can really connect to it.â"})]}),` 333`,b.jsxs(t.p,{children:["A candle can signify remembrance or good luck. It can mark a birthday, show solidarity, or simply say, ",b.jsx(t.em,{children:"âIâm thinking about you.â"})]}),` 334`,b.jsxs(t.p,{children:["For Jef, that universality was part of what made Quintenâs idea compelling from the beginning. ",b.jsx(t.em,{children:"âIn every culture or country, you can understand the idea of lighting a candle and bring it back to some form of solidarity.â"})]}),` 335`,b.jsx(u,{name:"Quinten Dockx",quote:"My dadâs idea is where WeGlow started. But now all the feedback from nonprofits using WeGlow is the biggest motivation I have to keep going.",value:"â¬1.3M",label:"raised for nonprofits",image:"/images/quinten-and-jef/candles.webp"}),` 336`,b.jsx(t.p,{children:"More than 35,000 of those gestures have now appeared on WeGlowâs map, helping raise more than â¬1.3 million. Quintenâs father still follows what the team is building, acting as an advisor from the sidelines. The map he once imagined is real. But for Quinten, the reason to keep building has grown along with it."})]})}function nB(e={}){const{wrapper:t}={...dn(),...e.components};return t?b.jsx(t,{...e,children:b.jsx(Lw,{...e})}):Lw(e)}function Xi(e,t){throw new Error("Expected component `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:nB,frontmatter:tB},Symbol.toStringTag,{value:"Module"}
336)),aB={slug:"zain",name:"Zain Hussain",founderCount:"singular",companyName:"Saath",companyLogoUrl:"/images/zain/logo.png",mainImageUrl:"/images/zain/hero.webp",heroSize:"sm",shortExcerpt:"He walked away from $250K to build a community-led fund, then rebuilt five months of work in 24 hours.",excerpt:"Zain walked away from $250K to start a community fund â then rebuilt five months of work in 24 hours",smallHorizontalImageUrl:"/images/zain/hor.webp",smallVerticalImageUrl:"/images/zain/portrait.webp",quoteName:"Zain Hussain",quoteBackgroundImageUrl:"/images/zain/quote.webp",quote:"At the end of the day, we fund dreamers. We bring the community from around the world together to collectively fund those overlooked ideas.",appLink:"https://saath.fund",writer:`Jen Roney 337`,date:"2026-08-01"};function zw(e){const t={em:"em",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...dn(),...e.components},{FounderQuoteBlock:a,ImageCarouselBlock:o,OpenAppButton:l,OverlappingPhotosBlock:c,VideoBlock:u}=t;return a||yr("FounderQuoteBlock"),o||yr("ImageCarouselBlock"),l||yr("OpenAppButton"),c||yr("OverlappingPhotosBlock"),u||yr("VideoBlock"),b.jsxs(b.Fragment,{children:[b.jsx(t.p,{children:b.jsx(t.strong,{children:"At age 23, Zain Hussain had already explored an unusual number of possible careers. Heâd studied law, acted on an HBO television show, and even joined Monzo while the UK bank was still young."})}),` 338`,b.jsx(t.p,{children:"Then Zain moved to San Francisco to build a company that would help banks combat scams with AI. The startup was growing, and investors were prepared to put another $250,000 behind it. But Zain walked away."}),` 339`,b.jsx(u,{id:"video",src:"/__l5e/assets-v1/41785064-2500-4772-b2b5-38a0ce647f00/saath.mp4",aspectRatio:"16:9"}),` 340`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âYou have to be obsessed with the problem,â"})," he says. ",b.jsx(t.em,{children:"âI was kind of interested in the problem of scams, and when things got tough, it made me ask: Is this the thing I want to dedicate the next 10 or 20 years of my life to? Does it feel like an extension of who I am and my values?â"})]}),` 341`,b.jsx(t.p,{children:"He knew it didnât. Halfway through the funding round, Zain called the investors and turned down the money. He decided his next project needed to be something he was truly obsessed with."}),` 342`,b.jsx(t.h2,{children:"Bringing his tech experience closer to home"}),` 343`,b.jsx(t.p,{children:"Zain was born in London to parents who migrated from Pakistan. Growing up British Pakistani meant living between two identities and looking for places where both could comfortably coexist."}),` 344`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âYouâre cheering for England in the World Cup, but then at home youâre eating biryani,â"})," says Zain. ",b.jsx(t.em,{children:"âYouâre living between these two identities, and youâre in search of those shared spaces.â"})]}),` 345`,b.jsx(t.p,{children:"Zain felt the absence of those spaces acutely in San Francisco. He realized that community, identity, and his connection to South Asia were things he cared deeply about."}),` 346`,b.jsx(t.p,{children:"Then his best friend and eventual co-founder, Habeeb, told Zain how his community in Halifax would pool money to support one another when someone needed help. When Habeeb and Zain looked for a similar model that could bring together the South Asian diaspora to support local projects, they couldnât find one."}),` 347`,b.jsx(t.p,{children:"Zain called Habeeb and suggested they build it themselves."}),` 348`,b.jsx(t.p,{children:"The vision: a community-led fund for projects in South Asia that fall between traditional funding systems. These businesses need ongoing capital rather than one-time donations, but arenât designed for the scale that typically attracts venture investment."}),` 349`,b.jsx(a,{}),` 350`,b.jsx(t.h2,{children:"Five months of building, stopped by one button"}),` 351`,b.jsx(t.p,{children:"Zain and Habeeb knew how they wanted the community-led fund to work, but turning their idea into a functioning platform was another matter."}),` 352`,b.jsx(t.p,{children:"For five months, they pieced together different technology platforms to bring their vision to life. They had one solution for handling accounts, another for managing payments, a third for newsletters. The result was expensive and complicated, and still not what they had imagined."}),`
353`,b.jsx(t.p,{children:"Then, just 48 hours before launch, they hit a critical roadblock when their tech stack couldnât accommodate a simple but important change: letting members choose between contributing £5 or £10 a month."}),` 354`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âWeâd spent five months tinkering with different tools,â"})," says Zain. ",b.jsx(t.em,{children:"âIt was frustrating because we had such a big vision for what we wanted to do. We knew what we wanted to build; we just needed technology that could keep up with that vision.â"})]}),` 355`,b.jsx(t.p,{children:"Zain and Habeeb looked for a platform that would give them more control. They wanted to build Saath exactly as they envisioned it, rather than shape their vision around the features offered by another platform. That search led them to Lovable."}),` 356`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âI just completely rambled,â"})," says Zain. ",b.jsx(t.em,{children:"âThis is what I want. These are the colors. This is the platform. And then, bam, everything I had in my head was exactly what popped up on the screen.â"})]}),` 357`,b.jsx(t.p,{children:"Twenty-four hours later, Saath was live."}),` 358`,b.jsx(c,{wideImage:"/images/zain/saath-team.webp",aspect1:"3/2"}),` 359`,b.jsx(t.h2,{children:"A fund where the donors make the decisions"}),` 360`,b.jsx(t.p,{children:"Zain and Habeeb built Saath around a central idea: One-time donors shouldnât disappear from the story. The platform they built with Lovable lets donors:"}),` 361`,b.jsxs(t.ul,{children:[` 362`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Join and contribute:"})," Members, known as Saathis, create accounts and contribute from £5 each month, with payments integrated through Stripe. New members receive a personalized welcome called a âroots receiptâ reflecting where they live and their South Asian roots, which they can download as an image and share."]}),` 363`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Choose what gets funded:"})," Organizations create profiles that tell their story through photos, videos, and project details, forming a funding pitch that Saathis can review before voting on which projects to support."]}),` 364`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"See where the money goes:"})," Saathâs public transparency dashboard shows the fund balance, contributions, funds deployed, and funded projects, with documents such as grant letters and legal agreements published openly."]}),` 365`,b.jsxs(t.li,{children:[b.jsx(t.strong,{children:"Follow projects over time:"})," Members can see what happens after a grant is awarded rather than simply making a contribution and walking away. ",b.jsx(t.em,{children:"âYouâre not just supporting a fund,â"})," Zain says. ",b.jsx(t.em,{children:"âYou are the fund.â"})]}),` 366`]}),` 367`,b.jsx(o,{items:[{id:"1",url:"/images/zain/app-dashboard.webp",title:"A transparent dashboard for members",description:"",aspectRatio:"9:16"},{id:"2",url:"/images/zain/app-receipt.webp",title:"A personalized roots receipt for every Saathi",description:"",aspectRatio:"9:16"},{id:"3",url:"/images/zain/app-projects.webp",title:"Funded projects and their impact",description:"",aspectRatio:"9:16"},{id:"4",url:"/images/zain/app-project-detail.webp",title:"Project stories from across South Asia",description:"",aspectRatio:"9:16"}],type:"screenshots"}),` 368`,b.jsx(l,{}),` 369`,b.jsx(t.p,{children:"Building the platform was only the beginning. Zain started using Lovable as a creative partner to explore the brandâs visual identity and create everything from newsletters to animations and social assets."}),` 370`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âLovable became our finance person, marketer, community manager,â"})," says Zain. ",b.jsx(t.em,{children:"âEverything all at once.â"})]}),` 371`,b.jsxs(t.p,{children:["The way Zain sees it, every dollar saved on software is money that can go toward the people and projects Saath funds. ",b.jsx(t.em,{children:"âWhen I see a $100 software bill, I think about it as 20 Saathisâ contributions being spent on just one platform,â"})," says Zain."]}),` 372`,b.jsx(t.h2,{children:"From £5 contributions to impact across South Asia"}),` 373`,b.jsx(t.p,{children:"After Saathâs members completed their first vote, Zain called Binod, the founder of a girlsâ football academy in Pokhara, Nepal, to tell him his project had been chosen for funding."}),` 374`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âTelling him heâs got the grant and seeing his reaction is the best feeling in the world,â"})," says Zain. ",b.jsx(t.em,{children:"âWe can go from just this idea we had in our notes to actually transforming peopleâs lives, not just once, but for many years to come.â"})]}),`
375`,b.jsx(t.p,{children:"Then Zain saw the football academy itself. Girls who previously had few opportunities to play were running across a pitch wearing shirts bearing the Saath logo."}),` 376`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âWe started this from behind our laptops, never imagining it would grow into a football academy halfway around the world,â"})," says Zain. ",b.jsx(t.em,{children:"âSeeing it become something real in a place weâd never even been was surreal.â"})]}),` 377`,b.jsx(c,{wideImage:"/images/zain/soccer.webp",aspect1:"3/2",verticalImage:"/images/zain/craftswomen.webp",aspect2:"3/4"}),` 378`,b.jsx(t.p,{children:"Less than a year after launching, Saath has grown to 150 members worldwide and deployed £10,000 in grant funding. Its community spans the UK, New Zealand, Canada, the Middle East, and the U.S."}),` 379`,b.jsx(t.p,{children:"Beyond the football academy, Saath is supporting other overlooked ideas across South Asia. In Bangladesh, Saath has supported an academy where craftswomen turn discarded materials into bags and develop new income streams. A £3,000 grant for a digital literacy initiative in the Indian Himalayas will fund 100 scholarships, helping local producers learn to manage more of the commercial journey themselves, from making a product to selling it online."}),` 380`,b.jsx(t.p,{children:"That reach has changed how Zain thinks about who gets to build ambitious ideas in the first place."}),` 381`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âYou can be in the mountains with 2G and build an app, launch a store, or reach people in a country youâve never even visited,â"})," says Zain."]}),` 382`,b.jsx(t.p,{children:"Saath began as a way to help turn locally led ideas into something real. Zain sees the potential to support even more kinds of dreamers, from social entrepreneurs to artists and storytellers, as the community grows."}),` 383`,b.jsx(t.p,{children:"Thereâs a parallel in Zainâs own journey. He built Saath to give overlooked dreamers a better chance to pursue their ideas. Building with Lovable gave Zain more freedom to focus on the vision for Saath instead of what their existing tools would allow them to build."}),` 384`,b.jsxs(t.p,{children:[b.jsx(t.em,{children:"âFor me personally, it feels kind of limitless,â"})," Zain says. ",b.jsx(t.em,{children:"âIâm not really thinking about what product we can or canât build anymore. Itâs more about what the dream is and how we make it happen.â"})]})]})}function iB(e={}){const{wrapper:t}={...dn(),...e.components};return t?b.jsx(t,{...e,children:b.jsx(zw,{...e})}):zw(e)}function yr(e,t){throw new Error("Expected component `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}const oB=Object.freeze(Object.defineProperty({__proto__:null,default:iB,frontmatter:aB},Symbol.toStringTag,{value:"Module"})),rB="/assets/footer-CbLIVnME.webp",lB="/assets/lg_hor-BM1s5Uel.webp",cB="/assets/logo-kF9Ptll4.svg",uB="/assets/main-DkrKvdYf.webp",fB="/assets/quote-D58wCKGg.webp",dB="/assets/quote_bg-DEb_sJ5r.webp",hB="/assets/quote_fg-DnoGvUJi.webp",mB="/assets/sm_hor-PPiz_M1Z.webp",pB="/assets/sm_vert-CoK1Cv7p.webp",gB="/assets/app-menu-bzePGCRh.png",yB="/assets/app-orders-B9hJJeiT.png",vB="/assets/app-settings-QdLNXevs.png",bB="/assets/footer-BUSsE0Io.webp",wB="/assets/jaleel-crop-ClyWSFn8.webp",xB="/assets/lg_hor-D7p4jMv7.webp",SB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAB41BMVEUAAADf///m/vrm/vrm/vrn//rl/vvn//zl/fnk/Prn//vm/vrm/frm/fjn//vm//rm/vo20/4BfP4Ae/8Ae/031P8AfP030/420/020/zl/vo31f011Pw20/8Agf860/0CfvoBfvwAfPwAev7i/frg/PoFgfkBlP7k/vpW1f4Ae/ze+/o40/8BiP8AhP8Ci/430v0Bfv870//c+fo31Pk60f4Dnf4AkP4Bjf8Bi//Z+frV9/pa1/7O9PpB0v830v8FpP1M1f411P400/820v8Aff9v2/0BhP0Cgf2w7PvR9frK8/rH8vpmu/oRh/pF1f4CmP4Lkv2k6Pu45/sIi/g31f4Iq/686fuB3fue2fuEy/sBhvsilPo41f84zf9S1/5k1fwQmPzK8Pu17fup6vuu4vuF3/tctPobjvkcr/cwnPc+0/973fx6xvtduvtTtPuk2/qY1vpFqPo8pPqO0Plxw/lOrPkrmPgXi/cMhfcYo/Q+zv8wzv4iov5m2v2J4vzC8fqn3voZufcJoPcLmfad5/zF7fvB6/uW5Puh4/uD1frD7/kMsfYZmPUDiPI5xf4qyv01r/2P1fyR4vs7ufu67vlGtPg4oPgLqfQCgvIis/9Gw/wTnfwVkvslw/oJlfIEj+9nmUyXAAAAEHRSTlMAEN/Pv2CQIIBgf++fcEDfWH40tAAAB0pJREFUaN61modb00AUwIEKirNJ0+QuwyalrV1op6PTUmaFIiACCspSBPcC99577/Wn+i5tRbFV0ja/76MfH23fj/fuLpe7S80SVtavNdQZy6RuRUPjypp/ULtuhbFiDI21pcKvXmOsCnWri8Zfr1amSorGv+M3GKvK0iRqofjVxVD7R3wD/ElPg8GoAysW46826kJDIX69USfW5wV1Rp2oq9WzQIRVag+CBPRiTa2eLUBYp7mLau+qK426shIqpCuNcJHTlbU1y73K8c5gfODQzZuHhuJBG79sgaFmw7Ki2ydHes6Ofu3r65uYuPryxKuB4DIddTXG/+OMnppZyDr2d+zfAmzbtmnTxNWTr3Y5l+X4v4DPnHt/UZY7N27e3NzcvGPHdhDs3rp158tHcWc1BJ5TZx2Kwvr9SwU797556KlYwE/2ZK0sTdP+jXnB9kXB3k+PonxlAvuh9w7WZGJJ/IJg26Jg7+x4t7MSgef0qGylTXRe0NG8Y8vvgidPbl0Zv8GXL7CfOyLTTYxipek2NYM/BR9uvRBFy/hjvlyBbeSIzDI0Y7WaaH9BsKUguP3k25W0KOLw+C6+PAE/MAfRWYZhmkym3wTbN4Hg9odbVySfj6MwCrRHyxNMnpGh97AMQJvawNDRoQoggTu3b11pkSSJAgHmEg9s5Qjs5x1uN91G08RAUujcv5+M5O19d+7MvpDSZo6jSAYiCru6tQugQKNWhiawJAUQOPY8PXvyRE/P+fOfwyHk9QpYoJIgwL7wYY92QWRGbmJY1cAwLKso2fnTA5lg0GO3R6baey0BjAWBAnAI+1JdvGbBoVErEahAfMfCuYzzV3bRBwctIcxJaYqSUAijcHtEq8De42AYEORQHGcGbH+83RWzCII5jSizWQihdGpKq+D+guIGAwQHid9x5r5zyRjpcoGhBYOAQy1UeNimTeA8fdHNWMkAoFk/rcwNOP9KsT/lRdAIZgAKFYtrEwRnZLYgYP3Z084iHxk+yiEKURwRUL1TvCbBvTmZzgkYmlXOFB2qNw56EeWjKCJAgQdOTYJDF+D6Y2UA0sL7in7ZcyyAIbZaItEybNci4EcusqrADWNYPjJkLMp0r2AGOFXQ7tEisO1z0DmBGwRnS1zM4jEL+fdVAR6PahHYz6uCJkYmgp4S2UfaAxBfFbRwsbgWgafHYVoUHC/RfsFjAYitCsycq7scQRNpA7WNi7eyl8ojJUGgrUQgYE0gIBnYSpWIowp4Y7u0NzKdF5wIGouSifkoLu+waGsDuFLQkIKJUQVzxb/LT6UwGWUE5LsW1TzQTCyZaqAdsiN80SY4HMBcPgNB0zgA7i2AgAYDmfblk5FiCdxweWEk58CB6zZNguC8TIMADKybth65yRdL4CgngCBHYprXJLCdc9C5DFgr2yafmfz7E9MpL6YKAil1Q+OEMzSqwERD+hHL0srFE5ml3WAqZsGDuSZGiPJeC2oUeGYcCvQgUxObm5JnJvklE1oYY6oVUxKFRdGc6Oc1CvhTFxQTQLNgUGRWnh+yLb7p6U8lfRi1tiJKQlgUJFdc811FdF7OCWBGsLpNTY65c3EbT7BF3rb3+jiMpNZWUqCQgI6+tmkWQAr52y6WhiHRuWfP03ePHvZP99+9fi3hC4miSEmSBPHFkJC8linj1jF40qHWnyEpfHz6/PLlcDhA8AoiQKnRJQp+5Xq7eM0CYGBBJlNaE2lp+eOl50cDFgRX/pYWUUynW6E8CIkUCFDgmMdYjgCWByzjZkEA6w/l2aUDAa8ktUoUkJaSnA/hlhYOBN5Yd5kLEM++rJuhSUszbW2dYLBwML0gLAgIXjFGVBohzB2ccpYlAILHs7ACbFMUssjsIAbBLHEiRhLHIYTUHmRxdTnLXwRGjmehQizNKrAM3/9jNpwcGzQPclQBHPLFumyVLGOD+44oUCRV0LHn++wBDsOtiojzAs7imrZXthC3nzorg8EPguYtfXdmoUrCoIjy88DR9i57pVsJzns9F5Q2f2fH5ubtfRO3Zw944abaTACJ662zCpshwZvz2c4OstPSN/Hl0puERZDMOcZ6r0f4ygWwoBmZGd0D9E1cPTEy3Js0c7kUzCgxHOUrFgDOyNC+k3OjV98dH7JHX6ewoMYfM1PJxOFo5QICXEMnh+7HyT6XZ/qgZWxwcAwS4Lhw4nCkCoKly6fUGBoUYNAlfT7v5WFPdQWA/W6vl0NEwHE+X+K6p9oCMKSgtwocaDAmVaquALD1H7TgkMXrleA1nBjO8FUVAHYwAElfKASGy8cy1RaAYTzm+kXsIV9SsKFcQ2YX0N1Nfh4/jpcS1Om7u0/299cadaVB9+19/Q8oYH9fRwxwhrPOqCONIKhdY9SJwkndKqNurKrR96SurnDYbtSJRu3H7doLRNCpqxr0P3LX1bDi9/g6dNaGmr+or+aDG+trirGqSoo1q0o+3VJvqELx10H40qysb1hR/uM/hrX1Sx//+Qk9Nxzp+pCCbQAAAABJRU5ErkJggg==",_B="/assets/quote_bg-DOWCmpxF.webp",TB="/assets/quote_fg-tq9kmxWN.webp",AB="/assets/sm_hor-CFAXFvq-.webp",m_="/assets/wide-CxtGSzrX.webp",EB="/assets/lex-hero-DcQpOfct.webp",RB="/assets/lex-hor-B8mEdfEm.webp",CB="/assets/lex-portrait-DW97w7Q5.webp",MB="/assets/lex-quote-USdBxuZV.webp",jB="/assets/lg_hor-BshueqOB.webp",kB="/assets/logo-CeCDAy6s.png",OB="/assets/quote_bg-CWRCAElH.webp",DB="/assets/quote_fg-BX8g3CWB.webp",LB="/assets/sm_hor-D7EyMEL4.webp",zB="/assets/Avara-hero-alternate-DyBQ9Uvu.webp",BB="/assets/Avara-hero-q39pmodg.webp",NB="/assets/Avara-hor-DGnfjoLa.webp",PB="/assets/Avara-portrait-CmqMtnxt.webp",UB="/assets/Avara-quote-BDU4urv7.webp",VB="/assets/Klar-quote-CwjzjAvm.webp",IB="/assets/Quicktables-footer-CzcQ
384B4ud.webp",HB="/assets/Quicktables-hero-alternate-cwsmU-xR.webp",qB="/assets/Quicktables-hero-CBA9dg3P.webp",FB="/assets/Quicktables-hor-Cl-u6WFj.webp",GB="/assets/Quicktables-portrait-1-D-UFYNza.webp",YB="/assets/Quicktables-portrait-BOKzM4dq.webp",QB="/assets/Quicktables-quote-uujbCiDX.webp",KB="/assets/WNTD-hero-alternate-PsPVy9wE.webp",XB="/assets/WNTD-hero-DfyCdtpa.webp",ZB="/assets/WNTD-hor-oKng02Q0.webp",WB="/assets/WNTD-portrait-BrYMRqky.webp",JB="/assets/WNTD-quote-kWd4le-S.webp",$B="/assets/klar-footer-wXe3G_70.webp",e4="/assets/klar-hero-alternate-DW8U5dka.webp",t4="/assets/klar-hero-VTUXsksB.webp",n4="/assets/klar-hor-lmS0oSoy.webp",s4="/assets/klar-portrait-1-DYt4-I03.webp",a4="/assets/klar-portrait-2-BzU2--MI.webp",i4="/assets/klar-portrait-BRSBLeo3.webp",o4="/assets/klar-vert-D7THaf1v.webp",r4="/assets/lg_hor-_knN4N5o.webp",l4="/assets/lg_vert-DIxcIx5E.webp",c4="/assets/logo-Cv0BU9FI.png",u4="/assets/main-CZhXXIHU.webp",f4="/assets/1-8p2-2klM.webp",d4="/assets/2-iv_7p27M.webp",h4="/assets/3-CspvzB0d.webp",m4="/assets/quote-BUvkrzYQ.webp",p4="/assets/quote_bg-urL3inHn.webp",g4="/assets/quote_fg-C3NQxNoS.webp",y4="/assets/1-CV3DUXbB.png",v4="/assets/10-D72U65US.png",b4="/assets/2-D0ucACAY.png",w4="/assets/3-CGUpwa-O.png",x4="/assets/4-cUeQAeXw.png",S4="/assets/5-DoxfXXSU.png",_4="/assets/6-Bjul_EW7.png",T4="/assets/7-DfoA9x1C.png",A4="/assets/8-BhUjBqqR.png",E4="/assets/9-Zm8_JpAC.png",R4="/assets/sm_vert-DhsEvqZd.webp",C4="/assets/overlay1-DenpbjFy.png",M4="/assets/app-campaign-DO_ogHIx.webp",j4="/assets/app-contacts-y9pU2LIo.webp",k4="/assets/app-donor-Cdmt9bVr.webp",O4="/assets/app-insights-CqzxfXCY.webp",D4="/assets/app-mail-Pq56rwR3.webp",L4="/assets/candles-BHE6w7wi.webp",z4="/assets/dad-vertical-CXE4-4Xs.webp",B4="/assets/dad-wide-CMsU15Pw.webp",N4="/assets/hero-CYtynSRJ.webp",P4="/assets/hor-CxRz0Veo.webp",U4="/assets/logo-B3JaC7mP.png",V4="/assets/portrait-ClyntQOu.webp",I4="/assets/quote-ClR5POKS.webp",H4="/assets/vertical-B4MGiskO.webp",q4="/assets/wide-CDBP6bru.webp",F4="/assets/1-CcTMhdc8.png",G4="/assets/2-B8kwKRsL.png",Y4="/assets/3-ChesSbis.png",Q4="/assets/4-CG8o3_2t.png",K4="/assets/5-BUHh2atW.png",X4="/assets/app-dashboard-CoGWXzHJ.webp",Z4="/assets/app-project-detail-DqOC9Q-z.webp",W4="/assets/app-projects-D8KUfQ5G.webp",J4="/assets/app-receipt-BXgdt7E-.webp",$4="/assets/craftswomen-CX2Y0Jt0.webp",eN="/assets/hero-BFDCBnCR.webp",tN="/assets/hor-Dwb4-67e.webp",nN="/assets/law-DIAabRMQ.webp",sN="/assets/logo-Cla5SFp6.png",aN="/assets/monzo-dsj6rfNN.webp",iN="/assets/portrait-C8humxgB.webp",oN="/assets/quote-D7jyE89N.webp",rN="/assets/redcarpet-CJP3VBUY.webp",lN="/assets/saath-team-B4O-2S0i.webp",cN="/assets/soccer-xLJhMVAG.webp",uN="/assets/sample-CBGKtq7i.mp4",fN=Object.assign({"../assets/images/isabel-eric-andreas/footer.webp":rB,"../assets/images/isabel-eric-andreas/lg_hor.webp":lB,"../assets/images/isabel-eric-andreas/logo.svg":cB,"../assets/images/isabel-eric-andreas/main.webp":uB,"../assets/images/isabel-eric-andreas/quote.webp":fB,"../assets/images/isabel-eric-andreas/quote_bg.webp":dB,"../assets/images/isabel-eric-andreas/quote_fg.webp":hB,"../assets/images/isabel-eric-andreas/sm_hor.webp":mB,"../assets/images/isabel-eric-andreas/sm_vert.webp":pB,"../assets/images/jaleel-and-hussein/app-menu.png":gB,"../assets/images/jaleel-and-hussein/app-orders.png":yB,"../assets/images/jaleel-and-hussein/app-settings.png":vB,"../assets/images/jaleel-and-hussein/footer.webp":bB,"../assets/images/jaleel-and-hussein/jaleel-crop.webp":wB,"../assets/images/jaleel-and-hussein/lg_hor.webp":xB,"../assets/images/jaleel-and-hussein/logo.png":SB,"../assets/images/jaleel-and-hussein/quote_bg.webp":_B,"../assets/images/jaleel-and-hussein/quote_fg.webp":TB,"../assets/images/jaleel-and-hussein/sm_hor.webp":AB,"../assets/images/jaleel-and-hussein/wide.webp":m_,"../assets/images/lex/lex-hero.webp":EB,"../assets/images/lex/lex-hor.webp":RB,"../assets/images/lex/lex-portrait.webp":CB,"../assets/images/lex/lex-quote.webp":MB,"../assets/images/lex/lg_hor.webp":jB,"../assets/images/lex/logo.png":kB,"../assets/images/lex/quote_bg.webp":OB,"../assets/images/lex/quote_fg.webp":DB,"../assets/images/lex/sm_hor.webp":LB,"../assets/images/new/Avara-hero-alternate.webp":zB,"../assets/images/new/Avara-hero.webp":BB,"../assets/images/new/Avara-hor.webp":NB,"../assets/images/new/Avara-portrait.webp":PB,"../assets/images/new/Avara-quote.webp":UB,"../assets/images/new/Klar-quote.webp":VB,"../assets/images/new/Quicktables-footer.webp":IB,"../assets/images/new/Quicktables-hero-alternate.webp":HB,"../assets/images/new/Quicktables-hero.webp":qB,"../assets/images/new/Quicktables-hor.webp":FB,"../assets/images/new/Quicktables-portrait-1.webp":GB,"../assets/images/new/Quicktables-portrait.webp":YB,"../assets/images/new/Quicktables-quote.webp":QB,"../assets/images/new/WNTD-hero-alternate.webp":KB,"../assets/images/new/WNTD-hero.webp":XB,"../assets/images/new/WNTD-hor.webp":ZB,"../assets/images/new/WNTD-portrait.webp":WB,"../assets/images/new/WNTD-quote.webp":JB,"../assets/images/new/klar-footer.webp":$B,"../assets/images/new/klar-hero-alternate.webp":e4,"../assets/images/new/klar-hero.webp":t4,"../assets/images/new/klar-hor.webp":n4,"../assets/images/new/klar-portrait-1.webp":s4,"../assets/images/new/klar-portrait-2.webp":a4,"../assets/images/new/klar-portrait.webp":i4,"../assets/images/new/klar-vert.webp":o4,"../assets/images/nico/lg_hor.webp":r4,"../assets/images/nico/lg_vert.webp":l4,"../assets/images/nico/logo.png":c4,"../assets/images/nico/main.webp":u4,"../assets/images/nico/overlap/1.webp":f4,"../assets/images/nico/overlap/2.webp":d4,"../assets/images/nico/overlap/3.webp":h4,"../assets/images/nico/quote.webp":m4,"../assets/images/nico/quote_bg.webp":p4,"../assets/images/nico/quote_fg.webp":g4,"../assets/images/nico/screenshots/1.png":y4,"../assets/images/nico/screenshots/10.png":v4,"../assets/images/nico/screenshots/2.png":b4,"../assets/images/nico/screenshots/3.png":w4,"../assets/images/nico/screenshots/4.png":x4,"../assets/images/nico/screenshots/5.png":S4,"../assets/images/nico/screenshots/6.png":_4,"../assets/images/nico/screenshots/7.png":T4,"../assets/images/nico/screenshots/8.png":A4,"../assets/images/nico/screenshots/9.png":E4,"../assets/images/nico/sm_vert.webp":R4,"../assets/images/overlays/overlay1.png":C4,"../assets/images/quinten-and-jef/app-campaign.webp":M4,"../assets/images/quinten-and-jef/app-contacts.webp":j4,"../assets/images/quinten-and-jef/app-donor.webp":k4,"../assets/images/quinten-and-jef/app-insights.webp":O4,"../assets/images/quinten-and-jef/app-mail.webp":D4,"../assets/images/quinten-and-jef/candles.webp":L4,"../assets/images/quinten-and-jef/dad-vertical.webp":z4,"../assets/images/quinten-and-jef/dad-wide.webp":B4,"../assets/images/quinten-and-jef/hero.webp":N4,"../assets/images/quinten-and-jef/hor.webp":P4,"../assets/images/quinten-and-jef/logo.png":U4,"../assets/images/quinten-and-jef/portrait.webp":V4,"../assets/images/quinten-and-jef/quote.webp":I4,"../assets/images/quinten-and-jef/vertical.webp":H4,"../assets/images/quinten-and-jef/wide.webp":q4,"../assets/images/wntd_screenshots/1.png":F4,"../assets/images/wntd_screenshots/2.png":G4,"../assets/images/wntd_screenshots/3.png":Y4,"../assets/images/wntd_screenshots/4.png":Q4,"../assets/images/wntd_screenshots/5.png":K4,"../assets/images/zain/app-dashboard.webp":X4,"../assets/images/zain/app-project-detail.webp":Z4,"../assets/images/zain/app-projects.webp":W4,"../assets/images/zain/app-receipt.webp":J4,"../assets/images/zain/craftswomen.webp":$4,"../assets/images/zain/hero.webp":eN,"../assets/images/zain/hor.webp":tN,"../assets/images/zain/law.webp":nN,"../assets/images/zain/logo.png":sN,"../assets/images/zain/monzo.webp":aN,"../assets/images/zain/portrait.webp":iN,"../assets/images/zain/quote.webp":oN,"../assets/images/zain/redcarpet.webp":rN,"../assets/images/zain/saath-team.webp":lN,"../assets/images/zain/soccer.webp":cN}),dN={"../assets/images/jaleel-and-hussein/wide.webp":m_};function Ga(e){if(!e)return;if(/^(https?:|data:|blob:)/.test(e)||e.startsWith("/__"))return e;const t=`../assets/images/${e.replace(/^\/images\//,"")}`;return fN[t]??dN[t]??e}const hN=Object.assign({"../assets/sample.mp4":uN});function VN(e){if(!e)return;if(/^(https?:|data:|blob:)/.test(e)||e.startsWith("/__"))return e;const t=`../assets/${e.replace(/^\/(videos|images)?\/?/,"")}`;return hN[t]??e}
384const mN=Object.assign({"../content/founders/isabel-eric-and-andreas.mdx":Gz,"../content/founders/jaleel-and-hussein.mdx":Kz,"../content/founders/lex.mdx":Wz,"../content/founders/nico.mdx":eB,"../content/founders/quinten-and-jef.mdx":sB,"../content/founders/zain.mdx":oB}),Km=new Map;for(const e of Object.values(mN))e?.frontmatter?.slug&&Km.set(e.frontmatter.slug,e);function pN(e){return e.founderCount==="plural"?"Founders of":"Founder of"}function IN(e){const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(t){const[,o,l]=t;return`${new Intl.DateTimeFormat("en-US",{month:"long"}).format(new Date(Number(o),Number(l)-1,1))} ${o}`}const a=new Date(e);return Number.isNaN(a.getTime())?e:a.toLocaleDateString("en-US",{month:"long",year:"numeric"})}function p_(e){return{...e,mainImageUrl:Ga(e.mainImageUrl)??"",smallVerticalImageUrl:Ga(e.smallVerticalImageUrl)??"",smallHorizontalImageUrl:Ga(e.smallHorizontalImageUrl)??"",quoteImageUrl:Ga(e.quoteImageUrl)??"",quoteBackgroundImageUrl:Ga(e.quoteBackgroundImageUrl),quoteForegroundImageUrl:Ga(e.quoteForegroundImageUrl),companyLogoUrl:Ga(e.companyLogoUrl)??""}}const vc=["zain","quinten-and-jef","jaleel-and-hussein","isabel-eric-and-andreas","lex","nico"];function gN(){return Array.from(Km.values()).map(e=>p_(e.frontmatter)).sort((e,t)=>{const a=vc.indexOf(e.slug),o=vc.indexOf(t.slug);return(a===-1?vc.length:a)-(o===-1?vc.length:o)})}function yN(e){const t=Km.get(e);return t?{frontmatter:p_(t.frontmatter),Component:t.default}:null}const vN=()=>Gr(()=>import("./index-vzEbFbNN.js"),__vite__mapDeps([0,1])),bN=au("/")({head:()=>({meta:[{title:"Founders â A publication by Lovable"},{name:"description",content:"Meet the builders rewriting what founding looks like. Four founders. Four companies. All built with Lovable."},{property:"og:title",content:"Founders â A publication by Lovable"},{property:"og:description",content:"Meet the builders rewriting what founding looks like."}]}),component:jr(vN,"component"),loader:async()=>({founders:await gN()})}),wN=()=>Gr(()=>import("./founder._slug-DFXVIDQY.js"),[]),xN=()=>Gr(()=>import("./founder._slug-fCBldklP.js"),__vite__mapDeps([2,1])),SN=au("/founder/$slug")({loader:async({params:e})=>{const t=yN(e.slug);if(!t)throw hE();return{frontmatter:t.frontmatter}},head:({loaderData:e})=>{const t=e?.frontmatter;if(!t)return{};const a=`${t.name} â ${pN(t)} ${t.companyName} | A publication by Lovable`;return{meta:[{title:a},{name:"description",content:t.excerpt},{property:"og:title",content:a},{property:"og:description",content:t.excerpt},{property:"og:image",content:t.mainImageUrl},{name:"twitter:image",content:t.mainImageUrl}]}},component:jr(xN,"component"),notFoundComponent:jr(wN,"notFoundComponent")}),_N=Vz.update({id:"/terms",path:"/terms",getParentRoute:()=>mo}),TN=Hz.update({id:"/privacy",path:"/privacy",getParentRoute:()=>mo}),AN=bN.update({id:"/",path:"/",getParentRoute:()=>mo}),EN=SN.update({id:"/founder/$slug",path:"/founder/$slug",getParentRoute:()=>mo}),RN={IndexRoute:AN,PrivacyRoute:TN,TermsRoute:_N,FounderSlugRoute:EN},CN=mo._addFileChildren(RN),MN=()=>{const e=new R3;return IM({routeTree:CN,context:{queryClient:e},scrollRestoration:!0,defaultPreloadStaleTime:0})};async function jN(){const e=await MN();let t;if(N0){const a=await N0.getOptions();a.serializationAdapters=a.serializationAdapters??[],window.__TSS_START_OPTIONS__=a,t=a.serializationAdapters,e.options.defaultSsr=a.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(GC),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:"",serializationAdapters:t}),e.stores.matchesId.get().length||await QC(e),e}async function kN(){const e=await jN();return window.$_TSR?.h(),e}var ch;function ON(){return ch||(ch=kN()),b.jsx(WC,{promise:ch,children:e=>b.jsx(FM,{router:e})})}U.startTransition(()=>{BA.hydrateRoot(document,b.jsx(U.StrictMode,{children:b.jsx(ON,{})}))});export{gN as $,DN as A,pM as B,I3 as C,qx as D,yN as E,hE as F,IN as G,Ne as H,As as I,zN as J,$j as K,lm as L,uu as M,lo as N,uS as O,dm as P,LS as Q,bN as R,BS as S,Wn as T,Rn as U,mb as V,kt as W,Lm as X,BN as Y,X1 as Z,rt as _,SN as a,WL as a0,U3 as a1,JL as a2,rB as a3,bB as a4,Tt as b,ot as c,oa as d,fm as e,pN as f,Dr as g,TD as h,Yk as i,b as j,iS as k,aS as l,Dm as m,ha as n,Kc as o,sa as p,qm as q,U as r,
384Ss as s,Fm as t,ti as u,rm as v,Ga as w,VN as x,UN as y,PN 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.