vendor: 4,965 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/about-ChWQ5NB9.js","assets/query-BF8rksmY.js","assets/react-vendor-DWYk_N8Y.js","assets/radix-ui-DvL_1yzp.js","assets/services-DAFPIq5A.js","assets/projects-BBDJ_Unf.js","assets/book-CT0FxzVv.js","assets/speaking-DNAS3IPD.js","assets/contact-BXXSLYao.js"])))=>i.map(i=>d[i]); 2var jE=Object.defineProperty;var f0=n=>{throw TypeError(n)};var LE=(n,i,r)=>i in n?jE(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r;var ta=(n,i,r)=>LE(n,typeof i!="symbol"?i+"":i,r),d0=(n,i,r)=>i.has(n)||f0("Cannot "+r);var Ee=(n,i,r)=>(d0(n,i,"read from private field"),r?r.call(n):i.get(n)),Di=(n,i,r)=>i.has(n)?f0("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(n):i.set(n,r),ya=(n,i,r,o)=>(d0(n,i,"write to private field"),o?o.call(n,r):i.set(n,r),r);import{r as VE,j as O,a as w,Q as _E,b as UE}from"./query-BF8rksmY.js";import{r as BE}from"./react-vendor-DWYk_N8Y.js";import{r as HE}from"./radix-ui-DvL_1yzp.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))o(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function r(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(u){if(u.ep)return;u.ep=!0;const f=r(u);fetch(u.href,f)}})();var $d={exports:{}},wo={},th={exports:{}},eh={};/** 3 * @license React 4 * scheduler.production.js 5 * 6 * Copyright (c) Meta Platforms, Inc. and affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var h0;function GE(){return h0||(h0=1,(function(n){function i(P,tt){var Q=P.length;P.push(tt);t:for(;0<Q;){var mt=Q-1>>>1,dt=P[mt];if(0<u(dt,tt))P[mt]=tt,P[Q]=dt,Q=mt;else break t}}function r(P){return P.length===0?null:P[0]}function o(P){if(P.length===0)return null;var tt=P[0],Q=P.pop();if(Q!==tt){P[0]=Q;t:for(var mt=0,dt=P.length,Lt=dt>>>1;mt<Lt;){var pe=2*(mt+1)-1,de=P[pe],ie=pe+1,rn=P[ie];if(0>u(de,Q))ie<dt&&0>u(rn,de)?(P[mt]=rn,P[ie]=Q,mt=ie):(P[mt]=de,P[pe]=Q,mt=pe);else if(ie<dt&&0>u(rn,Q))P[mt]=rn,P[ie]=Q,mt=ie;else break t}}return tt}function u(P,tt){var Q=P.sortIndex-tt.sortIndex;return Q!==0?Q:P.id-tt.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var p=[],y=[],g=1,v=null,S=3,x=!1,C=!1,j=!1,A=!1,L=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function K(P){for(var tt=r(y);tt!==null;){if(tt.callback===null)o(y);else if(tt.startTime<=P)o(y),tt.sortIndex=tt.expirationTime,i(p,tt);else break;tt=r(y)}}function Z(P){if(j=!1,K(P),!C)if(r(p)!==null)C=!0,rt||(rt=!0,nt());else{var tt=r(y);tt!==null&&it(Z,tt.startTime-P)}}var rt=!1,W=-1,ft=5,H=-1;function $(){return A?!0:!(n.unstable_now()-H<ft)}function J(){if(A=!1,rt){var P=n.unstable_now();H=P;var tt=!0;try{t:{C=!1,j&&(j=!1,G(W),W=-1),x=!0;var Q=S;try{e:{for(K(P),v=r(p);v!==null&&!(v.expirationTime>P&&$());){var mt=v.callback;if(typeof mt=="function"){v.callback=null,S=v.priorityLevel;var dt=mt(v.expirationTime<=P);if(P=n.unstable_now(),typeof dt=="function"){v.callback=dt,K(P),tt=!0;break e}v===r(p)&&o(p),K(P)}else o(p);v=r(p)}if(v!==null)tt=!0;else{var Lt=r(y);Lt!==null&&it(Z,Lt.startTime-P),tt=!1}}break t}finally{v=null,S=Q,x=!1}tt=void 0}}finally{tt?nt():rt=!1}}}var nt;if(typeof Y=="function")nt=function(){Y(J)};else if(typeof MessageChannel<"u"){var gt=new MessageChannel,ht=gt.port2;gt.port1.onmessage=J,nt=function(){ht.postMessage(null)}}else nt=function(){L(J,0)};function it(P,tt){W=L(function(){P(n.unstable_now())},tt)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(P){P.callback=null},n.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ft=0<P?Math.floor(1e3/P):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(P){switch(S){case 1:case 2:case 3:var tt=3;break;default:tt=S}var Q=S;S=tt;try{return P()}finally{S=Q}},n.unstable_requestPaint=function(){A=!0},n.unstable_runWithPriority=function(P,tt){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var Q=S;S=P;
vendor: 10,498 bytes, lines 10-25
10try{return tt()}finally{S=Q}},n.unstable_scheduleCallback=function(P,tt,Q){var mt=n.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?mt+Q:mt):Q=mt,P){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=Q+dt,P={id:g++,callback:tt,priorityLevel:P,startTime:Q,expirationTime:dt,sortIndex:-1},Q>mt?(P.sortIndex=Q,i(y,P),r(p)===null&&P===r(y)&&(j?(G(W),W=-1):j=!0,it(Z,Q-mt))):(P.sortIndex=dt,i(p,P),C||x||(C=!0,rt||(rt=!0,nt()))),P},n.unstable_shouldYield=$,n.unstable_wrapCallback=function(P){var tt=S;return function(){var Q=S;S=tt;try{return P.apply(this,arguments)}finally{S=Q}}}})(eh)),eh}var m0;function YE(){return m0||(m0=1,th.exports=GE()),th.exports}/** 11 * @license React 12 * react-dom-client.production.js 13 * 14 * Copyright (c) Meta Platforms, Inc. and affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var p0;function qE(){if(p0)return wo;p0=1;var n=YE(),i=VE(),r=BE();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){for(var e=t,a=e;a&&!a.alternate;)e=a,(e.flags&4098)!==0&&(t=e.return),a=e.return;for(;e.return;)e=e.return;return e.tag===3?t:null}function d(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(f(t)!==t)throw Error(o(188))}function y(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(o(188));return e!==t?null:t}for(var a=t,l=e;;){var s=a.return;if(s===null)break;var c=s.alternate;if(c===null){if(l=s.return,l!==null){a=l;continue}break}if(s.child===c.child){for(c=s.child;c;){if(c===a)return p(s),t;if(c===l)return p(s),e;c=c.sibling}throw Error(o(188))}if(a.return!==l.return)a=s,l=c;else{for(var m=!1,b=s.child;b;){if(b===a){m=!0,a=s,l=c;break}if(b===l){m=!0,l=s,a=c;break}b=b.sibling}if(!m){for(b=c.child;b;){if(b===a){m=!0,a=c,l=s;break}if(b===l){m=!0,l=c,a=s;break}b=b.sibling}if(!m)throw Error(o(189))}}if(a.alternate!==l)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?t:e}function g(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=g(t),e!==null)return e;t=t.sibling}return null}function v(t,e,a,l,s,c){for(;t!==null;){if((t.tag===5||t.tag===27||t.tag===6)&&a(t,l,s,c)||(t.tag!==22||t.memoizedState===null)&&(e||t.tag!==5&&t.tag!==27)&&v(t.child,e,a,l,s,c))return!0;t=t.sibling}return!1}function S(t){for(t=t.return;t!==null;){if(t.tag===3||t.tag===5||t.tag===27)return t;t=t.return}return null}function x(t){var e=!1;for(t=t.return;t!==null&&(t.tag===4&&(e=!0),!(t.tag===3||t.tag===5||t.tag===27));)t=t.return;return e}function C(t){var e=[null,null],a=S(t);return a===null||j(e,t,a.child,{foundSelf:!1}),e}function j(t,e,a,l){for(;a!==null;){if(a===e)l.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(l.foundSelf)return t[1]=a,!0;t[0]=a}else if((a.tag!==22||a.memoizedState===null)&&j(t,e,a.child,l))return!0;a=a.sibling}return!1}function A(t){switch(t.tag){case 5:case 27:case 6:return t.stateNode;case 3:return t.stateNode.containerInfo;default:throw Error(o(559))}}var L=null,G=null;function Y(t,e,a){return t===a?!0:t===e?(L=t,!0):!1}function K(t,e,a){return t===a?(G=t,!1):t===e?(G!==null&&(L=t),!0):!1}function Z(t){if(t===null)return null;do t=t===null?null:t.return;while(t&&t.tag!==5&&t.tag!==27&&t.tag!==3);return t||null}function rt(t,e,a){for(var l=0,s=t;s;s=a(s))l++;s=0;for(var c=e;c;c=a(c))s++;for(;0<l-s;)t=a(t),l--;for(;0<s-l;)e=a(e),s--;for(;l--;){if(t===e||e!==null&&t===e.alternate)return t;t=a(t),e=a(e)}return null}var W=Object.assign,ft=Symbol.for("react.element"),H=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),nt=Symbol.for("react.strict_mode"),gt=Symbol.for("react.profiler"),ht=Symbol.for("react.consumer"),it=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),mt=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),Lt=Symbol.for("react.activity"),pe=Symbol.for("react.legacy_hidden"),de=Symbol.for("react.memo_cache_sentinel"),ie=Symbol.for("react.view_transition"),rn=Symbol.for("react.recoverable"),Wa=Symbol.iterator;function qe(t){return t===null||typeof t!="object"?null:(t=Wa&&t[Wa]||t["@@iterator"],typeof t=="function"?t:null)}var Ca=Symbol.for("react.client.reference");function $a(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ca?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case J:return"Fragment";case gt:return"Profiler";case nt:return"StrictMode";case tt:return"Suspense";case Q:return"SuspenseList";case Lt:return"Activity";case ie:return"ViewTransition"}if(typeof t=="object")switch(t.$$typeof){case $:return"Portal";case it:return t.displayName||"Context";case ht:return(t._context.displayName||"Context")+".Consumer";case P:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case mt:return e=t.displayName||null,e!==null?e:$a(t.type)||"Memo";case dt:e=t._payload,t=t._init;try{return $a(t(e))}catch{}}return null}var on=Array.isArray,vt=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bt=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Aa={pending:!1,data:null,method:null,action:null},ye=[],sn=-1;function un(t){return{current:t}}function Te(t){0>sn||(t.current=ye[sn],ye[sn]=null,sn--)}function Vt(t,e){sn++,ye[sn]=t.current,t.current=e}var Rn=un(null),Yi=un(null),Fn=un(null),Sl=un(null);function xl(t,e){switch(Vt(Fn,e),Vt(Yi,t),Vt(Rn,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Sv(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Sv(e),t=xv(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Te(Rn),Vt(Rn,t)}function ti(){Te(Rn),Te(Yi),Te(Fn)}function Mr(t){var e=t.memoizedState;e!==null&&(rr._currentValue=e.memoizedState,Vt(Sl,t)),e=Rn.current;var a=xv(e,t.type);e!==a&&(Vt(Yi,t),Vt(Rn,a))}function Mn(t){Yi.current===t&&(Te(Rn),Te(Yi)),Sl.current===t&&(Te(Sl),rr._currentValue=Aa)}var Ra,Dr;function Dn(t){if(Ra===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);Ra=e&&e[1]||"",Dr=-1<a.stack.indexOf(` 19 at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return` 20`+Ra+t+Dr}var cn=!1;function fn(t,e){if(!t||cn)return"";cn=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(I){var D=I}Reflect.construct(t,[],X)}else{try{X.call()}catch(I){D=I}X=!1;try{var U=Object.getOwnPropertyDescriptor(t.prototype,"props");Object.defineProperty(t.prototype,"props",{configurable:!0,set:function(){throw Error()}}),X=!0,new t}finally{X&&(U!==void 0?Object.defineProperty(t.prototype,"props",U):delete t.prototype.props)}}}else{try{throw Error()}catch(I){D=I}(X=t())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(I){if(I&&D&&typeof I.stack=="string")return[I.stack,D.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),m=c[0],b=c[1];if(m&&b){var T=m.split(` 21`),N=b.split(` 22`);for(s=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;s<N.length&&!N[s].includes("DetermineComponentFrameRoot");)s++;if(l===T.length||s===N.length)for(l=T.length-1,s=N.length-1;1<=l&&0<=s&&T[l]!==N[s];)s--;for(;1<=l&&0<=s;l--,s--)if(T[l]!==N[s]){if(l!==1||s!==1)do if(l--,s--,0>s||T[l]!==N[s]){var B=` 23`+T[l].replace(" at new "," at ");return t.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",t.displayName)),B}while(1<=l&&0<=s);break}}}finally{cn=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?Dn(a):""}function wc(t,e){switch(t.tag){case 26:case 27:case 5:return Dn(t.type);case 16:return Dn("Lazy");case 13:return t.child!==e&&e!==null?Dn("Suspense Fallback"):Dn("Suspense");case 19:return Dn("SuspenseList");case 0:case 15:return fn(t.type,!1);case 11:return fn(t.type.render,!1);case 1:return fn(t.type,!0);case 31:return Dn("Activity");case 30:return Dn("ViewTransition");default:return""}}function os(t){try{var e="",a=null;do e+=wc(t,a),a=t,t=t.return;while(t);return e}catch(l){return` 24Error generating stack: `+l.message+` 25`+l.stack}}var qi=Object.prototype.hasOwnProperty,zr=n.unstable_scheduleCallback,dn=n.unstable_cancelCallback,ss=n.unstable_shouldYield,us=n.unstable_requestPaint,Xe=n.unstable_now,Ec=n.unstable_getCurrentPriorityLevel,Nr=n.unstable_ImmediatePriority,Xi=n.unstable_UserBlockingPriority,ki=n.unstable_NormalPriority,Or=n.unstable_LowPriority,cs=n.unstable_IdlePriority,fs=n.log,Cc=n.unstable_setDisableYieldValue,ei=null,Ae=null;function hn(t){if(typeof fs=="function"&&Cc(t),Ae&&typeof Ae.setStrictMode=="function")try{Ae.setStrictMode(ei,t)}catch{}}var ke=Math.clz32?Math.clz32:E,Ac=Math.log,Rc=Math.LN2;function E(t){return t>>>=0,t===0?32:31-(Ac(t)/Rc|0)|0}var M=256,_=262144,k=4194304;function F(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&-t;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;
vendor: 9,505 bytes, line 25
25case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ct(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var s=0,c=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var b=l&134217727;return b!==0?(l=b&~c,l!==0?s=F(l):(m&=b,m!==0?s=F(m):a||(a=b&~t,a!==0&&(s=F(a))))):(b=l&~c,b!==0?s=F(b):m!==0?s=F(m):a||(a=l&~t,a!==0&&(s=F(a)))),s===0?0:e!==0&&e!==s&&(e&c)===0&&(c=s&-s,a=e&-e,c>=a||c===32&&(a&4194048)!==0)?e:s}function ot(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function et(t,e){(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var l=31-ke(a),s=1<<l;e|=t[l],a&=~s}return e}function at(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bt(){var t=k;return k<<=1,(k&62914560)===0&&(k=4194304),t}function St(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function pt(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Tt(t,e,a,l,s,c){var m=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var b=t.entanglements,T=t.expirationTimes,N=t.hiddenUpdates;for(a=m&~a;0<a;){var B=31-ke(a),X=1<<B;b[B]=0,T[B]=-1;var D=N[B];if(D!==null)for(N[B]=null,B=0;B<D.length;B++){var U=D[B];U!==null&&(U.lane&=-536870913)}a&=~X}l!==0&&Wt(t,l,0),c!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=c&~(m&~e))}function Wt(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-ke(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&261930}function _t(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-ke(a),s=1<<l;s&e|t[l]&e&&(t[l]|=e),a&=~s}}function Gt(t,e){var a=e&-e;return a=(a&42)!==0?1:Nt(a),(a&(t.suspendedLanes|e))!==0?0:a}function Nt(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function he(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function ze(){var t=Bt.p;return t!==0?t:(t=window.event,t===void 0?32:i0(t.type))}function Kn(t,e){var a=Bt.p;try{return Bt.p=t,e()}finally{Bt.p=a}}var Ne=Math.random().toString(36).slice(2),se="__reactFiber$"+Ne,Qt="__reactProps$"+Ne,mn="__reactContainer$"+Ne,Ma="__reactEvents$"+Ne,ni="__reactListeners$"+Ne,Tl="__reactHandles$"+Ne,Pi="__reactResources$"+Ne,ia="__reactMarker$"+Ne,Rt="__reactLoad$"+Ne;function re(t){delete t[se],delete t[Qt],delete t[ni],delete t[Tl]}function Oe(t){var e;if(e=t[se])return e;for(var a=t.parentNode;a;){if(e=a[mn]||a[se]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Bv(t);t!==null;){if(a=t[se])return a;t=Bv(t)}return e}t=a,a=t.parentNode}return null}function pn(t){if(t=t[se]||t[mn]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Da(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function Xt(t){var e=t[Pi];return e||(e=t[Pi]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function $t(t){t[ia]=!0}function jr(t){t[Rt]=void 0}var ds=new Set,ap={};function Fi(t,e){wl(t,e),wl(t+"Capture",e)}function wl(t,e){for(ap[t]=e,t=0;t<e.length;t++)ds.add(e[t])}var Ix=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]*$"),ip={},lp={};function Wx(t){return qi.call(lp,t)?!0:qi.call(ip,t)?!1:Ix.test(t)?lp[t]=!0:(ip[t]=!0,!1)}var Ht=!1;function rp(){var t=Ht;return Ht=!1,t}function hs(t,e,a){if(Wx(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,a)}}function ms(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,a)}}function za(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,l)}}function yn(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function op(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function $x(t,e,a){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,c=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(m){a=""+m,c.call(this,m)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(m){a=""+m},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Mc(t){if(!t._valueTracker){var e=op(t)?"checked":"value";t._valueTracker=$x(t,e,""+t[e])}}function sp(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=op(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}var tT=/[\n"\\]/g;function zn(t){return t.replace(tT,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Dc(t,e,a,l,s,c,m,b){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),e!=null?m==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+yn(e)):t.value!==""+yn(e)&&(t.value=""+yn(e)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),e!=null?m==="number"&&t.value==e?zc(t,yn(t.value)):zc(t,yn(e)):a!=null?zc(t,yn(a)):l!=null&&t.removeAttribute("value"),s==null&&c!=null&&(t.defaultChecked=!!c),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.name=""+yn(b):t.removeAttribute("name")}function up(t,e,a,l,s,c,m,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){Mc(t);return}a=a!=null?""+yn(a):"",e=e!=null?""+yn(e):a,b||e===t.value||(t.value=e),t.defaultValue=e}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=b?t.checked:!!l,t.defaultChecked=!!l,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),Mc(t)}function zc(t,e){t.defaultValue!==""+e&&(t.defaultValue=""+e)}function El(t,e,a,l){if(t=t.options,e){e={};for(var s=0;s<a.length;s++)e["$"+a[s]]=!0;for(a=0;a<t.length;a++)s=e.hasOwnProperty("$"+t[a].value),t[a].selected!==s&&(t[a].selected=s),s&&l&&(t[a].defaultSelected=!0)}else{for(a=""+yn(a),e=null,s=0;s<t.length;s++){if(t[s].value===a){t[s].selected=!0,l&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function cp(t,e,a){if(e!=null&&(e=""+yn(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+yn(a):""}function fp(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(o(92));if(on(l)){if(1<l.length)throw Error(o(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=yn(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),Mc(t)}function Cl(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var eT=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 dp(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||eT.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a
vendor: 4,540 bytes, line 25
25).trim():t[e]=a+"px"}function hp(t,e,a){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="",Ht=!0);for(var s in e)l=e[s],e.hasOwnProperty(s)&&a[s]!==l&&(dp(t,s,l),Ht=!0)}else for(var c in e)e.hasOwnProperty(c)&&dp(t,c,e[c])}function Nc(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nT=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"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),aT=/^[\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 ps(t){return aT.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function la(){}var Oc=null;function jc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Al=null,Rl=null;function mp(t){var e=pn(t);if(e&&(t=e.stateNode)){var a=t[Qt]||null;t:switch(t=e.stateNode,e.type){case"input":if(Dc(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+zn(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var s=l[Qt]||null;if(!s)throw Error(o(90));Dc(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&sp(l)}break t;case"textarea":cp(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&El(t,!!a.multiple,e,!1)}}}var Lc=!1;function pp(t,e,a){if(Lc)return t(e,a);Lc=!0;
vendor: 4,140 bytes, line 25
25try{var l=t(e);return l}finally{if(Lc=!1,(Al!==null||Rl!==null)&&(pu(),Al&&(e=Al,t=Rl,Rl=Al=null,mp(e),t)))for(e=0;e<t.length;e++)mp(t[e])}}function Lr(t,e){var a=t.stateNode;if(a===null)return null;var l=a[Qt]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(o(231,e,typeof a));return a}var Na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vc=!1;if(Na)try{var Vr={};Object.defineProperty(Vr,"passive",{get:function(){Vc=!0}}),window.addEventListener("test",Vr,Vr),window.removeEventListener("test",Vr,Vr)}catch{Vc=!1}var ai=null,_c=null,ys=null;function yp(){if(ys)return ys;var t,e=_c,a=e.length,l,s="value"in ai?ai.value:ai.textContent,c=s.length;for(t=0;t<a&&e[t]===s[t];t++);var m=a-t;for(l=1;l<=m&&e[a-l]===s[c-l];l++);return ys=s.slice(t,1<l?1-l:void 0)}function gs(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function vs(){return!0}function gp(){return!1}function Ke(t){function e(a,l,s,c,m){this._reactName=a,this._targetInst=s,this.type=l,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var b in t)t.hasOwnProperty(b)&&(a=t[b],this[b]=a?a(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?vs:gp,this.isPropagationStopped=gp,this}return W(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=vs)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=vs)},persist:function(){},isPersistent:vs}),e}var ii={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bs=Ke(ii),_r=W({},ii,{view:0,detail:0}),iT=Ke(_r),Uc,Bc,Ur,Ss=W({},_r,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ur&&(Ur&&t.type==="mousemove"?(Uc=t.screenX-Ur.screenX,Bc=t.screenY-Ur.screenY):Bc=Uc=0,Ur=t),Uc)},movementY:function(t){return"movementY"in t?t.movementY:Bc}}),vp=Ke(Ss),lT=W({},Ss,{dataTransfer:0}),rT=Ke(lT),oT=W({},_r,{relatedTarget:0}),Hc=Ke(oT),sT=W({},ii,{animationName:0,elapsedTime:0,pseudoElement:0}),uT=Ke(sT),cT=W({},ii,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),fT=Ke(cT),dT=W({},ii,{data:0}),bp=Ke(dT),hT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mT={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"},pT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yT(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=pT[t])?!!e[t]:!1}function Gc(){return yT}var gT=W({},_r,{key:function(t){if(t.key){var e=hT[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=gs(t),t===13?"Enter":String.fromCharCode(t)):t.type==="
25keydown"||t.type==="keyup"?mT[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gc,charCode:function(t){return t.type==="keypress"?gs(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?gs(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),vT=Ke(gT),bT=W({},Ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sp=Ke(bT),ST=W({},ii,{submitter:0}),xT=Ke(ST),TT=W({},_r,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gc}),wT=Ke(TT),ET=W({},ii,{propertyName:0,elapsedTime:0,pseudoElement:0}),CT=Ke(ET),AT=W({},Ss,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),RT=Ke(AT),MT=W({},ii,{newState:0,oldState:0,source:0}),DT=Ke(MT),zT=[9,13,27,32],Yc=Na&&"CompositionEvent"in window,Br=null;Na&&"documentMode"in document&&(Br=document.documentMode);var NT=Na&&"TextEvent"in window&&!Br,xp=Na&&(!Yc||Br&&8<Br&&11>=Br),Tp=" ",wp=!1;function Ep(t,e){switch(t){case"keyup":return zT.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ml=!1;function OT(t,e){switch(t){case"compositionend":return Cp(e);case"keypress":return e.which!==32?null:(wp=!0,Tp);case"textInput":return t=e.data,t===Tp&&wp?null:t;default:return null}}function jT(t,e){if(Ml)return t==="compositionend"||!Yc&&Ep(t,e)?(t=yp(),ys=_c=ai=null,Ml=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return xp&&e.locale!=="ko"?null:e.data;default:return null}}var LT={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 Ap(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!LT[t.type]:e==="textarea"}function Rp(t,e,a,l){Al?Rl?Rl.push(l):Rl=[l]:Al=l,e=xu(e,"onChange"),0<e.length&&(a=new bs("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var Hr=null,Gr=null;function VT(t){mv(t,0)}function xs(t){var e=Da(t);if(sp(e))return t}function Mp(t,e){if(t==="change")return e}var Dp=!1;if(Na){var qc;if(Na){var Xc="oninput"in document;if(!Xc){var zp=document.createElement("div");zp.setAttribute("oninput","return;"),Xc=typeof zp.oninput=="function"}qc=Xc}else qc=!1;Dp=qc&&(!document.documentMode||9<document.documentMode)}function Np(){Hr&&(Hr.detachEvent("onpropertychange",Op),Gr=Hr=null)}function Op(t){if(t.propertyName==="value"&&xs(Gr)){var e=[];Rp(e,Gr,t,jc(t)),pp(VT,e)}}function _T(t,e,a){t==="focusin"?(Np(),Hr=e,Gr=a,Hr.attachEvent("onpropertychange",Op)):t==="focusout"&&Np()}function UT(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return xs(Gr)}function BT(t,e){if(t==="click")return xs(e)}function HT(t,e){if(t==="input"||t==="change")return xs(e)}function GT(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var gn=typeof Object.is=="function"?Object.is:GT;function Yr(t,e){if(gn(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var s=a[l];if(!qi.call(e,s)||!gn(t[s],e[s]))return!1}return!0}function kc(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function jp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Lp(t,e){var a=jp(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=jp(a)}}function Vp(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Vp(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function _p(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=kc(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=kc(t.document)}return e}function Pc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var YT=Na&&"documentMode"in document&&11>=document.documentMode,Dl=null,Fc=null,qr=null,Kc=!1;function Up(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Kc||Dl==null||Dl!==kc(l)||(l=Dl,"selectionStart"in l&&Pc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 5,448 bytes, line 25
25sNode:l.focusNode,focusOffset:l.focusOffset}),qr&&Yr(qr,l)||(qr=l,l=xu(Fc,"onSelect"),0<l.length&&(e=new bs("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=Dl)))}function Ki(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var zl={animationend:Ki("Animation","AnimationEnd"),animationiteration:Ki("Animation","AnimationIteration"),animationstart:Ki("Animation","AnimationStart"),transitionrun:Ki("Transition","TransitionRun"),transitionstart:Ki("Transition","TransitionStart"),transitioncancel:Ki("Transition","TransitionCancel"),transitionend:Ki("Transition","TransitionEnd")},Qc={},Bp={};Na&&(Bp=document.createElement("div").style,"AnimationEvent"in window||(delete zl.animationend.animation,delete zl.animationiteration.animation,delete zl.animationstart.animation),"TransitionEvent"in window||delete zl.transitionend.transition);function Qi(t){if(Qc[t])return Qc[t];if(!zl[t])return t;var e=zl[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in Bp)return Qc[t]=e[a];return t}var Hp=Qi("animationend"),Gp=Qi("animationiteration"),Yp=Qi("animationstart"),qT=Qi("transitionrun"),XT=Qi("transitionstart"),kT=Qi("transitioncancel"),qp=Qi("transitionend"),Xp=new Map,Zc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");Zc.push("scrollEnd");function Qn(t,e){Xp.set(t,e),Fi(e,[t])}var PT=0;function Oa(t,e){if(t.name!=null&&t.name!=="auto")return t.name;if(e.autoName!==null)return e.autoName;t=Wn.identifierPrefix;var a=PT++;return t="_"+t+"t_"+a.toString(32)+"_",e.autoName=t}function kp(t){if(t==null||typeof t=="string")return t;var e=null,a=Jl;if(a!==null)for(var l=0;l<a.length;l++){var s=t[a[l]];if(s!=null){if(s==="none")return"none";e=e==null?s:e+(" "+s)}}return e??t.default}function ja(t,e){return t=kp(t),e=kp(e),e==null?t==="auto"?null:t:e==="auto"?null:e}var Ts=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Nn=[],Nl=0,Jc=0;function ws(){for(var t=Nl,e=Jc=Nl=0;e<t;){var a=Nn[e];Nn[e++]=null;var l=Nn[e];Nn[e++]=null;var s=Nn[e];Nn[e++]=null;var c=Nn[e];if(Nn[e++]=null,l!==null&&s!==null){var m=l.pending;m===null?s.next=s:(s.next=m.next,m.next=s),l.pending=s}c!==0&&Pp(a,s,c)}}function Es(t,e,a,l){Nn[Nl++]=t,Nn[Nl++]=e,Nn[Nl++]=a,Nn[Nl++]=l,Jc|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Ic(t,e,a,l){return Es(t,e,a,l),Cs(t)}function Zi(t,e){return Es(t,null,null,e),Cs(t)}function Pp(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var s=!1,c=t.return;c!==null;)c.childLanes|=a,l=c.alternate,l!==null&&(l.childLanes|=a),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(s=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,s&&e!==null&&(s=31-ke(a),t=c.hiddenUpdates,l=t[s],l===null?t[s]=[e]:l.push(e),e.lane=a|536870912),c):null}function Cs(t){if(50<co)throw co=0,mu=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ol={};function FT(t,e,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $e(t,e,a,l){return new FT(t,e,a,l)}function Wc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function La(t,e){var a=t.alternate;return a===null?(a=$e(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&1206910976,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Fp(t,e){t.flags&=1206910978;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.depen
vendor: 13,996 bytes, line 25
25dencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function As(t,e,a,l,s,c){var m=0;if(l=t,typeof l=="function")Wc(l)&&(m=1);else if(typeof l=="string")m=SE(t,a,Rn.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(l){case Lt:return t=$e(31,a,e,s),t.elementType=Lt,t.lanes=c,t;case J:return Ji(a.children,s,c,e);case nt:m=8,s|=24;break;case gt:return t=$e(12,a,e,s|2),t.elementType=gt,t.lanes=c,t;case tt:return t=$e(13,a,e,s),t.elementType=tt,t.lanes=c,t;case Q:return t=$e(19,a,e,s),t.elementType=Q,t.lanes=c,t;case pe:case ie:return t=s|32,t=$e(30,a,e,t),t.elementType=ie,t.lanes=c,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case it:m=10;break t;case ht:m=9;break t;case P:m=11;break t;case mt:m=14;break t;case dt:m=16,l=null;break t}m=29,a=Error(o(130,t===null?"null":typeof t,"")),l=null}return e=$e(m,a,e,s),e.elementType=t,e.type=l,e.lanes=c,e}function Ji(t,e,a,l){return t=$e(7,t,l,e),t.lanes=a,t}function $c(t,e,a){return t=$e(6,t,null,e),t.lanes=a,t}function Kp(t){var e=$e(18,null,null,0);return e.stateNode=t,e}function tf(t,e,a){return e=$e(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Qp=new WeakMap;function On(t,e){if(typeof t=="object"&&t!==null){var a=Qp.get(t);return a!==void 0?a:(e={value:t,source:e,stack:os(e)},Qp.set(t,e),e)}return{value:t,source:e,stack:os(e)}}var jl=[],Ll=0,Rs=null,Xr=0,jn=[],Ln=0,li=null,ra=1,oa="";function Va(t,e){jl[Ll++]=Xr,jl[Ll++]=Rs,Rs=t,Xr=e}function Zp(t,e,a){jn[Ln++]=ra,jn[Ln++]=oa,jn[Ln++]=li,li=t;var l=ra;t=oa;var s=32-ke(l)-1;l&=~(1<<s),a+=1;var c=32-ke(e)+s;if(30<c){var m=s-s%5;c=(l&(1<<m)-1).toString(32),l>>=m,s-=m,ra=1<<32-ke(e)+s|a<<s|l,oa=c+t}else ra=1<<c|a<<s|l,oa=t}function Ms(t){t.return!==null&&(Va(t,1),Zp(t,1,0))}function ef(t){for(;t===Rs;)Rs=jl[--Ll],jl[Ll]=null,Xr=jl[--Ll],jl[Ll]=null;for(;t===li;)li=jn[--Ln],jn[Ln]=null,oa=jn[--Ln],jn[Ln]=null,ra=jn[--Ln],jn[Ln]=null}function Jp(t,e){jn[Ln++]=ra,jn[Ln++]=oa,jn[Ln++]=li,ra=e.id,oa=e.overflow,li=t}var Re=null,te=null,Mt=!1,ri=null,Vn=!1,nf=Error(o(519));function oi(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw kr(On(e,t)),nf}function Ip(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[se]=t,e[Qt]=l,a){case"dialog":zt("cancel",e),zt("close",e);break;case"iframe":case"object":case"embed":zt("load",e);break;case"video":case"audio":for(a=0;a<ho.length;a++)zt(ho[a],e);break;case"source":zt("error",e);break;case"img":case"image":case"link":zt("error",e),zt("load",e);break;case"details":zt("toggle",e);break;case"input":zt("invalid",e),up(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":zt("invalid",e);break;case"textarea":zt("invalid",e),fp(e,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||vv(e.textContent,a)?(l.popover!=null&&(zt("beforetoggle",e),zt("toggle",e)),l.onScroll!=null&&zt("scroll",e),l.onScrollEnd!=null&&zt("scrollend",e),l.onClick!=null&&(e.onclick=la),e=!0):e=!1,e||oi(t,!0)}function Ds(t){for(Re=t.return;Re;)switch(Re.tag){case 5:case 31:case 13:Vn=!1;return;case 27:case 3:Vn=!0;return;default:Re=Re.return}}function Vl(t){if(t!==Re)return!1;if(!Mt)return Ds(t),Mt=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||jd(t.type,t.memoizedProps)),a=!a),a&&te&&oi(t),Ds(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));te=Uv(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));te=Uv(t)}else e===27?(e=te,wi(t.type)?(t=qd,qd=null,te=t):te=e):te=Re?Un(t.stateNode.nextSibling):null;return!0}function Ii(){te=Re=null,Mt=!1}function af(){var t=ri;return t!==null&&(nn===null?nn=t:nn.push.apply(nn,t),ri=null),t}function kr(t){ri===null?ri=[t]:ri.push(t)}var lf=un(null),Wi=null,_a=null;function si(t,e,a){Vt(lf,e._currentValue),e._currentValue=a}function Ua(t){t._currentValue=lf.current,Te(lf)}function zs(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function rf(t,e,a,l){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var c=s.dependencies;if(c!==null){var m=s.child;c=c.firstContext;t:for(;c!==null;){var b=c;c=s;for(var T=0;T<e.length;T++)if(b.context===e[T]){c.lanes|=a,b=c.alternate,b!==null&&(b.lanes|=a),zs(c.return,a,t),l||(m=null);break t}c=b.next}}else if(s.tag===18){if(m=s.return,m===null)throw Error(o(341));m.lanes|=a,c=m.alternate,c!==null&&(c.lanes|=a),zs(m,a,t),m=null}else s.tag===13&&s.memoizedState!==null&&s.memoizedState.dehydrated===null?(s.lanes|=a,m=s.alternate,m!==null&&(m.lanes|=a),zs(s.return,a,t),m=s.child,m=m!==null?m.sibling:null):m=s.child;if(m!==null)m.return=s;else for(m=s;m!==null;){if(m===t){m=null;break}if(s=m.sibling,s!==null){s.return=m.return,m=s;break}m=m.return}s=m}}function $i(t,e,a,l){t=null;for(var s=e,c=!1;s!==null;){if(!c){if((s.flags&524288)!==0)c=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var m=s.alternate;if(m===null)throw Error(o(387));if(m=m.memoizedProps,m!==null){var b=s.type;gn(s.pendingProps.value,m.value)||(t!==null?t.push(b):t=[b])}}else if(s===Sl.current){if(m=s.alternate,m===null)throw Error(o(387));m.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(rr):t=[rr])}s=s.return}return t!==null&&rf(e,t,a,l),e.flags|=262144,t!==null}function Ns(t){for(t=t.firstContext;t!==null;){if(!gn(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function tl(t){Wi=t,_a=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function je(t){return Wp(Wi,t)}function Os(t,e){return Wi===null&&tl(t),Wp(t,e)}function Wp(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},_a===null){if(t===null)throw Error(o(308));_a=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else _a=_a.next=e;return a}var KT=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},QT=n.unstable_scheduleCallback,ZT=n.unstable_NormalPriority,ge={$$typeof:it,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function of(){return{controller:new KT,data:new Map,refCount:0}}function Pr(t){t.refCount--,t.refCount===0&&QT(ZT,function(){t.controller.abort()})}function $p(t,e){if((t.pendingLanes&4194048)!==0){var a=t.transitionTypes;for(a===null&&(a=t.transitionTypes=[]),t=0;t<e.length;t++){var l=e[t];a.indexOf(l)===-1&&a.push(l)}}}var Fr=null;function JT(t){var e=t.transitionTypes;return t.transitionTypes=null,e}var Kr=null,sf=0,el=0,_l=null;function IT(t,e){if(Kr===null){var a=Kr=[];sf=0,el=Ed(),_l={status:"pending",value:void 0,then:function(l){a.push(l)}}}return sf++,e.then(ty,ty),e}function ty(){if(--sf===0&&(Fr=null,Kr!==null)){_l!==null&&(_l.status="fulfilled");var t=Kr;Kr=null,el=0,_l=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function WT(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var s=0;s<a.length;s++)(0,a[s])(e)},function(s){for(l.status="rejected",l.reason=s,s=0;s<a.length;s++)(0,a[s])(void 0)}),l}var ey=vt.S;vt.S=function(t,e){if(Kg=Xe(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&IT(t,e),Fr!==null)for(var a=tr;a!==null;)$p(a,Fr),a=a.next;if(a=t.types,a!==null){for(var l=tr;l!==null;)$p(l,a),l=l.next;if(el!==0){l=Fr,l===null&&(l=Fr=[]);for(var s=0;s<a.length;s++){var c=a[s];l.indexOf(c)===-1&&l.push(c)}}}ey!==null&&ey(t,e)};var nl=un(null);function uf(){var t=nl.current;return t!==null?t:Zt.pooledCache}function js(t,e){e===null?Vt(nl,nl.current):Vt(nl,e.pool)}function ny(){var t=uf();return t===null?null:{parent:ge._currentValue,pool:t}}var Ul=Error(o(460)),cf=Error(o(474)),Ls=Error(o(542)),Vs={then:function(){}};function ay(t){return t=t.status,t==="fulfilled"||t==="rejected"}function iy(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(la,la),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ry(t),t===void 0&&!("reason"in e)?Error(o(600)):t;default:if(typeof e.status=="string")e.then(la,la);else{if(t=Zt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=l}},function(l){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ry(t),t}throw il=e,Ul}}function al(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(il=a,Ul):a}}var il=null;function ly(){if(il===null)throw Error(o(459));var t=il;return il=null,t}function ry(t){if(t===Ul||t===Ls)throw Error(o(483))}var Bl=null,Qr=0;function _s(t){var e=Qr;return Qr+=1,Bl===null&&(Bl=[]),iy(Bl,t,e)}function ui(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Us(t,e){throw e.$$typeof===ft?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function oy(t){function e(z,R){if(t){var V=z.deletions;V===null?(z.deletions=[R],z.flags|=16):V.push(R)}}function a(z,R){if(!t)return null;for(;R!==null;)e(z,R),R=R.sibling;return null}function l(z){for(var R=new Map;z!==null;)z.key===null?R.set(z.index,z):R.set(z.key,z),z=z.sibling;return R}function s(z,R){return z=La(z,R),z.index=0,z.sibling=null,z}function c(z,R,V){return z.index=V,t?(V=z.alternate,V!==null?(V=V.index,V<R?(z.flags|=2,R):V):(z.flags|=134217730,R)):(z.flags|=1048576,R)}function m(z){return t&&z.alternate===null&&(z.flags|=134217730),z}function b(z,R,V,q){return R===null||R.tag!==6?(R=$c(V,z.mode,q),R.return=z,R):(R=s(R,V),R.return=z,R)}function T(z,R,V,q){var lt=V.type;return lt===J?(z=B(z,R,V.props.children,q,V.key),ui(z,V),z):R!==null&&(R.elementType===lt||typeof lt=="object"&<!==null&<.$$typeof===dt&&al(lt)===R.type)?(R=s(R,V.props),ui(R,V),R.return=z,R):(R=As(V.type,V.key,V.props,null,z.mode,q),ui(R,V),R.return=z,R)}function N(z,R,V,q){return R===null||R.tag!==4||R.stateNode.containerInfo!==V.containerInfo||R.stateNode.implementation!==V.implementation?(R=tf(V,z.mode,q),R.return=z,R):(R=s(R,V.children||[]),R.return=z,R)}function B(z,R,V,q,lt){return R===null||R.tag!==7?(R=Ji(V,z.mode,q,lt),R.return=z,R):(R=s(R,V),R.return=z,R)}function X(z,R,V){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=$c(""+R,z.mode,V),R.return=z,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case H:return V=As(R.type,R.key,R.props,null,z.mode,V),ui(V,R),V.return=z,V;case $:return R=tf(R,z.mode,V),R.return=z,R;case dt:return R=al(R),X(z,R,V)}if(on(R)||qe(R))return R=Ji(R,z.mode,V,null),R.return=z,R;if(typeof R.then=="function")return X(z,_s(R),V);if(R.$$typeof===it)return X(z,Os(z,R),V);Us(z,R)}return null}function D(z,R,V,q){var lt=R!==null?R.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return lt!==null?null:b(z,R,""+V,q);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case H:return V.key===lt?T(z,R,V,q):null;case $:return V.key===lt?N(z,R,V,q):null;case dt:return V=al(V),D(z,R,V,q)}if(on(V)||qe(V))return lt!==null?null:B(z,R,V,q,null);if(typeof V.then=="function")return D(z,R,_s(V),q);if(V.$$typeof===it)return D(z,R,Os(z,V),q);Us(z,V)}return null}function U(z,R,V,q,lt){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return z=z.get(V)||null,b(R,z,""+q,lt);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case H:return z=z.get(q.key===null?V:q.key)||null,T(R,z,q,lt);case $:return z=z.get(q.key===null?V:q.key)||null,N(R,z,q,lt);case dt:return q=al(q),U(z,R,V,q,lt)}if(on(q)||qe(q))return z=z.get(V)||null,B(R,z,q,lt,null);if(typeof q.then=="function")return U(z,R,V,_s(q),lt);if(q.$$typeof===it)return U(z,R,V,Os(R,q),lt);Us(R,q)}return null}function I(z,R,V,q){for(var lt=null,jt=null,yt=R,xt=R=0,Se=null;yt!==null&&xt<V.length;xt++){yt.index>xt?(Se=yt,yt=null):Se=yt.sibling;var Ut=D(z,yt,V[xt],q);if(Ut===null){yt===null&&(yt=Se);break}t&&yt&&Ut.alternate===null&&e(z,yt),R=c(Ut,R,xt),jt===null?lt=Ut:jt.sibling=Ut,jt=Ut,yt=Se}if(xt===V.length)return a(z,yt),Mt&&Va(z,xt),lt;if(yt===null){for(;xt<V.length;xt++)yt=X(z,V[xt],q),yt!==null&&(R=c(yt,R,xt),jt===null?lt=yt:jt.sibling=yt,jt=yt);return Mt&&Va(z,xt),lt}for(yt=l(yt);xt<V.length;xt++)Se=U(yt,z,xt,V[xt],q),Se!==null&&(t&&(Ut=Se.alternate,Ut!==null&&yt.delete(Ut.key===null?xt:Ut.key)),R=c(Se,R,xt),jt===null?lt=Se:jt.sibling=Se,jt=Se);return t&&yt.forEach(function(Mi){return e(z,Mi)}),Mt&&Va(z,xt),lt}function st(z,R,V,q){if(V==null)throw Error(o(151));for(var lt=null,jt=null,yt=R,xt=R=0,Se=null,Ut=V.next();yt!==null&&!Ut.done;xt++,Ut=V.next()){yt.index>xt?(Se=yt,yt=null):Se=yt.sibling;var Mi=D(z,yt,Ut.value,q);if(Mi===null){yt===null&&(yt=Se);break}t&&yt&&Mi.alternate===null&&e(z,yt),R=c(Mi,R,xt),jt===null?lt=Mi:jt.sibling=Mi,jt=Mi,yt=Se}if(Ut.done)return a(z,yt),Mt&&Va(z,xt),lt;if(yt===null){for(;!Ut.done;xt++,Ut=V.next())Ut=X(z,Ut.value,q),Ut!==null&&(R=c(Ut,R,xt),jt===null?lt=Ut:jt.sibling=Ut,jt=Ut);return Mt&&Va(z,xt),lt}for(yt=l(yt);!Ut.done;xt++,Ut=V.next())Ut=U(yt,z,xt,Ut.value,q),Ut!==null&&(t&&(Se=Ut.alternate,Se!==null&&yt.delete(Se.key===null?xt:Se.key)),R=c(Ut,R,xt),jt===null?lt=Ut:jt.sibling=Ut,jt=Ut);return t&&yt.forEach(function(OE){return e(z,OE)}),Mt&&Va(z,xt),lt}function Et(z,R,V,q){if(typeof V=="object"&&V!==null&&V.type===J&&V.key===null&&V.props.ref===void 0&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case H:t:{for(var lt=V.key;R!==null;
vendor: 4,201 bytes, line 25
25){if(R.key===lt){if(lt=V.type,lt===J){if(R.tag===7){a(z,R.sibling),q=s(R,V.props.children),ui(q,V),q.return=z,z=q;break t}}else if(R.elementType===lt||typeof lt=="object"&<!==null&<.$$typeof===dt&&al(lt)===R.type){a(z,R.sibling),q=s(R,V.props),ui(q,V),q.return=z,z=q;break t}a(z,R);break}else e(z,R);R=R.sibling}V.type===J?(q=Ji(V.props.children,z.mode,q,V.key),ui(q,V),q.return=z,z=q):(q=As(V.type,V.key,V.props,null,z.mode,q),ui(q,V),q.return=z,z=q)}return m(z);case $:t:{for(lt=V.key;R!==null;){if(R.key===lt)if(R.tag===4&&R.stateNode.containerInfo===V.containerInfo&&R.stateNode.implementation===V.implementation){a(z,R.sibling),q=s(R,V.children||[]),q.return=z,z=q;break t}else{a(z,R);break}else e(z,R);R=R.sibling}q=tf(V,z.mode,q),q.return=z,z=q}return m(z);case dt:return V=al(V),Et(z,R,V,q)}if(on(V))return I(z,R,V,q);if(qe(V)){if(lt=qe(V),typeof lt!="function")throw Error(o(150));return V=lt.call(V),st(z,R,V,q)}if(typeof V.then=="function")return Et(z,R,_s(V),q);if(V.$$typeof===it)return Et(z,R,Os(z,V),q);Us(z,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,R!==null&&R.tag===6?(a(z,R.sibling),q=s(R,V),q.return=z,z=q):(a(z,R),q=$c(V,z.mode,q),q.return=z,z=q),m(z)):a(z,R)}return function(z,R,V,q){try{Qr=0;var lt=Et(z,R,V,q);return Bl=null,lt}catch(yt){if(yt===Ul||yt===Ls)throw yt;var jt=$e(29,yt,null,z.mode);return jt.lanes=q,jt.return=z,jt}finally{}}}var ll=oy(!0),sy=oy(!1),ci=!1;function ff(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function df(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function fi(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function di(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Yt&2)!==0){var s=l.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),l.pending=e,e=Cs(t),Pp(t,null,a),e}return Es(t,l,e,a),Cs(t)}function Zr(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_t(t,a)}}function hf(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var s=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var m={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?s=c=m:c=c.next=m,a=a.next}while(a!==null);c===null?s=c=e:c=c.next=e}else s=c=e;a={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var mf=!1;function Jr(){if(mf){var t=_l;if(t!==null)throw t}}function Ir(t,e,a,l){mf=!1;var s=t.updateQueue;ci=!1;var c=s.firstBaseUpdate,m=s.lastBaseUpdate,b=s.shared.pending;if(b!==null){s.shared.pending=null;var T=b,N=T.next;T.next=null,m===null?c=N:m.next=N,m=T;var B=t.alternate;B!==null&&(B=B.updateQueue,b=B.lastBaseUpdate,b!==m&&(b===null?B.firstBaseUpdate=N:b.next=N,B.lastBaseUpdate=T))}if(c!==null){var X=s.baseState;m=0,B=N=T=null,b=c;do{var D=b.lane&-536870913,U=D!==b.lane;if(U?(Ot&D)===D:(l&D)===D){D!==0&&D===el&&(mf=!0),B!==null&&(B=B.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});t:{var I=t,st=b;D=e;var Et=a;switch(st.tag){case 1:if(I=st.payload,typeof I=="function"){X=I.call(Et,X,D);break t}X=I;break t;case 3:I.flags=I.flags&-65537|128;case 0:if(I=st.payload,D=typeof I=="function"?I.call(Et,X,D):I,D==null)break t;X=W({},X,D);break t;case 2:ci=!0}}D=b.callback,D!==null&&(t.flags|=64,U&&(t.flags|=8192),U=s.callbacks,U===null?s.callbacks=[D]:U.push(D))}else U={lane:D,tag:b.tag,payload:b.payload,callback:b.callback,next:null},B===null?(N=B=U,T=X):B=B.next=U,m|=D;if(b=b.next,b===null){if(b=s.shared.pending,b===null)break;U=b,b=U.next,U.next=null,s.lastBaseUpdate=U,s.shared.pending=null}}while(!0);B===null&&(T=X),s.baseState=T,s.firstBaseUpdate=N,s.lastBaseUpdate=B,c===null&&(s.shared.lanes=0),bi|=m,t.lanes=m,t.memoizedState=X}}function uy(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function cy(t,e){var a=t.callbacks;
vendor: 7,218 bytes, line 25
25if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)uy(a[t],e)}var hi=un(null),Bs=un(0);function fy(t,e){t=qa,Vt(Bs,t),Vt(hi,e),qa=t|e.baseLanes}function pf(){Vt(Bs,qa),Vt(hi,hi.current)}function yf(){qa=Bs.current,Te(hi),Te(Bs)}var Le=un(null),Pe=null;function mi(t){var e=t.alternate;Vt(Ve,Ve.current&1),Vt(Le,t),Pe===null&&(e===null||hi.current!==null||e.memoizedState!==null)&&(Pe=t)}function gf(t){Vt(Ve,Ve.current),Vt(Le,t),Pe===null&&(Pe=t)}function dy(t){t.tag===22?(Vt(Ve,Ve.current),Vt(Le,t),Pe===null&&(Pe=t)):pi()}function pi(){Vt(Ve,Ve.current),Vt(Le,Le.current)}function vn(t){Te(Le),Pe===t&&(Pe=null),Te(Ve)}var Ve=un(0);function Wr(t,e){Vt(Le,Le.current),Vt(Ve,e)}function vf(t){Te(Ve),Te(Le),Pe===t&&(Pe=null)}function Hs(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Gd(a)||Yd(a)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!=="independent"){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Ba=0,wt=null,Kt=null,ve=null,Gs=!1,Hl=!1,rl=!1,Ys=0,$r=0,Gl=null,$T=0;function ue(){throw Error(o(321))}function bf(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!gn(t[a],e[a]))return!1;return!0}function Sf(t,e,a,l,s,c){return Ba=c,wt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,vt.H=t===null||t.memoizedState===null?Zy:Jy,rl=!1,c=a(l,s),rl=!1,Hl&&(c=my(e,a,l,s)),hy(t),c}function hy(t){vt.H=Qs;var e=Kt!==null&&Kt.next!==null;if(Ba=0,ve=Kt=wt=null,Gs=!1,$r=0,Gl=null,e)throw Error(o(300));t===null||be||(t=t.dependencies,t!==null&&Ns(t)&&(be=!0))}function my(t,e,a,l){wt=t;var s=0;do{if(Hl&&(Gl=null),$r=0,Hl=!1,25<=s)throw Error(o(301));if(s+=1,ve=Kt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}vt.H=ow,c=e(a,l)}while(Hl);return c}function tw(){var t=vt.H,e=t.useState()[0];return e=typeof e.then=="function"?to(e):e,t=t.useState()[0],(Kt!==null?Kt.memoizedState:null)!==t&&(wt.flags|=1024),e}function xf(){var t=Ys!==0;return Ys=0,t}function Tf(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function wf(t){if(Gs){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Gs=!1}Ba=0,ve=Kt=wt=null,Hl=!1,$r=Ys=0,Gl=null}function Qe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ve===null?wt.memoizedState=ve=t:ve=ve.next=t,ve}function me(){if(Kt===null){var t=wt.alternate;t=t!==null?t.memoizedState:null}else t=Kt.next;var e=ve===null?wt.memoizedState:ve.next;if(e!==null)ve=e,Kt=t;else{if(t===null)throw wt.alternate===null?Error(o(467)):Error(o(310));Kt=t,t={memoizedState:Kt.memoizedState,baseState:Kt.baseState,baseQueue:Kt.baseQueue,queue:Kt.queue,next:null},ve===null?wt.memoizedState=ve=t:ve=ve.next=t}return ve}function qs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function to(t){var e=$r;return $r+=1,Gl===null&&(Gl=[]),t=iy(Gl,t,e),e=wt,(ve===null?e.memoizedState:ve.next)===null&&(e=e.alternate,vt.H=e===null||e.memoizedState===null?Zy:Jy),t}function Xs(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return to(t);if(t.$$typeof===rn)return;if(t.$$typeof===it)return je(t)}throw Error(o(438,String(t)))}function Ef(t){var e=null,a=wt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=wt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=qs(),wt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=de;return e.index++,a}function Ha(t,e){return typeof e=="function"?e(t):e}function ks(t){var e=me();return Cf(e,Kt,t)}function Cf(t,e,a){var l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=a;var s=t.baseQueue,c=l.pending;if(c!==null){if(s!==null){var m=s.next;s.next=c.next,c.next=m}e.baseQueue=s=c,l.pending=null}if(c=t.baseState,s===null)t.memoizedState=c;else{e=s.next;var b=m=null,T=null,N=e,B=!1;do{var X=N.lane&-536870913;if(X!==N.lane?(Ot&X)===X:(Ba&X)===X){var D=N.revertLane;if(D===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),X===el&&(B=!0);else if((Ba&D)===D){N=N.next,D===el&&(B=!0);continue}else X={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},T===null?(b=T=X,m=c):T=T.next=X,wt.lanes|=D,bi|=D;X=N.action,rl&&a(c,X),c=N.hasEagerState?N.eagerState:a(c,X)}else D={lane:X,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},T===null?(b=T=D,m=c):T=T.next=D,wt.lanes|=X,bi|=X;N=N.next}while(N!==null&&N!==e);if(T===null?m=c:T.next=b,!gn(c,t.memoizedState)&&(be=!0,B&&(a=_l,a!==null)))throw a;t.memoizedState=c,t.baseState=m,t.baseQueue=T,l.lastRenderedState=c}return s===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Af(t){var e=me(),a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=t;var l=a.dispatch,s=a.pending,c=e.memoizedState;if(s!==null){a.pending=null;var m=s=s.next;do c=t(c,m.action),m=m.next;while(m!==s);gn(c,e.memoizedState)||(be=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),a.lastRenderedState=c}return[c,l]}function py(t,e,a){var l=wt,s=me(),c=Mt;if(c){if(a===void 0)throw Error(o(407));a=a()}else a=e();var m=!gn((Kt||s).memoizedState,a);if(m&&(s.memoizedState=a,be=!0),s=s.queue,Df(vy.bind(null,l,s,t),[t]),t=s.getSnapshot!==e||m||ve!==null&&(ve.memoizedState.tag&1)!==0,Yl(t?9:8,{destroy:void 0},gy.bind(null,l,s,a,e),null),t){if(l.flags|=2048,Zt===null)throw Error(o(349));c||(Ba&127)!==0||yy(l,e,a)}return a}function yy(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=wt.updateQueue,e===null?(e=qs(),wt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function gy(t,e,a,l){e.value=a,e.getSnapshot=l,by(e)&&Sy(t)}function vy(t,e,a){return a(function(){by(e)&&Sy(t)})}function by(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!gn(t,a)}catch{return!0}}function Sy(t){var e=Zi(t,2);e!==null&&an(e,t,2)}function Rf(t){var e=Qe();if(typeof t=="function"){var a=t;if(t=a(),rl){hn(!0);try{a()}finally{hn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ha,lastRenderedState:t},e}function xy(t,e,a,l){return t.baseState=a,Cf(t,Kt,typeof l=="function"?l:Ha)}function ew(t,e,a,l,s){if(Ks(t))throw Error(o(485));if(t=e.action,t!==null){var c={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};vt.T!==null?a(!0):c.isTransition=!1,l(c),a=e.pending,a===null?(c.next=e.pending=c,Ty(e,c)):(c.next=a.next,e.pending=a.next=c)}}function Ty(t,e){var a=e.action,l=e.payload,s=t.state;if(e.isTransition){var c=vt.T,m={};m.types=c!==null?c.types:null,vt.T=m;try{var b=a(s,l),T=vt.S;T!==null&&T(m,b),wy(t,e,b)}catch(N){Mf(t,e,N)}
vendor: 5,566 bytes, line 25
25finally{c!==null&&m.types!==null&&(c.types=m.types),vt.T=c}}else try{c=a(s,l),wy(t,e,c)}catch(N){Mf(t,e,N)}}function wy(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Ey(t,e,l)},function(l){return Mf(t,e,l)}):Ey(t,e,a)}function Ey(t,e,a){e.status="fulfilled",e.value=a,Cy(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,Ty(t,a)))}function Mf(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,Cy(e),e=e.next;while(e!==l)}t.action=null}function Cy(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Ay(t,e){return e}function Ry(t,e){if(Mt){var a=Zt.formState;if(a!==null){t:{var l=wt;if(Mt){if(te){e:{for(var s=te,c=Vn;s.nodeType!==8;){if(!c){s=null;break e}if(s=Un(s.nextSibling),s===null){s=null;break e}}c=s.data,s=c==="F!"||c==="F"?s:null}if(s){te=Un(s.nextSibling),l=s.data==="F!";break t}}oi(l)}l=!1}l&&(e=a[0])}}return a=Qe(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ay,lastRenderedState:e},a.queue=l,a=Fy.bind(null,wt,l),l.dispatch=a,l=Rf(!1),c=Lf.bind(null,wt,!1,l.queue),l=Qe(),s={state:e,dispatch:null,action:t,pending:null},l.queue=s,a=ew.bind(null,wt,s,c,a),s.dispatch=a,l.memoizedState=t,[e,a,!1]}function My(t){var e=me();return Dy(e,Kt,t)}function Dy(t,e,a){if(e=Cf(t,e,Ay)[0],t=ks(Ha)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=to(e)}catch(m){throw m===Ul?Ls:m}else l=e;e=me();var s=e.queue,c=s.dispatch;return a!==e.memoizedState&&(wt.flags|=2048,Yl(9,{destroy:void 0},nw.bind(null,s,a),null)),[l,c,t]}function nw(t,e){t.action=e}function zy(t){var e=me(),a=Kt;if(a!==null)return Dy(e,a,t);me(),e=e.memoizedState,a=me();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function Yl(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=wt.updateQueue,e===null&&(e=qs(),wt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function Ny(){return me().memoizedState}function Ps(t,e,a,l){var s=Qe();wt.flags|=t,s.memoizedState=Yl(1|e,{destroy:void 0},a,l===void 0?null:l)}function Fs(t,e,a,l){var s=me();l=l===void 0?null:l;var c=s.memoizedState.inst;Kt!==null&&l!==null&&bf(l,Kt.memoizedState.deps)?s.memoizedState=Yl(e,c,a,l):(wt.flags|=t,s.memoizedState=Yl(1|e,c,a,l))}function Oy(t,e){Ps(8390656,8,t,e)}function Df(t,e){Fs(2048,8,t,e)}function aw(t){wt.flags|=4;var e=wt.updateQueue;if(e===null)e=qs(),wt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function jy(t){var e=me().memoizedState;return aw({ref:e,nextImpl:t}),function(){if((Yt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function Ly(t,e){return Fs(4,2,t,e)}function Vy(t,e){return Fs(4,4,t,e)}function _y(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Uy(t,e,a){a=a!=null?a.concat([t]):null,Fs(4,4,_y.bind(null,e,t),a)}function zf(){}function By(t,e){var a=me();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&bf(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function Hy(t,e){var a=me();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&bf(e,l[1]))return l[0];if(l=t(),rl){hn(!0);try{t()}finally{hn(!1)}}return a.memoizedState=[l,e],l}function Nf(t,e,a){return a===void 0||(Ba&1073741824)!==0&&(Ot&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Zg(),wt.lanes|=t,bi|=t,a)}function Gy(t,e,a,l){return gn(a,e)?a:hi.current!==null?(t=Nf(t,a,l),gn(t,e)||(be=!0),t):(Ba&106)===0||(Ba&1073741824)!==0&&(Ot&261930)===0?(be=!0,t.memoizedState=a):(t=Zg(),wt.lanes|=t,bi|=t,e)}function Yy(t,e,a,l,s){var c=Bt.p;Bt.p=c!==0&&8>c?c:8;var m=vt.T,b={};b.types=m!==null?m.types:null,vt.T=b,Lf(t,!1,e,a);try{var T=s(),N=vt.S;if(N!==null&&N(b,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var B=WT(T,l);eo(t,e,B,Tn(t))}else eo(t,e,l,Tn(t))}catch(X){eo(t,e,{then:function(){},status:"rejected",reason:X},Tn())}finally{Bt.p=c,m!==null&&b.types!==null&&(m.types=b.types),vt.T=m}}function iw(){}function Of(t,e,a,l){if(t.tag!==5)throw Error(o(476));var s=qy(t).queue;Yy(t,s,e,Aa,a===null?iw:function(){return Xy(t),a(l)})}function qy(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Aa,baseState:Aa,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ha,lastRenderedState:Aa},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ha,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Xy(t){var e=qy(t);e.next===null&&(e=t.alternate.memoizedState),eo(t,e.next.queue,{},Tn())}function jf(){return je(rr)}function ky(){return me().memoizedState}function Py(){return me().memoizedState}function lw(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=Tn();t=fi(a);var l=di(e,t,a);l!==null&&(an(l,e,a),Zr(l,e,a)),e={cache:of()},t.payload=e;return}e=e.return}}function rw(t,e,a){var l=Tn();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ks(t)?Ky(e,a):(a=Ic(t,e,a,l),a!==null&&(an(a,t,l),Qy(a,e,l)))}function Fy(t,e,a){var l=Tn();eo(t,e,a,l)}function eo(t,e,a,l){var s={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ks(t))Ky(e,s);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var m=e.lastRenderedState,b
vendor: 6,961 bytes, line 25
25=c(m,a);if(s.hasEagerState=!0,s.eagerState=b,gn(b,m))return Es(t,e,s,0),Zt===null&&ws(),!1}catch{}finally{}if(a=Ic(t,e,s,l),a!==null)return an(a,t,l),Qy(a,e,l),!0}return!1}function Lf(t,e,a,l){if(l={lane:2,revertLane:Ed(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ks(t)){if(e)throw Error(o(479))}else e=Ic(t,a,l,2),e!==null&&an(e,t,2)}function Ks(t){var e=t.alternate;return t===wt||e!==null&&e===wt}function Ky(t,e){Hl=Gs=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Qy(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_t(t,a)}}var Qs={readContext:je,use:Xs,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useLayoutEffect:ue,useInsertionEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useSyncExternalStore:ue,useId:ue,useHostTransitionStatus:ue,useFormState:ue,useActionState:ue,useOptimistic:ue,useMemoCache:ue,useCacheRefresh:ue,useEffectEvent:ue},Zy={readContext:je,use:Xs,useCallback:function(t,e){return Qe().memoizedState=[t,e===void 0?null:e],t},useContext:je,useEffect:Oy,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Ps(4194308,4,_y.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Ps(4194308,4,t,e)},useInsertionEffect:function(t,e){Ps(4,2,t,e)},useMemo:function(t,e){var a=Qe();e=e===void 0?null:e;var l=t();if(rl){hn(!0);try{t()}finally{hn(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=Qe();if(a!==void 0){var s=a(e);if(rl){hn(!0);try{a(e)}finally{hn(!1)}}}else s=e;return l.memoizedState=l.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},l.queue=t,t=t.dispatch=rw.bind(null,wt,t),[l.memoizedState,t]},useRef:function(t){var e=Qe();return t={current:t},e.memoizedState=t},useState:function(t){t=Rf(t);var e=t.queue,a=Fy.bind(null,wt,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:zf,useDeferredValue:function(t,e){var a=Qe();return Nf(a,t,e)},useTransition:function(){var t=Rf(!1);return t=Yy.bind(null,wt,t.queue,!0,!1),Qe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=wt,s=Qe();if(Mt){if(a===void 0)throw Error(o(407));a=a()}else{if(a=e(),Zt===null)throw Error(o(349));(Ot&127)!==0||yy(l,e,a)}s.memoizedState=a;var c={value:a,getSnapshot:e};return s.queue=c,Oy(vy.bind(null,l,c,t),[t]),l.flags|=2048,Yl(9,{destroy:void 0},gy.bind(null,l,c,a,e),null),a},useId:function(){var t=Qe(),e=Zt.identifierPrefix;if(Mt){var a=oa,l=ra;a=(l&~(1<<32-ke(l)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Ys++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=$T++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:jf,useFormState:Ry,useActionState:Ry,useOptimistic:function(t){var e=Qe();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Lf.bind(null,wt,!0,a),a.dispatch=e,[t,e]},useMemoCache:Ef,useCacheRefresh:function(){return Qe().memoizedState=lw.bind(null,wt)},useEffectEvent:function(t){var e=Qe(),a={impl:t};return e.memoizedState=a,function(){if((Yt&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},Jy={readContext:je,use:Xs,useCallback:By,useContext:je,useEffect:Df,useImperativeHandle:Uy,useInsertionEffect:Ly,useLayoutEffect:Vy,useMemo:Hy,useReducer:ks,useRef:Ny,useState:function(){return ks(Ha)},useDebugValue:zf,useDeferredValue:function(t,e){var a=me();return Gy(a,Kt.memoizedState,t,e)},useTransition:function(){var t=ks(Ha)[0],e=me().memoizedState;return[typeof t=="boolean"?t:to(t),e]},useSyncExternalStore:py,useId:ky,useHostTransitionStatus:jf,useFormState:My,useActionState:My,useOptimistic:function(t,e){var a=me();return xy(a,Kt,t,e)},useMemoCache:Ef,useCacheRefresh:Py,useEffectEvent:jy},ow={readContext:je,use:Xs,useCallback:By,useContext:je,useEffect:Df,useImperativeHandle:Uy,useInsertionEffect:Ly,useLayoutEffect:Vy,useMemo:Hy,useReducer:Af,useRef:Ny,useState:function(){return Af(Ha)},useDebugValue:zf,useDeferredValue:function(t,e){var a=me();return Kt===null?Nf(a,t,e):Gy(a,Kt.memoizedState,t,e)},useTransition:function(){var t=Af(Ha)[0],e=me().memoizedState;return[typeof t=="boolean"?t:to(t),e]},useSyncExternalStore:py,useId:ky,useHostTransitionStatus:jf,useFormState:zy,useActionState:zy,useOptimistic:function(t,e){var a=me();return Kt!==null?xy(a,Kt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Ef,useCacheRefresh:Py,useEffectEvent:jy};function Vf(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:W({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var _f={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=Tn(),s=fi(l);s.payload=e,a!=null&&(s.callback=a),e=di(t,s,l),e!==null&&(an(e,t,l),Zr(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=Tn(),s=fi(l);s.tag=1,s.payload=e,a!=null&&(s.callback=a),e=di(t,s,l),e!==null&&(an(e,t,l),Zr(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Tn(),l=fi(a);l.tag=2,e!=null&&(l.callback=e),e=di(t,l,a),e!==null&&(an(e,t,a),Zr(e,t,a))}};function Iy(t,e,a,l,s,c,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,c,m):e.prototype&&e.prototype.isPureReactComponent?!Yr(a,l)||!Yr(s,c):!0}function Wy(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&_f.enqueueReplaceState(e,e.state,null)}function ol(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=W({},a));for(var s in t)a[s]===void 0&&(a[s]=t[s])}return a}function $y(t){Ts(t)}function tg(t){console.error(t)}function eg(t){Ts(t)}function Zs(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function ng(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Uf(t,e,a){return a=fi(a),a.tag=3,a.payload={element:null},a.callback=function(){Zs(t,e)},a}function ag(t){return t=fi(t),t.tag=3,t}function ig(t,e,a,l){var s=a.type.getDerivedStateFromError;if(typeof s=="function"){var c=l.value;t.payload=function(){return s(c)},t.callback=function(){ng(e,a,l)}}var m=a.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){ng(e,a,l),typeof s!="function"&&(Si===null?Si=new Set([this]):Si.add(this));var b=l.stack;this.componentDidCatch(l.value,{componentStack:b!==null?b:""})})}function sw(t,e,a,l,s){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&$i(e,a,s,!0),a=Le.current,a!==null){switch(a.tag){case 31:case 13:case 19:return Pe===null?yu():a.alternate===null&&ce===0&&(ce=3),a.flags&=-257,a.flags|=65536,a.lanes=s,l===Vs?a.flags|=16384:(e
vendor: 10,908 bytes, line 25
25=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),xd(t,l,s)),!1;case 22:return a.flags|=65536,l===Vs?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),xd(t,l,s)),!1}throw Error(o(435,a.tag))}return xd(t,l,s),yu(),!1}if(Mt)return e=Le.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,l!==nf&&(t=Error(o(422),{cause:l}),kr(On(t,a)))):(l!==nf&&(e=Error(o(423),{cause:l}),kr(On(e,a))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,l=On(l,a),s=Uf(t.stateNode,l,s),hf(t,s),ce!==4&&(ce=2)),!1;var c=Error(o(520),{cause:l});if(c=On(c,a),uo===null?uo=[c]:uo.push(c),ce!==4&&(ce=2),e===null)return!0;l=On(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=s&-s,a.lanes|=t,t=Uf(a.stateNode,l,t),hf(a,t),!1;case 1:if(e=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Si===null||!Si.has(c))))return a.flags|=65536,s&=-s,a.lanes|=s,s=ag(s),ig(s,t,a,l),hf(a,s),!1;break;case 22:if(a.memoizedState!==null)return a.flags|=65536,!1}a=a.return}while(a!==null);return!1}var Bf=Error(o(461)),be=!1;function we(t,e,a,l){e.child=t===null?sy(e,null,a,l):ll(e,t.child,a,l)}function lg(t,e,a,l,s){a=a.render;var c=e.ref;if("ref"in l){var m={};for(var b in l)b!=="ref"&&(m[b]=l[b])}else m=l;return tl(e),l=Sf(t,e,a,m,c,s),b=xf(),t!==null&&!be?(Tf(t,e,s),Ga(t,e,s)):(Mt&&b&&Ms(e),e.flags|=1,we(t,e,l,s),e.child)}function rg(t,e,a,l,s){if(t===null){var c=a.type;return typeof c=="function"&&!Wc(c)&&c.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=c,og(t,e,c,l,s)):(t=As(a.type,null,l,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Ff(t,s)){var m=c.memoizedProps;if(a=a.compare,a=a!==null?a:Yr,a(m,l)&&t.ref===e.ref)return Ga(t,e,s)}return e.flags|=1,t=La(c,l),t.ref=e.ref,t.return=e,e.child=t}function og(t,e,a,l,s){if(t!==null){var c=t.memoizedProps;if(Yr(c,l)&&t.ref===e.ref)if(be=!1,e.pendingProps=l=c,Ff(t,s))(t.flags&131072)!==0&&(be=!0);else return e.lanes=t.lanes,Ga(t,e,s)}return Hf(t,e,a,l,s)}function sg(t,e,a,l){var s=l.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,t!==null){for(l=e.child=t.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~c}else l=0,e.child=null;return ug(t,e,c,a,l)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&js(e,c!==null?c.cachePool:null),c!==null?fy(e,c):pf(),dy(e);else return l=e.lanes=536870912,ug(t,e,c!==null?c.baseLanes|a:a,a,l)}else c!==null?(js(e,c.cachePool),fy(e,c),pi(),e.memoizedState=null):(t!==null&&js(e,null),pf(),pi());return we(t,e,s,a),e.child}function no(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function ug(t,e,a,l,s){var c=uf();return c=c===null?null:{parent:ge._currentValue,pool:c},e.memoizedState={baseLanes:a,cachePool:c},t!==null&&js(e,null),pf(),dy(e),t!==null&&$i(t,e,l,!0),e.childLanes=s,null}function Js(t,e){return e=Is({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function cg(t,e,a){return ll(e,t.child,null,a),t=Js(e,e.pendingProps),t.flags|=2,vn(e),e.memoizedState=null,t}function uw(t,e,a){var l=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Mt){if(l.mode==="hidden")return t=Js(e,l),e.lanes=536870912,t.memoizedState={baseLanes:0,cachePool:null},no(null,t);if(gf(e),(t=te)?(t=_v(t,Vn),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:li!==null?{id:ra,overflow:oa}:null,retryLane:536870912,hydrationErrors:null},a=Kp(t),a.return=e,e.child=a,Re=e,te=null)):t=null,t===null)throw oi(e);return e.lanes=536870912,null}return Js(e,l)}var c=t.memoizedState;if(c!==null){var m=c.dehydrated;if(gf(e),s)if(e.flags&256)e.flags&=-257,e=cg(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(be||$i(t,e,a,!1),s=(a&t.childLanes)!==0,be||s){if(hi.current===null){if(l=Zt,l!==null&&(m=Gt(l,a),m!==0&&m!==c.retryLane))throw c.retryLane=m,Zi(t,m),an(l,t,m),Bf;yu()}e=cg(t,e,a)}else t=c.treeContext,te=Un(m.nextSibling),Re=e,Mt=!0,ri=null,Vn=!1,t!==null&&Jp(e,t),e=Js(e,l),e.flags|=134221824;return e}return t=La(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ql(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Hf(t,e,a,l,s){return tl(e),a=Sf(t,e,a,l,void 0,s),l=xf(),t!==null&&!be?(Tf(t,e,s),Ga(t,e,s)):(Mt&&l&&Ms(e),e.flags|=1,we(t,e,a,s),e.child)}function fg(t,e,a,l,s,c){return tl(e),e.updateQueue=null,a=my(e,l,a,s),hy(t),l=xf(),t!==null&&!be?(Tf(t,e,c),Ga(t,e,c)):(Mt&&l&&Ms(e),e.flags|=1,we(t,e,a,c),e.child)}function dg(t,e,a,l,s){if(tl(e),e.stateNode===null){var c=Ol,m=a.contextType;typeof m=="object"&&m!==null&&(c=je(m)),c=new a(l,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=_f,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=l,c.state=e.memoizedState,c.refs={},ff(e),m=a.contextType,c.context=typeof m=="object"&&m!==null?je(m):Ol,c.state=e.memoizedState,m=a.getDerivedStateFromProps,typeof m=="function"&&(Vf(e,a,m,l),c.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&_f.enqueueReplaceState(c,c.state,null),Ir(e,l,c,s),Jr(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){c=e.stateNode;var b=e.memoizedProps,T=ol(a,b);c.props=T;var N=c.context,B=a.contextType;m=Ol,typeof B=="object"&&B!==null&&(m=je(B));var X=a.getDerivedStateFromProps;B=typeof X=="function"||typeof c.getSnapshotBeforeUpdate=="function",b=e.pendingProps!==b,B||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(b||N!==m)&&Wy(e,c,l,m),ci=!1;var D=e.memoizedState;c.state=D,Ir(e,l,c,s),Jr(),N=e.memoizedState,b||D!==N||ci?(typeof X=="function"&&(Vf(e,a,X,l),N=e.memoizedState),(T=ci||Iy(e,a,T,l,D,N,m))?(B||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=N),c.props=l,c.state=N,c.context=m,l=T):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{c=e.stateNode,df(t,e),m=e.memoizedProps,B=ol(a,m),c.props=B,X=e.pendingProps,D=c.context,N=a.contextType,T=Ol,typeof N=="object"&&N!==null&&(T=je(N)),b=a.getDerivedStateFromProps,(N=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==X||D!==T)&&Wy(e,c,l,T),ci=!1,D=e.memoizedState,c.state=D,Ir(e,l,c,s),Jr();var U=e.memoizedState;m!==X||D!==U||ci||t!==null&&t.dependencies!==null&&Ns(t.dependencies)?(typeof b=="function"&&(Vf(e,a,b,l),U=e.memoizedState),(B=ci||Iy(e,a,B,l,D,U,T)||t!==null&&t.dependencies!==null&&Ns(t.dependencies))?(N||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,U,T),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,U,T)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&D===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&D===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=U),c.props=l,c.state=U,c.context=T,l=B):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&D===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&D===t.memoizedState||(e.flags|=1024),l=!1)}return c=l,ql(t,e),l=(e.flags&128)!==0,c||l?(c=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&l?(e.child=ll(e,t.child,null,s),e.child=ll(e,null,a,s)):we(t,e,a,s),e.memoizedState=c.state,t=e.child):t=Ga(t,e,s),t}function hg(t,e,a,l){return Ii(),e.flags|=256,we(t,e,a,l),e.child}var Gf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yf(t){return{baseLanes:t,cachePool:ny()}}function qf(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=xn),t}function mg(t,e,a){var l=e.pendingProps,s=!1,c=(e.flags&128)!==0,m;if((m=c)||(m=t!==null&&t.memoizedState===null?!1:(Ve.current&2)!==0),m&&(s=!0,e.flags&=-129),m=(e.flags&32)!==0,e.flags&=-33,t===null){if(Mt){if(s?mi(e):pi(),(t=te)?(t=_v(t,Vn),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:li!==null?{id:ra,overflow:oa}:null,retryLane:536870912,hydrationErrors:null},a=Kp(t),a.return=e,e.child=a,Re=e,te=null)):t=null,t===null)throw oi(e);return Yd(t)?e.lanes=32:e.lanes=536870912,null}return c=l.children,l=l.fallback,s?(pi(),s=e.mode,c=Is({mode:"hidden",children:c},s),l=Ji(l,s,a,null),c.return=e,l.return=e,c.sibling=l,e.child=c,l=e.child,l.memoizedState=Yf(a),l.childLanes=qf(t,m,a),e.memoizedState=Gf,no(null,l)):(mi(e),Xf(e,c))}var b=t.memoizedState;if(b!==null){var T=b.dehydrated;if(T!==null)return cw(t,e,c,m,l,T,b,a)}return s?(pi(),s=l.fallback,c=e.mode,b=t.child,T=b.sibling,l=La(b,{mode:"hidden",children:l.children}),l.subtreeFlags=b.subtreeFlags&1206910976,T!==null?s=La(T,s):(s=Ji(s,c,a,null),s.flags|=2),s.return=e,l.return=e,l.sibling=s,e.child=l,no(null,l),l=e.child,s=t.child.memoizedState,s===null?s=Yf(a):(c=s.cachePool,c!==null?(b=ge._currentValue,c=c.parent!==b?{parent:b,pool:b}:c):c=ny(),s={baseLanes:s.baseLanes|a,cachePool:c}),l.memoizedState=s,l.childLanes=qf(t,m,a),e.memoizedState=Gf,no(t.child,l)):(mi(e),a=t.child,t=a.sibling,a=La(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(m=e.deletions,m===null?(e.deletions=[t],e.flags|=16):m.push(t)),e.child=a,e.memoizedState=null,a)}function Xf(t,e){return e=Is({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Is(t,e){return t=$e(22,t,null,e),t.lanes=0,t}
25function Ws(t,e,a){return ll(e,t.child,null,a),t=Xf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function cw(t,e,a,l,s,c,m,b){if(a)return e.flags&256?(mi(e),e.flags&=-257,Ws(t,e,b)):e.memoizedState!==null?(pi(),e.child=t.child,e.flags|=128,null):(pi(),c=s.fallback,m=e.mode,s=Is({mode:"visible",children:s.children},m),c=Ji(c,m,b,null),c.flags|=2,s.return=e,c.return=e,s.sibling=c,e.child=s,ll(e,t.child,null,b),s=e.child,s.memoizedState=Yf(b),s.childLanes=qf(t,l,b),e.memoizedState=Gf,no(null,s));if(mi(e),Yd(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var T=l.dgst;return l=T,l!==""&&(s=Error(o(419)),s.stack="",s.digest=l,kr({value:s,source:null,stack:null})),Ws(t,e,b)}if(be||$i(t,e,b,!1),l=(b&t.childLanes)!==0,be||l){if(hi.current!==null)return Ws(t,e,b);if(l=Zt,l!==null&&(s=Gt(l,b),s!==0&&s!==m.retryLane))throw m.retryLane=s,Zi(t,s),an(l,t,s),Bf;return Gd(c)||yu(),Ws(t,e,b)}return Gd(c)?(e.flags|=192,e.child=t.child,null):(t=m.treeContext,te=Un(c.nextSibling),Re=e,Mt=!0,ri=null,Vn=!1,t!==null&&Jp(e,t),e=Xf(e,s.children),e.flags|=134221824,e)}function pg(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),zs(t.return,e,a)}function yg(t){for(var e=null;t!==null;){var a=t.alternate;a!==null&&Hs(a)===null&&(e=t),t=t.sibling}return e}function $s(t,e,a,l,s,c){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:s,treeForkCount:c}:(m.isBackwards=e,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=a,m.tailMode=s,m.treeForkCount=c)}function kf(t){var e=t.child;for(t.child=null;e!==null;){var a=e.sibling;e.sibling=t.child,t.child=e,e=a}}function Pf(t,e,a){var l=e.pendingProps,s=l.revealOrder,c=l.tail;l=l.children;var m=Ve.current;if(e.flags&128)return Wr(e,m),null;var b=(m&2)!==0;if(b?(m=m&1|2,e.flags|=128):m&=1,Wr(e,m),s==="backwards"&&t!==null?(kf(t),we(t,e,l,a),kf(t)):we(t,e,l,a),l=Mt?Xr:0,!b&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&pg(t,a,e);else if(t.tag===19)pg(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(s){case"backwards":a=yg(e.child),a===null?(s=e.child,e.child=null):(s=a.sibling,a.sibling=null,kf(e)),$s(e,!0,s,null,c,l);break;case"unstable_legacy-backwards":for(a=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&Hs(t)===null){e.child=s;break}t=s.sibling,s.sibling=a,a=s,s=t}$s(e,!0,a,null,c,l);break;case"together":$s(e,!1,null,null,void 0,l);break;case"independent":e.memoizedState=null;break;default:a=yg(e.child),a===null?(s=e.child,e.child=null):(s=a.sibling,a.sibling=null),$s(e,!1,s,a,c,l)}return e.child}function gg(t,e,a){var l=e.pendingProps;return si(e,e.type,l.value),we(t,e,l.children,a),e.child}function Ga(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),bi|=e.lanes,(a&e.childLanes)===0)if(t!==null){if($i(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,a=La(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=La(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Ff(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ns(t)))}function fw(t,e,a){switch(e.tag){case 3:xl(e,e.stateNode.containerInfo),si(e,ge,t.memoizedState.cache),Ii();break;case 27:case 5:Mr(e);break;case 4:xl(e,e.stateNode.containerInfo);break;case 10:si(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,gf(e),null;break;case 13:var l=e.memoizedState;if(l!==null){if(l.dehydrated!==null)return mi(e),e.flags|=128,null;l=$i(t,e,a,!1);var s=e.child.childLanes;return l||(a&s)!==0?mg(t,e,a):(mi(e),t=Ga(t,e,a),t!==null?t.sibling:null)}mi(e);break;case 19:if(e.flags&128)return Pf(t,e,a);if(s=(t.flags&128)!==0,l=(a&e.childLanes)!==0,l||($i(t,e,a,!1),l=(a&e.childLanes)!==0),s){if(l)return Pf(t,e,a);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Wr(e,Ve.current),l)break;return null;case 22:return e.lanes=0,sg(t,e,a,e.pendingProps);case 24:si(e,ge,t.memoizedState.cache)}return Ga(t,e,a)}function vg(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)be=!0;else{if(!Ff(t,a)&&(e.flags&128)===0)return be=!1,fw(t,e,a);be=(t.flags&131072)!==0}else be=!1,Mt&&(e.flags&1048576)!==0&&Zp(e,Xr,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=al(e.elementType),e.type=t,typeof t=="function")Wc(t)?(l=ol(t,l),e.tag=1,e=dg(null,e,t,l,a)):(e.tag=0,e=Hf(null,e,t,l,a));else{if(t!=null){var s=t.$$typeof;if(s===P){e.tag=11,e=lg(null,e,t,l,a);break t}else if(s===mt){e.tag=14,e=rg(null,e,t,l,a);break t}else if(s===it){e.tag=10,e.type=t,e=gg(null,e,a);break t}}throw e=$a(t)||t,Error(o(306,e,""))}}return e;
vendor: 6,282 bytes, line 25
25case 0:return Hf(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,s=ol(l,e.pendingProps),dg(t,e,l,s,a);case 3:t:{if(xl(e,e.stateNode.containerInfo),t===null)throw Error(o(387));l=e.pendingProps;var c=e.memoizedState;s=c.element,df(t,e),Ir(e,l,null,a);var m=e.memoizedState;if(l=m.cache,si(e,ge,l),l!==c.cache&&rf(e,[ge],a,!0),Jr(),l=m.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:m.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=hg(t,e,l,a);break t}else if(l!==s){s=On(Error(o(424)),e),kr(s),e=hg(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(te=Un(t.firstChild),Re=e,Mt=!0,ri=null,Vn=!0,a=sy(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|134221824,a=a.sibling}else{if(Ii(),l===s){e=Ga(t,e,a);break t}we(t,e,l,a)}e=e.child}return e;case 26:return ql(t,e),t===null?(a=Xv(e.type,null,e.pendingProps,null))?e.memoizedState=a:Mt||(e.stateNode=Tv(e.type,e.pendingProps,Fn.current,e)):e.memoizedState=Xv(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Mr(e),t===null&&Mt&&(l=e.stateNode=Hv(e.type,e.pendingProps,Fn.current),Re=e,Vn=!0,s=te,wi(e.type)?(qd=s,te=Un(l.firstChild)):te=s),we(t,e,e.pendingProps.children,a),ql(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Mt&&((s=l=te)&&(l=lE(l,e.type,e.pendingProps,Vn),l!==null?(e.stateNode=l,Re=e,te=Un(l.firstChild),Vn=!1,s=!0):s=!1),s||oi(e)),Mr(e),s=e.type,c=e.pendingProps,m=t!==null?t.memoizedProps:null,l=c.children,jd(s,c)?l=null:m!==null&&jd(s,m)&&(e.flags|=32),e.memoizedState!==null&&(s=Sf(t,e,tw,null,null,a),rr._currentValue=s),ql(t,e),we(t,e,l,a),e.child;case 6:return t===null&&Mt&&((t=a=te)&&(a=rE(a,e.pendingProps,Vn),a!==null?(e.stateNode=a,Re=e,te=null,t=!0):t=!1),t||oi(e)),null;case 13:return mg(t,e,a);case 4:return xl(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=ll(e,null,l,a):we(t,e,l,a),e.child;case 11:return lg(t,e,e.type,e.pendingProps,a);case 7:return l=e.pendingProps,ql(t,e),we(t,e,l,a),e.child;case 8:return we(t,e,e.pendingProps.children,a),e.child;case 12:return we(t,e,e.pendingProps.children,a),e.child;case 10:return gg(t,e,a);case 9:return s=e.type._context,l=e.pendingProps.children,tl(e),s=je(s),l=l(s),e.flags|=1,we(t,e,l,a),e.child;case 14:return rg(t,e,e.type,e.pendingProps,a);case 15:return og(t,e,e.type,e.pendingProps,a);case 19:return Pf(t,e,a);case 31:return uw(t,e,a);case 22:return sg(t,e,a,e.pendingProps);case 24:return tl(e),l=je(ge),t===null?(s=uf(),s===null&&(s=Zt,c=of(),s.pooledCache=c,c.refCount++,c!==null&&(s.pooledCacheLanes|=a),s=c),e.memoizedState={parent:l,cache:s},ff(e),si(e,ge,s)):((t.lanes&a)!==0&&(df(t,e),Ir(e,null,null,a),Jr()),s=t.memoizedState,c=e.memoizedState,s.parent!==l?(s={parent:l,cache:l},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),si(e,ge,l)):(l=c.cache,si(e,ge,l),l!==s.cache&&rf(e,[ge],a,!0))),we(t,e,e.pendingProps.children,a),e.child;case 30:return e.stateNode===null&&(e.stateNode={autoName:null,paired:null,clones:null,ref:null}),l=e.pendingProps,l.name!=null&&l.name!=="auto"?e.flags|=t===null?18882560:18874368:Mt&&Ms(e),t!==null&&t.memoizedProps.name!==l.name?e.flags|=4194816:ql(t,e),we(t,e,l.children,a),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function Ya(t){t.flags|=4}function Kf(t,e,a,l,s){var c;if((c=(t.mode&32)!==0)&&(c=a===null?Kv(e,l):Kv(e,l)&&(l.src!==a.src||l.srcSet!==a.srcSet)),c){if(t.flags|=16777216,(s&335544128)===s)if(t.stateNode.complete)t.flags|=8192;else if($g())t.flags|=8192;else throw il=Vs,cf}else t.flags&=-16777217}function bg(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Qv(e))if($g())t.flags|=8192;else throw il=Vs,cf}function tu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?bt():536870912,t.lanes|=e,Kl|=e)}function ao(t,e){if(!Mt)switch(t.tailMode){case"visible":break;case"collapsed":for(var a=t.tail,l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null;break;default:for(e=t.tail,a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null}}function ee(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var s=t.child;s!==null;)a|=s.lanes|s.childLanes,l|=s.subtreeFlags&1206910976,l|=s.flags&1206910976,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)a|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function dw(t,e,a){var l=e.pendingProps;switch(ef(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ee(e),null;case 1:return ee(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ua(ge),ti(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Vl(e)?Ya(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,af())),ee(e),null;case 26:var s=e.type,c=e.memoizedState;return t===null?(Ya(e),c!==null?(ee(e),bg(e,c)):(ee(e),Kf(e,s,null,l,a))):c?c!==t.memoizedState?(Ya(e),ee(e),bg(e,c)):(ee(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&Ya(e),ee(e),Kf(e,s,t,l,a)),null;case 27:if(Mn(e),a=Fn.current,s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Ya(e);else{if(!l){if(e.stateNode===null)throw Error(o(166));return ee(e),e.subtreeFlags&=-33554433,null}t=Rn.current,Vl(e)?Ip(e):(t=Hv(s,l,a),e.stateNode=t,Ya(e))}return ee(e),e.subtreeFlags&=-33554433,null;case 5:if(Mn(e),s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Ya(e);else{if(!l){if(e.stateNode===null)throw Error(o(166));return ee(e),e.subtreeFlags&=-33554433,null}if(c=Rn.current,Vl(e))Ip(e);else{var m=po(Fn.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":c=m.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;
vendor: 5,365 bytes, line 25
25case"select":c=typeof l.is=="string"?m.createElement("select",{is:l.is}):m.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?m.createElement(s,{is:l.is}):m.createElement(s)}}c[se]=e,c[Qt]=l;t:for(m=e.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break t;for(;m.sibling===null;){if(m.return===null||m.return===e)break t;m=m.return}m.sibling.return=m.return,m=m.sibling}e.stateNode=c;t:switch(Ue(c,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&Ya(e)}}return ee(e),e.subtreeFlags&=-33554433,Kf(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&Ya(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(o(166));if(t=Fn.current,Vl(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,s=Re,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}t[se]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||vv(t.nodeValue,a)),t||oi(e,!0)}else t=po(t).createTextNode(l),t[se]=e,e.stateNode=t}return ee(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(l=Vl(e),a!==null){if(t===null){if(!l)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[se]=e}else Ii(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;ee(e),t=!1}else a=af(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(vn(e),e):(vn(e),null);if((e.flags&128)!==0)throw Error(o(558))}return ee(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=Vl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!s)throw Error(o(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(o(317));s[se]=e}else Ii(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;ee(e),s=!1}else s=af(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(vn(e),e):(vn(e),null)}return vn(e),(e.flags&128)!==0?(e.lanes=a,e):(a=l!==null,t=t!==null&&t.memoizedState!==null,a&&(l=e.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==s&&(l.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),tu(e,e.updateQueue),ee(e),null);case 4:return ti(),t===null&&Md(e.stateNode.containerInfo),e.flags|=67108864,ee(e),null;case 10:return Ua(e.type),ee(e),null;case 19:if(vf(e),l=e.memoizedState,l===null)return ee(e),null;if(s=(e.flags&128)!==0,c=l.rendering,c===null)if(s)ao(l,!1);else{if(ce!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=Hs(t),c!==null){for(e.flags|=128,ao(l,!1),t=c.updateQueue,e.updateQueue=t,tu(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Fp(a,t),a=a.sibling;return Wr(e,Ve.current&1|2),Mt&&Va(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&Xe()>du&&(e.flags|=128,s=!0,ao(l,!1),e.lanes=4194304)}else{if(!s)if(t=Hs(c),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,tu(e,t),ao(l,!0),l.tail===null&&l.tailMode!=="collapsed"&&l.tailMode!=="visible"&&!c.alternate&&!Mt)return ee(e),null}else 2*Xe()-l.renderingStartTime>du&&a!==536870912&&(e.flags|=128,s=!0,ao(l,!1),e.lanes=4194304);l.isBackwards?(c.sibling=e.child,e.child=c):(t=l.last,t!==null?t.sibling=c:e.child=c,l.last=c)}if(l.tail!==null){t=l.tail;t:{for(a=t;a!==null;){if(a.alternate!==null){a=!1;break t}a=a.sibling}a=!0}return l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Xe(),t.sibling=null,c=Ve.current,c=s?c&1|2:c&1,l.tailMode==="visible"||l.tailMode==="collapsed"||!a||Mt?Wr(e,c):(a=c,Vt(Le,e),Vt(Ve,a),Pe===null&&(Pe=e)),Mt&&Va(e,l.treeForkCount),t}return ee(e),null;case 22:case 23:return vn(e),yf(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(ee(e),e.subtreeFlags&6&&(e.flags|=8192)):ee(e),a=e.updateQueue,a!==null&&tu(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&Te(nl),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ua(ge),ee(e),null;case 25:return null;case 30:return e.flags|=33554432,ee(e),null}throw Error(o(156,e.tag))}function hw(t,e){switch(ef(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ua(ge),ti(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Mn(e),null;case 31:if(e.memoizedState!==null){if(vn(e),e.alternate===null)throw Error(o(340));Ii()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(vn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));Ii()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return vf(e),t=e.flags,t&65536?(e.flags=t&-65537|128,t=e.memoizedState,t!==null&&(t.rendering=null,t.tail
25=null),e.flags|=4,e):null;case 4:return ti(),null;case 10:return Ua(e.type),null;case 22:case 23:return vn(e),yf(),t!==null&&Te(nl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ua(ge),null;case 25:return null;default:return null}}function Sg(t,e){switch(ef(e),e.tag){case 3:Ua(ge),ti();break;case 26:case 27:case 5:Mn(e);break;case 4:ti();break;case 31:e.memoizedState!==null&&vn(e);break;case 13:vn(e);break;case 19:vf(e);break;case 10:Ua(e.type);break;case 22:case 23:vn(e),yf(),t!==null&&Te(nl);break;case 24:Ua(ge)}}function io(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var s=l.next;a=s;do{if((a.tag&t)===t){l=void 0;var c=a.create,m=a.inst;l=c(),m.destroy=l}a=a.next}while(a!==s)}}catch(b){Pt(e,e.return,b)}}function yi(t,e,a){try{var l=e.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var c=s.next;l=c;do{if((l.tag&t)===t){var m=l.inst,b=m.destroy;if(b!==void 0){m.destroy=void 0,s=e;var T=a,N=b;try{N()}catch(B){Pt(s,T,B)}}}l=l.next}while(l!==c)}}catch(B){Pt(e,e.return,B)}}function xg(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{cy(e,a)}catch(l){Pt(t,t.return,l)}}}function Tg(t,e,a){a.props=ol(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){Pt(t,e,l)}}function sa(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:var s=t.stateNode,c=Oa(t.memoizedProps,s);(s.ref===null||s.ref.name!==c)&&(s.ref=Dv(c)),l=s.ref;break;case 7:if(t.stateNode===null){var m=new wn(t);v(t.child,!1,aE,m,void 0,void 0),t.stateNode=m}l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(b){Pt(t,e,b)}}function _e(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(s){Pt(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(s){Pt(t,e,s)}else a.current=null}function eu(t,e){if((t.tag===5||t.tag===27||t.tag===6)&&t.alternate===null&&e!==null)for(var a=0;a<e.length;a++)Vv(t.stateNode,e[a])}function wg(t){for(var e=t.return;e!==null&&(Zf(e)&&Vv(t.stateNode,e.stateNode),!Qf(e));)e=e.return}function lo(t){for(var e=t.return;e!==null&&(Zf(e)&&iE(t.stateNode,e.stateNode),!Qf(e));)e=e.return}function Qf(t){return t.tag===5||t.tag===3||t.tag===27}function Zf(t){return t&&t.tag===7&&t.stateNode!==null}function Jf(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(s){Pt(t,t.return,s)}}function If(t,e,a){try{var l=t.stateNode;Hw(l,t.type,a,e),l[Qt]=e}catch(s){Pt(t,t.return,s)}}function Eg(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&wi(t.type)||t.tag===4}function Wf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Eg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&wi(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function $f(t,e,a,l){var s=t.tag;if(s===5||s===6)s=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(s,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(s),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=la)),eu(t,l),Ht=!0;else if(s!==4&&(s===27&&(eu(t,l),l=null,wi(t.type)&&(a=t.stateNode,e=null)),t=t.child,t!==null))for($f(t,e,a,l),t=t.sibling;t!==null;)$f(t,e,a,l),t=t.sibling}function nu(t,e,a,l){var s=t.tag;if(s===5||s===6)s=t.stateNode,e?a.insertBefore(s,e):a.appendChild(s),eu(t,l),Ht=!0;else if(s!==4&&(s===27&&(eu(t,l),l=null,wi(t.type)&&(a=t.stateNode)),t=t.child,t!==null))for(nu(t,e,a,l),t=t.sibling;t!==null;)nu(t,e,a,l),t=t.sibling}function Cg(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);Ue(e,l,a),e[se]=t,e[Qt]=a}catch(c){Pt(t,t.return,c)}}var au=!1,bn=null;function Ag(t){(t.tag===30||(t.subtreeFlags&33554432)!==0)&&(au=!0)}var ua=null;function Rg(){var t=ua;return ua=null,t}var tn=0;function Xl(t,e,a,l,s){return tn=0,Mg(t.child,e,a,l,s)}function Mg(t,e,a,l,s){for(var c=!1;t!==null;){if(t.tag===5){var m=t.stateNode;if(l!==null){var b=_d(m);l.push(b),b.view&&(c=!0)}else c||_d(m).view&&(c=!0);au=!0,Rv(m,tn===0?e:e+"_"+tn,a),tn++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&s||Mg(t.child,e,a,l,s)&&
25(c=!0));t=t.sibling}return c}function ca(t,e){for(;t!==null;)t.tag===5?Mv(t.stateNode,t.memoizedProps):(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&e||ca(t.child,e)),t=t.sibling}function iu(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if((t.tag!==22||t.memoizedState===null)&&(iu(t),t.tag===30&&(t.flags&18874368)!==0&&t.stateNode.paired)){var e=t.memoizedProps;if(e.name==null||e.name==="auto")throw Error(o(544));var a=e.name;e=ja(e.default,e.share),e!=="none"&&(Xl(t,a,e,null,!1)||ca(t.child,!1))}t=t.sibling}}function td(t,e){if(t.tag===30){var a=t.stateNode,l=t.memoizedProps,s=Oa(l,a),c=ja(l.default,a.paired?l.share:l.enter);c!=="none"?Xl(t,s,c,null,!1)?(iu(t),a.paired||e||Il(t,l.onEnter)):ca(t.child,!1):iu(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)td(t,e),t=t.sibling;else iu(t)}function ed(t){if(bn!==null&&bn.size!==0){var e=bn;if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var a=t.memoizedProps,l=a.name;if(l!=null&&l!=="auto"){var s=e.get(l);if(s!==void 0){var c=ja(a.default,a.share);if(c!=="none"&&(Xl(t,l,c,null,!1)?(c=t.stateNode,s.paired=c,c.paired=s,Il(t,a.onShare)):ca(t.child,!1)),e.delete(l),e.size===0)break}}}ed(t)}t=t.sibling}}}function nd(t){if(t.tag===30){var e=t.memoizedProps,a=Oa(e,t.stateNode),l=bn!==null?bn.get(a):void 0,s=ja(e.default,l!==void 0?e.share:e.exit);s!=="none"&&(Xl(t,a,s,null,!1)?l!==void 0?(s=t.stateNode,l.paired=s,s.paired=l,bn.delete(a),Il(t,e.onShare)):Il(t,e.onExit):ca(t.child,!1)),bn!==null&&ed(t)}else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)nd(t),t=t.sibling;else bn!==null&&ed(t)}function Dg(t){for(t=t.child;t!==null;){if(t.tag===30){var e=t.memoizedProps,a=Oa(e,t.stateNode);e=ja(e.default,e.update),t.flags&=-5,e!=="none"&&Xl(t,a,e,t.memoizedState=[],!1)}else(t.subtreeFlags&33554432)!==0&&Dg(t);t=t.sibling}}function ad(t){if((t.subtreeFlags&18874368)!==0)for(t=t.child;t!==null;){if(t.tag!==22||t.memoizedState===null){if(t.tag===30&&(t.flags&18874368)!==0){var e=t.stateNode;e.paired!==null&&(e.paired=null,ca(t.child,!1))}ad(t)}t=t.sibling}}function lu(t){if(t.tag===30)t.stateNode.paired=null,ca(t.child,!1),ad(t);else if((t.subtreeFlags&33554432)!==0)for(t=t.child;t!==null;)lu(t),t=t.sibling;else ad(t)}function zg(t){for(t=t.child;t!==null;)t.tag===30?ca(t.child,!1):(t.subtreeFlags&33554432)!==0&&zg(t),t=t.sibling}function id(t,e,a,l,s,c,m){for(var b=!1;e!==null;){if(e.tag===5){var T=e.stateNode;if(c!==null&&tn<c.length){var N=c[tn],B=_d(T);(N.view||B.view)&&(b=!0);var X;if(X=(t.flags&4)===0)if(B.clip)X=!0;else{X=N.rect;var D=B.rect;X=X.y!==D.y||X.x!==D.x||X.height!==D.height||X.width!==D.width}X&&(t.flags|=4),B.abs?B=!N.abs:(N=N.rect,B=B.rect,B=N.height!==B.height||N.width!==B.width),B&&(t.flags|=32)}else t.flags|=32;(t.flags&4)!==0&&Rv(T,tn===0?a:a+"_"+tn,s),b&&(t.flags&4)!==0||(ua===null&&(ua=[]),ua.push(T,tn===0?l:l+"_"+tn,e.memoizedProps)),tn++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&m?t.flags|=e.flags&32:id(t,e.child,a,l,s,c,m)&&(b=!0));e=e.sibling}return b}function Ng(t,e){for(t=t.child;t!==null;){if(t.tag===30){var a=t.memoizedProps,l=t.stateNode,s=Oa(a,l),c=ja(a.default,a.update),m;m=t.memoizedState,t.memoizedState=null,l=t;var b=t.child;tn=0,s=id(l,b,s,s,c,m,!1),(t.flags&4)!==0&&s&&Il(t,a.onUpdate)}else(t.subtreeFlags&33554432)!==0&&Ng(t);t=t.sibling}}var Me=!1,qt=!1,fa=!1,ld=!1,Og=typeof WeakSet=="function"?WeakSet:Set,De=null,da=!1,ro=!1,ru=!1,rd=!1;function mw(t,e,a){if(t=t.containerInfo,Nd=or,t=_p(t),Pc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var c=s.anchorOffset,m=s.focusNode;s=s.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break t}var b=0,T=-1,N=-1,B=0,X=0,D=t,U=null;e:for(;;){for(var I;D!==l||c!==0&&D.nodeType!==3||(T=b+c),D!==m||s!==0&&D.nodeType!==3||(N=b+s),D.nodeType===3&&(b+=D.nodeValue.length),(I=D.firstChild)!==null;)U=D,D=I;for(;;){if(D===t)break e;if(U===l&&++B===c&&(T=b),U===m&&++X===s&&(N=b),(I=D.nextSibling)!==null)break;D=U,U=D.parentNode}D=I}l=T===-1||N===-1?null:{start:T,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(Od={focusedElem:t,selectionRange:l},or=!1,a=(a&335544064)===a,De=e,e=a?9270:1024;De!==null;){if(t=De,a&&(l=t.deletions,l!==null))for(c=0;c<l.length;c++)a&&nd(l[c]);if(t.alternate===null&&(t.flags&2)!==0)a&&Ag(t),ou(a);else{if(t.tag===22){if(l=t.alternate,t.memoizedState!==null){l!==null&&l.memoizedState===null&&a&&nd(l),ou(a);continue}else if(l!==null&&l.memoizedState!==null){a&&Ag(t),ou(a);continue}}l=t.child,(t.subtreeFlags&e)!==0&&l!==null?(l.return=t,De=l):(a&&Dg(t),ou(a))}}bn=null}function ou(t){for(;De!==null;){var e=De,a=t,l=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 15:break;case 1:if((s&1024)!==0&&l!==null){a=void 0,s=l.memoizedProps,l=l.memoizedState;var c=e.stateNode;try{var m=ol(e.type,s);a=c.getSnapshotBeforeUpdate(m,l),c.__reactInternalSnapshotBeforeUpdate=a}catch(b){Pt(e,e.return,b)}}break;case 3:if((s&1024)!==0){if(l=e.stateNode.containerInfo,a=l.nodeType,a===9)Hd(l);
25else if(a===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Hd(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&l!==null&&(a=Oa(l.memoizedProps,l.stateNode),s=e.memoizedProps,s=ja(s.default,s.update),s!=="none"&&Xl(l,a,s,l.memoizedState=[],!0));break;default:if((s&1024)!==0)throw Error(o(163))}if(l=e.sibling,l!==null){l.return=e.return,De=l;break}De=e.return}}function jg(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:ha(t,a),l&4&&io(5,a);break;case 1:if(ha(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(m){Pt(a,a.return,m)}else{var s=ol(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(m){Pt(a,a.return,m)}}l&64&&xg(a),l&512&&sa(a,a.return);break;case 3:if(ha(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{cy(t,e)}catch(m){Pt(a,a.return,m)}}break;case 27:e===null&&l&4&&Cg(a);case 26:case 5:ha(t,a),e===null&&l&4&&Jf(a),l&512&&sa(a,a.return);break;case 12:ha(t,a);break;case 31:ha(t,a),l&4&&Ug(t,a);break;case 13:ha(t,a),l&4&&Bg(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=Aw.bind(null,a),oE(t,a))));break;case 22:if(l=a.memoizedState!==null||Me,!l){var c=e!==null&&e.memoizedState!==null||qt;e=Me,s=qt,Me=l,(qt=c)&&!s?(l=2,(a.subtreeFlags&8772)!==0&&(l|=1),In(t,a,l)):ha(t,a),Me=e,qt=s}break;case 30:ha(t,a),l&512&&sa(a,a.return);break;case 7:l&512&&sa(a,a.return);default:ha(t,a)}}function od(t,e){for(t=t.child;t!==null;)Lg(t,e),t=t.sibling}function Lg(t,e){switch(t.tag){case 5:case 26:try{var a=t.stateNode;if(e){var l=a.style;typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"}else{var s=t.stateNode,c=t.memoizedProps.style,m=c!=null&&c.hasOwnProperty("display")?c.display:null;s.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(T){Pt(t,t.return,T)}sd(t,e);break;case 6:try{t.stateNode.nodeValue=e?"":t.memoizedProps,Ht=!0}catch(T){Pt(t,t.return,T)}break;case 18:try{var b=t.stateNode;e?Av(b,!0):Av(t.stateNode,!1)}catch(T){Pt(t,t.return,T)}break;case 22:case 23:t.memoizedState===null&&od(t,e);break;default:od(t,e)}}function sd(t,e){if(t.subtreeFlags&67108864)for(t=t.child;t!==null;){t:{var a=t,l=e;switch(a.tag){case 4:Lg(a,l);break t;case 22:a.memoizedState===null&&sd(a,l);break t;default:sd(a,l)}}t=t.sibling}}function Vg(t){var e=t.alternate;e!==null&&(t.alternate=null,Vg(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&re(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var le=null,en=!1;function Zn(t,e,a){for(a=a.child;a!==null;)_g(t,e,a),a=a.sibling}function _g(t,e,a){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(ei,a)}catch{}switch(a.tag){case 26:qt||_e(a,e),Zn(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&!qt&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:qt||_e(a,e),lo(a);var l=le,s=en;wi(a.type)&&(le=a.stateNode,en=!1),Zn(t,e,a),Gv(a.stateNode,a.type,a.memoizedProps),le=l,en=s;break;case 5:qt||_e(a,e),lo(a);case 6:if(a.tag===6&&lo(a),l=le,s=en,le=null,Zn(t,e,a),le=l,en=s,le!==null)if(en)try{(le.nodeType===9?le.body:le.nodeName==="HTML"?le.ownerDocument.body:le).removeChild(a.stateNode),Ht=!0}catch(c){Pt(a,e,c)}else try{le.removeChild(a.stateNode),Ht=!0}catch(c){Pt(a,e,c)}break;case 18:le!==null&&(en?(t=le,Cv(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),sr(t)):Cv(le,a.stateNode));break;case 4:l=le,s=en,le=a.stateNode.containerInfo,en=!0,Zn(t,e,a),le=l,en=s;break;case 0:case 11:case 14:case 15:yi(2,a,e),qt||yi(4,a,e),Zn(t,e,a);break;case 1:qt||(_e(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Tg(a,e,l)),Zn(t,e,a);break;case 21:Zn(t,e,a);break;case 22:qt=(l=qt)||a.memoizedState!==null,Zn(t,e,a),qt=l;break;case 30:_e(a,e),Zn(t,e,a);break;case 7:qt||_e(a,e),Zn(t,e,a);break;default:Zn(t,e,a)}}function Ug(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{sr(t)}catch(a){Pt(e,e.return,a)}}}function Bg(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{sr(t)}catch(a){Pt(e,e.return,a)}}function pw(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Og),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Og),e;default:throw Error(o(435,t.tag))}}function su(t,e){var a=pw(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var s=Rw.bind(null,t,l);l.then(s,s)}})}function Ze(t,e,a){var l=e.deletions;if(l!==null)for(var s=0;s<l.length;s++){var c=l[s],m=t,b=e,T=b;t:for(;T!==null;){switch(T.tag){case 27:if(wi(T.type)){le=T.stateNode,en=!1;break t}break;case 5:le=T.stateNode,en=!1;break t;case 3:case 4:le=T.stateNode.containerInfo,en=!0;break t}
25T=T.return}if(le===null)throw Error(o(160));_g(m,b,c),le=null,en=!1,m=c.alternate,m!==null&&(m.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Hg(e,t,a),e=e.sibling}var Jn=null;function Hg(t,e,a){var l=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(s&4&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(var c=0;c<l.length;c++){var m=l[c];m.ref.impl=m.nextImpl}Ze(e,t,a),Je(t),s&4&&(yi(3,t,t.return),io(3,t),yi(5,t,t.return));break;case 1:Ze(e,t,a),Je(t),s&512&&(qt||l===null||_e(l,l.return)),s&64&&Me&&(t=t.updateQueue,t!==null&&(e=t.callbacks,e!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?e:a.concat(e))));break;case 26:if(c=Jn,Ze(e,t,a),Je(t),s&512&&(qt||l===null||_e(l,l.return)),s&4)if(s=l!==null?l.memoizedState:null,a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null)if(Me)t.stateNode=Tv(t.type,t.memoizedProps,e.containerInfo,t);else{t:{e=t.type,a=t.memoizedProps,s=c.ownerDocument||c;e:switch(e){case"title":l=s.getElementsByTagName("title")[0],(!l||l[ia]||l[se]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=s.createElement(e),s.head.insertBefore(l,s.querySelector("head > title"))),Ue(l,e,a),l[se]=t,$t(l),e=l;break t;case"link":if(c=Fv("link","href",s).get(e+(a.href||""))){for(m=0;m<c.length;m++)if(l=c[m],l.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&l.getAttribute("rel")===(a.rel==null?null:a.rel)&&l.getAttribute("title")===(a.title==null?null:a.title)&&l.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(m,1);break e}}l=s.createElement(e),Ue(l,e,a),s.head.appendChild(l);break;case"meta":if(c=Fv("meta","content",s).get(e+(a.content||""))){for(m=0;m<c.length;m++)if(l=c[m],l.getAttribute("content")===(a.content==null?null:""+a.content)&&l.getAttribute("name")===(a.name==null?null:a.name)&&l.getAttribute("property")===(a.property==null?null:a.property)&&l.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&l.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(m,1);break e}}l=s.createElement(e),Ue(l,e,a),s.head.appendChild(l);break;default:throw Error(o(468,e))}l[se]=t,$t(l),e=l}t.stateNode=e}else Me||Fd(c,t.type,t.stateNode);else t.stateNode=Pv(c,a,t.memoizedProps);else s!==a?(s===null?(e=l.stateNode,e===null||qt||e.parentNode.removeChild(e)):s.count--,a===null?Me||Fd(c,t.type,t.stateNode):Pv(c,a,t.memoizedProps)):a===null&&t.stateNode!==null&&If(t,t.memoizedProps,l.memoizedProps);break;case 27:Ze(e,t,a),Je(t),s&512&&(qt||l===null||_e(l,l.return)),l!==null&&s&4&&If(t,t.memoizedProps,l.memoizedProps);break;case 5:if(c=fa,fa=!1,Ze(e,t,a),fa=c,Je(t),s&512&&(qt||l===null||_e(l,l.return)),t.flags&32){e=t.stateNode;try{Cl(e,""),Ht=!0}catch(B){Pt(t,t.return,B)}}s&4&&t.stateNode!=null&&(e=t.memoizedProps,If(t,e,l!==null?l.memoizedProps:e)),s&1024&&(ld=!0);break;case 6:if(Ze(e,t,a),Je(t),s&4){if(t.stateNode===null)throw Error(o(162));e=t.memoizedProps,a=t.stateNode;try{a.nodeValue=e,Ht=!0}catch(B){Pt(t,t.return,B)}}break;case 3:if(Ht=!1,wu=null,c=Jn,Jn=yo(e.containerInfo),Ze(e,t,a),Jn=c,Je(t),s&4&&l!==null&&l.memoizedState.isDehydrated)try{sr(e.containerInfo)}catch(B){Pt(t,t.return,B)}ld&&(ld=!1,Gg(t)),Ht=!1;break;case 4:s=fa,fa=Me,l=rp(),c=Jn,Jn=yo(t.stateNode.containerInfo),Ze(e,t,a),Je(t),Jn=c,Ht&&ro&&(ru=!0),Ht=l,fa=s;break;case 12:Ze(e,t,a),Je(t);break;case 31:Ze(e,t,a),Je(t),s&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,su(t,e)));break;case 13:Ze(e,t,a),Je(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(fu=Xe()),s&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,su(t,e)));break;case 22:c=t.memoizedState!==null,m=l!==null&&l.memoizedState!==null;var b=Me,T=qt,N=fa;Me=b||c,fa=N||c,qt=T||m,Ze(e,t,a),qt=T,fa=N,Me=b,Je(t),s&8192&&(e=t.stateNode,e._visibility=c?e._visibility&-2:e._visibility|1,!c||l===null||m||Me||qt||(e=m||qt,a=Me,l=qt,Me=c||Me,qt=e,gi(t,2),Me=a,qt=l),!c&&fa||od(t,c)),s&4&&(e=t.updateQueue,e!==null&&(a=e.retryQueue,a!==null&&(e.retryQueue=null,su(t,a))));break;case 19:Ze(e,t,a),Je(t),s&4&&(e=t.updateQueue,e!==null&&(t.updateQueue=null,su(t,e)));break;case 30:s&512&&(qt||l===null||_e(l,l.return)),s=rp(),c=ro,m=(a&335544064)===a,b=t.memoizedProps,ro=m&&ja(b.default,b.update)!=="none",Ze(e,t,a),Je(t),m&&l!==null&&Ht&&(t.flags|=4),ro=c,Ht=s;break;case 21:break;case 7:s&512&&(qt||l===null||_e(l,l.return)),l&&l.stateNode!==null&&(l.stateNode._fragmentFiber=t);default:Ze(e,t,a),Je(t)}}function Je(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(Eg(l)){a=l;break}l=l.return}l=null;for(var s=t.return;s!==null;){if(Zf(s)){var c=s.stateNode;l===null?l=[c]:l.push(c)}if(Qf(s))break;s=s.return}var m=l;if(a==null)throw Error(o(160));switch(a.tag){case 27:var b=a.stateNode,T=Wf(t);nu(t,T,b,m);break;case 5:var N=a.stateNode;a.flags&32&&(Cl(N,""),a.flags&=-33);var B=Wf(t);nu(t,B,N,m);break;case 3:case 4:var X=a.stateNode.containerInfo,D=Wf(t);$f(t,D,X,m);break;default:throw Error(o(161))}}catch(U){Pt(t,t.return,U)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Gg(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Gg(e),e.tag===5&&e.flags&1024&&(e=e.stateNode,or=!0,e.reset(),or=!1),t=t.sibling}}function kl(t,e){if(e.subtreeFlags&9270)for(e=e.child;e!==null;)Yg(e,t),e=e.sibling;else Ng(e)}function Yg(t,e){var a=t.alternate;if(a===null)td(t,!1);
25else switch(t.tag){case 3:if(rd=da=!1,Rg(),kl(e,t),!da&&!ru){if(t=ua,t!==null)for(var l=0;l<t.length;l+=3){a=t[l];var s=t[l+1];Mv(a,t[l+2]),a=a.ownerDocument.documentElement,a!==null&&a.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+s+")"})}t=e.containerInfo,t=t.nodeType===9?t.documentElement:t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName===""&&(t.style.viewTransitionName="none",t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),t.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),rd=!0}ua=null;break;case 5:kl(e,t);break;case 4:l=da,da=!1,kl(e,t),da&&(ru=!0),da=l;break;case 22:t.memoizedState===null&&(a.memoizedState!==null?td(t,!1):kl(e,t));break;case 30:l=da,s=Rg(),da=!1,kl(e,t),da&&(t.flags|=4);var c=t.memoizedProps,m=t.stateNode;e=Oa(c,m),m=Oa(a.memoizedProps,m);var b=ja(c.default,c.update);b==="none"?e=!1:(c=a.memoizedState,a.memoizedState=null,a=t.child,tn=0,e=id(t,a,e,m,b,c,!0),tn!==(c===null?0:c.length)&&(t.flags|=32)),(t.flags&4)!==0&&e?(Il(t,t.memoizedProps.onUpdate),ua=s):s!==null&&(s.push.apply(s,ua),ua=s),da=(t.flags&32)!==0?!0:l;break;default:kl(e,t)}}function ha(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)jg(t,e.alternate,e),e=e.sibling}function gi(t,e){for(t=t.child;t!==null;){var a=t,l=e;switch(a.tag){case 0:case 11:case 14:case 15:yi(4,a,a.return),gi(a,l);break;case 1:_e(a,a.return);var s=a.stateNode;typeof s.componentWillUnmount=="function"&&Tg(a,a.return,s),gi(a,l);break;case 27:(l&2)!==0&&Gv(a.stateNode,a.type,a.memoizedProps);case 5:_e(a,a.return),a.tag!==5&&a.tag!==27||lo(a),gi(a,l);break;case 6:lo(a);break;case 26:_e(a,a.return),s=a.stateNode,a.memoizedState!==null||s===null||qt||s.parentNode.removeChild(s),gi(a,l);break;case 22:a.memoizedState===null&&gi(a,l);break;case 30:_e(a,a.return),gi(a,l);break;case 7:_e(a,a.return);default:gi(a,l)}t=t.sibling}}function In(t,e,a){for(a=(e.subtreeFlags&8772)!==0?a:a&-2,e=e.child;e!==null;){var l=e.alternate,s=t,c=e,m=c.flags,b=(a&1)!==0;switch(c.tag){case 0:case 11:case 15:In(s,c,a),io(4,c);break;case 1:if(In(s,c,a),l=c,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(B){Pt(l,l.return,B)}if(l=c,s=l.updateQueue,s!==null){var T=l.stateNode;try{var N=s.shared.hiddenCallbacks;if(N!==null)for(s.shared.hiddenCallbacks=null,s=0;s<N.length;s++)uy(N[s],T)}catch(B){Pt(l,l.return,B)}}b&&m&64&&xg(c),sa(c,c.return);break;case 27:(a&2)!==0&&Cg(c);case 5:c.tag!==5&&c.tag!==27||wg(c),In(s,c,a),b&&l===null&&m&4&&Jf(c),sa(c,c.return);break;case 6:wg(c);break;case 26:T=c.stateNode,c.memoizedState!==null||T===null||Me||Fd(yo(T.ownerDocument),c.type,T),In(s,c,a),b&&l===null&&m&4&&Jf(c),sa(c,c.return);break;case 12:In(s,c,a);break;case 31:In(s,c,a),b&&m&4&&Ug(s,c);break;case 13:In(s,c,a),b&&m&4&&Bg(s,c);break;case 22:c.memoizedState===null&&In(s,c,a),sa(c,c.return);break;case 30:In(s,c,a),sa(c,c.return);break;case 7:sa(c,c.return);default:In(s,c,a)}e=e.sibling}}function ud(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&Pr(a))}function cd(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Pr(t))}function _n(t,e,a,l){var s=(a&335544064)===a;if(e.subtreeFlags&(s?10262:10256))for(e=e.child;e!==null;)qg(t,e,a,l),e=e.sibling;else s&&zg(e)}function qg(t,e,a,l){var s=(a&335544064)===a;s&&e.alternate===null&&e.return!==null&&e.return.alternate!==null&&lu(e);var c=e.flags;switch(e.tag){case 0:case 11:case 15:_n(t,e,a,l),c&2048&&io(9,e);break;case 1:_n(t,e,a,l);break;case 3:_n(t,e,a,l),s&&rd&&(t=t.containerInfo,t=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,t.style.viewTransitionName==="root"&&(t.style.viewTransitionName=""),t=t.ownerDocument.documentElement,t!==null&&t.style.viewTransitionName==="none"&&(t.style.viewTransitionName="")),c&2048&&(c=null,e.alternate!==null&&(c=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==c&&(e.refCount++,c!=null&&Pr(c)));break;case 12:if(c&2048){_n(t,e,a,l),c=e.stateNode;try{var m=e.memoizedProps,b=m.id,T=m.onPostCommit;typeof T=="function"&&T(b,e.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(N){Pt(e,e.return,N)}}else _n(t,e,a,l);break;case 31:_n(t,e,a,l);break;case 13:_n(t,e,a,l);break;case 23:break;case 22:m=e.stateNode,b=e.alternate,e.memoizedState!==null?(s&&b!==null&&b.memoizedState===null&&lu(b),m._visibility&2?_n(t,e,a,l):oo(t,e)):(s&&b!==null&&b.memoizedState!==null&&lu(e),m._visibility&2?_n(t,e,a,l):(m._visibility|=2,Pl(t,e,a,l,(e.subtreeFlags&10256)!==0||!1))),c&2048&&ud(b,e);break;case 24:_n(t,e,a,l),c&2048&&cd(e.alternate,e);break;case 30:s&&(c=e.alternate,c!==null&&(ca(c.child,!0),ca(e.child,!0))),_n(t,e,a,l);break;default:_n(t,e,a,l)}}function Pl(t,e,a,l,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,m=e,b=a,T=l,N=m.flags;switch(m.tag){case 0:case 11:case 15:Pl(c,m,b,T,s),io(8,m);break;case 23:break;case 22:var B=m.stateNode;m.memoizedState!==null?B._visibility&2?Pl(c,m,b,T,s):oo(c,m):(B._visibility|=2,Pl(c,m,b,T,s)),s&&N&2048&&ud(m.alternate,m);break;case 24:Pl(c,m,b,T,s),s&&N&2048&&cd(m.alternate,m);break;default:Pl(c,m,b,T,s)}e=e.sibling}}function oo(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,s=l.flags;switch(l.tag){case 22:oo(a,l),s&2048&&ud(l.alternate,l);break;case 24:oo(a,l),s&2048&&cd(l.alternate,l);break;default:oo(a,l)}e=e.sibling}}var sl=8192;function ul(t,e,a){if(t.subtreeFlags&sl)for(t=t.child;t!==null;)Xg(t,e,a),t=t.sibling}function Xg(t,e,a){switch(t.tag){case 26:ul(t,e,a),t.flags&sl&&(t.memoizedState!==null?xE(a,Jn,t.memoizedState,t.memoizedProps):(t=t.stateNode,(e&335544128)===e&&Jv(a,t)));break;case 5:ul(t,e,a),t.flags&sl&&(t=t.stateNode,(e&335544128)===e&&Jv(a,t));break;case 3:case 4:var l=Jn;Jn=yo(t.stateNode.containerInfo),ul(t,e,a),Jn=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=sl,sl=16777216,ul(t,e,a),sl=l):ul(t,e,a));break;case 30:if((t.flags&sl)!==0&&(l=t.memoizedProps.name,l!=null&&l!=="auto")){var s=t.stateNode;s.paired=null,bn===null&&(bn=new Map),bn.set(l,s)}ul(t,e,a);break;default:ul(t,e,a)}}function kg(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function so(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];De=l,Fg(l,t)}kg(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Pg(t),t=t.sibling}function Pg(t){switch(t.tag){case 0:case 11:case 15:so(t),t.flags&2048&&yi(9,t,t.return);break;case 3:so(t);break;case 12:so(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,uu(t)):so(t);break;default:so(t)}}function uu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];De=l,Fg(l,t)}kg(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:yi(8,e,e.return),uu(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,uu(e));break;default:uu(e)}t=t.sibling}}function Fg(t,e){for(;De!==null;){var a=De;switch(a.tag){case 0:case 11:case 15:yi(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Pr(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,De=l;else t:for(a=t;De!==null;){l=De;var s=l.sibling,c=l.return;if(Vg(l),l===a){De=null;break t}if(s!==null){s.return=c,De=s;break t}De=c}}}var yw={getCacheForType:function(t){var e=je(ge),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return je(ge).controller.signal}},gw=typeof WeakMap=="function"?WeakMap:Map,Yt=0,Zt=null,Dt=null,Ot=0,kt=0,Sn=null,vi=!1,Fl=!1,fd=!1,qa=0,
vendor: 4,938 bytes, line 25
25ce=0,bi=0,cl=0,cu=0,xn=0,Kl=0,uo=null,nn=null,dd=!1,fu=0,Kg=0,du=1/0,hu=null,Si=null,oe=0,Wn=null,fl=null,ma=0,hd=0,md=null,Qg=null,Ql=null,Zl=null,Jl=null,co=0,mu=null;function Tn(){return(Yt&2)!==0&&Ot!==0?Ot&-Ot:vt.T!==null?Ed():ze()}function Zg(){if(xn===0)if((Ot&536870912)===0||Mt){var t=_;_<<=1,(_&3932160)===0&&(_=262144),xn=t}else xn=536870912;return t=Le.current,t!==null&&(t.flags|=32),xn}function Il(t,e){if(e!=null){var a=t.stateNode,l=a.ref;l===null&&(l=a.ref=Dv(Oa(t.memoizedProps,a))),Zl===null&&(Zl=[]),Zl.push(e.bind(null,l))}}function an(t,e,a){(t===Zt&&(kt===2||kt===9)||t.cancelPendingCommit!==null)&&(Wl(t,0),xi(t,Ot,xn,!1)),pt(t,a),((Yt&2)===0||t!==Zt)&&(t===Zt&&((Yt&2)===0&&(cl|=a),ce===4&&xi(t,Ot,xn,!1)),pa(t))}function Jg(t,e,a){if((Yt&6)!==0)throw Error(o(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||ot(t,e),s=l?Sw(t,e):yd(t,e,!0),c=l;do{if(s===0){Fl&&!l&&xi(t,e,0,!1);break}else{if(a=t.current.alternate,c&&!vw(a)){s=yd(t,e,!1),c=!1;continue}if(s===2){if(c=e,t.errorRecoveryDisabledLanes&c)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){e=m;t:{var b=t;s=uo;var T=b.current.memoizedState.isDehydrated;if(T&&(Wl(b,m).flags|=256),m=yd(b,m,!1),m!==2&&m!==6){if(fd&&!T){b.errorRecoveryDisabledLanes|=c,cl|=c,s=4;break t}c=nn,nn=s,c!==null&&(nn===null?nn=c:nn.push.apply(nn,c))}s=m}if(c=!1,s!==2)continue}}if(s===1){Wl(t,0),xi(t,e,0,!0);break}t:{switch(l=t,c=s,c){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e&&(e&62914560)!==e)break;case 6:xi(l,e,xn,!vi);break t;case 2:nn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(s=fu+300-Xe(),10<s)){if(xi(l,e,xn,!vi),ct(l,0,!0)!==0)break t;ma=e,l.timeoutHandle=Vd(Ig.bind(null,l,a,nn,hu,dd,e,xn,cl,Kl,vi,c,"Throttled",-0,0),s);break t}Ig(l,a,nn,hu,dd,e,xn,cl,Kl,vi,c,null,-0,0)}}break}while(!0);pa(t)}function Ig(t,e,a,l,s,c,m,b,T,N,B,X,D,U){t.timeoutHandle=-1;var I=e.subtreeFlags,st=(c&335544064)===c;if(X=null,(st||I&8192||(I&16785408)===16785408)&&(X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:la},bn=null,Xg(e,c,X),st&&(I=X,st=t.containerInfo,st=(st.nodeType===9?st:st.ownerDocument).__reactViewTransition,st!=null&&(I.count++,I.waitingForViewTransition=!0,I=bo.bind(I),st.finished.then(I,I))),I=(c&62914560)===c?fu-Xe():(c&4194048)===c?Kg-Xe():0,I=TE(X,I),I!==null)){ma=c,t.cancelPendingCommit=I(lv.bind(null,t,e,c,a,l,s,m,b,T,N,B,X,null,D,U)),xi(t,c,m,!N);return}lv(t,e,c,a,l,s,m,b,T,N,B,X)}function vw(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var s=a[l],c=s.getSnapshot;s=s.value;try{if(!gn(c(),s))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function xi(t,e,a,l){e=et(t,e),e&=~cu,e&=~cl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var s=e;0<s;){var c=31-ke(s),m=1<<c;l[c]=-1,s&=~m}a!==0&&Wt(t,a,e)}function pu(){return(Yt&6)===0?(fo(0),!1):!0}function pd(){if(Dt!==null){if(kt===0)var t=Dt.return;else t=Dt,_a=Wi=null,wf(t),Bl=null,Qr=0,t=Dt;for(;t!==null;)Sg(t.alternate,t),t=t.return;Dt=null}}function Wl(t,e){var a=t.timeoutHandle;return a!==-1&&(t.timeoutHandle=-1,qw(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),ma=0,pd(),Zt=t,Dt=a=La(t.current,null),Ot=e,kt=0,Sn=null,vi=!1,Fl=ot(t,e),fd=!1,Kl=xn=cu=cl=bi=ce=0,nn=uo=null,dd=!1,qa=et(t,e),ws(),a}function Wg(t,e){wt=null,vt.H=Qs,e===Ul||e===Ls?(e=ly(),kt=3):e===cf?(e=ly(),kt=4):kt=e===Bf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Sn=e,Dt===null&&(ce=1,Zs(t,On(e,t.current)))}function $g(){var t=Le.current;return t===null?!0:(Ot&4194048)===Ot?Pe===null:(Ot&62914560)===Ot||(Ot&536870912)!==0?t===Pe:!1}function tv(){var t=vt.H;return vt.H=Qs,t===null?Qs:t}function ev(){var t=vt.A;return vt.A=yw,t}function yu(){ce=4,vi||(Ot&4194048)!==Ot&&Le.current!==null||(Fl=!0),(bi&134217727)===0&&(cl&134217727)===0||Zt===null||xi(Zt,Ot,xn,!1)}function yd(t,e,a){var l=Yt;Yt|=2;var s=tv(),c=ev();(Zt!==t||Ot!==e)&&(hu=null,Wl(t,e)),e=!1;var m=ce;t:do try{if(kt!==0&&Dt!==null){var b=Dt,T=Sn;switch(kt){case 8:pd(),m=6;break t;case 3:case 2:case 9:case 6:Le.current===null&&(e=!0);var N=kt;if(kt=0,Sn=null,$l(t,b,T,N),a&&Fl){m=0;break t}break;default:N=kt,kt=0,Sn=null,$l(t,b,T,N)}}bw(),m=ce;break}catch(B){Wg(t,B)}while(!0);return e&&t.shellSuspendCounter++,_a=Wi=null,Yt=l,vt.H=s,vt.A=c,Dt===null&&(Zt=null,Ot=0,ws()),m}function bw(){for(;Dt!==null;)nv(Dt)}function Sw(t,e){var a=Yt;Yt|=2;var l=tv(),s=ev();Zt!==t||Ot!==e?(hu=null,du=Xe()+500,Wl(t,e)):Fl=ot(t,e);t:do try{if(kt!==0&&Dt!==null){e=Dt;var c=Sn;e:switch(kt){case 1:kt=0,Sn=null,$l(t,e,c,1);break;
vendor: 4,585 bytes, line 25
25case 2:case 9:if(ay(c)){kt=0,Sn=null,av(e);break}e=function(){kt!==2&&kt!==9||Zt!==t||(kt=7),pa(t)},c.then(e,e);break t;case 3:kt=7;break t;case 4:kt=5;break t;case 7:ay(c)?(kt=0,Sn=null,av(e)):(kt=0,Sn=null,$l(t,e,c,7));break;case 5:var m=null;switch(Dt.tag){case 26:m=Dt.memoizedState;case 5:case 27:var b=Dt;if(m?Qv(m):b.stateNode.complete){kt=0,Sn=null;var T=b.sibling;if(T!==null)Dt=T;else{var N=b.return;N!==null?(Dt=N,gu(N)):Dt=null}break e}}kt=0,Sn=null,$l(t,e,c,5);break;case 6:kt=0,Sn=null,$l(t,e,c,6);break;case 8:pd(),ce=6;break t;default:throw Error(o(462))}}xw();break}catch(B){Wg(t,B)}while(!0);return _a=Wi=null,vt.H=l,vt.A=s,Yt=a,Dt!==null?0:(Zt=null,Ot=0,ws(),ce)}function xw(){for(;Dt!==null&&!ss();)nv(Dt)}function nv(t){var e=vg(t.alternate,t,qa);t.memoizedProps=t.pendingProps,e===null?gu(t):Dt=e}function av(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=fg(a,e,e.pendingProps,e.type,void 0,Ot);break;case 11:e=fg(a,e,e.pendingProps,e.type.render,e.ref,Ot);break;case 5:wf(e);var l=e;l===Re&&(Mt?(Ds(l),l.tag===5&&l.stateNode!=null&&(te=l.stateNode)):(Ds(l),Mt=!0));default:Sg(a,e),e=Dt=Fp(e,qa),e=vg(a,e,qa)}t.memoizedProps=t.pendingProps,e===null?gu(t):Dt=e}function $l(t,e,a,l){_a=Wi=null,wf(e),Bl=null,Qr=0;var s=e.return;try{if(sw(t,s,e,a,Ot)){ce=1,Zs(t,On(a,t.current)),Dt=null;return}}catch(c){if(s!==null)throw Dt=s,c;ce=1,Zs(t,On(a,t.current)),Dt=null;return}e.flags&32768?(Mt||l===1?t=!0:Fl||(Ot&536870912)!==0?t=!1:(vi=t=!0,(l===2||l===9||l===3||l===6)&&(l=Le.current,l!==null&&l.tag===13&&(l.flags|=16384))),iv(e,t)):gu(e)}function gu(t){var e=t;do{if((e.flags&32768)!==0){iv(e,vi);return}t=e.return;var a=dw(e.alternate,e,qa);if(a!==null){Dt=a;return}if(e=e.sibling,e!==null){Dt=e;return}Dt=e=t}while(e!==null);ce===0&&(ce=5)}function iv(t,e){do{var a=hw(t.alternate,t);if(a!==null){a.flags&=32767,Dt=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){Dt=t;return}Dt=t=a}while(t!==null);ce=6,Dt=null}function lv(t,e,a,l,s,c,m,b,T,N,B,X){t.cancelPendingCommit=null;do vu();while(oe!==0);if((Yt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));t===Zt&&(Dt=Zt=null,Ot=0),fl=e,Wn=t,ma=a,md=s,Qg=l,Tw(t,e,a,m,b,T,X)}}function Tw(t,e,a,l,s,c,m){var b=e.lanes|e.childLanes;if(hd=b,b|=Jc,Tt(t,a,b,l,s,c),Zl=null,(a&335544064)===a?(Jl=JT(t),l=10262):(Jl=null,l=10256),(e.subtreeFlags&l)!==0||(e.flags&l)!==0?(t.callbackNode=null,t.callbackPriority=0,Mw(ki,function(){return Sd(),null})):(t.callbackNode=null,t.callbackPriority=0),au=!1,l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=vt.T,vt.T=null,s=Bt.p,Bt.p=2,c=Yt,Yt|=4;try{mw(t,e,a)}finally{Yt=c,Bt.p=s,vt.T=l}}oe=1,au?Ql=Qw(m,t.containerInfo,Jl,gd,vd,Ew,bd,Sd,ww):(gd(),vd(),bd())}function ww(t){if(oe!==0){var e=Wn.onRecoverableError;e(t,{componentStack:null})}}function Ew(){oe===3&&(oe=0,Yg(fl,Wn),oe=4)}function gd(){if(oe===1){oe=0;var t=Wn,e=fl,a=ma,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=vt.T,vt.T=null;var s=Bt.p;Bt.p=2;var c=Yt;Yt|=4;try{ro=ru=!1,Hg(e,t,a),a=Od;var m=_p(t.containerInfo),b=a.focusedElem,T=a.selectionRange;if(m!==b&&b&&b.ownerDocument&&Vp(b.ownerDocument.documentElement,b)){if(T!==null&&Pc(b)){var N=T.start,B=T.end;if(B===void 0&&(B=N),"selectionStart"in b)b.selectionStart=N,b.selectionEnd=Math.min(B,b.value.length);else{var X=b.ownerDocument||document,D=X&&X.defaultView||window;if(D.getSelection){var U=D.getSelection(),I=b.textContent.length,st=Math.min(T.start,I),Et=T.end===void 0?st:Math.min(T.end,I);!U.extend&&st>Et&&(m=Et,Et=st,st=m);var z=Lp(b,st),R=Lp(b,Et);if(z&&R&&(U.rangeCount!==1||U.anchorNode!==z.node||U.anchorOffset!==z.offset||U.focusNode!==R.node||U.focusOffset!==R.offset)){var V=X.createRange();V.setStart(z.node,z.offset),U.removeAllRanges(),st>Et?(U.addRange(V),U.extend(R.node,R.offset)):(V.setEnd(R.node,R.offset),U.addRange(V))}}}}for(X=[],U=b;U=U.parentNode;)U.nodeType===1&&X.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<X.length;b++){var q=X[b];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}or=!!Nd,Od=Nd=null}finally{Yt=c,Bt.p=s,vt.T=l}}t.current=e,oe=2}}function vd(){if(oe===2){oe=0;var t=Wn,e=fl,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=vt.T,vt.T=null;var l=Bt.p;Bt.p=2;var s=Yt;Yt|=4;try{jg(t,e.alternate,e)}finally{Yt=s,Bt.p=l,vt.T=a}}oe=3}}function bd(){if(oe===4||oe===3){oe=0;var t=Ql;Ql=null,us();var e=Wn,a=fl,l=ma,s=Qg,c=(l&335544064)===l?10262:10256;if((a.subtreeFlags&c)!==0||(a.flags&c)!==0?oe=5:(oe=0,fl=Wn=null,rv(e,e.pen
vendor: 5,944 bytes, line 25
25dingLanes)),c=e.pendingLanes,c===0&&(Si=null),he(l),a=a.stateNode,Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(ei,a,void 0,(a.current.flags&128)===128)}catch{}if(s!==null){a=vt.T,c=Bt.p,Bt.p=2,vt.T=null;try{for(var m=e.onRecoverableError,b=0;b<s.length;b++){var T=s[b];m(T.value,{componentStack:T.stack})}}finally{vt.T=a,Bt.p=c}}if(s=Zl,m=Jl,Jl=null,s!==null&&(Zl=null,m===null&&(m=[]),t!==null))for(T=0;T<s.length;T++)a=(0,s[T])(m),a!==void 0&&t.finished.finally(a);(ma&3)!==0&&vu(),pa(e),c=e.pendingLanes,(l&261930)!==0&&(c&42)!==0?e===mu?co++:(co=0,mu=e):(co=0,mu=null),fo(0)}}function rv(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Pr(e)))}function vu(){return Ql!==null&&(Ql.skipTransition(),Ql=null),gd(),vd(),bd(),Sd()}function Sd(){if(oe!==5)return!1;var t=Wn,e=hd;hd=0;var a=he(ma),l=vt.T,s=Bt.p;try{Bt.p=32>a?32:a,vt.T=null,a=md,md=null;var c=Wn,m=ma;if(oe=0,fl=Wn=null,ma=0,(Yt&6)!==0)throw Error(o(331));var b=Yt;if(Yt|=4,Pg(c.current),qg(c,c.current,m,a),Yt=b,fo(0,!1),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(ei,c)}catch{}return!0}finally{Bt.p=s,vt.T=l,rv(t,e)}}function ov(t,e,a){e=On(a,e),e=Uf(t.stateNode,e,2),t=di(t,e,2),t!==null&&(pt(t,2),pa(t))}function Pt(t,e,a){if(t.tag===3)ov(t,t,a);else for(;e!==null;){if(e.tag===3){ov(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Si===null||!Si.has(l))){t=On(a,t),a=ag(2),l=di(e,a,2),l!==null&&(ig(a,l,e,t),pt(l,2),pa(l));break}}e=e.return}}function xd(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new gw;var s=new Set;l.set(e,s)}else s=l.get(e),s===void 0&&(s=new Set,l.set(e,s));s.has(a)||(fd=!0,s.add(a),t=Cw.bind(null,t,e,a),e.then(t,t))}function Cw(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Zt===t&&(Ot&a)===a&&((ce===4||ce===3&&(Ot&62914560)===Ot&&300>Xe()-fu)&&(Yt&2)===0?Wl(t,0):cu|=a,Kl===Ot&&(Kl=0)),pa(t)}function sv(t,e){e===0&&(e=bt()),t=Zi(t,e),t!==null&&(pt(t,e),pa(t))}function Aw(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),sv(t,a)}function Rw(t,e){var a=0;switch(t.tag){case 31:case 13:var l=t.stateNode,s=t.memoizedState;s!==null&&(a=s.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(e),sv(t,a)}function Mw(t,e){return zr(t,e)}var tr=null,er=null,Td=!1,bu=!1,wd=!1,Ti=0;function pa(t){t!==er&&t.next===null&&(er===null?tr=er=t:er=er.next=t),bu=!0,Td||(Td=!0,zw())}function fo(t,e){if(!wd&&bu){wd=!0;do for(var a=!1,l=tr;l!==null;){if(t!==0){var s=l.pendingLanes;if(s===0)var c=0;else{var m=l.suspendedLanes,b=l.pingedLanes;c=(1<<31-ke(42|t)+1)-1,c&=s&~(m&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,dv(l,c))}else c=Ot,c=ct(l,l===Zt?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||ot(l,c)||(a=!0,dv(l,c));l=l.next}while(a);wd=!1}}function Dw(){uv()}function uv(){bu=Td=!1;var t=0;Ti!==0&&Yw()&&(t=Ti);for(var e=Xe(),a=null,l=tr;l!==null;){var s=l.next,c=cv(l,e);c===0?(l.next=null,a===null?tr=s:a.next=s,s===null&&(er=a)):(a=l,(t!==0||(c&3)!==0)&&(bu=!0)),l=s}oe!==0&&oe!==5||fo(t),Ti!==0&&(Ti=0)}function cv(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,s=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var m=31-ke(c),b=1<<m,T=s[m];T===-1?((b&a)===0||(b&l)!==0)&&(s[m]=at(b,e)):T<=e&&(t.expiredLanes|=b),c&=~b}if(e=Zt,a=Ot,a=ct(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(kt===2||kt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&dn(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||ot(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&dn(l),he(a)){case 2:case 8:a=Xi;break;case 32:a=ki;break;case 268435456:a=cs;break;default:a=ki}return l=fv.bind(null,t),a=zr(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&dn(l),t.callbackPriority=2,t.callbackNode=null,2}function fv(t,e){if(oe!==0&&oe!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(vu()&&t.callbackNode!==a)return null;var l=Ot;return l=ct(t,t===Zt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Jg(t,l,e),cv(t,Xe()),t.callbackNode!=null&&t.callbackNode===a?fv.bind(null,t):null)}function dv(t,e){if(vu())return null;Jg(t,e,!0)}function zw(){Xw(function(){(Yt&6)!==0?zr(Nr,Dw):uv()})}function Ed(){if(Ti===0){var t=el;t===0&&(t=M,M<<=1,(M&261888)===0&&(M=256)),Ti=t}return Ti}function hv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ps(t)}function Nw(t,e,a,l,s){if(e==="submit"&&a&&a.stateNode===s){var c=hv((s[Qt]||null).action),m=l.submitter;m&&(e=(e=m[Qt]||null)?hv(e.formAction):m.getAttribute("formAction"),e!==null&&(c=e,m=null));var b=new bs("action","action",null,l,s);t.push({event:b,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ti!==0){var T=new FormData(s,m);Of(a,{pending:!0,data:T,method:s.method,action:c},null,T)}}else typeof c=="function"&&(b.preventDefault(),T=new FormData(s,m),Of(a,{pending:!0,data:T,method:s.method,action:c},c,T))},currentTarget:s}]})}}for(var Cd=0;Cd<Zc.length;Cd++){var Ad=Zc[Cd],Ow=Ad.toLowerCase(),jw=Ad[0].toUpperCase()+Ad.slice(1);Qn(Ow,"on"+jw)}Qn(Hp,"onAnimationEnd"),Qn(Gp,"onAnimationIteration"),Qn(Yp,"onAnimationStart"),Qn("dblclick","onDoubleClick"),Qn("focusin","onFocus"),Qn("focusout","onBlur"),Qn(qT,"onTransitionRun"),Qn(XT,"onTransitionStart"),Qn(kT,"onTransitionCancel"),Qn(qp,"onTransitionEnd"),wl("onMouseEnter",["mouseout","mouseover"]),wl("onMouseLeave",["mouseout","mouseover"]),wl("onPointerEnter",["pointerout","pointerover"]),wl("onPointerLeave",["pointerout","pointerover"]),Fi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Fi("onSelect","focusout contextmenu dragend focu
25sin keydown keyup mousedown mouseup selectionchange".split(" ")),Fi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Fi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Fi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Fi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ho="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(" "),Lw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ho));function mv(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],s=l.event;l=l.listeners;t:{var c=void 0;if(e)for(var m=l.length-1;0<=m;m--){var b=l[m],T=b.instance,N=b.currentTarget;if(b=b.listener,T!==c&&s.isPropagationStopped())break t;c=b,s.currentTarget=N;try{c(s)}catch(B){Ts(B)}s.currentTarget=null,c=T}else for(m=0;m<l.length;m++){if(b=l[m],T=b.instance,N=b.currentTarget,b=b.listener,T!==c&&s.isPropagationStopped())break t;c=b,s.currentTarget=N;try{c(s)}catch(B){Ts(B)}s.currentTarget=null,c=T}}}}function zt(t,e){var a=e[Ma];a===void 0&&(a=e[Ma]=new Set);var l=t+"__bubble";a.has(l)||(pv(e,t,2,!1),a.add(l))}function Rd(t,e,a){var l=0;e&&(l|=4),pv(a,t,l,e)}var Su="_reactListening"+Math.random().toString(36).slice(2);function Md(t){if(!t[Su]){t[Su]=!0,ds.forEach(function(a){a!=="selectionchange"&&(Lw.has(a)||Rd(a,!1,t),Rd(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Su]||(e[Su]=!0,Rd("selectionchange",!1,e))}}function pv(t,e,a,l){switch(i0(e)){case 2:var s=AE;break;case 8:s=RE;break;default:s=Qd}a=s.bind(null,e,a,t),s=void 0,!Vc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),l?s!==void 0?t.addEventListener(e,a,{capture:!0,passive:s}):t.addEventListener(e,a,!0):s!==void 0?t.addEventListener(e,a,{passive:s}):t.addEventListener(e,a,!1)}function Dd(t,e,a,l,s){var c=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var m=l.tag;if(m===3||m===4){var b=l.stateNode.containerInfo;if(b===s)break;if(m===4)for(m=l.return;m!==null;){var T=m.tag;if((T===3||T===4)&&m.stateNode.containerInfo===s)return;m=m.return}for(;b!==null;){if(m=Oe(b),m===null)return;if(T=m.tag,T===5||T===6||T===26||T===27){l=c=m;continue t}b=b.parentNode}}l=l.return}pp(function(){var N=c,B=jc(a),X=[];t:{var D=Xp.get(t);if(D!==void 0){var U=bs,I=t;switch(t){case"keypress":if(gs(a)===0)break t;case"keydown":case"keyup":U=vT;break;case"focusin":I="focus",U=Hc;break;case"focusout":I="blur",U=Hc;break;case"beforeblur":case"afterblur":U=Hc;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":U=vp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=rT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=wT;break;case Hp:case Gp:case Yp:U=uT;break;case qp:U=CT;break;case"scroll":case"scrollend":U=iT;break;case"wheel":U=RT;break;case"copy":case"cut":case"paste":U=fT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Sp;break;case"submit":U=xT;break;case"toggle":case"beforetoggle":U=DT}var st=(e&4)!==0,Et=!st&&(t==="scroll"||t==="scrollend"),z=st?D!==null?D+"Capture":null:D;st=[];for(var R=N,V;R!==null;){var q=R;if(V=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||V===null||z===null||(q=Lr(R,z),q!=null&&st.push(mo(R,q,V))),Et)break;R=R.return}0<st.length&&(D=new U(D,I,null,a,B),X.push({event:D,listeners:st}))}}if((e&7)===0){t:{if(U=t==="mouseover"||t==="pointerover",D=t==="mouseout"||t==="pointerout",U&&a!==Oc&&(I=a.relatedTarget||a.fromElement)&&(Oe(I)||I[mn]))break t;(D||U)&&(I=B.window===B?B:(U=B.ownerDocument)?U.defaultView||U.parentWindow:window,D?(U=a.relatedTarget||a.toElement,D=N,U=U?Oe(U):null,U!==null&&(Et=f(U),st=U.tag,U!==Et||st!==5&&st!==27&&st!==6)&&(U=null)):(D=null,U=N),D!==U&&(st=vp,q="onMouseLeave",z="onMouseEnter",R="mouse",(t==="pointerout"||t==="pointerover")&&(st=Sp,q="onPointerLeave",z="onPointerEnter",R="pointer"),Et=D==null?I:Da(D),V=U==null?I:Da(U),I=new st(q,R+"leave",D,a,B),I.target=Et,I.relatedTarget=V,q=null,Oe(B)===N&&(st=new st(z,R+"enter",U,a,B),st.target=V,st.relatedTarget=Et,q=st),Et=q,st=D&&U?rt(D,U,Vw):null,D!==null&&yv(X,I,D,st,!1),U!==null&&Et!==null&&yv(X,Et,U,st,!0)))}t:{if(D=N?Da(N):window,U=D.nodeName&&D.nodeName.toLowerCase(),U==="select"||U==="input"&&D.type==="file")var lt=Mp;else if(Ap(D))if(Dp)lt=HT;else{lt=UT;var jt=_T}else U=D.nodeName,!U||U.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?N&&Nc(N.elementType)&&(lt=Mp):lt=BT;if(lt&&(lt=lt(t,N))){Rp(X,lt,a,B);break t}jt&&jt(t,D,N)}switch(jt=N?Da(N):window,t){case"focusin":(Ap(jt)||jt.contentEditable==="true")&&(Dl=jt,Fc=N,qr=null);break;case"focusout":qr=Fc=Dl=null;break;case"mousedown":Kc=!0;break;case"contextmenu":case"mouseup":case"dragend":Kc=!1,Up(X,a,B);break;case"selectionchange":if(YT)break;case"keydown":case"keyup":Up(X,a,B)}var yt;if(Yc)t:{switch(t){case"compositionstart":var xt="onCompositionStart";break t;case"compositionend":xt="onCompositionEnd";break t;case"compositionupdate":xt="onCompositionUpdate";break t}xt=void 0}else Ml?Ep(t,a)&&(xt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(xt="onCompositionStart");xt&&(xp&&a.locale!=="ko"&&(Ml||xt!=="onCompositionStart"?xt==="onCompositionEnd"&&Ml&&(yt=yp()):(ai=B,_c="value"in ai?ai.value:ai.textContent,Ml=!0)),jt=xu(N,xt),0<jt.length&&(xt=new bp(xt,t,null,a,B),X.push({event:xt,listeners:jt}),yt?xt.data=yt:(yt=Cp(a),yt!==null&&(xt.data=yt)))),(yt=NT?OT(t,a):jT(t,a))&&(xt=xu(N,"onBeforeInput"),0<xt.length&&(jt=new bp("onBeforeInput","beforeinput",null,a,B),X.push({event:jt,listeners:xt}),jt.data=yt)),Nw(X,t,N,a,B)}mv(X,e)})}function mo(t,e,a){return{instance:t,listener:e,currentTarget:a}}function xu(t,e){for(var a=e+"Capture",l=[];t!==null;){var s=t,c=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||c===null||(s=Lr(t,a),s!=null&&l.unshift(mo(t,s,c)),s=Lr(t,e),s!=null&&l.push(mo(t,s,c))),t.tag===3)return l;t=t.return}return[]}function Vw(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function yv(t,e,a,l,s){for(var c=e._reactName,m=[];a!==null&&a!==l;){var b=a,T=b.alternate,N=b.stateNode;if(b=b.tag,T!==null&&T===l)break;b!==5&&b!==26&&b!==27||N===null||(T=N,s?(N=Lr(a,c),N!=null&&m.unshift(mo(a,N,T))):s||(N=Lr(a,c),N!=null&&m.push(mo(a,N,T)))),a=a.return}m.length!==0&&t.push({event:e,listeners:m})}var _w=/\r\n?/g,Uw=/\u0000|\uFFFD/g;
25function gv(t){return(typeof t=="string"?t:""+t).replace(_w,` 26`).replace(Uw,"")}function vv(t,e){return e=gv(e),gv(t)===e}function Ft(t,e,a,l,s,c){switch(a){case"children":if(typeof l=="string")e==="body"||e==="textarea"&&l===""||Cl(t,l);else if(typeof l=="number"||typeof l=="bigint")e!=="body"&&Cl(t,""+l);else return;break;case"className":ms(t,"class",l);break;case"tabIndex":ms(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ms(t,a,l);break;case"style":hp(t,l,c);return;case"data":if(e!=="object"){ms(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=ps(l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(e!=="input"&&Ft(t,e,"name",s.name,s,null),Ft(t,e,"formEncType",s.formEncType,s,null),Ft(t,e,"formMethod",s.formMethod,s,null),Ft(t,e,"formTarget",s.formTarget,s,null)):(Ft(t,e,"encType",s.encType,s,null),Ft(t,e,"method",s.method,s,null),Ft(t,e,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=ps(l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=la);return;case"onScroll":l!=null&&zt("scroll",t);return;case"onScrollEnd":l!=null&&zt("scrollend",t);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(s.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==a&&(t.innerHTML=a)}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=ps(l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":zt("beforetoggle",t),zt("toggle",t),hs(t,"popover",l);break;case"xlinkActuate":za(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":za(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":za(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":za(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":za(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":za(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":za(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":za(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":za(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":hs(t,"is",l);break;case"innerText":case"textContent":return;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=nT.get(a)||a,hs(t,a,l);else return}Ht=!0}function zd(t,e,a,l,s,c){switch(a){case"style":hp(t,l,c);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(s.children!=null)throw Error(o(60));(c!=null?c.__html:void 0)!==a&&(t.innerHTML=a)}}break;case"children":if(typeof l=="string")Cl(t,l);else if(typeof l=="number"||typeof l=="bigint")Cl(t,""+l);else return;break;case"onScroll":l!=null&&zt("scroll",t);return;case"onScrollEnd":l!=null&&zt("scrollend",t);return;case"onClick":l!=null&&(t.onclick=la);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!ap.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),c=a.slice(2,s?a.length-7:void 0),e=t[Qt]||null,e=e!=null?e[a]:null,typeof e=="function"&&t.removeEventListener(c,e,
vendor: 5,784 bytes, line 26
26s),typeof l=="function")){typeof e!="function"&&e!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(c,l,s);break t}Ht=!0,a in t?t[a]=l:l===!0?t.setAttribute(a,""):hs(t,a,l)}return}Ht=!0}function Ue(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zt("error",t),zt("load",t);var l=!1,s=!1,c;for(c in a)if(a.hasOwnProperty(c)){var m=a[c];if(m!=null)switch(c){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ft(t,e,c,m,a,null)}}s&&Ft(t,e,"srcSet",a.srcSet,a,null),l&&Ft(t,e,"src",a.src,a,null);return;case"input":zt("invalid",t);var b=c=m=s=null,T=null,N=null;for(l in a)if(a.hasOwnProperty(l)){var B=a[l];if(B!=null)switch(l){case"name":s=B;break;case"type":m=B;break;case"checked":T=B;break;case"defaultChecked":N=B;break;case"value":c=B;break;case"defaultValue":b=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,e));break;default:Ft(t,e,l,B,a,null)}}up(t,c,b,T,N,m,s,!1);return;case"select":zt("invalid",t),l=m=c=null;for(s in a)if(a.hasOwnProperty(s)&&(b=a[s],b!=null))switch(s){case"value":c=b;break;case"defaultValue":m=b;break;case"multiple":l=b;default:Ft(t,e,s,b,a,null)}e=c,a=m,t.multiple=!!l,e!=null?El(t,!!l,e,!1):a!=null&&El(t,!!l,a,!0);return;case"textarea":zt("invalid",t),c=s=l=null;for(m in a)if(a.hasOwnProperty(m)&&(b=a[m],b!=null))switch(m){case"value":l=b;break;case"defaultValue":s=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(91));break;default:Ft(t,e,m,b,a,null)}fp(t,l,s,c);return;case"option":for(T in a)if(a.hasOwnProperty(T)&&(l=a[T],l!=null))switch(T){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ft(t,e,T,l,a,null)}return;case"dialog":zt("beforetoggle",t),zt("toggle",t),zt("cancel",t),zt("close",t);break;case"iframe":case"object":zt("load",t);break;case"video":case"audio":for(l=0;l<ho.length;l++)zt(ho[l],t);break;case"image":zt("error",t),zt("load",t);break;case"details":zt("toggle",t);break;case"embed":case"source":case"link":zt("error",t),zt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in a)if(a.hasOwnProperty(N)&&(l=a[N],l!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Ft(t,e,N,l,a,null)}return;default:if(Nc(e)){for(B in a)a.hasOwnProperty(B)&&(l=a[B],l!==void 0&&zd(t,e,B,l,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(l=a[b],l!=null&&Ft(t,e,b,l,a,null))}var Bw={};function Hw(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,c=null,m=null,b=null,T=null,N=null,B=null;for(U in a){var X=a[U];if(a.hasOwnProperty(U)&&X!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":T=X;default:l.hasOwnProperty(U)||Ft(t,e,U,null,l,X)}}for(var D in l){var U=l[D];if(X=a[D],l.hasOwnProperty(D)&&(U!=null||X!=null))switch(D){case"type":U!==X&&(Ht=!0),c=U;break;case"name":U!==X&&(Ht=!0),s=U;break;case"checked":U!==X&&(Ht=!0),N=U;break;case"defaultChecked":U!==X&&(Ht=!0),B=U;break;case"value":U!==X&&(Ht=!0),m=U;break;case"defaultValue":U!==X&&(Ht=!0),b=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(o(137,e));break;default:U!==X&&Ft(t,e,D,U,l,X)}}Dc(t,m,b,T,N,B,c,s);return;case"select":U=m=b=D=null;for(c in a)if(T=a[c],a.hasOwnProperty(c)&&T!=null)switch(c){case"value":break;case"multiple":U=T;default:l.hasOwnProperty(c)||Ft(t,e,c,null,l,T)}for(s in l)if(c=l[s],T=a[s],l.hasOwnProperty(s)&&(c!=null||T!=null))switch(s){case"value":c!==T&&(Ht=!0),D=c;break;case"defaultValue":c!==T&&(Ht=!0),b=c;break;case"multiple":c!==T&&(Ht=!0),m=c;default:c!==T&&Ft(t,e,s,c,l,T)}e=b,a=m,l=U,D!=null?El(t,!!a,D,!1):!!l!=!!a&&(e!=null?El(t,!!a,e,!0):El(t,!!a,a?[]:"",!1));return;case"textarea":U=D=null;for(b in a)if(s=a[b],a.hasOwnProperty(b)&&s!=null&&!l.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ft(t,e,b,null,l,s)}for(m in l)if(s=l[m],c=a[m],l.hasOwnProperty(m)&&(s!=null||c!=null))switch(m){case"value":s!==c&&(Ht=!0),D=s;break;case"defaultValue":s!==c&&(Ht=!0),U=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:s!==c&&Ft(t,e,m,s,l,c)}cp(t,D,U);return;case"option":for(var I in a)if(D=a[I],a.hasOwnProperty(I)&&D!=null&&!l.hasOwnProperty(I))switch(I){case"selected":t.selected=!1;break;default:Ft(t,e,I,null,l,D)}for(T in l)if(D=l[T],U=a[T],l.hasOwnProperty(T)&&D!==U&&(D!=null||U!=null))switch(T){case"selected":D!==U&&(Ht=!0),t.selected=D&&typeof D!="function"&&typeof D!="symbol";break;default:Ft(t,e,T,D,l,U)}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 st in a)D=a[st],a.hasOwnProperty(st)&&D!=null&&!l.hasOwnProperty(st)&&Ft(t,e,st,null,l,D);for(N in l)if(D=l[N],U=a[N],l.hasOwnProperty(N)&&D!==U&&(D!=null||U!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(o(137,e));break;default:Ft(t,e,N,D,l,U)}return;default:if(Nc(e)){for(var Et in a)D=a[Et],a.hasOwnProperty(Et)&&D!==void 0&&!l.hasOwnProperty(Et)&&zd(t,e,Et,void 0,l,D);for(B in l)D=l[B],U=a[B],!l.hasOwnProperty(B)||D===U||D===void 0&&U===void 0||zd(t,e,B,D,l,U);return}}for(var z in a)D=a[z],a.hasOwnProperty(z)&&D!=null&&!l.hasOwnProperty(z)&&Ft(t,e,z,null,l,D);for(X in l)D=l[X],U=a[X],!l.hasOwnProperty(X)||D===U||D==null&&U==null||Ft(t,e,X,D,l,U)}function bv(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}
vendor: 3,080 bytes, line 26
26function Gw(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var s=a[l],c=s.transferSize,m=s.initiatorType,b=s.duration;if(c&&b&&bv(m)){for(m=0,b=s.responseEnd,l+=1;l<a.length;l++){var T=a[l],N=T.startTime;if(N>b)break;var B=T.transferSize,X=T.initiatorType;B&&bv(X)&&(T=T.responseEnd,m+=B*(T<b?1:(b-N)/(T-N)))}if(--l,e+=8*(c+m)/(s.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Nd=null,Od=null;function po(t){return t.nodeType===9?t:t.ownerDocument}function Sv(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xv(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Tv(t,e,a,l){return a=po(a).createElement(t),a[se]=l,a[Qt]=e,Ue(a,t,e),$t(a),a}function jd(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Ld=null;function Yw(){var t=window.event;return t&&t.type==="popstate"?t===Ld?!1:(Ld=t,!0):(Ld=null,!1)}var Vd=typeof setTimeout=="function"?setTimeout:void 0,qw=typeof clearTimeout=="function"?clearTimeout:void 0,wv=typeof Promise=="function"?Promise:void 0,Ev=typeof requestAnimationFrame=="function"?requestAnimationFrame:Vd,Xw=typeof queueMicrotask=="function"?queueMicrotask:typeof wv<"u"?function(t){return wv.resolve(null).then(t).catch(kw)}:Vd;function kw(t){setTimeout(function(){throw t})}function wi(t){return t==="head"}function Cv(t,e){var a=e,l=0;do{var s=a.nextSibling;if(t.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"||a==="/&"){if(l===0){t.removeChild(s),sr(e);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Xd(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Xd(a);for(var c=a.firstChild;c;){var m=c.nextSibling,b=c.nodeName;c[ia]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=m}}else a==="body"&&Xd(t.ownerDocument.body);a=s}while(a);sr(e)}function Av(t,e){var a=t;t=0;do{var l=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=l}while(a)}function Rv(t,e,a){if(e=CSS.escape(e)!==e?"r-"+btoa(e).replace(/=/g,""):e,t.style.viewTransitionName=e,a!=null&&(t.style.viewTransitionClass=a),a=getComputedStyle(t),a.display==="inline"){if(e=t.getClientRects(),e.length===1)var l=1;else for(var s=l=0;s<e.length;s++){var c=e[s];0<c.width&&0<c.height&&l++}
26l===1&&(t=t.style,t.display=e.length===1?"inline-block":"block",t.marginTop="-"+a.paddingTop,t.marginBottom="-"+a.paddingBottom)}}function Mv(t,e){t=t.style,e=e.style;var a=e!=null?e.hasOwnProperty("viewTransitionName")?e.viewTransitionName:e.hasOwnProperty("view-transition-name")?e["view-transition-name"]:null:null;t.viewTransitionName=a==null||typeof a=="boolean"?"":(""+a).trim(),a=e!=null?e.hasOwnProperty("viewTransitionClass")?e.viewTransitionClass:e.hasOwnProperty("view-transition-class")?e["view-transition-class"]:null:null,t.viewTransitionClass=a==null||typeof a=="boolean"?"":(""+a).trim(),t.display==="inline-block"&&(e==null?t.display=t.margin="":(a=e.display,t.display=a==null||typeof a=="boolean"?"":a,a=e.margin,a!=null?t.margin=a:(a=e.hasOwnProperty("marginTop")?e.marginTop:e["margin-top"],t.marginTop=a==null||typeof a=="boolean"?"":a,e=e.hasOwnProperty("marginBottom")?e.marginBottom:e["margin-bottom"],t.marginBottom=e==null||typeof e=="boolean"?"":e)))}function Pw(t,e,a){return a=a.ownerDocument.defaultView,{rect:t,abs:e.position==="absolute"||e.position==="fixed",clip:e.clipPath!=="none"||e.overflow!=="visible"||e.filter!=="none"||e.mask!=="none"||e.mask!=="none"||e.borderRadius!=="0px",view:0<=t.bottom&&0<=t.right&&t.top<=a.innerHeight&&t.left<=a.innerWidth}}function _d(t){var e=t.getBoundingClientRect(),a=getComputedStyle(t);return Pw(e,a,t)}function Fw(t){return t.documentElement.clientHeight}function Kw(t){this.addEventListener("load",t),this.addEventListener("error",t)}function Qw(t,e,a,l,s,c,m,b,T){var N=e.nodeType===9?e:e.ownerDocument;try{var B=N.startViewTransition({update:function(){var D=N.defaultView,U=D.navigation&&D.navigation.transition,I=N.fonts.status;l();var st=[];if(I==="loaded"&&(Fw(N),N.fonts.status==="loading"&&st.push(N.fonts.ready)),I=st.length,t!==null)for(var Et=t.suspenseyImages,z=0,R=0;R<Et.length;R++){var V=Et[R];if(!V.complete){var q=V.getBoundingClientRect();if(0<q.bottom&&0<q.right&&q.top<D.innerHeight&&q.left<D.innerWidth){if(z+=Zv(V),z>Eu){st.length=I;break}V=new Promise(Kw.bind(V)),st.push(V)}}}if(0<st.length)return D=Promise.race([Promise.all(st),new Promise(function(lt){return setTimeout(lt,500)})]).then(s,s),(U?Promise.allSettled([U.finished,D]):D).then(c,c);if(s(),U)return U.finished.then(c,c);c()},types:a});N.__reactViewTransition=B;var X=[];return B.ready.then(function(){for(var D=N.documentElement.getAnimations({subtree:!0}),U=0;U<D.length;U++){var I=D[U],st=I.effect,Et=st.pseudoElement;if(Et!=null&&Et.startsWith("::view-transition")){X.push(I),I=st.getKeyframes();for(var z=Et=void 0,R=!0,V=0;V<I.length;V++){var q=I[V],lt=q.width;if(Et===void 0)Et=lt;else if(Et!==lt){R=!1;break}if(lt=q.height,z===void 0)z=lt;else if(z!==lt){R=!1;break}delete q.width,delete q.height,q.transform==="none"&&delete q.transform}R&&Et!==void 0&&z!==void 0&&(st.setKeyframes(I),R=getComputedStyle(st.target,st.pseudoElement),R.width!==Et||R.height!==z)&&(R=I[0],R.width=Et,R.height=z,R=I[I.length-1],R.width=Et,R.height=z,st.setKeyframes(I))}}m()},function(D){N.__reactViewTransition===B&&(N.__reactViewTransition=null);try{if(typeof D=="object"&&D!==null)switch(D.name){case"InvalidStateError":(D.message==="View transition was skipped because document visibility state is hidden."||D.message==="Skipping view transition because document visibility state has become hidden."||D.message==="Skipping view transition because viewport size changed."||D.message==="Transition was aborted because of invalid state")&&(D=null)}D!==null&&T(D)}finally{l(),s(),m()}}),B.finished.finally(function(){for(var D=0;D<X.length;D++)X[D].cancel();N.__reactViewTransition===B&&(N.__reactViewTransition=null),b()}),B}catch{return l(),s(),m(),null}}function dl(t,e){this._scope=document.documentElement,this._selector="::view-transition-"+t+"("+e+")"}dl.prototype.animate=function(t,e){return e=typeof e=="number"?{duration:e}:W({},e),e.pseudoElement=this._selector,this._scope.animate(t,e)},dl.prototype.getAnimations=function(){for(var t=this._scope,e=this._selector,a=t.getAnimations({subtree:!0}),l=[],s=0;s<a.length;s++){var c=a[s].effect;c!==null&&c.target===t&&c.pseudoElement===e&&l.push(a[s])}return l},dl.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Dv(t){return{name:t,group:new dl("group",t),imagePair:ne
26w dl("image-pair",t),old:new dl("old",t),new:new dl("new",t)}}function wn(t){this._fragmentFiber=t,this._observers=this._eventListeners=null}wn.prototype.addEventListener=function(t,e,a){var l=null,s=null;if(!(a!=null&&typeof a!="boolean"&&(l=a.signal||null,l!==null&&l.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(Nv(c,t,e,a)===-1){var m=this,b=e;a!=null&&typeof a!="boolean"&&a.once===!0&&(b=function(T){m.removeEventListener(t,e,a),typeof e=="function"?e.call(this,T):e.handleEvent(T)}),l!==null&&(s=m.removeEventListener.bind(m,t,e,a),l.addEventListener("abort",s,{once:!0}),s=l.removeEventListener.bind(l,"abort",s)),l=nr(a),c.push({type:t,listener:e,optionsOrUseCapture:a,attachedListener:b,cleanup:s}),v(this._fragmentFiber.child,!1,Zw,t,b,l)}this._eventListeners=c}};function Zw(t,e,a,l){return A(t).addEventListener(e,a,l),!1}wn.prototype.removeEventListener=function(t,e,a){var l=this._eventListeners;if(l!==null&&(e=Nv(l,t,e,a),e!==-1)){var s=l[e];a=s.attachedListener;var c=s.cleanup;s=nr(s.optionsOrUseCapture),v(this._fragmentFiber.child,!1,Jw,t,a,s),l.splice(e,1),c!==null&&c()}};function Jw(t,e,a,l){return A(t).removeEventListener(e,a,l),!1}function nr(t){return t!=null&&typeof t!="boolean"&&(t.once===!0||t.signal instanceof AbortSignal)?{capture:t.capture,passive:t.passive}:t}function zv(t){return t==null?"c=0":typeof t=="boolean"?"c="+(t?"1":"0"):"c="+(t.capture?"1":"0")}function Nv(t,e,a,l){if(t.length===0)return-1;l=zv(l);for(var s=0;s<t.length;s++){var c=t[s];if(c.type===e&&c.listener===a&&zv(c.optionsOrUseCapture)===l)return s}return-1}wn.prototype.dispatchEvent=function(t){var e=S(this._fragmentFiber);if(e===null)return!0;e=A(e);var a=this._eventListeners;if(a!==null&&0<a.length||!t.bubbles){var l=e.nodeType===9?e.createComment(""):document.createTextNode("");if(a)for(var s=0;s<a.length;s++){var c=a[s];l.addEventListener(c.type,c.attachedListener,nr(c.optionsOrUseCapture))}if(e.appendChild(l),t=l.dispatchEvent(t),a)for(s=0;s<a.length;s++)c=a[s],l.removeEventListener(c.type,c.attachedListener,nr(c.optionsOrUseCapture));return e.removeChild(l),t}return e.dispatchEvent(t)},wn.prototype.focus=function(t){v(this._fragmentFiber.child,!0,Ov,t,void 0,void 0)};function Ov(t,e){return t.tag===6?!1:(t=A(t),sE(t,e))}wn.prototype.focusLast=function(t){var e=[];v(this._fragmentFiber.child,!0,Ud,e,void 0,void 0);for(var a=e.length-1;0<=a&&!Ov(e[a],t);a--);};function Ud(t,e){return e.push(t),!1}wn.prototype.blur=function(){var t=S(this._fragmentFiber);t!==null&&(t=A(t),t=po(t).activeElement,t!==null&&v(this._fragmentFiber.child,!1,Iw,t,void 0,void 0))};function Iw(t,e){return t.tag===6?!1:(t=A(t),t===e||t.contains(e)?(e.blur(),!0):!1)}wn.prototype.observeUsing=function(t){this._observers===null&&(this._observers=new Set),this._observers.add(t),v(this._fragmentFiber.child,!1,Ww,t,void 0,void 0)};function Ww(t,e){return t.tag===6||(t=A(t),e.observe(t)),!1}wn.prototype.unobserveUsing=function(t){var e=this._observers;if(e!==null&&e.has(t)){e.delete(t),v(this._fragmentFiber.child,!1,$w,t,void 0,void 0);for(var a=e=0;a<$n.length;a++){var l=$n[a];l.fragmentInstance===this&&l.observer===t?t.unobserve(l.instance):$n[e++]=l}$n.length=e}};function $w(t,e){return t.tag===6||(t=A(t),e.unobserve(t)),!1}var $n=[],Bd=!1;function tE(t,e,a){$n.push({fragmentInstance:t,observer:e,instance:a}),Bd||(Bd=!0,uE(function(){Bd=!1;var l=$n;$n=[];for(var s=0;s<l.length;s++){var c=l[s];c.observer.unobserve(c.instance)}}))}wn.prototype.getClientRects=function(){var t=[];return v(this._fragmentFiber.child,!1,eE,t,void 0,void 0),t};function eE(t,e){if(t.tag===6){t=t.stateNode;var a=t.ownerDocument.createRange();a.selectNodeContents(t),e.push.apply(e,a.getClientRects())}else t=A(t),e.push.apply(e,t.getClientRects());return!1}wn.prototype.getRootNode=function(t){var e=S(this._fragmentFiber);return e===null?this:A(e).getRootNode(t)},wn.prototype.compareDocumentPosition=function(t){var e=S(this._fragmentFiber);if(e===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var a=[];v(this._fragmentFiber.child,!1,Ud,a,void 0,void 0);var l=A(e);if(a.length===0){if(a=l,x(this._fragmentFiber)){t:{for(e=this._fragmentFiber.return;e!==null;){if(e.tag===4){e=e.stateNode.containerInfo;break t}if(e.tag===3||e.tag===5||e.tag===27)break;e=e.return}e=null}e!=null&&(a=e)}e=this._fragmentFiber;var s=l=a.compareDocumentPosition(t);return a===t?s=Node.DOCUMENT_POSITION_CONTAINS:l&Node.DOCUMENT_POSITION_CONTAINED_BY&&(a=C(e)[1],a===null?s=Node.DOCUMENT_POSITION_PRECEDING:(t=A(a).compareDocumentPosition(t),s=t===0||t&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),s|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}e=A(a[0]),s=A(a[a.length-1]);var c=x(this._fragmentFiber)?e.parentElement:l;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;l=c.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY;var m=e.compareDocumentPosition(t),b=s.compareDocumentPosition(t),T=m&Node.DOCUMENT_POSITION_CONTAINED_BY||b&Node.DOCUMENT_POSITION_CONTAINED_BY;return b=l&&c&&m&Node.DOCUMENT_POSITION_FOLLOWING&&b&Node.DOCUMENT_POSITION_PRECEDING,e=l&&e===t||c&&s===t||T||b?Node.DOCUMENT_POSITION_CONTAINED_BY:!l&&e===t||!c&&s===t?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:m,e&Node.DOCUMENT_POSITION_DISCONNECTED||e&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||nE(e,this._fragmentFiber,a[0],a[a.length-1],t)?e:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function nE(t,e,a,l,s){var c=Oe(s);if(t&Node.DOCUMENT_POSITION_CONTAINED_BY){if(a=!!c)t:{for(;c!==null;){if(c.tag===7&&(c===e||c.alternate===e)){a=!0;break t}c=c.return}a=!1}return a}if(t&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=s.ownerDocument,s===c||s===c.documentElement||s===c.body;t:{for(c=e,e=S(e);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==e&&c.alternate!==e)){c=!0;break t}c=c.return}c=!1}return c}
26return t&Node.DOCUMENT_POSITION_PRECEDING?((e=!!c)&&!(e=c===a)&&(e=rt(a,c,Z),e===null?e=!1:(v(e,!0,Y,c,a),c=L,L=null,e=c!==null)),e):t&Node.DOCUMENT_POSITION_FOLLOWING?((e=!!c)&&!(e=c===l)&&(e=rt(l,c,Z),e===null?e=!1:(v(e,!0,K,c,l),c=L,G=L=null,e=c!==null)),e):!1}function jv(t,e){var a=t.ownerDocument.createRange();a.selectNodeContents(t),t=a.getBoundingClientRect(),window.scrollTo(window.scrollX+t.left,e?window.scrollY+t.top:window.scrollY+t.bottom-window.innerHeight)}wn.prototype.scrollIntoView=function(t){if(typeof t=="object")throw Error(o(566));var e=[];v(this._fragmentFiber.child,!1,Ud,e,void 0,void 0);var a=t!==!1;if(e.length===0){var l=C(this._fragmentFiber);if(l=a?l[1]||l[0]||S(this._fragmentFiber):l[0]||l[1],l===null)return;if(l.tag===6){t=A(l),jv(t,a);return}if(l=A(l),l.nodeType!==9){if(l.nodeType===11){a="host"in l?l.host:null,a!==null&&a.scrollIntoView(t);return}l.scrollIntoView(t)}}for(l=a?e.length-1:0;l!==(a?-1:e.length);){var s=e[l];s.tag===6?(s=A(s),jv(s,a)):A(s).scrollIntoView(t),l+=a?-1:1}};function aE(t,e){return t=A(t),Lv(t,e),!1}function Lv(t,e){t.reactFragments==null&&(t.reactFragments=new Set),t.reactFragments.add(e)}function Vv(t,e){var a=e._eventListeners;if(a!==null)for(var l=0;l<a.length;l++){var s=a[l];t.addEventListener(s.type,s.attachedListener,nr(s.optionsOrUseCapture))}t.nodeType!==3&&(a=e._observers,a!==null&&a.forEach(function(c){for(var m=0,b=0;b<$n.length;b++){var T=$n[b];(T.fragmentInstance!==e||T.observer!==c||T.instance!==t)&&($n[m++]=T)}$n.length=m,c.observe(t)}),Lv(t,e))}function iE(t,e){var a=e._eventListeners;if(a!==null)for(var l=0;l<a.length;l++){var s=a[l];t.removeEventListener(s.type,s.attachedListener,nr(s.optionsOrUseCapture))}t.nodeType!==3&&(a=e._observers,a!==null&&a.forEach(function(c){typeof c.rootMargin=="str
26ing"?tE(e,c,t):c.unobserve(t)}),t.reactFragments!=null&&t.reactFragments.delete(e))}function Hd(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Hd(a),re(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function lE(t,e,a,l){for(;t.nodeType===1;){var s=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[ia])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==s.rel||t.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||t.getAttribute("title")!==(s.title==null?null:s.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=Un(t.nextSibling),t===null)break}return null}function rE(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Un(t.nextSibling),t===null))return null;return t}function _v(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Un(t.nextSibling),t===null))return null;return t}function Gd(t){return t.data==="$?"||t.data==="$~"}function Yd(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function oE(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Un(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var qd=null;function Uv(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Un(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function Bv(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(e===0)return t;e--}else a!=="/$"&&a!=="/&"||e++}t=t.previousSibling}return null}function sE(t,e){function a(){l=!0}if(t.ownerDocument.activeElement===t)return!0;var l=!1;try{t.ownerDocument.addEventListener("focus",a,!0),(t.focus||HTMLElement.prototype.focus).call(t,e)}finally{t.ownerDocument.removeEventListener("focus",a,!0)}return l}function uE(t){Ev(function(){Ev(function(e){return t(e)})})}function Hv(t,e,a){switch(e=po(a),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function Gv(t,e,a){for(var l in a){var s=a[l];a.hasOwnProperty(l)&&s!=null&&Ft(t,e,l,null,Bw,s)}a.dangerouslySetInnerHTML!=null&&(t.textContent=""),t.onclick===la&&(t.onclick=null),re(t)}function Xd(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);re(t)}var Bn=new Map,Yv=new Set;function yo(t){if(typeof t.getRootNode=="function"){var e=t.getRootNode();if(e.nodeType===9||e.nodeType===11)return e}return t.nodeType===9?t:t.ownerDocument}var Xa=Bt.d;Bt.d={f:cE,r:fE,D:dE,C:hE,L:mE,m:pE,X:gE,S:yE,M:vE};function cE(){var t=Xa.f(),e=pu();return t||e}function fE(t){var e=pn(t);e!==null&&e.tag===5&&e.type==="form"?Xy(e):Xa.r(t)}var ar=typeof document>"u"?null:document;function qv(t,e,a){var l=ar;if(l&&typeof e=="string"&&e){var s=zn(e);
vendor: 8,076 bytes, line 26
26s='link[rel="'+t+'"][href="'+s+'"]',typeof a=="string"&&(s+='[crossorigin="'+a+'"]'),Yv.has(s)||(Yv.add(s),t={rel:t,crossOrigin:a,href:e},l.querySelector(s)===null&&(e=l.createElement("link"),Ue(e,"link",t),$t(e),l.head.appendChild(e)))}}function dE(t){Xa.D(t),qv("dns-prefetch",t,null)}function hE(t,e){Xa.C(t,e),qv("preconnect",t,e)}function mE(t,e,a){Xa.L(t,e,a);var l=ar;if(l&&t&&e){var s='link[rel="preload"][as="'+zn(e)+'"]';e==="image"&&a&&a.imageSrcSet?(s+='[imagesrcset="'+zn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(s+='[imagesizes="'+zn(a.imageSizes)+'"]')):s+='[href="'+zn(t)+'"]';var c=s;switch(e){case"style":c=ir(t);break;case"script":c=lr(t)}if(!(Bn.has(c)||(t=W({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Bn.set(c,t),l.querySelector(s)!==null||e==="style"&&l.querySelector(go(c))||e==="script"&&l.querySelector(vo(c))))){var m=l.createElement("link");Ue(m,"link",t),e==="style"&&(m[Rt]=!0,m.onload=m.onerror=function(){jr(m)}),$t(m),l.head.appendChild(m)}}}function pE(t,e){Xa.m(t,e);var a=ar;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+zn(l)+'"][href="'+zn(t)+'"]',c=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=lr(t)}if(!Bn.has(c)&&(t=W({rel:"modulepreload",href:t},e),Bn.set(c,t),a.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(vo(c)))return}l=a.createElement("link"),Ue(l,"link",t),$t(l),a.head.appendChild(l)}}}function yE(t,e,a){Xa.S(t,e,a);var l=ar;if(l&&t){var s=Xt(l).hoistableStyles,c=ir(t);e=e||"default";var m=s.get(c);if(!m){var b={loading:0,preload:null};if(m=l.querySelector(go(c)))b.loading=5;else{t=W({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Bn.get(c))&&kd(t,a);var T=m=l.createElement("link");$t(T),Ue(T,"link",t),T._p=new Promise(function(N,B){T.onload=N,T.onerror=B}),T.addEventListener("load",function(){b.loading|=1}),T.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Tu(m,e,l)}m={type:"stylesheet",instance:m,count:1,state:b},s.set(c,m)}}}function gE(t,e){Xa.X(t,e);var a=ar;if(a&&t){var l=Xt(a).hoistableScripts,s=lr(t),c=l.get(s);c||(c=a.querySelector(vo(s)),c||(t=W({src:t,async:!0},e),(e=Bn.get(s))&&Pd(t,e),c=a.createElement("script"),$t(c),Ue(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function vE(t,e){Xa.M(t,e);var a=ar;if(a&&t){var l=Xt(a).hoistableScripts,s=lr(t),c=l.get(s);c||(c=a.querySelector(vo(s)),c||(t=W({src:t,async:!0,type:"module"},e),(e=Bn.get(s))&&Pd(t,e),c=a.createElement("script"),$t(c),Ue(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function Xv(t,e,a,l){var s=(s=Fn.current)?yo(s):null;if(!s)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=ir(a.href),e=Xt(s).hoistableStyles,l=e.get(a),l||(l={type:"style",instance:null,count:0,state:null},e.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=ir(a.href);var c=Xt(s).hoistableStyles,m=c.get(t);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,m),(c=s.querySelector(go(t)))?c._p||(m.instance=c,m.state.loading=5):(c=Bn.get(t),c||(c={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Bn.set(t,c)),bE(s,t,c,m.state))),e&&l===null)throw Error(o(528,""));return m}if(e&&l!==null)throw Error(o(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=lr(a),e=Xt(s).hoistableScripts,l=e.get(a),l||(l={type:"script",instance:null,count:0,state:null},e.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function ir(t){return'href="'+zn(t)+'"'}function go(t){return'link[rel="stylesheet"]['+t+"]"}function kv(t){return W({},t,{"data-precedence":t.precedence,precedence:null})}function bE(t,e,a,l){if(e=t.querySelector('link[rel="preload"][as="style"]['+e+"]")){if(e[Rt]!==!0){l.loading=1;return}}else e=t.createElement("link"),e[Rt]=!0,e.onload=e.onerror=jr.bind(null,e),Ue(e,"link",a),$t(e),t.head.appendChild(e);l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2})}function lr(t){return'[src="'+zn(t)+'"]'}function vo(t){return"script[async]"+t}function Pv(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+zn(a.href)+'"]');if(l)return e.instance=l,$t(l),l;var s=W({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),$t(l),Ue(l,"style",s),Tu(l,a.precedence,t),e.instance=l;case"stylesheet":s=ir(a.href);var c=t.querySelector(go(s));if(c)return e.state.loading|=4,e.instance=c,$t(c),c;l=kv(a),(s=Bn.get(s))&&kd(l,s),c=(t.ownerDocument||t).createElement("link"),$t(c);var m=c;return m._p=new Promise(function(b,T){m.onload=b,m.onerror=T}),Ue(c,"link",l),e.state.loading|=4,Tu(c,a.precedence,t),e.instance=c;case"script":return c=lr(a.src),(s=t.querySelector(vo(c)))?(e.instance=s,$t(s),s):(l=a,(s=Bn.get(c))&&(l=W({},a),Pd(l,s)),t=t.ownerDocument||t,s=t.createElement("script"),$t(s),Ue(s,"link",l),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Tu(l,a.precedence,t));return e.instance}function Tu(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,c=s,m=0;m<l.length;m++){var b=l[m];if(b.dataset.precedence===e)c=b;else if(c!==s)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function kd(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Pd(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var wu=null;function Fv(t,e,a){if(wu===null){var l=new Map,s=wu=new Map;s.set(a,l)}else s=wu,l=s.get(a),l||(l=new Map,s.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),s=0;s<a.length;s++){var c=a[s];if(!(c[ia]||c[se]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(e)||"";m=t+m;var b=l.get(m);b?b.push(c):l.set(m,[c])}}return l}function Fd(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function SE(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Kv(t,e){return t==="img"&&e.src!=null&&e.src!==""&&e.onLoad==null&&e.loading!=="lazy"}function Qv(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Zv(t){return(t.width||100)*(t.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Jv(t,e){typeof e.decode=="function"&&(t.imgCount++,e.complete||(t.imgBytes+=Zv(e),t.suspenseyImages.push(e)),t=wE.bind(t),e.decode().then(t,t))}function xE(t,e,a,l){if(a.type==="stylesheet"&&(typeof l.media!="str
26ing"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var s=ir(l.href),c=e.querySelector(go(s));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=bo.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=c,$t(c);return}c=e.ownerDocument||e,l=kv(l),(s=Bn.get(s))&&kd(l,s),c=c.createElement("link"),$t(c);var m=c;m._p=new Promise(function(b,T){m.onload=b,m.onerror=T}),Ue(c,"link",l),a.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=bo.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Eu=0;function TE(t,e){return t.stylesheets&&t.count===0&&Au(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&Eu===0&&(Eu=62500*Gw());var s=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>Eu?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function Iv(t){if(t.count===0&&(t.imgCount===0||!t.waitingForImages)){if(t.stylesheets)Au(t,t.stylesheets);else if(t.unsuspend){var e=t.unsuspend;t.unsuspend=null,e()}}}function bo(){this.count--,Iv(this)}function wE(){this.imgCount--,Iv(this)}var Cu=null;function Au(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Cu=new Map,e.forEach(EE,t),Cu=null,bo.call(t))}function EE(t,e){if(!(e.state.loading&4)){var a=Cu.get(t);if(a)var l=a.get(null);else{a=new Map,Cu.set(t,a);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<s.length;c++){var m=s[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(a.set(m.dataset.precedence,m),l=m)}l&&a.set(null,l)}s=e.instance,m=s.getAttribute("data-precedence"),c=a.get(m)||l,c===l&&a.set(null,s),a.set(m,s),this.count++,l=bo.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),c?c.parentNode.insertBefore(s,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var rr={$$typeof:it,Provider:null,Consumer:null,_currentValue:Aa,_currentValue2:Aa,_threadCount:0};function CE(t,e,a,l,s,c,m,b,T){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=St(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=St(0),this.hiddenUpdates=St(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.transitionTypes=null,this.incompleteTransitions=new Map}function Wv(t,e,a,l,s,c,m,b,T,N,B,X){return t=new CE(t,e,a,m,T,N,B,X,b),e=1,c===!0&&(e|=24),c=$e(3,null,null,e),t.current=c,c.stateNode=t,e=of(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:l,isDehydrated:a,cache:e},ff(c),t}function $v(t){return t?(t=Ol,t):Ol}function t0(t,e,a,l,s,c){s=$v(s),l.context===null?l.context=s:l.pendingContext=s,l=fi(e),l.payload={element:a},c=c===void 0?null:c,c!==null&&(l.callback=c),a=di(t,l,e),a!==null&&(an(a,t,e),Zr(a,t,e))}function e0(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Kd(t,e){e0(t,e),(t=t.alternate)&&e0(t,e)}function n0(t){if(t.tag===13||t.tag===31){var e=Zi(t,67108864);e!==null&&an(e,t,67108864),Kd(t,67108864)}}function a0(t){if(t.tag===13||t.tag===31){var e=Tn();e=Nt(e);var a=Zi(t,e);a!==null&&an(a,t,e),Kd(t,e)}}var or=!0;function AE(t,e,a,l){var s=vt.T;vt.T=null;var c=Bt.p;try{Bt.p=2,Qd(t,e,a,l)}finally{Bt.p=c,vt.T=s}}function RE(t,e,a,l){var s=vt.T;vt.T=null;var c=Bt.p;try{Bt.p=8,Qd(t,e,a,l)}finally{Bt.p=c,vt.T=s}}function Qd(t,e,a,l){if(or){var s=Zd(l);if(s===null)Dd(t,e,l,Ru,a),l0(t,l);else if(DE(s,t,e,a,l))l.stopPropagation();else if(l0(t,l),e&4&&-1<ME.indexOf(t)){for(;s!==null;){var c=pn(s);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=F(c.pendingLanes);if(m!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;m;){var T=1<<31-ke(m);b.entanglements[1]|=T,m&=~T}pa(c),(Yt&6)===0&&(du=Xe()+500,fo(0))}}break;case 31:case 13:b=Zi(c,2),b!==null&&an(b,c,2),pu(),Kd(c,2)}if(c=Zd(l),c===null&&Dd(t,e,l,Ru,a),c===s)break;s=c}s!==null&&l.stopPropagation()}else Dd(t,e,l,null,a)}}function Zd(t){return t=jc(t),Jd(t)}var Ru=null;function Jd(t){if(Ru=null,t=Oe(t),t!==null){var e=f(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=d(e),t!==null)return t;t=null}else if(a===31){if(t=h(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ru=t,null}function i0(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 5,741 bytes, line 26
26: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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ec()){case Nr:return 2;case Xi:return 8;case ki:case Or:return 32;case cs:return 268435456;default:return 32}default:return 32}}var Id=!1,Ei=null,Ci=null,Ai=null,So=new Map,xo=new Map,Ri=[],ME="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 l0(t,e){switch(t){case"focusin":case"focusout":Ei=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":Ai=null;break;case"pointerover":case"pointerout":So.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":xo.delete(e.pointerId)}}function To(t,e,a,l,s,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:c,targetContainers:[s]},e!==null&&(e=pn(e),e!==null&&n0(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function DE(t,e,a,l,s){switch(e){case"focusin":return Ei=To(Ei,t,e,a,l,s),!0;case"dragenter":return Ci=To(Ci,t,e,a,l,s),!0;case"mouseover":return Ai=To(Ai,t,e,a,l,s),!0;case"pointerover":var c=s.pointerId;return So.set(c,To(So.get(c)||null,t,e,a,l,s)),!0;case"gotpointercapture":return c=s.pointerId,xo.set(c,To(xo.get(c)||null,t,e,a,l,s)),!0}return!1}function r0(t){var e=Oe(t.target);if(e!==null){var a=f(e);if(a!==null){if(e=a.tag,e===13){if(e=d(a),e!==null){t.blockedOn=e,Kn(t.priority,function(){a0(a)});return}}else if(e===31){if(e=h(a),e!==null){t.blockedOn=e,Kn(t.priority,function(){a0(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Mu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Zd(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);Oc=l,a.target.dispatchEvent(l),Oc=null}else return e=pn(a),e!==null&&n0(e),t.blockedOn=a,!1;e.shift()}return!0}function o0(t,e,a){Mu(t)&&a.delete(e)}function zE(){Id=!1,Ei!==null&&Mu(Ei)&&(Ei=null),Ci!==null&&Mu(Ci)&&(Ci=null),Ai!==null&&Mu(Ai)&&(Ai=null),So.forEach(o0),xo.forEach(o0)}function Du(t,e){t.blockedOn===e&&(t.blockedOn=null,Id||(Id=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,zE)))}var zu=null;function s0(t){zu!==t&&(zu=t,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){zu===t&&(zu=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],s=t[e+2];if(typeof l!="function"){if(Jd(l||a)===null)continue;break}var c=pn(a);c!==null&&(t.splice(e,3),e-=3,Of(c,{pending:!0,data:s,method:a.method,action:l},l,s))}}))}function sr(t){function e(T){return Du(T,t)}Ei!==null&&Du(Ei,t),Ci!==null&&Du(Ci,t),Ai!==null&&Du(Ai,t),So.forEach(e),xo.forEach(e);for(var a=0;a<Ri.length;a++){var l=Ri[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Ri.length&&(a=Ri[0],a.blockedOn===null);)r0(a),a.blockedOn===null&&Ri.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var s=a[l],c=a[l+1],m=s[Qt]||null;if(typeof c=="function")m||s0(a);else if(m){var b=null;if(c&&c.hasAttribute("formAction")){if(s=c,m=c[Qt]||null)b=m.formAction;else if(Jd(s)!==null)continue}else b=m.action;typeof b=="function"?a[l+1]=b:(a.splice(l,3),l-=3),s0(a)}}}function u0(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return s=m})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function Wd(t){this._internalRoot=t}Nu.prototype.render=Wd.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var a=e.current,l=Tn();t0(a,l,t,e,null,null)},Nu.prototype.unmount=Wd.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;t0(t.current,2,null,t,null,null),pu(),e[mn]=null}};function Nu(t){this._internalRoot=t}Nu.prototype.unstable_scheduleHydration=function(t){if(t){var e=ze(
26);t={blockedOn:null,target:t,priority:e};for(var a=0;a<Ri.length&&e!==0&&e<Ri[a].priority;a++);Ri.splice(a,0,t),a===0&&r0(t)}};var c0=i.version;if(c0!=="19.3.0")throw Error(o(527,c0,"19.3.0"));Bt.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=y(e),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var NE={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:vt,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ou.isDisabled&&Ou.supportsFiber)try{ei=Ou.inject(NE),Ae=Ou}catch{}}return wo.createRoot=function(t,e){if(!u(t))throw Error(o(299));var a=!1,l="",s=$y,c=tg,m=eg;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(m=e.onRecoverableError)),e=Wv(t,1,!1,null,null,a,l,null,s,c,m,u0),t[mn]=e.current,Md(t),new Wd(e)},wo.hydrateRoot=function(t,e,a){if(!u(t))throw Error(o(299));var l=!1,s="",c=$y,m=tg,b=eg,T=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(m=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(T=a.formState)),e=Wv(t,1,!0,e,a??null,l,s,T,c,m,b,u0),e.context=$v(null),a=e.current,l=Tn(),l=Nt(l),s=fi(l),s.callback=null,di(a,s,l),a=l,e.current.lanes=a,pt(e,a),pa(e),t[mn]=e.current,Md(t),new Nu(e)},wo.version="19.3.0",wo}var y0;function XE(){if(y0)return $d.exports;y0=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),$d.exports=qE(),$d.exports}var g0=XE();let He=(function(n){return n.CHARSET="charset",n.CSS_TEXT="cssText",n.HREF="href",n.HTTPEQUIV="http-equiv",n.INNER_HTML="innerHTML",n.ITEM_PROP="itemprop",n.NAME="name",n.PROPERTY="property",n.REL="rel",n.SRC="src",n.TARGET="target",n})({}),Jt=(function(n){return n.BASE="base",n.BODY="body",n.FRAGMENT="Symbol(react.fragment)",n.HEAD="head",n.HTML="html",n.LINK="link",n.META="meta",n.NOSCRIPT="noscript",n.SCRIPT="script",n.STYLE="style",n.TITLE="title",n})({});const nh={link:{rel:["amphtml","canonical","alternate"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},script:{type:["application/ld+json"]}},v0=Object.values(Jt),hm={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Yo=(()=>{const n={};for(const[i,r]of Object.entries(hm))n[r]=i;return n})(),Ia="data-rh",kE=!!(typeof window<"u"&&window.document.createElement);function pr(n,i){for(let r=n.length-1;r>=0;--r){const o=n[r][1][i];if(o!==void 0)return o}}function PE(n){let i=pr(n,Jt.TITLE);const r=pr(n,"titleTemplate");if(Array.isArray(i)&&(i=i.join("")),r&&i)return r.replace(/%s/g,()=>i);const o=pr(n,"defaultTitle");return(i||o)??void 0}function ah(n,i){const r={};for(const o of i){const u=o[1][n];u&&Object.assign(r,u)}return r}function FE(n){for(let i=n.length-1;i>=0;--i){const r=n[i][1].base;if(r!=null&&r.href||r!=null&&r.target)return r}}function KE(n,i){let r;for(const o of Object.keys(n)){const u=o;i.includes(u)&&!(r===He.REL&&n[r].toLowerCase()==="canonical")&&!(u===He.REL&&n[u].toLowerCase()==="stylesheet")&&(r=u),i.includes(u)&&(u===He.INNER_HTML||u===He.CSS_TEXT||u===He.ITEM_PROP)&&(r=u)}return r??null}function Eo(n,i,r){const o={};return r.map(([,u])=>u).filter(u=>Array.isArray(u[n])?!0:(typeof u[n]<"u"&&console.warn(`Helmet: ${n} should be of type "Array". Instead found type "${typeof u[n]}"`),!1)).map(u=>u[n]).reverse().reduce((u,f)=>{const d={};f.filter(p=>{const y=KE(p,i);if(!y||!p[y])return!1;const g=p[y].toLowerCase();return o[y]||(o[y]={}),d[y]||(d[y]={}),o[y][g]?!1:(d[y][g]=!0,!0)}
26).reverse().forEach(p=>{u.push(p)});const h=Object.keys(d);for(const p of h){const y={...o[p],...d[p]};o[p]=y}return u},[]).reverse()}function QE(n,i){for(const[,r]of n)if(r[i])return!0;return!1}function S1(n){return Array.isArray(n)?n.join(""):n}function ZE(n,i){var r;for(const o of Object.keys(n))if((r=i[o])!=null&&r.includes(n[o]))return!0;return!1}function ih(n,i){const r={default:Array(),priority:Array()};if(n)for(const o of n)ZE(o,i)?r.priority.push(o):r.default.push(o);return r}function JE(n){const i={};for(const[r,o]of Object.entries(n))i[r]=Array.isArray(o)?o.slice():o;return i}function IE(n,i){const r=n;for(const[o,u]of Object.entries(i))if(Array.isArray(u)){const f=r[o];r[o]=f?f.concat(u):u}else r[o]=u}function lh(n,i,r){const o=n[i];o?o.push(r):n[i]=[r]}function Oh(n){let i=Eo(Jt.LINK,[He.REL,He.HREF],n),r=Eo("meta",[He.NAME,"charSet","httpEquiv",He.PROPERTY,"itemProp"],n),o=Eo("script",[He.SRC,He.INNER_HTML],n);const u=QE(n,"prioritizeSeoTags");let f;if(u){const d=ih(i,nh.link);i=d.default;const h=ih(r,nh.meta);r=h.default;const p=ih(o,nh.script);o=p.default,f={links:d.priority,meta:h.priority,script:p.priority}}return{base:FE(n),bodyAttributes:ah("bodyAttributes",n),defer:pr(n,"defer"),encodeSpecialCharacters:pr(n,"encodeSpecialCharacters")??!0,htmlAttributes:ah("htmlAttributes",n),links:i,meta:r,noscript:Eo("noscript",[He.INNER_HTML],n),onChangeClientState:pr(n,"onChangeClientState"),priority:f,script:o,style:Eo("style",[He.CSS_TEXT],n),title:PE(n),titleAttributes:ah("titleAttributes",n)}}function WE(n){return Yo[n]??n}function ur(n,i){const r=document.head||document.querySelector(Jt.HEAD),o=r.querySelectorAll(`${n}[${Ia}]`),u=[],f=[...o],d=[];for(const h of i){const p=document.createElement(n);for(const[g,v]of Object.entries(h))if(Object.prototype.hasOwnProperty.call(h,g)){const S=Yo[g]??g;S===He.INNER_HTML?p.innerHTML=v:S===He.CSS_TEXT?p.styleSheet?p.styleSheet.cssText=h.cssText:p.appendChild(document.createTextNode(h.cssText)):p.setAttribute(S,v??"")}p.setAttribute(Ia,"true");const y={};for(const{name:g,value:v}of p.attributes)y[g]=v;u.push(y);for(let g=0;;++g){if(p.isEqualNode(f[g])){f.splice(g,1);break}if(g>=f.length){d.push(p);break}}}return f.forEach(h=>{var p;(p=h.parentNode)==null||p.removeChild(h)}),d.forEach(h=>{r.appendChild(h)}),{allTags:u,newTags:d,oldTags:f}}function jh(n,i){const[r]=document.getElementsByTagName(n);if(!r)return;const o=r.getAttribute(Ia),u=o?o.split(","):[],f=[...u],d=[];for(const h of Object.keys(i))d.push(Yo[h]??h);for(const[h,p]of Object.entries(i)){const y=Yo[h]??h;r.getAttribute(y)!==p&&r.setAttribute(y,p??""),u.includes(y)||u.push(y);const g=f.indexOf(y);g!==-1&&f.splice(g,1)}for(let h=f.length-1;h>=0;h-=1)r.removeAttribute(f[h]);u.length===f.length?r.removeAttribute(Ia):r.getAttribute(Ia)!==d.join(",")&&r.setAttribute(Ia,d.join(","))}function $E(n,i){n!==void 0&&document.title!==n&&(document.title=S1(n)),jh(Jt.TITLE,i)}function b0(n,i){const{base:r,bodyAttributes:o,defer:u,htmlAttributes:f,links:d,meta:h,noscript:p,onChangeClientState:y,priority:g,script:v,style:S,title:x,titleAttributes:C}=n;jh(Jt.BODY,o??{}),jh(Jt.HTML,f??{}),$E(x,C);const j={baseTag:ur(Jt.BASE,r?[r]:[]),linkTags:ur(Jt.LINK,[...(g==null?void 0:g.links)??[],...d??[]]),metaTags:ur(Jt.META,[...(g==null?void 0:g.meta)??[],...h??[]]),noscriptTags:ur(Jt.NOSCRIPT,p??[]),scriptTags:ur(Jt.SCRIPT,[...(g==null?void 0:g.script)??[],...v??[]]),styleTags:ur(Jt.STYLE,S??[])},A={baseTag:[],bodyAttributes:{},defer:u??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:y??(()=>{}),scriptTags:[],styleTags:[],title:x??"",titleAttributes:{}},L={},G={};Object.keys(j).forEach(Y=>{const{allTags:K,newTags:Z,oldTags:rt}=j[Y];A[Y]=K,Z.length&&(L[Y]=Z),rt.length&&(G[Y]=j[Y].oldTags)}),(i||Object.keys(L).length||Object.keys(G).length)&&(y==null||y(A,L,G))}const tC=[Jt.NOSCRIPT,Jt.SCRIPT,Jt.STYLE],x1=(n,i=!0)=>i?n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):n;function Lh(n){let i="";for(const[r,o]of Object.entries(n)){const u=WE(r),f=o===void 0?u:`${u}="${o}"`;f&&i&&(i+=" "),i+=f}return i}const eC=(n,i,r)=>{let o=Lh(i);o&&(o=` ${o}`);const u=S1(n);return`<title ${Ia}="true"${o}>${x1(u,r)}</title>`};function ka(n,i,r){let o="";for(const u of i){let f="";const d=Object.entries(u);for(const[y,g]of d)if(!(y===He.INNER_HTML||y===He.CSS_TEXT)){const v=Yo[y]??y;let S;if(g===void 0)S=v;else{const x=typeof g=="string"?g:String(g);S=`${v}="${x1(x,r)}"`}f?f+=` ${S}`:f=S}const h=u.innerHTML??u.cssText??"",p=!tC.includes(n);o+=`<${n} ${Ia}="true" ${f}${p?"/>":`>${h}</${n}>`}`}return o}function Iu(n,i={}){const r={};i.addHelmetDataAttr&&(r[Ia]=!0),i.addKey!==void 0&&(r.key=i.addKey);for(const[o,u]of Object.entries(n)){const f=hm[o]??o;switch(f){case"cssText":case"innerHTML":r.dangerouslySetInnerHTML={__html:u};break;default:r[f]=u}}return r}function nC(n,i){return[O.jsx("title",{...Iu(i,{addHelmetDataAttr:!0}),children:n},n)]}function aC(n,i,r){return w.createElement(n,Iu(i,{addHelmetDataAttr:!0,addKey:r}))}function Pa(n,i){const r=[];for(let o=0;o<i.length;++o)r.push(aC(n,i[o],o));return r}function iC(n){const i=()=>(n.state??(n.state=Oh(n.helmets)),n.state);return{base:{toComponent(){const r=i().base;return r?Pa("base",[r]):[]},toString(){const r=i();return r.base?ka("base",[r.base],r.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const r=i().bodyAttributes;return Iu(r??{})},toString(){const r=i().bodyAttributes;return Lh(r??{})}},htmlAttributes:{toComponent(){const r=i().htmlAttributes;return Iu(r??{})},toString(){const r=i().htmlAttributes;return Lh(r??{})}},link:{toComponent(){return Pa("link",i().links??[])},toString(){const r=i();return ka("link",r.links??[],r.encodeSpecialCharacters)}},meta:{toComponent(){return Pa("meta",i().meta??[])},toString(){const r=i();return ka("meta",r.meta??[],r.encodeSpecialCharacters)}},noscript:{toComponent(){return Pa("noscript",i().noscript??[])},toString(){const r=i();return ka("noscript",r.noscript??[],r.encodeSpecialCharacters)}},priority:{toComponent(){var o,u,f;const r=i();return[...Pa("meta",((o=r.priority)==null?void 0:o.meta)??[]),...Pa("link",((u=r.priority)==null?void 0:u.links)??[]),...Pa("script",((f=r.priority)==null?void 0:f.script)??[])]},toString(){var h,p,y;const r=i(),o=ka("meta",((h=r.priority)==null?void 0:h.meta)??[],r.encodeSpecialCharacters),u=ka("link",((p=r.priority)==null?void 0:p.links)??[],r.encodeSpecialCharacters),f=ka("script",((y=r.priority)==null?void 0:y.script)??[],r.encodeSpecialCharacters);let d=o;return u&&(d&&(d+=" "),d+=u),f&&(d&&(d+=" "),d+=f),d}},script:{toComponent(){return Pa("script",i().script??[])},toString(){const r=i();return ka("script",r.script??[],r.encodeSpecialCharacters)}},style:{toComponent(){return Pa("style",i().style??[])},toString(){const r=i();return ka("style",r.style??[],r.encodeSpecialCharacters)}},title:{toComponent(){const r=i();return nC(r.title??"",r.titleAttributes??{})},toString(){const r=i();return eC(r.title??"",r.titleAttributes??{},r.encodeSpecialCharacters)}}}}const T1=w.createContext(void 0),lC=({children:n,context:i})=>{const{current:r}
26=w.useRef({firstRender:!0,helmets:[],state:void 0}),o=w.useRef(null);return o.current??(o.current={clientApply(){kE&&!r.state&&(r.state=Oh(r.helmets),r.state.defer?r.nextAnimFrameId??(r.nextAnimFrameId=requestAnimationFrame(()=>{r.state??(r.state=Oh(r.helmets)),b0(r.state,r.firstRender),r.firstRender=!1,delete r.nextAnimFrameId})):(r.nextAnimFrameId!==void 0&&(cancelAnimationFrame(r.nextAnimFrameId),delete r.nextAnimFrameId),b0(r.state,r.firstRender),r.firstRender=!1))},update(u,f){const d=r.helmets.findIndex(h=>h[0]===u);d>=0?(delete r.state,f?r.helmets[d][1]=f:r.helmets.splice(d,1)):f&&(delete r.state,r.helmets.push([u,f]))}}),i&&(!i.helmet||i.helmet!==r.serverState)&&(r.serverState??(r.serverState=iC(r)),i.helmet=r.serverState),O.jsx(T1,{value:o.current,children:n})};function rC(n,i){if(typeof n!="string")throw Error("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");if(!v0.includes(n))throw Error(`Only elements types ${v0.join(", ")} are allowed. Helmet does not support rendering <${n}> elements. Refer to our API for more information.`);if(!(!i||typeof i=="string"||Array.isArray(i)))throw Error(`Helmet expects a string as a child of <${n}>. Did you forget to wrap your children in braces? ( <${n}>{\`\`}</${n}> ) Refer to our API for more information.`)}function rh(n){const i=hm[n];return i&&console.warn(`"${n}" is not a valid JSX prop, replace it by "${i}"`),i??n}function Vh(n){const i=JE(n);for(const r of Object.values(n))if(Array.isArray(r)){for(const o of r)if(o)for(const u of Object.keys(o)){const f=rh(u);f!==u&&(o[f]=o[u],delete o[u])}}else if(r&&typeof r=="object"){const o=r;for(const u of Object.keys(o)){const f=rh(u);f!==u&&(o[f]=o[u],delete o[u])}}return w.Children.forEach(n.children,r=>{if(r==null)return;if(typeof r!="object"||!("props"in r))throw Error(`"${typeof r}" is not a valid <Helmet> descendant`);let o;const u={};if(r.props)for(const[h,p]of Object.entries(r.props))h==="children"?o=p:u[rh(h)]=p;let{type:f}=r;typeof f=="symbol"&&(f=f.toString()),rC(f,o);function d(h){typeof h!="string"&&console.error(`child of ${f} element should be a string`)}switch(f){case Jt.BASE:i.base=u;break;case Jt.BODY:i.bodyAttributes=u;break;case Jt.FRAGMENT:IE(i,Vh({children:o}));break;case Jt.HTML:i.htmlAttributes=u;break;case Jt.LINK:case Jt.META:if(o)throw Error(`<${f} /> elements are self-closing and can not contain children. Refer to our API for more information.`);lh(i,f,u);break;case Jt.NOSCRIPT:case Jt.SCRIPT:o!==void 0&&(d(o),u.innerHTML=o),lh(i,f,u);break;case Jt.STYLE:d(o),u.cssText=o,lh(i,f,u);break;case Jt.TITLE:i.titleAttributes=u,typeof o=="string"?i.title=o:Array.isArray(o)&&(i.title=o.join(""));break;case Jt.HEAD:}}),delete i.children,i}const w1=n=>{const i=w.use(T1);if(!i)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const r=w.useId();return i.update(r,Vh(n)),w.useEffect(()=>{i.update(r,Vh(n)),i.clientApply()}),w.useEffect(()=>()=>{i.update(r,void 0),i.clientApply()},[i,r]),null};/** 27 * react-router v8.4.0 28 * 29 * Copyright (c) Remix Software Inc. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE.md file in the root directory of this source tree. 33 * 34 * @license MIT 35 */const uc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,cc=/^[\\/]{2}/;function E1(n,i){return i+n.replace(/\\/g,"/")}/** 36 * react-router v8.4.0 37 * 38 * Copyright (c) Remix Software Inc. 39 * 40 * This source code is licensed under the MIT license found in the 41 * LICENSE.md file in the root directory of this source tree. 42 * 43 * @license MIT 44 */const S0="popstate";function x0(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function oC(n={}){function i(o,u){var y;let f=(y=u.state)==null?void 0:y.masked,{pathname:d,search:h,hash:p}=f||o.location;return qo("",{pathname:d,search:h,hash:p},u.state&&u.state.usr||null,u.state&&u.state.key||"default",f?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function r(o,u){return typeof u=="string"?u:ln(u)}return uC(i,r,null,n)}function At(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function Ye(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function sC(){return Math.random().toString(36).substring(2,10)}function T0(n,i){return{usr:n.state,key:n.key,idx:i,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function qo(n,i,r=null,o,u){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?Ea(i):i,state:r,key:i&&i.key||o||sC(),mask:u}}function ln({pathname:n="/",search:i="",hash:r=""}){return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function Ea(n){let i={};if(n){let r=n.indexOf("#");r>=0&&(i.hash=n.substring(r),n=n.substring(0,r));let o=n.indexOf("?");o>=0&&(i.search=n.substring(o),n=n.substring(0,o)),n&&(i.pathname=n)}return i}function uC(n,i,r,o={}){let{window:u=document.defaultView,v5Compat:f=!1}=o,d=u.history,h="POP",p=null,y=g();y==null&&(y=0,d.replaceState({...d.state,idx:y},""));function g(){return(d.state||{idx:null}).idx}function v(){h="POP";let A=g(),L=A==null?null:A-y;y=A,p&&p({action:h,location:j.location,delta:L})}function S(A,L){h="PUSH";let G=x0(A)?A:qo(j.location,A,L);y=g()+1;let Y=T0(G,y),K=j.createHref(G.mask||G);try{d.pushState(Y,"",K)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;u.location.assign(K)}f&&p&&p({action:h,location:j.location,delta:1})}
44function x(A,L){h="REPLACE";let G=x0(A)?A:qo(j.location,A,L);y=g();let Y=T0(G,y),K=j.createHref(G.mask||G);d.replaceState(Y,"",K),f&&p&&p({action:h,location:j.location,delta:0})}function C(A){return C1(u,A)}let j={get action(){return h},get location(){return n(u,d)},listen(A){if(p)throw new Error("A history only accepts one active listener");return u.addEventListener(S0,v),p=A,()=>{u.removeEventListener(S0,v),p=null}},createHref(A){return i(u,A)},createURL:C,encodeLocation(A){let L=C(A);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:S,replace:x,go(A){return d.go(A)}};return j}function C1(n,i,r=!1){let o="http://localhost";n&&(o=n.location.origin!=="null"?n.location.origin:n.location.href),At(o,"No window.location.(origin|href) available to create URL");let u=typeof i=="string"?i:ln(i);return u=u.replace(/ $/,"%20"),!r&&cc.test(u)&&(u=o+u),new URL(u,o)}/** 45 * react-router v8.4.0 46 * 47 * Copyright (c) Remix Software Inc. 48 * 49 * This source code is licensed under the MIT license found in the 50 * LICENSE.md file in the root directory of this source tree. 51 * 52 * @license MIT 53 */var vr,g1,w0=(g1=class{constructor(n){Di(this,vr,new Map);if(n)for(let[i,r]of n)this.set(i,r)}get(n){if(Ee(this,vr).has(n))return Ee(this,vr).get(n);if(n.defaultValue!==void 0)return n.defaultValue;throw new Error("No value found for context")}set(n,i){Ee(this,vr).set(n,i)}},vr=new WeakMap,g1);const cC=new Set(["lazy","caseSensitive","path","id","index","children","unstable_validateParams"]);function fC(n){return cC.has(n)}const dC=new Set(["lazy","caseSensitive","path","id","index","middleware","children","unstable_validateParams"]);function hC(n){return dC.has(n)}function mC(n){return n.index===!0}function A1(n){let i={};return n.Component&&Object.assign(i,{element:w.createElement(n.Component),Component:void 0}),n.HydrateFallback&&Object.assign(i,{hydrateFallbackElement:w.createElement(n.HydrateFallback),HydrateFallback:void 0}),n.ErrorBoundary&&Object.assign(i,{errorElement:w.createElement(n.ErrorBoundary),ErrorBoundary:void 0}),i}function Xo(n,i=A1,r=[],o={},u=!1){return n.map((f,d)=>{let h=[...r,String(d)],p=typeof f.id=="string"?f.id:h.join("-");if(At(f.index!==!0||!f.children,"Cannot specify children on an index route"),At(u||!o[p],`Found a route id collision on i
53d "${p}". Route id's must be globally unique within Data Router usages`),mC(f)){let y={...f,id:p};return o[p]=E0(y,i(y)),y}else{let y={...f,id:p,children:void 0};return o[p]=E0(y,i(y)),f.children&&(y.children=Xo(f.children,i,h,o,u)),y}})}function E0(n,i){return Object.assign(n,{...i,...typeof i.lazy=="object"&&i.lazy!=null?{lazy:{...n.lazy,...i.lazy}}:{}})}function pC(n,i,r="/"){return R1(n,i,r,!1)}function R1(n,i,r,o,u){let f=kn((typeof i=="string"?Ea(i):i).pathname||"/",r);if(f==null)return null;let d=u??D1(n),h=null,p=MC(f);for(let y=0;h==null&&y<d.length;++y)h=RC(d[y],p,o);return h}function M1(n,i){let{route:r,pathname:o,params:u}=n;return{id:r.id,pathname:o,params:u,loaderData:i[r.id],handle:r.handle}}function D1(n){let i=z1(n);return yC(i),i}function z1(n,i=[],r=[],o="",u=!1){let f=(d,h,p=u,y)=>{let g={relativePath:y===void 0?d.path||"":y,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(o)&&p)return;At(g.relativePath.startsWith(o),`Absolute route path "${g.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(o.length)}let v=qn([o,g.relativePath]),S=r.concat(g);d.children&&d.children.length>0&&(At(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),z1(d.children,i,S,v,p)),!(d.path==null&&!d.index)&&i.push({path:v,score:CC(v,d.index),routesMeta:S.map((x,C)=>{let[j,A]=j1(x.relativePath,x.caseSensitive,C===S.length-1);return{...x,matcher:j,compiledParams:A}})})};return n.forEach((d,h)=>{var p;if(d.path===""||!((p=d.path)!=null&&p.includes("?")))f(d,h);else for(let y of N1(d.path))f(d,h,!0,y)}),i}function N1(n){let i=n.split("/");if(i.length===0)return[];let[r,...o]=i,u=r.endsWith("?"),f=r.replace(/\?$/,"");if(o.length===0)return u?[f,""]:[f];let d=N1(o.join("/")),h=[];return h.push(...d.map(p=>p===""?f:[f,p].join("/"))),u&&h.push(...d),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function yC(n){n.sort((i,r)=>i.score!==r.score?r.score-i.score:AC(i.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}const gC=/^:[\w-]+$/,vC=/^:[\w-]+/,bC=3.5,SC=3,xC=2,TC=1,wC=10,EC=-2,C0=n=>n==="*";function CC(n,i){let r=n.split("/"),o=r.length;return r.some(C0)&&(o+=EC),i&&(o+=xC),r.filter(u=>!C0(u)).reduce((u,f)=>u+(gC.test(f)?SC:vC.test(f)?bC:f===""?TC:wC),o)}function AC(n,i){return n.length===i.length&&n.slice(0,-1).every((r,o)=>r===i[o])?n[n.length-1]-i[i.length-1]:0}function RC(n,i,r=!1){let{routesMeta:o}=n,u={},f="/",d=[];for(let h=0;h<o.length;++h){let p=o[h],y=h===o.length-1,g=f==="/"?i:i.slice(f.length)||"/",v={path:p.relativePath,caseSensitive:p.caseSensitive,end:y},S=p.matcher&&p.compiledParams?O1(v,g,p.matcher,p.compiledParams):Wu(v,g),x=p.route;if(!S&&y&&r&&!o[o.length-1].route.index&&(S=Wu({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!S)return null;
53Object.assign(u,S.params),d.push({params:u,pathname:qn([f,S.pathname]),pathnameBase:NC(qn([f,S.pathnameBase])),route:x}),S.pathnameBase!=="/"&&(f=qn([f,S.pathnameBase]))}return d}function Wu(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[r,o]=j1(n.path,n.caseSensitive,n.end);return O1(n,i,r,o)}function O1(n,i,r,o){let u=i.match(r);if(!u)return null;let f=u[0],d=$u(f,1),h=u.slice(1);return{params:o.reduce((p,{paramName:y,isOptional:g},v)=>{if(y==="*"){let x=h[v]||"";d=$u(f.slice(0,f.length-x.length),1)}const S=h[v];return g&&!S?p[y]=void 0:p[y]=(S||"").replace(/%2F/g,"/"),p},{}),pathname:f,pathnameBase:d,pattern:n}}function j1(n,i=!1,r=!0){Ye(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let o=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,d,h,p,y)=>{if(o.push({paramName:d,isOptional:h!=null}),h){let g=y.charAt(p+f.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return n.endsWith("*")?(o.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,i?void 0:"i"),o]}function MC(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Ye(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),n}}function kn(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let r=i.endsWith("/")?i.length-1:i.length,o=n.charAt(r);return o&&o!=="/"?null:n.slice(r)||"/"}function DC({basename:n,pathname:i}){return i==="/"?n:qn([n,i])}const mm=n=>uc.test(n);function zC(n,i="/"){let{pathname:r,search:o="",hash:u=""}=typeof n=="string"?Ea(n):n,f;return r?(r=ym(r),r.startsWith("/")||r.startsWith("\\")?f=A0(r.substring(1),"/"):f=A0(r,i)):f=i,{pathname:f,search:OC(o),hash:jC(u)}}function A0(n,i){let r=$u(i).split("/");return n.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function oh(n,i,r,o){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function L1(n){return n.filter((i,r)=>r===0||i.route.path&&i.route.path.length>0)}function pm(n){let i=L1(n);return i.map((r,o)=>o===i.length-1?r.pathname:r.pathnameBase)}function fc(n,i,r,o=!1){let u;typeof n=="string"?u=Ea(n):(u={...n},At(!u.pathname||!u.pathname.includes("?"),oh("?","pathname","search",u)),At(!u.pathname||!u.pathname.includes("#"),oh("#","pathname","hash",u)),At(!u.search||!u.search.includes("#"),oh("#","search","hash",u)));let f=n===""||u.pathname==="",d=f?"/":u.pathname,h;if(d==null)h=r;else{let v=i.length-1;if(!o&&d.startsWith("..")){let S=d.split("/");for(;S[0]==="..";)S.shift(),v-=1;u.pathname=S.join("/")}h=v>=0?i[v]:"/"}let p=zC(u,h),y=d&&d!=="/"&&d.endsWith("/"),g=(f||d===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(y||g)&&(p.pathname+="/"),p}const ym=n=>n.replace(/[\\/]{2,}/g,"/"),qn=n=>ym(n.join("/"));function $u(n,i=0){let r=n.length;for(;r>i&&n.charCodeAt(r-1)===47;)r--;return r===n.length?n:n.slice(0,r)}const NC=n=>$u(n).replace(/^\/*/,"/"),OC=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,jC=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,LC=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var Wo=class{constructor(n,i,r,o=!1){ta(this,"status");ta(this,"statusText");ta(this,"data");ta(this,"error");ta(this,"internal");this.status=n,this.statusText=i||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function ko(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function xr(n){return qn(n.map(i=>
53i.route.path).filter(Boolean))||"/"}function gm(n,i){let r=new URL(typeof n=="string"||n instanceof URL?n:n.url),o=typeof i=="string"?Ea(i):i;if(r.pathname=o.pathname||"/",o.search){let u=new URLSearchParams(o.search),f=u.getAll("index");u.delete("index");for(let h of f.filter(Boolean))u.append("index",h);let d=u.toString();r.search=d?`?${d}`:""}else r.search="";return r.hash=o.hash||"",r}const V1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function _1(n,i){let r=n;if(typeof r!="string"||!uc.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let o=r,u=!1;if(V1)try{let f=new URL(window.location.href),d=cc.test(r)?new URL(E1(r,f.protocol)):new URL(r),h=kn(d.pathname,i);d.origin===f.origin&&h!=null?r=h+d.search+d.hash:u=!0}catch{Ye(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:u,to:r}}/** 54 * react-router v8.4.0 55 * 56 * Copyright (c) Remix Software Inc. 57 * 58 * This source code is licensed under the MIT license found in the 59 * LICENSE.md file in the root directory of this source tree. 60 * 61 * @license MIT 62 */const U1=Symbol("Uninstrumented");let Oo=new WeakMap;function VC(n,i){let r={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};n.forEach(u=>u({id:i.id,index:i.index,path:i.path,instrument(f){f.lazy!=null&&r.lazy.push(f.lazy),f["lazy.loader"]!=null&&r["lazy.loader"].push(f["lazy.loader"]),f["lazy.action"]!=null&&r["lazy.action"].push(f["lazy.action"]),f["lazy.middleware"]!=null&&r["lazy.middleware"].push(f["lazy.middleware"]),f.middleware!=null&&r.middleware.push(f.middleware),f.loader!=null&&r.loader.push(f.loader),f.action!=null&&r.action.push(f.action)}}));let o={};if(typeof i.lazy=="function"&&r.lazy.length>0){let u=i.lazy;o.lazy=async(...f)=>Qa(await ba(r.lazy,void 0,()=>u(...f),Za))}if(typeof i.lazy=="object"){let u=i.lazy;if(typeof u.middleware=="function"&&r["lazy.middleware"].length>0){let f=u.middleware;o.lazy=Object.assign(o.lazy||{},{middleware:async(...d)=>Qa(await ba(r["lazy.middleware"],void 0,()=>f(...d),Za))})}if(typeof u.loader=="function"&&r["lazy.loader"].length>0){let f=u.loader;o.lazy=Object.assign(o.lazy||{},{loader:async(...d)=>Qa(await ba(r["lazy.loader"],void 0,()=>f(...d),Za))})}if(typeof u.action=="function"&&r["lazy.action"].length>0){let f=u.action;o.lazy=Object.assign(o.lazy||{},{action:async(...d)=>Qa(await ba(r["lazy.action"],void 0,()=>f(...d),Za))})}}if(typeof i.loader=="function"&&r.loader.length>0){let u=jo(i.loader),f=async(...d)=>Qa(await ba(r.loader,sh(d[0]),()=>u(...d),Za));u.hydrate===!0&&(f.hydrate=!0),Lo(f,u),o.loader=f}if(typeof i.action=="function"&&r.action.length>0){let u=jo(i.action),f=async(...d)=>Qa(await ba(r.action,sh(d[0]),()=>u(...d),Za));Lo(f,u),o.action=f}return i.middleware&&i.middleware.length>0&&r.middleware.length>0&&(o.middleware=i.middleware.map(u=>{let f=jo(u),d=async(...h)=>Qa(await ba(r.middleware,sh(h[0]),()=>f(...h),Za));return Lo(d,f),d})),o}function _C(n,i){let r={navigate:[],fetch:[]};if(i.forEach(o=>o({instrument(u){u.navigate!=null&&r.navigate.push(u.navigate),u.fetch!=null&&r.fetch.push(u.fetch)}})),r.navigate.length>0){let o=jo(n.navigate),u=async(...f)=>{let[d,h]=f,p,y={to:typeof d=="number"||typeof d=="string"?d:d?ln(d):".",...D0(n,h??{})};return Qa(await ba(r.navigate,y,async()=>{if(typeof d=="number")return await o(...f);let g=R0(n,v=>{p=v});try{return await o(...f)}finally{g()}},g=>({...Za(g),meta:p})))};Lo(u,o),n.navigate=u}if(r.fetch.length>0){let o=jo(n.fetch),u=async(...f)=>{let[d,h,p,y]=f,g;return Qa(await ba(r.fetch,{href:p??".",fetcherKey:d,...D0(n,y??{})},async()=>{let v=R0(n,S=>{g=S});try{return await o(...f)}finally{v()}},v=>({...Za(v),meta:g})))};Lo(u,o),n.fetch=u}return n}function jo(n){return n[U1]??n}function Lo(n,i){n[U1]=i}function R0(n,i){return Oo.set(n,i),()=>{Oo.get(n)===i&&Oo.delete(n)}}function M0(n){let i=Oo.get(n);return Oo.delete(n),i}function Qa(n){if(n.type==="error")throw n.value;return n.value}async function ba(n,i,r,o,u={result:null,innerResult:null},f=n.length-1){let d=n[f];if(d){let h,p=async()=>(h?console.error("You cannot call instrumented handlers more than once"):h=ba(n,i,r,o,u,f-1),await h,At(u.innerResult,"Expected an inner result"),u.
62innerResult);try{await d(p,i)}catch(y){console.error("An instrumentation function threw an error:",y)}h||await p(),await h}else{try{u.result={type:"success",value:await r()}}catch(h){u.result={type:"error",value:h}}u.innerResult=o(u.result,i)}return u.result||(u.result={type:"error",value:new Error("No result assigned in instrumentation chain.")},u.innerResult=o(u.result,i)),u.result}function Za(n){return n.type==="error"&&n.value instanceof Error?{status:"error",error:n.value}:{status:"success",error:void 0}}function sh(n){let{request:i,context:r,params:o}=n;return{...n,request:UC(i),params:{...o},context:BC(r)}}function D0(n,i){return{currentUrl:ln(n.state.location),..."formMethod"in i?{formMethod:i.formMethod}:{},..."formEncType"in i?{formEncType:i.formEncType}:{},..."formData"in i?{formData:i.formData}:{},..."body"in i?{body:i.body}:{}}}function UC(n){return{method:n.method,url:n.url,headers:{get:(...i)=>n.headers.get(...i)}}}function BC(n){return{get:i=>n.get(i)}}/** 63 * react-router v8.4.0 64 * 65 * Copyright (c) Remix Software Inc. 66 * 67 * This source code is licensed under the MIT license found in the 68 * LICENSE.md file in the root directory of this source tree. 69 * 70 * @license MIT 71 */var Zo,Jo,Io,v1,HC=(v1=class{constructor(n){Di(this,Zo,[]);Di(this,Jo,[]);Di(this,Io);ya(this,Io,n)}update(n){ya(this,Zo,n),ya(this,Jo,D1(n))}match(n,i=!1){return R1(Ee(this,Zo),n,Ee(this,Io),i,Ee(this,Jo))}},Zo=new WeakMap,Jo=new WeakMap,Io=new WeakMap,v1);/** 72 * react-router v8.4.0 73 * 74 * Copyright (c) Remix Software Inc. 75 * 76 * This source code is licensed under the MIT license found in the 77 * LICENSE.md file in the root directory of this source tree. 78 * 79 * @license MIT 80 */let GC;function YC(){return GC}/** 81 * react-router v8.4.0 82 * 83 * Copyright (c) Remix Software Inc. 84 * 85 * This source code is licensed under the MIT license found in the 86 * LICENSE.md file in the root directory of this source tree. 87 * 88 * @license MIT 89 */const z0=new URL("http://localhost");function B1(n){if(n.createURL)return n.createURL("/");try{return new URL(n.createHref("/"),z0)}catch{return z0}}function uh(n,i){return n.origin===i.origin&&(n.origin!=="null"||n.protocol===i.protocol&&n.host===i.host)}function qC(n,i){if(n.startsWith("//"))return!0;let r=i.protocol.toLowerCase();return n.toLowerCase().startsWith(r)?i.host===""||n.slice(r.length).startsWith("//"):!1}function Vo(n,i,r,o){let u=null;try{u=n==null?null:new URL(n,r)}catch{}let f=new URL(i,r),d=u!=null&&!uh(u,r),h=!uh(f,r);if(o==="reject"){if(d||h)throw new Error("External navigation is not allowed")}else if(h&&(u==null||!qC(n,u)||!uh(u,f)))throw new Error("External navigation is not allowed")}/** 90 * react-router v8.4.0 91 * 92 * Copyright (c) Remix Software Inc. 93 * 94 * This source code is licensed under the MIT license found in the 95 * LICENSE.md file in the root directory of this source tree. 96 * 97 * @license MIT 98 */const H1=["POST","PUT","PATCH","DELETE"],XC=new Set(H1),kC=["GET",...H1],PC=new Set(kC),G1=new Set([301,302,303,307,308]),FC=new Set([307,308]),ch={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},KC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Co={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Y1="remix-router-transitions",q1=Symbol("ResetLoaderData");function QC(n,i){if(n.unstable_routePatternMatching){let r=YC();return At(r,'You must call unstable_preloadRoutePattern() from "react-router/route-pattern" before enabling future.unstable_routePatternMatching.'),new r(i)}return new HC(i)}var Ja,Sa,Vi,b1,ZC=(b1=class{constructor(i,r){Di(this,Ja);Di(this,Sa);Di(this,Vi);ya(this,Ja,i),ya(this,Vi,r),Ee(this,Vi).update(i)}get stableRoutes(){return Ee(this,Ja)}get activeRoutes(){return Ee(this,Sa)??Ee(this,Ja)}get hasHMRRoutes(){return Ee(this,Sa)!=null}setRoutes(i){ya(this,Ja,i),Ee(this,Sa)||Ee(this,Vi).update(i)}setHmrRoutes(i){ya(this,Sa,i),Ee(this,Vi).update(i)}commitHmrRoutes(){Ee(this,Sa)&&(ya(this,Ja,Ee(this,Sa)),ya(this,Sa,void 0),Ee(this,Vi).update(Ee(this,Ja)))}},Ja=new WeakMap,Sa=new WeakMap,Vi=new WeakMap,b1);function JC(n){const i=n.window?n.window:typeof window<"u"?window:void 0,r=typeof i<"u"&&typeof i.document<"u"&&typeof i.document.createElement<"u";At(n.routes.length>0,"You must provide a non-empty routes array to createRouter");let o=n.hydrationRouteProperties||[],u=n.mapRouteProperties,f=u||(()=>({}));if(n.instrumentations){let E=n.instrumentations;f=M=>({...u==null?void 0:u(M),...VC(E.map(_=>
98_.route).filter(Boolean),M)})}let d={...n.future},h=n.basename||"/";h.startsWith("/")||(h=`/${h}`);let p=QC(d,h),y={},g=new ZC(Xo(n.routes,f,void 0,y),p),v=n.dataStrategy||eA,S=null,x=new Set,C=null,j=null,A=null,L=null,G=n.hydrationData!=null,Y=p.match(n.history.location),K=!1,Z=null,rt,W;if(Y==null&&!n.patchRoutesOnNavigation){let E=Hn(404,{pathname:n.history.location.pathname}),{matches:M,route:_}=ju(g.activeRoutes);rt=!0,W=!rt,Y=M,Z={[_.id]:E}}else if(Y&&!n.hydrationData&&Ae(Y,n.history.location.pathname).active&&(Y=null),Y)if(Y.some(E=>E.route.lazy))rt=!1,W=!rt;else if(!Y.some(E=>vm(E.route)))rt=!0,W=!rt;else{let E=n.hydrationData?n.hydrationData.loaderData:null,M=n.hydrationData?n.hydrationData.errors:null,_=Y;if(M){let k=Y.findIndex(F=>M[F.route.id]!==void 0);_=_.slice(0,k+1)}W=!1,rt=!0,_.forEach(k=>{let F=X1(k.route,E,M);W=W||F.renderFallback,rt=rt&&!F.shouldLoad})}else{rt=!1,W=!rt,Y=[];let E=Ae(null,n.history.location.pathname);E.active&&E.matches&&(K=!0,Y=E.matches)}let ft,H={historyAction:n.history.action,location:n.history.location,matches:Y,initialized:rt,renderFallback:W,navigation:ch,restoreScrollPosition:n.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:n.hydrationData&&n.hydrationData.loaderData||{},actionData:n.hydrationData&&n.hydrationData.actionData||null,errors:n.hydrationData&&n.hydrationData.errors||Z,fetchers:new Map,blockers:new Map},$="POP",J=null,nt=!1,gt,ht=!1,it=new Map,P=null,tt=!1,Q=!1,mt=new Set,dt=new Map,Lt=0,pe=-1,de=new Map,ie=new Set,rn=new Map,Wa=new Map,qe=new Set,Ca=new Map,$a,on=null;function vt(){if(S=n.history.listen(({action:E,location:M,delta:_})=>{if($a){$a(),$a=void 0;return}Ye(Ca.size===0||_!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let k=ki({currentLocation:H.location,nextLocation:M,historyAction:E});if(k&&_!=null){let F=new Promise(ct=>{$a=ct});n.history.go(_*-1),Xi(k,{state:"blocked",location:M,proceed(){Xi(k,{state:"proceeding",proceed:void 0,reset:void 0,location:M}),F.then(()=>n.history.go(_))},reset(){let ct=new Map(H.blockers);ct.set(k,Co),ye({blockers:ct})}}),J==null||J.resolve(),J=null;return}return Vt(E,M)}),r){SA(i,it);let E=()=>xA(i,it);i.addEventListener("pagehide",E),P=()=>i.removeEventListener("pagehide",E)}return H.initialized||Vt("POP",H.location,{initialHydration:!0}),ft}function Bt(){S&&S(),P&&P(),x.clear(),gt&>.abort(),H.fetchers.forEach((E,M)=>qi(H.fetchers,M)),H.blockers.forEach((E,M)=>Nr(M))}function Aa(E){if(x.add(E),C){let{newErrors:M}=C;C=null,E(H,{deletedFetchers:[],newErrors:M,viewTransitionOpts:void 0,flushSync:!1})}return()=>x.delete(E)}function ye(E,M={}){E.matches&&(E.matches=E.matches.map(F=>{let ct=y[F.route.id],ot=F.route;return ot.element!==ct.element||ot.errorElement!==ct.errorElement||ot.hydrateFallbackElement!==ct.hydrateFallbackElement?{...F,route:ct}:F})),H={...H,...E};let _=[],k=[];H.fetchers.forEach((F,ct)=>{F.state==="idle"&&(qe.has(ct)?_.push(ct):k.push(ct))}),qe.forEach(F=>{!H.fetchers.has(F)&&!dt.has(F)&&_.push(F)}),x.size===0&&(C={newErrors:E.errors??null}),[...x].forEach(F=>F(H,{deletedFetchers:_,newErrors:E.errors??null,viewTransitionOpts:M.viewTransitionOpts,flushSync:M.flushSync===!0})),_.forEach(F=>qi(H.fetchers,F)),k.forEach(F=>H.fetchers.delete(F))}function sn(E,M,{flushSync:_}={}){var St,pt;let k=H.actionData!=null&&H.navigation.formMethod!=null&&Fe(H.navigation.formMethod)&&H.navigation.state==="loading"&&((St=E.state)==null?void 0:St._isRedirect)!==!0,F;M.actionData?Object.keys(M.actionData).length>0?F=M.actionData:F=null:k?F=H.actionData:F=null;let ct=M.loaderData?G0(H.loaderData,M.loaderData,M.matches||[],M.errors):H.loaderData,ot=H.blockers;ot.size>0&&!tt&&(ot=new Map(ot),ot.forEach((Tt,Wt)=>ot.set(Wt,Co)));let et=tt?!1:ei(E,M.matches||H.matches),at=nt===!0||H.navigation.formMethod!=null&&Fe(H.navigation.formMethod)&&((pt=E.state)==null?void 0:pt._isRedirect)!==!0;g.commitHmrRoutes(),tt||$==="POP"||($==="PUSH"?n.history.push(E,E.state):$==="REPLACE"&&n.history.replace(E,E.state));let bt;if($==="POP"&&!tt&&E!==H.location){let Tt=it.get(H.location.pathname);Tt&&Tt.has(E.pathname)?bt={currentLocation:H.location,nextLocation:E}:it.has(E.pathname)&&(bt={currentLocation:E,nextLocation:H.location})}else if(ht){let Tt=it.get(H.location.pathname);Tt?Tt.add(E.pathname):(Tt=new Set([E.pathname]),it.set(H.location.pathname,Tt)),bt={currentLocation:H.location,nextLocation:E}}ye({...M,actionData:F,loaderData:ct,historyAction:$,location:E,initialized:!0,renderFallback:!1,navigation:ch,revalidation:"idle",restoreScrollPosition:et,preventScrollReset:at,blockers:ot},{viewTransitionOpts:bt,flushSync:_===!0}),$="POP",nt=!1,ht=!1,tt=!1,Q=!1,J==null||J.resolve(),J=null,on==null||on.resolve(),on=null}async function un(E,M){if(J==null||J.resolve(),J=null,typeof E=="number"){J||(J=P0());let _t=J.promise;return n.history.go(E),_t}let _=M0(ft),{path:k,submission:F,error:ct}=N0(!1,_h(H.location,H.matches,h,E,M==null?void 0:M.fromRouteId,M==null?void 0:M.relative),M),ot;
98if(M!=null&&M.mask){let _t=typeof M.mask=="string"?Ea(M.mask):{...H.location.mask,...M.mask};if(ot={pathname:_t.pathname??"",search:_t.search??"",hash:_t.hash??""},cc.test(ot.pathname))throw new Error("External navigation is not allowed");ot.pathname.startsWith("\\")&&(ot.pathname=ot.pathname.replace(/^\\+/,"/")),Vo(typeof M.mask=="string"?M.mask:ln(M.mask),ln(ot),n.history.createURL("/"),"reject")}let et=H.location,at=qo(et,k,M&&M.state,void 0,ot);at={...at,...n.history.encodeLocation(at)},Vo(E==null?n.history.createHref(H.location):typeof E=="string"?E:ln(E),n.history.createHref(at.mask||at),n.history.createURL("/"),"reject");let bt=M&&M.replace!=null?M.replace:void 0,St="PUSH";bt===!0?St="REPLACE":bt===!1||F!=null&&Fe(F.formMethod)&&F.formAction===H.location.pathname+H.location.search&&(St="REPLACE");let pt=M&&"preventScrollReset"in M?M.preventScrollReset===!0:void 0,Tt=(M&&M.flushSync)===!0,Wt=ki({currentLocation:et,nextLocation:at,historyAction:St});if(Wt){Xi(Wt,{state:"blocked",location:at,proceed(){Xi(Wt,{state:"proceeding",proceed:void 0,reset:void 0,location:at}),un(E,M)},reset(){let _t=new Map(H.blockers);_t.set(Wt,Co),ye({blockers:_t})}});return}await Vt(St,at,{submission:F,pendingError:ct,preventScrollReset:pt,replace:M&&M.replace,enableViewTransition:M&&M.viewTransition,flushSync:Tt,callSiteDefaultShouldRevalidate:M&&M.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:_})}function Te(){on||(on=P0()),Dn(),ye({revalidation:"loading"});let E=on.promise;return H.navigation.state==="submitting"?E:H.navigation.state==="idle"?(Vt(H.historyAction,H.location,{startUninterruptedRevalidation:!0}),E):(Vt($||H.historyAction,H.navigation.location,{overrideNavigation:H.navigation,enableViewTransition:ht===!0}),E)}async function Vt(E,M,_){gt&>.abort(),gt=null,$=E,tt=(_&&_.startUninterruptedRevalidation)===!0,Cc(H.location,H.matches),nt=(_&&_.preventScrollReset)===!0,ht=(_&&_.enableViewTransition)===!0;let k=_!=null&&_.initialHydration&&H.matches&&H.matches.length>0&&!K?H.matches:p.match(M),F=(_&&_.flushSync)===!0;if(k&&H.initialized&&!Q&&cA(H.location,M)&&!(_&&_.submission&&Fe(_.submission.formMethod))){sn(M,{matches:k},{flushSync:F});return}let ct=Ae(k,M.pathname);if(ct.active&&ct.matches&&(k=ct.matches),_!=null&&_.instrumentationNavigateMetaReceiver){let Gt=X0(n.history,M,k);_.instrumentationNavigateMetaReceiver(Gt)}if(!k){let{error:Gt,notFoundMatches:Nt,route:he}=Or(M.pathname);sn(M,{matches:Nt,loaderData:{},errors:{[he.id]:Gt}},{flushSync:F});return}let ot=_&&_.overrideNavigation?{..._.overrideNavigation,matches:k,historyAction:E}:void 0;gt=new AbortController;let et=cr(n.history,M,gt.signal,_&&_.submission),at=n.getContext?await n.getContext():new w0,bt;if(_&&_.pendingError)bt=[Li(k).route.id,{type:"error",error:_.pendingError}];else if(_&&_.submission&&Fe(_.submission.formMethod)){let Gt=await Rn(et,M,_.submission,k,E,at,ct.active,_&&_.initialHydration===!0,{replace:_.replace,flushSync:F});if(Gt.shortCircuited)return;if(Gt.pendingActionResult){let[Nt,he]=Gt.pendingActionResult;if(En(he)&&ko(he.error)&&he.error.status===404){gt=null,sn(M,{matches:Gt.matches,loaderData:{},errors:{[Nt]:he.error}});return}}k=Gt.matches||k,bt=Gt.pendingActionResult,ot=fh(M,k,E,_.submission),F=!1,ct.active=!1,et=cr(n.history,et.url,et.signal)}let{shortCircuited:St,matches:pt,loaderData:Tt,errors:Wt,workingFetchers:_t}=await Yi(et,M,k,E,at,ct.active,ot,_&&_.submission,_&&_.fetcherSubmission,_&&_.replace,_&&_.initialHydration===!0,F,bt,_&&_.callSiteDefaultShouldRevalidate);St||(gt=null,sn(M,{matches:pt||k,...Y0(bt),loaderData:Tt,errors:Wt,..._t?{fetchers:_t}:{}}))}async function Rn(E,M,_,k,F,ct,ot,et,at={}){if(Dn(),ye({navigation:vA(M,k,F,_)},{flushSync:at.flushSync===!0}),ot){let pt=await hn(k,M.pathname,E.signal);if(pt.type==="aborted")return{shortCircuited:!0};if(pt.type==="error"){if(pt.partialMatches.length===0){let{matches:Wt,route:_t}=ju(g.activeRoutes);return{matches:Wt,pendingActionResult:[_t.id,{type:"error",error:pt.error}]}}let Tt=Li(pt.partialMatches).route.id;return{matches:pt.partialMatches,pendingActionResult:[Tt,{type:"error",error:pt.error}]}}else if(pt.matches)k=pt.matches;else{let{notFoundMatches:Tt,error:Wt,route:_t}=Or(M.pathname);return{matches:Tt,pendingActionResult:[_t.id,{type:"error",error:Wt}]}}}let bt,St=Yu(k,M);if(!St.route.action&&!St.route.lazy)bt={type:"error",error:Hn(405,{method:E.method,pathname:M.pathname,routeId:St.route.id})};else{let pt=await Ra(E,M,yr(f,y,E,M,k,St,et?[]:o,ct),ct,null);if(bt=pt[St.route.id],!bt){for(let Tt of k)if(pt[Tt.route.id]){bt=pt[Tt.route.id];break}}if(E.signal.aborted)return{shortCircuited:!0}}if(pl(bt)){let pt;return at&&at.replace!=null?pt=at.replace:pt=U0(bt.response.headers.get("Location"),new URL(E.url),h,n.history)===H.location.pathname+H.location.search,await Mn(E,bt,!0,{submission:_,replace:pt}),{shortCircuited:!0}}if(En(bt)){let pt=Li(k,St.route.id);return(at&&at.replace)!==!0&&($="PUSH"),{matches:k,pendingActionResult:[pt.route.id,bt,St.route.id]}}return{matches:k,pendingActionResult:[St.route.id,bt]}}async function Yi(E,M,_,k,F,ct,ot,et,at,bt,St,pt,Tt,Wt){let _t=ot||fh(M,_,k,et),Gt=et||at||k0(_t),Nt=!tt&&!St;if(ct){if(Nt){let re=Fn(Tt);ye({navigation:_t,...re!==void 0?{actionData:re}:{}},{flushSync:pt})}let Rt=await hn(_,M.pathname,E.signal);if(Rt.type==="aborted")return{shortCircuited:!0};if(Rt.type==="error"){if(Rt.partialMatches.length===0){let{matches:Oe,route:pn}=ju(g.activeRoutes);return{matches:Oe,loaderData:{},errors:{[pn.id]:Rt.error}}}let re=Li(Rt.partialMatches).route.id;return{matches:Rt.partialMatches,loaderData:{},errors:{[re]:Rt.error}}}else if(Rt.matches)_=Rt.matches;else{let{error:re,notFoundMatches:Oe,route:pn}=Or(M.pathname);return{matches:Oe,loaderData:{},errors:{[pn.id]:re}}}}let{dsMatches:he,revalidatingFetchers:ze}=O0(E,F,f,y,n.history,H,_,Gt,M,St?[]:o,St===!0,Q,mt,qe,rn,ie,p,Tt,Wt);if(pe=++Lt,!n.dataStrategy&&!he.some(Rt=>Rt.shouldLoad)&&!he.some(Rt=>Rt.route.middleware&&Rt.route.middleware.length>0)&&ze.length===0){let Rt=new Map(H.fetchers),re=us(Rt);return sn(M,{matches:_,loaderData:{},errors:Tt&&En(Tt[1])?{[Tt[0]]:Tt[1].error}:null,...Y0(Tt),...re?{fetchers:Rt}:{}},{flushSync:pt}),{shortCircuited:!0}}if(Nt){let Rt={};if(!ct){Rt.navigation=_t;let re=Fn(Tt);re!==void 0&&(Rt.actionData=re)}ze.length>0&&(Rt.fetchers=Sl(ze)),ye(Rt,{flushSync:pt})}ze.forEach(Rt=>{dn(Rt.key),Rt.controller&&dt.set(Rt.key,Rt.controller)});let Kn=()=>ze.forEach(Rt=>dn(Rt.key));gt&>.signal.addEventListener("abort",Kn);let{loaderResults:Ne,fetcherResults:se}=await Dr(he,ze,E,M,F);if(E.signal.aborted)return{shortCircuited:!0};gt&>.signal.removeEventListener("abort",Kn),ze.forEach(Rt=>dt.delete(Rt.key));let Qt=Lu(Ne);if(Qt)return await Mn(E,Qt.result,!0,{replace:bt}),{shortCircuited:!0};if(Qt=Lu(se),Qt)return ie.add(Qt.key),await Mn(E,Qt.result,!0,{replace:bt}),{shortCircuited:!0};let mn=new Map(H.fetchers),{loaderData:Ma,errors:ni}=H0(H,_,Ne,Tt,ze,se,mn);St&&H.errors&&(ni={...H.errors,...ni});let Tl=us(mn),Pi=Xe(pe,mn),ia=Tl||Pi||ze.length>0;return{matches:_,loaderData:Ma,errors:ni,...ia?{workingFetchers:mn}:{}}}function Fn(E){if(E&&!En(E[1]))return{[E[0]]:E[1].data};if(H.actionData)return Object.keys(H.actionData).length===0?null:H.actionData}function Sl(E){let M=new Map(H.fetchers);
98return E.forEach(_=>{let k=M.get(_.key),F=Ao(void 0,k?k.data:void 0);M.set(_.key,F)}),M}async function xl(E,M,_,k){dn(E);let F=(k&&k.flushSync)===!0,ct=M0(ft),ot=_h(H.location,H.matches,h,_,M,k==null?void 0:k.relative),et=p.match(ot),at=Ae(et,ot);if(at.active&&at.matches&&(et=at.matches),ct&&ct(X0(n.history,ot,et)),!et){fn(E,M,Hn(404,{pathname:ot}),{flushSync:F});return}let{path:bt,submission:St,error:pt}=N0(!0,ot,k);if(pt){fn(E,M,pt,{flushSync:F});return}let Tt=n.getContext?await n.getContext():new w0,Wt=(k&&k.preventScrollReset)===!0;if(St&&Fe(St.formMethod)){await ti(E,M,bt,et,Tt,at.active,F,Wt,St,k&&k.defaultShouldRevalidate);return}let _t={routeId:M,path:bt,isDiscovering:at.active};rn.set(E,_t),await Mr(E,_t,et,Tt,F,Wt,St)}async function ti(E,M,_,k,F,ct,ot,et,at,bt){Dn(),rn.delete(E),cn(E,bA(at,H.fetchers.get(E)),{flushSync:ot});let St=new AbortController,pt=cr(n.history,_,St.signal,at);if(ct){let Xt=await hn(k,new URL(pt.url).pathname,pt.signal,E);if(Xt.type==="aborted")return;if(Xt.type==="error"){fn(E,M,Xt.error,{flushSync:ot});return}else if(Xt.matches)k=Xt.matches;else{fn(E,M,Hn(404,{pathname:_}),{flushSync:ot});return}}let Tt=Yu(k,_);if(!Tt.route.action&&!Tt.route.lazy){fn(E,M,Hn(405,{method:at.formMethod,pathname:_,routeId:M}),{flushSync:ot});return}dt.set(E,St);let Wt=Lt,_t=yr(f,y,pt,_,k,Tt,o,F),Gt=await Ra(pt,_,_t,F,E),Nt=Gt[Tt.route.id];if(!Nt){for(let Xt of _t)if(Gt[Xt.route.id]){Nt=Gt[Xt.route.id];break}}
98if(pt.signal.aborted){dt.get(E)===St&&dt.delete(E);return}if(qe.has(E)){if(pl(Nt)||En(Nt)){cn(E,ga(void 0));return}}else{if(pl(Nt))if(dt.delete(E),pe>Wt){cn(E,ga(void 0));return}else return ie.add(E),cn(E,Ao(at)),Mn(pt,Nt,!1,{fetcherSubmission:at,preventScrollReset:et});if(En(Nt)){fn(E,M,Nt.error);return}}let he=H.navigation.location||H.location,ze=cr(n.history,he,St.signal),Kn=H.navigation.state!=="idle"?p.match(H.navigation.location):H.matches;At(Kn,"Didn't find any matches after fetcher action");let Ne=++Lt;de.set(E,Ne);let{dsMatches:se,revalidatingFetchers:Qt}=O0(ze,F,f,y,n.history,H,Kn,at,he,o,!1,Q,mt,qe,rn,ie,p,[Tt.route.id,Nt],bt),mn=Ao(at,Nt.data),Ma=new Map(H.fetchers);Ma.set(E,mn),Qt.filter(Xt=>Xt.key!==E).forEach(Xt=>{let $t=Xt.key,jr=Ma.get($t),ds=Ao(void 0,jr?jr.data:void 0);Ma.set($t,ds),dn($t),Xt.controller&&dt.set($t,Xt.controller)}),ye({fetchers:Ma});let ni=()=>Qt.forEach(Xt=>dn(Xt.key));St.signal.addEventListener("abort",ni);let{loaderResults:Tl,fetcherResults:Pi}=await Dr(se,Qt,ze,he,F);if(St.signal.aborted){de.get(E)===Ne&&de.delete(E);return}St.signal.removeEventListener("abort",ni),de.delete(E),dt.delete(E),Qt.forEach(Xt=>dt.delete(Xt.key));let ia=H.fetchers.has(E),Rt=Xt=>{if(!ia)return Xt;let $t=new Map(Xt.fetchers);return $t.set(E,ga(Nt.data)),{...Xt,fetchers:$t}},re=Lu(Tl);if(re)return H=Rt(H),Mn(ze,re.result,!1,{preventScrollReset:et});if(re=Lu(Pi),re)return ie.add(re.key),H=Rt(H),Mn(ze,re.result,!1,{preventScrollReset:et});let Oe=new Map(H.fetchers);ia&&Oe.set(E,ga(Nt.data));let{loaderData:pn,errors:Da}=H0(H,Kn,Tl,void 0,Qt,Pi,Oe);Xe(Ne,Oe),H.navigation.state==="loading"&&Ne>pe?(At($,"Expected pending action"),gt&>.abort(),sn(H.navigation.location,{matches:Kn,loaderData:pn,errors:Da,fetchers:Oe})):(ye({errors:Da,loaderData:G0(H.loaderData,pn,Kn,Da),fetchers:Oe}),Q=!1)}async function Mr(E,M,_,k,F,ct,ot){let{routeId:et,path:at}=M,bt=H.fetchers.get(E);cn(E,Ao(ot,bt?bt.data:void 0),{flushSync:F});let St=new AbortController,pt=cr(n.history,at,St.signal);if(M.isDiscovering){let Nt=await hn(_,new URL(pt.url).pathname,pt.signal,E);if(Nt.type==="aborted")return;if(Nt.type==="error"){fn(E,et,Nt.error,{flushSync:F});return}else if(Nt.matches)_=Nt.matches,M.isDiscovering=!1;else{fn(E,et,Hn(404,{pathname:at}),{flushSync:F});return}}let Tt=Yu(_,at);dt.set(E,St);let Wt=Lt,_t=await Ra(pt,at,yr(f,y,pt,at,_,Tt,o,k),k,E),Gt=_t[Tt.route.id];if(!Gt){for(let Nt of _)if(_t[Nt.route.id]){Gt=_t[Nt.route.id];break}}if(dt.get(E)===St&&dt.delete(E),!pt.signal.aborted){if(qe.has(E)){cn(E,ga(void 0));return}if(pl(Gt))if(pe>Wt){cn(E,ga(void 0));return}else{ie.add(E),await Mn(pt,Gt,!1,{preventScrollReset:ct});return}if(En(Gt)){fn(E,et,Gt.error);return}cn(E,ga(Gt.data))}}async function Mn(E,M,_,{submission:k,fetcherSubmission:F,preventScrollReset:ct,replace:ot}={}){_||(J==null||J.resolve(),J=null),M.response.headers.has("X-Remix-Revalidate")&&(Q=!0);let et=M.response.headers.get("Location");At(et,"Expected a Location header on the redirect Response");let at=et,bt=new URL(E.url);et=U0(et,bt,h,n.history),Vo(at,et,bt,"allow-explicit");let St=qo(H.location,et,{_isRedirect:!0});if(r){let Nt=!1;if(M.response.headers.has("X-Remix-Reload-Document"))Nt=!0;else if(mm(et)){const he=C1(i,et,!0);Nt=he.origin!==i.location.origin||kn(he.pathname,h)==null}if(Nt){ot?i.location.replace(et):i.location.assign(et);return}}gt=null;let pt=ot===!0||M.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Tt,formAction:Wt,formEncType:_t}=H.navigation;!k&&!F&&Tt&&Wt&&_t&&(k=k0(H.navigation));let Gt=k||F;FC.has(M.response.status)&&Gt&&Fe(Gt.formMethod)?await Vt(pt,St,{submission:{...Gt,formAction:et},preventScrollReset:ct||nt,enableViewTransition:_?ht:void 0}):await Vt(pt,St,{overrideNavigation:fh(St,[],pt,k),fetcherSubmission:F,preventScrollReset:ct||nt,enableViewTransition:_?ht:void 0})}async function Ra(E,M,_,k,F){var et;let ct,ot={};try{ct=await aA(v,E,M,_,F,k,!1)}catch(at){return _.filter(bt=>bt.shouldLoad).forEach(bt=>{ot[bt.route.id]={type:"error",error:at}}),ot}if(E.signal.aborted)return ot;if(!Fe(E.method))for(let at of _){if(((et=ct[at.route.id])==null?void 0:et.type)==="error")break;!ct.hasOwnProperty(at.route.id)&&!H.loaderData.hasOwnProperty(at.route.id)&&
98(!H.errors||!H.errors.hasOwnProperty(at.route.id))&&at.shouldCallHandler()&&(ct[at.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${at.route.id}`)})}for(let[at,bt]of Object.entries(ct))if(mA(bt)){let St=bt.result;ot[at]={type:"redirect",response:oA(St,E,at,_,h)}}else ot[at]=await rA(bt);return ot}async function Dr(E,M,_,k,F){let ct=Ra(_,k,E,F,null),ot=Promise.all(M.map(async et=>{if(et.matches&&et.match&&et.request&&et.controller){let at=(await Ra(et.request,et.path,et.matches,F,et.key))[et.match.route.id];return{[et.key]:at}}else return Promise.resolve({[et.key]:{type:"error",error:Hn(404,{pathname:et.path})}})}));return{loaderResults:await ct,fetcherResults:(await ot).reduce((et,at)=>Object.assign(et,at),{})}}function Dn(){Q=!0,rn.forEach((E,M)=>{dt.has(M)&&mt.add(M),dn(M)})}function cn(E,M,_={}){let k=new Map(H.fetchers);k.set(E,M),ye({fetchers:k},{flushSync:(_&&_.flushSync)===!0})}function fn(E,M,_,k={}){let F=Li(H.matches,M),ct=new Map(H.fetchers);qi(ct,E),ye({errors:{[F.route.id]:_},fetchers:ct},{flushSync:(k&&k.flushSync)===!0})}function wc(E){return Wa.set(E,(Wa.get(E)||0)+1),qe.has(E)&&qe.delete(E),H.fetchers.get(E)||KC}function os(E,M){dn(E,M==null?void 0:M.reason),cn(E,ga(null))}function qi(E,M){let _=H.fetchers.get(M);dt.has(M)&&!(_&&_.state==="loading"&&de.has(M))&&dn(M),rn.delete(M),de.delete(M),ie.delete(M),qe.delete(M),mt.delete(M),E.delete(M)}function zr(E){let M=(Wa.get(E)||0)-1;M<=0?(Wa.delete(E),qe.add(E)):Wa.set(E,M),ye({fetchers:new Map(H.fetchers)})}function dn(E,M){let _=dt.get(E);_&&(_.abort(M),dt.delete(E))}function ss(E,M){for(let _ of E){let k=M.get(_);At(k,`Expected fetcher: ${_}`);let F=ga(k.data);M.set(_,F)}}function us(E){let M=[],_=!1;for(let k of ie){let F=E.get(k);At(F,`Expected fetcher: ${k}`),F.state==="loading"&&(ie.delete(k),M.push(k),_=!0)}return ss(M,E),_}function Xe(E,M){let _=[];for(let[k,F]of de)if(F<E){let ct=M.get(k);At(ct,`Expected fetcher: ${k}`),ct.state==="loading"&&(dn(k),de.delete(k),_.push(k))}return ss(_,M),_.length>0}function Ec(E,M){let _=H.blockers.get(E)||Co;return Ca.get(E)!==M&&Ca.set(E,M),_}function Nr(E){H.blockers.delete(E),Ca.delete(E)}function Xi(E,M){let _=H.blockers.get(E)||Co;At(_.state==="unblocked"&&M.state==="blocked"||_.state==="blocked"&&M.state==="blocked"||_.state==="blocked"&&M.state==="proceeding"||_.state==="blocked"&&M.state==="unblocked"||_.state==="proceeding"&&M.state==="unblocked",`Invalid blocker state transition: ${_.state} -> ${M.state}`);let k=new Map(H.blockers);k.set(E,M),ye({blockers:k})}function ki({currentLocation:E,nextLocation:M,historyAction:_}){if(Ca.size===0)return;Ca.size>1&&Ye(!1,"A router only supports one blocker at a time");let k=Array.from(Ca.entries()),[F,ct]=k[k.length-1],ot=H.blockers.get(F);if(!(ot&&ot.state==="proceeding")&&ct({currentLocation:E,nextLocation:M,historyAction:_}))return F}function Or(E){let M=Hn(404,{pathname:E}),_=g.activeRoutes,{matches:k,route:F}=ju(_);return{notFoundMatches:k,route:F,error:M}}function cs(E,M,_){if(j=E,L=M,A=_||null,!G&&H.navigation===ch){G=!0;let k=ei(H.location,H.matches);k!=null&&ye({restoreScrollPosition:k})}return()=>{j=null,L=null,A=null}}function fs(E,M){return A&&A(E,M.map(_=>M1(_,H.loaderData)))||E.key}function Cc(E,M){if(j&&L){let _=fs(E,M);j[_]=L()}}function ei(E,M){if(j){let _=fs(E,M),k=j[_];if(typeof k=="number")return k}return null}function Ae(E,M){if(n.patchRoutesOnNavigation)if(E){if(Object.keys(E[0].params).length>0)return{active:!0,matches:p.match(M,!0)}}else return{active:!0,matches:p.match(M,!0)||[]};return{active:!1,matches:null}}async function hn(E,M,_,k){if(!n.patchRoutesOnNavigation)return{type:"success",matches:E};let F=E;for(;;){let ct=y;try{await n.patchRoutesOnNavigation({signal:_,path:M,matches:F,fetcherKey:k,patch:(at,bt)=>{_.aborted||j0(at,bt,g,ct,f,!1)}})}catch(at){return{type:"error",error:at,partialMatches:F}}if(_.aborted)return{type:"aborted"};let ot=p.match(M),et=null;if(ot){if(Object.keys(ot[0].params).length===0)return{type:"success",matches:ot};if(et=p.match(M,!0),!(et&&F.length<et.length&&ke(F,et.slice(0,F.length))))return{type:"success",matches:ot}}if(et||(et=p.match(M,!0)),!et||ke(F,et))return{type:"success",matches:null};F=et}}function ke(E,M){return E.length===M.length&&E.every((_,k)=>_.route.id===M[k].route.id)}function Ac(E){y={},g.setHmrRoutes(Xo(E,f,void 0,y))}function Rc(E,M,_=!1){j0(E,M,g,y,f,_),g.hasHMRRoutes||ye({})}return ft={get basename(){return h},get future(){return d},get state(){return H},get routes(){return g.stableRoutes},match(E){return p.match(E)},get manifest(){return y},get window(){return i},initialize:vt,subscribe:Aa,enableScrollRestoration:cs,navigate:un,fetch:xl,revalidate:Te,createHref:E=>n.history.createHref(E),createURL:E=>n.history.createURL(E),encodeLocation:E=>n.history.encodeLocation(E),getFetcher:wc,resetFetcher:os,deleteFetcher:zr,dispose:Bt,getBlocker:Ec,deleteBlocker:Nr,patchRoutes:Rc,_internalFetchControllers:dt,_internalSetRoutes:Ac,_internalSetStateDoNotUseOrYouWillBreakYourApp(E){ye(E)}},n.instrumentations&&(ft=_C(ft,n.instrumentations.map(E=>
98E.router).filter(Boolean))),ft}function IC(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function _h(n,i,r,o,u,f){let d,h;if(u){d=[];for(let y of i)if(d.push(y),y.route.id===u){h=y;break}}else d=i,h=i[i.length-1];let p=fc(o||".",pm(d),kn(n.pathname,r)||n.pathname,f==="path");if(o==null&&(p.search=n.search,p.hash=n.hash),(o==null||o===""||o===".")&&h){let y=Sm(p.search);if(h.route.index&&!y)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&y){let g=new URLSearchParams(p.search),v=g.getAll("index");g.delete("index"),v.filter(x=>x).forEach(x=>g.append("index",x));let S=g.toString();p.search=S?`?${S}`:""}}return r!=="/"&&(p.pathname=DC({basename:r,pathname:p.pathname})),ln(p)}function N0(n,i,r){if(!r||!IC(r))return{path:i};if(r.formMethod&&!gA(r.formMethod))return{path:i,error:Hn(405,{method:r.formMethod})};let o=()=>({path:i,error:Hn(400,{type:"invalid-body"})}),u=(r.formMethod||"get").toUpperCase(),f=Z1(i);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Fe(u))return o();let g=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((v,[S,x])=>`${v}${S}=${x} 99`,""):String(r.body);return{path:i,submission:{formMethod:u,formAction:f,formEncType:r.formEncType,formData:void 0,json:void 0,text:g}}}else if(r.formEncType==="application/json"){if(!Fe(u))return o();try{let g=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:i,submission:{formMethod:u,formAction:f,formEncType:r.formEncType,formData:void 0,json:g,text:void 0}}}catch{return o()}}}At(typeof FormData=="function","FormData is not available in this environment");let d,h;if(r.formData)d=Hh(r.formData),h=r.formData;else if(r.body instanceof FormData)d=Hh(r.body),h=r.body;else if(r.body instanceof URLSearchParams)d=r.body,h=B0(d);else if(r.body==null)d=new URLSearchParams,h=new FormData;else try{d=new URLSearchParams(r.body),h=B0(d)}catch{return o()}let p={formMethod:u,formAction:f,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(Fe(p.formMethod))return{path:i,submission:p};let y=Ea(i);return n&&y.search&&Sm(y.search)&&d.append("index",""),y.search=`?${d}`,{path:ln(y),submission:p}}function O0(n,i,r,o,u,f,d,h,p,y,g,v,S,x,C,j,A,L,G){var gt;let Y=L?En(L[1])?L[1].error:L[1].data:void 0,K=u.createURL(f.location),Z=u.createURL(p),rt;if(g&&f.errors){let ht=Object.keys(f.errors)[0];rt=d.findIndex(it=>it.route.id===ht)}else if(L&&En(L[1])){let ht=L[0];rt=d.findIndex(it=>it.route.id===ht)-1}let W=L?L[1].statusCode:void 0,ft=W&&W>=400,H={currentUrl:K,currentParams:((gt=f.matches[0])==null?void 0:gt.params)||{},nextUrl:Z,nextParams:d[0].params,...h,actionResult:Y,actionStatus:W},$=xr(d),J=d.map((ht,it)=>{let{route:P}=ht,tt=null;if(rt!=null&&it>rt)tt=!1;else if(P.lazy)tt=!0;else if(!vm(P))tt=!1;else if(g){let{shouldLoad:dt}=X1(P,f.loaderData,f.errors);tt=dt}else WC(f.loaderData,f.matches[it],ht)&&(tt=!0);if(tt!==null)return Uh(r,o,n,p,$,ht,y,i,tt);let Q=!1;typeof G=="boolean"?Q=G:ft?Q=!1:(v||K.pathname+K.search===Z.pathname+Z.search||K.search!==Z.search||$C(f.matches[it],ht))&&(Q=!0);let mt={...H,defaultShouldRevalidate:Q};return Uh(r,o,n,p,$,ht,y,i,_o(ht,mt),mt,G)}),nt=[];
99return C.forEach((ht,it)=>{if(g||!d.some(de=>de.route.id===ht.routeId)||x.has(it)||ht.isDiscovering)return;let P=f.fetchers.get(it),tt=P&&P.state!=="idle"&&P.data===void 0,Q=A.match(ht.path);if(!Q){nt.push({key:it,routeId:ht.routeId,path:ht.path,matches:null,match:null,request:null,controller:null});return}if(j.has(it))return;let mt=Yu(Q,ht.path),dt=new AbortController,Lt=cr(u,ht.path,dt.signal),pe=null;if(S.has(it))S.delete(it),pe=yr(r,o,Lt,ht.path,Q,mt,y,i);else if(tt)v&&(pe=yr(r,o,Lt,ht.path,Q,mt,y,i));else{let de;typeof G=="boolean"?de=G:ft?de=!1:de=v;let ie={...H,defaultShouldRevalidate:de};_o(mt,ie)&&(pe=yr(r,o,Lt,ht.path,Q,mt,y,i,ie))}pe&&nt.push({key:it,routeId:ht.routeId,path:ht.path,matches:pe,match:mt,request:Lt,controller:dt})}),{dsMatches:J,revalidatingFetchers:nt}}function vm(n){return n.loader!=null||n.middleware!=null&&n.middleware.length>0}function X1(n,i,r){if(n.lazy)return{shouldLoad:!0,renderFallback:!0};if(!vm(n))return{shouldLoad:!1,renderFallback:!1};let o=i!=null&&n.id in i,u=r!=null&&r[n.id]!==void 0;if(!o&&u)return{shouldLoad:!1,renderFallback:!1};if(typeof n.loader=="function"&&n.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!o};let f=!o&&!u;return{shouldLoad:f,renderFallback:f}}function WC(n,i,r){let o=!i||r.route.id!==i.route.id,u=!n.hasOwnProperty(r.route.id);return o||u}function $C(n,i){let r=n.route.path;return n.pathname!==i.pathname||r!=null&&r.endsWith("*")&&n.params["*"]!==i.params["*"]}function _o(n,i){if(n.route.shouldRevalidate){let r=n.route.shouldRevalidate(i);if(typeof r=="boolean")return r}return i.defaultShouldRevalidate}function j0(n,i,r,o,u,f){let d;if(n){let y=o[n];At(y,`No route found to patch children into: routeId = ${n}`),y.children||(y.children=[]),d=y.children}else d=r.activeRoutes;let h=[],p=[];if(i.forEach(y=>{let g=d.find(v=>k1(y,v));g?p.push({existingRoute:g,newRoute:y}):h.push(y)}),h.length>0){let y=Xo(h,u,[n||"_","patch",String((d==null?void 0:d.length)||"0")],o);d.push(...y)}if(f&&p.length>0)for(let y=0;y<p.length;y++){let{existingRoute:g,newRoute:v}=p[y],S=g,[x]=Xo([v],u,[],{},!0);Object.assign(S,{element:x.element?x.element:S.element,errorElement:x.errorElement?x.errorElement:S.errorElement,hydrateFallbackElement:x.hydrateFallbackElement?x.hydrateFallbackElement:S.hydrateFallbackElement})}r.hasHMRRoutes||r.setRoutes([...r.activeRoutes])}function k1(n,i){var r;return"id"in n&&"id"in i&&n.id===i.id?!0:n.index===i.index&&n.path===i.path&&n.caseSensitive===i.caseSensitive?(!n.children||n.children.length===0)&&(!i.children||i.children.length===0)?!0:((r=n.children)==null?void 0:r.every((o,u)=>{var f;return(f=i.children)==null?void 0:f.some(d=>k1(o,d))}))??!1:!1}const L0=new WeakMap,P1=({key:n,route:i,manifest:r,mapRouteProperties:o})=>{let u=r[i.id];if(At(u,"No route found in manifest"),!u.lazy||typeof u.lazy!="object")return;let f=u.lazy[n];if(!f)return;let d=L0.get(u);d||(d={},L0.set(u,d));let h=d[n];if(h)return h;let p=(async()=>{let y=fC(n),g=u[n]!==void 0;if(y)Ye(!y,"Route property "+n+" is not a supported lazy route property. This property will be ignored."),d[n]=Promise.resolve();else if(g)Ye(!1,`Route "${u.id}" has a static property "${n}" defined. The lazy property will be ignored.`);else{let v=await f();v!=null&&(Object.assign(u,{[n]:v}),Object.assign(u,o(u)))}typeof u.lazy=="object"&&(u.lazy[n]=void 0,Object.values(u.lazy).every(v=>v===void 0)&&(u.lazy=void 0))})();return d[n]=p,p},V0=new WeakMap;function tA(n,i,r,o,u){let f=r[n.id];if(At(f,"No route found in manifest"),!n.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof n.lazy=="function"){let g=V0.get(f);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let v=(async()=>{At(typeof n.lazy=="function","No lazy route function found");let S=await n.lazy(),x={};for(let C in S){let j=S[C];if(j===void 0)continue;let A=hC(C),L=f[C]!==void 0;A?Ye(!A,"Route property "+C+" is not a supported property to be returned from a lazy route function. This property will be ignored."):L?Ye(!L,`Route "${f.id}" has a static property "${C}" defined but its lazy function is also returning a value for this property. The lazy route property "${C}" will be ignored.`):x[C]=j}Object.assign(f,x),Object.assign(f,{...o(f),lazy:void 0})})();return V0.set(f,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let d=Object.keys(n.lazy),h=[],p;for(let g of d){if(u&&u.includes(g))continue;
99let v=P1({key:g,route:n,manifest:r,mapRouteProperties:o});v&&(h.push(v),g===i&&(p=v))}let y=h.length>0?Promise.all(h).then(()=>{}):void 0;return y==null||y.catch(()=>{}),p==null||p.catch(()=>{}),{lazyRoutePromise:y,lazyHandlerPromise:p}}async function _0(n){let i=n.matches.filter(o=>o.shouldLoad),r={};return(await Promise.all(i.map(o=>o.resolve()))).forEach((o,u)=>{r[i[u].route.id]=o}),r}async function eA(n){return n.matches.some(i=>i.route.middleware)?F1(n,()=>_0(n)):_0(n)}function F1(n,i){return nA(n,i,o=>{if(yA(o))throw o;return o},dA,r);async function r(o,u,f){var d;if(f)return Object.assign(f.value,{[u]:{type:"error",result:o}});{let{matches:h}=n,p=Math.min(Math.max(h.findIndex(g=>g.route.id===u),0),Math.max(h.findIndex(g=>g.shouldCallHandler()),0)),y=h[p].route.id;for(let g of h.slice(0,p+1))try{await((d=g._lazyPromises)==null?void 0:d.route)}catch{y=g.route.id;break}return{[Li(h,y).route.id]:{type:"error",result:o}}}}}async function nA(n,i,r,o,u){let{matches:f,...d}=n;return await K1(d,f.flatMap(h=>h.route.middleware?h.route.middleware.map(p=>[h.route.id,p]):[]),i,r,o,u)}async function K1(n,i,r,o,u,f,d=0){let{request:h}=n;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let p=i[d];if(!p)return await r();let[y,g]=p,v,S=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await K1(n,i,r,o,u,f,d+1)},v.value}catch(x){return v={value:await f(x,y,v)},v.value}};try{let x=await g(n,S),C=x!=null?o(x):void 0;return u(C)?C:v?C??v.value:(v={value:await S()},v.value)}catch(x){return await f(x,y,v)}}function Q1(n,i,r,o,u){let f=P1({key:"middleware",route:o.route,manifest:i,mapRouteProperties:n}),d=tA(o.route,Fe(r.method)?"action":"loader",i,n,u);return{middleware:f,route:d.lazyRoutePromise,handler:d.lazyHandlerPromise}}function Uh(n,i,r,o,u,f,d,h,p,y=null,g){let v=!1,S=Q1(n,i,r,f,d);return{...f,_lazyPromises:S,shouldLoad:p,shouldRevalidateArgs:y,shouldCallHandler(x){return v=!0,y?typeof g=="boolean"?_o(f,{...y,defaultShouldRevalidate:g}):typeof x=="boolean"?_o(f,{...y,defaultShouldRevalidate:x}):_o(f,y):p},resolve(x){let{lazy:C,loader:j,middleware:A}=f.route,L=v||p||x&&!Fe(r.method)&&(C||j),G=A&&A.length>0&&!j&&!C;return L&&(Fe(r.method)||!G)?iA({request:r,path:o,pattern:u,match:f,lazyHandlerPromise:S==null?void 0:S.handler,lazyRoutePromise:S==null?void 0:S.route,handlerOverride:x,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function yr(n,i,r,o,u,f,d,h,p=null){return u.map(y=>y.route.id!==f.route.id?{...y,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:Q1(n,i,r,y,d),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Uh(n,i,r,o,xr(u),y,d,h,!0,p))}async function aA(n,i,r,o,u,f,d){o.some(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware})&&await Promise.all(o.map(g=>{var v;return(v=g._lazyPromises)==null?void 0:v.middleware}));let h={request:i,url:gm(i,r),pattern:xr(o),params:o[0].params,context:f,matches:o},y=await n({...h,fetcherKey:u,runClientMiddleware:g=>{let v=h;return F1(v,()=>g({...v,fetcherKey:u,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(o.flatMap(g=>{var v,S;return[(v=g._lazyPromises)==null?void 0:v.handler,(S=g._lazyPromises)==null?void 0:S.route]}))}catch{}return y}async function iA({request:n,path:i,pattern:r,match:o,lazyHandlerPromise:u,lazyRoutePromise:f,handlerOverride:d,scopedContext:h}){let p,y,g=Fe(n.method),v=g?"action":"loader",S=x=>{let C,j=new Promise((G,Y)=>C=Y);y=()=>C(),n.signal.addEventListener("abort",y);let A=G=>typeof x!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${o.route.id}]`)):x({request:n,url:gm(n,i),pattern:r,params:o.params,context:h},...G!==void 0?[G]:[]),L=(async()=>{try{return{type:"data",result:await(d?d(G=>A(G)):A())}}catch(G){return{type:"error",result:G}}})();return Promise.race([L,j])};try{let x=g?o.route.action:o.route.loader;if(u||f)if(x){let C,[j]=await Promise.all([S(x).catch(A=>{C=A}),u,f]);if(C!==void 0)throw C;p=j}else{await u;let C=g?o.route.action:o.route.loader;if(C)[p]=await Promise.all([S(C),f]);else if(v==="action"){let j=new URL(n.url),A=j.pathname+j.search;throw Hn(405,{method:n.method,pathname:A,routeId:o.route.id})}else return{type:"data",result:void 0}}else if(x)p=await S(x);else{let C=new URL(n.url);throw Hn(404,{pathname:C.pathname+C.search})}}catch(x){return{type:"error",result:x}}finally{y&&n.signal.removeEventListener("abort",y)}return p}async function lA(n){let i=n.headers.get("Content-Type");return i&&/\bapplication\/json\b/.test(i)?n.body==null?null:n.json():n.text()}async function rA(n){var o,u,f,d,h;let{result:i,type:r}=n;if(bm(i)){let p;try{p=await lA(i)}catch(y){return{type:"error",error:y}}return r==="error"?{type:"error",error:new Wo(i.status,i.statusText,p),statusCode:i.status,headers:i.headers}:{type:"data",data:p,statusCode:i.status,headers:i.headers}}return r==="error"?q0(i)?i.data instanceof Error?{type:"error",error:i.data,statusCode:(o=i.init)==null?void 0:o.status,headers:(u=i.init)!=null&&u.headers?new Headers(i.init.headers):void 0}:{type:"error",error:fA(i),statusCode:ko(i)?i.status:void 0,headers:(f=i.init)!=null&&f.headers?new Headers(i.init.headers):void 0}:{type:"error",error:i,statusCode:ko(i)?i.status:void 0}:q0(i)?{type:"data",data:i.data,statusCode:(d=i.init)==null?void 0:d.status,headers:(h=i.init)!=null&&h.headers?new Headers(i.init.headers):void 0}:{type:"data",data:i}}function oA(n,i,r,o,u){let f=n.headers.get("Location");if(At(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!mm(f)){let d=o.slice(0,o.findIndex(h=>h.route.id===r)+1);f=_h(new URL(i.url),d,u,f),n.headers.set("Location",f)}return n}const sA=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Bh(n){try{return sA.includes(new URL(n).protocol)}catch{return!1}}function U0(n,i,r,o){if(mm(n)){let u=n,f=cc.test(u)?new URL(E1(u,i.protocol)):new URL(u);if(Bh(f.toString()))throw new Error("Invalid redirect location");let d=kn(f.pathname,r)!=null;if(f.origin===i.origin&&d)return ym(f.pathname)+f.search+f.hash}try{if(Bh(o.createURL(n).toString()))throw new Error("Invalid redirect location")}catch{}return n}function cr(n,i,r,o){let u=n.createURL(Z1(i)).toString(),f={signal:r};if(o&&Fe(o.formMethod)){let{formMethod:d,formEncType:h}=o;f.method=d.toUpperCase(),h==="application/json"?(f.headers=new Headers({"Content-Type":h}),f.body=JSON.stringify(o.json)):h==="text/plain"?f.body=o.text:h==="application/x-www-form-urlencoded"&&o.formData?f.body=Hh(o.formData):f.body=o.formData}
99return new Request(u,f)}function Hh(n){let i=new URLSearchParams;for(let[r,o]of n.entries())i.append(r,typeof o=="string"?o:o.name);return i}function B0(n){let i=new FormData;for(let[r,o]of n.entries())i.append(r,o);return i}function uA(n,i,r,o=!1,u=!1){let f={},d=null,h,p=!1,y={},g=r&&En(r[1])?r[1].error:void 0;return n.forEach(v=>{if(!(v.route.id in i))return;let S=v.route.id,x=i[S];if(At(!pl(x),"Cannot handle redirect results in processLoaderData"),En(x)){let C=x.error;if(g!==void 0&&(C=g,g=void 0),d=d||{},u)d[S]=C;else{let j=Li(n,S);d[j.route.id]==null&&(d[j.route.id]=C)}o||(f[S]=q1),p||(p=!0,h=ko(x.error)?x.error.status:500),x.headers&&(y[S]=x.headers)}else f[S]=x.data,x.statusCode&&x.statusCode!==200&&!p&&(h=x.statusCode),x.headers&&(y[S]=x.headers)}),g!==void 0&&r&&(d={[r[0]]:g},r[2]&&(f[r[2]]=void 0)),{loaderData:f,errors:d,statusCode:h||200,loaderHeaders:y}}function H0(n,i,r,o,u,f,d){let{loaderData:h,errors:p}=uA(i,r,o);return u.filter(y=>!y.matches||y.matches.some(g=>g.shouldLoad)).forEach(y=>{let{key:g,match:v,controller:S}=y;if(S&&S.signal.aborted)return;let x=f[g];if(At(x,"Did not find corresponding fetcher result"),En(x)){let C=Li(n.matches,v==null?void 0:v.route.id);p&&p[C.route.id]||(p={...p,[C.route.id]:x.error}),d.delete(g)}else if(pl(x))At(!1,"Unhandled fetcher revalidation redirect");else{let C=ga(x.data);d.set(g,C)}}),{loaderData:h,errors:p}}function G0(n,i,r,o){let u=Object.entries(i).filter(([,d])=>d!==q1).reduce((d,[h,p])=>(d[h]=p,d),{}),f=0;for(let d of r){let h=d.route.id;if(!i.hasOwnProperty(h)&&n.hasOwnProperty(h)&&d.route.loader&&(u[h]=n[h],f++),o&&o.hasOwnProperty(h))break}return Object.keys(i).length===0&&f===Object.keys(n).length?n:u}function Y0(n){return n?En(n[1])?{actionData:{}}:{actionData:{[n[0]]:n[1].data}}:{}}function Li(n,i){return(i?n.slice(0,n.findIndex(r=>r.route.id===i)+1):[...n]).reverse().find(r=>r.route.ErrorBoundary!=null||r.route.errorElement!=null)||n[0]}function ju(n){let i=n.length===1?n[0]:n.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:i}],route:i}}function Hn(n,{pathname:i,routeId:r,method:o,type:u,message:f}={}){let d="Unknown Server Error",h="Unknown @remix-run/router error";return n===400?(d="Bad Request",o&&i&&r?h=`You made a ${o} request to "${i}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:u==="invalid-body"&&(h="Unable to encode submission body")):n===403?(d="Forbidden",h=`Route "${r}" does not match URL "${i}"`):n===404?(d="Not Found",h=`No route matches URL "${i}"`):n===405&&(d="Method Not Allowed",o&&i&&r?h=`You made a ${o.toUpperCase()} request to "${i}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:o&&(h=`Invalid request method "${o.toUpperCase()}"`)),new Wo(n||500,d,new Error(h),!0)}function Lu(n){let i=Object.entries(n);for(let r=i.length-1;r>=0;r--){let[o,u]=i[r];if(pl(u))return{key:o,result:u}}}function Z1(n){return ln({...typeof n=="string"?Ea(n):n,hash:""})}function cA(n,i){return n.pathname!==i.pathname||n.search!==i.search?!1:n.hash===""?i.hash!=="":n.hash===i.hash?!0:i.hash!==""}function fA(n){var i,r;return new Wo(((i=n.init)==null?void 0:i.status)??500,((r=n.init)==null?void 0:r.statusText)??"Internal Server Error",n.data)}function dA(n){return n!=null&&typeof n=="object"&&Object.entries(n).every(([i,r])=>typeof i=="string"&&hA(r))}function hA(n){return n!=null&&typeof n=="object"&&"type"in n&&"result"in n&&(n.type==="data"||n.type==="error")}function mA(n){return bm(n.result)&&G1.has(n.result.status)}function En(n){return n.type==="error"}function pl(n){return(n&&n.type)==="redirect"}function q0(n){return typeof n=="object"&&n!=null&&"type"in n&&"data"in n&&"init"in n&&n.type==="DataWithResponseInit"}function bm(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.headers=="object"&&typeof n.body<"u"}function pA(n){return G1.has(n)}function yA(n){return bm(n)&&pA(n.status)&&n.headers.has("Location")}function gA(n){return PC.has(n.toUpperCase())}function Fe(n){return XC.has(n.toUpperCase())}function Sm(n){return new URLSearchParams(n).getAll("index").some(i=>i==="")}function Yu(n,i){let r=typeof i=="string"?Ea(i).search:i.search;if(n[n.length-1].route.index&&Sm(r||""))return n[n.length-1];let o=L1(n);return o[o.length-1]}function X0(n,i,r){var o;return{url:gm(n.createURL(i),i),pattern:r?xr(r):"",params:(o=r==null?void 0:r[0])!=null&&o.params?{...r[0].params}:{}}}function k0(n){let{formMethod:i,formAction:r,formEncType:o,text:u,formData:f,json:d}=n;if(!(!i||!r||!o)){if(u!=null)return{formMethod:i,formAction:r,formEncType:o,formData:void 0,json:void 0,text:u};if(f!=null)return{formMethod:i,formAction:r,formEncType:o,formData:f,json:void 0,text:void 0};if(d!==void 0)return{formMethod:i,formAction:r,formEncType:o,formData:void 0,json:d,text:void 0}}}function fh(n,i,r,o){return o?{state:"loading",location:n,matches:i,historyAction:r,formMethod:o.formMethod,formAction:o.formAction,formEncType:o.formEncType,formData:o.formData,json:o.json,text:o.text}:{state:"loading",location:n,matches:i,historyAction:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function vA(n,i,r,o){return{state:"submitting",location:n,matches:i,historyAction:r,formMethod:o.formMethod,formAction:o.formAction,formEncType:o.formEncType,formData:o.formData,json:o.json,text:o.text}}function Ao(n,i){return n?{state:"loading",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:i}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:i}}function bA(n,i){return{state:"submitting",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:i?i.data:void 0}}function ga(n){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function SA(n,i){try{let r=n.sessionStorage.getItem(Y1);if(r){let o=JSON.parse(r);for(let[u,f]of Object.entries(o||{}))f&&Array.isArray(f)&&i.set(u,new Set(f||[]))}}catch{}}function xA(n,i){if(i.size>0){let r={};for(let[o,u]of i)r[o]=[...u];try{n.sessionStorage.setItem(Y1,JSON.stringify(r))}catch(o){Ye(!1,`Failed to save applied view transitions in sessionStorage (${o}).`)}}}function P0(){let n,i,r=new Promise((o,u)=>{n=async f=>{o(f);try{await r}catch{}},i=async f=>{u(f);try{await r}catch{}}});return{promise:r,resolve:n,reject:i}}/** 100 * react-router v8.4.0 101 * 102 * Copyright (c) Remix Software Inc. 103 * 104 * This source code is licensed under the MIT license found in the 105 * LICENSE.md file in the root directory of this source tree. 106 * 107 * @license MIT 108 */const Tr=w.createContext(null);Tr.displayName="DataRouter";const xm=w.createContext(null);xm.displayName="DataRouterState";const Tm=w.createContext(null);Tm.displayName="DataRouterData";const dc=w.createContext(null);dc.displayName="DataRouterNavigation";const J1=w.createContext(!1);function I1(){return w.useContext(J1)}const wm=w.createContext({isTransitioning:!1});wm.displayName="ViewTransition";const W1=w.createContext(null);W1.displayName="Fetchers";const TA=w.createContext(null);TA.displayName="Await";
108const An=w.createContext(null);An.displayName="Navigation";const hc=w.createContext(null);hc.displayName="Location";const Hi=w.createContext({outlet:null,matches:[],isDataRoute:!1});Hi.displayName="Route";const mc=w.createContext(!1);mc.displayName="IsDataRoute";const pc=w.createContext(void 0);pc.displayName="RouteId";const Em=w.createContext(null);Em.displayName="RouteError";/** 109 * react-router v8.4.0 110 * 111 * Copyright (c) Remix Software Inc. 112 * 113 * This source code is licensed under the MIT license found in the 114 * LICENSE.md file in the root directory of this source tree. 115 * 116 * @license MIT 117 */const $1="REACT_ROUTER_ERROR",wA="REDIRECT",EA="ROUTE_ERROR_RESPONSE";function CA(n){if(n.startsWith(`${$1}:${wA}:{`))try{let i=JSON.parse(n.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function AA(n){if(n.startsWith(`${$1}:${EA}:{`))try{let i=JSON.parse(n.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new Wo(i.status,i.statusText,i.data)}catch{}}/** 118 * react-router v8.4.0 119 * 120 * Copyright (c) Remix Software Inc. 121 * 122 * This source code is licensed under the MIT license found in the 123 * LICENSE.md file in the root directory of this source tree. 124 * 125 * @license MIT 126 */function RA(n,{relative:i}={}){At($o(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=w.useContext(An),{hash:u,pathname:f,search:d}=ts(n,{relative:i}),h=f;return r!=="/"&&(h=f==="/"?r:qn([r,f])),o.createHref({pathname:h,search:d,hash:u})}function $o(){return w.useContext(hc)!=null}function Pn(){return At($o(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(hc).location}const tS="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function MA(){return w.useContext(mc)?qA():DA()}function DA(){At($o(),"useNavigate() may be used only in the context of a <Router> component.");let n=w.useContext(Tr),{basename:i,navigator:r}=w.useContext(An),{matches:o}=w.useContext(Hi),{pathname:u}=Pn(),f=JSON.stringify(pm(o)),d=w.useRef(!1);return w.useLayoutEffect(()=>{d.current=!0}),w.useCallback((h,p={})=>
126{if(Ye(d.current,tS),!d.current)return;if(typeof h=="number"){r.go(h);return}let y=fc(h,JSON.parse(f),u,p.relative==="path");n==null&&i!=="/"&&(y.pathname=y.pathname==="/"?i:qn([i,y.pathname])),Vo(typeof h=="string"?h:ln(h),r.createHref(y),B1(r),"reject"),(p.replace?r.replace:r.push)(y,p.state,p)},[i,r,f,u,n])}const zA=w.createContext(null);function NA(n){let i=w.useContext(Hi).outlet;return w.useMemo(()=>i&&w.createElement(zA.Provider,{value:n},i),[i,n])}function ts(n,{relative:i}={}){let{matches:r}=w.useContext(Hi),{pathname:o}=Pn(),u=JSON.stringify(pm(r));return w.useMemo(()=>fc(n,JSON.parse(u),o,i==="path"),[n,u,o,i])}function OA(n,i,r){At($o(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=w.useContext(An),{matches:u}=w.useContext(Hi),f=u[u.length-1],d=f?f.params:{};f&&f.pathname;let h=f?f.pathnameBase:"/";f&&f.route;let p=Pn(),y;y=p;let g=y.pathname||"/",v=g;if(h!=="/"){let C=h.replace(/^\//,"").split("/");v="/"+g.replace(/^\//,"").split("/").slice(C.length).join("/")}let S;return r?r.state.matches.length?S=r.state.matches.map(C=>Object.assign(C,{route:r.manifest[C.route.id]||C.route})):S=r.router.match(r.state.location):S=pC(n,{pathname:v}),BA(S&&S.map(C=>Object.assign({},C,{params:Object.assign({},d,C.params),pathname:qn([h,o.encodeLocation?o.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?h:qn([h,o.encodeLocation?o.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),u,r)}function jA(){let n=YA(),i=ko(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),r=n instanceof Error?n.stack:null;return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},i),r?w.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)}const LA=w.createElement(jA,null);var Nh,VA=(Nh=class extends w.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||i.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){this.props.onError?this.props.onError(n,i):console.error("React Router caught the following error during render",n)}render(){var r;let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const o=AA(n.digest);o&&(n=o)}let i=n!==void 0?w.createElement(Hi.Provider,{value:this.props.routeContext},w.createElement(mc.Provider,{value:this.props.routeContext.isDataRoute},w.createElement(pc.Provider,{value:(r=this.props.routeContext.matches[this.props.routeContext.matches.length-1])==null?void 0:r.route.id},w.createElement(Em.Provider,{value:n,children:this.props.component})))):this.props.children;return this.context?w.createElement(_A,{error:n},i):i}},ta(Nh,"contextType",J1),Nh);const dh=new WeakMap;function _A({children:n,error:i}){let{basename:r,navigator:o}=w.useContext(An);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let u=CA(i.digest);if(u){let f=dh.get(i);if(f)throw f;let d=_1(u.location,r),h=d.absoluteURL||d.to;if(Vo(u.location,h,B1(o),"allow-explicit"),Bh(h))throw new Error("Invalid redirect location");if(V1&&!dh.get(i))if(d.isExternal||u.reloadDocument)window.location.href=h;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:u.replace}));throw dh.set(i,p),p}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return n}function UA({routeContext:n,match:i,children:r}){let o=w.useContext(Tr);return o&&o.static&&o.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=i.route.id),w.createElement(Hi.Provider,{value:n},w.createElement(mc.Provider,{value:n.isDataRoute},w.createElement(pc.Provider,{value:i.route.id},r)))}function BA(n,i=[],r){let o=r==null?void 0:r.state;if(n==null){if(!o)return null;if(o.errors)n=o.matches;else if(i.length===0&&!o.initialized&&o.matches.length>0)n=o.matches;else return null}let u=n,f=o==null?void 0:o.errors;if(f!=null){let g=u.findIndex(v=>v.route.id&&(f==null?void 0:f[v.route.id])!==void 0);At(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,g+1))}let d=!1,h=-1;if(r&&o){d=o.renderFallback;for(let g=0;g<u.length;g++){let v=u[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(h=g),v.route.id){let{loaderData:S,errors:x}
126=o,C=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!x||x[v.route.id]===void 0);if(v.route.lazy||C){r.isStatic&&(d=!0),h>=0?u=u.slice(0,h+1):u=[u[0]];break}}}}let p=r==null?void 0:r.onError,y=o&&p?(g,v)=>{var S,x;p(g,{location:o.location,params:((x=(S=o.matches)==null?void 0:S[0])==null?void 0:x.params)??{},pattern:xr(o.matches),errorInfo:v})}:void 0;return u.reduceRight((g,v,S)=>{let x,C=!1,j=null,A=null;o&&(x=f&&v.route.id?f[v.route.id]:void 0,j=v.route.errorElement||LA,d&&(h<0&&S===0?(XA("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,A=null):h===S&&(C=!0,A=v.route.hydrateFallbackElement||null)));let L=i.concat(u.slice(0,S+1)),G=()=>{let Y;return x?Y=j:C?Y=A:v.route.Component?Y=w.createElement(v.route.Component,null):v.route.element?Y=v.route.element:Y=g,w.createElement(UA,{match:v,routeContext:{outlet:g,matches:L,isDataRoute:o!=null},children:Y})};return o&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?w.createElement(VA,{location:o.location,revalidation:o.revalidation,component:j,error:x,children:G(),routeContext:{outlet:null,matches:L,isDataRoute:!0},onError:y}):G()},null)}function yc(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function es(n){let i=w.useContext(Tr);return At(i,yc(n)),i}function Cm(n){let i=w.useContext(xm);return At(i,yc(n)),i}function Am(n){let i=w.useContext(Tm);return At(i,yc(n)),i}function HA(n){let i=w.useContext(dc);return At(i,yc(n)),i}function Rm(n){let i=w.useContext(pc);return At(i,`${n} can only be used on routes that contain a unique "id"`),i}function GA(){let{navigation:n}=HA("useNavigation");return w.useMemo(()=>{let{matches:i,historyAction:r,...o}=n;return o},[n])}function eS(){let{matches:n}=Cm("useMatches"),{loaderData:i}=Am("useMatches");return w.useMemo(()=>n.map(r=>M1(r,i)),[n,i])}function YA(){var o;let n=w.useContext(Em),i=Am("useRouteError"),r=Rm("useRouteError");return n!==void 0?n:(o=i.errors)==null?void 0:o[r]}function qA(){let{router:n}=es("useNavigate"),i=Rm("useNavigate"),r=w.useRef(!1);return w.useLayoutEffect(()=>{r.current=!0}),w.useCallback(async(o,u={})=>{Ye(r.current,tS),r.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:i,...u}))},[n,i])}const F0={};function XA(n,i,r){F0[n]||(F0[n]=!0,Ye(!1,r))}/** 127 * react-router v8.4.0 128 * 129 * Copyright (c) Remix Software Inc. 130 * 131 * This source code is licensed under the MIT license found in the 132 * LICENSE.md file in the root directory of this source tree. 133 * 134 * @license MIT 135 */const K0={};function Q0(n,i){!n&&!K0[i]&&(K0[i]=!0,console.warn(i))}/** 136 * react-router v8.4.0 137 * 138 * Copyright (c) Remix Software Inc. 139 * 140 * This source code is licensed under the MIT license found in the 141 * LICENSE.md file in the root directory of this source tree. 142 * 143 * @license MIT 144 */const kA=["HydrateFallback","hydrateFallbackElement"];var PA=class{constructor(){ta(this,"status","pending");ta(this,"promise");ta(this,"resolve");ta(this,"reject");this.promise=new Promise((n,i)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",n(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",i(r))}})}};function FA({router:n,flushSync:i,onError:r,useTransitions:o}){o=I1()||o;let[u,f]=w.useState(n.state),[d,h]=w.useOptimistic(u),[p,y]=w.useState(),[g,v]=w.useState({isTransitioning:!1}),[S,x]=w.useState(),[C,j]=w.useState(),[A,L]=w.useState(),G=w.useRef(new Map),Y=w.useCallback((J,{deletedFetchers:nt,newErrors:gt,flushSync:ht,viewTransitionOpts:it})=>{gt&&r&&Object.values(gt).forEach(tt=>{var Q;return r(tt,{location:J.location,params:((Q=J.matches[0])==null?void 0:Q.params)??{},pattern:xr(J.matches)})}),J.fetchers.forEach((tt,Q)=>{tt.data!==void 0&&G.current.set(Q,tt.data)}),nt.forEach(tt=>G.current.delete(tt)),Q0(ht===!1||i!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let P=n.window!=null&&n.window.document!=null&&typeof n.window.document.startViewTransition=="function";if(Q0(it==null||P,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!it||!P){i&&ht?i(()=>f(J)):o===!1?f(J):w.startTransition(()=>{o===!0&&h(tt=>Z0(tt,J)),f(J)});return}if(i&&ht){i(()=>{C&&(S==null||S.resolve(),C.skipTransition()),v({isTransitioning:!0,flushSync:!0,currentLocation:it.currentLocation,nextLocation:it.nextLocation})});let tt=n.window.document.startViewTransition(()=>{i(()=>f(J))});tt.finished.finally(()=>{i(()=>{x(void 0),j(void 0),y(void 0),v({isTransitioning:!1})})}),i(()=>j(tt));return}C?(S==null||S.resolve(),C.skipTransition(),L({state:J,currentLocation:it.currentLocation,nextLocation:it.nextLocation})):(y(J),v({isTransitioning:!0,flushSync:!1,currentLocation:it.currentLocation,nextLocation:it.nextLocation}))},[n.window,i,C,S,o,h,r]);w.useLayoutEffect(()=>n.subscribe(Y),[n,Y]),w.useEffect(()=>{g.isTransitioning&&!g.flushSync&&x(new PA)},[g]),w.useEffect(()=>{if(S&&p&&n.window){let J=p,nt=S.promise,gt=n.window.document.startViewTransition(async()=>{o===!1?f(J):w.startTransition(()=>{o===!0&&h(ht=>Z0(ht,J)),f(J)}),await nt});gt.finished.finally(()=>{x(void 0),j(void 0),y(void 0),v({isTransitioning:!1})}),j(gt)}},[p,S,n.window,o,h]),w.useEffect(()=>{S&&p&&d.location.key===p.location.key&&S.resolve()},[S,C,d.location,p]),w.useEffect(()=>{!g.isTransitioning&&A&&(y(A.state),v({isTransitioning:!0,flushSync:!1,currentLocation:A.currentLocation,nextLocation:A.nextLocation}),L(void 0))},[g.isTransitioning,A]);let K=w.useMemo(()=>({createHref:n.createHref,createURL:n.createURL,encodeLocation:n.encodeLocation,go:J=>n.navigate(J),push:(J,nt,gt)=>n.navigate(J,{state:nt,preventScrollReset:gt==null?void 0:gt.preventScrollReset}),replace:(J,nt,gt)=>n.navigate(J,{replace:!0,state:nt,preventScrollReset:gt==null?void 0:gt.preventScrollReset})}),[n]),Z=n.basename||"/",rt=w.useMemo(()=>({router:n,navigator:K,static:!1,basename:Z,onError:r}),[n,K,Z,r]),W=w.useMemo(()=>({historyAction:d.historyAction,location:d.location,matches:d.matches,initialized:d.initialized,renderFallback:d.renderFallback,restoreScrollPosition:d.restoreScrollPosition,preventScrollReset:d.preventScrollReset,blockers:d.blockers}),[d.historyAction,d.location,d.matches,d.initialized,d.renderFallback,d.restoreScrollPosition,d.preventScrollReset,d.blockers]),ft=w.useMemo(()=>({navigation:d.navigation,revalidation:d.revalidation}),[d.navigation,d.revalidation]),H=w.useMemo(()=>({loaderData:d.loaderData,actionData:d.actionData,errors:d.errors}),[d.loaderData,d.actionData,d.errors]),$=w.useMemo(()=>({fetchers:d.fetchers,fetcherData:G.current}),[d.fetchers]);return w.createElement(w.Fragment,null,w.createElement(Tr.Provider,{value:rt},w.createElement(xm.Provider,{value:W},w.createElement(dc.Provider,{value:ft},w.createElement(Tm.Provider,{value:H},w.createElement(W1.Provider,{value:$},w.createElement(wm.Provider,{value:g},w.createElement(JA,{basename:Z,location:d.location,navigationType:d.historyAction,navigator:K,useTransitions:o},w.createElement(KA,{routes:n.routes,manifest:n.manifest,state:d,isStatic:!1,onError:r})))))))),null)}function Z0(n,i){return{...n,navigation:i.navigation.state!=="idle"?i.navigation:n.navigation,revalidation:i.revalidation!=="idle"?i.revalidation:n.revalidation,actionData:i.navigation.state!=="submitting"?i.actionData:n.actionData,fetchers:i.fetchers}}const KA=w.memo(QA);function QA({routes:n,manifest:i,state:r,isStatic:o,onError:u}){let f=w.useContext(Tr);return At(f,"You must render this element inside a <DataRouterContext.Provider> element"),OA(n,void 0,{router:f.router,manifest:i,state:r,isStatic:o,onError:u})}function ZA(n){return NA(n.context)}function JA({basename:n="/",children:i=null,location:r,navigationType:o="POP",navigator:u,static:f=!1,useTransitions:d}){At(!$o(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=w.useMemo(()=>({basename:h,navigator:u,static:f,useTransitions:d,future:{}}),[h,u,f,d]);typeof r=="string"&&(r=Ea(r));let{pathname:y="/",search:g="",hash:v="",state:S=null,key:x="default",mask:C}
144=r,j=w.useMemo(()=>{let A=kn(y,h);return A==null?null:{location:{pathname:A,search:g,hash:v,state:S,key:x,mask:C},navigationType:o}},[h,y,g,v,S,x,o,C]);return Ye(j!=null,`<Router basename="${h}"> is not able to match the URL "${y}${g}${v}" because it does not start with the basename, so the <Router> won't render anything.`),j==null?null:w.createElement(An.Provider,{value:p},w.createElement(hc.Provider,{children:i,value:j}))}/** 145 * react-router v8.4.0 146 * 147 * Copyright (c) Remix Software Inc. 148 * 149 * This source code is licensed under the MIT license found in the 150 * LICENSE.md file in the root directory of this source tree. 151 * 152 * @license MIT 153 */const qu="application/x-www-form-urlencoded";function gc(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function IA(n){return gc(n)&&n.tagName.toLowerCase()==="button"}function WA(n){return gc(n)&&n.tagName.toLowerCase()==="form"}function $A(n){return gc(n)&&n.tagName.toLowerCase()==="input"}function tR(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function eR(n,i){return n.button===0&&(!i||i==="_self")&&!tR(n)}let Vu=null;
153function nR(){if(Vu===null)try{new FormData(document.createElement("form"),0),Vu=!1}catch{Vu=!0}return Vu}const aR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hh(n){return n!=null&&!aR.has(n)?(Ye(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qu}"`),null):n}function iR(n,i){let r,o,u,f,d;if(WA(n)){let h=n.getAttribute("action");o=h?kn(h,i):null,r=n.getAttribute("method")||"get",u=hh(n.getAttribute("enctype"))||qu,f=new FormData(n)}else if(IA(n)||$A(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||h.getAttribute("action");if(o=p?kn(p,i):null,r=n.getAttribute("formmethod")||h.getAttribute("method")||"get",u=hh(n.getAttribute("formenctype"))||hh(h.getAttribute("enctype"))||qu,f=new FormData(h,n),!nR()){let{name:y,type:g,value:v}=n;if(g==="image"){let S=y?`${y}.`:"";f.append(`${S}x`,"0"),f.append(`${S}y`,"0")}else y&&f.append(y,v)}}else{if(gc(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r="get",o=null,u=qu,d=n}return f&&u==="text/plain"&&(d=f,f=void 0),{action:o,method:r.toLowerCase(),encType:u,formData:f,body:d}}/** 154 * react-router v8.4.0 155 * 156 * Copyright (c) Remix Software Inc. 157 * 158 * This source code is licensed under the MIT license found in the 159 * LICENSE.md file in the root directory of this source tree. 160 * 161 * @license MIT 162 */function lR(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}/** 163 * react-router v8.4.0 164 * 165 * Copyright (c) Remix Software Inc. 166 * 167 * This source code is licensed under the MIT license found in the 168 * LICENSE.md file in the root directory of this source tree. 169 * 170 * @license MIT 171 */const rR={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},oR=/[&><\u2028\u2029]/g;function J0(n){return n.replace(oR,i=>rR[i])}/** 172 * react-router v8.4.0 173 * 174 * Copyright (c) Remix Software Inc. 175 * 176 * This source code is licensed under the MIT license found in the 177 * LICENSE.md file in the root directory of this source tree. 178 * 179 * @license MIT 180 */function nS(n,i){let r=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return r.pathname.endsWith("/")?r.pathname=`${r.pathname}_.${i}`:r.pathname=`${r.pathname}.${i}`,r}/** 181 * react-router v8.4.0 182 * 183 * Copyright (c) Remix Software Inc. 184 * 185 * This source code is licensed under the MIT license found in the 186 * LICENSE.md file in the root directory of this source tree. 187 * 188 * @license MIT 189 */async function sR(n,i){if(n.id in i)return i[n.id];try{let r=await import(n.module);return i[n.id]=r,r}catch(r){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}/** 190 * react-router v8.4.0 191 * 192 * Copyright (c) Remix Software Inc. 193 * 194 * This source code is licensed under the MIT license found in the 195 * LICENSE.md file in the root directory of this source tree. 196 * 197 * @license MIT 198 */function uR(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function cR(n,i,r){return mR((await Promise.all(n.map(async o=>{let u=i.routes[o.route.id];if(u){let f=await sR(u,r);return f.links?f.links():[]}return[]}))).flat(1).filter(uR).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function I0(n,i,r,o,u,f){let d=(p,y)=>r[y]?p.route.id!==r[y].route.id:!0,h=(p,y)=>{var g;return r[y].pathname!==p.pathname||((g=r[y].route.path)==null?void 0:g.endsWith("*"))&&r[y].params["*"]!==p.params["*"]};return f==="assets"?i.filter((p,y)=>d(p,y)||h(p,y)):f==="data"?i.filter((p,y)=>{var v;let g=o.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(d(p,y)||h(p,y))return!0;if(p.route.shouldRevalidate){let S=p.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParam
198s:((v=r[0])==null?void 0:v.params)||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function fR(n,i,{includeHydrateFallback:r}={}){return dR(n.map(o=>{let u=i.routes[o.route.id];if(!u)return[];let f=[u.module];return u.clientActionModule&&(f=f.concat(u.clientActionModule)),u.clientLoaderModule&&(f=f.concat(u.clientLoaderModule)),r&&u.hydrateFallbackModule&&(f=f.concat(u.hydrateFallbackModule)),u.imports&&(f=f.concat(u.imports)),f}).flat(1))}function dR(n){return[...new Set(n)]}function hR(n){let i={},r=Object.keys(n).sort();for(let o of r)i[o]=n[o];return i}function mR(n,i){let r=new Set;return new Set(i),n.reduce((o,u)=>{let f=JSON.stringify(hR(u));return r.has(f)||(r.add(f),o.push({key:f,link:u})),o},[])}/** 199 * react-router v8.4.0 200 * 201 * Copyright (c) Remix Software Inc. 202 * 203 * This source code is licensed under the MIT license found in the 204 * LICENSE.md file in the root directory of this source tree. 205 * 206 * @license MIT 207 */const vc=w.createContext(void 0);vc.displayName="FrameworkContext";function Mm(){let n=w.useContext(vc);return lR(n,"You must render this element inside a <HydratedRouter> element"),n}function pR(n,i){let r=w.useContext(vc),[o,u]=w.useState(!1),[f,d]=w.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:y,onMouseLeave:g,onTouchStart:v}=i,S=w.useRef(null);w.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let j=L=>{L.forEach(G=>{d(G.isIntersecting)})},A=new IntersectionObserver(j,{threshold:.5});return S.current&&A.observe(S.current),()=>{A.disconnect()}}},[n]),w.useEffect(()=>{if(o){let j=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(j)}}},[o]);let x=()=>{u(!0)},C=()=>{u(!1),d(!1)};return r?n!=="intent"?[f,S,{}]:[f,S,{onFocus:Ro(h,x),onBlur:Ro(p,C),onMouseEnter:Ro(y,x),onMouseLeave:Ro(g,C),onTouchStart:Ro(v,x)}]:[!1,S,{}]}function Ro(n,i){return r=>{n&&n(r),r.defaultPrevented||i(r)}}function yR({page:n,...i}){let r=I1(),{nonce:o}=Mm(),{router:u}=es("PrefetchPageLinks"),f=w.useMemo(()=>u.match(n),[u,u.routes,n]);return f?(i.nonce==null&&o&&(i={...i,nonce:o}),r?w.createElement(vR,{page:n,matches:f,...i}):w.createElement(bR,{page:n,matches:f,...i})):null}function gR(n){let{manifest:i,routeModules:r}=Mm(),[o,u]=w.useState([]);return w.useEffect(()=>{let f=!1;return cR(n,i,r).then(d=>{f||u(d)}),()=>{f=!0}},[n,i,r]),o}function vR({page:n,matches:i,...r}){let o=Pn(),u=w.useMemo(()=>{if(n===o.pathname+o.search+o.hash)return[];let f=nS(n,"rsc"),d=!1,h=[];for(let p of i)typeof p.route.shouldRevalidate=="function"?d=!0:h.push(p.route.id);return d&&h.length>0&&f.searchParams.set("_routes",h.join(",")),[f.pathname+f.search]},[n,o,i]);return w.createElement(w.Fragment,null,u.map(f=>w.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...r})))}function bR({page:n,matches:i,...r}){let o=Pn(),{manifest:u,routeModules:f}=Mm(),{matches:d}=Cm("PrefetchPageLinks"),{loaderData:h}=Am("PrefetchPageLinks"),p=w.useMemo(()=>I0(n,i,d,u,o,"data"),[n,i,d,u,o]),y=w.useMemo(()=>I0(n,i,d,u,o,"assets"),[n,i,d,u,o]),g=w.useMemo(()=>{if(n===o.pathname+o.search+o.hash)return[];let x=new Set,C=!1;if(i.forEach(A=>{var G;let L=u.routes[A.route.id];!L||!L.hasLoader||(!p.some(Y=>Y.route.id===A.route.id)&&A.route.id in h&&((G=f[A.route.id])!=null&&G.shouldRevalidate)||L.hasClientLoader?C=!0:x.add(A.route.id))}),x.size===0)return[];let j=nS(n,"data");return C&&x.size>0&&j.searchParams.set("_routes",i.filter(A=>x.has(A.route.id)).map(A=>A.route.id).join(",")),[j.pathname+j.search]},[h,o,u,p,i,n,f]),v=w.useMemo(()=>fR(y,u),[y,u]),S=gR(y);return w.createElement(w.Fragment,null,g.map(x=>w.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...r})),v.map(x=>w.createElement("link",{key:x,rel:"modulepreload",href:x,...r})),S.map(({key:x,link:C})=>w.createElement("link",{key:x,nonce:r.nonce,...C,crossOrigin:C.crossOrigin??r.crossOrigin})))}function SR(...n){return i=>{n.forEach(r=>{typeof r=="function"?r(i):r!=null&&(r.current=i)})}}/** 208 * react-router v8.4.0 209 * 210 * Copyright (c) Remix Software Inc. 211 * 212 * This source code is licensed under the MIT license found in the 213 * LICENSE.md file in the root directory of this source tree. 214 * 215 * @license MIT 216 */const xR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{xR&&(window.__reactRouterVersion="8")}catch{}function TR(n,i){return JC({basename:i==null?void 0:i.basename,getContext:i==null?void 0:i.getContext,future:i==null?void 0:i.future,history:oC({window:i==null?void 0:i.window}),hydrationData:wR(),routes:n,mapRouteProperties:A1,hydrationRouteProperties:kA,dataStrategy:i==null?void 0:i.dataStrategy,patchRoutesOnNavigation:i==null?void 0:i.patchRoutesOnNavigation,window:i==null?void 0:i.window,instrumentations:i==null?void 0:i.instrumentations}).initialize()}function wR(){let n=window==null?void 0:window.__staticRouterHydrationData;return n&&n.errors&&(n={...n,errors:ER(n.errors)}),n}function ER(n){if(!n)return null;let i=Object.entries(n),r={};for(let[o,u]of i)if(u&&u.__type==="RouteErrorResponse")r[o]=new Wo(u.status,u.statusText,u.data,u.internal===!0);else if(u&&u.__type==="Error"){if(typeof u.__subType=="string"&&LC.includes(u.__subType)){let f=window[u.__subType];if(typeof f=="function")try{let d=new f(u.message);d.stack="",r[o]=d}catch{}}if(r[o]==null){let f=new Error(u.message);f.stack="",r[o]=f}}else r[o]=u;return r}const Gn=w.forwardRef(function({onClick:i,discover:r="render",prefetch:o="none",relative:u,reloadDocument:f,replace:d,mask:h,state:p,target:y,to:g,preventScrollReset:v,viewTransition:S,defaultShouldRevalidate:x,...C},j){let{basename:A,navigator:L,useTransitions:G}=w.useContext(An),Y=typeof g=="string"&&uc.test(g),K=_1(g,A);g=K.to;let Z=RA(g,{relative:u}),rt=Pn(),W=null;if(h){let it=fc(h,[],rt.mask?rt.mask.pathname:"/",!0);A!=="/"&&(it.pathname=it.pathname==="/"?A:qn([A,it.pathname])),W=L.createHref(it)}let[ft,H,$]=pR(o,C),J=RR(g,{replace:d,mask:h,state:p,target:y,preventScrollReset:v,relative:u,viewTransition:S,defaultShouldRevalidate:x,useTransitions:G});function nt(it){i&&i(it),it.defaultPrevented||J(it)}let gt=!(K.isExternal||f),ht=w.createElement("a",{...C,...$,href:(gt?W:void 0)||K.absoluteURL||Z,onClick:gt?nt:i,ref:SR(j,H),target:y,"data-discover":!Y&&r==="render"?"true":void 0});return ft&&!Y?w.createElement(w.Fragment,null,ht,w.createElement(yR,{page:Z})):ht});Gn.displayName="Link";const CR=w.forwardRef(function({"aria-current":i="page",caseSensitive:r=!1,
216className:o="",end:u=!1,style:f,to:d,viewTransition:h,children:p,...y},g){let v=ts(d,{relative:y.relative}),S=Pn(),x=w.useContext(dc),{navigator:C,basename:j}=w.useContext(An),A=x!=null&&VR(v)&&h===!0,L=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,G=S.pathname,Y=x!=null&&x.navigation.location?x.navigation.location.pathname:null;r||(G=G.toLowerCase(),Y=Y?Y.toLowerCase():null,L=L.toLowerCase()),Y&&j&&(Y=kn(Y,j)||Y);const K=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let Z=G===L||!u&&G.startsWith(L)&&G.charAt(K)==="/",rt=Y!=null&&(Y===L||!u&&Y.startsWith(L)&&Y.charAt(K)==="/"),W={isActive:Z,isPending:rt,isTransitioning:A},ft=Z?i:void 0,H;typeof o=="function"?H=o(W):H=[o,Z?"active":null,rt?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let $=typeof f=="function"?f(W):f;return w.createElement(Gn,{...y,"aria-current":ft,className:H,ref:g,style:$,to:d,viewTransition:h},typeof p=="function"?p(W):p)});CR.displayName="NavLink";const AR=w.forwardRef(({discover:n="render",fetcherKey:i,navigate:r,reloadDocument:o,replace:u,state:f,method:d="get",action:h,onSubmit:p,relative:y,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:S,...x},C)=>{let{useTransitions:j}=w.useContext(An),A=zR(),L=NR(h,{relative:y}),G=d.toLowerCase()==="get"?"get":"post",Y=typeof h=="string"&&uc.test(h),K=Z=>{if(p&&p(Z),Z.defaultPrevented)return;Z.preventDefault();let rt=Z.nativeEvent.submitter,W=(rt==null?void 0:rt.getAttribute("formmethod"))||d,ft=()=>A(rt||Z.currentTarget,{fetcherKey:i,method:W,navigate:r,replace:u,state:f,relative:y,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:S});j&&r!==!1?w.startTransition(()=>ft()):ft()};return w.createElement("form",{ref:C,method:G,action:L,onSubmit:o?p:K,...x,"data-discover":!Y&&n==="render"?"true":void 0})});AR.displayName="Form";function aS({getKey:n,storageKey:i,...r}){let o=w.useContext(vc),{basename:u}=w.useContext(An),f=Pn(),d=eS();OR({getKey:n,storageKey:i});let h=w.useMemo(()=>{if(!o||!n)return null;let y=Yh(f,d,u,n);return y!==f.key?y:null},[]);if(!o||o.isSpaMode)return null;let p=((y,g)=>{if(!window.history.state||!window.history.state.key){let v=Math.random().toString(32).slice(2);window.history.replaceState({key:v},"")}try{let v=JSON.parse(sessionStorage.getItem(y)||"{}")[g||window.history.state.key];typeof v=="number"&&window.scrollTo(0,v)}catch(v){console.error(v),sessionStorage.removeItem(y)}}).toString();return r.nonce==null&&(o!=null&&o.nonce)&&(r.nonce=o.nonce),w.createElement("script",{...r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${p})(${J0(JSON.stringify(i||Gh))}, ${J0(JSON.stringify(h))})`}})}aS.displayName="ScrollRestoration";function RR(n,{target:i,replace:r,mask:o,state:u,preventScrollReset:f,relative:d,viewTransition:h,defaultShouldRevalidate:p,useTransitions:y}={}){let g=MA(),v=Pn(),S=ts(n,{relative:d});return w.useCallback(x=>{if(eR(x,i)){x.preventDefault();let C=r!==void 0?r:ln(v)===ln(S),j=()=>g(n,{replace:C,mask:o,state:u,preventScrollReset:f,relative:d,viewTransition:h,defaultShouldRevalidate:p});y?w.startTransition(()=>j()):j()}},[v,g,S,r,o,u,i,n,f,d,h,p,y])}let MR=0,DR=()=>`__${String(++MR)}__`;function zR(){let{router:n}=es("useSubmit"),{basename:i}=w.useContext(An),r=Rm("useSubmit"),o=n.fetch,u=n.navigate;return w.useCallback(async(f,d={})=>{let{action:h,method:p,encType:y,formData:g,body:v}=iR(f,i);d.navigate===!1?await o(d.fetcherKey||DR(),r,d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,relative:d.relative,formData:g,body:v,formMethod:d.method||p,formEncType:d.encType||y,flushSync:d.flushSync}):await u(d.action||h,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,relative:d.relative,formData:g,body:v,formMethod:d.method||p,formEncType:d.encType||y,replace:d.replace,state:d.state,fromRouteId:r,flushSync:d.flushSync,viewTransition:d.viewTransition})},[o,u,i,r])}function NR(n,{relative:i}={}){let{basename:r}=w.useContext(An),o=w.useContext(Hi);At(o,"useFormAction must be used inside a RouteContext");let[u]=o.matches.slice(-1),f={...ts(n||".",{relative:i})},d=Pn();if(n==null){f.search=d.search;let h=new URLSearchParams(f.search),p=h.getAll("index");if(p.some(y=>y==="")){h.delete("index"),p.filter(g=>g).forEach(g=>h.append("index",g));let y=h.toString();f.search=y?`?${y}`:""}}return(!n||n===".")&&u.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(f.pathname=f.pathname==="/"?r:qn([r,f.pathname])),ln(f)}const Gh="react-router-scroll-positions";let _u={};function Yh(n,i,r,o){let u=null;return o&&(r!=="/"?u=o({...n,pathname:kn(n.pathname,r)||n.pathname},i):u=o(n,i)),u==null&&(u=n.key),u}function OR({getKey:n,storageKey:i}={}){let{router:r}=es("useScrollRestoration"),{restoreScrollPosition:o,preventScrollReset:u}
216=Cm("useScrollRestoration"),{basename:f}=w.useContext(An),d=Pn(),h=eS(),p=GA();w.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),LR(w.useCallback(y=>{y.persisted&&(window.history.scrollRestoration="manual")},[])),jR(w.useCallback(()=>{if(p.state==="idle"){let y=Yh(d,h,f,n);_u[y]=window.scrollY}try{sessionStorage.setItem(i||Gh,JSON.stringify(_u))}catch(y){Ye(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${y}).`)}window.history.scrollRestoration="auto"},[p.state,n,f,d,h,i])),typeof document<"u"&&(w.useLayoutEffect(()=>{try{let y=sessionStorage.getItem(i||Gh);y&&(_u=JSON.parse(y))}catch{}},[i]),w.useLayoutEffect(()=>{let y=r==null?void 0:r.enableScrollRestoration(_u,()=>window.scrollY,n?(g,v)=>Yh(g,v,f,n):void 0);return()=>y&&y()},[r,f,n]),w.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}try{if(d.hash){let y=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(y){y.scrollIntoView();return}}}catch{Ye(!1,`"${d.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}u!==!0&&window.scrollTo(0,0)}},[d,o,u]))}function jR(n,i){let{capture:r}={};w.useEffect(()=>{let o=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",n,o),()=>{window.removeEventListener("pagehide",n,o)}},[n,r])}function LR(n,i){let{capture:r}={};w.useEffect(()=>{let o=r!=null?{capture:r}:void 0;return window.addEventListener("pageshow",n,o),()=>{window.removeEventListener("pageshow",n,o)}},[n,r])}function VR(n,{relative:i}={}){let r=w.useContext(wm);At(r!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=es("useViewTransitionState"),u=ts(n,{relative:i});if(!r.isTransitioning)return!1;let f=kn(r.currentLocation.pathname,o)||r.currentLocation.pathname,d=kn(r.nextLocation.pathname,o)||r.nextLocation.pathname;return Wu(u.pathname,d)!=null||Wu(u.pathname,f)!=null}/** 217 * react-router v8.4.0 218 * 219 * Copyright (c) Remix Software Inc. 220 * 221 * This source code is licensed under the MIT license found in the 222 * LICENSE.md file in the root directory of this source tree. 223 * 224 * @license MIT 225 */function _R(n){return w.createElement(FA,{flushSync:HE.flushSync,...n})}/** 226 * @license lucide-react v0.454.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const UR=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),iS=(...n)=>n.filter((i,r,o)=>!!i&&i.trim()!==""&&o.indexOf(i)===r).join(" ").trim();/** 231 * @license lucide-react v0.454.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */var BR={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"};/** 236 * @license lucide-react v0.454.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const HR=w.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:u="",children:f,iconNode:d,...h},p)=>w.createElement("svg",{ref:p,...BR,width:i,height:i,stroke:n,strokeWidth:o?Number(r)*24/Number(i):r,className:iS("lucide",u),...h},[...d.map(([y,g])=>w.createElement(y,g)),...Array.isArray(f)?f:[f]]));/** 241 * @license lucide-react v0.454.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const ns=(n,i)=>{const r=w.forwardRef(({className:o,...u},f)=>w.createElement(HR,{ref:f,iconNode:i,className:iS(`lucide-${UR(n)}`,o),...u}));return r.displayName=`${n}`,r};/** 246 * @license lucide-react v0.454.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const GR=ns("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 251 * @license lucide-react v0.454.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const YR=ns("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 256 * @license lucide-react v0.454.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const qR=ns("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 261 * @license lucide-react v0.454.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const XR=ns("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** 266 * @license lucide-react v0.454.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const kR=ns("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
270],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),PR=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Services",href:"/services"},{label:"Projects",href:"/projects"},{label:"Book",href:"/book"},{label:"Speaking",href:"/speaking"},{label:"Contact",href:"/contact"}];function FR(){return O.jsxs("footer",{style:{backgroundColor:"#1C1C1A",color:"#C4A882"},children:[O.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10 py-16 grid grid-cols-1 md:grid-cols-3 gap-12",children:[O.jsxs("div",{className:"flex flex-col gap-4",children:[O.jsx(Gn,{to:"/",className:"self-start",children:O.jsx("div",{className:"px-3 py-2",style:{backgroundColor:"#F5F0E8"},children:O.jsx("img",{src:"/assets/images/8ae577a570dbff2a2a31bf509b30ad33.jpg",alt:"Majora Carter Group",className:"h-16 w-auto object-contain"})})}),O.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#C4A882",fontFamily:"var(--font-sans)"},children:"Real Estate Development & Community Revitalization"})]}),O.jsxs("div",{children:[O.jsx("h4",{className:"text-xs font-semibold tracking-widest uppercase mb-5",style:{color:"#8B7355",fontFamily:"var(--font-sans)"},children:"Navigation"}),O.jsx("ul",{className:"flex flex-col gap-3",children:PR.map(n=>O.jsx("li",{children:O.jsx(Gn,{to:n.href,className:"text-sm transition-colors duration-200 hover:text-white",style:{color:"#C4A882",fontFamily:"var(--font-sans)"},children:n.label})},n.href))})]}),O.jsxs("div",{children:[O.jsx("h4",{className:"text-xs font-semibold tracking-widest uppercase mb-5",style:{color:"#8B7355",fontFamily:"var(--font-sans)"},children:"Connect"}),O.jsx("a",{href:"mailto:[email protected]",className:"text-sm block mb-6 transition-colors duration-200 hover:text-white",style:{color:"#C4A882",fontFamily:"var(--font-sans)"},children:"[email protected]"}),O.jsxs("div",{className:"flex items-center gap-5",children:[O.jsx("a",{href:"https://www.instagram.com/majoracarter",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"transition-colors duration-200 hover:text-white",style:{color:"#C4A882"},children:O.jsx(GR,{size:20})}),O.jsx("a",{href:"https://www.linkedin.com/in/majora-carter-8649529/",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"transition-colors duration-200 hover:text-white",style:{color:"#C4A882"},children:O.jsx(YR,{size:20})}),O.jsx("a",{href:"https://www.x.com/majoracarter",target:"_blank",rel:"noopener noreferrer","aria-label":"X / Twitter",className:"transition-colors duration-200 hover:text-white",style:{color:"#C4A882"},children:O.jsx(XR,{size:20})})]})]})]}),O.jsx("div",{className:"border-t text-center py-5 text-xs",style:{borderColor:"#2e2e2c",color:"#6B5240",fontFamily:"var(--font-sans)"},children:"Copyright © 2025 Majora Carter Group - All Rights Reserved."})]})}const W0=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Services",href:"/services"},{label:"Projects",href:"/projects"},{label:"Book",href:"/book"},{label:"Speaking",href:"/speaking"},{label:"Contact",href:"/contact"}];function KR(){const[n,i]=w.useState(!1),[r,o]=w.useState(!1),u=Pn();return w.useEffect(()=>{const f=()=>o(window.scrollY>10);return window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]),w.useEffect(()=>{i(!1)},[u.pathname]),O.jsxs("header",{className:"sticky top-0 z-50 transition-shadow duration-300",style:{backgroundColor:"#F5F0E8",boxShadow:r?"0 2px 16px rgba(28,20,12,0.10)":"none"},children:[O.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10 flex items-center justify-between h-20 md:h-24",children:[O.jsx(Gn,{to:"/",className:"shrink-0",children:O.jsx("img",{src:"/assets/images/b9d1762a4343798e2e70f4d38fd206b3.jpg",alt:"Majora Carter Group",className:"h-10 md:h-14 w-auto object-contain"})}),O.jsx("nav",{className:"hidden md:flex items-center gap-8",children:W0.map(f=>O.jsxs(Gn,{to:f.href,className:"text-sm font-medium tracking-wide transition-colors duration-200 relative group",style:{fontFamily:"var(--font-sans)",color:u.pathname===f.href?"#6B5240":"#1C1C1A"},children:[f.label,O.jsx("span",{className:"absolute -bottom-1 left-0 h-0.5 w-0 group-hover:w-full transition-all duration-300",style:{backgroundColor:"#8B7355"}})]},f.href))}),O.jsx("button",{className:"md:hidden p-2 rounded",onClick:()=>i(!n),"aria-label":"Toggle menu",style:{color:"#1C1C1A"},children:n?O.jsx(kR,{size:24}):O.jsx(qR,{size:24})})]}),n&&O.jsx("div",{className:"md:hidden border-t px-6 py-6 flex flex-col gap-5",style:{backgroundColor:"#F5F0E8",borderColor:"#D4C4A8"},children:W0.map(f=>O.jsx(Gn,{to:f.href,className:"text-base font-medium tracking-wide",style:{fontFamily:"var(--font-sans)",color:u.pathname===f.href?"#6B5240":"#1C1C1A"},children:f.label},f.href))})]})}function lS(n){var i,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(i=0;i<u;i++)n[i]&&(r=lS(n[i]))&&(o&&(o+=" "),o+=r)}
vendor: 6,011 bytes, line 270
270else for(r in n)n[r]&&(o&&(o+=" "),o+=r);return o}function QR(){for(var n,i,r=0,o="",u=arguments.length;r<u;r++)(n=arguments[r])&&(i=lS(n))&&(o&&(o+=" "),o+=i);return o}const Dm="-",ZR=n=>{const i=IR(n),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:d=>{const h=d.split(Dm);return h[0]===""&&h.length!==1&&h.shift(),rS(h,i)||JR(d)},getConflictingClassGroupIds:(d,h)=>{const p=r[d]||[];return h&&o[d]?[...p,...o[d]]:p}}},rS=(n,i)=>{var d;if(n.length===0)return i.classGroupId;const r=n[0],o=i.nextPart.get(r),u=o?rS(n.slice(1),o):void 0;if(u)return u;if(i.validators.length===0)return;const f=n.join(Dm);return(d=i.validators.find(({validator:h})=>h(f)))==null?void 0:d.classGroupId},$0=/^\[(.+)\]$/,JR=n=>{if($0.test(n)){const i=$0.exec(n)[1],r=i==null?void 0:i.substring(0,i.indexOf(":"));if(r)return"arbitrary.."+r}},IR=n=>{const{theme:i,prefix:r}=n,o={nextPart:new Map,validators:[]};return $R(Object.entries(n.classGroups),r).forEach(([f,d])=>{qh(d,o,f,i)}),o},qh=(n,i,r,o)=>{n.forEach(u=>{if(typeof u=="string"){const f=u===""?i:tb(i,u);f.classGroupId=r;return}if(typeof u=="function"){if(WR(u)){qh(u(o),i,r,o);return}i.validators.push({validator:u,classGroupId:r});return}Object.entries(u).forEach(([f,d])=>{qh(d,tb(i,f),r,o)})})},tb=(n,i)=>{let r=n;return i.split(Dm).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},WR=n=>n.isThemeGetter,$R=(n,i)=>i?n.map(([r,o])=>{const u=o.map(f=>typeof f=="string"?i+f:typeof f=="object"?Object.fromEntries(Object.entries(f).map(([d,h])=>[i+d,h])):f);return[r,u]}):n,t2=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,r=new Map,o=new Map;const u=(f,d)=>{r.set(f,d),i++,i>n&&(i=0,o=r,r=new Map)};return{get(f){let d=r.get(f);if(d!==void 0)return d;if((d=o.get(f))!==void 0)return u(f,d),d},set(f,d){r.has(f)?r.set(f,d):u(f,d)}}},oS="!",e2=n=>{const{separator:i,experimentalParseClassName:r}=n,o=i.length===1,u=i[0],f=i.length,d=h=>{const p=[];let y=0,g=0,v;for(let A=0;A<h.length;A++){let L=h[A];if(y===0){if(L===u&&(o||h.slice(A,A+f)===i)){p.push(h.slice(g,A)),g=A+f;continue}if(L==="/"){v=A;continue}}L==="["?y++:L==="]"&&y--}const S=p.length===0?h:h.substring(g),x=S.startsWith(oS),C=x?S.substring(1):S,j=v&&v>g?v-g:void 0;return{modifiers:p,hasImportantModifier:x,baseClassName:C,maybePostfixModifierPosition:j}};return r?h=>r({className:h,parseClassName:d}):d},n2=n=>{if(n.length<=1)return n;const i=[];let r=[];return n.forEach(o=>{o[0]==="["?(i.push(...r.sort(),o),r=[]):r.push(o)}),i.push(...r.sort()),i},a2=n=>({cache:t2(n.cacheSize),parseClassName:e2(n),...ZR(n)}),i2=/\s+/,l2=(n,i)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:u}=i,f=[],d=n.trim().split(i2);let h="";for(let p=d.length-1;p>=0;p-=1){const y=d[p],{modifiers:g,hasImportantModifier:v,baseClassName:S,maybePostfixModifierPosition:x}=r(y);let C=!!x,j=o(C?S.substring(0,x):S);if(!j){if(!C){h=y+(h.length>0?" "+h:h);continue}if(j=o(S),!j){h=y+(h.length>0?" "+h:h);continue}C=!1}const A=n2(g).join(":"),L=v?A+oS:A,G=L+j;if(f.includes(G))continue;f.push(G);const Y=u(j,C);for(let K=0;K<Y.length;++K){const Z=Y[K];f.push(L+Z)}h=y+(h.length>0?" "+h:h)}return h};function r2(){let n=0,i,r,o="";for(;n<arguments.length;)(i=arguments[n++])&&(r=sS(i))&&(o&&(o+=" "),o+=r);return o}const sS=n=>{if(typeof n=="string")return n;let i,r="";for(let o=0;o<n.length;o++)n[o]&&(i=sS(n[o]))&&(r&&(r+=" "),r+=i);return r};function o2(n,...i){let r,o,u,f=d;function d(p){const y=i.reduce((g,v)=>v(g),n());return r=a2(y),o=r.cache.get,u=r.cache.set,f=h,h(p)}function h(p){const y=o(p);if(y)return y;const g=l2(p,r);return u(p,g),g}return function(){return f(r2.apply(null,arguments))}}const ne=n=>{const i=r=>r[n]||[];return i.isThemeGetter=!0,i},uS=/^\[(?:([a-z-]+):)?(.+)\]$/i,s2=/^\d+\/\d+$/,u2=new Set(["px","full","screen"]),c2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,f2=/\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$/,d2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,h2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,m2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fa=n=>gr(n)||u2.has(n)||s2.test(n),zi=n=>wr(n,"length",T2),gr=n=>!!n&&!Number.isNaN(Number(n)),mh=n=>wr(n,"number",gr),Mo=n=>!!n&&Number.isInteger(Number(n)),p2=n=>n.endsWith("%")&&gr(n.slice(0,-1)),Ct=n=>uS.test(n),Ni=n=>c2.test(n),y2=new Set(["length","size","percentage"]),g2=n=>wr(n,y2,cS),v2=n=>wr(n,"position",cS),b2=new Set(["image","url"]),S2=n=>wr(n,b2,E2),x2=n=>wr(n,"",w2),Do=()=>!0,wr=(n,i,r)=>{const o=uS.exec(n);return o?o[1]?typeof i=="string"?o[1]===i:i.has(o[1]):r(o[2]):!1},T2=n=>f2.test(n)&&!d2.test(n),cS=()=>!1,w2=n=>h2.test(n),E2=n=>m2.test(n),C2=()=>{const n=ne("colors"),i=ne("spacing"),r=ne("blur"),o=ne("brightness"),u=ne("borderColor"),f=ne("borderRadius"),d=ne("borderSpacing"),h=ne("borderWidth"),p=ne("contrast"),y=ne("grayscale"),g=ne("hueRotate"),v=ne("invert"),S=ne("gap"),x=ne("gradientColorStops"),C=ne("gradientColorStopPositions"),j=ne("inset"),A=ne("margin"),L=ne("opacity"),G=ne("padding"),Y=ne("saturate"),K=ne("scale"),Z=ne("sepia"),rt=ne("skew"),W=ne("space"),ft=ne("translate"),H=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],J=()=>["auto",Ct,i],nt=()=>[Ct,i],gt=()=>["",Fa,zi],ht=()=>["auto",gr,Ct],it=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],P=()=>["solid","dashed","dotted","double","none"],tt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],mt=()=>["","0",Ct],dt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Lt=()=>[gr,Ct];return{cacheSize:500,separator:":",theme:{colors:[Do],spacing:[Fa,zi],blur:["none","",
vendor: 11,631 bytes, line 270
270Ni,Ct],brightness:Lt(),borderColor:[n],borderRadius:["none","","full",Ni,Ct],borderSpacing:nt(),borderWidth:gt(),contrast:Lt(),grayscale:mt(),hueRotate:Lt(),invert:mt(),gap:nt(),gradientColorStops:[n],gradientColorStopPositions:[p2,zi],inset:J(),margin:J(),opacity:Lt(),padding:nt(),saturate:Lt(),scale:Lt(),sepia:mt(),skew:Lt(),space:nt(),translate:nt()},classGroups:{aspect:[{aspect:["auto","square","video",Ct]}],container:["container"],columns:[{columns:[Ni]}],"break-after":[{"break-after":dt()}],"break-before":[{"break-before":dt()}],"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"],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:[...it(),Ct]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[j]}],"inset-x":[{"inset-x":[j]}],"inset-y":[{"inset-y":[j]}],start:[{start:[j]}],end:[{end:[j]}],top:[{top:[j]}],right:[{right:[j]}],bottom:[{bottom:[j]}],left:[{left:[j]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Mo,Ct]}],basis:[{basis:J()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ct]}],grow:[{grow:mt()}],shrink:[{shrink:mt()}],order:[{order:["first","last","none",Mo,Ct]}],"grid-cols":[{"grid-cols":[Do]}],"col-start-end":[{col:["auto",{span:["full",Mo,Ct]},Ct]}],"col-start":[{"col-start":ht()}],"col-end":[{"col-end":ht()}],"grid-rows":[{"grid-rows":[Do]}],"row-start-end":[{row:["auto",{span:[Mo,Ct]},Ct]}],"row-start":[{"row-start":ht()}],"row-end":[{"row-end":ht()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ct]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ct]}],gap:[{gap:[S]}],"gap-x":[{"gap-x":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[G]}],px:[{px:[G]}],py:[{py:[G]}],ps:[{ps:[G]}],pe:[{pe:[G]}],pt:[{pt:[G]}],pr:[{pr:[G]}],pb:[{pb:[G]}],pl:[{pl:[G]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[W]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[W]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ct,i]}],"min-w":[{"min-w":[Ct,i,"min","max","fit"]}],"max-w":[{"max-w":[Ct,i,"none","full","min","max","fit","prose",{screen:[Ni]},Ni]}],h:[{h:[Ct,i,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ct,i,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ct,i,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ct,i,"auto","min","max","fit"]}],"font-size":[{text:["base",Ni,zi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",mh]}],"font-family":[{font:[Do]}],"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:["tighter","tight","normal","wide","wider","widest",Ct]}],"line-clamp":[{"line-clamp":["none",gr,mh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fa,Ct]}],"list-image":[{"list-image":["none",Ct]}],"list-style-type":[{list:["none","disc","decimal",Ct]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[L]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[L]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...P(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Fa,zi]}],"underline-offset":[{"underline-offset":["auto",Fa,Ct]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:nt()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ct]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ct]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[L]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...it(),v2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",g2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},S2]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[f]}],"rounded-s":[{"rounded-s":[f]}],"rounded-e":[{"rounded-e":[f]}],"rounded-t":[{"rounded-t":[f]}],"rounded-r":[{"rounded-r":[f]}],"rounded-b":[{"rounded-b":[f]}],"rounded-l":[{"rounded-l":[f]}],"rounded-ss":[{"rounded-ss":[f]}],"rounded-se":[{"rounded-se":[f]}],"rounded-ee":[{"rounded-ee":[f]}],"rounded-es":[{"rounded-es":[f]}],"rounded-tl":[{"rounded-tl":[f]}],"rounded-tr":[{"rounded-tr":[f]}],"rounded-br":[{"rounded-br":[f]}],"rounded-bl":[{"rounded-bl":[f]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[L]}],"border-style":[{border:[...P(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[L]}],"divide-style":[{divide:P()}],"border-color":[{border:[u]}],"border-color-x":[{"border-x":[u]}],"border-color-y":[{"border-y":[u]}],"border-color-s":[{"border-s":[u]}],"border-color-e":[{"border-e":[u]}],"border-color-t":[{"border-t":[u]}],"border-color-r":[{"border-r":[u]}],"border-color-b":[{"border-b":[u]}],"border-color-l":[{"border-l":[u]}],"divide-color":[{divide:[u]}],"outline-style":[{outline:["",...P()]}],"outline-offset":[{"outline-offset":[Fa,Ct]}],"outline-w":[{outline:[Fa,zi]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[L]}],"ring-offset-w":[{"ring-offset":[Fa,zi]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Ni,x2]}],"shadow-color":[{shadow:[Do]}],opacity:[{opacity:[L]}],"mix-blend":[{"mix-blend":[...tt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":tt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",Ni,Ct]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[v]}],saturate:[{saturate:[Y]}],sepia:[{sepia:[Z]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[L]}],"backdrop-saturate":[{"backdrop-saturate":[Y]}],"backdrop-sepia":[{"backdrop-sepia":[Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ct]}],duration:[{duration:Lt()}],ease:[{ease:["linear","in","out","in-out",Ct]}],delay:[{delay:Lt()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ct]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-x":[{"scale-x":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[Mo,Ct]}],"translate-x":[{"translate-x":[ft]}],"translate-y":[{"translate-y":[ft]}],"skew-x":[{"skew-x":[rt]}],"skew-y":[{"skew-y":[rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ct]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],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",Ct]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":nt()}],"scroll-mx":[{"scroll-mx":nt()}],"scroll-my":[{"scroll-my":nt()}],"scroll-ms":[{"scroll-ms":nt()}],"scroll-me":[{"scroll-me":nt()}],"scroll-mt":[{"scroll-mt":nt()}],"scroll-mr":[{"scroll-mr":nt()}],"scroll-mb":[{"scroll-mb":nt()}],"scroll-ml":[{"scroll-ml":nt()}],"scroll-p":[{"scroll-p":nt()}],"scroll-px":[{"scroll-px":nt()}],"scroll-py":[{"scroll-py":nt()}],"scroll-ps":[{"scroll-ps":nt()}],"scroll-pe":[{"scroll-pe":nt()}],"scroll-pt":[{"scroll-pt":nt()}],"scroll-pr":[{"scroll-pr":nt()}],"scroll-pb":[{"scroll-pb":nt()}],"scroll-pl":[{"scroll-pl":nt()}],"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"]}
270],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",Ct]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Fa,zi,mh]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}},A2=o2(C2);function R2(...n){return A2(QR(n))}function M2({children:n,config:i={},className:r}){const{layout:o={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=i,u=()=>{switch(o.background){case"muted":return"bg-muted";case"gradient":return"bg-gradient-to-b from-background to-muted/20";default:return"bg-background"}};return O.jsx("div",{className:R2(o.minHeight!==!1&&"min-h-screen",u(),"flex flex-col",r),children:n})}function D2({children:n}){return O.jsxs(M2,{children:[O.jsxs(w1,{children:[O.jsx("title",{children:"Majora Carter Group â Real Estate Development & Community Revitalization"}),O.jsx("meta",{name:"description",content:"Majora Carter Group provides real estate development, community revitalization strategy, and speaking services led by MacArthur Fellow Majora Carter."}),O.jsx("meta",{property:"og:site_name",content:"Majora Carter Group"}),O.jsx("meta",{property:"og:type",content:"website"}),O.jsx("meta",{property:"og:image",content:"https://majoracartergroup.com/assets/images/99c6161e698e628ae70a9842c2b245fd.jpg"}),O.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),O.jsx("meta",{name:"twitter:site",content:"@majoracarter"})]}),O.jsx(aS,{}),O.jsx(KR,{}),n,O.jsx(FR,{})]})}function z2({className:n}){return O.jsx("div",{className:`inline-block ${n||""}`,children:O.jsxs("svg",{className:"animate-spin h-8 w-8 text-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[O.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),O.jsx("path",{className:"opacity-20",fill:"currentColor",d:"m4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const N2="modulepreload",O2=function(n){return"/"+n},eb={},Er=function(i,r,o){let u=Promise.resolve();if(r&&r.length>0){let d=function(y){return Promise.all(y.map(g=>Promise.resolve(g).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),p=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));u=d(r.map(y=>{if(y=O2(y),y in eb)return;eb[y]=!0;const g=y.endsWith(".css"),v=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${v}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":N2,g||(S.as="script"),S.crossOrigin="",S.href=y,p&&S.setAttribute("nonce",p),document.head.appendChild(S),g)return new Promise((x,C)=>{S.addEventListener("load",x),S.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return u.then(d=>{for(const h of d||[])h.status==="rejected"&&f(h.reason);return i().catch(f)})},fS=w.createContext({});function j2(n){const i=w.useRef(null);return i.current===null&&(i.current=n()),i.current}const L2=typeof window<"u",V2=L2?w.useLayoutEffect:w.useEffect,zm=w.createContext(null);function Nm(n,i){n.indexOf(i)===-1&&n.push(i)}function tc(n,i){const r=n.indexOf(i);r>-1&&n.splice(r,1)}const wa=(n,i,r)=>r>i?i:r<n?n:r;let Om=()=>{};const Ui={},dS=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function hS(n){return typeof n=="object"&&n!==null}const mS=n=>/^0[^.\s]+$/u.test(n);function pS(n){let i;return()=>(i===void 0&&(i=n()),i)}const Xn=n=>
vendor: 10,459 bytes, line 270
270n,_2=(n,i)=>r=>i(n(r)),as=(...n)=>n.reduce(_2),Po=(n,i,r)=>{const o=i-n;return o===0?1:(r-n)/o};class jm{constructor(){this.subscriptions=[]}add(i){return Nm(this.subscriptions,i),()=>tc(this.subscriptions,i)}notify(i,r,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,r,o);else for(let f=0;f<u;f++){const d=this.subscriptions[f];d&&d(i,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Cn=n=>n*1e3,Yn=n=>n/1e3;function yS(n,i){return i?n*(1e3/i):0}const gS=(n,i,r)=>(((1-3*r+3*i)*n+(3*r-6*i))*n+3*i)*n,U2=1e-7,B2=12;function H2(n,i,r,o,u){let f,d,h=0;do d=i+(r-i)/2,f=gS(d,o,u)-n,f>0?r=d:i=d;while(Math.abs(f)>U2&&++h<B2);return d}function is(n,i,r,o){if(n===i&&r===o)return Xn;const u=f=>H2(f,0,1,n,r);return f=>f===0||f===1?f:gS(u(f),i,o)}const vS=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,bS=n=>i=>1-n(1-i),SS=is(.33,1.53,.69,.99),Lm=bS(SS),xS=vS(Lm),TS=n=>n>=1?1:(n*=2)<1?.5*Lm(n):.5*(2-Math.pow(2,-10*(n-1))),Vm=n=>1-Math.sin(Math.acos(n)),wS=bS(Vm),ES=vS(Vm),G2=is(.42,0,1,1),Y2=is(0,0,.58,1),CS=is(.42,0,.58,1),q2=n=>Array.isArray(n)&&typeof n[0]!="number",AS=n=>Array.isArray(n)&&typeof n[0]=="number",X2={linear:Xn,easeIn:G2,easeInOut:CS,easeOut:Y2,circIn:Vm,circInOut:ES,circOut:wS,backIn:Lm,backInOut:xS,backOut:SS,anticipate:TS},k2=n=>typeof n=="string",nb=n=>{if(AS(n)){Om(n.length===4);const[i,r,o,u]=n;return is(i,r,o,u)}else if(k2(n))return X2[n];return n},Uu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function P2(n,i){let r=new Set,o=new Set,u=!1,f=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(g){d.has(g)&&(y.schedule(g),n()),g(h)}const y={schedule:(g,v=!1,S=!1)=>{const C=S&&u?r:o;return v&&d.add(g),C.add(g),g},cancel:g=>{o.delete(g),d.delete(g)},process:g=>{if(h=g,u){f=!0;return}u=!0;const v=r;r=o,o=v,r.forEach(p),r.clear(),u=!1,f&&(f=!1,y.process(g))}};return y}const F2=40;function RS(n,i){let r=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>r=!0,d=Uu.reduce((Y,K)=>(Y[K]=P2(f),Y),{}),{setup:h,read:p,resolveKeyframes:y,preUpdate:g,update:v,preRender:S,render:x,postRender:C}=d,j=()=>{const Y=Ui.useManualTiming,K=Y?u.timestamp:performance.now();r=!1,Y||(u.delta=o?1e3/60:Math.max(Math.min(K-u.timestamp,F2),1)),u.timestamp=K,u.isProcessing=!0,h.process(u),p.process(u),y.process(u),g.process(u),v.process(u),S.process(u),x.process(u),C.process(u),u.isProcessing=!1,r&&i&&(o=!1,n(j))},A=()=>{r=!0,o=!0,u.isProcessing||n(j)};return{schedule:Uu.reduce((Y,K)=>{const Z=d[K];return Y[K]=(rt,W=!1,ft=!1)=>(r||A(),Z.schedule(rt,W,ft)),Y},{}),cancel:Y=>{for(let K=0;K<Uu.length;K++)d[Uu[K]].cancel(Y)},state:u,steps:d}}const{schedule:It,cancel:Bi,state:Be,steps:ph}=RS(typeof requestAnimationFrame<"u"?requestAnimationFrame:Xn,!0);let Xu;function K2(){Xu=void 0}const Ie={now:()=>(Xu===void 0&&Ie.set(Be.isProcessing||Ui.useManualTiming?Be.timestamp:performance.now()),Xu),set:n=>{Xu=n,queueMicrotask(K2)}},MS=n=>i=>typeof i=="string"&&i.startsWith(n),DS=MS("--"),Q2=MS("var(--"),_m=n=>Q2(n)?Z2.test(n.split("/*")[0].trim()):!1,Z2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ab(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Cr={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Fo={...Cr,transform:n=>wa(0,1,n)},Bu={...Cr,default:1},Uo=n=>Math.round(n*1e5)/1e5,Um=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function J2(n){return n==null}const I2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Bm=(n,i)=>r=>!!(typeof r=="string"&&I2.test(r)&&r.startsWith(n)||i&&!J2(r)&&Object.prototype.hasOwnProperty.call(r,i)),zS=(n,i,r)=>o=>{if(typeof o!="string")return o;const[u,f,d,h]=o.match(Um);return{[n]:parseFloat(u),[i]:parseFloat(f),[r]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},W2=n=>wa(0,255,n),yh={...Cr,transform:n=>Math.round(W2(n))},yl={test:Bm("rgb","red"),parse:zS("red","green","blue"),transform:({red:n,green:i,blue:r,alpha:o=1})=>"rgba("+yh.transform(n)+", "+yh.transform(i)+", "+yh.transform(r)+", "+Uo(Fo.transform(o))+")"};function $2(n){let i="",r="",o="",u="";return n.length>5?(i=n.substring(1,3),r=n.substring(3,5),o=n.substring(5,7),u=n.substring(7,9)):(i=n.substring(1,2),r=n.substring(2,3),o=n.substring(3,4),u=n.substring(4,5),i+=i,r+=r,o+=o,u+=u),{red:parseInt(i,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const Xh={test:Bm("#"),parse:$2,transform:yl.transform},ls=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),Oi=ls("deg"),Ta=ls("%"),ut=ls("px"),tM=ls("vh"),eM=ls("vw"),ib={...Ta,parse:n=>Ta.parse(n)/100,transform:n=>Ta.transform(n*100)},dr={test:Bm("hsl","hue"),parse:zS("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:r,alpha:o=1})=>"hsla("+Math.round(n)+", "+Ta.transform(Uo(i))+", "+Ta.transform(Uo(r))+", "+Uo(Fo.transform(o))+")"},xe={test:n=>yl.test(n)||Xh.test(n)||dr.test(n),parse:n=>yl.test(n)?yl.parse(n):dr.test(n)?dr.parse(n):Xh.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?yl.transform(n):dr.transform(n),getAnimatableNone:n=>{const i=xe.parse(n);return i.alpha=0,xe.transform(i)}},nM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function aM(n){var i,r;return isNaN(n)&&typeof n=="string"&&(((i=n.match(Um))==null?void 0:i.length)||0)+(((r=n.match(nM))==null?void 0:r.length)||0)>0}const NS="number",OS="color",iM="var",lM="var(",lb="${}",rM=/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 br(n){const i=n.toString(),r=[],o={color:[],number:[],var:[]},u=[];let f=0;const h=i.replace(rM,p=>(xe.test(p)?(o.color.push(f),u.push(OS),r.push(xe.parse(p))):p.startsWith(lM)?(o.var.push(f),u.push(iM),r.push(p)):(o.number.push(f),u.push(NS),r.push(parseFloat(p))),++f,lb)).split(lb);return{values:r,split:h,indexes:o,types:u}}function oM(n){return br(n).values}function jS({split:n,types:i}){const r=n.length;return o=>{let u="";for(let f=0;f<r;f++)if(u+=n[f],o[f]!==void 0){const d=i[f];d===NS?u+=Uo(o[f]):d===OS?u+=xe.transform(o[f]):u+=o[f]}return u}}function sM(n){return jS(br(n))}const uM=n=>typeof n=="number"?0:xe.test(n)?xe.getAnimatableNone(n):n,cM=(n,i)=>typeof n=="number"?i!=null&&i.trim().endsWith("/")?n:0:uM(n);function fM(n){const i=br(n);return jS(i)(i.values.map((o,u)=>cM(o,i.split[u])))}const aa={test:aM,parse:oM,createTransformer:sM,getAnimatableNone:fM};function gh(n,i,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?n+(i-n)*6*r:r<1/2?i:r<2/3?n+(i-n)*(2/3-r)*6:n}function dM({hue:n,saturation:i,lightness:r,alpha:o}){n/=360,i/=100,r/=100;let u=0,f=0,d=0;if(!i)u=f=d=r;else{const h=r<.5?r*(1+i):r+i-r*i,p=2*r-h;u=gh(p,h,n+1/3),f=gh(p,h,n),d=gh(p,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:o}}function ec(n,i){return r=>r>0?i:n}const ae=(n,i,r)=>n+(i-n)*r,vh=(n,i,r)=>{const o=n*n,u=r*(i*i-o)+o;return u<0?0:Math.sqrt(u)},hM=[Xh,yl,dr],mM=n=>hM.find(i=>i.test(n));function rb(n){const i=mM(n);if(!i)return!1;let r=i.parse(n);return i===dr&&(r=dM(r)),r}const ob=(n,i)=>{const r=rb(n),o=rb(i);if(!r||!o)return ec(n,i);const u={...r};return f=>(u.red=vh(r.red,o.red,f),u.green=vh(r.green,o.green,f),u.blue=vh(r.blue,o.blue,f),u.alpha=ae(r.alpha,o.alpha,f),yl.transform(u))},kh=new Set(["none","hidden"]);function pM(n,i){return kh.has(n)?r=>r<=0?n:i:r=>r>=1?i:n}function yM(n,i){return r=>ae(n,i,r)}function Hm(n){return typeof n=="number"?yM:typeof n=="string"?_m(n)?ec:xe.test(n)?ob:bM:Array.isArray(n)?LS:typeof n=="object"?xe.test(n)?ob:gM:ec}function LS(n,i){const r=[...n],o=r.length,u=n.map((f,d)=>Hm(f)(f,i[d]));return f=>{for(let d=0;d<o;d++)r[d]=u[d](f);return r}}function gM(n,i){const r={...n,...i},o={};for(const u in r)n[u]!==void 0&&i[u]!==void 0&&(o[u]=Hm(n[u])(n[u],i[u]));return u=>{for(const f in o)r[f]=o[f](u);return r}}function vM(n,i){const r=[],o={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const f=i.types[u],d=n.indexes[f][o[f]],h=n.values[d]??0;r[u]=h,o[f]++}return r}const bM=(n,i)=>{const r=aa.createTransformer(i),o=br(n),u=br(i);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?kh.has(n)&&!u.values.length||kh.has(i)&&!o.values.length?pM(n,i):as(LS(vM(o,u),u.values),r):ec(n,i)};function VS(n,i,r){return typeof n=="number"&&typeof i=="number"&&typeof r=="number"?ae(n,i,r):Hm(n)(n,i)}const SM=n=>{const i=({timestamp:r})=>n(r);return{start:(r=!0)=>It.update(i,r),stop:()=>Bi(i),now:()=>Be.isProcessing?Be.timestamp:Ie.now()}},_S=(n,i,r=10)=>{let o="";const u=Math.max(Math.round(i/r),2);for(let f=0;f<u;f++)o+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},nc=2e4;function Gm(n){let i=0;const r=50;let o=n.next(i);for(;!o.done&&i<nc;)i+=r,o=n.next(i);return i>=nc?1/0:i}function xM(n,i=100,r){const o=r({...n,keyframes:[0,i]}),u=Math.min(Gm(o),nc);return{type:"keyframes",ease:f=>o.next(u*f).value/i,duration:Yn(u)}}const fe={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 Ph(n,i){return n*Math.sqrt(1-i*i)}const TM=12;function wM(n,i,r){let o=r;for(let u=1;u<TM;u++)o=o-n(o)/i(o);return o}const bh=.001;function EM({duration:n=fe.duration,bounce:i=fe.bounce,velocity:r=fe.velocity,mass:o=fe.mass}){let u,f,d=1-i;d=wa(fe.minDamping,fe.maxDamping,d),n=wa(fe.minDuration,fe.maxDuration,Yn(n)),d<1?(u=y=>{const g=y*d,v=g*n,S=g-r,x=Ph(y,d),C=Math.exp(-v);return bh-S/x*C},f=y=>{const v=y*d*n,S=v*r+r,x=Math.pow(d,2)*Math.pow(y,2)*n,C=Math.exp(-v),j=Ph(Math.pow(y,2),d);return(-u(y)+bh>0?-1:1)*((S-x)*C)/j}):(u=y=>{const g=Math.exp(-y*n),v=(y-r)*n+1;return-bh+g*v},f=y=>{const g=Math.exp(-y*n),v=(r-y)*(n*n);return g*v});const h=5/n,p=wM(u,f,h);if(n=Cn(n),isNaN(p))return{stiffness:fe.stiffness,damping:fe.damping,duration:n};{const y=Math.pow(p,2)*o;return{stiffness:y,damping:d*2*Math.sqrt(o*y),duration:n}}}const CM=["duration","bounce"],AM=["stiffness","damping","mass"];
270function sb(n,i){return i.some(r=>n[r]!==void 0)}function RM(n){let i={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...n};if(!sb(n,AM)&&sb(n,CM))if(i.velocity=0,n.visualDuration){const r=n.visualDuration,o=2*Math.PI/(r*1.2),u=o*o,f=2*wa(.05,1,1-(n.bounce||0))*Math.sqrt(u);i={...i,mass:fe.mass,stiffness:u,damping:f}}else{const r=EM({...n,velocity:0});i={...i,...r,mass:fe.mass},i.isResolvedFromDuration=!0}return i}function ac(n=fe.visualDuration,i=fe.bounce){const r=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:o,restDelta:u}=r;const f=r.keyframes[0],d=r.keyframes[r.keyframes.length-1],h={done:!1,value:f},{stiffness:p,damping:y,mass:g,duration:v,velocity:S,isResolvedFromDuration:x}=RM({...r,velocity:-Yn(r.velocity||0)}),C=S||0,j=y/(2*Math.sqrt(p*g)),A=d-f,L=Yn(Math.sqrt(p/g)),G=Math.abs(A)<5;o||(o=G?fe.restSpeed.granular:fe.restSpeed.default),u||(u=G?fe.restDelta.granular:fe.restDelta.default);let Y,K,Z,rt,W,ft;if(j<1)Z=Ph(L,j),rt=(C+j*L*A)/Z,Y=$=>{const J=Math.exp(-j*L*$);return d-J*(rt*Math.sin(Z*$)+A*Math.cos(Z*$))},W=j*L*rt+A*Z,ft=j*L*A-rt*Z,K=$=>Math.exp(-j*L*$)*(W*Math.sin(Z*$)+ft*Math.cos(Z*$));else if(j===1){Y=J=>d-Math.exp(-L*J)*(A+(C+L*A)*J);const $=C+L*A;K=J=>Math.exp(-L*J)*(L*$*J-C)}else{const $=L*Math.sqrt(j*j-1);Y=ht=>{const it=Math.exp(-j*L*ht),P=Math.min($*ht,300);return d-it*((C+j*L*A)*Math.sinh(P)+$*A*Math.cosh(P))/$};const J=(C+j*L*A)/$,nt=j*L*J-A*$,gt=j*L*A-J*$;K=ht=>{const it=Math.exp(-j*L*ht),P=Math.min($*ht,300);return it*(nt*Math.sinh(P)+gt*Math.cosh(P))}}const H={calculatedDuration:x&&v||null,velocity:$=>Cn(K($)),next:$=>{if(!x&&j<1){const nt=Math.exp(-j*L*$),gt=Math.sin(Z*$),ht=Math.cos(Z*$),it=d-nt*(rt*gt+A*ht),P=Cn(nt*(W*gt+ft*ht));return h.done=Math.abs(P)<=o&&Math.abs(d-it)<=u,h.value=h.done?d:it,h}const J=Y($);if(x)h.done=$>=v;else{const nt=Cn(K($));h.done=Math.abs(nt)<=o&&Math.abs(d-J)<=u}return h.value=h.done?d:J,h},toString:()=>{const $=Math.min(Gm(H),nc),J=_S(nt=>H.next($*nt).value,$,30);return $+"ms "+J},toTransition:()=>{}};return H}ac.applyToOptions=n=>{const i=xM(n,100,ac);return n.ease=i.ease,n.duration=Cn(i.duration),n.type="keyframes",n};const MM=5;function US(n,i,r){const o=Math.max(i-MM,0);return yS(r-n(o),i-o)}function Fh({keyframes:n,velocity:i=0,power:r=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:d,min:h,max:p,restDelta:y=.5,restSpeed:g}){const v=n[0],S={done:!1,value:v},x=ft=>h!==void 0&&ft<h||p!==void 0&&ft>p,C=ft=>h===void 0?p:p===void 0||Math.abs(h-ft)<Math.abs(p-ft)?h:p;let j=r*i;const A=v+j,L=d===void 0?A:d(A);L!==A&&(j=L-v);const G=ft=>-j*Math.exp(-ft/o),Y=ft=>L+G(ft),K=ft=>{const H=G(ft),$=Y(ft);S.done=Math.abs(H)<=y,S.value=S.done?L:$};let Z,rt;const W=ft=>{x(S.value)&&(Z=ft,rt=ac({keyframes:[S.value,C(S.value)],velocity:US(Y,ft,S.value),damping:u,stiffness:f,restDelta:y,restSpeed:g}))};return W(0),{calculatedDuration:null,next:ft=>{let H=!1;return!rt&&Z===void 0&&(H=!0,K(ft),W(ft)),Z!==void 0&&ft>=Z?rt.next(ft-Z):(!H&&K(ft),S)}}}function DM(n,i,r){const o=[],u=r||Ui.mix||VS,f=n.length-1;for(let d=0;d<f;d++){let h=u(n[d],n[d+1]);if(i){const p=Array.isArray(i)?i[d]||Xn:i;h=as(p,h)}o.push(h)}return o}function zM(n,i,{clamp:r=!0,ease:o,mixer:u}={}){const f=n.length;if(Om(f===i.length),f===1)return()=>i[0];if(f===2&&i[0]===i[1])return()=>i[1];const d=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),i=[...i].reverse());const h=DM(i,o,u),p=h.length,y=g=>{if(d&&g<n[0])return i[0];let v=0;if(p>1)for(;v<n.length-2&&!(g<n[v+1]);v++);const S=Po(n[v],n[v+1],g);return h[v](S)};return r?g=>y(wa(n[0],n[f-1],g)):y}function NM(n,i){const r=n[n.length-1];for(let o=1;o<=i;o++){const u=Po(0,i,o);n.push(ae(r,1,u))}}function OM(n){const i=[0];return NM(i,n.length-1),i}function jM(n,i){return n.map(r=>r*i)}function LM(n,i){return n.map(()=>i||CS).splice(0,n.length-1)}function Bo({duration:n=300,keyframes:i,times:r,ease:o="easeInOut"}){const u=q2(o)?o.map(nb):nb(o),f={done:!1,value:i[0]},d=jM(r&&r.length===i.length?r:OM(i),n),h=zM(d,i,{ease:Array.isArray(u)?u:LM(i,u)});return{calculatedDuration:n,next:p=>(f.value=h(p),f.done=p>=n,f)}}const VM=n=>n!==null;function bc(n,{repeat:i,repeatType:r="loop"},o,u=1){const f=n.filter(VM),h=u<0||i&&r!=="loop"&&i%2===1?0:f.length-1;return!h||o===void 0?f[h]:o}
270const _M={decay:Fh,inertia:Fh,tween:Bo,keyframes:Bo,spring:ac};function BS(n){typeof n.type=="string"&&(n.type=_M[n.type])}class Ym{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,r){return this.finished.then(i,r)}}const UM=n=>n/100;class ic extends Ym{constructor(i){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=()=>{var o,u;const{motionValue:r}=this.options;r&&r.updatedAt!==Ie.now()&&this.tick(Ie.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(o=this.options).onStop)==null||u.call(o))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;BS(i);const{type:r=Bo,repeat:o=0,repeatDelay:u=0,repeatType:f,velocity:d=0}=i;let{keyframes:h}=i;const p=r||Bo;p!==Bo&&typeof h[0]!="number"&&(this.mixKeyframes=as(UM,VS(h[0],h[1])),h=[0,100]);const y=p({...i,keyframes:h});f==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...h].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=Gm(y));const{calculatedDuration:g}=y;this.calculatedDuration=g,this.resolvedDuration=g+u,this.totalDuration=this.resolvedDuration*(o+1)-u,this.generator=y}updateTime(i){const r=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(i,r=!1){const{generator:o,totalDuration:u,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return o.next(0);const{delay:y=0,keyframes:g,repeat:v,repeatType:S,repeatDelay:x,type:C,onUpdate:j,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-u/this.speed,this.startTime)),r?this.currentTime=i:this.updateTime(i);const L=this.currentTime-y*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?L<0:L>u;this.currentTime=Math.max(L,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let Y=this.currentTime,K=o;if(v){const ft=Math.min(this.currentTime,u)/h;let H=Math.floor(ft),$=ft%1;!$&&ft>=1&&($=1),$===1&&H--,H=Math.min(H,v+1),!!(H%2)&&(S==="reverse"?($=1-$,x&&($-=x/h)):S==="mirror"&&(K=d)),Y=wa(0,1,$)*h}let Z;G?(this.delayState.value=g[0],Z=this.delayState):Z=K.next(Y),f&&!G&&(Z.value=f(Z.value));let{done:rt}=Z;!G&&p!==null&&(rt=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const W=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&rt);return W&&C!==Fh&&(Z.value=bc(g,this.options,A,this.speed)),j&&j(Z.value),W&&this.finish(),Z}then(i,r){return this.finished.then(i,r)}get duration(){return Yn(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Yn(i)}get time(){return Yn(this.currentTime)}set time(i){i=Cn(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const r=this.generator.next(i).value;return US(o=>this.generator.next(o).value,i,r)}get speed(){return this.playbackSpeed}set speed(i){const r=this.playbackSpeed!==i;r&&this.driver&&this.updateTime(Ie.now()),this.playbackSpeed=i,r&&this.driver&&(this.time=Yn(this.currentTime))}play(){var u,f;if(this.isStopped)return;const{driver:i=SM,startTime:r}=this.options;this.driver||(this.driver=i(d=>this.tick(d))),(f=(u=this.options).onPlay)==null||f.call(u);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ie.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,r;this.notifyFinished(),this.teardown(),this.state="finished",(r=(i=this.options).onComplete)==null||r.call(i)}cancel(){var i,r;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(r=(i=this.options).onCancel)==null||r.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var r;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(r=this.driver)==null||r.stop(),i.observe(this)}}function BM(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const gl=n=>n*180/Math.PI,Kh=n=>{const i=gl(Math.atan2(n[1],n[0]));return Qh(i)},HM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:Kh,rotateZ:Kh,skewX:n=>gl(Math.atan(n[1])),skewY:n=>gl(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},Qh=n=>(n=n%360,n<0&&(n+=360),n),ub=Kh,cb=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),fb=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),GM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:cb,scaleY:fb,scale:n=>(cb(n)+fb(n))/2,rotateX:n=>Qh(gl(Math.atan2(n[6],n[5]))),rotateY:n=>Qh(gl(Math.atan2(-n[2],n[0]))),rotateZ:ub,rotate:ub,skewX:n=>gl(Math.atan(n[4])),skewY:n=>gl(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Zh(n){return n.includes("scale")?1:0}
vendor: 3,276 bytes, line 270
270function Jh(n,i){if(!n||n==="none")return Zh(i);const r=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(r)o=GM,u=r;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=HM,u=h}if(!u)return Zh(i);const f=o[i],d=u[1].split(",").map(qM);return typeof f=="function"?f(d):d[f]}const YM=(n,i)=>{const{transform:r="none"}=getComputedStyle(n);return Jh(r,i)};function qM(n){return parseFloat(n.trim())}const Ar=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rr=new Set(Ar),db=n=>n===Cr||n===ut,XM=new Set(["x","y","z"]),kM=Ar.filter(n=>!XM.has(n));function PM(n){const i=[];return kM.forEach(r=>{const o=n.getValue(r);o!==void 0&&(i.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),i}const _i={width:({x:n},{paddingLeft:i="0",paddingRight:r="0",boxSizing:o})=>{const u=n.max-n.min;return o==="border-box"?u:u-parseFloat(i)-parseFloat(r)},height:({y:n},{paddingTop:i="0",paddingBottom:r="0",boxSizing:o})=>{const u=n.max-n.min;return o==="border-box"?u:u-parseFloat(i)-parseFloat(r)},top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>Jh(i,"x"),y:(n,{transform:i})=>Jh(i,"y")};_i.translateX=_i.x;_i.translateY=_i.y;const vl=new Set;let Ih=!1,Wh=!1,$h=!1;function HS(){if(Wh){const n=Array.from(vl).filter(o=>o.needsMeasurement),i=new Set(n.map(o=>o.element)),r=new Map;i.forEach(o=>{const u=PM(o);u.length&&(r.set(o,u),o.render())}),n.forEach(o=>o.measureInitialState()),i.forEach(o=>{o.render();const u=r.get(o);u&&u.forEach(([f,d])=>{var h;(h=o.getValue(f))==null||h.set(d)})}),n.forEach(o=>o.measureEndState()),n.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Wh=!1,Ih=!1,vl.forEach(n=>n.complete($h)),vl.clear()}function GS(){vl.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Wh=!0)})}function FM(){$h=!0,GS(),HS(),$h=!1}class qm{constructor(i,r,o,u,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=r,this.name=o,this.motionValue=u,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(vl.add(this),Ih||(Ih=!0,It.read(GS),It.resolveKeyframes(HS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:r,element:o,motionValue:u}=this;if(i[0]===null){const f=u==null?void 0:u.get(),d=i[i.length-1];if(f!==void 0)i[0]=f;else if(o&&r){const h=o.readValue(r,d);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=d),u&&f===void 0&&u.set(i[0])}BM(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),vl.delete(this)}cancel(){this.state==="scheduled"&&(vl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const KM=n=>n.startsWith("--");function YS(n,i,r){KM(i)?n.style.setProperty(i,r):n.style[i]=r}const QM={};function qS(n,i){const r=pS(n);return()=>QM[i]??r()}const ZM=qS(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),XS=qS(()=>{try{document.createElement("div").animate({opacity:0}
270,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),No=([n,i,r,o])=>`cubic-bezier(${n}, ${i}, ${r}, ${o})`,hb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:No([0,.65,.55,1]),circOut:No([.55,0,1,.45]),backIn:No([.31,.01,.66,-.59]),backOut:No([.33,1.53,.69,.99])};function kS(n,i){if(n)return typeof n=="function"?XS()?_S(n,i):"ease-out":AS(n)?No(n):Array.isArray(n)?n.map(r=>kS(r,i)||hb.easeOut):hb[n]}function JM(n,i,r,{delay:o=0,duration:u=300,repeat:f=0,repeatType:d="loop",ease:h="easeOut",times:p}={},y=void 0){const g={[i]:r};p&&(g.offset=p);const v=kS(h,u);Array.isArray(v)&&(g.easing=v);const S={delay:o,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return y&&(S.pseudoElement=y),n.animate(g,S)}function PS(n){return typeof n=="function"&&"applyToOptions"in n}function IM({type:n,...i}){return PS(n)&&XS()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class FS extends Ym{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:r,name:o,keyframes:u,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:h,onComplete:p}=i;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=i,Om(typeof i.type!="string");const y=IM(i);this.animation=JM(r,o,u,y,f),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const g=bc(u,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(g),YS(r,o,g),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,r;(r=(i=this.animation).finish)==null||r.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var r,o,u;const i=(r=this.options)==null?void 0:r.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((u=(o=this.animation).commitStyles)==null||u.call(o))}get duration(){var r,o;const i=((o=(r=this.animation.effect)==null?void 0:r.getComputedTiming)==null?void 0:o.call(r).duration)||0;return Yn(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Yn(i)}get time(){return Yn(Number(this.animation.currentTime)||0)}set time(i){const r=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Cn(i),r&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:r,rangeEnd:o,observe:u}){var f;return this.allowFlatten&&((f=this.animation.effect)==null||f.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&ZM()?(this.animation.timeline=i,r&&(this.animation.rangeStart=r),o&&(this.animation.rangeEnd=o),Xn):u(this)}}const KS={anticipate:TS,backInOut:xS,circInOut:ES};function WM(n){return n in KS}function $M(n){typeof n.ease=="string"&&WM(n.ease)&&(n.ease=KS[n.ease])}const Sh=10;class tD extends FS{constructor(i){$M(i),BS(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:r,onUpdate:o,onComplete:u,element:f,...d}=this.options;if(!r)return;if(i!==void 0){r.set(i);return}const h=new ic({...d,autoplay:!1}),p=Math.max(Sh,Ie.now()-this.startTime),y=wa(0,Sh,p-Sh),g=h.sample(p).value,{name:v}=this.options;f&&v&&YS(f,v,g),r.setWithVelocity(h.sample(Math.max(0,p-y)).value,g,y),h.stop()}}const mb=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(aa.test(n)||n==="0")&&!n.startsWith("url("));function eD(n){const i=n[0];if(n.length===1)return!0;for(let r=0;r<n.length;r++)if(n[r]!==i)return!0}function nD(n,i,r,o){const u=n[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const f=n[n.length-1],d=mb(u,i),h=mb(f,i);
270return!d||!h?!1:eD(n)||(r==="spring"||PS(r))&&o}function tm(n){n.duration=0,n.type="keyframes"}const QS=new Set(["opacity","clipPath","filter","transform"]),aD=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function iD(n){for(let i=0;i<n.length;i++)if(typeof n[i]=="string"&&aD.test(n[i]))return!0;return!1}const lD=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rD=pS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function oD(n){var v;const{motionValue:i,name:r,repeatDelay:o,repeatType:u,damping:f,type:d,keyframes:h}=n;if(!(((v=i==null?void 0:i.owner)==null?void 0:v.current)instanceof HTMLElement))return!1;const{onUpdate:y,transformTemplate:g}=i.owner.getProps();return rD()&&r&&(QS.has(r)||lD.has(r)&&iD(h))&&(r!=="transform"||!g)&&!y&&!o&&u!=="mirror"&&f!==0&&d!=="inertia"}const sD=40;class uD extends Ym{constructor({autoplay:i=!0,delay:r=0,type:o="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:d="loop",keyframes:h,name:p,motionValue:y,element:g,...v}){var C;super(),this.stop=()=>{var j,A;this._animation&&(this._animation.stop(),(j=this.stopTimeline)==null||j.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=Ie.now();const S={autoplay:i,delay:r,type:o,repeat:u,repeatDelay:f,repeatType:d,name:p,motionValue:y,element:g,...v},x=(g==null?void 0:g.KeyframeResolver)||qm;this.keyframeResolver=new x(h,(j,A,L)=>this.onKeyframesResolved(j,A,S,!L),p,y,g),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(i,r,o,u){var L,G;this.keyframeResolver=void 0;const{name:f,type:d,velocity:h,delay:p,isHandoff:y,onUpdate:g}=o;this.resolvedAt=Ie.now();let v=!0;nD(i,f,d,h)||(v=!1,(Ui.instantAnimations||!p)&&(g==null||g(bc(i,o,r))),i[0]=i[i.length-1],tm(o),o.repeat=0);const x={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>sD?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:i},C=v&&!y&&oD(x),j=(G=(L=x.motionValue)==null?void 0:L.owner)==null?void 0:G.current;let A;if(C)try{A=new tD({...x,element:j})}catch{A=new ic(x)}else A=new ic(x);A.finished.then(()=>{this.notifyFinished()}).catch(Xn),this.pendingTimeline&&(this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=A}get finished(){return this._animation?this.animation.finished:this._finished}then(i,r){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),FM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function ZS(n,i,r,o=0,u=1){const f=Array.from(n).sort((y,g)=>y.sortNodePosition(g)).indexOf(i),d=n.size,h=(d-1)*o;return typeof r=="function"?r(f,d):u===1?f*o:h-f*o}const cD=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function fD(n){const i=cD.exec(n);if(!i)return[,];const[,r,o,u]=i;return[`--${r??o}`,u]}function JS(n,i,r=1){const[o,u]=fD(n);if(!o)return;const f=window.getComputedStyle(i).getPropertyValue(o);if(f){const d=f.trim();return dS(d)?parseFloat(d):d}return _m(u)?JS(u,i,r+1):u}const dD={type:"spring",stiffness:500,damping:25,restSpeed:10},hD=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),mD={type:"keyframes",duration:.8},pD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yD=(n,{keyframes:i})=>i.length>2?mD:Rr.has(n)?n.startsWith("scale")?hD(i[1]):dD:pD;
270function IS(n,i){if(n!=null&&n.inherit&&i){const{inherit:r,...o}=n;return{...i,...o}}return n}function Xm(n,i){const r=(n==null?void 0:n[i])??(n==null?void 0:n.default)??n;return r!==n?IS(r,n):r}const gD=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function vD(n){for(const i in n)if(!gD.has(i))return!0;return!1}const km=(n,i,r,o={},u,f)=>d=>{const h=Xm(o,n)||{},p=h.delay||o.delay||0;let{elapsed:y=0}=o;y=y-Cn(p);const g={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-y,onUpdate:S=>{i.set(S),h.onUpdate&&h.onUpdate(S)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:i,element:f?void 0:u};vD(h)||Object.assign(g,yD(n,g)),g.duration&&(g.duration=Cn(g.duration)),g.repeatDelay&&(g.repeatDelay=Cn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(tm(g),g.delay===0&&(v=!0)),(Ui.instantAnimations||Ui.skipAnimations||u!=null&&u.shouldSkipAnimations)&&(v=!0,tm(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,v&&!f&&i.get()!==void 0){const S=bc(g.keyframes,h);if(S!==void 0){It.update(()=>{g.onUpdate(S),g.onComplete()});return}}return h.isSync?new ic(g):new uD(g)};function pb(n){const i=[{},{}];return n==null||n.values.forEach((r,o)=>{i[0][o]=r.get(),i[1][o]=r.getVelocity()}),i}function Pm(n,i,r,o){if(typeof i=="function"){const[u,f]=pb(o);i=i(r!==void 0?r:n.custom,u,f)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[u,f]=pb(o);i=i(r!==void 0?r:n.custom,u,f)}return i}function bl(n,i,r){const o=n.getProps();return Pm(o,i,r!==void 0?r:o.custom,n)}const WS=new Set(["width","height","top","left","right","bottom",...Ar]),yb=30,bD=n=>!isNaN(parseFloat(n));class SD{constructor(i,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var f;const u=Ie.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((f=this.events.change)==null||f.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=r.owner}setCurrent(i){this.current=i,this.updatedAt=Ie.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=bD(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,r){this.events[i]||(this.events[i]=new jm);const o=this.events[i].add(r);return i==="change"?()=>{o(),It.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,r){this.passiveEffect=i,this.stopPassiveEffect=r}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-o}jump(i,r=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=Ie.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>yb)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,yb);return yS(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(i){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=i(r),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(){var i,r;
270(i=this.dependents)==null||i.clear(),(r=this.events.destroy)==null||r.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Sr(n,i){return new SD(n,i)}const em=n=>Array.isArray(n);function xD(n,i,r){n.hasValue(i)?n.getValue(i).set(r):n.addValue(i,Sr(r))}function TD(n){return em(n)?n[n.length-1]||0:n}function wD(n,i){const r=bl(n,i);let{transitionEnd:o={},transition:u={},...f}=r||{};f={...f,...o};for(const d in f){const h=TD(f[d]);xD(n,d,h)}}const Ge=n=>!!(n&&n.getVelocity);function ED(n){return!!(Ge(n)&&n.add)}function nm(n,i){const r=n.getValue("willChange");if(ED(r))return r.add(i);if(!r&&Ui.WillChange){const o=new Ui.WillChange("auto");n.addValue("willChange",o),o.add(i)}}function Fm(n){return n.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const CD="framerAppearId",$S="data-"+Fm(CD);function tx(n){return n.props[$S]}function AD({protectedKeys:n,needsAnimating:i},r){const o=n.hasOwnProperty(r)&&i[r]!==!0;return i[r]=!1,o}function ex(n,i,{delay:r=0,transitionOverride:o,type:u}={}){let{transition:f,transitionEnd:d,...h}=i;const p=n.getDefaultTransition();f=f?IS(f,p):p;const y=f==null?void 0:f.reduceMotion;o&&(f=o);const g=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const S in h){const x=n.getValue(S,n.latestValues[S]??null),C=h[S];if(C===void 0||v&&AD(v,S))continue;const j={delay:r,...Xm(f||{},S)},A=x.get();if(A!==void 0&&!x.isAnimating()&&!Array.isArray(C)&&C===A&&!j.velocity){It.update(()=>x.set(C));continue}let L=!1;if(window.MotionHandoffAnimation){const K=tx(n);if(K){const Z=window.MotionHandoffAnimation(K,S,It);Z!==null&&(j.startTime=Z,L=!0)}}nm(n,S);const G=y??n.shouldReduceMotion;x.start(km(S,x,C,G&&WS.has(S)?{type:!1}:j,n,L));const Y=x.animation;Y&&g.push(Y)}if(d){const S=()=>It.update(()=>{d&&wD(n,d)});g.length?Promise.all(g).then(S):S()}return g}function am(n,i,r={}){var p;const o=bl(n,i,r.type==="exit"?(p=n.presenceContext)==null?void 0:p.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(u=r.transitionOverride);const f=o?()=>Promise.all(ex(n,o,r)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(y=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:S}=u;return RD(n,i,y,g,v,S,r)}:()=>Promise.resolve(),{when:h}=u;if(h){const[y,g]=h==="beforeChildren"?[f,d]:[d,f];return y().then(()=>g())}else return Promise.all([f(),d(r.delay)])}function RD(n,i,r=0,o=0,u=0,f=1,d){const h=[];for(const p of n.variantChildren)p.notify("AnimationStart",i),h.push(am(p,i,{...d,delay:r+(typeof o=="function"?0:o)+ZS(n.variantChildren,p,o,u,f)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(h)}function MD(n,i,r={}){n.notify("AnimationStart",i);let o;if(Array.isArray(i)){const u=i.map(f=>am(n,f,r));o=Promise.all(u)}else if(typeof i=="string")o=am(n,i,r);else{const u=typeof i=="function"?bl(n,i,r.custom):i;o=Promise.all(ex(n,u,r))}return o.then(()=>{n.notify("AnimationComplete",i)})}const DD={test:n=>n==="auto",parse:n=>n},nx=n=>i=>i.test(n),ax=[Cr,ut,Ta,Oi,eM,tM,DD],gb=n=>ax.find(nx(n));function zD(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||mS(n):!0}const ND=new Set(["brightness","contrast","saturate","opacity"]);function OD(n){const[i,r]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[o]=r.match(Um)||[];if(!o)return n;const u=r.replace(o,"");let f=ND.has(i)?1:0;return o!==r&&(f*=100),i+"("+f+u+")"}const jD=/\b([a-z-]*)\(.*?\)/gu,im={...aa,getAnimatableNone:n=>{const i=n.match(jD);return i?i.map(OD).join(" "):n}},lm={...aa,getAnimatableNone:n=>{const i=aa.parse(n);return aa.createTransformer(n)(i.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}},vb={...Cr,transform:Math.round},LD={rotate:Oi,rotateX:Oi,rotateY:Oi,rotateZ:Oi,scale:Bu,scaleX:Bu,scaleY:Bu,scaleZ:Bu,skew:Oi,skewX:Oi,skewY:Oi,distance:ut,translateX:ut,translateY:ut,translateZ:ut,x:ut,y:ut,z:ut,perspective:ut,transformPerspective:ut,opacity:Fo,originX:ib,originY:ib,originZ:ut},Km={borderWidth:ut,borderTopWidth:ut,borderRightWidth:ut,borderBottomWidth:ut,borderLeftWidth:ut,borderRadius:ut,borderTopLeftRadius:ut,borderTopRightRadius:ut,borderBottomRightRadius:ut,borderBottomLeftRadius:ut,width:ut,maxWidth:ut,height:ut,maxHeight:ut,top:ut,right:ut,bottom:ut,left:ut,inset:ut,insetBlock:ut,insetBlockStart:ut,insetBlockEnd:ut,insetInline:ut,insetInlineStart:ut,insetInlineEnd:ut,padding:ut,paddingTop:ut,paddingRight:ut,paddingBottom:ut,paddingLeft:ut,paddingBlock:ut,paddingBlockStart:ut,paddingBlockEnd:ut,paddingInline:ut,paddingInlineStart:ut,paddingInlineEnd:ut,margin:ut,marginTop:ut,marginRight:ut,marginBottom:ut,marginLeft:ut,marginBlock:ut,marginBlockStart:ut,marginBlockEnd:ut,marginInline:ut,marginInlineStart:ut,marginInlineEnd:ut,fontSize:ut,backgroundPositionX:ut,backgroundPositionY:ut,...LD,zIndex:vb,fillOpacity:Fo,strokeOpacity:Fo,numOctaves:vb},VD={...Km,color:xe,backgroundColor:xe,outlineColor:xe,fill:xe,stroke:xe,borderColor:xe,borderTopColor:xe,borderRightColor:xe,borderBottomColor:xe,borderLeftColor:xe,filter:im,WebkitFilter:im,mask:lm,WebkitMask:lm},ix=n=>VD[n],_D=new Set([im,lm]);function lx(n,i){let r=ix(n);return _D.has(r)||(r=aa),r.getAnimatableNone?r.getAnimatableNone(i):void 0}
vendor: 1,717 bytes, line 270
270const UD=new Set(["auto","none","0"]);function BD(n,i,r){let o=0,u;for(;o<n.length&&!u;){const f=n[o];typeof f=="string"&&!UD.has(f)&&br(f).values.length&&(u=n[o]),o++}if(u&&r)for(const f of i)n[f]=lx(r,u)}class HD extends qm{constructor(i,r,o,u,f){super(i,r,o,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let g=0;g<i.length;g++){let v=i[g];if(typeof v=="string"&&(v=v.trim(),_m(v))){const S=JS(v,r.current);S!==void 0&&(i[g]=S),g===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!WS.has(o)||i.length!==2)return;const[u,f]=i,d=gb(u),h=gb(f),p=ab(u),y=ab(f);if(p!==y&&_i[o]){this.needsMeasurement=!0;return}if(d!==h)if(db(d)&&db(h))for(let g=0;g<i.length;g++){const v=i[g];typeof v=="string"&&(i[g]=parseFloat(v))}else _i[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:r}=this,o=[];for(let u=0;u<i.length;u++)(i[u]===null||zD(i[u]))&&o.push(u);o.length&&BD(i,o,r)}measureInitialState(){const{element:i,unresolvedKeyframes:r,name:o}=this;if(!i||!i.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_i[o](i.measureViewportBox(),window.getComputedStyle(i.current)),r[0]=this.measuredOrigin;const u=r[r.length-1];u!==void 0&&i.getValue(o,u).jump(u,!1)}measureEndState(){var h;const{element:i,name:r,unresolvedKeyframes:o}=this;if(!i||!i.current)return;const u=i.getValue(r);u&&u.jump(this.measuredOrigin,!1);const f=o.length-1,d=o[f];o[f]=_i[r](i.measureViewportBox(),window.getComputedStyle(i.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEac
270h(([p,y])=>{i.getValue(p).set(y)}),this.resolveNoneKeyframes()}}function rx(n,i,r){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let o=document;const u=(r==null?void 0:r[n])??o.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(o=>o!=null)}const ox=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function GD(n){return hS(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:Qm}=RS(queueMicrotask,!1),na={x:!1,y:!1};function sx(){return na.x||na.y}function YD(n){return n==="x"||n==="y"?na[n]?null:(na[n]=!0,()=>{na[n]=!1}):na.x||na.y?null:(na.x=na.y=!0,()=>{na.x=na.y=!1})}function ux(n,i){const r=rx(n),o=new AbortController,u={passive:!0,...i,signal:o.signal};return[r,u,()=>o.abort()]}function qD(n){return!(n.pointerType==="touch"||sx())}function XD(n,i,r={}){const[o,u,f]=ux(n,r);return o.forEach(d=>{let h=!1,p=!1,y;const g=()=>{d.removeEventListener("pointerleave",C)},v=A=>{y&&(y(A),y=void 0),g()},S=A=>{h=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),p&&(p=!1,v(A))},x=()=>{h=!0,window.addEventListener("pointerup",S,u),window.addEventListener("pointercancel",S,u)},C=A=>{if(A.pointerType!=="touch"){if(h){p=!0;return}v(A)}},j=A=>{if(!qD(A))return;p=!1;const L=i(d,A);typeof L=="function"&&(y=L,d.addEventListener("pointerleave",C,u))};d.addEventListener("pointerenter",j,u),d.addEventListener("pointerdown",x,u)}),f}const cx=(n,i)=>i?n===i?!0:cx(n,i.parentElement):!1,Zm=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,kD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function PD(n){return kD.has(n.tagName)||n.isContentEditable===!0}const FD=new Set(["INPUT","SELECT","TEXTAREA"]);function KD(n){return FD.has(n.tagName)||n.isContentEditable===!0}const ku=new WeakSet;function bb(n){return i=>{i.key==="Enter"&&n(i)}}function xh(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const QD=(n,i)=>{const r=n.currentTarget;if(!r)return;const o=bb(()=>{if(ku.has(r))return;xh(r,"down");const u=bb(()=>{xh(r,"up")}),f=()=>xh(r,"cancel");r.addEventListener("keyup",u,i),r.addEventListener("blur",f,i)});r.addEventListener("keydown",o,i),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),i)};function Sb(n){return Zm(n)&&!sx()}const xb=new WeakSet;function ZD(n,i,r={}){const[o,u,f]=ux(n,r),d=h=>{const p=h.currentTarget;
270if(!Sb(h)||xb.has(h))return;ku.add(p),r.stopPropagation&&xb.add(h);const y=i(p,h),g=(x,C)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",S),ku.has(p)&&ku.delete(p),Sb(x)&&typeof y=="function"&&y(x,{success:C})},v=x=>{g(x,p===window||p===document||r.useGlobalTarget||cx(p,x.target))},S=x=>{g(x,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",S,u)};return o.forEach(h=>{(r.useGlobalTarget?window:h).addEventListener("pointerdown",d,u),GD(h)&&(h.addEventListener("focus",y=>QD(y,u)),!PD(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}function Jm(n){return hS(n)&&"ownerSVGElement"in n}const Pu=new WeakMap;let ji;const fx=(n,i,r)=>(o,u)=>u&&u[0]?u[0][n+"Size"]:Jm(o)&&"getBBox"in o?o.getBBox()[i]:o[r],JD=fx("inline","width","offsetWidth"),ID=fx("block","height","offsetHeight");function WD({target:n,borderBoxSize:i}){var r;(r=Pu.get(n))==null||r.forEach(o=>{o(n,{get width(){return JD(n,i)},get height(){return ID(n,i)}})})}function $D(n){n.forEach(WD)}function t3(){typeof ResizeObserver>"u"||(ji=new ResizeObserver($D))}function e3(n,i){ji||t3();const r=rx(n);return r.forEach(o=>{let u=Pu.get(o);u||(u=new Set,Pu.set(o,u)),u.add(i),ji==null||ji.observe(o)}),()=>{r.forEach(o=>{const u=Pu.get(o);u==null||u.delete(i),u!=null&&u.size||ji==null||ji.unobserve(o)})}}const Fu=new Set;let hr;function n3(){hr=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Fu.forEach(i=>i(n))},window.addEventListener("resize",hr)}function a3(n){return Fu.add(n),hr||n3(),()=>{Fu.delete(n),!Fu.size&&typeof hr=="function"&&(window.removeEventListener("resize",hr),hr=void 0)}}function Tb(n,i){return typeof n=="function"?a3(n):e3(n,i)}function i3(n){return Jm(n)&&n.tagName==="svg"}const l3=[...ax,xe,aa],r3=n=>l3.find(nx(n)),wb=()=>({translate:0,scale:1,origin:0,originPoint:0}),mr=()=>({x:wb(),y:wb()}),Eb=()=>({min:0,max:0}),Ce=()=>({x:Eb(),y:Eb()}),o3=new WeakMap;function Sc(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Ko(n){return typeof n=="string"||Array.isArray(n)}const Im=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Wm=["initial",...Im];function xc(n){return Sc(n.animate)||Wm.some(i=>Ko(n[i]))}function dx(n){return!!(xc(n)||n.variants)}function s3(n,i,r){for(const o in i){const u=i[o],f=r[o];if(Ge(u))n.addValue(o,u);else if(Ge(f))n.addValue(o,Sr(u,{owner:n}));else if(f!==u)if(n.hasValue(o)){const d=n.getValue(o);d.liveStyle===!0?d.jump(u):d.hasAnimated||d.set(u)}else{const d=n.getStaticValue(o);n.addValue(o,Sr(d!==void 0?d:u,{owner:n}))}}for(const o in r)i[o]===void 0&&n.removeValue(o);return i}const rm={current:null},hx={current:!1},u3=typeof window<"u";function c3(){if(hx.current=!0,!!u3)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>rm.current=n.matches;n.addEventListener("change",i),i()}else rm.current=!1}const Cb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let lc={};function mx(n){lc=n}function f3(){return lc}class d3{scrapeMotionValuesFromProps(i,r,o){return{}}constructor({parent:i,props:r,presenceContext:o,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:d,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=qm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const x=Ie.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,It.render(this.render,!1,!0))};const{latestValues:y,renderState:g}=h;this.latestValues=y,this.baseTarget={...y},this.initialValues=r.initial?{...y}:{},this.renderState=g,this.parent=i,this.props=r,this.presenceContext=o,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=p,this.blockInitialAnimation=!!d,this.isControllingVariants=xc(r),this.isVariantNode=dx(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...S}=this.scrapeMotionValuesFromProps(r,{},this);for(const x in S){const C=S[x];y[x]!==void 0&&Ge(C)&&C.set(y[x])}}mount(i){var r,o;
vendor: 18,521 bytes, line 270
270if(this.hasBeenMounted)for(const u in this.initialValues)(r=this.values.get(u))==null||r.jump(this.initialValues[u]),this.latestValues[u]=this.initialValues[u];this.current=i,o3.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,f)=>this.bindToMotionValue(f,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hx.current||c3(),this.shouldReduceMotion=rm.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(o=this.parent)==null||o.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),Bi(this.notifyUpdate),Bi(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const o=this.features[r];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,r){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),r.accelerate&&QS.has(i)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:p,ease:y,duration:g}=r.accelerate,v=new FS({element:this.current,name:i,keyframes:h,times:p,ease:y,duration:Cn(g)}),S=d(v);this.valueSubscriptions.set(i,()=>{S(),v.cancel()});return}const o=Rr.has(i);o&&this.onBindTransform&&this.onBindTransform();const u=r.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&It.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,i,r)),this.valueSubscriptions.set(i,()=>{u(),f&&f(),r.owner&&r.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in lc){const r=lc[i];if(!r)continue;const{isEnabled:o,Feature:u}=r;if(!this.features[i]&&u&&o(this.props)&&(this.features[i]=new u(this)),this.features[i]){const f=this.features[i];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ce()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,r){this.latestValues[i]=r}update(i,r){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let o=0;o<Cb.length;o++){const u=Cb[o];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,d=i[f];d&&(this.propEventSubscriptions[u]=this.on(u,d))}this.prevMotionValues=s3(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(i),()=>r.variantChildren.delete(i)}addValue(i,r){const o=this.values.get(i);r!==o&&(o&&this.removeValue(i),this.bindToMotionValue(i,r),this.values.set(i,r),this.latestValues[i]=r.get())}removeValue(i){this.values.delete(i);const r=this.valueSubscriptions.get(i);r&&(r(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,r){if(this.props.values&&this.props.values[i])return this.props.values[i];let o=this.values.get(i);return o===void 0&&r!==void 0&&(o=Sr(r===null?void 0:r,{owner:this}),this.addValue(i,o)),o}readValue(i,r){let o=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return o!=null&&(typeof o=="string"&&(dS(o)||mS(o))?o=parseFloat(o):!r3(o)&&aa.test(r)&&(o=lx(i,r)),this.setBaseTarget(i,Ge(o)?o.get():o)),Ge(o)?o.get():o}setBaseTarget(i,r){this.baseTarget[i]=r}getBaseTarget(i){var f;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const d=Pm(this.props,r,(f=this.presenceContext)==null?void 0:f.custom);d&&(o=d[i])}if(r&&o!==void 0)return o;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!Ge(u)?u:this.initialValues[i]!==void 0&&o===void 0?void 0:this.baseTarget[i]}on(i,r){return this.events[i]||(this.events[i]=new jm),this.events[i].add(r)}notify(i,...r){this.events[i]&&this.events[i].notify(...r)}scheduleRenderMicrotask(){Qm.render(this.render)}}class px extends d3{constructor(){super(...arguments),this.KeyframeResolver=HD}sortInstanceNodePosition(i,r){return i.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(i,r){const o=i.style;return o?o[r]:void 0}removeValueFromRenderState(i,{vars:r,style:o}){delete r[i],delete o[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;Ge(i)&&(this.childSubscription=i.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}class Gi{constructor(i){this.isMounted=!1,this.node=i}update(){}}function yx({top:n,left:i,right:r,bottom:o}){return{x:{min:i,max:r},y:{min:n,max:o}}}function h3({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function m3(n,i){if(!i)return n;const r=i({x:n.left,y:n.top}),o=i({x:n.right,y:n.bottom});return{top:r.y,left:r.x,bottom:o.y,right:o.x}}function Th(n){return n===void 0||n===1}function om({scale:n,scaleX:i,scaleY:r}){return!Th(n)||!Th(i)||!Th(r)}function ml(n){return om(n)||gx(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function gx(n){return Ab(n.x)||Ab(n.y)}function Ab(n){return n&&n!=="0%"}function rc(n,i,r){const o=n-r,u=i*o;return r+u}function Rb(n,i,r,o,u){return u!==void 0&&(n=rc(n,u,o)),rc(n,r,o)+i}function sm(n,i=0,r=1,o,u){n.min=Rb(n.min,i,r,o,u),n.max=Rb(n.max,i,r,o,u)}function vx(n,{x:i,y:r}){sm(n.x,i.translate,i.scale,i.originPoint),sm(n.y,r.translate,r.scale,r.originPoint)}const Mb=.999999999999,Db=1.0000000000001;function p3(n,i,r,o=!1){var h;const u=r.length;if(!u)return;i.x=i.y=1;let f,d;for(let p=0;p<u;p++){f=r[p],d=f.projectionDelta;const{visualElement:y}=f.options;y&&y.props.style&&y.props.style.display==="contents"||(o&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(xa(n.x,-f.scroll.offset.x),xa(n.y,-f.scroll.offset.y)),d&&(i.x*=d.x.scale,i.y*=d.y.scale,vx(n,d)),o&&ml(f.latestValues)&&Ku(n,f.latestValues,(h=f.layout)==null?void 0:h.layoutBox))}i.x<Db&&i.x>Mb&&(i.x=1),i.y<Db&&i.y>Mb&&(i.y=1)}function xa(n,i){n.min+=i,n.max+=i}function zb(n,i,r,o,u=.5){const f=ae(n.min,n.max,u);sm(n,i,r,f,o)}function Nb(n,i){return typeof n=="string"?parseFloat(n)/100*(i.max-i.min):n}function Ku(n,i,r){const o=r??n;zb(n.x,Nb(i.x,o.x),i.scaleX,i.scale,i.originX),zb(n.y,Nb(i.y,o.y),i.scaleY,i.scale,i.originY)}function bx(n,i){return yx(m3(n.getBoundingClientRect(),i))}function y3(n,i,r){const o=bx(n,r),{scroll:u}=i;return u&&(xa(o.x,u.offset.x),xa(o.y,u.offset.y)),o}const g3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},v3=Ar.length;function b3(n,i,r){let o="",u=!0;for(let f=0;f<v3;f++){const d=Ar[f],h=n[d];if(h===void 0)continue;let p=!0;if(typeof h=="number")p=h===(d.startsWith("scale")?1:0);else{const y=parseFloat(h);p=d.startsWith("scale")?y===1:y===0}if(!p||r){const y=ox(h,Km[d]);if(!p){u=!1;const g=g3[d]||d;o+=`${g}(${y}) `}r&&(i[d]=y)}}return o=o.trim(),r?o=r(i,u?"":o):u&&(o="none"),o}function $m(n,i,r){const{style:o,vars:u,transformOrigin:f}=n;let d=!1,h=!1;for(const p in i){const y=i[p];if(Rr.has(p)){d=!0;continue}else if(DS(p)){u[p]=y;continue}else{const g=ox(y,Km[p]);p.startsWith("origin")?(h=!0,f[p]=g):o[p]=g}}if(i.transform||(d||r?o.transform=b3(i,n.transform,r):o.transform&&(o.transform="none")),h){const{originX:p="50%",originY:y="50%",originZ:g=0}=f;o.transformOrigin=`${p} ${y} ${g}`}}function Sx(n,{style:i,vars:r},o,u){const f=n.style;let d;for(d in i)f[d]=i[d];u==null||u.applyProjectionStyles(f,o);for(d in r)f.setProperty(d,r[d])}function Ob(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const zo={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(ut.test(n))n=parseFloat(n);else return n;const r=Ob(n,i.target.x),o=Ob(n,i.target.y);return`${r}% ${o}%`}},S3={correct:(n,{treeScale:i,projectionDelta:r})=>{const o=n,u=aa.parse(n);if(u.length>5)return o;const f=aa.createTransformer(n),d=typeof u[0]!="number"?1:0,h=r.x.scale*i.x,p=r.y.scale*i.y;u[0+d]/=h,u[1+d]/=p;const y=ae(h,p,.5);return typeof u[2+d]=="number"&&(u[2+d]/=y),typeof u[3+d]=="number"&&(u[3+d]/=y),f(u)}},um={borderRadius:{...zo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:zo,borderTopRightRadius:zo,borderBottomLeftRadius:zo,borderBottomRightRadius:zo,boxShadow:S3};function xx(n,{layout:i,layoutId:r}){return Rr.has(n)||n.startsWith("origin")||(i||r!==void 0)&&(!!um[n]||n==="opacity")}function tp(n,i,r){var d;const o=n.style,u=i==null?void 0:i.style,f={};if(!o)return f;for(const h in o)(Ge(o[h])||u&&Ge(u[h])||xx(h,n)||((d=r==null?void 0:r.getValue(h))==null?void 0:d.liveStyle)!==void 0)&&(f[h]=o[h]);return f}function x3(n){return window.getComputedStyle(n)}class T3 extends px{constructor(){super(...arguments),this.type="html",this.renderInstance=Sx}readValueFromInstance(i,r){var o;if(Rr.has(r))return(o=this.projection)!=null&&o.isProjecting?Zh(r):YM(i,r);{const u=x3(i),f=(DS(r)?u.getPropertyValue(r):u[r])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(i,{transformPagePoint:r}){return bx(i,r)}build(i,r,o){$m(i,r,o.transformTemplate)}scrapeMotionValuesFromProps(i,r,o){return tp(i,r,o)}}const w3={offset:"stroke-dashoffset",array:"stroke-dasharray"},E3={offset:"strokeDashoffset",array:"strokeDasharray"};function C3(n,i,r=1,o=0,u=!0){n.pathLength=1;const f=u?w3:E3;n[f.offset]=`${-o}`,n[f.array]=`${i} ${r}`}const A3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Tx(n,{attrX:i,attrY:r,attrScale:o,pathLength:u,pathSpacing:f=1,pathOffset:d=0,...h},p,y,g){if($m(n,h,y),p){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:S}=n;v.transform&&(S.transform=v.transform,delete v.transform),(S.transform||v.transformOrigin)&&(S.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),S.transform&&(S.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete v.transformBox);for(const x of A3)v[x]!==void 0&&(S[x]=v[x],delete v[x]);i!==void 0&&(v.x=i),r!==void 0&&(v.y=r),o!==void 0&&(v.scale=o),u!==void 0&&C3(v,u,f,d,!1)}const wx=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"]),Ex=n=>typeof n=="string"&&n.toLowerCase()==="svg";function R3(n,i,r,o){Sx(n,i,void 0,o);for(const u in i.attrs)n.setAttribute(wx.has(u)?u:Fm(u),i.attrs[u])}function Cx(n,i,r){const o=tp(n,i,r);for(const u in n)if(Ge(n[u])||Ge(i[u])){const f=Ar.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[f]=n[u]}return o}class M3 extends px{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ce}getBaseTargetFromProps(i,r){return i[r]}readValueFromInstance(i,r){if(Rr.has(r)){const o=ix(r);return o&&o.default||0}return r=wx.has(r)?r:Fm(r),i.getAttribute(r)}scrapeMotionValuesFromProps(i,r,o){return Cx(i,r,o)}build(i,r,o){Tx(i,r,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(i,r,o,u){R3(i,r,o,u)}mount(i){this.isSVGTag=Ex(i.tagName),super.mount(i)}}const D3=Wm.length;function Ax(n){if(!n)return;if(!n.isControllingVariants){const r=n.parent?Ax(n.parent)||{}:{};return n.props.initial!==void 0&&(r.initial=n.props.initial),r}const i={};for(let r=0;r<D3;r++){const o=Wm[r],u=n.props[o];(Ko(u)||u===!1)&&(i[o]=u)}return i}function Rx(n,i){if(!Array.isArray(i))return!1;const r=i.length;if(r!==n.length)return!1;for(let o=0;o<r;o++)if(i[o]!==n[o])return!1;return!0}const z3=[...Im].reverse(),N3=Im.length;function O3(n){return i=>Promise.all(i.map(({animation:r,options:o})=>MD(n,r,o)))}function j3(n){let i=O3(n),r=jb(),o=!0,u=!1;const f=y=>(g,v)=>{var x;const S=bl(n,v,y==="exit"?(x=n.presenceContext)==null?void 0:x.custom:void 0);if(S){const{transition:C,transitionEnd:j,...A}=S;g={...g,...A,...j}}return g};function d(y){i=y(n)}function h(y){const{props:g}=n,v=Ax(n.parent)||{},S=[],x=new Set;let C={},j=1/0;for(let L=0;L<N3;L++){const G=z3[L],Y=r[G],K=g[G]!==void 0?g[G]:v[G],Z=Ko(K),rt=G===y?Y.isActive:null;rt===!1&&(j=L);let W=K===v[G]&&K!==g[G]&&Z;if(W&&(o||u)&&n.manuallyAnimateOnMount&&(W=!1),Y.protectedKeys={...C},!Y.isActive&&rt===null||!K&&!Y.prevProp||Sc(K)||typeof K=="boolean")continue;if(G==="exit"&&Y.isActive&&rt!==!0){Y.prevResolvedValues&&(C={...C,...Y.prevResolvedValues});continue}const ft=L3(Y.prevProp,K);let H=ft||G===y&&Y.isActive&&!W&&Z||L>j&&Z,$=!1;const J=Array.isArray(K)?K:[K];let nt=J.reduce(f(G),{});rt===!1&&(nt={});const{prevResolvedValues:gt={}}=Y,ht={...gt,...nt},it=Q=>{H=!0,x.has(Q)&&($=!0,x.delete(Q)),Y.needsAnimating[Q]=!0;const mt=n.getValue(Q);mt&&(mt.liveStyle=!1)};for(const Q in ht){const mt=nt[Q],dt=gt[Q];if(C.hasOwnProperty(Q))continue;let Lt=!1;em(mt)&&em(dt)?Lt=!Rx(mt,dt):Lt=mt!==dt,Lt?mt!=null?it(Q):x.add(Q):mt!==void 0&&x.has(Q)?it(Q):Y.protectedKeys[Q]=!0}Y.prevProp=K,Y.prevResolvedValues=nt,Y.isActive&&(C={...C,...nt}),(o||u)&&n.blockInitialAnimation&&(H=!1);const P=W&&ft;H&&(!P||$)&&S.push(...J.map(Q=>{const mt={type:G};if(typeof Q=="string"&&(o||u)&&!P&&n.manuallyAnimateOnMount&&n.parent){const{parent:dt}=n,Lt=bl(dt,Q);if(dt.enteringChildren&&Lt){const{delayChildren:pe}=Lt.transition||{};mt.delay=ZS(dt.enteringChildren,n,pe)}}return{animation:Q,options:mt}}))}if(x.size){const L={};if(typeof g.initial!="boolean"){const G=bl(n,Array.isArray(g.initial)?g.initial[0]:g.initial);G&&G.transition&&(L.transition=G.transition)}x.forEach(G=>{const Y=n.getBaseTarget(G),K=n.getValue(G);K&&(K.liveStyle=!0),L[G]=Y??null}),S.push({animation:L})}let A=!!S.length;return o&&(g.initial===!1||g.initial===g.animate)&&!n.manuallyAnimateOnMount&&(A=!1),o=!1,u=!1,A?i(S):Promise.resolve()}function p(y,g){var S;if(r[y].isActive===g)return Promise.resolve();(S=n.variantChildren)==null||S.forEach(x=>{var C;return(C=x.animationState)==null?void 0:C.setActive(y,g)}),r[y].isActive=g;const v=h(y);for(const x in r)r[x].protectedKeys={};return v}return{animateChanges:h,setActive:p,setAnimateFunction:d,getState:()=>r,reset:()=>{r=jb(),u=!0}}}function L3(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!Rx(i,n):!1}function hl(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function jb(){return{animate:hl(!0),whileInView:hl(),whileHover:hl(),whileTap:hl(),whileDrag:hl(),whileFocus:hl(),exit:hl()}}function cm(n,i){n.min=i.min,n.max=i.max}function ea(n,i){cm(n.x,i.x),cm(n.y,i.y)}function Lb(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}const Mx=1e-4,V3=1-Mx,_3=1+Mx,Dx=.01,U3=0-Dx,B3=0+Dx;function We(n){return n.max-n.min}function H3(n,i,r){return Math.abs(n-i)<=r}function Vb(n,i,r,o=.5){n.origin=o,n.originPoint=ae(i.min,i.max,n.origin),n.scale=We(r)/We(i),n.translate=ae(r.min,r.max,n.origin)-n.originPoint,(n.scale>=V3&&n.scale<=_3||isNaN(n.scale))&&(n.scale=1),(n.translate>=U3&&n.translate<=B3||isNaN(n.translate))&&(n.translate=0)}function Ho(n,i,r,o){Vb(n.x,i.x,r.x,o?o.originX:void 0),Vb(n.y,i.y,r.y,o?o.originY:void 0)}function _b(n,i,r,o=0){const u=o?ae(r.min,r.max,o):r.min;n.min=u+i.min,n.max=n.min+We(i)}function G3(n,i,r,o){_b(n.x,i.x,r.x,o==null?void 0:o.x),_b(n.y,i.y,r.y,o==null?void 0:o.y)}function Ub(n,i,r,o=0){const u=o?ae(r.min,r.max,o):r.min;n.min=i.min-u,n.max=n.min+We(i)}function oc(n,i,r,o){Ub(n.x,i.x,r.x,o==null?void 0:o.x),Ub(n.y,i.y,r.y,o==null?void 0:o.y)}function Bb(n,i,r,o,u){return n-=i,n=rc(n,1/r,o),u!==void 0&&(n=rc(n,1/u,o)),n}function Y3(n,i=0,r=1,o=.5,u,f=n,d=n){if(Ta.test(i)&&(i=parseFloat(i),i=ae(d.min,d.max,i/100)-d.min),typeof i!="number")return;let h=ae(f.min,f.max,o);n===f&&(h-=i),n.min=Bb(n.min,i,r,h,u),n.max=Bb(n.max,i,r,h,u)}function Hb(n,i,[r,o,u],f,d){Y3(n,i[r],i[o],i[u],i.scale,f,d)}const q3=["x","scaleX","originX"],X3=["y","scaleY","originY"];function Gb(n,i,r,o){Hb(n.x,i,q3,r?r.x:void 0,o?o.x:void 0),Hb(n.y,i,X3,r?r.y:void 0,o?o.y:void 0)}function Yb(n){return n.translate===0&&n.scale===1}function zx(n){return Yb(n.x)&&Yb(n.y)}function qb(n,i){return n.min===i.min&&n.max===i.max}function k3(n,i){return qb(n.x,i.x)&&qb(n.y,i.y)}function Xb(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function Nx(n,i){return Xb(n.x,i.x)&&Xb(n.y,i.y)}function kb(n){return We(n.x)/We(n.y)}function Pb(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}function va(n){return[n("x"),n("y")]}function P3(n,i,r){let o="";const u=n.x.translate/i.x,f=n.y.translate/i.y,d=(r==null?void 0:r.z)||0;if((u||f||d)&&(o=`translate3d(${u}px, ${f}px, ${d}px) `),(i.x!==1||i.y!==1)&&(o+=`scale(${1/i.x}, ${1/i.y}) `),r){const{transformPerspective:y,rotate:g,rotateX:v,rotateY:S,skewX:x,skewY:C}=r;y&&(o=`perspective(${y}px) ${o}`),g&&(o+=`rotate(${g}deg) `),v&&(o+=`rotateX(${v}deg) `),S&&(o+=`rotateY(${S}deg) `),x&&(o+=`skewX(${x}deg) `),C&&(o+=`skewY(${C}deg) `)}const h=n.x.scale*i.x,p=n.y.scale*i.y;
270return(h!==1||p!==1)&&(o+=`scale(${h}, ${p})`),o||"none"}const Ox=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],F3=Ox.length,Fb=n=>typeof n=="string"?parseFloat(n):n,Kb=n=>typeof n=="number"||ut.test(n);function K3(n,i,r,o,u,f){u?(n.opacity=ae(0,r.opacity??1,Q3(o)),n.opacityExit=ae(i.opacity??1,0,Z3(o))):f&&(n.opacity=ae(i.opacity??1,r.opacity??1,o));for(let d=0;d<F3;d++){const h=Ox[d];let p=Qb(i,h),y=Qb(r,h);if(p===void 0&&y===void 0)continue;p||(p=0),y||(y=0),p===0||y===0||Kb(p)===Kb(y)?(n[h]=Math.max(ae(Fb(p),Fb(y),o),0),(Ta.test(y)||Ta.test(p))&&(n[h]+="%")):n[h]=y}(i.rotate||r.rotate)&&(n.rotate=ae(i.rotate||0,r.rotate||0,o))}function Qb(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const Q3=jx(0,.5,wS),Z3=jx(.5,.95,Xn);function jx(n,i,r){return o=>o<n?0:o>i?1:r(Po(n,i,o))}function J3(n,i,r){const o=Ge(n)?n:Sr(n);return o.start(km("",o,i,r)),o.animation}function Qo(n,i,r,o={passive:!0}){return n.addEventListener(i,r,o),()=>n.removeEventListener(i,r)}const I3=(n,i)=>n.depth-i.depth;class W3{constructor(){this.children=[],this.isDirty=!1}add(i){Nm(this.children,i),this.isDirty=!0}remove(i){tc(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(I3),this.isDirty=!1,this.children.forEach(i)}}function $3(n,i){const r=Ie.now(),o=({timestamp:u})=>{const f=u-r;f>=i&&(Bi(o),n(f-i))};return It.setup(o,!0),()=>Bi(o)}function Qu(n){return Ge(n)?n.get():n}class tz{constructor(){this.members=[]}add(i){Nm(this.members,i);for(let r=this.members.length-1;r>=0;r--){const o=this.members[r];if(o===i||o===this.lead||o===this.prevLead)continue;const u=o.instance;(!u||u.isConnected===!1)&&!o.snapshot&&(tc(this.members,o),o.unmount())}i.scheduleRender()}remove(i){if(tc(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(i){var r;for(let o=this.members.indexOf(i)-1;o>=0;o--){const u=this.members[o];if(u.isPresent!==!1&&((r=u.instance)==null?void 0:r.isConnected)!==!1)return this.promote(u),!0}return!1}promote(i,r){var u;const o=this.lead;if(i!==o&&(this.prevLead=o,this.lead=i,i.show(),o)){o.updateSnapshot(),i.scheduleRender();const{layoutDependency:f}=o.options,{layoutDependency:d}=i.options;(f===void 0||f!==d)&&(i.resumeFrom=o,r&&(o.preserveOpacity=!0),o.snapshot&&(i.snapshot=o.snapshot,i.snapshot.latestValues=o.animationValues||o.latestValues),(u=i.root)!=null&&u.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var r,o,u,f,d;(o=(r=i.options).onExitComplete)==null||o.call(r),(d=(u=i.resumingFrom)==null?void 0:(f=u.options).onExitComplete)==null||d.call(f)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const Zu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},wh=["","X","Y","Z"],ez=1e3;let nz=0;function Eh(n,i,r,o){const{latestValues:u}=i;u[n]&&(r[n]=u[n],i.setStaticValue(n,0),o&&(o[n]=0))}function Lx(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const r=tx(i);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(r,"transform",It,!(u||f))}const{parent:o}=n;o&&!o.hasCheckedOptimisedAppear&&Lx(o)}function Vx({attachResizeListener:n,defaultParent:i,measureScroll:r,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(d={},h=i==null?void 0:i()){this.id=nz++,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=()=>
vendor: 4,149 bytes, line 270
270{this.projectionUpdateScheduled=!1,this.nodes.forEach(lz),this.nodes.forEach(fz),this.nodes.forEach(dz),this.nodes.forEach(rz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,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 p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new W3)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new jm),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const p=this.eventHandlers.get(d);p&&p.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=Jm(d)&&!i3(d),this.instance=d;const{layoutId:h,layout:p,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),n){let g,v=0;const S=()=>this.root.updateBlockedByResize=!1;It.read(()=>{v=window.innerWidth}),n(d,()=>{const x=window.innerWidth;x!==v&&(v=x,this.root.updateBlockedByResize=!0,g&&g(),g=$3(S,250),Zu.hasAnimatedSinceResize&&(Zu.hasAnimatedSinceResize=!1,this.nodes.forEach(Ib)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&y&&(h||p)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeLayoutChanged:S,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||y.getDefaultTransition()||gz,{onLayoutAnimationStart:j,onLayoutAnimationComplete:A}=y.getProps(),L=!this.targetLayout||!Nx(this.targetLayout,x),G=!v&&S;if(this.options.layoutRoot||this.resumeFrom||G||v&&(L||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const Y={...Xm(C,"layout"),onPlay:j,onComplete:A};(y.shouldReduceMotion||this.options.layoutRoot)&&(Y.delay=0,Y.type=!1),this.startAnimation(Y),this.setAnimationOrigin(g,G)}else v||Ib(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Bi(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(hz),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lx(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(sz),this.nodes.forEach(Zb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Jb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
270h(uz),this.nodes.forEach(cz),this.nodes.forEach(az),this.nodes.forEach(iz)):this.nodes.forEach(Jb),this.clearAllSnapshots();const h=Ie.now();Be.delta=wa(0,1e3/60,h-Be.timestamp),Be.timestamp=h,Be.isProcessing=!0,ph.update.process(Be),ph.preRender.process(Be),ph.render.process(Be),Be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oz),this.sharedNodes.forEach(mz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,It.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){It.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!We(this.snapshot.measuredBox.x)&&!We(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ce()),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,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!u)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!zx(this.projectionDelta),p=this.getTransformTemplate(),y=p?p(this.latestValues,""):void 0,g=y!==this.prevTransformTemplateValue;d&&this.instance&&(h||ml(this.latestValues)||g)&&(u(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return d&&(p=this.removeTransform(p)),vz(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:d}=this.options;if(!d)return Ce();const h=d.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(bz))){const{scroll:g}=this.root;g&&(xa(h.x,g.offset.x),xa(h.y,g.offset.y))}return h}removeElementScroll(d){var p;const h=Ce();if(ea(h,d),(p=this.scroll)!=null&&p.wasRoot)return h;for(let y=0;y<this.path.length;y++){const g=this.path[y],{scroll:v,options:S}=g;g!==this.root&&v&&S.layoutScroll&&(v.wasRoot&&ea(h,d),xa(h.x,v.offset.x),xa(h.y,v.offset.y))}return h}applyTransform(d,h=!1,p){var g,v;const y=p||Ce();ea(y,d);for(let S=0;S<this.path.length;S++){const x=this.path[S];!h&&x.options.layoutScroll&&x.scroll&&x!==x.root&&(xa(y.x,-x.scroll.offset.x),xa(y.y,-x.scroll.offset.y)),ml(x.latestValues)&&Ku(y,x.latestValues,(g=x.layout)==null?void 0:g.layoutBox)}return ml(this.latestValues)&&Ku(y,this.latestValues,(v=this.layout)==null?void 0:v.layoutBox),y}removeTransform(d){var p;const h=Ce();ea(h,d);for(let y=0;y<this.path.length;y++){const g=this.path[y];if(!ml(g.latestValues))continue;let v;g.instance&&(om(g.latestValues)&&g.updateSnapshot(),v=Ce(),ea(v,g.measurePageBox())),Gb(h,g.latestValues,(p=g.snapshot)==null?void 0:p.layoutBox,v)}return ml(this.latestValues)&&Gb(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==Be.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var x;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!this.layout||!(g||v))return;this.resolvedRelativeTargetAt=Be.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ce(),this.targetWithTransforms=Ce()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),G3(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ea(this.target,this.layout.layoutBox),vx(this.target,this.targetDelta)):ea(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||om(this.parent.latestValues)||gx(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,p){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ce(),this.relativeTargetOrigin=Ce(),oc(this.relativeTargetOrigin,h,p,this.options.layoutAnchor||void 0),ea(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var C;const d=this.getLead(),h=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&
vendor: 5,333 bytes, line 270
270(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===Be.timestamp&&(p=!1),p)return;const{layout:y,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||!(y||g))return;ea(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,S=this.treeScale.y;p3(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Ce());const{target:x}=d;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Lb(this.prevProjectionDelta.x,this.projectionDelta.x),Lb(this.prevProjectionDelta.y,this.projectionDelta.y)),Ho(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==S||!Pb(this.projectionDelta.x,this.prevProjectionDelta.x)||!Pb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),d){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=mr(),this.projectionDelta=mr(),this.projectionDeltaWithTransform=mr()}setAnimationOrigin(d,h=!1){const p=this.snapshot,y=p?p.latestValues:{},g={...this.latestValues},v=mr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const S=Ce(),x=p?p.source:void 0,C=this.layout?this.layout.source:void 0,j=x!==C,A=this.getStack(),L=!A||A.members.length<=1,G=!!(j&&!L&&this.options.crossfade===!0&&!this.path.some(yz));this.animationProgress=0;let Y;this.mixTargetDelta=K=>{const Z=K/1e3;Wb(v.x,d.x,Z),Wb(v.y,d.y,Z),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(oc(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),pz(this.relativeTarget,this.relativeTargetOrigin,S,Z),Y&&k3(this.relativeTarget,Y)&&(this.isProjectionDirty=!1),Y||(Y=Ce()),ea(Y,this.relativeTarget)),j&&(this.animationValues=g,K3(g,y,this.latestValues,Z,G,L)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Z},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var h,p,y;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(y=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||y.stop(),this.pendingAnimation&&(Bi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=It.update(()=>{Zu.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Sr(0)),this.motionValue.jump(0,!1),this.currentAnimation=J3(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ez),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:p,layout:y,latestValues:g}=d;if(!(!h||!p||!y)){if(this!==d&&this.layout&&y&&_x(this.options.animationType,this.layout.layoutBox,y.layoutBox)){p=this.target||Ce();const v=We(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+v;const S=We(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+S}ea(h,p),Ku(h,g),Ho(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new tz),this.sharedNodes.get(d).add(h);const y=h.options.initialPromotionConfig;h.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var h;const{layoutId:d}=this.options;return d?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:d}=this.options;return d?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:p}={}){const y=this.getStack();y&&y.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}
vendor: 26,513 bytes, line 270
270resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const y={};p.z&&Eh("z",d,y,this.animationValues);for(let g=0;g<wh.length;g++)Eh(`rotate${wh[g]}`,d,y,this.animationValues),Eh(`skew${wh[g]}`,d,y,this.animationValues);d.render();for(const g in y)d.setStaticValue(g,y[g]),this.animationValues&&(this.animationValues[g]=y[g]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Qu(h==null?void 0:h.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Qu(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!ml(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=y.animationValues||y.latestValues;this.applyTransformsToTarget();let v=P3(this.projectionDeltaWithTransform,this.treeScale,g);p&&(v=p(g,v)),d.transform=v;const{x:S,y:x}=this.projectionDelta;d.transformOrigin=`${S.origin*100}% ${x.origin*100}% 0`,y.animationValues?d.opacity=y===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=y===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const C in um){if(g[C]===void 0)continue;const{correct:j,applyTo:A,isCSSVariable:L}=um[C],G=v==="none"?g[C]:j(g[C],y);if(A){const Y=A.length;for(let K=0;K<Y;K++)d[A[K]]=G}else L?this.options.visualElement.renderState.vars[C]=G:d[C]=G}this.options.layoutId&&(d.pointerEvents=y===this?Qu(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var h;return(h=d.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(Zb),this.root.sharedNodes.clear()}}}function az(n){n.updateLayout()}function iz(n){var r;const i=((r=n.resumeFrom)==null?void 0:r.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:u}=n.layout,{animationType:f}=n.options,d=i.source!==n.layout.source;if(f==="size")va(v=>{const S=d?i.measuredBox[v]:i.layoutBox[v],x=We(S);S.min=o[v].min,S.max=S.min+x});else if(f==="x"||f==="y"){const v=f==="x"?"y":"x";cm(d?i.measuredBox[v]:i.layoutBox[v],o[v])}else _x(f,i.layoutBox,o)&&va(v=>{const S=d?i.measuredBox[v]:i.layoutBox[v],x=We(o[v]);S.max=S.min+x,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+x)});const h=mr();Ho(h,o,i.layoutBox);const p=mr();d?Ho(p,n.applyTransform(u,!0),i.measuredBox):Ho(p,o,i.layoutBox);const y=!zx(h);let g=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:S,layout:x}=v;if(S&&x){const C=n.options.layoutAnchor||void 0,j=Ce();oc(j,i.layoutBox,S.layoutBox,C);const A=Ce();oc(A,o,x.layoutBox,C),Nx(j,A)||(g=!0),v.options.layoutRoot&&(n.relativeTarget=A,n.relativeTargetOrigin=j,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:p,layoutDelta:h,hasLayoutChanged:y,hasRelativeLayoutChanged:g})}else if(n.isLead()){const{onExitComplete:o}=n.options;o&&o()}n.options.transition=void 0}function lz(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function rz(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function oz(n){n.clearSnapshot()}function Zb(n){n.clearMeasurements()}function sz(n){n.isLayoutDirty=!0,n.updateLayout()}function Jb(n){n.isLayoutDirty=!1}function uz(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function cz(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function Ib(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function fz(n){n.resolveTargetDelta()}function dz(n){n.calcProjection()}function hz(n){n.resetSkewAndRotation()}function mz(n){n.removeLeadSnapshot()}function Wb(n,i,r){n.translate=ae(i.translate,0,r),n.scale=ae(i.scale,1,r),n.origin=i.origin,n.originPoint=i.originPoint}function $b(n,i,r,o){n.min=ae(i.min,r.min,o),n.max=ae(i.max,r.max,o)}function pz(n,i,r,o){$b(n.x,i.x,r.x,o),$b(n.y,i.y,r.y,o)}function yz(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const gz={duration:.45,ease:[.4,0,.1,1]},t1=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),e1=t1("applewebkit/")&&!t1("chrome/")?Math.round:Xn;function n1(n){n.min=e1(n.min),n.max=e1(n.max)}function vz(n){n1(n.x),n1(n.y)}function _x(n,i,r){return n==="position"||n==="preserve-aspect"&&!H3(kb(i),kb(r),.2)}function bz(n){var i;return n!==n.root&&((i=n.scroll)==null?void 0:i.wasRoot)}const Sz=Vx({attachResizeListener:(n,i)=>Qo(n,"resize",i),measureScroll:()=>{var n,i;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Ch={current:void 0},Ux=Vx({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Ch.current){const n=new Sz({});n.mount(window),n.setOptions({layoutScroll:!0}),Ch.current=n}return Ch.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),Bx=w.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function xz(n=!0){const i=w.useContext(zm);if(i===null)return[!0,null];const{isPresent:r,onExitComplete:o,register:u}=i,f=w.useId();w.useEffect(()=>{if(n)return u(f)},[n]);const d=w.useCallback(()=>n&&o&&o(f),[f,o,n]);return!r&&o?[!1,d]:[!0]}const Hx=w.createContext({strict:!1}),a1={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 i1=!1;function Tz(){if(i1)return;const n={};for(const i in a1)n[i]={isEnabled:r=>a1[i].some(o=>!!r[o])};mx(n),i1=!0}function Gx(){return Tz(),f3()}function wz(n){const i=Gx();for(const r in n)i[r]={...i[r],...n[r]};mx(i)}const Ez=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 sc(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||Ez.has(n)}let Yx=n=>!sc(n);function Cz(n){typeof n=="function"&&(Yx=i=>i.startsWith("on")?!sc(i):n(i))}try{Cz(require("@emotion/is-prop-valid").default)}catch{}function Az(n,i,r){const o={};for(const u in n)u==="values"&&typeof n.values=="object"||Ge(n[u])||(Yx(u)||r===!0&&sc(u)||!i&&!sc(u)||n.draggable&&u.startsWith("onDrag"))&&(o[u]=n[u]);return o}const Tc=w.createContext({});function Rz(n,i){if(xc(n)){const{initial:r,animate:o}=n;return{initial:r===!1||Ko(r)?r:void 0,animate:Ko(o)?o:void 0}}return n.inherit!==!1?i:{}}function Mz(n){const{initial:i,animate:r}=Rz(n,w.useContext(Tc));return w.useMemo(()=>({initial:i,animate:r}),[l1(i),l1(r)])}function l1(n){return Array.isArray(n)?n.join(" "):n}const ep=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function qx(n,i,r){for(const o in i)!Ge(i[o])&&!xx(o,r)&&(n[o]=i[o])}function Dz({transformTemplate:n},i){return w.useMemo(()=>{const r=ep();return $m(r,i,n),Object.assign({},r.vars,r.style)},[i])}function zz(n,i){const r=n.style||{},o={};return qx(o,r,n),Object.assign(o,Dz(n,i)),o}function Nz(n,i){const r={},o=zz(n,i);return n.drag&&n.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(r.tabIndex=0),r.style=o,r}const Xx=()=>({...ep(),attrs:{}});function Oz(n,i,r,o){const u=w.useMemo(()=>{const f=Xx();return Tx(f,i,Ex(o),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[i]);if(n.style){const f={};qx(f,n.style,n),u.style={...f,...u.style}}return u}const jz=["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 np(n){return typeof n!="string"||n.includes("-")?!1:!!(jz.indexOf(n)>-1||/[A-Z]/u.test(n))}function Lz(n,i,r,{latestValues:o},u,f=!1,d){const p=(d??np(n)?Oz:Nz)(i,o,u,n),y=Az(i,typeof n=="string",f),g=n!==w.Fragment?{...y,...p,ref:r}:{},{children:v}=i,S=w.useMemo(()=>Ge(v)?v.get():v,[v]);return w.createElement(n,{...g,children:S})}function Vz({scrapeMotionValuesFromProps:n,createRenderState:i},r,o,u){return{latestValues:_z(r,o,u,n),renderState:i()}}function _z(n,i,r,o){const u={},f=o(n,{});for(const S in f)u[S]=Qu(f[S]);let{initial:d,animate:h}=n;const p=xc(n),y=dx(n);i&&y&&!p&&n.inherit!==!1&&(d===void 0&&(d=i.initial),h===void 0&&(h=i.animate));let g=r?r.initial===!1:!1;g=g||d===!1;const v=g?h:d;if(v&&typeof v!="boolean"&&!Sc(v)){const S=Array.isArray(v)?v:[v];for(let x=0;x<S.length;x++){const C=Pm(n,S[x]);if(C){const{transitionEnd:j,transition:A,...L}=C;for(const G in L){let Y=L[G];if(Array.isArray(Y)){const K=g?Y.length-1:0;Y=Y[K]}Y!==null&&(u[G]=Y)}for(const G in j)u[G]=j[G]}}}return u}const kx=n=>(i,r)=>{const o=w.useContext(Tc),u=w.useContext(zm),f=()=>Vz(n,i,o,u);return r?f():j2(f)},Uz=kx({scrapeMotionValuesFromProps:tp,createRenderState:ep}),Bz=kx({scrapeMotionValuesFromProps:Cx,createRenderState:Xx}),Hz=Symbol.for("motionComponentSymbol");function Gz(n,i,r){const o=w.useRef(r);w.useInsertionEffect(()=>{o.current=r});const u=w.useRef(null);return w.useCallback(f=>{var h;f&&((h=n.onMount)==null||h.call(n,f));const d=o.current;if(typeof d=="function")if(f){const p=d(f);typeof p=="function"&&(u.current=p)}else u.current?(u.current(),u.current=null):d(f);else d&&(d.current=f);i&&(f?i.mount(f):i.unmount())},[i])}const Px=w.createContext({});function fr(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function Yz(n,i,r,o,u,f){var Y,K;const{visualElement:d}=w.useContext(Tc),h=w.useContext(Hx),p=w.useContext(zm),y=w.useContext(Bx),g=y.reducedMotion,v=y.skipAnimations,S=w.useRef(null),x=w.useRef(!1);o=o||h.renderer,!S.current&&o&&(S.current=o(n,{visualState:i,parent:d,props:r,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g,skipAnimations:v,isSVG:f}),x.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const C=S.current,j=w.useContext(Px);C&&!C.projection&&u&&(C.type==="html"||C.type==="svg")&&qz(S.current,r,u,j);const A=w.useRef(!1);w.useInsertionEffect(()=>{C&&A.current&&C.update(r,p)});const L=r[$S],G=w.useRef(!!L&&typeof window<"u"&&!((Y=window.MotionHandoffIsComplete)!=null&&Y.call(window,L))&&((K=window.MotionHasOptimisedAnimation)==null?void 0:K.call(window,L)));return V2(()=>{x.current=!0,C&&(A.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),G.current&&C.animationState&&C.animationState.animateChanges())}),w.useEffect(()=>{C&&(!G.current&&C.animationState&&C.animationState.animateChanges(),G.current&&(queueMicrotask(()=>{var Z;(Z=window.MotionHandoffMarkAsComplete)==null||Z.call(window,L)}),G.current=!1),C.enteringChildren=void 0)}),C}function qz(n,i,r,o){const{layoutId:u,layout:f,drag:d,dragConstraints:h,layoutScroll:p,layoutRoot:y,layoutAnchor:g,layoutCrossfade:v}=i;n.projection=new r(n.latestValues,i["data-framer-portal-id"]?void 0:Fx(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!d||h&&fr(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:o,crossfade:v,layoutScroll:p,layoutRoot:y,layoutAnchor:g})}function Fx(n){if(n)return n.options.allowProjection!==!1?n.projection:Fx(n.parent)}function Ah(n,{forwardMotionProps:i=!1,type:r}={},o,u){o&&wz(o);const f=r?r==="svg":np(n),d=f?Bz:Uz;function h(y,g){let v;const S={...w.useContext(Bx),...y,layoutId:Xz(y)},{isStatic:x}=S,C=Mz(y),j=d(y,x);if(!x&&typeof window<"u"){kz();const A=Pz(S);v=A.MeasureLayout,C.visualElement=Yz(n,j,S,u,A.ProjectionNode,f)}return O.jsxs(Tc.Provider,{value:C,children:[v&&C.visualElement?O.jsx(v,{visualElement:C.visualElement,...S}):null,Lz(n,y,Gz(j,C.visualElement,g),j,x,i,f)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const p=w.forwardRef(h);return p[Hz]=n,p}function Xz({layoutId:n}){const i=w.useContext(fS).id;return i&&n!==void 0?i+"-"+n:n}function kz(n,i){w.useContext(Hx).strict}function Pz(n){const i=Gx(),{drag:r,layout:o}=i;if(!r&&!o)return{};const u={...r,...o};return{MeasureLayout:r!=null&&r.isEnabled(n)||o!=null&&o.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function Fz(n,i){if(typeof Proxy>"u")return Ah;const r=new Map,o=(f,d)=>Ah(f,d,n,i),u=(f,d)=>o(f,d);return new Proxy(u,{get:(f,d)=>d==="create"?o:(r.has(d)||r.set(d,Ah(d,void 0,n,i)),r.get(d))})}const Kz=(n,i)=>i.isSVG??np(n)?new M3(i):new T3(i,{allowProjection:n!==w.Fragment});class Qz extends Gi{constructor(i){super(i),i.animationState||(i.animationState=j3(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Sc(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:r}=this.node.prevProps||{};i!==r&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let Zz=0;class Jz extends Gi{constructor(){super(...arguments),this.id=Zz++,this.isExitComplete=!1}update(){var f;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===o)return;if(i&&o===!1){if(this.isExitComplete){const{initial:d,custom:h}=this.node.getProps();if(typeof d=="string"){const p=bl(this.node,d,h);if(p){const{transition:y,transitionEnd:g,...v}=p;for(const S in v)(f=this.node.getValue(S))==null||f.jump(v[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const u=this.node.animationState.setActive("exit",!i);r&&!i&&u.then(()=>{this.isExitComplete=!0,r(this.id)})}mount(){const{register:i,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const Iz={animation:{Feature:Qz},exit:{Feature:Jz}};function rs(n){return{point:{x:n.pageX,y:n.pageY}}}const Wz=n=>i=>Zm(i)&&n(i,rs(i));function Go(n,i,r,o){return Qo(n,i,Wz(r),o)}const Kx=({current:n})=>n?n.ownerDocument.defaultView:null,r1=(n,i)=>Math.abs(n-i);function $z(n,i){const r=r1(n.x,i.x),o=r1(n.y,i.y);return Math.sqrt(r**2+o**2)}const o1=new Set(["auto","scroll"]);class Qx{constructor(i,r,{transformPagePoint:o,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=x=>{this.handleScroll(x.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Hu(this.lastRawMoveEventInfo,this.transformPagePoint));const x=Rh(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,j=$z(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!j)return;const{point:A}=x,{timestamp:L}=Be;this.history.push({...A,timestamp:L});const{onStart:G,onMove:Y}=this.handlers;C||(G&&G(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),Y&&Y(this.lastMoveEvent,x)},this.handlePointerMove=(x,C)=>{this.lastMoveEvent=x,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Hu(C,this.transformPagePoint),It.update(this.updatePoint,!0)},this.handlePointerUp=(x,C)=>{this.end();const{onEnd:j,onSessionEnd:A,resumeAnimation:L}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=Rh(x.type==="pointercancel"?this.lastMoveEventInfo:Hu(C,this.transformPagePoint),this.history);this.startEvent&&j&&j(x,G),A&&A(x,G)},!Zm(i))return;this.dragSnapToOrigin=f,this.handlers=r,this.transformPagePoint=o,this.distanceThreshold=d,this.contextWindow=u||window;const p=rs(i),y=Hu(p,this.transformPagePoint),{point:g}=y,{timestamp:v}=Be;this.history=[{...g,timestamp:v}];const{onSessionStart:S}=r;S&&S(i,Rh(y,this.history)),this.removeListeners=as(Go(this.contextWindow,"pointermove",this.handlePointerMove),Go(this.contextWindow,"pointerup",this.handlePointerUp),Go(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(i){let r=i.parentElement;for(;r;){const o=getComputedStyle(r);(o1.has(o.overflowX)||o1.has(o.overflowY))&&this.scrollPositions.set(r,{x:r.scrollLeft,y:r.scrollTop}),r=r.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(i){const r=this.scrollPositions.get(i);if(!r)return;const o=i===window,u=o?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},f={x:u.x-r.x,y:u.y-r.y};f.x===0&&f.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(i,u),It.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Bi(this.updatePoint)}}function Hu(n,i){return i?{point:i(n.point)}:n}function s1(n,i){return{x:n.x-i.x,y:n.y-i.y}}function Rh({point:n},i){return{point:n,delta:s1(n,Zx(i)),offset:s1(n,tN(i)),velocity:eN(i,.1)}}function tN(n){return n[0]}function Zx(n){return n[n.length-1]}function eN(n,i){if(n.length<2)return{x:0,y:0};let r=n.length-1,o=null;const u=Zx(n);for(;r>=0&&(o=n[r],!(u.timestamp-o.timestamp>Cn(i)));)r--;if(!o)return{x:0,y:0};o===n[0]&&n.length>2&&u.timestamp-o.timestamp>Cn(i)*2&&(o=n[1]);const f=Yn(u.timestamp-o.timestamp);if(f===0)return{x:0,y:0};const d={x:(u.x-o.x)/f,y:(u.y-o.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function nN(n,{min:i,max:r},o){return i!==void 0&&n<i?n=o?ae(i,n,o.min):Math.max(n,i):r!==void 0&&n>r&&(n=o?ae(r,n,o.max):Math.min(n,r)),n}function u1(n,i,r){return{min:i!==void 0?n.min+i:void 0,max:r!==void 0?n.max+r-(n.max-n.min):void 0}}function aN(n,{top:i,left:r,bottom:o,right:u}){return{x:u1(n.x,r,u),y:u1(n.y,i,o)}}function c1(n,i){let r=i.min-n.min,o=i.max-n.max;return i.max-i.min<n.max-n.min&&([r,o]=[o,r]),{min:r,max:o}}function iN(n,i){return{x:c1(n.x,i.x),y:c1(n.y,i.y)}}function lN(n,i){let r=.5;const o=We(n),u=We(i);return u>o?r=Po(i.min,i.max-o,n.min):o>u&&(r=Po(n.min,n.max-u,i.min)),wa(0,1,r)}function rN(n,i){const r={};return i.min!==void 0&&(r.min=i.min-n.min),i.max!==void 0&&(r.max=i.max-n.min),r}const fm=.35;function oN(n=fm){return n===!1?n=0:n===!0&&(n=fm),{x:f1(n,"left","right"),y:f1(n,"top","bottom")}}function f1(n,i,r){return{min:d1(n,i),max:d1(n,r)}}function d1(n,i){return typeof n=="number"?n:n[i]||0}const sN=new WeakMap;class uN{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ce(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:r=!1,distanceThreshold:o}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=v=>{r&&this.snapToCursor(rs(v).point),this.stopAnimation()},d=(v,S)=>{const{drag:x,dragPropagation:C,onDragStart:j}=this.getProps();if(x&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=YD(x),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),va(L=>{let G=this.getAxisMotionValue(L).get()||0;if(Ta.test(G)){const{projection:Y}=this.visualElement;if(Y&&Y.layout){const K=Y.layout.layoutBox[L];K&&(G=We(K)*(parseFloat(G)/100))}}this.originPoint[L]=G}),j&&It.update(()=>j(v,S),!1,!0),nm(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},h=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S;const{dragPropagation:x,dragDirectionLock:C,onDirectionLock:j,onDrag:A}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:L}=S;if(C&&this.currentDirection===null){this.currentDirection=fN(L),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",S.point,L),this.updateAxis("y",S.point,L),this.visualElement.render(),A&&It.update(()=>A(v,S),!1,!0)},p=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S,this.stop(v,S),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Qx(i,{onSessionStart:f,onStart:d,onMove:h,onSessionEnd:p,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:o,contextWindow:Kx(this.visualElement),element:this.visualElement.current})}stop(i,r){const o=i||this.latestPointerEvent,u=r||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!o)return;const{velocity:d}=u;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&It.postRender(()=>h(o,u))}cancel(){this.isDragging=!1;const{projection:i,animationState:r}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,r,o){const{drag:u}=this.getProps();if(!o||!Gu(i,u,this.currentDirection))return;const f=this.getAxisMotionValue(i);let d=this.originPoint[i]+o[i];this.constraints&&this.constraints[i]&&(d=nN(d,this.constraints[i],this.elastic[i])),f.set(d)}resolveConstraints(){var f;const{dragConstraints:i,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,u=this.constraints;i&&fr(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&o?this.constraints=aN(o.layoutBox,i):this.constraints=!1,this.elastic=oN(r),u!==this.constraints&&!fr(i)&&o&&this.constraints&&!this.hasMutatedConstraints&&va(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=rN(o.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:r}=this.getProps();if(!i||!fr(i))return!1;const o=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=y3(o,u.root,this.visualElement.getTransformPagePoint());let d=iN(u.layout.layoutBox,f);if(r){const h=r(h3(d));this.hasMutatedConstraints=!!h,h&&(d=yx(h))}return d}startAnimation(i){const{drag:r,dragMomentum:o,dragElastic:u,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},y=va(g=>{if(!Gu(g,r,this.currentDirection))return;let v=p&&p[g]||{};(d===!0||d===g)&&(v={min:0,max:0});const S=u?200:1e6,x=u?40:1e7,C={type:"inertia",velocity:o?i[g]:0,bounceStiffness:S,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(g,C)});return Promise.all(y).then(h)}startAxisValueAnimation(i,r){const o=this.getAxisMotionValue(i);return nm(this.visualElement,i),o.start(km(i,o,0,r,this.visualElement,!1))}stopAnimation(){va(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const r=`_drag${i.toUpperCase()}`,o=this.visualElement.getProps(),u=o[r];return u||this.visualElement.getValue(i,(o.initial?o.initial[i]:void 0)||0)}snapToCursor(i){va(r=>{const{drag:o}=this.getProps();if(!Gu(r,o,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(r);if(u&&u.layout){const{min:d,max:h}=u.layout.layoutBox[r],p=f.get()||0;f.set(i[r]-ae(d,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:r}=this.getProps(),{projection:o}=this.visualElement;if(!fr(r)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};va(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const p=h.get();u[d]=lN({min:p,max:p},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),va(d=>
270{if(!Gu(d,i,null))return;const h=this.getAxisMotionValue(d),{min:p,max:y}=this.constraints[d];h.set(ae(p,y,u[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;sN.set(this.visualElement,this);const i=this.visualElement.current,r=Go(i,"pointerdown",y=>{const{drag:g,dragListener:v=!0}=this.getProps(),S=y.target,x=S!==i&&KD(S);g&&v&&!x&&this.start(y)});let o;const u=()=>{const{dragConstraints:y}=this.getProps();fr(y)&&y.current&&(this.constraints=this.resolveRefConstraints(),o||(o=cN(i,y.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),It.read(u);const h=Qo(window,"resize",()=>this.scalePositionWithinConstraints()),p=f.addEventListener("didUpdate",(({delta:y,hasLayoutChanged:g})=>{this.isDragging&&g&&(va(v=>{const S=this.getAxisMotionValue(v);S&&(this.originPoint[v]+=y[v].translate,S.set(S.get()+y[v].translate))}),this.visualElement.render())}));return()=>{h(),r(),d(),p&&p(),o&&o()}}getProps(){const i=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:d=fm,dragMomentum:h=!0}=i;return{...i,drag:r,dragDirectionLock:o,dragPropagation:u,dragConstraints:f,dragElastic:d,dragMomentum:h}}}function h1(n){let i=!0;return()=>{if(i){i=!1;return}n()}}function cN(n,i,r){const o=Tb(n,h1(r)),u=Tb(i,h1(r));return()=>{o(),u()}}function Gu(n,i,r){return(i===!0||i===n)&&(r===null||r===n)}function fN(n,i=10){let r=null;return Math.abs(n.y)>i?r="y":Math.abs(n.x)>i&&(r="x"),r}class dN extends Gi{constructor(i){super(i),this.removeGroupControls=Xn,this.removeListeners=Xn,this.controls=new uN(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Xn}update(){const{dragControls:i}=this.node.getProps(),{dragControls:r}=this.node.prevProps||{};i!==r&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Mh=n=>(i,r)=>{n&&It.update(()=>
vendor: 7,715 bytes, line 270
270n(i,r),!1,!0)};class hN extends Gi{constructor(){super(...arguments),this.removePointerDownListener=Xn}onPointerDown(i){this.session=new Qx(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kx(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:r,onPan:o,onPanEnd:u}=this.node.getProps();return{onSessionStart:Mh(i),onStart:Mh(r),onMove:Mh(o),onEnd:(f,d)=>{delete this.session,u&&It.postRender(()=>u(f,d))}}}mount(){this.removePointerDownListener=Go(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Dh=!1;class mN extends w.Component{componentDidMount(){const{visualElement:i,layoutGroup:r,switchLayoutGroup:o,layoutId:u}=this.props,{projection:f}=i;f&&(r.group&&r.group.add(f),o&&o.register&&u&&o.register(f),Dh&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Zu.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:r,visualElement:o,drag:u,isPresent:f}=this.props,{projection:d}=o;return d&&(d.isPresent=f,i.layoutDependency!==r&&d.setOptions({...d.options,layoutDependency:r}),Dh=!0,u||i.layoutDependency!==r||r===void 0||i.isPresent!==f?d.willUpdate():this.safeToRemove(),i.isPresent!==f&&(f?d.promote():d.relegate()||It.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:r}=this.props,{projection:o}=i;o&&(o.options.layoutAnchor=r,o.root.didUpdate(),Qm.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:r,switchLayoutGroup:o}=this.props,{projection:u}=i;Dh=!0,u&&(u.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(u),o&&o.deregister&&o.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Jx(n){const[i,r]=xz(),o=w.useContext(fS);return O.jsx(mN,{...n,layoutGroup:o,switchLayoutGroup:w.useContext(Px),isPresent:i,safeToRemove:r})}const pN={pan:{Feature:hN},drag:{Feature:dN,ProjectionNode:Ux,MeasureLayout:Jx}};function m1(n,i,r){const{props:o}=n;n.animationState&&o.whileHover&&n.animationState.setActive("whileHover",r==="Start");const u="onHover"+r,f=o[u];f&&It.postRender(()=>f(i,rs(i)))}class yN extends Gi{mount(){const{current:i}=this.node;i&&(this.unmount=XD(i,(r,o)=>(m1(this.node,o,"Start"),u=>m1(this.node,u,"End"))))}unmount(){}}class gN extends Gi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=as(Qo(this.node.current,"focus",()=>this.onFocus()),Qo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function p1(n,i,r){const{props:o}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&o.whileTap&&n.animationState.setActive("whileTap",r==="Start");const u="onTap"+(r==="End"?"":r),f=o[u];f&&It.postRender(()=>f(i,rs(i)))}class vN extends Gi{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:r,propagate:o}=this.node.props;this.unmount=ZD(i,(u,f)=>(p1(this.node,f,"Start"),(d,{success:h})=>p1(this.node,d,h?"End":"Cancel")),{useGlobalTarget:r,stopPropagation:(o==null?void 0:o.tap)===!1})}unmount(){}}const dm=new WeakMap,zh=new WeakMap,bN=n=>{const i=dm.get(n.target);i&&i(n)},SN=n=>{n.forEach(bN)};function xN({root:n,...i}){const r=n||document;zh.has(r)||zh.set(r,{});const o=zh.get(r),u=JSON.stringify(i);return o[u]||(o[u]=new IntersectionObserver(SN,{root:n,...i})),o[u]}function TN(n,i,r){const o=xN(i);return dm.set(n,r),o.observe(n),()=>{dm.delete(n),o.unobserve(n)}}const wN={some:0,all:1};class EN extends Gi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var p;(p=this.stopObserver)==null||p.call(this);const{viewport:i={}}=this.node.getProps(),{root:r,margin:o,amount:u="some",once:f}=i,d={root:r?r.current:void 0,rootMargin:o,threshold:typeof u=="number"?u:wN[u]},h=y=>{const{isIntersecting:g}=y;if(this.isInView===g||(this.isInView=g,f&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:v,onViewportLeave:S}=this.node.getProps(),x=g?v:S;x&&x(y)};this.stopObserver=TN(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:r}=this.node;["amount","margin","root"].some(CN(i,r))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}function CN({viewport:n={}},{viewport:i={}}={}){return r=>n[r]!==i[r]}const AN={inView:{Feature:EN},tap:{Feature:vN},focus:{Feature:gN},hover:{Feature:yN}},RN={layout:{ProjectionNode:Ux,MeasureLayout:Jx}},MN={...Iz,...AN,...pN,...RN},Ka=Fz(MN,Kz);function DN(){return O.jsxs(O.Fragment,{children:[O.jsxs(w1,{children:[O.jsx("title",{children:"Majora Carter Group â Real Estate Development & Community Revitalization"}),O.jsx("meta",{name:"description",content:"Majora Carter Group provides real estate development, community revitalization strategy, and speaking services led by MacArthur Fellow Majora Carter."}),O.jsx("link",{rel:"canonical",href:"https://majoracartergroup.com/"}),O.jsx("meta",{property:"og:title",content:"Majora Carter Group â Real Estate Development & Community Revitalization"}),O.jsx("meta",{property:"og:description",content:"Majora Carter Group provides real estate development, community revitalization strategy, and speaking services led by MacArthur Fellow Majora Carter."}),O.jsx("meta",{property:"og:url",content:"https://majoracartergroup.com/"}),O.jsx("meta",{property:"og:type",content:"website"}),O.jsx("meta",{property:"og:image",content:"https://majoracartergroup.com/assets/images/99c6161e698e628ae70a9842c2b245fd.jpg"}),O.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),O.jsx("meta",{name:"twitter:image",content:"https://majoracartergroup.com/assets/images/99c6161e698e628ae70a9842c2b245fd.jpg"}),O.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Majora Carter Group",url:"https://majoracartergroup.com",logo:"https://majoracartergroup.com/assets/images/b9d1762a4343798e2e70f4d38fd206b3.jpg",description:"Real estate development and community revitalization strategy led by MacArthur Fellow Majora Carter.",founder:{"@type":"Person",name:"Majora Carter"},sameAs:["https://www.instagram.com/majoracarter","https://www.linkedin.com/in/majora-carter-8649529/","https://www.x.com/majoracarter"]})})]}),O.jsxs("section",{className:"relative flex items-center overflow-hidden",style:{minHeight:"90vh"},children:[O.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"url('/assets/images/99c6161e698e628ae70a9842c2b245fd.jpg')",backgroundSize:"cover",backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundColor:"#1C1C1A"}}),O.jsx("div",{className:"absolute inset-0",style:{backgroundColor:"rgba(10,8,5,0.62)"}}),O.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6 lg:px-10 w-full py-20 flex items-center min-h-[90vh]",children:O.jsxs(Ka.div,{initial:{opacity:0,y:30}
270,animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"flex flex-col gap-6 max-w-2xl",children:[O.jsx("p",{className:"text-xs font-semibold tracking-[0.25em] uppercase",style:{color:"#ffffff",fontFamily:"var(--font-sans)"},children:"Real Estate Development · Community Revitalization"}),O.jsx("h1",{className:"text-5xl lg:text-6xl xl:text-7xl font-bold leading-tight text-white",style:{fontFamily:"var(--font-heading)",textShadow:"0 2px 12px rgba(0,0,0,0.5)"},children:"Majora Carter Group"}),O.jsx("p",{className:"text-lg leading-relaxed max-w-xl",style:{color:"#ffffff",fontFamily:"var(--font-sans)",textShadow:"0 1px 6px rgba(0,0,0,0.4)"},children:"Visionary advice, diverse and accomplished networks, and depth of experience all add priceless insights to client goals at any level."}),O.jsx("div",{className:"flex flex-wrap gap-3 mt-2",children:["Real Estate Development","Community Revitalization Strategy","Speaking & Media"].map(n=>O.jsx("span",{className:"text-xs font-medium px-4 py-2 rounded-full border",style:{borderColor:"rgba(255,255,255,0.6)",color:"#ffffff",fontFamily:"var(--font-sans)",backgroundColor:"rgba(0,0,0,0.35)"},children:n},n))}),O.jsx("div",{className:"mt-4",children:O.jsx(Gn,{to:"/services",className:"inline-block px-8 py-4 text-sm font-semibold tracking-wide text-white transition-opacity duration-200 hover:opacity-90",style:{backgroundColor:"#6B5240",fontFamily:"var(--font-sans)"},children:"Our Services"})})]})})]}),O.jsxs("section",{className:"relative overflow-hidden py-24",style:{backgroundColor:"#F5F0E8"},children:[O.jsx("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none select-none overflow-hidden","aria-hidden":"true",children:O.jsx("span",{className:"text-[12vw] font-bold whitespace-nowrap",style:{color:"#C4A882",opacity:.12,fontFamily:"var(--font-heading)",letterSpacing:"0.1em"},children:"WHAT WE DO"})}),O.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 lg:px-10 grid grid-cols-1 lg:grid-cols-2 gap-16 items-start",children:[O.jsx(Ka.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},children:O.jsx("div",{className:"overflow-hidden",style:{border:"4px solid #C4A882"},children:O.jsx("img",{src:"/assets/images/388ccadb7628a80ff7cac8e99b5e8204.jpg",alt:"Majora Carter",className:"w-full object-cover",style:{maxHeight:"520px",objectPosition:"center top"}})})}),O.jsxs(Ka.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.15,ease:"easeOut"},className:"flex flex-col gap-6 pt-4",children:[O.jsx("h2",{className:"text-4xl lg:text-5xl font-bold leading-tight",style:{color:"#1C1C1A",fontFamily:"var(--font-heading)"},children:"What We Do"}),O.jsx("div",{className:"w-16 h-1",style:{backgroundColor:"#8B7355"}}),O.jsxs("div",{className:"flex flex-col gap-5",style:{color:"#3a3530",fontFamily:"var(--font-sans)"},children:[O.jsx("p",{className:"text-base leading-relaxed",children:"We are real estate developers and community revitalization strategists responsible for the creation of numerous economic development, technology inclusion and green-infrastructure projects, policies and job training & placement systems."}),O.jsx("p",{className:"text-base leading-relaxed",children:"MCG leads change you can see on the ground, and in the hearts and minds of the people needed to support progress."}),O.jsx("p",{className:"text-base leading-relaxed",children:"Visionary advice, diverse and accomplished networks, and depth of experience all add priceless insights to client goals at any level."}),O.jsx("p",{className:"text-base leading-relaxed",children:"We partner on projects and help solve challenges to build new economic growth."}),O.jsx("p",{className:"text-base leading-relaxed font-medium",style:{color:"#6B5240"},children:"Our principal, Majora Carter is a MacArthur Fellow, Peabody Award winning broadcaster and international thought leader."})]}),O.jsx("div",{className:"mt-4",children:O.jsx(Gn,{to:"/about",className:"inline-block px-8 py-3 text-sm font-semibold tracking-wide text-white transition-opacity duration-200 hover:opacity-90",style:{backgroundColor:"#8B7355",fontFamily:"var(--font-sans)"},children:"Learn More About Majora"})})]})]})]}),O.jsx("section",{className:"py-20 bg-white",children:O.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10",children:[O.jsxs("div",{className:"text-center mb-12",children:[O.jsx("h2",{className:"text-3xl font-bold",style:{color:"#1C1C1A",fontFamily:"var(--font-heading)"},children:"Our Clients"}),O.jsx("div",{className:"w-16 h-0.5 mx-auto mt-4",style:{backgroundColor:"#C4A882"}})]}),O.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 ga
270p-x-8 gap-y-10 items-center justify-items-center",children:[{src:"/assets/logos/cr=w_104,h_100.webp",alt:"Loyola Marymount University"},{src:"/assets/logos/cr=w_112,h_100.webp",alt:"University of Michigan"},{src:"/assets/logos/cr=w_189,h_100 (1).webp",alt:"BlogHer"},{src:"/assets/logos/cr=w_59,h_100.webp",alt:"ASQ â American Society for Quality"},{src:"/assets/logos/cr=w_102,h_100.webp",alt:"City of Greenville"},{src:"/assets/logos/rs=h_100,cg_true,m.webp",alt:"Penn State Public Media"},{src:"/assets/logos/cr=w_161,h_100.webp",alt:"Make It Right"},{src:"/assets/logos/cr=w_189,h_100.webp",alt:"Cisco"},{src:"/assets/logos/cr=w_114,h_100.webp",alt:"Net Impact"},{src:"/assets/logos/rs=h_100,cg_true,m (3).webp",alt:"Penn State"},{src:"/assets/logos/cr=w_100,h_100.webp",alt:"Client"},{src:"/assets/logos/rs=h_100,cg_true,m (2).webp",alt:"Client"},{src:"/assets/logos/cr=w_168,h_100 (2).webp",alt:"Client"},{src:"/assets/logos/cr=w_168,h_100 (1).webp",alt:"Client"},{src:"/assets/logos/cr=w_168,h_100.webp",alt:"Client"},{src:"/assets/logos/rs=w_142,h_100,cg_true.webp",alt:"Client"},{src:"/assets/logos/rs=h_100,cg_true,m (1).webp",alt:"Client"},{src:"/assets/logos/cr=w_189,h_100 (2).webp",alt:"Client"},{src:"/assets/logos/cr=w_101,h_100.webp",alt:"Client"}].map(n=>O.jsx("div",{className:"flex items-center justify-center p-3 w-full",children:O.jsx("img",{src:n.src,alt:n.alt,className:"h-12 w-auto object-contain max-w-[140px]",style:{transition:"opacity 0.2s"},onMouseEnter:i=>{i.currentTarget.style.opacity="1"},onMouseLeave:i=>{i.currentTarget.style.opacity="0.85"}})},n.src))})]})}),O.jsxs("section",{className:"relative py-24 overflow-hidden",style:{backgroundColor:"rgba(196,168,130,0.18)",borderTop:"1px solid #D4C4A8"},children:[O.jsx("div",{className:"absolute inset-0 flex items-center pointer-events-none select-none overflow-hidden","aria-hidden":"true",children:O.jsx("span",{className:"text-[14vw] font-bold whitespace-nowrap pl-8",style:{color:"#C4A882",opacity:.1,fontFamily:"var(--font-heading)",letterSpacing:"0.08em"},children:"SERVICES"})}),O.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 lg:px-10 grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[O.jsxs(Ka.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"flex flex-col gap-6",children:[O.jsx("h2",{className:"text-4xl lg:text-5xl font-bold leading-tight",style:{color:"#1C1C1A",fontFamily:"var(--font-heading)"},children:"Services"}),O.jsx("div",{className:"w-16 h-1",style:{backgroundColor:"#8B7355"}}),O.jsx("p",{className:"text-base leading-relaxed max-w-lg",style:{color:"#3a3530",fontFamily:"var(--font-sans)"},children:"Whether your aim is to inspire new thinking among an established audience, bring together different constituencies in a productive forum for honest discussions about important topics, or demonstrate to lay people and professionals alike that more is possible, MCG can help."}),O.jsx("div",{className:"mt-2",children:O.jsx(Gn,{to:"/services",className:"inline-block px-8 py-3 text-sm font-semibold tracking-wide text-white transition-opacity duration-200 hover:opacity-90",style:{backgroundColor:"#6B5240",fontFamily:"var(--font-sans)"},children:"Find Out More"})})]}),O.jsx(Ka.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,delay:.15,ease:"easeOut"},className:"flex flex-col gap-5",children:[{title:"Real Estate Development",desc:"No matter what stage you have achieved, we've been there. We help projects gain support among new allies, and strengthen ties with established partners."},{title:"Community Revitalization Strategy",desc:"Intensive sessions for teams to stretch, learn, and express Diversity and Inclusion with creativity, respect and support for new solutions."},{title:"Speaking & Media",desc:"Inspire new thinking, bring together different constituencies for productive discussions, and demonstrate how more is possible."}].map(n=>O.jsxs("div",{className:"p-6 border-l-4",style:{borderColor:"#8B7355",backgroundColor:"rgba(255,255,255,0.6)"},children:[O.jsx("h3",{className:"text-lg font-bold mb-2",style:{color:"#1C1C1A",fontFamily:"var(--font-heading)"},children:n.title}),O.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#3a3530",fontFamily:"var(--font-sans)"},children:n.desc})]},n.title))})]})]}),O.jsx("section",{className:"py-24",style:{backgroundColor:"#F5F0E8"}
270,children:O.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10 grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[O.jsx(Ka.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7,ease:"easeOut"},className:"flex justify-center lg:justify-start",children:O.jsx("img",{src:"/assets/cr=t_0,w_100.webp",alt:"Reclaiming Your Community book cover",className:"w-full max-w-md object-contain shadow-2xl"})}),O.jsxs(Ka.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.15,ease:"easeOut"},className:"flex flex-col gap-6",children:[O.jsx("p",{className:"text-xs font-semibold tracking-[0.25em] uppercase",style:{color:"#8B7355",fontFamily:"var(--font-sans)"},children:"New Book"}),O.jsx("h2",{className:"text-4xl lg:text-5xl font-bold leading-tight",style:{color:"#1C1C1A",fontFamily:"var(--font-heading)"},children:"Reclaiming Your Community"}),O.jsx("div",{className:"w-16 h-1",style:{backgroundColor:"#8B7355"}}),O.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3a3530",fontFamily:"var(--font-sans)"},children:"How can we address the problem of persistent poverty in low-status communities differently, and slow down the brain-drain that cripples local economic progress? Just like successful companies have talent-retention strategies, Majora Carter argues that these communities need to do the same."}),O.jsx("div",{className:"mt-2",children:O.jsx("a",{href:"https://bookshop.org/p/books/reclaiming-your-community-you-don-t-have-to-move-out-of-your-neighborhood-to-live-in-a-better-one-majora-carter/16975113?ean=9781523000296",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 text-sm font-semibold tracking-wide text-white transition-opacity duration-200 hover:opacity-90",style:{backgroundColor:"#6B5240",fontFamily:"var(--font-sans)"},children:"Purchase"})})]})]})}),O.jsx("section",{className:"py-24 bg-white",children:O.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-10 grid grid-cols-1 lg:grid-cols-2 gap-16 items-start",children:[O.jsxs(Ka.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:"easeOut"},className:"flex flex-col gap-5",children:[O.jsx("h2",{className:"text-4xl lg:text-5xl font-bold",style:{color:"#1C1C1A",fontFamily:"var(--font-heading)"},children:"Contact Us"}),O.jsx("div",{className:"w-16 h-1",style:{backgroundColor:"#8B7355"}}),O.jsx("a",{href:"mailto:[email protected]",className:"text-base transition-colors duration-200 hover:underline",style:{color:"#6B5240",fontFamily:"var(--font-sans)"},children:"[email protected]"}),O.jsx("div",{className:"mt-2",children:O.jsx(Gn,{to:"/contact",className:"inline-block px-8 py-3 text-sm font-semibold tracking-wide text-white transition-opacity duration-200 hover:opacity-90",style:{backgroundColor:"#6B5240",fontFamily:"var(--font-sans)"},children:"Connect With Us"})})]}),O.jsxs(Ka.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:"easeOut"},className:"flex flex-col gap-4",children:[O.jsx("p",{className:"text-base font-medium",style:{color:"#1C1C1A",fontFamily:"var(--font-sans)"},children:"Sign up to hear from us."}),O.jsxs("form",{className:"flex flex-col sm:flex-row gap-3",onSubmit:n=>n.preventDefault(),children:[O.jsx("input",{type:"email",placeholder:"Your email address",className:"flex-1 px-4 py-3 text-sm border outline-none focus:ring-2",style:{borderColor:"#D4C4A8",fontFamily:"var(--font-sans)",backgroundColor:"#F5F0E8",color:"#1C1C1A","--tw-ring-color":"#8B7355"}}),O.jsx("button",{type:"submit",className:"px-6 py-3 text-sm font-semibold tracking-wide text-white transition-opacity duration-200 hover:opacity-90 whitespace-nowrap",style:{backgroundColor:"#8B7355",fontFamily:"var(--font-sans)"},children:"Sign Up"})]})]})]})})]})}const zN=Gn;function NN(){return O.jsx("div",{className:"min-h-screen flex items-center justify-center",style:{background:"linear-gradient(to bottom right, hsl(var(--primary)), hsl(var(--secondary)))"},children:O.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:O.jsxs("div",{className:"space-y-8",children:[O.jsxs("div",{className:"space-y-4",children:[O.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),O.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),O.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),O.jsxs("div",{className:"flex justify-center gap-4",children:[O.jsx(zN,{to:"/",children:O.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},children:"ð Go Home"})}),O.jsx("button",{className:"px-8 py-3 bg-white font-semibold rounded-lg shadow-lg hover:shadow-xl transition-all hover:scale-105",style:{color:"hsl(var(--primary))"},onClick:()=>window.history.back(),children:"â Go Back"})]})]})})})}const ON=NN,jN=w.lazy(()=>Er(()=>import("./about-ChWQ5NB9.js"),__vite__mapDeps([0,1,2,3]))),LN=w.lazy(()=>Er(()=>import("./services-DAFPIq5A.js"),__vite__mapDeps([4,1,2,3]))),VN=w.lazy(()=>Er(()=>import("./projects-BBDJ_Unf.js"),__vite__mapDeps([5,1,2,3]))),_N=w.lazy(()=>Er(()=>import("./book-CT0FxzVv.js"),__vite__mapDeps([6,1,2,3]))),UN=w.lazy(()=>Er(()=>import("./speaking-DNAS3IPD.js"),__vite__mapDeps([7,1,2,3]))),BN=w.lazy(()=>Er(()=>import("./contact-BXXSLYao.js"),__vite__mapDeps([8,1,2,3]))),HN=[{path:"/",element:O.jsx(DN,{})},{path:"/about",element:O.jsx(jN,{})},{path:"/services",element:O.jsx(LN,{})},{path:"/projects",element:O.jsx(VN,{})},{path:"/book",element:O.jsx(_N,{})},{path:"/speaking",element:O.jsx(UN,{})},{path:"/contact",element:O.jsx(BN,{})},{path:"*",element:O.jsx(ON,{})}],GN=()=>O.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:O.jsx(z2,{})}),YN=O.jsx(w.Suspense,{fallback:O.jsx(GN,{}),children:O.jsx(D2,{children:O.jsx(ZA,{})})}),qN=[{element:YN,children:HN}],XN=TR(qN);function kN(){return O.jsx(O.Fragment,{children:O.jsx(_R,{router:XN})})}const PN=new _E({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Ju=document.getElementById("app");if(!Ju)throw new Error("Root element not found");const y1=O.jsx(w.StrictMode,{children:O.jsx(lC,{children:O.jsx(UE,{client:PN,children:O.jsx(kN,{})})})});Ju.firstElementChild?g0.hydrateRoot(Ju,y1):g0.createRoot(Ju).render(y1);export{w1 as H,GR as I,fS as L,Bx as M,zm as P,XR as T,kR as X,xz as a,V2 as b,ns as c,Gn as d,YR as e,GD as i,Ka as m,j2 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.