PageSourceSearch

https://wize-ru.lovable.app/assets/index-C801EUJE.js

js wize-ru.lovable.app collected 2026-10-03 03:46:24 UTC 552,819 bytes, 20 lines download raw bytes

vendor: 7,157 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/tech-stack-C0rLyjru.js","assets/server-BnWA23kL.js","assets/shield-BRVlVL3Z.js","assets/brain-CTNJKYN3.js","assets/code-xml-D0_yT9iM.js","assets/requisites-BSyxxRK8.js","assets/building-2-BUp2-cY3.js","assets/phone-DIPZ5VWA.js","assets/mail-D21u33Pc.js","assets/wallet-Ck8QmYXZ.js","assets/registry-Cy4jdVZ7.js","assets/earth-3ovVt8Vh.js","assets/pricing-DbZ-idpN.js","assets/users-PWKfbdWf.js","assets/arrow-right-zAHpJOgc.js","assets/contact-bt-dJShy.js","assets/blog-tB4jcjKO.js","assets/clock-BwPjkRSk.js","assets/index-DJ27Gj3g.js","assets/shield-check-CKkOmv43.js","assets/solutions._segment-D6DGoZAd.js","assets/arrow-left-CpGf7okX.js","assets/products._slug-l85CAfJ9.js","assets/blog._slug-COZV3k9Y.js"])))=>i.map(i=>d[i]);
2function UE(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $f={exports:{}},Or={};var uv;function kE(){if(uv)return Or;uv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(r,l,u){var c=null;if(u!==void 0&&(c=""+u),l.key!==void 0&&(c=""+l.key),"key"in l){u={};for(var h in l)h!=="key"&&(u[h]=l[h])}else u=l;return l=u.ref,{$$typeof:t,type:r,key:c,ref:l!==void 0?l:null,props:u}}return Or.Fragment=n,Or.jsx=s,Or.jsxs=s,Or}var cv;function HE(){return cv||(cv=1,$f.exports=kE()),$f.exports}var M=HE(),Wf={exports:{}},gt={};var fv;function qE(){if(fv)return gt;fv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function S(D){return D===null||typeof D!="object"?null:(D=b&&D[b]||D["@@iterator"],typeof D=="function"?D:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,E={};function R(D,K,et){this.props=D,this.context=K,this.refs=E,this.updater=et||w}R.prototype.isReactComponent={},R.prototype.setState=function(D,K){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,K,"setState")},R.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function O(){}O.prototype=R.prototype;function L(D,K,et){this.props=D,this.context=K,this.refs=E,this.updater=et||w}var j=L.prototype=new O;j.constructor=L,A(j,R.prototype),j.isPureReactComponent=!0;var F=Array.isArray;function I(){}var G={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function X(D,K,et){var it=et.ref;return{$$typeof:t,type:D,key:K,ref:it!==void 0?it:null,props:et}}function J(D,K){return X(D.type,K,D.props)}function tt(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function ct(D){var K={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(et){return K[et]})}var yt=/\/+/g;function At(D,K){return typeof D=="object"&&D!==null&&D.key!=null?ct(""+D.key):K.toString(36)}function vt(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(I,I):(D.status="pending",D.then(function(K){D.status==="pending"&&(D.status="fulfilled",D.value=K)},function(K){D.status==="pending"&&(D.status="rejected",D.reason=K)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function k(D,K,et,it,st){var ft=typeof D;(ft==="undefined"||ft==="boolean")&&(D=null);var wt=!1;if(D===null)wt=!0;else switch(ft){case"bigint":case"string":case"number":wt=!0;break;case"object":switch(D.$$typeof){case t:case n:wt=!0;break;case g:return wt=D._init,k(wt(D._payload),K,et,it,st)}}if(wt)return st=st(D),wt=it===""?"."+At(D,0):it,F(st)?(et="",wt!=null&&(et=wt.replace(yt,"$&/")+"/"),k(st,K,et,"",function(tn){return tn})):st!=null&&(tt(st)&&(st=J(st,et+(st.key==null||D&&D.key===st.key?"":(""+st.key).replace(yt,"$&/")+"/")+wt)),K.push(st)),1;wt=0;var Yt=it===""?".":it+":";if(F(D))for(var pt=0;pt<D.length;pt++)it=D[pt],ft=Yt+At(it,pt),wt+=k(it,K,et,ft,st);else if(pt=S(D),typeof pt=="function")for(D=pt.call(D),pt=0;!(it=D.next()).done;)it=it.value,ft=Yt+At(it,pt++),wt+=k(it,K,et,ft,st);else if(ft==="object"){if(typeof D.then=="function")return k(vt(D),K,et,it,st);throw K=String(D),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return wt}function $(D,K,et){if(D==null)return D;var it=[],st=0;return k(D,it,"","",function(ft){return K.call(et,ft,st++)}),it}function nt(D){if(D._status===-1){var K=D._result;K=K(),K.then(function(et){(D._status===0||D._status===-1)&&(D._status=1,D._result=et)},function(et){(D._status===0||D._status===-1)&&(D._status=2,D._result=et)}),D._status===-1&&(D._status=0,D._result=K)}if(D._status===1)return D._result.default;throw D._result}var mt=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},W={map:$,forEach:function(D,K,et){$(D,function(){K.apply(this,arguments)},et)},count:function(D){var K=0;return $(D,function(){K++}),K},toArray:function(D){return $(D,function(K){return K})||[]},only:function(D){if(!tt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return gt.Activity=y,gt.Children=W,gt.Component=R,gt.Fragment=s,gt.Profiler=l,gt.PureComponent=L,gt.StrictMode=r,gt.Suspense=m,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G,gt.__COMPILER_RUNTIME={__proto__:null,c:function(D){return G.H.useMemoCache(D)}},gt.cache=function(D){return function(){return D.apply(null,arguments)}},gt.cacheSignal=function(){return null},gt.cloneElement=function(D,K,et){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var it=A({},D.props),st=D.key;if(K!=null)for(ft in K.key!==void 0&&(st=""+K.key),K)!N.call(K,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&K.ref===void 0||(it[ft]=K[ft]);var ft=arguments.length-2;if(ft===1)it.children=et;else if(1<ft){for(var wt=Array(ft),Yt=0;Yt<ft;Yt++)wt[Yt]=arguments[Yt+2];it.children=wt}return X(D.type,st,it)},gt.createContext=function(D){return D={$$typeof:c,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:u,_context:D},D},gt.createElement=function(D,K,et){var it,st={},ft=null;if(K!=null)for(it in K.key!==void 0&&(ft=""+K.key),K)N.call(K,it)&&it
vendor: 13,221 bytes, line 2
2!=="key"&&it!=="__self"&&it!=="__source"&&(st[it]=K[it]);var wt=arguments.length-2;if(wt===1)st.children=et;else if(1<wt){for(var Yt=Array(wt),pt=0;pt<wt;pt++)Yt[pt]=arguments[pt+2];st.children=Yt}if(D&&D.defaultProps)for(it in wt=D.defaultProps,wt)st[it]===void 0&&(st[it]=wt[it]);return X(D,ft,st)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(D){return{$$typeof:h,render:D}},gt.isValidElement=tt,gt.lazy=function(D){return{$$typeof:g,_payload:{_status:-1,_result:D},_init:nt}},gt.memo=function(D,K){return{$$typeof:p,type:D,compare:K===void 0?null:K}},gt.startTransition=function(D){var K=G.T,et={};G.T=et;try{var it=D(),st=G.S;st!==null&&st(et,it),typeof it=="object"&&it!==null&&typeof it.then=="function"&&it.then(I,mt)}catch(ft){mt(ft)}finally{K!==null&&et.types!==null&&(K.types=et.types),G.T=K}},gt.unstable_useCacheRefresh=function(){return G.H.useCacheRefresh()},gt.use=function(D){return G.H.use(D)},gt.useActionState=function(D,K,et){return G.H.useActionState(D,K,et)},gt.useCallback=function(D,K){return G.H.useCallback(D,K)},gt.useContext=function(D){return G.H.useContext(D)},gt.useDebugValue=function(){},gt.useDeferredValue=function(D,K){return G.H.useDeferredValue(D,K)},gt.useEffect=function(D,K){return G.H.useEffect(D,K)},gt.useEffectEvent=function(D){return G.H.useEffectEvent(D)},gt.useId=function(){return G.H.useId()},gt.useImperativeHandle=function(D,K,et){return G.H.useImperativeHandle(D,K,et)},gt.useInsertionEffect=function(D,K){return G.H.useInsertionEffect(D,K)},gt.useLayoutEffect=function(D,K){return G.H.useLayoutEffect(D,K)},gt.useMemo=function(D,K){return G.H.useMemo(D,K)},gt.useOptimistic=function(D,K){return G.H.useOptimistic(D,K)},gt.useReducer=function(D,K,et){return G.H.useReducer(D,K,et)},gt.useRef=function(D){return G.H.useRef(D)},gt.useState=function(D){return G.H.useState(D)},gt.useSyncExternalStore=function(D,K,et){return G.H.useSyncExternalStore(D,K,et)},gt.useTransition=function(){return G.H.useTransition()},gt.version="19.2.5",gt}var dv;function ro(){return dv||(dv=1,Wf.exports=qE()),Wf.exports}var U=ro();const Kr=UE(U);var td={exports:{}},Dr={},ed={exports:{}},nd={};var hv;function FE(){return hv||(hv=1,(function(t){function n(k,$){var nt=k.length;k.push($);t:for(;0<nt;){var mt=nt-1>>>1,W=k[mt];if(0<l(W,$))k[mt]=$,k[nt]=W,nt=mt;else break t}}function s(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var $=k[0],nt=k.pop();if(nt!==$){k[0]=nt;t:for(var mt=0,W=k.length,D=W>>>1;mt<D;){var K=2*(mt+1)-1,et=k[K],it=K+1,st=k[it];if(0>l(et,nt))it<W&&0>l(st,et)?(k[mt]=st,k[it]=nt,mt=it):(k[mt]=et,k[K]=nt,mt=K);else if(it<W&&0>l(st,nt))k[mt]=st,k[it]=nt,mt=it;else break t}}return $}function l(k,$){var nt=k.sortIndex-$.sortIndex;return nt!==0?nt:k.id-$.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,h=c.now();t.unstable_now=function(){return c.now()-h}}var m=[],p=[],g=1,y=null,b=3,S=!1,w=!1,A=!1,E=!1,R=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function j(k){for(var $=s(p);$!==null;){if($.callback===null)r(p);else if($.startTime<=k)r(p),$.sortIndex=$.expirationTime,n(m,$);else break;$=s(p)}}function F(k){if(A=!1,j(k),!w)if(s(m)!==null)w=!0,I||(I=!0,ct());else{var $=s(p);$!==null&&vt(F,$.startTime-k)}}var I=!1,G=-1,N=5,X=-1;function J(){return E?!0:!(t.unstable_now()-X<N)}function tt(){if(E=!1,I){var k=t.unstable_now();X=k;var $=!0;try{t:{w=!1,A&&(A=!1,O(G),G=-1),S=!0;var nt=b;try{e:{for(j(k),y=s(m);y!==null&&!(y.expirationTime>k&&J());){var mt=y.callback;if(typeof mt=="function"){y.callback=null,b=y.priorityLevel;var W=mt(y.expirationTime<=k);if(k=t.unstable_now(),typeof W=="function"){y.callback=W,j(k),$=!0;break e}y===s(m)&&r(m),j(k)}else r(m);y=s(m)}if(y!==null)$=!0;else{var D=s(p);D!==null&&vt(F,D.startTime-k),$=!1}}break t}finally{y=null,b=nt,S=!1}$=void 0}}finally{$?ct():I=!1}}}var ct;if(typeof L=="function")ct=function(){L(tt)};else if(typeof MessageChannel<"u"){var yt=new MessageChannel,At=yt.port2;yt.port1.onmessage=tt,ct=function(){At.postMessage(null)}}else ct=function(){R(tt,0)};function vt(k,$){G=R(function(){k(t.unstable_now())},$)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(k){k.callback=null},t.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<k?Math.floor(1e3/k):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_next=function(k){switch(b){case 1:case 2:case 3:var $=3;break;default:$=b}var nt=b;b=$;try{return k()}finally{b=nt}},t.unstable_requestPaint=function(){E=!0},t.unstable_runWithPriority=function(k,$){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var nt=b;b=k;try{return $()}finally{b=nt}},t.unstable_scheduleCallback=function(k,$,nt){var mt=t.unstable_now();switch(typeof nt=="object"&&nt!==null?(nt=nt.delay,nt=typeof nt=="number"&&0<nt?mt+nt:mt):nt=mt,k){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=nt+W,k={id:g++,callback:$,priorityLevel:k,startTime:nt,expirationTime:W,sortIndex:-1},nt>mt?(k.sortIndex=nt,n(p,k),s(m)===null&&k===s(p)&&(A?(O(G),G=-1):A=!0,vt(F,nt-mt))):(k.sortIndex=W,n(m,k),w||S||(w=!0,I||(I=!0,ct()))),k},t.unstable_shouldYield=J,t.unstable_wrapCallback=function(k){var $=b;return function(){var nt=b;b=$;try{return k.apply(this,arguments)}finally{b=nt}}}})(nd)),nd}var mv;function GE(){return mv||(mv=1,ed.exports=FE()),ed.exports}var id={exports:{}},Ae={};var pv;function YE(){if(pv)return Ae;pv=1;var t=ro();function n(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(n(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(m,p,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:m,containerInfo:p,implementation:g}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ae.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Ae.createPortal=function(m,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(n(299));return u(m,p,null,g)},Ae.flushSync=function(m){var p=c.T,g=r.p;try{if(c.T=null,r.p=2,m)return m()}finally{c.T=p,r.p=g,r.d.f()}},Ae.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(m,p))},Ae.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},Ae.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var g=p.as,y=h(g,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?r.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:S}):g==="script"&&r.d.X(m,{crossOrigin:y,integrity:b,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ae.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=h(p.as,p.crossOrigin);r.d.M(m,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(m)},Ae.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,y=h(g,p.crossOrigin);r.d.L(m,g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ae.preloadModule=function(m,p){if(typeof m=="string")if(p){var g=h(p.as,p.crossOrigin);r.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(m)},Ae.requestFormReset=function(m){r.d.r(m)},Ae.unstable_batchedUpdates=function(m,p){return m(p)},Ae.useFormState=function(m,p,g){return c.H.useFormState(m,p,g)},Ae.useFormStatus=function(){return c.H.useHostTransitionStatus()},Ae.version="19.2.5",Ae}var gv;function Gb(){if(gv)return id.exports;gv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),id.exports=YE(),id.exports}var yv;function IE(){if(yv)return Dr;yv=1;var t=GE(),n=ro(),s=Gb();function r(e){var i="https://react.dev/errors/"+e;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var i=e,a=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,(i.flags&4098)!==0&&(a=i.return),e=i.return;while(e)}return i.tag===3?a:null}function c(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function h(e){if(e.tag===31){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(r(188))}function p(e){var i=e.alternate;if(!i){if(i=u(e),i===null)throw Error(r(188));return i!==e?null:e}for(var a=e,o=i;;){var f=a.return;if(f===null)break;var d=f.alternate;if(d===null){if(o=f.return,o!==null){a=o;continue}break}if(f.child===d.child){for(d=f.child;d;){if(d===a)return m(f),e;if(d===o)return m(f),i;d=d.sibling}throw Error(r(188))}if(a.return!==o.return)a=f,o=d;else{for(var v=!1,x=f.child;x;){if(x===a){v=!0,a=f,o=d;break}if(x===o){v=!0,o=f,a=d;break}x=x.sibling}if(!v){for(x=d.child;x;){if(x===a){v=!0,a=d,o=f;break}if(x===o){v=!0,o=d,a=f;break}x=x.sibling}if(!v)throw Error(r(189))}}if(a.alternate!==o)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:i}function g(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e;for(e=e.child;e!==null;){if(i=g(e),i!==null)return i;e=e.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),L=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),tt=Symbol.iterator;function ct(e){return e===null||typeof e!="object"?null:(e=tt&&e[tt]||e["@@iterator"],typeof e=="function"?e:null)}var yt=Symbol.for("react.client.reference");function At(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===yt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case R:return"Profiler";case E:return"StrictMode";case F:return"Suspense";case I:return"SuspenseList";case X:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case w:return"Portal";case L:return e.displayName||"Context";case O:return(e._context.displayName||"Context")+".Consumer";case j:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case G:return i=e.displayName||null,i!==null?i:At(e.type)||"Memo";case N:i=e._payload,e=e._init;try{return At(e(i))}catch{}}return null}var vt=Array.isArray,k=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nt={pending:!1,data:null,method:null,action:null},mt=[],W=-1;function D(e){return{current:e}}function K(e){0>W||(e.current=mt[W],mt[W]=null,W--)}function et(e,i){W++,mt[W]=e.current,e.current=i}var it=D(null),st=D(null),ft=D(null),wt=D(null);function Yt(e,i){switch(et(ft,i),et(st,e),et(it,null),i.nodeType){case 9:case 11:e=(e
vendor: 11,113 bytes, lines 2-9
2=i.documentElement)&&(e=e.namespaceURI)?jy(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=jy(i),e=zy(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}K(it),et(it,e)}function pt(){K(it),K(st),K(ft)}function tn(e){e.memoizedState!==null&&et(wt,e);var i=it.current,a=zy(i,e.type);i!==a&&(et(st,e),et(it,a))}function ze(e){st.current===e&&(K(it),K(st)),wt.current===e&&(K(wt),Rr._currentValue=nt)}var Fe,Nn;function Re(e){if(Fe===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);Fe=i&&i[1]||"",Nn=-1<a.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+Fe+e+Nn}var Pa=!1;function zs(e,i){if(!e||Pa)return"";Pa=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(i){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(q){var H=q}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(q){H=q}e.call(Z.prototype)}}else{try{throw Error()}catch(q){H=q}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(q){if(q&&H&&typeof q.stack=="string")return[q.stack,H.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),v=d[0],x=d[1];if(v&&x){var _=v.split(`
5`),V=x.split(`
6`);for(f=o=0;o<_.length&&!_[o].includes("DetermineComponentFrameRoot");)o++;for(;f<V.length&&!V[f].includes("DetermineComponentFrameRoot");)f++;if(o===_.length||f===V.length)for(o=_.length-1,f=V.length-1;1<=o&&0<=f&&_[o]!==V[f];)f--;for(;1<=o&&0<=f;o--,f--)if(_[o]!==V[f]){if(o!==1||f!==1)do if(o--,f--,0>f||_[o]!==V[f]){var Y=`
7`+_[o].replace(" at new "," at ");return e.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",e.displayName)),Y}while(1<=o&&0<=f);break}}}finally{Pa=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Re(a):""}function ho(e,i){switch(e.tag){case 26:case 27:case 5:return Re(e.type);case 16:return Re("Lazy");case 13:return e.child!==i&&i!==null?Re("Suspense Fallback"):Re("Suspense");case 19:return Re("SuspenseList");case 0:case 15:return zs(e.type,!1);case 11:return zs(e.type.render,!1);case 1:return zs(e.type,!0);case 31:return Re("Activity");default:return""}}function Pn(e){try{var i="",a=null;do i+=ho(e,a),a=e,e=e.return;while(e);return i}catch(o){return`
8Error generating stack: `+o.message+`
9`+o.stack}}var Zi=Object.prototype.hasOwnProperty,mn=t.unstable_scheduleCallback,Ba=t.unstable_cancelCallback,mo=t.unstable_shouldYield,Vu=t.unstable_requestPaint,Ee=t.unstable_now,Ht=t.unstable_getCurrentPriorityLevel,pe=t.unstable_ImmediatePriority,Tn=t.unstable_UserBlockingPriority,Ls=t.unstable_NormalPriority,Sw=t.unstable_LowPriority,dm=t.unstable_IdlePriority,xw=t.log,ww=t.unstable_setDisableYieldValue,Va=null,Ge=null;function ri(e){if(typeof xw=="function"&&ww(e),Ge&&typeof Ge.setStrictMode=="function")try{Ge.setStrictMode(Va,e)}catch{}}var Ye=Math.clz32?Math.clz32:Aw,Tw=Math.log,Ew=Math.LN2;function Aw(e){return e>>>=0,e===0?32:31-(Tw(e)/Ew|0)|0}var po=256,go=262144,yo=4194304;function Ji(e){var i=e&42;if(i!==0)return i;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function vo(e,i,a){var o=e.pendingLanes;if(o===0)return 0;var f=0,d=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var x=o&134217727;return x!==0?(o=x&~d,o!==0?f=Ji(o):(v&=x,v!==0?f=Ji(v):a||(a=x&~e,a!==0&&(f=Ji(a))))):(x=o&~d,x!==0?f=Ji(x):v!==0?f=Ji(v):a||(a=o&~e,a!==0&&(f=Ji(a)))),f===0?0:i!==0&&i!==f&&(i&d)===0&&(d=f&-f,a=i&-i,d>=a||d===32&&(a&4194048)!==0)?i:f}function Ua(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function Rw(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hm(){var e=yo;return yo<<=1,(yo&62914560)===0&&(yo=4194304),e}function Uu(e){for(var i=[],a=0;31>a;a++)i.push(e);return i}function ka(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Cw(e,i,a,o,f,d){var v=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var x=e.entanglements,_=e.expirationTimes,V=e.hiddenUpdates;for(a=v&~a;0<a;){var Y=31-Ye(a),Z=1<<Y;x[Y]=0,_[Y]=-1;var H=V[Y];if(H!==null)for(V[Y]=null,Y=0;Y<H.length;Y++){var q=H[Y];q!==null&&(q.lane&=-536870913)}a&=~Z}o!==0&&mm(e,o,0),d!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=d&~(v&~i))}function mm(e,i,a){e.pendingLanes|=i,e.suspendedLanes&=~i;var o=31-Ye(i);e.entangledLanes|=i,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function pm(e,i){var a=e.entangledLanes|=i;for(e=e.entanglements;a;){var o=31-Ye(a),f=1<<o;f&i|e[o]&i&&(e[o]|=i),a&=~f}}function gm(e,i){var a=i&-i;return a=(a&42)!==0?1:ku(a),(a&(e.suspendedLanes|i))!==0?0:a}function ku(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Hu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ym(){var e=$.p;return e!==0?e:(e=window.event,e===void 0?32:nv(e.type))}function vm(e,i){var a=$.p;try{return $.p=e,i()}finally{$.p=a}}var oi=Math.random().toString(36).slice(2),ge="__reactFiber$"+oi,Le="__reactProps$"+oi,Ns="__reactContainer$"+oi,qu="__reactEvents$"+oi,Mw="__reactListeners$"+oi,_w="__reactHandles$"+oi,bm="__reactResources$"+oi,Ha="__reactMarker$"+oi;function Fu(e){delete e[ge],delete e[Le],delete e[qu],delete e[Mw],delete e[_w]}function Ps(e){var i=e[ge];if(i)return i;for(var a=e.parentNode;a;){if(i=a[Ns]||a[ge]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(e=ky(e);e!==null;){if(a=e[ge])return a;e=ky(e)}return i}e=a,a=e.parentNode}return null}function Bs(e){if(e=e[ge]||e[Ns]){var i=e.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return e}return null}function qa(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e.stateNode;throw Error(r(33))}function Vs(e){var i=e[bm];return i||(i=e[bm]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function fe(e){e[Ha]=!0}var Sm=new Set,xm={};function $i(e,i){Us(e,i),Us(e+"Capture",i)}function Us(e,i){for(xm[e]=i,e=0;e<i.length;e++)Sm.add(i[e])}var Ow=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]*$"),wm={},Tm={};function Dw(e){return Zi.call(Tm,e)?!0:Zi.call(wm,e)?!1:Ow.test(e)?Tm[e]=!0:(wm[e]=!0,!1)}function bo(e,i,a){if(Dw(i))if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(i);return;case"boolean":var o=i.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(i);return}}e.setAttribute(i,""+a)}}function So(e,i,a){if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttribute(i,""+a)}}function Bn(e,i,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(i,a,""+o)}}function en(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Em(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function jw(e,i,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);if(!e.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,d=o.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return f.call(this)},set:function(v){a=""+v,d.call(this,v)}}),Object.defineProperty(e,i,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(v){a=""+v},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function Gu(e){if(!e._valueTracker){var i=Em(e)?"checked":"value";e._valueTracker=jw(e,i,""+e[i])}}function Am(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var a=i.getValue(),o="";return e&&(o=Em(e)?e.checked?"true":"false":e.value),e=o,e!==a?(i.setValue(e),!0):!1}function xo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var zw=/[\n"\\]/g;function nn(e){return e.replace(zw,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Yu(e,i,a,o,f,d,v,x){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),i!=null?v==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+en(i)):e.value!==""+en(i)&&(e.value=""+en(i)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),i!=null?Iu(e,v,en(i)):a!=null?Iu(e,v,en(a)):o!=null&&e.removeAttribute("value"),f==null&&d!=null&&(e.defaultChecked=!!d),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+en(x):e.removeAttribute("name")}function Rm(e,i,a,o,f,d,v,x){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),i!=null||a!=null){if(!(d!=="submit"&&d!=="reset"||i!=null)){Gu(e);return}a=a!=null?""+en(a):"",i=i!=null?""+en(i):a,x||i===e.value||(e.value=i),e.defaultValue=i}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=x?e.checked:!!o,e.defaultChecked=!!o,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),Gu
vendor: 5,074 bytes, line 9
9(e)}function Iu(e,i,a){i==="number"&&xo(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function ks(e,i,a,o){if(e=e.options,i){i={};for(var f=0;f<a.length;f++)i["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=i.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&o&&(e[a].defaultSelected=!0)}else{for(a=""+en(a),i=null,f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,o&&(e[f].defaultSelected=!0);return}i!==null||e[f].disabled||(i=e[f])}i!==null&&(i.selected=!0)}}function Cm(e,i,a){if(i!=null&&(i=""+en(i),i!==e.value&&(e.value=i),a==null)){e.defaultValue!==i&&(e.defaultValue=i);return}e.defaultValue=a!=null?""+en(a):""}function Mm(e,i,a,o){if(i==null){if(o!=null){if(a!=null)throw Error(r(92));if(vt(o)){if(1<o.length)throw Error(r(93));o=o[0]}a=o}a==null&&(a=""),i=a}a=en(i),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),Gu(e)}function Hs(e,i){if(i){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=i;return}}e.textContent=i}var Lw=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 _m(e,i,a){var o=i.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="":o?e.setProperty(i,a):typeof a!="number"||a===0||Lw.has(i)?i==="float"?e.cssFloat=a:e[i]=(""+a).trim():e[i]=a+"px"}function Om(e,i,a){if(i!=null&&typeof i!="object")throw Error(r(62));if(e=e.style,a!=null){for(var o in a)!a.hasOwnProperty(o)||i!=null&&i.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var f in i)o=i[f],i.hasOwnProperty(f)&&a[f]!==o&&_m(e,f,o)}else for(var d in i)i.hasOwnProperty(d)&&_m(e,d,i[d])}function Xu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Nw=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
9-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pw=/^[\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 wo(e){return Pw.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Vn(){}var Ku=null;function Qu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qs=null,Fs=null;function Dm(e){var i=Bs(e);if(i&&(e=i.stateNode)){var a=e[Le]||null;t:switch(e=i.stateNode,i.type){case"input":if(Yu(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),i=a.name,a.type==="radio"&&i!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+nn(""+i)+'"][type="radio"]'),i=0;i<a.length;i++){var o=a[i];if(o!==e&&o.form===e.form){var f=o[Le]||null;if(!f)throw Error(r(90));Yu(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(i=0;i<a.length;i++)o=a[i],o.form===e.form&&Am(o)}break t;case"textarea":Cm(e,a.value,a.defaultValue);break t;case"select":i=a.value,i!=null&&ks(e,!!a.multiple,i,!1)}}}var Zu=!1;function jm(e,i,a){if(Zu)return e(i,a);Zu=!0;try{var o=e(i);return o}finally{if(Zu=!1,(qs!==null||Fs!==null)&&(ul(),qs&&(i=qs,e=Fs,Fs=qs=null,Dm(i),e)))for(i=0;i<e.length;i++)Dm(e[i])}}function Fa(e,i){var a=e.stateNode;if(a===null)return null;var o=a[Le]||null;if(o===null)return null;a=o[i];
vendor: 8,993 bytes, line 9
9t:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break t;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,i,typeof a));return a}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ju=!1;if(Un)try{var Ga={};Object.defineProperty(Ga,"passive",{get:function(){Ju=!0}}),window.addEventListener("test",Ga,Ga),window.removeEventListener("test",Ga,Ga)}catch{Ju=!1}var li=null,$u=null,To=null;function zm(){if(To)return To;var e,i=$u,a=i.length,o,f="value"in li?li.value:li.textContent,d=f.length;for(e=0;e<a&&i[e]===f[e];e++);var v=a-e;for(o=1;o<=v&&i[a-o]===f[d-o];o++);return To=f.slice(e,1<o?1-o:void 0)}function Eo(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function Ao(){return!0}function Lm(){return!1}function Ne(e){function i(a,o,f,d,v){this._reactName=a,this._targetInst=f,this.type=o,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(a=e[x],this[x]=a?a(d):d[x]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ao:Lm,this.isPropagationStopped=Lm,this}return y(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ao)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ao)},persist:function(){},isPersistent:Ao}),i}var Wi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ro=Ne(Wi),Ya=y({},Wi,{view:0,detail:0}),Bw=Ne(Ya),Wu,tc,Ia,Co=y({},Ya,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ia&&(Ia&&e.type==="mousemove"?(Wu=e.screenX-Ia.screenX,tc=e.screenY-Ia.screenY):tc=Wu=0,Ia=e),Wu)},movementY:function(e){return"movementY"in e?e.movementY:tc}}),Nm=Ne(Co),Vw=y({},Co,{dataTransfer:0}),Uw=Ne(Vw),kw=y({},Ya,{relatedTarget:0}),ec=Ne(kw),Hw=y({},Wi,{animationName:0,elapsedTime:0,pseudoElement:0}),qw=Ne(Hw),Fw=y({},Wi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gw=Ne(Fw),Yw=y({},Wi,{data:0}),Pm=Ne(Yw),Iw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xw={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"},Kw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qw(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=Kw[e])?!!i[e]:!1}function nc(){return Qw}var Zw=y({},Ya,{key:function(e){if(e.key){var i=Iw[e.key]||e.key;if(i!=="Unidentified")return i}return e.type==="keypress"?(e=Eo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nc,charCode:function(e){return e.type==="keypress"?Eo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Jw=Ne(Zw),$w=y({},Co,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bm=Ne($w),Ww=y({},Ya,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nc}),tT=Ne(Ww),eT=y({},Wi,{propertyName:0,elapsedTime:0,pseudoElement:0}),nT=Ne(eT),iT=y({},Co,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),sT=Ne(iT),aT=y({},Wi,{newState:0,oldState:0}),rT=Ne(aT),oT=[9,13,27,32],ic=Un&&"CompositionEvent"in window,Xa=null;Un&&"documentMode"in document&&(Xa=document.documentMode);var lT=Un&&"TextEvent"in window&&!Xa,Vm=Un&&(!ic||Xa&&8<Xa&&11>=Xa),Um=" ",km=!1;function Hm(e,i){switch(e){case"keyup":return oT.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gs=!1;function uT(e,i){switch(e){case"compositionend":return qm(i);case"keypress":return i.which!==32?null:(km=!0,Um);case"textInput":return e=i.data,e===Um&&km?null:e;default:return null}}function cT(e,i){if(Gs)return e==="compositionend"||!ic&&Hm(e,i)?(e=zm(),To=$u=li=null,Gs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Vm&&i.locale!=="ko"?null:i.data;default:return null}}var fT={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 Fm(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!fT[e.type]:i==="textarea"}function Gm(e,i,a,o){qs?Fs?Fs.push(o):Fs=[o]:qs=o,i=gl(i,"onChange"),0<i.length&&(a=new Ro("onChange","change",null,a,o),e.push({event:a,listeners:i}))}var Ka=null,Qa=null;function dT(e){Ry(e,0)}function Mo(e){var i=qa(e);if(Am(i))return e}function Ym(e,i){if(e==="change")return i}var Im=!1;if(Un){var sc;if(Un){var ac="oninput"in document;if(!ac){var Xm=document.createElement("div");Xm.setAttribute("oninput","return;"),ac=typeof Xm.oninput=="function"}sc=ac}else sc=!1;Im=sc&&(!document.documentMode||9<document.documentMode)}function Km(){Ka&&(Ka.detachEvent("onpropertychange",Qm),Qa=Ka=null)}function Qm(e){if(e.propertyName==="value"&&Mo(Qa)){var i=[];Gm(i,Qa,e,Qu(e)),jm(dT,i)}}function hT(e,i,a){e==="focusin"?(Km(),Ka=i,Qa=a,Ka.attachEvent("onpropertychange",Qm)):e==="focusout"&&Km()}function mT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Mo(Qa)}function pT(e,i){if(e==="click")return Mo(i)}function gT(e,i){if(e==="input"||e==="change")return Mo(i)}function yT(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var Ie=typeof Object.is=="function"?Object.is:yT;function Za(e,i){if(Ie(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var a=Object.keys(e),o=Object.keys(i);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var f=a[o];if(!Zi.call(i,f)||!Ie(e[f],i[f]))return!1}return!0}function Zm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jm(e,i){var a=Zm(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=i&&o>=i)return{node:a,offset:i-e};e=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Zm(a)}}function $m(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?$m(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function Wm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=xo(e.document);i instanceof e.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)e=i.contentWindow;else break;i=xo(e.document)}return i}function rc(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var vT=Un&&"documentMode"in document&&11>=document.documentMode,Ys=null,oc=null,Ja=null,lc=!1;function tp(e,i,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;lc||Ys==null||Ys!==xo(o)||(o=Ys,"selectionStart"in o&&rc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focu
vendor: 17,018 bytes, line 9
9sNode:o.focusNode,focusOffset:o.focusOffset}),Ja&&Za(Ja,o)||(Ja=o,o=gl(oc,"onSelect"),0<o.length&&(i=new Ro("onSelect","select",null,i,a),e.push({event:i,listeners:o}),i.target=Ys)))}function ts(e,i){var a={};return a[e.toLowerCase()]=i.toLowerCase(),a["Webkit"+e]="webkit"+i,a["Moz"+e]="moz"+i,a}var Is={animationend:ts("Animation","AnimationEnd"),animationiteration:ts("Animation","AnimationIteration"),animationstart:ts("Animation","AnimationStart"),transitionrun:ts("Transition","TransitionRun"),transitionstart:ts("Transition","TransitionStart"),transitioncancel:ts("Transition","TransitionCancel"),transitionend:ts("Transition","TransitionEnd")},uc={},ep={};Un&&(ep=document.createElement("div").style,"AnimationEvent"in window||(delete Is.animationend.animation,delete Is.animationiteration.animation,delete Is.animationstart.animation),"TransitionEvent"in window||delete Is.transitionend.transition);function es(e){if(uc[e])return uc[e];if(!Is[e])return e;var i=Is[e],a;for(a in i)if(i.hasOwnProperty(a)&&a in ep)return uc[e]=i[a];return e}var np=es("animationend"),ip=es("animationiteration"),sp=es("animationstart"),bT=es("transitionrun"),ST=es("transitionstart"),xT=es("transitioncancel"),ap=es("transitionend"),rp=new Map,cc="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(" ");cc.push("scrollEnd");function pn(e,i){rp.set(e,i),$i(i,[e])}var _o=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},sn=[],Xs=0,fc=0;function Oo(){for(var e=Xs,i=fc=Xs=0;i<e;){var a=sn[i];sn[i++]=null;var o=sn[i];sn[i++]=null;var f=sn[i];sn[i++]=null;var d=sn[i];if(sn[i++]=null,o!==null&&f!==null){var v=o.pending;v===null?f.next=f:(f.next=v.next,v.next=f),o.pending=f}d!==0&&op(a,f,d)}}function Do(e,i,a,o){sn[Xs++]=e,sn[Xs++]=i,sn[Xs++]=a,sn[Xs++]=o,fc|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function dc(e,i,a,o){return Do(e,i,a,o),jo(e)}function ns(e,i){return Do(e,null,null,i),jo(e)}function op(e,i,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var f=!1,d=e.return;d!==null;)d.childLanes|=a,o=d.alternate,o!==null&&(o.childLanes|=a),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(f=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,f&&i!==null&&(f=31-Ye(a),e=d.hiddenUpdates,o=e[f],o===null?e[f]=[i]:o.push(i),i.lane=a|536870912),d):null}function jo(e){if(50<br)throw br=0,wf=null,Error(r(185));for(var i=e.return;i!==null;)e=i,i=e.return;return e.tag===3?e.stateNode:null}var Ks={};function wT(e,i,a,o){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xe(e,i,a,o){return new wT(e,i,a,o)}function hc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kn(e,i){var a=e.alternate;return a===null?(a=Xe(e.tag,i,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=i,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,i=e.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function lp(e,i){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=i,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,i=a.dependencies,e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),e}function zo(e,i,a,o,f,d){var v=0;if(o=e,typeof e=="function")hc(e)&&(v=1);else if(typeof e=="string")v=CE(e,a,it.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case X:return e=Xe(31,a,i,f),e.elementType=X,e.lanes=d,e;case A:return is(a.children,f,d,i);case E:v=8,f|=24;break;case R:return e=Xe(12,a,i,f|2),e.elementType=R,e.lanes=d,e;case F:return e=Xe(13,a,i,f),e.elementType=F,e.lanes=d,e;case I:return e=Xe(19,a,i,f),e.elementType=I,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case L:v=10;break t;case O:v=9;break t;case j:v=11;break t;case G:v=14;break t;case N:v=16,o=null;break t}v=29,a=Error(r(130,e===null?"null":typeof e,"")),o=null}return i=Xe(v,a,i,f),i.elementType=e,i.type=o,i.lanes=d,i}function is(e,i,a,o){return e=Xe(7,e,o,i),e.lanes=a,e}function mc(e,i,a){return e=Xe(6,e,null,i),e.lanes=a,e}function up(e){var i=Xe(18,null,null,0);return i.stateNode=e,i}function pc(e,i,a){return i=Xe(4,e.children!==null?e.children:[],e.key,i),i.lanes=a,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}var cp=new WeakMap;function an(e,i){if(typeof e=="object"&&e!==null){var a=cp.get(e);return a!==void 0?a:(i={value:e,source:i,stack:Pn(i)},cp.set(e,i),i)}return{value:e,source:i,stack:Pn(i)}}var Qs=[],Zs=0,Lo=null,$a=0,rn=[],on=0,ui=null,En=1,An="";function Hn(e,i){Qs[Zs++]=$a,Qs[Zs++]=Lo,Lo=e,$a=i}function fp(e,i,a){rn[on++]=En,rn[on++]=An,rn[on++]=ui,ui=e;var o=En;e=An;var f=32-Ye(o)-1;o&=~(1<<f),a+=1;var d=32-Ye(i)+f;if(30<d){var v=f-f%5;d=(o&(1<<v)-1).toString(32),o>>=v,f-=v,En=1<<32-Ye(i)+f|a<<f|o,An=d+e}else En=1<<d|a<<f|o,An=e}function gc(e){e.return!==null&&(Hn(e,1),fp(e,1,0))}function yc(e){for(;e===Lo;)Lo=Qs[--Zs],Qs[Zs]=null,$a=Qs[--Zs],Qs[Zs]=null;for(;e===ui;)ui=rn[--on],rn[on]=null,An=rn[--on],rn[on]=null,En=rn[--on],rn[on]=null}function dp(e,i){rn[on++]=En,rn[on++]=An,rn[on++]=ui,En=i.id,An=i.overflow,ui=e}var ye=null,qt=null,Mt=!1,ci=null,ln=!1,vc=Error(r(519));function fi(e){var i=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Wa(an(i,e)),vc}function hp(e){var i=e.stateNode,a=e.type,o=e.memoizedProps;switch(i[ge]=e,i[Le]=o,a){case"dialog":Et("cancel",i),Et("close",i);break;case"iframe":case"object":case"embed":Et("load",i);break;case"video":case"audio":for(a=0;a<xr.length;a++)Et(xr[a],i);break;case"source":Et("error",i);break;case"img":case"image":case"link":Et("error",i),Et("load",i);break;case"details":Et("toggle",i);break;case"input":Et("invalid",i),Rm(i,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Et("invalid",i);break;case"textarea":Et("invalid",i),Mm(i,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||i.textContent===""+a||o.suppressHydrationWarning===!0||Oy(i.textContent,a)?(o.popover!=null&&(Et("beforetoggle",i),Et("toggle",i)),o.onScroll!=null&&Et("scroll",i),o.onScrollEnd!=null&&Et("scrollend",i),o.onClick!=null&&(i.onclick=Vn),i=!0):i=!1,i||fi(e,!0)}function mp(e){for(ye=e.return;ye;)switch(ye.tag){case 5:case 31:case 13:ln=!1;return;case 27:case 3:ln=!0;return;default:ye=ye.return}}function Js(e){if(e!==ye)return!1;if(!Mt)return mp(e),Mt=!0,!1;var i=e.tag,a;if((a=i!==3&&i!==27)&&((a=i===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Bf(e.type,e.memoizedProps)),a=!a),a&&qt&&fi(e),mp(e),i===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qt=Uy(e)}else if(i===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qt=Uy(e)}else i===27?(i=qt,Ai(e.type)?(e=qf,qf=null,qt=e):qt=i):qt=ye?cn(e.stateNode.nextSibling):null;return!0}function ss(){qt=ye=null,Mt=!1}function bc(){var e=ci;return e!==null&&(Ue===null?Ue=e:Ue.push.apply(Ue,e),ci=null),e}function Wa(e){ci===null?ci=[e]:ci.push(e)}var Sc=D(null),as=null,qn=null;function di(e,i,a){et(Sc,i._currentValue),i._currentValue=a}function Fn(e){e._currentValue=Sc.current,K(Sc)}function xc(e,i,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,o!==null&&(o.childLanes|=i)):o!==null&&(o.childLanes&i)!==i&&(o.childLanes|=i),e===a)break;e=e.return}}function wc(e,i,a,o){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var d=f.dependencies;if(d!==null){var v=f.child;d=d.firstContext;t:for(;d!==null;){var x=d;d=f;for(var _=0;_<i.length;_++)if(x.context===i[_]){d.lanes|=a,x=d.alternate,x!==null&&(x.lanes|=a),xc(d.return,a,e),o||(v=null);break t}d=x.next}}else if(f.tag===18){if(v=f.return,v===null)throw Error(r(341));v.lanes|=a,d=v.alternate,d!==null&&(d.lanes|=a),xc(v,a,e),v=null}else v=f.child;if(v!==null)v.return=f;else for(v=f;v!==null;){if(v===e){v=null;break}if(f=v.sibling,f!==null){f.return=v.return,v=f;break}v=v.return}f=v}}function $s(e,i,a,o){e=null;for(var f=i,d=!1;f!==null;){if(!d){if((f.flags&524288)!==0)d=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var v=f.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var x=f.type;Ie(f.pendingProps.value,v.value)||(e!==null?e.push(x):e=[x])}}else if(f===wt.current){if(v=f.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(Rr):e=[Rr])}f=f.return}e!==null&&wc(i,e,a,o),i.flags|=262144}function No(e){for(e=e.firstContext;e!==null;){if(!Ie(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rs(e){as=e,qn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ve(e){return pp(as,e)}function Po(e,i){return as===null&&rs(e),pp(e,i)}function pp(e,i){var a=i._currentValue;if(i={context:i,memoizedValue:a,next:null},qn===null){if(e===null)throw Error(r(308));qn=i,e.dependencies={lanes:0,firstContext:i},e.flags|=524288}else qn=qn.next=i;return a}var TT=typeof AbortController<"u"?AbortController:function(){var e=[],i=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){i.aborted=!0,e.forEach(function(a){return a()})}},ET=t.unstable_scheduleCallback,AT=t.unstable_NormalPriority,Wt={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Tc(){return{controller:new TT,data:new Map,refCount:0}}function tr(e){e.refCount--,e.refCount===0&&ET(AT,function(){e.controller.abort()})}var er=null,Ec=0,Ws=0,ta=null;function RT(e,i){if(er===null){var a=er=[];Ec=0,Ws=Mf(),ta={status:"pending",value:void 0,then:function(o){a.push(o)}}}return Ec++,i.then(gp,gp),i}function gp(){if(--Ec===0&&er!==null){ta!==null&&(ta.status="fulfilled");var e=er;er=null,Ws=0,ta=null;for(var i=0;i<e.length;i++)(0,e[i])()}}function CT(e,i){var a=[],o={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){o.status="fulfilled",o.value=i;for(var f=0;f<a.length;f++)(0,a[f])(i)},function(f){for(o.status="rejected",o.reason=f,f=0;f<a.length;f++)(0,a[f])(void 0)}),o}var yp=k.S;k.S=function(e,i){ty=Ee(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&RT(e,i),yp!==null&&yp(e,i)};var os=D(null);function Ac(){var e=os.current;return e!==null?e:Vt.pooledCache}function Bo(e,i){i===null?et(os,os.current):et(os,i.pool)}function vp(){var e=Ac();return e===null?null:{parent:Wt._currentValue,pool:e}}var ea=Error(r(460)),Rc=Error(r(474)),Vo=Error(r(542)),Uo={then:function(){}};function bp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Sp(e,i,a){switch(a=e[a],a===void 0?e.push(i):a!==i&&(i.then(Vn,Vn),i=a),i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,wp(e),e;default:if(typeof i.status=="string")i.then(Vn,Vn);else{if(e=Vt,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=i,e.status="pending",e.then(function(o){if(i.status==="pending"){var f=i;f.status="fulfilled",f.value=o}},function(o){if(i.status==="pending"){var f=i;f.status="rejected",f.reason=o}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,wp(e),e}throw us=i,ea}}function ls(e){try{var i=e._init;return i(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(us=a,ea):a}}var us=null;function xp(){if(us===null)throw Error(r(459));var e=us;return us=null,e}function wp(e){if(e===ea||e===Vo)throw Error(r(483))}var na=null,nr=0;function ko(e){var i=nr;return nr+=1,na===null&&(na=[]),Sp(na,e,i)}function ir(e,i){i=i.props.ref,e.ref=i!==void 0?i:null}function Ho(e,i){throw i.$$typeof===b?Error(r(525)):(e=Object.prototype.toString.call(i),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e)))}function Tp(e){function i(P,z){if(e){var B=P.deletions;B===null?(P.deletions=[z],P.flags|=16):B.push(z)}}function a(P,z){if(!e)return null;for(;z!==null;)i(P,z),z=z.sibling;return null}function o(P){for(var z=new Map;P!==null;)P.key!==null?z.set(P.key,P):z.set(P.index,P),P=P.sibling;return z}function f(P,z){return P=kn(P,z),P.index=0,P.sibling=null,P}function d(P,z,B){return P.index=B,e?(B=P.alternate,B!==null?(B=B.index,B<z?(P.flags|=67108866,z):B):(P.flags|=67108866,z)):(P.flags|=1048576,z)}function v(P){return e&&P.alternate===null&&(P.flags|=67108866),P}function x(P,z,B,Q){return z===null||z.tag!==6?(z=mc(B,P.mode,Q),z.return=P,z):(z=f(z,B),z.return=P,z)}function _(P,z,B,Q){var dt=B.type;return dt===A?Y(P,z,B.props.children,Q,B.key):z!==null&&(z.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===N&&ls(dt)===z.type)?(z=f(z,B.props),ir(z,B),z.return=P,z):(z=zo(B.type,B.key,B.props,null,P.mode,Q),ir(z,B),z.return=P,z)}function V(P,z,B,Q){return z===null||z.tag!==4||z.stateNode.containerInfo!==B.containerInfo||z.stateNode.implementation!==B.implementation?(z=pc(B,P.mode,Q),z.return=P,z):(z=f(z,B.children||[]),z.return=P,z)}function Y(P,z,B,Q,dt){return z===null||z.tag!==7?(z=is(B,P.mode,Q,dt),z.return=P,z):(z=f(z,B),z.return=P,z)}function Z(P,z,B){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=mc(""+z,P.mode,B),z.return=P,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case S:return B=zo(z.type,z.key,z.props,null,P.mode,B),ir(B,z),B.return=P,B;case w:return z=pc(z,P.mode,B),z.return=P,z;case N:return z=ls(z),Z(P,z,B)}if(vt(z)||ct(z))return z=is(z,P.mode,B,null),z.return=P,z;if(typeof z.then=="function")return Z(P,ko(z),B);if(z.$$typeof===L)return Z(P,Po(P,z),B);Ho(P,z)}return null}function H(P,z,B,Q){var dt=z!==null?z.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return dt!==null?null:x(P,z,""+B,Q);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case S:return B.key===dt?_(P,z,B,Q):null;case w:return B.key===dt?V(P,z,B,Q):null;case N:return B=ls(B),H(P,z,B,Q)}if(vt(B)||ct(B))return dt!==null?null:Y(P,z,B,Q,null);if(typeof B.then=="function")return H(P,z,ko(B),Q);if(B.$$typeof===L)return H(P,z,Po(P,B),Q);Ho(P,B)}return null}function q(P,z,B,Q,dt){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return P=P.get(B)||null,x(z,P,""+Q,dt);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case S:return P=P.get(Q.key===null?B:Q.key)||null,_(z,P,Q,dt);case w:return P=P.get(Q.key===null?B:Q.key)||null,V(z,P,Q,dt);case N:return Q=ls(Q),q(P,z,B,Q,dt)}if(vt(Q)||ct(Q))return P=P.get(B)||null,Y(z,P,Q,dt,null);if(typeof Q.then=="function")return q(P,z,B,ko(Q),dt);if(Q.$$typeof===L)return q(P,z,B,Po(z,Q),dt);Ho(z,Q)}return null}function at(P,z,B,Q){for(var dt=null,_t=null,ut=z,St=z=0,Ct=null;ut!==null&&St<B.length;St++){ut.index>St?(Ct=ut,ut=null):Ct=ut.sibling;var Ot=H(P,ut,B[St],Q);if(Ot===null){ut===null&&(ut=Ct);break}e&&ut&&Ot.alternate===null&&i(P,ut),z=d(Ot,z,St),_t===null?dt=Ot:_t.sibling=Ot,_t=Ot,ut=Ct}if(St===B.length)return a(P,ut),Mt&&Hn(P,St),dt;if(ut===null){for(;St<B.length;St++)ut=Z(P,B[St],Q),ut!==null&&(z=d(ut,z,St),_t===null?dt=ut:_t.sibling=ut,_t=ut);return Mt&&Hn(P,St),dt}for(ut=o(ut);St<B.length;St++)Ct=q(ut,P,St,B[St],Q),Ct!==null&&(e&&Ct.alternate!==null&&ut.delete(Ct.key===null?St:Ct.key),z=d(Ct,z,St),_t===null?dt=Ct:_t.sibling=Ct,_t=Ct);return e&&ut.forEach(function(Oi){return i(P,Oi)}),Mt&&Hn(P,St),dt}
vendor: 4,281 bytes, line 9
9function ht(P,z,B,Q){if(B==null)throw Error(r(151));for(var dt=null,_t=null,ut=z,St=z=0,Ct=null,Ot=B.next();ut!==null&&!Ot.done;St++,Ot=B.next()){ut.index>St?(Ct=ut,ut=null):Ct=ut.sibling;var Oi=H(P,ut,Ot.value,Q);if(Oi===null){ut===null&&(ut=Ct);break}e&&ut&&Oi.alternate===null&&i(P,ut),z=d(Oi,z,St),_t===null?dt=Oi:_t.sibling=Oi,_t=Oi,ut=Ct}if(Ot.done)return a(P,ut),Mt&&Hn(P,St),dt;if(ut===null){for(;!Ot.done;St++,Ot=B.next())Ot=Z(P,Ot.value,Q),Ot!==null&&(z=d(Ot,z,St),_t===null?dt=Ot:_t.sibling=Ot,_t=Ot);return Mt&&Hn(P,St),dt}for(ut=o(ut);!Ot.done;St++,Ot=B.next())Ot=q(ut,P,St,Ot.value,Q),Ot!==null&&(e&&Ot.alternate!==null&&ut.delete(Ot.key===null?St:Ot.key),z=d(Ot,z,St),_t===null?dt=Ot:_t.sibling=Ot,_t=Ot);return e&&ut.forEach(function(VE){return i(P,VE)}),Mt&&Hn(P,St),dt}function Bt(P,z,B,Q){if(typeof B=="object"&&B!==null&&B.type===A&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case S:t:{for(var dt=B.key;z!==null;){if(z.key===dt){if(dt=B.type,dt===A){if(z.tag===7){a(P,z.sibling),Q=f(z,B.props.children),Q.return=P,P=Q;break t}}else if(z.elementType===dt||typeof dt=="object"&&dt!==null&&dt.$$typeof===N&&ls(dt)===z.type){a(P,z.sibling),Q=f(z,B.props),ir(Q,B),Q.return=P,P=Q;break t}a(P,z);break}else i(P,z);z=z.sibling}B.type===A?(Q=is(B.props.children,P.mode,Q,B.key),Q.return=P,P=Q):(Q=zo(B.type,B.key,B.props,null,P.mode,Q),ir(Q,B),Q.return=P,P=Q)}return v(P);case w:t:{for(dt=B.key;z!==null;){if(z.key===dt)if(z.tag===4&&z.stateNode.containerInfo===B.containerInfo&&z.stateNode.implementation===B.implementation){a(P,z.sibling),Q=f(z,B.children||[]),Q.return=P,P=Q;break t}else{a(P,z);break}else i(P,z);z=z.sibling}Q=pc(B,P.mode,Q),Q.return=P,P=Q}return v(P);case N:return B=ls(B),Bt(P,z,B,Q)}if(vt(B))return at(P,z,B,Q);if(ct(B)){if(dt=ct(B),typeof dt!="function")throw Error(r(150));return B=dt.call(B),ht(P,z,B,Q)}if(typeof B.then=="function")return Bt(P,z,ko(B),Q);if(B.$$typeof===L)return Bt(P,z,Po(P,B),Q);Ho(P,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,z!==null&&z.tag===6?(a(P,z.sibling),Q=f(z,B),Q.return=P,P=Q):(a(P,z),Q=mc(B,P.mode,Q),Q.return=P,P=Q),v(P)):a(P,z)}return function(P,z,B,Q){try{nr=0;var dt=Bt(P,z,B,Q);return na=null,dt}catch(ut){if(ut===ea||ut===Vo)throw ut;var _t=Xe(29,ut,null,P.mode);return _t.lanes=Q,_t.return=P,_t}}}var cs=Tp(!0),Ep=Tp(!1),hi=!1;function Cc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mc(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function mi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function pi(e,i,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(jt&2)!==0){var f=o.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),o.pending=i,i=jo(e),op(e,null,a),i}return Do(e,o,i,a),jo(e)}function sr(e,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194048)!==0)){var o=i.lanes;o&=e.pendingLanes,a|=o,i.lanes=a,pm(e,a)}}function _c(e,i){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var f=null,d=null;if(a=a.firstBaseUpdate,a!==null){do{var v={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};d===null?f=d=v:d=d.next=v,a=a.next}while(a!==null);d===null?f=d=i:d=d.next=i}else f=d=i;a={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=i:e.next=i,a.lastBaseUpdate=i}var Oc=!1;function ar(){if(Oc){var e=ta;if(e!==null)throw e}}function rr(e,i,a,o){Oc=!1;var f=e.updateQueue;hi=!1;var d=f.firstBaseUpdate,v=f.lastBaseUpdate,x=f.shared.pending;if(x!==null){f.shared.pending=null;var _=x,V=_.next;_.next=null,v===null?d=V:v.next=V,v=_;var Y=e.alternate;Y!==null&&(Y=Y.updateQueue,x=Y.lastBaseUpdate,x!==v&&(x===null?Y.firstBaseUpdate=V:x.next=V,Y.lastBaseUpdate=_))}if(d!==null){var Z=f.baseState;v=0,Y=V=_=null,x=d;do{var H=x.lane&-536870913,q=H!==x.lane;if(q?(Rt&H)===H:(o&H)===H){H!==0&&H===Ws&&(Oc=!0),Y!==null&&(Y=Y.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});
vendor: 8,457 bytes, line 9
9t:{var at=e,ht=x;H=i;var Bt=a;switch(ht.tag){case 1:if(at=ht.payload,typeof at=="function"){Z=at.call(Bt,Z,H);break t}Z=at;break t;case 3:at.flags=at.flags&-65537|128;case 0:if(at=ht.payload,H=typeof at=="function"?at.call(Bt,Z,H):at,H==null)break t;Z=y({},Z,H);break t;case 2:hi=!0}}H=x.callback,H!==null&&(e.flags|=64,q&&(e.flags|=8192),q=f.callbacks,q===null?f.callbacks=[H]:q.push(H))}else q={lane:H,tag:x.tag,payload:x.payload,callback:x.callback,next:null},Y===null?(V=Y=q,_=Z):Y=Y.next=q,v|=H;if(x=x.next,x===null){if(x=f.shared.pending,x===null)break;q=x,x=q.next,q.next=null,f.lastBaseUpdate=q,f.shared.pending=null}}while(!0);Y===null&&(_=Z),f.baseState=_,f.firstBaseUpdate=V,f.lastBaseUpdate=Y,d===null&&(f.shared.lanes=0),Si|=v,e.lanes=v,e.memoizedState=Z}}function Ap(e,i){if(typeof e!="function")throw Error(r(191,e));e.call(i)}function Rp(e,i){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Ap(a[e],i)}var ia=D(null),qo=D(0);function Cp(e,i){e=$n,et(qo,e),et(ia,i),$n=e|i.baseLanes}function Dc(){et(qo,$n),et(ia,ia.current)}function jc(){$n=qo.current,K(ia),K(qo)}var Ke=D(null),un=null;function gi(e){var i=e.alternate;et(Jt,Jt.current&1),et(Ke,e),un===null&&(i===null||ia.current!==null||i.memoizedState!==null)&&(un=e)}function zc(e){et(Jt,Jt.current),et(Ke,e),un===null&&(un=e)}function Mp(e){e.tag===22?(et(Jt,Jt.current),et(Ke,e),un===null&&(un=e)):yi()}function yi(){et(Jt,Jt.current),et(Ke,Ke.current)}function Qe(e){K(Ke),un===e&&(un=null),K(Jt)}var Jt=D(0);function Fo(e){for(var i=e;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||kf(a)||Hf(a)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Gn=0,bt=null,Nt=null,te=null,Go=!1,sa=!1,fs=!1,Yo=0,or=0,aa=null,MT=0;function Kt(){throw Error(r(321))}function Lc(e,i){if(i===null)return!1;for(var a=0;a<i.length&&a<e.length;a++)if(!Ie(e[a],i[a]))return!1;return!0}function Nc(e,i,a,o,f,d){return Gn=d,bt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,k.H=e===null||e.memoizedState===null?fg:Zc,fs=!1,d=a(o,f),fs=!1,sa&&(d=Op(i,a,o,f)),_p(e),d}function _p(e){k.H=cr;var i=Nt!==null&&Nt.next!==null;if(Gn=0,te=Nt=bt=null,Go=!1,or=0,aa=null,i)throw Error(r(300));e===null||ee||(e=e.dependencies,e!==null&&No(e)&&(ee=!0))}function Op(e,i,a,o){bt=e;var f=0;do{if(sa&&(aa=null),or=0,sa=!1,25<=f)throw Error(r(301));if(f+=1,te=Nt=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}k.H=dg,d=i(a,o)}while(sa);return d}function _T(){var e=k.H,i=e.useState()[0];return i=typeof i.then=="function"?lr(i):i,e=e.useState()[0],(Nt!==null?Nt.memoizedState:null)!==e&&(bt.flags|=1024),i}function Pc(){var e=Yo!==0;return Yo=0,e}function Bc(e,i,a){i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~a}function Vc(e){if(Go){for(e=e.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}Go=!1}Gn=0,te=Nt=bt=null,sa=!1,or=Yo=0,aa=null}function Ce(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return te===null?bt.memoizedState=te=e:te=te.next=e,te}function $t(){if(Nt===null){var e=bt.alternate;e=e!==null?e.memoizedState:null}else e=Nt.next;var i=te===null?bt.memoizedState:te.next;if(i!==null)te=i,Nt=e;else{if(e===null)throw bt.alternate===null?Error(r(467)):Error(r(310));Nt=e,e={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},te===null?bt.memoizedState=te=e:te=te.next=e}return te}function Io(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lr(e){var i=or;return or+=1,aa===null&&(aa=[]),e=Sp(aa,e,i),i=bt,(te===null?i.memoizedState:te.next)===null&&(i=i.alternate,k.H=i===null||i.memoizedState===null?fg:Zc),e}function Xo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lr(e);if(e.$$typeof===L)return ve(e)}throw Error(r(438,String(e)))}function Uc(e){var i=null,a=bt.updateQueue;if(a!==null&&(i=a.memoCache),i==null){var o=bt.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(i={data:o.data.map(function(f){return f.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),a===null&&(a=Io(),bt.updateQueue=a),a.memoCache=i,a=i.data[i.index],a===void 0)for(a=i.data[i.index]=Array(e),o=0;o<e;o++)a[o]=J;return i.index++,a}function Yn(e,i){return typeof i=="function"?i(e):i}function Ko(e){var i=$t();return kc(i,Nt,e)}function kc(e,i,a){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=a;var f=e.baseQueue,d=o.pending;if(d!==null){if(f!==null){var v=f.next;f.next=d.next,d.next=v}i.baseQueue=f=d,o.pending=null}if(d=e.baseState,f===null)e.memoizedState=d;else{i=f.next;var x=v=null,_=null,V=i,Y=!1;do{var Z=V.lane&-536870913;if(Z!==V.lane?(Rt&Z)===Z:(Gn&Z)===Z){var H=V.revertLane;if(H===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),Z===Ws&&(Y=!0);else if((Gn&H)===H){V=V.next,H===Ws&&(Y=!0);continue}else Z={lane:0,revertLane:V.revertLane,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},_===null?(x=_=Z,v=d):_=_.next=Z,bt.lanes|=H,Si|=H;Z=V.action,fs&&a(d,Z),d=V.hasEagerState?V.eagerState:a(d,Z)}else H={lane:Z,revertLane:V.revertLane,gesture:V.gesture,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},_===null?(x=_=H,v=d):_=_.next=H,bt.lanes|=Z,Si|=Z;V=V.next}while(V!==null&&V!==i);if(_===null?v=d:_.next=x,!Ie(d,e.memoizedState)&&(ee=!0,Y&&(a=ta,a!==null)))throw a;e.memoizedState=d,e.baseState=v,e.baseQueue=_,o.lastRenderedState=d}return f===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Hc(e){var i=$t(),a=i.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var o=a.dispatch,f=a.pending,d=i.memoizedState;if(f!==null){a.pending=null;var v=f=f.next;do d=e(d,v.action),v=v.next;while(v!==f);Ie(d,i.memoizedState)||(ee=!0),i.memoizedState=d,i.baseQueue===null&&(i.baseState=d),a.lastRenderedState=d}return[d,o]}function Dp(e,i,a){var o=bt,f=$t(),d=Mt;if(d){if(a===void 0)throw Error(r(407));a=a()}else a=i();var v=!Ie((Nt||f).memoizedState,a);if(v&&(f.memoizedState=a,ee=!0),f=f.queue,Gc(Lp.bind(null,o,f,e),[e]),f.getSnapshot!==i||v||te!==null&&te.memoizedState.tag&1){if(o.flags|=2048,ra(9,{destroy:void 0},zp.bind(null,o,f,a,i),null),Vt===null)throw Error(r(349));d||(Gn&127)!==0||jp(o,i,a)}return a}function jp(e,i,a){e.flags|=16384,e={getSnapshot:i,value:a},i=bt.updateQueue,i===null?(i=Io(),bt.updateQueue=i,i.stores=[e]):(a=i.stores,a===null?i.stores=[e]:a.push(e))}function zp(e,i,a,o){i.value=a,i.getSnapshot=o,Np(i)&&Pp(e)}function Lp(e,i,a){return a(function(){Np(i)&&Pp(e)})}function Np(e){var i=e.getSnapshot;e=e.value;try{var a=i();return!Ie(e,a)}catch{return!0}}function Pp(e){var i=ns(e,2);i!==null&&ke(i,e,2)}function qc(e){var i=Ce();if(typeof e=="function"){var a=e;if(e=a(),fs){ri(!0);try{a()}finally{ri(!1)}}}return i.memoizedState=i.baseState=e,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:e},i}function Bp(e,i,a,o){return e.baseState=a,kc(e,Nt,typeof o=="function"?o:Yn)}function OT(e,i,a,o,f){if(Jo(e))throw Error(r(485));if(e=i.action,e!==null){var d={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){d.listeners.push(v)}};k.T!==null?a(!0):d.isTransition=!1,o(d),a=i.pending,a===null?(d.next=i.pending=d,Vp(i,d)):(d.next=a.next,i.pending=a.next=d)}}function Vp(e,i){var a=i.action,o=i.payload,f=e.state;if(i.isTransition){var d=k.T,v={};k.T=v;try{var x=a(f,o),_=k.S;_!==null&&_(v,x),Up(e,i,x)}catch(V){Fc(e,i,V)}finally{d!==null&&v.types!==null&&(d.types=v.types),k.T=d}}else try{d=a(f,o),Up(e,i,d)}catch(V){Fc(e,i,V)}}function Up(e,i,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){kp(e,i,o)},function(o){return Fc(e,i,o)}):kp(e,i,a)}function kp(e,i,a){i.status="fulfilled",i.value=a,Hp(i),e.state=a,i=e.pending,i!==null&&(a=i.next,a===i?e.pending=null:(a=a.next,i.next=a,Vp(e,a))
vendor: 5,406 bytes, line 9
9)}function Fc(e,i,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do i.status="rejected",i.reason=a,Hp(i),i=i.next;while(i!==o)}e.action=null}function Hp(e){e=e.listeners;for(var i=0;i<e.length;i++)(0,e[i])()}function qp(e,i){return i}function Fp(e,i){if(Mt){var a=Vt.formState;if(a!==null){t:{var o=bt;if(Mt){if(qt){e:{for(var f=qt,d=ln;f.nodeType!==8;){if(!d){f=null;break e}if(f=cn(f.nextSibling),f===null){f=null;break e}}d=f.data,f=d==="F!"||d==="F"?f:null}if(f){qt=cn(f.nextSibling),o=f.data==="F!";break t}}fi(o)}o=!1}o&&(i=a[0])}}return a=Ce(),a.memoizedState=a.baseState=i,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qp,lastRenderedState:i},a.queue=o,a=lg.bind(null,bt,o),o.dispatch=a,o=qc(!1),d=Qc.bind(null,bt,!1,o.queue),o=Ce(),f={state:i,dispatch:null,action:e,pending:null},o.queue=f,a=OT.bind(null,bt,f,d,a),f.dispatch=a,o.memoizedState=e,[i,a,!1]}function Gp(e){var i=$t();return Yp(i,Nt,e)}function Yp(e,i,a){if(i=kc(e,i,qp)[0],e=Ko(Yn)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var o=lr(i)}catch(v){throw v===ea?Vo:v}else o=i;i=$t();var f=i.queue,d=f.dispatch;return a!==i.memoizedState&&(bt.flags|=2048,ra(9,{destroy:void 0},DT.bind(null,f,a),null)),[o,d,e]}function DT(e,i){e.action=i}function Ip(e){var i=$t(),a=Nt;if(a!==null)return Yp(i,a,e);$t(),i=i.memoizedState,a=$t();var o=a.queue.dispatch;return a.memoizedState=e,[i,o,!1]}function ra(e,i,a,o){return e={tag:e,create:a,deps:o,inst:i,next:null},i=bt.updateQueue,i===null&&(i=Io(),bt.updateQueue=i),a=i.lastEffect,a===null?i.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,i.lastEffect=e),e}function Xp(){return $t().memoizedState}function Qo(e,i,a,o){var f=Ce();bt.flags|=e,f.memoizedState=ra(1|i,{destroy:void 0},a,o===void 0?null:o)}function Zo(e,i,a,o){var f=$t();o=o===void 0?null:o;var d=f.memoizedState.inst;Nt!==null&&o!==null&&Lc(o,Nt.memoizedState.deps)?f.memoizedState=ra(i,d,a,o):(bt.flags|=e,f.memoizedState=ra(1|i,d,a,o))}function Kp(e,i){Qo(8390656,8,e,i)}function Gc(e,i){Zo(2048,8,e,i)}function jT(e){bt.flags|=4;var i=bt.updateQueue;if(i===null)i=Io(),bt.updateQueue=i,i.events=[e];else{var a=i.events;a===null?i.events=[e]:a.push(e)}}function Qp(e){var i=$t().memoizedState;return jT({ref:i,nextImpl:e}),function(){if((jt&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}function Zp(e,i){return Zo(4,2,e,i)}function Jp(e,i){return Zo(4,4,e,i)}function $p(e,i){if(typeof i=="function"){e=e();var a=i(e);return function(){typeof a=="function"?a():i(null)}}if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function Wp(e,i,a){a=a!=null?a.concat([e]):null,Zo(4,4,$p.bind(null,i,e),a)}function Yc(){}function tg(e,i){var a=$t();i=i===void 0?null:i;var o=a.memoizedState;return i!==null&&Lc(i,o[1])?o[0]:(a.memoizedState=[e,i],e)}function eg(e,i){var a=$t();i=i===void 0?null:i;var o=a.memoizedState;if(i!==null&&Lc(i,o[1]))return o[0];if(o=e(),fs){ri(!0);try{e()}finally{ri(!1)}}return a.memoizedState=[o,i],o}function Ic(e,i,a){return a===void 0||(Gn&1073741824)!==0&&(Rt&261930)===0?e.memoizedState=i:(e.memoizedState=a,e=ny(),bt.lanes|=e,Si|=e,a)}function ng(e,i,a,o){return Ie(a,i)?a:ia.current!==null?(e=Ic(e,a,o),Ie(e,i)||(ee=!0),e):(Gn&42)===0||(Gn&1073741824)!==0&&(Rt&261930)===0?(ee=!0,e.memoizedState=a):(e=ny(),bt.lanes|=e,Si|=e,i)}function ig(e,i,a,o,f){var d=$.p;$.p=d!==0&&8>d?d:8;var v=k.T,x={};k.T=x,Qc(e,!1,i,a);try{var _=f(),V=k.S;if(V!==null&&V(x,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var Y=CT(_,o);ur(e,i,Y,$e(e))}else ur(e,i,o,$e(e))}catch(Z){ur(e,i,{then:function(){},status:"rejected",reason:Z},$e())}finally{$.p=d,v!==null&&x.types!==null&&(v.types=x.types),k.T=v}}function zT(){}function Xc(e,i,a,o){if(e.tag!==5)throw Error(r(476));var f=sg(e).queue;ig(e,f,i,nt,a===null?zT:function(){return ag(e),a(o)})}function sg(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:nt,baseState:nt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:nt},next:null};var a={};return i.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yn,lastRenderedState:a},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function ag(e){var i=sg(e);i.next===null&&(i=e.alternate.memoizedState),ur(e,i.next.queue,{},$e())}function Kc(){return ve(Rr)}function rg(){return $t().memoizedState}function og(){return $t().memoizedState}function LT(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var a=$e();e=mi(a);var o=pi(i,e,a);o!==null&&(ke(o,i,a),sr(o,i,a)),i={cache:Tc()},e.payload=i;return}i=i.return}}function NT(e,i,a){var o=$e();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Jo(e)?ug(i,a):(a=dc(e,i,a,o),a!==null&&(ke(a,e,o),cg(a,i,o)))}function lg(e,i,a){var o=$e();ur(e,i,a,o)}function ur(e,i,a,o){var f={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Jo(e))ug(i,f);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=i.lastRenderedReducer,d!==null))try{var v=i.lastRenderedState,x=d(v,a);if(f.hasEagerState=!0,f.eagerState=x,Ie(x,v))return Do(e,i,f,0),Vt===null&&Oo(),!1}catch{}if(a=dc(e,i,f,o),a!==null)return ke(a,e,o),cg(a,i,o),!0}return!1}function Qc(e,i,a,o){if(o={lane:2,revertLane:Mf(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null}
vendor: 4,235 bytes, line 9
9,Jo(e)){if(i)throw Error(r(479))}else i=dc(e,a,o,2),i!==null&&ke(i,e,2)}function Jo(e){var i=e.alternate;return e===bt||i!==null&&i===bt}function ug(e,i){sa=Go=!0;var a=e.pending;a===null?i.next=i:(i.next=a.next,a.next=i),e.pending=i}function cg(e,i,a){if((a&4194048)!==0){var o=i.lanes;o&=e.pendingLanes,a|=o,i.lanes=a,pm(e,a)}}var cr={readContext:ve,use:Xo,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useLayoutEffect:Kt,useInsertionEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useSyncExternalStore:Kt,useId:Kt,useHostTransitionStatus:Kt,useFormState:Kt,useActionState:Kt,useOptimistic:Kt,useMemoCache:Kt,useCacheRefresh:Kt};cr.useEffectEvent=Kt;var fg={readContext:ve,use:Xo,useCallback:function(e,i){return Ce().memoizedState=[e,i===void 0?null:i],e},useContext:ve,useEffect:Kp,useImperativeHandle:function(e,i,a){a=a!=null?a.concat([e]):null,Qo(4194308,4,$p.bind(null,i,e),a)},useLayoutEffect:function(e,i){return Qo(4194308,4,e,i)},useInsertionEffect:function(e,i){Qo(4,2,e,i)},useMemo:function(e,i){var a=Ce();i=i===void 0?null:i;var o=e();if(fs){ri(!0);try{e()}finally{ri(!1)}}return a.memoizedState=[o,i],o},useReducer:function(e,i,a){var o=Ce();if(a!==void 0){var f=a(i);if(fs){ri(!0);try{a(i)}finally{ri(!1)}}}else f=i;return o.memoizedState=o.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},o.queue=e,e=e.dispatch=NT.bind(null,bt,e),[o.memoizedState,e]},useRef:function(e){var i=Ce();return e={current:e},i.memoizedState=e},useState:function(e){e=qc(e);var i=e.queue,a=lg.bind(null,bt,i);return i.dispatch=a,[e.memoizedState,a]},useDebugValue:Yc,useDeferredValue:function(e,i){var a=Ce();return Ic(a,e,i)},useTransition:function(){var e=qc(!1);return e=ig.bind(null,bt,e.queue,!0,!1),Ce().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,a){var o=bt,f=Ce();if(Mt){if(a===void 0)throw Error(r(407));a=a()}else{if(a=i(),Vt===null)throw Error(r(349));(Rt&127)!==0||jp(o,i,a)}f.memoizedState=a;var d={value:a,getSnapshot:i};return f.queue=d,Kp(Lp.bind(null,o,d,e),[e]),o.flags|=2048,ra(9,{destroy:void 0},zp.bind(null,o,d,a,i),null),a},useId:function(){var e=Ce(),i=Vt.identifierPrefix;if(Mt){var a=An,o=En;a=(o&~(1<<32-Ye(o)-1)).toString(32)+a,i="_"+i+"R_"+a,a=Yo++,0<a&&(i+="H"+a.toString(32)),i+="_"}else a=MT++,i="_"+i+"r_"+a.toString(32)+"_";return e.memoizedState=i},useHostTransitionStatus:Kc,useFormState:Fp,useActionState:Fp,useOptimistic:function(e){var i=Ce();i.memoizedState=i.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=a,i=Qc.bind(null,bt,!0,a),a.dispatch=i,[e,i]},useMemoCache:Uc,useCacheRefresh:function(){return Ce().memoizedState=LT.bind(null,bt)},useEffectEvent:function(e){var i=Ce(),a={impl:e};return i.memoizedState=a,function(){if((jt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},Zc={readContext:ve,use:Xo,useCallback:tg,useContext:ve,useEffect:Gc,useImperativeHandle:Wp,useInsertionEffect:Zp,useLayoutEffect:Jp,useMemo:eg,useReducer:Ko,useRef:Xp,useState:function(){return Ko(Yn)},useDebugValue:Yc,useDeferredValue:function(e,i){var a=$t();return ng(a,Nt.memoizedState,e,i)},useTransition:function(){var e=Ko(Yn)[0],i=$t().memoizedState;return[typeof e=="boolean"?e:lr(e),i]},useSyncExternalStore:Dp,useId:rg,useHostTransitionStatus:Kc,useFormState:Gp,useActionState:Gp,useOptimistic:function(e,i){var a=$t();return Bp(a,Nt,e,i)},useMemoCache:Uc,useCacheRefresh:og};Zc.useEffectEvent=Qp;var dg={readContext:ve,use:Xo,useCallback:tg,useContext:ve,useEffect:Gc,useImperativeHandle:Wp,useInsertionEffect:Zp,useLayoutEffect:Jp,useMemo:eg,useReducer:Hc,useRef:Xp,useState:function(){return Hc(Yn)},useDebugValue:Yc,useDeferredValue:function(e,i){var a=$t();return Nt===null?Ic(a,e,i):ng(a,Nt.memoizedState,e,i)},useTransition:function(){var e=Hc(Yn)[0],i=$t().memoizedState;return[typeof e=="boolean"?e:lr(e),i]},useSyncExternalStore:Dp,useId:rg,useHostTransitionStatus:Kc,useFormState:Ip,useActionState:Ip,useOptimistic:function(e,i){var a=$t();return Nt!==null?Bp(a,Nt,e,i):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Uc,useCacheRefresh:og};dg.useEffectEvent=Qp;
vendor: 13,600 bytes, line 9
9function Jc(e,i,a,o){i=e.memoizedState,a=a(o,i),a=a==null?i:y({},i,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var $c={enqueueSetState:function(e,i,a){e=e._reactInternals;var o=$e(),f=mi(o);f.payload=i,a!=null&&(f.callback=a),i=pi(e,f,o),i!==null&&(ke(i,e,o),sr(i,e,o))},enqueueReplaceState:function(e,i,a){e=e._reactInternals;var o=$e(),f=mi(o);f.tag=1,f.payload=i,a!=null&&(f.callback=a),i=pi(e,f,o),i!==null&&(ke(i,e,o),sr(i,e,o))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var a=$e(),o=mi(a);o.tag=2,i!=null&&(o.callback=i),i=pi(e,o,a),i!==null&&(ke(i,e,a),sr(i,e,a))}};function hg(e,i,a,o,f,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,v):i.prototype&&i.prototype.isPureReactComponent?!Za(a,o)||!Za(f,d):!0}function mg(e,i,a,o){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,o),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,o),i.state!==e&&$c.enqueueReplaceState(i,i.state,null)}function ds(e,i){var a=i;if("ref"in i){a={};for(var o in i)o!=="ref"&&(a[o]=i[o])}if(e=e.defaultProps){a===i&&(a=y({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function pg(e){_o(e)}function gg(e){console.error(e)}function yg(e){_o(e)}function $o(e,i){try{var a=e.onUncaughtError;a(i.value,{componentStack:i.stack})}catch(o){setTimeout(function(){throw o})}}function vg(e,i,a){try{var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Wc(e,i,a){return a=mi(a),a.tag=3,a.payload={element:null},a.callback=function(){$o(e,i)},a}function bg(e){return e=mi(e),e.tag=3,e}function Sg(e,i,a,o){var f=a.type.getDerivedStateFromError;if(typeof f=="function"){var d=o.value;e.payload=function(){return f(d)},e.callback=function(){vg(i,a,o)}}var v=a.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){vg(i,a,o),typeof f!="function"&&(xi===null?xi=new Set([this]):xi.add(this));var x=o.stack;this.componentDidCatch(o.value,{componentStack:x!==null?x:""})})}function PT(e,i,a,o,f){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(i=a.alternate,i!==null&&$s(i,a,f,!0),a=Ke.current,a!==null){switch(a.tag){case 31:case 13:return un===null?cl():a.alternate===null&&Qt===0&&(Qt=3),a.flags&=-257,a.flags|=65536,a.lanes=f,o===Uo?a.flags|=16384:(i=a.updateQueue,i===null?a.updateQueue=new Set([o]):i.add(o),Af(e,o,f)),!1;case 22:return a.flags|=65536,o===Uo?a.flags|=16384:(i=a.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=i):(a=i.retryQueue,a===null?i.retryQueue=new Set([o]):a.add(o)),Af(e,o,f)),!1}throw Error(r(435,a.tag))}return Af(e,o,f),cl(),!1}if(Mt)return i=Ke.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=f,o!==vc&&(e=Error(r(422),{cause:o}),Wa(an(e,a)))):(o!==vc&&(i=Error(r(423),{cause:o}),Wa(an(i,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,o=an(o,a),f=Wc(e.stateNode,o,f),_c(e,f),Qt!==4&&(Qt=2)),!1;var d=Error(r(520),{cause:o});if(d=an(d,a),vr===null?vr=[d]:vr.push(d),Qt!==4&&(Qt=2),i===null)return!0;o=an(o,a),a=i;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=Wc(a.stateNode,o,e),_c(a,e),!1;case 1:if(i=a.type,d=a.stateNode,(a.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(xi===null||!xi.has(d))))return a.flags|=65536,f&=-f,a.lanes|=f,f=bg(f),Sg(f,e,a,o),_c(a,f),!1}a=a.return}while(a!==null);return!1}var tf=Error(r(461)),ee=!1;function be(e,i,a,o){i.child=e===null?Ep(i,null,a,o):cs(i,e.child,a,o)}function xg(e,i,a,o,f){a=a.render;var d=i.ref;if("ref"in o){var v={};for(var x in o)x!=="ref"&&(v[x]=o[x])}else v=o;return rs(i),o=Nc(e,i,a,v,d,f),x=Pc(),e!==null&&!ee?(Bc(e,i,f),In(e,i,f)):(Mt&&x&&gc(i),i.flags|=1,be(e,i,o,f),i.child)}function wg(e,i,a,o,f){if(e===null){var d=a.type;return typeof d=="function"&&!hc(d)&&d.defaultProps===void 0&&a.compare===null?(i.tag=15,i.type=d,Tg(e,i,d,o,f)):(e=zo(a.type,null,o,i,i.mode,f),e.ref=i.ref,e.return=i,i.child=e)}if(d=e.child,!uf(e,f)){var v=d.memoizedProps;if(a=a.compare,a=a!==null?a:Za,a(v,o)&&e.ref===i.ref)return In(e,i,f)}return i.flags|=1,e=kn(d,o),e.ref=i.ref,e.return=i,i.child=e}function Tg(e,i,a,o,f){if(e!==null){var d=e.memoizedProps;if(Za(d,o)&&e.ref===i.ref)if(ee=!1,i.pendingProps=o=d,uf(e,f))(e.flags&131072)!==0&&(ee=!0);else return i.lanes=e.lanes,In(e,i,f)}return ef(e,i,a,o,f)}function Eg(e,i,a,o){var f=o.children,d=e!==null?e.memoizedState:null;if(e===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((i.flags&128)!==0){if(d=d!==null?d.baseLanes|a:a,e!==null){for(o=i.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;o=f&~d}else o=0,i.child=null;return Ag(e,i,d,a,o)}if((a&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},e!==null&&Bo(i,d!==null?d.cachePool:null),d!==null?Cp(i,d):Dc(),Mp(i);else return o=i.lanes=536870912,Ag(e,i,d!==null?d.baseLanes|a:a,a,o)}else d!==null?(Bo(i,d.cachePool),Cp(i,d),yi(),i.memoizedState=null):(e!==null&&Bo(i,null),Dc(),yi());return be(e,i,f,a),i.child}function fr(e,i){return e!==null&&e.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function Ag(e,i,a,o,f){var d=Ac();return d=d===null?null:{parent:Wt._currentValue,pool:d},i.memoizedState={baseLanes:a,cachePool:d},e!==null&&Bo(i,null),Dc(),Mp(i),e!==null&&$s(e,i,o,!0),i.childLanes=f,null}function Wo(e,i){return i=el({mode:i.mode,children:i.children},e.mode),i.ref=e.ref,e.child=i,i.return=e,i}function Rg(e,i,a){return cs(i,e.child,null,a),e=Wo(i,i.pendingProps),e.flags|=2,Qe(i),i.memoizedState=null,e}function BT(e,i,a){var o=i.pendingProps,f=(i.flags&128)!==0;if(i.flags&=-129,e===null){if(Mt){if(o.mode==="hidden")return e=Wo(i,o),i.lanes=536870912,fr(null,e);if(zc(i),(e=qt)?(e=Vy(e,ln),e=e!==null&&e.data==="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:ui!==null?{id:En,overflow:An}:null,retryLane:536870912,hydrationErrors:null},a=up(e),a.return=i,i.child=a,ye=i,qt=null)):e=null,e===null)throw fi(i);return i.lanes=536870912,null}return Wo(i,o)}var d=e.memoizedState;if(d!==null){var v=d.dehydrated;if(zc(i),f)if(i.flags&256)i.flags&=-257,i=Rg(e,i,a);else if(i.memoizedState!==null)i.child=e.child,i.flags|=128,i=null;else throw Error(r(558));else if(ee||$s(e,i,a,!1),f=(a&e.childLanes)!==0,ee||f){if(o=Vt,o!==null&&(v=gm(o,a),v!==0&&v!==d.retryLane))throw d.retryLane=v,ns(e,v),ke(o,e,v),tf;cl(),i=Rg(e,i,a)}else e=d.treeContext,qt=cn(v.nextSibling),ye=i,Mt=!0,ci=null,ln=!1,e!==null&&dp(i,e),i=Wo(i,o),i.flags|=4096;return i}return e=kn(e.child,{mode:o.mode,children:o.children}),e.ref=i.ref,i.child=e,e.return=i,e}function tl(e,i){var a=i.ref;if(a===null)e!==null&&e.ref!==null&&(i.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(i.flags|=4194816)}}function ef(e,i,a,o,f){return rs(i),a=Nc(e,i,a,o,void 0,f),o=Pc(),e!==null&&!ee?(Bc(e,i,f),In(e,i,f)):(Mt&&o&&gc(i),i.flags|=1,be(e,i,a,f),i.child)}function Cg(e,i,a,o,f,d){return rs(i),i.updateQueue=null,a=Op(i,o,a,f),_p(e),o=Pc(),e!==null&&!ee?(Bc(e,i,d),In(e,i,d)):(Mt&&o&&gc(i),i.flags|=1,be(e,i,a,d),i.child)}function Mg(e,i,a,o,f){if(rs(i),i.stateNode===null){var d=Ks,v=a.contextType;typeof v=="object"&&v!==null&&(d=ve(v)),d=new a(o,d),i.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=$c,i.stateNode=d,d._reactInternals=i,d=i.stateNode,d.props=o,d.state=i.memoizedState,d.refs={},Cc(i),v=a.contextType,d.context=typeof v=="object"&&v!==null?ve(v):Ks,d.state=i.memoizedState,v=a.getDerivedStateFromProps,typeof v=="function"&&(Jc(i,a,v,o),d.state=i.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(v=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),v!==d.state&&$c.enqueueReplaceState(d,d.state,null),rr(i,o,d,f),ar(),d.state=i.memoizedState),typeof d.componentDidMount=="function"&&(i.flags|=4194308),o=!0}else if(e===null){d=i.stateNode;var x=i.memoizedProps,_=ds(a,x);d.props=_;var V=d.context,Y=a.contextType;v=Ks,typeof Y=="object"&&Y!==null&&(v=ve(Y));var Z=a.getDerivedStateFromProps;Y=typeof Z=="function"||typeof d.getSnapshotBeforeUpdate=="function",x=i.pendingProps!==x,Y||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x||V!==v)&&mg(i,d,o,v),hi=!1;var H=i.memoizedState;d.state=H,rr(i,o,d,f),ar(),V=i.memoizedState,x||H!==V||hi?(typeof Z=="function"&&(Jc(i,a,Z,o),V=i.memoizedState),(_=hi||hg(i,a,_,o,H,V,v))?(Y||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(i.flags|=4194308)):(typeof d.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=o,i.memoizedState=V),d.props=o,d.state=V,d.context=v,o=_):(typeof d.componentDidMount=="function"&&(i.flags|=4194308),o=!1)}else{d=i.stateNode,Mc(e,i),v=i.memoizedProps,Y=ds(a,v),d.props=Y,Z=i.pendingProps,H=d.context,V=a.contextType,_=Ks,typeof V=="object"&&V!==null&&(_=ve(V)),x=a.getDerivedStateFromProps,(V=typeof x=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v!==Z||H!==_)&&mg(i,d,o,_),hi=!1,H=i.memoizedState,d.state=H,rr(i,o,d,f),ar();var q=i.memoizedState;v!==Z||H!==q||hi||e!==null&&e.dependencies!==null&&No(e.dependencies)?(typeof x=="function"&&(Jc(i,a,x,o),q=i.memoizedState),(Y=hi||hg(i,a,Y,o,H,q,_)||e!==null&&e.dependencies!==null&&No(e.dependencies))?(V||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,q,_),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,q,_)),typeof d.componentDidUpdate=="function"&&(i.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(i.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(i.flags|=1024),i.memoizedProps=o,i.memoizedState=q),d.props=o,d.state=q,d.context=_,o=Y):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(i.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(i.flags|=1024),o=!1)}return d=o,tl(e,i),o=(i.flags&128)!==0,d||o?(d=i.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:d.render(),i.flags|=1,e!==null&&o?(i.child=cs(i,e.child,null,f),i.child=cs(i,null,a,f)):be(e,i,a,f),i.memoizedState=d.state,e=i.child):e=In(e,i,f),e}function _g(e,i,a,o){return ss(),i.flags|=256,be(e,i,a,o),i.child}var nf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function sf(e){return{baseLanes:e,cachePool:vp()}}function af(e,i,a){return e=e!==null?e.childLanes&~a:0,i&&(e|=Je),e}function Og(e,i,a){var o=i.pendingProps,f=!1,d=(i.flags&128)!==0,v;if((v=d)||(v=e!==null&&e.memoizedState===null?!1:(Jt.current&2)!==0),v&&(f=!0,i.flags&=-129),v=(i.flags&32)!==0,i.flags&=-33,e===null){if(Mt){if(f?gi(i):yi(),(e=qt)?(e=Vy(e,ln),e=e!==null&&e.data!=="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:ui!==null?{id:En,overflow:An}:null,retryLane:536870912,hydrationErrors:null},a=up(e),a.return=i,i.child=a,ye=i,qt=null)):e=null,e===null)throw fi(i);return Hf(e)?i.lanes=32:i.lanes=536870912,null}var x=o.children;return o=o.fallback,f?(yi(),f=i.mode,x=el({mode:"hidden",children:x},f),o=is(o,f,a,null),x.return=i,o.return=i,x.sibling=o,i.child=x,o=i.child,o.memoizedState=sf(a),o.childLanes=af(e,v,a),i.memoizedState=nf,fr(null,o)):(gi(i),rf(i,x))}var _=e.memoizedState;if(_!==null&&(x=_.dehydrated,x!==null)){if(d)i.flags&256?(gi(i),i.flags&=-257,i=of(e,i,a)):i.memoizedState!==null?(yi(),i.child=e.child,i.flags|=128,i=null):(yi(),x=o.fallback,f=i.mode,o=el({mode:"visible",children:o.children},f),x=is(x,f,a,null),x.flags|=2,o.return=i,x.return=i,o.sibling=x,i.child=o,cs(i,e.child,null,a),o=i.child,o.memoizedState=sf(a),o.childLanes=af(e,v,a),i.memoizedState=nf,i=fr(null,o));else if(gi(i),Hf(x)){if(v=x.nextSibling&&x.nextSibling.dataset,v)var V=v.dgst;v=V,o=Error(r(419)),o.stack="",o.digest=v,Wa({value:o,source:null,stack:null}),i=of(e,i,a)}else if(ee||$s(e,i,a,!1),v=(a&e.childLanes)!==0,ee||v){if(v=Vt,v!==null&&(o=gm(v,a),o!==0&&o!==_.retryLane))throw _.retryLane=o,ns(e,o),ke(v,e,o),tf;kf(x)||cl(),i=of(e,i,a)}else kf(x)?(i.flags|=192,i.child=e.child,i=null):(e=_.treeContext,qt=cn(x.nextSibling),ye=i,Mt=!0,ci=null,ln=!1,e!==null&&dp(i,e),i=rf(i,o.children),i.flags|=4096);return i}return f?(yi(),x=o.fallback,f=i.mode,_=e.child,V=_.sibling,o=kn(_,{mode:"hidden",children:o.children}),o.subtreeFlags=_.subtreeFlags&65011712,V!==null?x=kn(V,x):(x=is(x,f,a,null),x.flags|=2),x.return=i,o.return=i,o.sibling=x,i.child=o,fr(null,o),o=i.child,x=e.child.memoizedState,x===null?x=sf(a):(f=x.cachePool,f!==null?(_=Wt._currentValue,f=f.parent!==_?{parent:_,pool:_}
vendor: 6,611 bytes, line 9
9:f):f=vp(),x={baseLanes:x.baseLanes|a,cachePool:f}),o.memoizedState=x,o.childLanes=af(e,v,a),i.memoizedState=nf,fr(e.child,o)):(gi(i),a=e.child,e=a.sibling,a=kn(a,{mode:"visible",children:o.children}),a.return=i,a.sibling=null,e!==null&&(v=i.deletions,v===null?(i.deletions=[e],i.flags|=16):v.push(e)),i.child=a,i.memoizedState=null,a)}function rf(e,i){return i=el({mode:"visible",children:i},e.mode),i.return=e,e.child=i}function el(e,i){return e=Xe(22,e,null,i),e.lanes=0,e}function of(e,i,a){return cs(i,e.child,null,a),e=rf(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function Dg(e,i,a){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i),xc(e.return,i,a)}function lf(e,i,a,o,f,d){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:f,treeForkCount:d}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=o,v.tail=a,v.tailMode=f,v.treeForkCount=d)}function jg(e,i,a){var o=i.pendingProps,f=o.revealOrder,d=o.tail;o=o.children;var v=Jt.current,x=(v&2)!==0;if(x?(v=v&1|2,i.flags|=128):v&=1,et(Jt,v),be(e,i,o,a),o=Mt?$a:0,!x&&e!==null&&(e.flags&128)!==0)t:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dg(e,a,i);else if(e.tag===19)Dg(e,a,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break t;for(;e.sibling===null;){if(e.return===null||e.return===i)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(a=i.child,f=null;a!==null;)e=a.alternate,e!==null&&Fo(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=i.child,i.child=null):(f=a.sibling,a.sibling=null),lf(i,!1,f,a,d,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,f=i.child,i.child=null;f!==null;){if(e=f.alternate,e!==null&&Fo(e)===null){i.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}lf(i,!0,a,null,d,o);break;case"together":lf(i,!1,null,null,void 0,o);break;default:i.memoizedState=null}return i.child}function In(e,i,a){if(e!==null&&(i.dependencies=e.dependencies),Si|=i.lanes,(a&i.childLanes)===0)if(e!==null){if($s(e,i,a,!1),(a&i.childLanes)===0)return null}else return null;if(e!==null&&i.child!==e.child)throw Error(r(153));if(i.child!==null){for(e=i.child,a=kn(e,e.pendingProps),i.child=a,a.return=i;e.sibling!==null;)e=e.sibling,a=a.sibling=kn(e,e.pendingProps),a.return=i;a.sibling=null}return i.child}function uf(e,i){return(e.lanes&i)!==0?!0:(e=e.dependencies,!!(e!==null&&No(e)))}function VT(e,i,a){switch(i.tag){case 3:Yt(i,i.stateNode.containerInfo),di(i,Wt,e.memoizedState.cache),ss();break;case 27:case 5:tn(i);break;case 4:Yt(i,i.stateNode.containerInfo);break;case 10:di(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,zc(i),null;break;case 13:var o=i.memoizedState;if(o!==null)return o.dehydrated!==null?(gi(i),i.flags|=128,null):(a&i.child.childLanes)!==0?Og(e,i,a):(gi(i),e=In(e,i,a),e!==null?e.sibling:null);gi(i);break;case 19:var f=(e.flags&128)!==0;if(o=(a&i.childLanes)!==0,o||($s(e,i,a,!1),o=(a&i.childLanes)!==0),f){if(o)return jg(e,i,a);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),et(Jt,Jt.current),o)break;return null;case 22:return i.lanes=0,Eg(e,i,a,i.pendingProps);case 24:di(i,Wt,e.memoizedState.cache)}return In(e,i,a)}function zg(e,i,a){if(e!==null)if(e.memoizedProps!==i.pendingProps)ee=!0;else{if(!uf(e,a)&&(i.flags&128)===0)return ee=!1,VT(e,i,a);ee=(e.flags&131072)!==0}else ee=!1,Mt&&(i.flags&1048576)!==0&&fp(i,$a,i.index);switch(i.lanes=0,i.tag){case 16:t:{var o=i.pendingProps;if(e=ls(i.elementType),i.type=e,typeof e=="function")hc(e)?(o=ds(e,o),i.tag=1,i=Mg(null,i,e,o,a)):(i.tag=0,i=ef(null,i,e,o,a));else{if(e!=null){var f=e.$$typeof;if(f===j){i.tag=11,i=xg(null,i,e,o,a);break t}else if(f===G){i.tag=14,i=wg(null,i,e,o,a);break t}}throw i=At(e)||e,Error(r(306,i,""))}}return i;case 0:return ef(e,i,i.type,i.pendingProps,a);case 1:return o=i.type,f=ds(o,i.pendingProps),Mg(e,i,o,f,a);case 3:t:{if(Yt(i,i.stateNode.containerInfo),e===null)throw Error(r(387));o=i.pendingProps;var d=i.memoizedState;f=d.element,Mc(e,i),rr(i,o,null,a);var v=i.memoizedState;if(o=v.cache,di(i,Wt,o),o!==d.cache&&wc(i,[Wt],a,!0),ar(),o=v.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:v.cache},i.updateQueue.baseState=d,i.memoizedState=d,i.flags&256){i=_g(e,i,o,a);break t}else if(o!==f){f=an(Error(r(424)),i),Wa(f),i=_g(e,i,o,a);break t}else for(e=i.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,qt=cn(e.firstChild),ye=i,Mt=!0,ci=null,ln=!0,a=Ep(i,null,o,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(ss(),o===f){i=In(e,i,a);break t}be(e,i,o,a)}i=i.child}return i;case 26:return tl(e,i),e===null?(a=Gy(i.type,null,i.pendingProps,null))?i.memoizedState=a:Mt||(a=i.type,e=i.pendingProps,o=yl(ft.current).createElement(a),o[ge]=i,o[Le]=e,Se(o,a,e),fe(o),i.stateNode=o):i.memoizedState=Gy(i.type,e.memoizedProps,i.pendingProps,e.memoizedState),null;case 27:return tn(i),e===null&&Mt&&(o=i.stateNode=Hy(i.type,i.pendingProps,ft.current),ye=i,ln=!0,f=qt,Ai(i.type)?(qf=f,qt=cn(o.firstChild)):qt=f),be(e,i,i.pendingProps.children,a),tl(e,i),e===null&&(i.flags|=4194304),i.child;case 5:return e===null&&Mt&&((f=o=qt)&&(o=mE(o,i.type,i.pendingProps,ln),o!==null?(i.stateNode=o,ye=i,qt=cn(o.firstChild),ln=!1,f=!0):f=!1),f||fi(i)),tn(i),f=i.type,d=i.pendingProps,v=e!==null?e.memoizedProps:null,o=d.children,Bf(f,d)?o=null:v!==null&&Bf(f,v)&&(i.flags|=32),i.memoizedState!==null&&(f=Nc(e,i,_T,null,null,a),Rr._currentValue=f),tl(e,i),be(e,i,o,a),i.child;case 6:return e===null&&Mt&&((e=a=qt)&&(a=pE(a,i.pendingProps,ln),a!==null?(i.stateNode=a,ye=i,qt=null,e=!0):e=!1),e||fi(i)),null;case 13:return Og(e,i,a);case 4:return Yt(i,i.stateNode.containerInfo),o=i.pendingProps,e===null?i.child=cs(i,null,o,a):be(e,i,o,a),i.child;case 11:return xg(e,i,i.type,i.pendingProps,a);case 7:return be(e,i,i.pendingProps,a),i.child;case 8:return be(e,i,i.pendingProps.children,a),i.child;case 12:return be(e,i,i.pendingProps.children,a),i.child;case 10:return o=i.pendingProps,di(i,i.type,o.value),be(e,i,o.children,a),i.child;case 9:return f=i.type._context,o=i.pendingProps.children,rs(i),f=ve(f),o=o(f),i.flags|=1,be(e,i,o,a),i.child;case 14:return wg(e,i,i.type,i.pendingProps,a);case 15:return Tg(e,i,i.type,i.pendingProps,a);case 19:return jg(e,i,a);case 31:return BT(e,i,a);case 22:return Eg(e,i,a,i.pendingProps);case 24:return rs(i),o=ve(Wt),e===null?(f=Ac(),f===null&&(f=Vt,d=Tc(),f.pooledCache=d,d.refCount++,d!==null&&(f.pooledCacheLanes|=a),f=d),i.memoizedState={parent:o,cache:f}
vendor: 9,353 bytes, line 9
9,Cc(i),di(i,Wt,f)):((e.lanes&a)!==0&&(Mc(e,i),rr(i,null,null,a),ar()),f=e.memoizedState,d=i.memoizedState,f.parent!==o?(f={parent:o,cache:o},i.memoizedState=f,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=f),di(i,Wt,o)):(o=d.cache,di(i,Wt,o),o!==f.cache&&wc(i,[Wt],a,!0))),be(e,i,i.pendingProps.children,a),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function Xn(e){e.flags|=4}function cf(e,i,a,o,f){if((i=(e.mode&32)!==0)&&(i=!1),i){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(ry())e.flags|=8192;else throw us=Uo,Rc}else e.flags&=-16777217}function Lg(e,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Qy(i))if(ry())e.flags|=8192;else throw us=Uo,Rc}function nl(e,i){i!==null&&(e.flags|=4),e.flags&16384&&(i=e.tag!==22?hm():536870912,e.lanes|=i,ca|=i)}function dr(e,i){if(!Mt)switch(e.tailMode){case"hidden":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ft(e){var i=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(i)for(var f=e.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=o,e.childLanes=a,i}function UT(e,i,a){var o=i.pendingProps;switch(yc(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ft(i),null;case 1:return Ft(i),null;case 3:return a=i.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),Fn(Wt),pt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Js(i)?Xn(i):e===null||e.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,bc())),Ft(i),null;case 26:var f=i.type,d=i.memoizedState;return e===null?(Xn(i),d!==null?(Ft(i),Lg(i,d)):(Ft(i),cf(i,f,null,o,a))):d?d!==e.memoizedState?(Xn(i),Ft(i),Lg(i,d)):(Ft(i),i.flags&=-16777217):(e=e.memoizedProps,e!==o&&Xn(i),Ft(i),cf(i,f,e,o,a)),null;case 27:if(ze(i),a=ft.current,f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&Xn(i);else{if(!o){if(i.stateNode===null)throw Error(r(166));return Ft(i),null}e=it.current,Js(i)?hp(i):(e=Hy(f,o,a),i.stateNode=e,Xn(i))}return Ft(i),null;case 5:if(ze(i),f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&Xn(i);else{if(!o){if(i.stateNode===null)throw Error(r(166));return Ft(i),null}if(d=it.current,Js(i))hp(i);else{var v=yl(ft.current);switch(d){case 1:d=v.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:d=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":d=v.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":d=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":d=v.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?v.createElement("select",{is:o.is}):v.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?v.createElement(f,{is:o.is}):v.createElement(f)}}d[ge]=i,d[Le]=o;t:for(v=i.child;v!==null;){if(v.tag===5||v.tag===6)d.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)break t;for(;v.sibling===null;){if(v.return===null||v.return===i)break t;v=v.return}v.sibling.return=v.return,v=v.sibling}i.stateNode=d;t:switch(Se(d,f,o),f){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&Xn(i)}}return Ft(i),cf(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,a),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==o&&Xn(i);else{if(typeof o!="string"&&i.stateNode===null)throw Error(r(166));if(e=ft.current,Js(i)){if(e=i.stateNode,a=i.memoizedProps,o=null,f=ye,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}e[ge]=i,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Oy(e.nodeValue,a)),e||fi(i,!0)}else e=yl(e).createTextNode(o),e[ge]=i,i.stateNode=e}return Ft(i),null;case 31:if(a=i.memoizedState,e===null||e.memoizedState!==null){if(o=Js(i),a!==null){if(e===null){if(!o)throw Error(r(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ge]=i}else ss(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ft(i),e=!1}else a=bc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return i.flags&256?(Qe(i),i):(Qe(i),null);if((i.flags&128)!==0)throw Error(r(558))}return Ft(i),null;case 13:if(o=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Js(i),o!==null&&o.dehydrated!==null){if(e===null){if(!f)throw Error(r(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(317));f[ge]=i}else ss(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ft(i),f=!1}else f=bc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(Qe(i),i):(Qe(i),null)}return Qe(i),(i.flags&128)!==0?(i.lanes=a,i):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=i.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==f&&(o.flags|=2048)),a!==e&&a&&(i.child.flags|=8192),nl(i,i.updateQueue),Ft(i),null);case 4:return pt(),e===null&&jf(i.stateNode.containerInfo),Ft(i),null;case 10:return Fn(i.type),Ft(i),null;case 19:if(K(Jt),o=i.memoizedState,o===null)return Ft(i),null;if(f=(i.flags&128)!==0,d=o.rendering,d===null)if(f)dr(o,!1);else{if(Qt!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(d=Fo(e),d!==null){for(i.flags|=128,dr(o,!1),e=d.updateQueue,i.updateQueue=e,nl(i,e),i.subtreeFlags=0,e=a,a=i.child;a!==null;)lp(a,e),a=a.sibling;return et(Jt,Jt.current&1|2),Mt&&Hn(i,o.treeForkCount),i.child}e=e.sibling}o.tail!==null&&Ee()>ol&&(i.flags|=128,f=!0,dr(o,!1),i.lanes=4194304)}else{if(!f)if(e=Fo(d),e!==null){if(i.flags|=128,f=!0,e=e.updateQueue,i.updateQueue=e,nl(i,e),dr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!Mt)return Ft(i),null}else 2*Ee()-o.renderingStartTime>ol&&a!==536870912&&(i.flags|=128,f=!0,dr(o,!1),i.lanes=4194304);o.isBackwards?(d.sibling=i.child,i.child=d):(e=o.last,e!==null?e.sibling=d:i.child=d,o.last=d)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ee(),e.sibling=null,a=Jt.current,et(Jt,f?a&1|2:a&1),Mt&&Hn(i,o.treeForkCount),e):(Ft(i),null);case 22:case 23:return Qe(i),jc(),o=i.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(i.flags|=8192):o&&(i.flags|=8192),o?(a&536870912)!==0&&(i.flags&128)===0&&(Ft(i),i.subtreeFlags&6&&(i.flags|=8192)):Ft(i),a=i.updateQueue,a!==null&&nl(i,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==a&&(i.flags|=2048),e!==null&&K(os),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),i.memoizedState.cache!==a&&(i.flags|=2048),Fn(Wt),Ft(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function kT(e,i){switch(yc(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return Fn(Wt),pt(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return ze(i),null;case 31:if(i.memoizedState!==null){if(Qe(i),i.alternate===null)throw Error(r(340));ss()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(Qe(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(r(340));ss()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return K(Jt),null;case 4:return pt(),null;case 10:return Fn(i.type),null;case 22:case 23:return Qe(i),jc(),e!==null&&K(os),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return Fn(Wt),null;case 25:return null;default:return null}}function Ng(e,i){switch(yc(i),i.tag){case 3:Fn(Wt),pt();break;case 26:case 27:case 5:ze(i);break;case 4:pt();break;case 31:i.memoizedState!==null&&Qe(i);break;case 13:Qe(i);break;case 19:K(Jt);break;case 10:Fn(i.type);break;case 22:case 23:Qe(i),jc(),e!==null&&K(os);break;case 24:Fn(Wt)}}function hr(e,i){try{var a=i.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var f=o.next;a=f;do{if((a.tag&e)===e){o=void 0;var d=a.create,v=a.inst;o=d(),v.destroy=o}a=a.next}while(a!==f)}}catch(x){Lt(i,i.return,x)}}function vi(e,i,a){try{var o=i.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var d=f.next;o=d;do{if((o.tag&e)===e){var v=o.inst,x=v.destroy;if(x!==void 0){v.destroy=void 0,f=i;var _=a,V=x;try{V()}catch(Y){Lt(f,_,Y)}}}o=o.next}while(o!==d)}}catch(Y){Lt(i,i.return,Y)}}function Pg(e){var i=e.updateQueue;if(i!==null){var a=e.stateNode;try{Rp(i,a)}catch(o){Lt(e,e.return,o)}}}function Bg(e,i,a){a.props=ds(e.type,e.memoizedProps),a.state=e.memoizedState;
vendor: 18,134 bytes, line 9
9try{a.componentWillUnmount()}catch(o){Lt(e,i,o)}}function mr(e,i){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof a=="function"?e.refCleanup=a(o):a.current=o}}catch(f){Lt(e,i,f)}}function Rn(e,i){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(f){Lt(e,i,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(f){Lt(e,i,f)}else a.current=null}function Vg(e){var i=e.type,a=e.memoizedProps,o=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break t;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(f){Lt(e,e.return,f)}}function ff(e,i,a){try{var o=e.stateNode;lE(o,e.type,a,i),o[Le]=i}catch(f){Lt(e,e.return,f)}}function Ug(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ai(e.type)||e.tag===4}function df(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||Ug(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ai(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hf(e,i,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,i):(i=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.appendChild(e),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=Vn));else if(o!==4&&(o===27&&Ai(e.type)&&(a=e.stateNode,i=null),e=e.child,e!==null))for(hf(e,i,a),e=e.sibling;e!==null;)hf(e,i,a),e=e.sibling}function il(e,i,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?a.insertBefore(e,i):a.appendChild(e);else if(o!==4&&(o===27&&Ai(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(il(e,i,a),e=e.sibling;e!==null;)il(e,i,a),e=e.sibling}function kg(e){var i=e.stateNode,a=e.memoizedProps;try{for(var o=e.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);Se(i,o,a),i[ge]=e,i[Le]=a}catch(d){Lt(e,e.return,d)}}var Kn=!1,ne=!1,mf=!1,Hg=typeof WeakSet=="function"?WeakSet:Set,de=null;function HT(e,i){if(e=e.containerInfo,Nf=El,e=Wm(e),rc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else t:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var f=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{a.nodeType,d.nodeType}catch{a=null;break t}var v=0,x=-1,_=-1,V=0,Y=0,Z=e,H=null;e:for(;;){for(var q;Z!==a||f!==0&&Z.nodeType!==3||(x=v+f),Z!==d||o!==0&&Z.nodeType!==3||(_=v+o),Z.nodeType===3&&(v+=Z.nodeValue.length),(q=Z.firstChild)!==null;)H=Z,Z=q;for(;;){if(Z===e)break e;if(H===a&&++V===f&&(x=v),H===d&&++Y===o&&(_=v),(q=Z.nextSibling)!==null)break;Z=H,H=Z.parentNode}Z=q}a=x===-1||_===-1?null:{start:x,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(Pf={focusedElem:e,selectionRange:a},El=!1,de=i;de!==null;)if(i=de,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,de=e;else for(;de!==null;){switch(i=de,d=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,a=i,f=d.memoizedProps,d=d.memoizedState,o=a.stateNode;try{var at=ds(a.type,f);e=o.getSnapshotBeforeUpdate(at,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(ht){Lt(a,a.return,ht)}}break;case 3:if((e&1024)!==0){if(e=i.stateNode.containerInfo,a=e.nodeType,a===9)Uf(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Uf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=i.sibling,e!==null){e.return=i.return,de=e;break}de=i.return}}function qg(e,i,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:Zn(e,a),o&4&&hr(5,a);break;case 1:if(Zn(e,a),o&4)if(e=a.stateNode,i===null)try{e.componentDidMount()}catch(v){Lt(a,a.return,v)}else{var f=ds(a.type,i.memoizedProps);i=i.memoizedState;try{e.componentDidUpdate(f,i,e.__reactInternalSnapshotBeforeUpdate)}catch(v){Lt(a,a.return,v)}}o&64&&Pg(a),o&512&&mr(a,a.return);break;case 3:if(Zn(e,a),o&64&&(e=a.updateQueue,e!==null)){if(i=null,a.child!==null)switch(a.child.tag){case 27:case 5:i=a.child.stateNode;break;case 1:i=a.child.stateNode}try{Rp(e,i)}catch(v){Lt(a,a.return,v)}}break;case 27:i===null&&o&4&&kg(a);case 26:case 5:Zn(e,a),i===null&&o&4&&Vg(a),o&512&&mr(a,a.return);break;case 12:Zn(e,a);break;case 31:Zn(e,a),o&4&&Yg(e,a);break;case 13:Zn(e,a),o&4&&Ig(e,a),o&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=ZT.bind(null,a),gE(e,a))));break;case 22:if(o=a.memoizedState!==null||Kn,!o){i=i!==null&&i.memoizedState!==null||ne,f=Kn;var d=ne;Kn=o,(ne=i)&&!d?Jn(e,a,(a.subtreeFlags&8772)!==0):Zn(e,a),Kn=f,ne=d}break;case 30:break;default:Zn(e,a)}}function Fg(e){var i=e.alternate;i!==null&&(e.alternate=null,Fg(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&Fu(i)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var It=null,Pe=!1;function Qn(e,i,a){for(a=a.child;a!==null;)Gg(e,i,a),a=a.sibling}function Gg(e,i,a){if(Ge&&typeof Ge.onCommitFiberUnmount=="function")try{Ge.onCommitFiberUnmount(Va,a)}catch{}switch(a.tag){case 26:ne||Rn(a,i),Qn(e,i,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ne||Rn(a,i);var o=It,f=Pe;Ai(a.type)&&(It=a.stateNode,Pe=!1),Qn(e,i,a),Tr(a.stateNode),It=o,Pe=f;break;case 5:ne||Rn(a,i);case 6:if(o=It,f=Pe,It=null,Qn(e,i,a),It=o,Pe=f,It!==null)if(Pe)try{(It.nodeType===9?It.body:It.nodeName==="HTML"?It.ownerDocument.body:It).removeChild(a.stateNode)}catch(d){Lt(a,i,d)}else try{It.removeChild(a.stateNode)}catch(d){Lt(a,i,d)}break;case 18:It!==null&&(Pe?(e=It,Py(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),va(e)):Py(It,a.stateNode));break;case 4:o=It,f=Pe,It=a.stateNode.containerInfo,Pe=!0,Qn(e,i,a),It=o,Pe=f;break;case 0:case 11:case 14:case 15:vi(2,a,i),ne||vi(4,a,i),Qn(e,i,a);break;case 1:ne||(Rn(a,i),o=a.stateNode,typeof o.componentWillUnmount=="function"&&Bg(a,i,o)),Qn(e,i,a);break;case 21:Qn(e,i,a);break;case 22:ne=(o=ne)||a.memoizedState!==null,Qn(e,i,a),ne=o;break;default:Qn(e,i,a)}}function Yg(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{va(e)}catch(a){Lt(i,i.return,a)}}}function Ig(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{va(e)}catch(a){Lt(i,i.return,a)}}function qT(e){switch(e.tag){case 31:case 13:case 19:var i=e.stateNode;return i===null&&(i=e.stateNode=new Hg),i;case 22:return e=e.stateNode,i=e._retryCache,i===null&&(i=e._retryCache=new Hg),i;default:throw Error(r(435,e.tag))}}function sl(e,i){var a=qT(e);i.forEach(function(o){if(!a.has(o)){a.add(o);var f=JT.bind(null,e,o);o.then(f,f)}})}function Be(e,i){var a=i.deletions;if(a!==null)for(var o=0;o<a.length;o++){var f=a[o],d=e,v=i,x=v;t:for(;x!==null;){switch(x.tag){case 27:if(Ai(x.type)){It=x.stateNode,Pe=!1;break t}break;case 5:It=x.stateNode,Pe=!1;break t;case 3:case 4:It=x.stateNode.containerInfo,Pe=!0;break t}x=x.return}if(It===null)throw Error(r(160));Gg(d,v,f),It=null,Pe=!1,d=f.alternate,d!==null&&(d.return=null),f.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)Xg(i,e),i=i.sibling}var gn=null;function Xg(e,i){var a=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Be(i,e),Ve(e),o&4&&(vi(3,e,e.return),hr(3,e),vi(5,e,e.return));break;case 1:Be(i,e),Ve(e),o&512&&(ne||a===null||Rn(a,a.return)),o&64&&Kn&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var f=gn;if(Be(i,e),Ve(e),o&512&&(ne||a===null||Rn(a,a.return)),o&4){var d=a!==null?a.memoizedState:null;if(o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null){t:{o=e.type,a=e.memoizedProps,f=f.ownerDocument||f;e:switch(o){case"title":d=f.getElementsByTagName("title")[0],(!d||d[Ha]||d[ge]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=f.createElement(o),f.head.insertBefore(d,f.querySelector("head > title"))),Se(d,o,a),d[ge]=e,fe(d),o=d;break t;case"link":var v=Xy("link","href",f).get(o+(a.href||""));if(v){for(var x=0;x<v.length;x++)if(d=v[x],d.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&d.getAttribute("rel")===(a.rel==null?null:a.rel)&&d.getAttribute("title")===(a.title==null?null:a.title)&&d.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){v.splice(x,1);break e}}d=f.createElement(o),Se(d,o,a),f.head.appendChild(d);break;case"meta":if(v=Xy("meta","content",f).get(o+(a.content||""))){for(x=0;x<v.length;x++)if(d=v[x],d.getAttribute("content")===(a.content==null?null:""+a.content)&&d.getAttribute("name")===(a.name==null?null:a.name)&&d.getAttribute("property")===(a.property==null?null:a.property)&&d.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&d.getAttribute("charset")===(a.charSet==null?null:a.charSet)){v.splice(x,1);break e}}d=f.createElement(o),Se(d,o,a),f.head.appendChild(d);break;default:throw Error(r(468,o))}d[ge]=e,fe(d),o=d}e.stateNode=o}else Ky(f,e.type,e.stateNode);else e.stateNode=Iy(f,o,e.memoizedProps);else d!==o?(d===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):d.count--,o===null?Ky(f,e.type,e.stateNode):Iy(f,o,e.memoizedProps)):o===null&&e.stateNode!==null&&ff(e,e.memoizedProps,a.memoizedProps)}break;case 27:Be(i,e),Ve(e),o&512&&(ne||a===null||Rn(a,a.return)),a!==null&&o&4&&ff(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Be(i,e),Ve(e),o&512&&(ne||a===null||Rn(a,a.return)),e.flags&32){f=e.stateNode;try{Hs(f,"")}catch(at){Lt(e,e.return,at)}}o&4&&e.stateNode!=null&&(f=e.memoizedProps,ff(e,f,a!==null?a.memoizedProps:f)),o&1024&&(mf=!0);break;case 6:if(Be(i,e),Ve(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,a=e.stateNode;try{a.nodeValue=o}catch(at){Lt(e,e.return,at)}}break;case 3:if(Sl=null,f=gn,gn=vl(i.containerInfo),Be(i,e),gn=f,Ve(e),o&4&&a!==null&&a.memoizedState.isDehydrated)try{va(i.containerInfo)}catch(at){Lt(e,e.return,at)}mf&&(mf=!1,Kg(e));break;case 4:o=gn,gn=vl(e.stateNode.containerInfo),Be(i,e),Ve(e),gn=o;break;case 12:Be(i,e),Ve(e);break;case 31:Be(i,e),Ve(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,sl(e,o)));break;case 13:Be(i,e),Ve(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(rl=Ee()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,sl(e,o)));break;case 22:f=e.memoizedState!==null;var _=a!==null&&a.memoizedState!==null,V=Kn,Y=ne;if(Kn=V||f,ne=Y||_,Be(i,e),ne=Y,Kn=V,Ve(e),o&8192)t:for(i=e.stateNode,i._visibility=f?i._visibility&-2:i._visibility|1,f&&(a===null||_||Kn||ne||hs(e)),a=null,i=e;;){if(i.tag===5||i.tag===26){if(a===null){_=a=i;try{if(d=_.stateNode,f)v=d.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{x=_.stateNode;var Z=_.memoizedProps.style,H=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;x.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(at){Lt(_,_.return,at)}}}else if(i.tag===6){if(a===null){_=i;try{_.stateNode.nodeValue=f?"":_.memoizedProps}catch(at){Lt(_,_.return,at)}}}else if(i.tag===18){if(a===null){_=i;try{var q=_.stateNode;f?By(q,!0):By(_.stateNode,!1)}catch(at){Lt(_,_.return,at)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}o&4&&(o=e.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,sl(e,a))));break;case 19:Be(i,e),Ve(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,sl(e,o)));break;case 30:break;case 21:break;default:Be(i,e),Ve(e)}}function Ve(e){var i=e.flags;if(i&2){try{for(var a,o=e.return;o!==null;){if(Ug(o)){a=o;break}o=o.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var f=a.stateNode,d=df(e);il(e,d,f);break;case 5:var v=a.stateNode;a.flags&32&&(Hs(v,""),a.flags&=-33);var x=df(e);il(e,x,v);break;case 3:case 4:var _=a.stateNode.containerInfo,V=df(e);hf(e,V,_);break;default:throw Error(r(161))}}catch(Y){Lt(e,e.return,Y)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function Kg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var i=e;Kg(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),e=e.sibling}}function Zn(e,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)qg(e,i.alternate,i),i=i.sibling}function hs(e){for(e=e.child;e!==null;){var i=e;switch(i.tag){case 0:case 11:case 14:case 15:vi(4,i,i.return),hs(i);break;case 1:Rn(i,i.return);var a=i.stateNode;typeof a.componentWillUnmount=="function"&&Bg(i,i.return,a),hs(i);break;case 27:Tr(i.stateNode);case 26:case 5:Rn(i,i.return),hs(i);break;case 22:i.memoizedState===null&&hs(i);break;case 30:hs(i);break;default:hs(i)}e=e.sibling}}function Jn(e,i,a){for(a=a&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var o=i.alternate,f=e,d=i,v=d.flags;switch(d.tag){case 0:case 11:case 15:Jn(f,d,a),hr(4,d);break;case 1:if(Jn(f,d,a),o=d,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(V){Lt(o,o.return,V)}if(o=d,f=o.updateQueue,f!==null){var x=o.stateNode;try{var _=f.shared.hiddenCallbacks;if(_!==null)for(f.shared.hiddenCallbacks=null,f=0;f<_.length;f++)Ap(_[f],x)}catch(V){Lt(o,o.return,V)}}a&&v&64&&Pg(d),mr(d,d.return);break;case 27:kg(d);case 26:case 5:Jn(f,d,a),a&&o===null&&v&4&&Vg(d),mr(d,d.return);break;case 12:Jn(f,d,a);break;case 31:Jn(f,d,a),a&&v&4&&Yg(f,d);break;case 13:Jn(f,d,a),a&&v&4&&Ig(f,d);break;case 22:d.memoizedState===null&&Jn(f,d,a),mr(d,d.return);break;case 30:break;default:Jn(f,d,a)}i=i.sibling}}function pf(e,i){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(e=i.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&tr(a))}function gf(e,i){e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&tr(e))}function yn(e,i,a,o){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Qg(e,i,a,o),i=i.sibling}function Qg(e,i,a,o){var f=i.flags;switch(i.tag){case 0:case 11:case 15:yn(e,i,a,o),f&2048&&hr(9,i);break;case 1:yn(e,i,a,o);break;case 3:yn(e,i,a,o),f&2048&&(e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&tr(e)));break;case 12:if(f&2048){yn(e,i,a,o),e=i.stateNode;try{var d=i.memoizedProps,v=d.id,x=d.onPostCommit;typeof x=="function"&&x(v,i.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){Lt(i,i.return,_)}}else yn(e,i,a,o);break;case 31:yn(e,i,a,o);break;case 13:yn(e,i,a,o);break;case 23:break;case 22:d=i.stateNode,v=i.alternate,i.memoizedState!==null?d._visibility&2?yn(e,i,a,o):pr(e,i):d._visibility&2?yn(e,i,a,o):(d._visibility|=2,oa(e,i,a,o,(i.subtreeFlags&10256)!==0||!1)),f&2048&&pf(v,i);break;case 24:yn(e,i,a,o),f&2048&&gf(i.alternate,i);break;default:yn(e,i,a,o)}}function oa(e,i,a,o,f){for(f=f&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var d=e,v=i,x=a,_=o,V=v.flags;switch(v.tag){case 0:case 11:case 15:oa(d,v,x,_,f),hr(8,v);break;case 23:break;case 22:var Y=v.stateNode;v.memoizedState!==null?Y._visibility&2?oa(d,v,x,_,f):pr(d,v):(Y._visibility|=2,oa(d,v,x,_,f)),f&&V&2048&&pf(v.alternate,v);break;case 24:oa(d,v,x,_,f),f&&V&2048&&gf(v.alternate,v);break;default:oa(d,v,x,_,f)}i=i.sibling}}function pr(e,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var a=e,o=i,f=o.flags;switch(o.tag){case 22:pr(a,o),f&2048&&pf(o.alternate,o);break;case 24:pr(a,o),f&2048&&gf(o.alternate,o);break;default:pr(a,o)}i=i.sibling}}var gr=8192;function la(e,i,a){if(e.subtreeFlags&gr)for(e=e.child;e!==null;)Zg(e,i,a),e=e.sibling}function Zg(e,i,a){switch(e.tag){case 26:la(e,i,a),e.flags&gr&&e.memoizedState!==null&&ME(a,gn,e.memoizedState,e.memoizedProps);break;case 5:la(e,i,a);break;case 3:case 4:var o=gn;gn=vl(e.stateNode.containerInfo),la(e,i,a),gn=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=gr,gr=16777216,la(e,i,a),gr=o):la(e,i,a));break;default:la(e,i,a)}}function Jg(e){var i=e.alternate;if(i!==null&&(e=i.child,e!==null)){i.child=null;do i=e.sibling,e.sibling=null,e=i;while(e!==null)}}function yr(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var o=i[a];de=o,Wg(o,e)}Jg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)$g(e),e=e.sibling}function $g(e){switch(e.tag){case 0:case 11:case 15:yr(e),e.flags&2048&&vi(9,e,e.return);break;case 3:yr(e);break;case 12:yr(e);break;case 22:var i=e.stateNode;e.memoizedState!==null&&i._visibility&2&&(e.return===null||e.return.tag!==13)?(i._visibility&=-3,al(e)):yr(e);break;default:yr(e)}}function al(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var o=i[a];de=o,Wg(o,e)}Jg(e)}for(e=e.child;e!==null;){switch(i=e,i.tag){case 0:case 11:case 15:vi(8,i,i.return),al(i);break;case 22:a=i.stateNode,a._visibility&2&&(a._visibility&=-3,al(i));break;default:al(i)}e=e.sibling}}function Wg(e,i){for(;de!==null;){var a=de;switch(a.tag){case 0:case 11:case 15:vi(8,a,i);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:tr(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,de=o;else t:for(a=e;de!==null;){o=de;var f=o.sibling,d=o.return;if(Fg(o),o===a){de=null;break t}if(f!==null){f.return=d,de=f;break t}de=d}}}var FT={getCacheForType:function(e){var i=ve(Wt),a=i.data.get(e);return a===void 0&&(a=e(),i.data.set(e,a)),a}
vendor: 5,640 bytes, line 9
9,cacheSignal:function(){return ve(Wt).controller.signal}},GT=typeof WeakMap=="function"?WeakMap:Map,jt=0,Vt=null,Tt=null,Rt=0,zt=0,Ze=null,bi=!1,ua=!1,yf=!1,$n=0,Qt=0,Si=0,ms=0,vf=0,Je=0,ca=0,vr=null,Ue=null,bf=!1,rl=0,ty=0,ol=1/0,ll=null,xi=null,re=0,wi=null,fa=null,Wn=0,Sf=0,xf=null,ey=null,br=0,wf=null;function $e(){return(jt&2)!==0&&Rt!==0?Rt&-Rt:k.T!==null?Mf():ym()}function ny(){if(Je===0)if((Rt&536870912)===0||Mt){var e=go;go<<=1,(go&3932160)===0&&(go=262144),Je=e}else Je=536870912;return e=Ke.current,e!==null&&(e.flags|=32),Je}function ke(e,i,a){(e===Vt&&(zt===2||zt===9)||e.cancelPendingCommit!==null)&&(da(e,0),Ti(e,Rt,Je,!1)),ka(e,a),((jt&2)===0||e!==Vt)&&(e===Vt&&((jt&2)===0&&(ms|=a),Qt===4&&Ti(e,Rt,Je,!1)),Cn(e))}function iy(e,i,a){if((jt&6)!==0)throw Error(r(327));var o=!a&&(i&127)===0&&(i&e.expiredLanes)===0||Ua(e,i),f=o?XT(e,i):Ef(e,i,!0),d=o;do{if(f===0){ua&&!o&&Ti(e,i,0,!1);break}else{if(a=e.current.alternate,d&&!YT(a)){f=Ef(e,i,!1),d=!1;continue}if(f===2){if(d=i,e.errorRecoveryDisabledLanes&d)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){i=v;t:{var x=e;f=vr;var _=x.current.memoizedState.isDehydrated;if(_&&(da(x,v).flags|=256),v=Ef(x,v,!1),v!==2){if(yf&&!_){x.errorRecoveryDisabledLanes|=d,ms|=d,f=4;break t}d=Ue,Ue=f,d!==null&&(Ue===null?Ue=d:Ue.push.apply(Ue,d))}f=v}if(d=!1,f!==2)continue}}if(f===1){da(e,0),Ti(e,i,0,!0);break}t:{switch(o=e,d=f,d){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:Ti(o,i,Je,!bi);break t;case 2:Ue=null;break;case 3:case 5:break;default:throw Error(r(329))}if((i&62914560)===i&&(f=rl+300-Ee(),10<f)){if(Ti(o,i,Je,!bi),vo(o,0,!0)!==0)break t;Wn=i,o.timeoutHandle=Ly(sy.bind(null,o,a,Ue,ll,bf,i,Je,ms,ca,bi,d,"Throttled",-0,0),f);break t}sy(o,a,Ue,ll,bf,i,Je,ms,ca,bi,d,null,-0,0)}}break}while(!0);Cn(e)}function sy(e,i,a,o,f,d,v,x,_,V,Y,Z,H,q){if(e.timeoutHandle=-1,Z=i.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Vn},Zg(i,d,Z);var at=(d&62914560)===d?rl-Ee():(d&4194048)===d?ty-Ee():0;if(at=_E(Z,at),at!==null){Wn=d,e.cancelPendingCommit=at(dy.bind(null,e,i,d,a,o,f,v,x,_,Y,Z,null,H,q)),Ti(e,d,v,!V);return}}dy(e,i,d,a,o,f,v,x,_)}function YT(e){for(var i=e;;){var a=i.tag;if((a===0||a===11||a===15)&&i.flags&16384&&(a=i.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var f=a[o],d=f.getSnapshot;f=f.value;try{if(!Ie(d(),f))return!1}catch{return!1}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ti(e,i,a,o){i&=~vf,i&=~ms,e.suspendedLanes|=i,e.pingedLanes&=~i,o&&(e.warmLanes|=i),o=e.expirationTimes;for(var f=i;0<f;){var d=31-Ye(f),v=1<<d;o[d]=-1,f&=~v}a!==0&&mm(e,a,i)}function ul(){return(jt&6)===0?(Sr(0),!1):!0}function Tf(){if(Tt!==null){if(zt===0)var e=Tt.return;else e=Tt,qn=as=null,Vc(e),na=null,nr=0,e=Tt;for(;e!==null;)Ng(e.alternate,e),e=e.return;Tt=null}}function da(e,i){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,fE(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Wn=0,Tf(),Vt=e,Tt=a=kn(e.current,null),Rt=i,zt=0,Ze=null,bi=!1,ua=Ua(e,i),yf=!1,ca=Je=vf=ms=Si=Qt=0,Ue=vr=null,bf=!1,(i&8)!==0&&(i|=i&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=i;0<o;){var f=31-Ye(o),d=1<<f;i|=e[f],o&=~d}return $n=i,Oo(),a}function ay(e,i){bt=null,k.H=cr,i===ea||i===Vo?(i=xp(),zt=3):i===Rc?(i=xp(),zt=4):zt=i===tf?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Ze=i,Tt===null&&(Qt=1,$o(e,an(i,e.current)))}function ry(){var e=Ke.current;return e===null?!0:(Rt&4194048)===Rt?un===null:(Rt&62914560)===Rt||(Rt&536870912)!==0?e===un:!1}function oy(){var e=k.H;return k.H=cr,e===null?cr:e}function ly(){var e=k.A;return k.A=FT,e}function cl(){Qt=4,bi||(Rt&4194048)!==Rt&&Ke.current!==null||(ua=!0),(Si&134217727)===0&&(ms&134217727)===0||Vt===null||Ti(Vt,Rt,Je,!1)}function Ef(e,i,a){var o=jt;jt|=2;var f=oy(),d=ly();(Vt!==e||Rt!==i)&&(ll=null,da(e,i)),i=!1;var v=Qt;t:do try{if(zt!==0&&Tt!==null){var x=Tt,_=Ze;switch(zt){case 8:Tf(),v=6;break t;case 3:case 2:case 9:case 6:Ke.current===null&&(i=!0);var V=zt;if(zt=0,Ze=null,ha(e,x,_,V),a&&ua){v=0;break t}break;default:V=zt,zt=0,Ze=null,ha(e,x,_,V)}}IT(),v=Qt;break}catch(Y){ay(e,Y)}while(!0);return i&&e.shellSuspendCounter++,qn=as=null,jt=o,k.H=f,k.A=d,Tt===null&&(Vt=null,Rt=0,Oo()),v}function IT(){for(;Tt!==null;)uy(Tt)}function XT(e,i){var a=jt;jt|=2;var o=oy(),f=ly();Vt!==e||Rt!==i?(ll=null,ol=Ee()+500,da(e,i)):ua=Ua(e,i);t:do try{if(zt!==0&&Tt!==null){i=Tt;var d=Ze;e:switch(zt){case 1:zt=0,Ze=null,ha(e,i,d,1);break;case 2:case 9:if(bp(d)){zt=0,Ze=null,cy(i);break}i=function(){zt!==2&&zt!==9||Vt!==e||(zt=7),Cn(e)},d.then(i,i);break t;case 3:zt=7;break t;case 4:zt=5;break t;case 7:bp(d)?(zt=0,Ze=null,cy(i)):(zt=0,Ze=null,ha(e,i,d,7));break;case 5:var v=null;switch(Tt.tag){case 26:v=Tt.memoizedState;case 5:case 27:var x=Tt;if(v?Qy(v):x.stateNode.complete){zt=0,Ze=null;var _=x.sibling;if(_!==null)Tt=_;else{var V=x.return;V!==null?(Tt=V,fl(V)):Tt=null}break e}}zt=0,Ze=null,ha(e,i,d,5);break;case 6:zt=0,Ze=null,ha(e,i,d,6);break;case 8:Tf(),Qt=6;break t;default:throw Error(r(462))}}KT();break}catch(Y){ay(e,Y)}while(!0);return qn=as=null,k.H=o,k.A=f,jt=a,Tt!==null?0:(Vt=null,Rt=0,Oo(),Qt)}function KT(){for(;Tt!==null&&!mo();)uy(Tt)}function uy(e){var i=zg(e.alternate,e,$n);e.memoizedProps=e.pendingProps,i===null?fl(e):Tt=i}function cy(e){var i=e,a=i.alternate;
vendor: 3,461 bytes, line 9
9switch(i.tag){case 15:case 0:i=Cg(a,i,i.pendingProps,i.type,void 0,Rt);break;case 11:i=Cg(a,i,i.pendingProps,i.type.render,i.ref,Rt);break;case 5:Vc(i);default:Ng(a,i),i=Tt=lp(i,$n),i=zg(a,i,$n)}e.memoizedProps=e.pendingProps,i===null?fl(e):Tt=i}function ha(e,i,a,o){qn=as=null,Vc(i),na=null,nr=0;var f=i.return;try{if(PT(e,f,i,a,Rt)){Qt=1,$o(e,an(a,e.current)),Tt=null;return}}catch(d){if(f!==null)throw Tt=f,d;Qt=1,$o(e,an(a,e.current)),Tt=null;return}i.flags&32768?(Mt||o===1?e=!0:ua||(Rt&536870912)!==0?e=!1:(bi=e=!0,(o===2||o===9||o===3||o===6)&&(o=Ke.current,o!==null&&o.tag===13&&(o.flags|=16384))),fy(i,e)):fl(i)}function fl(e){var i=e;do{if((i.flags&32768)!==0){fy(i,bi);return}e=i.return;var a=UT(i.alternate,i,$n);if(a!==null){Tt=a;return}if(i=i.sibling,i!==null){Tt=i;return}Tt=i=e}while(i!==null);Qt===0&&(Qt=5)}function fy(e,i){do{var a=kT(e.alternate,e);if(a!==null){a.flags&=32767,Tt=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!i&&(e=e.sibling,e!==null)){Tt=e;return}Tt=e=a}while(e!==null);Qt=6,Tt=null}function dy(e,i,a,o,f,d,v,x,_){e.cancelPendingCommit=null;do dl();while(re!==0);if((jt&6)!==0)throw Error(r(327));if(i!==null){if(i===e.current)throw Error(r(177));if(d=i.lanes|i.childLanes,d|=fc,Cw(e,a,d,v,x,_),e===Vt&&(Tt=Vt=null,Rt=0),fa=i,wi=e,Wn=a,Sf=d,xf=f,ey=o,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,$T(Ls,function(){return yy(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||o){o=k.T,k.T=null,f=$.p,$.p=2,v=jt,jt|=4;try{HT(e,i,a)}finally{jt=v,$.p=f,k.T=o}}re=1,hy(),my(),py()}}function hy(){if(re===1){re=0;var e=wi,i=fa,a=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||a){a=k.T,k.T=null;var o=$.p;$.p=2;var f=jt;jt|=4;try{Xg(i,e);var d=Pf,v=Wm(e.containerInfo),x=d.focusedElem,_=d.selectionRange;if(v!==x&&x&&x.ownerDocument&&$m(x.ownerDocument.documentElement,x)){if(_!==null&&rc(x)){var V=_.start,Y=_.end;if(Y===void 0&&(Y=V),"selectionStart"in x)x.selectionStart=V,x.selectionEnd=Math.min(Y,x.value.length);else{var Z=x.ownerDocument||document,H=Z&&Z.defaultView||window;if(H.getSelection){var q=H.getSelection(),at=x.textContent.length,ht=Math.min(_.start,at),Bt=_.end===void 0?ht:Math.min(_.end,at);!q.extend&&ht>Bt&&(v=Bt,Bt=ht,ht=v);var P=Jm(x,ht),z=Jm(x,Bt);if(P&&z&&(q.rangeCount!==1||q.anchorNode!==P.node||q.anchorOffset!==P.offset||q.focusNode!==z.node||q.focusOffset!==z.offset)){var B=Z.createRange();B.setStart(P.node,P.offset),q.removeAllRanges(),ht>Bt?(q.addRange(B),q.extend(z.node,z.offset)):(B.setEnd(z.node,z.offset),q.addRange(B))}}}}for(Z=[],q=x;q=q.parentNode;)q.nodeType===1&&Z.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<Z.length;x++){var Q=Z[x];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}El=!!Nf,Pf=Nf=null}finally{jt=f,$.p=o,k.T=a}}e.current=i,re=2}}function my(){if(re===2){re=0;var e=wi,i=fa,a=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||a){a=k.T,k.T=null;var o=$.p;$.p=2;var f=jt;jt|=4;try{qg(e,i.alternate,i)}finally{jt=f,$.p=o,k.T=a}}re=3}}function py(){if(re===4||re===3){re=0,Vu();var e=wi,i=fa,a=Wn,o=ey;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?re=5:(re=0,fa=wi=null,gy(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(xi=null),Hu(a),i=i.stateNode,Ge&&typeof Ge.onCommitFiberRoot=="function")try{Ge.onCommitFiberRoot(Va,i,void 0,(i.current.flags&128)===128)}catch{}
vendor: 15,832 bytes, lines 9-10
9if(o!==null){i=k.T,f=$.p,$.p=2,k.T=null;try{for(var d=e.onRecoverableError,v=0;v<o.length;v++){var x=o[v];d(x.value,{componentStack:x.stack})}}finally{k.T=i,$.p=f}}(Wn&3)!==0&&dl(),Cn(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===wf?br++:(br=0,wf=e):br=0,Sr(0)}}function gy(e,i){(e.pooledCacheLanes&=i)===0&&(i=e.pooledCache,i!=null&&(e.pooledCache=null,tr(i)))}function dl(){return hy(),my(),py(),yy()}function yy(){if(re!==5)return!1;var e=wi,i=Sf;Sf=0;var a=Hu(Wn),o=k.T,f=$.p;try{$.p=32>a?32:a,k.T=null,a=xf,xf=null;var d=wi,v=Wn;if(re=0,fa=wi=null,Wn=0,(jt&6)!==0)throw Error(r(331));var x=jt;if(jt|=4,$g(d.current),Qg(d,d.current,v,a),jt=x,Sr(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot=="function")try{Ge.onPostCommitFiberRoot(Va,d)}catch{}return!0}finally{$.p=f,k.T=o,gy(e,i)}}function vy(e,i,a){i=an(a,i),i=Wc(e.stateNode,i,2),e=pi(e,i,2),e!==null&&(ka(e,2),Cn(e))}function Lt(e,i,a){if(e.tag===3)vy(e,e,a);else for(;i!==null;){if(i.tag===3){vy(i,e,a);break}else if(i.tag===1){var o=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(xi===null||!xi.has(o))){e=an(a,e),a=bg(2),o=pi(i,a,2),o!==null&&(Sg(a,o,i,e),ka(o,2),Cn(o));break}}i=i.return}}function Af(e,i,a){var o=e.pingCache;if(o===null){o=e.pingCache=new GT;var f=new Set;o.set(i,f)}else f=o.get(i),f===void 0&&(f=new Set,o.set(i,f));f.has(a)||(yf=!0,f.add(a),e=QT.bind(null,e,i,a),i.then(e,e))}function QT(e,i,a){var o=e.pingCache;o!==null&&o.delete(i),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Vt===e&&(Rt&a)===a&&(Qt===4||Qt===3&&(Rt&62914560)===Rt&&300>Ee()-rl?(jt&2)===0&&da(e,0):vf|=a,ca===Rt&&(ca=0)),Cn(e)}function by(e,i){i===0&&(i=hm()),e=ns(e,i),e!==null&&(ka(e,i),Cn(e))}function ZT(e){var i=e.memoizedState,a=0;i!==null&&(a=i.retryLane),by(e,a)}function JT(e,i){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,f=e.memoizedState;f!==null&&(a=f.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(i),by(e,a)}function $T(e,i){return mn(e,i)}var hl=null,ma=null,Rf=!1,ml=!1,Cf=!1,Ei=0;function Cn(e){e!==ma&&e.next===null&&(ma===null?hl=ma=e:ma=ma.next=e),ml=!0,Rf||(Rf=!0,tE())}function Sr(e,i){if(!Cf&&ml){Cf=!0;do for(var a=!1,o=hl;o!==null;){if(e!==0){var f=o.pendingLanes;if(f===0)var d=0;else{var v=o.suspendedLanes,x=o.pingedLanes;d=(1<<31-Ye(42|e)+1)-1,d&=f&~(v&~x),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(a=!0,Ty(o,d))}else d=Rt,d=vo(o,o===Vt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||Ua(o,d)||(a=!0,Ty(o,d));o=o.next}while(a);Cf=!1}}function WT(){Sy()}function Sy(){ml=Rf=!1;var e=0;Ei!==0&&cE()&&(e=Ei);for(var i=Ee(),a=null,o=hl;o!==null;){var f=o.next,d=xy(o,i);d===0?(o.next=null,a===null?hl=f:a.next=f,f===null&&(ma=a)):(a=o,(e!==0||(d&3)!==0)&&(ml=!0)),o=f}re!==0&&re!==5||Sr(e),Ei!==0&&(Ei=0)}function xy(e,i){for(var a=e.suspendedLanes,o=e.pingedLanes,f=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var v=31-Ye(d),x=1<<v,_=f[v];_===-1?((x&a)===0||(x&o)!==0)&&(f[v]=Rw(x,i)):_<=i&&(e.expiredLanes|=x),d&=~x}if(i=Vt,a=Rt,a=vo(e,e===i?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,a===0||e===i&&(zt===2||zt===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Ba(o),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ua(e,a)){if(i=a&-a,i===e.callbackPriority)return i;switch(o!==null&&Ba(o),Hu(a)){case 2:case 8:a=Tn;break;case 32:a=Ls;break;case 268435456:a=dm;break;default:a=Ls}return o=wy.bind(null,e),a=mn(a,o),e.callbackPriority=i,e.callbackNode=a,i}return o!==null&&o!==null&&Ba(o),e.callbackPriority=2,e.callbackNode=null,2}function wy(e,i){if(re!==0&&re!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(dl()&&e.callbackNode!==a)return null;var o=Rt;return o=vo(e,e===Vt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(iy(e,o,i),xy(e,Ee()),e.callbackNode!=null&&e.callbackNode===a?wy.bind(null,e):null)}function Ty(e,i){if(dl())return null;iy(e,i,!0)}function tE(){dE(function(){(jt&6)!==0?mn(pe,WT):Sy()})}function Mf(){if(Ei===0){var e=Ws;e===0&&(e=po,po<<=1,(po&261888)===0&&(po=256)),Ei=e}return Ei}function Ey(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:wo(""+e)}function Ay(e,i){var a=i.ownerDocument.createElement("input");return a.name=i.name,a.value=i.value,e.id&&a.setAttribute("form",e.id),i.parentNode.insertBefore(a,i),e=new FormData(e),a.parentNode.removeChild(a),e}function eE(e,i,a,o,f){if(i==="submit"&&a&&a.stateNode===f){var d=Ey((f[Le]||null).action),v=o.submitter;v&&(i=(i=v[Le]||null)?Ey(i.formAction):v.getAttribute("formAction"),i!==null&&(d=i,v=null));var x=new Ro("action","action",null,o,f);e.push({event:x,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ei!==0){var _=v?Ay(f,v):new FormData(f);Xc(a,{pending:!0,data:_,method:f.method,action:d},null,_)}}else typeof d=="function"&&(x.preventDefault(),_=v?Ay(f,v):new FormData(f),Xc(a,{pending:!0,data:_,method:f.method,action:d},d,_))},currentTarget:f}]})}}for(var _f=0;_f<cc.length;_f++){var Of=cc[_f],nE=Of.toLowerCase(),iE=Of[0].toUpperCase()+Of.slice(1);pn(nE,"on"+iE)}pn(np,"onAnimationEnd"),pn(ip,"onAnimationIteration"),pn(sp,"onAnimationStart"),pn("dblclick","onDoubleClick"),pn("focusin","onFocus"),pn("focusout","onBlur"),pn(bT,"onTransitionRun"),pn(ST,"onTransitionStart"),pn(xT,"onTransitionCancel"),pn(ap,"onTransitionEnd"),Us("onMouseEnter",["mouseout","mouseover"]),Us("onMouseLeave",["mouseout","mouseover"]),Us("onPointerEnter",["pointerout","pointerover"]),Us("onPointerLeave",["pointerout","pointerover"]),$i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$i("onBeforeInput",["compositionend","keypress","textInput","paste"]),$i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="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(" "),sE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xr));function Ry(e,i){i=(i&4)!==0;for(var a=0;a<e.length;a++){var o=e[a],f=o.event;o=o.listeners;t:{var d=void 0;if(i)for(var v=o.length-1;0<=v;v--){var x=o[v],_=x.instance,V=x.currentTarget;if(x=x.listener,_!==d&&f.isPropagationStopped())break t;d=x,f.currentTarget=V;try{d(f)}catch(Y){_o(Y)}f.currentTarget=null,d=_}else for(v=0;v<o.length;v++){if(x=o[v],_=x.instance,V=x.currentTarget,x=x.listener,_!==d&&f.isPropagationStopped())break t;d=x,f.currentTarget=V;try{d(f)}catch(Y){_o(Y)}f.currentTarget=null,d=_}}}}function Et(e,i){var a=i[qu];a===void 0&&(a=i[qu]=new Set);var o=e+"__bubble";a.has(o)||(Cy(i,e,2,!1),a.add(o))}function Df(e,i,a){var o=0;i&&(o|=4),Cy(a,e,o,i)}var pl="_reactListening"+Math.random().toString(36).slice(2);function jf(e){if(!e[pl]){e[pl]=!0,Sm.forEach(function(a){a!=="selectionchange"&&(sE.has(a)||Df(a,!1,e),Df(a,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[pl]||(i[pl]=!0,Df("selectionchange",!1,i))}}function Cy(e,i,a,o){switch(nv(i)){case 2:var f=jE;break;case 8:f=zE;break;default:f=Xf}a=f.bind(null,i,a,e),f=void 0,!Ju||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),o?f!==void 0?e.addEventListener(i,a,{capture:!0,passive:f}):e.addEventListener(i,a,!0):f!==void 0?e.addEventListener(i,a,{passive:f}):e.addEventListener(i,a,!1)}function zf(e,i,a,o,f){var d=o;if((i&1)===0&&(i&2)===0&&o!==null)t:for(;;){if(o===null)return;var v=o.tag;if(v===3||v===4){var x=o.stateNode.containerInfo;if(x===f)break;if(v===4)for(v=o.return;v!==null;){var _=v.tag;if((_===3||_===4)&&v.stateNode.containerInfo===f)return;v=v.return}for(;x!==null;){if(v=Ps(x),v===null)return;if(_=v.tag,_===5||_===6||_===26||_===27){o=d=v;continue t}x=x.parentNode}}o=o.return}jm(function(){var V=d,Y=Qu(a),Z=[];t:{var H=rp.get(e);if(H!==void 0){var q=Ro,at=e;switch(e){case"keypress":if(Eo(a)===0)break t;case"keydown":case"keyup":q=Jw;break;case"focusin":at="focus",q=ec;break;case"focusout":at="blur",q=ec;break;case"beforeblur":case"afterblur":q=ec;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=Nm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=Uw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=tT;break;case np:case ip:case sp:q=qw;break;case ap:q=nT;break;case"scroll":case"scrollend":q=Bw;break;case"wheel":q=sT;break;case"copy":case"cut":case"paste":q=Gw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=Bm;break;case"toggle":case"beforetoggle":q=rT}var ht=(i&4)!==0,Bt=!ht&&(e==="scroll"||e==="scrollend"),P=ht?H!==null?H+"Capture":null:H;ht=[];for(var z=V,B;z!==null;){var Q=z;if(B=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||B===null||P===null||(Q=Fa(z,P),Q!=null&&ht.push(wr(z,Q,B))),Bt)break;z=z.return}0<ht.length&&(H=new q(H,at,null,a,Y),Z.push({event:H,listeners:ht}))}}if((i&7)===0){t:{if(H=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",H&&a!==Ku&&(at=a.relatedTarget||a.fromElement)&&(Ps(at)||at[Ns]))break t;if((q||H)&&(H=Y.window===Y?Y:(H=Y.ownerDocument)?H.defaultView||H.parentWindow:window,q?(at=a.relatedTarget||a.toElement,q=V,at=at?Ps(at):null,at!==null&&(Bt=u(at),ht=at.tag,at!==Bt||ht!==5&&ht!==27&&ht!==6)&&(at=null)):(q=null,at=V),q!==at)){if(ht=Nm,Q="onMouseLeave",P="onMouseEnter",z="mouse",(e==="pointerout"||e==="pointerover")&&(ht=Bm,Q="onPointerLeave",P="onPointerEnter",z="pointer"),Bt=q==null?H:qa(q),B=at==null?H:qa(at),H=new ht(Q,z+"leave",q,a,Y),H.target=Bt,H.relatedTarget=B,Q=null,Ps(Y)===V&&(ht=new ht(P,z+"enter",at,a,Y),ht.target=B,ht.relatedTarget=Bt,Q=ht),Bt=Q,q&&at)e:{for(ht=aE,P=q,z=at,B=0,Q=P;Q;Q=ht(Q))B++;Q=0;for(var dt=z;dt;dt=ht(dt))Q++;for(;0<B-Q;)P=ht(P),B--;for(;0<Q-B;)z=ht(z),Q--;for(;B--;){if(P===z||z!==null&&P===z.alternate){ht=P;break e}P=ht(P),z=ht(z)}ht=null}else ht=null;q!==null&&My(Z,H,q,ht,!1),at!==null&&Bt!==null&&My(Z,Bt,at,ht,!0)}}t:{if(H=V?qa(V):window,q=H.nodeName&&H.nodeName.toLowerCase(),q==="select"||q==="input"&&H.type==="file")var _t=Ym;else if(Fm(H))if(Im)_t=gT;else{_t=mT;var ut=hT}else q=H.nodeName,!q||q.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?V&&Xu(V.elementType)&&(_t=Ym):_t=pT;if(_t&&(_t=_t(e,V))){Gm(Z,_t,a,Y);break t}ut&&ut(e,H,V),e==="focusout"&&V&&H.type==="number"&&V.memoizedProps.value!=null&&Iu(H,"number",H.value)}switch(ut=V?qa(V):window,e){case"focusin":(Fm(ut)||ut.contentEditable==="true")&&(Ys=ut,oc=V,Ja=null);break;case"focusout":Ja=oc=Ys=null;break;case"mousedown":lc=!0;break;case"contextmenu":case"mouseup":case"dragend":lc=!1,tp(Z,a,Y);break;case"selectionchange":if(vT)break;case"keydown":case"keyup":tp(Z,a,Y)}var St;if(ic)t:{switch(e){case"compositionstart":var Ct="onCompositionStart";break t;case"compositionend":Ct="onCompositionEnd";break t;case"compositionupdate":Ct="onCompositionUpdate";break t}Ct=void 0}else Gs?Hm(e,a)&&(Ct="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(Ct="onCompositionStart");Ct&&(Vm&&a.locale!=="ko"&&(Gs||Ct!=="onCompositionStart"?Ct==="onCompositionEnd"&&Gs&&(St=zm()):(li=Y,$u="value"in li?li.value:li.textContent,Gs=!0)),ut=gl(V,Ct),0<ut.length&&(Ct=new Pm(Ct,e,null,a,Y),Z.push({event:Ct,listeners:ut}),St?Ct.data=St:(St=qm(a),St!==null&&(Ct.data=St)))),(St=lT?uT(e,a):cT(e,a))&&(Ct=gl(V,"onBeforeInput"),0<Ct.length&&(ut=new Pm("onBeforeInput","beforeinput",null,a,Y),Z.push({event:ut,listeners:Ct}),ut.data=St)),eE(Z,e,V,a,Y)}Ry(Z,i)})}function wr(e,i,a){return{instance:e,listener:i,currentTarget:a}}function gl(e,i){for(var a=i+"Capture",o=[];e!==null;){var f=e,d=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||d===null||(f=Fa(e,a),f!=null&&o.unshift(wr(e,f,d)),f=Fa(e,i),f!=null&&o.push(wr(e,f,d))),e.tag===3)return o;e=e.return}return[]}function aE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function My(e,i,a,o,f){for(var d=i._reactName,v=[];a!==null&&a!==o;){var x=a,_=x.alternate,V=x.stateNode;if(x=x.tag,_!==null&&_===o)break;x!==5&&x!==26&&x!==27||V===null||(_=V,f?(V=Fa(a,d),V!=null&&v.unshift(wr(a,V,_))):f||(V=Fa(a,d),V!=null&&v.push(wr(a,V,_)))),a=a.return}v.length!==0&&e.push({event:i,listeners:v})}var rE=/\r\n?/g,oE=/\u0000|\uFFFD/g;function _y(e){return(typeof e=="string"?e:""+e).replace(rE,`
10`).replace(oE,"")}function Oy(e,i){return i=_y(i),_y(e)===i}function Pt(e,i,a,o,f,d){switch(a){case"children":typeof o=="string"?i==="body"||i==="textarea"&&o===""||Hs(e,o):(typeof o=="number"||typeof o=="bigint")&&i!=="body"&&Hs(e,""+o);break;case"className":So(e,"class",o);break;case"tabIndex":So(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":So(e,a,o);break;case"style":Om(e,o,d);break;case"data":if(i!=="object"){So(e,"data",o);break}case"src":case"href":if(o===""&&(i!=="a"||a!=="href")){e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=wo(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(a==="formAction"?(i!=="input"&&Pt(e,i,"name",f.name,f,null),Pt(e,i,"formEncType",f.formEncType,f,null),Pt(e,i,"formMethod",f.formMethod,f,null),Pt(e,i,"formTarget",f.formTarget,f,null)):(Pt(e,i,"encType",f.encType,f,null),Pt(e,i,"method",f.method,f,null),Pt(e,i,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=wo(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(e.onclick=Vn);break;case"onScroll":o!=null&&Et("scroll",e);break;case"onScrollEnd":o!=null&&Et("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(f.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}a=wo(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""+o):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,o):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(a,o):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):e.setAttribute(a,o);break;case"popover":Et("beforetoggle",e),Et("toggle",e),bo(e,"popover",o);break;case"xlinkActuate":Bn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Bn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Bn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Bn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Bn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Bn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Bn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Bn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Bn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":bo(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Nw.get(a)||a,bo(e,a,o))}}function Lf(e,i,a,o,f,d){switch(a){case"style":Om(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(f.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"children":typeof o=="string"?Hs(e,o):(typeof o=="number"||typeof o=="bigint")&&Hs(e,""+o);break;case"onScroll":o!=null&&Et("scroll",e);break;case"onScrollEnd":o!=null&&Et("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Vn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!xm.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),i=a.slice(2,f?a.length-7:void 0),d=e[Le]||null,d=d!=null?d[a]:null,typeof d=="function"&&e.removeEventListener(i,d,f),typeof o=="function")){typeof d!="function"&&d!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(i,o,f);break t}a in e?e[a]=o:o===!0?e.setAttribute(a,""):bo(e,a,o)}}}function Se(e,i,a){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Et("error",e),Et("load",e);var o=!1,f=!1,d;for(d in a)if(a.hasOwnProperty(d)){var v=a[d];if(v!=null)switch(d){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Pt(e,i,d,v,a,null)}}f&&Pt(e,i,"srcSet",a.srcSet,a,null),o&&Pt(e,i,"src",a.src,a,null);return;case"input":Et("invalid",e);var x=d=v=f=null,_=null,V=null;for(o in a)if(a.hasOwnProperty(o)){var Y=a[o];if(Y!=null)switch(o){case"name":f=Y;break;case"type":v=Y;break;case"checked":_=Y;break;case"defaultChecked":V=Y;break;case"value":d=Y;break;case"defaultValue":x=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,i));break;default:Pt(e,i,o,Y,a,null)}}Rm(e,d,x,_,V,v,f,!1);return;case"select":Et("invalid",e),o=v=d=null;for(f in a)if(a.hasOwnProperty(f)&&(x=a[f],x!=null))switch(f){case"value":d=x;break;case"defaultValue":v=x;break;case"multiple":o=x;default:Pt(e,i,f,x,a,null)}i=d,a=v,e.multiple=!!o,i!=null?ks(e,!!o,i,!1):a!=null&&ks(e,!!o,a,!0);return;case"textarea":Et("invalid",e),d=f=o=null;for(v in a)if(a.hasOwnProperty(v)&&(x=a[v],x!=null))switch(v){case"value":o=x;break;case"defaultValue":f=x;break;case"children":d=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:Pt(e,i,v,x,a,null)}Mm(e,o,f,d);return;case"option":for(_ in a)a.hasOwnProperty(_)&&(o=a[_],o!=null)&&(_==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":Pt(e,i,_,o,a,null));return;case"dialog":Et("beforetoggle",e),Et("toggle",e),Et("cancel",e),Et("close",e);break;case"iframe":case"object":Et("load",e);break;case"video":case"audio":for(o=0;o<xr.length;o++)Et(xr[o],e);break;case"image":Et("error",e),Et("load",e);break;case"details":Et("toggle",e);break;case"embed":case"source":case"link":Et("error",e),Et("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(V in a)if(a.hasOwnProperty(V)&&(o=a[V],o!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Pt(e,i,V,o,a,null)}return;default:if(Xu(i)){for(Y in a)a.hasOwnProperty(Y)&&(o=a[Y],o!==void 0&&Lf(e,i,Y,o,a,void 0));return}}for(x in a)a.hasOwnProperty(x)&&(o=a[x],o!=null&&Pt(e,i,x,o,a,null))}function lE(e,i,a,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,d=null,v=null,x=null,_=null,V=null,Y=null;for(q in a){var Z=a[q];if(a.hasOwnProperty(q)&&Z!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":_=Z;default:o.hasOwnProperty(q)||Pt(e,i,q,null,o,Z)}}for(var H in o){var q=o[H];
vendor: 4,775 bytes, line 10
10if(Z=a[H],o.hasOwnProperty(H)&&(q!=null||Z!=null))switch(H){case"type":d=q;break;case"name":f=q;break;case"checked":V=q;break;case"defaultChecked":Y=q;break;case"value":v=q;break;case"defaultValue":x=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,i));break;default:q!==Z&&Pt(e,i,H,q,o,Z)}}Yu(e,v,x,_,V,Y,d,f);return;case"select":q=v=x=H=null;for(d in a)if(_=a[d],a.hasOwnProperty(d)&&_!=null)switch(d){case"value":break;case"multiple":q=_;default:o.hasOwnProperty(d)||Pt(e,i,d,null,o,_)}for(f in o)if(d=o[f],_=a[f],o.hasOwnProperty(f)&&(d!=null||_!=null))switch(f){case"value":H=d;break;case"defaultValue":x=d;break;case"multiple":v=d;default:d!==_&&Pt(e,i,f,d,o,_)}i=x,a=v,o=q,H!=null?ks(e,!!a,H,!1):!!o!=!!a&&(i!=null?ks(e,!!a,i,!0):ks(e,!!a,a?[]:"",!1));return;case"textarea":q=H=null;for(x in a)if(f=a[x],a.hasOwnProperty(x)&&f!=null&&!o.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Pt(e,i,x,null,o,f)}for(v in o)if(f=o[v],d=a[v],o.hasOwnProperty(v)&&(f!=null||d!=null))switch(v){case"value":H=f;break;case"defaultValue":q=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(r(91));break;default:f!==d&&Pt(e,i,v,f,o,d)}Cm(e,H,q);return;case"option":for(var at in a)H=a[at],a.hasOwnProperty(at)&&H!=null&&!o.hasOwnProperty(at)&&(at==="selected"?e.selected=!1:Pt(e,i,at,null,o,H));for(_ in o)H=o[_],q=a[_],o.hasOwnProperty(_)&&H!==q&&(H!=null||q!=null)&&(_==="selected"?e.selected=H&&typeof H!="function"&&typeof H!="symbol":Pt(e,i,_,H,o,q));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 ht in a)H=a[ht],a.hasOwnProperty(ht)&&H!=null&&!o.hasOwnProperty(ht)&&Pt(e,i,ht,null,o,H);for(V in o)if(H=o[V],q=a[V],o.hasOwnProperty(V)&&H!==q&&(H!=null||q!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,i));break;default:Pt(e,i,V,H,o,q)}return;default:if(Xu(i)){for(var Bt in a)H=a[Bt],a.hasOwnProperty(Bt)&&H!==void 0&&!o.hasOwnProperty(Bt)&&Lf(e,i,Bt,void 0,o,H);for(Y in o)H=o[Y],q=a[Y],!o.hasOwnProperty(Y)||H===q||H===void 0&&q===void 0||Lf(e,i,Y,H,o,q);return}}for(var P in a)H=a[P],a.hasOwnProperty(P)&&H!=null&&!o.hasOwnProperty(P)&&Pt(e,i,P,null,o,H);for(Z in o)H=o[Z],q=a[Z],!o.hasOwnProperty(Z)||H===q||H==null&&q==null||Pt(e,i,Z,H,o,q)}function Dy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function uE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,i=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var f=a[o],d=f.transferSize,v=f.initiatorType,x=f.duration;if(d&&x&&Dy(v)){for(v=0,x=f.responseEnd,o+=1;o<a.length;o++){var _=a[o],V=_.startTime;if(V>x)break;var Y=_.transferSize,Z=_.initiatorType;Y&&Dy(Z)&&(_=_.responseEnd,v+=Y*(_<x?1:(x-V)/(_-V)))}if(--o,i+=8*(d+v)/(f.duration/1e3),e++,10<e)break}}if(0<e)return i/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Nf=null,Pf=null;function yl(e){return e.nodeType===9?e:e.ownerDocument}function jy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zy(e,i){if(e===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&i==="foreignObject"?0:e}function Bf(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Vf=null;function cE(){var e=window.event;return e&&e.type==="popstate"?e===Vf?!1:(Vf=e,!0):(Vf=null,!1)}var Ly=typeof setTimeout=="function"?setTimeout:void 0,fE=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=typeof Promise=="function"?Promise:void 0,dE=typeof queueMicrotask=="function"?queueMicrotask:typeof Ny<"u"?function(e){return Ny.resolve(null).then(e).catch(hE)}:Ly;function hE(e){setTimeout(function(){throw e})}function Ai(e){return e==="head"}function Py(e,i){var a=i,o=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(o===0){e.removeChild(f),va(i);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")Tr(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Tr(a);for(var d=a.firstChild;d;){var v=d.nextSibling,x=d.nodeName;d[Ha]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&d.rel.toLowerCase()==="stylesheet"||a.removeChild(d),d=v}}else a==="body"&&Tr(e.ownerDocument.body);a=f}while(a);va(i)}function By(e,i){var a=e;e=0;do{var o=a.nextSibling;
vendor: 7,656 bytes, line 10
10if(a.nodeType===1?i?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(i?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=o}while(a)}function Uf(e){var i=e.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var a=i;switch(i=i.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Uf(a),Fu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function mE(e,i,a,o){for(;e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==i.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Ha])switch(i){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(i==="input"&&e.type==="hidden"){var d=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=cn(e.nextSibling),e===null)break}return null}function pE(e,i,a){if(i==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=cn(e.nextSibling),e===null))return null;return e}function Vy(e,i){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=cn(e.nextSibling),e===null))return null;return e}function kf(e){return e.data==="$?"||e.data==="$~"}function Hf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function gE(e,i){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=i;else if(e.data!=="$?"||a.readyState!=="loading")i();else{var o=function(){i(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function cn(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return e}var qf=null;function Uy(e){e=e.nextSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(i===0)return cn(e.nextSibling);i--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||i++}e=e.nextSibling}return null}function ky(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(i===0)return e;i--}else a!=="/$"&&a!=="/&"||i++}e=e.previousSibling}return null}function Hy(e,i,a){switch(i=yl(a),e){case"html":if(e=i.documentElement,!e)throw Error(r(452));return e;case"head":if(e=i.head,!e)throw Error(r(453));return e;case"body":if(e=i.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Tr(e){for(var i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Fu(e)}var fn=new Map,qy=new Set;function vl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ti=$.d;$.d={f:yE,r:vE,D:bE,C:SE,L:xE,m:wE,X:EE,S:TE,M:AE};function yE(){var e=ti.f(),i=ul();return e||i}function vE(e){var i=Bs(e);i!==null&&i.tag===5&&i.type==="form"?ag(i):ti.r(e)}var pa=typeof document>"u"?null:document;function Fy(e,i,a){var o=pa;if(o&&typeof i=="string"&&i){var f=nn(i);f='link[rel="'+e+'"][href="'+f+'"]',typeof a=="string"&&(f+='[crossorigin="'+a+'"]'),qy.has(f)||(qy.add(f),e={rel:e,crossOrigin:a,href:i},o.querySelector(f)===null&&(i=o.createElement("link"),Se(i,"link",e),fe(i),o.head.appendChild(i)))}}function bE(e){ti.D(e),Fy("dns-prefetch",e,null)}function SE(e,i){ti.C(e,i),Fy("preconnect",e,i)}function xE(e,i,a){ti.L(e,i,a);var o=pa;if(o&&e&&i){var f='link[rel="preload"][as="'+nn(i)+'"]';i==="image"&&a&&a.imageSrcSet?(f+='[imagesrcset="'+nn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(f+='[imagesizes="'+nn(a.imageSizes)+'"]')):f+='[href="'+nn(e)+'"]';var d=f;switch(i){case"style":d=ga(e);break;case"script":d=ya(e)}fn.has(d)||(e=y({rel:"preload",href:i==="image"&&a&&a.imageSrcSet?void 0:e,as:i},a),fn.set(d,e),o.querySelector(f)!==null||i==="style"&&o.querySelector(Er(d))||i==="script"&&o.querySelector(Ar(d))||(i=o.createElement("link"),Se(i,"link",e),fe(i),o.head.appendChild(i)))}}function wE(e,i){ti.m(e,i);var a=pa;if(a&&e){var o=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+nn(o)+'"][href="'+nn(e)+'"]',d=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=ya(e)}if(!fn.has(d)&&(e=y({rel:"modulepreload",href:e},i),fn.set(d,e),a.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ar(d)))return}o=a.createElement("link"),Se(o,"link",e),fe(o),a.head.appendChild(o)}}}function TE(e,i,a){ti.S(e,i,a);var o=pa;if(o&&e){var f=Vs(o).hoistableStyles,d=ga(e);i=i||"default";var v=f.get(d);if(!v){var x={loading:0,preload:null};if(v=o.querySelector(Er(d)))x.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":i},a),(a=fn.get(d))&&Ff(e,a);var _=v=o.createElement("link");fe(_),Se(_,"link",e),_._p=new Promise(function(V,Y){_.onload=V,_.onerror=Y}),_.addEventListener("load",function(){x.loading|=1}),_.addEventListener("error",function(){x.loading|=2}),x.loading|=4,bl(v,i,o)}v={type:"stylesheet",instance:v,count:1,state:x},f.set(d,v)}}}function EE(e,i){ti.X(e,i);var a=pa;if(a&&e){var o=Vs(a).hoistableScripts,f=ya(e),d=o.get(f);d||(d=a.querySelector(Ar(f)),d||(e=y({src:e,async:!0},i),(i=fn.get(f))&&Gf(e,i),d=a.createElement("script"),fe(d),Se(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(f,d))}}function AE(e,i){ti.M(e,i);var a=pa;if(a&&e){var o=Vs(a).hoistableScripts,f=ya(e),d=o.get(f);d||(d=a.querySelector(Ar(f)),d||(e=y({src:e,async:!0,type:"module"},i),(i=fn.get(f))&&Gf(e,i),d=a.createElement("script"),fe(d),Se(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(f,d))}}function Gy(e,i,a,o){var f=(f=ft.current)?vl(f):null;if(!f)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(i=ga(a.href),a=Vs(f).hoistableStyles,o=a.get(i),o||(o={type:"style",instance:null,count:0,state:null},a.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=ga(a.href);var d=Vs(f).hoistableStyles,v=d.get(e);if(v||(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,v),(d=f.querySelector(Er(e)))&&!d._p&&(v.instance=d,v.state.loading=5),fn.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},fn.set(e,a),d||RE(f,e,a,v.state))),i&&o===null)throw Error(r(528,""));return v}if(i&&o!==null)throw Error(r(529,""));return null;
vendor: 4,683 bytes, line 10
10case"script":return i=a.async,a=a.src,typeof a=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=ya(a),a=Vs(f).hoistableScripts,o=a.get(i),o||(o={type:"script",instance:null,count:0,state:null},a.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function ga(e){return'href="'+nn(e)+'"'}function Er(e){return'link[rel="stylesheet"]['+e+"]"}function Yy(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function RE(e,i,a,o){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?o.loading=1:(i=e.createElement("link"),o.preload=i,i.addEventListener("load",function(){return o.loading|=1}),i.addEventListener("error",function(){return o.loading|=2}),Se(i,"link",a),fe(i),e.head.appendChild(i))}function ya(e){return'[src="'+nn(e)+'"]'}function Ar(e){return"script[async]"+e}function Iy(e,i,a){if(i.count++,i.instance===null)switch(i.type){case"style":var o=e.querySelector('style[data-href~="'+nn(a.href)+'"]');if(o)return i.instance=o,fe(o),o;var f=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),fe(o),Se(o,"style",f),bl(o,a.precedence,e),i.instance=o;case"stylesheet":f=ga(a.href);var d=e.querySelector(Er(f));if(d)return i.state.loading|=4,i.instance=d,fe(d),d;o=Yy(a),(f=fn.get(f))&&Ff(o,f),d=(e.ownerDocument||e).createElement("link"),fe(d);var v=d;return v._p=new Promise(function(x,_){v.onload=x,v.onerror=_}),Se(d,"link",o),i.state.loading|=4,bl(d,a.precedence,e),i.instance=d;case"script":return d=ya(a.src),(f=e.querySelector(Ar(d)))?(i.instance=f,fe(f),f):(o=a,(f=fn.get(d))&&(o=y({},a),Gf(o,f)),e=e.ownerDocument||e,f=e.createElement("script"),fe(f),Se(f,"link",o),e.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(o=i.instance,i.state.loading|=4,bl(o,a.precedence,e));return i.instance}function bl(e,i,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,d=f,v=0;v<o.length;v++){var x=o[v];if(x.dataset.precedence===i)d=x;else if(d!==f)break}d?d.parentNode.insertBefore(e,d.nextSibling):(i=a.nodeType===9?a.head:a,i.insertBefore(e,i.firstChild))}function Ff(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.title==null&&(e.title=i.title)}function Gf(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.integrity==null&&(e.integrity=i.integrity)}var Sl=null;function Xy(e,i,a){if(Sl===null){var o=new Map,f=Sl=new Map;f.set(a,o)}else f=Sl,o=f.get(a),o||(o=new Map,f.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),f=0;f<a.length;f++){var d=a[f];if(!(d[Ha]||d[ge]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var v=d.getAttribute(i)||"";v=e+v;var x=o.get(v);x?x.push(d):o.set(v,[d])}}return o}function Ky(e,i,a){e=e.ownerDocument||e,e.head.insertBefore(a,i==="title"?e.querySelector("head > title"):null)}function CE(e,i,a){if(a===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(e=i.disabled,typeof i.precedence=="string"&&e==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function Qy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ME(e,i,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=ga(o.href),d=i.querySelector(Er(f));if(d){i=d._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=xl.bind(e),i.then(e,e)),a.state.loading|=4,a.instance=d,fe(d);return}d=i.ownerDocument||i,o=Yy(o),(f=fn.get(f))&&Ff(o,f),d=d.createElement("link"),fe(d);var v=d;v._p=new Promise(function(x,_){v.onload=x,v.onerror=_}),Se(d,"link",o),a.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,i),(i=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=xl.bind(e),i.addEventListener("load",a),i.addEventListener("error",a))}}var Yf=0;function _E(e,i){return e.stylesheets&&e.count===0&&Tl(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&Tl(e,e.stylesheets),e.unsu
vendor: 10,526 bytes, line 10
10spend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+i);0<e.imgBytes&&Yf===0&&(Yf=62500*uE());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Tl(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Yf?50:800)+i);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(f)}}:null}function xl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var wl=null;function Tl(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,wl=new Map,i.forEach(OE,e),wl=null,xl.call(e))}function OE(e,i){if(!(i.state.loading&4)){var a=wl.get(e);if(a)var o=a.get(null);else{a=new Map,wl.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<f.length;d++){var v=f[d];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(a.set(v.dataset.precedence,v),o=v)}o&&a.set(null,o)}f=i.instance,v=f.getAttribute("data-precedence"),d=a.get(v)||o,d===o&&a.set(null,f),a.set(v,f),this.count++,o=xl.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),d?d.parentNode.insertBefore(f,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),i.state.loading|=4}}var Rr={$$typeof:L,Provider:null,Consumer:null,_currentValue:nt,_currentValue2:nt,_threadCount:0};function DE(e,i,a,o,f,d,v,x,_){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Uu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uu(0),this.hiddenUpdates=Uu(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=d,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function Zy(e,i,a,o,f,d,v,x,_,V,Y,Z){return e=new DE(e,i,a,v,_,V,Y,Z,x),i=1,d===!0&&(i|=24),d=Xe(3,null,null,i),e.current=d,d.stateNode=e,i=Tc(),i.refCount++,e.pooledCache=i,i.refCount++,d.memoizedState={element:o,isDehydrated:a,cache:i},Cc(d),e}function Jy(e){return e?(e=Ks,e):Ks}function $y(e,i,a,o,f,d){f=Jy(f),o.context===null?o.context=f:o.pendingContext=f,o=mi(i),o.payload={element:a},d=d===void 0?null:d,d!==null&&(o.callback=d),a=pi(e,o,i),a!==null&&(ke(a,e,i),sr(a,e,i))}function Wy(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<i?a:i}}function If(e,i){Wy(e,i),(e=e.alternate)&&Wy(e,i)}function tv(e){if(e.tag===13||e.tag===31){var i=ns(e,67108864);i!==null&&ke(i,e,67108864),If(e,67108864)}}function ev(e){if(e.tag===13||e.tag===31){var i=$e();i=ku(i);var a=ns(e,i);a!==null&&ke(a,e,i),If(e,i)}}var El=!0;function jE(e,i,a,o){var f=k.T;k.T=null;var d=$.p;try{$.p=2,Xf(e,i,a,o)}finally{$.p=d,k.T=f}}function zE(e,i,a,o){var f=k.T;k.T=null;var d=$.p;try{$.p=8,Xf(e,i,a,o)}finally{$.p=d,k.T=f}}function Xf(e,i,a,o){if(El){var f=Kf(o);if(f===null)zf(e,i,o,Al,a),iv(e,o);else if(NE(f,e,i,a,o))o.stopPropagation();else if(iv(e,o),i&4&&-1<LE.indexOf(e)){for(;f!==null;){var d=Bs(f);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var v=Ji(d.pendingLanes);if(v!==0){var x=d;for(x.pendingLanes|=2,x.entangledLanes|=2;v;){var _=1<<31-Ye(v);x.entanglements[1]|=_,v&=~_}Cn(d),(jt&6)===0&&(ol=Ee()+500,Sr(0))}}break;case 31:case 13:x=ns(d,2),x!==null&&ke(x,d,2),ul(),If(d,2)}if(d=Kf(o),d===null&&zf(e,i,o,Al,a),d===f)break;f=d}f!==null&&o.stopPropagation()}else zf(e,i,o,null,a)}}function Kf(e){return e=Qu(e),Qf(e)}var Al=null;function Qf(e){if(Al=null,e=Ps(e),e!==null){var i=u(e);if(i===null)e=null;else{var a=i.tag;if(a===13){if(e=c(i),e!==null)return e;e=null}else if(a===31){if(e=h(i),e!==null)return e;e=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null)}}return Al=e,null}function nv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ht()){case pe:return 2;case Tn:return 8;case Ls:case Sw:return 32;case dm:return 268435456;default:return 32}default:return 32}}var Zf=!1,Ri=null,Ci=null,Mi=null,Cr=new Map,Mr=new Map,_i=[],LE="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 iv(e,i){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":Mi=null;break;case"pointerover":case"pointerout":Cr.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mr.delete(i.pointerId)}}function _r(e,i,a,o,f,d){return e===null||e.nativeEvent!==d?(e={blockedOn:i,domEventName:a,eventSystemFlags:o,nativeEvent:d,targetContainers:[f]},i!==null&&(i=Bs(i),i!==null&&tv(i)),e):(e.eventSystemFlags|=o,i=e.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),e)}function NE(e,i,a,o,f){switch(i){case"focusin":return Ri=_r(Ri,e,i,a,o,f),!0;case"dragenter":return Ci=_r(Ci,e,i,a,o,f),!0;case"mouseover":return Mi=_r(Mi,e,i,a,o,f),!0;case"pointerover":var d=f.pointerId;return Cr.set(d,_r(Cr.get(d)||null,e,i,a,o,f)),!0;case"gotpointercapture":return d=f.pointerId,Mr.set(d,_r(Mr.get(d)||null,e,i,a,o,f)),!0}return!1}function sv(e){var i=Ps(e.target);if(i!==null){var a=u(i);if(a!==null){if(i=a.tag,i===13){if(i=c(a),i!==null){e.blockedOn=i,vm(e.priority,function(){ev(a)});return}}else if(i===31){if(i=h(a),i!==null){e.blockedOn=i,vm(e.priority,function(){ev(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Rl(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var a=Kf(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a);Ku=o,a.target.dispatchEvent(o),Ku=null}else return i=Bs(a),i!==null&&tv(i),e.blockedOn=a,!1;i.shift()}return!0}function av(e,i,a){Rl(e)&&a.delete(i)}function PE(){Zf=!1,Ri!==null&&Rl(Ri)&&(Ri=null),Ci!==null&&Rl(Ci)&&(Ci=null),Mi!==null&&Rl(Mi)&&(Mi=null),Cr.forEach(av),Mr.forEach(av)}function Cl(e,i){e.blockedOn===i&&(e.blockedOn=null,Zf||(Zf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,PE)))}var Ml=null;function rv(e){Ml!==e&&(Ml=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Ml===e&&(Ml=null);for(var i=0;i<e.length;i+=3){var a=e[i],o=e[i+1],f=e[i+2];if(typeof o!="function"){if(Qf(o||a)===null)continue;break}var d=Bs(a);d!==null&&(e.splice(i,3),i-=3,Xc(d,{pending:!0,data:f,method:a.method,action:o},o,f))}}))}function va(e){function i(_){return Cl(_,e)}Ri!==null&&Cl(Ri,e),Ci!==null&&Cl(Ci,e),Mi!==null&&Cl(Mi,e),Cr.forEach(i),Mr.forEach(i);for(var a=0;a<_i.length;a++){var o=_i[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<_i.length&&(a=_i[0],a.blockedOn===null);)sv(a),a.blockedOn===null&&_i.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var f=a[o],d=a[o+1],v=f[Le]||null;if(typeof d=="function")v||rv(a);else if(v){var x=null;if(d&&d.hasAttribute("formAction")){if(f=d,v=d[Le]||null)x=v.formAction;else if(Qf(f)!==null)continue}else x=v.action;typeof x=="function"?a[o+1]=x:(a.splice(o,3),o-=3),rv(a)}}}function ov(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(v){return f=v})},focusReset:"manual",scroll:"manual"})}function i(){f!==null&&(f(),f=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),f!==null&&(f(),f=null)}}}function Jf(e){this._internalRoot=e}_l.prototype.render=Jf.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(r(409));var a=i.current,o=$e();$y(a,o,e,i,null,null)},_l.prototype.unmount=Jf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;$y(e.current,2,null,e,null,null),ul(),i[Ns]=null}};function _l(e){this._internalRoot=e}_l.prototype.unstable_scheduleHydration=function(e){if(e){var i=ym();e={blockedOn:null,target:e,priority:i};for(var a=0;a<_i.length&&i!==0&&i<_i[a].priority;a++);_i.splice(a,0,e),a===0&&sv(e)}};var lv=n.version;if(lv!=="19.2.5")throw Error(r(527,lv,"19.2.5"));$.findDOMNode=function(e){var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(i),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var BE={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.5"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ol=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ol.isDisabled&&Ol.supportsFiber)try{Va=Ol.inject(BE),Ge=Ol}catch{}}return Dr.createRoot=function(e,i){if(!l(e))throw Error(r(299));var a=!1,o="",f=pg,d=gg,v=yg;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(o=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(d=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError)),i=Zy(e,1,!1,null,null,a,o,null,f,d,v,ov),e[Ns]=i.current,jf(e),new Jf(i)},Dr.hydrateRoot=function(e,i,a){if(!l(e))throw Error(r(299));var o=!1,f="",d=pg,v=gg,x=yg,_=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(v=a.onCaughtError),a.onRecoverableError!==void 0&&(x=a.onRecoverableError),a.formState!==void 0&&(_=a.formState)),i=Zy(e,1,!0,i,a??null,o,f,_,d,v,x,ov),i.context=Jy(null),a=i.current,o=$e(),o=ku(o),f=mi(o),f.callback=null,pi(a,f,o),a=o,i.current.lanes=a,ka(i,a),Cn(i),e[Ns]=i.current,jf(e),new _l(i)},Dr.version="19.2.5",Dr}var vv;function XE(){if(vv)return td.exports;vv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),td.exports=IE(),td.exports}var KE=XE(),QE="__TSS_CONTEXT",Pd=Symbol.for("TSS_SERVER_FUNCTION"),bv=Symbol.for("TSS_SERVER_FUNCTION_FACTORY"),ZE="application/x-tss-framed",ei={JSON:0,CHUNK:1,END:2,ERROR:3},JE=/;\s*v=(\d+)/;function $E(t){const n=t.match(JE);return n?parseInt(n[1],10):void 0}function WE(t){const n=$E(t);if(n!==void 0&&n!==1)throw new Error(`Incompatible framed protocol version: server=${n}, client=1. Please ensure client and server are using compatible versions.`)}var xh=()=>window.__TSS_START_OPTIONS__,Yb=!1;function Qr(t){return t[t.length-1]}function tA(t){return typeof t=="function"}function Pi(t,n){return tA(t)?t(n):t}var eA=Object.prototype.hasOwnProperty,Sv=Object.prototype.propertyIsEnumerable,nA=()=>Object.create(null),ps=(t,n)=>bs(t,n,nA);function bs(t,n,s=()=>({}),r=0){if(t===n)return t;if(r>500)return n;const l=n,u=Tv(t)&&Tv(l);if(!u&&!(Oa(t)&&Oa(l)))return l;const c=u?t:xv(t);if(!c)return l;const h=u?l:xv(l);if(!h)return l;const m=c.length,p=h.length,g=u?new Array(p):s();let y=0;for(let b=0;b<p;b++){const S=u?b:h[b],w=t[S],A=l[S];if(w===A){g[S]=w,(u?b<m:eA.call(t,S))&&y++;continue}if(w===null||A===null||typeof w!="object"||typeof A!="object"){g[S]=A;continue}const E=bs(w,A,s,r+1);g[S]=E,E===w&&y++}return m===p&&y===m?t:g}function xv(t){const n=Object.getOwnPropertyNames(t);for(const l of n)if(!Sv.call(t,l))return!1;const s=Object.getOwnPropertySymbols(t);if(s.length===0)return n;const r=n;for(const l of s){if(!Sv.call(t,l))return!1;r.push(l)}return r}function Oa(t){if(!wv(t))return!1;const n=t.constructor;if(typeof n>"u")return!0;const s=n.prototype;return!(!wv(s)||!s.hasOwnProperty("isPrototypeOf"))}function wv(t){return Object.prototype.toString.call(t)==="[object Object]"}function Tv(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function He(t,n,s){if(t===n)return!0;if(typeof t!=typeof n)return!1;if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(let r=0,l=t.length;r<l;r++)if(!He(t[r],n[r],s))return!1;return!0}if(Oa(t)&&Oa(n)){const r=s?.ignoreUndefined??!0;if(s?.partial){for(const c in n)if((!r||n[c]!==void 0)&&!He(t[c],n[c],s))return!1;return!0}let l=0;if(!r)l=Object.keys(t).length;else for(const c in t)t[c]!==void 0&&l++;let u=0;for(const c in n)if((!r||n[c]!==void 0)&&(u++,u>l||!He(t[c],n[c],s)))return!1;return l===u}return!1}function Ms(t){let n,s;const r=new Promise((l,u)=>{n=l,s=u});return r.status="pending",r.resolve=l=>{r.status="resolved",r.value=l,n(l),t?.(l)},r.reject=l=>{r.status="rejected",s(l)},r}function iA(t){return typeof t?.message!="string"?!1:t.message.startsWith("Failed to fetch dynamically imported module")||t.message.startsWith("error loading dynamically imported module")||t.message.startsWith("Importing a module script failed")}function Zr(t){return!!(t&&typeof t=="object"&&typeof t.then=="function")}function sA(t){return t.replace(/[\x00-\x1f\x7f]/g,"")}function Ev(t){let n;try{n=decodeURI(t)}catch{n=t.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return sA(n)}var aA=["http:","https:","mailto:","tel:"];function ru(t,n){if(!t)return!1;try{const s=new URL(t);return!n.has(s.protocol)}catch{return!1}}var rA={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},oA=/[&><\u2028\u2029]/g;function lA(t){return t.replace(oA,n=>rA[n])}function jr(t){if(!t)return{path:t,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(t)&&!t.startsWith("//"))return{path:t,handledProtocolRelativeURL:!1};const n=/%25|%5C/gi;let s=0,r="",l;for(;(l=n.exec(t))!==null;)r+=Ev(t.slice(s,l.index))+l[0],s=n.lastIndex;r=r+Ev(s?t.slice(s):t);let u=!1;return r.startsWith("//")&&(u=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:u}}function uA(t){return/\s|[^\u0000-\u007F]/.test(t)?t.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):t}function cA(t,n){if(t===n)return!0;
10if(t.length!==n.length)return!1;for(let s=0;s<t.length;s++)if(t[s]!==n[s])return!1;return!0}function qe(){throw new Error("Invariant failed")}function Jr(t){const n=new Map;let s,r;const l=u=>{u.next&&(u.prev?(u.prev.next=u.next,u.next.prev=u.prev,u.next=void 0,r&&(r.next=u,u.prev=r)):(u.next.prev=void 0,s=u.next,u.next=void 0,r&&(u.prev=r,r.next=u)),r=u)};return{get(u){const c=n.get(u);if(c)return l(c),c.value},set(u,c){if(n.size>=t&&s){const m=s;n.delete(m.key),m.next&&(s=m.next,m.next.prev=void 0),m===r&&(r=void 0)}const h=n.get(u);if(h)h.value=c,l(h);else{const m={key:u,value:c,prev:r};r&&(r.next=m),r=m,s||(s=m),n.set(u,m)}},clear(){n.clear(),s=void 0,r=void 0}}}var Bi=4,Ib=5;function fA(t){const n=t.indexOf("{");if(n===-1)return null;const s=t.indexOf("}",n);return s===-1||n+1>=t.length?null:[n,s]}function wh(t,n,s=new Uint16Array(6)){const r=t.indexOf("/",n),l=r===-1?t.length:r,u=t.substring(n,l);if(!u||!u.includes("$"))return s[0]=0,s[1]=n,s[2]=n,s[3]=l,s[4]=l,s[5]=l,s;if(u==="$"){const h=t.length;return s[0]=2,s[1]=n,s[2]=n,s[3]=h,s[4]=h,s[5]=h,s}if(u.charCodeAt(0)===36)return s[0]=1,s[1]=n,s[2]=n+1,s[3]=l,s[4]=l,s[5]=l,s;const c=fA(u);if(c){const[h,m]=c,p=u.charCodeAt(h+1);if(p===45){if(h+2<u.length&&u.charCodeAt(h+2)===36){const g=h+3,y=m;if(g<y)return s[0]=3,s[1]=n+h,s[2]=n+g,s[3]=n+y,s[4]=n+m+1,s[5]=l,s}}else if(p===36){const g=h+1,y=h+2;return y===m?(s[0]=2,s[1]=n+h,s[2]=n+g,s[3]=n+y,s[4]=n+m+1,s[5]=t.length,s):(s[0]=1,s[1]=n+h,s[2]=n+y,s[3]=n+m,s[4]=n+m+1,s[5]=l,s)}}return s[0]=0,s[1]=n,s[2]=n,s[3]=l,s[4]=l,s[5]=l,s}function Eu(t,n,s,r,l,u,c){c?.(s);let h=r;{const m=s.fullPath??s.from,p=m.length,g=s.options?.caseSensitive??t,y=!!(s.options?.params?.parse&&s.options?.skipRouteOnParseError?.params);for(;h<p;){const S=wh(m,h,n);let w;const A=h,E=S[5];switch(h=E+1,u++,S[0]){case 0:{const R=m.substring(S[2],S[3]);if(g){const O=l.static?.get(R);if(O)w=O;else{l.static??=new Map;const L=Ss(s.fullPath??s.from);L.parent=l,L.depth=u,w=L,l.static.set(R,L)}}else{const O=R.toLowerCase(),L=l.staticInsensitive?.get(O);if(L)w=L;else{l.staticInsensitive??=new Map;const j=Ss(s.fullPath??s.from);j.parent=l,j.depth=u,w=j,l.staticInsensitive.set(O,j)}}break}case 1:{const R=m.substring(A,S[1]),O=m.substring(S[4],E),L=g&&!!(R||O),j=R?L?R:R.toLowerCase():void 0,F=O?L?O:O.toLowerCase():void 0,I=!y&&l.dynamic?.find(G=>!G.skipOnParamError&&G.caseSensitive===L&&G.prefix===j&&G.suffix===F);if(I)w=I;else{const G=ad(1,s.fullPath??s.from,L,j,F);w=G,G.depth=u,G.parent=l,l.dynamic??=[],l.dynamic.push(G)}break}case 3:{const R=m.substring(A,S[1]),O=m.substring(S[4],E),L=g&&!!(R||O),j=R?L?R:R.toLowerCase():void 0,F=O?L?O:O.toLowerCase():void 0,I=!y&&l.optional?.find(G=>!G.skipOnParamError&&G.caseSensitive===L&&G.prefix===j&&G.suffix===F);if(I)w=I;else{const G=ad(3,s.fullPath??s.from,L,j,F);w=G,G.parent=l,G.depth=u,l.optional??=[],l.optional.push(G)}break}case 2:{const R=m.substring(A,S[1]),O=m.substring(S[4],E),L=g&&!!(R||O),j=R?L?R:R.toLowerCase():void 0,F=O?L?O:O.toLowerCase():void 0,I=ad(2,s.fullPath??s.from,L,j,F);w=I,I.parent=l,I.depth=u,l.wildcard??=[],l.wildcard.push(I)}}l=w}if(y&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const S=Ss(s.fullPath??s.from);S.kind=Ib,S.parent=l,u++,S.depth=u,l.pathless??=[],l.pathless.push(S),l=S}const b=(s.path||!s.children)&&!s.isRoot;if(b&&m.endsWith("/")){const S=Ss(s.fullPath??s.from);S.kind=Bi,S.parent=l,u++,S.depth=u,l.index=S,l=S}l.parse=s.options?.params?.parse??null,l.skipOnParamError=y,l.parsingPriority=s.options?.skipRouteOnParseError?.priority??0,b&&!l.route&&(l.route=s,l.fullPath=s.fullPath??s.from)}if(s.children)for(const m of s.children)Eu(t,n,m,h,l,u,c)}function sd(t,n){if(t.skipOnParamError&&!n.skipOnParamError)return-1;if(!t.skipOnParamError&&n.skipOnParamError)return 1;if(t.skipOnParamError&&n.skipOnParamError&&(t.parsingPriority||n.parsingPriority))return n.parsingPriority-t.parsingPriority;if(t.prefix&&n.prefix&&t.prefix!==n.prefix){if(t.prefix.startsWith(n.prefix))return-1;if(n.prefix.startsWith(t.prefix))return 1}
10if(t.suffix&&n.suffix&&t.suffix!==n.suffix){if(t.suffix.endsWith(n.suffix))return-1;if(n.suffix.endsWith(t.suffix))return 1}return t.prefix&&!n.prefix?-1:!t.prefix&&n.prefix?1:t.suffix&&!n.suffix?-1:!t.suffix&&n.suffix?1:t.caseSensitive&&!n.caseSensitive?-1:!t.caseSensitive&&n.caseSensitive?1:0}function Li(t){if(t.pathless)for(const n of t.pathless)Li(n);if(t.static)for(const n of t.static.values())Li(n);if(t.staticInsensitive)for(const n of t.staticInsensitive.values())Li(n);if(t.dynamic?.length){t.dynamic.sort(sd);for(const n of t.dynamic)Li(n)}if(t.optional?.length){t.optional.sort(sd);for(const n of t.optional)Li(n)}if(t.wildcard?.length){t.wildcard.sort(sd);for(const n of t.wildcard)Li(n)}}function Ss(t){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0}}function ad(t,n,s,r,l){return{kind:t,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:n,parent:null,parse:null,skipOnParamError:!1,parsingPriority:0,caseSensitive:s,prefix:r,suffix:l}}function dA(t,n){const s=Ss("/"),r=new Uint16Array(6);for(const l of t)Eu(!1,r,l,1,s,0);Li(s),n.masksTree=s,n.flatCache=Jr(1e3)}function hA(t,n){t||="/";const s=n.flatCache.get(t);if(s)return s;const r=Th(t,n.masksTree);return n.flatCache.set(t,r),r}function mA(t,n,s,r,l){t||="/",r||="/";const u=n?`case\0${t}`:t;let c=l.singleCache.get(u);return c||(c=Ss("/"),Eu(n,new Uint16Array(6),{from:t},1,c,0),l.singleCache.set(u,c)),Th(r,c,s)}function pA(t,n,s=!1){const r=s?t:`nofuzz\0${t}`,l=n.matchCache.get(r);if(l!==void 0)return l;t||="/";let u;try{u=Th(t,n.segmentTree,s)}catch(c){if(c instanceof URIError)u=null;else throw c}return u&&(u.branch=vA(u.route)),n.matchCache.set(r,u),u}function gA(t){return t==="/"?t:t.replace(/\/{1,}$/,"")}function yA(t,n=!1,s){const r=Ss(t.fullPath),l=new Uint16Array(6),u={},c={};let h=0;return Eu(n,l,t,1,r,0,m=>{if(s?.(m,h),m.id in u&&qe(),u[m.id]=m,h!==0&&m.path){const p=gA(m.fullPath);(!c[p]||m.fullPath.endsWith("/"))&&(c[p]=m)}h++}),Li(r),{processedTree:{segmentTree:r,singleCache:Jr(1e3),matchCache:Jr(1e3),flatCache:null,masksTree:null},routesById:u,routesByPath:c}}function Th(t,n,s=!1){const r=t.split("/"),l=SA(t,r,n,s);if(!l)return null;const[u]=Xb(t,r,l);return{route:l.node.route,rawParams:u,parsedParams:l.parsedParams}}function Xb(t,n,s){const r=bA(s.node);let l=null;const u=Object.create(null);let c=s.extract?.part??0,h=s.extract?.node??0,m=s.extract?.path??0,p=s.extract?.segment??0;for(;h<r.length;c++,h++,m++,p++){const g=r[h];if(g.kind===Bi)break;if(g.kind===Ib){p--,c--,m--;continue}const y=n[c],b=m;if(y&&(m+=y.length),g.kind===1){l??=s.node.fullPath.split("/");const S=l[p],w=g.prefix?.length??0;if(S.charCodeAt(w)===123){const A=g.suffix?.length??0,E=S.substring(w+2,S.length-A-1),R=y.substring(w,y.length-A);u[E]=decodeURIComponent(R)}else{const A=S.substring(1);u[A]=decodeURIComponent(y)}}else if(g.kind===3){if(s.skipped&1<<h){c--,m=b-1;continue}l??=s.node.fullPath.split("/");const S=l[p],w=g.prefix?.length??0,A=g.suffix?.length??0,E=S.substring(w+3,S.length-A-1),R=g.suffix||g.prefix?y.substring(w,y.length-A):y;R&&(u[E]=decodeURIComponent(R))}else if(g.kind===2){const S=g,w=t.substring(b+(S.prefix?.length??0),t.length-(S.suffix?.length??0)),A=decodeURIComponent(w);u["*"]=A,u._splat=A;break}}return s.rawParams&&Object.assign(u,s.rawParams),[u,{part:c,node:h,path:m,segment:p}]}function vA(t){const n=[t];for(;t.parentRoute;)t=t.parentRoute,n.push(t);return n.reverse(),n}function bA(t){const n=Array(t.depth+1);do n[t.depth]=t,t=t.parent;while(t);return n}function SA(t,n,s,r){if(t==="/"&&s.index)return{node:s.index,skipped:0};const l=!Qr(n),u=l&&t!=="/",c=n.length-(l?1:0),h=[{node:s,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let m=null,p=null;for(;h.length;){const g=h.pop(),{node:y,index:b,skipped:S,depth:w,statics:A,dynamics:E,optionals:R}=g;let{extract:O,rawParams:L,parsedParams:j}=g;if(y.kind===2&&y.route&&!jl(p,g))continue;if(y.skipOnParamError){if(!Av(t,n,g))continue;L=g.rawParams,O=g.extract,j=g.parsedParams}r&&y.route&&y.kind!==Bi&&jl(m,g)&&(m=g);const F=b===c;if(F&&(y.route&&(!u||y.kind===Bi||y.kind===2)&&jl(p,g)&&(p=g),!y.optional&&!y.wildcard&&!y.index&&!y.pathless))continue;const I=F?void 0:n[b];let G;if(F&&y.index){const N={node:y.index,index:b,skipped:S,depth:w+1,statics:A,dynamics:E,optionals:R,extract:O,rawParams:L,parsedParams:j};let X=!0;if(y.index.skipOnParamError&&(Av(t,n,N)||(X=!1)),X){if(!E&&!R&&!S&&xA(A,c))return N;jl(p,N)&&(p=N)}}if(y.wildcard)for(let N=y.wildcard.length-1;N>=0;N--){const X=y.wildcard[N],{prefix:J,suffix:tt}=X;if(!(J&&(F||!(X.caseSensitive?I:G??=I.toLowerCase()).startsWith(J)))){if(tt){if(F)continue;const ct=n.slice(b).join("/").slice(-tt.length);if((X.caseSensitive?ct:ct.toLowerCase())!==tt)continue}h.push({node:X,index:c,skipped:S,depth:w+1,statics:A,dynamics:E,optionals:R,extract:O,rawParams:L,parsedParams:j})}}if(y.optional){const N=S|1<<w,X=w+1;for(let J=y.optional.length-1;J>=0;J--){const tt=y.optional[J];h.push({node:tt,index:b,skipped:N,depth:X,statics:A,dynamics:E,optionals:R,extract:O,rawParams:L,parsedParams:j})}if(!F)for(let J=y.optional.length-1;J>=0;J--){const tt=y.optional[J],{prefix:ct,suffix:yt}=tt;if(ct||yt){const At=tt.caseSensitive?I:G??=I.toLowerCase();if(ct&&!At.startsWith(ct)||yt&&!At.endsWith(yt))continue}h.push({node:tt,index:b+1,skipped:S,depth:X,statics:A,dynamics:E,optionals:R+Dl(c,b),extract:O,rawParams:L,parsedParams:j})}}if(!F&&y.dynamic&&I)for(let N=y.dynamic.length-1;N>=0;N--){const X=y.dynamic[N],{prefix:J,suffix:tt}=X;if(J||tt){const ct=X.caseSensitive?I:G??=I.toLowerCase();if(J&&!ct.startsWith(J)||tt&&!ct.endsWith(tt))continue}h.push({node:X,index:b+1,skipped:S,depth:w+1,statics:A,dynamics:E+Dl(c,b),optionals:R,extract:O,rawParams:L,parsedParams:j})}if(!F&&y.staticInsensitive){const N=y.staticInsensitive.get(G??=I.toLowerCase());N&&h.push({node:N,index:b+1,skipped:S,depth:w+1,statics:A+Dl(c,b),dynamics:E,optionals:R,extract:O,rawParams:L,parsedParams:j})}if(!F&&y.static){const N=y.static.get(I);N&&h.push({node:N,index:b+1,skipped:S,depth:w+1,statics:A+Dl(c,b),dynamics:E,optionals:R,extract:O,rawParams:L,parsedParams:j})}if(y.pathless){const N=w+1;for(let X=y.pathless.length-1;X>=0;X--){const J=y.pathless[X];h.push({node:J,index:b,skipped:S,depth:N,statics:A,dynamics:E,optionals:R,extract:O,rawParams:L,parsedParams:j})}}}if(p)return p;if(r&&m){let g=m.index;for(let b=0;b<m.index;b++)g+=n[b].length;const y=g===t.length?"/":t.slice(g);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(y),m}return null}function Dl(t,n){return 2**(t-n-1)}function xA(t,n){return t===2**(n-1)-1}function Av(t,n,s){try{const[r,l]=Xb(t,n,s);s.rawParams=r,s.extract=l;const u=s.node.parse(r);return s.parsedParams=Object.assign(Object.create(null),s.parsedParams,u),!0}catch{return null}}function jl(t,n){return t?n.statics>t.statics||n.statics===t.statics&&(n.dynamics>t.dynamics||n.dynamics===t.dynamics&&(n.optionals>t.optionals||n.optionals===t.optionals&&((n.node.kind===Bi)>(t.node.kind===Bi)||n.node.kind===Bi==(t.node.kind===Bi)&&n.depth>
10t.depth))):!0}function Yl(t){return Eh(t.filter(n=>n!==void 0).join("/"))}function Eh(t){return t.replace(/\/{2,}/g,"/")}function Kb(t){return t==="/"?t:t.replace(/^\/{1,}/,"")}function ki(t){const n=t.length;return n>1&&t[n-1]==="/"?t.replace(/\/{1,}$/,""):t}function Qb(t){return ki(Kb(t))}function ou(t,n){return t?.endsWith("/")&&t!=="/"&&t!==`${n}/`?t.slice(0,-1):t}function wA(t,n,s){return ou(t,s)===ou(n,s)}function TA({base:t,to:n,trailingSlash:s="never",cache:r}){const l=n.startsWith("/"),u=!l&&n===".";let c;if(r){c=l?n:u?t:t+"\0"+n;const y=r.get(c);if(y)return y}let h;if(u)h=t.split("/");else if(l)h=n.split("/");else{for(h=t.split("/");h.length>1&&Qr(h)==="";)h.pop();const y=n.split("/");for(let b=0,S=y.length;b<S;b++){const w=y[b];w===""?b?b===S-1&&h.push(w):h=[w]:w===".."?h.pop():w==="."||h.push(w)}}h.length>1&&(Qr(h)===""?s==="never"&&h.pop():s==="always"&&h.push(""));let m,p="";for(let y=0;y<h.length;y++){y>0&&(p+="/");const b=h[y];if(!b)continue;m=wh(b,0,m);const S=m[0];if(S===0){p+=b;continue}const w=m[5],A=b.substring(0,m[1]),E=b.substring(m[4],w),R=b.substring(m[2],m[3]);S===1?p+=A||E?`${A}{$${R}}${E}`:`$${R}`:S===2?p+=A||E?`${A}{$}${E}`:"$":p+=`${A}{-$${R}}${E}`}p=Eh(p);const g=p||"/";return c&&r&&r.set(c,g),g}function EA(t){const n=new Map(t.map(l=>[encodeURIComponent(l),l])),s=Array.from(n.keys()).map(l=>l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(s,"g");return l=>l.replace(r,u=>n.get(u)??u)}function rd(t,n,s){const r=n[t];return typeof r!="string"?r:t==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(l=>Cv(l,s)).join("/"):Cv(r,s)}function Rv({path:t,params:n,decoder:s,...r}){let l=!1;const u=Object.create(null);if(!t||t==="/")return{interpolatedPath:"/",usedParams:u,isMissingParams:l};if(!t.includes("$"))return{interpolatedPath:t,usedParams:u,isMissingParams:l};const c=t.length;let h=0,m,p="";for(;h<c;){const g=h;m=wh(t,g,m);const y=m[5];if(h=y+1,g===y)continue;const b=m[0];if(b===0){p+="/"+t.substring(g,y);continue}if(b===2){const S=n._splat;u._splat=S,u["*"]=S;const w=t.substring(g,m[1]),A=t.substring(m[4],y);if(!S){l=!0,(w||A)&&(p+="/"+w+A);continue}const E=rd("_splat",n,s);p+="/"+w+E+A;continue}if(b===1){const S=t.substring(m[2],m[3]);!l&&!(S in n)&&(l=!0),u[S]=n[S];const w=t.substring(g,m[1]),A=t.substring(m[4],y),E=rd(S,n,s)??"undefined";p+="/"+w+E+A;continue}if(b===3){const S=t.substring(m[2],m[3]),w=n[S];if(w==null)continue;u[S]=w;const A=t.substring(g,m[1]),E=t.substring(m[4],y),R=rd(S,n,s)??"";p+="/"+A+R+E;continue}}return t.endsWith("/")&&(p+="/"),{usedParams:u,interpolatedPath:p||"/",isMissingParams:l}}function Cv(t,n){const s=encodeURIComponent(t);return n?.(s)??s}function Zb(t={}){if(t.isNotFound=!0,t.throw)throw t;return t}function he(t){return t?.isNotFound===!0}function AA(){try{return typeof window<"u"&&typeof window.sessionStorage=="object"?window.sessionStorage:void 0}catch{return}}var RA="tsr-scroll-restoration-v1_3";function CA(){const t=AA();if(!t)return null;let n={};try{const r=JSON.parse(t.getItem("tsr-scroll-restoration-v1_3")||"{}");Oa(r)&&(n=r)}catch{}return{get state(){return n},set:r=>{n=Pi(r,n)||n},persist:()=>{try{t.setItem(RA,JSON.stringify(n))}catch{}}}}var Mv=CA(),MA=t=>t.state.__TSR_key||t.href;function _A(t){const n=[];let s;for(;s=t.parentNode;)n.push(`${t.tagName}:nth-child(${Array.prototype.indexOf.call(s.children,t)+1})`),t=s;return`${n.reverse().join(" > ")}`.toLowerCase()}var zl=!1,zr="window",_v="data-scroll-restoration-id";function OA(t,n){if(!Mv)return;const s=Mv;if((t.options.scrollRestoration??!1)&&(t.isScrollRestoring=!0),t.isScrollRestorationSetup||!s)return;t.isScrollRestorationSetup=!0,zl=!1;const r=t.options.getScrollRestorationKey||MA,l=new Map;window.history.scrollRestoration="manual";const u=h=>{if(!(zl||!t.isScrollRestoring))if(h.target===document||h.target===window)l.set(zr,{scrollX:window.scrollX||0,scrollY:window.scrollY||0});else{const m=h.target;l.set(m,{scrollX:m.scrollLeft||0,scrollY:m.scrollTop||0})}},c=h=>{if(!t.isScrollRestoring||!h||l.size===0||!s)return;const m=s.state[h]||={};for(const[p,g]of l){let y;if(p===zr)y=zr;else if(p.isConnected){const b=p.getAttribute(_v);y=b?`[${_v}="${b}"]`:_A(p)}y&&(m[y]=g)}};document.addEventListener("scroll",u,!0),t.subscribe("onBeforeLoad",h=>{c(h.fromLocation?r(h.fromLocation):void 0),l.clear()}),window.addEventListener("pagehide",()=>{c(r(t.stores.resolvedLocation.get()??t.stores.location.get())),s.persist()}),t.subscribe("onRendered",h=>{const m=r(h.toLocation),p=t.options.scrollRestorationBehavior,g=t.options.scrollToTopSelectors;if(l.clear(),!t.resetNextScroll){t.resetNextScroll=!0;return}if(!(typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}))){zl=!0;try{const y=t.isScrollRestoring?s.state[m]:void 0;let b=!1;if(y)for(const S in y){const w=y[S];if(!Oa(w))continue;const{scrollX:A,scrollY:E}=w;if(!(!Number.isFinite(A)||!Number.isFinite(E))){if(S===zr)window.scrollTo({top:E,left:A,behavior:p}),b=!0;else if(S){let R;try{R=document.querySelector(S)}catch{continue}R&&(R.scrollLeft=A,R.scrollTop=E,b=!0)}}}if(!b){const S=t.history.location.hash.slice(1);if(S){const w=window.history.state?.__hashScrollIntoViewOptions??!0;if(w){const A=document.getElementById(S);A&&A.scrollIntoView(w)}}else{const w={top:0,left:0,behavior:p};if(window.scrollTo(w),g)for(const A of g){if(A===zr)continue;const E=typeof A=="function"?A():document.querySelector(A);E&&E.scrollTo(w)}}}}finally{zl=!1}t.isScrollRestoring&&s.set(y=>(y[m]||={},y))}})}function Jb(t,n=String){const s=new URLSearchParams;for(const r in t){const l=t[r];l!==void 0&&s.set(r,n(l))}return s.toString()}function od(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function DA(t){const n=new URLSearchParams(t),s=Object.create(null);for(const[r,l]of n.entries()){const u=s[r];u==null?s[r]=od(l):Array.isArray(u)?u.push(od(l)):s[r]=[u,od(l)]}return s}var jA=LA(JSON.parse),zA=NA(JSON.stringify,JSON.parse);function LA(t){return n=>{n[0]==="?"&&(n=n.substring(1));const s=DA(n);for(const r in s){const l=s[r];if(typeof l=="string")try{s[r]=t(l)}catch{}}return s}}function NA(t,n){const s=typeof n=="function";function r(l){if(typeof l=="object"&&l!==null)try{return t(l)}catch{}else if(s&&typeof l=="string")try{return n(l),t(l)}catch{}return l}return l=>{const u=Jb(l,r);return u?`?${u}
10`:""}}var Es="__root__";function $b(t){if(t.statusCode=t.statusCode||t.code||307,!t._builtLocation&&!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const n=new Headers(t.headers);t.href&&n.get("Location")===null&&n.set("Location",t.href);const s=new Response(null,{status:t.statusCode,headers:n});if(s.options=t,t.throw)throw s;return s}function we(t){return t instanceof Response&&!!t.options}function Wb(t){if(t!==null&&typeof t=="object"&&t.isSerializedRedirect)return $b(t)}function PA(t){return{input:({url:n})=>{for(const s of t)n=Bd(s,n);return n},output:({url:n})=>{for(let s=t.length-1;s>=0;s--)n=tS(t[s],n);return n}}}function BA(t){const n=Qb(t.basepath),s=`/${n}`,r=`${s}/`,l=t.caseSensitive?s:s.toLowerCase(),u=t.caseSensitive?r:r.toLowerCase();return{input:({url:c})=>{const h=t.caseSensitive?c.pathname:c.pathname.toLowerCase();return h===l?c.pathname="/":h.startsWith(u)&&(c.pathname=c.pathname.slice(s.length)),c},output:({url:c})=>(c.pathname=Yl(["/",n,c.pathname]),c)}}function Bd(t,n){const s=t?.input?.({url:n});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return n}function tS(t,n){const s=t?.output?.({url:n});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return n}function VA(t,n){const{createMutableStore:s,createReadonlyStore:r,batch:l,init:u}=n,c=new Map,h=new Map,m=new Map,p=s(t.status),g=s(t.loadedAt),y=s(t.isLoading),b=s(t.isTransitioning),S=s(t.location),w=s(t.resolvedLocation),A=s(t.statusCode),E=s(t.redirect),R=s([]),O=s([]),L=s([]),j=r(()=>ld(c,R.get())),F=r(()=>ld(h,O.get())),I=r(()=>ld(m,L.get())),G=r(()=>R.get()[0]),N=r(()=>R.get().some($=>c.get($)?.get().status==="pending")),X=r(()=>({locationHref:S.get().href,resolvedLocationHref:w.get()?.href,status:p.get()})),J=r(()=>({status:p.get(),loadedAt:g.get(),isLoading:y.get(),isTransitioning:b.get(),matches:j.get(),location:S.get(),resolvedLocation:w.get(),statusCode:A.get(),redirect:E.get()})),tt=Jr(64);function ct($){let nt=tt.get($);return nt||(nt=r(()=>{const mt=R.get();for(const W of mt){const D=c.get(W);if(D&&D.routeId===$)return D.get()}}),tt.set($,nt)),nt}const yt={status:p,loadedAt:g,isLoading:y,isTransitioning:b,location:S,resolvedLocation:w,statusCode:A,redirect:E,matchesId:R,pendingIds:O,cachedIds:L,matches:j,pendingMatches:F,cachedMatches:I,firstId:G,hasPending:N,matchRouteDeps:X,matchStores:c,pendingMatchStores:h,cachedMatchStores:m,__store:J,getRouteMatchStore:ct,setMatches:At,setPending:vt,setCached:k};At(t.matches),u?.(yt);function At($){ud($,c,R,s,l)}function vt($){ud($,h,O,s,l)}function k($){ud($,m,L,s,l)}return yt}function ld(t,n){const s=[];for(const r of n){const l=t.get(r);l&&s.push(l.get())}return s}function ud(t,n,s,r,l){const u=t.map(h=>h.id),c=new Set(u);l(()=>{for(const h of n.keys())c.has(h)||n.delete(h);for(const h of t){const m=n.get(h.id);if(!m){const p=r(h);p.routeId=h.routeId,n.set(h.id,p);continue}m.routeId=h.routeId,m.get()!==h&&m.set(h)}cA(s.get(),u)||s.set(u)})}var Vd=t=>{if(!t.rendered)return t.rendered=!0,t.onReady?.()},UA=t=>t.stores.matchesId.get().some(n=>t.stores.matchStores.get(n)?.get()._forcePending),Au=(t,n)=>!!(t.preload&&!t.router.stores.matchStores.has(n)),As=(t,n,s=!0)=>{const r={...t.router.options.context??{}},l=s?n:n-1;for(let u=0;u<=l;u++){const c=t.matches[u];if(!c)continue;const h=t.router.getMatch(c.id);h&&Object.assign(r,h.__routeContext,h.__beforeLoadContext)}return r},Ov=(t,n)=>{if(!t.matches.length)return;const s=n.routeId,r=t.matches.findIndex(c=>c.routeId===t.router.routeTree.id),l=r>=0?r:0;let u=s?t.matches.findIndex(c=>c.routeId===s):t.firstBadMatchIndex??t.matches.length-1;u<0&&(u=l);for(let c=u;c>=0;c--){const h=t.matches[c];if(t.router.looseRoutesById[h.routeId].options.notFoundComponent)return c}return s?u:l},Vi=(t,n,s)=>{if(!(!we(s)&&!he(s)))throw we(s)&&s.redirectHandled&&!s.options.reloadDocument||(n&&(n._nonReactive.beforeLoadPromise?.resolve(),n._nonReactive.loaderPromise?.resolve(),n._nonReactive.beforeLoadPromise=void 0,n._nonReactive.loaderPromise=void 0,n._nonReactive.error=s,t.updateMatch(n.id,r=>({...r,status:we(s)?"redirected":he(s)?"notFound":r.status==="pending"?"success":r.status,context:As(t,n.index),isFetching:!1,error:s})),he(s)&&!s.routeId&&(s.routeId=n.routeId),n._nonReactive.loadPromise?.resolve()),we(s)&&(t.rendered=!0,s.options._fromLocation=t.location,s.redirectHandled=!0,s=t.router.resolveRedirect(s))),s},eS=(t,n)=>{const s=t.router.getMatch(n);return!!(!s||s._nonReactive.dehydrated)},Dv=(t,n,s)=>{const r=As(t,s);t.updateMatch(n,l=>({...l,context:r}))},Lr=(t,n,s,r)=>{const{id:l,routeId:u}=t.matches[n],c=t.router.looseRoutesById[u];if(s instanceof Promise)throw s;s.routerCode=r,t.firstBadMatchIndex??=n,Vi(t,t.router.getMatch(l),s);try{c.options.onError?.(s)}catch(h){s=h,Vi(t,t.router.getMatch(l),s)}t.updateMatch(l,h=>(h._nonReactive.beforeLoadPromise?.resolve(),h._nonReactive.beforeLoadPromise=void 0,h._nonReactive.loadPromise?.resolve(),{...h,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!t.preload&&!we(s)&&!he(s)&&(t.serialError??=s)},nS=(t,n,s,r)=>
10{if(r._nonReactive.pendingTimeout!==void 0)return;const l=s.options.pendingMs??t.router.options.defaultPendingMs;if(t.onReady&&!Au(t,n)&&(s.options.loader||s.options.beforeLoad||sS(s))&&typeof l=="number"&&l!==1/0&&(s.options.pendingComponent??t.router.options?.defaultPendingComponent)){const u=setTimeout(()=>{Vd(t)},l);r._nonReactive.pendingTimeout=u}},kA=(t,n,s)=>{const r=t.router.getMatch(n);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;nS(t,n,s,r);const l=()=>{const u=t.router.getMatch(n);u.preload&&(u.status==="redirected"||u.status==="notFound")&&Vi(t,u,u.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(l):l()},HA=(t,n,s,r)=>{const l=t.router.getMatch(n);let u=l._nonReactive.loadPromise;l._nonReactive.loadPromise=Ms(()=>{u?.resolve(),u=void 0});const{paramsError:c,searchError:h}=l;c&&Lr(t,s,c,"PARSE_PARAMS"),h&&Lr(t,s,h,"VALIDATE_SEARCH"),nS(t,n,r,l);const m=new AbortController;let p=!1;const g=()=>{p||(p=!0,t.updateMatch(n,j=>({...j,isFetching:"beforeLoad",fetchCount:j.fetchCount+1,abortController:m})))},y=()=>{l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,t.updateMatch(n,j=>({...j,isFetching:!1}))};if(!r.options.beforeLoad){t.router.batch(()=>{g(),y()});return}l._nonReactive.beforeLoadPromise=Ms();const b={...As(t,s,!1),...l.__routeContext},{search:S,params:w,cause:A}=l,E=Au(t,n),R={search:S,abortController:m,params:w,preload:E,context:b,location:t.location,navigate:j=>t.router.navigate({...j,_fromLocation:t.location}),buildLocation:t.router.buildLocation,cause:E?"preload":A,matches:t.matches,routeId:r.id,...t.router.options.additionalContext},O=j=>{if(j===void 0){t.router.batch(()=>{g(),y()});return}(we(j)||he(j))&&(g(),Lr(t,s,j,"BEFORE_LOAD")),t.router.batch(()=>{g(),t.updateMatch(n,F=>({...F,__beforeLoadContext:j})),y()})};let L;try{if(L=r.options.beforeLoad(R),Zr(L))return g(),L.catch(j=>{Lr(t,s,j,"BEFORE_LOAD")}).then(O)}catch(j){g(),Lr(t,s,j,"BEFORE_LOAD")}O(L)},qA=(t,n)=>{const{id:s,routeId:r}=t.matches[n],l=t.router.looseRoutesById[r],u=()=>h(),c=()=>HA(t,s,n,l),h=()=>{if(eS(t,s))return;const m=kA(t,s,l);return Zr(m)?m.then(c):c()};return u()},FA=(t,n,s)=>{const r=t.router.getMatch(n);if(!r||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const l={ssr:t.router.options.ssr,matches:t.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([s.options.head?.(l),s.options.scripts?.(l),s.options.headers?.(l)]).then(([u,c,h])=>({meta:u?.meta,links:u?.links,headScripts:u?.scripts,headers:h,scripts:c,styles:u?.styles}))},iS=(t,n,s,r,l)=>{const u=n[r-1],{params:c,loaderDeps:h,abortController:m,cause:p}=t.router.getMatch(s),g=As(t,r),y=Au(t,s);return{params:c,deps:h,preload:!!y,parentMatchPromise:u,abortController:m,context:g,location:t.location,navigate:b=>t.router.navigate({...b,_fromLocation:t.location}),cause:y?"preload":p,route:l,...t.router.options.additionalContext}},jv=async(t,n,s,r,l)=>{try{const u=t.router.getMatch(s);try{(!(Yb??t.router.isServer)||u.ssr===!0)&&$r(l);const c=l.options.loader,h=typeof c=="function"?c:c?.handler,m=h?.(iS(t,n,s,r,l)),p=!!h&&Zr(m);if((p||l._lazyPromise||l._componentsPromise||l.options.head||l.options.scripts||l.options.headers||u._nonReactive.minPendingPromise)&&t.updateMatch(s,y=>({...y,isFetching:"loader"})),h){const y=p?await m:m;Vi(t,t.router.getMatch(s),y),y!==void 0&&t.updateMatch(s,b=>({...b,loaderData:y}))}l._lazyPromise&&await l._lazyPromise;const g=u._nonReactive.minPendingPromise;g&&await g,l._componentsPromise&&await l._componentsPromise,t.updateMatch(s,y=>({...y,error:void 0,context:As(t,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(c){let h=c;if(h?.name==="AbortError"){if(u.abortController.signal.aborted){u._nonReactive.loaderPromise?.resolve(),u._nonReactive.loaderPromise=void 0;return}t.updateMatch(s,p=>({...p,status:p.status==="pending"?"success":p.status,isFetching:!1,context:As(t,r)}));return}const m=u._nonReactive.minPendingPromise;m&&await m,he(c)&&await l.options.notFoundComponent?.preload?.(),Vi(t,t.router.getMatch(s),c);try{l.options.onError?.(c)}catch(p){h=p,Vi(t,t.router.getMatch(s),p)}!we(h)&&!he(h)&&await $r(l,["errorComponent"]),t.updateMatch(s,p=>({...p,error:h,context:As(t,r),status:"error",isFetching:!1}))}}catch(u){const c=t.router.getMatch(s);c&&(c._nonReactive.loaderPromise=void 0),Vi(t,c,u)}},GA=async(t,n,s)=>{async function r(S,w,A,E,R){const O=Date.now()-w.updatedAt,L=S?R.options.preloadStaleTime??t.router.options.defaultPreloadStaleTime??3e4:R.options.staleTime??t.router.options.defaultStaleTime??0,j=R.options.shouldReload,F=typeof j=="function"?j(iS(t,n,l,s,R)):j,{status:I,invalid:G}=E,N=O>=L&&(!!t.forceStaleReload||E.cause==="enter"||A!==void 0&&A!==E.id
10);c=I==="success"&&(G||(F??N)),S&&R.options.preload===!1||(c&&!t.sync&&g?(h=!0,(async()=>{try{await jv(t,n,l,s,R);const X=t.router.getMatch(l);X._nonReactive.loaderPromise?.resolve(),X._nonReactive.loadPromise?.resolve(),X._nonReactive.loaderPromise=void 0,X._nonReactive.loadPromise=void 0}catch(X){we(X)&&await t.router.navigate(X.options)}})()):I!=="success"||c?await jv(t,n,l,s,R):Dv(t,l,s))}const{id:l,routeId:u}=t.matches[s];let c=!1,h=!1;const m=t.router.looseRoutesById[u],p=m.options.loader,g=((typeof p=="function"?void 0:p?.staleReloadMode)??t.router.options.defaultStaleReloadMode)!=="blocking";if(eS(t,l)){if(!t.router.getMatch(l))return t.matches[s];Dv(t,l,s)}else{const S=t.router.getMatch(l),w=t.router.stores.matchesId.get()[s],A=(w&&t.router.stores.matchStores.get(w)||null)?.routeId===u?w:t.router.stores.matches.get().find(R=>R.routeId===u)?.id,E=Au(t,l);if(S._nonReactive.loaderPromise){if(S.status==="success"&&!t.sync&&!S.preload&&g)return S;await S._nonReactive.loaderPromise;const R=t.router.getMatch(l),O=R._nonReactive.error||R.error;O&&Vi(t,R,O),R.status==="pending"&&await r(E,S,A,R,m)}else{const R=E&&!t.router.stores.matchStores.has(l),O=t.router.getMatch(l);O._nonReactive.loaderPromise=Ms(),R!==O.preload&&t.updateMatch(l,L=>({...L,preload:R})),await r(E,S,A,O,m)}}const y=t.router.getMatch(l);h||(y._nonReactive.loaderPromise?.resolve(),y._nonReactive.loadPromise?.resolve(),y._nonReactive.loadPromise=void 0),clearTimeout(y._nonReactive.pendingTimeout),y._nonReactive.pendingTimeout=void 0,h||(y._nonReactive.loaderPromise=void 0),y._nonReactive.dehydrated=void 0;const b=h?y.isFetching:!1;return b!==y.isFetching||y.invalid!==!1?(t.updateMatch(l,S=>({...S,isFetching:b,invalid:!1})),t.router.getMatch(l)):y};async function zv(t){const n=t,s=[];UA(n.router)&&Vd(n);let r;for(let b=0;b<n.matches.length;b++){try{const S=qA(n,b);Zr(S)&&await S}catch(S){if(we(S))throw S;if(he(S))r=S;else if(!n.preload)throw S;break}if(n.serialError||n.firstBadMatchIndex!=null)break}const l=n.firstBadMatchIndex??n.matches.length,u=r&&!n.preload?Ov(n,r):void 0,c=r&&n.preload?0:u!==void 0?Math.min(u+1,l):l;let h,m;for(let b=0;b<c;b++)s.push(GA(n,s,b));try{await Promise.all(s)}catch{const b=await Promise.allSettled(s);for(const S of b){if(S.status!=="rejected")continue;const w=S.reason;if(we(w))throw w;he(w)?h??=w:m??=w}if(m!==void 0)throw m}const p=h??(r&&!n.preload?r:void 0);let g=n.firstBadMatchIndex!==void 0?n.firstBadMatchIndex:n.matches.length-1;if(!p&&r&&n.preload)return n.matches;if(p){const b=Ov(n,p);b===void 0&&qe();const S=n.matches[b],w=n.router.looseRoutesById[S.routeId],A=n.router.options?.defaultNotFoundComponent;!w.options.notFoundComponent&&A&&(w.options.notFoundComponent=A),p.routeId=S.routeId;const E=S.routeId===n.router.routeTree.id;n.updateMatch(S.id,R=>({...R,...E?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:p},isFetching:!1})),g=b,await $r(w,["notFoundComponent"])}else if(!n.preload){const b=n.matches[0];b.globalNotFound||n.router.getMatch(b.id)?.globalNotFound&&n.updateMatch(b.id,S=>({...S,globalNotFound:!1,error:void 0}))}if(n.serialError&&n.firstBadMatchIndex!==void 0){const b=n.router.looseRoutesById[n.matches[n.firstBadMatchIndex].routeId];await $r(b,["errorComponent"])}for(let b=0;b<=g;b++){const{id:S,routeId:w}=n.matches[b],A=n.router.looseRoutesById[w];try{const E=FA(n,S,A);if(E){const R=await E;n.updateMatch(S,O=>({...O,...R}))}}catch(E){console.error(`Error executing head for route ${w}:`,E)}}const y=Vd(n);if(Zr(y)&&await y,p)throw p;if(n.serialError&&!n.preload&&!n.onReady)throw n.serialError;return n.matches}function Lv(t,n){const s=n.map(r=>t.options[r]?.preload?.()).filter(Boolean);if(s.length!==0)return Promise.all(s)}function $r(t,n=Il){!t._lazyLoaded&&t._lazyPromise===void 0&&(t.lazyFn?t._lazyPromise=t.lazyFn().then(r=>{const{id:l,...u}=r.options;Object.assign(t.options,u),t._lazyLoaded=!0,t._lazyPromise=void 0}):t._lazyLoaded=!0);const s=()=>t._componentsLoaded?void 0:n===Il?(()=>{if(t._componentsPromise===void 0){const r=Lv(t,Il);r?t._componentsPromise=r.then(()=>{t._componentsLoaded=!0,t._componentsPromise=void 0}):t._componentsLoaded=!0}return t._componentsPromise})():Lv(t,n);return t._lazyPromise?t._lazyPromise.then(s):s()}function sS(t){for(const n of Il)if(t.options[n]?.preload)return!0;return!1}var Il=["component","errorComponent","pendingComponent","notFoundComponent"],Hi="__TSR_index",Nv="popstate",Pv="beforeunload";function YA(t){let n=t.getLocation();const s=new Set,r=c=>
10{n=t.getLocation(),s.forEach(h=>h({location:n,action:c}))},l=c=>{t.notifyOnIndexChange??!0?r(c):n=t.getLocation()},u=async({task:c,navigateOpts:h,...m})=>{if(h?.ignoreBlocker??!1){c();return}const p=t.getBlockers?.()??[],g=m.type==="PUSH"||m.type==="REPLACE";if(typeof document<"u"&&p.length&&g)for(const y of p){const b=lu(m.path,m.state);if(await y.blockerFn({currentLocation:n,nextLocation:b,action:m.type})){t.onBlocked?.();return}}c()};return{get location(){return n},get length(){return t.getLength()},subscribers:s,subscribe:c=>(s.add(c),()=>{s.delete(c)}),push:(c,h,m)=>{const p=n.state[Hi];h=Bv(p+1,h),u({task:()=>{t.pushState(c,h),r({type:"PUSH"})},navigateOpts:m,type:"PUSH",path:c,state:h})},replace:(c,h,m)=>{const p=n.state[Hi];h=Bv(p,h),u({task:()=>{t.replaceState(c,h),r({type:"REPLACE"})},navigateOpts:m,type:"REPLACE",path:c,state:h})},go:(c,h)=>{u({task:()=>{t.go(c),l({type:"GO",index:c})},navigateOpts:h,type:"GO"})},back:c=>{u({task:()=>{t.back(c?.ignoreBlocker??!1),l({type:"BACK"})},navigateOpts:c,type:"BACK"})},forward:c=>{u({task:()=>{t.forward(c?.ignoreBlocker??!1),l({type:"FORWARD"})},navigateOpts:c,type:"FORWARD"})},canGoBack:()=>n.state[Hi]!==0,createHref:c=>t.createHref(c),block:c=>{if(!t.setBlockers)return()=>{};const h=t.getBlockers?.()??[];return t.setBlockers([...h,c]),()=>{const m=t.getBlockers?.()??[];t.setBlockers?.(m.filter(p=>p!==c))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:r}}function Bv(t,n){n||(n={});const s=Ah();return{...n,key:s,__TSR_key:s,[Hi]:t}}function IA(t){const n=typeof document<"u"?window:void 0,s=n.history.pushState,r=n.history.replaceState;let l=[];const u=()=>l,c=N=>l=N,h=(N=>N),m=(()=>lu(`${n.location.pathname}${n.location.search}${n.location.hash}`,n.history.state));if(!n.history.state?.__TSR_key&&!n.history.state?.key){const N=Ah();n.history.replaceState({[Hi]:0,key:N,__TSR_key:N},"")}let p=m(),g,y=!1,b=!1,S=!1,w=!1;const A=()=>p;let E,R;const O=()=>{E&&(G._ignoreSubscribers=!0,(E.isPush?n.history.pushState:n.history.replaceState)(E.state,"",E.href),G._ignoreSubscribers=!1,E=void 0,R=void 0,g=void 0)},L=(N,X,J)=>{const tt=h(X);R||(g=p),p=lu(X,J),E={href:tt,state:J,isPush:E?.isPush||N==="push"},R||(R=Promise.resolve().then(()=>O()))},j=N=>{p=m(),G.notify({type:N})},F=async()=>{if(b){b=!1;return}const N=m(),X=N.state[Hi]-p.state[Hi],J=X===1,tt=X===-1,ct=!J&&!tt||y;y=!1;const yt=ct?"GO":tt?"BACK":"FORWARD",At=ct?{type:"GO",index:X}:{type:tt?"BACK":"FORWARD"};if(S)S=!1;else{const vt=u();if(typeof document<"u"&&vt.length){for(const k of vt)if(await k.blockerFn({currentLocation:p,nextLocation:N,action:yt})){b=!0,n.history.go(1),G.notify(At);return}}}p=m(),G.notify(At)},I=N=>{if(w){w=!1;return}let X=!1;const J=u();if(typeof document<"u"&&J.length)for(const tt of J){const ct=tt.enableBeforeUnload??!0;if(ct===!0){X=!0;break}if(typeof ct=="function"&&ct()===!0){X=!0;break}}if(X)return N.preventDefault(),N.returnValue=""},G=YA({getLocation:A,getLength:()=>n.history.length,pushState:(N,X)=>L("push",N,X),replaceState:(N,X)=>L("replace",N,X),back:N=>(N&&(S=!0),w=!0,n.history.back()),forward:N=>{N&&(S=!0),w=!0,n.history.forward()},go:N=>{y=!0,n.history.go(N)},createHref:N=>h(N),flush:O,destroy:()=>{n.history.pushState=s,n.history.replaceState=r,n.removeEventListener(Pv,I,{capture:!0}),n.removeEventListener(Nv,F)},onBlocked:()=>{g&&p!==g&&(p=g)},getBlockers:u,setBlockers:c,notifyOnIndexChange:!1});return n.addEventListener(Pv,I,{capture:!0}),n.addEventListener(Nv,F),n.history.pushState=function(...N){const X=s.apply(n.history,N);return G._ignoreSubscribers||j("PUSH"),X},n.history.replaceState=function(...N){const X=r.apply(n.history,N);return G._ignoreSubscribers||j("REPLACE"),X},G}function XA(t){let n=t.replace(/[\x00-\x1f\x7f]/g,"");return n.startsWith("//")&&(n="/"+n.replace(/^\/+/,"")),n}function lu(t,n){const s=XA(t),r=s.indexOf("#"),l=s.indexOf("?"),u=Ah();return{href:s,pathname:s.substring(0,r>0?l>0?Math.min(r,l):r:l>0?l:s.length),hash:r>-1?s.substring(r):"",search:l>-1?s.slice(l,r===-1?void 0:r):"",state:n||{[Hi]:0,key:u,__TSR_key:u}}}function Ah(){return(Math.random()+1).toString(36).substring(7)}function KA(t){return t instanceof Error?{name:t.name,message:t.message}:{data:t}}function Ca(t,n){const s=n,r=t;return{fromLocation:s,toLocation:r,pathChanged:s?.pathname!==r.pathname,hrefChanged:s?.href!==r.href,hashChanged:s?.hash!==r.hash}}var QA=class{constructor(t,n){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=s=>s(),this.update=s=>{const r=this.options,l=this.basepath??r?.basepath??"/",u=this.basepath===void 0,c=r?.rewrite;if(this.options={...r,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=EA(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=IA()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let g;this.resolvePathCache=Jr(1e3),g=this.buildRouteTree(),this.setRoutes(g)}if(!this.stores&&this.latestLocation){const g=this.getStoreConfig(this);this.batch=g.batch,this.stores=VA(JA(this.latestLocation),g),OA(this)}let h=!1;const m=this.options.basepath??"/",p=this.options.rewrite;
10if(u||l!==m||c!==p){this.basepath=m;const g=[],y=Qb(m);y&&y!=="/"&&g.push(BA({basepath:m})),p&&g.push(p),this.rewrite=g.length===0?void 0:g.length===1?g[0]:PA(g),this.history&&this.updateLatestLocation(),h=!0}h&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a)"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=yA(this.routeTree,this.options.caseSensitive,(r,l)=>{r.init({originalIndex:l})});return this.options.routeMasks&&dA(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,r)=>{const l={eventType:s,fn:r};return this.subscribers.add(l),()=>{this.subscribers.delete(l)}},this.emit=s=>{this.subscribers.forEach(r=>{r.eventType===s.type&&r.fn(s)})},this.parseLocation=(s,r)=>{const l=({pathname:m,search:p,hash:g,href:y,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){const R=this.options.parseSearch(p),O=this.options.stringifySearch(R);return{href:m+O+g,publicHref:m+O+g,pathname:jr(m).path,external:!1,searchStr:O,search:ps(r?.search,R),hash:jr(g.slice(1)).path,state:bs(r?.state,b)}}const S=new URL(y,this.origin),w=Bd(this.rewrite,S),A=this.options.parseSearch(w.search),E=this.options.stringifySearch(A);return w.search=E,{href:w.href.replace(w.origin,""),publicHref:y,pathname:jr(w.pathname).path,external:!!this.rewrite&&w.origin!==this.origin,searchStr:E,search:ps(r?.search,A),hash:jr(w.hash.slice(1)).path,state:bs(r?.state,b)}},u=l(s),{__tempLocation:c,__tempKey:h}=u.state;if(c&&(!h||h===this.tempLocationKey)){const m=l(c);return m.state.key=u.state.key,m.state.__TSR_key=u.state.__TSR_key,delete m.state.__tempLocation,{...m,maskedLocation:u}}return u},this.resolvePathWithBase=(s,r)=>TA({base:s,to:Eh(r),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,r,l)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:r},l):this.matchRoutesInternal(s,r),this.getMatchedRoutes=s=>$A({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const r=this.getMatch(s);r&&(r.abortController.abort(),clearTimeout(r._nonReactive.pendingTimeout),r._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(s=>{this.cancelMatch(s)}),this.stores.matchesId.get().forEach(s=>{if(this.stores.pendingMatchStores.has(s))return;const r=this.stores.matchStores.get(s)?.get();r&&(r.status==="pending"||r.isFetching==="loader")&&this.cancelMatch(s)})},this.buildLocation=s=>{const r=(u={})=>{const c=u._fromLocation||this.pendingBuiltLocation||this.latestLocation,h=this.matchRoutesLightweight(c);u.from;const m=u.unsafeRelative==="path"?c.pathname:u.from??h.fullPath,p=this.resolvePathWithBase(m,"."),g=h.search,y=Object.assign(Object.create(null),h.params),b=u.to?this.resolvePathWithBase(p,`${u.to}`):this.resolvePathWithBase(p,"."),S=u.params===!1||u.params===null?Object.create(null):(u.params??!0)===!0?y:Object.assign(y,Pi(u.params,y)),w=this.getMatchedRoutes(b);let A=w.matchedRoutes;if((!w.foundRoute||w.foundRoute.path!=="/"&&w.routeParams["**"])&&this.options.notFoundRoute&&(A=[...A,this.options.notFoundRoute]),Object.keys(S).length>0)for(const J of A){const tt=J.options.params?.stringify??J.options.stringifyParams;if(tt)try{Object.assign(S,tt(S))}catch{}}const E=s.leaveParams?b:jr(Rv({path:b,params:S,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let R=g;if(s._includeValidateSearch&&this.options.search?.strict){const J={};A.forEach(tt=>{if(tt.options.validateSearch)try{Object.assign(J,Xl(tt.options.validateSearch,{...J,...R}))}catch{}}),R=J}R=WA({search:R,dest:u,destRoutes:A,_includeValidateSearch:s._includeValidateSearch}),R=ps(g,R);const O=this.options.stringifySearch(R),L=u.hash===!0?c.hash:u.hash?Pi(u.hash,c.hash):void 0,j=L?`#${L}`:"";let F=u.state===!0?c.state:u.state?Pi(u.state,c.state):{};F=bs(c.state,F);const I=`${E}${O}${j}`;let G,N,X=!1;if(this.rewrite){const J=new URL(I,this.origin),tt=tS(this.rewrite,J);G=J.href.replace(J.origin,""),tt.origin!==this.origin?(N=tt.href,X=!0):N=tt.pathname+tt.search+tt.hash}else G=uA(I),N=G;return{publicHref:N,href:G,pathname:E,search:R,searchStr:O,state:F,hash:L??"",external:X,unmaskOnReload:u.unmaskOnReload}},l=(u={},c)=>{const h=r(u);let m=c?r(c):void 0;if(!m){const p=Object.create(null);if(this.options.routeMasks){const g=hA(h.pathname,this.processedTree);if(g){Object.assign(p,g.rawParams);const{from:y,params:b,...S}
10=g.route,w=b===!1||b===null?Object.create(null):(b??!0)===!0?p:Object.assign(p,Pi(b,p));c={from:s.from,...S,params:w},m=r(c)}}}return m&&(h.maskedLocation=m),h};return s.mask?l(s,{from:s.from,...s.mask}):l(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:r,...l})=>{const u=()=>{const m=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];m.forEach(g=>{l.state[g]=this.latestLocation.state[g]});const p=He(l.state,this.latestLocation.state);return m.forEach(g=>{delete l.state[g]}),p},c=ki(this.latestLocation.href)===ki(l.href);let h=this.commitLocationPromise;if(this.commitLocationPromise=Ms(()=>{h?.resolve(),h=void 0}),c&&u())this.load();else{let{maskedLocation:m,hashScrollIntoView:p,...g}=l;m&&(g={...m,state:{...m.state,__tempKey:void 0,__tempLocation:{...g,search:g.searchStr,state:{...g.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(g.unmaskOnReload??this.options.unmaskOnReload??!1)&&(g.state.__tempKey=this.tempLocationKey)),g.state.__hashScrollIntoViewOptions=p??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,this.history[l.replace?"replace":"push"](g.publicHref,g.state,{ignoreBlocker:r})}return this.resetNextScroll=l.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:r,hashScrollIntoView:l,viewTransition:u,ignoreBlocker:c,href:h,...m}={})=>
10{if(h){const y=this.history.location.state.__TSR_index,b=lu(h,{__TSR_index:s?y:y+1}),S=new URL(b.pathname,this.origin);m.to=Bd(this.rewrite,S).pathname,m.search=this.options.parseSearch(b.search),m.hash=b.hash.slice(1)}const p=this.buildLocation({...m,_includeValidateSearch:!0});this.pendingBuiltLocation=p;const g=this.commitLocation({...p,viewTransition:u,replace:s,resetScroll:r,hashScrollIntoView:l,ignoreBlocker:c});return Promise.resolve().then(()=>{this.pendingBuiltLocation===p&&(this.pendingBuiltLocation=void 0)}),g},this.navigate=async({to:s,reloadDocument:r,href:l,publicHref:u,...c})=>{let h=!1;if(l)try{new URL(`${l}`),h=!0}catch{}if(h&&!r&&(r=!0),r){if(s!==void 0||!l){const p=this.buildLocation({to:s,...c});l=l??p.publicHref,u=u??p.publicHref}const m=!h&&u?u:l;if(ru(m,this.protocolAllowlist))return Promise.resolve();if(!c.ignoreBlocker){const p=this.history.getBlockers?.()??[];for(const g of p)if(g?.blockerFn&&await g.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return c.replace?window.location.replace(m):window.location.href=m,Promise.resolve()}return this.buildAndCommitLocation({...c,href:l,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation),r=this.stores.cachedMatches.get().filter(l=>!s.some(u=>u.id===l.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(s),this.stores.setCached(r)})},this.load=async s=>{let r,l,u;const c=this.stores.resolvedLocation.get()??this.stores.location.get();for(u=new Promise(m=>{this.startTransition(async()=>{try{this.beforeLoad();const p=this.latestLocation,g=Ca(p,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...g}),this.emit({type:"onBeforeLoad",...g}),await zv({router:this,sync:s?.sync,forceStaleReload:c.href===p.href,matches:this.stores.pendingMatches.get(),location:p,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let y=null,b=null,S=null,w=null;this.batch(()=>{const A=this.stores.pendingMatches.get(),E=A.length,R=this.stores.matches.get();y=E?R.filter(j=>!this.stores.pendingMatchStores.has(j.id)):null;const O=new Set;for(const j of this.stores.pendingMatchStores.values())j.routeId&&O.add(j.routeId);const L=new Set;for(const j of this.stores.matchStores.values())j.routeId&&L.add(j.routeId);b=E?R.filter(j=>!O.has(j.routeId)):null,S=E?A.filter(j=>!L.has(j.routeId)):null,w=E?A.filter(j=>L.has(j.routeId)):R,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),E&&(this.stores.setMatches(A),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...y.filter(j=>j.status!=="error"&&j.status!=="notFound"&&j.status!=="redirected")]),this.clearExpiredCache())});for(const[A,E]of[[b,"onLeave"],[S,"onEnter"],[w,"onStay"]])if(A)for(const R of A)this.looseRoutesById[R.routeId].options[E]?.(R)})})}})}catch(p){we(p)?(r=p,this.navigate({...r.options,replace:!0,ignoreBlocker:!0})):he(p)&&(l=p);const g=r?r.status:l?404:this.stores.matches.get().some(y=>y.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(g),this.stores.redirect.set(r)})}this.latestLoadPromise===u&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),m()})}),this.latestLoadPromise=u,await u;this.latestLoadPromise&&u!==this.latestLoadPromise;)await this.latestLoadPromise;let h;this.hasNotFoundMatch()?h=404:this.stores.matches.get().some(m=>m.status==="error")&&(h=500),h!==void 0&&this.stores.statusCode.set(h)},this.startViewTransition=s=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let l;if(typeof r=="object"&&this.isViewTransitionTypesSupported){const u=this.latestLocation,c=this.stores.resolvedLocation.get(),h=typeof r.types=="function"?r.types(Ca(u,c)):r.types;if(h===!1){s();return}l={update:s,types:h}}else l=s;document.startViewTransition(l)}else s()},this.updateMatch=(s,r)=>{this.startTransition(()=>
10{const l=this.stores.pendingMatchStores.get(s);if(l){l.set(r);return}const u=this.stores.matchStores.get(s);if(u){u.set(r);return}const c=this.stores.cachedMatchStores.get(s);if(c){const h=r(c.get());h.status==="redirected"?this.stores.cachedMatchStores.delete(s)&&this.stores.cachedIds.set(m=>m.filter(p=>p!==s)):c.set(h)}})},this.getMatch=s=>this.stores.cachedMatchStores.get(s)?.get()??this.stores.pendingMatchStores.get(s)?.get()??this.stores.matchStores.get(s)?.get(),this.invalidate=s=>{const r=l=>s?.filter?.(l)??!0?{...l,invalid:!0,...s?.forcePending||l.status==="error"||l.status==="notFound"?{status:"pending",error:void 0}:void 0}:l;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(r)),this.stores.setCached(this.stores.cachedMatches.get().map(r)),this.stores.setPending(this.stores.pendingMatches.get().map(r))}),this.shouldViewTransition=!1,this.load({sync:s?.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const r=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const l=s.options._builtLocation??this.buildLocation(s.options),u=this.getParsedLocationHref(l);s.options.href=u,s.headers.set("Location",u)}else if(r)try{const l=new URL(r);if(this.origin&&l.origin===this.origin){const u=l.pathname+l.search+l.hash;s.options.href=u,s.headers.set("Location",u)}}catch{}if(s.options.href&&!s.options._builtLocation&&ru(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const r=s?.filter;r!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(l=>!r(l))):this.stores.setCached([])},this.clearExpiredCache=()=>{const s=Date.now(),r=l=>{const u=this.looseRoutesById[l.routeId];if(!u.options.loader)return!0;const c=(l.preload?u.options.preloadGcTime??this.options.defaultPreloadGcTime:u.options.gcTime??this.options.defaultGcTime)??300*1e3;return l.status==="error"?!0:s-l.updatedAt>=c};this.clearCache({filter:r})},this.loadRouteChunk=$r,this.preloadRoute=async s=>{const r=s._builtLocation??this.buildLocation(s);let l=this.matchRoutes(r,{throwOnError:!0,preload:!0,dest:s});const u=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),c=new Set([...u,...this.stores.cachedIds.get()]),h=l.filter(m=>!c.has(m.id));if(h.length){const m=this.stores.cachedMatches.get();this.stores.setCached([...m,...h])}try{return l=await zv({router:this,matches:l,location:r,preload:!0,updateMatch:(m,p)=>{u.has(m)?l=l.map(g=>g.id===m?p(g):g):this.updateMatch(m,p)}}),l}catch(m){if(we(m))return m.options.reloadDocument?void 0:await this.preloadRoute({...m.options,_fromLocation:r});he(m)||console.error(m);return}},this.matchRoute=(s,r)=>{const l={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},u=this.buildLocation(l);if(r?.pending&&this.stores.status.get()!=="pending")return!1;const c=(r?.pending===void 0?!this.stores.isLoading.get():r.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),h=mA(u.pathname,r?.caseSensitive??!1,r?.fuzzy??!1,c.pathname,this.processedTree);return!h||s.params&&!He(h.rawParams,s.params,{partial:!0})?!1:r?.includeSearch??!0?He(c.search,u.search,{partial:!0})?h.rawParams:!1:h.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(s=>s.status==="notFound"||s.globalNotFound),this.getStoreConfig=n,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...t,caseSensitive:t.caseSensitive??!1,notFoundMode:t.notFoundMode??"fuzzy",stringifySearch:t.stringifySearch??zA,parseSearch:t.parseSearch??jA,protocolAllowlist:t.protocolAllowlist??aA}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:t,routesByPath:n,processedTree:s}){this.routesById=t,this.routesByPath=n,this.processedTree=s;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}get looseRoutesById(){return this.routesById}getParentContext(t){return t?.id?t.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(t,n){const s=this.getMatchedRoutes(t.pathname),{foundRoute:r,routeParam
10s:l,parsedParams:u}=s;let{matchedRoutes:c}=s,h=!1;(r?r.path!=="/"&&l["**"]:ki(t.pathname))&&(this.options.notFoundRoute?c=[...c,this.options.notFoundRoute]:h=!0);const m=h?eR(this.options.notFoundMode,c):void 0,p=new Array(c.length),g=new Map;for(const y of this.stores.matchStores.values())y.routeId&&g.set(y.routeId,y.get());for(let y=0;y<c.length;y++){const b=c[y],S=p[y-1];let w,A,E;{const yt=S?.search??t.search,At=S?._strictSearch??void 0;try{const vt=Xl(b.options.validateSearch,{...yt})??void 0;w={...yt,...vt},A={...At,...vt},E=void 0}catch(vt){let k=vt;if(vt instanceof uu||(k=new uu(vt.message,{cause:vt})),n?.throwOnError)throw k;w=yt,A={},E=k}}const R=b.options.loaderDeps?.({search:w})??"",O=R?JSON.stringify(R):"",{interpolatedPath:L,usedParams:j}=Rv({path:b.fullPath,params:l,decoder:this.pathParamsDecoder,server:this.isServer}),F=b.id+L+O,I=this.getMatch(F),G=g.get(b.id),N=I?._strictParams??j;let X;if(!I)try{Vv(b,j,u,N)}catch(yt){if(he(yt)||we(yt)?X=yt:X=new ZA(yt.message,{cause:yt}),n?.throwOnError)throw X}Object.assign(l,N);const J=G?"stay":"enter";let tt;if(I)tt={...I,cause:J,params:G?.params??l,_strictParams:N,search:ps(G?G.search:I.search,w),_strictSearch:A};else{const yt=b.options.loader||b.options.beforeLoad||b.lazyFn||sS(b)?"pending":"success";tt={id:F,ssr:b.options.ssr,index:y,routeId:b.id,params:G?.params??l,_strictParams:N,pathname:L,updatedAt:Date.now(),search:G?ps(G.search,w):w,_strictSearch:A,searchError:void 0,status:yt,isFetching:!1,error:void 0,paramsError:X,__routeContext:void 0,_nonReactive:{loadPromise:Ms()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:J,loaderDeps:G?bs(G.loaderDeps,R):R,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:b.options.staticData||{},fullPath:b.fullPath}}n?.preload||(tt.globalNotFound=m===b.id),tt.searchError=E;const ct=this.getParentContext(S);tt.context={...ct,...tt.__routeContext,...tt.__beforeLoadContext},p[y]=tt}for(let y=0;y<p.length;y++){const b=p[y],S=this.looseRoutesById[b.routeId],w=this.getMatch(b.id),A=g.get(b.routeId);if(b.params=A?ps(A.params,l):l,!w){const E=p[y-1],R=this.getParentContext(E);if(S.options.context){const O={deps:b.loaderDeps,params:b.params,context:R??{},location:t,navigate:L=>this.navigate({...L,_fromLocation:t}),buildLocation:this.buildLocation,cause:b.cause,abortController:b.abortController,preload:!!b.preload,matches:p,routeId:S.id};b.__routeContext=S.options.context(O)??void 0}b.context={...R,...b.__routeContext,...b.__beforeLoadContext}}}return p}matchRoutesLightweight(t){const{matchedRoutes:n,routeParams:s,parsedParams:r}=this.getMatchedRoutes(t.pathname),l=Qr(n),u={...t.search};for(const g of n)try{Object.assign(u,Xl(g.options.validateSearch,u))}catch{}const c=Qr(this.stores.matchesId.get()),h=c&&this.stores.matchStores.get(c)?.get(),m=h&&h.routeId===l.id&&h.pathname===t.pathname;let p;if(m)p=h.params;else{const g=Object.assign(Object.create(null),s);for(const y of n)try{Vv(y,s,r??{},g)}catch{}p=g}return{matchedRoutes:n,fullPath:l.fullPath,search:u,params:p}}},uu=class extends Error{},ZA=class extends Error{};function JA(t){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:t,matches:[],statusCode:200}}function Xl(t,n){if(t==null)return{};if("~standard"in t){const s=t["~standard"].validate(n);if(s instanceof Promise)throw new uu("Async validation not supported");if(s.issues)throw new uu(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in t?t.parse(n):typeof t=="function"?t(n):{}}function $A({pathname:t,routesById:n,processedTree:s}){const r=Object.create(null),l=ki(t);let u,c;const h=pA(l,s,!0);return h&&(u=h.route,Object.assign(r,h.rawParams),c=Object.assign(Object.create(null),h.parsedParams)),{matchedRoutes:h?.branch||[n.__root__],routeParams:r,foundRoute:u,parsedParams:c}}function WA({search:t,dest:n,destRoutes:s,_includeValidateSearch:r}){return tR(s)(t,n,r??!1)}function tR(t){const n={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const l of t){if("search"in l.options)l.options.search?.middlewares&&n.middlewares.push(...l.options.search.middlewares);else if(l.options.preSearchFilters||l.options.postSearchFilters){const u=({search:c,next:h})=>{let m=c;
10"preSearchFilters"in l.options&&l.options.preSearchFilters&&(m=l.options.preSearchFilters.reduce((g,y)=>y(g),c));const p=h(m);return"postSearchFilters"in l.options&&l.options.postSearchFilters?l.options.postSearchFilters.reduce((g,y)=>y(g),p):p};n.middlewares.push(u)}if(l.options.validateSearch){const u=({search:c,next:h})=>{const m=h(c);if(!n._includeValidateSearch)return m;try{return{...m,...Xl(l.options.validateSearch,m)??void 0}}catch{return m}};n.middlewares.push(u)}}const s=({search:l})=>{const u=n.dest;return u.search?u.search===!0?l:Pi(u.search,l):{}};n.middlewares.push(s);const r=(l,u,c)=>{if(l>=c.length)return u;const h=c[l];return h({search:u,next:p=>r(l+1,p,c)})};return function(u,c,h){return n.dest=c,n._includeValidateSearch=h,r(0,u,n.middlewares)}}function eR(t,n){if(t!=="root")for(let s=n.length-1;s>=0;s--){const r=n[s];if(r.children)return r.id}return Es}function Vv(t,n,s,r){const l=t.options.params?.parse??t.options.parseParams;if(l)if(t.options.skipRouteOnParseError)for(const u in n)u in s&&(r[u]=s[u]);else{const u=l(r);Object.assign(r,u)}}var On=Symbol.for("TSR_DEFERRED_PROMISE");function nR(t,n){const s=t;return s[On]||(s[On]={status:"pending"},s.then(r=>{s[On].status="success",s[On].data=r}).catch(r=>{s[On].status="error",s[On].error={data:KA(r),__isServerError:!0}})),s}var iR="Error preloading route! ☝️";function Uv(t,n){if(t)return typeof t=="string"?t:t[n]}function sR(t){return typeof t=="string"?{href:t,crossOrigin:void 0}:t}function aR(t){if(t.tag!=="link")return;const n=t.attrs?.rel,s=t.attrs?.href;if(typeof s=="string"&&(typeof n=="string"?n.split(/\s+/):[]).includes("stylesheet"))return s}function rR(t,n){const s=aR(n);return!!s&&t?.inlineCss?.styles[s]!==void 0}var aS=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(t){if(this.init=n=>{this.originalIndex=n.originalIndex;const s=this.options,r=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=Es:this.parentRoute||qe();let l=r?Es:s?.path;l&&l!=="/"&&(l=Kb(l));const u=s?.id||l;let c=r?Es:Yl([this.parentRoute.id==="__root__"?"":this.parentRoute.id,u]);l==="__root__"&&(l="/"),c!=="__root__"&&(c=Yl(["/",c]));const h=c==="__root__"?"/":Yl([this.parentRoute.fullPath,l]);this._path=l,this._id=c,this._fullPath=h,this._to=ki(h)},this.addChildren=n=>this._addFileChildren(n),this._addFileChildren=n=>(Array.isArray(n)&&(this.children=n),typeof n=="object"&&n!==null&&(this.children=Object.values(n)),this),this._addFileTypes=()=>this,this.updateLoader=n=>(Object.assign(this.options,n),this),this.update=n=>(Object.assign(this.options,n),this),this.lazy=n=>(this.lazyFn=n,this),this.redirect=n=>$b({from:this.fullPath,...n}),this.options=t||{},this.isRoot=!t?.getParentRoute,t?.id&&t?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}},oR=class extends aS{constructor(t){super(t)}};function lR(t){if(typeof document<"u"&&document.querySelector){const n=t.stores.location.get(),s=n.state.__hashScrollIntoViewOptions??!0;if(s&&n.hash!==""){const r=document.getElementById(n.hash);r&&r.scrollIntoView(s)}}}var uR=(t=>(t[t.AggregateError=1]="AggregateError",t[t.ArrowFunction=2]="ArrowFunction",t[t.ErrorPrototypeStack=4]="ErrorPrototypeStack",t[t.ObjectAssign=8]="ObjectAssign",t[t.BigIntTypedArray=16]="BigIntTypedArray",t[t.RegExp=32]="RegExp",t))(uR||{}),ii=Symbol.asyncIterator,rS=Symbol.hasInstance,Ma=Symbol.isConcatSpreadable,si=Symbol.iterator,oS=Symbol.match,lS=Symbol.matchAll,uS=Symbol.replace,cS=Symbol.search,fS=Symbol.species,dS=Symbol.split,hS=Symbol.toPrimitive,_a=Symbol.toStringTag,mS=Symbol.unscopables,pS={[ii]:0,[rS]:1,[Ma]:2,[si]:3,[oS]:4,[lS]:5,[uS]:6,[cS]:7,[fS]:8,[dS]:9,[hS]:10,[_a]:11,[mS]:12},cR={0:ii,1:rS,2:Ma,3:si,4:oS,5:lS,6:uS,7:cS,8:fS,9:dS,10:hS,11:_a,12:mS},C=void 0,fR={2:!0,3:!1,1:C,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},dR={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},hR={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function Dt(t,n,s,r,l,u,c,h,m,p,g,y){return{t,i:n,s,c:r,m:l,p:u,e:c,a:h,f:m,b:p,o:g,l:y}}function Gi(t){return Dt(2,C,t,C,C,C,C,C,C,C,C,C)}var gS=Gi(2),yS=Gi(3),mR=Gi(1),pR=Gi(0),gR=Gi(4),yR=Gi(5),vR=Gi(6),bR=Gi(7);function SR(t){switch(t){case'"':return'\\"';case"\\":return"\\\\";case`
11`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case"	":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return C}}function Yi(t){let n="",s=0,r;for(let l=0,u=t.length;l<u;l++)r=SR(t[l]),r&&(n+=t.slice(s,l)+r,s=l+1);return s===0?n=t:n+=t.slice(s),n}function xR(t){switch(t){case"\\\\":return"\\";case'\\"':return'"';case"\\n":return`
12`;case"\\r":return"\r";case"\\b":return"\b";case"\\t":return"	";case"\\f":return"\f";case"\\x3C":return"<";case"\\u2028":return"\u2028";case"\\u2029":return"\u2029";default:return t}}function Ii(t){return t.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,xR)}var Ll="__SEROVAL_REFS__",vS=new Map,wa=new Map;function bS(t){return vS.has(t)}function wR(t){return wa.has(t)}function TR(t){if(bS(t))return vS.get(t);throw new tC(t)}function ER(t){if(wR(t))return wa.get(t);throw new eC(t)}typeof globalThis<"u"?Object.defineProperty(globalThis,Ll,{value:wa,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,Ll,{value:wa,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,Ll,{value:wa,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,Ll,{value:wa,configurable:!0,writable:!1,enumerable:!1});function Rh(t){return t instanceof EvalError?1:t instanceof RangeError?2:t instanceof ReferenceError?3:t instanceof SyntaxError?4:t instanceof TypeError?5:t instanceof URIError?6:0}function AR(t){let n=dR[Rh(t)];return t.name!==n?{name:t.name}:t.constructor.name!==n?{name:t.constructor.name}:{}}function SS(t,n){let s=AR(t),r=Object.getOwnPropertyNames(t);for(let l=0,u=r.length,c;
12l<u;l++)c=r[l],c!=="name"&&c!=="message"&&(c==="stack"?n&4&&(s=s||{},s[c]=t[c]):(s=s||{},s[c]=t[c]));return s}function xS(t){return Object.isFrozen(t)?3:Object.isSealed(t)?2:Object.isExtensible(t)?0:1}function RR(t){switch(t){case Number.POSITIVE_INFINITY:return yR;case Number.NEGATIVE_INFINITY:return vR}return t!==t?bR:Object.is(t,-0)?gR:Dt(0,C,t,C,C,C,C,C,C,C,C,C)}function wS(t){return Dt(1,C,Yi(t),C,C,C,C,C,C,C,C,C)}function CR(t){return Dt(3,C,""+t,C,C,C,C,C,C,C,C,C)}function MR(t){return Dt(4,t,C,C,C,C,C,C,C,C,C,C)}function _R(t,n){let s=n.valueOf();return Dt(5,t,s!==s?"":n.toISOString(),C,C,C,C,C,C,C,C,C)}function OR(t,n){return Dt(6,t,C,Yi(n.source),n.flags,C,C,C,C,C,C,C)}function DR(t,n){return Dt(17,t,pS[n],C,C,C,C,C,C,C,C,C)}function jR(t,n){return Dt(18,t,Yi(TR(n)),C,C,C,C,C,C,C,C,C)}function zR(t,n,s){return Dt(25,t,s,Yi(n),C,C,C,C,C,C,C,C)}function LR(t,n,s){return Dt(9,t,C,C,C,C,C,s,C,C,xS(n),C)}function NR(t,n){return Dt(21,t,C,C,C,C,C,C,n,C,C,C)}function PR(t,n,s){return Dt(15,t,C,n.constructor.name,C,C,C,C,s,n.byteOffset,C,n.length)}function BR(t,n,s){return Dt(16,t,C,n.constructor.name,C,C,C,C,s,n.byteOffset,C,n.byteLength)}function VR(t,n,s){return Dt(20,t,C,C,C,C,C,C,s,n.byteOffset,C,n.byteLength)}function UR(t,n,s){return Dt(13,t,Rh(n),C,Yi(n.message),s,C,C,C,C,C,C)}function kR(t,n,s){return Dt(14,t,Rh(n),C,Yi(n.message),s,C,C,C,C,C,C)}function HR(t,n){return Dt(7,t,C,C,C,C,C,n,C,C,C,C)}function qR(t,n){return Dt(28,C,C,C,C,C,C,[t,n],C,C,C,C)}function FR(t,n){return Dt(30,C,C,C,C,C,C,[t,n],C,C,C,C)}function GR(t,n,s){return Dt(31,t,C,C,C,C,C,s,n,C,C,C)}function YR(t,n){return Dt(32,t,C,C,C,C,C,C,n,C,C,C)}function IR(t,n){return Dt(33,t,C,C,C,C,C,C,n,C,C,C)}function XR(t,n){return Dt(34,t,C,C,C,C,C,C,n,C,C,C)}function KR(t,n,s,r){return Dt(35,t,s,C,C,C,C,n,C,C,C,r)}var QR={parsing:1,serialization:2,deserialization:3};function ZR(t){return`Seroval Error (step: ${QR[t]})`}var JR=(t,n)=>ZR(t),TS=class extends Error{constructor(t,n){super(JR(t)),this.cause=n}},kv=class extends TS{constructor(t){super("parsing",t)}},$R=class extends TS{constructor(t){super("deserialization",t)}};function ai(t){return`Seroval Error (specific: ${t})`}var Ru=class extends Error{constructor(n){super(ai(1)),this.value=n}},ES=class extends Error{constructor(n){super(ai(2))}},WR=class extends Error{constructor(t){super(ai(3))}},oo=class extends Error{constructor(t){super(ai(4))}},tC=class extends Error{constructor(t){super(ai(5)),this.value=t}},eC=class extends Error{constructor(t){super(ai(6))}},nC=class extends Error{constructor(t){super(ai(7))}},Xi=class extends Error{constructor(t){super(ai(8))}},iC=class extends Error{constructor(n){super(ai(9))}},sC=class{constructor(t,n){this.value=t,this.replacement=n}},Cu=()=>{let t={p:0,s:0,f:0};return t.p=new Promise((n,s)=>{t.s=n,t.f=s}),t},aC=(t,n)=>{t.s(n),t.p.s=1,t.p.v=n},rC=(t,n)=>{t.f(n),t.p.s=2,t.p.v=n};Cu.toString();aC.toString();rC.toString();var oC=()=>{let t=[],n=[],s=!0,r=!1,l=0,u=(m,p,g)=>{for(g=0;g<l;g++)n[g]&&n[g][p](m)},c=(m,p,g,y)=>{for(p=0,g=t.length;p<g;p++)y=t[p],!s&&p===g-1?m[r?"return":"throw"](y):m.next(y)},h=(m,p)=>(s&&(p=l++,n[p]=m),c(m),()=>{s&&(n[p]=n[l],n[l--]=void 0)});return{__SEROVAL_STREAM__:!0,on:m=>h(m),next:m=>{s&&(t.push(m),u(m,"next"))},throw:m=>{s&&(t.push(m),u(m,"throw"),s=!1,r=!1,n.length=0)},return:m=>{s&&(t.push(m),u(m,"return"),s=!1,r=!0,n.length=0)}}},lC=t=>n=>()=>{let s=0,r={[t]:()=>r,next:()=>{if(s>n.d)return{done:!0,value:void 0};let l=s++,u=n.v[l];if(l===n.t)throw u;return{done:l===n.d,value:u}}};return r},uC=(t,n)=>s=>()=>{let r=0,l=-1,u=!1,c=[],h=[],m=(g=0,y=h.length)=>{for(;g<y;g++)h[g].s({done:!0,value:void 0})};s.on({next:g=>{let y=h.shift();y&&y.s({done:!1,value:g}),c.push(g)},throw:g=>{let y=h.shift();y&&y.f(g),m(),l=c.length,u=!0,c.push(g)},return:g=>{let y=h.shift();y&&y.s({done:!0,value:g}),m(),l=c.length,c.push(g)}});let p={[t]:()=>p,next:()=>{if(l===-1){let b=r++;if(b>=c.length){let S=n();return h.push(S),S.p}return{done:!1,value:c[b]}}if(r>l)return{done:!0,value:void 0};let g=r++,y=c[g];if(g!==l)return{done:!1,value:y};if(u)throw y;return{done:!0,value:y}}};return p},AS=t=>{let n=atob(t),s=n.length,r=new Uint8Array(s);for(let l=0;l<s;l++)r[l]=n.charCodeAt(l);return r.buffer};AS.toString();
12function cC(t){return"__SEROVAL_SEQUENCE__"in t}function RS(t,n,s){return{__SEROVAL_SEQUENCE__:!0,v:t,t:n,d:s}}function fC(t){let n=[],s=-1,r=-1,l=t[si]();for(;;)try{let u=l.next();if(n.push(u.value),u.done){r=n.length-1;break}}catch(u){s=n.length,n.push(u)}return RS(n,s,r)}var dC=lC(si);function hC(t){return dC(t)}var mC={},pC={},gC={0:{},1:{},2:{},3:{},4:{},5:{}};function Mu(t){return"__SEROVAL_STREAM__"in t}function _s(){return oC()}function yC(t){let n=_s(),s=t[ii]();async function r(){try{let l=await s.next();l.done?n.return(l.value):(n.next(l.value),await r())}catch(l){n.throw(l)}}return r().catch(()=>{}),n}var vC=uC(ii,Cu);function bC(t){return vC(t)}async function SC(t){try{return[1,await t]}catch(n){return[0,n]}}function xC(t,n){return{plugins:n.plugins,mode:t,marked:new Set,features:63^(n.disabledFeatures||0),refs:n.refs||new Map,depthLimit:n.depthLimit||1e3}}function Kl(t,n){t.marked.add(n)}function wC(t,n){let s=t.refs.size;return t.refs.set(n,s),s}function _u(t,n){let s=t.refs.get(n);return s!=null?(Kl(t,s),{type:1,value:MR(s)}):{type:0,value:wC(t,n)}}function Ch(t,n){let s=_u(t,n);return s.type===1?s:bS(n)?{type:2,value:jR(s.value,n)}:s}function xs(t,n){let s=Ch(t,n);if(s.type!==0)return s.value;if(n in pS)return DR(s.value,n);throw new Ru(n)}function Ou(t,n){let s=_u(t,gC[n]);return s.type===1?s.value:Dt(26,s.value,n,C,C,C,C,C,C,C,C,C)}function TC(t){let n=_u(t,mC);return n.type===1?n.value:Dt(27,n.value,C,C,C,C,C,C,xs(t,si),C,C,C)}function EC(t){let n=_u(t,pC);return n.type===1?n.value:Dt(29,n.value,C,C,C,C,C,[Ou(t,1),xs(t,ii)],C,C,C,C)}function AC(t,n,s,r){return Dt(s?11:10,t,C,C,C,r,C,C,C,C,xS(n),C)}function RC(t,n,s,r){return Dt(8,n,C,C,C,C,{k:s,v:r},C,Ou(t,0),C,C,C)}function CC(t,n,s){let r=new Uint8Array(s),l="";for(let u=0,c=r.length;u<c;u++)l+=String.fromCharCode(r[u]);return Dt(19,n,Yi(btoa(l)),C,C,C,C,C,Ou(t,5),C,C,C)}function MC(t,n){return{base:xC(t,n),child:void 0}}var _C=class{constructor(t,n){this._p=t,this.depth=n}parse(t){return ue(this._p,this.depth,t)}};async function OC(t,n,s){let r=[];for(let l=0,u=s.length;l<u;l++)l in s?r[l]=await ue(t,n,s[l]):r[l]=0;return r}async function DC(t,n,s,r){return LR(s,r,await OC(t,n,r))}async function Mh(t,n,s){let r=Object.entries(s),l=[],u=[];for(let c=0,h=r.length;c<h;c++)l.push(Yi(r[c][0])),u.push(await ue(t,n,r[c][1]));return si in s&&(l.push(xs(t.base,si)),u.push(qR(TC(t.base),await ue(t,n,fC(s))))),ii in s&&(l.push(xs(t.base,ii)),u.push(FR(EC(t.base),await ue(t,n,yC(s))))),_a in s&&(l.push(xs(t.base,_a)),u.push(wS(s[_a]))),Ma in s&&(l.push(xs(t.base,Ma)),u.push(s[Ma]?gS:yS)),{k:l,v:u}}async function cd(t,n,s,r,l){return AC(s,r,l,await Mh(t,n,r))}async function jC(t,n,s,r){return NR(s,await ue(t,n,r.valueOf()))}async function zC(t,n,s,r){return PR(s,r,await ue(t,n,r.buffer))}async function LC(t,n,s,r){return BR(s,r,await ue(t,n,r.buffer))}async function NC(t,n,s,r){return VR(s,r,await ue(t,n,r.buffer))}async function Hv(t,n,s,r){let l=SS(r,t.base.features);return UR(s,r,l?await Mh(t,n,l):C)}async function PC(t,n,s,r){let l=SS(r,t.base.features);return kR(s,r,l?await Mh(t,n,l):C)}async function BC(t,n,s,r){let l=[],u=[];for(let[c,h]of r.entries())l.push(await ue(t,n,c)),u.push(await ue(t,n,h));return RC(t.base,s,l,u)}async function VC(t,n,s,r){let l=[];for(let u of r.keys())l.push(await ue(t,n,u));return HR(s,l)}async function CS(t,n,s,r){let l=t.base.plugins;if(l)for(let u=0,c=l.length;u<c;u++){let h=l[u];if(h.parse.async&&h.test(r))return zR(s,h.tag,await h.parse.async(r,new _C(t,n),{id:s}))}return C}async function UC(t,n,s,r){let[l,u]=await SC(r);return Dt(12,s,l,C,C,C,C,C,await ue(t,n,u),C,C,C)}function kC(t,n,s,r,l){let u=[],c=s.on({next:h=>{Kl(this.base,n),ue(this,t,h).then(m=>{u.push(YR(n,m))},m=>{l(m),c()})},throw:h=>{Kl(this.base,n),ue(this,t,h).then(m=>{u.push(IR(n,m)),r(u),c()},m=>{l(m),c()})},return:h=>{Kl(this.base,n),ue(this,t,h).then(m=>{u.push(XR(n,m)),r(u),c()},m=>{l(m),c()})}})}async function HC(t,n,s,r){return GR(s,Ou(t.base,4),await new Promise(kC.bind(t,n,s,r)))}async function qC(t,n,s,r){let l=[];for(let u=0,c=r.v.length;u<c;u++)l[u]=await ue(t,n,r.v[u]);return KR(s,l,r.t,r.d)}async function FC(t,n,s,r){if(Array.isArray(r))return DC(t,n,s,r);if(Mu(r))return HC(t,n,s,r);if(cC(r))return qC(t,n,s,r);let l=r.constructor;if(l===sC)return ue(t,n,r.replacement);let u=await CS(t,n,s,r);if(u)return u;switch(l){case Object:return cd(t,n,s,r,!1);case C:return cd(t,n,s,r,!0);case Date:return _R(s,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Hv(t,n,s,r);case Number:case Boolean:case String:case BigInt:return jC(t,n,s,r);case ArrayBuffer:return CC(t.base,s,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return zC(t,n,s,r);case DataView:return NC(t,n,s,r);case Map:return BC(t,n,s,r);case Set:return VC(t,n,s,r)}
12if(l===Promise||r instanceof Promise)return UC(t,n,s,r);let c=t.base.features;if(c&32&&l===RegExp)return OR(s,r);if(c&16)switch(l){case BigInt64Array:case BigUint64Array:return LC(t,n,s,r)}if(c&1&&typeof AggregateError<"u"&&(l===AggregateError||r instanceof AggregateError))return PC(t,n,s,r);if(r instanceof Error)return Hv(t,n,s,r);if(si in r||ii in r)return cd(t,n,s,r,!!l);throw new Ru(r)}async function GC(t,n,s){let r=Ch(t.base,s);if(r.type!==0)return r.value;let l=await CS(t,n,r.value,s);if(l)return l;throw new Ru(s)}async function ue(t,n,s){switch(typeof s){case"boolean":return s?gS:yS;case"undefined":return mR;case"string":return wS(s);case"number":return RR(s);case"bigint":return CR(s);case"object":{if(s){let r=Ch(t.base,s);return r.type===0?await FC(t,n+1,r.value,s):r.value}return pR}case"symbol":return xs(t.base,s);case"function":return GC(t,n,s);default:throw new Ru(s)}}async function YC(t,n){try{return await ue(t,0,n)}catch(s){throw s instanceof kv?s:new kv(s)}}var IC=(t=>(t[t.Vanilla=1]="Vanilla",t[t.Cross=2]="Cross",t))(IC||{});function MS(t,n){for(let s=0,r=n.length;s<r;s++){let l=n[s];t.has(l)||(t.add(l),l.extends&&MS(t,l.extends))}}function _S(t){if(t){let n=new Set;return MS(n,t),[...n]}}function XC(t){switch(t){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new nC(t)}}var KC=1e6,QC=1e4,ZC=2e4;function OS(t,n){switch(n){case 3:return Object.freeze(t);case 1:return Object.preventExtensions(t);case 2:return Object.seal(t);default:return t}}var JC=1e3;function $C(t,n){var s;return{mode:t,plugins:n.plugins,refs:n.refs||new Map,features:(s=n.features)!=null?s:63^(n.disabledFeatures||0),depthLimit:n.depthLimit||JC}}function WC(t){return{mode:2,base:$C(2,t),child:C}}var tM=class{constructor(t,n){this._p=t,this.depth=n}deserialize(t){return Ut(this._p,this.depth,t)}};function DS(t,n){if(n<0||!Number.isFinite(n)||!Number.isInteger(n))throw new Xi({t:4,i:n});if(t.refs.has(n))throw new Error("Conflicted ref id: "+n)}function eM(t,n,s){return DS(t.base,n),t.state.marked.has(n)&&t.base.refs.set(n,s),s}function nM(t,n,s){return DS(t.base,n),t.base.refs.set(n,s),s}function ce(t,n,s){return t.mode===1?eM(t,n,s):nM(t,n,s)}function Ud(t,n,s){if(Object.hasOwn(n,s))return n[s];throw new Xi(t)}function iM(t,n){return ce(t,n.i,ER(Ii(n.s)))}function sM(t,n,s){let r=s.a,l=r.length,u=ce(t,s.i,new Array(l));for(let c=0,h;c<l;c++)h=r[c],h&&(u[c]=Ut(t,n,h));return OS(u,s.o),u}function aM(t){switch(t){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function rM(t){switch(t){case ii:case Ma:case _a:case si:return!0;default:return!1}}function qv(t,n,s){aM(n)?t[n]=s:Object.defineProperty(t,n,{value:s,configurable:!0,enumerable:!0,writable:!0})}function oM(t,n,s,r,l){if(typeof r=="string")qv(s,Ii(r),Ut(t,n,l));else{let u=Ut(t,n,r);switch(typeof u){case"string":qv(s,u,Ut(t,n,l));break;case"symbol":rM(u)&&(s[u]=Ut(t,n,l));break;default:throw new Xi(r)}}}function jS(t,n,s,r){let l=s.k;if(l.length>0)for(let u=0,c=s.v,h=l.length;u<h;u++)oM(t,n,r,l[u],c[u]);return r}function lM(t,n,s){let r=ce(t,s.i,s.t===10?{}:Object.create(null));return jS(t,n,s.p,r),OS(r,s.o),r}function uM(t,n){return ce(t,n.i,new Date(n.s))}function cM(t,n){if(t.base.features&32){let s=Ii(n.c);if(s.length>ZC)throw new Xi(n);return ce(t,n.i,new RegExp(s,n.m))}throw new ES(n)}function fM(t,n,s){let r=ce(t,s.i,new Set);for(let l=0,u=s.a,c=u.length;l<c;l++)r.add(Ut(t,n,u[l]));return r}function dM(t,n,s){let r=ce(t,s.i,new Map);for(let l=0,u=s.e.k,c=s.e.v,h=u.length;l<h;l++)r.set(Ut(t,n,u[l]),Ut(t,n,c[l]));return r}function hM(t,n){if(n.s.length>KC)throw new Xi(n);return ce(t,n.i,AS(Ii(n.s)))}function mM(t,n,s){var r;let l=XC(s.c),u=Ut(t,n,s.f),c=(r=s.b)!=null?r:0;if(c<0||c>u.byteLength)throw new Xi(s);return ce(t,s.i,new l(u,c,s.l))}function pM(t,n,s){var r;let l=Ut(t,n,s.f),u=(r=s.b)!=null?r:0;if(u<0||u>l.byteLength)throw new Xi(s);return ce(t,s.i,new DataView(l,u,s.l))}function zS(t,n,s,r){if(s.p){let l=jS(t,n,s.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(l))}return r}function gM(t,n,s){let r=ce(t,s.i,new AggregateError([],Ii(s.m)));return zS(t,n,s,r)}function yM(t,n,s){let r=Ud(s,hR,s.s),l=ce(t,s.i,new r(Ii(s.m)));return zS(t,n,s,l)}function vM(t,n,s){let r=Cu(),l=ce(t,s.i,r.p),u=Ut(t,n,s.f);return s.s?r.s(u):r.f(u),l}function bM(t,n,s){return ce(t,s.i,Object(Ut(t,n,s.f)))}function SM(t,n,s){let r=t.base.plugins;if(r){let l=Ii(s.c);for(let u=0,c=r.length;u<c;u++){let h=r[u];if(h.tag===l)return ce(t,s.i,h.deserialize(s.s,new tM(t,n),{id:s.i}))}}throw new WR(s.c)}function xM(t,n){return ce(t,n.i,ce(t,n.s,Cu()).p)}function wM(t,n,s){let r=t.base.refs.get(s.i);if(r)return r.s(Ut(t,n,s.a[1])),C;throw new oo("Promise")}function TM(t,n,s){let r=t.base.refs.get(s.i);if(r)return r.f(Ut(t,n,s.a[1])),C;throw new oo("Promise")}function EM(t,n,s){Ut(t,n,s.a[0]);let r=Ut(t,n,s.a[1]);return hC(r)}function AM(t,n,s){Ut(t,n,s.a[0]);let r=Ut(t,n,s.a[1]);return bC(r)}function RM(t,n,s){let r=ce(t,s.i,_s()),l=s.a,u=l.length;if(u)for(let c=0;c<u;c++)Ut(t,n,l[c]);return r}function CM(t,n,s){let r=t.base.refs.get(s.i);if(r&&Mu(r))return r.next(Ut(t,n,s.f)),C;throw new oo("Stream")}function MM(t,n,s){let r=t.base.refs.get(s.i);if(r&&Mu(r))return r.throw(Ut(t,n,s.f)),C;throw new oo("Stream")}function _M(t,n,s){let r=t.base.refs.get(s.i);if(r&&Mu(r))return r.return(Ut(t,n,s.f)),C;throw new oo("Stream")}function OM(t,n,s){return Ut(t,n,s.f),C}function DM(t,n,s){return Ut(t,n,s.a[1]),C}function jM(t,n,s){let r=ce(t,s.i,RS([],s.s,s.l));for(let l=0,u=s.a.length;l<u;l++)r.v[l]=Ut(t,n,s.a[l]);return r}function Ut(t,n,s){if(n>t.base.depthLimit)throw new iC(t.base.depthLimit);switch(n+=1,s.t){case 2:return Ud(s,fR,s.s);case 0:return Number(s.s);case 1:return Ii(String(s.s));case 3:if(String(s.s).length>QC)throw new Xi(s);return BigInt(s.s);case 4:return t.base.refs.get(s.i);case 18:return iM(t,s);case 9:return sM(t,n,s);case 10:case 11:return lM(t,n,s);case 5:return uM(t,s);
12case 6:return cM(t,s);case 7:return fM(t,n,s);case 8:return dM(t,n,s);case 19:return hM(t,s);case 16:case 15:return mM(t,n,s);case 20:return pM(t,n,s);case 14:return gM(t,n,s);case 13:return yM(t,n,s);case 12:return vM(t,n,s);case 17:return Ud(s,cR,s.s);case 21:return bM(t,n,s);case 25:return SM(t,n,s);case 22:return xM(t,s);case 23:return wM(t,n,s);case 24:return TM(t,n,s);case 28:return EM(t,n,s);case 30:return AM(t,n,s);case 31:return RM(t,n,s);case 32:return CM(t,n,s);case 33:return MM(t,n,s);case 34:return _M(t,n,s);case 27:return OM(t,n,s);case 29:return DM(t,n,s);case 35:return jM(t,n,s);default:throw new ES(s)}}function zM(t,n){try{return Ut(t,0,n)}catch(s){throw new $R(s)}}var LM=()=>T;LM.toString();function Fv(t,n){let s=_S(n.plugins),r=WC({plugins:s,refs:n.refs,features:n.features,disabledFeatures:n.disabledFeatures,depthLimit:n.depthLimit});return zM(r,t)}async function NM(t,n={}){let s=_S(n.plugins),r=MC(1,{plugins:s,disabledFeatures:n.disabledFeatures});return{t:await YC(r,t),f:r.base.features,m:Array.from(r.base.marked)}}function PM(t){return{tag:"$TSR/t/"+t.key,test:t.test,parse:{sync(n,s,r){return{v:s.parse(t.toSerializable(n))}},async async(n,s,r){return{v:await s.parse(t.toSerializable(n))}},stream(n,s,r){return{v:s.parse(t.toSerializable(n))}}},serialize:void 0,deserialize(n,s,r){return t.fromSerializable(s.deserialize(n.v))}}}var BM=class{constructor(t,n){this.stream=t,this.hint=n?.hint??"binary"}},cu=globalThis.Buffer,LS=!!cu&&typeof cu.from=="function";function NS(t){if(t.length===0)return"";if(LS)return cu.from(t).toString("base64");const n=32768,s=[];for(let r=0;r<t.length;r+=n){const l=t.subarray(r,r+n);s.push(String.fromCharCode.apply(null,l))}return btoa(s.join(""))}function PS(t){if(t.length===0)return new Uint8Array(0);if(LS){const r=cu.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}const n=atob(t),s=new Uint8Array(n.length);for(let r=0;r<n.length;r++)s[r]=n.charCodeAt(r);return s}var Nr=Object.create(null),Pr=Object.create(null),VM=t=>new ReadableStream({start(n){t.on({next(s){try{n.enqueue(PS(s))}catch{}},throw(s){n.error(s)},return(){try{n.close()}catch{}}})}}),UM=new TextEncoder,kM=t=>new ReadableStream({start(n){t.on({next(s){try{typeof s=="string"?n.enqueue(UM.encode(s)):n.enqueue(PS(s.$b64))}catch{}},throw(s){n.error(s)},return(){try{n.close()}catch{}}})}}),HM="(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(_){}}})}}))",qM="(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 Gv(t){const n=_s(),s=t.getReader();return(async()=>{try{for(;;){const{done:r,value:l}=await s.read();if(r){n.return(void 0);break}n.next(NS(l))}}catch(r){n.throw(r)}finally{s.releaseLock()}})(),n}function Yv(t){const n=_s(),s=t.getReader(),r=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:l,value:u}=await s.read();if(l){try{const c=r.decode();c.length>0&&n.next(c)}catch{}n.return(void 0);break}try{const c=r.decode(u,{stream:!0});c.length>0&&n.next(c)}catch{n.next({$b64:NS(u)})}}}catch(l){n.throw(l)}finally{s.releaseLock()}})(),n}var FM={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(t){return t===Nr},parse:{sync(t,n,s){return{}},async async(t,n,s){return{}},stream(t,n,s){return{}}},serialize(t,n,s){return HM},deserialize(t,n,s){return Nr}},{tag:"tss/RawStreamFactoryText",test(t){return t===Pr},parse:{sync(t,n,s){return{}},async async(t,n,s){return{}},stream(t,n,s){return{}}},serialize(t,n,s){return qM},deserialize(t,n,s){return Pr}}],test(t){return t instanceof BM},parse:{sync(t,n,s){const r=t.hint==="text"?Pr:Nr;return{hint:n.parse(t.hint),factory:n.parse(r),stream:n.parse(_s())}},async async(t,n,s){const r=t.hint==="text"?Pr:Nr,l=t.hint==="text"?Yv(t.stream):Gv(t.stream);return{hint:await n.parse(t.hint),factory:await n.parse(r),stream:await n.parse(l)}},stream(t,n,s){const r=t.hint==="text"?Pr:Nr,l=t.hint==="text"?Yv(t.stream):Gv(t.stream);return{hint:n.parse(t.hint),factory:n.parse(r),stream:n.parse(l)}}}
12,serialize(t,n,s){return"("+n.serialize(t.factory)+")("+n.serialize(t.stream)+")"},deserialize(t,n,s){const r=n.deserialize(t.stream);return n.deserialize(t.hint)==="text"?kM(r):VM(r)}};function GM(t){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(n,s,r){return t(typeof s?.deserialize=="function"?s.deserialize(n.streamId):n.streamId)}}}var YM={tag:"$TSR/Error",test(t){return t instanceof Error},parse:{sync(t,n){return{message:n.parse(t.message)}},async async(t,n){return{message:await n.parse(t.message)}},stream(t,n){return{message:n.parse(t.message)}}},serialize(t,n){return"new Error("+n.serialize(t.message)+")"},deserialize(t,n){return new Error(n.deserialize(t.message))}},Ni={},BS=t=>new ReadableStream({start:n=>{t.on({next:s=>{try{n.enqueue(s)}catch{}},throw:s=>{n.error(s)},return:()=>{try{n.close()}catch{}}})}}),IM={tag:"seroval-plugins/web/ReadableStreamFactory",test(t){return t===Ni},parse:{sync(){return Ni},async async(){return await Promise.resolve(Ni)},stream(){return Ni}},serialize(){return BS.toString()},deserialize(){return Ni}};function Iv(t){let n=_s(),s=t.getReader();async function r(){try{let l=await s.read();l.done?n.return(l.value):(n.next(l.value),await r())}catch(l){n.throw(l)}}return r().catch(()=>{}),n}var XM={tag:"seroval/plugins/web/ReadableStream",extends:[IM],test(t){return typeof ReadableStream>"u"?!1:t instanceof ReadableStream},parse:{sync(t,n){return{factory:n.parse(Ni),stream:n.parse(_s())}},async async(t,n){return{factory:await n.parse(Ni),stream:await n.parse(Iv(t))}},stream(t,n){return{factory:n.parse(Ni),stream:n.parse(Iv(t))}}},serialize(t,n){return"("+n.serialize(t.factory)+")("+n.serialize(t.stream)+")"},deserialize(t,n){let s=n.deserialize(t.stream);return BS(s)}},KM=XM,QM=[YM,FM,KM];function ZM(){return[...xh()?.serializationAdapters?.map(PM)??[],...QM]}var Xv=new TextDecoder,JM=new Uint8Array(0),Kv=16*1024*1024,Qv=32*1024*1024,Zv=1024,Jv=1e5;function $M(t){const n=new Map,s=new Map,r=new Set;let l=!1,u=null,c=0,h;const m=new ReadableStream({start(y){h=y},cancel(){l=!0;try{u?.cancel()}catch{}n.forEach(y=>{try{y.error(new Error("Framed response cancelled"))}catch{}}),n.clear(),s.clear(),r.clear()}});function p(y){const b=s.get(y);if(b)return b;if(r.has(y))return new ReadableStream({start(w){w.close()}});if(s.size>=Zv)throw new Error(`Too many raw streams in framed response (max ${Zv})`);const S=new ReadableStream({start(w){n.set(y,w)},cancel(){r.add(y),n.delete(y),s.delete(y)}});return s.set(y,S),S}function g(y){return p(y),n.get(y)}return(async()=>{const y=t.getReader();u=y;const b=[];let S=0;function w(){if(S<9)return null;const E=b[0];if(E.length>=9)return{type:E[0],streamId:(E[1]<<24|E[2]<<16|E[3]<<8|E[4])>>>0,length:(E[5]<<24|E[6]<<16|E[7]<<8|E[8])>>>0};const R=new Uint8Array(9);let O=0,L=9;for(let j=0;j<b.length&&L>0;j++){const F=b[j],I=Math.min(F.length,L);R.set(F.subarray(0,I),O),O+=I,L-=I}return{type:R[0],streamId:(R[1]<<24|R[2]<<16|R[3]<<8|R[4])>>>0,length:(R[5]<<24|R[6]<<16|R[7]<<8|R[8])>>>0}}function A(E){if(E===0)return JM;const R=new Uint8Array(E);let O=0,L=E;for(;L>0&&b.length>0;){const j=b[0];if(!j)break;const F=Math.min(j.length,L);R.set(j.subarray(0,F),O),O+=F,L-=F,F===j.length?b.shift():b[0]=j.subarray(F)}return S-=E,R}try{for(;;){const{done:E,value:R}=await y.read();if(l||E)break;if(R){if(S+R.length>Qv)throw new Error(`Framed response buffer exceeded ${Qv} bytes`);for(b.push(R),S+=R.length;;){const O=w();if(!O)break;const{type:L,streamId:j,length:F}=O;if(L!==ei.JSON&&L!==ei.CHUNK&&L!==ei.END&&L!==ei.ERROR)throw new Error(`Unknown frame type: ${L}`);if(L===ei.JSON){if(j!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(j===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(F>Kv)throw new Error(`Frame payload too large: ${F} bytes (max ${Kv})`);const I=9+F;if(S<I)break;if(++c>Jv)throw new Error(`Too many frames in framed response (max ${Jv})`);A(9);const G=A(F);switch(L){case ei.JSON:try{h.enqueue(Xv.decode(G))}catch{}break;case ei.CHUNK:{const N=g(j);N&&N.enqueue(G);break}case ei.END:{const N=g(j);if(r.add(j),N){try{N.close()}catch{}n.delete(j)}break}case ei.ERROR:{const N=g(j);if(r.add(j),N){const X=Xv.decode(G);N.error(new Error(X)),n.delete(j)}break}}}}}if(S!==0)throw new Error("Incomplete frame at end of framed response");try{h.close()}catch{}n.forEach(E=>{try{E.close()}catch{}}),n.clear()}catch(E){try{h.error(E)}catch{}n.forEach(R=>{try{R.error(E)}catch{}}),n.clear()}finally{try{y.releaseLock()}catch{}u=null}})(),{getOrCreateStream:p,jsonChunks:m}}var Wr=null;async function kd(t){t.length>0&&await Promise.allSettled(t)}var WM=Object.prototype.hasOwnProperty;function VS(t){for(const n in t)if(WM.call(t,n))return!0;return!1}async function t_(t,n,s){Wr||(Wr=ZM());const r=n[0],l=r.fetch??s,u=r.data instanceof FormData?"formData":"payload",c=r.headers?new Headers(r.headers):new Headers;if(c.set("x-tsr-serverFn","true"),u==="payload"&&c.set("accept",`${ZE}, application/x-ndjson, application/json`),r.method==="GET"){if(u==="formData")throw new Error("FormData is not supported with GET requests");const m=await US(r);if(m!==void 0){const p=Jb({payload:m});t.includes("?")?t+=`&${p}`:t+=`?${p}`}}let h;
12if(r.method==="POST"){const m=await e_(r);m?.contentType&&c.set("content-type",m.contentType),h=m?.body}return await n_(async()=>l(t,{method:r.method,headers:c,signal:r.signal,body:h}))}async function US(t){let n=!1;const s={};if(t.data!==void 0&&(n=!0,s.data=t.data),t.context&&VS(t.context)&&(n=!0,s.context=t.context),n)return kS(s)}async function kS(t){return JSON.stringify(await Promise.resolve(NM(t,{plugins:Wr})))}async function e_(t){if(t.data instanceof FormData){let s;return t.context&&VS(t.context)&&(s=await kS(t.context)),s!==void 0&&t.data.set(QE,s),{body:t.data}}const n=await US(t);if(n)return{body:n,contentType:"application/json"}}async function n_(t){let n;try{n=await t()}catch(r){if(r instanceof Response)n=r;else throw console.log(r),r}if(n.headers.get("x-tss-raw")==="true")return n;const s=n.headers.get("content-type");if(s||qe(),n.headers.get("x-tss-serialized")){let r;if(s.includes("application/x-tss-framed")){if(WE(s),!n.body)throw new Error("No response body for framed response");const{getOrCreateStream:l,jsonChunks:u}=$M(n.body),c=[GM(l),...Wr||[]],h=new Map;r=await i_({jsonStream:u,onMessage:m=>Fv(m,{refs:h,plugins:c}),onError(m,p){console.error(m,p)}})}else if(s.includes("application/json")){const l=await n.json(),u=[];r=Fv(l,{plugins:Wr}),await kd(u)}if(r||qe(),r instanceof Error)throw r;return r}if(s.includes("application/json")){const r=await n.json(),l=Wb(r);if(l)throw l;if(he(r))throw r;return r}if(!n.ok)throw new Error(await n.text());return n}async function i_({jsonStream:t,onMessage:n,onError:s}){const r=t.getReader(),{value:l,done:u}=await r.read();if(u||!l)throw new Error("Stream ended before first object");const c=JSON.parse(l);let h=!1;const m=(async()=>{try{for(;;){const{value:y,done:b}=await r.read();if(b)break;
12if(y)try{const S=[];try{n(JSON.parse(y))}finally{}await kd(S)}catch(S){s?.(`Invalid JSON: ${y}`,S)}}}catch(y){h||s?.("Stream processing error:",y)}})();let p;const g=[];try{p=n(c)}catch(y){throw h=!0,r.cancel().catch(()=>{}),y}return await kd(g),Promise.resolve(p).catch(()=>{h=!0,r.cancel().catch(()=>{})}),m.finally(()=>{try{r.releaseLock()}catch{}}),p}function HS(t){const n="/_serverFn/"+t;return Object.assign((...l)=>{const u=xh()?.serverFns?.fetch;return t_(n,l,u??fetch)},{url:n,serverFnMeta:{id:t},[Pd]:!0})}var s_={key:"$TSS/serverfn",test:t=>typeof t!="function"||!(Pd in t)?!1:!!t[Pd],toSerializable:({serverFnMeta:t})=>({functionId:t.id}),fromSerializable:({functionId:t})=>HS(t)};function qS(t){if(Array.isArray(t))return t.flatMap(g=>qS(g));if(typeof t!="string")return[];const n=[];let s=0,r,l,u,c,h;const m=()=>{for(;s<t.length&&/\s/.test(t.charAt(s));)s+=1;return s<t.length},p=()=>(l=t.charAt(s),l!=="="&&l!==";"&&l!==",");for(;s<t.length;){for(r=s,h=!1;m();)if(l=t.charAt(s),l===","){for(u=s,s+=1,m(),c=s;s<t.length&&p();)s+=1;s<t.length&&t.charAt(s)==="="?(h=!0,s=c,n.push(t.slice(r,u)),r=s):s=u+1}else s+=1;(!h||s>=t.length)&&n.push(t.slice(r))}return n}function a_(t){return t instanceof Headers?t:Array.isArray(t)?new Headers(t):typeof t=="object"?new Headers(t):null}function r_(...t){return t.reduce((n,s)=>{const r=a_(s);if(!r)return n;for(const[l,u]of r.entries())l==="set-cookie"?qS(u).forEach(c=>n.append("set-cookie",c)):n.set(l,u);return n},new Headers)}function $v(t){return t.replaceAll("\0","/").replaceAll("�","/")}function o_(t,n){t.id=n.i,t.__beforeLoadContext=n.b,t.loaderData=n.l,t.status=n.s,t.ssr=n.ssr,t.updatedAt=n.u,t.error=n.e,n.g!==void 0&&(t.globalNotFound=n.g)}async function l_(t){window.$_TSR||qe();const n=t.options.serializationAdapters;if(n?.length){const E=new Map;n.forEach(R=>{E.set(R.key,R.fromSerializable)}),window.$_TSR.t=E,window.$_TSR.buffer.forEach(R=>R())}window.$_TSR.initialized=!0,window.$_TSR.router||qe();const s=window.$_TSR.router;s.matches.forEach(E=>{E.i=$v(E.i)}),s.lastMatchId&&(s.lastMatchId=$v(s.lastMatchId));const{manifest:r,dehydratedData:l,lastMatchId:u}=s;t.ssr={manifest:r};const c=document.querySelector('meta[property="csp-nonce"]')?.content;t.options.ssr={nonce:c};const h=t.matchRoutes(t.stores.location.get()),m=Promise.all(h.map(E=>t.loadRouteChunk(t.looseRoutesById[E.routeId])));function p(E){const R=t.looseRoutesById[E.routeId].options.pendingMinMs??t.options.defaultPendingMinMs;if(R){const O=Ms();E._nonReactive.minPendingPromise=O,E._forcePending=!0,setTimeout(()=>{O.resolve(),t.updateMatch(E.id,L=>(L._nonReactive.minPendingPromise=void 0,{...L,_forcePending:void 0}))},R)}}function g(E){const R=t.looseRoutesById[E.routeId];R&&(R.options.ssr=E.ssr)}let y;h.forEach(E=>{const R=s.matches.find(O=>O.i===E.id);if(!R){E._nonReactive.dehydrated=!1,E.ssr=!1,g(E);return}o_(E,R),g(E),E._nonReactive.dehydrated=E.ssr!==!1,(E.ssr==="data-only"||E.ssr===!1)&&y===void 0&&(y=E.index,p(E))}),t.stores.setMatches(h),await t.options.hydrate?.(l);const b=t.stores.matches.get(),S=t.stores.location.get();await Promise.all(b.map(async E=>{try{const R=t.looseRoutesById[E.routeId],O=b[E.index-1]?.context??t.options.context;if(R.options.context){const I={deps:E.loaderDeps,params:E.params,context:O??{},location:S,navigate:G=>t.navigate({...G,_fromLocation:S}),buildLocation:t.buildLocation,cause:E.cause,abortController:E.abortController,preload:!1,matches:h,routeId:R.id};E.__routeContext=R.options.context(I)??void 0}E.context={...O,...E.__routeContext,...E.__beforeLoadContext};const L={ssr:t.options.ssr,matches:b,match:E,params:E.params,loaderData:E.loaderData},j=await R.options.head?.(L),F=await R.options.scripts?.(L);E.meta=j?.meta,E.links=j?.links,E.headScripts=j?.scripts,E.styles=j?.styles,E.scripts=F}catch(R){if(he(R))E.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${E.routeId}`,R);else throw E.error=R,console.error(`Error during hydration for route ${E.routeId}:`,R),R}}));const w=h[h.length-1].id!==u;if(!h.some(E=>E.ssr===!1)&&!w)return h.forEach(E=>{E._nonReactive.dehydrated=void 0}),t.stores.resolvedLocation.set(t.stores.location.get()),m;const A=Promise.resolve().then(()=>t.load()).catch(E=>{console.error("Error during router hydration:",E)});if(w){const E=h[1];E||qe(),p(E),E._displayPending=!0,E._nonReactive.displayPendingPromise=A,A.then(()=>{t.batch(()=>{t.stores.status.get()==="pending"&&(t.stores.status.set("idle"),t.stores.resolvedLocation.set(t.stores.location.get())),t.updateMatch(E.id,R=>({...R,_displayPending:void 0,displayPendingPromise:void 0}))})})}return m}var fu=U.use,kr=typeof window<"u"?U.useLayoutEffect:U.useEffect;function fd(t){const n=U.useRef({value:t,prev:null}),s=n.current.value;return t!==s&&(n.current={value:t,prev:s}),n.current.prev}function u_(t,n,s={},r={}){U.useEffect(()=>{if(!t.current||r.disabled||typeof IntersectionObserver!="function")return;const l=new IntersectionObserver(([u])=>{n(u)},s);return l.observe(t.current),()=>{l.disconnect()}},[n,s,r.disabled,t])}function c_(t){const n=U.useRef(null);return U.useImperativeHandle(t,()=>n.current,[]),n}function f_({promise:t}){if(fu)return fu(t);const n=nR(t);if(n[On].status==="pending")throw n;if(n[On].status==="error")throw n[On].error;return n[On].data}function d_(t){const n=M.jsx(h_,{...t});
12return t.fallback?M.jsx(U.Suspense,{fallback:t.fallback,children:n}):n}function h_(t){const n=f_(t);return t.children(n)}function _h(t){const n=t.errorComponent??Oh;return M.jsx(m_,{getResetKey:t.getResetKey,onCatch:t.onCatch,children:({error:s,reset:r})=>s?U.createElement(n,{error:s,reset:r}):t.children})}var m_=class extends U.Component{constructor(...t){super(...t),this.state={error:null}}static getDerivedStateFromProps(t,n){const s=t.getResetKey();return n.error&&n.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(t){return{error:t}}reset(){this.setState({error:null})}componentDidCatch(t,n){this.props.onCatch&&this.props.onCatch(t,n)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Oh({error:t}){const[n,s]=U.useState(!1);return M.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[M.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[M.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),M.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(r=>!r),children:n?"Hide Error":"Show Error"})]}),M.jsx("div",{style:{height:".25rem"}}),n?M.jsx("div",{children:M.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?M.jsx("code",{children:t.message}):null})}):null]})}function p_({children:t,fallback:n=null}){return Dh()?M.jsx(Kr.Fragment,{children:t}):M.jsx(Kr.Fragment,{children:n})}function Dh(){return Kr.useSyncExternalStore(g_,()=>!0,()=>!1)}function g_(){return()=>{}}var FS=U.createContext(null);function me(t){return U.useContext(FS)}var Du=U.createContext(void 0),y_=U.createContext(void 0),Xt=(t=>(t[t.None=0]="None",t[t.Mutable=1]="Mutable",t[t.Watching=2]="Watching",t[t.RecursedCheck=4]="RecursedCheck",t[t.Recursed=8]="Recursed",t[t.Dirty=16]="Dirty",t[t.Pending=32]="Pending",t))(Xt||{});function v_({update:t,notify:n,unwatched:s}){return{link:r,unlink:l,propagate:u,checkDirty:c,shallowPropagate:h};function r(p,g,y){const b=g.depsTail;if(b!==void 0&&b.dep===p)return;const S=b!==void 0?b.nextDep:g.deps;if(S!==void 0&&S.dep===p){S.version=y,g.depsTail=S;return}const w=p.subsTail;if(w!==void 0&&w.version===y&&w.sub===g)return;const A=g.depsTail=p.subsTail={version:y,dep:p,sub:g,prevDep:b,nextDep:S,prevSub:w,nextSub:void 0};S!==void 0&&(S.prevDep=A),b!==void 0?b.nextDep=A:g.deps=A,w!==void 0?w.nextSub=A:p.subs=A}function l(p,g=p.sub){const y=p.dep,b=p.prevDep,S=p.nextDep,w=p.nextSub,A=p.prevSub;return S!==void 0?S.prevDep=b:g.depsTail=b,b!==void 0?b.nextDep=S:g.deps=S,w!==void 0?w.prevSub=A:y.subsTail=A,A!==void 0?A.nextSub=w:(y.subs=w)===void 0&&s(y),S}function u(p){let g=p.nextSub,y;t:do{const b=p.sub;let S=b.flags;if(S&60?S&12?S&4?!(S&48)&&m(p,b)?(b.flags=S|40,S&=1):S=0:b.flags=S&-9|32:S=0:b.flags=S|32,S&2&&n(b),S&1){const w=b.subs;if(w!==void 0){const A=(p=w).nextSub;A!==void 0&&(y={value:g,prev:y},g=A);continue}}if((p=g)!==void 0){g=p.nextSub;continue}for(;y!==void 0;)if(p=y.value,y=y.prev,p!==void 0){g=p.nextSub;continue t}break}while(!0)}function c(p,g){let y,b=0,S=!1;t:do{const w=p.dep,A=w.flags;if(g.flags&16)S=!0;else if((A&17)===17){if(t(w)){const E=w.subs;E.nextSub!==void 0&&h(E),S=!0}}else if((A&33)===33){(p.nextSub!==void 0||p.prevSub!==void 0)&&(y={value:p,prev:y}),p=w.deps,g=w,++b;continue}if(!S){const E=p.nextDep;if(E!==void 0){p=E;continue}}for(;b--;){const E=g.subs,R=E.nextSub!==void 0;if(R?(p=y.value,y=y.prev):p=E,S){if(t(g)){R&&h(E),g=p.sub;continue}S=!1}else g.flags&=-33;g=p.sub;const O=p.nextDep;if(O!==void 0){p=O;continue t}}return S}while(!0)}function h(p){do{const g=p.sub,y=g.flags;(y&48)===32&&(g.flags=y|16,(y&6)===2&&n(g))}while((p=p.nextSub)!==void 0)}function m(p,g){let y=g.depsTail;for(;y!==void 0;){if(y===p)return!0;y=y.prevDep}return!1}}function b_(t,n,s){const r=typeof t=="object",l=r?t:void 0;return{next:(r?t.next:t)?.bind(l),error:(r?t.error:n)?.bind(l),complete:(r?t.complete:s)?.bind(l)}}const Hd=[];let Ql=0;const{link:Wv,unlink:S_,propagate:x_,checkDirty:GS,shallowPropagate:t0}=v_({update(t){return t._update()},notify(t){Hd[qd++]=t,t.flags&=~Xt.Watching},unwatched(t){t.depsTail!==void 0&&(t.depsTail=void 0,t.flags=Xt.Mutable|Xt.Dirty,du(t))}});let Nl=0,qd=0,_n,Fd=0;function YS(t){try{++Fd,t()}finally{--Fd||IS()}}function du(t){const n=t.depsTail;let s=n!==void 0?n.nextDep:t.deps;for(;s!==void 0;)s=S_(s,t)}function IS(){if(!(Fd>0)){for(;Nl<qd;){const t=Hd[Nl];Hd[Nl++]=void 0,t.notify()}Nl=0,qd=0}}function e0(t,n){const s=typeof t=="function",r=t,l={_snapshot:s?void 0:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?Xt.None:Xt.Mutable,get(){return _n!==void 0&&Wv(l,_n,Ql),l._snapshot},subscribe(u){const c=b_(u),h={current:!1},m=w_(()=>{l.get(),h.current?c.next?.(l._snapshot):h.current=!0});return{unsubscribe:()=>{m.stop()}}},_update(u){const c=_n,h=n?.compare??Object.is;if(s)_n=l,++Ql,l.depsTail=void 0;else if(u===void 0)return!1;s&&(l.flags=Xt.Mutable|Xt.RecursedCheck);try{const m=l._snapshot,p=typeof u=="function"?u(m):u===void 0&&s?r(m):u;return m===void 0||!h(m,p)?(l._snapshot=p,!0):!1}finally{_n=c,s&&(l.flags&=~Xt.RecursedCheck),du(l)}}};return s?(l.flags=Xt.Mutable|Xt.Dirty,l.get=function(){const u=l.flags;if(u&Xt.Dirty||u&Xt.Pending&&GS(l.deps,l)){if(l._update()){const c=l.subs;c!==void 0&&t0(c)}}else u&Xt.Pending&&(l.flags=u&~Xt.Pending);return _n!==void 0&&Wv(l,_n,Ql),l._snapshot}):l.set=function(u){if(l._update(u)){const c=l.subs;c!==void 0&&(x_(c),t0(c),IS())}},l}function w_(t){const n=()=>{const r=_n;_n=s,++Ql,s.depsTail=void 0,s.flags=Xt.Watching|Xt.RecursedCheck;try{return t()}finally{_n=r,s.flags&=~Xt.RecursedCheck,du(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Xt.Watching|Xt.RecursedCheck,notify(){const r=this.flags;r&Xt.Dirty||r&Xt.Pending&&GS(this.deps,this)?n():this.flags=Xt.Watching},stop(){this.flags=Xt.None,this.depsTail=void 0,du(this)}};return n(),s}var dd={exports:{}},hd={},md={exports:{}},pd={};var n0;
12function T_(){if(n0)return pd;n0=1;var t=ro();function n(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var s=typeof Object.is=="function"?Object.is:n,r=t.useState,l=t.useEffect,u=t.useLayoutEffect,c=t.useDebugValue;function h(y,b){var S=b(),w=r({inst:{value:S,getSnapshot:b}}),A=w[0].inst,E=w[1];return u(function(){A.value=S,A.getSnapshot=b,m(A)&&E({inst:A})},[y,S,b]),l(function(){return m(A)&&E({inst:A}),y(function(){m(A)&&E({inst:A})})},[y]),c(S),S}function m(y){var b=y.getSnapshot;y=y.value;try{var S=b();return!s(y,S)}catch{return!0}}function p(y,b){return b()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return pd.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:g,pd}var i0;function E_(){return i0||(i0=1,md.exports=T_()),md.exports}var s0;function A_(){if(s0)return hd;s0=1;var t=ro(),n=E_();function s(p,g){return p===g&&(p!==0||1/p===1/g)||p!==p&&g!==g}var r=typeof Object.is=="function"?Object.is:s,l=n.useSyncExternalStore,u=t.useRef,c=t.useEffect,h=t.useMemo,m=t.useDebugValue;return hd.useSyncExternalStoreWithSelector=function(p,g,y,b,S){var w=u(null);if(w.current===null){var A={hasValue:!1,value:null};w.current=A}else A=w.current;w=h(function(){function R(I){if(!O){if(O=!0,L=I,I=b(I),S!==void 0&&A.hasValue){var G=A.value;if(S(G,I))return j=G}return j=I}if(G=j,r(L,I))return G;var N=b(I);return S!==void 0&&S(G,N)?(L=I,G):(L=I,j=N)}var O=!1,L,j,F=y===void 0?null:y;return[function(){return R(g())},F===null?void 0:function(){return R(F())}]},[g,y,b,S]);var E=l(p,w[0],w[1]);return c(function(){A.hasValue=!0,A.value=E},[E]),m(E),E},hd}var a0;function R_(){return a0||(a0=1,dd.exports=A_()),dd.exports}var C_=R_();function M_(t,n){return t===n}function ae(t,n,s=M_){const r=U.useCallback(c=>{if(!t)return()=>{};const{unsubscribe:h}=t.subscribe(c);return h},[t]),l=U.useCallback(()=>t?.get(),[t]);return C_.useSyncExternalStoreWithSelector(r,l,l,n,s)}var __={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function Os(t){const n=me(),s=U.useContext(t.from?y_:Du),r=t.from??s,l=r?t.from?n.stores.getRouteMatchStore(r):n.stores.matchStores.get(r):void 0,u=U.useRef(void 0);return ae(l??__,c=>{if((t.shouldThrow??!0)&&!c&&qe(),c===void 0)return;const h=t.select?t.select(c):c;if(t.structuralSharing??n.options.defaultStructuralSharing){const m=bs(u.current,h);return u.current=m,m}return h})}function XS(t){return Os({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:n=>t.select?t.select(n.loaderData):n.loaderData})}function KS(t){const{select:n,...s}=t;return Os({...s,select:r=>n?n(r.loaderDeps):r.loaderDeps})}function QS(t){return Os({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:n=>{const s=t.strict===!1?n.params:n._strictParams;return t.select?t.select(s):s}})}function ZS(t){return Os({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:n=>t.select?t.select(n.search):n.search})}function JS(t){const n=me();return U.useCallback(s=>n.navigate({...s,from:s.from??t?.from}),[t?.from,n])}function $S(t){return Os({...t,select:n=>t.select?t.select(n.context):n.context})}var O_=Gb();function D_(t,n){const s=me(),r=c_(n),{activeProps:l,inactiveProps:u,activeOptions:c,to:h,preload:m,preloadDelay:p,preloadIntentProximity:g,hashScrollIntoView:y,replace:b,startTransition:S,resetScroll:w,viewTransition:A,children:E,target:R,disabled:O,style:L,className:j,onClick:F,onBlur:I,onFocus:G,onMouseEnter:N,onMouseLeave:X,onTouchStart:J,ignoreBlocker:tt,params:ct,search:yt,hash:At,state:vt,mask:k,reloadDocument:$,unsafeRelative:nt,from:mt,_fromLocation:W,...D}=t,K=Dh(),et=U.useMemo(()=>t,[s,t.from,t._fromLocation,t.hash,t.to,t.search,t.params,t.state,t.mask,t.unsafeRelative]),it=ae(s.stores.location,Ht=>Ht,(Ht,pe)=>Ht.href===pe.href),st=U.useMemo(()=>{const Ht={_fromLocation:it,...et};return s.buildLocation(Ht)},[s,it,et]),ft=st.maskedLocation?st.maskedLocation.publicHref:st.publicHref,wt=st.maskedLocation?st.maskedLocation.external:st.external,Yt=U.useMemo(()=>B_(ft,wt,s.history,O),[O,wt,ft,s.history]),pt=U.useMemo(()=>
12{if(Yt?.external)return ru(Yt.href,s.protocolAllowlist)?void 0:Yt.href;if(!V_(h)&&!(typeof h!="string"||h.indexOf(":")===-1))try{return new URL(h),ru(h,s.protocolAllowlist)?void 0:h}catch{}},[h,Yt,s.protocolAllowlist]),tn=U.useMemo(()=>{if(pt)return!1;if(c?.exact){if(!wA(it.pathname,st.pathname,s.basepath))return!1}else{const Ht=ou(it.pathname,s.basepath),pe=ou(st.pathname,s.basepath);if(!(Ht.startsWith(pe)&&(Ht.length===pe.length||Ht[pe.length]==="/")))return!1}return(c?.includeSearch??!0)&&!He(it.search,st.search,{partial:!c?.exact,ignoreUndefined:!c?.explicitUndefined})?!1:c?.includeHash?K&&it.hash===st.hash:!0},[c?.exact,c?.explicitUndefined,c?.includeHash,c?.includeSearch,it,pt,K,st.hash,st.pathname,st.search,s.basepath]),ze=tn?Pi(l,{})??j_:gd,Fe=tn?gd:Pi(u,{})??gd,Nn=[j,ze.className,Fe.className].filter(Boolean).join(" "),Re=(L||ze.style||Fe.style)&&{...L,...ze.style,...Fe.style},[Pa,zs]=U.useState(!1),ho=U.useRef(!1),Pn=t.reloadDocument||pt?!1:m??s.options.defaultPreload,Zi=p??s.options.defaultPreloadDelay??0,mn=U.useCallback(()=>{s.preloadRoute({...et,_builtLocation:st}).catch(Ht=>{console.warn(Ht),console.warn(iR)})},[s,et,st]);u_(r,U.useCallback(Ht=>{Ht?.isIntersecting&&mn()},[mn]),P_,{disabled:!!O||Pn!=="viewport"}),U.useEffect(()=>{ho.current||!O&&Pn==="render"&&(mn(),ho.current=!0)},[O,mn,Pn]);const Ba=Ht=>{const pe=Ht.currentTarget.getAttribute("target"),Tn=R!==void 0?R:pe;if(!O&&!U_(Ht)&&!Ht.defaultPrevented&&(!Tn||Tn==="_self")&&Ht.button===0){Ht.preventDefault(),O_.flushSync(()=>{zs(!0)});const Ls=s.subscribe("onResolved",()=>{Ls(),zs(!1)});s.navigate({...et,replace:b,resetScroll:w,hashScrollIntoView:y,startTransition:S,viewTransition:A,ignoreBlocker:tt})}};if(pt)return{...D,ref:r,href:pt,...E&&{children:E},...R&&{target:R},...O&&{disabled:O},...L&&{style:L},...j&&{className:j},...F&&{onClick:F},...I&&{onBlur:I},...G&&{onFocus:G},...N&&{onMouseEnter:N},...X&&{onMouseLeave:X},...J&&{onTouchStart:J}};const mo=Ht=>{if(O||Pn!=="intent")return;if(!Zi){mn();return}const pe=Ht.currentTarget;if(Br.has(pe))return;const Tn=setTimeout(()=>{Br.delete(pe),mn()},Zi);Br.set(pe,Tn)},Vu=Ht=>{O||Pn!=="intent"||mn()},Ee=Ht=>{if(O||!Pn||!Zi)return;const pe=Ht.currentTarget,Tn=Br.get(pe);Tn&&(clearTimeout(Tn),Br.delete(pe))};return{...D,...ze,...Fe,href:Yt?.href,ref:r,onClick:ba([F,Ba]),onBlur:ba([I,Ee]),onFocus:ba([G,mo]),onMouseEnter:ba([N,mo]),onMouseLeave:ba([X,Ee]),onTouchStart:ba([J,Vu]),disabled:!!O,target:R,...Re&&{style:Re},...Nn&&{className:Nn},...O&&z_,...tn&&L_,...K&&Pa&&N_}}var gd={},j_={className:"active"},z_={role:"link","aria-disabled":!0},L_={"data-status":"active","aria-current":"page"},N_={"data-transitioning":"transitioning"},Br=new WeakMap,P_={rootMargin:"100px"},ba=t=>n=>{for(const s of t)if(s){if(n.defaultPrevented)return;s(n)}};function B_(t,n,s,r){if(!r)return n?{href:t,external:!0}:{href:s.createHref(t)||"/",external:!1}}function V_(t){if(typeof t!="string")return!1;const n=t.charCodeAt(0);return n===47?t.charCodeAt(1)!==47:n===46}var ie=U.forwardRef((t,n)=>{const{_asChild:s,...r}=t,{type:l,...u}=D_(r,n),c=typeof r.children=="function"?r.children({isActive:u["data-status"]==="active"}):r.children;if(!s){const{disabled:h,...m}=u;return U.createElement("a",m,c)}return U.createElement(s,u,c)});function U_(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}var k_=class extends aS{constructor(n){super(n),this.useMatch=s=>Os({select:s?.select,from:this.id,structuralSharing:s?.structuralSharing}),this.useRouteContext=s=>$S({...s,from:this.id}),this.useSearch=s=>ZS({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useParams=s=>QS({select:s?.select,structuralSharing:s?.structuralSharing,from:this.id}),this.useLoaderDeps=s=>KS({...s,from:this.id}),this.useLoaderData=s=>XS({...s,from:this.id}),this.useNavigate=()=>JS({from:this.fullPath}),this.Link=Kr.forwardRef((s,r)=>M.jsx(ie,{ref:r,from:this.fullPath,...s}))}};function H_(t){return new k_(t)}function q_(){return t=>G_(t)}var F_=class extends oR{constructor(t){super(t),this.useMatch=n=>Os({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>$S({...n,from:this.id}),this.useSearch=n=>ZS({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>QS({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>KS({...n,from:this.id}),this.useLoaderData=n=>XS({...n,from:this.id}),this.useNavigate=()=>JS({from:this.fullPath}),this.Link=Kr.forwardRef((n,s)=>M.jsx(ie,{ref:s,from:this.fullPath,...n}))}};function G_(t){return new F_(t)}function Ln(t){return new Y_(t,{silent:!0}).createRoute}var Y_=class{constructor(t,n){this.path=t,this.createRoute=s=>{const r=H_(s);return r.isRoot=!1,r},this.silent=n?.silent}};function De(t,n){let s,r,l,u;const c=()=>(s||(s=t().then(m=>{s=void 0,r=m[n??"default"]}).catch(m=>{if(l=m,iA(l)&&l instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const p=`tanstack_router_reload:${l.message}`;sessionStorage.getItem(p)||(sessionStorage.setItem(p,"1"),u=!0)}})),s),h=function(p){if(u)throw window.location.reload(),new Promise(()=>{});if(l)throw l;if(!r)if(fu)fu(c());else throw c();return U.createElement(r,p)};return h.preload=c,h}function I_(t){const n=me(),s=`not-found-${ae(n.stores.location,r=>r.pathname)}-${ae(n.stores.status,r=>r)}`;return M.jsx(_h,{getResetKey:()=>s,onCatch:(r,l)=>{if(he(r))t.onCatch?.(r,l);else throw r},errorComponent:({error:r})=>{if(he(r))return t.fallback?.(r);throw r},children:t.children})}function X_(){return M.jsx("p",{children:"Not Found"})}function Sa(t){return M.jsx(M.Fragment,{children:t.children})}function WS(t,n,s){return n.options.notFoundComponent?M.jsx(n.options.notFoundComponent,{...s}):t.options.defaultNotFoundComponent?M.jsx(t.options.defaultNotFoundComponent,{...s}):M.jsx(X_,{})}function K_(t){return null}function Q_(){return K_(me()),null}
12var tx=U.memo(function({matchId:n}){const s=me(),r=s.stores.matchStores.get(n);r||qe();const l=ae(s.stores.loadedAt,c=>c),u=ae(r,c=>c);return M.jsx(Z_,{router:s,matchId:n,resetKey:l,matchState:U.useMemo(()=>{const c=u.routeId,h=s.routesById[c].parentRoute?.id;return{routeId:c,ssr:u.ssr,_displayPending:u._displayPending,parentRouteId:h}},[u._displayPending,u.routeId,u.ssr,s.routesById])})});function Z_({router:t,matchId:n,resetKey:s,matchState:r}){const l=t.routesById[r.routeId],u=l.options.pendingComponent??t.options.defaultPendingComponent,c=u?M.jsx(u,{}):null,h=l.options.errorComponent??t.options.defaultErrorComponent,m=l.options.onCatch??t.options.defaultOnCatch,p=l.isRoot?l.options.notFoundComponent??t.options.notFoundRoute?.options.component:l.options.notFoundComponent,g=r.ssr===!1||r.ssr==="data-only",y=(!l.isRoot||l.options.wrapInSuspense||g)&&(l.options.wrapInSuspense??u??(l.options.errorComponent?.preload||g))?U.Suspense:Sa,b=h?_h:Sa,S=p?I_:Sa;return M.jsxs(l.isRoot?l.options.shellComponent??Sa:Sa,{children:[M.jsx(Du.Provider,{value:n,children:M.jsx(y,{fallback:c,children:M.jsx(b,{getResetKey:()=>s,errorComponent:h||Oh,onCatch:(w,A)=>{if(he(w))throw w.routeId??=r.routeId,w;m?.(w,A)},children:M.jsx(S,{fallback:w=>{if(w.routeId??=r.routeId,!p||w.routeId&&w.routeId!==r.routeId||!w.routeId&&
12!l.isRoot)throw w;return U.createElement(p,w)},children:g||r._displayPending?M.jsx(p_,{fallback:c,children:M.jsx(r0,{matchId:n})}):M.jsx(r0,{matchId:n})})})})}),r.parentRouteId===Es?M.jsxs(M.Fragment,{children:[M.jsx(J_,{resetKey:s}),t.options.scrollRestoration&&Yb?M.jsx(Q_,{}):null]}):null]})}function J_({resetKey:t}){const n=me(),s=U.useRef(void 0);return kr(()=>{const r=n.latestLocation.href;(s.current===void 0||s.current!==r)&&(n.emit({type:"onRendered",...Ca(n.stores.location.get(),n.stores.resolvedLocation.get())}),s.current=r)},[n.latestLocation.state.__TSR_key,t,n]),null}var r0=U.memo(function({matchId:n}){const s=me(),r=(g,y)=>s.getMatch(g.id)?._nonReactive[y]??g._nonReactive[y],l=s.stores.matchStores.get(n);l||qe();const u=ae(l,g=>g),c=u.routeId,h=s.routesById[c],m=U.useMemo(()=>{const g=(s.routesById[c].options.remountDeps??s.options.defaultRemountDeps)?.({routeId:c,loaderDeps:u.loaderDeps,params:u._strictParams,search:u._strictSearch});return g?JSON.stringify(g):void 0},[c,u.loaderDeps,u._strictParams,u._strictSearch,s.options.defaultRemountDeps,s.routesById]),p=U.useMemo(()=>{const g=h.options.component??s.options.defaultComponent;return g?M.jsx(g,{},m):M.jsx(ex,{})},[m,h.options.component,s.options.defaultComponent]);if(u._displayPending)throw r(u,"displayPendingPromise");if(u._forcePending)throw r(u,"minPendingPromise");if(u.status==="pending"){const g=h.options.pendingMinMs??s.options.defaultPendingMinMs;if(g){const y=s.getMatch(u.id);if(y&&!y._nonReactive.minPendingPromise){const b=Ms();y._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),y._nonReactive.minPendingPromise=void 0},g)}}throw r(u,"loadPromise")}if(u.status==="notFound")return he(u.error)||qe(),WS(s,h,u.error);if(u.status==="redirected")throw we(u.error)||qe(),r(u,"loadPromise");if(u.status==="error")throw u.error;return p}),ex=U.memo(function(){const n=me(),s=U.useContext(Du);let r,l=!1,u;{const p=s?n.stores.matchStores.get(s):void 0;[r,l]=ae(p,g=>[g?.routeId,g?.globalNotFound??!1]),u=ae(n.stores.matchesId,g=>g[g.findIndex(y=>y===s)+1])}const c=r?n.routesById[r]:void 0,h=n.options.defaultPendingComponent?M.jsx(n.options.defaultPendingComponent,{}):null;if(l)return c||qe(),WS(n,c,void 0);if(!u)return null;const m=M.jsx(tx,{matchId:u});return r===Es?M.jsx(U.Suspense,{fallback:h,children:m}):m});function $_(){const t=me(),n=U.useRef({router:t,mounted:!1}),[s,r]=U.useState(!1),l=ae(t.stores.isLoading,y=>y),u=ae(t.stores.hasPending,y=>y),c=fd(l),h=l||s||u,m=fd(h),p=l||u,g=fd(p);return t.startTransition=y=>{r(!0),U.startTransition(()=>{y(),r(!1)})},U.useEffect(()=>{const y=t.history.subscribe(t.load),b=t.buildLocation({to:t.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return ki(t.latestLocation.publicHref)!==ki(b.publicHref)&&t.commitLocation({...b,replace:!0}),()=>{y()}},[t,t.history]),kr(()=>{if(typeof window<"u"&&t.ssr||n.current.router===t&&n.current.mounted)return;n.current={router:t,mounted:!0},(async()=>{try{await t.load()}catch(b){console.error(b)}})()},[t]),kr(()=>{c&&!l&&t.emit({type:"onLoad",...Ca(t.stores.location.get(),t.stores.resolvedLocation.get())})},[c,t,l]),kr(()=>{g&&!p&&t.emit({type:"onBeforeRouteMount",...Ca(t.stores.location.get(),t.stores.resolvedLocation.get())})},[p,g,t]),kr(()=>{if(m&&!h){const y=Ca(t.stores.location.get(),t.stores.resolvedLocation.get());t.emit({type:"onResolved",...y}),YS(()=>{t.stores.status.set("idle"),t.stores.resolvedLocation.set(t.stores.location.get())}),y.hrefChanged&&lR(t)}},[h,m,t]),null}function W_(){const t=me(),n=t.routesById[Es].options.pendingComponent??t.options.defaultPendingComponent,s=n?M.jsx(n,{}):null,r=M.jsxs(typeof document<"u"&&t.ssr?Sa:U.Suspense,{fallback:s,children:[M.jsx($_,{}),M.jsx(t2,{})]});return t.options.InnerWrap?M.jsx(t.options.InnerWrap,{children:r}):r}function t2(){const t=me(),n=ae(t.stores.firstId,l=>l),s=ae(t.stores.loadedAt,l=>l),r=n?M.jsx(tx,{matchId:n}):null;return M.jsx(Du.Provider,{value:n,children:t.options.disableGlobalCatchBoundary?r:M.jsx(_h,{getResetKey:()=>s,errorComponent:Oh,onCatch:void 0,children:r})})}var e2=t=>({createMutableStore:e0,createReadonlyStore:e0,batch:YS}),n2=t=>new i2(t),i2=class extends QA{constructor(t){super(t,e2)}};function s2({router:t,children:n,...s}){Object.keys(s).length>0&&t.update({...t.options,...s,context:{...t.options.context,...s.context}});const r=M.jsx(FS.Provider,{value:t,children:n});return t.options.Wrap?M.jsx(t.options.Wrap,{children:r}):r}function a2({router:t,...n}){return M.jsx(s2,{router:t,...n,children:M.jsx(W_,{})})}function nx(t){const{attrs:n,children:s,nonce:r}=t;switch(t.tag){case"title":return M.jsx("title",{...n,suppressHydrationWarning:!0,children:s});case"meta":return M.jsx("meta",{...n,suppressHydrationWarning:!0});case"link":return M.jsx("link",{...n,precedence:n?.precedence??(n?.rel==="stylesheet"?"default":void 0),nonce:r,suppressHydrationWarning:!0});case"style":return t.inlineCss,M.jsx("style",{...n,dangerouslySetInnerHTML:{__html:s},nonce:r});case"script":return M.jsx(r2,{attrs:n,children:s});default:return null}}function r2({attrs:t,children:n}){me();const s=Dh(),r=typeof t?.type=="string"&&t.type!==""&&t.type!=="text/javascript"&&t.type!=="module";if(U.useEffect(()=>{if(!r){if(t?.src){const l=(()=>{try{const c=document.baseURI||window.location.href;return new URL(t.src,c).href}catch{return t.src}})();if(Array.from(document.querySelectorAll("script[src]")).find(c=>c.src===l))return;const u=document.createElement("script");for(const[c,h]of Object.entries(t))c!=="suppressHydrationWarning"&&h!==void 0&&h!==!1&&u.setAttribute(c,typeof h=="boolean"?"":String(h));return document.head.appendChild(u),()=>{u.parentNode&&u.parentNode.removeChild(u)}}if(typeof n=="string"){const l=typeof t?.type=="string"?t.type:"text/javascript",u=typeof t?.nonce=="string"?t.nonce:void 0;if(Array.from(document.querySelectorAll("script:not([src])")).find(h=>{if(!(h instanceof HTMLScriptElement))return!1;const m=h.getAttribute("type")??"text/javascript",p=h.getAttribute("nonce")??void 0;return h.textContent===n&&m===l&&p===u}))return;const c=document.createElement("script");
12if(c.textContent=n,t)for(const[h,m]of Object.entries(t))h!=="suppressHydrationWarning"&&m!==void 0&&m!==!1&&c.setAttribute(h,typeof m=="boolean"?"":String(m));return document.head.appendChild(c),()=>{c.parentNode&&c.parentNode.removeChild(c)}}}},[t,n,r]),r&&typeof n=="string")return M.jsx("script",{...t,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n}});if(!s){if(t?.src)return M.jsx("script",{...t,suppressHydrationWarning:!0});if(typeof n=="string")return M.jsx("script",{...t,dangerouslySetInnerHTML:{__html:n},suppressHydrationWarning:!0})}return null}var o2=t=>{const n=me(),s=n.options.ssr?.nonce,r=ae(n.stores.matches,p=>p.map(g=>g.meta).filter(Boolean),He),l=U.useMemo(()=>{const p=[],g={};let y;for(let b=r.length-1;b>=0;b--){const S=r[b];for(let w=S.length-1;w>=0;w--){const A=S[w];if(A)if(A.title)y||(y={tag:"title",children:A.title});else if("script:ld+json"in A)try{const E=JSON.stringify(A["script:ld+json"]);p.push({tag:"script",attrs:{type:"application/ld+json"},children:lA(E)})}catch{}else{const E=A.name??A.property;if(E){if(g[E])continue;g[E]=!0}p.push({tag:"meta",attrs:{...A,nonce:s}})}}}return y&&p.push(y),s&&p.push({tag:"meta",attrs:{property:"csp-nonce",content:s}}),p.reverse(),p},[r,s]),u=ae(n.stores.matches,p=>{const g=p.map(S=>S.links).filter(Boolean).flat(1).map(S=>({tag:"link",attrs:{...S,nonce:s}})),y=n.ssr?.manifest,b=p.map(S=>y?.routes[S.routeId]?.assets??[]).filter(Boolean).flat(1).flatMap(S=>S.tag==="link"?rR(y,S)?[]:[{tag:"link",attrs:{...S.attrs,crossOrigin:Uv(t,"stylesheet")??S.attrs?.crossOrigin,suppressHydrationWarning:!0,nonce:s}}]:S.tag==="style"?[{tag:"style",attrs:{...S.attrs,nonce:s},children:S.children,...S.inlineCss?{inlineCss:!0}:{}}]:[]);return[...g,...b]},He),c=ae(n.stores.matches,p=>{const g=[];return p.map(y=>n.looseRoutesById[y.routeId]).forEach(y=>n.ssr?.manifest?.routes[y.id]?.preloads?.filter(Boolean).forEach(b=>{const S=sR(b);g.push({tag:"link",attrs:{rel:"modulepreload",href:S.href,crossOrigin:Uv(t,"modulepreload")??S.crossOrigin,nonce:s}})})),g},He),h=ae(n.stores.matches,p=>p.map(g=>g.styles).flat(1).filter(Boolean).map(({children:g,...y})=>({tag:"style",attrs:{...y,nonce:s},children:g})),He),m=ae(n.stores.matches,p=>p.map(g=>g.headScripts).flat(1).filter(Boolean).map(({children:g,...y})=>({tag:"script",attrs:{...y,nonce:s},children:g})),He);return l2([...l,...c,...u,...h,...m],p=>JSON.stringify(p))};function l2(t,n){const s=new Set;return t.filter(r=>{const l=n(r);return s.has(l)?!1:(s.add(l),!0)})}function u2(t){const n=o2(t.assetCrossOrigin),s=me().options.ssr?.nonce;return M.jsx(M.Fragment,{children:n.map(r=>U.createElement(nx,{...r,key:`tsr-meta-${JSON.stringify(r)}`,nonce:s}))})}var c2=()=>{const t=me(),n=t.options.ssr?.nonce,s=u=>{const c=[],h=t.ssr?.manifest;return h?(u.map(m=>t.looseRoutesById[m.routeId]).forEach(m=>h.routes[m.id]?.assets?.filter(p=>p.tag==="script").forEach(p=>{c.push({tag:"script",attrs:{...p.attrs,nonce:n},children:p.children})})),c):[]},r=u=>u.map(c=>c.scripts).flat(1).filter(Boolean).map(({children:c,...h})=>({tag:"script",attrs:{...h,suppressHydrationWarning:!0,nonce:n},children:c})),l=ae(t.stores.matches,s,He);return f2(t,ae(t.stores.matches,r,He),l)};function f2(t,n,s){let r;t.serverSsr&&(r=t.serverSsr.takeBufferedScripts());const l=[...n,...s];return r&&l.unshift(r),M.jsx(M.Fragment,{children:l.map((u,c)=>U.createElement(nx,{...u,key:`tsr-scripts-${u.tag}-${c}`}))})}function ix(t){const n=me();return U.useCallback(async(...s)=>{try{const r=await t(...s);if(we(r))throw r;return r}catch(r){if(we(r))return r.options._fromLocation=n.stores.location.get(),n.navigate(n.resolveRedirect(r).options);throw r}},[n,t])}function o0(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function Gd(t,n){const s=Object.create(null);if(t)for(const r of Object.keys(t))o0(r)&&(s[r]=t[r]);if(n&&typeof n=="object")for(const r of Object.keys(n))o0(r)&&(s[r]=n[r]);return s}function sx(t){return Object.create(null)}var ax=()=>{throw new Error("createServerOnlyFn() functions can only be called on the server!")},Zl=(t,n)=>{const s=n||t||{};return typeof s.method>"u"&&(s.method="GET"),Object.assign(u=>Zl(void 0,{...s,...u}),{options:s,middleware:u=>{const c=[...s.middleware||[]];u.map(m=>{bv in m?m.options.middleware&&c.push(...m.options.middleware):c.push(m)});const h=Zl(void 0,{...s,middleware:c});return h[bv]=!0,h},inputValidator:u=>Zl(void 0,{...s,inputValidator:u}),handler:(...u)=>{const[c,h]=u,m={...s,extractedFn:c,serverFn:h},p=[...m.middleware||[],m2(m)];return c.method=s.method,Object.assign(async g=>{const y=await l0(p,"client",{...c,...m,data:g?.data,headers:g?.headers,signal:g?.signal,fetch:g?.fetch,context:sx()}),b=Wb(y.error);if(b)throw b;if(y.error)throw y.error;return y.result},{...c,method:s.method,__executeServer:async g=>{const y=ax(),b=y.contextAfterGlobalMiddlewares;return await l0(p,"server",{...c,...g,serverFnMeta:c.serverFnMeta,context:Gd(g.context,b),request:y.request}).then(S=>({result:S.result,error:S.error,context:S.sendContext}))}})}})};async function l0(t,n,s){let r=d2([...xh()?.functionMiddleware||[],...t]);if(n==="server"){const u=ax();u?.executedRequestMiddlewares&&(r=r.filter(c=>!u.executedRequestMiddlewares.has(c)))}const l=async u=>{const c=r.shift();if(!c)return u;try{"inputValidator"in c.options&&c.options.inputValidator&&n==="server"&&(u.data=await h2(c.options.inputValidator,u.data));let h;if(n==="client"?"client"in c.options&&(h=c.options.client):"server"in c.options&&(h=c.options.server),h){const p=await h({...u,next:async(g={})=>{const y=await l({...u,...g,context:Gd(u.context,g.context),sendContext:Gd(u.sendContext,g.sendContext),headers:r_(u.headers,g.headers),_callSiteFetch:u._callSiteFetch,fetch:u._callSiteFetch??g.fetch??u.fetch,result:g.result!==void 0?g.result:g instanceof Response?g:u.result,error:g.error??u.error});if(y.error)throw y.error;return y}});if(we(p))return{...u,error:p};if(p instanceof Response)return{...u,result:p};if(!p)throw new Error("User middleware returned undefined. You must call next() or return a result in your middlewares.");return p}return l(u)}catch(h){return{...u,error:h}}};return l({...s,headers:s.headers||{},sendContext:s.sendContext||{},context:s.context||sx(),_callSiteFetch:s.fetch})}function d2(t,n=100){const s=new Set,r=[],l=(u,c)=>{if(c>n)throw new Error(`Middleware nesting depth exceeded maximum of ${n}. Check for circular references.`);u.forEach(h=>{h.options.middleware&&l(h.options.middleware,c+1),s.has(h)||(s.add(h),r.push(h))})};return l(t,0),r}async function h2(t,n){if(t==null)return{};if("~standard"in t){const s=await t["~standard"].validate(n);if(s.issues)throw new Error(JSON.stringify(s.issues,void 0,2));return s.value}if("parse"in t)return t.parse(n);if(typeof t=="function")return t(n);throw new Error("Invalid validator type!")}function m2(t){return{"~types":void 0,options:{inputValidator:t.inputValidator,client:async({next:n,sendContext:s,fetch:r,...l})=>{const u={...l,context:s,fetch:r};return n(await t.extractedFn?.(u))},server:async({next:n,...s})=>{const r=await t.serverFn?.(s);return n({...s,result:r})}}}}var Ta=(t,n)=>{const s={type:"request",...n||t};return{options:s,middleware:r=>Ta({},Object.assign(s,{middleware:r})),inputValidator:r=>Ta({},Object.assign(s,{inputValidator:r})),client:r=>Ta({},Object.assign(s,{client:r})),server:r=>Ta({},Object.assign(s,{server:r}))}};function rx(t,n){for(let s=0,r=n.length;s<r;s++){const l=n[s];t.has(l)||(t.add(l),l.extends&&rx(t,l.extends))}}var p2=t=>({getOptions:async()=>{const n=await t();
vendor: 28,510 bytes, line 12
12if(n.serializationAdapters){const s=new Set;rx(s,n.serializationAdapters),n.serializationAdapters=Array.from(s)}return n},createMiddleware:Ta});const g2=Ta(),u0=p2(()=>({requestMiddleware:[g2]}));var ju=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},y2=class extends ju{#t;#n;#e;constructor(){super(),this.#e=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(t){this.#e=t,this.#n?.(),this.#n=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},ox=new y2,v2={setTimeout:(t,n)=>setTimeout(t,n),clearTimeout:t=>clearTimeout(t),setInterval:(t,n)=>setInterval(t,n),clearInterval:t=>clearInterval(t)},b2=class{#t=v2;#n=!1;setTimeoutProvider(t){this.#t=t}setTimeout(t,n){return this.#t.setTimeout(t,n)}clearTimeout(t){this.#t.clearTimeout(t)}setInterval(t,n){return this.#t.setInterval(t,n)}clearInterval(t){this.#t.clearInterval(t)}},Yd=new b2;function S2(t){setTimeout(t,0)}var x2=typeof window>"u"||"Deno"in globalThis;function Sn(){}function w2(t,n){return typeof t=="function"?t(n):t}function T2(t){return typeof t=="number"&&t>=0&&t!==1/0}function E2(t,n){return Math.max(t+(n||0)-Date.now(),0)}function Id(t,n){return typeof t=="function"?t(n):t}function A2(t,n){return typeof t=="function"?t(n):t}function c0(t,n){const{type:s="all",exact:r,fetchStatus:l,predicate:u,queryKey:c,stale:h}=t;if(c){if(r){if(n.queryHash!==jh(c,n.options))return!1}else if(!eo(n.queryKey,c))return!1}if(s!=="all"){const m=n.isActive();if(s==="active"&&!m||s==="inactive"&&m)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||l&&l!==n.state.fetchStatus||u&&!u(n))}function f0(t,n){const{exact:s,status:r,predicate:l,mutationKey:u}=t;if(u){if(!n.options.mutationKey)return!1;if(s){if(to(n.options.mutationKey)!==to(u))return!1}else if(!eo(n.options.mutationKey,u))return!1}return!(r&&n.state.status!==r||l&&!l(n))}function jh(t,n){return(n?.queryKeyHashFn||to)(t)}function to(t){return JSON.stringify(t,(n,s)=>Xd(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function eo(t,n){return t===n?!0:typeof t!=typeof n?!1:t&&n&&typeof t=="object"&&typeof n=="object"?Object.keys(n).every(s=>eo(t[s],n[s])):!1}var R2=Object.prototype.hasOwnProperty;function lx(t,n,s=0){if(t===n)return t;if(s>500)return n;const r=d0(t)&&d0(n);if(!r&&!(Xd(t)&&Xd(n)))return n;const u=(r?t:Object.keys(t)).length,c=r?n:Object.keys(n),h=c.length,m=r?new Array(h):{};let p=0;for(let g=0;g<h;g++){const y=r?g:c[g],b=t[y],S=n[y];if(b===S){m[y]=b,(r?g<u:R2.call(t,y))&&p++;continue}if(b===null||S===null||typeof b!="object"||typeof S!="object"){m[y]=S;continue}const w=lx(b,S,s+1);m[y]=w,w===b&&p++}return u===h&&p===u?t:m}function d0(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Xd(t){if(!h0(t))return!1;const n=t.constructor;if(n===void 0)return!0;const s=n.prototype;return!(!h0(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function h0(t){return Object.prototype.toString.call(t)==="[object Object]"}function C2(t){return new Promise(n=>{Yd.setTimeout(n,t)})}function M2(t,n,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,n):s.structuralSharing!==!1?lx(t,n):n}function _2(t,n,s=0){const r=[...t,n];return s&&r.length>s?r.slice(1):r}function O2(t,n,s=0){const r=[n,...t];return s&&r.length>s?r.slice(0,-1):r}var zh=Symbol();function ux(t,n){return!t.queryFn&&n?.initialPromise?()=>n.initialPromise:!t.queryFn||t.queryFn===zh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function D2(t,n,s){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=n(),r||(r=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),t}var cx=(()=>{let t=()=>x2;return{isServer(){return t()},setIsServer(n){t=n}}})();function j2(){let t,n;const s=new Promise((l,u)=>{t=l,n=u});s.status="pending",s.catch(()=>{});function r(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},s.reject=l=>{r({status:"rejected",reason:l}),n(l)},s}var z2=S2;function L2(){let t=[],n=0,s=h=>{h()},r=h=>{h()},l=z2;const u=h=>{n?t.push(h):l(()=>{s(h)})},c=()=>{const h=t;t=[],h.length&&l(()=>{r(()=>{h.forEach(m=>{s(m)})})})};return{batch:h=>{let m;n++;try{m=h()}finally{n--,n||c()}return m},batchCalls:h=>(...m)=>{u(()=>{h(...m)})},schedule:u,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{r=h},setScheduler:h=>{l=h}}}var Me=L2(),N2=class extends ju{#t=!0;#n;#e;constructor(){super(),this.#e=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#n||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(t){this.#e=t,this.#n?.(),this.#n=t(this.setOnline.bind(this))}setOnline(t){this.#t!==t&&(this.#t=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#t}},hu=new N2;function P2(t){return Math.min(1e3*2**t,3e4)}function fx(t){return(t??"online")==="online"?hu.isOnline():!0}var Kd=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function dx(t){let n=!1,s=0,r;const l=j2(),u=()=>l.status!=="pending",c=A=>{if(!u()){const E=new Kd(A);b(E),t.onCancel?.(E)}},h=()=>{n=!0},m=()=>{n=!1},p=()=>ox.isFocused()&&(t.networkMode==="always"||hu.isOnline())&&t.canRun(),g=()=>fx(t.networkMode)&&t.canRun(),y=A=>{u()||(r?.(),l.resolve(A))},b=A=>{u()||(r?.(),l.reject(A))},S=()=>new Promise(A=>{r=E=>{(u()||p())&&A(E)},t.onPause?.()}).then(()=>{r=void 0,u()||t.onContinue?.()}),w=()=>{if(u())return;let A;const E=s===0?t.initialPromise:void 0;try{A=E??t.fn()}catch(R){A=Promise.reject(R)}Promise.resolve(A).then(y).catch(R=>{if(u())return;const O=t.retry??(cx.isServer()?0:3),L=t.retryDelay??P2,j=typeof L=="function"?L(s,R):L,F=O===!0||typeof O=="number"&&s<O||typeof O=="function"&&O(s,R);if(n||!F){b(R);return}s++,t.onFail?.(s,R),C2(j).then(()=>p()?void 0:S()).then(()=>{n?b(R):w()})})};return{promise:l,status:()=>l.status,cancel:c,continue:()=>(r?.(),l),cancelRetry:h,continueRetry:m,canStart:g,start:()=>(g()?w():S().then(w),l)}}var hx=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),T2(this.gcTime)&&(this.#t=Yd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(cx.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(Yd.clearTimeout(this.#t),this.#t=void 0)}},B2=class extends hx{#t;#n;#e;#s;#i;#a;#r;constructor(t){super(),this.#r=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#s=t.client,this.#e=this.#s.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=p0(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#a,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=p0(this.options);n.data!==void 0&&(this.setState(m0(n.data,n.dataUpdatedAt)),this.#t=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#e.remove(this)}setData(t,n){const s=M2(this.state.data,t,this.options);return this.#o({data:s,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),s}setState(t,n){this.#o({type:"setState",state:t,setStateOptions:n})}cancel(t){const n=this.#i?.promise;return this.#i?.cancel(t),n?n.then(Sn).catch(Sn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>A2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===zh||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Id(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!E2(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.#i&&(this.#r||this.#l()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#e.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,n){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const s=new AbortController,r=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#r=!0,s.signal)})},l=()=>{const h=ux(this.options,n),p=(()=>{const g={client:this.#s,queryKey:this.queryKey,meta:this.meta};return r(g),g})();return this.#r=!1,this.options.persister?this.options.persister(h,p,this):h(p)},c=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:l};return r(h),h})();this.options.behavior?.onFetch(c,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#o({type:"fetch",meta:c.fetchOptions?.meta}),this.#i=dx({initialPromise:n?.initialPromise,fn:c.fetchFn,onCancel:h=>{h instanceof Kd&&h.revert&&this.setState({...this.#n,fetchStatus:"idle"}),s.abort()},onFail:(h,m)=>{this.#o({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const h=await this.#i.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#e.config.onSuccess?.(h,this),this.#e.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof Kd){if(h.silent)return this.#i.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#o({type:"error",error:h}),this.#e.config.onError?.(h,this),this.#e.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#o(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...V2(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...m0(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?r:void 0,r;case"error":const l=t.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),Me.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#e.notify({query:this,type:"updated",action:t})})}};function V2(t,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:fx(n.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function m0(t,n){return{data:t,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function p0(t){const n=typeof t.initialData=="function"?t.initialData():t.initialData,s=n!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}function g0(t){return{onFetch:(n,s)=>{const r=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,u=n.state.data?.pages||[],c=n.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const p=async()=>{let g=!1;const y=w=>{D2(w,()=>n.signal,()=>g=!0)},b=ux(n.options,n.fetchOptions),S=async(w,A,E)=>{if(g)return Promise.reject();if(A==null&&w.pages.length)return Promise.resolve(w);const O=(()=>{const I={client:n.client,queryKey:n.queryKey,pageParam:A,direction:E?"backward":"forward",meta:n.options.meta};return y(I),I})(),L=await b(O),{maxPages:j}=n.options,F=E?O2:_2;return{pages:F(w.pages,L,j),pageParams:F(w.pageParams,A,j)}};if(l&&u.length){const w=l==="backward",A=w?U2:y0,E={pages:u,pageParams:c},R=A(r,E);h=await S(E,R,w)}else{const w=t??u.length;do{const A=m===0?c[0]??r.initialPageParam:y0(r,h);if(m>0&&A==null)break;h=await S(h,A),m++}while(m<w)}return h};n.options.persister?n.fetchFn=()=>n.options.persister?.(p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},s):n.fetchFn=p}}}function y0(t,{pages:n,pageParams:s}){const r=n.length-1;return n.length>0?t.getNextPageParam(n[r],n,s[r],s):void 0}function U2(t,{pages:n,pageParams:s}){return n.length>0?t.getPreviousPageParam?.(n[0],n,s[0],s):void 0}var k2=class extends hx{#t;#n;#e;#s;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#e=t.mutationCache,this.#n=[],this.state=t.state||H2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#n.includes(t)||(this.#n.push(t),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#n=this.#n.filter(n=>n!==t),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){const n=()=>{this.#i({type:"continue"})},s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=dx({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(u,c)=>{this.#i({type:"failed",failureCount:u,error:c})},onPause:()=>{this.#i({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const r=this.state.status==="pending",l=!this.#s.canStart();try{if(r)n();else{this.#i({type:"pending",variables:t,isPaused:l}),this.#e.config.onMutate&&await this.#e.config.onMutate(t,this,s);const c=await this.options.onMutate?.(t,s);c!==this.state.context&&this.#i({type:"pending",context:c,variables:t,isPaused:l})}const u=await this.#s.start();return await this.#e.config.onSuccess?.(u,t,this.state.context,this,s),await this.options.onSuccess?.(u,t,this.state.context,s),await this.#e.config.onSettled?.(u,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(u,null,t,this.state.context,s),this.#i({type:"success",data:u}),u}catch(u){try{await this.#e.config.onError?.(u,t,this.state.context,this,s)}catch(c){Promise.reject(c)}try{await this.options.onError?.(u,t,this.state.context,s)}catch(c){Promise.reject(c)}try{await this.#e.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,s)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,u,t,this.state.context,s)}catch(c){Promise.reject(c)}throw this.#i({type:"error",error:u}),u}finally{this.#e.runNext(this)}}#i(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Me.batch(()=>{this.#n.forEach(s=>{s.onMutationUpdate(t)}),this.#e.notify({mutation:this,type:"updated",action:t})})}};function H2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var q2=class extends ju{constructor(t={}){super(),this.config=t,this.#t=new Set,this.#n=new Map,this.#e=0}#t;#n;#e;build(t,n,s){const r=new k2({client:t,mutationCache:this,mutationId:++this.#e,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#t.add(t);const n=Pl(t);if(typeof n=="string"){const s=this.#n.get(n);s?s.push(t):this.#n.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#t.delete(t)){const n=Pl(t);if(typeof n=="string"){const s=this.#n.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#n.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Pl(t);if(typeof n=="string"){const r=this.#n.get(n)?.find(l=>l.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=Pl(t);return typeof n=="string"?this.#n.get(n)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Me.batch(()=>{this.#t.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#t.clear(),this.#n.clear()})}getAll(){return Array.from(this.#t)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>f0(n,s))}findAll(t={}){return this.getAll().filter(n=>f0(t,n))}notify(t){Me.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Me.batch(()=>Promise.all(t.map(n=>n.continue().catch(Sn))))}};function Pl(t){return t.options.scope?.id}var F2=class extends ju{constructor(t={}){super(),this.config=t,this.#t=new Map}#t;build(t,n,s){const r=n.queryKey,l=n.queryHash??jh(r,n);let u=this.get(l);return u||(u=new B2({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(u)),u}add(t){this.#t.has(t.queryHash)||(this.#t.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#t.get(t.queryHash);n&&(t.destroy(),n===t&&this.#t.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Me.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#t.get(t)}getAll(){return[...this.#t.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>c0(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>c0(t,s)):n}notify(t){Me.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Me.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Me.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},G2=class{#t;#n;#e;#s;#i;#a;#r;#l;constructor(t={}){this.#t=t.queryCache||new F2,this.#n=t.mutationCache||new q2,this.#e=t.defaultOptions||{},this.#s=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#r=ox.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#l=hu.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#r?.(),this.#r=void 0,this.#l?.(),this.#l=void 0)}isFetching(t){return this.#t.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#n.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#t.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#t.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Id(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#t.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),u=this.#t.get(r.queryHash)?.state.data,c=w2(n,u);if(c!==void 0)return this.#t.build(this,r).setData(c,{...s,manual:!0})}setQueriesData(t,n,s){return Me.batch(()=>this.#t.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#t.get(n.queryHash)?.state}removeQueries(t){const n=this.#t;Me.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#t;return Me.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=Me.batch(()=>this.#t.findAll(t).map(l=>l.cancel(s)));return Promise.all(r).then(Sn).catch(Sn)}invalidateQueries(t,n={}){return Me.batch(()=>(this.#t.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=Me.batch(()=>this.#t.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(Sn)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(Sn)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#t.build(this,n);return s.isStaleByTime(Id(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Sn).catch(Sn)}fetchInfiniteQuery(t){return t.behavior=g0(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Sn).catch(Sn)}ensureInfiniteQueryData(t){return t.behavior=g0(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return hu.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#n}getDefaultOptions(){return this.#e}setDefaultOptions(t){this.#e=t}setQueryDefaults(t,n){this.#s.set(to(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{eo(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#i.set(to(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#i.values()],s={};return n.forEach(r=>{eo(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#e.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=jh(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===zh&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#e.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#t.clear(),this.#n.clear()}},Y2=U.createContext(void 0),I2=({client:t,children:n})=>(U.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),M.jsx(Y2.Provider,{value:t,children:n}));const X2="/assets/styles-CAntnuD_.css";const mx=(...t)=>t.filter((n,s,r)=>!!n&&n.trim()!==""&&r.indexOf(n)===s).join(" ").trim();const K2=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Q2=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,s,r)=>r?r.toUpperCase():s.toLowerCase());const v0=t=>{const n=Q2(t);return n.charAt(0).toUpperCase()+n.slice(1)};var Z2={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 J2=t=>{for(const n in t)if(n.startsWith("aria-")||n==="role"||n==="title")return!0;return!1};const $2=U.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:c,...h},m)=>U.createElement("svg",{ref:m,...Z2,width:n,height:n,stroke:t,strokeWidth:r?Number(s)*24/Number(n):s,className:mx("lucide",l),...!u&&!J2(h)&&{"aria-hidden":"true"},...h},[...c.map(([p,g])=>U.createElement(p,g)),...Array.isArray(u)?u:[u]]));const Ds=(t,n)=>{const s=U.forwardRef(({className:r,...l},u)=>U.createElement($2,{ref:u,iconNode:n,className:mx(`lucide-${K2(v0(t))}`,`lucide-${t}`,r),...l}));return s.displayName=v0(t),s};const W2=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],tO=Ds("arrow-up-right",W2);const eO=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],nO=Ds("badge-check",eO);const iO=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],sO=Ds("calendar",iO);const aO=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],px=Ds("check",aO);const rO=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],oO=Ds("menu",rO);const lO=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],uO=Ds("send",lO);const cO=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lh=Ds("x",cO);function gx(t){var n,s,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(s=gx(t[n]))&&(r&&(r+=" "),r+=s)}else for(s in t)t[s]&&(r&&(r+=" "),r+=s);return r}function fO(){for(var t,n,s=0,r="",l=arguments.length;s<l;s++)(t=arguments[s])&&(n=gx(t))&&(r&&(r+=" "),r+=n);return r}const dO=(t,n)=>{const s=new Array(t.length+n.length);for(let r=0;r<t.length;r++)s[r]=t[r];for(let r=0;r<n.length;r++)s[t.length+r]=n[r];return s},hO=(t,n)=>({classGroupId:t,validator:n}),yx=(t=new Map,n=null,s)=>({nextPart:t,validators:n,classGroupId:s}),mu="-",b0=[],mO="arbitrary..",pO=t=>{const n=yO(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return gO(c);const h=c.split(mu),m=h[0]===""&&h.length>1?1:0;return vx(h,m,n)},getConflictingClassGroupIds:(c,h)=>{if(h){const m=r[c],p=s[c];return m?p?dO(p,m):m:p||b0}return s[c]||b0}}},vx=(t,n,s)=>{if(t.length-n===0)return s.classGroupId;const l=t[n],u=s.nextPart.get(l);if(u){const p=vx(t,n+1,u);if(p)return p}const c=s.validators;if(c===null)return;const h=n===0?t.join(mu):t.slice(n).join(mu),m=c.length;for(let p=0;p<m;p++){const g=c[p];if(g.validator(h))return g.classGroupId}},gO=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=t.slice(1,-1),s=n.indexOf(":"),r=n.slice(0,s);return r?mO+r:void 0})(),yO=t=>
vendor: 1,543 bytes, line 12
12{const{theme:n,classGroups:s}=t;return vO(s,n)},vO=(t,n)=>{const s=yx();for(const r in t){const l=t[r];Nh(l,s,r,n)}return s},Nh=(t,n,s,r)=>{const l=t.length;for(let u=0;u<l;u++){const c=t[u];bO(c,n,s,r)}},bO=(t,n,s,r)=>{if(typeof t=="string"){SO(t,n,s);return}if(typeof t=="function"){xO(t,n,s,r);return}wO(t,n,s,r)},SO=(t,n,s)=>{const r=t===""?n:bx(n,t);r.classGroupId=s},xO=(t,n,s,r)=>{if(TO(t)){Nh(t(r),n,s,r);return}n.validators===null&&(n.validators=[]),n.validators.push(hO(s,t))},wO=(t,n,s,r)=>{const l=Object.entries(t),u=l.length;for(let c=0;c<u;c++){const[h,m]=l[c];Nh(m,bx(n,h),s,r)}},bx=(t,n)=>{let s=t;const r=n.split(mu),l=r.length;for(let u=0;u<l;u++){const c=r[u];let h=s.nextPart.get(c);h||(h=yx(),s.nextPart.set(c,h)),s=h}return s},TO=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,EO=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,s=Object.create(null),r=Object.create(null);const l=(u,c)=>{s[u]=c,n++,n>t&&(n=0,r=s,s=Object.create(null))};return{get(u){let c=s[u];if(c!==void 0)return c;if((c=r[u])!==void 0)return l(u,c),c},set(u,c){u in s?s[u]=c:l(u,c)}}},Qd="!",S0=":",AO=[],x0=(t,n,s,r,l)=>({modifiers:t,hasImportantModifier:n,baseClassName:s,maybePostfixModifierPosition:r,isExternal:l}),RO=t=>{const{prefix:n,experimentalParseClassName:s}=t;let r=l=>{const u=[];let c=0,h=0,m=0,p;const g=l.length;for(let A=0;A<g;A++){const E=l[A];if(c===0&&h===0){if(E===S0){u.push(l.slice(m,A)),m=A+1;continue}if(E==="/"){p=A;continue}}E==="["?c++:E==="]"?c--:E==="("?h++:E===")"&&h--}const y=u.length===0?l:l.slice(m);let b=y,S=!1;
vendor: 5,758 bytes, line 12
12y.endsWith(Qd)?(b=y.slice(0,-1),S=!0):y.startsWith(Qd)&&(b=y.slice(1),S=!0);const w=p&&p>m?p-m:void 0;return x0(u,S,b,w)};if(n){const l=n+S0,u=r;r=c=>c.startsWith(l)?u(c.slice(l.length)):x0(AO,!1,c,void 0,!0)}if(s){const l=r;r=u=>s({className:u,parseClassName:l})}return r},CO=t=>{const n=new Map;return t.orderSensitiveModifiers.forEach((s,r)=>{n.set(s,1e6+r)}),s=>{const r=[];let l=[];for(let u=0;u<s.length;u++){const c=s[u],h=c[0]==="[",m=n.has(c);h||m?(l.length>0&&(l.sort(),r.push(...l),l=[]),r.push(c)):l.push(c)}return l.length>0&&(l.sort(),r.push(...l)),r}},MO=t=>({cache:EO(t.cacheSize),parseClassName:RO(t),sortModifiers:CO(t),...pO(t)}),_O=/\s+/,OO=(t,n)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u}=n,c=[],h=t.trim().split(_O);let m="";for(let p=h.length-1;p>=0;p-=1){const g=h[p],{isExternal:y,modifiers:b,hasImportantModifier:S,baseClassName:w,maybePostfixModifierPosition:A}=s(g);if(y){m=g+(m.length>0?" "+m:m);continue}let E=!!A,R=r(E?w.substring(0,A):w);if(!R){if(!E){m=g+(m.length>0?" "+m:m);continue}if(R=r(w),!R){m=g+(m.length>0?" "+m:m);continue}E=!1}const O=b.length===0?"":b.length===1?b[0]:u(b).join(":"),L=S?O+Qd:O,j=L+R;if(c.indexOf(j)>-1)continue;c.push(j);const F=l(R,E);for(let I=0;I<F.length;++I){const G=F[I];c.push(L+G)}m=g+(m.length>0?" "+m:m)}return m},DO=(...t)=>{let n=0,s,r,l="";for(;n<t.length;)(s=t[n++])&&(r=Sx(s))&&(l&&(l+=" "),l+=r);return l},Sx=t=>{if(typeof t=="string")return t;let n,s="";for(let r=0;r<t.length;r++)t[r]&&(n=Sx(t[r]))&&(s&&(s+=" "),s+=n);return s},jO=(t,...n)=>{let s,r,l,u;const c=m=>{const p=n.reduce((g,y)=>y(g),t());return s=MO(p),r=s.cache.get,l=s.cache.set,u=h,h(m)},h=m=>{const p=r(m);if(p)return p;const g=OO(m,s);return l(m,g),g};return u=c,(...m)=>u(DO(...m))},zO=[],oe=t=>{const n=s=>s[t]||zO;return n.isThemeGetter=!0,n},xx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,wx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,LO=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,NO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,PO=/\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$/,BO=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,VO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,UO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Di=t=>LO.test(t),xt=t=>!!t&&!Number.isNaN(Number(t)),ji=t=>!!t&&Number.isInteger(Number(t)),yd=t=>t.endsWith("%")&&xt(t.slice(0,-1)),ni=t=>NO.test(t),Tx=()=>!0,kO=t=>PO.test(t)&&!BO.test(t),Ph=()=>!1,HO=t=>VO.test(t),qO=t=>UO.test(t),FO=t=>!rt(t)&&!lt(t),GO=t=>Ki(t,Rx,Ph),rt=t=>xx.test(t),gs=t=>Ki(t,Cx,kO),w0=t=>Ki(t,$O,xt),YO=t=>Ki(t,_x,Tx),IO=t=>Ki(t,Mx,Ph),T0=t=>Ki(t,Ex,Ph),XO=t=>Ki(t,Ax,qO),Bl=t=>Ki(t,Ox,HO),lt=t=>wx.test(t),Vr=t=>js(t,Cx),KO=t=>js(t,Mx),E0=t=>js(t,Ex),QO=t=>js(t,Rx),ZO=t=>js(t,Ax),Vl=t=>js(t,Ox,!0),JO=t=>js(t,_x,!0),Ki=(t,n,s)=>{const r=xx.exec(t);return r?r[1]?n(r[1]):s(r[2]):!1},js=(t,n,s=!1)=>{const r=wx.exec(t);return r?r[1]?n(r[1]):s:!1},Ex=t=>t==="position"||t==="percentage",Ax=t=>t==="image"||t==="url",Rx=t=>t==="length"||t==="size"||t==="bg-size",Cx=t=>t==="length",$O=t=>t==="number",Mx=t=>t==="family-name",_x=t=>t==="number"||t==="weight",Ox=t=>t==="shadow",WO=()=>{const t=oe("color"),n=oe("font"),s=oe("text"),r=oe("font-weight"),l=oe("tracking"),u=oe("leading"),c=oe("breakpoint"),h=oe("container"),m=oe("spacing"),p=oe("radius"),g=oe("shadow"),y=oe("inset-shadow"),b=oe("text-shadow"),S=oe("drop-shadow"),w=oe("blur"),A=oe("perspective"),E=oe("aspect"),R=oe("ease"),O=oe("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...j(),lt,rt],I=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],N=()=>[lt,rt,m],X=()=>[Di,"full","auto",...N()],J=()=>[ji,"none","subgrid",lt,rt],tt=()=>["auto",{span:["full",ji,lt,rt]},ji,lt,rt],ct=()=>[ji,"auto",lt,rt],yt=()=>["auto","min","max","fr",lt,rt],At=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],vt=()=>["start","end","center","stretch","center-safe","end-safe"],k=()=>["auto",...N()],$=()=>[Di,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],nt=()=>[Di,"screen","full","dvw","lvw","svw","min","max","fit",...N()],mt=()=>[Di,"screen","full","lh","dvh","lvh","svh","min","max","fit",...N()],W=()=>[t,lt,rt],D=()=>[...j(),E0,T0,{position:[lt,rt]}],K=()=>["no-repeat",{repeat:["","x","y","space","round"]}],et=()=>["auto","cover","contain",QO,GO,{size:[lt,rt]}],it=()=>[yd,Vr,gs],st=()=>["","none","full",p,lt,rt],ft=()=>["",xt,Vr,gs],wt=()=>["solid","dashed","dotted","double"],Yt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>[xt,yd,E0,T0],tn=()=>["","none",w,lt,rt],ze=()=>["none",xt,lt,rt],Fe=()=>["none",xt,lt,rt],Nn=()=>[xt,lt,rt],Re=()=>[Di,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ni],breakpoint:[ni],color:[Tx],container:[ni],"drop-shadow":[ni],ease:["in","out","in-out"],font:[FO],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ni],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ni],shadow:[ni],spacing:["px",xt],text:[ni],"text-shadow":[ni],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Di,rt,lt,E]}
vendor: 4,924 bytes, line 12
12],container:["container"],columns:[{columns:[xt,rt,lt,h]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:F()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:X()}],"inset-x":[{"inset-x":X()}],"inset-y":[{"inset-y":X()}],start:[{"inset-s":X(),start:X()}],end:[{"inset-e":X(),end:X()}],"inset-bs":[{"inset-bs":X()}],"inset-be":[{"inset-be":X()}],top:[{top:X()}],right:[{right:X()}],bottom:[{bottom:X()}],left:[{left:X()}],visibility:["visible","invisible","collapse"],z:[{z:[ji,"auto",lt,rt]}],basis:[{basis:[Di,"full","auto",h,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xt,Di,"auto","initial","none",rt]}],grow:[{grow:["",xt,lt,rt]}],shrink:[{shrink:["",xt,lt,rt]}],order:[{order:[ji,"first","last","none",lt,rt]}],"grid-cols":[{"grid-cols":J()}],"col-start-end":[{col:tt()}],"col-start":[{"col-start":ct()}],"col-end":[{"col-end":ct()}],"grid-rows":[{"grid-rows":J()}],"row-start-end":[{row:tt()}],"row-start":[{"row-start":ct()}],"row-end":[{"row-end":ct()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":yt()}],"auto-rows":[{"auto-rows":yt()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...At(),"normal"]}],"justify-items":[{"justify-items":[...vt(),"normal"]}],"justify-self":[{"justify-self":["auto",...vt()]}],"align-content":[{content:["normal",...At()]}],"align-items":[{items:[...vt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...vt(),{baseline:["","last"]}]}],"place-content":[{"place-content":At()}],"place-items":[{"place-items":[...vt(),"baseline"]}],"place-self":[{"place-self":["auto",...vt()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pbs:[{pbs:N()}],pbe:[{pbe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mbs:[{mbs:k()}],mbe:[{mbe:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...nt()]}],"min-inline-size":[{"min-inline":["auto",...nt()]}],"max-inline-size":[{"max-inline":["none",...nt()]}],"block-size":[{block:["auto",...mt()]}],"min-block-size":[{"min-block":["auto",...mt()]}],"max-block-size":[{"max-block":["none",...mt()]}],w:[{w:[h,"screen",...$()]}],"min-w":[{"min-w":[h,"screen","none",...$()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[c]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",s,Vr,gs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,JO,YO]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",yd,rt]}],"font-family":[{font:[KO,IO,n]}],"font-features":[{"font-features":[rt]}],"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,lt,rt]}],"line-clamp":[{"line-clamp":[xt,"none",lt,w0]}],leading:[{leading:[u,...N()]}],"list-image":[{"list-image":["none",lt,rt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",lt,rt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:W()}],"text-color":[{text:W()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...wt(),"w
12avy"]}],"text-decoration-thickness":[{decoration:[xt,"from-font","auto",lt,gs]}],"text-decoration-color":[{decoration:W()}],"underline-offset":[{"underline-offset":[xt,"auto",lt,rt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",lt,rt]}],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",lt,rt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:K()}],"bg-size":[{bg:et()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ji,lt,rt],radial:["",lt,rt],conic:[ji,lt,rt]},ZO,XO]}],"bg-color":[{bg:W()}],"gradient-from-pos":[{from:it()}],"gradient-via-pos":[{via:it()}],"gradient-to-pos":[{to:it()}],"gradient-from":[{from:W()}],"gradient-via":[{via:W()}],"gradient-to":[{to:W()}],rounded:[{rounded:st()}],"rounded-s":[{"rounded-s":st()}],"rounded-e":[{"rounded-e":st()}],"rounded-t":[{"rounded-t":st()}],"rounded-r":[{"rounded-r":st()}],"rounded-b":[{"rounded-b":st()}],"rounded-l":[{"rounded-l":st()}],"rounded-ss":[{"rounded-ss":st()}],"rounded-se":[{"rounded-se":st()}],"rounded-ee":[{"rounded-ee":st()}],"rounded-es":[{"rounded-es":st()}],"rounded-tl":[{"rounded-tl":st()}],"rounded-tr":[{"rounded-tr":st()}],"rounded-br":[{"rounded-br":st()}],"rounded-bl":[{"rounded-bl":st()}],"border-w":[{border:ft()}],"border-w-x":[{"border-x":ft()}],"border-w-y":[{"border-y":ft()}],"border-w-s":[{"border-s":ft()}],"border-w-e":[{"border-e":ft()}],"border-w-bs":[{"border-bs":ft()}],"border-w-be":[{"border-be":ft()}],"border-w-t":[{"border-t":ft()}],"border-w-r":[{"border-r":ft()}],"border-w-b":[{"border-b":ft()}],"border-w-l":[{"border-l":ft()}],"divide-x":[{"divide-x":ft()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ft()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...wt(),"hidden","none"]}],"divide-style":[{divide:[...wt(),"hidden","none"]}],"border-color":[{border:W()}],"border-color-x":[{"border-x":W()}],"border-color-y":[{"border-y":W()}],"border-color-s":[{"border-s":W()}],"border-color-e":[{"border-e":W()}],"border-color-bs":[{"border-bs":W()}],"border-color-be":[{"border-be":W()}],"border-color-t":[{"border-t":W()}],"border-color-r":[{"border-r":W()}],"border-color-b":[{"border-b":W()}],"border-color-l":[{"border-l":W()}],"divide-color":[{divide:W()}],"outline-style":[{outline:[...wt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xt,lt,rt]}],"outline-w":[{outline:["",xt,Vr,gs]}],"outline-color":[{outline:W()}],shadow:[{shadow:["","none",g,Vl,Bl]}],"shadow-color":[{shadow:W()}],"inset-shadow":[{"inset-shadow":["none",y,Vl,Bl]}],"inset-shadow-color":[{"inset-shadow":W()}],"ring-w":[{ring:ft()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:W()}],"ring-offset-w":[{"ring-offset":[xt,gs]}],"ring-offset-color":[{"ring-offset":W()}],"inset-ring-w":[{"inset-ring":ft()}],"inset-ring-color":[{"inset-ring":W()}],"text-shadow":[{"text-shadow":["none",b,Vl,Bl]}],"text-shadow-color":[{"text-shadow":W()}],opacity:[{opacity:[xt,lt,rt]}],"mix-blend":[{"mix-blend":[...Yt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Yt()}],"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":[xt]}],"mask-image-linear-from-pos":[{"mask-linear-from":pt()}],"mask-image-linear-to-pos":[{"mask-linear-to":pt()}],"mask-image-linear-from-color":[{"mask-linear-from":W()}],"mask-image-linear-to-color":[{"mask-linear-to":W()}],"mask-image-t-from-pos":[{"mask-t-from":pt()}],"mask-image-t-to-pos":[{"mask-t-to":pt()}],"mask-image-t-from-color":[{"mask-t-from":W()}],"mask-image-t-to-color":[{"mask-t-to":W()}],"mask-image-r-from-pos":[{"mask-r-from":pt()}],"mask-image-r-to-pos":[{"mask-r-to":pt()}],"mask-image-r-from-color":[{"mask-r-from":W()}],"mask-image-r-to-color":[{"mask-r-to":W()}],"mask-image-b-from-pos":[{"mask-b-from":pt()}],"mask-image-b-to-pos":[{"mask-b-to":pt()}],"mask-image-b-from-color":[{"mask-b-from":W()}],"mask-image-b-to-color":[{"mask-b-to":W()}],"mask-image-l-from-pos":[{"mask-l-from":pt()}
vendor: 8,626 bytes, line 12
12],"mask-image-l-to-pos":[{"mask-l-to":pt()}],"mask-image-l-from-color":[{"mask-l-from":W()}],"mask-image-l-to-color":[{"mask-l-to":W()}],"mask-image-x-from-pos":[{"mask-x-from":pt()}],"mask-image-x-to-pos":[{"mask-x-to":pt()}],"mask-image-x-from-color":[{"mask-x-from":W()}],"mask-image-x-to-color":[{"mask-x-to":W()}],"mask-image-y-from-pos":[{"mask-y-from":pt()}],"mask-image-y-to-pos":[{"mask-y-to":pt()}],"mask-image-y-from-color":[{"mask-y-from":W()}],"mask-image-y-to-color":[{"mask-y-to":W()}],"mask-image-radial":[{"mask-radial":[lt,rt]}],"mask-image-radial-from-pos":[{"mask-radial-from":pt()}],"mask-image-radial-to-pos":[{"mask-radial-to":pt()}],"mask-image-radial-from-color":[{"mask-radial-from":W()}],"mask-image-radial-to-color":[{"mask-radial-to":W()}],"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":j()}],"mask-image-conic-pos":[{"mask-conic":[xt]}],"mask-image-conic-from-pos":[{"mask-conic-from":pt()}],"mask-image-conic-to-pos":[{"mask-conic-to":pt()}],"mask-image-conic-from-color":[{"mask-conic-from":W()}],"mask-image-conic-to-color":[{"mask-conic-to":W()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:K()}],"mask-size":[{mask:et()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",lt,rt]}],filter:[{filter:["","none",lt,rt]}],blur:[{blur:tn()}],brightness:[{brightness:[xt,lt,rt]}],contrast:[{contrast:[xt,lt,rt]}],"drop-shadow":[{"drop-shadow":["","none",S,Vl,Bl]}],"drop-shadow-color":[{"drop-shadow":W()}],grayscale:[{grayscale:["",xt,lt,rt]}],"hue-rotate":[{"hue-rotate":[xt,lt,rt]}],invert:[{invert:["",xt,lt,rt]}],saturate:[{saturate:[xt,lt,rt]}],sepia:[{sepia:["",xt,lt,rt]}],"backdrop-filter":[{"backdrop-filter":["","none",lt,rt]}],"backdrop-blur":[{"backdrop-blur":tn()}],"backdrop-brightness":[{"backdrop-brightness":[xt,lt,rt]}],"backdrop-contrast":[{"backdrop-contrast":[xt,lt,rt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xt,lt,rt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xt,lt,rt]}],"backdrop-invert":[{"backdrop-invert":["",xt,lt,rt]}],"backdrop-opacity":[{"backdrop-opacity":[xt,lt,rt]}],"backdrop-saturate":[{"backdrop-saturate":[xt,lt,rt]}],"backdrop-sepia":[{"backdrop-sepia":["",xt,lt,rt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",lt,rt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xt,"initial",lt,rt]}],ease:[{ease:["linear","initial",R,lt,rt]}],delay:[{delay:[xt,lt,rt]}],animate:[{animate:["none",O,lt,rt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,lt,rt]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:ze()}],"rotate-x":[{"rotate-x":ze()}],"rotate-y":[{"rotate-y":ze()}],"rotate-z":[{"rotate-z":ze()}],scale:[{scale:Fe()}],"scale-x":[{"scale-x":Fe()}],"scale-y":[{"scale-y":Fe()}],"scale-z":[{"scale-z":Fe()}],"scale-3d":["scale-3d"],skew:[{skew:Nn()}],"skew-x":[{"skew-x":Nn()}],"skew-y":[{"skew-y":Nn()}],transform:[{transform:[lt,rt,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Re()}],"translate-x":[{"translate-x":Re()}],"translate-y":[{"translate-y":Re()}],"translate-z":[{"translate-z":Re()}],"translate-none":["translate-none"],accent:[{accent:W()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:W()}],"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",lt,rt]}],"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":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mbs":[{"scroll-mbs":N()}],"scroll-mbe":[{"scroll-mbe":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pbs":[{"scroll-pbs":N()}],"scroll-pbe":[{"scroll-pbe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",lt,rt]}],fill:[{fill:["none",...W()]}],"stroke-w":[{stroke:[xt,Vr,gs,w0]}],stroke:[{stroke:["none",...W()]}],"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"]}}
vendor: 93,809 bytes, line 12
12,tD=jO(WO);function qr(...t){return tD(fO(t))}function Dx({className:t,mark:n=!1,onDark:s=!1}){return M.jsxs("span",{className:qr("inline-flex items-center gap-2 font-extrabold tracking-tight",t),children:[M.jsx("span",{"aria-hidden":!0,className:"grid h-8 w-8 place-items-center rounded-lg text-white",style:{background:"linear-gradient(135deg, oklch(0.42 0.18 265), oklch(0.55 0.16 240))"},children:M.jsx("svg",{viewBox:"0 0 24 24",className:"h-5 w-5",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:M.jsx("path",{d:"M3 5l3 14 4-10 4 10 3-14"})})}),!n&&M.jsx("span",{className:qr("text-[17px]",s?"text-white":"text-foreground"),children:"Wize.Platform"})]})}const Bh=U.createContext({});function Vh(t){const n=U.useRef(null);return n.current===null&&(n.current=t()),n.current}const eD=typeof window<"u",jx=eD?U.useLayoutEffect:U.useEffect,zu=U.createContext(null);function Uh(t,n){t.indexOf(n)===-1&&t.push(n)}function pu(t,n){const s=t.indexOf(n);s>-1&&t.splice(s,1)}const zn=(t,n,s)=>s>n?n:s<t?t:s;let kh=()=>{};const qi={},zx=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function Lx(t){return typeof t=="object"&&t!==null}const Nx=t=>/^0[^.\s]+$/u.test(t);function Px(t){let n;return()=>(n===void 0&&(n=t()),n)}const hn=t=>t,nD=(t,n)=>s=>n(t(s)),lo=(...t)=>t.reduce(nD),no=(t,n,s)=>{const r=n-t;return r===0?1:(s-t)/r};class Hh{constructor(){this.subscriptions=[]}add(n){return Uh(this.subscriptions,n),()=>pu(this.subscriptions,n)}notify(n,s,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,s,r);else for(let u=0;u<l;u++){const c=this.subscriptions[u];c&&c(n,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const We=t=>t*1e3,dn=t=>t/1e3;function Bx(t,n){return n?t*(1e3/n):0}const Vx=(t,n,s)=>(((1-3*s+3*n)*t+(3*s-6*n))*t+3*n)*t,iD=1e-7,sD=12;function aD(t,n,s,r,l){let u,c,h=0;do c=n+(s-n)/2,u=Vx(c,r,l)-t,u>0?s=c:n=c;while(Math.abs(u)>iD&&++h<sD);return c}function uo(t,n,s,r){if(t===n&&s===r)return hn;const l=u=>aD(u,0,1,t,s);return u=>u===0||u===1?u:Vx(l(u),n,r)}const Ux=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,kx=t=>n=>1-t(1-n),Hx=uo(.33,1.53,.69,.99),qh=kx(Hx),qx=Ux(qh),Fx=t=>t>=1?1:(t*=2)<1?.5*qh(t):.5*(2-Math.pow(2,-10*(t-1))),Fh=t=>1-Math.sin(Math.acos(t)),Gx=kx(Fh),Yx=Ux(Fh),rD=uo(.42,0,1,1),oD=uo(0,0,.58,1),Ix=uo(.42,0,.58,1),lD=t=>Array.isArray(t)&&typeof t[0]!="number",Xx=t=>Array.isArray(t)&&typeof t[0]=="number",uD={linear:hn,easeIn:rD,easeInOut:Ix,easeOut:oD,circIn:Fh,circInOut:Yx,circOut:Gx,backIn:qh,backInOut:qx,backOut:Hx,anticipate:Fx},cD=t=>typeof t=="string",A0=t=>{if(Xx(t)){kh(t.length===4);const[n,s,r,l]=t;return uo(n,s,r,l)}else if(cD(t))return uD[t];return t},Ul=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function fD(t,n){let s=new Set,r=new Set,l=!1,u=!1;const c=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(g){c.has(g)&&(p.schedule(g),t()),g(h)}const p={schedule:(g,y=!1,b=!1)=>{const w=b&&l?s:r;return y&&c.add(g),w.add(g),g},cancel:g=>{r.delete(g),c.delete(g)},process:g=>{if(h=g,l){u=!0;return}l=!0;const y=s;s=r,r=y,s.forEach(m),s.clear(),l=!1,u&&(u=!1,p.process(g))}};return p}const dD=40;function Kx(t,n){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>s=!0,c=Ul.reduce((L,j)=>(L[j]=fD(u),L),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:g,update:y,preRender:b,render:S,postRender:w}=c,A=()=>{const L=qi.useManualTiming,j=L?l.timestamp:performance.now();s=!1,L||(l.delta=r?1e3/60:Math.max(Math.min(j-l.timestamp,dD),1)),l.timestamp=j,l.isProcessing=!0,h.process(l),m.process(l),p.process(l),g.process(l),y.process(l),b.process(l),S.process(l),w.process(l),l.isProcessing=!1,s&&n&&(r=!1,t(A))},E=()=>{s=!0,r=!0,l.isProcessing||t(A)};return{schedule:Ul.reduce((L,j)=>{const F=c[j];return L[j]=(I,G=!1,N=!1)=>(s||E(),F.schedule(I,G,N)),L},{}),cancel:L=>{for(let j=0;j<Ul.length;j++)c[Ul[j]].cancel(L)},state:l,steps:c}}const{schedule:kt,cancel:Fi,state:xe,steps:vd}=Kx(typeof requestAnimationFrame<"u"?requestAnimationFrame:hn,!0);let Jl;function hD(){Jl=void 0}const _e={now:()=>(Jl===void 0&&_e.set(xe.isProcessing||qi.useManualTiming?xe.timestamp:performance.now()),Jl),set:t=>{Jl=t,queueMicrotask(hD)}},Qx=t=>n=>typeof n=="string"&&n.startsWith(t),Zx=Qx("--"),mD=Qx("var(--"),Gh=t=>mD(t)?pD.test(t.split("/*")[0].trim()):!1,pD=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function R0(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const za={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},io={...za,transform:t=>zn(0,1,t)},kl={...za,default:1},Fr=t=>Math.round(t*1e5)/1e5,Yh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gD(t){return t==null}const yD=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ih=(t,n)=>s=>!!(typeof s=="string"&&yD.test(s)&&s.startsWith(t)||n&&!gD(s)&&Object.prototype.hasOwnProperty.call(s,n)),Jx=(t,n,s)=>r=>{if(typeof r!="string")return r;const[l,u,c,h]=r.match(Yh);return{[t]:parseFloat(l),[n]:parseFloat(u),[s]:parseFloat(c),alpha:h!==void 0?parseFloat(h):1}},vD=t=>zn(0,255,t),bd={...za,transform:t=>Math.round(vD(t))},ws={test:Ih("rgb","red"),parse:Jx("red","green","blue"),transform:({red:t,green:n,blue:s,alpha:r=1})=>"rgba("+bd.transform(t)+", "+bd.transform(n)+", "+bd.transform(s)+", "+Fr(io.transform(r))+")"};function bD(t){let n="",s="",r="",l="";return t.length>5?(n=t.substring(1,3),s=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),s=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),n+=n,s+=s,r+=r,l+=l),{red:parseInt(n,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const Zd={test:Ih("#"),parse:bD,transform:ws.transform},co=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),zi=co("deg"),jn=co("%"),ot=co("px"),SD=co("vh"),xD=co("vw"),C0={...jn,parse:t=>jn.parse(t)/100,transform:t=>jn.transform(t*100)},Ea={test:Ih("hsl","hue"),parse:Jx("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:s,alpha:r=1})=>"hsla("+Math.round(t)+", "+jn.transform(Fr(n))+", "+jn.transform(Fr(s))+", "+Fr(io.transform(r))+")"},se={test:t=>ws.test(t)||Zd.test(t)||Ea.test(t),parse:t=>ws.test(t)?ws.parse(t):Ea.test(t)?Ea.parse(t):Zd.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ws.transform(t):Ea.transform(t),getAnimatableNone:t=>{const n=se.parse(t);return n.alpha=0,se.transform(n)}},wD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function TD(t){return isNaN(t)&&typeof t=="string"&&(t.match(Yh)?.length||0)+(t.match(wD)?.length||0)>0}const $x="number",Wx="color",ED="var",AD="var(",M0="${}",RD=/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 Da(t){const n=t.toString(),s=[],r={color:[],number:[],var:[]},l=[];let u=0;const h=n.replace(RD,m=>(se.test(m)?(r.color.push(u),l.push(Wx),s.push(se.parse(m))):m.startsWith(AD)?(r.var.push(u),l.push(ED),s.push(m)):(r.number.push(u),l.push($x),s.push(parseFloat(m))),++u,M0)).split(M0);return{values:s,split:h,indexes:r,types:l}}function CD(t){return Da(t).values}function t1({split:t,types:n}){const s=t.length;return r=>{let l="";for(let u=0;u<s;u++)if(l+=t[u],r[u]!==void 0){const c=n[u];c===$x?l+=Fr(r[u]):c===Wx?l+=se.transform(r[u]):l+=r[u]}return l}}function MD(t){return t1(Da(t))}const _D=t=>typeof t=="number"?0:se.test(t)?se.getAnimatableNone(t):t,OD=(t,n)=>typeof t=="number"?n?.trim().endsWith("/")?t:0:_D(t);function DD(t){const n=Da(t);return t1(n)(n.values.map((r,l)=>OD(r,n.split[l])))}const xn={test:TD,parse:CD,createTransformer:MD,getAnimatableNone:DD};function Sd(t,n,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(n-t)*6*s:s<1/2?n:s<2/3?t+(n-t)*(2/3-s)*6:t}function jD({hue:t,saturation:n,lightness:s,alpha:r}){t/=360,n/=100,s/=100;let l=0,u=0,c=0;if(!n)l=u=c=s;else{const h=s<.5?s*(1+n):s+n-s*n,m=2*s-h;l=Sd(m,h,t+1/3),u=Sd(m,h,t),c=Sd(m,h,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:r}}function gu(t,n){return s=>s>0?n:t}const Gt=(t,n,s)=>t+(n-t)*s,xd=(t,n,s)=>{const r=t*t,l=s*(n*n-r)+r;return l<0?0:Math.sqrt(l)},zD=[Zd,ws,Ea],LD=t=>zD.find(n=>n.test(t));function _0(t){const n=LD(t);if(!n)return!1;let s=n.parse(t);return n===Ea&&(s=jD(s)),s}const O0=(t,n)=>{const s=_0(t),r=_0(n);if(!s||!r)return gu(t,n);const l={...s};return u=>(l.red=xd(s.red,r.red,u),l.green=xd(s.green,r.green,u),l.blue=xd(s.blue,r.blue,u),l.alpha=Gt(s.alpha,r.alpha,u),ws.transform(l))},Jd=new Set(["none","hidden"]);function ND(t,n){return Jd.has(t)?s=>s<=0?t:n:s=>s>=1?n:t}function PD(t,n){return s=>Gt(t,n,s)}function Xh(t){return typeof t=="number"?PD:typeof t=="string"?Gh(t)?gu:se.test(t)?O0:UD:Array.isArray(t)?e1:typeof t=="object"?se.test(t)?O0:BD:gu}function e1(t,n){const s=[...t],r=s.length,l=t.map((u,c)=>Xh(u)(u,n[c]));return u=>{for(let c=0;c<r;c++)s[c]=l[c](u);return s}}function BD(t,n){const s={...t,...n},r={};for(const l in s)t[l]!==void 0&&n[l]!==void 0&&(r[l]=Xh(t[l])(t[l],n[l]));return l=>{for(const u in r)s[u]=r[u](l);return s}}function VD(t,n){const s=[],r={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const u=n.types[l],c=t.indexes[u][r[u]],h=t.values[c]??0;s[l]=h,r[u]++}return s}const UD=(t,n)=>{const s=xn.createTransformer(n),r=Da(t),l=Da(n);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?Jd.has(t)&&!l.values.length||Jd.has(n)&&!r.values.length?ND(t,n):lo(e1(VD(r,l),l.values),s):gu(t,n)};function n1(t,n,s){return typeof t=="number"&&typeof n=="number"&&typeof s=="number"?Gt(t,n,s):Xh(t)(t,n)}const kD=t=>{const n=({timestamp:s})=>t(s);return{start:(s=!0)=>kt.update(n,s),stop:()=>Fi(n),now:()=>xe.isProcessing?xe.timestamp:_e.now()}},i1=(t,n,s=10)=>{let r="";const l=Math.max(Math.round(n/s),2);for(let u=0;u<l;u++)r+=Math.round(t(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},yu=2e4;function Kh(t){let n=0;const s=50;let r=t.next(n);for(;!r.done&&n<yu;)n+=s,r=t.next(n);return n>=yu?1/0:n}function HD(t,n=100,s){const r=s({...t,keyframes:[0,n]}),l=Math.min(Kh(r),yu);return{type:"keyframes",ease:u=>r.next(l*u).value/n,duration:dn(l)}}const Zt={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 $d(t,n){return t*Math.sqrt(1-n*n)}const qD=12;function FD(t,n,s){let r=s;for(let l=1;l<qD;l++)r=r-t(r)/n(r);return r}const wd=.001;function GD({duration:t=Zt.duration,bounce:n=Zt.bounce,velocity:s=Zt.velocity,mass:r=Zt.mass}){let l,u,c=1-n;c=zn(Zt.minDamping,Zt.maxDamping,c),t=zn(Zt.minDuration,Zt.maxDuration,dn(t)),c<1?(l=p=>{const g=p*c,y=g*t,b=g-s,S=$d(p,c),w=Math.exp(-y);return wd-b/S*w},u=p=>{const y=p*c*t,b=y*s+s,S=Math.pow(c,2)*Math.pow(p,2)*t,w=Math.exp(-y),A=$d(Math.pow(p,2),c);return(-l(p)+wd>0?-1:1)*((b-S)*w)/A}):(l=p=>{const g=Math.exp(-p*t),y=(p-s)*t+1;return-wd+g*y},u=p=>{const g=Math.exp(-p*t),y=(s-p)*(t*t);return g*y});const h=5/t,m=FD(l,u,h);if(t=We(t),isNaN(m))return{stiffness:Zt.stiffness,damping:Zt.damping,duration:t};{const p=Math.pow(m,2)*r;return{stiffness:p,damping:c*2*Math.sqrt(r*p),duration:t}}}const YD=["duration","bounce"],ID=["stiffness","damping","mass"];function D0(t,n){return n.some(s=>t[s]!==void 0)}function XD(t){let n={velocity:Zt.velocity,stiffness:Zt.stiffness,damping:Zt.damping,mass:Zt.mass,isResolvedFromDuration:!1,...t};if(!D0(t,ID)&&D0(t,YD))if(n.velocity=0,t.visualDuration){const s=t.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,u=2*zn(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:Zt.mass,stiffness:l,damping:u}}else{const s=GD({...t,velocity:0});n={...n,...s,mass:Zt.mass},n.isResolvedFromDuration=!0}return n}function vu(t=Zt.visualDuration,n=Zt.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:r,restDelta:l}=s;const u=s.keyframes[0],c=s.keyframes[s.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:g,duration:y,velocity:b,isResolvedFromDuration:S}=XD({...s,velocity:-dn(s.velocity||0)}),w=b||0,A=p/(2*Math.sqrt(m*g)),E=c-u,R=dn(Math.sqrt(m/g)),O=Math.abs(E)<5;r||(r=O?Zt.restSpeed.granular:Zt.restSpeed.default),l||(l=O?Zt.restDelta.granular:Zt.restDelta.default);let L,j,F,I,G,N;if(A<1)F=$d(R,A),I=(w+A*R*E)/F,L=J=>{const tt=Math.exp(-A*R*J);return c-tt*(I*Math.sin(F*J)+E*Math.cos(F*J))},G=A*R*I+E*F,N=A*R*E-I*F,j=J=>Math.exp(-A*R*J)*(G*Math.sin(F*J)+N*Math.cos(F*J));else if(A===1){L=tt=>c-Math.exp(-R*tt)*(E+(w+R*E)*tt);const J=w+R*E;j=tt=>Math.exp(-R*tt)*(R*J*tt-w)}else{const J=R*Math.sqrt(A*A-1);L=At=>{const vt=Math.exp(-A*R*At),k=Math.min(J*At,300);return c-vt*((w+A*R*E)*Math.sinh(k)+J*E*Math.cosh(k))/J};const tt=(w+A*R*E)/J,ct=A*R*tt-E*J,yt=A*R*E-tt*J;j=At=>{const vt=Math.exp(-A*R*At),k=Math.min(J*At,300);return vt*(ct*Math.sinh(k)+yt*Math.cosh(k))}}const X={calculatedDuration:S&&y||null,velocity:J=>We(j(J)),next:J=>{if(!S&&A<1){const ct=Math.exp(-A*R*J),yt=Math.sin(F*J),At=Math.cos(F*J),vt=c-ct*(I*yt+E*At),k=We(ct*(G*yt+N*At));return h.done=Math.abs(k)<=r&&Math.abs(c-vt)<=l,h.value=h.done?c:vt,h}const tt=L(J);if(S)h.done=J>=y;else{const ct=We(j(J));h.done=Math.abs(ct)<=r&&Math.abs(c-tt)<=l}return h.value=h.done?c:tt,h},toString:()=>{const J=Math.min(Kh(X),yu),tt=i1(ct=>X.next(J*ct).value,J,30);return J+"ms "+tt},toTransition:()=>{}};return X}vu.applyToOptions=t=>{const n=HD(t,100,vu);return t.ease=n.ease,t.duration=We(n.duration),t.type="keyframes",t};const KD=5;function s1(t,n,s){const r=Math.max(n-KD,0);return Bx(s-t(r),n-r)}function Wd({keyframes:t,velocity:n=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:c,min:h,max:m,restDelta:p=.5,restSpeed:g}){const y=t[0],b={done:!1,value:y},S=N=>h!==void 0&&N<h||m!==void 0&&N>m,w=N=>h===void 0?m:m===void 0||Math.abs(h-N)<Math.abs(m-N)?h:m;let A=s*n;const E=y+A,R=c===void 0?E:c(E);R!==E&&(A=R-y);const O=N=>-A*Math.exp(-N/r),L=N=>R+O(N),j=N=>{const X=O(N),J=L(N);b.done=Math.abs(X)<=p,b.value=b.done?R:J};let F,I;const G=N=>{S(b.value)&&(F=N,I=vu({keyframes:[b.value,w(b.value)],velocity:s1(L,N,b.value),damping:l,stiffness:u,restDelta:p,restSpeed:g}))};return G(0),{calculatedDuration:null,next:N=>{let X=!1;return!I&&F===void 0&&(X=!0,j(N),G(N)),F!==void 0&&N>=F?I.next(N-F):(!X&&j(N),b)}}}function QD(t,n,s){const r=[],l=s||qi.mix||n1,u=t.length-1;for(let c=0;c<u;c++){let h=l(t[c],t[c+1]);if(n){const m=Array.isArray(n)?n[c]||hn:n;h=lo(m,h)}r.push(h)}return r}function ZD(t,n,{clamp:s=!0,ease:r,mixer:l}={}){const u=t.length;if(kh(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const c=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=QD(n,r,l),m=h.length,p=g=>{if(c&&g<t[0])return n[0];let y=0;if(m>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const b=no(t[y],t[y+1],g);return h[y](b)};return s?g=>p(zn(t[0],t[u-1],g)):p}function JD(t,n){const s=t[t.length-1];for(let r=1;r<=n;r++){const l=no(0,n,r);t.push(Gt(s,1,l))}}function $D(t){const n=[0];return JD(n,t.length-1),n}function WD(t,n){return t.map(s=>s*n)}function tj(t,n){return t.map(()=>n||Ix).splice(0,t.length-1)}function Gr({duration:t=300,keyframes:n,times:s,ease:r="easeInOut"}){const l=lD(r)?r.map(A0):A0(r),u={done:!1,value:n[0]},c=WD(s&&s.length===n.length?s:$D(n),t),h=ZD(c,n,{ease:Array.isArray(l)?l:tj(n,l)});return{calculatedDuration:t,next:m=>(u.value=h(m),u.done=m>=t,u)}}const ej=t=>t!==null;function Lu(t,{repeat:n,repeatType:s="loop"},r,l=1){const u=t.filter(ej),h=l<0||n&&s!=="loop"&&n%2===1?0:u.length-1;return!h||r===void 0?u[h]:r}const nj={decay:Wd,inertia:Wd,tween:Gr,keyframes:Gr,spring:vu};function a1(t){typeof t.type=="string"&&(t.type=nj[t.type])}class Qh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,s){return this.finished.then(n,s)}}const ij=t=>t/100;class bu extends Qh{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==_e.now()&&this.tick(_e.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;a1(n);const{type:s=Gr,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:c=0}=n;let{keyframes:h}=n;const m=s||Gr;m!==Gr&&typeof h[0]!="number"&&(this.mixKeyframes=lo(ij,n1(h[0],h[1])),h=[0,100]);const p=m({...n,keyframes:h});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...h].reverse(),velocity:-c})),p.calculatedDuration===null&&(p.calculatedDuration=Kh(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=p}updateTime(n){const s=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(n,s=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:c,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:g,repeat:y,repeatType:b,repeatDelay:S,type:w,onUpdate:A,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),s?this.currentTime=n:this.updateTime(n);const R=this.currentTime-p*(this.playbackSpeed>=0?1:-1),O=this.playbackSpeed>=0?R<0:R>l;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let L=this.currentTime,j=r;if(y){const N=Math.min(this.currentTime,l)/h;let X=Math.floor(N),J=N%1;!J&&N>=1&&(J=1),J===1&&X--,X=Math.min(X,y+1),X%2&&(b==="reverse"?(J=1-J,S&&(J-=S/h)):b==="mirror"&&(j=c)),L=zn(0,1,J)*h}let F;O?(this.delayState.value=g[0],F=this.delayState):F=j.next(L),u&&!O&&(F.value=u(F.value));let{done:I}=F;!O&&m!==null&&(I=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const G=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return G&&w!==Wd&&(F.value=Lu(g,this.options,E,this.speed)),A&&A(F.value),G&&this.finish(),F}then(n,s){return this.finished.then(n,s)}get duration(){return dn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+dn(n)}get time(){return dn(this.currentTime)}set time(n){n=We(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const s=this.generator.next(n).value;return s1(r=>this.generator.next(r).value,n,s)}get speed(){return this.playbackSpeed}set speed(n){const s=this.playbackSpeed!==n;s&&this.driver&&this.updateTime(_e.now()),this.playbackSpeed=n,s&&this.driver&&(this.time=dn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=kD,startTime:s}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(_e.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function sj(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Ts=t=>t*180/Math.PI,th=t=>{const n=Ts(Math.atan2(t[1],t[0]));return eh(n)},aj={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:th,rotateZ:th,skewX:t=>Ts(Math.atan(t[1])),skewY:t=>Ts(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},eh=t=>(t=t%360,t<0&&(t+=360),t),j0=th,z0=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),L0=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),rj={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:z0,scaleY:L0,scale:t=>(z0(t)+L0(t))/2,rotateX:t=>eh(Ts(Math.atan2(t[6],t[5]))),rotateY:t=>eh(Ts(Math.atan2(-t[2],t[0]))),rotateZ:j0,rotate:j0,skewX:t=>Ts(Math.atan(t[4])),skewY:t=>Ts(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function nh(t){return t.includes("scale")?1:0}function ih(t,n){if(!t||t==="none")return nh(n);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=rj,l=s;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=aj,l=h}if(!l)return nh(n);const u=r[n],c=l[1].split(",").map(lj);return typeof u=="function"?u(c):c[u]}const oj=(t,n)=>{const{transform:s="none"}=getComputedStyle(t);return ih(s,n)};function lj(t){return parseFloat(t.trim())}const La=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Na=new Set(La),N0=t=>t===za||t===ot,uj=new Set(["x","y","z"]),cj=La.filter(t=>!uj.has(t));function fj(t){const n=[];return cj.forEach(s=>{const r=t.getValue(s);r!==void 0&&(n.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),n}const Ui={width:({x:t},{paddingLeft:n="0",paddingRight:s="0",boxSizing:r})=>{const l=t.max-t.min;return r==="border-box"?l:l-parseFloat(n)-parseFloat(s)},height:({y:t},{paddingTop:n="0",paddingBottom:s="0",boxSizing:r})=>{const l=t.max-t.min;return r==="border-box"?l:l-parseFloat(n)-parseFloat(s)},top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>ih(n,"x"),y:(t,{transform:n})=>ih(n,"y")};Ui.translateX=Ui.x;Ui.translateY=Ui.y;const Rs=new Set;let sh=!1,ah=!1,rh=!1;function r1(){if(ah){const t=Array.from(Rs).filter(r=>r.needsMeasurement),n=new Set(t.map(r=>r.element)),s=new Map;n.forEach(r=>{const l=fj(r);l.length&&(s.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),n.forEach(r=>{r.render();const l=s.get(r);l&&l.forEach(([u,c])=>{r.getValue(u)?.set(c)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ah=!1,sh=!1,Rs.forEach(t=>t.complete(rh)),Rs.clear()}function o1(){Rs.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ah=!0)})}function dj(){rh=!0,o1(),r1(),rh=!1}class Zh{constructor(n,s,r,l,u,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=s,this.name=r,this.motionValue=l,this.element=u,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(Rs.add(this),sh||(sh=!0,kt.read(o1),kt.resolveKeyframes(r1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:s,element:r,motionValue:l}=this;if(n[0]===null){const u=l?.get(),c=n[n.length-1];if(u!==void 0)n[0]=u;else if(r&&s){const h=r.readValue(s,c);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=c),l&&u===void 0&&l.set(n[0])}sj(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Rs.delete(this)}cancel(){this.state==="scheduled"&&(Rs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const hj=t=>t.startsWith("--");function l1(t,n,s){hj(n)?t.style.setProperty(n,s):t.style[n]=s}const mj={};function u1(t,n){const s=Px(t);return()=>mj[n]??s()}const pj=u1(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),c1=u1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Hr=([t,n,s,r])=>`cubic-bezier(${t}, ${n}, ${s}, ${r})`,P0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Hr([0,.65,.55,1]),circOut:Hr([.55,0,1,.45]),backIn:Hr([.31,.01,.66,-.59]),backOut:Hr([.33,1.53,.69,.99])};function f1(t,n){if(t)return typeof t=="function"?c1()?i1(t,n):"ease-out":Xx(t)?Hr(t):Array.isArray(t)?t.map(s=>f1(s,n)||P0.easeOut):P0[t]}function gj(t,n,s,{delay:r=0,duration:l=300,repeat:u=0,repeatType:c="loop",ease:h="easeOut",times:m}={},p=void 0){const g={[n]:s};m&&(g.offset=m);const y=f1(h,l);Array.isArray(y)&&(g.easing=y);const b={delay:r,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"};return p&&(b.pseudoElement=p),t.animate(g,b)}function d1(t){return typeof t=="function"&&"applyToOptions"in t}function yj({type:t,...n}){return d1(t)&&c1()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class h1 extends Qh{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:s,name:r,keyframes:l,pseudoElement:u,allowFlatten:c=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=c,this.options=n,kh(typeof n.type!="string");const p=yj(n);this.animation=gj(s,r,l,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=Lu(l,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),l1(s,r,g),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const n=this.options?.element;!this.isPseudoElement&&n?.isConnected&&this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return dn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+dn(n)}get time(){return dn(Number(this.animation.currentTime)||0)}set time(n){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=We(n),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:s,rangeEnd:r,observe:l}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&pj()?(this.animation.timeline=n,s&&(this.animation.rangeStart=s),r&&(this.animation.rangeEnd=r),hn):l(this)}}const m1={anticipate:Fx,backInOut:qx,circInOut:Yx};function vj(t){return t in m1}function bj(t){typeof t.ease=="string"&&vj(t.ease)&&(t.ease=m1[t.ease])}const Td=10;class Sj extends h1{constructor(n){bj(n),a1(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:s,onUpdate:r,onComplete:l,element:u,...c}=this.options;if(!s)return;if(n!==void 0){s.set(n);return}const h=new bu({...c,autoplay:!1}),m=Math.max(Td,_e.now()-this.startTime),p=zn(0,Td,m-Td),g=h.sample(m).value,{name:y}=this.options;u&&y&&l1(u,y,g),s.setWithVelocity(h.sample(Math.max(0,m-p)).value,g,p),h.stop()}}const B0=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(xn.test(t)||t==="0")&&!t.startsWith("url("));function xj(t){const n=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==n)return!0}function wj(t,n,s,r){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],c=B0(l,n),h=B0(u,n);return!c||!h?!1:xj(t)||(s==="spring"||d1(s))&&r}function oh(t){t.duration=0,t.type="keyframes"}const p1=new Set(["opacity","clipPath","filter","transform"]),Tj=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Ej(t){for(let n=0;n<t.length;n++)if(typeof t[n]=="string"&&Tj.test(t[n]))return!0;return!1}const Aj=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Rj=Px(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Cj(t){const{motionValue:n,name:s,repeatDelay:r,repeatType:l,damping:u,type:c,keyframes:h}=t;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return Rj()&&s&&(p1.has(s)||Aj.has(s)&&Ej(h))&&(s!=="transform"||!g)&&!p&&!r&&l!=="mirror"&&u!==0&&c!=="inertia"}const Mj=40;class _j extends Qh{constructor({autoplay:n=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:c="loop",keyframes:h,name:m,motionValue:p,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=_e.now();const b={autoplay:n,delay:s,type:r,repeat:l,repeatDelay:u,repeatType:c,name:m,motionValue:p,element:g,...y},S=g?.KeyframeResolver||Zh;this.keyframeResolver=new S(h,(w,A,E)=>this.onKeyframesResolved(w,A,b,!E),m,p,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,s,r,l){this.keyframeResolver=void 0;const{name:u,type:c,velocity:h,delay:m,isHandoff:p,onUpdate:g}=r;this.resolvedAt=_e.now();let y=!0;wj(n,u,c,h)||(y=!1,(qi.instantAnimations||!m)&&g?.(Lu(n,r,s)),n[0]=n[n.length-1],oh(r),r.repeat=0);const S={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>Mj?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:n},w=y&&!p&&Cj(S),A=S.motionValue?.owner?.current;let E;if(w)try{E=new Sj({...S,element:A})}catch{E=new bu(S)}else E=new bu(S);E.finished.then(()=>{this.notifyFinished()}).catch(hn),this.pendingTimeline&&(this.stopTimeline=E.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=E}get finished(){return this._animation?this.animation.finished:this._finished}then(n,s){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),dj()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function g1(t,n,s,r=0,l=1){const u=Array.from(t).sort((p,g)=>p.sortNodePosition(g)).indexOf(n),c=t.size,h=(c-1)*r;return typeof s=="function"?s(u,c):l===1?u*r:h-u*r}const Oj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dj(t){const n=Oj.exec(t);if(!n)return[,];const[,s,r,l]=n;return[`--${s??r}`,l]}function y1(t,n,s=1){const[r,l]=Dj(t);if(!r)return;const u=window.getComputedStyle(n).getPropertyValue(r);if(u){const c=u.trim();return zx(c)?parseFloat(c):c}return Gh(l)?y1(l,n,s+1):l}const jj={type:"spring",stiffness:500,damping:25,restSpeed:10},zj=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Lj={type:"keyframes",duration:.8},Nj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pj=(t,{keyframes:n})=>n.length>2?Lj:Na.has(t)?t.startsWith("scale")?zj(n[1]):jj:Nj;function v1(t,n){if(t?.inherit&&n){const{inherit:s,...r}=t;return{...n,...r}}return t}function Jh(t,n){const s=t?.[n]??t?.default??t;return s!==t?v1(s,t):s}const Bj=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Vj(t){for(const n in t)if(!Bj.has(n))return!0;return!1}const $h=(t,n,s,r={},l,u)=>c=>{const h=Jh(r,t)||{},m=h.delay||r.delay||0;let{elapsed:p=0}=r;p=p-We(m);const g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:b=>{n.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{c(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:u?void 0:l};Vj(h)||Object.assign(g,Pj(t,g)),g.duration&&(g.duration=We(g.duration)),g.repeatDelay&&(g.repeatDelay=We(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(oh(g),g.delay===0&&(y=!0)),(qi.instantAnimations||qi.skipAnimations||l?.shouldSkipAnimations)&&(y=!0,oh(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,y&&!u&&n.get()!==void 0){const b=Lu(g.keyframes,h);if(b!==void 0){kt.update(()=>{g.onUpdate(b),g.onComplete()});return}}return h.isSync?new bu(g):new _j(g)};function V0(t){const n=[{},{}];return t?.values.forEach((s,r)=>{n[0][r]=s.get(),n[1][r]=s.getVelocity()}),n}function Wh(t,n,s,r){if(typeof n=="function"){const[l,u]=V0(r);n=n(s!==void 0?s:t.custom,l,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,u]=V0(r);n=n(s!==void 0?s:t.custom,l,u)}return n}function Cs(t,n,s){const r=t.getProps();return Wh(r,n,s!==void 0?s:r.custom,t)}const b1=new Set(["width","height","top","left","right","bottom",...La]),U0=30,Uj=t=>!isNaN(parseFloat(t));class kj{constructor(n,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=_e.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=s.owner}setCurrent(n){this.current=n,this.updatedAt=_e.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=Uj(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,s){this.events[n]||(this.events[n]=new Hh);const r=this.events[n].add(s);return n==="change"?()=>{r(),kt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,s){this.passiveEffect=n,this.stopPassiveEffect=s}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-r}jump(n,s=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=_e.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>U0)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,U0);return Bx(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(n){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=n(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ja(t,n){return new kj(t,n)}const lh=t=>Array.isArray(t);function Hj(t,n,s){t.hasValue(n)?t.getValue(n).set(s):t.addValue(n,ja(s))}function qj(t){return lh(t)?t[t.length-1]||0:t}function Fj(t,n){const s=Cs(t,n);let{transitionEnd:r={},transition:l={},...u}=s||{};u={...u,...r};for(const c in u){const h=qj(u[c]);Hj(t,c,h)}}const Te=t=>!!(t&&t.getVelocity);function Gj(t){return!!(Te(t)&&t.add)}function uh(t,n){const s=t.getValue("willChange");if(Gj(s))return s.add(n);if(!s&&qi.WillChange){const r=new qi.WillChange("auto");t.addValue("willChange",r),r.add(n)}}function tm(t){return t.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const Yj="framerAppearId",S1="data-"+tm(Yj);function x1(t){return t.props[S1]}function Ij({protectedKeys:t,needsAnimating:n},s){const r=t.hasOwnProperty(s)&&n[s]!==!0;return n[s]=!1,r}function w1(t,n,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:u,transitionEnd:c,...h}=n;const m=t.getDefaultTransition();u=u?v1(u,m):m;const p=u?.reduceMotion;r&&(u=r);const g=[],y=l&&t.animationState&&t.animationState.getState()[l];for(const b in h){const S=t.getValue(b,t.latestValues[b]??null),w=h[b];if(w===void 0||y&&Ij(y,b))continue;const A={delay:s,...Jh(u||{},b)},E=S.get();if(E!==void 0&&!S.isAnimating()&&!Array.isArray(w)&&w===E&&!A.velocity){kt.update(()=>S.set(w));continue}let R=!1;if(window.MotionHandoffAnimation){const j=x1(t);if(j){const F=window.MotionHandoffAnimation(j,b,kt);F!==null&&(A.startTime=F,R=!0)}}uh(t,b);const O=p??t.shouldReduceMotion;S.start($h(b,S,w,O&&b1.has(b)?{type:!1}:A,t,R));const L=S.animation;L&&g.push(L)}if(c){const b=()=>kt.update(()=>{c&&Fj(t,c)});g.length?Promise.all(g).then(b):b()}return g}function ch(t,n,s={}){const r=Cs(t,n,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(l=s.transitionOverride);const u=r?()=>Promise.all(w1(t,r,s)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=l;return Xj(t,n,m,p,g,y,s)}:()=>Promise.resolve(),{when:h}=l;if(h){const[m,p]=h==="beforeChildren"?[u,c]:[c,u];return m().then(()=>p())}else return Promise.all([u(),c(s.delay)])}function Xj(t,n,s=0,r=0,l=0,u=1,c){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push(ch(m,n,{...c,delay:s+(typeof r=="function"?0:r)+g1(t.variantChildren,m,r,l,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function Kj(t,n,s={}){t.notify("AnimationStart",n);let r;if(Array.isArray(n)){const l=n.map(u=>ch(t,u,s));r=Promise.all(l)}else if(typeof n=="string")r=ch(t,n,s);else{const l=typeof n=="function"?Cs(t,n,s.custom):n;r=Promise.all(w1(t,l,s))}return r.then(()=>{t.notify("AnimationComplete",n)})}const Qj={test:t=>t==="auto",parse:t=>t},T1=t=>n=>n.test(t),E1=[za,ot,jn,zi,xD,SD,Qj],k0=t=>E1.find(T1(t));function Zj(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Nx(t):!0}const Jj=new Set(["brightness","contrast","saturate","opacity"]);function $j(t){const[n,s]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[r]=s.match(Yh)||[];if(!r)return t;const l=s.replace(r,"");let u=Jj.has(n)?1:0;return r!==s&&(u*=100),n+"("+u+l+")"}const Wj=/\b([a-z-]*)\(.*?\)/gu,fh={...xn,getAnimatableNone:t=>{const n=t.match(Wj);return n?n.map($j).join(" "):t}},dh={...xn,getAnimatableNone:t=>{const n=xn.parse(t);return xn.createTransformer(t)(n.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},H0={...za,transform:Math.round},t3={rotate:zi,rotateX:zi,rotateY:zi,rotateZ:zi,scale:kl,scaleX:kl,scaleY:kl,scaleZ:kl,skew:zi,skewX:zi,skewY:zi,distance:ot,translateX:ot,translateY:ot,translateZ:ot,x:ot,y:ot,z:ot,perspective:ot,transformPerspective:ot,opacity:io,originX:C0,originY:C0,originZ:ot},em={borderWidth:ot,borderTopWidth:ot,borderRightWidth:ot,borderBottomWidth:ot,borderLeftWidth:ot,borderRadius:ot,borderTopLeftRadius:ot,borderTopRightRadius:ot,borderBottomRightRadius:ot,borderBottomLeftRadius:ot,width:ot,maxWidth:ot,height:ot,maxHeight:ot,top:ot,right:ot,bottom:ot,left:ot,inset:ot,insetBlock:ot,insetBlockStart:ot,insetBlockEnd:ot,insetInline:ot,insetInlineStart:ot,insetInlineEnd:ot,padding:ot,paddingTop:ot,paddingRight:ot,paddingBottom:ot,paddingLeft:ot,paddingBlock:ot,paddingBlockStart:ot,paddingBlockEnd:ot,paddingInline:ot,paddingInlineStart:ot,paddingInlineEnd:ot,margin:ot,marginTop:ot,marginRight:ot,marginBottom:ot,marginLeft:ot,marginBlock:ot,marginBlockStart:ot,marginBlockEnd:ot,marginInline:ot,marginInlineStart:ot,marginInlineEnd:ot,fontSize:ot,backgroundPositionX:ot,backgroundPositionY:ot,...t3,zIndex:H0,fillOpacity:io,strokeOpacity:io,numOctaves:H0},e3={...em,color:se,backgroundColor:se,outlineColor:se,fill:se,stroke:se,borderColor:se,borderTopColor:se,borderRightColor:se,borderBottomColor:se,borderLeftColor:se,filter:fh,WebkitFilter:fh,mask:dh,WebkitMask:dh},A1=t=>e3[t],n3=new Set([fh,dh]);function R1(t,n){let s=A1(t);return n3.has(s)||(s=xn),s.getAnimatableNone?s.getAnimatableNone(n):void 0}const i3=new Set(["auto","none","0"]);function s3(t,n,s){let r=0,l;for(;r<t.length&&!l;){const u=t[r];typeof u=="string"&&!i3.has(u)&&Da(u).values.length&&(l=t[r]),r++}if(l&&s)for(const u of n)t[u]=R1(s,l)}class a3 extends Zh{constructor(n,s,r,l,u){super(n,s,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let g=0;g<n.length;g++){let y=n[g];if(typeof y=="string"&&(y=y.trim(),Gh(y))){const b=y1(y,s.current);b!==void 0&&(n[g]=b),g===n.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!b1.has(r)||n.length!==2)return;const[l,u]=n,c=k0(l),h=k0(u),m=R0(l),p=R0(u);if(m!==p&&Ui[r]){this.needsMeasurement=!0;return}if(c!==h)if(N0(c)&&N0(h))for(let g=0;g<n.length;g++){const y=n[g];typeof y=="string"&&(n[g]=parseFloat(y))}else Ui[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:s}=this,r=[];for(let l=0;l<n.length;l++)(n[l]===null||Zj(n[l]))&&r.push(l);r.length&&s3(n,r,s)}measureInitialState(){const{element:n,unresolvedKeyframes:s,name:r}=this;if(!n||!n.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ui[r](n.measureViewportBox(),window.getComputedStyle(n.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&n.getValue(r,l).jump(l,!1)}measureEndState(){const{element:n,name:s,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const l=n.getValue(s);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,c=r[u];r[u]=Ui[s](n.measureViewportBox(),window.getComputedStyle(n.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,m])=>{n.getValue(h).set(m)}),this.resolveNoneKeyframes()}}function C1(t,n,s){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const l=s?.[t]??r.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t).filter(r=>r!=null)}const M1=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function $l(t){return Lx(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:nm}=Kx(queueMicrotask,!1),bn={x:!1,y:!1};function _1(){return bn.x||bn.y}function r3(t){return t==="x"||t==="y"?bn[t]?null:(bn[t]=!0,()=>{bn[t]=!1}):bn.x||bn.y?null:(bn.x=bn.y=!0,()=>{bn.x=bn.y=!1})}function O1(t,n){const s=C1(t),r=new AbortController,l={passive:!0,...n,signal:r.signal};return[s,l,()=>r.abort()]}function o3(t){return!(t.pointerType==="touch"||_1())}function l3(t,n,s={}){const[r,l,u]=O1(t,s);return r.forEach(c=>{let h=!1,m=!1,p;const g=()=>{c.removeEventListener("pointerleave",w)},y=E=>{p&&(p(E),p=void 0),g()},b=E=>{h=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),m&&(m=!1,y(E))},S=()=>{h=!0,window.addEventListener("pointerup",b,l),window.addEventListener("pointercancel",b,l)},w=E=>{if(E.pointerType!=="touch"){if(h){m=!0;return}y(E)}},A=E=>{if(!o3(E))return;m=!1;const R=n(c,E);typeof R=="function"&&(p=R,c.addEventListener("pointerleave",w,l))};c.addEventListener("pointerenter",A,l),c.addEventListener("pointerdown",S,l)}),u}const D1=(t,n)=>n?t===n?!0:D1(t,n.parentElement):!1,im=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,u3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function c3(t){return u3.has(t.tagName)||t.isContentEditable===!0}const f3=new Set(["INPUT","SELECT","TEXTAREA"]);function d3(t){return f3.has(t.tagName)||t.isContentEditable===!0}const Wl=new WeakSet;function q0(t){return n=>{n.key==="Enter"&&t(n)}}function Ed(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const h3=(t,n)=>{const s=t.currentTarget;if(!s)return;const r=q0(()=>{if(Wl.has(s))return;Ed(s,"down");const l=q0(()=>{Ed(s,"up")}),u=()=>Ed(s,"cancel");s.addEventListener("keyup",l,n),s.addEventListener("blur",u,n)});s.addEventListener("keydown",r,n),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),n)};function F0(t){return im(t)&&!_1()}const G0=new WeakSet;function m3(t,n,s={}){const[r,l,u]=O1(t,s),c=h=>{const m=h.currentTarget;if(!F0(h)||G0.has(h))return;Wl.add(m),s.stopPropagation&&G0.add(h);const p=n(m,h),g=(S,w)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",b),Wl.has(m)&&Wl.delete(m),F0(S)&&typeof p=="function"&&p(S,{success:w})},y=S=>{g(S,m===window||m===document||s.useGlobalTarget||D1(m,S.target))},b=S=>{g(S,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",b,l)};return r.forEach(h=>{(s.useGlobalTarget?window:h).addEventListener("pointerdown",c,l),$l(h)&&(h.addEventListener("focus",p=>h3(p,l)),!c3(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function sm(t){return Lx(t)&&"ownerSVGElement"in t}const tu=new WeakMap;let eu;const j1=(t,n,s)=>(r,l)=>l&&l[0]?l[0][t+"Size"]:sm(r)&&"getBBox"in r?r.getBBox()[n]:r[s],p3=j1("inline","width","offsetWidth"),g3=j1("block","height","offsetHeight");function y3({target:t,borderBoxSize:n}){tu.get(t)?.forEach(s=>{s(t,{get width(){return p3(t,n)},get height(){return g3(t,n)}})})}function v3(t){t.forEach(y3)}function b3(){typeof ResizeObserver>"u"||(eu=new ResizeObserver(v3))}function S3(t,n){eu||b3();const s=C1(t);return s.forEach(r=>{let l=tu.get(r);l||(l=new Set,tu.set(r,l)),l.add(n),eu?.observe(r)}),()=>{s.forEach(r=>{const l=tu.get(r);l?.delete(n),l?.size||eu?.unobserve(r)})}}const nu=new Set;let Aa;function x3(){Aa=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};nu.forEach(n=>n(t))},window.addEventListener("resize",Aa)}function w3(t){return nu.add(t),Aa||x3(),()=>{nu.delete(t),!nu.size&&typeof Aa=="function"&&(window.removeEventListener("resize",Aa),Aa=void 0)}}function Y0(t,n){return typeof t=="function"?w3(t):S3(t,n)}function T3(t){return sm(t)&&t.tagName==="svg"}const E3=[...E1,se,xn],A3=t=>E3.find(T1(t)),I0=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ra=()=>({x:I0(),y:I0()}),X0=()=>({min:0,max:0}),le=()=>({x:X0(),y:X0()}),R3=new WeakMap;function Nu(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function so(t){return typeof t=="string"||Array.isArray(t)}const am=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rm=["initial",...am];function Pu(t){return Nu(t.animate)||rm.some(n=>so(t[n]))}function z1(t){return!!(Pu(t)||t.variants)}function C3(t,n,s){for(const r in n){const l=n[r],u=s[r];if(Te(l))t.addValue(r,l);else if(Te(u))t.addValue(r,ja(l,{owner:t}));else if(u!==l)if(t.hasValue(r)){const c=t.getValue(r);c.liveStyle===!0?c.jump(l):c.hasAnimated||c.set(l)}else{const c=t.getStaticValue(r);t.addValue(r,ja(c!==void 0?c:l,{owner:t}))}}for(const r in s)n[r]===void 0&&t.removeValue(r);return n}const hh={current:null},L1={current:!1},M3=typeof window<"u";function _3(){if(L1.current=!0,!!M3)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>hh.current=t.matches;t.addEventListener("change",n),n()}else hh.current=!1}const K0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Su={};function N1(t){Su=t}function O3(){return Su}class D3{scrapeMotionValuesFromProps(n,s,r){return{}}constructor({parent:n,props:s,presenceContext:r,reducedMotionConfig:l,skipAnimations:u,blockInitialAnimation:c,visualState:h},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Zh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=_e.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,kt.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=s,this.presenceContext=r,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!c,this.isControllingVariants=Pu(s),this.isVariantNode=z1(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:y,...b}=this.scrapeMotionValuesFromProps(s,{},this);for(const S in b){const w=b[S];p[S]!==void 0&&Te(w)&&w.set(p[S])}}mount(n){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=n,R3.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(L1.current||_3(),this.shouldReduceMotion=hh.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(),Fi(this.notifyUpdate),Fi(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const s=this.features[n];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,s){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),s.accelerate&&p1.has(n)&&this.current instanceof HTMLElement){const{factory:c,keyframes:h,times:m,ease:p,duration:g}=s.accelerate,y=new h1({element:this.current,name:n,keyframes:h,times:m,ease:p,duration:We(g)}),b=c(y);this.valueSubscriptions.set(n,()=>{b(),y.cancel()});return}const r=Na.has(n);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",c=>{this.latestValues[n]=c,this.props.onUpdate&&kt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,s)),this.valueSubscriptions.set(n,()=>{l(),u&&u(),s.owner&&s.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Su){const s=Su[n];if(!s)continue;const{isEnabled:r,Feature:l}=s;if(!this.features[n]&&l&&r(this.props)&&(this.features[n]=new l(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):le()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,s){this.latestValues[n]=s}update(n,s){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<K0.length;r++){const l=K0[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,c=n[u];c&&(this.propEventSubscriptions[l]=this.on(l,c))}this.prevMotionValues=C3(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(n),()=>s.variantChildren.delete(n)}addValue(n,s){const r=this.values.get(n);s!==r&&(r&&this.removeValue(n),this.bindToMotionValue(n,s),this.values.set(n,s),this.latestValues[n]=s.get())}removeValue(n){this.values.delete(n);const s=this.valueSubscriptions.get(n);s&&(s(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,s){if(this.props.values&&this.props.values[n])return this.props.values[n];let r=this.values.get(n);return r===void 0&&s!==void 0&&(r=ja(s===null?void 0:s,{owner:this}),this.addValue(n,r)),r}readValue(n,s){let r=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return r!=null&&(typeof r=="string"&&(zx(r)||Nx(r))?r=parseFloat(r):!A3(r)&&xn.test(s)&&(r=R1(n,s)),this.setBaseTarget(n,Te(r)?r.get():r)),Te(r)?r.get():r}setBaseTarget(n,s){this.baseTarget[n]=s}getBaseTarget(n){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const u=Wh(this.props,s,this.presenceContext?.custom);u&&(r=u[n])}if(s&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!Te(l)?l:this.initialValues[n]!==void 0&&r===void 0?void 0:this.baseTarget[n]}on(n,s){return this.events[n]||(this.events[n]=new Hh),this.events[n].add(s)}notify(n,...s){this.events[n]&&this.events[n].notify(...s)}scheduleRenderMicrotask(){nm.render(this.render)}}class P1 extends D3{constructor(){super(...arguments),this.KeyframeResolver=a3}sortInstanceNodePosition(n,s){return n.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(n,s){const r=n.style;return r?r[s]:void 0}removeValueFromRenderState(n,{vars:s,style:r}){delete s[n],delete r[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Te(n)&&(this.childSubscription=n.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class Qi{constructor(n){this.isMounted=!1,this.node=n}update(){}}function B1({top:t,left:n,right:s,bottom:r}){return{x:{min:n,max:s},y:{min:t,max:r}}}function j3({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function z3(t,n){if(!n)return t;const s=n({x:t.left,y:t.top}),r=n({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Ad(t){return t===void 0||t===1}function mh({scale:t,scaleX:n,scaleY:s}){return!Ad(t)||!Ad(n)||!Ad(s)}function vs(t){return mh(t)||V1(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function V1(t){return Q0(t.x)||Q0(t.y)}function Q0(t){return t&&t!=="0%"}function xu(t,n,s){const r=t-s,l=n*r;return s+l}function Z0(t,n,s,r,l){return l!==void 0&&(t=xu(t,l,r)),xu(t,s,r)+n}function ph(t,n=0,s=1,r,l){t.min=Z0(t.min,n,s,r,l),t.max=Z0(t.max,n,s,r,l)}function U1(t,{x:n,y:s}){ph(t.x,n.translate,n.scale,n.originPoint),ph(t.y,s.translate,s.scale,s.originPoint)}const J0=.999999999999,$0=1.0000000000001;function L3(t,n,s,r=!1){const l=s.length;if(!l)return;n.x=n.y=1;let u,c;for(let h=0;h<l;h++){u=s[h],c=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(Dn(t.x,-u.scroll.offset.x),Dn(t.y,-u.scroll.offset.y)),c&&(n.x*=c.x.scale,n.y*=c.y.scale,U1(t,c)),r&&vs(u.latestValues)&&iu(t,u.latestValues,u.layout?.layoutBox))}n.x<$0&&n.x>J0&&(n.x=1),n.y<$0&&n.y>J0&&(n.y=1)}function Dn(t,n){t.min+=n,t.max+=n}function W0(t,n,s,r,l=.5){const u=Gt(t.min,t.max,l);ph(t,n,s,u,r)}function tb(t,n){return typeof t=="string"?parseFloat(t)/100*(n.max-n.min):t}function iu(t,n,s){const r=s??t;W0(t.x,tb(n.x,r.x),n.scaleX,n.scale,n.originX),W0(t.y,tb(n.y,r.y),n.scaleY,n.scale,n.originY)}function k1(t,n){return B1(z3(t.getBoundingClientRect(),n))}function N3(t,n,s){const r=k1(t,s),{scroll:l}=n;return l&&(Dn(r.x,l.offset.x),Dn(r.y,l.offset.y)),r}const P3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},B3=La.length;function V3(t,n,s){let r="",l=!0;for(let u=0;u<B3;u++){const c=La[u],h=t[c];if(h===void 0)continue;let m=!0;if(typeof h=="number")m=h===(c.startsWith("scale")?1:0);else{const p=parseFloat(h);m=c.startsWith("scale")?p===1:p===0}if(!m||s){const p=M1(h,em[c]);if(!m){l=!1;const g=P3[c]||c;r+=`${g}(${p}) `}s&&(n[c]=p)}}return r=r.trim(),s?r=s(n,l?"":r):l&&(r="none"),r}function om(t,n,s){const{style:r,vars:l,transformOrigin:u}=t;let c=!1,h=!1;for(const m in n){const p=n[m];if(Na.has(m)){c=!0;continue}else if(Zx(m)){l[m]=p;continue}else{const g=M1(p,em[m]);m.startsWith("origin")?(h=!0,u[m]=g):r[m]=g}}if(n.transform||(c||s?r.transform=V3(n,t.transform,s):r.transform&&(r.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=u;r.transformOrigin=`${m} ${p} ${g}`}}function H1(t,{style:n,vars:s},r,l){const u=t.style;let c;for(c in n)u[c]=n[c];l?.applyProjectionStyles(u,r);for(c in s)u.setProperty(c,s[c])}function eb(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Ur={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ot.test(t))t=parseFloat(t);else return t;const s=eb(t,n.target.x),r=eb(t,n.target.y);return`${s}% ${r}%`}},U3={correct:(t,{treeScale:n,projectionDelta:s})=>{const r=t,l=xn.parse(t);if(l.length>5)return r;const u=xn.createTransformer(t),c=typeof l[0]!="number"?1:0,h=s.x.scale*n.x,m=s.y.scale*n.y;l[0+c]/=h,l[1+c]/=m;const p=Gt(h,m,.5);return typeof l[2+c]=="number"&&(l[2+c]/=p),typeof l[3+c]=="number"&&(l[3+c]/=p),u(l)}},gh={borderRadius:{...Ur,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ur,borderTopRightRadius:Ur,borderBottomLeftRadius:Ur,borderBottomRightRadius:Ur,boxShadow:U3};function q1(t,{layout:n,layoutId:s}){return Na.has(t)||t.startsWith("origin")||(n||s!==void 0)&&(!!gh[t]||t==="opacity")}function lm(t,n,s){const r=t.style,l=n?.style,u={};if(!r)return u;for(const c in r)(Te(r[c])||l&&Te(l[c])||q1(c,t)||s?.getValue(c)?.liveStyle!==void 0)&&(u[c]=r[c]);return u}function k3(t){return window.getComputedStyle(t)}class H3 extends P1{constructor(){super(...arguments),this.type="html",this.renderInstance=H1}readValueFromInstance(n,s){if(Na.has(s))return this.projection?.isProjecting?nh(s):oj(n,s);{const r=k3(n),l=(Zx(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:s}){return k1(n,s)}build(n,s,r){om(n,s,r.transformTemplate)}scrapeMotionValuesFromProps(n,s,r){return lm(n,s,r)}}const q3={offset:"stroke-dashoffset",array:"stroke-dasharray"},F3={offset:"strokeDashoffset",array:"strokeDasharray"};function G3(t,n,s=1,r=0,l=!0){t.pathLength=1;const u=l?q3:F3;t[u.offset]=`${-r}`,t[u.array]=`${n} ${s}`}const Y3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function F1(t,{attrX:n,attrY:s,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...h},m,p,g){if(om(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:b}=t;y.transform&&(b.transform=y.transform,delete y.transform),(b.transform||y.transformOrigin)&&(b.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),b.transform&&(b.transformBox=g?.transformBox??"fill-box",delete y.transformBox);for(const S of Y3)y[S]!==void 0&&(b[S]=y[S],delete y[S]);n!==void 0&&(y.x=n),s!==void 0&&(y.y=s),r!==void 0&&(y.scale=r),l!==void 0&&G3(y,l,u,c,!1)}const G1=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"]),Y1=t=>typeof t=="string"&&t.toLowerCase()==="svg";function I3(t,n,s,r){H1(t,n,void 0,r);for(const l in n.attrs)t.setAttribute(G1.has(l)?l:tm(l),n.attrs[l])}function I1(t,n,s){const r=lm(t,n,s);for(const l in t)if(Te(t[l])||Te(n[l])){const u=La.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=t[l]}return r}class X3 extends P1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=le}getBaseTargetFromProps(n,s){return n[s]}readValueFromInstance(n,s){if(Na.has(s)){const r=A1(s);return r&&r.default||0}return s=G1.has(s)?s:tm(s),n.getAttribute(s)}scrapeMotionValuesFromProps(n,s,r){return I1(n,s,r)}build(n,s,r){F1(n,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(n,s,r,l){I3(n,s,r,l)}mount(n){this.isSVGTag=Y1(n.tagName),super.mount(n)}}const K3=rm.length;function X1(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?X1(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const n={};for(let s=0;s<K3;s++){const r=rm[s],l=t.props[r];(so(l)||l===!1)&&(n[r]=l)}return n}function K1(t,n){if(!Array.isArray(n))return!1;const s=n.length;if(s!==t.length)return!1;for(let r=0;r<s;r++)if(n[r]!==t[r])return!1;return!0}const Q3=[...am].reverse(),Z3=am.length;function J3(t){return n=>Promise.all(n.map(({animation:s,options:r})=>Kj(t,s,r)))}function $3(t){let n=J3(t),s=nb(),r=!0,l=!1;const u=p=>(g,y)=>{const b=Cs(t,y,p==="exit"?t.presenceContext?.custom:void 0);if(b){const{transition:S,transitionEnd:w,...A}=b;g={...g,...A,...w}}return g};function c(p){n=p(t)}function h(p){const{props:g}=t,y=X1(t.parent)||{},b=[],S=new Set;let w={},A=1/0;for(let R=0;R<Z3;R++){const O=Q3[R],L=s[O],j=g[O]!==void 0?g[O]:y[O],F=so(j),I=O===p?L.isActive:null;I===!1&&(A=R);let G=j===y[O]&&j!==g[O]&&F;if(G&&(r||l)&&t.manuallyAnimateOnMount&&(G=!1),L.protectedKeys={...w},!L.isActive&&I===null||!j&&!L.prevProp||Nu(j)||typeof j=="boolean")continue;if(O==="exit"&&L.isActive&&I!==!0){L.prevResolvedValues&&(w={...w,...L.prevResolvedValues});continue}const N=W3(L.prevProp,j);let X=N||O===p&&L.isActive&&!G&&F||R>A&&F,J=!1;const tt=Array.isArray(j)?j:[j];let ct=tt.reduce(u(O),{});I===!1&&(ct={});const{prevResolvedValues:yt={}}=L,At={...yt,...ct},vt=nt=>{X=!0,S.has(nt)&&(J=!0,S.delete(nt)),L.needsAnimating[nt]=!0;const mt=t.getValue(nt);mt&&(mt.liveStyle=!1)};for(const nt in At){const mt=ct[nt],W=yt[nt];if(w.hasOwnProperty(nt))continue;let D=!1;lh(mt)&&lh(W)?D=!K1(mt,W):D=mt!==W,D?mt!=null?vt(nt):S.add(nt):mt!==void 0&&S.has(nt)?vt(nt):L.protectedKeys[nt]=!0}L.prevProp=j,L.prevResolvedValues=ct,L.isActive&&(w={...w,...ct}),(r||l)&&t.blockInitialAnimation&&(X=!1);const k=G&&N;X&&(!k||J)&&b.push(...tt.map(nt=>{const mt={type:O};if(typeof nt=="string"&&(r||l)&&!k&&t.manuallyAnimateOnMount&&t.parent){const{parent:W}=t,D=Cs(W,nt);if(W.enteringChildren&&D){const{delayChildren:K}=D.transition||{};mt.delay=g1(W.enteringChildren,t,K)}}return{animation:nt,options:mt}}))}if(S.size){const R={};if(typeof g.initial!="boolean"){const O=Cs(t,Array.isArray(g.initial)?g.initial[0]:g.initial);O&&O.transition&&(R.transition=O.transition)}S.forEach(O=>{const L=t.getBaseTarget(O),j=t.getValue(O);j&&(j.liveStyle=!0),R[O]=L??null}),b.push({animation:R})}let E=!!b.length;return r&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(E=!1),r=!1,l=!1,E?n(b):Promise.resolve()}function m(p,g){if(s[p].isActive===g)return Promise.resolve();t.variantChildren?.forEach(b=>b.animationState?.setActive(p,g)),s[p].isActive=g;const y=h(p);for(const b in s)s[b].protectedKeys={};return y}return{animateChanges:h,setActive:m,setAnimateFunction:c,getState:()=>s,reset:()=>{s=nb(),l=!0}}}function W3(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!K1(n,t):!1}function ys(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nb(){return{animate:ys(!0),whileInView:ys(),whileHover:ys(),whileTap:ys(),whileDrag:ys(),whileFocus:ys(),exit:ys()}}function yh(t,n){t.min=n.min,t.max=n.max}function vn(t,n){yh(t.x,n.x),yh(t.y,n.y)}function ib(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}const Q1=1e-4,tz=1-Q1,ez=1+Q1,Z1=.01,nz=0-Z1,iz=0+Z1;function Oe(t){return t.max-t.min}function sz(t,n,s){return Math.abs(t-n)<=s}function sb(t,n,s,r=.5){t.origin=r,t.originPoint=Gt(n.min,n.max,t.origin),t.scale=Oe(s)/Oe(n),t.translate=Gt(s.min,s.max,t.origin)-t.originPoint,(t.scale>=tz&&t.scale<=ez||isNaN(t.scale))&&(t.scale=1),(t.translate>=nz&&t.translate<=iz||isNaN(t.translate))&&(t.translate=0)}function Yr(t,n,s,r){sb(t.x,n.x,s.x,r?r.originX:void 0),sb(t.y,n.y,s.y,r?r.originY:void 0)}function ab(t,n,s,r=0){const l=r?Gt(s.min,s.max,r):s.min;t.min=l+n.min,t.max=t.min+Oe(n)}function az(t,n,s,r){ab(t.x,n.x,s.x,r?.x),ab(t.y,n.y,s.y,r?.y)}function rb(t,n,s,r=0){const l=r?Gt(s.min,s.max,r):s.min;t.min=n.min-l,t.max=t.min+Oe(n)}function wu(t,n,s,r){rb(t.x,n.x,s.x,r?.x),rb(t.y,n.y,s.y,r?.y)}function ob(t,n,s,r,l){return t-=n,t=xu(t,1/s,r),l!==void 0&&(t=xu(t,1/l,r)),t}function rz(t,n=0,s=1,r=.5,l,u=t,c=t){if(jn.test(n)&&(n=parseFloat(n),n=Gt(c.min,c.max,n/100)-c.min),typeof n!="number")return;let h=Gt(u.min,u.max,r);t===u&&(h-=n),t.min=ob(t.min,n,s,h,l),t.max=ob(t.max,n,s,h,l)}function lb(t,n,[s,r,l],u,c){rz(t,n[s],n[r],n[l],n.scale,u,c)}const oz=["x","scaleX","originX"],lz=["y","scaleY","originY"];function ub(t,n,s,r){lb(t.x,n,oz,s?s.x:void 0,r?r.x:void 0),lb(t.y,n,lz,s?s.y:void 0,r?r.y:void 0)}function cb(t){return t.translate===0&&t.scale===1}function J1(t){return cb(t.x)&&cb(t.y)}function fb(t,n){return t.min===n.min&&t.max===n.max}function uz(t,n){return fb(t.x,n.x)&&fb(t.y,n.y)}function db(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function $1(t,n){return db(t.x,n.x)&&db(t.y,n.y)}function hb(t){return Oe(t.x)/Oe(t.y)}function mb(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}function Mn(t){return[t("x"),t("y")]}function cz(t,n,s){let r="";const l=t.x.translate/n.x,u=t.y.translate/n.y,c=s?.z||0;if((l||u||c)&&(r=`translate3d(${l}px, ${u}px, ${c}px) `),(n.x!==1||n.y!==1)&&(r+=`scale(${1/n.x}, ${1/n.y}) `),s){const{transformPerspective:p,rotate:g,rotateX:y,rotateY:b,skewX:S,skewY:w}=s;p&&(r=`perspective(${p}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),b&&(r+=`rotateY(${b}deg) `),S&&(r+=`skewX(${S}deg) `),w&&(r+=`skewY(${w}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(r+=`scale(${h}, ${m})`),r||"none"}const W1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],fz=W1.length,pb=t=>typeof t=="string"?parseFloat(t):t,gb=t=>typeof t=="number"||ot.test(t);function dz(t,n,s,r,l,u){l?(t.opacity=Gt(0,s.opacity??1,hz(r)),t.opacityExit=Gt(n.opacity??1,0,mz(r))):u&&(t.opacity=Gt(n.opacity??1,s.opacity??1,r));for(let c=0;c<fz;c++){const h=W1[c];let m=yb(n,h),p=yb(s,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||gb(m)===gb(p)?(t[h]=Math.max(Gt(pb(m),pb(p),r),0),(jn.test(p)||jn.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||s.rotate)&&(t.rotate=Gt(n.rotate||0,s.rotate||0,r))}function yb(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const hz=tw(0,.5,Gx),mz=tw(.5,.95,hn);function tw(t,n,s){return r=>r<t?0:r>n?1:s(no(t,n,r))}function pz(t,n,s){const r=Te(t)?t:ja(t);return r.start($h("",r,n,s)),r.animation}function ao(t,n,s,r={passive:!0}){return t.addEventListener(n,s,r),()=>t.removeEventListener(n,s)}const gz=(t,n)=>t.depth-n.depth;class yz{constructor(){this.children=[],this.isDirty=!1}add(n){Uh(this.children,n),this.isDirty=!0}remove(n){pu(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(gz),this.isDirty=!1,this.children.forEach(n)}}function vz(t,n){const s=_e.now(),r=({timestamp:l})=>{const u=l-s;u>=n&&(Fi(r),t(u-n))};return kt.setup(r,!0),()=>Fi(r)}function su(t){return Te(t)?t.get():t}class bz{constructor(){this.members=[]}add(n){Uh(this.members,n);for(let s=this.members.length-1;s>=0;s--){const r=this.members[s];if(r===n||r===this.lead||r===this.prevLead)continue;const l=r.instance;(!l||l.isConnected===!1)&&!r.snapshot&&(pu(this.members,r),r.unmount())}n.scheduleRender()}remove(n){if(pu(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(n){for(let s=this.members.indexOf(n)-1;s>=0;s--){const r=this.members[s];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(n,s){const r=this.lead;if(n!==r&&(this.prevLead=r,this.lead=n,n.show(),r)){r.updateSnapshot(),n.scheduleRender();const{layoutDependency:l}=r.options,{layoutDependency:u}=n.options;(l===void 0||l!==u)&&(n.resumeFrom=r,s&&(r.preserveOpacity=!0),r.snapshot&&(n.snapshot=r.snapshot,n.snapshot.latestValues=r.animationValues||r.latestValues),n.root?.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(n=>{n.options.onExitComplete?.(),n.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const au={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Rd=["","X","Y","Z"],Sz=1e3;let xz=0;function Cd(t,n,s,r){const{latestValues:l}=n;l[t]&&(s[t]=l[t],n.setStaticValue(t,0),r&&(r[t]=0))}function ew(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const s=x1(n);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",kt,!(l||u))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&ew(r)}function nw({attachResizeListener:t,defaultParent:n,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(c={},h=n?.()){this.id=xz++,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(Ez),this.nodes.forEach(Oz),this.nodes.forEach(Dz),this.nodes.forEach(Az)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new yz)}addEventListener(c,h){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Hh),this.eventHandlers.get(c).add(h)}notifyListeners(c,...h){const m=this.eventHandlers.get(c);m&&m.notify(...h)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=sm(c)&&!T3(c),this.instance=c;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),t){let g,y=0;const b=()=>this.root.updateBlockedByResize=!1;kt.read(()=>{y=window.innerWidth}),t(c,()=>{const S=window.innerWidth;S!==y&&(y=S,this.root.updateBlockedByResize=!0,g&&g(),g=vz(b,250),au.hasAnimatedSinceResize&&(au.hasAnimatedSinceResize=!1,this.nodes.forEach(Sb)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:b,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||p.getDefaultTransition()||Pz,{onLayoutAnimationStart:A,onLayoutAnimationComplete:E}=p.getProps(),R=!this.targetLayout||!$1(this.targetLayout,S),O=!y&&b;if(this.options.layoutRoot||this.resumeFrom||O||y&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Jh(w,"layout"),onPlay:A,onComplete:E};(p.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(g,O)}else y||Sb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Fi(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(jz),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ew(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,(typeof y.latestValues.x=="string"||typeof y.latestValues.y=="string")&&(y.isLayoutDirty=!0),y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(Cz),this.nodes.forEach(vb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(bb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Mz),this.nodes.forEach(_z),this.nodes.forEach(wz),this.nodes.forEach(Tz)):this.nodes.forEach(bb),this.clearAllSnapshots();const h=_e.now();xe.delta=zn(0,1e3/60,h-xe.timestamp),xe.timestamp=h,xe.isProcessing=!0,vd.update.process(xe),vd.preRender.process(xe),vd.render.process(xe),xe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,nm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Rz),this.sharedNodes.forEach(zz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,kt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){kt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Oe(this.snapshot.measuredBox.x)&&!Oe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=le()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(h=!1),h&&this.instance){const m=r(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:m,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!l)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!J1(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;c&&this.instance&&(h||vs(this.latestValues)||g)&&(l(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return c&&(m=this.removeTransform(m)),Bz(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return le();const h=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Vz))){const{scroll:p}=this.root;p&&(Dn(h.x,p.offset.x),Dn(h.y,p.offset.y))}return h}removeElementScroll(c){const h=le();if(vn(h,c),this.scroll?.wasRoot)return h;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&vn(h,c),Dn(h.x,g.offset.x),Dn(h.y,g.offset.y))}return h}applyTransform(c,h=!1,m){const p=m||le();vn(p,c);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&(Dn(p.x,-y.scroll.offset.x),Dn(p.y,-y.scroll.offset.y)),vs(y.latestValues)&&iu(p,y.latestValues,y.layout?.layoutBox)}return vs(this.latestValues)&&iu(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(c){const h=le();vn(h,c);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!vs(p.latestValues))continue;let g;p.instance&&(mh(p.latestValues)&&p.updateSnapshot(),g=le(),vn(g,p.measurePageBox())),ub(h,p.latestValues,p.snapshot?.layoutBox,g)}return vs(this.latestValues)&&ub(h,this.latestValues),h}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==xe.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(c||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=xe.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=le(),this.targetWithTransforms=le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),az(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):vn(this.target,this.layout.layoutBox),U1(this.target,this.targetDelta)):vn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||mh(this.parent.latestValues)||V1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,h,m){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=le(),this.relativeTargetOrigin=le(),wu(this.relativeTargetOrigin,h,m,this.options.layoutAnchor||void 0),vn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const c=this.getLead(),h=!!this.resumingFrom||this!==c;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===xe.timestamp&&(m=!1),m)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;vn(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,b=this.treeScale.y;L3(this.layoutCorrected,this.treeScale,this.path,h),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=le());const{target:S}=c;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ib(this.prevProjectionDelta.x,this.projectionDelta.x),ib(this.prevProjectionDelta.y,this.projectionDelta.y)),Yr(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==b||!mb(this.projectionDelta.x,this.prevProjectionDelta.x)||!mb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ra(),this.projectionDelta=Ra(),this.projectionDeltaWithTransform=Ra()}setAnimationOrigin(c,h=!1){const m=this.snapshot,p=m?m.latestValues:{},g={...this.latestValues},y=Ra();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=le(),S=m?m.source:void 0,w=this.layout?this.layout.source:void 0,A=S!==w,E=this.getStack(),R=!E||E.members.length<=1,O=!!(A&&!R&&this.options.crossfade===!0&&!this.path.some(Nz));this.animationProgress=0;let L;this.mixTargetDelta=j=>{const F=j/1e3;xb(y.x,c.x,F),xb(y.y,c.y,F),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(wu(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Lz(this.relativeTarget,this.relativeTargetOrigin,b,F),L&&uz(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=le()),vn(L,this.relativeTarget)),A&&(this.animationValues=g,dz(g,p,this.latestValues,F,O,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Fi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=kt.update(()=>{au.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ja(0)),this.motionValue.jump(0,!1),this.currentAnimation=pz(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),c.onUpdate&&c.onUpdate(h)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Sz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=c;if(!(!h||!m||!p)){if(this!==c&&this.layout&&p&&iw(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||le();const y=Oe(this.layout.layoutBox.x);m.x.min=c.target.x.min,m.x.max=m.x.min+y;const b=Oe(this.layout.layoutBox.y);m.y.min=c.target.y.min,m.y.max=m.y.min+b}vn(h,m),iu(h,g),Yr(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(c,h){this.sharedNodes.has(c)||this.sharedNodes.set(c,new bz),this.sharedNodes.get(c).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),c&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let h=!1;const{latestValues:m}=c;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&Cd("z",c,p,this.animationValues);for(let g=0;g<Rd.length;g++)Cd(`rotate${Rd[g]}`,c,p,this.animationValues),Cd(`skew${Rd[g]}`,c,p,this.animationValues);c.render();for(const g in p)c.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);c.scheduleRender()}applyProjectionStyles(c,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=su(h?.pointerEvents)||"",c.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=su(h?.pointerEvents)||""),this.hasProjected&&!vs(this.latestValues)&&(c.transform=m?m({},""):"none",this.hasProjected=!1);return}c.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let y=cz(this.projectionDeltaWithTransform,this.treeScale,g);m&&(y=m(g,y)),c.transform=y;const{x:b,y:S}=this.projectionDelta;c.transformOrigin=`${b.origin*100}% ${S.origin*100}% 0`,p.animationValues?c.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:c.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const w in gh){if(g[w]===void 0)continue;const{correct:A,applyTo:E,isCSSVariable:R}=gh[w],O=y==="none"?g[w]:A(g[w],p);if(E){const L=E.length;for(let j=0;j<L;j++)c[E[j]]=O}else R?this.options.visualElement.renderState.vars[w]=O:c[w]=O}this.options.layoutId&&(c.pointerEvents=p===this?su(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(vb),this.root.sharedNodes.clear()}}}function wz(t){t.updateLayout()}function Tz(t){const n=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=t.layout,{animationType:l}=t.options,u=n.source!==t.layout.source;if(l==="size")Mn(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],b=Oe(y);y.min=s[g].min,y.max=y.min+b});else if(l==="x"||l==="y"){const g=l==="x"?"y":"x";yh(u?n.measuredBox[g]:n.layoutBox[g],s[g])}else iw(l,n.layoutBox,s)&&Mn(g=>{const y=u?n.measuredBox[g]:n.layoutBox[g],b=Oe(s[g]);y.max=y.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+b)});const c=Ra();Yr(c,s,n.layoutBox);const h=Ra();u?Yr(h,t.applyTransform(r,!0),n.measuredBox):Yr(h,s,n.layoutBox);const m=!J1(c);let p=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:b}=g;if(y&&b){const S=t.options.layoutAnchor||void 0,w=le();wu(w,n.layoutBox,y.layoutBox,S);const A=le();wu(A,s,b.layoutBox,S),$1(w,A)||(p=!0),g.options.layoutRoot&&(t.relativeTarget=A,t.relativeTargetOrigin=w,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:h,layoutDelta:c,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Ez(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Az(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Rz(t){t.clearSnapshot()}function vb(t){t.clearMeasurements()}function Cz(t){t.isLayoutDirty=!0,t.updateLayout()}function bb(t){t.isLayoutDirty=!1}function Mz(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function _z(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Sb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Oz(t){t.resolveTargetDelta()}function Dz(t){t.calcProjection()}
vendor: 12,270 bytes, lines 12-20
12function jz(t){t.resetSkewAndRotation()}function zz(t){t.removeLeadSnapshot()}function xb(t,n,s){t.translate=Gt(n.translate,0,s),t.scale=Gt(n.scale,1,s),t.origin=n.origin,t.originPoint=n.originPoint}function wb(t,n,s,r){t.min=Gt(n.min,s.min,r),t.max=Gt(n.max,s.max,r)}function Lz(t,n,s,r){wb(t.x,n.x,s.x,r),wb(t.y,n.y,s.y,r)}function Nz(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Pz={duration:.45,ease:[.4,0,.1,1]},Tb=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Eb=Tb("applewebkit/")&&!Tb("chrome/")?Math.round:hn;function Ab(t){t.min=Eb(t.min),t.max=Eb(t.max)}function Bz(t){Ab(t.x),Ab(t.y)}function iw(t,n,s){return t==="position"||t==="preserve-aspect"&&!sz(hb(n),hb(s),.2)}function Vz(t){return t!==t.root&&t.scroll?.wasRoot}const Uz=nw({attachResizeListener:(t,n)=>ao(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Md={current:void 0},sw=nw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Md.current){const t=new Uz({});t.mount(window),t.setOptions({layoutScroll:!0}),Md.current=t}return Md.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),um=U.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Rb(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function kz(...t){return n=>{let s=!1;const r=t.map(l=>{const u=Rb(l,n);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():Rb(t[l],null)}}}}function Hz(...t){return U.useCallback(kz(...t),t)}class qz extends U.Component{getSnapshotBeforeUpdate(n){const s=this.props.childRef.current;if($l(s)&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=s.offsetParent,l=$l(r)&&r.offsetWidth||0,u=$l(r)&&r.offsetHeight||0,c=getComputedStyle(s),h=this.props.sizeRef.current;h.height=parseFloat(c.height),h.width=parseFloat(c.width),h.top=s.offsetTop,h.left=s.offsetLeft,h.right=l-h.width-h.left,h.bottom=u-h.height-h.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Fz({children:t,isPresent:n,anchorX:s,anchorY:r,root:l,pop:u}){const c=U.useId(),h=U.useRef(null),m=U.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=U.useContext(um),g=t.props?.ref??t?.ref,y=Hz(h,g);return U.useInsertionEffect(()=>{const{width:b,height:S,top:w,left:A,right:E,bottom:R}=m.current;if(n||u===!1||!h.current||!b||!S)return;const O=s==="left"?`left: ${A}`:`right: ${E}`,L=r==="bottom"?`bottom: ${R}`:`top: ${w}`;h.current.dataset.motionPopId=c;const j=document.createElement("style");p&&(j.nonce=p);const F=l??document.head;return F.appendChild(j),j.sheet&&j.sheet.insertRule(`
13          [data-motion-pop-id="${c}"] {
14            position: absolute !important;
15            width: ${b}px !important;
16            height: ${S}px !important;
17            ${O}px !important;
18            ${L}px !important;
19          }
20        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),F.contains(j)&&F.removeChild(j)}},[n]),M.jsx(qz,{isPresent:n,childRef:h,sizeRef:m,pop:u,children:u===!1?t:U.cloneElement(t,{ref:y})})}const Gz=({children:t,initial:n,isPresent:s,onExitComplete:r,custom:l,presenceAffectsLayout:u,mode:c,anchorX:h,anchorY:m,root:p})=>{const g=Vh(Yz),y=U.useId();let b=!0,S=U.useMemo(()=>(b=!1,{id:y,initial:n,isPresent:s,custom:l,onExitComplete:w=>{g.set(w,!0);for(const A of g.values())if(!A)return;r&&r()},register:w=>(g.set(w,!1),()=>g.delete(w))}),[s,g,r]);return u&&b&&(S={...S}),U.useMemo(()=>{g.forEach((w,A)=>g.set(A,!1))},[s]),U.useEffect(()=>{!s&&!g.size&&r&&r()},[s]),t=M.jsx(Fz,{pop:c==="popLayout",isPresent:s,anchorX:h,anchorY:m,root:p,children:t}),M.jsx(zu.Provider,{value:S,children:t})};function Yz(){return new Map}function aw(t=!0){const n=U.useContext(zu);if(n===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:l}=n,u=U.useId();U.useEffect(()=>{if(t)return l(u)},[t]);const c=U.useCallback(()=>t&&r&&r(u),[u,r,t]);return!s&&r?[!1,c]:[!0]}const Hl=t=>t.key||"";function Cb(t){const n=[];return U.Children.forEach(t,s=>{U.isValidElement(s)&&n.push(s)}),n}const vh=({children:t,custom:n,initial:s=!0,onExitComplete:r,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1,anchorX:h="left",anchorY:m="top",root:p})=>{const[g,y]=aw(c),b=U.useMemo(()=>Cb(t),[t]),S=c&&!g?[]:b.map(Hl),w=U.useRef(!0),A=U.useRef(b),E=Vh(()=>new Map),R=U.useRef(new Set),[O,L]=U.useState(b),[j,F]=U.useState(b);jx(()=>{w.current=!1,A.current=b;for(let N=0;N<j.length;N++){const X=Hl(j[N]);S.includes(X)?(E.delete(X),R.current.delete(X)):E.get(X)!==!0&&E.set(X,!1)}},[j,S.length,S.join("-")]);const I=[];if(b!==O){let N=[...b];for(let X=0;X<j.length;X++){const J=j[X],tt=Hl(J);S.includes(tt)||(N.splice(X,0,J),I.push(J))}return u==="wait"&&I.length&&(N=I),F(Cb(N)),L(b),null}const{forceRender:G}=U.useContext(Bh);return M.jsx(M.Fragment,{children:j.map(N=>{const X=Hl(N),J=c&&!g?!1:b===j||S.includes(X),tt=()=>{if(R.current.has(X))return;if(E.has(X))R.current.add(X),E.set(X,!0);else return;let ct=!0;E.forEach(yt=>{yt||(ct=!1)}),ct&&(G?.(),F(A.current),c&&y?.(),r&&r())};return M.jsx(Gz,{isPresent:J,initial:!w.current||s?void 0:!1,custom:n,presenceAffectsLayout:l,mode:u,root:p,onExitComplete:J?void 0:tt,anchorX:h,anchorY:m,children:N},X)})})},rw=U.createContext({strict:!1}),Mb={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 _b=!1;function Iz(){if(_b)return;const t={};for(const n in Mb)t[n]={isEnabled:s=>Mb[n].some(r=>!!s[r])};N1(t),_b=!0}function ow(){return Iz(),O3()}function Xz(t){const n=ow();for(const s in t)n[s]={...n[s],...t[s]};N1(n)}const Kz=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 Tu(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Kz.has(t)}let lw=t=>!Tu(t);function Qz(t){typeof t=="function"&&(lw=n=>n.startsWith("on")?!Tu(n):t(n))}try{Qz(require("@emotion/is-prop-valid").default)}catch{}function Zz(t,n,s){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||Te(t[l])||(lw(l)||s===!0&&Tu(l)||!n&&!Tu(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const Bu=U.createContext({});function Jz(t,n){if(Pu(t)){const{initial:s,animate:r}=t;return{initial:s===!1||so(s)?s:void 0,animate:so(r)?r:void 0}}return t.inherit!==!1?n:{}}function $z(t){const{initial:n,animate:s}=Jz(t,U.useContext(Bu));return U.useMemo(()=>({initial:n,animate:s}),[Ob(n),Ob(s)])}function Ob(t){return Array.isArray(t)?t.join(" "):t}const cm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uw(t,n,s){for(const r in n)!Te(n[r])&&!q1(r,s)&&(t[r]=n[r])}function Wz({transformTemplate:t},n){return U.useMemo(()=>{const s=cm();return om(s,n,t),Object.assign({},s.vars,s.style)},[n])}function tL(t,n){const s=t.style||{},r={};return uw(r,s,t),Object.assign(r,Wz(t,n)),r}function eL(t,n){const s={},r=tL(t,n);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s}const cw=()=>({...cm(),attrs:{}});function nL(t,n,s,r){const l=U.useMemo(()=>{const u=cw();return F1(u,n,Y1(r),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};uw(u,t.style,t),l.style={...u,...l.style}}return l}const iL=["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 fm(t){return typeof t!="string"||t.includes("-")?!1:!!(iL.indexOf(t)>-1||/[A-Z]/u.test(t))}function sL(t,n,s,{latestValues:r},l,u=!1,c){const m=(c??fm(t)?nL:eL)(n,r,l,t),p=Zz(n,typeof t=="string",u),g=t!==U.Fragment?{...p,...m,ref:s}:{},{children:y}=n,b=U.useMemo(()=>Te(y)?y.get():y,[y]);return U.createElement(t,{...g,children:b})}function aL({scrapeMotionValuesFromProps:t,createRenderState:n},s,r,l){return{latestValues:rL(s,r,l,t),renderState:n()}}function rL(t,n,s,r){const l={},u=r(t,{});for(const b in u)l[b]=su(u[b]);let{initial:c,animate:h}=t;const m=Pu(t),p=z1(t);n&&p&&!m&&t.inherit!==!1&&(c===void 0&&(c=n.initial),h===void 0&&(h=n.animate));let g=s?s.initial===!1:!1;g=g||c===!1;const y=g?h:c;if(y&&typeof y!="boolean"&&!Nu(y)){const b=Array.isArray(y)?y:[y];for(let S=0;S<b.length;S++){const w=Wh(t,b[S]);if(w){const{transitionEnd:A,transition:E,...R}=w;for(const O in R){let L=R[O];if(Array.isArray(L)){const j=g?L.length-1:0;L=L[j]}L!==null&&(l[O]=L)}for(const O in A)l[O]=A[O]}}}return l}const fw=t=>(n,s)=>{const r=U.useContext(Bu),l=U.useContext(zu),u=()=>aL(t,n,r,l);return s?u():Vh(u)},oL=fw({scrapeMotionValuesFromProps:lm,createRenderState:cm}),lL=fw({scrapeMotionValuesFromProps:I1,createRenderState:cw}),uL=Symbol.for("motionComponentSymbol");function cL(t,n,s){const r=U.useRef(s);U.useInsertionEffect(()=>{r.current=s});const l=U.useRef(null);return U.useCallback(u=>{u&&t.onMount?.(u);const c=r.current;if(typeof c=="function")if(u){const h=c(u);typeof h=="function"&&(l.current=h)}else l.current?(l.current(),l.current=null):c(u);else c&&(c.current=u);n&&(u?n.mount(u):n.unmount())},[n])}const dw=U.createContext({});function xa(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function fL(t,n,s,r,l,u){const{visualElement:c}=U.useContext(Bu),h=U.useContext(rw),m=U.useContext(zu),p=U.useContext(um),g=p.reducedMotion,y=p.skipAnimations,b=U.useRef(null),S=U.useRef(!1);r=r||h.renderer,!b.current&&r&&(b.current=r(t,{visualState:n,parent:c,props:s,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g,skipAnimations:y,isSVG:u}),S.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const w=b.current,A=U.useContext(dw);w&&!w.projection&&l&&(w.type==="html"||w.type==="svg")&&dL(b.current,s,l,A);const E=U.useRef(!1);U.useInsertionEffect(()=>{w&&E.current&&w.update(s,m)});const R=s[S1],O=U.useRef(!!R&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return jx(()=>{S.current=!0,w&&(E.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),O.current&&w.animationState&&w.animationState.animateChanges())}),U.useEffect(()=>{w&&(!O.current&&w.animationState&&w.animationState.animateChanges(),O.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),O.current=!1),w.enteringChildren=void 0)}),w}function dL(t,n,s,r){const{layoutId:l,layout:u,drag:c,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutAnchor:g,layoutCrossfade:y}=n;t.projection=new s(t.latestValues,n["data-framer-portal-id"]?void 0:hw(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||h&&xa(h),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:m,layoutRoot:p,layoutAnchor:g})}function hw(t){if(t)return t.options.allowProjection!==!1?t.projection:hw(t.parent)}function _d(t,{forwardMotionProps:n=!1,type:s}={},r,l){r&&Xz(r);const u=s?s==="svg":fm(t),c=u?lL:oL;function h(p,g){let y;const b={...U.useContext(um),...p,layoutId:hL(p)},{isStatic:S}=b,w=$z(p),A=c(p,S);
vendor: 19,001 bytes, line 20
20if(!S&&typeof window<"u"){mL();const E=pL(b);y=E.MeasureLayout,w.visualElement=fL(t,A,b,l,E.ProjectionNode,u)}return M.jsxs(Bu.Provider,{value:w,children:[y&&w.visualElement?M.jsx(y,{visualElement:w.visualElement,...b}):null,sL(t,p,cL(A,w.visualElement,g),A,S,n,u)]})}h.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const m=U.forwardRef(h);return m[uL]=t,m}function hL({layoutId:t}){const n=U.useContext(Bh).id;return n&&t!==void 0?n+"-"+t:t}function mL(t,n){U.useContext(rw).strict}function pL(t){const n=ow(),{drag:s,layout:r}=n;if(!s&&!r)return{};const l={...s,...r};return{MeasureLayout:s?.isEnabled(t)||r?.isEnabled(t)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function gL(t,n){if(typeof Proxy>"u")return _d;const s=new Map,r=(u,c)=>_d(u,c,t,n),l=(u,c)=>r(u,c);return new Proxy(l,{get:(u,c)=>c==="create"?r:(s.has(c)||s.set(c,_d(c,void 0,t,n)),s.get(c))})}const yL=(t,n)=>n.isSVG??fm(t)?new X3(n):new H3(n,{allowProjection:t!==U.Fragment});class vL extends Qi{constructor(n){super(n),n.animationState||(n.animationState=$3(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Nu(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:s}=this.node.prevProps||{};n!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let bL=0;class SL extends Qi{constructor(){super(...arguments),this.id=bL++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===r)return;if(n&&r===!1){if(this.isExitComplete){const{initial:u,custom:c}=this.node.getProps();if(typeof u=="string"){const h=Cs(this.node,u,c);if(h){const{transition:m,transitionEnd:p,...g}=h;for(const y in g)this.node.getValue(y)?.jump(g[y])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const l=this.node.animationState.setActive("exit",!n);s&&!n&&l.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:n,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const xL={animation:{Feature:vL},exit:{Feature:SL}};function fo(t){return{point:{x:t.pageX,y:t.pageY}}}const wL=t=>n=>im(n)&&t(n,fo(n));function Ir(t,n,s,r){return ao(t,n,wL(s),r)}const mw=({current:t})=>t?t.ownerDocument.defaultView:null,Db=(t,n)=>Math.abs(t-n);function TL(t,n){const s=Db(t.x,n.x),r=Db(t.y,n.y);return Math.sqrt(s**2+r**2)}const jb=new Set(["auto","scroll"]);class pw{constructor(n,s,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:c=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ql(this.lastRawMoveEventInfo,this.transformPagePoint));const S=Od(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,A=TL(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!A)return;const{point:E}=S,{timestamp:R}=xe;this.history.push({...E,timestamp:R});const{onStart:O,onMove:L}=this.handlers;w||(O&&O(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),L&&L(this.lastMoveEvent,S)},this.handlePointerMove=(S,w)=>{this.lastMoveEvent=S,this.lastRawMoveEventInfo=w,this.lastMoveEventInfo=ql(w,this.transformPagePoint),kt.update(this.updatePoint,!0)},this.handlePointerUp=(S,w)=>{this.end();const{onEnd:A,onSessionEnd:E,resumeAnimation:R}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&R&&R(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const O=Od(S.type==="pointercancel"?this.lastMoveEventInfo:ql(w,this.transformPagePoint),this.history);this.startEvent&&A&&A(S,O),E&&E(S,O)},!im(n))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=c,this.contextWindow=l||window;const m=fo(n),p=ql(m,this.transformPagePoint),{point:g}=p,{timestamp:y}=xe;this.history=[{...g,timestamp:y}];const{onSessionStart:b}=s;b&&b(n,Od(p,this.history)),this.removeListeners=lo(Ir(this.contextWindow,"pointermove",this.handlePointerMove),Ir(this.contextWindow,"pointerup",this.handlePointerUp),Ir(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(n){let s=n.parentElement;for(;s;){const r=getComputedStyle(s);(jb.has(r.overflowX)||jb.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const s=this.scrollPositions.get(n);if(!s)return;const r=n===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},u={x:l.x-s.x,y:l.y-s.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(n,l),kt.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fi(this.updatePoint)}}function ql(t,n){return n?{point:n(t.point)}:t}function zb(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Od({point:t},n){return{point:t,delta:zb(t,gw(n)),offset:zb(t,EL(n)),velocity:AL(n,.1)}}function EL(t){return t[0]}function gw(t){return t[t.length-1]}function AL(t,n){if(t.length<2)return{x:0,y:0};let s=t.length-1,r=null;const l=gw(t);for(;s>=0&&(r=t[s],!(l.timestamp-r.timestamp>We(n)));)s--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&l.timestamp-r.timestamp>We(n)*2&&(r=t[1]);const u=dn(l.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const c={x:(l.x-r.x)/u,y:(l.y-r.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function RL(t,{min:n,max:s},r){return n!==void 0&&t<n?t=r?Gt(n,t,r.min):Math.max(t,n):s!==void 0&&t>s&&(t=r?Gt(s,t,r.max):Math.min(t,s)),t}function Lb(t,n,s){return{min:n!==void 0?t.min+n:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function CL(t,{top:n,left:s,bottom:r,right:l}){return{x:Lb(t.x,s,l),y:Lb(t.y,n,r)}}function Nb(t,n){let s=n.min-t.min,r=n.max-t.max;return n.max-n.min<t.max-t.min&&([s,r]=[r,s]),{min:s,max:r}}function ML(t,n){return{x:Nb(t.x,n.x),y:Nb(t.y,n.y)}}function _L(t,n){let s=.5;const r=Oe(t),l=Oe(n);return l>r?s=no(n.min,n.max-r,t.min):r>l&&(s=no(t.min,t.max-l,n.min)),zn(0,1,s)}function OL(t,n){const s={};return n.min!==void 0&&(s.min=n.min-t.min),n.max!==void 0&&(s.max=n.max-t.min),s}const bh=.35;function DL(t=bh){return t===!1?t=0:t===!0&&(t=bh),{x:Pb(t,"left","right"),y:Pb(t,"top","bottom")}}function Pb(t,n,s){return{min:Bb(t,n),max:Bb(t,s)}}function Bb(t,n){return typeof t=="number"?t:t[n]||0}const jL=new WeakMap;class zL{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=le(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=y=>{s&&this.snapToCursor(fo(y).point),this.stopAnimation()},c=(y,b)=>{const{drag:S,dragPropagation:w,onDragStart:A}=this.getProps();if(S&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=r3(S),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Mn(R=>{let O=this.getAxisMotionValue(R).get()||0;if(jn.test(O)){const{projection:L}=this.visualElement;if(L&&L.layout){const j=L.layout.layoutBox[R];j&&(O=Oe(j)*(parseFloat(O)/100))}}this.originPoint[R]=O}),A&&kt.update(()=>A(y,b),!1,!0),uh(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},h=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b;const{dragPropagation:S,dragDirectionLock:w,onDirectionLock:A,onDrag:E}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:R}=b;if(w&&this.currentDirection===null){this.currentDirection=NL(R),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",b.point,R),this.updateAxis("y",b.point,R),this.visualElement.render(),E&&kt.update(()=>E(y,b),!1,!0)},m=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b,this.stop(y,b),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:y}=this.getProps();(y||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new pw(n,{onSessionStart:u,onStart:c,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:mw(this.visualElement),element:this.visualElement.current})}stop(n,s){const r=n||this.latestPointerEvent,l=s||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:c}=l;this.startAnimation(c);const{onDragEnd:h}=this.getProps();h&&kt.postRender(()=>h(r,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:s}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,s,r){const{drag:l}=this.getProps();if(!r||!Fl(n,l,this.currentDirection))return;const u=this.getAxisMotionValue(n);let c=this.originPoint[n]+r[n];this.constraints&&this.constraints[n]&&(c=RL(c,this.constraints[n],this.elastic[n])),u.set(c)}resolveConstraints(){const{dragConstraints:n,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&xa(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=CL(r.layoutBox,n):this.constraints=!1,this.elastic=DL(s),l!==this.constraints&&!xa(n)&&r&&this.constraints&&!this.hasMutatedConstraints&&Mn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=OL(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:s}=this.getProps();if(!n||!xa(n))return!1;const r=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=N3(r,l.root,this.visualElement.getTransformPagePoint());let c=ML(l.layout.layoutBox,u);if(s){const h=s(j3(c));this.hasMutatedConstraints=!!h,h&&(c=B1(h))}return c}startAnimation(n){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=Mn(g=>{if(!Fl(g,s,this.currentDirection))return;let y=m&&m[g]||{};(c===!0||c===g)&&(y={min:0,max:0});const b=l?200:1e6,S=l?40:1e7,w={type:"inertia",velocity:r?n[g]:0,bounceStiffness:b,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(g,w)});return Promise.all(p).then(h)}startAxisValueAnimation(n,s){const r=this.getAxisMotionValue(n);return uh(this.visualElement,n),r.start($h(n,r,0,s,this.visualElement,!1))}stopAnimation(){Mn(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const s=`_drag${n.toUpperCase()}`,r=this.visualElement.getProps(),l=r[s];return l||this.visualElement.getValue(n,(r.initial?r.initial[n]:void 0)||0)}snapToCursor(n){Mn(s=>{const{drag:r}=this.getProps();if(!Fl(s,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(s);if(l&&l.layout){const{min:c,max:h}=l.layout.layoutBox[s],m=u.get()||0;u.set(n[s]-Gt(c,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!xa(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Mn(c=>{const h=this.getAxisMotionValue(c);if(h&&this.constraints!==!1){const m=h.get();l[c]=_L({min:m,max:m},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Mn(c=>{if(!Fl(c,n,null))return;const h=this.getAxisMotionValue(c),{min:m,max:p}=this.constraints[c];h.set(Gt(m,p,l[c]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;jL.set(this.visualElement,this);const n=this.visualElement.current,s=Ir(n,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps(),b=p.target,S=b!==n&&d3(b);g&&y&&!S&&this.start(p)});let r;const l=()=>{const{dragConstraints:p}=this.getProps();xa(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=LL(n,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,c=u.addEventListener("measure",l);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),kt.read(l);const h=ao(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(Mn(y=>{const b=this.getAxisMotionValue(y);b&&(this.originPoint[y]+=p[y].translate,b.set(b.get()+p[y].translate))}),this.visualElement.render())}));return()=>{h(),s(),c(),m&&m(),r&&r()}}getProps(){const n=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:c=bh,dragMomentum:h=!0}=n;return{...n,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:c,dragMomentum:h}}}function Vb(t){let n=!0;return()=>{if(n){n=!1;return}t()}}function LL(t,n,s){const r=Y0(t,Vb(s)),l=Y0(n,Vb(s));return()=>{r(),l()}}function Fl(t,n,s){return(n===!0||n===t)&&(s===null||s===t)}function NL(t,n=10){let s=null;return Math.abs(t.y)>n?s="y":Math.abs(t.x)>n&&(s="x"),s}class PL extends Qi{constructor(n){super(n),this.removeGroupControls=hn,this.removeListeners=hn,this.controls=new zL(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||hn}update(){const{dragControls:n}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};n!==s&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Dd=t=>(n,s)=>{t&&kt.update(()=>t(n,s),!1,!0)};class BL extends Qi{constructor(){super(...arguments),this.removePointerDownListener=hn}onPointerDown(n){this.session=new pw(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:mw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Dd(n),onStart:Dd(s),onMove:Dd(r),onEnd:(u,c)=>{delete this.session,l&&kt.postRender(()=>l(u,c))}}}mount(){this.removePointerDownListener=Ir(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let jd=!1;class VL extends U.Component{componentDidMount(){const{visualElement:n,layoutGroup:s,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=n;u&&(s.group&&s.group.add(u),r&&r.register&&l&&r.register(u),jd&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),au.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:s,visualElement:r,drag:l,isPresent:u}=this.props,{projection:c}=r;return c&&(c.isPresent=u,n.layoutDependency!==s&&c.setOptions({...c.options,layoutDependency:s}),jd=!0,l||n.layoutDependency!==s||s===void 0||n.isPresent!==u?c.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?c.promote():c.relegate()||kt.postRender(()=>{const h=c.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:s}=this.props,{projection:r}=n;r&&(r.options.layoutAnchor=s,r.root.didUpdate(),nm.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=n;jd=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function yw(t){const[n,s]=aw(),r=U.useContext(Bh);return M.jsx(VL,{...t,layoutGroup:r,switchLayoutGroup:U.useContext(dw),isPresent:n,safeToRemove:s})}const UL={pan:{Feature:BL},drag:{Feature:PL,ProjectionNode:sw,MeasureLayout:yw}};function Ub(t,n,s){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,u=r[l];u&&kt.postRender(()=>u(n,fo(n)))}class kL extends Qi{mount(){const{current:n}=this.node;n&&(this.unmount=l3(n,(s,r)=>(Ub(this.node,r,"Start"),l=>Ub(this.node,l,"End"))))}unmount(){}}class HL extends Qi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lo(ao(this.node.current,"focus",()=>this.onFocus()),ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function kb(t,n,s){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),u=r[l];u&&kt.postRender(()=>u(n,fo(n)))}class qL extends Qi{mount(){const{current:n}=this.node;if(!n)return;
20const{globalTapTarget:s,propagate:r}=this.node.props;this.unmount=m3(n,(l,u)=>(kb(this.node,u,"Start"),(c,{success:h})=>kb(this.node,c,h?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:r?.tap===!1})}unmount(){}}const Sh=new WeakMap,zd=new WeakMap,FL=t=>{const n=Sh.get(t.target);n&&n(t)},GL=t=>{t.forEach(FL)};function YL({root:t,...n}){const s=t||document;zd.has(s)||zd.set(s,{});const r=zd.get(s),l=JSON.stringify(n);return r[l]||(r[l]=new IntersectionObserver(GL,{root:t,...n})),r[l]}function IL(t,n,s){const r=YL(n);return Sh.set(t,s),r.observe(t),()=>{Sh.delete(t),r.unobserve(t)}}const XL={some:0,all:1};class KL extends Qi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:n={}}=this.node.getProps(),{root:s,margin:r,amount:l="some",once:u}=n,c={root:s?s.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:XL[l]},h=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),b=p?g:y;b&&b(m)};this.stopObserver=IL(this.node.current,c,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:s}=this.node;["amount","margin","root"].some(QL(n,s))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function QL({viewport:t={}},{viewport:n={}}={}){return s=>t[s]!==n[s]}const ZL={inView:{Feature:KL},tap:{Feature:qL},focus:{Feature:HL},hover:{Feature:kL}},JL={layout:{ProjectionNode:sw,MeasureLayout:yw}},$L={...xL,...ZL,...UL,...JL},Xr=gL($L,yL),vw=Zl({method:"POST"}).handler(HS("5aeebfd61d69ccfdd67f4944cbb2b1b91bd308131cfe2be441457d9fd10c2a65")),Hb=["10:00","11:00","12:00","14:00","15:00","16:00","17:00"];function WL({open:t,onClose:n}){const[s,r]=U.useState(""),[l,u]=U.useState(""),[c,h]=U.useState(""),[m,p]=U.useState(""),[g,y]=U.useState(Hb[0]),[b,S]=U.useState(""),[w,A]=U.useState(!1),[E,R]=U.useState(!1),O=ix(vw),L=new Date(Date.now()+864e5).toISOString().slice(0,10),j=async I=>{if(I.preventDefault(),!(!s||!c||!m)){A(!0);try{await O({data:{kind:"appointment",name:s,company:l,email:c.includes("@")?c:void 0,phone:c&&!c.includes("@")?c:void 0,date:m,time:g,message:b||"Запрос на демо платформы Wize",pageUrl:typeof window<"u"?window.location.href:void 0}}),R(!0)}catch{alert("Не удалось отправить. Напишите на [email protected]")}finally{A(!1)}}},F=()=>{n(),setTimeout(()=>{R(!1),r(""),u(""),h(""),p(""),S("")},300)};return M.jsx(vh,{children:t&&M.jsx(Xr.div,{initial:{opacity:0}
20,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm",onClick:F,children:M.jsxs(Xr.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.95},onClick:I=>I.stopPropagation(),className:"relative w-full max-w-md rounded-3xl bg-white p-6 shadow-2xl",children:[M.jsx("button",{onClick:F,className:"absolute top-4 right-4 rounded-full p-1.5 hover:bg-bg-soft","aria-label":"Закрыть",children:M.jsx(Lh,{className:"h-4 w-4"})}),E?M.jsxs("div",{className:"py-8 text-center",children:[M.jsx("div",{className:"mx-auto mb-4 inline-flex h-14 w-14 items-center justify-center rounded-full bg-emerald-50 text-emerald-600",children:M.jsx(px,{className:"h-7 w-7"})}),M.jsx("h3",{className:"text-xl font-bold",children:"Заявка отправлена"}),M.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Свяжемся с вами в ближайшее время и подтвердим встречу."}),M.jsx("button",{onClick:F,className:"mt-6 inline-flex h-11 items-center rounded-full bg-foreground px-6 text-sm font-semibold text-background",children:"Готово"})]}):M.jsxs(M.Fragment,{children:[M.jsxs("div",{className:"mb-5 flex items-center gap-3",children:[M.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-foreground text-background",children:M.jsx(sO,{className:"h-5 w-5"})}),M.jsxs("div",{children:[M.jsx("h3",{className:"text-lg font-bold",children:"Запросить демо"}),M.jsx("p",{className:"text-xs text-muted-foreground",children:"Покажем платформу за 30 минут"})]})]}),M.jsxs("form",{onSubmit:j,className:"space-y-3",children:[M.jsx(Ld,{label:"Имя",value:s,onChange:r,required:!0}),M.jsx(Ld,{label:"Компания",value:l,onChange:u}),M.jsx(Ld,{label:"Email или телефон",value:c,onChange:h,required:!0}),M.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[M.jsxs("div",{children:[M.jsx("label",{className:"block text-xs font-medium mb-1",children:"Дата"}),M.jsx("input",{type:"date",min:L,value:m,onChange:I=>p(I.target.value),required:!0,className:"w-full rounded-xl bg-bg-soft px-3 py-2.5 text-sm outline-none focus:ring-1 focus:ring-foreground/30"})]}),M.jsxs("div",{children:[M.jsx("label",{className:"block text-xs font-medium mb-1",children:"Время (МСК)"}),M.jsx("select",{value:g,onChange:I=>y(I.target.value),className:"w-full rounded-xl bg-bg-soft px-3 py-2.5 text-sm outline-none focus:ring-1 focus:ring-foreground/30",children:Hb.map(I=>M.jsx("option",{value:I,children:I},I))})]})]}),M.jsxs("div",{children:[M.jsx("label",{className:"block text-xs font-medium mb-1",children:"Комментарий"}),M.jsx("textarea",{value:b,onChange:I=>S(I.target.value),rows:2,placeholder:"Что хотите обсудить?",className:"w-full rounded-xl bg-bg-soft px-3 py-2.5 text-sm outline-none focus:ring-1 focus:ring-foreground/30 resize-none"})]}),M.jsx("button",{type:"submit",disabled:w,className:"w-full inline-flex h-12 items-center justify-center rounded-full bg-foreground text-sm font-semibold text-background hover:bg-foreground
20/90 transition disabled:opacity-50",children:w?"Отправка…":"Запросить демо"}),M.jsx("p",{className:"text-[10px] text-muted-foreground text-center",children:"Заявка приходит напрямую в Telegram нашей команды"})]})]})]})})})}function Ld({label:t,value:n,onChange:s,required:r}){return M.jsxs("div",{children:[M.jsxs("label",{className:"block text-xs font-medium mb-1",children:[t,r&&M.jsx("span",{className:"text-destructive",children:" *"})]}),M.jsx("input",{value:n,required:r,onChange:l=>s(l.target.value),className:"w-full rounded-xl bg-bg-soft px-3 py-2.5 text-sm outline-none focus:ring-1 focus:ring-foreground/30"})]})}const qb=[{to:"/",label:"Продукты",hash:"#products"},{to:"/",label:"Решения",hash:"#solutions"},{to:"/tech-stack",label:"Технологии"},{to:"/pricing",label:"Тарифы"},{to:"/blog",label:"Блог"},{to:"/registry",label:"Реестр ПО"}];function tN(){const[t,n]=U.useState(!1),[s,r]=U.useState(!1),[l,u]=U.useState(!1);return U.useEffect(()=>{const c=()=>n(window.scrollY>8);return c(),window.addEventListener("scroll",c,{passive:!0}),()=>window.removeEventListener("scroll",c)},[]),M.jsxs("header",{className:qr("fixed inset-x-0 top-9 z-50 transition-all duration-300",t?"bg-white/85 backdrop-blur-xl shadow-[0_1px_0_rgba(13,21,38,0.06)]":"bg-transparent"),children:[M.jsxs("div",{className:"container-x flex h-16 items-center justify-between",children:[M.jsx(ie,{to:"/",className:"shrink-0",children:M.jsx(Dx,{onDark:!t})}),M.jsx("nav",{className:"hidden items-center gap-1 md:flex",children:qb.map(c=>c.hash?M.jsx("a",{href:c.hash,className:qr("rounded-full px-4 py-2 text-sm font-medium hover:bg-bg-soft hover:text-foreground transition",t?"text-foreground/80":"text-white/90 hover:text-white"),children:c.label},c.label):M.jsx(ie,{to:c.to,className:qr("rounded-full px-4 py-2 text-sm font-medium hover:bg-bg-soft hover:text-foreground transition",t?"text-foreground/80":"text-white/90 hover:text-white"),children:c.label},c.label))}),M.jsx("div",{className:"hidden md:block",children:M.jsx("button",{onClick:()=>u(!0),className:"inline-flex h-10 items-center rounded-full bg-foreground px-5 text-sm font-semibold text-background hover:bg-foreground
20/90 transition",children:"Запросить демо"})}),M.jsx("button",{className:"md:hidden inline-flex h-10 w-10 items-center justify-center rounded-full hover:bg-bg-soft",onClick:()=>r(c=>!c),"aria-label":"Меню",children:s?M.jsx(Lh,{className:"h-5 w-5"}):M.jsx(oO,{className:"h-5 w-5"})})]}),s&&M.jsx("div",{className:"md:hidden border-t border-border bg-white",children:M.jsxs("div",{className:"container-x flex flex-col gap-1 py-3",children:[qb.map(c=>c.hash?M.jsx("a",{href:c.hash,onClick:()=>r(!1),className:"rounded-lg px-3 py-2 text-sm font-medium hover:bg-bg-soft",children:c.label},c.label):M.jsx(ie,{to:c.to,onClick:()=>r(!1),className:"rounded-lg px-3 py-2 text-sm font-medium hover:bg-bg-soft",children:c.label},c.label)),M.jsx("button",{onClick:()=>{r(!1),u(!0)},className:"mt-2 inline-flex h-10 items-center justify-center rounded-full bg-foreground px-5 text-sm font-semibold text-background",children:"Запросить демо"})]})}),M.jsx(WL,{open:l,onClose:()=>u(!1)})]})}function eN(){return M.jsxs("footer",{className:"bg-bg-soft mt-24",children:[M.jsxs("div",{className:"container-x py-16 grid gap-10 md:grid-cols-4",children:[M.jsxs("div",{className:"space-y-4",children:[M.jsx(Dx,{}),M.jsx("p",{className:"text-sm text-muted-foreground max-w-xs",children:"ООО «Платформа Подписки». Суверенная ИИ-платформа для лизинга, банков и автопарков."})]}),M.jsxs("div",{children:[M.jsx("h4",{className:"text-sm font-semibold mb-4",children:"Продукты"}),M.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[M.jsx("li",{children:M.jsx(ie,{to:"/products/$slug",params:{slug:"leasing-agents"},className:"hover:text-foreground",children:"Лизинг-агенты"})}),M.jsx("li",{children:M.jsx(ie,{to:"/products/$slug",params:{slug:"repossessed"},className:"hover:text-foreground",children:"Учёт изъятого имущества"})}),M.jsx("li",{children:M.jsx(ie,{to:"/products/$slug",params:{slug:"lifecycle"},className:"hover:text-foreground",children:"Жизненный цикл авто"})}),M.jsx("li",{children:M.jsx(ie,{to:"/products/$slug",params:{slug:"ai-gateway"},className:"hover:text-foreground",children:"ИИ-шлюз"})})]})]}),M.jsxs("div",{children:[M.jsx("h4",{className:"text-sm font-semibold mb-4",children:"Решения"}),M.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[M.jsx("li",{children:M.jsx(ie,{to:"/solutions/$segment",params:{segment:"leasing"},className:"hover:text-foreground",children:"Лизинговые компании"})}),M.jsx("li",{children:M.jsx(ie,{to:"/solutions/$segment",params:{segment:"bank"},className:"hover:text-foreground",children:"Банки"})}),M.jsx("li",{children:M.jsx(ie,{to:"/solutions/$segment",params:{segment:"fleet"},className:"hover:text-foreground",children:"Флит-операторы"})}),M.jsx("li",{children:M.jsx(ie,{to:"/registry",className:"hover:text-foreground",children:"Реестр российского ПО"})})]})]}),M.jsxs("div",{children:[M.jsx("h4",{className:"text-sm font-semibold mb-4",children:"Компания"}),M.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[M.jsx("li",{children:M.jsx(ie,{to:"/pricing",className:"hover:text-foreground",children:"Тарифы"})}),M.jsx("li",{children:M.jsx(ie,{to:"/tech-stack",className:"hover:text-foreground",children:"Технологии"})}),M.jsx("li",{children:M.jsx(ie,{to:"/contact",className:"hover:text-foreground",children:"Связаться"})}),M.jsx("li",{children:M.jsx(ie,{to:"/requisites",className:"hover:text-foreground",children:"Реквизиты"})}),M.jsx("li",{children:M.jsx(ie,{to:"/blog",className:"hover:text-foreground",children:"Блог"})}),M.jsx("li",{children:M.jsx("a",{href:"mailto:[email protected]",className:"hover:text-foreground",children:"[email protected]"})})]})]})]}),M.jsx("div",{className:"border-t border-border",children:M.jsxs("div",{className:"container-x py-6 flex flex-col md:flex-row items-center justify-between gap-3 text-xs text-muted-foreground",children:[M.jsx("p",{children:"© 2026 ООО «Платформа Подписки» · ИНН 5248042358 · ОГРН 1185275062719"}),M.jsxs("p",{children:[M.jsx(ie,{to:"/requisites",className:"hover:text-foreground",children:"Реквизиты"})," · ","wize-platform.ru"]})]})})]})}const Gl="/assets/alexey-portrait-C3C4b3SJ.jpg",nN="Здравствуйте! 👋 Меня зовут Алексей, я из команды Wize. Расскажите о вашей задаче — отвечу лично в течение нескольких минут.",iN=["Хочу демо платформы","Сколько стоит внедрение?","Подходит ли для нашей лизинговой компании?","Расскажите про ИИ-шлюз"];function sN(){const[t,n]=U.useState(!1),[s,r]=U.useState(!1),[l,u]=U.useState([{role:"assistant",content:nN}]),[c,h]=U.useState(""),[m,p]=U.useState(""),[g,y]=U.useState(!1),[b,S]=U.useState(!1),w=U.useRef(null),A=U.useRef(null),E=ix(vw);U.useEffect(()=>{const O=setTimeout(()=>r(!0),4e3);return()=>clearTimeout(O)},[]),U.useEffect(()=>{w.current?.scrollIntoView({behavior:"smooth"})},[l,b]),U.useEffect(()=>{t&&A.current?.focus()},[t]);const R=async O=>{if(!O.trim()||g)return;const L={role:"user",content:O.trim()};u(j=>[...j,L]),h(""),y(!0);try{await E({data:{kind:"chat",message:O.trim(),email:m.includes("@")?m:void 0,phone:m&&!m.includes("@")?m:void 0,pageUrl:typeof window<"u"?window.location.href:void 0,userAgent:typeof navigator<"u"?navigator.userAgent:void 0}}),u(j=>[...j,{role:"assistant",content:"Спасибо! Получил ваше сообщение, отвечу в течение нескольких минут. Если хотите, оставьте email или телефон — пришлю материалы."}]),S(!0)}catch{u(F=>[...F,{role:"assistant",content:"Не удалось доставить сообщение. Напишите, пожалуйста, на [email protected] — отвечу лично."}])}finally{y(!1)}};return M.jsxs(M.Fragment,{children:[M.jsx(vh,{children:!t&&M.jsxs(Xr.div,{initial:{scale:0,opacity:0}
20,animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},className:"fixed bottom-5 right-5 z-50 flex items-end gap-2",children:[s&&M.jsx(Xr.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},className:"hidden sm:block mb-2 max-w-[220px] rounded-2xl rounded-br-sm bg-white px-4 py-2.5 text-xs text-foreground shadow-card border border-border",children:"Здравствуйте! Подскажу по платформе — задайте вопрос ↘"}),M.jsxs("button",{onClick:()=>n(!0),"aria-label":"Открыть чат с Алексеем",className:"relative flex items-center gap-3 rounded-full bg-white border border-border px-2 py-2 pr-4 shadow-card hover:shadow-lg transition-shadow",children:[M.jsxs("div",{className:"relative",children:[M.jsx("img",{src:Gl,alt:"Алексей",width:40,height:40,loading:"lazy",className:"h-10 w-10 rounded-full object-cover border border-white"}),M.jsx("span",{className:"absolute bottom-0 right-0 h-3 w-3 rounded-full bg-emerald-500 border-2 border-white"})]}),M.jsxs("div",{className:"text-left",children:[M.jsx("p",{className:"text-[13px] font-semibold leading-tight",children:"Алексей"}),M.jsxs("p",{className:"text-[10px] text-emerald-600 leading-tight flex items-center gap-1",children:[M.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500"})," Онлайн"]})]})]})]})}),M.jsx(vh,{children:t&&M.jsxs(Xr.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:20,scale:.95},transition:{duration:.2},className:"fixed bottom-4 right-4 left-4 sm:left-auto z-50 sm:w-[400px] max-h-[80vh] flex flex-col rounded-2xl border border-border bg-white shadow-2xl overflow-hidden",children:[M.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border bg-bg-soft",children:[M.jsxs("div",{className:"flex items-center gap-3",children:[M.jsxs("div",{className:"relative",children:[M.jsx("img",{src:Gl,alt:"Алексей",width:40,height:40,className:"h-10 w-10 rounded-full object-cover border border-white"}),M.jsx("span",{className:"absolute bottom-0 right-0 h-3 w-3 rounded-full bg-emerald-500 border-2 border-white"})]}),M.jsxs("div",{children:[M.jsx("p",{className:"text-sm font-semibold",children:"Алексей · Wize"}),M.jsxs("p",{className:"text-[11px] text-emerald-600 flex items-center gap-1",children:[M.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500"})," Онлайн · отвечает быстро"]})]})]}),M.jsx("button",{onClick:()=>n(!1),className:"rounded-full p-1.5 hover:bg-white transition-colors","aria-label":"Закрыть",children:M.jsx(Lh,{className:"h-4 w-4 text-muted-foreground"})})]}),M.jsxs("div",{className:"flex-1 overflow-y-auto px-4 py-4 space-y-3 min-h-[260px]",children:[l.map((O,L)=>M.jsxs("div",{className:`flex ${O.role==="user"?"justify-end":"justify-start"}`,children:[O.role==="assistant"&&M.jsx("img",{src:Gl,alt:"",className:"h-7 w-7 rounded-full object-cover mr-2 mt-0.5 shrink-0"}),M.jsx("div",{className:`max-w-[80%] rounded-2xl px-3.5 py-2 text-sm leading-relaxed ${O.role==="user"?"bg-foreground text-background rounded-br-sm":"bg-bg-soft text-foreground rounded-bl-sm"}`,children:O.content})]},L)),!b&&l.length===1&&M.jsx("div",{className:"space-y-1.5 pl-9",children:iN.map(O=>M.jsx("button",{onClick:()=>R(O),className:"block w-full text-left text-xs px-3 py-2 rounded-xl border border-border hover:border-foreground
20/40 hover:bg-bg-soft transition",children:O},O))}),g&&M.jsxs("div",{className:"flex justify-start",children:[M.jsx("img",{src:Gl,alt:"",className:"h-7 w-7 rounded-full object-cover mr-2 mt-0.5 shrink-0"}),M.jsx("div",{className:"bg-bg-soft rounded-2xl rounded-bl-sm px-4 py-2.5",children:M.jsxs("div",{className:"flex gap-1",children:[M.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-muted-foreground/50 animate-bounce"}),M.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-muted-foreground/50 animate-bounce [animation-delay:120ms]"}),M.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-muted-foreground/50 animate-bounce [animation-delay:240ms]"})]})})]}),M.jsx("div",{ref:w})]}),M.jsxs("div",{className:"border-t border-border px-3 py-3 space-y-2",children:[M.jsx("input",{value:m,onChange:O=>p(O.target.value),placeholder:"Email или телефон (необязательно)",className:"w-full bg-bg-soft rounded-xl px-3 py-2 text-xs outline-none focus:ring-1 focus:ring-foreground/30"}),M.jsx("button",{type:"button",onClick:()=>R("🧪 Тест отправки из виджета Wize"),disabled:g,className:"w-full text-[11px] text-muted-foreground hover:text-foreground border border-dashed border-border rounded-xl py-1.5 transition disabled:opacity-40",children:"Тест отправки"}),M.jsxs("form",{onSubmit:O=>{O.preventDefault(),R(c)},className:"flex items-center gap-2",children:[M.jsx("input",{ref:A,value:c,onChange:O=>h(O.target.value),placeholder:"Напишите сообщение…",className:"flex-1 bg-bg-soft rounded-xl px-3 py-2.5 text-sm outline-none focus:ring-1 focus:ring-foreground/30",disabled:g}),M.jsx("button",{type:"submit",disabled:g||!c.trim(),className:"inline-flex h-10 w-10 items-center justify-center rounded-xl bg-foreground text-background disabled:opacity-40 hover:bg-foreground
20/90 transition","aria-label":"Отправить",children:b?M.jsx(px,{className:"h-4 w-4"}):M.jsx(uO,{className:"h-4 w-4"})})]}),M.jsx("p",{className:"text-[10px] text-muted-foreground text-center",children:"Сообщение придёт лично Алексею в Telegram"})]})]})})]})}function aN(){return M.jsx("a",{href:"https://reestr.digital.gov.ru/reestr/10328971/",target:"_blank",rel:"noreferrer",className:"group fixed inset-x-0 top-0 z-[60] block overflow-hidden text-white",style:{background:"linear-gradient(90deg, oklch(0.32 0.15 270) 0%, oklch(0.42 0.18 265) 50%, oklch(0.32 0.15 270) 100%)"},children:M.jsxs("div",{className:"container-x flex h-9 items-center justify-center gap-2 text-[12px] sm:text-[13px] font-medium",children:[M.jsx("span",{className:"inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-white/15",children:M.jsx(nO,{className:"h-3.5 w-3.5"})}),M.jsx("span",{className:"hidden sm:inline text-white/90",children:"Wize.Platform внесена в Единый реестр российского ПО"}),M.jsx("span",{className:"sm:hidden text-white/90",children:"В Реестре российского ПО"}),M.jsxs("span",{className:"inline-flex items-center gap-1 font-semibold underline-offset-4 group-hover:underline",children:["Запись №10328971 ",M.jsx(tO,{className:"h-3.5 w-3.5 transition group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]})]})})}function rN(){return M.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:M.jsxs("div",{className:"max-w-md text-center",children:[M.jsx("h1",{className:"text-7xl font-bold text-foreground",children:"404"}),M.jsx("h2",{className:"mt-4 text-xl font-semibold text-foreground",children:"Page not found"}),M.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"The page you're looking for doesn't exist or has been moved."}),M.jsx("div",{className:"mt-6",children:M.jsx(ie,{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 oN({error:t,reset:n}){console.error(t);const s=me();return M.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background px-4",children:M.jsxs("div",{className:"max-w-md text-center",children:[M.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground",children:"This page didn't load"}),M.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."}),M.jsxs("div",{className:"mt-6 flex flex-wrap justify-center gap-2",children:[M.jsx("button",{onClick:()=>{s.invalidate(),n()},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"}),M.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 wn=q_()({head:()=>({meta:[{charSet:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{title:"Wize.Platform — ИИ-платформа для лизинга и автопарков"},{name:"description",content:"ООО «Платформа Подписки» — суверенная ИИ-платформа: лизинг-агенты, учёт изъятого имущества, жизненный цикл авто, ИИ-шлюз. В Реестре российского ПО."},{name:"author",content:"ООО «Платформа Подписки»"},{name:"google-site-verification",content:"pBNtX4DbZK_5cUyT2a8c2ladJUKgwCmzoBBdez8TY0k"},{name:"google-site-verification",content:"ru6y8FuAPXCUb7ugEQXnRoa7Xi0LqxxhGQm5psnPoGs"},{name:"yandex-verification",content:"f0d7b3b69cf7c277"},{property:"og:title",content:"Wize.Platform — ИИ-платформа для лизинга и автопарков"},{property:"og:description",content:"ООО «Платформа Подписки» — суверенная ИИ-платформа: лизинг-агенты, учёт изъятого имущества, жизненный цикл авто, ИИ-шлюз. В Реестре российского ПО."},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:site",content:"@Lovable"},{name:"twitter:title",content:"Wize.Platform — ИИ-платформа для лизинга и автопарков"},{name:"twitter:description",content:"ООО «Платформа Подписки» — суверенная ИИ-платформа: лизинг-агенты, учёт изъятого имущества, жизненный цикл авто, ИИ-шлюз. В Реестре российского ПО."},{property:"og:image",content:"https://storage.googleapis.com/gpt-engineer-file-uploads/attachments/og-images/72f17fac-657d-4471-a707-f01788d7dee5"},{name:"twitter:image",content:"https://storage.googleapis.com/gpt-engineer-file-uploads/attachments/og-images/72f17fac-657d-4471-a707-f01788d7dee5"}],links:[{rel:"stylesheet",href:X2}
20,{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap"}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"ООО «Платформа Подписки»",alternateName:"Wize.Platform",url:"https://wize-ru.lovable.app",logo:"https://wize-ru.lovable.app/favicon.ico",description:"Суверенная ИИ-платформа для лизинговых компаний, банков и автопарков: лизинг-агенты, учёт изъятого имущества, жизненный цикл авто, ИИ-шлюз."})},{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebSite",name:"Wize.Platform",url:"https://wize-ru.lovable.app",potentialAction:{"@type":"SearchAction",target:"https://wize-ru.lovable.app/?q={search_term_string}","query-input":"required name=search_term_string"}})}]}),shellComponent:lN,component:uN,notFoundComponent:rN,errorComponent:oN});function lN({children:t}){return M.jsxs("html",{lang:"en",children:[M.jsx("head",{children:M.jsx(u2,{})}),M.jsxs("body",{children:[t,M.jsx(c2,{})]})]})}function uN(){const{queryClient:t}=wn.useRouteContext();return M.jsx(I2,{client:t,children:M.jsxs("div",{className:"flex min-h-screen flex-col",children:[M.jsx(aN,{}),M.jsx(tN,{}),M.jsx("main",{className:"flex-1",children:M.jsx(ex,{})}),M.jsx(eN,{}),M.jsx(sN,{})]})})}const cN="modulepreload",fN=function(t){return"/"+t},Fb={},je=function(n,s,r){let l=Promise.resolve();if(s&&s.length>0){let m=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),h=c?.nonce||c?.getAttribute("nonce");l=m(s.map(p=>{if(p=fN(p),p in Fb)return;Fb[p]=!0;const g=p.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":cN,g||(b.as="script"),b.crossOrigin="",b.href=p,h&&b.setAttribute("nonce",h),document.head.appendChild(b),g)return new Promise((S,w)=>{b.addEventListener("load",S),b.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(c){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=c,window.dispatchEvent(h),!h.defaultPrevented)throw c}return l.then(c=>{for(const h of c||[])h.status==="rejected"&&u(h.reason);return n().catch(u)})},dN=()=>je(()=>import("./tech-stack-C0rLyjru.js"),__vite__mapDeps([0,1,2,3,4])),hN=Ln("/tech-stack")({head:()=>({meta:[{title:"Технологический стек — Wize.Platform"},{name:"description",content:"Технологический стек Wize.Platform: Python, FastAPI, PyTorch, vLLM, локальные LLM, Kafka, Kubernetes. Суверенный ИИ on-premise для лизинга и автопарков."},{property:"og:title",content:"Технологический стек — Wize.Platform"},{property:"og:description",content:"Backend, Frontend, ML, инфраструктура и безопасность. Полный обзор технологий, на которых построена платформа."}]}),component:De(dN,"component")}),mN=()=>je(()=>import("./requisites-BSyxxRK8.js"),__vite__mapDeps([5,6,7,8,4,9])),pN=Ln("/requisites")({head:()=>({meta:[{title:"Реквизиты компании — ООО «Платформа Подписки»"},{name:"description",content:"Реквизиты ООО «Платформа Подписки» (Wize.Platform): ИНН, ОГРН, юридический адрес, ОКВЭД, описание продуктов, стоимость лицензий и сведения о ПО в Реестре российского софта."},{property:"og:title",content:"Реквизиты — ООО «Платформа Подписки»"},{property:"og:description",content:"Полные реквизиты, описание деятельности, стек технологий, тарифы и сведения об исключительных правах."},{property:"og:url",content:"https://wize-platform.ru/requisites"}]}
20),component:De(mN,"component")}),gN=()=>je(()=>import("./registry-Cy4jdVZ7.js"),__vite__mapDeps([10,1,11])),yN=Ln("/registry")({head:()=>({meta:[{title:"Реестр российского ПО — Wize.Platform"},{name:"description",content:"Wize.Platform внесена в Единый реестр российских программ для ЭВМ и баз данных."},{property:"og:title",content:"Wize.Platform в Реестре российского ПО"},{property:"og:description",content:"Соответствие 152-ФЗ и КИИ, On-Premise, импортозамещение. Подходит для госкомпаний и банков."},{property:"og:url",content:"https://wize-ru.lovable.app/registry"}]}),component:De(gN,"component")}),vN=()=>je(()=>import("./pricing-DbZ-idpN.js"),__vite__mapDeps([12,2,13,9,6,14])),bN=Ln("/pricing")({head:()=>({meta:[{title:"Тарифы и лицензирование — Wize.Platform"},{name:"description",content:"Прозрачные тарифы Wize.Platform: учёт стока от 100 ₽/ТС в месяц, ИИ-модули 35 ₽/авто, ИИ-шлюз 120 ₽ за 1 000 000 токенов. On-Premise лицензии и пакеты внедрения."},{property:"og:title",content:"Тарифы — Wize.Platform"},{property:"og:description",content:"Подписка, on-premise лицензии и пакеты внедрения. Считается прозрачно, по факту использования."}]}),component:De(vN,"component")}),SN=()=>je(()=>import("./contact-bt-dJShy.js"),__vite__mapDeps([15,8])),xN=Ln("/contact")({head:()=>({meta:[{title:"Связаться — Wize.Platform"},{name:"description",content:"Запросите демо Wize.Platform — суверенной ИИ-платформы для лизинга, банков и автопарков."},{property:"og:title",content:"Связаться с Wize.Platform"},{property:"og:description",content:"Запросите демо суверенной ИИ-платформы: лизинг-агенты, ИИ-шлюз, учёт изъятого имущества."},{property:"og:url",content:"https://wize-ru.lovable.app/contact"}]}),component:De(SN,"component")}),wN=()=>je(()=>import("./blog-tB4jcjKO.js"),__vite__mapDeps([16,17,14])),TN=Ln("/blog")({head:()=>({meta:[{title:"Блог — Wize.Platform"},{name:"description",content:"Статьи о жизненном цикле лизингового автомобиля, ИИ-ценообразовании и учёте изъятого имущества."},{property:"og:title",content:"Блог Wize.Platform"},{property:"og:description",content:"Практика управления лизинговым стоком и ИИ-инструменты для лизинговых компаний."}]}),component:De(wN,"component")}),EN=()=>je(()=>import("./index-DJ27Gj3g.js"),__vite__mapDeps([18,14,19,3,7,13,1,2,6,11,17])),AN=Ln("/")({head:()=>({meta:[{title:"Wize.Platform — суверенный ИИ для лизинга и автопарков"},{name:"description",content:"ООО «Платформа Подписки»: лизинг-агенты, учёт изъятого имущества, жизненный цикл авто и ИИ-шлюз. On-Premise, 152-ФЗ, в Реестре российского ПО."}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"Wize.Platform",applicationCategory:"BusinessApplication",operatingSystem:"Linux",publisher:{"@type":"Organization",name:"ООО «Платформа Подписки»",url:"https://wize-platform.ru"},offers:{"@type":"Offer",priceCurrency:"RUB"}})}]}),component:De(EN,"component")}),RN=()=>je(()=>import("./solutions._segment-D6DGoZAd.js"),__vite__mapDeps([20,21,3,19])),CN=()=>je(()=>import("./solutions._segment-6dFGwQKP.js"),[]),MN=()=>je(()=>import("./solutions._segment-BjtGLYYa.js"),[]),_N={leasing:{title:"Лизинговые компании",lead:"Конвейер сделок без рутины: ИИ-агенты, скоринг и автоматизация документооборота.",points:["Сокращение цикла сделки до 60%","Рост конверсии в договор","24/7 приём заявок","Интеграции с CRM/АБС"]},bank:{title:"Банки",lead:"Суверенная ИИ-инфраструктура для розницы и SME: единый шлюз, гардрейлы и аудит.",points:["152-ФЗ и КИИ","Маршрутизация и биллинг моделей","RBAC и квоты","On-Premise"]},fleet:{title:"Флит-операторы",lead:"Управление автопарком на ИИ: жизненный цикл, телематика и предиктивное обслуживание.",points:["Снижение простоев до 27%","Рост ресурса ТС","Единое окно операций","Контроль расходов"]}},ON=Ln("/solutions/$segment")({loader:({params:t})=>{const n=_N[t.segment];if(!n)throw Zb();return n},head:({params:t,loaderData:n})=>({meta:[{title:`${n?.title??"Решение"} — Wize.Platform`},{name:"description",content:n?.lead??""},{property:"og:title",content:`${n?.title??"Решение"} — Wize.Platform`},{property:"og:description",content:n?.lead??""},{property:"og:url",content:`https://wize-ru.lovable.app/solutions/${t.segment}`}],scripts:n?[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Service",name:n.title,de
20scription:n.lead,serviceType:n.title,url:`https://wize-ru.lovable.app/solutions/${t.segment}`,provider:{"@type":"Organization",name:"ООО «Платформа Подписки»",url:"https://wize-ru.lovable.app"},areaServed:{"@type":"Country",name:"Russia"}})}]:[]}),notFoundComponent:De(MN,"notFoundComponent"),errorComponent:De(CN,"errorComponent"),component:De(RN,"component")}),DN=()=>je(()=>import("./products._slug-l85CAfJ9.js"),__vite__mapDeps([22,21])),jN=()=>je(()=>import("./products._slug-rB-ww37n.js"),[]),zN=()=>je(()=>import("./products._slug-DU1fe830.js"),[]),LN={"leasing-agents":{title:"Лизинг-агенты",tag:"ИИ-агенты для сделок",lead:"ИИ-агенты ведут заявку от первого касания до подписания: квалификация, скоринг, документы и коммуникация — без ручной рутины менеджера.",bullets:["Автоматическая обработка входящих заявок 24/7","Многофакторный скоринг и анти-фрод","Голосовой и чат-агент с распознаванием намерений","Сборка и проверка комплекта документов","Интеграции с CRM, АБС и e-doc"]},repossessed:{title:"Учёт изъятого имущества",tag:"Реестр и реализация",lead:"Единый реестр изъятых активов: фотофиксация, оценка, хранение, реализация и отчётность.",bullets:["Реестр объектов с фотофиксацией","Оценка и подготовка к торгам","Управление хранением и логистикой","Документооборот и аналитика"]},lifecycle:{title:"Жизненный цикл авто",tag:"Управление автопарком",lead:"От покупки до утилизации — единое окно для всех операций с автомобилями.",bullets:["Планирование ТО и ремонтов","Контроль топлива и телематика","Предиктивное обслуживание","Учёт списаний и продаж"]},"ai-gateway":{title:"ИИ-шлюз",tag:"Инфраструктура LLM",lead:"Единая точка интеграции LLM в корпоративные системы с гардрейлами, маршрутизацией и контролем расходов.",bullets:["Маршрутизация моделей под задачу","Гардрейлы, PII-фильтр и аудит","RBAC, квоты и центры затрат","On-Premise развёртывание","Fine-tuning под домен"],external:"https://w1-ai.com/ru"}},NN=Ln("/products/$slug")({loader:({params:t})=>{const n=LN[t.slug];if(!n)throw Zb();return n},head:({params:t,loaderData:n})=>({meta:[{title:`${n?.title??"Продукт"} — Wize.Platform`},{name:"description",content:n?.lead??""},{property:"og:title",content:`${n?.title??"Продукт"} — Wize.Platform`},{property:"og:description",content:n?.lead??""},{property:"og:type",content:"product"},{property:"og:url",content:`https://wize-ru.lovable.app/products/${t.slug}`}],scripts:n?[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Product",name:n.title,description:n.lead,category:n.tag,url:`https://wize-ru.lovable.app/products/${t.slug}`,brand:{"@type":"Brand",name:"Wize.Platform"},image:"https://storage.googleapis.com/gpt-engineer-file-uploads/attachments/og-images/72f17fac-657d-4471-a707-f01788d7dee5",offers:{"@type":"Offer",availability:"https://schema.org/InStock",priceCurrency:"RUB",price:"0",url:`https://wize-ru.lovable.app/products/${t.slug}`}})}]:[]}),notFoundComponent:De(zN,"notFoundComponent"),errorComponent:De(jN,"errorComponent"),component:De(DN,"component")}),PN=[{slug:"lifecycle-management",title:"Жизненный цикл лизингового авто: от выдачи до повторной продажи",excerpt:"Как единая платформа сокращает простой автомобиля между договорами на 30–45% и удерживает остаточную стоимость.",date:"12 мая 2026",readTime:"7 мин",category:"Жизненный цикл",cover:"https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1600&q=70",body:[{paragraphs:["Каждый автомобиль в лизинге проходит десятки состояний: согласование, выдача, эксплуатация, ТО, изъятие, предпродажная подготовка, реализация. В большинстве компаний эти этапы живут в разных системах — 1С, CRM, Excel, мессенджерах. Результат — дорогой простой и потерянная маржа."]},{heading:"Где теряется маржа",bullets:["Авто после изъятия 30–60 дней «висит» без ответственного.","Оценка делается вручную по устаревшим источникам.","Объявления публикуются на 1–2 площадках, дубликаты не отслеживаются.","Логистика между стоянками Ð
20½Ðµ оптимизирована."],paragraphs:[]},{heading:"Что меняет единая платформа",paragraphs:["Wize.Platform объединяет все этапы в одно окно: статус автомобиля, история обслуживания, актуальная рыночная цена, площадки публикации, ответственный сотрудник, SLA.","ИИ-модуль ежедневно пересчитывает рекомендованную цену по рынку, прогнозирует срок реализации и предупреждает, если объявление недополучает просмотры."]},{heading:"Эффект",bullets:["Срок между изъятием и сделкой — минус 30–45%.","Рост утилизации стоянок — +20%.","Снижение управленческих ошибок и штрафов за просрочки."],paragraphs:[]}]},{slug:"ai-pricing-leasing",title:"ИИ-ценообразование изъятых автомобилей: как не дарить миллионы рынку",excerpt:"Модель учитывает пробег, состояние, регион и сезон, и предлагает цену, при которой авто продаётся за 14–21 день вместо 60.",date:"28 апреля 2026",readTime:"6 мин",category:"ИИ и оценка",cover:"https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1600&q=70",body:[{paragraphs:["Стандартная практика — оценщик смотрит 3–5 объявлений на Авто.ру и Дром, делает скидку 10%. На большом стоке такая логика стоит компании сотен миллионов рублей в год: цены либо завышены и авто месяцами не продаётся, либо занижены и маржа уходит покупателю."]},{heading:"Что делает ИИ-оценщик",bullets:["Парсит реальные сделки и активные объявления по марке/модели/году/региону.","Учитывает пробег, состояние, комплектацию и сезонность.","Возвращает диапазон цен и прогноз срока продажи в днях.","Объясняет, почему цена именно такая — для согласующего."],paragraphs:[]},{heading:"Контроль и согласование",paragraphs:["Цены ниже автоматического коридора уходят на согласование руководителя — все действия пишутся в аудит-лог. Это закрывает риски злоупотреблений и ускоряет принятие решений."]},{heading:"Результат пилотов",bullets:["Срок реализации: с 60 до 18–21 дня.","Маржа на единицу: +6–9%.","Время оценщика: −70%, освобождается на сложные кейсы."],paragraphs:[]}]},{slug:"repossessed-assets-control",title:"Учёт изъятого имущества: единое окно вместо 6 систем",excerpt:"Стоянки, документы, оценки, объявления, перегоны — в одной системе с разграничением прав и полным аудит-логом.",date:"10 апреля 2026",readTime:"5 мин",category:"Учёт и контроль",cover:"https://images.unsplash.com/photo-1549399542-7e3f8b79c341?auto=format&fit=crop&w=1600&q=70",body:[{paragraphs:["Изъятый автомобиль — это всегда десятки касаний разных служб: юристы, безопасность, логистика, оценщики, продавцы. Когда данные разнесены по 1С, Excel и мессенджерам, теряются документы, ключи, СТС, и каждая претензия превращается в расследование."]},{heading:"Единое окно",paragraphs:["Wize.Platform даёт каждому сотруднику только нужный ему срез: безопасник видит риски, логист — карту стоянок и план перегонов, продавец — статус публикаций и заявки, руководитель — финансовые KPI."]},{heading:"Что внутри",bullets:["Карта стоянок с загрузкой и сроками хранения.","Электронный пакет док
20ументов по каждому ВИН.","Шаблоны объявлений с автозаполнением и публикация на Авито/Дром/Auto.ru.","Гибкие роли и права, аудит критичных действий."],paragraphs:[]},{heading:"Эффект",bullets:["Время на поиск авто/документов: с минут до секунд.","Снижение операционных рисков и комплаенс-нарушений.","Прозрачность для руководства и собственников."],paragraphs:[]}]}],BN=()=>je(()=>import("./blog._slug-C093vnae.js"),[]),VN=()=>je(()=>import("./blog._slug-COZV3k9Y.js"),__vite__mapDeps([23,21,17])),UN=Ln("/blog/$slug")({head:({params:t})=>{const n=PN.find(s=>s.slug===t.slug);return n?{meta:[{title:`${n.title} — Wize.Platform`},{name:"description",content:n.excerpt},{property:"og:title",content:n.title},{property:"og:description",content:n.excerpt},{property:"og:image",content:n.cover},{property:"og:type",content:"article"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:image",content:n.cover}],scripts:[{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting",headline:n.title,description:n.excerpt,image:n.cover,datePublished:n.date,author:{"@type":"Organization",name:"Wize.Platform"}})}]}:{meta:[{title:"Статья — Wize.Platform"}]}},component:De(VN,"component"),notFoundComponent:De(BN,"notFoundComponent")}),kN=hN.update({id:"/tech-stack",path:"/tech-stack",getParentRoute:()=>wn}),HN=pN.update({id:"/requisites",path:"/requisites",getParentRoute:()=>wn}),qN=yN.update({id:"/registry",path:"/registry",getParentRoute:()=>wn}),FN=bN.update({id:"/pricing",path:"/pricing",getParentRoute:()=>wn}),GN=xN.update({id:"/contact",path:"/contact",getParentRoute:()=>wn}),bw=TN.update({id:"/blog",path:"/blog",getParentRoute:()=>wn}),YN=AN.update({id:"/",path:"/",getParentRoute:()=>wn}),IN=ON.update({id:"/solutions/$segment",path:"/solutions/$segment",getParentRoute:()=>wn}),XN=NN.update({id:"/products/$slug",path:"/products/$slug",getParentRoute:()=>wn}),KN=UN.update({id:"/$slug",path:"/$slug",getParentRoute:()=>bw}),QN={BlogSlugRoute:KN},ZN=bw._addFileChildren(QN),JN={IndexRoute:YN,BlogRoute:ZN,ContactRoute:GN,PricingRoute:FN,RegistryRoute:qN,RequisitesRoute:HN,TechStackRoute:kN,ProductsSlugRoute:XN,SolutionsSegmentRoute:IN},$N=wn._addFileChildren(JN),WN=()=>{const t=new G2;return n2({routeTree:$N,context:{queryClient:t},scrollRestoration:!0,defaultPreloadStaleTime:0})};async function t4(){const t=await WN();let n;if(u0){const s=await u0.getOptions();s.serializationAdapters=s.serializationAdapters??[],window.__TSS_START_OPTIONS__=s,n=s.serializationAdapters,t.options.defaultSsr=s.defaultSsr}else n=[],window.__TSS_START_OPTIONS__={serializationAdapters:n};return n.push(s_),t.options.serializationAdapters&&n.push(...t.options.serializationAdapters),t.update({basepath:"",serializationAdapters:n}),t.stores.matchesId.get().length||await l_(t),t}async function e4(){const t=await t4();return window.$_TSR?.h(),t}var Nd;function n4(){return Nd||(Nd=e4()),M.jsx(d_,{promise:Nd,children:t=>M.jsx(a2,{router:t})})}U.startTransition(()=>{KE.hydrateRoot(document,M.jsx(U.StrictMode,{children:M.jsx(n4,{})}))});export{tO as A,nO as B,px as C,ie as L,ON as R,uO as S,PN as a,WL as b,Ds as c,vh as d,NN as e,UN as f,sO as g,M as j,Xr as m,Zb as n,U as r,vw as s,ix as u};

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.