PageSourceSearch

https://ctvcam.com/assets/index-jvhwSSW_.js

js ctvcam.com collected 2026-10-04 02:39:14 UTC 583,209 bytes, 312 lines download raw bytes

vendor: 10,288 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D7UK51Te.js","assets/query-Ban24u4e.js","assets/input-DcaHre60.js","assets/catalog-subgraph-D0LzZVVf.js","assets/search-D8Je0oyf.js","assets/chevron-right-Bm_-M2lJ.js","assets/radix-ui-DdasXo-Q.js","assets/_id_-tutonqTr.js","assets/circle-alert-BHEc1-J8.js","assets/check-Dcx7_PRd.js","assets/services-DkpyIjin.js","assets/GoogleReviews-C3J1w4BS.js","assets/about-SL8vqi5h.js","assets/circle-check-2-BAdcva.js","assets/users-Bq-EBKxW.js","assets/contact-CaaDveGD.js","assets/phone-BueQnwTw.js","assets/success-CzwgGyNP.js","assets/index-BSTlZm_4.js","assets/AdminLayout-D4fzZ2x1.js","assets/leads-D4bOdEfF.js","assets/dialog-UeF9Ts51.js","assets/quotes-DdM_ujJU.js","assets/orders-CLFO3Xtk.js","assets/external-link-Ba34MmKG.js","assets/reviews-Dom-rh9g.js","assets/CookieBanner-BnEarMRp.js"])))=>i.map(i=>d[i]);
2var E2=Object.defineProperty;var Yv=t=>{throw TypeError(t)};var A2=(t,n,i)=>n in t?E2(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i;var ta=(t,n,i)=>A2(t,typeof n!="symbol"?n+"":n,i),Gv=(t,n,i)=>n.has(t)||Yv("Cannot "+i);var Cn=(t,n,i)=>(Gv(t,n,"read from private field"),i?i.call(t):n.get(t)),cs=(t,n,i)=>n.has(t)?Yv("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,i),na=(t,n,i,s)=>(Gv(t,n,"write to private field"),s?s.call(t,i):n.set(t,i),i);import{r as _2,j as b,a as T,Q as R2,c as M2}from"./query-Ban24u4e.js";import{r as j2,a as N2,S as D2,O as Ax,P as z2,C as _x,b as O2,T as Rx,D as Mx,R as k2,c as jx}from"./radix-ui-DdasXo-Q.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&s(f)}).observe(document,{childList:!0,subtree:!0});function i(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(o){if(o.ep)return;o.ep=!0;const u=i(o);fetch(o.href,u)}})();var qd={exports:{}},jl={},Kd={exports:{}},Zd={};/**
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 Fv;function L2(){return Fv||(Fv=1,(function(t){function n(H,Q){var J=H.length;H.push(Q);e:for(;0<J;){var se=J-1>>>1,be=H[se];if(0<o(be,Q))H[se]=Q,H[J]=be,J=se;else break e}}function i(H){return H.length===0?null:H[0]}function s(H){if(H.length===0)return null;var Q=H[0],J=H.pop();if(J!==Q){H[0]=J;e:for(var se=0,be=H.length,xe=be>>>1;se<xe;){var Ne=2*(se+1)-1,Ce=H[Ne],We=Ne+1,bt=H[We];if(0>o(Ce,J))We<be&&0>o(bt,Ce)?(H[se]=bt,H[We]=J,se=We):(H[se]=Ce,H[Ne]=J,se=Ne);else if(We<be&&0>o(bt,J))H[se]=bt,H[We]=J,se=We;else break e}}return Q}function o(H,Q){var J=H.sortIndex-Q.sortIndex;return J!==0?J:H.id-Q.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();t.unstable_now=function(){return f.now()-h}}var m=[],p=[],y=1,v=null,x=3,w=!1,C=!1,M=!1,E=!1,z=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function K(H){for(var Q=i(p);Q!==null;){if(Q.callback===null)s(p);else if(Q.startTime<=H)s(p),Q.sortIndex=Q.expirationTime,n(m,Q);else break;Q=i(p)}}function G(H){if(M=!1,K(H),!C)if(i(m)!==null)C=!0,oe||(oe=!0,ne());else{var Q=i(p);Q!==null&&ke(G,Q.startTime-H)}}var oe=!1,te=-1,N=5,ee=-1;function I(){return E?!0:!(t.unstable_now()-ee<N)}function pe(){if(E=!1,oe){var H=t.unstable_now();ee=H;var Q=!0;try{e:{C=!1,M&&(M=!1,U(te),te=-1),w=!0;var J=x;try{t:{for(K(H),v=i(m);v!==null&&!(v.expirationTime>H&&I());){var se=v.callback;if(typeof se=="function"){v.callback=null,x=v.priorityLevel;var be=se(v.expirationTime<=H);if(H=t.unstable_now(),typeof be=="function"){v.callback=be,K(H),Q=!0;break t}v===i(m)&&s(m),K(H)}else s(m);v=i(m)}if(v!==null)Q=!0;else{var xe=i(p);xe!==null&&ke(G,xe.startTime-H),Q=!1}}break e}finally{v=null,x=J,w=!1}Q=void 0}}finally{Q?ne():oe=!1}}}var ne;if(typeof B=="function")ne=function(){B(pe)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,Le=Re.port2;Re.port1.onmessage=pe,ne=function(){Le.postMessage(null)}}else ne=function(){z(pe,0)};function ke(H,Q){te=z(function(){H(t.unstable_now())},Q)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_next=function(H){switch(x){case 1:case 2:case 3:var Q=3;break;default:Q=x}var J=x;x=Q;try{return H()}finally{x=J}},t.unstable_requestPaint=function(){E=!0},t.unstable_runWithPriority=function(H,Q){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var J=x;x=H;try{return Q()}finally{x=J}},t.unstable_scheduleCallback=function(H,Q,J){var se=t.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?se+J:se):J=se,H){case 1:var be=-1;break;case 2:be=250;break;case 5:be=1073741823;break;case 4:be=1e4;break;default:be=5e3}return be=J+be,H={id:y++,callback:Q,priorityLevel:H,startTime:J,expirationTime:be,sortIndex:-1},J>se?(H.sortIndex=J,n(p,H),i(m)===null&&H===i(p)&&(M?(U(te),te=-1):M=!0,ke(G,J-se))):(H.sortIndex=be,n(m,H),C||w||(C=!0,oe||(oe=!0,ne()))),H},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(H){var Q=x;return function(){var J=x;x=Q;try{return H.apply(this,arguments)}finally{x=J}}}})(Zd)),Zd}var Xv;function V2(){return Xv||(Xv=1,Kd.exports=L2()),Kd.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 Qv;function U2(){if(Qv)return jl;Qv=1;var t=V2(),n=_2(),i=j2();function s(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)a+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var a=e,r=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(r=a.return),e=a.return;while(e)}return a.tag===3?r:null}function f(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function h(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(s(188))}function p(e){var a=e.alternate;if(!a){if(a=u(e),a===null)throw Error(s(188));return a!==e?null:e}for(var r=e,l=a;;){var c=r.return;if(c===null)break;var d=c.alternate;if(d===null){if(l=c.return,l!==null){r=l;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===r)return m(c),e;if(d===l)return m(c),a;d=d.sibling}throw Error(s(188))}if(r.return!==l.return)r=c,l=d;else{for(var g=!1,S=c.child;S;){if(S===r){g=!0,r=c,l=d;break}if(S===l){g=!0,l=c,r=d;break}S=S.sibling}if(!g){for(S=d.child;S;){if(S===r){g=!0,r=d,l=c;break}if(S===l){g=!0,l=d,r=c;break}S=S.sibling}if(!g)throw Error(s(189))}}if(r.alternate!==l)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?e:a}function y(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=y(e),a!==null)return a;e=e.sibling}return null}var v=Object.assign,x=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),B=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),I=Symbol.for("react.memo_cache_sentinel"),pe=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=pe&&e[pe]||e["@@iterator"],typeof e=="function"?e:null)}var Re=Symbol.for("react.client.reference");function Le(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case z:return"Profiler";case E:return"StrictMode";case G:return"Suspense";case oe:return"SuspenseList";case ee:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case B:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case K:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return a=e.displayName||null,a!==null?a:Le(e.type)||"Memo";case N:a=e._payload,e=e._init;try{return Le(e(a))}catch{}}return null}var ke=Array.isArray,H=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},se=[],be=-1;function xe(e){return{current:e}}function Ne(e){0>be||(e.current=se[be],se[be]=null,be--)}function Ce(e,a){be++,se[be]=e.current,e.current=a}var We=xe(null),bt=xe(null),ut=xe(null),Wt=xe(null);function wa(e,a){switch(Ce(ut,a),Ce(bt,e),Ce(We,null),a.nodeType){case 9:case 11:e=(e
vendor: 10,011 bytes, lines 18-25
18=a.documentElement)&&(e=e.namespaceURI)?mv(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=mv(a),e=pv(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ne(We),Ce(We,e)}function ln(){Ne(We),Ne(bt),Ne(ut)}function Ls(e){e.memoizedState!==null&&Ce(Wt,e);var a=We.current,r=pv(a,e.type);a!==r&&(Ce(bt,e),Ce(We,r))}function Ar(e){bt.current===e&&(Ne(We),Ne(bt)),Wt.current===e&&(Ne(Wt),Al._currentValue=J)}var Vs,zt;function on(e){if(Vs===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);Vs=a&&a[1]||"",zt=-1<r.stack.indexOf(`
19    at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
20`+Vs+e+zt}var _r=!1;function Us(e,a){if(!e||_r)return"";_r=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(P){var V=P}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(P){V=P}e.call(Y.prototype)}}else{try{throw Error()}catch(P){V=P}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(P){if(P&&V&&typeof P.stack=="string")return[P.stack,V.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=l.DetermineComponentFrameRoot(),g=d[0],S=d[1];if(g&&S){var A=g.split(`
21`),L=S.split(`
22`);for(c=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;if(l===A.length||c===L.length)for(l=A.length-1,c=L.length-1;1<=l&&0<=c&&A[l]!==L[c];)c--;for(;1<=l&&0<=c;l--,c--)if(A[l]!==L[c]){if(l!==1||c!==1)do if(l--,c--,0>c||A[l]!==L[c]){var q=`
23`+A[l].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=l&&0<=c);break}}}finally{_r=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?on(r):""}function Ta(e,a){switch(e.tag){case 26:case 27:case 5:return on(e.type);case 16:return on("Lazy");case 13:return e.child!==a&&a!==null?on("Suspense Fallback"):on("Suspense");case 19:return on("SuspenseList");case 0:case 15:return Us(e.type,!1);case 11:return Us(e.type.render,!1);case 1:return Us(e.type,!0);case 31:return on("Activity");default:return""}}function po(e){try{var a="",r=null;do a+=Ta(e,r),r=e,e=e.return;while(e);return a}catch(l){return`
24Error generating stack: `+l.message+`
25`+l.stack}}var Bs=Object.prototype.hasOwnProperty,Rr=t.unstable_scheduleCallback,Hs=t.unstable_cancelCallback,Mc=t.unstable_shouldYield,jc=t.unstable_requestPaint,en=t.unstable_now,Ca=t.unstable_getCurrentPriorityLevel,ii=t.unstable_ImmediatePriority,Ps=t.unstable_UserBlockingPriority,ri=t.unstable_NormalPriority,Qn=t.unstable_LowPriority,jn=t.unstable_IdlePriority,Nc=t.log,Dc=t.unstable_setDisableYieldValue,Ea=null,tn=null;function Vt(e){if(typeof Nc=="function"&&Dc(e),tn&&typeof tn.setStrictMode=="function")try{tn.setStrictMode(Ea,e)}catch{}}var Qt=Math.clz32?Math.clz32:zc,yo=Math.log,go=Math.LN2;function zc(e){return e>>>=0,e===0?32:31-(yo(e)/go|0)|0}var $i=256,Aa=262144,Ii=4194304;function $n(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Mr(e,a,r){var l=e.pendingLanes;if(l===0)return 0;var c=0,d=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var S=l&134217727;return S!==0?(l=S&~d,l!==0?c=$n(l):(g&=S,g!==0?c=$n(g):r||(r=S&~e,r!==0&&(c=$n(r))))):(S=l&~d,S!==0?c=$n(S):g!==0?c=$n(g):r||(r=l&~e,r!==0&&(c=$n(r)))),c===0?0:a!==0&&a!==c&&(a&d)===0&&(d=c&-c,r=a&-a,d>=r||d===32&&(r&4194048)!==0)?a:c}function si(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function Oc(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 qs(){var e=Ii;return Ii<<=1,(Ii&62914560)===0&&(Ii=4194304),e}function li(e){for(var a=[],r=0;31>r;r++)a.push(e);return a}function oa(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function vo(e,a,r,l,c,d){var g=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var S=e.entanglements,A=e.expirationTimes,L=e.hiddenUpdates;for(r=g&~r;0<r;){var q=31-Qt(r),Y=1<<q;S[q]=0,A[q]=-1;var V=L[q];if(V!==null)for(L[q]=null,q=0;q<V.length;q++){var P=V[q];P!==null&&(P.lane&=-536870913)}r&=~Y}l!==0&&bo(e,l,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(g&~a))}function bo(e,a,r){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-Qt(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|r&261930}function xo(e,a){var r=e.entangledLanes|=a;for(e=e.entanglements;r;){var l=31-Qt(r),c=1<<l;c&a|e[l]&a&&(e[l]|=a),r&=~c}}function _(e,a){var r=a&-a;return r=(r&42)!==0?1:j(r),(r&(e.suspendedLanes|a))!==0?0:r}function j(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function O(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function F(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:Uv(e.type))}function $(e,a){var r=Q.p;try{return Q.p=e,a()}finally{Q.p=r}}var ue=Math.random().toString(36).slice(2),ie="__reactFiber$"+ue,re="__reactProps$"+ue,ae="__reactContainer$"+ue,ye="__reactEvents$"+ue,we="__reactListeners$"+ue,ve="__reactHandles$"+ue,Te="__reactResources$"+ue,Qe="__reactMarker$"+ue;function Ye(e){delete e[ie],delete e[re],delete e[ye],delete e[we],delete e[ve]}function ct(e){var a=e[ie];if(a)return a;for(var r=e.parentNode;r;){if(a=r[ae]||r[ie]){if(r=a.alternate,a.child!==null||r!==null&&r.child!==null)for(e=wv(e);e!==null;){if(r=e[ie])return r;e=wv(e)}return a}e=r,r=e.parentNode}return null}function Me(e){if(e=e[ie]||e[ae]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function nn(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(s(33))}function xt(e){var a=e[Te];return a||(a=e[Te]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function $e(e){e[Qe]=!0}var In=new Set,_a={};function Nn(e,a){Ot(e,a),Ot(e+"Capture",a)}function Ot(e,a){for(_a[e]=a,e=0;e<a.length;e++)In.add(a[e])}var oi=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]*$"),Ra={},Ma={};function jr(e){return Bs.call(Ma,e)?!0:Bs.call(Ra,e)?!1:oi.test(e)?Ma[e]=!0:(Ra[e]=!0,!1)}function ja(e,a,r){if(jr(a))if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var l=a.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+r)}}function Na(e,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+r)}}function Ee(e,a,r,l){if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(a,r,""+l)}}function Ie(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dn(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function ui(e,a,r){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,d=l.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return c.call(this)},set:function(g){r=""+g,d.call(this,g)}}),Object.defineProperty(e,a,{enumerable:l.enumerable}),{getValue:function(){return r},setValue:function(g){r=""+g},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Ji(e){if(!e._valueTracker){var a=Dn(e)?"checked":"value";e._valueTracker=ui(e,a,""+e[a])}}function ft(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var r=a.getValue(),l="";return e&&(l=Dn(e)?e.checked?"true":"false":e.value),e=l,e!==r?(a.setValue(e),!0):!1}function zn(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var So=/[\n"\\]/g;function un(e){return e.replace(So,function(a){return"\\"+a.charCo
vendor: 4,418 bytes, line 25
25deAt(0).toString(16)+" "})}function kc(e,a,r,l,c,d,g,S){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),a!=null?g==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+Ie(a)):e.value!==""+Ie(a)&&(e.value=""+Ie(a)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),a!=null?Lc(e,g,Ie(a)):r!=null?Lc(e,g,Ie(r)):l!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+Ie(S):e.removeAttribute("name")}function op(e,a,r,l,c,d,g,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),a!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||a!=null)){Ji(e);return}r=r!=null?""+Ie(r):"",a=a!=null?""+Ie(a):r,S||a===e.value||(e.value=a),e.defaultValue=a}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=S?e.checked:!!l,e.defaultChecked=!!l,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g),Ji(e)}function Lc(e,a,r){a==="number"&&zn(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Nr(e,a,r,l){if(e=e.options,a){a={};for(var c=0;c<r.length;c++)a["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=a.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&l&&(e[r].defaultSelected=!0)}else{for(r=""+Ie(r),a=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,l&&(e[c].defaultSelected=!0);return}a!==null||e[c].disabled||(a=e[c])}a!==null&&(a.selected=!0)}}function up(e,a,r){if(a!=null&&(a=""+Ie(a),a!==e.value&&(e.value=a),r==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=r!=null?""+Ie(r):""}function cp(e,a,r,l){if(a==null){if(l!=null){if(r!=null)throw Error(s(92));if(ke(l)){if(1<l.length)throw Error(s(93));l=l[0]}r=l}r==null&&(r=""),a=r}r=Ie(a),e.defaultValue=r,l=e.textContent,l===r&&l!==""&&l!==null&&(e.value=l),Ji(e)}function Dr(e,a){if(a){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=a;return}}e.textContent=a}var xw=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 fp(e,a,r){var l=a.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":l?e.setProperty(a,r):typeof r!="number"||r===0||xw.has(a)?a==="float"?e.cssFloat=r:e[a]=(""+r).trim():e[a]=r+"px"}function dp(e,a,r){if(a!=null&&typeof a!="object")throw Error(s(62));if(e=e.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||a!=null&&a.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var c in a)l=a[c],a.hasOwnProperty(c)&&r[c]!==l&&fp(e,c,l)}else for(var d in a)a.hasOwnProperty(d)&&fp(e,d,a[d])}function Vc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Sw=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
25dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ww=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function wo(e){return ww.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Da(){}var Uc=null;function Bc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zr=null,Or=null;function hp(e){var a=Me(e);if(a&&(e=a.stateNode)){var r=e[re]||null;e:switch(e=a.stateNode,a.type){case"input":if(kc(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),a=r.name,r.type==="radio"&&a!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+un(""+a)+'"][type="radio"]'),a=0;a<r.length;a++){var l=r[a];if(l!==e&&l.form===e.form){var c=l[re]||null;if(!c)throw Error(s(90));kc(l,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(a=0;a<r.length;a++)l=r[a],l.form===e.form&&ft(l)}break e;case"textarea":up(e,r.value,r.defaultValue);break e;case"select":a=r.value,a!=null&&Nr(e,!!r.multiple,a,!1)}}}var Hc=!1;function mp(e,a,r){if(Hc)return e(a,r);Hc=!0;try{var l=e(a);return l}finally{if(Hc=!1,(zr!==null||Or!==null)&&(uu(),zr&&(a=zr,e=Or,Or=zr=null,hp(a),e)))for(a=0;a<e.length;a++)hp(e[a])}}function Ks(e,a){var r=e.stateNode;if(r===null)return null;var l=r[re]||null;if(l===null)return null;r=l[a];e:switch(a){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)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(s(231,a,typeof r));return r}var za=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pc=!1;if(za)try{var Zs={};Object.defineProperty(Zs,"passive",{get:function(){Pc=!0}}),window.addEventListener("test",Zs,Zs),window.removeEventListener("test",Zs,Zs)}catch{Pc=!1}var ci=null,qc=null,To=null;function pp(){if(To)return To;var e,a=qc,r=a.length,l,c="value"in ci?ci.value:ci.textContent,d=c.length;for(e=0;e<r&&a[e]===c[e];e++);var g=r-e;for(l=1;l<=g&&a[r-l]===c[d-l];l++);return To=c.slice(e,1<l?1-l:void 0)}function Co(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Eo(){return!0}function yp(){return!1}function cn(e){function a(r,l,c,d,g){this._reactName=r,this._targetInst=c,this.type=l,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(r=e[S],this[S]=r?r(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Eo:yp,this.isPropagationStopped=yp,this}return v(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Eo)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Eo)},persist:function(){},isPersistent:Eo}),a}var Wi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ao=cn(Wi),Ys=v({},Wi,{view:0,detail:0}),Tw=cn(Ys),Kc,Zc,Gs,_o=v({},Ys,{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(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Gs&&(Gs&&e.type==="mousemove"?(Kc=e.screenX-Gs.screenX,Zc=e.screenY-Gs.screenY):Zc=Kc=0,Gs=e),Kc)},movementY:function(e){return"movementY"in e?e.movementY:Zc}}),gp=cn(_o),Cw=v({},_o,{dataTransfer:0}),Ew=cn(Cw),Aw=v({},Ys,{relatedTarget:0}),Yc=cn(Aw),_w=v({},Wi,{animationName:0,elapsedTime:0,pseudoElement:0}),Rw=cn(_w),Mw=v({},Wi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jw=cn(Mw),Nw=v({},Wi,{data:0}),vp=cn(Nw),Dw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zw={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"},Ow={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kw(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=Ow[e])?!!a[e]:!1}
vendor: 5,306 bytes, line 25
25function Gc(){return kw}var Lw=v({},Ys,{key:function(e){if(e.key){var a=Dw[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Co(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gc,charCode:function(e){return e.type==="keypress"?Co(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Co(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vw=cn(Lw),Uw=v({},_o,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bp=cn(Uw),Bw=v({},Ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gc}),Hw=cn(Bw),Pw=v({},Wi,{propertyName:0,elapsedTime:0,pseudoElement:0}),qw=cn(Pw),Kw=v({},_o,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Zw=cn(Kw),Yw=v({},Wi,{newState:0,oldState:0}),Gw=cn(Yw),Fw=[9,13,27,32],Fc=za&&"CompositionEvent"in window,Fs=null;za&&"documentMode"in document&&(Fs=document.documentMode);var Xw=za&&"TextEvent"in window&&!Fs,xp=za&&(!Fc||Fs&&8<Fs&&11>=Fs),Sp=" ",wp=!1;function Tp(e,a){switch(e){case"keyup":return Fw.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kr=!1;function Qw(e,a){switch(e){case"compositionend":return Cp(a);case"keypress":return a.which!==32?null:(wp=!0,Sp);case"textInput":return e=a.data,e===Sp&&wp?null:e;default:return null}}function $w(e,a){if(kr)return e==="compositionend"||!Fc&&Tp(e,a)?(e=pp(),To=qc=ci=null,kr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return xp&&a.locale!=="ko"?null:a.data;default:return null}}var Iw={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 Ep(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!Iw[e.type]:a==="textarea"}function Ap(e,a,r,l){zr?Or?Or.push(l):Or=[l]:zr=l,a=yu(a,"onChange"),0<a.length&&(r=new Ao("onChange","change",null,r,l),e.push({event:r,listeners:a}))}var Xs=null,Qs=null;function Jw(e){ov(e,0)}function Ro(e){var a=nn(e);if(ft(a))return e}function _p(e,a){if(e==="change")return a}var Rp=!1;if(za){var Xc;if(za){var Qc="oninput"in document;if(!Qc){var Mp=document.createElement("div");Mp.setAttribute("oninput","return;"),Qc=typeof Mp.oninput=="function"}Xc=Qc}else Xc=!1;Rp=Xc&&(!document.documentMode||9<document.documentMode)}function jp(){Xs&&(Xs.detachEvent("onpropertychange",Np),Qs=Xs=null)}function Np(e){if(e.propertyName==="value"&&Ro(Qs)){var a=[];Ap(a,Qs,e,Bc(e)),mp(Jw,a)}}function Ww(e,a,r){e==="focusin"?(jp(),Xs=a,Qs=r,Xs.attachEvent("onpropertychange",Np)):e==="focusout"&&jp()}function eT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ro(Qs)}function tT(e,a){if(e==="click")return Ro(a)}function nT(e,a){if(e==="input"||e==="change")return Ro(a)}function aT(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var gn=typeof Object.is=="function"?Object.is:aT;function $s(e,a){if(gn(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var r=Object.keys(e),l=Object.keys(a);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var c=r[l];if(!Bs.call(a,c)||!gn(e[c],a[c]))return!1}return!0}function Dp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zp(e,a){var r=Dp(e);e=0;for(var l;r;){if(r.nodeType===3){if(l=e+r.textContent.length,e<=a&&l>=a)return{node:r,offset:a-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Dp(r)}}function Op(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Op(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function kp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=zn(e.document);a instanceof e.HTMLIFrameElement;){try{var r=typeof a.contentWindow.location.href=="string"}catch{r=!1}if(r)e=a.contentWindow;else break;a=zn(e.document)}return a}function $c(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var iT=za&&"documentMode"in document&&11>=document.documentMode,Lr=null,Ic=null,Is=null,Jc=!1;function Lp(e,a,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Jc||Lr==null||Lr!==zn(l)||(l=Lr,"selectionStart"in l&&$c(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: 20,446 bytes, line 25
25sNode:l.focusNode,focusOffset:l.focusOffset}),Is&&$s(Is,l)||(Is=l,l=yu(Ic,"onSelect"),0<l.length&&(a=new Ao("onSelect","select",null,a,r),e.push({event:a,listeners:l}),a.target=Lr)))}function er(e,a){var r={};return r[e.toLowerCase()]=a.toLowerCase(),r["Webkit"+e]="webkit"+a,r["Moz"+e]="moz"+a,r}var Vr={animationend:er("Animation","AnimationEnd"),animationiteration:er("Animation","AnimationIteration"),animationstart:er("Animation","AnimationStart"),transitionrun:er("Transition","TransitionRun"),transitionstart:er("Transition","TransitionStart"),transitioncancel:er("Transition","TransitionCancel"),transitionend:er("Transition","TransitionEnd")},Wc={},Vp={};za&&(Vp=document.createElement("div").style,"AnimationEvent"in window||(delete Vr.animationend.animation,delete Vr.animationiteration.animation,delete Vr.animationstart.animation),"TransitionEvent"in window||delete Vr.transitionend.transition);function tr(e){if(Wc[e])return Wc[e];if(!Vr[e])return e;var a=Vr[e],r;for(r in a)if(a.hasOwnProperty(r)&&r in Vp)return Wc[e]=a[r];return e}var Up=tr("animationend"),Bp=tr("animationiteration"),Hp=tr("animationstart"),rT=tr("transitionrun"),sT=tr("transitionstart"),lT=tr("transitioncancel"),Pp=tr("transitionend"),qp=new Map,ef="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ef.push("scrollEnd");function Jn(e,a){qp.set(e,a),Nn(a,[e])}var Mo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},On=[],Ur=0,tf=0;function jo(){for(var e=Ur,a=tf=Ur=0;a<e;){var r=On[a];On[a++]=null;var l=On[a];On[a++]=null;var c=On[a];On[a++]=null;var d=On[a];if(On[a++]=null,l!==null&&c!==null){var g=l.pending;g===null?c.next=c:(c.next=g.next,g.next=c),l.pending=c}d!==0&&Kp(r,c,d)}}function No(e,a,r,l){On[Ur++]=e,On[Ur++]=a,On[Ur++]=r,On[Ur++]=l,tf|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function nf(e,a,r,l){return No(e,a,r,l),Do(e)}function nr(e,a){return No(e,null,null,a),Do(e)}function Kp(e,a,r){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r);for(var c=!1,d=e.return;d!==null;)d.childLanes|=r,l=d.alternate,l!==null&&(l.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&a!==null&&(c=31-Qt(r),e=d.hiddenUpdates,l=e[c],l===null?e[c]=[a]:l.push(a),a.lane=r|536870912),d):null}function Do(e){if(50<bl)throw bl=0,dd=null,Error(s(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Br={};function oT(e,a,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,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 vn(e,a,r,l){return new oT(e,a,r,l)}function af(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Oa(e,a){var r=e.alternate;return r===null?(r=vn(e.tag,a,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=a,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,a=e.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Zp(e,a){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,a=r.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function zo(e,a,r,l,c,d){var g=0;if(l=e,typeof e=="function")af(e)&&(g=1);else if(typeof e=="string")g=h2(e,r,We.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ee:return e=vn(31,r,a,c),e.elementType=ee,e.lanes=d,e;case M:return ar(r.children,c,d,a);case E:g=8,c|=24;break;case z:return e=vn(12,r,a,c|2),e.elementType=z,e.lanes=d,e;case G:return e=vn(13,r,a,c),e.elementType=G,e.lanes=d,e;case oe:return e=vn(19,r,a,c),e.elementType=oe,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B:g=10;break e;case U:g=9;break e;case K:g=11;break e;case te:g=14;break e;case N:g=16,l=null;break e}g=29,r=Error(s(130,e===null?"null":typeof e,"")),l=null}return a=vn(g,r,a,c),a.elementType=e,a.type=l,a.lanes=d,a}function ar(e,a,r,l){return e=vn(7,e,l,a),e.lanes=r,e}function rf(e,a,r){return e=vn(6,e,null,a),e.lanes=r,e}function Yp(e){var a=vn(18,null,null,0);return a.stateNode=e,a}function sf(e,a,r){return a=vn(4,e.children!==null?e.children:[],e.key,a),a.lanes=r,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var Gp=new WeakMap;function kn(e,a){if(typeof e=="object"&&e!==null){var r=Gp.get(e);return r!==void 0?r:(a={value:e,source:a,stack:po(a)},Gp.set(e,a),a)}return{value:e,source:a,stack:po(a)}}var Hr=[],Pr=0,Oo=null,Js=0,Ln=[],Vn=0,fi=null,ua=1,ca="";function ka(e,a){Hr[Pr++]=Js,Hr[Pr++]=Oo,Oo=e,Js=a}function Fp(e,a,r){Ln[Vn++]=ua,Ln[Vn++]=ca,Ln[Vn++]=fi,fi=e;var l=ua;e=ca;var c=32-Qt(l)-1;l&=~(1<<c),r+=1;var d=32-Qt(a)+c;if(30<d){var g=c-c%5;d=(l&(1<<g)-1).toString(32),l>>=g,c-=g,ua=1<<32-Qt(a)+c|r<<c|l,ca=d+e}else ua=1<<d|r<<c|l,ca=e}function lf(e){e.return!==null&&(ka(e,1),Fp(e,1,0))}function of(e){for(;e===Oo;)Oo=Hr[--Pr],Hr[Pr]=null,Js=Hr[--Pr],Hr[Pr]=null;for(;e===fi;)fi=Ln[--Vn],Ln[Vn]=null,ca=Ln[--Vn],Ln[Vn]=null,ua=Ln[--Vn],Ln[Vn]=null}function Xp(e,a){Ln[Vn++]=ua,Ln[Vn++]=ca,Ln[Vn++]=fi,ua=a.id,ca=a.overflow,fi=e}var qt=null,dt=null,Ke=!1,di=null,Un=!1,uf=Error(s(519));function hi(e){var a=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ws(kn(a,e)),uf}function Qp(e){var a=e.stateNode,r=e.type,l=e.memoizedProps;switch(a[ie]=e,a[re]=l,r){case"dialog":Be("cancel",a),Be("close",a);break;case"iframe":case"object":case"embed":Be("load",a);break;case"video":case"audio":for(r=0;r<Sl.length;r++)Be(Sl[r],a);break;case"source":Be("error",a);break;case"img":case"image":case"link":Be("error",a),Be("load",a);break;case"details":Be("toggle",a);break;case"input":Be("invalid",a),op(a,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Be("invalid",a);break;case"textarea":Be("invalid",a),cp(a,l.value,l.defaultValue,l.children)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||a.textContent===""+r||l.suppressHydrationWarning===!0||dv(a.textContent,r)?(l.popover!=null&&(Be("beforetoggle",a),Be("toggle",a)),l.onScroll!=null&&Be("scroll",a),l.onScrollEnd!=null&&Be("scrollend",a),l.onClick!=null&&(a.onclick=Da),a=!0):a=!1,a||hi(e,!0)}function $p(e){for(qt=e.return;qt;)switch(qt.tag){case 5:case 31:case 13:Un=!1;return;case 27:case 3:Un=!0;return;default:qt=qt.return}}function qr(e){if(e!==qt)return!1;if(!Ke)return $p(e),Ke=!0,!1;var a=e.tag,r;if((r=a!==3&&a!==27)&&((r=a===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||_d(e.type,e.memoizedProps)),r=!r),r&&dt&&hi(e),$p(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));dt=Sv(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));dt=Sv(e)}else a===27?(a=dt,_i(e.type)?(e=Dd,Dd=null,dt=e):dt=a):dt=qt?Hn(e.stateNode.nextSibling):null;return!0}function ir(){dt=qt=null,Ke=!1}function cf(){var e=di;return e!==null&&(mn===null?mn=e:mn.push.apply(mn,e),di=null),e}function Ws(e){di===null?di=[e]:di.push(e)}var ff=xe(null),rr=null,La=null;function mi(e,a,r){Ce(ff,a._currentValue),a._currentValue=r}function Va(e){e._currentValue=ff.current,Ne(ff)}function df(e,a,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),e===r)break;e=e.return}}function hf(e,a,r,l){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;e:for(;d!==null;){var S=d;d=c;for(var A=0;A<a.length;A++)if(S.context===a[A]){d.lanes|=r,S=d.alternate,S!==null&&(S.lanes|=r),df(d.return,r,e),l||(g=null);break e}d=S.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(s(341));g.lanes|=r,d=g.alternate,d!==null&&(d.lanes|=r),df(g,r,e),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===e){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function Kr(e,a,r,l){e=null;for(var c=a,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error(s(387));if(g=g.memoizedProps,g!==null){var S=c.type;gn(c.pendingProps.value,g.value)||(e!==null?e.push(S):e=[S])}}else if(c===Wt.current){if(g=c.alternate,g===null)throw Error(s(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Al):e=[Al])}c=c.return}e!==null&&hf(a,e,r,l),a.flags|=262144}function ko(e){for(e=e.firstContext;e!==null;){if(!gn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sr(e){rr=e,La=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Kt(e){return Ip(rr,e)}function Lo(e,a){return rr===null&&sr(e),Ip(e,a)}function Ip(e,a){var r=a._currentValue;if(a={context:a,memoizedValue:r,next:null},La===null){if(e===null)throw Error(s(308));La=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else La=La.next=a;return r}var uT=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(r,l){e.push(l)}};this.abort=function(){a.aborted=!0,e.forEach(function(r){return r()})}},cT=t.unstable_scheduleCallback,fT=t.unstable_NormalPriority,_t={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new uT,data:new Map,refCount:0}}function el(e){e.refCount--,e.refCount===0&&cT(fT,function(){e.controller.abort()})}var tl=null,pf=0,Zr=0,Yr=null;function dT(e,a){if(tl===null){var r=tl=[];pf=0,Zr=vd(),Yr={status:"pending",value:void 0,then:function(l){r.push(l)}}}return pf++,a.then(Jp,Jp),a}function Jp(){if(--pf===0&&tl!==null){Yr!==null&&(Yr.status="fulfilled");var e=tl;tl=null,Zr=0,Yr=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function hT(e,a){var r=[],l={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){l.status="fulfilled",l.value=a;for(var c=0;c<r.length;c++)(0,r[c])(a)},function(c){for(l.status="rejected",l.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),l}var Wp=H.S;H.S=function(e,a){Lg=en(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&dT(e,a),Wp!==null&&Wp(e,a)};var lr=xe(null);function yf(){var e=lr.current;return e!==null?e:st.pooledCache}function Vo(e,a){a===null?Ce(lr,lr.current):Ce(lr,a.pool)}function ey(){var e=yf();return e===null?null:{parent:_t._currentValue,pool:e}}var Gr=Error(s(460)),gf=Error(s(474)),Uo=Error(s(542)),Bo={then:function(){}};function ty(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ny(e,a,r){switch(r=e[r],r===void 0?e.push(a):r!==a&&(a.then(Da,Da),a=r),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,iy(e),e;default:if(typeof a.status=="string")a.then(Da,Da);else{if(e=st,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=a,e.status="pending",e.then(function(l){if(a.status==="pending"){var c=a;c.status="fulfilled",c.value=l}},function(l){if(a.status==="pending"){var c=a;c.status="rejected",c.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,iy(e),e}throw ur=a,Gr}}function or(e){try{var a=e._init;return a(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(ur=r,Gr):r}}var ur=null;function ay(){if(ur===null)throw Error(s(459));var e=ur;return ur=null,e}function iy(e){if(e===Gr||e===Uo)throw Error(s(483))}var Fr=null,nl=0;function Ho(e){var a=nl;return nl+=1,Fr===null&&(Fr=[]),ny(Fr,e,a)}function al(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Po(e,a){throw a.$$typeof===x?Error(s(525)):(e=Object.prototype.toString.call(a),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function ry(e){function a(D,R){if(e){var k=D.deletions;k===null?(D.deletions=[R],D.flags|=16):k.push(R)}}function r(D,R){if(!e)return null;for(;R!==null;)a(D,R),R=R.sibling;return null}function l(D){for(var R=new Map;D!==null;)D.key!==null?R.set(D.key,D):R.set(D.index,D),D=D.sibling;return R}function c(D,R){return D=Oa(D,R),D.index=0,D.sibling=null,D}function d(D,R,k){return D.index=k,e?(k=D.alternate,k!==null?(k=k.index,k<R?(D.flags|=67108866,R):k):(D.flags|=67108866,R)):(D.flags|=1048576,R)}function g(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function S(D,R,k,Z){return R===null||R.tag!==6?(R=rf(k,D.mode,Z),R.return=D,R):(R=c(R,k),R.return=D,R)}function A(D,R,k,Z){var ge=k.type;return ge===M?q(D,R,k.props.children,Z,k.key):R!==null&&(R.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===N&&or(ge)===R.type)?(R=c(R,k.props),al(R,k),R.return=D,R):(R=zo(k.type,k.key,k.props,null,D.mode,Z),al(R,k),R.return=D,R)}function L(D,R,k,Z){return R===null||R.tag!==4||R.stateNode.containerInfo!==k.containerInfo||R.stateNode.implementation!==k.implementation?(R=sf(k,D.mode,Z),R.return=D,R):(R=c(R,k.children||[]),R.return=D,R)}function q(D,R,k,Z,ge){return R===null||R.tag!==7?(R=ar(k,D.mode,Z,ge),R.return=D,R):(R=c(R,k),R.return=D,R)}function Y(D,R,k){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=rf(""+R,D.mode,k),R.return=D,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case w:return k=zo(R.type,R.key,R.props,null,D.mode,k),al(k,R),k.return=D,k;case C:return R=sf(R,D.mode,k),R.return=D,R;case N:return R=or(R),Y(D,R,k)}if(ke(R)||ne(R))return R=ar(R,D.mode,k,null),R.return=D,R;if(typeof R.then=="function")return Y(D,Ho(R),k);if(R.$$typeof===B)return Y(D,Lo(D,R),k);Po(D,R)}return null}function V(D,R,k,Z){var ge=R!==null?R.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return ge!==null?null:S(D,R,""+k,Z);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case w:return k.key===ge?A(D,R,k,Z):null;case C:return k.key===ge?L(D,R,k,Z):null;case N:return k=or(k),V(D,R,k,Z)}if(ke(k)||ne(k))return ge!==null?null:q(D,R,k,Z,null);if(typeof k.then=="function")return V(D,R,Ho(k),Z);if(k.$$typeof===B)return V(D,R,Lo(D,k),Z);Po(D,k)}return null}function P(D,R,k,Z,ge){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return D=D.get(k)||null,S(R,D,""+Z,ge);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case w:return D=D.get(Z.key===null?k:Z.key)||null,A(R,D,Z,ge);case C:return D=D.get(Z.key===null?k:Z.key)||null,L(R,D,Z,ge);case N:return Z=or(Z),P(D,R,k,Z,ge)}if(ke(Z)||ne(Z))return D=D.get(k)||null,q(R,D,Z,ge,null);if(typeof Z.then=="function")return P(D,R,k,Ho(Z),ge);if(Z.$$typeof===B)return P(D,R,k,Lo(R,Z),ge);Po(R,Z)}return null}function ce(D,R,k,Z){for(var ge=null,Ge=null,he=R,De=R=0,Pe=null;he!==null&&De<k.length;De++){he.index>De?(Pe=he,he=null):Pe=he.sibling;var Fe=V(D,he,k[De],Z);if(Fe===null){he===null&&(he=Pe);break}e&&he&&Fe.alternate===null&&a(D,he),R=d(Fe,R,De),Ge===null?ge=Fe:Ge.sibling=Fe,Ge=Fe,he=Pe}if(De===k.length)return r(D,he),Ke&&ka(D,De),ge;if(he===null){for(;De<k.length;De++)he=Y(D,k[De],Z),he!==null&&(R=d(he,R,De),Ge===null?ge=he:Ge.sibling=he,Ge=he);return Ke&&ka(D,De),ge}for(he=l(he);De<k.length;De++)Pe=P(he,D,De,k[De],Z),Pe!==null&&(e&&Pe.alternate!==null&&he.delete(Pe.key===null?De:Pe.key),R=d(Pe,R,De),Ge===null?ge=Pe:Ge.sibling=Pe,Ge=Pe);return e&&he.forEach(function(Di){return a(D,Di)}),Ke&&ka(D,De),ge}function Se(D,R,k,Z){if(k==null)throw Error(s(151));for(var ge=null,Ge=null,he=R,De=R=0,Pe=null,Fe=k.next();he!==null&&!Fe.done;De++,Fe=k.next()){he.index>De?(Pe=he,he=null):Pe=he.sibling;var Di=V(D,he,Fe.value,Z);if(Di===null){he===null&&(he=Pe);break}e&&he&&Di.alternate===null&&a(D,he),R=d(Di,R,De),Ge===null?ge=Di:Ge.sibling=Di,Ge=Di,he=Pe}if(Fe.done)return r(D,he),Ke&&ka(D,De),ge;if(he===null){for(;!Fe.done;De++,Fe=k.next())Fe=Y(D,Fe.value,Z),Fe!==null&&(R=d(Fe,R,De),Ge===null?ge=Fe:Ge.sibling=Fe,Ge=Fe);return Ke&&ka(D,De),ge}for(he=l(he);!Fe.done;De++,Fe=k.next())Fe=P(he,D,De,Fe.value,Z),Fe!==null&&(e&&Fe.alternate!==null&&he.delete(Fe.key===null?De:Fe.key),R=d(Fe,R,De),Ge===null?ge=Fe:Ge.sibling=Fe,Ge=Fe);return e&&he.forEach(function(C2){return a(D,C2)}),Ke&&ka(D,De),ge}function rt(D,R,k,Z){if(typeof k=="object"&&k!==null&&k.type===M&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case w:e:{for(var ge=k.key;R!==null;){if(R.key===ge){if(ge=k.type,ge===M){if(R.tag===7){r(D,R.sibling),Z=c(R,k.props.children),Z.return=D,D=Z;break e}}else if(R.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===N&&or(ge)===R.type){r(D,R.sibling),Z=c(R,k.props),al(Z,k),Z.return=D,D=Z;break e}r(D,R);break}else a(D,R);R=R.sibling}k.type===M?(Z=ar(k.props.children,D.mode,Z,k.key),Z.return=D,D=Z):(Z=zo(k.type,k.key,k.props,null,D.mode,Z),al(Z,k),Z.return=D,D=Z)}return g(D);case C:e:{for(ge=k.key;R!==null;){if(R.key===ge)if(R.tag===4&&R.stateNode.containerInfo===k.containerInfo&&R.stateNode.implementation===k.implementation){r(D,R.sibling),Z=c(R,k.children||[]),Z.return=D,D=Z;break e}else{r(D,R);break}else a(D,R);R=R.sibling}Z=sf(k,D.mode,Z),Z.return=D,D=Z}return g(D);case N:return k=or(k),rt(D,R,k,Z)}if(ke(k))return ce(D,R,k,Z);if(ne(k)){if(ge=ne(k),typeof ge!="function")throw Error(s(150));return k=ge.call(k),Se(D,R,k,Z)}if(typeof k.then=="function")return rt(D,R,Ho(k),Z);if(k.$$typeof===B)return rt(D,R,Lo(D,k),Z);Po(D,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,R!==null&&R.tag===6?(r(D,R.sibling),Z=c(R,k),Z.return=D,D=Z):(r(D,R),Z=rf(k,D.mode,Z),Z.return=D,D=Z),g(D)):r(D,R)}return function(D,R,k,Z){try{nl=0;var ge=rt(D,R,k,Z);return Fr=null,ge}catch(he){if(he===Gr||he===Uo)throw he;var Ge=vn(29,he,null,D.mode);return Ge.lanes=Z,Ge.return=D,Ge}finally{}}}var cr=ry(!0),sy=ry(!1),pi=!1;function vf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function bf(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gi(e,a,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Je&2)!==0){var c=l.pending;return c===null?a.next=a:(a.next=c.next,c.next=a),l.pending=a,a=Do(e),Kp(e,null,r),a}return No(e,l,a,r),Do(e)}function il(e,a,r){if(a=a.updateQueue,a!==null&&(a=a.shared,(r&4194048)!==0)){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,xo(e,r)}}function xf(e,a){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var c=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var g={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,r=r.next}
vendor: 4,391 bytes, line 25
25while(r!==null);d===null?c=d=a:d=d.next=a}else c=d=a;r={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:l.shared,callbacks:l.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=a:e.next=a,r.lastBaseUpdate=a}var Sf=!1;function rl(){if(Sf){var e=Yr;if(e!==null)throw e}}function sl(e,a,r,l){Sf=!1;var c=e.updateQueue;pi=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var A=S,L=A.next;A.next=null,g===null?d=L:g.next=L,g=A;var q=e.alternate;q!==null&&(q=q.updateQueue,S=q.lastBaseUpdate,S!==g&&(S===null?q.firstBaseUpdate=L:S.next=L,q.lastBaseUpdate=A))}if(d!==null){var Y=c.baseState;g=0,q=L=A=null,S=d;do{var V=S.lane&-536870913,P=V!==S.lane;if(P?(He&V)===V:(l&V)===V){V!==0&&V===Zr&&(Sf=!0),q!==null&&(q=q.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var ce=e,Se=S;V=a;var rt=r;switch(Se.tag){case 1:if(ce=Se.payload,typeof ce=="function"){Y=ce.call(rt,Y,V);break e}Y=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=Se.payload,V=typeof ce=="function"?ce.call(rt,Y,V):ce,V==null)break e;Y=v({},Y,V);break e;case 2:pi=!0}}V=S.callback,V!==null&&(e.flags|=64,P&&(e.flags|=8192),P=c.callbacks,P===null?c.callbacks=[V]:P.push(V))}else P={lane:V,tag:S.tag,payload:S.payload,callback:S.callback,next:null},q===null?(L=q=P,A=Y):q=q.next=P,g|=V;if(S=S.next,S===null){if(S=c.shared.pending,S===null)break;P=S,S=P.next,P.next=null,c.lastBaseUpdate=P,c.shared.pending=null}}while(!0);q===null&&(A=Y),c.baseState=A,c.firstBaseUpdate=L,c.lastBaseUpdate=q,d===null&&(c.shared.lanes=0),wi|=g,e.lanes=g,e.memoizedState=Y}}function ly(e,a){if(typeof e!="function")throw Error(s(191,e));e.call(a)}function oy(e,a){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)ly(r[e],a)}var Xr=xe(null),qo=xe(0);function uy(e,a){e=Ga,Ce(qo,e),Ce(Xr,a),Ga=e|a.baseLanes}function wf(){Ce(qo,Ga),Ce(Xr,Xr.current)}function Tf(){Ga=qo.current,Ne(Xr),Ne(qo)}var bn=xe(null),Bn=null;function vi(e){var a=e.alternate;Ce(Et,Et.current&1),Ce(bn,e),Bn===null&&(a===null||Xr.current!==null||a.memoizedState!==null)&&(Bn=e)}function Cf(e){Ce(Et,Et.current),Ce(bn,e),Bn===null&&(Bn=e)}function cy(e){e.tag===22?(Ce(Et,Et.current),Ce(bn,e),Bn===null&&(Bn=e)):bi()}function bi(){Ce(Et,Et.current),Ce(bn,bn.current)}function xn(e){Ne(bn),Bn===e&&(Bn=null),Ne(Et)}var Et=xe(0);function Ko(e){for(var a=e;a!==null;){if(a.tag===13){var r=a.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||jd(r)||Nd(r)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Ua=0,je=null,at=null,Rt=null,Zo=!1,Qr=!1,fr=!1,Yo=0,ll=0,$r=null,mT=0;function St(){throw Error(s(321))}function Ef(e,a){if(a===null)return!1;for(var r=0;r<a.length&&r<e.length;r++)if(!gn(e[r],a[r]))return!1;return!0}function Af(e,a,r,l,c,d){return Ua=d,je=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,H.H=e===null||e.memoizedState===null?Fy:Pf,fr=!1,d=r(l,c),fr=!1,Qr&&(d=dy(a,r,l,c)),fy(e),d}function fy(e){H.H=cl;var a=at!==null&&at.next!==null;if(Ua=0,Rt=at=je=null,Zo=!1,ll=0,$r=null,a)throw Error(s(300));e===null||Mt||(e=e.dependencies,e!==null&&ko(e)&&(Mt=!0))}function dy(e,a,r,l){je=e;var c=0;do{if(Qr&&($r=null),ll=0,Qr=!1,25<=c)throw Error(s(301));if(c+=1,Rt=at=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}H.H=Xy,d=a(r,l)}while(Qr);return d}function pT(){var e=H.H,a=e.useState()[0];return a=typeof a.then=="function"?ol(a):a,e=e.useState()[0],(at!==null?at.memoizedState:null)!==e&&(je.flags|=1024),a}function _f(){var e=Yo!==0;return Yo=0,e}function Rf(e,a,r){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~r}function Mf(e){if(Zo){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Zo=!1}Ua=0,Rt=at=je=null,Qr=!1,ll=Yo=0,$r=null}function an(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rt===null?je.memoizedState=Rt=e:Rt=Rt.next=e,Rt}
vendor: 18,418 bytes, line 25
25function At(){if(at===null){var e=je.alternate;e=e!==null?e.memoizedState:null}else e=at.next;var a=Rt===null?je.memoizedState:Rt.next;if(a!==null)Rt=a,at=e;else{if(e===null)throw je.alternate===null?Error(s(467)):Error(s(310));at=e,e={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},Rt===null?je.memoizedState=Rt=e:Rt=Rt.next=e}return Rt}function Go(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ol(e){var a=ll;return ll+=1,$r===null&&($r=[]),e=ny($r,e,a),a=je,(Rt===null?a.memoizedState:Rt.next)===null&&(a=a.alternate,H.H=a===null||a.memoizedState===null?Fy:Pf),e}function Fo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ol(e);if(e.$$typeof===B)return Kt(e)}throw Error(s(438,String(e)))}function jf(e){var a=null,r=je.updateQueue;if(r!==null&&(a=r.memoCache),a==null){var l=je.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(c){return c.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),r===null&&(r=Go(),je.updateQueue=r),r.memoCache=a,r=a.data[a.index],r===void 0)for(r=a.data[a.index]=Array(e),l=0;l<e;l++)r[l]=I;return a.index++,r}function Ba(e,a){return typeof a=="function"?a(e):a}function Xo(e){var a=At();return Nf(a,at,e)}function Nf(e,a,r){var l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=r;var c=e.baseQueue,d=l.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}a.baseQueue=c=d,l.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{a=c.next;var S=g=null,A=null,L=a,q=!1;do{var Y=L.lane&-536870913;if(Y!==L.lane?(He&Y)===Y:(Ua&Y)===Y){var V=L.revertLane;if(V===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),Y===Zr&&(q=!0);else if((Ua&V)===V){L=L.next,V===Zr&&(q=!0);continue}else Y={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(S=A=Y,g=d):A=A.next=Y,je.lanes|=V,wi|=V;Y=L.action,fr&&r(d,Y),d=L.hasEagerState?L.eagerState:r(d,Y)}else V={lane:Y,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(S=A=V,g=d):A=A.next=V,je.lanes|=Y,wi|=Y;L=L.next}while(L!==null&&L!==a);if(A===null?g=d:A.next=S,!gn(d,e.memoizedState)&&(Mt=!0,q&&(r=Yr,r!==null)))throw r;e.memoizedState=d,e.baseState=g,e.baseQueue=A,l.lastRenderedState=d}return c===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Df(e){var a=At(),r=a.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=e;var l=r.dispatch,c=r.pending,d=a.memoizedState;if(c!==null){r.pending=null;var g=c=c.next;do d=e(d,g.action),g=g.next;while(g!==c);gn(d,a.memoizedState)||(Mt=!0),a.memoizedState=d,a.baseQueue===null&&(a.baseState=d),r.lastRenderedState=d}return[d,l]}function hy(e,a,r){var l=je,c=At(),d=Ke;if(d){if(r===void 0)throw Error(s(407));r=r()}else r=a();var g=!gn((at||c).memoizedState,r);if(g&&(c.memoizedState=r,Mt=!0),c=c.queue,kf(yy.bind(null,l,c,e),[e]),c.getSnapshot!==a||g||Rt!==null&&Rt.memoizedState.tag&1){if(l.flags|=2048,Ir(9,{destroy:void 0},py.bind(null,l,c,r,a),null),st===null)throw Error(s(349));d||(Ua&127)!==0||my(l,a,r)}return r}function my(e,a,r){e.flags|=16384,e={getSnapshot:a,value:r},a=je.updateQueue,a===null?(a=Go(),je.updateQueue=a,a.stores=[e]):(r=a.stores,r===null?a.stores=[e]:r.push(e))}function py(e,a,r,l){a.value=r,a.getSnapshot=l,gy(a)&&vy(e)}function yy(e,a,r){return r(function(){gy(a)&&vy(e)})}function gy(e){var a=e.getSnapshot;e=e.value;try{var r=a();return!gn(e,r)}catch{return!0}}function vy(e){var a=nr(e,2);a!==null&&pn(a,e,2)}function zf(e){var a=an();if(typeof e=="function"){var r=e;if(e=r(),fr){Vt(!0);try{r()}finally{Vt(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ba,lastRenderedState:e},a}function by(e,a,r,l){return e.baseState=r,Nf(e,at,typeof l=="function"?l:Ba)}function yT(e,a,r,l,c){if(Io(e))throw Error(s(485));if(e=a.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};H.T!==null?r(!0):d.isTransition=!1,l(d),r=a.pending,r===null?(d.next=a.pending=d,xy(a,d)):(d.next=r.next,a.pending=r.next=d)}}function xy(e,a){var r=a.action,l=a.payload,c=e.state;if(a.isTransition){var d=H.T,g={};H.T=g;try{var S=r(c,l),A=H.S;A!==null&&A(g,S),Sy(e,a,S)}catch(L){Of(e,a,L)}finally{d!==null&&g.types!==null&&(d.types=g.types),H.T=d}}else try{d=r(c,l),Sy(e,a,d)}catch(L){Of(e,a,L)}}function Sy(e,a,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){wy(e,a,l)},function(l){return Of(e,a,l)}):wy(e,a,r)}function wy(e,a,r){a.status="fulfilled",a.value=r,Ty(a),e.state=r,a=e.pending,a!==null&&(r=a.next,r===a?e.pending=null:(r=r.next,a.next=r,xy(e,r)))}function Of(e,a,r){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=r,Ty(a),a=a.next;while(a!==l)}e.action=null}function Ty(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Cy(e,a){return a}function Ey(e,a){if(Ke){var r=st.formState;if(r!==null){e:{var l=je;if(Ke){if(dt){t:{for(var c=dt,d=Un;c.nodeType!==8;){if(!d){c=null;break t}if(c=Hn(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){dt=Hn(c.nextSibling),l=c.data==="F!";break e}}hi(l)}l=!1}l&&(a=r[0])}}return r=an(),r.memoizedState=r.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cy,lastRenderedState:a},r.queue=l,r=Zy.bind(null,je,l),l.dispatch=r,l=zf(!1),d=Hf.bind(null,je,!1,l.queue),l=an(),c={state:a,dispatch:null,action:e,pending:null},l.queue=c,r=yT.bind(null,je,c,d,r),c.dispatch=r,l.memoizedState=e,[a,r,!1]}function Ay(e){var a=At();return _y(a,at,e)}function _y(e,a,r){if(a=Nf(e,a,Cy)[0],e=Xo(Ba)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=ol(a)}catch(g){throw g===Gr?Uo:g}else l=a;a=At();var c=a.queue,d=c.dispatch;return r!==a.memoizedState&&(je.flags|=2048,Ir(9,{destroy:void 0},gT.bind(null,c,r),null)),[l,d,e]}function gT(e,a){e.action=a}function Ry(e){var a=At(),r=at;if(r!==null)return _y(a,r,e);At(),a=a.memoizedState,r=At();var l=r.queue.dispatch;return r.memoizedState=e,[a,l,!1]}function Ir(e,a,r,l){return e={tag:e,create:r,deps:l,inst:a,next:null},a=je.updateQueue,a===null&&(a=Go(),je.updateQueue=a),r=a.lastEffect,r===null?a.lastEffect=e.next=e:(l=r.next,r.next=e,e.next=l,a.lastEffect=e),e}function My(){return At().memoizedState}function Qo(e,a,r,l){var c=an();je.flags|=e,c.memoizedState=Ir(1|a,{destroy:void 0},r,l===void 0?null:l)}function $o(e,a,r,l){var c=At();l=l===void 0?null:l;var d=c.memoizedState.inst;at!==null&&l!==null&&Ef(l,at.memoizedState.deps)?c.memoizedState=Ir(a,d,r,l):(je.flags|=e,c.memoizedState=Ir(1|a,d,r,l))}function jy(e,a){Qo(8390656,8,e,a)}function kf(e,a){$o(2048,8,e,a)}function vT(e){je.flags|=4;var a=je.updateQueue;if(a===null)a=Go(),je.updateQueue=a,a.events=[e];else{var r=a.events;r===null?a.events=[e]:r.push(e)}}function Ny(e){var a=At().memoizedState;return vT({ref:a,nextImpl:e}),function(){if((Je&2)!==0)throw Error(s(440));return a.impl.apply(void 0,arguments)}}function Dy(e,a){return $o(4,2,e,a)}function zy(e,a){return $o(4,4,e,a)}function Oy(e,a){if(typeof a=="function"){e=e();var r=a(e);return function(){typeof r=="function"?r():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function ky(e,a,r){r=r!=null?r.concat([e]):null,$o(4,4,Oy.bind(null,a,e),r)}function Lf(){}function Ly(e,a){var r=At();a=a===void 0?null:a;var l=r.memoizedState;return a!==null&&Ef(a,l[1])?l[0]:(r.memoizedState=[e,a],e)}function Vy(e,a){var r=At();a=a===void 0?null:a;var l=r.memoizedState;if(a!==null&&Ef(a,l[1]))return l[0];if(l=e(),fr){Vt(!0);try{e()}finally{Vt(!1)}}return r.memoizedState=[l,a],l}function Vf(e,a,r){return r===void 0||(Ua&1073741824)!==0&&(He&261930)===0?e.memoizedState=a:(e.memoizedState=r,e=Ug(),je.lanes|=e,wi|=e,r)}function Uy(e,a,r,l){return gn(r,a)?r:Xr.current!==null?(e=Vf(e,r,l),gn(e,a)||(Mt=!0),e):(Ua&42)===0||(Ua&1073741824)!==0&&(He&261930)===0?(Mt=!0,e.memoizedState=r):(e=Ug(),je.lanes|=e,wi|=e,a)}function By(e,a,r,l,c){var d=Q.p;Q.p=d!==0&&8>d?d:8;var g=H.T,S={};H.T=S,Hf(e,!1,a,r);try{var A=c(),L=H.S;if(L!==null&&L(S,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var q=hT(A,l);ul(e,a,q,Tn(e))}else ul(e,a,l,Tn(e))}catch(Y){ul(e,a,{then:function(){},status:"rejected",reason:Y},Tn())}finally{Q.p=d,g!==null&&S.types!==null&&(g.types=S.types),H.T=g}}function bT(){}function Uf(e,a,r,l){if(e.tag!==5)throw Error(s(476));var c=Hy(e).queue;By(e,c,a,J,r===null?bT:function(){return Py(e),r(l)})}function Hy(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ba,lastRenderedState:J},next:null};var r={};return a.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ba,lastRenderedState:r},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Py(e){var a=Hy(e);a.next===null&&(a=e.alternate.memoizedState),ul(e,a.next.queue,{},Tn())}function Bf(){return Kt(Al)}function qy(){return At().memoizedState}function Ky(){return At().memoizedState}function xT(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var r=Tn();e=yi(r);var l=gi(a,e,r);l!==null&&(pn(l,a,r),il(l,a,r)),a={cache:mf()},e.payload=a;return}a=a.return}}function ST(e,a,r){var l=Tn();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Io(e)?Yy(a,r):(r=nf(e,a,r,l),r!==null&&(pn(r,e,l),Gy(r,a,l)))}function Zy(e,a,r){var l=Tn();ul(e,a,r,l)}function ul(e,a,r,l){var c={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Io(e))Yy(a,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=a.lastRenderedReducer,d!==null))try{var g=a.lastRenderedState,S=d(g,r);if(c.hasEagerState=!0,c.eagerState=S,gn(S,g))return No(e,a,c,0),st===null&&jo(),!1}catch{}finally{}if(r=nf(e,a,c,l),r!==null)return pn(r,e,l),Gy(r,a,l),!0}return!1}function Hf(e,a,r,l){if(l={lane:2,revertLane:vd(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Io(e)){if(a)throw Error(s(479))}else a=nf(e,r,l,2),a!==null&&pn(a,e,2)}function Io(e){var a=e.alternate;return e===je||a!==null&&a===je}function Yy(e,a){Qr=Zo=!0;var r=e.pending;r===null?a.next=a:(a.next=r.next,r.next=a),e.pending=a}function Gy(e,a,r){if((r&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,r|=l,a.lanes=r,xo(e,r)}}var cl={readContext:Kt,use:Fo,useCallback:St,useContext:St,useEffect:St,useImperativeHandle:St,useLayoutEffect:St,useInsertionEffect:St,useMemo:St,useReducer:St,useRef:St,useState:St,useDebugValue:St,useDeferredValue:St,useTransition:St,useSyncExternalStore:St,useId:St,useHostTransitionStatus:St,useFormState:St,useActionState:St,useOptimistic:St,useMemoCache:St,useCacheRefresh:St};cl.useEffectEvent=St;var Fy={readContext:Kt,use:Fo,useCallback:function(e,a){return an().memoizedState=[e,a===void 0?null:a],e},useContext:Kt,useEffect:jy,useImperativeHandle:function(e,a,r){r=r!=null?r.concat([e]):null,Qo(4194308,4,Oy.bind(null,a,e),r)},useLayoutEffect:function(e,a){return Qo(4194308,4,e,a)},useInsertionEffect:function(e,a){Qo(4,2,e,a)},useMemo:function(e,a){var r=an();a=a===void 0?null:a;var l=e();if(fr){Vt(!0);try{e()}finally{Vt(!1)}}return r.memoizedState=[l,a],l},useReducer:function(e,a,r){var l=an();if(r!==void 0){var c=r(a);if(fr){Vt(!0);try{r(a)}finally{Vt(!1)}}}else c=a;return l.memoizedState=l.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},l.queue=e,e=e.dispatch=ST.bind(null,je,e),[l.memoizedState,e]},useRef:function(e){var a=an();return e={current:e},a.memoizedState=e},useState:function(e){e=zf(e);var a=e.queue,r=Zy.bind(null,je,a);return a.dispatch=r,[e.memoizedState,r]},useDebugValue:Lf,useDeferredValue:function(e,a){var r=an();return Vf(r,e,a)},useTransition:function(){var e=zf(!1);return e=By.bind(null,je,e.queue,!0,!1),an().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,r){var l=je,c=an();if(Ke){if(r===void 0)throw Error(s(407));r=r()}else{if(r=a(),st===null)throw Error(s(349));(He&127)!==0||my(l,a,r)}c.memoizedState=r;var d={value:r,getSnapshot:a};return c.queue=d,jy(yy.bind(null,l,d,e),[e]),l.flags|=2048,Ir(9,{destroy:void 0},py.bind(null,l,d,r,a),null),r},useId:function(){var e=an(),a=st.identifierPrefix;if(Ke){var r=ca,l=ua;r=(l&~(1<<32-Qt(l)-1)).toString(32)+r,a="_"+a+"R_"+r,r=Yo++,0<r&&(a+="H"+r.toString(32)),a+="_"}else r=mT++,a="_"+a+"r_"+r.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:Bf,useFormState:Ey,useActionState:Ey,useOptimistic:function(e){var a=an();a.memoizedState=a.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=r,a=Hf.bind(null,je,!0,r),r.dispatch=a,[e,a]},useMemoCache:jf,useCacheRefresh:function(){return an().memoizedState=xT.bind(null,je)},useEffectEvent:function(e){var a=an(),r={impl:e};return a.memoizedState=r,function(){if((Je&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},Pf={readContext:Kt,use:Fo,useCallback:Ly,useContext:Kt,useEffect:kf,useImperativeHandle:ky,useInsertionEffect:Dy,useLayoutEffect:zy,useMemo:Vy,useReducer:Xo,useRef:My,useState:function(){return Xo(Ba)},useDebugValue:Lf,useDeferredValue:function(e,a){var r=At();return Uy(r,at.memoizedState,e,a)},useTransition:function(){var e=Xo(Ba)[0],a=At().memoizedState;return[typeof e=="boolean"?e:ol(e),a]},useSyncExternalStore:hy,useId:qy,useHostTransitionStatus:Bf,useFormState:Ay,useActionState:Ay,useOptimistic:function(e,a){var r=At();return by(r,at,e,a)},useMemoCache:jf,useCacheRefresh:Ky};Pf.useEffectEvent=Ny;var Xy={readContext:Kt,use:Fo,useCallback:Ly,useContext:Kt,useEffect:kf,useImperativeHandle:ky,useInsertionEffect:Dy,useLayoutEffect:zy,useMemo:Vy,useReducer:Df,useRef:My,useState:function(){return Df(Ba)},useDebugValue:Lf,useDeferredValue:function(e,a){var r=At();return at===null?Vf(r,e,a):Uy(r,at.memoizedState,e,a)},useTransition:function(){var e=Df(Ba)[0],a=At().memoizedState;return[typeof e=="boolean"?e:ol(e),a]},useSyncExternalStore:hy,useId:qy,useHostTransitionStatus:Bf,useFormState:Ry,useActionState:Ry,useOptimistic:function(e,a){var r=At();return at!==null?by(r,at,e,a):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:jf,useCacheRefresh:Ky};Xy.useEffectEvent=Ny;function qf(e,a,r,l){a=e.memoizedState,r=r(l,a),r=r==null?a:v({},a,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Kf={enqueueSetState:function(e,a,r){e=e._reactInternals;var l=Tn(),c=yi(l);c.payload=a,r!=null&&(c.callback=r),a=gi(e,c,l),a!==null&&(pn(a,e,l),il(a,e,l))},enqueueReplaceState:function(e,a,r){e=e._reactInternals;var l=Tn(),c=yi(l);c.tag=1,c.payload=a,r!=null&&(c.callback=r),a=gi(e,c,l),a!==null&&(pn(a,e,l),il(a,e,l))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var r=Tn(),l=yi(r);l.tag=2,a!=null&&(l.callback=a),a=gi(e,l,r),a!==null&&(pn(a,e,r),il(a,e,r))}};function Qy(e,a,r,l,c,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,d,g):a.prototype&&a.prototype.isPureReactComponent?!$s(r,l)||!$s(c,d):!0}function $y(e,a,r,l){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(r,l),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(r,l),a.state!==e&&Kf.enqueueReplaceState(a,a.state,null)}function dr(e,a){var r=a;if("ref"in a){r={};for(var l in a)l!=="ref"&&(r[l]=a[l])}if(e=e.defaultProps){r===a&&(r=v({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}function Iy(e){Mo(e)}function Jy(e){console.error(e)}function Wy(e){Mo(e)}function Jo(e,a){try{var r=e.onUncaughtError;r(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function eg(e,a,r){try{var l=e.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Zf(e,a,r){return r=yi(r),r.tag=3,r.payload={element:null},r.callback=function(){Jo(e,a)},r}function tg(e){return e=yi(e),e.tag=3,e}function ng(e,a,r,l){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var d=l.value;e.payload=function(){return c(d)},e.callback=function(){eg(a,r,l)}}var g=r.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){eg(a,r,l),typeof c!="function"&&(Ti===null?Ti=new Set([this]):Ti.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function wT(e,a,r,l,c){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=r.alternate,a!==null&&Kr(a,r,c,!0),r=bn.current,r!==null){switch(r.tag){case 31:case 13:return Bn===null?cu():r.alternate===null&&wt===0&&(wt=3),r.flags&=-257,r.flags|=65536,r.lanes=c,l===Bo?r.flags|=16384:(a=r.updateQueue,a===null?r.updateQueue=new Set([l]):a.add(l),pd(e,l,c)),!1;case 22:return r.flags|=65536,l===Bo?r.flags|=16384:(a=r.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=a):(r=a.retryQueue,r===null?a.retryQueue=new Set([l]):r.add(l)),pd(e,l,c)),!1}throw Error(s(435,r.tag))}return pd(e,l,c),cu(),!1}if(Ke)return a=bn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=c,l!==uf&&(e=Error(s(422),{cause:l}),Ws(kn(e,r)))):(l!==uf&&(a=Error(s(423),{cause:l}),Ws(kn(a,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,l=kn(l,r),c=Zf(e.stateNode,l,c),xf(e,c),wt!==4&&(wt=2)),!1;var d=Error(s(520),{cause:l});if(d=kn(d,r),vl===null?vl=[d]:vl.push(d),wt!==4&&(wt=2),a===null)return!0;l=kn(l,r),r=a;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Zf(r.stateNode,l,e),xf(r,e),!1;case 1:if(a=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ti===null||!Ti.has(d))))return r.flags|=65536,c&=-c,r.lanes|=c,c=tg(c),ng(c,e,r,l),xf(r,c),!1}r=r.return}while(r!==null);return!1}var Yf=Error(s(461)),Mt=!1;function Zt(e,a,r,l){a.child=e===null?sy(a,null,r,l):cr(a,e.child,r,l)}function ag(e,a,r,l,c){r=r.render;var d=a.ref;if("ref"in l){var g={};for(var S in l)S!=="ref"&&(g[S]=l[S])}else g=l;
vendor: 19,570 bytes, line 25
25return sr(a),l=Af(e,a,r,g,d,c),S=_f(),e!==null&&!Mt?(Rf(e,a,c),Ha(e,a,c)):(Ke&&S&&lf(a),a.flags|=1,Zt(e,a,l,c),a.child)}function ig(e,a,r,l,c){if(e===null){var d=r.type;return typeof d=="function"&&!af(d)&&d.defaultProps===void 0&&r.compare===null?(a.tag=15,a.type=d,rg(e,a,d,l,c)):(e=zo(r.type,null,l,a,a.mode,c),e.ref=a.ref,e.return=a,a.child=e)}if(d=e.child,!Wf(e,c)){var g=d.memoizedProps;if(r=r.compare,r=r!==null?r:$s,r(g,l)&&e.ref===a.ref)return Ha(e,a,c)}return a.flags|=1,e=Oa(d,l),e.ref=a.ref,e.return=a,a.child=e}function rg(e,a,r,l,c){if(e!==null){var d=e.memoizedProps;if($s(d,l)&&e.ref===a.ref)if(Mt=!1,a.pendingProps=l=d,Wf(e,c))(e.flags&131072)!==0&&(Mt=!0);else return a.lanes=e.lanes,Ha(e,a,c)}return Gf(e,a,r,l,c)}function sg(e,a,r,l){var c=l.children,d=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((a.flags&128)!==0){if(d=d!==null?d.baseLanes|r:r,e!==null){for(l=a.child=e.child,c=0;l!==null;)c=c|l.lanes|l.childLanes,l=l.sibling;l=c&~d}else l=0,a.child=null;return lg(e,a,d,r,l)}if((r&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&Vo(a,d!==null?d.cachePool:null),d!==null?uy(a,d):wf(),cy(a);else return l=a.lanes=536870912,lg(e,a,d!==null?d.baseLanes|r:r,r,l)}else d!==null?(Vo(a,d.cachePool),uy(a,d),bi(),a.memoizedState=null):(e!==null&&Vo(a,null),wf(),bi());return Zt(e,a,c,r),a.child}function fl(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function lg(e,a,r,l,c){var d=yf();return d=d===null?null:{parent:_t._currentValue,pool:d},a.memoizedState={baseLanes:r,cachePool:d},e!==null&&Vo(a,null),wf(),cy(a),e!==null&&Kr(e,a,l,!0),a.childLanes=c,null}function Wo(e,a){return a=tu({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function og(e,a,r){return cr(a,e.child,null,r),e=Wo(a,a.pendingProps),e.flags|=2,xn(a),a.memoizedState=null,e}function TT(e,a,r){var l=a.pendingProps,c=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(Ke){if(l.mode==="hidden")return e=Wo(a,l),a.lanes=536870912,fl(null,e);if(Cf(a),(e=dt)?(e=xv(e,Un),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:fi!==null?{id:ua,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},r=Yp(e),r.return=a,a.child=r,qt=a,dt=null)):e=null,e===null)throw hi(a);return a.lanes=536870912,null}return Wo(a,l)}var d=e.memoizedState;if(d!==null){var g=d.dehydrated;if(Cf(a),c)if(a.flags&256)a.flags&=-257,a=og(e,a,r);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(s(558));else if(Mt||Kr(e,a,r,!1),c=(r&e.childLanes)!==0,Mt||c){if(l=st,l!==null&&(g=_(l,r),g!==0&&g!==d.retryLane))throw d.retryLane=g,nr(e,g),pn(l,e,g),Yf;cu(),a=og(e,a,r)}else e=d.treeContext,dt=Hn(g.nextSibling),qt=a,Ke=!0,di=null,Un=!1,e!==null&&Xp(a,e),a=Wo(a,l),a.flags|=4096;return a}return e=Oa(e.child,{mode:l.mode,children:l.children}),e.ref=a.ref,a.child=e,e.return=a,e}function eu(e,a){var r=a.ref;if(r===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(e===null||e.ref!==r)&&(a.flags|=4194816)}}function Gf(e,a,r,l,c){return sr(a),r=Af(e,a,r,l,void 0,c),l=_f(),e!==null&&!Mt?(Rf(e,a,c),Ha(e,a,c)):(Ke&&l&&lf(a),a.flags|=1,Zt(e,a,r,c),a.child)}function ug(e,a,r,l,c,d){return sr(a),a.updateQueue=null,r=dy(a,l,r,c),fy(e),l=_f(),e!==null&&!Mt?(Rf(e,a,d),Ha(e,a,d)):(Ke&&l&&lf(a),a.flags|=1,Zt(e,a,r,d),a.child)}function cg(e,a,r,l,c){if(sr(a),a.stateNode===null){var d=Br,g=r.contextType;typeof g=="object"&&g!==null&&(d=Kt(g)),d=new r(l,d),a.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Kf,a.stateNode=d,d._reactInternals=a,d=a.stateNode,d.props=l,d.state=a.memoizedState,d.refs={},vf(a),g=r.contextType,d.context=typeof g=="object"&&g!==null?Kt(g):Br,d.state=a.memoizedState,g=r.getDerivedStateFromProps,typeof g=="function"&&(qf(a,r,g,l),d.state=a.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&Kf.enqueueReplaceState(d,d.state,null),sl(a,l,d,c),rl(),d.state=a.memoizedState),typeof d.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(e===null){d=a.stateNode;var S=a.memoizedProps,A=dr(r,S);d.props=A;var L=d.context,q=r.contextType;g=Br,typeof q=="object"&&q!==null&&(g=Kt(q));var Y=r.getDerivedStateFromProps;q=typeof Y=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,q||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||L!==g)&&$y(a,d,l,g),pi=!1;var V=a.memoizedState;d.state=V,sl(a,l,d,c),rl(),L=a.memoizedState,S||V!==L||pi?(typeof Y=="function"&&(qf(a,r,Y,l),L=a.memoizedState),(A=pi||Qy(a,r,A,l,V,L,g))?(q||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(a.flags|=4194308)):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=l,a.memoizedState=L),d.props=l,d.state=L,d.context=g,l=A):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{d=a.stateNode,bf(e,a),g=a.memoizedProps,q=dr(r,g),d.props=q,Y=a.pendingProps,V=d.context,L=r.contextType,A=Br,typeof L=="object"&&L!==null&&(A=Kt(L)),S=r.getDerivedStateFromProps,(L=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==Y||V!==A)&&$y(a,d,l,A),pi=!1,V=a.memoizedState,d.state=V,sl(a,l,d,c),rl();var P=a.memoizedState;g!==Y||V!==P||pi||e!==null&&e.dependencies!==null&&ko(e.dependencies)?(typeof S=="function"&&(qf(a,r,S,l),P=a.memoizedState),(q=pi||Qy(a,r,q,l,V,P,A)||e!==null&&e.dependencies!==null&&ko(e.dependencies))?(L||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(l,P,A),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(l,P,A)),typeof d.componentDidUpdate=="function"&&(a.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&V===e.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&V===e.memoizedState||(a.flags|=1024),a.memoizedProps=l,a.memoizedState=P),d.props=l,d.state=P,d.context=A,l=q):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&V===e.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&V===e.memoizedState||(a.flags|=1024),l=!1)}return d=l,eu(e,a),l=(a.flags&128)!==0,d||l?(d=a.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:d.render(),a.flags|=1,e!==null&&l?(a.child=cr(a,e.child,null,c),a.child=cr(a,null,r,c)):Zt(e,a,r,c),a.memoizedState=d.state,e=a.child):e=Ha(e,a,c),e}function fg(e,a,r,l){return ir(),a.flags|=256,Zt(e,a,r,l),a.child}var Ff={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xf(e){return{baseLanes:e,cachePool:ey()}}function Qf(e,a,r){return e=e!==null?e.childLanes&~r:0,a&&(e|=wn),e}function dg(e,a,r){var l=a.pendingProps,c=!1,d=(a.flags&128)!==0,g;if((g=d)||(g=e!==null&&e.memoizedState===null?!1:(Et.current&2)!==0),g&&(c=!0,a.flags&=-129),g=(a.flags&32)!==0,a.flags&=-33,e===null){if(Ke){if(c?vi(a):bi(),(e=dt)?(e=xv(e,Un),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:fi!==null?{id:ua,overflow:ca}:null,retryLane:536870912,hydrationErrors:null},r=Yp(e),r.return=a,a.child=r,qt=a,dt=null)):e=null,e===null)throw hi(a);return Nd(e)?a.lanes=32:a.lanes=536870912,null}var S=l.children;return l=l.fallback,c?(bi(),c=a.mode,S=tu({mode:"hidden",children:S},c),l=ar(l,c,r,null),S.return=a,l.return=a,S.sibling=l,a.child=S,l=a.child,l.memoizedState=Xf(r),l.childLanes=Qf(e,g,r),a.memoizedState=Ff,fl(null,l)):(vi(a),$f(a,S))}var A=e.memoizedState;if(A!==null&&(S=A.dehydrated,S!==null)){if(d)a.flags&256?(vi(a),a.flags&=-257,a=If(e,a,r)):a.memoizedState!==null?(bi(),a.child=e.child,a.flags|=128,a=null):(bi(),S=l.fallback,c=a.mode,l=tu({mode:"visible",children:l.children},c),S=ar(S,c,r,null),S.flags|=2,l.return=a,S.return=a,l.sibling=S,a.child=l,cr(a,e.child,null,r),l=a.child,l.memoizedState=Xf(r),l.childLanes=Qf(e,g,r),a.memoizedState=Ff,a=fl(null,l));else if(vi(a),Nd(S)){if(g=S.nextSibling&&S.nextSibling.dataset,g)var L=g.dgst;g=L,l=Error(s(419)),l.stack="",l.digest=g,Ws({value:l,source:null,stack:null}),a=If(e,a,r)}else if(Mt||Kr(e,a,r,!1),g=(r&e.childLanes)!==0,Mt||g){if(g=st,g!==null&&(l=_(g,r),l!==0&&l!==A.retryLane))throw A.retryLane=l,nr(e,l),pn(g,e,l),Yf;jd(S)||cu(),a=If(e,a,r)}else jd(S)?(a.flags|=192,a.child=e.child,a=null):(e=A.treeContext,dt=Hn(S.nextSibling),qt=a,Ke=!0,di=null,Un=!1,e!==null&&Xp(a,e),a=$f(a,l.children),a.flags|=4096);return a}return c?(bi(),S=l.fallback,c=a.mode,A=e.child,L=A.sibling,l=Oa(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,L!==null?S=Oa(L,S):(S=ar(S,c,r,null),S.flags|=2),S.return=a,l.return=a,l.sibling=S,a.child=l,fl(null,l),l=a.child,S=e.child.memoizedState,S===null?S=Xf(r):(c=S.cachePool,c!==null?(A=_t._currentValue,c=c.parent!==A?{parent:A,pool:A}:c):c=ey(),S={baseLanes:S.baseLanes|r,cachePool:c}),l.memoizedState=S,l.childLanes=Qf(e,g,r),a.memoizedState=Ff,fl(e.child,l)):(vi(a),r=e.child,e=r.sibling,r=Oa(r,{mode:"visible",children:l.children}),r.return=a,r.sibling=null,e!==null&&(g=a.deletions,g===null?(a.deletions=[e],a.flags|=16):g.push(e)),a.child=r,a.memoizedState=null,r)}function $f(e,a){return a=tu({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function tu(e,a){return e=vn(22,e,null,a),e.lanes=0,e}function If(e,a,r){return cr(a,e.child,null,r),e=$f(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function hg(e,a,r){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a),df(e.return,a,r)}function Jf(e,a,r,l,c,d){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:c,treeForkCount:d}:(g.isBackwards=a,g.rendering=null,g.renderingStartTime=0,g.last=l,g.tail=r,g.tailMode=c,g.treeForkCount=d)}function mg(e,a,r){var l=a.pendingProps,c=l.revealOrder,d=l.tail;l=l.children;var g=Et.current,S=(g&2)!==0;if(S?(g=g&1|2,a.flags|=128):g&=1,Ce(Et,g),Zt(e,a,l,r),l=Ke?Js:0,!S&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&hg(e,r,a);else if(e.tag===19)hg(e,r,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(r=a.child,c=null;r!==null;)e=r.alternate,e!==null&&Ko(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=a.child,a.child=null):(c=r.sibling,r.sibling=null),Jf(a,!1,c,r,d,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,c=a.child,a.child=null;c!==null;){if(e=c.alternate,e!==null&&Ko(e)===null){a.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}Jf(a,!0,r,null,d,l);break;case"together":Jf(a,!1,null,null,void 0,l);break;default:a.memoizedState=null}return a.child}function Ha(e,a,r){if(e!==null&&(a.dependencies=e.dependencies),wi|=a.lanes,(r&a.childLanes)===0)if(e!==null){if(Kr(e,a,r,!1),(r&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(s(153));if(a.child!==null){for(e=a.child,r=Oa(e,e.pendingProps),a.child=r,r.return=a;e.sibling!==null;)e=e.sibling,r=r.sibling=Oa(e,e.pendingProps),r.return=a;r.sibling=null}return a.child}function Wf(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&ko(e)))}function CT(e,a,r){switch(a.tag){case 3:wa(a,a.stateNode.containerInfo),mi(a,_t,e.memoizedState.cache),ir();break;case 27:case 5:Ls(a);break;case 4:wa(a,a.stateNode.containerInfo);break;case 10:mi(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Cf(a),null;break;case 13:var l=a.memoizedState;if(l!==null)return l.dehydrated!==null?(vi(a),a.flags|=128,null):(r&a.child.childLanes)!==0?dg(e,a,r):(vi(a),e=Ha(e,a,r),e!==null?e.sibling:null);vi(a);break;case 19:var c=(e.flags&128)!==0;if(l=(r&a.childLanes)!==0,l||(Kr(e,a,r,!1),l=(r&a.childLanes)!==0),c){if(l)return mg(e,a,r);a.flags|=128}if(c=a.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ce(Et,Et.current),l)break;return null;case 22:return a.lanes=0,sg(e,a,r,a.pendingProps);case 24:mi(a,_t,e.memoizedState.cache)}return Ha(e,a,r)}function pg(e,a,r){if(e!==null)if(e.memoizedProps!==a.pendingProps)Mt=!0;else{if(!Wf(e,r)&&(a.flags&128)===0)return Mt=!1,CT(e,a,r);Mt=(e.flags&131072)!==0}else Mt=!1,Ke&&(a.flags&1048576)!==0&&Fp(a,Js,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(e=or(a.elementType),a.type=e,typeof e=="function")af(e)?(l=dr(e,l),a.tag=1,a=cg(null,a,e,l,r)):(a.tag=0,a=Gf(null,a,e,l,r));else{if(e!=null){var c=e.$$typeof;if(c===K){a.tag=11,a=ag(null,a,e,l,r);break e}else if(c===te){a.tag=14,a=ig(null,a,e,l,r);break e}}throw a=Le(e)||e,Error(s(306,a,""))}}return a;case 0:return Gf(e,a,a.type,a.pendingProps,r);case 1:return l=a.type,c=dr(l,a.pendingProps),cg(e,a,l,c,r);case 3:e:{if(wa(a,a.stateNode.containerInfo),e===null)throw Error(s(387));l=a.pendingProps;var d=a.memoizedState;c=d.element,bf(e,a),sl(a,l,null,r);var g=a.memoizedState;if(l=g.cache,mi(a,_t,l),l!==d.cache&&hf(a,[_t],r,!0),rl(),l=g.element,d.isDehydrated)if(d={element:l,isDehydrated:!1,cache:g.cache},a.updateQueue.baseState=d,a.memoizedState=d,a.flags&256){a=fg(e,a,l,r);break e}else if(l!==c){c=kn(Error(s(424)),a),Ws(c),a=fg(e,a,l,r);break e}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(dt=Hn(e.firstChild),qt=a,Ke=!0,di=null,Un=!0,r=sy(a,null,l,r),a.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(ir(),l===c){a=Ha(e,a,r);break e}Zt(e,a,l,r)}a=a.child}return a;case 26:return eu(e,a),e===null?(r=Av(a.type,null,a.pendingProps,null))?a.memoizedState=r:Ke||(r=a.type,e=a.pendingProps,l=gu(ut.current).createElement(r),l[ie]=a,l[re]=e,Yt(l,r,e),$e(l),a.stateNode=l):a.memoizedState=Av(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Ls(a),e===null&&Ke&&(l=a.stateNode=Tv(a.type,a.pendingProps,ut.current),qt=a,Un=!0,c=dt,_i(a.type)?(Dd=c,dt=Hn(l.firstChild)):dt=c),Zt(e,a,a.pendingProps.children,r),eu(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Ke&&((c=l=dt)&&(l=e2(l,a.type,a.pendingProps,Un),l!==null?(a.stateNode=l,qt=a,dt=Hn(l.firstChild),Un=!1,c=!0):c=!1),c||hi(a)),Ls(a),c=a.type,d=a.pendingProps,g=e!==null?e.memoizedProps:null,l=d.children,_d(c,d)?l=null:g!==null&&_d(c,g)&&(a.flags|=32),a.memoizedState!==null&&(c=Af(e,a,pT,null,null,r),Al._currentValue=c),eu(e,a),Zt(e,a,l,r),a.child;case 6:return e===null&&Ke&&((e=r=dt)&&(r=t2(r,a.pendingProps,Un),r!==null?(a.stateNode=r,qt=a,dt=null,e=!0):e=!1),e||hi(a)),null;case 13:return dg(e,a,r);case 4:return wa(a,a.stateNode.containerInfo),l=a.pendingProps,e===null?a.child=cr(a,null,l,r):Zt(e,a,l,r),a.child;case 11:return ag(e,a,a.type,a.pendingProps,r);case 7:return Zt(e,a,a.pendingProps,r),a.child;case 8:return Zt(e,a,a.pendingProps.children,r),a.child;case 12:return Zt(e,a,a.pendingProps.children,r),a.child;case 10:return l=a.pendingProps,mi(a,a.type,l.value),Zt(e,a,l.children,r),a.child;case 9:return c=a.type._context,l=a.pendingProps.children,sr(a),c=Kt(c),l=l(c),a.flags|=1,Zt(e,a,l,r),a.child;case 14:return ig(e,a,a.type,a.pendingProps,r);case 15:return rg(e,a,a.type,a.pendingProps,r);case 19:return mg(e,a,r);case 31:return TT(e,a,r);case 22:return sg(e,a,r,a.pendingProps);case 24:return sr(a),l=Kt(_t),e===null?(c=yf(),c===null&&(c=st,d=mf(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=r),c=d),a.memoizedState={parent:l,cache:c},vf(a),mi(a,_t,c)):((e.lanes&r)!==0&&(bf(e,a),sl(a,null,null,r),rl()),c=e.memoizedState,d=a.memoizedState,c.parent!==l?(c={parent:l,cache:l},a.memoizedState=c,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=c),mi(a,_t,l)):(l=d.cache,mi(a,_t,l),l!==c.cache&&hf(a,[_t],r,!0))),Zt(e,a,a.pendingProps.children,r),a.child;case 29:throw a.pendingProps}throw Error(s(156,a.tag))}function Pa(e){e.flags|=4}function ed(e,a,r,l,c){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(qg())e.flags|=8192;else throw ur=Bo,gf}else e.flags&=-16777217}function yg(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Nv(a))if(qg())e.flags|=8192;else throw ur=Bo,gf}function nu(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?qs():536870912,e.lanes|=a,ts|=a)}function dl(e,a){if(!Ke)switch(e.tailMode){case"hidden":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ht(e){var a=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(a)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,l|=c.subtreeFlags&65011712,l|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=l,e.childLanes=r,a}function ET(e,a,r){var l=a.pendingProps;switch(of(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(a),null;case 1:return ht(a),null;case 3:return r=a.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),Va(_t),ln(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(qr(a)?Pa(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,cf())),ht(a),null;case 26:var c=a.type,d=a.memoizedState;return e===null?(Pa(a),d!==null?(ht(a),yg(a,d)):(ht(a),ed(a,c,null,l,r))):d?d!==e.memoizedState?(Pa(a),ht(a),yg(a,d)):(ht(a),a.flags&=-16777217):(e=e.memoizedProps,e!==l&&Pa(a),ht(a),ed(a,c,e,l,r)),null;case 27:if(Ar(a),r=ut.current,c=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Pa(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return ht(a),null}e=We.current,qr(a)?Qp(a):(e=Tv(c,l,r),a.stateNode=e,Pa(a))}return ht(a),null;case 5:if(Ar(a),c=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&Pa(a);else{if(!l){if(a.stateNode===null)throw Error(s(166));return ht(a),null}if(d=We.current,qr(a))Qp(a);else{var g=gu(ut.current);switch(d){case 1:d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=g.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=g.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=g.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;
vendor: 4,357 bytes, line 25
25case"select":d=typeof l.is=="string"?g.createElement("select",{is:l.is}):g.createElement("select"),l.multiple?d.multiple=!0:l.size&&(d.size=l.size);break;default:d=typeof l.is=="string"?g.createElement(c,{is:l.is}):g.createElement(c)}}d[ie]=a,d[re]=l;e:for(g=a.child;g!==null;){if(g.tag===5||g.tag===6)d.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===a)break e;for(;g.sibling===null;){if(g.return===null||g.return===a)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}a.stateNode=d;e:switch(Yt(d,c,l),c){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Pa(a)}}return ht(a),ed(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,r),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&Pa(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(s(166));if(e=ut.current,qr(a)){if(e=a.stateNode,r=a.memoizedProps,l=null,c=qt,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}e[ie]=a,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||dv(e.nodeValue,r)),e||hi(a,!0)}else e=gu(e).createTextNode(l),e[ie]=a,a.stateNode=e}return ht(a),null;case 31:if(r=a.memoizedState,e===null||e.memoizedState!==null){if(l=qr(a),r!==null){if(e===null){if(!l)throw Error(s(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[ie]=a}else ir(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;ht(a),e=!1}else r=cf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return a.flags&256?(xn(a),a):(xn(a),null);if((a.flags&128)!==0)throw Error(s(558))}return ht(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=qr(a),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error(s(318));if(c=a.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(s(317));c[ie]=a}else ir(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;ht(a),c=!1}else c=cf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return a.flags&256?(xn(a),a):(xn(a),null)}return xn(a),(a.flags&128)!==0?(a.lanes=r,a):(r=l!==null,e=e!==null&&e.memoizedState!==null,r&&(l=a.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool),d=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),d!==c&&(l.flags|=2048)),r!==e&&r&&(a.child.flags|=8192),nu(a,a.updateQueue),ht(a),null);case 4:return ln(),e===null&&wd(a.stateNode.containerInfo),ht(a),null;case 10:return Va(a.type),ht(a),null;case 19:if(Ne(Et),l=a.memoizedState,l===null)return ht(a),null;if(c=(a.flags&128)!==0,d=l.rendering,d===null)if(c)dl(l,!1);else{if(wt!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(d=Ko(e),d!==null){for(a.flags|=128,dl(l,!1),e=d.updateQueue,a.updateQueue=e,nu(a,e),a.subtreeFlags=0,e=r,r=a.child;r!==null;)Zp(r,e),r=r.sibling;return Ce(Et,Et.current&1|2),Ke&&ka(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&en()>lu&&(a.flags|=128,c=!0,dl(l,!1),a.lanes=4194304)}else{if(!c)if(e=Ko(d),e!==null){if(a.flags|=128,c=!0,e=e.updateQueue,a.updateQueue=e,nu(a,e),dl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!d.alternate&&!Ke)return ht(a),null}else 2*en()-l.renderingStartTime>lu&&r!==536870912&&(a.flags|=128,c=!0,dl(l,!1),a.lanes=4194304);l.isBackwards?(d.sibling=a.child,a.child=d):(e=l.last,e!==null?e.sibling=d:a.child=d,l.last=d)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=en(),e.sibling=null,r=Et.current,Ce(Et,c?r&1|2:r&1),Ke&&ka(a,l.treeForkCount),e):(ht(a),null);case 22:case 23:return xn(a),Tf(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(r&536870912)!==0&&(a.flags&128)===0&&(ht(a),a.subtreeFlags&6&&(a.flags|=8192)):ht(a),r=a.updateQueue,r!==null&&nu(a,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==r&&(a.flags|=2048),e!==null&&Ne(lr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),a.memoizedState.cache!==r&&(a.flags|=2048),Va(_t),ht(
vendor: 4,338 bytes, line 25
25a),null;case 25:return null;case 30:return null}throw Error(s(156,a.tag))}function AT(e,a){switch(of(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return Va(_t),ln(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return Ar(a),null;case 31:if(a.memoizedState!==null){if(xn(a),a.alternate===null)throw Error(s(340));ir()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(xn(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(s(340));ir()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Ne(Et),null;case 4:return ln(),null;case 10:return Va(a.type),null;case 22:case 23:return xn(a),Tf(),e!==null&&Ne(lr),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return Va(_t),null;case 25:return null;default:return null}}function gg(e,a){switch(of(a),a.tag){case 3:Va(_t),ln();break;case 26:case 27:case 5:Ar(a);break;case 4:ln();break;case 31:a.memoizedState!==null&&xn(a);break;case 13:xn(a);break;case 19:Ne(Et);break;case 10:Va(a.type);break;case 22:case 23:xn(a),Tf(),e!==null&&Ne(lr);break;case 24:Va(_t)}}function hl(e,a){try{var r=a.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var c=l.next;r=c;do{if((r.tag&e)===e){l=void 0;var d=r.create,g=r.inst;l=d(),g.destroy=l}r=r.next}while(r!==c)}}catch(S){tt(a,a.return,S)}}function xi(e,a,r){try{var l=a.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var d=c.next;l=d;do{if((l.tag&e)===e){var g=l.inst,S=g.destroy;if(S!==void 0){g.destroy=void 0,c=a;var A=r,L=S;try{L()}catch(q){tt(c,A,q)}}}l=l.next}while(l!==d)}}catch(q){tt(a,a.return,q)}}function vg(e){var a=e.updateQueue;if(a!==null){var r=e.stateNode;try{oy(a,r)}catch(l){tt(e,e.return,l)}}}function bg(e,a,r){r.props=dr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){tt(e,a,l)}}function ml(e,a){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof r=="function"?e.refCleanup=r(l):r.current=l}}catch(c){tt(e,a,c)}}function fa(e,a){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(c){tt(e,a,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){tt(e,a,c)}else r.current=null}function xg(e){var a=e.type,r=e.memoizedProps,l=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(c){tt(e,e.return,c)}}function td(e,a,r){try{var l=e.stateNode;XT(l,e.type,r,a),l[re]=a}catch(c){tt(e,e.return,c)}}function Sg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_i(e.type)||e.tag===4}function nd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&_i(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ad(e,a,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,a):(a=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,a.appendChild(e),r=r._reactRootContainer,r!=null||a.onclick!==null||(a.onclick=Da));else if(l!==4&&(l===27&&_i(e.type)&&(r=e.stateNode,a=null),e=e.child,e!==null))for(ad(e,a,r),e=e.sibling;e!==null;)ad(e,a,r),e=e.sibling}function au(e,a,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?r.insertBefore(e,a):r.appendChild(e);else if(l!==4&&(l===27&&_i(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(au(e,a,r),e=e.sibling;e!==null;)au(e,a,r),e=e.sibling}function wg(e){var a=e.stateNode,r=e.memoizedProps;try{for(var l=e.type,c=a.attributes;c.length;)a.removeAttributeNode(c[0]);Yt(a,l,r),a[ie]=e,a[re]=r}catch(d){tt(e,e.return,d)}}var qa=!1,jt=!1,id=!1,Tg=typeof WeakSet=="function"?WeakSet:Set,Ut=null;function _T(e,a){if(e=e.containerInfo,Ed=Cu,e=kp(e),$c(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;
vendor: 16,285 bytes, line 25
25l=l.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var g=0,S=-1,A=-1,L=0,q=0,Y=e,V=null;t:for(;;){for(var P;Y!==r||c!==0&&Y.nodeType!==3||(S=g+c),Y!==d||l!==0&&Y.nodeType!==3||(A=g+l),Y.nodeType===3&&(g+=Y.nodeValue.length),(P=Y.firstChild)!==null;)V=Y,Y=P;for(;;){if(Y===e)break t;if(V===r&&++L===c&&(S=g),V===d&&++q===l&&(A=g),(P=Y.nextSibling)!==null)break;Y=V,V=Y.parentNode}Y=P}r=S===-1||A===-1?null:{start:S,end:A}}else r=null}r=r||{start:0,end:0}}else r=null;for(Ad={focusedElem:e,selectionRange:r},Cu=!1,Ut=a;Ut!==null;)if(a=Ut,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,Ut=e;else for(;Ut!==null;){switch(a=Ut,d=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)c=e[r],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=a,c=d.memoizedProps,d=d.memoizedState,l=r.stateNode;try{var ce=dr(r.type,c);e=l.getSnapshotBeforeUpdate(ce,d),l.__reactInternalSnapshotBeforeUpdate=e}catch(Se){tt(r,r.return,Se)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,r=e.nodeType,r===9)Md(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Md(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(s(163))}if(e=a.sibling,e!==null){e.return=a.return,Ut=e;break}Ut=a.return}}function Cg(e,a,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:Za(e,r),l&4&&hl(5,r);break;case 1:if(Za(e,r),l&4)if(e=r.stateNode,a===null)try{e.componentDidMount()}catch(g){tt(r,r.return,g)}else{var c=dr(r.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(c,a,e.__reactInternalSnapshotBeforeUpdate)}catch(g){tt(r,r.return,g)}}l&64&&vg(r),l&512&&ml(r,r.return);break;case 3:if(Za(e,r),l&64&&(e=r.updateQueue,e!==null)){if(a=null,r.child!==null)switch(r.child.tag){case 27:case 5:a=r.child.stateNode;break;case 1:a=r.child.stateNode}try{oy(e,a)}catch(g){tt(r,r.return,g)}}break;case 27:a===null&&l&4&&wg(r);case 26:case 5:Za(e,r),a===null&&l&4&&xg(r),l&512&&ml(r,r.return);break;case 12:Za(e,r);break;case 31:Za(e,r),l&4&&_g(e,r);break;case 13:Za(e,r),l&4&&Rg(e,r),l&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=LT.bind(null,r),n2(e,r))));break;case 22:if(l=r.memoizedState!==null||qa,!l){a=a!==null&&a.memoizedState!==null||jt,c=qa;var d=jt;qa=l,(jt=a)&&!d?Ya(e,r,(r.subtreeFlags&8772)!==0):Za(e,r),qa=c,jt=d}break;case 30:break;default:Za(e,r)}}function Eg(e){var a=e.alternate;a!==null&&(e.alternate=null,Eg(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Ye(a)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var gt=null,fn=!1;function Ka(e,a,r){for(r=r.child;r!==null;)Ag(e,a,r),r=r.sibling}function Ag(e,a,r){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(Ea,r)}catch{}switch(r.tag){case 26:jt||fa(r,a),Ka(e,a,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:jt||fa(r,a);var l=gt,c=fn;_i(r.type)&&(gt=r.stateNode,fn=!1),Ka(e,a,r),Tl(r.stateNode),gt=l,fn=c;break;case 5:jt||fa(r,a);case 6:if(l=gt,c=fn,gt=null,Ka(e,a,r),gt=l,fn=c,gt!==null)if(fn)try{(gt.nodeType===9?gt.body:gt.nodeName==="HTML"?gt.ownerDocument.body:gt).removeChild(r.stateNode)}catch(d){tt(r,a,d)}else try{gt.removeChild(r.stateNode)}catch(d){tt(r,a,d)}break;case 18:gt!==null&&(fn?(e=gt,vv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),us(e)):vv(gt,r.stateNode));break;case 4:l=gt,c=fn,gt=r.stateNode.containerInfo,fn=!0,Ka(e,a,r),gt=l,fn=c;break;case 0:case 11:case 14:case 15:xi(2,r,a),jt||xi(4,r,a),Ka(e,a,r);break;case 1:jt||(fa(r,a),l=r.stateNode,typeof l.componentWillUnmount=="function"&&bg(r,a,l)),Ka(e,a,r);break;case 21:Ka(e,a,r);break;case 22:jt=(l=jt)||r.memoizedState!==null,Ka(e,a,r),jt=l;break;default:Ka(e,a,r)}}function _g(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{us(e)}catch(r){tt(a,a.return,r)}}}function Rg(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{us(e)}catch(r){tt(a,a.return,r)}}function RT(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new Tg),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new Tg),a;default:throw Error(s(435,e.tag))}}function iu(e,a){var r=RT(e);a.forEach(function(l){if(!r.has(l)){r.add(l);var c=VT.bind(null,e,l);l.then(c,c)}})}function dn(e,a){var r=a.deletions;if(r!==null)for(var l=0;l<r.length;l++){var c=r[l],d=e,g=a,S=g;e:for(;S!==null;){switch(S.tag){case 27:if(_i(S.type)){gt=S.stateNode,fn=!1;break e}break;case 5:gt=S.stateNode,fn=!1;break e;case 3:case 4:gt=S.stateNode.containerInfo,fn=!0;break e}S=S.return}if(gt===null)throw Error(s(160));Ag(d,g,c),gt=null,fn=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Mg(a,e),a=a.sibling}var Wn=null;function Mg(e,a){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:dn(a,e),hn(e),l&4&&(xi(3,e,e.return),hl(3,e),xi(5,e,e.return));break;case 1:dn(a,e),hn(e),l&512&&(jt||r===null||fa(r,r.return)),l&64&&qa&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var c=Wn;if(dn(a,e),hn(e),l&512&&(jt||r===null||fa(r,r.return)),l&4){var d=r!==null?r.memoizedState:null;if(l=e.memoizedState,r===null)if(l===null)if(e.stateNode===null){e:{l=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(l){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Qe]||d[ie]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(l),c.head.insertBefore(d,c.querySelector("head > title"))),Yt(d,l,r),d[ie]=e,$e(d),l=d;break e;case"link":var g=Mv("link","href",c).get(l+(r.href||""));if(g){for(var S=0;S<g.length;S++)if(d=g[S],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){g.splice(S,1);break t}}d=c.createElement(l),Yt(d,l,r),c.head.appendChild(d);break;case"meta":if(g=Mv("meta","content",c).get(l+(r.content||""))){for(S=0;S<g.length;S++)if(d=g[S],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){g.splice(S,1);break t}}d=c.createElement(l),Yt(d,l,r),c.head.appendChild(d);break;default:throw Error(s(468,l))}d[ie]=e,$e(d),l=d}e.stateNode=l}else jv(c,e.type,e.stateNode);else e.stateNode=Rv(c,l,e.memoizedProps);else d!==l?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,l===null?jv(c,e.type,e.stateNode):Rv(c,l,e.memoizedProps)):l===null&&e.stateNode!==null&&td(e,e.memoizedProps,r.memoizedProps)}break;case 27:dn(a,e),hn(e),l&512&&(jt||r===null||fa(r,r.return)),r!==null&&l&4&&td(e,e.memoizedProps,r.memoizedProps);break;case 5:if(dn(a,e),hn(e),l&512&&(jt||r===null||fa(r,r.return)),e.flags&32){c=e.stateNode;try{Dr(c,"")}catch(ce){tt(e,e.return,ce)}}l&4&&e.stateNode!=null&&(c=e.memoizedProps,td(e,c,r!==null?r.memoizedProps:c)),l&1024&&(id=!0);break;case 6:if(dn(a,e),hn(e),l&4){if(e.stateNode===null)throw Error(s(162));l=e.memoizedProps,r=e.stateNode;try{r.nodeValue=l}catch(ce){tt(e,e.return,ce)}}break;case 3:if(xu=null,c=Wn,Wn=vu(a.containerInfo),dn(a,e),Wn=c,hn(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{us(a.containerInfo)}catch(ce){tt(e,e.return,ce)}id&&(id=!1,jg(e));break;case 4:l=Wn,Wn=vu(e.stateNode.containerInfo),dn(a,e),hn(e),Wn=l;break;case 12:dn(a,e),hn(e);break;case 31:dn(a,e),hn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,iu(e,l)));break;case 13:dn(a,e),hn(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(su=en()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,iu(e,l)));break;case 22:c=e.memoizedState!==null;var A=r!==null&&r.memoizedState!==null,L=qa,q=jt;if(qa=L||c,jt=q||A,dn(a,e),jt=q,qa=L,hn(e),l&8192)e:for(a=e.stateNode,a._visibility=c?a._visibility&-2:a._visibility|1,c&&(r===null||A||qa||jt||hr(e)),r=null,a=e;;){if(a.tag===5||a.tag===26){if(r===null){A=r=a;try{if(d=A.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{S=A.stateNode;var Y=A.memoizedProps.style,V=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;S.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(ce){tt(A,A.return,ce)}}}else if(a.tag===6){if(r===null){A=a;try{A.stateNode.nodeValue=c?"":A.memoizedProps}catch(ce){tt(A,A.return,ce)}}}else if(a.tag===18){if(r===null){A=a;try{var P=A.stateNode;c?bv(P,!0):bv(A.stateNode,!1)}catch(ce){tt(A,A.return,ce)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;r===a&&(r=null),a=a.return}r===a&&(r=null),a.sibling.return=a.return,a=a.sibling}l&4&&(l=e.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,iu(e,r))));break;case 19:dn(a,e),hn(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,iu(e,l)));break;case 30:break;case 21:break;default:dn(a,e),hn(e)}}function hn(e){var a=e.flags;if(a&2){try{for(var r,l=e.return;l!==null;){if(Sg(l)){r=l;break}l=l.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var c=r.stateNode,d=nd(e);au(e,d,c);break;case 5:var g=r.stateNode;r.flags&32&&(Dr(g,""),r.flags&=-33);var S=nd(e);au(e,S,g);break;case 3:case 4:var A=r.stateNode.containerInfo,L=nd(e);ad(e,L,A);break;default:throw Error(s(161))}}catch(q){tt(e,e.return,q)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function jg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;jg(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Za(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Cg(e,a.alternate,a),a=a.sibling}function hr(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:xi(4,a,a.return),hr(a);break;case 1:fa(a,a.return);var r=a.stateNode;typeof r.componentWillUnmount=="function"&&bg(a,a.return,r),hr(a);break;case 27:Tl(a.stateNode);case 26:case 5:fa(a,a.return),hr(a);break;case 22:a.memoizedState===null&&hr(a);break;case 30:hr(a);break;default:hr(a)}e=e.sibling}}function Ya(e,a,r){for(r=r&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var l=a.alternate,c=e,d=a,g=d.flags;switch(d.tag){case 0:case 11:case 15:Ya(c,d,r),hl(4,d);break;case 1:if(Ya(c,d,r),l=d,c=l.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(L){tt(l,l.return,L)}if(l=d,c=l.updateQueue,c!==null){var S=l.stateNode;try{var A=c.shared.hiddenCallbacks;if(A!==null)for(c.shared.hiddenCallbacks=null,c=0;c<A.length;c++)ly(A[c],S)}catch(L){tt(l,l.return,L)}}r&&g&64&&vg(d),ml(d,d.return);break;case 27:wg(d);case 26:case 5:Ya(c,d,r),r&&l===null&&g&4&&xg(d),ml(d,d.return);break;case 12:Ya(c,d,r);break;case 31:Ya(c,d,r),r&&g&4&&_g(c,d);break;case 13:Ya(c,d,r),r&&g&4&&Rg(c,d);break;case 22:d.memoizedState===null&&Ya(c,d,r),ml(d,d.return);break;case 30:break;default:Ya(c,d,r)}a=a.sibling}}function rd(e,a){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&el(r))}function sd(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&el(e))}function ea(e,a,r,l){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Ng(e,a,r,l),a=a.sibling}function Ng(e,a,r,l){var c=a.flags;switch(a.tag){case 0:case 11:case 15:ea(e,a,r,l),c&2048&&hl(9,a);break;case 1:ea(e,a,r,l);break;case 3:ea(e,a,r,l),c&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&el(e)));break;case 12:if(c&2048){ea(e,a,r,l),e=a.stateNode;try{var d=a.memoizedProps,g=d.id,S=d.onPostCommit;typeof S=="function"&&S(g,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){tt(a,a.return,A)}}else ea(e,a,r,l);break;case 31:ea(e,a,r,l);break;case 13:ea(e,a,r,l);break;case 23:break;case 22:d=a.stateNode,g=a.alternate,a.memoizedState!==null?d._visibility&2?ea(e,a,r,l):pl(e,a):d._visibility&2?ea(e,a,r,l):(d._visibility|=2,Jr(e,a,r,l,(a.subtreeFlags&10256)!==0||!1)),c&2048&&rd(g,a);break;case 24:ea(e,a,r,l),c&2048&&sd(a.alternate,a);break;default:ea(e,a,r,l)}}function Jr(e,a,r,l,c){for(c=c&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var d=e,g=a,S=r,A=l,L=g.flags;switch(g.tag){case 0:case 11:case 15:Jr(d,g,S,A,c),hl(8,g);break;case 23:break;case 22:var q=g.stateNode;g.memoizedState!==null?q._visibility&2?Jr(d,g,S,A,c):pl(d,g):(q._visibility|=2,Jr(d,g,S,A,c)),c&&L&2048&&rd(g.alternate,g);break;case 24:Jr(d,g,S,A,c),c&&L&2048&&sd(g.alternate,g);break;default:Jr(d,g,S,A,c)}a=a.sibling}}function pl(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var r=e,l=a,c=l.flags;switch(l.tag){case 22:pl(r,l),c&2048&&rd(l.alternate,l);break;case 24:pl(r,l),c&2048&&sd(l.alternate,l);break;default:pl(r,l)}a=a.sibling}}var yl=8192;function Wr(e,a,r){if(e.subtreeFlags&yl)for(e=e.child;e!==null;)Dg(e,a,r),e=e.sibling}function Dg(e,a,r){switch(e.tag){case 26:Wr(e,a,r),e.flags&yl&&e.memoizedState!==null&&m2(r,Wn,e.memoizedState,e.memoizedProps);break;case 5:Wr(e,a,r);break;case 3:case 4:var l=Wn;Wn=vu(e.stateNode.containerInfo),Wr(e,a,r),Wn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=yl,yl=16777216,Wr(e,a,r),yl=l):Wr(e,a,r));break;default:Wr(e,a,r)}}function zg(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function gl(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];Ut=l,kg(l,e)}zg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Og(e),e=e.sibling}function Og(e){switch(e.tag){case 0:case 11:case 15:gl(e),e.flags&2048&&xi(9,e,e.return);break;case 3:gl(e);break;case 12:gl(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,ru(e)):gl(e);break;default:gl(e)}}function ru(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var r=0;r<a.length;r++){var l=a[r];Ut=l,kg(l,e)}zg(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:xi(8,a,a.return),ru(a);break;case 22:r=a.stateNode,r._visibility&2&&(r._visibility&=-3,ru(a));break;default:ru(a)}e=e.sibling}}function kg(e,a){for(;Ut!==null;){var r=Ut;switch(r.tag){case 0:case 11:case 15:xi(8,r,a);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:el(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,Ut=l;else e:for(r=e;Ut!==null;){l=Ut;var c=l.sibling,d=l.return;if(Eg(l),l===r){Ut=null;break e}if(c!==null){c.return=d,Ut=c;break e}Ut=d}}}var MT={getCacheForType:function(e){var a=Kt(_t),r=a.data.get(e);return r===void 0&&(r=e(),a.data.set(e,r)),r},cacheSignal:function(){return Kt(_t).controller.signal}},jT=typeof WeakMap=="function"?WeakMap:Map,Je=0,st=null,Ue=null,He=0,et=0,Sn=null,Si=!1,es=!1,ld=!1,Ga=0,wt=0,wi=0,mr=0,od=0,wn=0,ts=0,vl=null,mn=null,ud=!1,su=0,Lg=0,lu=1/0,ou=null,Ti=null,kt=0,Ci=null,ns=null,Fa=0,cd=0,fd=null,Vg=null,bl=0,dd=null;function Tn(){return(Je&2)!==0&&He!==0?He&-He:H.T!==null?vd():F()}function Ug(){if(wn===0)if((He&536870912)===0||Ke){var e=Aa;Aa<<=1,(Aa&3932160)===0&&(Aa=262144),wn=e}else wn=536870912;return e=bn.current,e!==null&&(e.flags|=32),wn}function pn(e,a,r){(e===st&&(et===2||et===9)||e.cancelPendingCommit!==null)&&(as(e,0),Ei(e,He,wn,!1)),oa(e,r),
vendor: 4,135 bytes, line 25
25((Je&2)===0||e!==st)&&(e===st&&((Je&2)===0&&(mr|=r),wt===4&&Ei(e,He,wn,!1)),da(e))}function Bg(e,a,r){if((Je&6)!==0)throw Error(s(327));var l=!r&&(a&127)===0&&(a&e.expiredLanes)===0||si(e,a),c=l?zT(e,a):md(e,a,!0),d=l;do{if(c===0){es&&!l&&Ei(e,a,0,!1);break}else{if(r=e.current.alternate,d&&!NT(r)){c=md(e,a,!1),d=!1;continue}if(c===2){if(d=a,e.errorRecoveryDisabledLanes&d)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){a=g;e:{var S=e;c=vl;var A=S.current.memoizedState.isDehydrated;if(A&&(as(S,g).flags|=256),g=md(S,g,!1),g!==2){if(ld&&!A){S.errorRecoveryDisabledLanes|=d,mr|=d,c=4;break e}d=mn,mn=c,d!==null&&(mn===null?mn=d:mn.push.apply(mn,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){as(e,0),Ei(e,a,0,!0);break}e:{switch(l=e,d=c,d){case 0:case 1:throw Error(s(345));case 4:if((a&4194048)!==a)break;case 6:Ei(l,a,wn,!Si);break e;case 2:mn=null;break;case 3:case 5:break;default:throw Error(s(329))}if((a&62914560)===a&&(c=su+300-en(),10<c)){if(Ei(l,a,wn,!Si),Mr(l,0,!0)!==0)break e;Fa=a,l.timeoutHandle=yv(Hg.bind(null,l,r,mn,ou,ud,a,wn,mr,ts,Si,d,"Throttled",-0,0),c);break e}Hg(l,r,mn,ou,ud,a,wn,mr,ts,Si,d,null,-0,0)}}break}while(!0);da(e)}function Hg(e,a,r,l,c,d,g,S,A,L,q,Y,V,P){if(e.timeoutHandle=-1,Y=a.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Da},Dg(a,d,Y);var ce=(d&62914560)===d?su-en():(d&4194048)===d?Lg-en():0;if(ce=p2(Y,ce),ce!==null){Fa=d,e.cancelPendingCommit=ce(Xg.bind(null,e,a,d,r,l,c,g,S,A,q,Y,null,V,P)),Ei(e,d,g,!L);return}}Xg(e,a,d,r,l,c,g,S,A)}function NT(e){for(var a=e;;){var r=a.tag;if((r===0||r===11||r===15)&&a.flags&16384&&(r=a.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var c=r[l],d=c.getSnapshot;c=c.value;try{if(!gn(d(),c))return!1}catch{return!1}}if(r=a.child,a.subtreeFlags&16384&&r!==null)r.return=a,a=r;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ei(e,a,r,l){a&=~od,a&=~mr,e.suspendedLanes|=a,e.pingedLanes&=~a,l&&(e.warmLanes|=a),l=e.expirationTimes;for(var c=a;0<c;){var d=31-Qt(c),g=1<<d;l[d]=-1,c&=~g}r!==0&&bo(e,r,a)}function uu(){return(Je&6)===0?(xl(0),!1):!0}function hd(){if(Ue!==null){if(et===0)var e=Ue.return;else e=Ue,La=rr=null,Mf(e),Fr=null,nl=0,e=Ue;for(;e!==null;)gg(e.alternate,e),e=e.return;Ue=null}}function as(e,a){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,IT(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Fa=0,hd(),st=e,Ue=r=Oa(e.current,null),He=a,et=0,Sn=null,Si=!1,es=si(e,a),ld=!1,ts=wn=od=mr=wi=wt=0,mn=vl=null,ud=!1,(a&8)!==0&&(a|=a&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=a;0<l;){var c=31-Qt(l),d=1<<c;a|=e[c],l&=~d}return Ga=a,jo(),r}function Pg(e,a){je=null,H.H=cl,a===Gr||a===Uo?(a=ay(),et=3):a===gf?(a=ay(),et=4):et=a===Yf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Sn=a,Ue===null&&(wt=1,Jo(e,kn(a,e.current)))}function qg(){var e=bn.current;return e===null?!0:(He&4194048)===He?Bn===null:(He&62914560)===He||(He&536870912)!==0?e===Bn:!1}function Kg(){var e=H.H;return H.H=cl,e===null?cl:e}function Zg(){var e=H.A;return H.A=MT,e}function cu(){wt=4,Si||(He&4194048)!==He&&bn.current!==null||(es=!0),(wi&134217727)===0&&(mr&134217727)===0||st===null||Ei(st,He,wn,!1)}function md(e,a,r){var l=Je;Je|=2;var c=Kg(),d=Zg();(st!==e||He!==a)&&(ou=null,as(e,a)),a=!1;var g=wt;e:do try{if(et!==0&&Ue!==null){var S=Ue,A=Sn;switch(et){case 8:hd(),g=6;break e;case 3:case 2:case 9:case 6:bn.current===null&&(a=!0);var L=et;if(et=0,Sn=null,is(e,S,A,L),r&&es){g=0;break e}break;default:L=et,et=0,Sn=null,is(e,S,A,L)}}DT(),g=wt;break}catch(q){Pg(e,q)}while(!0);return a&&e.shellSuspendCounter++,La=rr=null,Je=l,H.H=c,H.A=d,Ue===null&&(st=null,He=0,jo()),g}function DT(){for(;Ue!==null;)Yg(Ue)}function zT(e,a){var r=Je;Je|=2;var l=Kg(),c=Zg();st!==e||He!==a?(ou=null,lu=en()+500,as(e,a)):es=si(e,a);e:do try{if(et!==0&&Ue!==null){a=Ue;var d=Sn;t:switch(et){case 1:et=0,Sn=null,is(e,a,d,1);break;
vendor: 4,125 bytes, line 25
25case 2:case 9:if(ty(d)){et=0,Sn=null,Gg(a);break}a=function(){et!==2&&et!==9||st!==e||(et=7),da(e)},d.then(a,a);break e;case 3:et=7;break e;case 4:et=5;break e;case 7:ty(d)?(et=0,Sn=null,Gg(a)):(et=0,Sn=null,is(e,a,d,7));break;case 5:var g=null;switch(Ue.tag){case 26:g=Ue.memoizedState;case 5:case 27:var S=Ue;if(g?Nv(g):S.stateNode.complete){et=0,Sn=null;var A=S.sibling;if(A!==null)Ue=A;else{var L=S.return;L!==null?(Ue=L,fu(L)):Ue=null}break t}}et=0,Sn=null,is(e,a,d,5);break;case 6:et=0,Sn=null,is(e,a,d,6);break;case 8:hd(),wt=6;break e;default:throw Error(s(462))}}OT();break}catch(q){Pg(e,q)}while(!0);return La=rr=null,H.H=l,H.A=c,Je=r,Ue!==null?0:(st=null,He=0,jo(),wt)}function OT(){for(;Ue!==null&&!Mc();)Yg(Ue)}function Yg(e){var a=pg(e.alternate,e,Ga);e.memoizedProps=e.pendingProps,a===null?fu(e):Ue=a}function Gg(e){var a=e,r=a.alternate;switch(a.tag){case 15:case 0:a=ug(r,a,a.pendingProps,a.type,void 0,He);break;case 11:a=ug(r,a,a.pendingProps,a.type.render,a.ref,He);break;case 5:Mf(a);default:gg(r,a),a=Ue=Zp(a,Ga),a=pg(r,a,Ga)}e.memoizedProps=e.pendingProps,a===null?fu(e):Ue=a}function is(e,a,r,l){La=rr=null,Mf(a),Fr=null,nl=0;var c=a.return;try{if(wT(e,c,a,r,He)){wt=1,Jo(e,kn(r,e.current)),Ue=null;return}}catch(d){if(c!==null)throw Ue=c,d;wt=1,Jo(e,kn(r,e.current)),Ue=null;return}a.flags&32768?(Ke||l===1?e=!0:es||(He&536870912)!==0?e=!1:(Si=e=!0,(l===2||l===9||l===3||l===6)&&(l=bn.current,l!==null&&l.tag===13&&(l.flags|=16384))),Fg(a,e)):fu(a)}function fu(e){var a=e;do{if((a.flags&32768)!==0){Fg(a,Si);return}e=a.return;var r=ET(a.alternate,a,Ga);if(r!==null){Ue=r;return}if(a=a.sibling,a!==null){Ue=a;return}Ue=a=e}while(a!==null);wt===0&&(wt=5)}function Fg(e,a){do{var r=AT(e.alternate,e);if(r!==null){r.flags&=32767,Ue=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!a&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=r}while(e!==null);wt=6,Ue=null}function Xg(e,a,r,l,c,d,g,S,A){e.cancelPendingCommit=null;do du();while(kt!==0);if((Je&6)!==0)throw Error(s(327));if(a!==null){if(a===e.current)throw Error(s(177));if(d=a.lanes|a.childLanes,d|=tf,vo(e,r,d,g,S,A),e===st&&(Ue=st=null,He=0),ns=a,Ci=e,Fa=r,cd=d,fd=c,Vg=l,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,UT(ri,function(){return Wg(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=H.T,H.T=null,c=Q.p,Q.p=2,g=Je,Je|=4;try{_T(e,a,r)}finally{Je=g,Q.p=c,H.T=l}}kt=1,Qg(),$g(),Ig()}}function Qg(){if(kt===1){kt=0;var e=Ci,a=ns,r=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||r){r=H.T,H.T=null;var l=Q.p;Q.p=2;var c=Je;Je|=4;try{Mg(a,e);var d=Ad,g=kp(e.containerInfo),S=d.focusedElem,A=d.selectionRange;if(g!==S&&S&&S.ownerDocument&&Op(S.ownerDocument.documentElement,S)){if(A!==null&&$c(S)){var L=A.start,q=A.end;if(q===void 0&&(q=L),"selectionStart"in S)S.selectionStart=L,S.selectionEnd=Math.min(q,S.value.length);else{var Y=S.ownerDocument||document,V=Y&&Y.defaultView||window;if(V.getSelection){var P=V.getSelection(),ce=S.textContent.length,Se=Math.min(A.start,ce),rt=A.end===void 0?Se:Math.min(A.end,ce);!P.extend&&Se>rt&&(g=rt,rt=Se,Se=g);var D=zp(S,Se),R=zp(S,rt);if(D&&R&&(P.rangeCount!==1||P.anchorNode!==D.node||P.anchorOffset!==D.offset||P.focusNode!==R.node||P.focusOffset!==R.offset)){var k=Y.createRange();k.setStart(D.node,D.offset),P.removeAllRanges(),Se>rt?(P.addRange(k),P.extend(R.node,R.offset)):(k.setEnd(R.node,R.offset),P.addRange(k))}}}}for(Y=[],P=S;P=P.parentNode;)P.nodeType===1&&Y.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Y.length;S++){var Z=Y[S];Z.element.scrollLeft=Z.left,Z.element.scrollTop=Z.top}}Cu=!!Ed,Ad=Ed=null}finally{Je=c,Q.p=l,H.T=r}}e.current=a,kt=2}}function $g(){if(kt===2){kt=0;var e=Ci,a=ns,r=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||r){r=H.T,H.T=null;var l=Q.p;Q.p=2;var c=Je;Je|=4;try{Cg(e,a.alternate,a)}finally{Je=c,Q.p=l,H.T=r}}kt=3}}function Ig(){if(kt===4||kt===3){kt=0,jc();var e=Ci,a=ns,r=Fa,l=Vg;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?kt=5:(kt=0,ns=Ci=null,Jg(e,e.pen
vendor: 9,129 bytes, line 25
25dingLanes));var c=e.pendingLanes;if(c===0&&(Ti=null),O(r),a=a.stateNode,tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(Ea,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=H.T,c=Q.p,Q.p=2,H.T=null;try{for(var d=e.onRecoverableError,g=0;g<l.length;g++){var S=l[g];d(S.value,{componentStack:S.stack})}}finally{H.T=a,Q.p=c}}(Fa&3)!==0&&du(),da(e),c=e.pendingLanes,(r&261930)!==0&&(c&42)!==0?e===dd?bl++:(bl=0,dd=e):bl=0,xl(0)}}function Jg(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,el(a)))}function du(){return Qg(),$g(),Ig(),Wg()}function Wg(){if(kt!==5)return!1;var e=Ci,a=cd;cd=0;var r=O(Fa),l=H.T,c=Q.p;try{Q.p=32>r?32:r,H.T=null,r=fd,fd=null;var d=Ci,g=Fa;if(kt=0,ns=Ci=null,Fa=0,(Je&6)!==0)throw Error(s(331));var S=Je;if(Je|=4,Og(d.current),Ng(d,d.current,g,r),Je=S,xl(0,!1),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(Ea,d)}catch{}return!0}finally{Q.p=c,H.T=l,Jg(e,a)}}function ev(e,a,r){a=kn(r,a),a=Zf(e.stateNode,a,2),e=gi(e,a,2),e!==null&&(oa(e,2),da(e))}function tt(e,a,r){if(e.tag===3)ev(e,e,r);else for(;a!==null;){if(a.tag===3){ev(a,e,r);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ti===null||!Ti.has(l))){e=kn(r,e),r=tg(2),l=gi(a,r,2),l!==null&&(ng(r,l,a,e),oa(l,2),da(l));break}}a=a.return}}function pd(e,a,r){var l=e.pingCache;if(l===null){l=e.pingCache=new jT;var c=new Set;l.set(a,c)}else c=l.get(a),c===void 0&&(c=new Set,l.set(a,c));c.has(r)||(ld=!0,c.add(r),e=kT.bind(null,e,a,r),a.then(e,e))}function kT(e,a,r){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,st===e&&(He&r)===r&&(wt===4||wt===3&&(He&62914560)===He&&300>en()-su?(Je&2)===0&&as(e,0):od|=r,ts===He&&(ts=0)),da(e)}function tv(e,a){a===0&&(a=qs()),e=nr(e,a),e!==null&&(oa(e,a),da(e))}function LT(e){var a=e.memoizedState,r=0;a!==null&&(r=a.retryLane),tv(e,r)}function VT(e,a){var r=0;switch(e.tag){case 31:case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(a),tv(e,r)}function UT(e,a){return Rr(e,a)}var hu=null,rs=null,yd=!1,mu=!1,gd=!1,Ai=0;function da(e){e!==rs&&e.next===null&&(rs===null?hu=rs=e:rs=rs.next=e),mu=!0,yd||(yd=!0,HT())}function xl(e,a){if(!gd&&mu){gd=!0;do for(var r=!1,l=hu;l!==null;){if(e!==0){var c=l.pendingLanes;if(c===0)var d=0;else{var g=l.suspendedLanes,S=l.pingedLanes;d=(1<<31-Qt(42|e)+1)-1,d&=c&~(g&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,rv(l,d))}else d=He,d=Mr(l,l===st?d:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(d&3)===0||si(l,d)||(r=!0,rv(l,d));l=l.next}while(r);gd=!1}}function BT(){nv()}function nv(){mu=yd=!1;var e=0;Ai!==0&&$T()&&(e=Ai);for(var a=en(),r=null,l=hu;l!==null;){var c=l.next,d=av(l,a);d===0?(l.next=null,r===null?hu=c:r.next=c,c===null&&(rs=r)):(r=l,(e!==0||(d&3)!==0)&&(mu=!0)),l=c}kt!==0&&kt!==5||xl(e),Ai!==0&&(Ai=0)}function av(e,a){for(var r=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var g=31-Qt(d),S=1<<g,A=c[g];A===-1?((S&r)===0||(S&l)!==0)&&(c[g]=Oc(S,a)):A<=a&&(e.expiredLanes|=S),d&=~S}if(a=st,r=He,r=Mr(e,e===a?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,r===0||e===a&&(et===2||et===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Hs(l),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||si(e,r)){if(a=r&-r,a===e.callbackPriority)return a;switch(l!==null&&Hs(l),O(r)){case 2:case 8:r=Ps;break;case 32:r=ri;break;case 268435456:r=jn;break;default:r=ri}return l=iv.bind(null,e),r=Rr(r,l),e.callbackPriority=a,e.callbackNode=r,a}return l!==null&&l!==null&&Hs(l),e.callbackPriority=2,e.callbackNode=null,2}function iv(e,a){if(kt!==0&&kt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(du()&&e.callbackNode!==r)return null;var l=He;return l=Mr(e,e===st?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Bg(e,l,a),av(e,en()),e.callbackNode!=null&&e.callbackNode===r?iv.bind(null,e):null)}function rv(e,a){if(du())return null;Bg(e,a,!0)}function HT(){JT(function(){(Je&6)!==0?Rr(ii,BT):nv()})}function vd(){if(Ai===0){var e=Zr;e===0&&(e=$i,$i<<=1,($i&261888)===0&&($i=256)),Ai=e}return Ai}function sv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:wo(""+e)}function lv(e,a){var r=a.ownerDocument.createElement("input");return r.name=a.name,r.value=a.value,e.id&&r.setAttribute("form",e.id),a.parentNode.insertBefore(r,a),e=new FormData(e),r.parentNode.removeChild(r),e}function PT(e,a,r,l,c){if(a==="submit"&&r&&r.stateNode===c){var d=sv((c[re]||null).action),g=l.submitter;g&&(a=(a=g[re]||null)?sv(a.formAction):g.getAttribute("formAction"),a!==null&&(d=a,g=null));var S=new Ao("action","action",null,l,c);e.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ai!==0){var A=g?lv(c,g):new FormData(c);Uf(r,{pending:!0,data:A,method:c.method,action:d},null,A)}}else typeof d=="function"&&(S.preventDefault(),A=g?lv(c,g):new FormData(c),Uf(r,{pending:!0,data:A,method:c.method,action:d},d,A))},currentTarget:c}]})}}for(var bd=0;bd<ef.length;bd++){var xd=ef[bd],qT=xd.toLowerCase(),KT=xd[0].toUpperCase()+xd.slice(1);Jn(qT,"on"+KT)}Jn(Up,"onAnimationEnd"),Jn(Bp,"onAnimationIteration"),Jn(Hp,"onAnimationStart"),Jn("dblclick","onDoubleClick"),Jn("focusin","onFocus"),Jn("focusout","onBlur"),Jn(rT,"onTransitionRun"),Jn(sT,"onTransitionStart"),Jn(lT,"onTransitionCancel"),Jn(Pp,"onTransitionEnd"),Ot("onMouseEnter",["mouseout","mouseover"]),Ot("onMouseLeave",["mouseout","mouseover"]),Ot("onPointerEnter",["pointerout","pointerover"]),Ot("onPointerLeave",["pointerout","pointerover"]),Nn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="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(" "),ZT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function ov(e,a){a=(a&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],c=l.event;l=l.listeners;e:{var d=void 0;if(a)for(var g=l.length-1;0<=g;g--){var S=l[g],A=S.instance,L=S.currentTarget;if(S=S.listener,A!==d&&c.isPropagationStopped())break e;d=S,c.currentTarget=L;try{d(c)}catch(q){Mo(q)}c.currentTarget=null,d=A}else for(g=0;g<l.length;g++){if(S=l[g],A=S.instance,L=S.currentTarget,S=S.listener,A!==d&&c.isPropagationStopped())break e;d=S,c.currentTarget=L;try{d(c)}catch(q){Mo(q)}c.currentTarget=null,d=A}}}}function Be(e,a){var r=a[ye];r===void 0&&(r=a[ye]=new Set);var l=e+"__bubble";r.has(l)||(uv(a,e,2,!1),r.add(l))}function Sd(e,a,r){var l=0;a&&(l|=4),uv(r,e,l,a)}var pu="_reactListening"+Math.random().toString(36).slice(2);function wd(e){if(!e[pu]){e[pu]=!0,In.forEach(function(r){r!=="selectionchange"&&(ZT.has(r)||Sd(r,!1,e),Sd(r,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[pu]||(a[pu]=!0,Sd("selectionchange",!1,a))}}function uv(e,a,r,l){switch(Uv(a)){case 2:var c=v2;break;case 8:c=b2;break;default:c=Vd}r=c.bind(null,a,r,e),c=void 0,!Pc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(c=!0),l?c!==void 0?e.addEventListener(a,r,{capture:!0,passive:c}):e.addEventListener(a,r,!0):c!==void 0?e.addEventListener(a,r,{passive:c}):e.addEventListener(a,r,!1)}function Td(e,a,r,l,c){var d=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var g=l.tag;if(g===3||g===4){var S=l.stateNode.containerInfo;if(S===c)break;if(g===4)for(g=l.return;g!==null;){var A=g.tag;if((A===3||A===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;S!==null;){if(g=ct(S),g===null)return;if(A=g.tag,A===5||A===6||A===26||A===27){l=d=g;continue e}S=S.parentNode}}l=l.return}mp(function(){var L=d,q=Bc(r),Y=[];e:{var V=qp.get(e);if(V!==void 0){var P=Ao,ce=e;switch(e){case"keypress":if(Co(r)===0)break e;case"keydown":case"keyup":P=Vw;break;case"focusin":ce="focus",P=Yc;break;case"focusout":ce="blur",P=Yc;break;case"beforeblur":case"afterblur":P=Yc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":P=gp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":P=Ew;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":P=Hw;break;case Up:case Bp:case Hp:P=Rw;break;
vendor: 1,701 bytes, line 25
25case Pp:P=qw;break;case"scroll":case"scrollend":P=Tw;break;case"wheel":P=Zw;break;case"copy":case"cut":case"paste":P=jw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":P=bp;break;case"toggle":case"beforetoggle":P=Gw}var Se=(a&4)!==0,rt=!Se&&(e==="scroll"||e==="scrollend"),D=Se?V!==null?V+"Capture":null:V;Se=[];for(var R=L,k;R!==null;){var Z=R;if(k=Z.stateNode,Z=Z.tag,Z!==5&&Z!==26&&Z!==27||k===null||D===null||(Z=Ks(R,D),Z!=null&&Se.push(wl(R,Z,k))),rt)break;R=R.return}0<Se.length&&(V=new P(V,ce,null,r,q),Y.push({event:V,listeners:Se}))}}if((a&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",P=e==="mouseout"||e==="pointerout",V&&r!==Uc&&(ce=r.relatedTarget||r.fromElement)&&(ct(ce)||ce[ae]))break e;if((P||V)&&(V=q.window===q?q:(V=q.ownerDocument)?V.defaultView||V.parentWindow:window,P?(ce=r.relatedTarget||r.toElement,P=L,ce=ce?ct(ce):null,ce!==null&&(rt=u(ce),Se=ce.tag,ce!==rt||Se!==5&&Se!==27&&Se!==6)&&(ce=null)):(P=null,ce=L),P!==ce)){if(Se=gp,Z="onMouseLeave",D="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(Se=bp,Z="onPointerLeave",D="onPointerEnter",R="pointer"),rt=P==null?V:nn(P),k=ce==null?V:nn(ce),V=new Se(Z,R+"leave",P,r,q),V.target=rt,V.relatedTarget=k,Z=null,ct(q)===L&&(Se=new Se(D,R+"enter",ce,r,q),Se.target=k,Se.relatedTarget=rt,Z=Se),rt=Z,P&&ce)t:{for(Se=YT,D=P,R=ce,k=0,Z=D;Z;Z=Se(Z))k++;Z=0;for(var ge=R;ge;ge=Se(ge))Z++;for(;0<k-Z;)D=Se(D),k--;for(;0<Z-k;)R=Se(R),Z--;for(;k--;){if(D===R||R!==null&&D===R.alternate){Se=D;break t}D=Se(D),R=Se(R)}Se=null}else Se=null;P!==null&&cv(Y,V,P,Se,!1),ce!==null&&rt!==null&&cv(Y,rt,ce,Se,!0)}}
vendor: 5,189 bytes, lines 25-26
25e:{if(V=L?nn(L):window,P=V.nodeName&&V.nodeName.toLowerCase(),P==="select"||P==="input"&&V.type==="file")var Ge=_p;else if(Ep(V))if(Rp)Ge=nT;else{Ge=eT;var he=Ww}else P=V.nodeName,!P||P.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?L&&Vc(L.elementType)&&(Ge=_p):Ge=tT;if(Ge&&(Ge=Ge(e,L))){Ap(Y,Ge,r,q);break e}he&&he(e,V,L),e==="focusout"&&L&&V.type==="number"&&L.memoizedProps.value!=null&&Lc(V,"number",V.value)}switch(he=L?nn(L):window,e){case"focusin":(Ep(he)||he.contentEditable==="true")&&(Lr=he,Ic=L,Is=null);break;case"focusout":Is=Ic=Lr=null;break;case"mousedown":Jc=!0;break;case"contextmenu":case"mouseup":case"dragend":Jc=!1,Lp(Y,r,q);break;case"selectionchange":if(iT)break;case"keydown":case"keyup":Lp(Y,r,q)}var De;if(Fc)e:{switch(e){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else kr?Tp(e,r)&&(Pe="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Pe="onCompositionStart");Pe&&(xp&&r.locale!=="ko"&&(kr||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&kr&&(De=pp()):(ci=q,qc="value"in ci?ci.value:ci.textContent,kr=!0)),he=yu(L,Pe),0<he.length&&(Pe=new vp(Pe,e,null,r,q),Y.push({event:Pe,listeners:he}),De?Pe.data=De:(De=Cp(r),De!==null&&(Pe.data=De)))),(De=Xw?Qw(e,r):$w(e,r))&&(Pe=yu(L,"onBeforeInput"),0<Pe.length&&(he=new vp("onBeforeInput","beforeinput",null,r,q),Y.push({event:he,listeners:Pe}),he.data=De)),PT(Y,e,L,r,q)}ov(Y,a)})}function wl(e,a,r){return{instance:e,listener:a,currentTarget:r}}function yu(e,a){for(var r=a+"Capture",l=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Ks(e,r),c!=null&&l.unshift(wl(e,c,d)),c=Ks(e,a),c!=null&&l.push(wl(e,c,d))),e.tag===3)return l;e=e.return}return[]}function YT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function cv(e,a,r,l,c){for(var d=a._reactName,g=[];r!==null&&r!==l;){var S=r,A=S.alternate,L=S.stateNode;if(S=S.tag,A!==null&&A===l)break;S!==5&&S!==26&&S!==27||L===null||(A=L,c?(L=Ks(r,d),L!=null&&g.unshift(wl(r,L,A))):c||(L=Ks(r,d),L!=null&&g.push(wl(r,L,A)))),r=r.return}g.length!==0&&e.push({event:a,listeners:g})}var GT=/\r\n?/g,FT=/\u0000|\uFFFD/g;function fv(e){return(typeof e=="string"?e:""+e).replace(GT,`
26`).replace(FT,"")}function dv(e,a){return a=fv(a),fv(e)===a}function it(e,a,r,l,c,d){switch(r){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||Dr(e,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&Dr(e,""+l);break;case"className":Na(e,"class",l);break;case"tabIndex":Na(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Na(e,r,l);break;case"style":dp(e,l,d);break;case"data":if(a!=="object"){Na(e,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||r!=="href")){e.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=wo(""+l),e.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(r==="formAction"?(a!=="input"&&it(e,a,"name",c.name,c,null),it(e,a,"formEncType",c.formEncType,c,null),it(e,a,"formMethod",c.formMethod,c,null),it(e,a,"formTarget",c.formTarget,c,null)):(it(e,a,"encType",c.encType,c,null),it(e,a,"method",c.method,c,null),it(e,a,"target",c.target,c,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=wo(""+l),e.setAttribute(r,l);break;case"onClick":l!=null&&(e.onclick=Da);break;case"onScroll":l!=null&&Be("scroll",e);break;case"onScrollEnd":l!=null&&Be("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(c.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}r=wo(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);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"?e.setAttribute(r,""+l):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
26ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":l===!0?e.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,l):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(r,l):e.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(r):e.setAttribute(r,l);break;case"popover":Be("beforetoggle",e),Be("toggle",e),ja(e,"popover",l);break;case"xlinkActuate":Ee(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ee(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ee(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ee(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ee(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ee(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ee(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ee(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ee(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ja(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=Sw.get(r)||r,ja(e,r,l))}}function Cd(e,a,r,l,c,d){switch(r){case"style":dp(e,l,d);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(c.children!=null)throw Error(s(60));e.innerHTML=r}}break;case"children":typeof l=="string"?Dr(e,l):(typeof l=="number"||typeof l=="bigint")&&Dr(e,""+l);break;case"onScroll":l!=null&&Be("scroll",e);break;case"onScrollEnd":l!=null&&Be("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Da);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!_a.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),a=r.slice(2,c?r.length-7:void 0),d=e[re]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(a,d,c),typeof l=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(a,l,c);break e}r in e?e[r]=l:l===!0?e.setAttribute(r,""):ja(e,r,l)}}}function Yt(e,a,r){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Be("error",e),Be("load",e);var l=!1,c=!1,d;for(d in r)if(r.hasOwnProperty(d)){var g=r[d];if(g!=null)switch(d){case"src":l=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:it(e,a,d,g,r,null)}}c&&it(e,a,"srcSet",r.srcSet,r,null),l&&it(e,a,"src",r.src,r,null);return;case"input":Be("invalid",e);var S=d=g=c=null,A=null,L=null;for(l in r)if(r.hasOwnProperty(l)){var q=r[l];if(q!=null)switch(l){case"name":c=q;break;case"type":g=q;break;case"checked":A=q;break;case"defaultChecked":L=q;break;case"value":d=q;break;case"defaultValue":S=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(s(137,a));break;default:it(e,a,l,q,r,null)}}op(e,d,S,A,L,g,c,!1);return;case"select":Be("invalid",e),l=g=d=null;for(c in r)if(r.hasOwnProperty(c)&&(S=r[c],S!=null))switch(c){case"value":d=S;break;case"defaultValue":g=S;break;case"multiple":l=S;default:it(e,a,c,S,r,null)}a=d,r=g,e.multiple=!!l,a!=null?Nr(e,!!l,a,!1):r!=null&&Nr(e,!!l,r,!0);return;case"textarea":Be("invalid",e),d=c=l=null;for(g in r)if(r.hasOwnProperty(g)&&(S=r[g],S!=null))switch(g){case"value":l=S;break;case"defaultValue":c=S;break;case"children":d=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(91));break;default:it(e,a,g,S,r,null)}cp(e,l,c,d);return;case"option":for(A in r)if(r.hasOwnProperty(A)&&(l=r[A],l!=null))switch(A){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:it(e,a,A,l,r,null)}return;case"dialog":Be("beforetoggle",e),Be("toggle",e),Be("cancel",e),Be("close",e);break;case"iframe":case"object":Be("load",e);break;case"video":case"audio":for(l=0;l<Sl.length;l++)Be(Sl[l],e);break;case"image":Be("error",e),Be("load",e);break;case"details":Be("toggle",e);break;
vendor: 6,424 bytes, line 26
26case"embed":case"source":case"link":Be("error",e),Be("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in r)if(r.hasOwnProperty(L)&&(l=r[L],l!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,a));default:it(e,a,L,l,r,null)}return;default:if(Vc(a)){for(q in r)r.hasOwnProperty(q)&&(l=r[q],l!==void 0&&Cd(e,a,q,l,r,void 0));return}}for(S in r)r.hasOwnProperty(S)&&(l=r[S],l!=null&&it(e,a,S,l,r,null))}function XT(e,a,r,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,g=null,S=null,A=null,L=null,q=null;for(P in r){var Y=r[P];if(r.hasOwnProperty(P)&&Y!=null)switch(P){case"checked":break;case"value":break;case"defaultValue":A=Y;default:l.hasOwnProperty(P)||it(e,a,P,null,l,Y)}}for(var V in l){var P=l[V];if(Y=r[V],l.hasOwnProperty(V)&&(P!=null||Y!=null))switch(V){case"type":d=P;break;case"name":c=P;break;case"checked":L=P;break;case"defaultChecked":q=P;break;case"value":g=P;break;case"defaultValue":S=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(s(137,a));break;default:P!==Y&&it(e,a,V,P,l,Y)}}kc(e,g,S,A,L,q,d,c);return;case"select":P=g=S=V=null;for(d in r)if(A=r[d],r.hasOwnProperty(d)&&A!=null)switch(d){case"value":break;case"multiple":P=A;default:l.hasOwnProperty(d)||it(e,a,d,null,l,A)}for(c in l)if(d=l[c],A=r[c],l.hasOwnProperty(c)&&(d!=null||A!=null))switch(c){case"value":V=d;break;case"defaultValue":S=d;break;case"multiple":g=d;default:d!==A&&it(e,a,c,d,l,A)}a=S,r=g,l=P,V!=null?Nr(e,!!r,V,!1):!!l!=!!r&&(a!=null?Nr(e,!!r,a,!0):Nr(e,!!r,r?[]:"",!1));return;case"textarea":P=V=null;for(S in r)if(c=r[S],r.hasOwnProperty(S)&&c!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:it(e,a,S,null,l,c)}for(g in l)if(c=l[g],d=r[g],l.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":V=c;break;case"defaultValue":P=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:c!==d&&it(e,a,g,c,l,d)}up(e,V,P);return;case"option":for(var ce in r)if(V=r[ce],r.hasOwnProperty(ce)&&V!=null&&!l.hasOwnProperty(ce))switch(ce){case"selected":e.selected=!1;break;default:it(e,a,ce,null,l,V)}for(A in l)if(V=l[A],P=r[A],l.hasOwnProperty(A)&&V!==P&&(V!=null||P!=null))switch(A){case"selected":e.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:it(e,a,A,V,l,P)}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 Se in r)V=r[Se],r.hasOwnProperty(Se)&&V!=null&&!l.hasOwnProperty(Se)&&it(e,a,Se,null,l,V);for(L in l)if(V=l[L],P=r[L],l.hasOwnProperty(L)&&V!==P&&(V!=null||P!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(s(137,a));break;default:it(e,a,L,V,l,P)}return;default:if(Vc(a)){for(var rt in r)V=r[rt],r.hasOwnProperty(rt)&&V!==void 0&&!l.hasOwnProperty(rt)&&Cd(e,a,rt,void 0,l,V);for(q in l)V=l[q],P=r[q],!l.hasOwnProperty(q)||V===P||V===void 0&&P===void 0||Cd(e,a,q,V,l,P);return}}for(var D in r)V=r[D],r.hasOwnProperty(D)&&V!=null&&!l.hasOwnProperty(D)&&it(e,a,D,null,l,V);for(Y in l)V=l[Y],P=r[Y],!l.hasOwnProperty(Y)||V===P||V==null&&P==null||it(e,a,Y,V,l,P)}function hv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function QT(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var c=r[l],d=c.transferSize,g=c.initiatorType,S=c.duration;if(d&&S&&hv(g)){for(g=0,S=c.responseEnd,l+=1;l<r.length;l++){var A=r[l],L=A.startTime;if(L>S)break;var q=A.transferSize,Y=A.initiatorType;q&&hv(Y)&&(A=A.responseEnd,g+=q*(A<S?1:(S-L)/(A-L)))}if(--l,a+=8*(d+g)/(c.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ed=null,Ad=null;function gu(e){return e.nodeType===9?e:e.ownerDocument}function mv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function pv(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function _d(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Rd=null;function $T(){var e=window.event;return e&&e.type==="popstate"?e===Rd?!1:(Rd=e,!0):(Rd=null,!1)}var yv=typeof setTimeout=="function"?setTimeout:void 0,IT=typeof clearTimeout=="function"?clearTimeout:void 0,gv=typeof Promise=="function"?Promise:void 0,JT=typeof queueMicrotask=="function"?queueMicrotask:typeof gv<"u"?function(e){return gv.resolve(null).then(e).catch(WT)}:yv;function WT(e){setTimeout(function(){throw e})}function _i(e){return e==="head"}function vv(e,a){var r=a,l=0;do{var c=r.nextSibling;if(e.removeChild(r),c&&c.nodeType===8)if(r=c.data,r==="/$"||r==="/&"){if(l===0){e.removeChild(c),us(a);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")Tl(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Tl(r);for(var d=r.firstChild;d;){var g=d.nextSibling,S=d.nodeName;d[Qe]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&d.rel.toLowerCase()==="stylesheet"||r.removeChild(d),d=g}}else r==="body"&&Tl(e.ownerDocument.body);r=c}while(r);us(a)}function bv(e,a){var r=e;e=0;do{var l=r.nextSibling;if(r.nodeType===1?a?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(a?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=l}while(r)}function Md(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var r=a;switch(a=a.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Md(r),Ye(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function e2(e,a,r,l){for(;
vendor: 12,241 bytes, line 26
26e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Qe])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=Hn(e.nextSibling),e===null)break}return null}function t2(e,a,r){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=Hn(e.nextSibling),e===null))return null;return e}function xv(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Hn(e.nextSibling),e===null))return null;return e}function jd(e){return e.data==="$?"||e.data==="$~"}function Nd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function n2(e,a){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||r.readyState!=="loading")a();else{var l=function(){a(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Hn(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var Dd=null;function Sv(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(a===0)return Hn(e.nextSibling);a--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||a++}e=e.nextSibling}return null}function wv(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(a===0)return e;a--}else r!=="/$"&&r!=="/&"||a++}e=e.previousSibling}return null}function Tv(e,a,r){switch(a=gu(r),e){case"html":if(e=a.documentElement,!e)throw Error(s(452));return e;case"head":if(e=a.head,!e)throw Error(s(453));return e;case"body":if(e=a.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function Tl(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Ye(e)}var Pn=new Map,Cv=new Set;function vu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Xa=Q.d;Q.d={f:a2,r:i2,D:r2,C:s2,L:l2,m:o2,X:c2,S:u2,M:f2};function a2(){var e=Xa.f(),a=uu();return e||a}function i2(e){var a=Me(e);a!==null&&a.tag===5&&a.type==="form"?Py(a):Xa.r(e)}var ss=typeof document>"u"?null:document;function Ev(e,a,r){var l=ss;if(l&&typeof a=="string"&&a){var c=un(a);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),Cv.has(c)||(Cv.add(c),e={rel:e,crossOrigin:r,href:a},l.querySelector(c)===null&&(a=l.createElement("link"),Yt(a,"link",e),$e(a),l.head.appendChild(a)))}}function r2(e){Xa.D(e),Ev("dns-prefetch",e,null)}function s2(e,a){Xa.C(e,a),Ev("preconnect",e,a)}function l2(e,a,r){Xa.L(e,a,r);var l=ss;if(l&&e&&a){var c='link[rel="preload"][as="'+un(a)+'"]';a==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+un(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+un(r.imageSizes)+'"]')):c+='[href="'+un(e)+'"]';var d=c;switch(a){case"style":d=ls(e);break;case"script":d=os(e)}Pn.has(d)||(e=v({rel:"preload",href:a==="image"&&r&&r.imageSrcSet?void 0:e,as:a},r),Pn.set(d,e),l.querySelector(c)!==null||a==="style"&&l.querySelector(Cl(d))||a==="script"&&l.querySelector(El(d))||(a=l.createElement("link"),Yt(a,"link",e),$e(a),l.head.appendChild(a)))}}function o2(e,a){Xa.m(e,a);var r=ss;if(r&&e){var l=a&&typeof a.as=="string"?a.as:"script",c='link[rel="modulepreload"][as="'+un(l)+'"][href="'+un(e)+'"]',d=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=os(e)}if(!Pn.has(d)&&(e=v({rel:"modulepreload",href:e},a),Pn.set(d,e),r.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(El(d)))return}l=r.createElement("link"),Yt(l,"link",e),$e(l),r.head.appendChild(l)}}}function u2(e,a,r){Xa.S(e,a,r);var l=ss;if(l&&e){var c=xt(l).hoistableStyles,d=ls(e);a=a||"default";var g=c.get(d);if(!g){var S={loading:0,preload:null};if(g=l.querySelector(Cl(d)))S.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":a},r),(r=Pn.get(d))&&zd(e,r);var A=g=l.createElement("link");$e(A),Yt(A,"link",e),A._p=new Promise(function(L,q){A.onload=L,A.onerror=q}),A.addEventListener("load",function(){S.loading|=1}),A.addEventListener("error",function(){S.loading|=2}),S.loading|=4,bu(g,a,l)}g={type:"stylesheet",instance:g,count:1,state:S},c.set(d,g)}}}function c2(e,a){Xa.X(e,a);var r=ss;if(r&&e){var l=xt(r).hoistableScripts,c=os(e),d=l.get(c);d||(d=r.querySelector(El(c)),d||(e=v({src:e,async:!0},a),(a=Pn.get(c))&&Od(e,a),d=r.createElement("script"),$e(d),Yt(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(c,d))}}function f2(e,a){Xa.M(e,a);var r=ss;if(r&&e){var l=xt(r).hoistableScripts,c=os(e),d=l.get(c);d||(d=r.querySelector(El(c)),d||(e=v({src:e,async:!0,type:"module"},a),(a=Pn.get(c))&&Od(e,a),d=r.createElement("script"),$e(d),Yt(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(c,d))}}function Av(e,a,r,l){var c=(c=ut.current)?vu(c):null;if(!c)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(a=ls(r.href),r=xt(c).hoistableStyles,l=r.get(a),l||(l={type:"style",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=ls(r.href);var d=xt(c).hoistableStyles,g=d.get(e);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,g),(d=c.querySelector(Cl(e)))&&!d._p&&(g.instance=d,g.state.loading=5),Pn.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Pn.set(e,r),d||d2(c,e,r,g.state))),a&&l===null)throw Error(s(528,""));return g}if(a&&l!==null)throw Error(s(529,""));return null;case"script":return a=r.async,r=r.src,typeof r=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=os(r),r=xt(c).hoistableScripts,l=r.get(a),l||(l={type:"script",instance:null,count:0,state:null},r.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function ls(e){return'href="'+un(e)+'"'}function Cl(e){return'link[rel="stylesheet"]['+e+"]"}function _v(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function d2(e,a,r,l){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=e.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),Yt(a,"link",r),$e(a),e.head.appendChild(a))}function os(e){return'[src="'+un(e)+'"]'}function El(e){return"script[async]"+e}function Rv(e,a,r){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+un(r.href)+'"]');if(l)return a.instance=l,$e(l),l;var c=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),$e(l),Yt(l,"style",c),bu(l,r.precedence,e),a.instance=l;case"stylesheet":c=ls(r.href);var d=e.querySelector(Cl(c));if(d)return a.state.loading|=4,a.instance=d,$e(d),d;l=_v(r),(c=Pn.get(c))&&zd(l,c),d=(e.ownerDocument||e).createElement("link"),$e(d);var g=d;return g._p=new Promise(function(S,A){g.onload=S,g.onerror=A}),Yt(d,"link",l),a.state.loading|=4,bu(d,r.precedence,e),a.instance=d;case"script":return d=os(r.src),(c=e.querySelector(El(d)))?(a.instance=c,$e(c),c):(l=r,(c=Pn.get(d))&&(l=v({},r),Od(l,c)),e=e.ownerDocument||e,c=e.createElement("script"),$e(c),Yt(c,"link",l),e.head.appendChild(c),a.instance=c);case"void":return null;default:throw Error(s(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,bu(l,r.precedence,e));return a.instance}function bu(e,a,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,d=c,g=0;g<l.length;g++){var S=l[g];if(S.dataset.precedence===a)d=S;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(a=r.nodeType===9?r.head:r,a.insertBefore(e,a.firstChild))}function zd(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Od(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var xu=null;function Mv(e,a,r){if(xu===null){var l=new Map,c=xu=new Map;c.set(r,l)}else c=xu,l=c.get(r),l||(l=new Map,c.set(r,l));if(l.has(e))return l;for(l.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var d=r[c];if(!(d[Qe]||d[ie]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(a)||"";g=e+g;var S=l.get(g);S?S.push(d):l.set(g,[d])}}return l}function jv(e,a,r){e=e.ownerDocument||e,e.head.insertBefore(r,a==="title"?e.querySelector("head > title"):null)}function h2(e,a,r){if(r===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Nv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function m2(e,a,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var c=ls(l.href),d=a.querySelector(Cl(c));if(d){a=d._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Su.bind(e),a.then(e,e)),r.state.loading|=4,r.instance=d,$e(d);return}d=a.ownerDocument||a,l=_v(l),(c=Pn.get(c))&&zd(l,c),d=d.createElement("link"),$e(d);var g=d;g._p=new Promise(function(S,A){g.onload=S,g.onerror=A}),Yt(d,"link",l),r.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,a),(a=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=Su.bind(e),a.addEventListener("load",r),a.addEventListener("error",r))}}var kd=0;function p2(e,a){return e.stylesheets&&e.count===0&&Tu(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var l=setTimeout(function(){if(e.stylesheets&&Tu(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+a);0<e.imgBytes&&kd===0&&(kd=62500*QT());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Tu(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>kd?50:800)+a);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(c)}}:null}function Su(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var wu=null;
vendor: 11,000 bytes, line 26
26function Tu(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,wu=new Map,a.forEach(y2,e),wu=null,Su.call(e))}function y2(e,a){if(!(a.state.loading&4)){var r=wu.get(e);if(r)var l=r.get(null);else{r=new Map,wu.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(r.set(g.dataset.precedence,g),l=g)}l&&r.set(null,l)}c=a.instance,g=c.getAttribute("data-precedence"),d=r.get(g)||l,d===l&&r.set(null,c),r.set(g,c),this.count++,l=Su.bind(this),c.addEventListener("load",l),c.addEventListener("error",l),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),a.state.loading|=4}}var Al={$$typeof:B,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function g2(e,a,r,l,c,d,g,S,A){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=li(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=li(0),this.hiddenUpdates=li(null),this.identifierPrefix=l,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Dv(e,a,r,l,c,d,g,S,A,L,q,Y){return e=new g2(e,a,r,g,A,L,q,Y,S),a=1,d===!0&&(a|=24),d=vn(3,null,null,a),e.current=d,d.stateNode=e,a=mf(),a.refCount++,e.pooledCache=a,a.refCount++,d.memoizedState={element:l,isDehydrated:r,cache:a},vf(d),e}function zv(e){return e?(e=Br,e):Br}function Ov(e,a,r,l,c,d){c=zv(c),l.context===null?l.context=c:l.pendingContext=c,l=yi(a),l.payload={element:r},d=d===void 0?null:d,d!==null&&(l.callback=d),r=gi(e,l,a),r!==null&&(pn(r,e,a),il(r,e,a))}function kv(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<a?r:a}}function Ld(e,a){kv(e,a),(e=e.alternate)&&kv(e,a)}function Lv(e){if(e.tag===13||e.tag===31){var a=nr(e,67108864);a!==null&&pn(a,e,67108864),Ld(e,67108864)}}function Vv(e){if(e.tag===13||e.tag===31){var a=Tn();a=j(a);var r=nr(e,a);r!==null&&pn(r,e,a),Ld(e,a)}}var Cu=!0;function v2(e,a,r,l){var c=H.T;H.T=null;var d=Q.p;try{Q.p=2,Vd(e,a,r,l)}finally{Q.p=d,H.T=c}}function b2(e,a,r,l){var c=H.T;H.T=null;var d=Q.p;try{Q.p=8,Vd(e,a,r,l)}finally{Q.p=d,H.T=c}}function Vd(e,a,r,l){if(Cu){var c=Ud(l);if(c===null)Td(e,a,l,Eu,r),Bv(e,l);else if(S2(c,e,a,r,l))l.stopPropagation();else if(Bv(e,l),a&4&&-1<x2.indexOf(e)){for(;c!==null;){var d=Me(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=$n(d.pendingLanes);if(g!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;g;){var A=1<<31-Qt(g);S.entanglements[1]|=A,g&=~A}da(d),(Je&6)===0&&(lu=en()+500,xl(0))}}break;case 31:case 13:S=nr(d,2),S!==null&&pn(S,d,2),uu(),Ld(d,2)}if(d=Ud(l),d===null&&Td(e,a,l,Eu,r),d===c)break;c=d}c!==null&&l.stopPropagation()}else Td(e,a,l,null,r)}}function Ud(e){return e=Bc(e),Bd(e)}var Eu=null;function Bd(e){if(Eu=null,e=ct(e),e!==null){var a=u(e);if(a===null)e=null;else{var r=a.tag;if(r===13){if(e=f(a),e!==null)return e;e=null}else if(r===31){if(e=h(a),e!==null)return e;e=null}else if(r===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return Eu=e,null}function Uv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ca()){case ii:return 2;case Ps:return 8;case ri:case Qn:return 32;case jn:return 268435456;default:return 32}default:return 32}}var Hd=!1,Ri=null,Mi=null,ji=null,_l=new Map,Rl=new Map,Ni=[],x2="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 Bv(e,a){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Mi=null;break;case"mouseover":case"mouseout":ji=null;break;case"pointerover":case"pointerout":_l.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rl.delete(a.pointerId)}}function Ml(e,a,r,l,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:a,domEventName:r,eventSystemFlags:l,nativeEvent:d,targetContainers:[c]},a!==null&&(a=Me(a),a!==null&&Lv(a)),e):(e.eventSystemFlags|=l,a=e.targetContainers,c!==null&&a.indexOf(c)===-1&&a.push(c),e)}function S2(e,a,r,l,c){switch(a){case"focusin":return Ri=Ml(Ri,e,a,r,l,c),!0;case"dragenter":return Mi=Ml(Mi,e,a,r,l,c),!0;case"mouseover":return ji=Ml(ji,e,a,r,l,c),!0;case"pointerover":var d=c.pointerId;return _l.set(d,Ml(_l.get(d)||null,e,a,r,l,c)),!0;case"gotpointercapture":return d=c.pointerId,Rl.set(d,Ml(Rl.get(d)||null,e,a,r,l,c)),!0}return!1}function Hv(e){var a=ct(e.target);if(a!==null){var r=u(a);if(r!==null){if(a=r.tag,a===13){if(a=f(r),a!==null){e.blockedOn=a,$(e.priority,function(){Vv(r)});return}}else if(a===31){if(a=h(r),a!==null){e.blockedOn=a,$(e.priority,function(){Vv(r)});return}}else if(a===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Au(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var r=Ud(e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);Uc=l,r.target.dispatchEvent(l),Uc=null}else return a=Me(r),a!==null&&Lv(a),e.blockedOn=r,!1;a.shift()}return!0}function Pv(e,a,r){Au(e)&&r.delete(a)}function w2(){Hd=!1,Ri!==null&&Au(Ri)&&(Ri=null),Mi!==null&&Au(Mi)&&(Mi=null),ji!==null&&Au(ji)&&(ji=null),_l.forEach(Pv),Rl.forEach(Pv)}function _u(e,a){e.blockedOn===a&&(e.blockedOn=null,Hd||(Hd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,w2)))}var Ru=null;function qv(e){Ru!==e&&(Ru=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Ru===e&&(Ru=null);for(var a=0;a<e.length;a+=3){var r=e[a],l=e[a+1],c=e[a+2];if(typeof l!="function"){if(Bd(l||r)===null)continue;break}var d=Me(r);d!==null&&(e.splice(a,3),a-=3,Uf(d,{pending:!0,data:c,method:r.method,action:l},l,c))}}))}function us(e){function a(A){return _u(A,e)}Ri!==null&&_u(Ri,e),Mi!==null&&_u(Mi,e),ji!==null&&_u(ji,e),_l.forEach(a),Rl.forEach(a);for(var r=0;r<Ni.length;r++){var l=Ni[r];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Ni.length&&(r=Ni[0],r.blockedOn===null);)Hv(r),r.blockedOn===null&&Ni.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var c=r[l],d=r[l+1],g=c[re]||null;if(typeof d=="function")g||qv(r);else if(g){var S=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[re]||null)S=g.formAction;else if(Bd(c)!==null)continue}else S=g.action;typeof S=="function"?r[l+1]=S:(r.splice(l,3),l-=3),qv(r)}}}function Kv(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(g){return c=g})},focusReset:"manual",scroll:"manual"})}function a(){c!==null&&(c(),c=null),l||setTimeout(r,20)}function r(){if(!l&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(r,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),c!==null&&(c(),c=null)}}}function Pd(e){this._internalRoot=e}Mu.prototype.render=Pd.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(s(409));var r=a.current,l=Tn();Ov(r,l,e,a,null,null)},Mu.prototype.unmount=Pd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;Ov(e.current,2,null,e,null,null),uu(),a[ae]=null}};function Mu(e){this._internalRoot=e}Mu.prototype.unstable_scheduleHydration=function(e){if(e){var a=F();e={blockedOn:null,target:e,priority:a};for(var r=0;r<Ni.length&&a!==0&&a<Ni[r].priority;r++);Ni.splice(r,0,e),r===0&&Hv(e)}};var Zv=n.version;if(Zv!=="19.2.8")throw Error(s(527,Zv,"19.2.8"));Q.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=p(a),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var T2={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ju.isDisabled&&ju.supportsFiber)try{Ea=ju.inject(T2),tn=ju}catch{}}return jl.createRoot=function(e,a){if(!o(e))throw Error(s(299));var r=!1,l="",c=Iy,d=Jy,g=Wy;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError)),a=Dv(e,1,!1,null,null,r,l,null,c,d,g,Kv),e[ae]=a.current,wd(e),new Pd(a)},jl.hydrateRoot=function(e,a,r){if(!o(e))throw Error(s(299));var l=!1,c="",d=Iy,g=Jy,S=Wy,A=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError),r.formState!==void 0&&(A=r.formState)),a=Dv(e,1,!0,a,r??null,l,c,A,d,g,S,Kv),a.context=zv(null),r=a.current,l=Tn(),l=j(l),c=yi(l),c.c
26allback=null,gi(r,c,l),r=l,a.current.lanes=r,oa(a,r),da(a),e[ae]=a.current,wd(e),new Mu(a)},jl.version="19.2.8",jl}var $v;function B2(){if($v)return qd.exports;$v=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),qd.exports=U2(),qd.exports}var Iv=B2();let Ft=(function(t){return t.CHARSET="charset",t.CSS_TEXT="cssText",t.HREF="href",t.HTTPEQUIV="http-equiv",t.INNER_HTML="innerHTML",t.ITEM_PROP="itemprop",t.NAME="name",t.PROPERTY="property",t.REL="rel",t.SRC="src",t.TARGET="target",t})({}),lt=(function(t){return t.BASE="base",t.BODY="body",t.FRAGMENT="Symbol(react.fragment)",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t})({});const Yd={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"]}},Jv=Object.values(lt),cm={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Ql=(()=>{const t={};for(const[n,i]of Object.entries(cm))t[i]=n;return t})(),ti="data-rh",H2=!!(typeof window<"u"&&window.document.createElement);function bs(t,n){for(let i=t.length-1;i>=0;--i){const s=t[i][1][n];if(s!==void 0)return s}}function P2(t){let n=bs(t,lt.TITLE);const i=bs(t,"titleTemplate");if(Array.isArray(n)&&(n=n.join("")),i&&n)return i.replace(/%s/g,()=>n);const s=bs(t,"defaultTitle");return(n||s)??void 0}function Gd(t,n){const i={};for(const s of n){const o=s[1][t];o&&Object.assign(i,o)}return i}function q2(t){for(let n=t.length-1;n>=0;--n){const i=t[n][1].base;if(i!=null&&i.href||i!=null&&i.target)return i}}function K2(t,n){let i;for(const s of Object.keys(t)){const o=s;n.includes(o)&&!(i===Ft.REL&&t[i].toLowerCase()==="canonical")&&!(o===Ft.REL&&t[o].toLowerCase()==="stylesheet")&&(i=o),n.includes(o)&&(o===Ft.INNER_HTML||o===Ft.CSS_TEXT||o===Ft.ITEM_PROP)&&(i=o)}return i??null}function Nl(t,n,i){const s={};return i.map(([,o])=>o).filter(o=>Array.isArray(o[t])?!0:(typeof o[t]<"u"&&console.warn(`Helmet: ${t} should be of type "Array". Instead found type "${typeof o[t]}"`),!1)).map(o=>o[t]).reverse().reduce((o,u)=>{const f={};u.filter(m=>{const p=K2(m,n);if(!p||!m[p])return!1;const y=m[p].toLowerCase();return s[p]||(s[p]={}),f[p]||(f[p]={}),s[p][y]?!1:(f[p][y]=!0,!0)}).reverse().forEach(m=>{o.push(m)});const h=Object.keys(f);for(const m of h){const p={...s[m],...f[m]};s[m]=p}return o},[]).reverse()}function Z2(t,n){for(const[,i]of t)if(i[n])return!0;return!1}function Nx(t){return Array.isArray(t)?t.join(""):t}function Y2(t,n){var i;for(const s of Object.keys(t))if((i=n[s])!=null&&i.includes(t[s]))return!0;return!1}function Fd(t,n){const i={default:Array(),priority:Array()};if(t)for(const s of t)Y2(s,n)?i.priority.push(s):i.default.push(s);return i}function G2(t){const n={};for(const[i,s]of Object.entries(t))n[i]=Array.isArray(s)?s.slice():s;return n}function F2(t,n){const i=t;for(const[s,o]of Object.entries(n))if(Array.isArray(o)){const u=i[s];i[s]=u?u.concat(o):o}else i[s]=o}function Xd(t,n,i){const s=t[n];s?s.push(i):t[n]=[i]}function Sh(t){let n=Nl(lt.LINK,[Ft.REL,Ft.HREF],t),i=Nl("meta",[Ft.NAME,"charSet","httpEquiv",Ft.PROPERTY,"itemProp"],t),s=Nl("script",[Ft.SRC,Ft.INNER_HTML],t);const o=Z2(t,"prioritizeSeoTags");let u;if(o){const f=Fd(n,Yd.link);n=f.default;const h=Fd(i,Yd.meta);i=h.default;const m=Fd(s,Yd.script);s=m.default,u={links:f.priority,meta:h.priority,script:m.priority}}return{base:q2(t),bodyAttributes:Gd("bodyAttributes",t),defer:bs(t,"defer"),encodeSpecialCharacters:bs(t,"encodeSpecialCharacters")??!0,htmlAttributes:Gd("htmlAttributes",t),links:n,meta:i,noscript:Nl("noscript",[Ft.INNER_HTML],t),onChangeClientState:bs(t,"onChangeClientState"),priority:u,script:s,style:Nl("style",[Ft.CSS_TEXT],t),title:P2(t),titleAttributes:Gd("titleAttributes",t)}}function X2(t){return Ql[t]??t}function fs(t,n){const i=document.head||document.querySelector(lt.HEAD),s=i.querySelectorAll(`${t}[${ti}]`),o=[],u=[...s],f=[];
26for(const h of n){const m=document.createElement(t);for(const[y,v]of Object.entries(h))if(Object.prototype.hasOwnProperty.call(h,y)){const x=Ql[y]??y;x===Ft.INNER_HTML?m.innerHTML=v:x===Ft.CSS_TEXT?m.styleSheet?m.styleSheet.cssText=h.cssText:m.appendChild(document.createTextNode(h.cssText)):m.setAttribute(x,v??"")}m.setAttribute(ti,"true");const p={};for(const{name:y,value:v}of m.attributes)p[y]=v;o.push(p);for(let y=0;;++y){if(m.isEqualNode(u[y])){u.splice(y,1);break}if(y>=u.length){f.push(m);break}}}return u.forEach(h=>{var m;(m=h.parentNode)==null||m.removeChild(h)}),f.forEach(h=>{i.appendChild(h)}),{allTags:o,newTags:f,oldTags:u}}function wh(t,n){const[i]=document.getElementsByTagName(t);if(!i)return;const s=i.getAttribute(ti),o=s?s.split(","):[],u=[...o],f=[];for(const h of Object.keys(n))f.push(Ql[h]??h);for(const[h,m]of Object.entries(n)){const p=Ql[h]??h;i.getAttribute(p)!==m&&i.setAttribute(p,m??""),o.includes(p)||o.push(p);const y=u.indexOf(p);y!==-1&&u.splice(y,1)}for(let h=u.length-1;h>=0;h-=1)i.removeAttribute(u[h]);o.length===u.length?i.removeAttribute(ti):i.getAttribute(ti)!==f.join(",")&&i.setAttribute(ti,f.join(","))}function Q2(t,n){t!==void 0&&document.title!==t&&(document.title=Nx(t)),wh(lt.TITLE,n)}function Wv(t,n){const{base:i,bodyAttributes:s,defer:o,htmlAttributes:u,links:f,meta:h,noscript:m,onChangeClientState:p,priority:y,script:v,style:x,title:w,titleAttributes:C}=t;wh(lt.BODY,s??{}),wh(lt.HTML,u??{}),Q2(w,C);const M={baseTag:fs(lt.BASE,i?[i]:[]),linkTags:fs(lt.LINK,[...(y==null?void 0:y.links)??[],...f??[]]),metaTags:fs(lt.META,[...(y==null?void 0:y.meta)??[],...h??[]]),noscriptTags:fs(lt.NOSCRIPT,m??[]),scriptTags:fs(lt.SCRIPT,[...(y==null?void 0:y.script)??[],...v??[]]),styleTags:fs(lt.STYLE,x??[])},E={baseTag:[],bodyAttributes:{},defer:o??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:p??(()=>{}),scriptTags:[],styleTags:[],title:w??"",titleAttributes:{}},z={},U={};Object.keys(M).forEach(B=>{const{allTags:K,newTags:G,oldTags:oe}=M[B];E[B]=K,G.length&&(z[B]=G),oe.length&&(U[B]=M[B].oldTags)}),(n||Object.keys(z).length||Object.keys(U).length)&&(p==null||p(E,z,U))}const $2=[lt.NOSCRIPT,lt.SCRIPT,lt.STYLE],Dx=(t,n=!0)=>n?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):t;function Th(t){let n="";for(const[i,s]of Object.entries(t)){const o=X2(i),u=s===void 0?o:`${o}="${s}"`;u&&n&&(n+=" "),n+=u}return n}const I2=(t,n,i)=>{let s=Th(n);s&&(s=` ${s}`);const o=Nx(t);return`<title ${ti}="true"${s}>${Dx(o,i)}</title>`};function Qa(t,n,i){let s="";for(const o of n){let u="";const f=Object.entries(o);for(const[p,y]of f)if(!(p===Ft.INNER_HTML||p===Ft.CSS_TEXT)){const v=Ql[p]??p;let x;if(y===void 0)x=v;else{const w=typeof y=="string"?y:String(y);x=`${v}="${Dx(w,i)}"`}u?u+=` ${x}`:u=x}const h=o.innerHTML??o.cssText??"",m=!$2.includes(t);s+=`<${t} ${ti}="true" ${u}${m?"/>":`>${h}</${t}>`}`}return s}function ec(t,n={}){const i={};n.addHelmetDataAttr&&(i[ti]=!0),n.addKey!==void 0&&(i.key=n.addKey);for(const[s,o]of Object.entries(t)){const u=cm[s]??s;switch(u){case"cssText":case"innerHTML":i.dangerouslySetInnerHTML={__html:o};break;default:i[u]=o}}return i}function J2(t,n){return[b.jsx("title",{...ec(n,{addHelmetDataAttr:!0}),children:t},t)]}function W2(t,n,i){return T.createElement(t,ec(n,{addHelmetDataAttr:!0,addKey:i}))}function $a(t,n){const i=[];for(let s=0;s<n.length;
26++s)i.push(W2(t,n[s],s));return i}function eC(t){const n=()=>(t.state??(t.state=Sh(t.helmets)),t.state);return{base:{toComponent(){const i=n().base;return i?$a("base",[i]):[]},toString(){const i=n();return i.base?Qa("base",[i.base],i.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const i=n().bodyAttributes;return ec(i??{})},toString(){const i=n().bodyAttributes;return Th(i??{})}},htmlAttributes:{toComponent(){const i=n().htmlAttributes;return ec(i??{})},toString(){const i=n().htmlAttributes;return Th(i??{})}},link:{toComponent(){return $a("link",n().links??[])},toString(){const i=n();return Qa("link",i.links??[],i.encodeSpecialCharacters)}},meta:{toComponent(){return $a("meta",n().meta??[])},toString(){const i=n();return Qa("meta",i.meta??[],i.encodeSpecialCharacters)}},noscript:{toComponent(){return $a("noscript",n().noscript??[])},toString(){const i=n();return Qa("noscript",i.noscript??[],i.encodeSpecialCharacters)}},priority:{toComponent(){var s,o,u;const i=n();return[...$a("meta",((s=i.priority)==null?void 0:s.meta)??[]),...$a("link",((o=i.priority)==null?void 0:o.links)??[]),...$a("script",((u=i.priority)==null?void 0:u.script)??[])]},toString(){var h,m,p;const i=n(),s=Qa("meta",((h=i.priority)==null?void 0:h.meta)??[],i.encodeSpecialCharacters),o=Qa("link",((m=i.priority)==null?void 0:m.links)??[],i.encodeSpecialCharacters),u=Qa("script",((p=i.priority)==null?void 0:p.script)??[],i.encodeSpecialCharacters);let f=s;return o&&(f&&(f+=" "),f+=o),u&&(f&&(f+=" "),f+=u),f}},script:{toComponent(){return $a("script",n().script??[])},toString(){const i=n();return Qa("script",i.script??[],i.encodeSpecialCharacters)}},style:{toComponent(){return $a("style",n().style??[])},toString(){const i=n();return Qa("style",i.style??[],i.encodeSpecialCharacters)}},title:{toComponent(){const i=n();return J2(i.title??"",i.titleAttributes??{})},toString(){const i=n();return I2(i.title??"",i.titleAttributes??{},i.encodeSpecialCharacters)}}}}const zx=T.createContext(void 0),tC=({children:t,context:n})=>{const{current:i}
26=T.useRef({firstRender:!0,helmets:[],state:void 0}),s=T.useRef(null);return s.current??(s.current={clientApply(){H2&&!i.state&&(i.state=Sh(i.helmets),i.state.defer?i.nextAnimFrameId??(i.nextAnimFrameId=requestAnimationFrame(()=>{i.state??(i.state=Sh(i.helmets)),Wv(i.state,i.firstRender),i.firstRender=!1,delete i.nextAnimFrameId})):(i.nextAnimFrameId!==void 0&&(cancelAnimationFrame(i.nextAnimFrameId),delete i.nextAnimFrameId),Wv(i.state,i.firstRender),i.firstRender=!1))},update(o,u){const f=i.helmets.findIndex(h=>h[0]===o);f>=0?(delete i.state,u?i.helmets[f][1]=u:i.helmets.splice(f,1)):u&&(delete i.state,i.helmets.push([o,u]))}}),n&&(!n.helmet||n.helmet!==i.serverState)&&(i.serverState??(i.serverState=eC(i)),n.helmet=i.serverState),b.jsx(zx,{value:s.current,children:t})};function nC(t,n){if(typeof t!="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(!Jv.includes(t))throw Error(`Only elements types ${Jv.join(", ")} are allowed. Helmet does not support rendering <${t}> elements. Refer to our API for more information.`);if(!(!n||typeof n=="string"||Array.isArray(n)))throw Error(`Helmet expects a string as a child of <${t}>. Did you forget to wrap your children in braces? ( <${t}>{\`\`}</${t}> ) Refer to our API for more information.`)}function Qd(t){const n=cm[t];return n&&console.warn(`"${t}" is not a valid JSX prop, replace it by "${n}"`),n??t}function Ch(t){const n=G2(t);for(const i of Object.values(t))if(Array.isArray(i)){for(const s of i)if(s)for(const o of Object.keys(s)){const u=Qd(o);u!==o&&(s[u]=s[o],delete s[o])}}else if(i&&typeof i=="object"){const s=i;for(const o of Object.keys(s)){const u=Qd(o);u!==o&&(s[u]=s[o],delete s[o])}}return T.Children.forEach(t.children,i=>{if(i==null)return;if(typeof i!="object"||!("props"in i))throw Error(`"${typeof i}" is not a valid <Helmet> descendant`);let s;const o={};if(i.props)for(const[h,m]of Object.entries(i.props))h==="children"?s=m:o[Qd(h)]=m;let{type:u}=i;typeof u=="symbol"&&(u=u.toString()),nC(u,s);function f(h){typeof h!="string"&&console.error(`child of ${u} element should be a string`)}switch(u){case lt.BASE:n.base=o;break;case lt.BODY:n.bodyAttributes=o;break;case lt.FRAGMENT:F2(n,Ch({children:s}));break;case lt.HTML:n.htmlAttributes=o;break;case lt.LINK:case lt.META:if(s)throw Error(`<${u} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Xd(n,u,o);break;case lt.NOSCRIPT:case lt.SCRIPT:s!==void 0&&(f(s),o.innerHTML=s),Xd(n,u,o);break;case lt.STYLE:f(s),o.cssText=s,Xd(n,u,o);break;case lt.TITLE:n.titleAttributes=o,typeof s=="string"?n.title=s:Array.isArray(s)&&(n.title=s.join(""));break;case lt.HEAD:}}),delete n.children,n}const fm=t=>{const n=T.use(zx);if(!n)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const i=T.useId();return n.update(i,Ch(t)),T.useEffect(()=>{n.update(i,Ch(t)),n.clientApply()}),T.useEffect(()=>()=>{n.update(i,void 0),n.clientApply()},[n,i]),null},aC="modulepreload",iC=function(t){return"/"+t},e0={},Fn=function(n,i,s){let o=Promise.resolve();if(i&&i.length>0){let f=function(p){return Promise.all(p.map(y=>Promise.resolve(y).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),m=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));o=f(i.map(p=>{if(p=iC(p),p in e0)return;e0[p]=!0;const y=p.endsWith(".css"),v=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${v}`))return;const x=document.createElement("link");if(x.rel=y?"stylesheet":aC,y||(x.as="script"),x.crossOrigin="",x.href=p,m&&x.setAttribute("nonce",m),document.head.appendChild(x),y)return new Promise((w,C)=>{x.addEventListener("load",w),x.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(f){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=f,window.dispatchEvent(h),!h.defaultPrevented)throw f}return o.then(f=>{for(const h of f||[])h.status==="rejected"&&u(h.reason);return n().catch(u)})};/**
27 * react-router v8.3.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 gc=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,dm=/^[\\/]{2}/;function Ox(t,n){return n+t.replace(/\\/g,"/")}/**
36 * react-router v8.3.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 t0="popstate";function n0(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function rC(t={}){function n(s,o){var p;let u=(p=o.state)==null?void 0:p.masked,{pathname:f,search:h,hash:m}=u||s.location;
44return $l("",{pathname:f,search:h,hash:m},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function i(s,o){return typeof o=="string"?o:ba(o)}return lC(n,i,null,t)}function Oe(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function Pt(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function sC(){return Math.random().toString(36).substring(2,10)}function a0(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function $l(t,n,i=null,s,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?Sa(n):n,state:i,key:n&&n.key||s||sC(),mask:o}}function ba({pathname:t="/",search:n="",hash:i=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Sa(t){let n={};if(t){let i=t.indexOf("#");i>=0&&(n.hash=t.substring(i),t=t.substring(0,i));let s=t.indexOf("?");s>=0&&(n.search=t.substring(s),t=t.substring(0,s)),t&&(n.pathname=t)}return n}function lC(t,n,i,s={}){let{window:o=document.defaultView,v5Compat:u=!1}=s,f=o.history,h="POP",m=null,p=y();p==null&&(p=0,f.replaceState({...f.state,idx:p},""));function y(){return(f.state||{idx:null}).idx}function v(){h="POP";let E=y(),z=E==null?null:E-p;p=E,m&&m({action:h,location:M.location,delta:z})}function x(E,z){h="PUSH";let U=n0(E)?E:$l(M.location,E,z);p=y()+1;let B=a0(U,p),K=M.createHref(U.mask||U);try{f.pushState(B,"",K)}catch(G){if(G instanceof DOMException&&G.name==="DataCloneError")throw G;o.location.assign(K)}u&&m&&m({action:h,location:M.location,delta:1})}function w(E,z){h="REPLACE";let U=n0(E)?E:$l(M.location,E,z);p=y();let B=a0(U,p),K=M.createHref(U.mask||U);f.replaceState(B,"",K),u&&m&&m({action:h,location:M.location,delta:0})}function C(E){return kx(o,E)}let M={get action(){return h},get location(){return t(o,f)},listen(E){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(t0,v),m=E,()=>{o.removeEventListener(t0,v),m=null}},createHref(E){return n(o,E)},createURL:C,encodeLocation(E){let z=C(E);return{pathname:z.pathname,search:z.search,hash:z.hash}},push:x,replace:w,go(E){return f.go(E)}};return M}function kx(t,n,i=!1){let s="http://localhost";t&&(s=t.location.origin!=="null"?t.location.origin:t.location.href),Oe(s,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:ba(n);return o=o.replace(/ $/,"%20"),!i&&dm.test(o)&&(o=s+o),new URL(o,s)}/**
45 * react-router v8.3.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 ws,xx,i0=(xx=class{constructor(t){cs(this,ws,new Map);if(t)for(let[n,i]of t)this.set(n,i)}get(t){if(Cn(this,ws).has(t))return Cn(this,ws).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,n){Cn(this,ws).set(t,n)}},ws=new WeakMap,xx);const oC=new Set(["lazy","caseSensitive","path","id","index","children"]);function uC(t){return oC.has(t)}const cC=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function fC(t){return cC.has(t)}function dC(t){return t.index===!0}function Lx(t){let n={};return t.Component&&Object.assign(n,{element:T.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(n,{hydrateFallbackElement:T.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(n,{errorElement:T.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),n}function Il(t,n=Lx,i=[],s={},o=!1){return t.map((u,f)=>{let h=[...i,String(f)],m=typeof u.id=="string"?u.id:h.join("-");if(Oe(u.index!==!0||!u.children,"Cannot specify children on an index route"),Oe(o||!s[m],`Found a route id collision on i
53d "${m}".  Route id's must be globally unique within Data Router usages`),dC(u)){let p={...u,id:m};return s[m]=r0(p,n(p)),p}else{let p={...u,id:m,children:void 0};return s[m]=r0(p,n(p)),u.children&&(p.children=Il(u.children,n,h,s,o)),p}})}function r0(t,n){return Object.assign(t,{...n,...typeof n.lazy=="object"&&n.lazy!=null?{lazy:{...t.lazy,...n.lazy}}:{}})}function Vx(t,n,i="/"){return ia(t,n,i,!1)}function ia(t,n,i,s,o){let u=Gn((typeof n=="string"?Sa(n):n).pathname||"/",i);if(u==null)return null;let f=o??qu(t),h=null,m=EC(u);for(let p=0;h==null&&p<f.length;++p)h=CC(f[p],m,s);return h}function Ux(t,n){let{route:i,pathname:s,params:o}=t;return{id:i.id,pathname:s,params:o,loaderData:n[i.id],handle:i.handle}}function qu(t){let n=Bx(t);return hC(n),n}function Bx(t,n=[],i=[],s="",o=!1){let u=(f,h,m=o,p)=>{let y={relativePath:p===void 0?f.path||"":p,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(s)&&m)return;Oe(y.relativePath.startsWith(s),`Absolute route path "${y.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(s.length)}let v=Zn([s,y.relativePath]),x=i.concat(y);f.children&&f.children.length>0&&(Oe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Bx(f.children,n,x,v,m)),!(f.path==null&&!f.index)&&n.push({path:v,score:wC(v,f.index),routesMeta:x.map((w,C)=>{let[M,E]=qx(w.relativePath,w.caseSensitive,C===x.length-1);return{...w,matcher:M,compiledParams:E}})})};return t.forEach((f,h)=>{var m;if(f.path===""||!((m=f.path)!=null&&m.includes("?")))u(f,h);else for(let p of Hx(f.path))u(f,h,!0,p)}),n}function Hx(t){let n=t.split("/");if(n.length===0)return[];let[i,...s]=n,o=i.endsWith("?"),u=i.replace(/\?$/,"");if(s.length===0)return o?[u,""]:[u];let f=Hx(s.join("/")),h=[];return h.push(...f.map(m=>m===""?u:[u,m].join("/"))),o&&h.push(...f),h.map(m=>t.startsWith("/")&&m===""?"/":m)}function hC(t){t.sort((n,i)=>n.score!==i.score?i.score-n.score:TC(n.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}const mC=/^:[\w-]+$/,pC=/^:[\w-]+/,yC=3.5,gC=3,vC=2,bC=1,xC=10,SC=-2,s0=t=>t==="*";function wC(t,n){let i=t.split("/"),s=i.length;return i.some(s0)&&(s+=SC),n&&(s+=vC),i.filter(o=>!s0(o)).reduce((o,u)=>o+(mC.test(u)?gC:pC.test(u)?yC:u===""?bC:xC),s)}function TC(t,n){return t.length===n.length&&t.slice(0,-1).every((i,s)=>i===n[s])?t[t.length-1]-n[n.length-1]:0}function CC(t,n,i=!1){let{routesMeta:s}=t,o={},u="/",f=[];for(let h=0;h<s.length;++h){let m=s[h],p=h===s.length-1,y=u==="/"?n:n.slice(u.length)||"/",v={path:m.relativePath,caseSensitive:m.caseSensitive,end:p},x=m.matcher&&m.compiledParams?Px(v,y,m.matcher,m.compiledParams):tc(v,y),w=m.route;if(!x&&p&&i&&!s[s.length-1].route.index&&(x=tc({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},y)),!x)return null;
53Object.assign(o,x.params),f.push({params:o,pathname:Zn([u,x.pathname]),pathnameBase:RC(Zn([u,x.pathnameBase])),route:w}),x.pathnameBase!=="/"&&(u=Zn([u,x.pathnameBase]))}return f}function tc(t,n){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[i,s]=qx(t.path,t.caseSensitive,t.end);return Px(t,n,i,s)}function Px(t,n,i,s){let o=n.match(i);if(!o)return null;let u=o[0],f=u.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:s.reduce((m,{paramName:p,isOptional:y},v)=>{if(p==="*"){let w=h[v]||"";f=u.slice(0,u.length-w.length).replace(/(.)\/+$/,"$1")}const x=h[v];return y&&!x?m[p]=void 0:m[p]=(x||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:f,pattern:t}}function qx(t,n=!1,i=!0){Pt(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let s=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,h,m,p)=>{if(s.push({paramName:f,isOptional:h!=null}),h){let y=p.charAt(m+u.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return t.endsWith("*")?(s.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,n?void 0:"i"),s]}function EC(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Pt(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function Gn(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let i=n.endsWith("/")?n.length-1:n.length,s=t.charAt(i);return s&&s!=="/"?null:t.slice(i)||"/"}function AC({basename:t,pathname:n}){return n==="/"?t:Zn([t,n])}const hm=t=>gc.test(t);function _C(t,n="/"){let{pathname:i,search:s="",hash:o=""}=typeof t=="string"?Sa(t):t,u;return i?(i=pm(i),i.startsWith("/")?u=l0(i.substring(1),"/"):u=l0(i,n)):u=n,{pathname:u,search:MC(s),hash:jC(o)}}function l0(t,n){let i=Zx(n).split("/");return t.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function $d(t,n,i,s){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(s)}].  Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Kx(t){return t.filter((n,i)=>i===0||n.route.path&&n.route.path.length>0)}function mm(t){let n=Kx(t);return n.map((i,s)=>s===n.length-1?i.pathname:i.pathnameBase)}function vc(t,n,i,s=!1){let o;typeof t=="string"?o=Sa(t):(o={...t},Oe(!o.pathname||!o.pathname.includes("?"),$d("?","pathname","search",o)),Oe(!o.pathname||!o.pathname.includes("#"),$d("#","pathname","hash",o)),Oe(!o.search||!o.search.includes("#"),$d("#","search","hash",o)));let u=t===""||o.pathname==="",f=u?"/":o.pathname,h;if(f==null)h=i;else{let v=n.length-1;if(!s&&f.startsWith("..")){let x=f.split("/");for(;x[0]==="..";)x.shift(),v-=1;o.pathname=x.join("/")}h=v>=0?n[v]:"/"}let m=_C(o,h),p=f&&f!=="/"&&f.endsWith("/"),y=(u||f===".")&&i.endsWith("/");return!m.pathname.endsWith("/")&&(p||y)&&(m.pathname+="/"),m}const pm=t=>t.replace(/[\\/]{2,}/g,"/"),Zn=t=>pm(t.join("/")),Zx=t=>t.replace(/\/+$/,""),RC=t=>
53Zx(t).replace(/^\/*/,"/"),MC=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,jC=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,NC=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"];var lo=class{constructor(t,n,i,s=!1){ta(this,"status");ta(this,"statusText");ta(this,"data");ta(this,"error");ta(this,"internal");this.status=t,this.statusText=n||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function Jl(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function js(t){return Zn(t.map(n=>n.route.path).filter(Boolean))||"/"}function ym(t,n){let i=new URL(typeof t=="string"||t instanceof URL?t:t.url),s=typeof n=="string"?Sa(n):n;if(i.pathname=s.pathname||"/",s.search){let o=new URLSearchParams(s.search),u=o.getAll("index");o.delete("index");for(let h of u.filter(Boolean))o.append("index",h);let f=o.toString();i.search=f?`?${f}`:""}else i.search="";return i.hash=s.hash||"",i}const Yx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Gx(t,n){let i=t;if(typeof i!="string"||!gc.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,o=!1;if(Yx)try{let u=new URL(window.location.href),f=dm.test(i)?new URL(Ox(i,u.protocol)):new URL(i),h=Gn(f.pathname,n);f.origin===u.origin&&h!=null?i=h+f.search+f.hash:o=!0}catch{Pt(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:o,to:i}}/**
54 * react-router v8.3.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 Fx=Symbol("Uninstrumented");let Pl=new WeakMap;function DC(t,n){let i={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(o=>o({id:n.id,index:n.index,path:n.path,instrument(u){u.lazy!=null&&i.lazy.push(u.lazy),u["lazy.loader"]!=null&&i["lazy.loader"].push(u["lazy.loader"]),u["lazy.action"]!=null&&i["lazy.action"].push(u["lazy.action"]),u["lazy.middleware"]!=null&&i["lazy.middleware"].push(u["lazy.middleware"]),u.middleware!=null&&i.middleware.push(u.middleware),u.loader!=null&&i.loader.push(u.loader),u.action!=null&&i.action.push(u.action)}}));let s={};if(typeof n.lazy=="function"&&i.lazy.length>0){let o=n.lazy;s.lazy=async(...u)=>Ja(await pa(i.lazy,void 0,()=>o(...u),Wa))}if(typeof n.lazy=="object"){let o=n.lazy;if(typeof o.middleware=="function"&&i["lazy.middleware"].length>0){let u=o.middleware;s.lazy=Object.assign(s.lazy||{},{middleware:async(...f)=>Ja(await pa(i["lazy.middleware"],void 0,()=>u(...f),Wa))})}if(typeof o.loader=="function"&&i["lazy.loader"].length>0){let u=o.loader;s.lazy=Object.assign(s.lazy||{},{loader:async(...f)=>Ja(await pa(i["lazy.loader"],void 0,()=>u(...f),Wa))})}if(typeof o.action=="function"&&i["lazy.action"].length>0){let u=o.action;s.lazy=Object.assign(s.lazy||{},{action:async(...f)=>Ja(await pa(i["lazy.action"],void 0,()=>u(...f),Wa))})}}if(typeof n.loader=="function"&&i.loader.length>0){let o=ql(n.loader),u=async(...f)=>Ja(await pa(i.loader,Id(f[0]),()=>o(...f),Wa));o.hydrate===!0&&(u.hydrate=!0),Kl(u,o),s.loader=u}if(typeof n.action=="function"&&i.action.length>0){let o=ql(n.action),u=async(...f)=>Ja(await pa(i.action,Id(f[0]),()=>o(...f),Wa));Kl(u,o),s.action=u}return n.middleware&&n.middleware.length>0&&i.middleware.length>0&&(s.middleware=n.middleware.map(o=>{let u=ql(o),f=async(...h)=>Ja(await pa(i.middleware,Id(h[0]),()=>u(...h),Wa));return Kl(f,u),f})),s}function zC(t,n){let i={navigate:[],fetch:[]};if(n.forEach(s=>s({instrument(o){o.navigate!=null&&i.navigate.push(o.navigate),o.fetch!=null&&i.fetch.push(o.fetch)}})),i.navigate.length>0){let s=ql(t.navigate),o=async(...u)=>{let[f,h]=u,m,p={to:typeof f=="number"||typeof f=="string"?f:f?ba(f):".",...c0(t,h??{})};return Ja(await pa(i.navigate,p,async()=>{if(typeof f=="number")return await s(...u);let y=o0(t,v=>{m=v});try{return await s(...u)}finally{y()}},y=>({...Wa(y),meta:m})))};Kl(o,s),t.navigate=o}if(i.fetch.length>0){let s=ql(t.fetch),o=async(...u)=>{let[f,h,m,p]=u,y;return Ja(await pa(i.fetch,{href:m??".",fetcherKey:f,...c0(t,p??{})},async()=>{let v=o0(t,x=>{y=x});try{return await s(...u)}finally{v()}},v=>({...Wa(v),meta:y})))};Kl(o,s),t.fetch=o}return t}function ql(t){return t[Fx]??t}function Kl(t,n){t[Fx]=n}function o0(t,n){return Pl.set(t,n),()=>{Pl.get(t)===n&&Pl.delete(t)}}function u0(t){let n=Pl.get(t);return Pl.delete(t),n}function Ja(t){if(t.type==="error")throw t.value;return t.value}async function pa(t,n,i,s,o={result:null,innerResult:null},u=t.length-1){let f=t[u];if(f){let h,m=async()=>(h?console.error("You cannot call instrumented handlers more than once"):h=pa(t,n,i,s,o,u-1),await h,Oe(o.innerResult,"Expected an inner result"),o.innerResult);try{await f(m,n)}catch(p){console.error("An instrumentation function threw an error:",p)}h||await m(),await h}else{try{o.result={type:"success",value:await i()}}catch(h){o.result={type:"error",value:h}}o.innerResult=s(o.result,n)}return o.result||(o.result={type:"error",value:new Error("No result assigned in instrumentation chain.")},o.innerResult=s(o.result,n)),o.result}function Wa(t){return t.type==="error"&&t.value instanceof Error?{status:"error",error:t.value}:{status:"success",error:void 0}}function Id(t){let{request:n,context:i,params:s}=t;return{...t,request:OC(n),params:{...s},context:kC(i)}}function c0(t,n){return{currentUrl:ba(t.state.location),..."formMethod"in n?{formMethod:n.formMethod}:{},..."formEncType"in n?{formEncType:n.formEncType}:{},..."formData"in n?{formData:n.formData}:{},..."body"in n?{body:n.body}:{}}}function OC(t){return{method:t.method,url:t.url,headers:{get:(...n)=>t.headers.get(...n)}}}function kC(t){return{get:n=>t.get(n)}}/**
63 * react-router v8.3.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 */const Xx=["POST","PUT","PATCH","DELETE"],LC=new Set(Xx),VC=["GET",...Xx],UC=new Set(VC),Qx=new Set([301,302,303,307,308]),BC=new Set([307,308]),Jd={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},HC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Dl={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},$x="remix-router-transitions",Ix=Symbol("ResetLoaderData");var Pi,xr,ei,Sr,Sx,PC=(Sx=class{constructor(n){cs(this,Pi);cs(this,xr);cs(this,ei);cs(this,Sr);na(this,Pi,n),na(this,xr,qu(n))}get stableRoutes(){return Cn(this,Pi)}get activeRoutes(){return Cn(this,ei)??Cn(this,Pi)}get branches(){return Cn(this,Sr)??Cn(this,xr)}get hasHMRRoutes(){return Cn(this,ei)!=null}setRoutes(n){na(this,Pi,n),na(this,xr,qu(n))}setHmrRoutes(n){na(this,ei,n),na(this,Sr,qu(n))}commitHmrRoutes(){Cn(this,ei)&&(na(this,Pi,Cn(this,ei)),na(this,xr,Cn(this,Sr)),na(this,ei,void 0),na(this,Sr,void 0))}},Pi=new WeakMap,xr=new WeakMap,ei=new WeakMap,Sr=new WeakMap,Sx);function qC(t){const n=t.window?t.window:typeof window<"u"?window:void 0,i=typeof n<"u"&&typeof n.document<"u"&&typeof n.document.createElement<"u";Oe(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=t.hydrationRouteProperties||[],o=t.mapRouteProperties,u=o||(()=>({}));if(t.instrumentations){let _=t.instrumentations;u=j=>({...o==null?void 0:o(j),...DC(_.map(O=>
71O.route).filter(Boolean),j)})}let f={},h=new PC(Il(t.routes,u,void 0,f)),m=t.basename||"/";m.startsWith("/")||(m=`/${m}`);let p=t.dataStrategy||FC,y={...t.future},v=null,x=new Set,w=null,C=null,M=null,E=null,z=t.hydrationData!=null,U=ia(h.activeRoutes,t.history.location,m,!1,h.branches),B=!1,K=null,G,oe;if(U==null&&!t.patchRoutesOnNavigation){let _=qn(404,{pathname:t.history.location.pathname}),{matches:j,route:O}=Nu(h.activeRoutes);G=!0,oe=!G,U=j,K={[O.id]:_}}else if(U&&!t.hydrationData&&li(U,h.activeRoutes,t.history.location.pathname).active&&(U=null),U)if(U.some(_=>_.route.lazy))G=!1,oe=!G;else if(!U.some(_=>gm(_.route)))G=!0,oe=!G;else{let _=t.hydrationData?t.hydrationData.loaderData:null,j=t.hydrationData?t.hydrationData.errors:null,O=U;if(j){let F=U.findIndex($=>j[$.route.id]!==void 0);O=O.slice(0,F+1)}oe=!1,G=!0,O.forEach(F=>{let $=Jx(F.route,_,j);oe=oe||$.renderFallback,G=G&&!$.shouldLoad})}else{G=!1,oe=!G,U=[];let _=li(null,h.activeRoutes,t.history.location.pathname);_.active&&_.matches&&(B=!0,U=_.matches)}let te,N={historyAction:t.history.action,location:t.history.location,matches:U,initialized:G,renderFallback:oe,navigation:Jd,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||K,fetchers:new Map,blockers:new Map},ee="POP",I=null,pe=!1,ne,Re=!1,Le=new Map,ke=null,H=!1,Q=!1,J=new Set,se=new Map,be=0,xe=-1,Ne=new Map,Ce=new Set,We=new Map,bt=new Map,ut=new Set,Wt=new Map,wa,ln=null;function Ls(){if(v=t.history.listen(({action:_,location:j,delta:O})=>{if(wa){wa(),wa=void 0;return}Pt(Wt.size===0||O!=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 F=Ii({currentLocation:N.location,nextLocation:j,historyAction:_});if(F&&O!=null){let $=new Promise(ue=>{wa=ue});t.history.go(O*-1),Aa(F,{state:"blocked",location:j,proceed(){Aa(F,{state:"proceeding",proceed:void 0,reset:void 0,location:j}),$.then(()=>t.history.go(O))},reset(){let ue=new Map(N.blockers);ue.set(F,Dl),zt({blockers:ue})}}),I==null||I.resolve(),I=null;return}return Ta(_,j)}),i){dE(n,Le);let _=()=>hE(n,Le);n.addEventListener("pagehide",_),ke=()=>n.removeEventListener("pagehide",_)}return N.initialized||Ta("POP",N.location,{initialHydration:!0}),te}function Ar(){v&&v(),ke&&ke(),x.clear(),ne&&ne.abort(),N.fetchers.forEach((_,j)=>Ea(N.fetchers,j)),N.blockers.forEach((_,j)=>$i(j))}function Vs(_){if(x.add(_),w){let{newErrors:j}=w;w=null,_(N,{deletedFetchers:[],newErrors:j,viewTransitionOpts:void 0,flushSync:!1})}return()=>x.delete(_)}function zt(_,j={}){_.matches&&(_.matches=_.matches.map($=>{let ue=f[$.route.id],ie=$.route;return ie.element!==ue.element||ie.errorElement!==ue.errorElement||ie.hydrateFallbackElement!==ue.hydrateFallbackElement?{...$,route:ue}:$})),N={...N,..._};let O=[],F=[];N.fetchers.forEach(($,ue)=>{$.state==="idle"&&(ut.has(ue)?O.push(ue):F.push(ue))}),ut.forEach($=>{!N.fetchers.has($)&&!se.has($)&&O.push($)}),x.size===0&&(w={newErrors:_.errors??null}),[...x].forEach($=>$(N,{deletedFetchers:O,newErrors:_.errors??null,viewTransitionOpts:j.viewTransitionOpts,flushSync:j.flushSync===!0})),O.forEach($=>Ea(N.fetchers,$)),F.forEach($=>N.fetchers.delete($))}function on(_,j,{flushSync:O}={}){var we,ve;let F=N.actionData!=null&&N.navigation.formMethod!=null&&$t(N.navigation.formMethod)&&N.navigation.state==="loading"&&((we=_.state)==null?void 0:we._isRedirect)!==!0,$;j.actionData?Object.keys(j.actionData).length>0?$=j.actionData:$=null:F?$=N.actionData:$=null;let ue=j.loaderData?x0(N.loaderData,j.loaderData,j.matches||[],j.errors):N.loaderData,ie=N.blockers;ie.size>0&&!H&&(ie=new Map(ie),ie.forEach((Te,Qe)=>ie.set(Qe,Dl)));let re=H?!1:qs(_,j.matches||N.matches),ae=pe===!0||N.navigation.formMethod!=null&&$t(N.navigation.formMethod)&&((ve=_.state)==null?void 0:ve._isRedirect)!==!0;h.commitHmrRoutes(),H||ee==="POP"||(ee==="PUSH"?t.history.push(_,_.state):ee==="REPLACE"&&t.history.replace(_,_.state));let ye;if(ee==="POP"){let Te=Le.get(N.location.pathname);Te&&Te.has(_.pathname)?ye={currentLocation:N.location,nextLocation:_}:Le.has(_.pathname)&&(ye={currentLocation:_,nextLocation:N.location})}else if(Re){let Te=Le.get(N.location.pathname);Te?Te.add(_.pathname):(Te=new Set([_.pathname]),Le.set(N.location.pathname,Te)),ye={currentLocation:N.location,nextLocation:_}}zt({...j,actionData:$,loaderData:ue,historyAction:ee,location:_,initialized:!0,renderFallback:!1,navigation:Jd,revalidation:"idle",restoreScrollPosition:re,preventScrollReset:ae,blockers:ie},{viewTransitionOpts:ye,flushSync:O===!0}),ee="POP",pe=!1,Re=!1,H=!1,Q=!1,I==null||I.resolve(),I=null,ln==null||ln.resolve(),ln=null}async function _r(_,j){if(I==null||I.resolve(),I=null,typeof _=="number"){I||(I=E0());let Ye=I.promise;return t.history.go(_),Ye}let O=u0(te),{path:F,submission:$,error:ue}=f0(!1,Eh(N.location,N.matches,m,_,j==null?void 0:j.fromRouteId,j==null?void 0:j.relative),j),ie;j!=null&&j.mask&&(ie={pathname:"",search:"",hash:"",...typeof j.mask=="str
71ing"?Sa(j.mask):{...N.location.mask,...j.mask}});let re=N.location,ae=$l(re,F,j&&j.state,void 0,ie);ae={...ae,...t.history.encodeLocation(ae)};let ye=j&&j.replace!=null?j.replace:void 0,we="PUSH";ye===!0?we="REPLACE":ye===!1||$!=null&&$t($.formMethod)&&$.formAction===N.location.pathname+N.location.search&&(we="REPLACE");let ve=j&&"preventScrollReset"in j?j.preventScrollReset===!0:void 0,Te=(j&&j.flushSync)===!0,Qe=Ii({currentLocation:re,nextLocation:ae,historyAction:we});if(Qe){Aa(Qe,{state:"blocked",location:ae,proceed(){Aa(Qe,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),_r(_,j)},reset(){let Ye=new Map(N.blockers);Ye.set(Qe,Dl),zt({blockers:Ye})}});return}await Ta(we,ae,{submission:$,pendingError:ue,preventScrollReset:ve,replace:j&&j.replace,enableViewTransition:j&&j.viewTransition,flushSync:Te,callSiteDefaultShouldRevalidate:j&&j.defaultShouldRevalidate,instrumentationNavigateMetaReceiver:O})}function Us(){ln||(ln=E0()),ri(),zt({revalidation:"loading"});let _=ln.promise;return N.navigation.state==="submitting"?_:N.navigation.state==="idle"?(Ta(N.historyAction,N.location,{startUninterruptedRevalidation:!0}),_):(Ta(ee||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation,enableViewTransition:Re===!0}),_)}async function Ta(_,j,O){ne&&ne.abort(),ne=null,ee=_,H=(O&&O.startUninterruptedRevalidation)===!0,Oc(N.location,N.matches),pe=(O&&O.preventScrollReset)===!0,Re=(O&&O.enableViewTransition)===!0;let F=h.activeRoutes,$=O!=null&&O.initialHydration&&N.matches&&N.matches.length>0&&!B?N.matches:ia(F,j,m,!1,h.branches),ue=(O&&O.flushSync)===!0;if($&&N.initialized&&!Q&&nE(N.location,j)&&!(O&&O.submission&&$t(O.submission.formMethod))){on(j,{matches:$},{flushSync:ue});return}let ie=li($,F,j.pathname);if(ie.active&&ie.matches&&($=ie.matches),O!=null&&O.instrumentationNavigateMetaReceiver){let Me=T0(t.history,j,$);O.instrumentationNavigateMetaReceiver(Me)}if(!$){let{error:Me,notFoundMatches:nn,route:xt}=$n(j.pathname);on(j,{matches:nn,loaderData:{},errors:{[xt.id]:Me}},{flushSync:ue});return}let re=O&&O.overrideNavigation?{...O.overrideNavigation,matches:$,historyAction:_}:void 0;ne=new AbortController;let ae=hs(t.history,j,ne.signal,O&&O.submission),ye=t.getContext?await t.getContext():new i0,we;if(O&&O.pendingError)we=[Hi($).route.id,{type:"error",error:O.pendingError}];else if(O&&O.submission&&$t(O.submission.formMethod)){let Me=await po(ae,j,O.submission,$,_,ye,ie.active,O&&O.initialHydration===!0,{replace:O.replace,flushSync:ue});if(Me.shortCircuited)return;if(Me.pendingActionResult){let[nn,xt]=Me.pendingActionResult;if(An(xt)&&Jl(xt.error)&&xt.error.status===404){ne=null,on(j,{matches:Me.matches,loaderData:{},errors:{[nn]:xt.error}});return}}$=Me.matches||$,we=Me.pendingActionResult,re=Wd(j,$,_,O.submission),ue=!1,ie.active=!1,ae=hs(t.history,ae.url,ae.signal)}let{shortCircuited:ve,matches:Te,loaderData:Qe,errors:Ye,workingFetchers:ct}=await Bs(ae,j,$,_,ye,ie.active,re,O&&O.submission,O&&O.fetcherSubmission,O&&O.replace,O&&O.initialHydration===!0,ue,we,O&&O.callSiteDefaultShouldRevalidate);ve||(ne=null,on(j,{matches:Te||$,...S0(we),loaderData:Qe,errors:Ye,...ct?{fetchers:ct}:{}}))}async function po(_,j,O,F,$,ue,ie,re,ae={}){if(ri(),zt({navigation:cE(j,F,$,O)},{flushSync:ae.flushSync===!0}),ie){let ve=await oa(F,j.pathname,_.signal);if(ve.type==="aborted")return{shortCircuited:!0};if(ve.type==="error"){if(ve.partialMatches.length===0){let{matches:Qe,route:Ye}=Nu(h.activeRoutes);return{matches:Qe,pendingActionResult:[Ye.id,{type:"error",error:ve.error}]}}let Te=Hi(ve.partialMatches).route.id;return{matches:ve.partialMatches,pendingActionResult:[Te,{type:"error",error:ve.error}]}}else if(ve.matches)F=ve.matches;else{let{notFoundMatches:Te,error:Qe,route:Ye}=$n(j.pathname);return{matches:Te,pendingActionResult:[Ye.id,{type:"error",error:Qe}]}}}let ye,we=Ku(F,j);if(!we.route.action&&!we.route.lazy)ye={type:"error",error:qn(405,{method:_.method,pathname:j.pathname,routeId:we.route.id})};else{let ve=await ii(_,j,xs(u,f,_,j,F,we,re?[]:s,ue),ue,null);if(ye=ve[we.route.id],!ye){for(let Te of F)if(ve[Te.route.id]){ye=ve[Te.route.id];break}}if(_.signal.aborted)return{shortCircuited:!0}}if(gr(ye)){let ve;return ae&&ae.replace!=null?ve=ae.replace:ve=g0(ye.response.headers.get("Location"),new URL(_.url),m,t.history)===N.location.pathname+N.location.search,await Ca(_,ye,!0,{submission:O,replace:ve}),{shortCircuited:!0}}if(An(ye)){let ve=Hi(F,we.route.id);return(ae&&ae.replace)!==!0&&(ee="PUSH"),{matches:F,pendingActionResult:[ve.route.id,ye,we.route.id]}}return{matches:F,pendingActionResult:[we.route.id,ye]}}async function Bs(_,j,O,F,$,ue,ie,re,ae,ye,we,ve,Te,Qe){let Ye=ie||Wd(j,O,F,re),ct=re||ae||C0(Ye),Me=!H&&!we;if(ue){if(Me){let Ie=Rr(Te);zt({navigation:Ye,...Ie!==void 0?{actionData:Ie}:{}},{flushSync:ve})}let Ee=await oa(O,j.pathname,_.signal);if(Ee.type==="aborted")return{shortCircuited:!0};if(Ee.type==="error"){if(Ee.partialMatches.length===0){let{matches:Dn,route:ui}=Nu(h.activeRoutes);return{matches:Dn,loaderData:{},errors:{[ui.id]:Ee.error}}}let Ie=Hi(Ee.partialMatches).route.id;return{matches:Ee.partialMatches,loaderData:{},errors:{[Ie]:Ee.error}}}else if(Ee.matches)O=Ee.matches;else{let{error:Ie,notFoundMatches:Dn,route:ui}=$n(j.pathname);return{matches:Dn,loaderData:{},errors:{[ui.id]:Ie}}}}let nn=h.activeRoutes,{dsMatches:xt,revalidatingFetchers:$e}=d0(_,$,u,f,t.history,N,O,ct,j,we?[]:s,we===!0,Q,J,ut,We,Ce,nn,m,t.patchRoutesOnNavigation!=null,h.branches,Te,Qe);if(xe=++be,!t.dataStrategy&&!xt.some(Ee=>Ee.shouldLoad)&&!xt.some(Ee=>Ee.route.middleware&&Ee.route.middleware.length>0)&&$e.length===0){let Ee=new Map(N.fetchers),Ie=yo(Ee);return on(j,{matches:O,loaderData:{},errors:Te&&An(Te[1])?{[Te[0]]:Te[1].error}:null,...S0(Te),...Ie?{fetchers:Ee}:{}},{flushSync:ve}),{shortCircuited:!0}}if(Me){let Ee={};if(!ue){Ee.navigation=Ye;let Ie=Rr(Te);Ie!==void 0&&(Ee.actionData=Ie)}$e.length>0&&(Ee.fetchers=Hs($e)),zt(Ee,{flushSync:ve})}$e.forEach(Ee=>{Vt(Ee.key),Ee.controller&&se.set(Ee.key,Ee.controller)});let In=()=>$e.forEach(Ee=>Vt(Ee.key));ne&&ne.signal.addEventListener("abort",In);let{loaderResults:_a,fetcherResults:Nn}=await Ps(xt,$e,_,j,$);if(_.signal.aborted)return{shortCircuited:!0};ne&&ne.signal.removeEventListener("abort",In),$e.forEach(Ee=>se.delete(Ee.key));let Ot=Du(_a);if(Ot)return await Ca(_,Ot.result,!0,{replace:ye}),{shortCircuited:!0};if(Ot=Du(Nn),Ot)return Ce.add(Ot.key),await Ca(_,Ot.result,!0,{replace:ye}),{shortCircuited:!0};let oi=new Map(N.fetchers),{loaderData:Ra,errors:Ma}=b0(N,O,_a,Te,$e,Nn,oi);we&&N.errors&&(Ma={...N.errors,...Ma});let jr=yo(oi),ja=go(xe,oi),Na=jr||ja||$e.length>0;return{matches:O,loaderData:Ra,errors:Ma,...Na?{workingFetchers:oi}:{}}}function Rr(_){if(_&&!An(_[1]))return{[_[0]]:_[1].data};if(N.actionData)return Object.keys(N.actionData).length===0?null:N.actionData}function Hs(_){let j=new Map(N.fetchers);return _.forEach(O=>{let F=j.get(O.key),$=zl(void 0,F?F.data:void 0);j.set(O.key,$)}),j}async function Mc(_,j,O,F){Vt(_);let $=(F&&F.flushSync)===!0,ue=u0(te),ie=h.activeRoutes,re=Eh(N.location,N.matches,m,O,j,F==null?void 0:F.relative),ae=ia(ie,re,m,!1,h.branches),ye=li(ae,ie,re);if(ye.active&&ye.matches&&(ae=ye.matches),ue&&ue(T0(t.history,re,ae)),!ae){jn(_,j,qn(404,{pathname:re}),{flushSync:$});return}let{path:we,submission:ve,error:Te}=f0(!0,re,F);if(Te){jn(_,j,Te,{flushSync:$});return}let Qe=t.getContext?await t.getContext():new i0,Ye=(F&&F.preventScrollReset)===!0;if(ve&&$t(ve.formMethod)){await jc(_,j,we,ae,Qe,ye.active,$,Ye,ve,F&&F.defaultShouldRevalidate);return}We.set(_,{routeId:j,path:we}),await en(_,j,we,ae,Qe,ye.active,$,Ye,ve)}async function jc(_,j,O,F,$,ue,ie,re,ae,ye){ri(),We.delete(_),Qn(_,fE(ae,N.fetchers.get(_)),{flushSync:ie});let we=new AbortController,ve=hs(t.history,O,we.signal,ae);if(ue){let ft=await oa(F,new URL(ve.url).pathname,ve.signal,_);if(ft.type==="aborted")return;if(ft.type==="error"){jn(_,j,ft.error,{flushSync:ie});return}else if(ft.matches)F=ft.matches;else{jn(_,j,qn(404,{pathname:O}),{flushSync:ie});return}}let Te=Ku(F,O);if(!Te.route.action&&!Te.route.lazy){jn(_,j,qn(405,{method:ae.formMethod,pathname:O,routeId:j}),{flushSync:ie});return}se.set(_,we);let Qe=be,Ye=xs(u,f,ve,O,F,Te,s,$),ct=await ii(ve,O,Ye,$,_),Me=ct[Te.route.id];if(!Me){for(let ft of Ye)if(ct[ft.route.id]){Me=ct[ft.route.id];break}}if(ve.signal.aborted){se.get(_)===we&&se.delete(_);return}
71if(ut.has(_)){if(gr(Me)||An(Me)){Qn(_,ha(void 0));return}}else{if(gr(Me))if(se.delete(_),xe>Qe){Qn(_,ha(void 0));return}else return Ce.add(_),Qn(_,zl(ae)),Ca(ve,Me,!1,{fetcherSubmission:ae,preventScrollReset:re});if(An(Me)){jn(_,j,Me.error);return}}let nn=N.navigation.location||N.location,xt=hs(t.history,nn,we.signal),$e=h.activeRoutes,In=N.navigation.state!=="idle"?ia($e,N.navigation.location,m,!1,h.branches):N.matches;Oe(In,"Didn't find any matches after fetcher action");let _a=++be;Ne.set(_,_a);let{dsMatches:Nn,revalidatingFetchers:Ot}=d0(xt,$,u,f,t.history,N,In,ae,nn,s,!1,Q,J,ut,We,Ce,$e,m,t.patchRoutesOnNavigation!=null,h.branches,[Te.route.id,Me],ye),oi=zl(ae,Me.data),Ra=new Map(N.fetchers);Ra.set(_,oi),Ot.filter(ft=>ft.key!==_).forEach(ft=>{let zn=ft.key,So=Ra.get(zn),un=zl(void 0,So?So.data:void 0);Ra.set(zn,un),Vt(zn),ft.controller&&se.set(zn,ft.controller)}),zt({fetchers:Ra});let Ma=()=>Ot.forEach(ft=>Vt(ft.key));we.signal.addEventListener("abort",Ma);let{loaderResults:jr,fetcherResults:ja}=await Ps(Nn,Ot,xt,nn,$);if(we.signal.aborted)return;we.signal.removeEventListener("abort",Ma),Ne.delete(_),se.delete(_),Ot.forEach(ft=>se.delete(ft.key));let Na=N.fetchers.has(_),Ee=ft=>{if(!Na)return ft;let zn=new Map(ft.fetchers);return zn.set(_,ha(Me.data)),{...ft,fetchers:zn}},Ie=Du(jr);if(Ie)return N=Ee(N),Ca(xt,Ie.result,!1,{preventScrollReset:re});if(Ie=Du(ja),Ie)return Ce.add(Ie.key),N=Ee(N),Ca(xt,Ie.result,!1,{preventScrollReset:re});let Dn=new Map(N.fetchers);Na&&Dn.set(_,ha(Me.data));let{loaderData:ui,errors:Ji}=b0(N,In,jr,void 0,Ot,ja,Dn);go(_a,Dn),N.navigation.state==="loading"&&_a>xe?(Oe(ee,"Expected pending action"),ne&&ne.abort(),on(N.navigation.location,{matches:In,loaderData:ui,errors:Ji,fetchers:Dn})):(zt({errors:Ji,loaderData:x0(N.loaderData,ui,In,Ji),fetchers:Dn}),Q=!1)}async function en(_,j,O,F,$,ue,ie,re,ae){let ye=N.fetchers.get(_);Qn(_,zl(ae,ye?ye.data:void 0),{flushSync:ie});let we=new AbortController,ve=hs(t.history,O,we.signal);if(ue){let Me=await oa(F,new URL(ve.url).pathname,ve.signal,_);if(Me.type==="aborted")return;if(Me.type==="error"){jn(_,j,Me.error,{flushSync:ie});return}else if(Me.matches)F=Me.matches;else{jn(_,j,qn(404,{pathname:O}),{flushSync:ie});return}}let Te=Ku(F,O);se.set(_,we);let Qe=be,Ye=await ii(ve,O,xs(u,f,ve,O,F,Te,s,$),$,_),ct=Ye[Te.route.id];if(!ct){for(let Me of F)if(Ye[Me.route.id]){ct=Ye[Me.route.id];break}}if(se.get(_)===we&&se.delete(_),!ve.signal.aborted){if(ut.has(_)){Qn(_,ha(void 0));return}if(gr(ct))if(xe>Qe){Qn(_,ha(void 0));return}else{Ce.add(_),await Ca(ve,ct,!1,{preventScrollReset:re});return}if(An(ct)){jn(_,j,ct.error);return}Qn(_,ha(ct.data))}}async function Ca(_,j,O,{submission:F,fetcherSubmission:$,preventScrollReset:ue,replace:ie}={}){O||(I==null||I.resolve(),I=null),j.response.headers.has("X-Remix-Revalidate")&&(Q=!0);let re=j.response.headers.get("Location");Oe(re,"Expected a Location header on the redirect Response"),re=g0(re,new URL(_.url),m,t.history);let ae=$l(N.location,re,{_isRedirect:!0});if(i){let Ye=!1;if(j.response.headers.has("X-Remix-Reload-Document"))Ye=!0;else if(hm(re)){const ct=kx(n,re,!0);Ye=ct.origin!==n.location.origin||Gn(ct.pathname,m)==null}if(Ye){ie?n.location.replace(re):n.location.assign(re);return}}ne=null;let ye=ie===!0||j.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:we,formAction:ve,formEncType:Te}=N.navigation;!F&&!$&&we&&ve&&Te&&(F=C0(N.navigation));let Qe=F||$;BC.has(j.response.status)&&Qe&&$t(Qe.formMethod)?await Ta(ye,ae,{submission:{...Qe,formAction:re},preventScrollReset:ue||pe,enableViewTransition:O?Re:void 0}):await Ta(ye,ae,{overrideNavigation:Wd(ae,[],ye,F),fetcherSubmission:$,preventScrollReset:ue||pe,enableViewTransition:O?Re:void 0})}async function ii(_,j,O,F,$){var re;let ue,ie={};try{ue=await QC(p,_,j,O,$,F,!1)}catch(ae){return O.filter(ye=>ye.shouldLoad).forEach(ye=>{ie[ye.route.id]={type:"error",error:ae}}),ie}if(_.signal.aborted)return ie;if(!$t(_.method))for(let ae of O){if(((re=ue[ae.route.id])==null?void 0:re.type)==="error")break;!ue.hasOwnProperty(ae.route.id)&&!N.loaderData.hasOwnProperty(ae.route.id)&&
71(!N.errors||!N.errors.hasOwnProperty(ae.route.id))&&ae.shouldCallHandler()&&(ue[ae.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${ae.route.id}`)})}for(let[ae,ye]of Object.entries(ue))if(sE(ye)){let we=ye.result;ie[ae]={type:"redirect",response:WC(we,_,ae,O,m)}}else ie[ae]=await JC(ye);return ie}async function Ps(_,j,O,F,$){let ue=ii(O,F,_,$,null),ie=Promise.all(j.map(async re=>{if(re.matches&&re.match&&re.request&&re.controller){let ae=(await ii(re.request,re.path,re.matches,$,re.key))[re.match.route.id];return{[re.key]:ae}}else return Promise.resolve({[re.key]:{type:"error",error:qn(404,{pathname:re.path})}})}));return{loaderResults:await ue,fetcherResults:(await ie).reduce((re,ae)=>Object.assign(re,ae),{})}}function ri(){Q=!0,We.forEach((_,j)=>{se.has(j)&&J.add(j),Vt(j)})}function Qn(_,j,O={}){let F=new Map(N.fetchers);F.set(_,j),zt({fetchers:F},{flushSync:(O&&O.flushSync)===!0})}function jn(_,j,O,F={}){let $=Hi(N.matches,j),ue=new Map(N.fetchers);Ea(ue,_),zt({errors:{[$.route.id]:O},fetchers:ue},{flushSync:(F&&F.flushSync)===!0})}function Nc(_){return bt.set(_,(bt.get(_)||0)+1),ut.has(_)&&ut.delete(_),N.fetchers.get(_)||HC}function Dc(_,j){Vt(_,j==null?void 0:j.reason),Qn(_,ha(null))}function Ea(_,j){let O=N.fetchers.get(j);se.has(j)&&!(O&&O.state==="loading"&&Ne.has(j))&&Vt(j),We.delete(j),Ne.delete(j),Ce.delete(j),ut.delete(j),J.delete(j),_.delete(j)}function tn(_){let j=(bt.get(_)||0)-1;j<=0?(bt.delete(_),ut.add(_)):bt.set(_,j),zt({fetchers:new Map(N.fetchers)})}function Vt(_,j){let O=se.get(_);O&&(O.abort(j),se.delete(_))}function Qt(_,j){for(let O of _){let F=j.get(O);Oe(F,`Expected fetcher: ${O}`);let $=ha(F.data);j.set(O,$)}}function yo(_){let j=[],O=!1;for(let F of Ce){let $=_.get(F);Oe($,`Expected fetcher: ${F}`),$.state==="loading"&&(Ce.delete(F),j.push(F),O=!0)}return Qt(j,_),O}function go(_,j){let O=[];for(let[F,$]of Ne)if($<_){let ue=j.get(F);Oe(ue,`Expected fetcher: ${F}`),ue.state==="loading"&&(Vt(F),Ne.delete(F),O.push(F))}return Qt(O,j),O.length>0}function zc(_,j){let O=N.blockers.get(_)||Dl;return Wt.get(_)!==j&&Wt.set(_,j),O}function $i(_){N.blockers.delete(_),Wt.delete(_)}function Aa(_,j){let O=N.blockers.get(_)||Dl;Oe(O.state==="unblocked"&&j.state==="blocked"||O.state==="blocked"&&j.state==="blocked"||O.state==="blocked"&&j.state==="proceeding"||O.state==="blocked"&&j.state==="unblocked"||O.state==="proceeding"&&j.state==="unblocked",`Invalid blocker state transition: ${O.state} -> ${j.state}`);let F=new Map(N.blockers);F.set(_,j),zt({blockers:F})}function Ii({currentLocation:_,nextLocation:j,historyAction:O}){if(Wt.size===0)return;Wt.size>1&&Pt(!1,"A router only supports one blocker at a time");let F=Array.from(Wt.entries()),[$,ue]=F[F.length-1],ie=N.blockers.get($);if(!(ie&&ie.state==="proceeding")&&ue({currentLocation:_,nextLocation:j,historyAction:O}))return $}function $n(_){let j=qn(404,{pathname:_}),O=h.activeRoutes,{matches:F,route:$}=Nu(O);return{notFoundMatches:F,route:$,error:j}}function Mr(_,j,O){if(C=_,E=j,M=O||null,!z&&N.navigation===Jd){z=!0;let F=qs(N.location,N.matches);F!=null&&zt({restoreScrollPosition:F})}return()=>{C=null,E=null,M=null}}function si(_,j){return M&&M(_,j.map(O=>Ux(O,N.loaderData)))||_.key}function Oc(_,j){if(C&&E){let O=si(_,j);C[O]=E()}}function qs(_,j){if(C){let O=si(_,j),F=C[O];if(typeof F=="number")return F}return null}function li(_,j,O){if(t.patchRoutesOnNavigation){let F=h.branches;if(_){if(Object.keys(_[0].params).length>0)return{active:!0,matches:ia(j,O,m,!0,F)}}else return{active:!0,matches:ia(j,O,m,!0,F)||[]}}return{active:!1,matches:null}}async function oa(_,j,O,F){if(!t.patchRoutesOnNavigation)return{type:"success",matches:_};let $=_;for(;;){let ue=f;try{await t.patchRoutesOnNavigation({signal:O,path:j,matches:$,fetcherKey:F,patch:(ye,we)=>{O.aborted||h0(ye,we,h,ue,u,!1)}})}catch(ye){return{type:"error",error:ye,partialMatches:$}}if(O.aborted)return{type:"aborted"};let ie=h.branches,re=ia(h.activeRoutes,j,m,!1,ie),ae=null;if(re){if(Object.keys(re[0].params).length===0)return{type:"success",matches:re};if(ae=ia(h.activeRoutes,j,m,!0,ie),!(ae&&$.length<ae.length&&vo($,ae.slice(0,$.length))))return{type:"success",matches:re}}if(ae||(ae=ia(h.activeRoutes,j,m,!0,ie)),!ae||vo($,ae))return{type:"success",matches:null};$=ae}}function vo(_,j){return _.length===j.length&&_.every((O,F)=>O.route.id===j[F].route.id)}function bo(_){f={},h.setHmrRoutes(Il(_,u,void 0,f))}function xo(_,j,O=!1){h0(_,j,h,f,u,O),h.hasHMRRoutes||zt({})}return te={get basename(){return m},get future(){return y},get state(){return N},get routes(){return h.stableRoutes},get branches(){return h.branches},get manifest(){return f},get window(){return n},initialize:Ls,subscribe:Vs,enableScrollRestoration:Mr,navigate:_r,fetch:Mc,revalidate:Us,createHref:_=>t.history.createHref(_),encodeLocation:_=>t.history.encodeLocation(_),getFetcher:Nc,resetFetcher:Dc,deleteFetcher:tn,dispose:Ar,getBlocker:zc,deleteBlocker:$i,patchRoutes:xo,_internalFetchControllers:se,_internalSetRoutes:bo,_internalSetStateDoNotUseOrYouWillBreakYourApp(_){zt(_)}},t.instrumentations&&(te=zC(te,t.instrumentations.map(_=>
71_.router).filter(Boolean))),te}function KC(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function Eh(t,n,i,s,o,u){let f,h;if(o){f=[];for(let p of n)if(f.push(p),p.route.id===o){h=p;break}}else f=n,h=n[n.length-1];let m=vc(s||".",mm(f),Gn(t.pathname,i)||t.pathname,u==="path");if(s==null&&(m.search=t.search,m.hash=t.hash),(s==null||s===""||s===".")&&h){let p=bm(m.search);if(h.route.index&&!p)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&p){let y=new URLSearchParams(m.search),v=y.getAll("index");y.delete("index"),v.filter(w=>w).forEach(w=>y.append("index",w));let x=y.toString();m.search=x?`?${x}`:""}}return i!=="/"&&(m.pathname=AC({basename:i,pathname:m.pathname})),ba(m)}function f0(t,n,i){if(!i||!KC(i))return{path:n};if(i.formMethod&&!uE(i.formMethod))return{path:n,error:qn(405,{method:i.formMethod})};let s=()=>({path:n,error:qn(400,{type:"invalid-body"})}),o=(i.formMethod||"get").toUpperCase(),u=i1(n);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!$t(o))return s();let y=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((v,[x,w])=>`${v}${x}=${w}
72`,""):String(i.body);return{path:n,submission:{formMethod:o,formAction:u,formEncType:i.formEncType,formData:void 0,json:void 0,text:y}}}else if(i.formEncType==="application/json"){if(!$t(o))return s();try{let y=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:o,formAction:u,formEncType:i.formEncType,formData:void 0,json:y,text:void 0}}}catch{return s()}}}Oe(typeof FormData=="function","FormData is not available in this environment");let f,h;if(i.formData)f=Rh(i.formData),h=i.formData;else if(i.body instanceof FormData)f=Rh(i.body),h=i.body;else if(i.body instanceof URLSearchParams)f=i.body,h=v0(f);else if(i.body==null)f=new URLSearchParams,h=new FormData;else try{f=new URLSearchParams(i.body),h=v0(f)}catch{return s()}let m={formMethod:o,formAction:u,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if($t(m.formMethod))return{path:n,submission:m};let p=Sa(n);return t&&p.search&&bm(p.search)&&f.append("index",""),p.search=`?${f}`,{path:ba(p),submission:m}}function d0(t,n,i,s,o,u,f,h,m,p,y,v,x,w,C,M,E,z,U,B,K,G){var H;let oe=K?An(K[1])?K[1].error:K[1].data:void 0,te=o.createURL(u.location),N=o.createURL(m),ee;if(y&&u.errors){let Q=Object.keys(u.errors)[0];ee=f.findIndex(J=>J.route.id===Q)}else if(K&&An(K[1])){let Q=K[0];ee=f.findIndex(J=>J.route.id===Q)-1}let I=K?K[1].statusCode:void 0,pe=I&&I>=400,ne={currentUrl:te,currentParams:((H=u.matches[0])==null?void 0:H.params)||{},nextUrl:N,nextParams:f[0].params,...h,actionResult:oe,actionStatus:I},Re=js(f),Le=f.map((Q,J)=>{let{route:se}=Q,be=null;if(ee!=null&&J>ee)be=!1;else if(se.lazy)be=!0;else if(!gm(se))be=!1;else if(y){let{shouldLoad:Ce}=Jx(se,u.loaderData,u.errors);be=Ce}else ZC(u.loaderData,u.matches[J],Q)&&(be=!0);if(be!==null)return Ah(i,s,t,m,Re,Q,p,n,be);let xe=!1;typeof G=="boolean"?xe=G:pe?xe=!1:(v||te.pathname+te.search===N.pathname+N.search||te.search!==N.search||YC(u.matches[J],Q))&&(xe=!0);let Ne={...ne,defaultShouldRevalidate:xe};return Ah(i,s,t,m,Re,Q,p,n,Zl(Q,Ne),Ne,G)}),ke=[];
72return C.forEach((Q,J)=>{if(y||!f.some(ut=>ut.route.id===Q.routeId)||w.has(J))return;let se=u.fetchers.get(J),be=se&&se.state!=="idle"&&se.data===void 0,xe=ia(E,Q.path,z??"/",!1,B);if(!xe){if(U&&be)return;ke.push({key:J,routeId:Q.routeId,path:Q.path,matches:null,match:null,request:null,controller:null});return}if(M.has(J))return;let Ne=Ku(xe,Q.path),Ce=new AbortController,We=hs(o,Q.path,Ce.signal),bt=null;if(x.has(J))x.delete(J),bt=xs(i,s,We,Q.path,xe,Ne,p,n);else if(be)v&&(bt=xs(i,s,We,Q.path,xe,Ne,p,n));else{let ut;typeof G=="boolean"?ut=G:pe?ut=!1:ut=v;let Wt={...ne,defaultShouldRevalidate:ut};Zl(Ne,Wt)&&(bt=xs(i,s,We,Q.path,xe,Ne,p,n,Wt))}bt&&ke.push({key:J,routeId:Q.routeId,path:Q.path,matches:bt,match:Ne,request:We,controller:Ce})}),{dsMatches:Le,revalidatingFetchers:ke}}function gm(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function Jx(t,n,i){if(t.lazy)return{shouldLoad:!0,renderFallback:!0};if(!gm(t))return{shouldLoad:!1,renderFallback:!1};let s=n!=null&&t.id in n,o=i!=null&&i[t.id]!==void 0;if(!s&&o)return{shouldLoad:!1,renderFallback:!1};if(typeof t.loader=="function"&&t.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!s};let u=!s&&!o;return{shouldLoad:u,renderFallback:u}}function ZC(t,n,i){let s=!n||i.route.id!==n.route.id,o=!t.hasOwnProperty(i.route.id);return s||o}function YC(t,n){let i=t.route.path;return t.pathname!==n.pathname||i!=null&&i.endsWith("*")&&t.params["*"]!==n.params["*"]}function Zl(t,n){if(t.route.shouldRevalidate){let i=t.route.shouldRevalidate(n);if(typeof i=="boolean")return i}return n.defaultShouldRevalidate}function h0(t,n,i,s,o,u){let f;if(t){let p=s[t];Oe(p,`No route found to patch children into: routeId = ${t}`),p.children||(p.children=[]),f=p.children}else f=i.activeRoutes;let h=[],m=[];if(n.forEach(p=>{let y=f.find(v=>Wx(p,v));y?m.push({existingRoute:y,newRoute:p}):h.push(p)}),h.length>0){let p=Il(h,o,[t||"_","patch",String((f==null?void 0:f.length)||"0")],s);f.push(...p)}if(u&&m.length>0)for(let p=0;p<m.length;p++){let{existingRoute:y,newRoute:v}=m[p],x=y,[w]=Il([v],o,[],{},!0);Object.assign(x,{element:w.element?w.element:x.element,errorElement:w.errorElement?w.errorElement:x.errorElement,hydrateFallbackElement:w.hydrateFallbackElement?w.hydrateFallbackElement:x.hydrateFallbackElement})}i.hasHMRRoutes||i.setRoutes([...i.activeRoutes])}function Wx(t,n){var i;return"id"in t&&"id"in n&&t.id===n.id?!0:t.index===n.index&&t.path===n.path&&t.caseSensitive===n.caseSensitive?(!t.children||t.children.length===0)&&(!n.children||n.children.length===0)?!0:((i=t.children)==null?void 0:i.every((s,o)=>{var u;return(u=n.children)==null?void 0:u.some(f=>Wx(s,f))}))??!1:!1}const m0=new WeakMap,e1=({key:t,route:n,manifest:i,mapRouteProperties:s})=>{let o=i[n.id];if(Oe(o,"No route found in manifest"),!o.lazy||typeof o.lazy!="object")return;let u=o.lazy[t];if(!u)return;let f=m0.get(o);f||(f={},m0.set(o,f));let h=f[t];if(h)return h;let m=(async()=>{let p=uC(t),y=o[t]!==void 0;if(p)Pt(!p,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),f[t]=Promise.resolve();else if(y)Pt(!1,`Route "${o.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let v=await u();v!=null&&(Object.assign(o,{[t]:v}),Object.assign(o,s(o)))}typeof o.lazy=="object"&&(o.lazy[t]=void 0,Object.values(o.lazy).every(v=>v===void 0)&&(o.lazy=void 0))})();return f[t]=m,m},p0=new WeakMap;function GC(t,n,i,s,o){let u=i[t.id];if(Oe(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let y=p0.get(u);if(y)return{lazyRoutePromise:y,lazyHandlerPromise:y};let v=(async()=>{Oe(typeof t.lazy=="function","No lazy route function found");let x=await t.lazy(),w={};for(let C in x){let M=x[C];if(M===void 0)continue;let E=fC(C),z=u[C]!==void 0;E?Pt(!E,"Route property "+C+" is not a supported property to be returned from a lazy route function. This property will be ignored."):z?Pt(!z,`Route "${u.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.`):w[C]=M}Object.assign(u,w),Object.assign(u,{...s(u),lazy:void 0})})();return p0.set(u,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let f=Object.keys(t.lazy),h=[],m;for(let y of f){if(o&&o.includes(y))continue;let v=e1({key:y,route:t,manifest:i,mapRouteProperties:s});v&&(h.push(v),y===n&&(m=v))}let p=h.length>0?Promise.all(h).then(()=>{}):void 0;return p==null||p.catch(()=>{}),m==null||m.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:m}}async function y0(t){let n=t.matches.filter(s=>s.shouldLoad),i={};return(await Promise.all(n.map(s=>
72s.resolve()))).forEach((s,o)=>{i[n[o].route.id]=s}),i}async function FC(t){return t.matches.some(n=>n.route.middleware)?t1(t,()=>y0(t)):y0(t)}function t1(t,n){return XC(t,n,s=>{if(oE(s))throw s;return s},iE,i);async function i(s,o,u){var f;if(u)return Object.assign(u.value,{[o]:{type:"error",result:s}});{let{matches:h}=t,m=Math.min(Math.max(h.findIndex(y=>y.route.id===o),0),Math.max(h.findIndex(y=>y.shouldCallHandler()),0)),p=h[m].route.id;for(let y of h.slice(0,m+1))try{await((f=y._lazyPromises)==null?void 0:f.route)}catch{p=y.route.id;break}return{[Hi(h,p).route.id]:{type:"error",result:s}}}}}async function XC(t,n,i,s,o){let{matches:u,...f}=t;return await n1(f,u.flatMap(h=>h.route.middleware?h.route.middleware.map(m=>[h.route.id,m]):[]),n,i,s,o)}async function n1(t,n,i,s,o,u,f=0){let{request:h}=t;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let m=n[f];if(!m)return await i();let[p,y]=m,v,x=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await n1(t,n,i,s,o,u,f+1)},v.value}catch(w){return v={value:await u(w,p,v)},v.value}};try{let w=await y(t,x),C=w!=null?s(w):void 0;return o(C)?C:v?C??v.value:(v={value:await x()},v.value)}catch(w){return await u(w,p,v)}}function a1(t,n,i,s,o){let u=e1({key:"middleware",route:s.route,manifest:n,mapRouteProperties:t}),f=GC(s.route,$t(i.method)?"action":"loader",n,t,o);return{middleware:u,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function Ah(t,n,i,s,o,u,f,h,m,p=null,y){let v=!1,x=a1(t,n,i,u,f);return{...u,_lazyPromises:x,shouldLoad:m,shouldRevalidateArgs:p,shouldCallHandler(w){return v=!0,p?typeof y=="boolean"?Zl(u,{...p,defaultShouldRevalidate:y}):typeof w=="boolean"?Zl(u,{...p,defaultShouldRevalidate:w}):Zl(u,p):m},resolve(w){let{lazy:C,loader:M,middleware:E}=u.route,z=v||m||w&&!$t(i.method)&&(C||M),U=E&&E.length>0&&!M&&!C;return z&&($t(i.method)||!U)?$C({request:i,path:s,pattern:o,match:u,lazyHandlerPromise:x==null?void 0:x.handler,lazyRoutePromise:x==null?void 0:x.route,handlerOverride:w,scopedContext:h}):Promise.resolve({type:"data",result:void 0})}}}function xs(t,n,i,s,o,u,f,h,m=null){return o.map(p=>p.route.id!==u.route.id?{...p,shouldLoad:!1,shouldRevalidateArgs:m,shouldCallHandler:()=>!1,_lazyPromises:a1(t,n,i,p,f),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Ah(t,n,i,s,js(o),p,f,h,!0,m))}async function QC(t,n,i,s,o,u,f){s.some(y=>{var v;return(v=y._lazyPromises)==null?void 0:v.middleware})&&await Promise.all(s.map(y=>{var v;return(v=y._lazyPromises)==null?void 0:v.middleware}));let h={request:n,url:ym(n,i),pattern:js(s),params:s[0].params,context:u,matches:s},p=await t({...h,fetcherKey:o,runClientMiddleware:y=>{let v=h;return t1(v,()=>y({...v,fetcherKey:o,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(s.flatMap(y=>{var v,x;return[(v=y._lazyPromises)==null?void 0:v.handler,(x=y._lazyPromises)==null?void 0:x.route]}))}catch{}return p}async function $C({request:t,path:n,pattern:i,match:s,lazyHandlerPromise:o,lazyRoutePromise:u,handlerOverride:f,scopedContext:h}){let m,p,y=$t(t.method),v=y?"action":"loader",x=w=>{let C,M=new Promise((U,B)=>C=B);p=()=>C(),t.signal.addEventListener("abort",p);let E=U=>typeof w!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${s.route.id}]`)):w({request:t,url:ym(t,n),pattern:i,params:s.params,context:h},...U!==void 0?[U]:[]),z=(async()=>{try{return{type:"data",result:await(f?f(U=>E(U)):E())}}catch(U){return{type:"error",result:U}}})();return Promise.race([z,M])};try{let w=y?s.route.action:s.route.loader;if(o||u)if(w){let C,[M]=await Promise.all([x(w).catch(E=>{C=E}),o,u]);if(C!==void 0)throw C;m=M}else{await o;let C=y?s.route.action:s.route.loader;if(C)[m]=await Promise.all([x(C),u]);else if(v==="action"){let M=new URL(t.url),E=M.pathname+M.search;throw qn(405,{method:t.method,pathname:E,routeId:s.route.id})}else return{type:"data",result:void 0}}else if(w)m=await x(w);else{let C=new URL(t.url);throw qn(404,{pathname:C.pathname+C.search})}}catch(w){return{type:"error",result:w}}finally{p&&t.signal.removeEventListener("abort",p)}return m}async function IC(t){let n=t.headers.get("Content-Type");return n&&/\bapplication\/json\b/.test(n)?t.body==null?null:t.json():t.text()}async function JC(t){var s,o,u,f,h;let{result:n,type:i}=t;if(vm(n)){let m;try{m=await IC(n)}catch(p){return{type:"error",error:p}}return i==="error"?{type:"error",error:new lo(n.status,n.statusText,m),statusCode:n.status,headers:n.headers}:{type:"data",data:m,statusCode:n.status,headers:n.headers}}return i==="error"?w0(n)?n.data instanceof Error?{type:"error",error:n.data,statusCode:(s=n.init)==null?void 0:s.status,headers:(o=n.init)!=null&&o.headers?new Headers(n.init.headers):void 0}:{type:"error",error:aE(n),statusCode:Jl(n)?n.status:void 0,headers:(u=n.init)!=null&&u.headers?new Headers(n.init.headers):void 0}:{type:"error",error:n,statusCode:Jl(n)?n.status:void 0}:w0(n)?{type:"data",data:n.data,statusCode:(f=n.init)==null?void 0:f.status,headers:(h=n.init)!=null&&h.headers?new Headers(n.init.headers):void 0}:{type:"data",data:n}}function WC(t,n,i,s,o){let u=t.headers.get("Location");if(Oe(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!hm(u)){let f=s.slice(0,s.findIndex(h=>h.route.id===i)+1);u=Eh(new URL(n.url),f,o,u),t.headers.set("Location",u)}return t}const eE=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function _h(t){try{return eE.includes(new URL(t).protocol)}catch{return!1}}
72function g0(t,n,i,s){if(hm(t)){let o=t,u=dm.test(o)?new URL(Ox(o,n.protocol)):new URL(o);if(_h(u.toString()))throw new Error("Invalid redirect location");let f=Gn(u.pathname,i)!=null;if(u.origin===n.origin&&f)return pm(u.pathname)+u.search+u.hash}try{if(_h(s.createURL(t).toString()))throw new Error("Invalid redirect location")}catch{}return t}function hs(t,n,i,s){let o=t.createURL(i1(n)).toString(),u={signal:i};if(s&&$t(s.formMethod)){let{formMethod:f,formEncType:h}=s;u.method=f.toUpperCase(),h==="application/json"?(u.headers=new Headers({"Content-Type":h}),u.body=JSON.stringify(s.json)):h==="text/plain"?u.body=s.text:h==="application/x-www-form-urlencoded"&&s.formData?u.body=Rh(s.formData):u.body=s.formData}return new Request(o,u)}function Rh(t){let n=new URLSearchParams;for(let[i,s]of t.entries())n.append(i,typeof s=="string"?s:s.name);return n}function v0(t){let n=new FormData;for(let[i,s]of t.entries())n.append(i,s);return n}function tE(t,n,i,s=!1,o=!1){let u={},f=null,h,m=!1,p={},y=i&&An(i[1])?i[1].error:void 0;return t.forEach(v=>{if(!(v.route.id in n))return;let x=v.route.id,w=n[x];if(Oe(!gr(w),"Cannot handle redirect results in processLoaderData"),An(w)){let C=w.error;if(y!==void 0&&(C=y,y=void 0),f=f||{},o)f[x]=C;else{let M=Hi(t,x);f[M.route.id]==null&&(f[M.route.id]=C)}s||(u[x]=Ix),m||(m=!0,h=Jl(w.error)?w.error.status:500),w.headers&&(p[x]=w.headers)}else u[x]=w.data,w.statusCode&&w.statusCode!==200&&!m&&(h=w.statusCode),w.headers&&(p[x]=w.headers)}),y!==void 0&&i&&(f={[i[0]]:y},i[2]&&(u[i[2]]=void 0)),{loaderData:u,errors:f,statusCode:h||200,loaderHeaders:p}}function b0(t,n,i,s,o,u,f){let{loaderData:h,errors:m}=tE(n,i,s);return o.filter(p=>!p.matches||p.matches.some(y=>y.shouldLoad)).forEach(p=>{let{key:y,match:v,controller:x}=p;if(x&&x.signal.aborted)return;let w=u[y];if(Oe(w,"Did not find corresponding fetcher result"),An(w)){let C=Hi(t.matches,v==null?void 0:v.route.id);m&&m[C.route.id]||(m={...m,[C.route.id]:w.error}),f.delete(y)}else if(gr(w))Oe(!1,"Unhandled fetcher revalidation redirect");else{let C=ha(w.data);f.set(y,C)}}),{loaderData:h,errors:m}}function x0(t,n,i,s){let o=Object.entries(n).filter(([,u])=>u!==Ix).reduce((u,[f,h])=>(u[f]=h,u),{});for(let u of i){let f=u.route.id;if(!n.hasOwnProperty(f)&&t.hasOwnProperty(f)&&u.route.loader&&(o[f]=t[f]),s&&s.hasOwnProperty(f))break}return o}function S0(t){return t?An(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Hi(t,n){return(n?t.slice(0,t.findIndex(i=>i.route.id===n)+1):[...t]).reverse().find(i=>i.route.ErrorBoundary!=null||i.route.errorElement!=null)||t[0]}function Nu(t){let n=t.length===1?t[0]:t.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:n}],route:n}}function qn(t,{pathname:n,routeId:i,method:s,type:o,message:u}={}){let f="Unknown Server Error",h="Unknown @remix-run/router error";return t===400?(f="Bad Request",s&&n&&i?h=`You made a ${s} request to "${n}" but did not provide a \`loader\` for route "${i}", so there is no way to handle the request.`:o==="invalid-body"&&(h="Unable to encode submission body")):t===403?(f="Forbidden",h=`Route "${i}" does not match URL "${n}"`):t===404?(f="Not Found",h=`No route matches URL "${n}"`):t===405&&(f="Method Not Allowed",s&&n&&i?h=`You made a ${s.toUpperCase()} request to "${n}" but did not provide an \`action\` for route "${i}", so there is no way to handle the request.`:s&&(h=`Invalid request method "${s.toUpperCase()}"`)),new lo(t||500,f,new Error(h),!0)}function Du(t){let n=Object.entries(t);for(let i=n.length-1;i>=0;i--){let[s,o]=n[i];if(gr(o))return{key:s,result:o}}}function i1(t){return ba({...typeof t=="string"?Sa(t):t,hash:""})}function nE(t,n){return t.pathname!==n.pathname||t.search!==n.search?!1:t.hash===""?n.hash!=="":t.hash===n.hash?!0:n.hash!==""}function aE(t){var n,i;return new lo(((n=t.init)==null?void 0:n.status)??500,((i=t.init)==null?void 0:i.statusText)??"Internal Server Error",t.data)}function iE(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([n,i])=>typeof n=="string"&&rE(i))}function rE(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function sE(t){return vm(t.result)&&Qx.has(t.result.status)}function An(t){return t.type==="error"}function gr(t){return(t&&t.type)==="redirect"}function w0(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function vm(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function lE(t){return Qx.has(t)}function oE(t){return vm(t)&&lE(t.status)&&t.headers.has("Location")}function uE(t){return UC.has(t.toUpperCase())}function $t(t){return LC.has(t.toUpperCase())}function bm(t){return new URLSearchParams(t).getAll("index").some(n=>n==="")}function Ku(t,n){let i=typeof n=="string"?Sa(n).search:n.search;if(t[t.length-1].route.index&&bm(i||""))return t[t.length-1];let s=Kx(t);return s[s.length-1]}function T0(t,n,i){var s;return{url:ym(t.createURL(n),n),pattern:i?js(i):"",params:(s=i==null?void 0:i[0])!=null&&s.params?{...i[0].params}:{}}}function C0(t){let{formMethod:n,formAction:i,formEncType:s,text:o,formData:u,json:f}=t;
72if(!(!n||!i||!s)){if(o!=null)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:void 0,text:o};if(u!=null)return{formMethod:n,formAction:i,formEncType:s,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:n,formAction:i,formEncType:s,formData:void 0,json:f,text:void 0}}}function Wd(t,n,i,s){return s?{state:"loading",location:t,matches:n,historyAction:i,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}:{state:"loading",location:t,matches:n,historyAction:i,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function cE(t,n,i,s){return{state:"submitting",location:t,matches:n,historyAction:i,formMethod:s.formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}}function zl(t,n){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:n}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function fE(t,n){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:n?n.data:void 0}}function ha(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function dE(t,n){try{let i=t.sessionStorage.getItem($x);if(i){let s=JSON.parse(i);for(let[o,u]of Object.entries(s||{}))u&&Array.isArray(u)&&n.set(o,new Set(u||[]))}}catch{}}function hE(t,n){if(n.size>0){let i={};for(let[s,o]of n)i[s]=[...o];try{t.sessionStorage.setItem($x,JSON.stringify(i))}catch(s){Pt(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function E0(){let t,n,i=new Promise((s,o)=>{t=async u=>{s(u);try{await i}catch{}},n=async u=>{o(u);try{await i}catch{}}});return{promise:i,resolve:t,reject:n}}/**
73 * react-router v8.3.0
74 *
75 * Copyright (c) Remix Software Inc.
76 *
77 * This source code is licensed under the MIT license found in the
78 * LICENSE.md file in the root directory of this source tree.
79 *
80 * @license MIT
81 */const Er=T.createContext(null);Er.displayName="DataRouter";const Ns=T.createContext(null);Ns.displayName="DataRouterState";const r1=T.createContext(!1);function s1(){return T.useContext(r1)}const xm=T.createContext({isTransitioning:!1});xm.displayName="ViewTransition";const l1=T.createContext(new Map);l1.displayName="Fetchers";const mE=T.createContext(null);mE.displayName="Await";const Mn=T.createContext(null);Mn.displayName="Navigation";const bc=T.createContext(null);bc.displayName="Location";const la=T.createContext({outlet:null,matches:[],isDataRoute:!1});la.displayName="Route";const Sm=T.createContext(null);Sm.displayName="RouteError";/**
82 * react-router v8.3.0
83 *
84 * Copyright (c) Remix Software Inc.
85 *
86 * This source code is licensed under the MIT license found in the
87 * LICENSE.md file in the root directory of this source tree.
88 *
89 * @license MIT
90 */const o1="REACT_ROUTER_ERROR",pE="REDIRECT",yE="ROUTE_ERROR_RESPONSE";function gE(t){if(t.startsWith(`${o1}:${pE}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function vE(t){if(t.startsWith(`${o1}:${yE}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new lo(n.status,n.statusText,n.data)}catch{}}/**
91 * react-router v8.3.0
92 *
93 * Copyright (c) Remix Software Inc.
94 *
95 * This source code is licensed under the MIT license found in the
96 * LICENSE.md file in the root directory of this source tree.
97 *
98 * @license MIT
99 */function bE(t,{relative:n}={}){Oe(oo(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=T.useContext(Mn),{hash:o,pathname:u,search:f}=uo(t,{relative:n}),h=u;return i!=="/"&&(h=u==="/"?i:Zn([i,u])),s.createHref({pathname:h,search:f,hash:o})}function oo(){return T.useContext(bc)!=null}function yn(){return Oe(oo(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(bc).location}const u1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function c1(){let{isDataRoute:t}=T.useContext(la);return t?kE():xE()}function xE(){Oe(oo(),"useNavigate() may be used only in the context of a <Router> component.");
99let t=T.useContext(Er),{basename:n,navigator:i}=T.useContext(Mn),{matches:s}=T.useContext(la),{pathname:o}=yn(),u=JSON.stringify(mm(s)),f=T.useRef(!1);return T.useLayoutEffect(()=>{f.current=!0}),T.useCallback((h,m={})=>{if(Pt(f.current,u1),!f.current)return;if(typeof h=="number"){i.go(h);return}let p=vc(h,JSON.parse(u),o,m.relative==="path");t==null&&n!=="/"&&(p.pathname=p.pathname==="/"?n:Zn([n,p.pathname])),(m.replace?i.replace:i.push)(p,m.state,m)},[n,i,u,o,t])}const SE=T.createContext(null);function wE(t){let n=T.useContext(la).outlet;return T.useMemo(()=>n&&T.createElement(SE.Provider,{value:t},n),[n,t])}function gD(){var n;let{matches:t}=T.useContext(la);return((n=t[t.length-1])==null?void 0:n.params)??{}}function uo(t,{relative:n}={}){let{matches:i}=T.useContext(la),{pathname:s}=yn(),o=JSON.stringify(mm(i));return T.useMemo(()=>vc(t,JSON.parse(o),s,n==="path"),[t,o,s,n])}function TE(t,n,i){Oe(oo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=T.useContext(Mn),{matches:o}=T.useContext(la),u=o[o.length-1],f=u?u.params:{};u&&u.pathname;let h=u?u.pathnameBase:"/";u&&u.route;let m=yn(),p;p=m;let y=p.pathname||"/",v=y;if(h!=="/"){let C=h.replace(/^\//,"").split("/");v="/"+y.replace(/^\//,"").split("/").slice(C.length).join("/")}let x=i&&i.state.matches.length?i.state.matches.map(C=>Object.assign(C,{route:i.manifest[C.route.id]||C.route})):Vx(t,{pathname:v});return ME(x&&x.map(C=>Object.assign({},C,{params:Object.assign({},f,C.params),pathname:Zn([h,s.encodeLocation?s.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?h:Zn([h,s.encodeLocation?s.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),o,i)}function CE(){let t=OE(),n=Jl(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),i=t instanceof Error?t.stack:null;return T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},n),i?T.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},i):null,null)}const EE=T.createElement(CE,null);var xh,AE=(xh=class extends T.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const i=vE(t.digest);i&&(t=i)}let n=t!==void 0?T.createElement(la.Provider,{value:this.props.routeContext},T.createElement(Sm.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?T.createElement(_E,{error:t},n):n}},ta(xh,"contextType",r1),xh);const eh=new WeakMap;function _E({children:t,error:n}){let{basename:i}=T.useContext(Mn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let s=gE(n.digest);if(s){let o=eh.get(n);if(o)throw o;let u=Gx(s.location,i),f=u.absoluteURL||u.to;if(_h(f))throw new Error("Invalid redirect location");if(Yx&&!eh.get(n))if(u.isExternal||s.reloadDocument)window.location.href=f;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:s.replace}));throw eh.set(n,h),h}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f}`})}}return t}function RE({routeContext:t,match:n,children:i}){let s=T.useContext(Er);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),T.createElement(la.Provider,{value:t},i)}function ME(t,n=[],i){let s=i==null?void 0:i.state;if(t==null){if(!s)return null;if(s.errors)t=s.matches;else if(n.length===0&&!s.initialized&&s.matches.length>0)t=s.matches;else return null}let o=t,u=s==null?void 0:s.errors;if(u!=null){let y=o.findIndex(v=>v.route.id&&(u==null?void 0:u[v.route.id])!==void 0);Oe(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,y+1))}let f=!1,h=-1;if(i&&s){f=s.renderFallback;for(let y=0;y<o.length;y++){let v=o[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(h=y),v.route.id){let{loaderData:x,errors:w}
99=s,C=v.route.loader&&!x.hasOwnProperty(v.route.id)&&(!w||w[v.route.id]===void 0);if(v.route.lazy||C){i.isStatic&&(f=!0),h>=0?o=o.slice(0,h+1):o=[o[0]];break}}}}let m=i==null?void 0:i.onError,p=s&&m?(y,v)=>{var x,w;m(y,{location:s.location,params:((w=(x=s.matches)==null?void 0:x[0])==null?void 0:w.params)??{},pattern:js(s.matches),errorInfo:v})}:void 0;return o.reduceRight((y,v,x)=>{let w,C=!1,M=null,E=null;s&&(w=u&&v.route.id?u[v.route.id]:void 0,M=v.route.errorElement||EE,f&&(h<0&&x===0?(LE("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,E=null):h===x&&(C=!0,E=v.route.hydrateFallbackElement||null)));let z=n.concat(o.slice(0,x+1)),U=()=>{let B;return w?B=M:C?B=E:v.route.Component?B=T.createElement(v.route.Component,null):v.route.element?B=v.route.element:B=y,T.createElement(RE,{match:v,routeContext:{outlet:y,matches:z,isDataRoute:s!=null},children:B})};return s&&(v.route.ErrorBoundary||v.route.errorElement||x===0)?T.createElement(AE,{location:s.location,revalidation:s.revalidation,component:M,error:w,children:U(),routeC
99ontext:{outlet:null,matches:z,isDataRoute:!0},onError:p}):U()},null)}function wm(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function jE(t){let n=T.useContext(Er);return Oe(n,wm(t)),n}function Tm(t){let n=T.useContext(Ns);return Oe(n,wm(t)),n}function NE(t){let n=T.useContext(la);return Oe(n,wm(t)),n}function Cm(t){let n=NE(t),i=n.matches[n.matches.length-1];return Oe(i.route.id,`${t} can only be used on routes that contain a unique "id"`),i.route.id}function DE(){return Cm("useRouteId")}function zE(){let t=Tm("useNavigation");return T.useMemo(()=>{let{matches:n,historyAction:i,...s}=t.navigation;return s},[t.navigation])}function f1(){let{matches:t,loaderData:n}=Tm("useMatches");return T.useMemo(()=>t.map(i=>Ux(i,n)),[t,n])}function OE(){var s;let t=T.useContext(Sm),n=Tm("useRouteError"),i=Cm("useRouteError");return t!==void 0?t:(s=n.errors)==null?void 0:s[i]}function kE(){let{router:t}=jE("useNavigate"),n=Cm("useNavigate"),i=T.useRef(!1);return T.useLayoutEffect(()=>{i.current=!0}),T.useCallback(async(s,o={})=>{Pt(i.current,u1),i.current&&(typeof s=="number"?await t.navigate(s):await t.navigate(s,{fromRouteId:n,...o}))},[t,n])}const A0={};function LE(t,n,i){A0[t]||(A0[t]=!0,Pt(!1,i))}/**
100 * react-router v8.3.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 _0={};function R0(t,n){!t&&!_0[n]&&(_0[n]=!0,console.warn(n))}/**
109 * react-router v8.3.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 VE=["HydrateFallback","hydrateFallbackElement"];var UE=class{constructor(){ta(this,"status","pending");ta(this,"promise");ta(this,"resolve");ta(this,"reject");this.promise=new Promise((t,n)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",n(i))}})}};function BE({router:t,flushSync:n,onError:i,useTransitions:s}){s=s1()||s;let[o,u]=T.useState(t.state),[f,h]=T.useOptimistic(o),[m,p]=T.useState(),[y,v]=T.useState({isTransitioning:!1}),[x,w]=T.useState(),[C,M]=T.useState(),[E,z]=T.useState(),U=T.useRef(new Map),B=T.useCallback((te,{deletedFetchers:N,newErrors:ee,flushSync:I,viewTransitionOpts:pe})=>{ee&&i&&Object.values(ee).forEach(Re=>{var Le;return i(Re,{location:te.location,params:((Le=te.matches[0])==null?void 0:Le.params)??{},pattern:js(te.matches)})}),te.fetchers.forEach((Re,Le)=>{Re.data!==void 0&&U.current.set(Le,Re.data)}),N.forEach(Re=>U.current.delete(Re)),R0(I===!1||n!=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 ne=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(R0(pe==null||ne,"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."),!pe||!ne){n&&I?n(()=>u(te)):s===!1?u(te):T.startTransition(()=>{s===!0&&h(Re=>M0(Re,te)),u(te)});return}if(n&&I){n(()=>{C&&(x==null||x.resolve(),C.skipTransition()),v({isTransitioning:!0,flushSync:!0,currentLocation:pe.currentLocation,nextLocation:pe.nextLocation})});let Re=t.window.document.startViewTransition(()=>{n(()=>u(te))});Re.finished.finally(()=>{n(()=>{w(void 0),M(void 0),p(void 0),v({isTransitioning:!1})})}),n(()=>M(Re));return}C?(x==null||x.resolve(),C.skipTransition(),z({state:te,currentLocation:pe.currentLocation,nextLocation:pe.nextLocation})):(p(te),v({isTransitioning:!0,flushSync:!1,currentLocation:pe.currentLocation,nextLocation:pe.nextLocation}))},[t.window,n,C,x,s,h,i]);T.useLayoutEffect(()=>t.subscribe(B),[t,B]),T.useEffect(()=>{y.isTransitioning&&!y.flushSync&&w(new UE)},[y]),T.useEffect(()=>{if(x&&m&&t.window){let te=m,N=x.promise,ee=t.window.document.startViewTransition(async()=>{s===!1?u(te):T.startTransition(()=>{s===!0&&h(I=>M0(I,te)),u(te)}),await N});ee.finished.finally(()=>{w(void 0),M(void 0),p(void 0),v({isTransitioning:!1})}),M(ee)}},[m,x,t.window,s,h]),T.useEffect(()=>{x&&m&&f.location.key===m.location.key&&x.resolve()},[x,C,f.location,m]),T.useEffect(()=>{!y.isTransitioning&&E&&(p(E.state),v({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),z(void 0))},[y.isTransitioning,E]);let K=T.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:te=>t.navigate(te),push:(te,N,ee)=>t.navigate(te,{state:N,preventScrollReset:ee==null?void 0:ee.preventScrollReset}),replace:(te,N,ee)=>t.navigate(te,{replace:!0,state:N,preventScrollReset:ee==null?void 0:ee.preventScrollReset})}),[t]),G=t.basename||"/",oe=T.useMemo(()=>({router:t,navigator:K,static:!1,basename:G,onError:i}),[t,K,G,i]);return T.createElement(T.Fragment,null,T.createElement(Er.Provider,{value:oe},T.createElement(Ns.Provider,{value:f},T.createElement(l1.Provider,{value:U.current},T.createElement(xm.Provider,{value:y},T.createElement(KE,{basename:G,location:f.location,navigationType:f.historyAction,navigator:K,useTransitions:s},T.createElement(HE,{routes:t.routes,manifest:t.manifest,future:t.future,state:f,isStatic:!1,onError:i})))))),null)}function M0(t,n){return{...t,navigation:n.navigation.state!=="idle"?n.navigation:t.navigation,revalidation:n.revalidation!=="idle"?n.revalidation:t.revalidation,actionData:n.navigation.state!=="submitting"?n.actionData:t.actionData,fetchers:n.fetchers}}const HE=T.memo(PE);function PE({routes:t,manifest:n,future:i,state:s,isStatic:o,onError:u}){return TE(t,void 0,{manifest:n,state:s,isStatic:o,onError:u})}function qE(t){return wE(t.context)}function KE({basename:t="/",children:n=null,location:i,navigationType:s="POP",navigator:o,static:u=!1,useTransitions:f}){Oe(!oo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),m=T.useMemo(()=>({basename:h,navigator:o,static:u,useTransitions:f,future:{}}),[h,o,u,f]);typeof i=="string"&&(i=Sa(i));let{pathname:p="/",search:y="",hash:v="",state:x=null,key:w="default",mask:C}
117=i,M=T.useMemo(()=>{let E=Gn(p,h);return E==null?null:{location:{pathname:E,search:y,hash:v,state:x,key:w,mask:C},navigationType:s}},[h,p,y,v,x,w,s,C]);return Pt(M!=null,`<Router basename="${h}"> is not able to match the URL "${p}${y}${v}" because it does not start with the basename, so the <Router> won't render anything.`),M==null?null:T.createElement(Mn.Provider,{value:m},T.createElement(bc.Provider,{children:n,value:M}))}/**
118 * react-router v8.3.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 */const Zu="application/x-www-form-urlencoded";function xc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function ZE(t){return xc(t)&&t.tagName.toLowerCase()==="button"}function YE(t){return xc(t)&&t.tagName.toLowerCase()==="form"}function GE(t){return xc(t)&&t.tagName.toLowerCase()==="input"}function FE(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function XE(t,n){return t.button===0&&(!n||n==="_self")&&!FE(t)}function Mh(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((n,i)=>{let s=t[i];return n.concat(Array.isArray(s)?s.map(o=>[i,o]):[[i,s]])},[]))}function QE(t,n){let i=Mh(t);return n&&n.forEach((s,o)=>{i.has(o)||n.getAll(o).forEach(u=>{i.append(o,u)})}),i}let zu=null;function $E(){if(zu===null)try{new FormData(document.createElement("form"),0),zu=!1}catch{zu=!0}return zu}const IE=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function th(t){return t!=null&&!IE.has(t)?(Pt(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Zu}"`),null):t}function JE(t,n){let i,s,o,u,f;if(YE(t)){let h=t.getAttribute("action");s=h?Gn(h,n):null,i=t.getAttribute("method")||"get",o=th(t.getAttribute("enctype"))||Zu,u=new FormData(t)}else if(ZE(t)||GE(t)&&(t.type==="submit"||t.type==="image")){let h=t.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||h.getAttribute("action");if(s=m?Gn(m,n):null,i=t.getAttribute("formmethod")||h.getAttribute("method")||"get",o=th(t.getAttribute("formenctype"))||th(h.getAttribute("enctype"))||Zu,u=new FormData(h,t),!$E()){let{name:p,type:y,value:v}=t;if(y==="image"){let x=p?`${p}.`:"";u.append(`${x}x`,"0"),u.append(`${x}y`,"0")}else p&&u.append(p,v)}}else{if(xc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i="get",s=null,o=Zu,f=t}return u&&o==="text/plain"&&(f=u,u=void 0),{action:s,method:i.toLowerCase(),encType:o,formData:u,body:f}}/**
127 * react-router v8.3.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 */function Em(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}/**
136 * react-router v8.3.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 WE={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},eA=/[&><\u2028\u2029]/g;function j0(t){return t.replace(eA,n=>WE[n])}/**
145 * react-router v8.3.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 */function d1(t,n){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${n}`:i.pathname=`${i.pathname}.${n}`,i}/**
154 * react-router v8.3.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 */async function tA(t,n){if(t.id in n)return n[t.id];try{let i=await import(t.module);return n[t.id]=i,i}catch(i){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.
162isSpaMode,window.location.reload(),new Promise(()=>{})}}/**
163 * react-router v8.3.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 */function nA(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function aA(t,n,i){return lA((await Promise.all(t.map(async s=>{let o=n.routes[s.route.id];if(o){let u=await tA(o,i);return u.links?u.links():[]}return[]}))).flat(1).filter(nA).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function N0(t,n,i,s,o,u){let f=(m,p)=>i[p]?m.route.id!==i[p].route.id:!0,h=(m,p)=>{var y;return i[p].pathname!==m.pathname||((y=i[p].route.path)==null?void 0:y.endsWith("*"))&&i[p].params["*"]!==m.params["*"]};return u==="assets"?n.filter((m,p)=>f(m,p)||h(m,p)):u==="data"?n.filter((m,p)=>{var v;let y=s.routes[m.route.id];if(!y||!y.hasLoader)return!1;if(f(m,p)||h(m,p))return!0;if(m.route.shouldRevalidate){let x=m.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((v=i[0])==null?void 0:v.params)||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function iA(t,n,{includeHydrateFallback:i}={}){return rA(t.map(s=>{let o=n.routes[s.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function rA(t){return[...new Set(t)]}function sA(t){let n={},i=Object.keys(t).sort();for(let s of i)n[s]=t[s];return n}function lA(t,n){let i=new Set;return new Set(n),t.reduce((s,o)=>{let u=JSON.stringify(sA(o));return i.has(u)||(i.add(u),s.push({key:u,link:o})),s},[])}/**
172 * react-router v8.3.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 oA(){let t=T.useContext(Er);return Em(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function uA(){let t=T.useContext(Ns);return Em(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}const Sc=T.createContext(void 0);Sc.displayName="FrameworkContext";function Am(){let t=T.useContext(Sc);return Em(t,"You must render this element inside a <HydratedRouter> element"),t}function cA(t,n){let i=T.useContext(Sc),[s,o]=T.useState(!1),[u,f]=T.useState(!1),{onFocus:h,onBlur:m,onMouseEnter:p,onMouseLeave:y,onTouchStart:v}=n,x=T.useRef(null);T.useEffect(()=>{if(t==="render"&&f(!0),t==="viewport"){let M=z=>{z.forEach(U=>{f(U.isIntersecting)})},E=new IntersectionObserver(M,{threshold:.5});return x.current&&E.observe(x.current),()=>{E.disconnect()}}},[t]),T.useEffect(()=>{if(s){let M=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(M)}}},[s]);let w=()=>{o(!0)},C=()=>{o(!1),f(!1)};return i?t!=="intent"?[u,x,{}]:[u,x,{onFocus:Ol(h,w),onBlur:Ol(m,C),onMouseEnter:Ol(p,w),onMouseLeave:Ol(y,C),onTouchStart:Ol(v,w)}]:[!1,x,{}]}function Ol(t,n){return i=>{t&&t(i),i.defaultPrevented||n(i)}}function fA({page:t,...n}){let i=s1(),{nonce:s}=Am(),{router:o}=oA(),u=T.useMemo(()=>Vx(o.routes,t,o.basename),[o.routes,t,o.basename]);return u?(n.nonce==null&&s&&(n={...n,nonce:s}),i?T.createElement(hA,{page:t,matches:u,...n}):T.createElement(mA,{page:t,matches:u,...n})):null}function dA(t){let{manifest:n,routeModules:i}=Am(),[s,o]=T.useState([]);return T.useEffect(()=>{let u=!1;return aA(t,n,i).then(f=>{u||o(f)}),()=>{u=!0}},[t,n,i]),s}function hA({page:t,matches:n,...i}){let s=yn(),o=T.useMemo(()=>{if(t===s.pathname+s.search+s.hash)return[];let u=d1(t,"rsc"),f=!1,h=[];for(let m of n)typeof m.route.shouldRevalidate=="function"?f=!0:h.push(m.route.id);return f&&h.length>0&&u.searchParams.set("_routes",h.join(",")),[u.pathname+u.search]},[t,s,n]);return T.createElement(T.Fragment,null,o.map(u=>T.createElement("link",{key:u,rel:"prefetch",as:"fetch",href:u,...i})))}function mA({page:t,matches:n,...i}){let s=yn(),{manifest:o,routeModules:u}=Am(),{loaderData:f,matches:h}=uA(),m=T.useMemo(()=>N0(t,n,h,o,s,"data"),[t,n,h,o,s]),p=T.useMemo(()=>N0(t,n,h,o,s,"assets"),[t,n,h,o,s]),y=T.useMemo(()=>
180{if(t===s.pathname+s.search+s.hash)return[];let w=new Set,C=!1;if(n.forEach(E=>{var U;let z=o.routes[E.route.id];!z||!z.hasLoader||(!m.some(B=>B.route.id===E.route.id)&&E.route.id in f&&((U=u[E.route.id])!=null&&U.shouldRevalidate)||z.hasClientLoader?C=!0:w.add(E.route.id))}),w.size===0)return[];let M=d1(t,"data");return C&&w.size>0&&M.searchParams.set("_routes",n.filter(E=>w.has(E.route.id)).map(E=>E.route.id).join(",")),[M.pathname+M.search]},[f,s,o,m,n,t,u]),v=T.useMemo(()=>iA(p,o),[p,o]),x=dA(p);return T.createElement(T.Fragment,null,y.map(w=>T.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...i})),v.map(w=>T.createElement("link",{key:w,rel:"modulepreload",href:w,...i})),x.map(({key:w,link:C})=>T.createElement("link",{key:w,nonce:i.nonce,...C,crossOrigin:C.crossOrigin??i.crossOrigin})))}function pA(...t){return n=>{t.forEach(i=>{typeof i=="function"?i(n):i!=null&&(i.current=n)})}}/**
181 * react-router v8.3.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 */const yA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{yA&&(window.__reactRouterVersion="8.3.0")}catch{}function gA(t,n){return qC({basename:n==null?void 0:n.basename,getContext:n==null?void 0:n.getContext,future:n==null?void 0:n.future,history:rC({window:n==null?void 0:n.window}),hydrationData:vA(),routes:t,mapRouteProperties:Lx,hydrationRouteProperties:VE,dataStrategy:n==null?void 0:n.dataStrategy,patchRoutesOnNavigation:n==null?void 0:n.patchRoutesOnNavigation,window:n==null?void 0:n.window,instrumentations:n==null?void 0:n.instrumentations}).initialize()}function vA(){let t=window==null?void 0:window.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:bA(t.errors)}),t}function bA(t){if(!t)return null;let n=Object.entries(t),i={};for(let[s,o]of n)if(o&&o.__type==="RouteErrorResponse")i[s]=new lo(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(typeof o.__subType=="string"&&NC.includes(o.__subType)){let u=window[o.__subType];if(typeof u=="function")try{let f=new u(o.message);f.stack="",i[s]=f}catch{}}if(i[s]==null){let u=new Error(o.message);u.stack="",i[s]=u}}else i[s]=o;return i}const vt=T.forwardRef(function({onClick:n,discover:i="render",prefetch:s="none",relative:o,reloadDocument:u,replace:f,mask:h,state:m,target:p,to:y,preventScrollReset:v,viewTransition:x,defaultShouldRevalidate:w,...C},M){let{basename:E,navigator:z,useTransitions:U}=T.useContext(Mn),B=typeof y=="string"&&gc.test(y),K=Gx(y,E);y=K.to;let G=bE(y,{relative:o}),oe=yn(),te=null;if(h){let ke=vc(h,[],oe.mask?oe.mask.pathname:"/",!0);E!=="/"&&(ke.pathname=ke.pathname==="/"?E:Zn([E,ke.pathname])),te=z.createHref(ke)}let[N,ee,I]=cA(s,C),pe=TA(y,{replace:f,mask:h,state:m,target:p,preventScrollReset:v,relative:o,viewTransition:x,defaultShouldRevalidate:w,useTransitions:U});function ne(ke){n&&n(ke),ke.defaultPrevented||pe(ke)}let Re=!(K.isExternal||u),Le=T.createElement("a",{...C,...I,href:(Re?te:void 0)||K.absoluteURL||G,onClick:Re?ne:n,ref:pA(M,ee),target:p,"data-discover":!B&&i==="render"?"true":void 0});return N&&!B?T.createElement(T.Fragment,null,Le,T.createElement(fA,{page:G})):Le});vt.displayName="Link";const xA=T.forwardRef(function({"aria-current":n="page",caseSensitive:i=!1,className:s="",end:o=!1,style:u,to:f,viewTransition:h,children:m,...p},y){let v=uo(f,{relative:p.relative}),x=yn(),w=T.useContext(Ns),{navigator:C,basename:M}=T.useContext(Mn),E=w!=null&&jA(v)&&h===!0,z=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,U=x.pathname,B=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;i||(U=U.toLowerCase(),B=B?B.toLowerCase():null,z=z.toLowerCase()),B&&M&&(B=Gn(B,M)||B);const K=z!=="/"&&z.endsWith("/")?z.length-1:z.length;let G=U===z||!o&&U.startsWith(z)&&U.charAt(K)==="/",oe=B!=null&&(B===z||!o&&B.startsWith(z)&&B.charAt(K)==="/"),te={isActive:G,isPending:oe,isTransitioning:E},N=G?n:void 0,ee;typeof s=="function"?ee=s(te):ee=[s,G?"active":null,oe?"pending":null,E?"transitioning":null].filter(
189Boolean).join(" ");let I=typeof u=="function"?u(te):u;return T.createElement(vt,{...p,"aria-current":N,className:ee,ref:y,style:I,to:f,viewTransition:h},typeof m=="function"?m(te):m)});xA.displayName="NavLink";const SA=T.forwardRef(({discover:t="render",fetcherKey:n,navigate:i,reloadDocument:s,replace:o,state:u,method:f="get",action:h,onSubmit:m,relative:p,preventScrollReset:y,viewTransition:v,defaultShouldRevalidate:x,...w},C)=>{let{useTransitions:M}=T.useContext(Mn),E=AA(),z=_A(h,{relative:p}),U=f.toLowerCase()==="get"?"get":"post",B=typeof h=="string"&&gc.test(h),K=G=>{if(m&&m(G),G.defaultPrevented)return;G.preventDefault();let oe=G.nativeEvent.submitter,te=(oe==null?void 0:oe.getAttribute("formmethod"))||f,N=()=>E(oe||G.currentTarget,{fetcherKey:n,method:te,navigate:i,replace:o,state:u,relative:p,preventScrollReset:y,viewTransition:v,defaultShouldRevalidate:x});M&&i!==!1?T.startTransition(()=>N()):N()};return T.createElement("form",{ref:C,method:U,action:z,onSubmit:s?m:K,...w,"data-discover":!B&&t==="render"?"true":void 0})});SA.displayName="Form";function h1({getKey:t,storageKey:n,...i}){let s=T.useContext(Sc),{basename:o}=T.useContext(Mn),u=yn(),f=f1();RA({getKey:t,storageKey:n});let h=T.useMemo(()=>{if(!s||!t)return null;let p=Nh(u,f,o,t);return p!==u.key?p:null},[]);if(!s||s.isSpaMode)return null;let m=((p,y)=>{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(p)||"{}")[y||window.history.state.key];typeof v=="number"&&window.scrollTo(0,v)}catch(v){console.error(v),sessionStorage.removeItem(p)}}).toString();return i.nonce==null&&(s!=null&&s.nonce)&&(i.nonce=s.nonce),T.createElement("script",{...i,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${m})(${j0(JSON.stringify(n||jh))}, ${j0(JSON.stringify(h))})`}})}h1.displayName="ScrollRestoration";function m1(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function _m(t){let n=T.useContext(Er);return Oe(n,m1(t)),n}function wA(t){let n=T.useContext(Ns);return Oe(n,m1(t)),n}function TA(t,{target:n,replace:i,mask:s,state:o,preventScrollReset:u,relative:f,viewTransition:h,defaultShouldRevalidate:m,useTransitions:p}={}){let y=c1(),v=yn(),x=uo(t,{relative:f});return T.useCallback(w=>{if(XE(w,n)){w.preventDefault();let C=i!==void 0?i:ba(v)===ba(x),M=()=>y(t,{replace:C,mask:s,state:o,preventScrollReset:u,relative:f,viewTransition:h,defaultShouldRevalidate:m});p?T.startTransition(()=>M()):M()}},[v,y,x,i,s,o,n,t,u,f,h,m,p])}function vD(t){Pt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=T.useRef(Mh(t)),i=T.useRef(!1),s=yn(),o=T.useMemo(()=>QE(s.search,i.current?null:n.current),[s.search]),u=c1();return[o,T.useCallback((f,h)=>{const m=Mh(typeof f=="function"?f(new URLSearchParams(o)):f);i.current=!0,u("?"+m,h)},[u,o])]}let CA=0,EA=()=>`__${String(++CA)}__`;function AA(){let{router:t}=_m("useSubmit"),{basename:n}=T.useContext(Mn),i=DE(),s=t.fetch,o=t.navigate;return T.useCallback(async(u,f={})=>{let{action:h,method:m,encType:p,formData:y,body:v}=JE(u,n);f.navigate===!1?await s(f.fetcherKey||EA(),i,f.action||h,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:y,body:v,formMethod:f.method||m,formEncType:f.encType||p,flushSync:f.flushSync}):await o(f.action||h,{defaultShouldRevalidate:f.defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:y,body:v,formMethod:f.method||m,formEncType:f.encType||p,replace:f.replace,state:f.state,fromRouteId:i,flushSync:f.flushSync,viewTransition:f.viewTransition})},[s,o,n,i])}function _A(t,{relative:n}={}){let{basename:i}=T.useContext(Mn),s=T.useContext(la);Oe(s,"useFormAction must be used inside a RouteContext");let[o]=s.matches.slice(-1),u={...uo(t||".",{relative:n})},f=yn();if(t==null){u.search=f.search;let h=new URLSearchParams(u.search),m=h.getAll("index");if(m.some(p=>p==="")){h.delete("index"),m.filter(y=>
189y).forEach(y=>h.append("index",y));let p=h.toString();u.search=p?`?${p}`:""}}return(!t||t===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(u.pathname=u.pathname==="/"?i:Zn([i,u.pathname])),ba(u)}const jh="react-router-scroll-positions";let Ou={};function Nh(t,n,i,s){let o=null;return s&&(i!=="/"?o=s({...t,pathname:Gn(t.pathname,i)||t.pathname},n):o=s(t,n)),o==null&&(o=t.key),o}function RA({getKey:t,storageKey:n}={}){let{router:i}=_m("useScrollRestoration"),{restoreScrollPosition:s,preventScrollReset:o}=wA("useScrollRestoration"),{basename:u}=T.useContext(Mn),f=yn(),h=f1(),m=zE();T.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),MA(T.useCallback(()=>{if(m.state==="idle"){let p=Nh(f,h,u,t);Ou[p]=window.scrollY}try{sessionStorage.setItem(n||jh,JSON.stringify(Ou))}catch(p){Pt(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${p}).`)}window.history.scrollRestoration="auto"},[m.state,t,u,f,h,n])),typeof document<"u"&&(T.useLayoutEffect(()=>{try{let p=sessionStorage.getItem(n||jh);p&&(Ou=JSON.parse(p))}catch{}},[n]),T.useLayoutEffect(()=>{let p=i==null?void 0:i.enableScrollRestoration(Ou,()=>window.scrollY,t?(y,v)=>Nh(y,v,u,t):void 0);return()=>p&&p()},[i,u,t]),T.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}try{if(f.hash){let p=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(p){p.scrollIntoView();return}}}catch{Pt(!1,`"${f.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}o!==!0&&window.scrollTo(0,0)}},[f,s,o]))}function MA(t,n){let{capture:i}={};T.useEffect(()=>{let s=i!=null?{capture:i}:void 0;return window.addEventListener("pagehide",t,s),()=>{window.removeEventListener("pagehide",t,s)}},[t,i])}function jA(t,{relative:n}={}){let i=T.useContext(xm);Oe(i!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=_m("useViewTransitionState"),o=uo(t,{relative:n});if(!i.isTransitioning)return!1;let u=Gn(i.currentLocation.pathname,s)||i.currentLocation.pathname,f=Gn(i.nextLocation.pathname,s)||i.nextLocation.pathname;return tc(o.pathname,f)!=null||tc(o.pathname,u)!=null}/**
190 * react-router v8.3.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 NA(t){return T.createElement(BE,{flushSync:N2.flushSync,...t})}class DA extends T.Component{constructor(n){super(n),this.state={hasError:!1}}static getDerivedStateFromError(n){return{hasError:!0}}componentDidCatch(n,i){console.warn("CookieBanner error boundary caught an error:",n,i)}render(){return this.state.hasError?null:this.props.children}}/**
199 * @license lucide-react v0.454.0 - ISC
200 *
201 * This source code is licensed under the ISC license.
202 * See the LICENSE file in the root directory of this source tree.
203 */const zA=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),p1=(...t)=>t.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).join(" ").trim();/**
204 * @license lucide-react v0.454.0 - ISC
205 *
206 * This source code is licensed under the ISC license.
207 * See the LICENSE file in the root directory of this source tree.
208 */var OA={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"};/**
209 * @license lucide-react v0.454.0 - ISC
210 *
211 * This source code is licensed under the ISC license.
212 * See the LICENSE file in the root directory of this source tree.
213 */const kA=T.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:o="",children:u,iconNode:f,...h},m)=>T.createElement("svg",{ref:m,...OA,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:p1("lucide",o),...h},[...f.map(([p,y])=>T.createElement(p,y)),...Array.isArray(u)?u:[u]]));/**
214 * @license lucide-react v0.454.0 - ISC
215 *
216 * This source code is licensed under the ISC license.
217 * See the LICENSE file in the root directory of this source tree.
218 */const Jt=(t,n)=>{const i=T.forwardRef(({className:s,...o},u)=>T.createElement(kA,{ref:u,iconNode:n,className:p1(`lucide-${zA(t)}`,s),...o}));return i.displayName=`${t}`,i};/**
219 * @license lucide-react v0.454.0 - ISC
220 *
221 * This source code is licensed under the ISC license.
222 * See the LICENSE file in the root directory of this source tree.
223 */const Ts=Jt("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
224 * @license lucide-react v0.454.0 - ISC
225 *
226 * This source code is licensed under the ISC license.
227 * See the LICENSE file in the root directory of this source tree.
228 */const LA=Jt("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
229 * @license lucide-react v0.454.0 - ISC
230 *
231 * This source code is licensed under the ISC license.
232 * See the LICENSE file in the root directory of this source tree.
233 */const Rm=Jt("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
234 * @license lucide-react v0.454.0 - ISC
235 *
236 * This source code is licensed under the ISC license.
237 * See the LICENSE file in the root directory of this source tree.
238 */const VA=Jt("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
239 * @license lucide-react v0.454.0 - ISC
240 *
241 * This source code is licensed under the ISC license.
242 * See the LICENSE file in the root directory of this source tree.
243 */const UA=Jt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
244 * @license lucide-react v0.454.0 - ISC
245 *
246 * This source code is licensed under the ISC license.
247 * See the LICENSE file in the root directory of this source tree.
248 */const BA=Jt("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
249 * @license lucide-react v0.454.0 - ISC
250 *
251 * This source code is licensed under the ISC license.
252 * See the LICENSE file in the root directory of this source tree.
253 */const HA=Jt("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"}]]);/**
254 * @license lucide-react v0.454.0 - ISC
255 *
256 * This source code is licensed under the ISC license.
257 * See the LICENSE file in the root directory of this source tree.
258 */const PA=Jt("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
259 * @license lucide-react v0.454.0 - ISC
260 *
261 * This source code is licensed under the ISC license.
262 * See the LICENSE file in the root directory of this source tree.
263 */const qA=Jt("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
264 * @license lucide-react v0.454.0 - ISC
265 *
266 * This source code is licensed under the ISC license.
267 * See the LICENSE file in the root directory of this source tree.
268 */const KA=Jt("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
269 * @license lucide-react v0.454.0 - ISC
270 *
271 * This source code is licensed under the ISC license.
272 * See the LICENSE file in the root directory of this source tree.
273 */const ZA=Jt("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
273y:"oel41y"}]]);/**
274 * @license lucide-react v0.454.0 - ISC
275 *
276 * This source code is licensed under the ISC license.
277 * See the LICENSE file in the root directory of this source tree.
278 */const Wl=Jt("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
279 * @license lucide-react v0.454.0 - ISC
280 *
281 * This source code is licensed under the ISC license.
282 * See the LICENSE file in the root directory of this source tree.
283 */const YA=Jt("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
284 * @license lucide-react v0.454.0 - ISC
285 *
286 * This source code is licensed under the ISC license.
287 * See the LICENSE file in the root directory of this source tree.
288 */const y1=Jt("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
289 * @license lucide-react v0.454.0 - ISC
290 *
291 * This source code is licensed under the ISC license.
292 * See the LICENSE file in the root directory of this source tree.
293 */const GA=Jt("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
294 * @license lucide-react v0.454.0 - ISC
295 *
296 * This source code is licensed under the ISC license.
297 * See the LICENSE file in the root directory of this source tree.
298 */const wc=Jt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),FA=[{label:"Products",href:"/products"},{label:"Services",href:"/services"},{label:"About",href:"/about"},{label:"Reviews",href:"/reviews"},{label:"Contact",href:"/contact"}],XA=["Security Camera Systems","Network Infrastructure","Video Intercoms","Building Automation"],QA=[{icon:ZA,label:"Licensed & Insured"},{icon:LA,label:"Certified Installer"},{icon:Rm,label:"ISO 9001 Compliant"}];function $A(){return b.jsxs("footer",{className:"bg-background border-t border-border/40",children:[b.jsx("div",{className:"h-px",style:{background:"linear-gradient(to right, transparent, hsl(var(--primary)), transparent)"}}),b.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[b.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10",children:[b.jsxs("div",{className:"lg:col-span-1",children:[b.jsx(vt,{to:"/",className:"inline-flex items-center gap-2 mb-4",children:b.jsxs("span",{className:"font-bold text-lg tracking-tight leading-none",children:[b.jsx("span",{className:"text-primary",children:"CTV"}),b.jsx("span",{className:"text-foreground",children:"Cam"}),b.jsx("span",{className:"text-muted-foreground font-normal text-sm ml-1.5",children:"Electronics"})]})}),b.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-6",children:"Commercial-grade smart home and security systems. Engineered for businesses that demand reliability."}),b.jsx("div",{className:"flex flex-col gap-3",children:QA.map(({icon:t,label:n})=>b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(t,{size:14,className:"text-primary shrink-0"}),b.jsx("span",{className:"text-muted-foreground text-xs",children:n})]},n))})]}),b.jsxs("div",{children:[b.jsx("h3",{className:"text-foreground text-sm font-semibold mb-4 uppercase tracking-wider",children:"Navigation"}),b.jsx("ul",{className:"flex flex-col gap-2",children:FA.map(t=>b.jsx("li",{children:b.jsx(vt,{to:t.href,className:"text-muted-foreground hover:text-primary text-sm transition-colors duration-200",children:t.label})},t.href))})]}),b.jsxs("div",{children:[b.jsx("h3",{className:"text-foreground text-sm font-semibold mb-4 uppercase tracking-wider",children:"Services"}),b.jsx("ul",{className:"flex flex-col gap-2",children:XA.map(t=>b.jsx("li",{children:b.jsx("span",{className:"text-muted-foreground text-sm",children:t})},t))})]}),b.jsxs("div",{children:[b.jsx("h3",{className:"text-foreground text-sm font-semibold mb-4 uppercase tracking-wider",children:"Contact"}),b.jsxs("div",{className:"flex flex-col gap-4",children:[b.jsxs("a",{href:"tel:+15551234567",className:"flex items-start gap-3 text-muted-foreground hover:text-primary transition-colors group",children:[b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"lucide lucide-phone mt-0.5 shrink-0 group-hover:text-primary",children:b.jsx("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})}),b.jsx("span",{className:"text-sm",children:"(254) 220-6439"})]}),b.jsxs("div",{className:"flex items-start gap-3 text-muted-foreground",children:[b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mt-0.5 shrink-0",children:[b.jsx("path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"}),b.jsx("circle",{cx:"12",cy:"10",r:"3"})]}),b.jsx("span",{className:"text-sm",children:"Killeen, TX"})]}),b.jsxs("div",{className:"flex items-start gap-3 text-muted-foreground",children:[b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mt-0.5 shrink-0",children:[b.jsx("circle",{cx:"12",cy:"12",r:"10"}),b.jsx("polyline",{points:"12 6 12 12 16 14"})]}),b.jsx("span",{className:"text-sm",children:"Mon – Fri: 9:00 AM – 6:00 PM"})]}),b.jsxs("a",{href:"mailto:[email protected]",className:"flex items-start gap-3 text-muted-foreground hover:text-primary transition-colors group",children:[b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"lucide lucide-mail mt-0.5 shrink-0 group-hover:text-primary",children:[b.jsx("rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}),b.jsx("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})]}),b.jsx("span",{className:"text-sm",children:"[email protected]"})]}),b.jsxs("div",{className:"flex items-start gap-3 text-muted-foreground",children:[b.jsx(BA,{size:15,className:"mt-0.5 shrink-0"}),b.jsx("span",{className:"text-sm",children:"Serving Commercial & Residential Clients"})]})]}),b.jsxs("div",{className:"mt-6 p-3 rounded-lg border border-border/60 bg-card",children:[b.jsx("p",{className:"text-primary text-xs font-semibold mb-1",children:"24/7 Support Line"}),b.jsx("p",{className:"text-foreground text-sm font-medium",children:"(737) 932-9645"})]})]})]}),b.jsxs("div",{className:"mt-12 pt-6 border-t border-border/40 flex flex-col sm:flex-row items-center justify-between gap-4",children:[b.jsxs("p",{className:"text-muted-foreground text-xs",children:["© ",new Date().getFullYear()," CTVCam Electronics. All rights reserved."]}),b.jsxs("div",{className:"flex items-center gap-6",children:[b.jsx("a",{href:"https://www.facebook.com/ctvcam",target:"_blank",rel:"noopener noreferrer","aria-label":"CTVCam on Facebook",className:"text-muted-foreground hover:text-primary transition-colors duration-200",children:b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"
298currentColor","aria-hidden":"true",children:b.jsx("path",{d:"M24 12.073C24 5.405 18.627 0 12 0S0 5.405 0 12.073C0 18.1 4.388 23.094 10.125 24v-8.437H7.078v-3.49h3.047V9.41c0-3.025 1.792-4.697 4.533-4.697 1.312 0 2.686.236 2.686.236v2.97h-1.513c-1.491 0-1.956.93-1.956 1.886v2.268h3.328l-.532 3.49h-2.796V24C19.612 23.094 24 18.1 24 12.073z"})})}),b.jsx(vt,{to:"/#privacy",className:"text-muted-foreground hover:text-foreground text-xs transition-colors",children:"Privacy Policy"}),b.jsx(vt,{to:"/#terms",className:"text-muted-foreground hover:text-foreground text-xs transition-colors",children:"Terms of Service"})]})]})]})]})}const IA={overrides:{}};function Mm(t){return!!t&&typeof t=="object"&&!Array.isArray(t)}function JA(t){return t==="bound-expression"||t==="content-key"||t==="content-key-template"}function WA(t){return Mm(t)?typeof t.file=="string"&&typeof t.tagName=="string"&&JA(t.sourceKind)&&(t.contentKey===void 0||t.contentKey===null||typeof t.contentKey=="string")&&(t.contentKeyTemplate===void 0||t.contentKeyTemplate===null||typeof t.contentKeyTemplate=="string")&&(t.expressionHash===void 0||t.expressionHash===null||typeof t.expressionHash=="string"):!1}function e_(t){return Mm(t)?(t.bold===void 0||typeof t.bold=="boolean")&&(t.italic===void 0||typeof t.italic=="boolean")&&(t.color===void 0||t.color===null||typeof t.color=="string")&&(t.fontSize===void 0||typeof t.fontSize=="string"):!1}function t_(t){return Mm(t)?WA(t.target)&&e_(t.marks)&&typeof t.updatedAt=="string":!1}function ds(t){return t??null}function n_(t){const n=t.replace(/\\/g,"/"),i=n.indexOf("/src/");return i!==-1?n.slice(i+1):n.replace(/^\/+/,"")}function a_(t){const n=t.split("/");return n.some(i=>!/^[a-zA-Z0-9_-]+$/.test(i))?null:n.map(i=>i.toLowerCase()).join("/")}function i_(t){const n=n_(t),i=/^src\/pages\/(.+)\.[jt]sx?$/.exec(n);if(!(i!=null&&i[1]))return{key:"shared",filePath:"format-overrides/shared.json"};const s=a_(i[1]);return s?{key:`pages/${s}`,filePath:`format-overrides/pages/${s}.json`}:{key:"shared",filePath:"format-overrides/shared.json"}}function r_(t,n){return t.file===n.file&&t.tagName===n.tagName&&t.sourceKind===n.sourceKind&&ds(t.contentKey)===ds(n.contentKey)&&ds(t.contentKeyTemplate)===ds(n.contentKeyTemplate)&&ds(t.expressionHash)===ds(n.expressionH
298ash)}function s_(t,n,i){const s=i_(i.file),u=(t.scopes[s.key]??IA).overrides[n];return u?t_(u)?r_(u.target,i)?{status:"applicable",marks:u.marks}:{status:"guard-mismatch",expected:u.target,actual:i}:(s.key,{status:"missing"}):{status:"missing"}}const l_={"0.75rem":"1rem","0.875rem":"1.25rem","1rem":"1.5rem","1.125rem":"1.75rem","1.25rem":"1.75rem","1.5rem":"2rem","1.875rem":"2.25rem","2.25rem":"2.5rem","3rem":"1","3.75rem":"1","4.5rem":"1","6rem":"1","8rem":"1"};function o_(t){const n=t.fontSize?l_[t.fontSize]:void 0;return{...t.bold?{fontWeight:700}:{},...t.italic?{fontStyle:"italic"}:{},...t.color?{color:t.color}:{},...t.fontSize?{fontSize:t.fontSize}:{},...n?{lineHeight:n}:{}}}const u_={version:1,scopes:{}},D0=new Set;let c_=u_;function z0(){return c_}function f_(t){return D0.add(t),()=>{D0.delete(t)}}function d_(){return T.useSyncExternalStore(f_,z0,z0)}function pt({devId:t,guard:n,children:i}){const s=d_(),o=s_(s,t,n);if(o.status==="missing")return b.jsx(b.Fragment,{children:i});if(o.status==="guard-mismatch")return b.jsx(b.Fragment,{children:i});const u=o.marks;return b.jsx("span",{"data-airo-formatted-bound-text":"true","data-airo-format-bold":u.bold?"true":void 0,"data-airo-format-italic":u.italic?"true":void 0,"data-airo-format-color":u.color||void 0,"data-airo-format-size":u.fontSize||void 0,style:o_(u),children:i})}function g1(t){var n,i,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(i=g1(t[n]))&&(s&&(s+=" "),s+=i)}else for(i in t)t[i]&&(s&&(s+=" "),s+=i);return s}function v1(){for(var t,n,i=0,s="",o=arguments.length;i<o;i++)(t=arguments[i])&&(n=g1(t))&&(s&&(s+=" "),s+=n);return s}const O0=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,k0=v1,jm=(t,n)=>i=>{var s;if((n==null?void 0:n.variants)==null)return k0(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:o,defaultVariants:u}=n,f=Object.keys(o).map(p=>{const y=i==null?void 0:i[p],v=u==null?void 0:u[p];if(y===null)return null;const x=O0(y)||O0(v);return o[p][x]}),h=i&&Object.entries(i).reduce((p,y)=>{let[v,x]=y;return x===void 0||(p[v]=x),p},{}),m=n==null||(s=n.compoundVariants)===null||s===void 0?void 0:s.reduce((p,y)=>{let{class:v,className:x,...w}=y;return Object.entries(w).every(C=>{let[M,E]=C;return Array.isArray(E)?E.includes({...u,...h}[M]):{...u,...h}[M]===E})?[...p,v,x]:p},[]);return k0(t,f,m,i==null?void 0:i.class,i==null?void 0:i.className)},Nm="-",h_=t=>{const n=p_(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:f=>{const h=f.split(Nm);return h[0]===""&&h.length!==1&&h.shift(),b1(h,n)||m_(f)},getConflictingClassGroupIds:(f,h)=>{const m=i[f]||[];return h&&s[f]?[...m,...s[f]]:m}}},b1=(t,n)=>{var f;if(t.length===0)return n.classGroupId;const i=t[0],s=n.nextPart.get(i),o=s?b1(t.slice(1),s):void 0;if(o)return o;if(n.validators.length===0)return;const u=t.join(Nm);return(f=n.validators.find(({validator:h})=>h(u)))==null?void 0:f.classGroupId},L0=/^\[(.+)\]$/,m_=t=>{if(L0.test(t)){const n=L0.exec(t)[1],i=n==null?void 0:n.substring(0,n.indexOf(":"));if(i)return"arbitrary.."+i}},p_=t=>{const{theme:n,prefix:i}=t,s={nextPart:new Map,validators:[]};return g_(Object.entries(t.classGroups),i).forEach(([u,f])=>{Dh(f,s,u,n)}),s},Dh=(t,n,i,s)=>{t.forEach(o=>{if(typeof o=="string"){const u=o===""?n:V0(n,o);u.classGroupId=i;return}
vendor: 4,963 bytes, line 298
298if(typeof o=="function"){if(y_(o)){Dh(o(s),n,i,s);return}n.validators.push({validator:o,classGroupId:i});return}Object.entries(o).forEach(([u,f])=>{Dh(f,V0(n,u),i,s)})})},V0=(t,n)=>{let i=t;return n.split(Nm).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},y_=t=>t.isThemeGetter,g_=(t,n)=>n?t.map(([i,s])=>{const o=s.map(u=>typeof u=="string"?n+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([f,h])=>[n+f,h])):u);return[i,o]}):t,v_=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,i=new Map,s=new Map;const o=(u,f)=>{i.set(u,f),n++,n>t&&(n=0,s=i,i=new Map)};return{get(u){let f=i.get(u);if(f!==void 0)return f;if((f=s.get(u))!==void 0)return o(u,f),f},set(u,f){i.has(u)?i.set(u,f):o(u,f)}}},x1="!",b_=t=>{const{separator:n,experimentalParseClassName:i}=t,s=n.length===1,o=n[0],u=n.length,f=h=>{const m=[];let p=0,y=0,v;for(let E=0;E<h.length;E++){let z=h[E];if(p===0){if(z===o&&(s||h.slice(E,E+u)===n)){m.push(h.slice(y,E)),y=E+u;continue}if(z==="/"){v=E;continue}}z==="["?p++:z==="]"&&p--}const x=m.length===0?h:h.substring(y),w=x.startsWith(x1),C=w?x.substring(1):x,M=v&&v>y?v-y:void 0;return{modifiers:m,hasImportantModifier:w,baseClassName:C,maybePostfixModifierPosition:M}};return i?h=>i({className:h,parseClassName:f}):f},x_=t=>{if(t.length<=1)return t;const n=[];let i=[];return t.forEach(s=>{s[0]==="["?(n.push(...i.sort(),s),i=[]):i.push(s)}),n.push(...i.sort()),n},S_=t=>({cache:v_(t.cacheSize),parseClassName:b_(t),...h_(t)}),w_=/\s+/,T_=(t,n)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:o}=n,u=[],f=t.trim().split(w_);let h="";for(let m=f.length-1;m>=0;m-=1){const p=f[m],{modifiers:y,hasImportantModifier:v,baseClassName:x,maybePostfixModifierPosition:w}=i(p);let C=!!w,M=s(C?x.substring(0,w):x);if(!M){if(!C){h=p+(h.length>0?" "+h:h);continue}if(M=s(x),!M){h=p+(h.length>0?" "+h:h);continue}C=!1}const E=x_(y).join(":"),z=v?E+x1:E,U=z+M;if(u.includes(U))continue;u.push(U);const B=o(M,C);for(let K=0;K<B.length;++K){const G=B[K];u.push(z+G)}h=p+(h.length>0?" "+h:h)}return h};function C_(){let t=0,n,i,s="";for(;t<arguments.length;)(n=arguments[t++])&&(i=S1(n))&&(s&&(s+=" "),s+=i);return s}const S1=t=>{if(typeof t=="string")return t;let n,i="";for(let s=0;s<t.length;s++)t[s]&&(n=S1(t[s]))&&(i&&(i+=" "),i+=n);return i};function E_(t,...n){let i,s,o,u=f;function f(m){const p=n.reduce((y,v)=>v(y),t());return i=S_(p),s=i.cache.get,o=i.cache.set,u=h,h(m)}function h(m){const p=s(m);if(p)return p;const y=T_(m,i);return o(m,y),y}return function(){return u(C_.apply(null,arguments))}}const mt=t=>{const n=i=>i[t]||[];return n.isThemeGetter=!0,n},w1=/^\[(?:([a-z-]+):)?(.+)\]$/i,A_=/^\d+\/\d+$/,__=new Set(["px","full","screen"]),R_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M_=/\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$/,j_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,N_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ia=t=>Ss(t)||__.has(t)||A_.test(t),zi=t=>Ds(t,"length",H_),Ss=t=>!!t&&!Number.isNaN(Number(t)),nh=t=>Ds(t,"number",Ss),kl=t=>!!t&&Number.isInteger(Number(t)),z_=t=>t.endsWith("%")&&Ss(t.slice(0,-1)),ze=t=>w1.test(t),Oi=t=>R_.test(t),O_=new Set(["length","size","percentage"]),k_=t=>Ds(t,O_,T1),L_=t=>Ds(t,"position",T1),V_=new Set(["image","url"]),U_=t=>Ds(t,V_,q_),B_=t=>Ds(t,"",P_),Ll=()=>!0,Ds=(t,n,i)=>{const s=w1.exec(t);return s?s[1]?typeof n=="string"?s[1]===n:n.has(s[1]):i(s[2]):!1},H_=t=>M_.test(t)&&!j_.test(t),T1=()=>!1,P_=t=>N_.test(t),q_=t=>D_.test(t),K_=()=>{const t=mt("colors"),n=mt("spacing"),i=mt("blur"),s=mt("brightness"),o=mt("borderColor"),u=mt("borderRadius"),f=mt("borderSpacing"),h=mt("borderWidth"),m=mt("contrast"),p=mt("grayscale"),y=mt("hueRotate"),v=mt("invert"),x=mt("gap"),w=mt("gradientColorStops"),C=mt("gradientColorStopPositions"),M=mt("inset"),E=mt("margin"),z=mt("opacity"),U=mt("padding"),B=mt("saturate"),K=mt("scale"),G=mt("sepia"),oe=mt("skew"),te=mt("space"),N=mt("translate"),ee=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],pe=()=>["auto",ze,n],ne=()=>[ze,n],Re=()=>["",Ia,zi],Le=()=>["auto",Ss,ze],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",ze],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],xe=()=>[Ss,ze];return{cacheSize:500,separator:":",theme:{colors:[Ll],spacing:[Ia,zi],blur:["none","",Oi,ze],brightness:xe(),borderColor:[t],borderRadius:["n
298one","","full",Oi,ze],borderSpacing:ne(),borderWidth:Re(),contrast:xe(),grayscale:se(),hueRotate:xe(),invert:se(),gap:ne(),gradientColorStops:[t],gradientColorStopPositions:[z_,zi],inset:pe(),margin:pe(),opacity:xe(),padding:ne(),saturate:xe(),scale:xe(),sepia:se(),skew:xe(),space:ne(),translate:ne()},classGroups:{aspect:[{aspect:["auto","square","video",ze]}],container:["container"],columns:[{columns:[Oi]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"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:[...ke(),ze]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[M]}],"inset-x":[{"inset-x":[M]}],"inset-y":[{"inset-y":[M]}],start:[{start:[M]}],end:[{end:[M]}],top:[{top:[M]}],right:[{right:[M]}],bottom:[{bottom:[M]}],left:[{left:[M]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",kl,ze]}],basis:[{basis:pe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ze]}],grow:[{grow:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",kl,ze]}],"grid-cols":[{"grid-cols":[Ll]}],"col-start-end":[{col:["auto",{span:["full",kl,ze]},ze]}],"col-start":[{"col-start":Le()}],"col-end":[{"col-end":Le()}],"grid-rows":[{"grid-rows":[Ll]}],"row-start-end":[{row:["auto",{span:[kl,ze]},ze]}],"row-start":[{"row-start":Le()}],"row-end":[{"row-end":Le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ze]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ze]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[U]}],px:[{px:[U]}],py:[{py:[U]}],ps:[{ps:[U]}],pe:[{pe:[U]}],pt:[{pt:[U]}],pr:[{pr:[U]}],pb:[{pb:[U]}],pl:[{pl:[U]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ze,n]}],"min-w":[{"min-w":[ze,n,"min","max","fit"]}],"max-w":[{"max-w":[ze,n,"none","full","min","max","fit","prose",{screen:[Oi]},Oi]}],h:[{h:[ze,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ze,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ze,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ze,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Oi,zi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",nh]}],"font-family":[{font:[Ll]}],"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",ze]}],"line-clamp":[{"line-clamp":["none",Ss,nh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ia,ze]}],"list-image":[{"list-image":["none",ze]}],"list-style-type":[{list:["none","disc","decimal",ze]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[z]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ia,zi]}],"underline-offset":[{"underline-offset":["auto",Ia,ze]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ne()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ze]}],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",ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[z]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),L_]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",k_]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},U_]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}
vendor: 5,203 bytes, line 298
298],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"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":[z]}],"border-style":[{border:[...H(),"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":[z]}],"divide-style":[{divide:H()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...H()]}],"outline-offset":[{"outline-offset":[Ia,ze]}],"outline-w":[{outline:[Ia,zi]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[z]}],"ring-offset-w":[{"ring-offset":[Ia,zi]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Oi,B_]}],"shadow-color":[{shadow:[Ll]}],opacity:[{opacity:[z]}],"mix-blend":[{"mix-blend":[...Q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",Oi,ze]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[v]}],saturate:[{saturate:[B]}],sepia:[{sepia:[G]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[z]}],"backdrop-saturate":[{"backdrop-saturate":[B]}],"backdrop-sepia":[{"backdrop-sepia":[G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ze]}],duration:[{duration:xe()}],ease:[{ease:["linear","in","out","in-out",ze]}],delay:[{delay:xe()}],animate:[{animate:["none","spin","ping","pulse","bounce",ze]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-x":[{"scale-x":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[kl,ze]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[oe]}],"skew-y":[{"skew-y":[oe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ze]}],accent:[{accent:["auto",t]}],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",ze]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"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"]}
vendor: 4,108 bytes, line 298
298],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",ze]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Ia,zi,nh]}],stroke:[{stroke:[t,"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"]}}},Z_=E_(K_);function ai(...t){return Z_(v1(t))}const Y_=jm("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[var(--radius-button)] text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-[var(--radius-button)] px-3",lg:"h-11 rounded-[var(--radius-button)] px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),It=T.forwardRef(({className:t,variant:n,size:i,asChild:s=!1,...o},u)=>{const f=s?D2:"button";return b.jsx(f,{className:ai(Y_({variant:n,size:i,className:t})),ref:u,...o})});It.displayName="Button";const Dm=T.createContext({});function zm(t){const n=T.useRef(null);return n.current===null&&(n.current=t()),n.current}const G_=typeof window<"u",C1=G_?T.useLayoutEffect:T.useEffect,Tc=T.createContext(null);
vendor: 29,268 bytes, line 298
298function Om(t,n){t.indexOf(n)===-1&&t.push(n)}function nc(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const xa=(t,n,i)=>i>n?n:i<t?t:i;let km=()=>{};const Yi={},E1=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function A1(t){return typeof t=="object"&&t!==null}const _1=t=>/^0[^.\s]+$/u.test(t);function R1(t){let n;return()=>(n===void 0&&(n=t()),n)}const Yn=t=>t,F_=(t,n)=>i=>n(t(i)),co=(...t)=>t.reduce(F_),eo=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s};class Lm{constructor(){this.subscriptions=[]}add(n){return Om(this.subscriptions,n),()=>nc(this.subscriptions,n)}notify(n,i,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](n,i,s);else for(let u=0;u<o;u++){const f=this.subscriptions[u];f&&f(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _n=t=>t*1e3,Kn=t=>t/1e3;function M1(t,n){return n?t*(1e3/n):0}const j1=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,X_=1e-7,Q_=12;function $_(t,n,i,s,o){let u,f,h=0;do f=n+(i-n)/2,u=j1(f,s,o)-t,u>0?i=f:n=f;while(Math.abs(u)>X_&&++h<Q_);return f}function fo(t,n,i,s){if(t===n&&i===s)return Yn;const o=u=>$_(u,0,1,t,i);return u=>u===0||u===1?u:j1(o(u),n,s)}const N1=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,D1=t=>n=>1-t(1-n),z1=fo(.33,1.53,.69,.99),Vm=D1(z1),O1=N1(Vm),k1=t=>t>=1?1:(t*=2)<1?.5*Vm(t):.5*(2-Math.pow(2,-10*(t-1))),Um=t=>1-Math.sin(Math.acos(t)),L1=D1(Um),V1=N1(Um),I_=fo(.42,0,1,1),J_=fo(0,0,.58,1),U1=fo(.42,0,.58,1),W_=t=>Array.isArray(t)&&typeof t[0]!="number",B1=t=>Array.isArray(t)&&typeof t[0]=="number",eR={linear:Yn,easeIn:I_,easeInOut:U1,easeOut:J_,circIn:Um,circInOut:V1,circOut:L1,backIn:Vm,backInOut:O1,backOut:z1,anticipate:k1},tR=t=>typeof t=="string",U0=t=>{if(B1(t)){km(t.length===4);const[n,i,s,o]=t;return fo(n,i,s,o)}else if(tR(t))return eR[t];return t},ku=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function nR(t,n){let i=new Set,s=new Set,o=!1,u=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(y){f.has(y)&&(p.schedule(y),t()),y(h)}const p={schedule:(y,v=!1,x=!1)=>{const C=x&&o?i:s;return v&&f.add(y),C.add(y),y},cancel:y=>{s.delete(y),f.delete(y)},process:y=>{if(h=y,o){u=!0;return}o=!0;const v=i;i=s,s=v,i.forEach(m),i.clear(),o=!1,u&&(u=!1,p.process(y))}};return p}const aR=40;function H1(t,n){let i=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,f=ku.reduce((B,K)=>(B[K]=nR(u),B),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:y,update:v,preRender:x,render:w,postRender:C}=f,M=()=>{const B=Yi.useManualTiming,K=B?o.timestamp:performance.now();i=!1,B||(o.delta=s?1e3/60:Math.max(Math.min(K-o.timestamp,aR),1)),o.timestamp=K,o.isProcessing=!0,h.process(o),m.process(o),p.process(o),y.process(o),v.process(o),x.process(o),w.process(o),C.process(o),o.isProcessing=!1,i&&n&&(s=!1,t(M))},E=()=>{i=!0,s=!0,o.isProcessing||t(M)};return{schedule:ku.reduce((B,K)=>{const G=f[K];return B[K]=(oe,te=!1,N=!1)=>(i||E(),G.schedule(oe,te,N)),B},{}),cancel:B=>{for(let K=0;K<ku.length;K++)f[ku[K]].cancel(B)},state:o,steps:f}}const{schedule:ot,cancel:Gi,state:Gt,steps:ah}=H1(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yn,!0);let Yu;function iR(){Yu=void 0}const rn={now:()=>(Yu===void 0&&rn.set(Gt.isProcessing||Yi.useManualTiming?Gt.timestamp:performance.now()),Yu),set:t=>{Yu=t,queueMicrotask(iR)}},P1=t=>n=>typeof n=="string"&&n.startsWith(t),q1=P1("--"),rR=P1("var(--"),Bm=t=>rR(t)?sR.test(t.split("/*")[0].trim()):!1,sR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function B0(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const zs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},to={...zs,transform:t=>xa(0,1,t)},Lu={...zs,default:1},Yl=t=>Math.round(t*1e5)/1e5,Hm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function lR(t){return t==null}const oR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pm=(t,n)=>i=>!!(typeof i=="string"&&oR.test(i)&&i.startsWith(t)||n&&!lR(i)&&Object.prototype.hasOwnProperty.call(i,n)),K1=(t,n,i)=>s=>{if(typeof s!="string")return s;const[o,u,f,h]=s.match(Hm);return{[t]:parseFloat(o),[n]:parseFloat(u),[i]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},uR=t=>xa(0,255,t),ih={...zs,transform:t=>Math.round(uR(t))},vr={test:Pm("rgb","red"),parse:K1("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+ih.transform(t)+", "+ih.transform(n)+", "+ih.transform(i)+", "+Yl(to.transform(s))+")"};function cR(t){let n="",i="",s="",o="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),o=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),o=t.substring(4,5),n+=n,i+=i,s+=s,o+=o),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const zh={test:Pm("#"),parse:cR,transform:vr.transform},ho=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Vi=ho("deg"),ga=ho("%"),fe=ho("px"),fR=ho("vh"),dR=ho("vw"),H0={...ga,parse:t=>ga.parse(t)/100,transform:t=>ga.transform(t*100)},ys={test:Pm("hsl","hue"),parse:K1("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+ga.transform(Yl(n))+", "+ga.transform(Yl(i))+", "+Yl(to.transform(s))+")"},Nt={test:t=>vr.test(t)||zh.test(t)||ys.test(t),parse:t=>vr.test(t)?vr.parse(t):ys.test(t)?ys.parse(t):zh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?vr.transform(t):ys.transform(t),getAnimatableNone:t=>{const n=Nt.parse(t);return n.alpha=0,Nt.transform(n)}},hR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function mR(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(Hm))==null?void 0:n.length)||0)+(((i=t.match(hR))==null?void 0:i.length)||0)>0}const Z1="number",Y1="color",pR="var",yR="var(",P0="${}",gR=/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 Cs(t){const n=t.toString(),i=[],s={color:[],number:[],var:[]},o=[];let u=0;const h=n.replace(gR,m=>(Nt.test(m)?(s.color.push(u),o.push(Y1),i.push(Nt.parse(m))):m.startsWith(yR)?(s.var.push(u),o.push(pR),i.push(m)):(s.number.push(u),o.push(Z1),i.push(parseFloat(m))),++u,P0)).split(P0);return{values:i,split:h,indexes:s,types:o}}function vR(t){return Cs(t).values}function G1({split:t,types:n}){const i=t.length;return s=>{let o="";for(let u=0;u<i;u++)if(o+=t[u],s[u]!==void 0){const f=n[u];f===Z1?o+=Yl(s[u]):f===Y1?o+=Nt.transform(s[u]):o+=s[u]}return o}}function bR(t){return G1(Cs(t))}const xR=t=>typeof t=="number"?0:Nt.test(t)?Nt.getAnimatableNone(t):t,SR=(t,n)=>typeof t=="number"?n!=null&&n.trim().endsWith("/")?t:0:xR(t);function wR(t){const n=Cs(t);return G1(n)(n.values.map((s,o)=>SR(s,n.split[o])))}const sa={test:mR,parse:vR,createTransformer:bR,getAnimatableNone:wR};function rh(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function TR({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let o=0,u=0,f=0;if(!n)o=u=f=i;else{const h=i<.5?i*(1+n):i+n-i*n,m=2*i-h;o=rh(m,h,t+1/3),u=rh(m,h,t),f=rh(m,h,t-1/3)}return{red:Math.round(o*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:s}}function ac(t,n){return i=>i>0?n:t}const yt=(t,n,i)=>t+(n-t)*i,sh=(t,n,i)=>{const s=t*t,o=i*(n*n-s)+s;return o<0?0:Math.sqrt(o)},CR=[zh,vr,ys],ER=t=>CR.find(n=>n.test(t));function q0(t){const n=ER(t);if(!n)return!1;let i=n.parse(t);return n===ys&&(i=TR(i)),i}const K0=(t,n)=>{const i=q0(t),s=q0(n);if(!i||!s)return ac(t,n);const o={...i};return u=>(o.red=sh(i.red,s.red,u),o.green=sh(i.green,s.green,u),o.blue=sh(i.blue,s.blue,u),o.alpha=yt(i.alpha,s.alpha,u),vr.transform(o))},Oh=new Set(["none","hidden"]);function AR(t,n){return Oh.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function _R(t,n){return i=>yt(t,n,i)}function qm(t){return typeof t=="number"?_R:typeof t=="string"?Bm(t)?ac:Nt.test(t)?K0:jR:Array.isArray(t)?F1:typeof t=="object"?Nt.test(t)?K0:RR:ac}function F1(t,n){const i=[...t],s=i.length,o=t.map((u,f)=>qm(u)(u,n[f]));return u=>{for(let f=0;f<s;f++)i[f]=o[f](u);return i}}function RR(t,n){const i={...t,...n},s={};for(const o in i)t[o]!==void 0&&n[o]!==void 0&&(s[o]=qm(t[o])(t[o],n[o]));return o=>{for(const u in s)i[u]=s[u](o);return i}}function MR(t,n){const i=[],s={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){const u=n.types[o],f=t.indexes[u][s[u]],h=t.values[f]??0;i[o]=h,s[u]++}return i}const jR=(t,n)=>{const i=sa.createTransformer(n),s=Cs(t),o=Cs(n);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?Oh.has(t)&&!o.values.length||Oh.has(n)&&!s.values.length?AR(t,n):co(F1(MR(s,o),o.values),i):ac(t,n)};function X1(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?yt(t,n,i):qm(t)(t,n)}const NR=t=>{const n=({timestamp:i})=>t(i);return{start:(i=!0)=>ot.update(n,i),stop:()=>Gi(n),now:()=>Gt.isProcessing?Gt.timestamp:rn.now()}},Q1=(t,n,i=10)=>{let s="";const o=Math.max(Math.round(n/i),2);for(let u=0;u<o;u++)s+=Math.round(t(u/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},ic=2e4;function Km(t){let n=0;const i=50;let s=t.next(n);for(;!s.done&&n<ic;)n+=i,s=t.next(n);return n>=ic?1/0:n}function DR(t,n=100,i){const s=i({...t,keyframes:[0,n]}),o=Math.min(Km(s),ic);return{type:"keyframes",ease:u=>s.next(o*u).value/n,duration:Kn(o)}}const Ct={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 kh(t,n){return t*Math.sqrt(1-n*n)}const zR=12;function OR(t,n,i){let s=i;for(let o=1;o<zR;o++)s=s-t(s)/n(s);return s}const lh=.001;function kR({duration:t=Ct.duration,bounce:n=Ct.bounce,velocity:i=Ct.velocity,mass:s=Ct.mass}){let o,u,f=1-n;f=xa(Ct.minDamping,Ct.maxDamping,f),t=xa(Ct.minDuration,Ct.maxDuration,Kn(t)),f<1?(o=p=>{const y=p*f,v=y*t,x=y-i,w=kh(p,f),C=Math.exp(-v);return lh-x/w*C},u=p=>{const v=p*f*t,x=v*i+i,w=Math.pow(f,2)*Math.pow(p,2)*t,C=Math.exp(-v),M=kh(Math.pow(p,2),f);return(-o(p)+lh>0?-1:1)*((x-w)*C)/M}):(o=p=>{const y=Math.exp(-p*t),v=(p-i)*t+1;return-lh+y*v},u=p=>{const y=Math.exp(-p*t),v=(i-p)*(t*t);return y*v});const h=5/t,m=OR(o,u,h);if(t=_n(t),isNaN(m))return{stiffness:Ct.stiffness,damping:Ct.damping,duration:t};{const p=Math.pow(m,2)*s;return{stiffness:p,damping:f*2*Math.sqrt(s*p),duration:t}}}const LR=["duration","bounce"],VR=["stiffness","damping","mass"];function Z0(t,n){return n.some(i=>t[i]!==void 0)}function UR(t){let n={velocity:Ct.velocity,stiffness:Ct.stiffness,damping:Ct.damping,mass:Ct.mass,isResolvedFromDuration:!1,...t};if(!Z0(t,VR)&&Z0(t,LR))if(n.velocity=0,t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),o=s*s,u=2*xa(.05,1,1-(t.bounce||0))*Math.sqrt(o);n={...n,mass:Ct.mass,stiffness:o,damping:u}}else{const i=kR({...t,velocity:0});n={...n,...i,mass:Ct.mass},n.isResolvedFromDuration=!0}return n}function rc(t=Ct.visualDuration,n=Ct.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:s,restDelta:o}=i;const u=i.keyframes[0],f=i.keyframes[i.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:y,duration:v,velocity:x,isResolvedFromDuration:w}=UR({...i,velocity:-Kn(i.velocity||0)}),C=x||0,M=p/(2*Math.sqrt(m*y)),E=f-u,z=Kn(Math.sqrt(m/y)),U=Math.abs(E)<5;s||(s=U?Ct.restSpeed.granular:Ct.restSpeed.default),o||(o=U?Ct.restDelta.granular:Ct.restDelta.default);let B,K,G,oe,te,N;if(M<1)G=kh(z,M),oe=(C+M*z*E)/G,B=I=>{const pe=Math.exp(-M*z*I);return f-pe*(oe*Math.sin(G*I)+E*Math.cos(G*I))},te=M*z*oe+E*G,N=M*z*E-oe*G,K=I=>Math.exp(-M*z*I)*(te*Math.sin(G*I)+N*Math.cos(G*I));else if(M===1){B=pe=>f-Math.exp(-z*pe)*(E+(C+z*E)*pe);const I=C+z*E;K=pe=>Math.exp(-z*pe)*(z*I*pe-C)}else{const I=z*Math.sqrt(M*M-1);B=Le=>{const ke=Math.exp(-M*z*Le),H=Math.min(I*Le,300);return f-ke*((C+M*z*E)*Math.sinh(H)+I*E*Math.cosh(H))/I};const pe=(C+M*z*E)/I,ne=M*z*pe-E*I,Re=M*z*E-pe*I;K=Le=>{const ke=Math.exp(-M*z*Le),H=Math.min(I*Le,300);return ke*(ne*Math.sinh(H)+Re*Math.cosh(H))}}const ee={calculatedDuration:w&&v||null,velocity:I=>_n(K(I)),next:I=>{if(!w&&M<1){const ne=Math.exp(-M*z*I),Re=Math.sin(G*I),Le=Math.cos(G*I),ke=f-ne*(oe*Re+E*Le),H=_n(ne*(te*Re+N*Le));return h.done=Math.abs(H)<=s&&Math.abs(f-ke)<=o,h.value=h.done?f:ke,h}const pe=B(I);if(w)h.done=I>=v;else{const ne=_n(K(I));h.done=Math.abs(ne)<=s&&Math.abs(f-pe)<=o}return h.value=h.done?f:pe,h},toString:()=>{const I=Math.min(Km(ee),ic),pe=Q1(ne=>ee.next(I*ne).value,I,30);return I+"ms "+pe},toTransition:()=>{}};return ee}rc.applyToOptions=t=>{const n=DR(t,100,rc);return t.ease=n.ease,t.duration=_n(n.duration),t.type="keyframes",t};const BR=5;function $1(t,n,i){const s=Math.max(n-BR,0);return M1(i-t(s),n-s)}function Lh({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:f,min:h,max:m,restDelta:p=.5,restSpeed:y}){const v=t[0],x={done:!1,value:v},w=N=>h!==void 0&&N<h||m!==void 0&&N>m,C=N=>h===void 0?m:m===void 0||Math.abs(h-N)<Math.abs(m-N)?h:m;let M=i*n;const E=v+M,z=f===void 0?E:f(E);z!==E&&(M=z-v);const U=N=>-M*Math.exp(-N/s),B=N=>z+U(N),K=N=>{const ee=U(N),I=B(N);x.done=Math.abs(ee)<=p,x.value=x.done?z:I};let G,oe;const te=N=>{w(x.value)&&(G=N,oe=rc({keyframes:[x.value,C(x.value)],velocity:$1(B,N,x.value),damping:o,stiffness:u,restDelta:p,restSpeed:y}))};return te(0),{calculatedDuration:null,next:N=>{let ee=!1;return!oe&&G===void 0&&(ee=!0,K(N),te(N)),G!==void 0&&N>=G?oe.next(N-G):(!ee&&K(N),x)}}}function HR(t,n,i){const s=[],o=i||Yi.mix||X1,u=t.length-1;for(let f=0;f<u;f++){let h=o(t[f],t[f+1]);if(n){const m=Array.isArray(n)?n[f]||Yn:n;h=co(m,h)}s.push(h)}return s}function PR(t,n,{clamp:i=!0,ease:s,mixer:o}={}){const u=t.length;if(km(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const f=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=HR(n,s,o),m=h.length,p=y=>{if(f&&y<t[0])return n[0];let v=0;if(m>1)for(;v<t.length-2&&!(y<t[v+1]);v++);const x=eo(t[v],t[v+1],y);return h[v](x)};return i?y=>p(xa(t[0],t[u-1],y)):p}function qR(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const o=eo(0,n,s);t.push(yt(i,1,o))}}function KR(t){const n=[0];return qR(n,t.length-1),n}function ZR(t,n){return t.map(i=>i*n)}function YR(t,n){return t.map(()=>n||U1).splice(0,t.length-1)}function Gl({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const o=W_(s)?s.map(U0):U0(s),u={done:!1,value:n[0]},f=ZR(i&&i.length===n.length?i:KR(n),t),h=PR(f,n,{ease:Array.isArray(o)?o:YR(n,o)});return{calculatedDuration:t,next:m=>(u.value=h(m),u.done=m>=t,u)}}const GR=t=>t!==null;function Cc(t,{repeat:n,repeatType:i="loop"},s,o=1){const u=t.filter(GR),h=o<0||n&&i!=="loop"&&n%2===1?0:u.length-1;return!h||s===void 0?u[h]:s}const FR={decay:Lh,inertia:Lh,tween:Gl,keyframes:Gl,spring:rc};function I1(t){typeof t.type=="string"&&(t.type=FR[t.type])}class Zm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const XR=t=>t/100;class sc extends Zm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var s,o;const{motionValue:i}=this.options;i&&i.updatedAt!==rn.now()&&this.tick(rn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(s=this.options).onStop)==null||o.call(s))},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;I1(n);const{type:i=Gl,repeat:s=0,repeatDelay:o=0,repeatType:u,velocity:f=0}=n;let{keyframes:h}=n;const m=i||Gl;m!==Gl&&typeof h[0]!="number"&&(this.mixKeyframes=co(XR,X1(h[0],h[1])),h=[0,100]);const p=m({...n,keyframes:h});u==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...h].reverse(),velocity:-f})),p.calculatedDuration===null&&(p.calculatedDuration=Km(p));const{calculatedDuration:y}=p;this.calculatedDuration=y,this.resolvedDuration=y+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=p}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:s,totalDuration:o,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return s.next(0);const{delay:p=0,keyframes:y,repeat:v,repeatType:x,repeatDelay:w,type:C,onUpdate:M,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-o/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const z=this.currentTime-p*(this.playbackSpeed>=0?1:-1),U=this.playbackSpeed>=0?z<0:z>o;this.currentTime=Math.max(z,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let B=this.currentTime,K=s;if(v){const N=Math.min(this.currentTime,o)/h;let ee=Math.floor(N),I=N%1;!I&&N>=1&&(I=1),I===1&&ee--,ee=Math.min(ee,v+1),!!(ee%2)&&(x==="reverse"?(I=1-I,w&&(I-=w/h)):x==="mirror"&&(K=f)),B=xa(0,1,I)*h}let G;U?(this.delayState.value=y[0],G=this.delayState):G=K.next(B),u&&!U&&(G.value=u(G.value));let{done:oe}=G;!U&&m!==null&&(oe=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const te=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&oe);return te&&C!==Lh&&(G.value=Cc(y,this.options,E,this.speed)),M&&M(G.value),te&&this.finish(),G}then(n,i){return this.finished.then(n,i)}get duration(){return Kn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Kn(n)}get time(){return Kn(this.currentTime)}set time(n){n=_n(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=n,this.tick(n))}getGeneratorVelocity(){const n=this.currentTime;if(n<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(n);const i=this.generator.next(n).value;return $1(s=>this.generator.next(s).value,n,i)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;i&&this.driver&&this.updateTime(rn.now()),this.playbackSpeed=n,i&&this.driver&&(this.time=Kn(this.currentTime))}play(){var o,u;if(this.isStopped)return;const{driver:n=NR,startTime:i}=this.options;this.driver||(this.driver=n(f=>this.tick(f))),(u=(o=this.options).onPlay)==null||u.call(o);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),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(rn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var n,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(n=this.options).onComplete)==null||i.call(n)}cancel(){var n,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(n=this.options).onCancel)==null||i.call(n)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),n.observe(this)}}function QR(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const br=t=>t*180/Math.PI,Vh=t=>{const n=br(Math.atan2(t[1],t[0]));return Uh(n)},$R={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Vh,rotateZ:Vh,skewX:t=>br(Math.atan(t[1])),skewY:t=>br(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Uh=t=>(t=t%360,t<0&&(t+=360),t),Y0=Vh,G0=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),F0=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),IR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:G0,scaleY:F0,scale:t=>(G0(t)+F0(t))/2,rotateX:t=>Uh(br(Math.atan2(t[6],t[5]))),rotateY:t=>Uh(br(Math.atan2(-t[2],t[0]))),rotateZ:Y0,rotate:Y0,skewX:t=>br(Math.atan(t[4])),skewY:t=>br(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Bh(t){return t.includes("scale")?1:0}function Hh(t,n){if(!t||t==="none")return Bh(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(i)s=IR,o=i;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=$R,o=h}if(!o)return Bh(n);const u=s[n],f=o[1].split(",").map(WR);return typeof u=="function"?u(f):f[u]}const JR=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return Hh(i,n)};function WR(t){return parseFloat(t.trim())}const Os=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ks=new Set(Os),X0=t=>t===zs||t===fe,eM=new Set(["x","y","z"]),tM=Os.filter(t=>!eM.has(t));function nM(t){const n=[];return tM.forEach(i=>{const s=t.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const qi={width:({x:t},{paddingLeft:n="0",paddingRight:i="0",boxSizing:s})=>{const o=t.max-t.min;return s==="border-box"?o:o-parseFloat(n)-parseFloat(i)},height:({y:t},{paddingTop:n="0",paddingBottom:i="0",boxSizing:s})=>{const o=t.max-t.min;return s==="border-box"?o:o-parseFloat(n)-parseFloat(i)},top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>Hh(n,"x"),y:(t,{transform:n})=>Hh(n,"y")};qi.translateX=qi.x;qi.translateY=qi.y;const wr=new Set;let Ph=!1,qh=!1,Kh=!1;function J1(){if(qh){const t=Array.from(wr).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;n.forEach(s=>{const o=nM(s);o.length&&(i.set(s,o),s.render())}),t.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const o=i.get(s);o&&o.forEach(([u,f])=>{var h;(h=s.getValue(u))==null||h.set(f)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}qh=!1,Ph=!1,wr.forEach(t=>t.complete(Kh)),wr.clear()}function W1(){wr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(qh=!0)})}function aM(){Kh=!0,W1(),J1(),Kh=!1}class Ym{constructor(n,i,s,o,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=o,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(wr.add(this),Ph||(Ph=!0,ot.read(W1),ot.resolveKeyframes(J1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:o}=this;if(n[0]===null){const u=o==null?void 0:o.get(),f=n[n.length-1];if(u!==void 0)n[0]=u;else if(s&&i){const h=s.readValue(i,f);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=f),o&&u===void 0&&o.set(n[0])}QR(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),wr.delete(this)}cancel(){this.state==="scheduled"&&(wr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const iM=t=>t.startsWith("--");function eS(t,n,i){iM(n)?t.style.setProperty(n,i):t.style[n]=i}const rM={};function tS(t,n){const i=R1(t);return()=>rM[n]??i()}const sM=tS(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),nS=tS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ul=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,Q0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ul([0,.65,.55,1]),circOut:Ul([.55,0,1,.45]),backIn:Ul([.31,.01,.66,-.59]),backOut:Ul([.33,1.53,.69,.99])};function aS(t,n){if(t)return typeof t=="function"?nS()?Q1(t,n):"ease-out":B1(t)?Ul(t):Array.isArray(t)?t.map(i=>aS(i,n)||Q0.easeOut):Q0[t]}function lM(t,n,i,{delay:s=0,duration:o=300,repeat:u=0,repeatType:f="loop",ease:h="easeOut",times:m}={},p=void 0){const y={[n]:i};m&&(y.offset=m);const v=aS(h,o);Array.isArray(v)&&(y.easing=v);const x={delay:s,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return p&&(x.pseudoElement=p),t.animate(y,x)}function iS(t){return typeof t=="function"&&"applyToOptions"in t}function oM({type:t,...n}){return iS(t)&&nS()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class rS extends Zm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:i,name:s,keyframes:o,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=n,km(typeof n.type!="string");const p=oM(n);this.animation=lM(i,s,o,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=Cc(o,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(y),eS(i,s,y),this.animation.cancel()}m==null||m(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var n,i;(i=(n=this.animation).finish)==null||i.call(n)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var i,s,o;const n=(i=this.options)==null?void 0:i.element;!this.isPseudoElement&&(n!=null&&n.isConnected)&&((o=(s=this.animation).commitStyles)==null||o.call(s))}get duration(){var i,s;const n=((s=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:s.call(i).duration)||0;return Kn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Kn(n)}get time(){return Kn(Number(this.animation.currentTime)||0)}set time(n){const i=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_n(n),i&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,rangeStart:i,rangeEnd:s,observe:o}){var u;return this.allowFlatten&&((u=this.animation.effect)==null||u.updateTiming({easing:"linear"})),this.animation.onfinish=null,n&&sM()?(this.animation.timeline=n,i&&(this.animation.rangeStart=i),s&&(this.animation.rangeEnd=s),Yn):o(this)}}const sS={anticipate:k1,backInOut:O1,circInOut:V1};function uM(t){return t in sS}function cM(t){typeof t.ease=="string"&&uM(t.ease)&&(t.ease=sS[t.ease])}const oh=10;class fM extends rS{constructor(n){cM(n),I1(n),super(n),n.startTime!==void 0&&n.autoplay!==!1&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:s,onComplete:o,element:u,...f}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const h=new sc({...f,autoplay:!1}),m=Math.max(oh,rn.now()-this.startTime),p=xa(0,oh,m-oh),y=h.sample(m).value,{name:v}=this.options;u&&v&&eS(u,v,y),i.setWithVelocity(h.sample(Math.max(0,m-p)).value,y,p),h.stop()}}const $0=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(sa.test(t)||t==="0")&&!t.startsWith("url("));function dM(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function hM(t,n,i,s){const o=t[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],f=$0(o,n),h=$0(u,n);return!f||!h?!1:dM(t)||(i==="spring"||iS(i))&&s}function Zh(t){t.duration=0,t.type="keyframes"}const lS=new Set(["opacity","clipPath","filter","transform"]),mM=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function pM(t){for(let n=0;n<t.length;n++)if(typeof t[n]=="string"&&mM.test(t[n]))return!0;return!1}const yM=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),gM=R1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function vM(t){var v;
298const{motionValue:n,name:i,repeatDelay:s,repeatType:o,damping:u,type:f,keyframes:h}=t;if(!(((v=n==null?void 0:n.owner)==null?void 0:v.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:y}=n.owner.getProps();return gM()&&i&&(lS.has(i)||yM.has(i)&&pM(h))&&(i!=="transform"||!y)&&!p&&!s&&o!=="mirror"&&u!==0&&f!=="inertia"}const bM=40;class xM extends Zm{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:f="loop",keyframes:h,name:m,motionValue:p,element:y,...v}){var C;super(),this.stop=()=>{var M,E;this._animation&&(this._animation.stop(),(M=this.stopTimeline)==null||M.call(this)),(E=this.keyframeResolver)==null||E.cancel()},this.createdAt=rn.now();const x={autoplay:n,delay:i,type:s,repeat:o,repeatDelay:u,repeatType:f,name:m,motionValue:p,element:y,...v},w=(y==null?void 0:y.KeyframeResolver)||Ym;this.keyframeResolver=new w(h,(M,E,z)=>this.onKeyframesResolved(M,E,x,!z),m,p,y),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(n,i,s,o){var z,U;this.keyframeResolver=void 0;const{name:u,type:f,velocity:h,delay:m,isHandoff:p,onUpdate:y}=s;this.resolvedAt=rn.now();let v=!0;hM(n,u,f,h)||(v=!1,(Yi.instantAnimations||!m)&&(y==null||y(Cc(n,s,i))),n[0]=n[n.length-1],Zh(s),s.repeat=0);const w={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>bM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:n},C=v&&!p&&vM(w),M=(U=(z=w.motionValue)==null?void 0:z.owner)==null?void 0:U.current;let E;if(C)try{E=new fM({...w,element:M})}catch{E=new sc(w)}else E=new sc(w);E.finished.then(()=>{this.notifyFinished()}).catch(Yn),this.pendingTimeline&&(this.stopTimeline=E.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=E}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){var n;return this._animation||((n=this.keyframeResolver)==null||n.resume(),aM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var n;this._animation&&this.animation.cancel(),(n=this.keyframeResolver)==null||n.cancel()}}function oS(t,n,i,s=0,o=1){const u=Array.from(t).sort((p,y)=>
vendor: 27,218 bytes, line 298
298p.sortNodePosition(y)).indexOf(n),f=t.size,h=(f-1)*s;return typeof i=="function"?i(u,f):o===1?u*s:h-u*s}const SM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function wM(t){const n=SM.exec(t);if(!n)return[,];const[,i,s,o]=n;return[`--${i??s}`,o]}function uS(t,n,i=1){const[s,o]=wM(t);if(!s)return;const u=window.getComputedStyle(n).getPropertyValue(s);if(u){const f=u.trim();return E1(f)?parseFloat(f):f}return Bm(o)?uS(o,n,i+1):o}const TM={type:"spring",stiffness:500,damping:25,restSpeed:10},CM=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),EM={type:"keyframes",duration:.8},AM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_M=(t,{keyframes:n})=>n.length>2?EM:ks.has(t)?t.startsWith("scale")?CM(n[1]):TM:AM;function cS(t,n){if(t!=null&&t.inherit&&n){const{inherit:i,...s}=t;return{...n,...s}}return t}function Gm(t,n){const i=(t==null?void 0:t[n])??(t==null?void 0:t.default)??t;return i!==t?cS(i,t):i}const RM=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function MM(t){for(const n in t)if(!RM.has(n))return!0;return!1}const Fm=(t,n,i,s={},o,u)=>f=>{const h=Gm(s,t)||{},m=h.delay||s.delay||0;let{elapsed:p=0}=s;p=p-_n(m);const y={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:x=>{n.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:u?void 0:o};MM(h)||Object.assign(y,_M(t,y)),y.duration&&(y.duration=_n(y.duration)),y.repeatDelay&&(y.repeatDelay=_n(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Zh(y),y.delay===0&&(v=!0)),(Yi.instantAnimations||Yi.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(v=!0,Zh(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,v&&!u&&n.get()!==void 0){const x=Cc(y.keyframes,h);if(x!==void 0){ot.update(()=>{y.onUpdate(x),y.onComplete()});return}}return h.isSync?new sc(y):new xM(y)};function I0(t){const n=[{},{}];return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function Xm(t,n,i,s){if(typeof n=="function"){const[o,u]=I0(s);n=n(i!==void 0?i:t.custom,o,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[o,u]=I0(s);n=n(i!==void 0?i:t.custom,o,u)}return n}function Tr(t,n,i){const s=t.getProps();return Xm(s,n,i!==void 0?i:s.custom,t)}const fS=new Set(["width","height","top","left","right","bottom",...Os]),J0=30,jM=t=>!isNaN(parseFloat(t));class NM{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var u;const o=rn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((u=this.events.change)==null||u.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=rn.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=jM(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Lm);const s=this.events[n].add(i);return n==="change"?()=>{s(),ot.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var n;(n=this.events.change)==null||n.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=rn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>J0)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,J0);return M1(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),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 n,i;(n=this.dependents)==null||n.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Es(t,n){return new NM(t,n)}const Yh=t=>Array.isArray(t);function DM(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,Es(i))}function zM(t){return Yh(t)?t[t.length-1]||0:t}function OM(t,n){const i=Tr(t,n);let{transitionEnd:s={},transition:o={},...u}=i||{};u={...u,...s};for(const f in u){const h=zM(u[f]);DM(t,f,h)}}const Xt=t=>!!(t&&t.getVelocity);function kM(t){return!!(Xt(t)&&t.add)}function Gh(t,n){const i=t.getValue("willChange");if(kM(i))return i.add(n);if(!i&&Yi.WillChange){const s=new Yi.WillChange("auto");t.addValue("willChange",s),s.add(n)}}function Qm(t){return t.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const LM="framerAppearId",dS="data-"+Qm(LM);function hS(t){return t.props[dS]}function VM({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function mS(t,n,{delay:i=0,transitionOverride:s,type:o}={}){let{transition:u,transitionEnd:f,...h}=n;const m=t.getDefaultTransition();u=u?cS(u,m):m;const p=u==null?void 0:u.reduceMotion;s&&(u=s);const y=[],v=o&&t.animationState&&t.animationState.getState()[o];for(const x in h){const w=t.getValue(x,t.latestValues[x]??null),C=h[x];if(C===void 0||v&&VM(v,x))continue;const M={delay:i,...Gm(u||{},x)},E=w.get();if(E!==void 0&&!w.isAnimating()&&!Array.isArray(C)&&C===E&&!M.velocity){ot.update(()=>w.set(C));continue}let z=!1;if(window.MotionHandoffAnimation){const K=hS(t);if(K){const G=window.MotionHandoffAnimation(K,x,ot);G!==null&&(M.startTime=G,z=!0)}}Gh(t,x);const U=p??t.shouldReduceMotion;w.start(Fm(x,w,C,U&&fS.has(x)?{type:!1}:M,t,z));const B=w.animation;B&&y.push(B)}if(f){const x=()=>ot.update(()=>{f&&OM(t,f)});y.length?Promise.all(y).then(x):x()}return y}function Fh(t,n,i={}){var m;const s=Tr(t,n,i.type==="exit"?(m=t.presenceContext)==null?void 0:m.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(o=i.transitionOverride);const u=s?()=>Promise.all(mS(t,s,i)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:x}=o;return UM(t,n,p,y,v,x,i)}:()=>Promise.resolve(),{when:h}=o;if(h){const[p,y]=h==="beforeChildren"?[u,f]:[f,u];return p().then(()=>y())}else return Promise.all([u(),f(i.delay)])}function UM(t,n,i=0,s=0,o=0,u=1,f){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push(Fh(m,n,{...f,delay:i+(typeof s=="function"?0:s)+oS(t.variantChildren,m,s,o,u)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function BM(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const o=n.map(u=>Fh(t,u,i));s=Promise.all(o)}else if(typeof n=="string")s=Fh(t,n,i);else{const o=typeof n=="function"?Tr(t,n,i.custom):n;s=Promise.all(mS(t,o,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}const HM={test:t=>t==="auto",parse:t=>t},pS=t=>n=>n.test(t),yS=[zs,fe,ga,Vi,dR,fR,HM],W0=t=>yS.find(pS(t));function PM(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||_1(t):!0}const qM=new Set(["brightness","contrast","saturate","opacity"]);function KM(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[s]=i.match(Hm)||[];if(!s)return t;const o=i.replace(s,"");let u=qM.has(n)?1:0;return s!==i&&(u*=100),n+"("+u+o+")"}const ZM=/\b([a-z-]*)\(.*?\)/gu,Xh={...sa,getAnimatableNone:t=>{const n=t.match(ZM);return n?n.map(KM).join(" "):t}},Qh={...sa,getAnimatableNone:t=>{const n=sa.parse(t);return sa.createTransformer(t)(n.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},eb={...zs,transform:Math.round},YM={rotate:Vi,rotateX:Vi,rotateY:Vi,rotateZ:Vi,scale:Lu,scaleX:Lu,scaleY:Lu,scaleZ:Lu,skew:Vi,skewX:Vi,skewY:Vi,distance:fe,translateX:fe,translateY:fe,translateZ:fe,x:fe,y:fe,z:fe,perspective:fe,transformPerspective:fe,opacity:to,originX:H0,originY:H0,originZ:fe},$m={borderWidth:fe,borderTopWidth:fe,borderRightWidth:fe,borderBottomWidth:fe,borderLeftWidth:fe,borderRadius:fe,borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomRightRadius:fe,borderBottomLeftRadius:fe,width:fe,maxWidth:fe,height:fe,maxHeight:fe,top:fe,right:fe,bottom:fe,left:fe,inset:fe,insetBlock:fe,insetBlockStart:fe,insetBlockEnd:fe,insetInline:fe,insetInlineStart:fe,insetInlineEnd:fe,padding:fe,paddingTop:fe,paddingRight:fe,paddingBottom:fe,paddingLeft:fe,paddingBlock:fe,paddingBlockStart:fe,paddingBlockEnd:fe,paddingInline:fe,paddingInlineStart:fe,paddingInlineEnd:fe,margin:fe,marginTop:fe,marginRight:fe,marginBottom:fe,marginLeft:fe,marginBlock:fe,marginBlockStart:fe,marginBlockEnd:fe,marginInline:fe,marginInlineStart:fe,marginInlineEnd:fe,fontSize:fe,backgroundPositionX:fe,backgroundPositionY:fe,...YM,zIndex:eb,fillOpacity:to,strokeOpacity:to,numOctaves:eb},GM={...$m,color:Nt,backgroundColor:Nt,outlineColor:Nt,fill:Nt,stroke:Nt,borderColor:Nt,borderTopColor:Nt,borderRightColor:Nt,borderBottomColor:Nt,borderLeftColor:Nt,filter:Xh,WebkitFilter:Xh,mask:Qh,WebkitMask:Qh},gS=t=>GM[t],FM=new Set([Xh,Qh]);function vS(t,n){let i=gS(t);return FM.has(i)||(i=sa),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const XM=new Set(["auto","none","0"]);function QM(t,n,i){let s=0,o;for(;s<t.length&&!o;){const u=t[s];typeof u=="string"&&!XM.has(u)&&Cs(u).values.length&&(o=t[s]),s++}if(o&&i)for(const u of n)t[u]=vS(i,o)}class $M extends Ym{constructor(n,i,s,o,u){super(n,i,s,o,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let y=0;y<n.length;y++){let v=n[y];if(typeof v=="string"&&(v=v.trim(),Bm(v))){const x=uS(v,i.current);x!==void 0&&(n[y]=x),y===n.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!fS.has(s)||n.length!==2)return;const[o,u]=n,f=W0(o),h=W0(u),m=B0(o),p=B0(u);if(m!==p&&qi[s]){this.needsMeasurement=!0;return}if(f!==h)if(X0(f)&&X0(h))for(let y=0;y<n.length;y++){const v=n[y];typeof v=="string"&&(n[y]=parseFloat(v))}else qi[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let o=0;o<n.length;o++)(n[o]===null||PM(n[o]))&&s.push(o);s.length&&QM(n,s,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qi[s](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const o=i[i.length-1];o!==void 0&&n.getValue(s,o).jump(o,!1)}measureEndState(){var h;const{element:n,name:i,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const o=n.getValue(i);o&&o.jump(this.measuredOrigin,!1);const u=s.length-1,f=s[u];s[u]=qi[i](n.measureViewportBox(),window.getComputedStyle(n.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([m,p])=>{n.getValue(m).set(p)}),this.resolveNoneKeyframes()}}function bS(t,n,i){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const o=(i==null?void 0:i[t])??s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t).filter(s=>s!=null)}const xS=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function Gu(t){return A1(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:Im}=H1(queueMicrotask,!1),ra={x:!1,y:!1};function SS(){return ra.x||ra.y}function IM(t){return t==="x"||t==="y"?ra[t]?null:(ra[t]=!0,()=>{ra[t]=!1}):ra.x||ra.y?null:(ra.x=ra.y=!0,()=>{ra.x=ra.y=!1})}function wS(t,n){const i=bS(t),s=new AbortController,o={passive:!0,...n,signal:s.signal};return[i,o,()=>s.abort()]}function JM(t){return!(t.pointerType==="touch"||SS())}function WM(t,n,i={}){const[s,o,u]=wS(t,i);return s.forEach(f=>{let h=!1,m=!1,p;const y=()=>{f.removeEventListener("pointerleave",C)},v=E=>{p&&(p(E),p=void 0),y()},x=E=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),m&&(m=!1,v(E))},w=()=>{h=!0,window.addEventListener("pointerup",x,o),window.addEventListener("pointercancel",x,o)},C=E=>{if(E.pointerType!=="touch"){if(h){m=!0;return}v(E)}},M=E=>{if(!JM(E))return;m=!1;const z=n(f,E);typeof z=="function"&&(p=z,f.addEventListener("pointerleave",C,o))};f.addEventListener("pointerenter",M,o),f.addEventListener("pointerdown",w,o)}),u}const TS=(t,n)=>n?t===n?!0:TS(t,n.parentElement):!1,Jm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,ej=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function tj(t){return ej.has(t.tagName)||t.isContentEditable===!0}const nj=new Set(["INPUT","SELECT","TEXTAREA"]);function aj(t){return nj.has(t.tagName)||t.isContentEditable===!0}const Fu=new WeakSet;function tb(t){return n=>{n.key==="Enter"&&t(n)}}function uh(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const ij=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=tb(()=>{if(Fu.has(i))return;uh(i,"down");const o=tb(()=>{uh(i,"up")}),u=()=>uh(i,"cancel");i.addEventListener("keyup",o,n),i.addEventListener("blur",u,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function nb(t){return Jm(t)&&!SS()}const ab=new WeakSet;function rj(t,n,i={}){const[s,o,u]=wS(t,i),f=h=>{const m=h.currentTarget;if(!nb(h)||ab.has(h))return;Fu.add(m),i.stopPropagation&&ab.add(h);const p=n(m,h),y=(w,C)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),Fu.has(m)&&Fu.delete(m),nb(w)&&typeof p=="function"&&p(w,{success:C})},v=w=>{y(w,m===window||m===document||i.useGlobalTarget||TS(m,w.target))},x=w=>{y(w,!1)};window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",x,o)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",f,o),Gu(h)&&(h.addEventListener("focus",p=>ij(p,o)),!tj(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),u}function Wm(t){return A1(t)&&"ownerSVGElement"in t}const Xu=new WeakMap;let Ui;const CS=(t,n,i)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:Wm(s)&&"getBBox"in s?s.getBBox()[n]:s[i],sj=CS("inline","width","offsetWidth"),lj=CS("block","height","offsetHeight");function oj({target:t,borderBoxSize:n}){var i;(i=Xu.get(t))==null||i.forEach(s=>{s(t,{get width(){return sj(t,n)},get height(){return lj(t,n)}})})}function uj(t){t.forEach(oj)}function cj(){typeof ResizeObserver>"u"||(Ui=new ResizeObserver(uj))}function fj(t,n){Ui||cj();const i=bS(t);return i.forEach(s=>{let o=Xu.get(s);o||(o=new Set,Xu.set(s,o)),o.add(n),Ui==null||Ui.observe(s)}),()=>{i.forEach(s=>{const o=Xu.get(s);o==null||o.delete(n),o!=null&&o.size||Ui==null||Ui.unobserve(s)})}}const Qu=new Set;let gs;function dj(){gs=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Qu.forEach(n=>n(t))},window.addEventListener("resize",gs)}function hj(t){return Qu.add(t),gs||dj(),()=>{Qu.delete(t),!Qu.size&&typeof gs=="function"&&(window.removeEventListener("resize",gs),gs=void 0)}}function ib(t,n){return typeof t=="function"?hj(t):fj(t,n)}function mj(t){return Wm(t)&&t.tagName==="svg"}const pj=[...yS,Nt,sa],yj=t=>pj.find(pS(t)),rb=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:rb(),y:rb()}),sb=()=>({min:0,max:0}),Lt=()=>({x:sb(),y:sb()}),gj=new WeakMap;function Ec(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function no(t){return typeof t=="string"||Array.isArray(t)}const ep=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tp=["initial",...ep];function Ac(t){return Ec(t.animate)||tp.some(n=>no(t[n]))}function ES(t){return!!(Ac(t)||t.variants)}function vj(t,n,i){for(const s in n){const o=n[s],u=i[s];if(Xt(o))t.addValue(s,o);else if(Xt(u))t.addValue(s,Es(o,{owner:t}));else if(u!==o)if(t.hasValue(s)){const f=t.getValue(s);f.liveStyle===!0?f.jump(o):f.hasAnimated||f.set(o)}else{const f=t.getStaticValue(s);t.addValue(s,Es(f!==void 0?f:o,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const $h={current:null},AS={current:!1},bj=typeof window<"u";function xj(){if(AS.current=!0,!!bj)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>$h.current=t.matches;t.addEventListener("change",n),n()}else $h.current=!1}const lb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let lc={};function _S(t){lc=t}function Sj(){return lc}class wj{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:o,skipAnimations:u,blockInitialAnimation:f,visualState:h},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ym,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 w=rn.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,ot.render(this.render,!1,!0))};const{latestValues:p,renderState:y}=h;this.latestValues=p,this.baseTarget={...p},this.initialValues=i.initial?{...p}:{},this.renderState=y,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=u,this.options=m,this.blockInitialAnimation=!!f,this.isControllingVariants=Ac(i),this.isVariantNode=ES(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const w in x){const C=x[w];p[w]!==void 0&&Xt(C)&&C.set(p[w])}}mount(n){var i,s;if(this.hasBeenMounted)for(const o in this.initialValues)(i=this.values.get(o))==null||i.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=n,gj.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,u)=>this.bindToMotionValue(u,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(AS.current||xj(),this.shouldReduceMotion=$h.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var n;this.projection&&this.projection.unmount(),Gi(this.notifyUpdate),Gi(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(n=this.parent)==null||n.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){if(this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)(),i.accelerate&&lS.has(n)&&this.current instanceof HTMLElement){const{factory:f,keyframes:h,times:m,ease:p,duration:y}=i.accelerate,v=new rS({element:this.current,name:n,keyframes:h,times:m,ease:p,duration:_n(y)}),x=f(v);this.valueSubscriptions.set(n,()=>{x(),v.cancel()});return}const s=ks.has(n);s&&this.onBindTransform&&this.onBindTransform();const o=i.on("change",f=>{this.latestValues[n]=f,this.props.onUpdate&&ot.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{o(),u&&u(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in lc){const i=lc[n];if(!i)continue;const{isEnabled:s,Feature:o}=i;if(!this.features[n]&&o&&s(this.props)&&(this.features[n]=new o(this)),this.features[n]){const u=this.features[n];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Lt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<lb.length;s++){const o=lb[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const u="on"+o,f=n[u];f&&(this.propEventSubscriptions[o]=this.on(o,f))}this.prevMotionValues=vj(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const s=this.values.get(n);i!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&i!==void 0&&(s=Es(i===null?void 0:i,{owner:this}),this.addValue(n,s)),s}readValue(n,i){let s=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return s!=null&&(typeof s=="string"&&(E1(s)||_1(s))?s=parseFloat(s):!yj(s)&&sa.test(i)&&(s=vS(n,i)),this.setBaseTarget(n,Xt(s)?s.get():s)),Xt(s)?s.get():s}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var u;const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const f=Xm(this.props,i,(u=this.presenceContext)==null?void 0:u.custom);f&&(s=f[n])}if(i&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,n);return o!==void 0&&!Xt(o)?o:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Lm),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){Im.render(this.render)}}class RS extends wj{constructor(){super(...arguments),this.KeyframeResolver=$M}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){const s=n.style;return s?s[i]:void 0}removeValueFromRenderState(n,{vars:i,style:s}){delete i[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Xt(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class Qi{constructor(n){this.isMounted=!1,this.node=n}update(){}}function MS({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function Tj({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function Cj(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),s=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function ch(t){return t===void 0||t===1}function Ih({scale:t,scaleX:n,scaleY:i}){return!ch(t)||!ch(n)||!ch(i)}function yr(t){return Ih(t)||jS(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function jS(t){return ob(t.x)||ob(t.y)}function ob(t){return t&&t!=="0%"}function oc(t,n,i){const s=t-i,o=n*s;return i+o}function ub(t,n,i,s,o){return o!==void 0&&(t=oc(t,o,s)),oc(t,i,s)+n}function Jh(t,n=0,i=1,s,o){t.min=ub(t.min,n,i,s,o),t.max=ub(t.max,n,i,s,o)}function NS(t,{x:n,y:i}){Jh(t.x,n.translate,n.scale,n.originPoint),Jh(t.y,i.translate,i.scale,i.originPoint)}const cb=.999999999999,fb=1.0000000000001;function Ej(t,n,i,s=!1){var h;const o=i.length;if(!o)return;n.x=n.y=1;let u,f;for(let m=0;m<o;m++){u=i[m],f=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(ya(t.x,-u.scroll.offset.x),ya(t.y,-u.scroll.offset.y)),f&&(n.x*=f.x.scale,n.y*=f.y.scale,NS(t,f)),s&&yr(u.latestValues)&&$u(t,u.latestValues,(h=u.layout)==null?void 0:h.layoutBox))}n.x<fb&&n.x>cb&&(n.x=1),n.y<fb&&n.y>cb&&(n.y=1)}function ya(t,n){t.min+=n,t.max+=n}function db(t,n,i,s,o=.5){const u=yt(t.min,t.max,o);Jh(t,n,i,u,s)}function hb(t,n){return typeof t=="string"?parseFloat(t)/100*(n.max-n.min):t}function $u(t,n,i){const s=i??t;db(t.x,hb(n.x,s.x),n.scaleX,n.scale,n.originX),db(t.y,hb(n.y,s.y),n.scaleY,n.scale,n.originY)}function DS(t,n){return MS(Cj(t.getBoundingClientRect(),n))}function Aj(t,n,i){const s=DS(t,i),{scroll:o}=n;return o&&(ya(s.x,o.offset.x),ya(s.y,o.offset.y)),s}const _j={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Rj=Os.length;function Mj(t,n,i){let s="",o=!0;for(let u=0;u<Rj;u++){const f=Os[u],h=t[f];if(h===void 0)continue;let m=!0;if(typeof h=="number")m=h===(f.startsWith("scale")?1:0);else{const p=parseFloat(h);m=f.startsWith("scale")?p===1:p===0}if(!m||i){const p=xS(h,$m[f]);if(!m){o=!1;const y=_j[f]||f;s+=`${y}(${p}
298) `}i&&(n[f]=p)}}return s=s.trim(),i?s=i(n,o?"":s):o&&(s="none"),s}function np(t,n,i){const{style:s,vars:o,transformOrigin:u}=t;let f=!1,h=!1;for(const m in n){const p=n[m];if(ks.has(m)){f=!0;continue}else if(q1(m)){o[m]=p;continue}else{const y=xS(p,$m[m]);m.startsWith("origin")?(h=!0,u[m]=y):s[m]=y}}if(n.transform||(f||i?s.transform=Mj(n,t.transform,i):s.transform&&(s.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:y=0}=u;s.transformOrigin=`${m} ${p} ${y}`}}function zS(t,{style:n,vars:i},s,o){const u=t.style;let f;for(f in n)u[f]=n[f];o==null||o.applyProjectionStyles(u,s);for(f in i)u.setProperty(f,i[f])}function mb(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Vl={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(fe.test(t))t=parseFloat(t);else return t;const i=mb(t,n.target.x),s=mb(t,n.target.y);return`${i}% ${s}%`}},jj={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,o=sa.parse(t);if(o.length>5)return s;const u=sa.createTransformer(t),f=typeof o[0]!="number"?1:0,h=i.x.scale*n.x,m=i.y.scale*n.y;o[0+f]/=h,o[1+f]/=m;const p=yt(h,m,.5);return typeof o[2+f]=="number"&&(o[2+f]/=p),typeof o[3+f]=="number"&&(o[3+f]/=p),u(o)}},Wh={borderRadius:{...Vl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vl,borderTopRightRadius:Vl,borderBottomLeftRadius:Vl,borderBottomRightRadius:Vl,boxShadow:jj};function OS(t,{layout:n,layoutId:i}){return ks.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!Wh[t]||t==="opacity")}function ap(t,n,i){var f;const s=t.style,o=n==null?void 0:n.style,u={};if(!s)return u;for(const h in s)(Xt(s[h])||o&&Xt(o[h])||OS(h,t)||((f=i==null?void 0:i.getValue(h))==null?void 0:f.liveStyle)!==void 0)&&(u[h]=s[h]);return u}function Nj(t){return window.getComputedStyle(t)}class Dj extends RS{constructor(){super(...arguments),this.type="html",this.renderInstance=zS}readValueFromInstance(n,i){var s;if(ks.has(i))return(s=this.projection)!=null&&s.isProjecting?Bh(i):JR(n,i);{const o=Nj(n),u=(q1(i)?o.getPropertyValue(i):o[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(n,{transformPagePoint:i}){return DS(n,i)}build(n,i,s){np(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return ap(n,i,s)}}const zj={offset:"stroke-dashoffset",array:"stroke-dasharray"},Oj={offset:"strokeDashoffset",array:"strokeDasharray"};function kj(t,n,i=1,s=0,o=!0){t.pathLength=1;const u=o?zj:Oj;t[u.offset]=`${-s}`,t[u.array]=`${n} ${i}`}const Lj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function kS(t,{attrX:n,attrY:i,attrScale:s,pathLength:o,pathSpacing:u=1,pathOffset:f=0,...h},m,p,y){if(np(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:x}=t;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete v.transformBox);for(const w of Lj)v[w]!==void 0&&(x[w]=v[w],delete v[w]);n!==void 0&&(v.x=n),i!==void 0&&(v.y=i),s!==void 0&&(v.scale=s),o!==void 0&&kj(v,o,u,f,!1)}const LS=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"]),VS=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Vj(t,n,i,s){zS(t,n,void 0,s);for(const o in n.attrs)t.setAttribute(LS.has(o)?o:Qm(o),n.attrs[o])}function US(t,n,i){const s=ap(t,n,i);for(const o in t)if(Xt(t[o])||Xt(n[o])){const u=Os.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[u]=t[o]}return s}class Uj extends RS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Lt}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(ks.has(i)){const s=gS(i);return s&&s.default||0}return i=LS.has(i)?i:Qm(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return US(n,i,s)}build(n,i,s){kS(n,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,i,s,o){Vj(n,i,s,o)}mount(n){this.isSVGTag=VS(n.tagName),super.mount(n)}}const Bj=tp.length;function BS(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?BS(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<Bj;i++){const s=tp[i],o=t.props[s];(no(o)||o===!1)&&(n[s]=o)}return n}function HS(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(n[s]!==t[s])return!1;return!0}const Hj=[...ep].reverse(),Pj=ep.length;function qj(t){return n=>Promise.all(n.map(({animation:i,options:s})=>BM(t,i,s)))}function Kj(t){let n=qj(t),i=pb(),s=!0,o=!1;const u=p=>(y,v)=>{var w;const x=Tr(t,v,p==="exit"?(w=t.presenceContext)==null?void 0:w.custom:void 0);if(x){const{transition:C,transitionEnd:M,...E}=x;y={...y,...E,...M}}return y};function f(p){n=p(t)}function h(p){const{props:y}=t,v=BS(t.parent)||{},x=[],w=new Set;let C={},M=1/0;for(let z=0;z<Pj;z++){const U=Hj[z],B=i[U],K=y[U]!==void 0?y[U]:v[U],G=no(K),oe=U===p?B.isActive:null;oe===!1&&(M=z);let te=K===v[U]&&K!==y[U]&&G;if(te&&(s||o)&&t.manuallyAnimateOnMount&&(te=!1),B.protectedKeys={...C},!B.isActive&&oe===null||!K&&!B.prevProp||Ec(K)||typeof K=="boolean")continue;if(U==="exit"&&B.isActive&&oe!==!0){B.prevResolvedValues&&(C={...C,...B.prevResolvedValues});continue}const N=Zj(B.prevProp,K);let ee=N||U===p&&B.isActive&&!te&&G||z>M&&G,I=!1;const pe=Array.isArray(K)?K:[K];let ne=pe.reduce(u(U),{});oe===!1&&(ne={});const{prevResolvedValues:Re={}}=B,Le={...Re,...ne},ke=J=>{ee=!0,w.has(J)&&(I=!0,w.delete(J)),B.needsAnimating[J]=!0;const se=t.getValue(J);se&&(se.liveStyle=!1)};for(const J in Le){const se=ne[J],be=Re[J];if(C.hasOwnProperty(J))continue;let xe=!1;Yh(se)&&Yh(be)?xe=!HS(se,be):xe=se!==be,xe?se!=null?ke(J):w.add(J):se!==void 0&&w.has(J)?ke(J):B.protectedKeys[J]=!0}B.prevProp=K,B.prevResolvedValues=ne,B.isActive&&(C={...C,...ne}),(s||o)&&t.blockInitialAnimation&&(ee=!1);const H=te&&N;ee&&(!H||I)&&x.push(...pe.map(J=>{const se={type:U};
vendor: 28,241 bytes, line 298
298if(typeof J=="string"&&(s||o)&&!H&&t.manuallyAnimateOnMount&&t.parent){const{parent:be}=t,xe=Tr(be,J);if(be.enteringChildren&&xe){const{delayChildren:Ne}=xe.transition||{};se.delay=oS(be.enteringChildren,t,Ne)}}return{animation:J,options:se}}))}if(w.size){const z={};if(typeof y.initial!="boolean"){const U=Tr(t,Array.isArray(y.initial)?y.initial[0]:y.initial);U&&U.transition&&(z.transition=U.transition)}w.forEach(U=>{const B=t.getBaseTarget(U),K=t.getValue(U);K&&(K.liveStyle=!0),z[U]=B??null}),x.push({animation:z})}let E=!!x.length;return s&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(E=!1),s=!1,o=!1,E?n(x):Promise.resolve()}function m(p,y){var x;if(i[p].isActive===y)return Promise.resolve();(x=t.variantChildren)==null||x.forEach(w=>{var C;return(C=w.animationState)==null?void 0:C.setActive(p,y)}),i[p].isActive=y;const v=h(p);for(const w in i)i[w].protectedKeys={};return v}return{animateChanges:h,setActive:m,setAnimateFunction:f,getState:()=>i,reset:()=>{i=pb(),o=!0}}}function Zj(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!HS(n,t):!1}function pr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function pb(){return{animate:pr(!0),whileInView:pr(),whileHover:pr(),whileTap:pr(),whileDrag:pr(),whileFocus:pr(),exit:pr()}}function em(t,n){t.min=n.min,t.max=n.max}function aa(t,n){em(t.x,n.x),em(t.y,n.y)}function yb(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}const PS=1e-4,Yj=1-PS,Gj=1+PS,qS=.01,Fj=0-qS,Xj=0+qS;function sn(t){return t.max-t.min}function Qj(t,n,i){return Math.abs(t-n)<=i}function gb(t,n,i,s=.5){t.origin=s,t.originPoint=yt(n.min,n.max,t.origin),t.scale=sn(i)/sn(n),t.translate=yt(i.min,i.max,t.origin)-t.originPoint,(t.scale>=Yj&&t.scale<=Gj||isNaN(t.scale))&&(t.scale=1),(t.translate>=Fj&&t.translate<=Xj||isNaN(t.translate))&&(t.translate=0)}function Fl(t,n,i,s){gb(t.x,n.x,i.x,s?s.originX:void 0),gb(t.y,n.y,i.y,s?s.originY:void 0)}function vb(t,n,i,s=0){const o=s?yt(i.min,i.max,s):i.min;t.min=o+n.min,t.max=t.min+sn(n)}function $j(t,n,i,s){vb(t.x,n.x,i.x,s==null?void 0:s.x),vb(t.y,n.y,i.y,s==null?void 0:s.y)}function bb(t,n,i,s=0){const o=s?yt(i.min,i.max,s):i.min;t.min=n.min-o,t.max=t.min+sn(n)}function uc(t,n,i,s){bb(t.x,n.x,i.x,s==null?void 0:s.x),bb(t.y,n.y,i.y,s==null?void 0:s.y)}function xb(t,n,i,s,o){return t-=n,t=oc(t,1/i,s),o!==void 0&&(t=oc(t,1/o,s)),t}function Ij(t,n=0,i=1,s=.5,o,u=t,f=t){if(ga.test(n)&&(n=parseFloat(n),n=yt(f.min,f.max,n/100)-f.min),typeof n!="number")return;let h=yt(u.min,u.max,s);t===u&&(h-=n),t.min=xb(t.min,n,i,h,o),t.max=xb(t.max,n,i,h,o)}function Sb(t,n,[i,s,o],u,f){Ij(t,n[i],n[s],n[o],n.scale,u,f)}const Jj=["x","scaleX","originX"],Wj=["y","scaleY","originY"];function wb(t,n,i,s){Sb(t.x,n,Jj,i?i.x:void 0,s?s.x:void 0),Sb(t.y,n,Wj,i?i.y:void 0,s?s.y:void 0)}function Tb(t){return t.translate===0&&t.scale===1}function KS(t){return Tb(t.x)&&Tb(t.y)}function Cb(t,n){return t.min===n.min&&t.max===n.max}function eN(t,n){return Cb(t.x,n.x)&&Cb(t.y,n.y)}function Eb(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function ZS(t,n){return Eb(t.x,n.x)&&Eb(t.y,n.y)}function Ab(t){return sn(t.x)/sn(t.y)}function _b(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}function ma(t){return[t("x"),t("y")]}function tN(t,n,i){let s="";const o=t.x.translate/n.x,u=t.y.translate/n.y,f=(i==null?void 0:i.z)||0;if((o||u||f)&&(s=`translate3d(${o}px, ${u}px, ${f}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:p,rotate:y,rotateX:v,rotateY:x,skewX:w,skewY:C}=i;p&&(s=`perspective(${p}px) ${s}`),y&&(s+=`rotate(${y}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),w&&(s+=`skewX(${w}deg) `),C&&(s+=`skewY(${C}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(s+=`scale(${h}, ${m})`),s||"none"}const YS=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nN=YS.length,Rb=t=>typeof t=="string"?parseFloat(t):t,Mb=t=>typeof t=="number"||fe.test(t);function aN(t,n,i,s,o,u){o?(t.opacity=yt(0,i.opacity??1,iN(s)),t.opacityExit=yt(n.opacity??1,0,rN(s))):u&&(t.opacity=yt(n.opacity??1,i.opacity??1,s));for(let f=0;f<nN;f++){const h=YS[f];let m=jb(n,h),p=jb(i,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||Mb(m)===Mb(p)?(t[h]=Math.max(yt(Rb(m),Rb(p),s),0),(ga.test(p)||ga.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||i.rotate)&&(t.rotate=yt(n.rotate||0,i.rotate||0,s))}function jb(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const iN=GS(0,.5,L1),rN=GS(.5,.95,Yn);function GS(t,n,i){return s=>s<t?0:s>n?1:i(eo(t,n,s))}function sN(t,n,i){const s=Xt(t)?t:Es(t);return s.start(Fm("",s,n,i)),s.animation}function ao(t,n,i,s={passive:!0}){return t.addEventListener(n,i,s),()=>t.removeEventListener(n,i)}const lN=(t,n)=>t.depth-n.depth;class oN{constructor(){this.children=[],this.isDirty=!1}add(n){Om(this.children,n),this.isDirty=!0}remove(n){nc(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(lN),this.isDirty=!1,this.children.forEach(n)}}function uN(t,n){const i=rn.now(),s=({timestamp:o})=>{const u=o-i;u>=n&&(Gi(s),t(u-n))};return ot.setup(s,!0),()=>Gi(s)}function Iu(t){return Xt(t)?t.get():t}class cN{constructor(){this.members=[]}add(n){Om(this.members,n);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===n||s===this.lead||s===this.prevLead)continue;const o=s.instance;(!o||o.isConnected===!1)&&!s.snapshot&&(nc(this.members,s),s.unmount())}n.scheduleRender()}remove(n){if(nc(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){var i;for(let s=this.members.indexOf(n)-1;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1&&((i=o.instance)==null?void 0:i.isConnected)!==!1)return this.promote(o),!0}return!1}promote(n,i){var o;const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.updateSnapshot(),n.scheduleRender();const{layoutDependency:u}=s.options,{layoutDependency:f}=n.options;(u===void 0||u!==f)&&(n.resumeFrom=s,i&&(s.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),(o=n.root)!=null&&o.isUpdating&&(n.isLayoutDirty=!0)),n.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{var i,s,o,u,f;(s=(i=n.options).onExitComplete)==null||s.call(i),(f=(o=n.resumingFrom)==null?void 0:(u=o.options).onExitComplete)==null||f.call(u)})}scheduleRender(){this.members.forEach(n=>n.instance&&n.scheduleRender(!1))}removeLeadSnapshot(){var n;(n=this.lead)!=null&&n.snapshot&&(this.lead.snapshot=void 0)}}const Ju={hasAnimatedSinceResize:!0,hasEverUpdated:!1},fh=["","X","Y","Z"],fN=1e3;let dN=0;function dh(t,n,i,s){const{latestValues:o}=n;o[t]&&(i[t]=o[t],n.setStaticValue(t,0),s&&(s[t]=0))}function FS(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=hS(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:o,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ot,!(o||u))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&FS(s)}function XS({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(f={},h=n==null?void 0:n()){this.id=dN++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(pN),this.nodes.forEach(SN),this.nodes.forEach(wN),this.nodes.forEach(yN)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new oN)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Lm),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const m=this.eventHandlers.get(f);m&&m.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=Wm(f)&&!mj(f),this.instance=f;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),t){let y,v=0;const x=()=>this.root.updateBlockedByResize=!1;ot.read(()=>{v=window.innerWidth}),t(f,()=>{const w=window.innerWidth;w!==v&&(v=w,this.root.updateBlockedByResize=!0,y&&y(),y=uN(x,250),Ju.hasAnimatedSinceResize&&(Ju.hasAnimatedSinceResize=!1,this.nodes.forEach(zb)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||p.getDefaultTransition()||_N,{onLayoutAnimationStart:M,onLayoutAnimationComplete:E}=p.getProps(),z=!this.targetLayout||!ZS(this.targetLayout,w),U=!v&&x;if(this.options.layoutRoot||this.resumeFrom||U||v&&(z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...Gm(C,"layout"),onPlay:M,onComplete:E};(p.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(y,U)}else v||zb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Gi(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(TN),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&FS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];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:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const m=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),m&&this.nodes.forEach(vN),this.nodes.forEach(Nb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Db);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(bN),this.nodes.forEach(xN),this.nodes.forEach(hN),this.nodes.forEach(mN)):this.nodes.forEach(Db),this.clearAllSnapshots();const h=rn.now();Gt.delta=xa(0,1e3/60,h-Gt.timestamp),Gt.timestamp=h,Gt.isProcessing=!0,ah.update.process(Gt),ah.preRender.process(Gt),ah.render.process(Gt),Gt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Im.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gN),this.sharedNodes.forEach(CN)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!sn(this.snapshot.measuredBox.x)&&!sn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Lt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h&&this.instance){const m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!o)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!KS(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;f&&this.instance&&(h||yr(this.latestValues)||y)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return f&&(m=this.removeTransform(m)),RN(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:f}=this.options;if(!f)return Lt();const h=f.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(MN))){const{scroll:y}=this.root;y&&(ya(h.x,y.offset.x),ya(h.y,y.offset.y))}return h}removeElementScroll(f){var m;const h=Lt();if(aa(h,f),(m=this.scroll)!=null&&m.wasRoot)return h;for(let p=0;p<this.path.length;p++){const y=this.path[p],{scroll:v,options:x}=y;y!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&aa(h,f),ya(h.x,v.offset.x),ya(h.y,v.offset.y))}return h}applyTransform(f,h=!1,m){var y,v;const p=m||Lt();aa(p,f);for(let x=0;x<this.path.length;x++){const w=this.path[x];!h&&w.options.layoutScroll&&w.scroll&&w!==w.root&&(ya(p.x,-w.scroll.offset.x),ya(p.y,-w.scroll.offset.y)),yr(w.latestValues)&&$u(p,w.latestValues,(y=w.layout)==null?void 0:y.layoutBox)}return yr(this.latestValues)&&$u(p,this.latestValues,(v=this.layout)==null?void 0:v.layoutBox),p}removeTransform(f){var m;const h=Lt();aa(h,f);for(let p=0;p<this.path.length;p++){const y=this.path[p];if(!yr(y.latestValues))continue;let v;y.instance&&(Ih(y.latestValues)&&y.updateSnapshot(),v=Lt(),aa(v,y.measurePageBox())),wb(h,y.latestValues,(m=y.snapshot)==null?void 0:m.layoutBox,v)}return yr(this.latestValues)&&wb(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Gt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var w;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(f||m&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=Gt.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Lt(),this.targetWithTransforms=Lt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),$j(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):aa(this.target,this.layout.layoutBox),NS(this.target,this.targetDelta)):aa(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ih(this.parent.latestValues)||jS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,h,m){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Lt(),this.relativeTargetOrigin=Lt(),uc(this.relativeTargetOrigin,h,m,this.options.layoutAnchor||void 0),aa(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var C;const f=this.getLead(),h=!!this.resumingFrom||this!==f;let m=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Gt.timestamp&&(m=!1),m)return;const{layout:p,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||y))return;aa(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;Ej(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=Lt());const{target:w}=f;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(yb(this.prevProjectionDelta.x,this.projectionDelta.x),yb(this.prevProjectionDelta.y,this.projectionDelta.y)),Fl(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!_b(this.projectionDelta.x,this.prevProjectionDelta.x)||!_b(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(f,h=!1){const m=this.snapshot,p=m?m.latestValues:{},y={...this.latestValues},v=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=Lt(),w=m?m.source:void 0,C=this.layout?this.layout.source:void 0,M=w!==C,E=this.getStack(),z=!E||E.members.length<=1,U=!!(M&&!z&&this.options.crossfade===!0&&!this.path.some(AN));this.animationProgress=0;let B;this.mixTargetDelta=K=>{const G=K/1e3;Ob(v.x,f.x,G),Ob(v.y,f.y,G),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(uc(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),EN(this.relativeTarget,this.relativeTargetOrigin,x,G),B&&eN(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=Lt()),aa(B,this.relativeTarget)),M&&(this.animationValues=y,aN(y,p,this.latestValues,G,U,z)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=G},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){var h,m,p;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(p=(m=this.resumingFrom)==null?void 0:m.currentAnimation)==null||p.stop(),this.pendingAnimation&&(Gi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ot.update(()=>{Ju.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Es(0)),this.motionValue.jump(0,!1),this.currentAnimation=sN(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),f.onUpdate&&f.onUpdate(y)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fN),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:y}=f;if(!(!h||!m||!p)){if(this!==f&&this.layout&&p&&QS(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||Lt();const v=sn(this.layout.layoutBox.x);m.x.min=f.target.x.min,m.x.max=m.x.min+v;const x=sn(this.layout.layoutBox.y);m.y.min=f.target.y.min,m.y.max=m.y.min+x}aa(h,m),$u(h,y),Fl(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new cN),this.sharedNodes.get(f).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var h;const{layoutId:f}=this.options;return f?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:f}=this.options;return f?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:m}=f;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&dh("z",f,p,this.animationValues);for(let y=0;y<fh.length;y++)dh(`rotate${fh[y]}`,f,p,this.animationValues),dh(`skew${fh[y]}`,f,p,this.animationValues);f.render();for(const y in p)f.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);f.scheduleRender()}applyProjectionStyles(f,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Iu(h==null?void 0:h.pointerEvents)||"",f.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Iu(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!yr(this.latestValues)&&(f.transform=m?m({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let v=tN(this.projectionDeltaWithTransform,this.treeScale,y);m&&(v=m(y,v)),f.transform=v;const{x,y:w}=this.projectionDelta;f.transformOrigin=`${x.origin*100}% ${w.origin*100}% 0`,p.animationValues?f.opacity=p===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=p===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const C in Wh){if(y[C]===void 0)continue;const{correct:M,applyTo:E,isCSSVariable:z}=Wh[C],U=v==="none"?y[C]:M(y[C],p);if(E){const B=E.length;for(let K=0;K<B;K++)f[E[K]]=U}else z?this.options.visualElement.renderState.vars[C]=U:f[C]=U}this.options.layoutId&&(f.pointerEvents=p===this?Iu(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var h;return(h=f.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(Nb),this.root.sharedNodes.clear()}}}function hN(t){t.updateLayout()}function mN(t){var i;const n=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:o}=t.layout,{animationType:u}=t.options,f=n.source!==t.layout.source;if(u==="size")ma(v=>{const x=f?n.measuredBox[v]:n.layoutBox[v],w=sn(x);x.min=s[v].min,x.max=x.min+w});else if(u==="x"||u==="y"){const v=u==="x"?"y":"x";em(f?n.measuredBox[v]:n.layoutBox[v],s[v])}else QS(u,n.layoutBox,s)&&ma(v=>{const x=f?n.measuredBox[v]:n.layoutBox[v],w=sn(s[v]);x.max=x.min+w,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+w)});const h=vs();Fl(h,s,n.layoutBox);const m=vs();f?Fl(m,t.applyTransform(o,!0),n.measuredBox):Fl(m,s,n.layoutBox);const p=!KS(h);let y=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:w}=v;if(x&&w){const C=t.options.layoutAnchor||void 0,M=Lt();uc(M,n.layoutBox,x.layoutBox,C);const E=Lt();uc(E,s,w.layoutBox,C),ZS(M,E)||(y=!0),v.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=M,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:m,layoutDelta:h,hasLayoutChanged:p,hasRelativeLayoutChanged:y})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function pN(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
298isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function yN(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function gN(t){t.clearSnapshot()}function Nb(t){t.clearMeasurements()}function vN(t){t.isLayoutDirty=!0,t.updateLayout()}function Db(t){t.isLayoutDirty=!1}function bN(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function xN(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function zb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function SN(t){t.resolveTargetDelta()}function wN(t){t.calcProjection()}function TN(t){t.resetSkewAndRotation()}function CN(t){t.removeLeadSnapshot()}function Ob(t,n,i){t.translate=yt(n.translate,0,i),t.scale=yt(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function kb(t,n,i,s){t.min=yt(n.min,i.min,s),t.max=yt(n.max,i.max,s)}function EN(t,n,i,s){kb(t.x,n.x,i.x,s),kb(t.y,n.y,i.y,s)}function AN(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const _N={duration:.45,ease:[.4,0,.1,1]},Lb=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Vb=Lb("applewebkit/")&&!Lb("chrome/")?Math.round:Yn;function Ub(t){t.min=Vb(t.min),t.max=Vb(t.max)}function RN(t){Ub(t.x),Ub(t.y)}function QS(t,n,i){return t==="position"||t==="preserve-aspect"&&!Qj(Ab(n),Ab(i),.2)}function MN(t){var n;return t!==t.root&&((n=t.scroll)==null?void 0:n.wasRoot)}const jN=XS({attachResizeListener:(t,n)=>ao(t,"resize",n),measureScroll:()=>{var t,n;return{x:document.documentElement.scrollLeft||((t=document.body)==null?void 0:t.scrollLeft)||0,y:document.documentElement.scrollTop||((n=document.body)==null?void 0:n.scrollTop)||0}},checkIsScrollRoot:()=>!0}),hh={current:void 0},$S=XS({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!hh.current){const t=new jN({});t.mount(window),t.setOptions({layoutScroll:!0}),hh.current=t}return hh.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),ip=T.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Bb(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function NN(...t){return n=>{let i=!1;const s=t.map(o=>{const u=Bb(o,n);return!i&&typeof u=="function"&&(i=!0),u});if(i)return()=>{for(let o=0;o<s.length;o++){const u=s[o];typeof u=="function"?u():Bb(t[o],null)}}}}function DN(...t){return T.useCallback(NN(...t),t)}class zN extends T.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(Gu(i)&&n.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,o=Gu(s)&&s.offsetWidth||0,u=Gu(s)&&s.offsetHeight||0,f=getComputedStyle(i),h=this.props.sizeRef.current;h.height=parseFloat(f.height),h.width=parseFloat(f.width),h.top=i.offsetTop,h.left=i.offsetLeft,h.right=o-h.width-h.left,h.bottom=u-h.height-h.top}return null}componentDidUpdate(){}render(){return this.props.children}}function ON({children:t,isPresent:n,anchorX:i,anchorY:s,root:o,pop:u}){var x;const f=T.useId(),h=T.useRef(null),m=T.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=T.useContext(ip),y=((x=t.props)==null?void 0:x.ref)??(t==null?void 0:t.ref),v=DN(h,y);return T.useInsertionEffect(()=>{const{width:w,height:C,top:M,left:E,right:z,bottom:U}=m.current;if(n||u===!1||!h.current||!w||!C)return;const B=i==="left"?`left: ${E}`:`right: ${z}`,K=s==="bottom"?`bottom: ${U}`:`top: ${M}`;h.current.dataset.motionPopId=f;const G=document.createElement("style");p&&(G.nonce=p);const oe=o??document.head;return oe.appendChild(G),G.sheet&&G.sheet.insertRule(`
299          [data-motion-pop-id="${f}"] {
300            position: absolute !important;
301            width: ${w}px !important;
302            height: ${C}px !important;
303            ${B}px !important;
304            ${K}px !important;
305          }
306        `),()=>{var te;(te=h.current)==null||te.removeAttribute("data-motion-pop-id"),oe.contains(G)&&oe.removeChild(G)}},[n]),b.jsx(zN,{isPresent:n,childRef:h,sizeRef:m,pop:u,children:u===!1?t:T.cloneElement(t,{ref:v})})}const kN=({children:t,initial:n,isPresent:i,onExitComplete:s,custom:o,presenceAffectsLayout:u,mode:f,anchorX:h,anchorY:m,root:p})=>{const y=zm(LN),v=T.useId();let x=!0,w=T.useMemo(()=>(x=!1,{id:v,initial:n,isPresent:i,custom:o,onExitComplete:C=>{y.set(C,!0);for(const M of y.values())if(!M)return;s&&s()},register:C=>(y.set(C,!1),()=>y.delete(C))}),[i,y,s]);return u&&x&&(w={...w}),T.useMemo(()=>
vendor: 8,712 bytes, line 306
306{y.forEach((C,M)=>y.set(M,!1))},[i]),T.useEffect(()=>{!i&&!y.size&&s&&s()},[i]),t=b.jsx(ON,{pop:f==="popLayout",isPresent:i,anchorX:h,anchorY:m,root:p,children:t}),b.jsx(Tc.Provider,{value:w,children:t})};function LN(){return new Map}function IS(t=!0){const n=T.useContext(Tc);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:o}=n,u=T.useId();T.useEffect(()=>{if(t)return o(u)},[t]);const f=T.useCallback(()=>t&&s&&s(u),[u,s,t]);return!i&&s?[!1,f]:[!0]}const Vu=t=>t.key||"";function Hb(t){const n=[];return T.Children.forEach(t,i=>{T.isValidElement(i)&&n.push(i)}),n}const JS=({children:t,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:u="sync",propagate:f=!1,anchorX:h="left",anchorY:m="top",root:p})=>{const[y,v]=IS(f),x=T.useMemo(()=>Hb(t),[t]),w=f&&!y?[]:x.map(Vu),C=T.useRef(!0),M=T.useRef(x),E=zm(()=>new Map),z=T.useRef(new Set),[U,B]=T.useState(x),[K,G]=T.useState(x);C1(()=>{C.current=!1,M.current=x;for(let N=0;N<K.length;N++){const ee=Vu(K[N]);w.includes(ee)?(E.delete(ee),z.current.delete(ee)):E.get(ee)!==!0&&E.set(ee,!1)}},[K,w.length,w.join("-")]);const oe=[];if(x!==U){let N=[...x];for(let ee=0;ee<K.length;ee++){const I=K[ee],pe=Vu(I);w.includes(pe)||(N.splice(ee,0,I),oe.push(I))}return u==="wait"&&oe.length&&(N=oe),G(Hb(N)),B(x),null}const{forceRender:te}=T.useContext(Dm);return b.jsx(b.Fragment,{children:K.map(N=>{const ee=Vu(N),I=f&&!y?!1:x===K||w.includes(ee),pe=()=>{if(z.current.has(ee))return;if(E.has(ee))z.current.add(ee),E.set(ee,!0);else return;let ne=!0;E.forEach(Re=>{Re||(ne=!1)}),ne&&(te==null||te(),G(M.current),f&&(v==null||v()),s&&s())};return b.jsx(kN,{isPresent:I,initial:!C.current||i?void 0:!1,custom:n,presenceAffectsLayout:o,mode:u,root:p,onExitComplete:I?void 0:pe,anchorX:h,anchorY:m,children:N},ee)})})},WS=T.createContext({strict:!1}),Pb={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 qb=!1;function VN(){if(qb)return;const t={};for(const n in Pb)t[n]={isEnabled:i=>Pb[n].some(s=>!!i[s])};_S(t),qb=!0}function ew(){return VN(),Sj()}function UN(t){const n=ew();for(const i in t)n[i]={...n[i],...t[i]};_S(n)}const BN=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 cc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||BN.has(t)}let tw=t=>!cc(t);function HN(t){typeof t=="function"&&(tw=n=>n.startsWith("on")?!cc(n):t(n))}try{HN(require("@emotion/is-prop-valid").default)}catch{}function PN(t,n,i){const s={};for(const o in t)o==="values"&&typeof t.values=="object"||Xt(t[o])||(tw(o)||i===!0&&cc(o)||!n&&!cc(o)||t.draggable&&o.startsWith("onDrag"))&&(s[o]=t[o]);return s}const _c=T.createContext({});function qN(t,n){if(Ac(t)){const{initial:i,animate:s}=t;return{initial:i===!1||no(i)?i:void 0,animate:no(s)?s:void 0}}return t.inherit!==!1?n:{}}function KN(t){const{initial:n,animate:i}=qN(t,T.useContext(_c));return T.useMemo(()=>({initial:n,animate:i}),[Kb(n),Kb(i)])}function Kb(t){return Array.isArray(t)?t.join(" "):t}const rp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nw(t,n,i){for(const s in n)!Xt(n[s])&&!OS(s,i)&&(t[s]=n[s])}function ZN({transformTemplate:t},n){return T.useMemo(()=>{const i=rp();return np(i,n,t),Object.assign({},i.vars,i.style)},[n])}function YN(t,n){const i=t.style||{},s={};return nw(s,i,t),Object.assign(s,ZN(t,n)),s}function GN(t,n){const i={},s=YN(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i}const aw=()=>({...rp(),attrs:{}});function FN(t,n,i,s){const o=T.useMemo(()=>{const u=aw();return kS(u,n,VS(s),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};nw(u,t.style,t),o.style={...u,...o.style}}return o}const XN=["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 sp(t){return typeof t!="string"||t.includes("-")?!1:!!(XN.indexOf(t)>-1||/[A-Z]/u.test(t))}function QN(t,n,i,{latestValues:s},o,u=!1,f){const m=(f??sp(t)?FN:GN)(n,s,o,t),p=PN(n,typeof t=="string",u),y=t!==T.Fragment?{...p,...m,ref:i}:{},{children:v}=n,x=T.useMemo(()=>Xt(v)?v.get():v,[v]);return T.createElement(t,{...y,children:x})}function $N({scrapeMotionValuesFromProps:t,createRenderState:n},i,s,o){return{latestValues:IN(i,s,o,t),renderState:n()}}function IN(t,n,i,s){const o={},u=s(t,{});for(const x in u)o[x]=Iu(u[x]);let{initial:f,animate:h}=t;const m=Ac(t),p=ES(t);n&&p&&!m&&t.inherit!==!1&&(f===void 0&&(f=n.initial),h===void 0&&(h=n.animate));let y=i?i.initial===!1:!1;y=y||f===!1;const v=y?h:f;if(v&&typeof v!="boolean"&&!Ec(v)){const x=Array.isArray(v)?v:[v];for(let w=0;w<x.length;w++){const C=Xm(t,x[w]);if(C){const{transitionEnd:M,transition:E,...z}=C;for(const U in z){let B=z[U];if(Array.isArray(B)){const K=y?B.length-1:0;B=B[K]}B!==null&&(o[U]=B)}for(const U in M)o[U]=M[U]}}}return o}const iw=t=>(n,i)=>{const s=T.useContext(_c),o=T.useContext(Tc),u=()=>$N(t,n,s,o);return i?u():zm(u)},JN=iw({scrapeMotionValuesFromProps:ap,createRenderState:rp}),WN=iw({scrapeMotionValuesFromProps:US,createRenderState:aw}),e4=Symbol.for("motionComponentSymbol");function t4(t,n,i){const s=T.useRef(i);T.useInsertionEffect(()=>{s.current=i});const o=T.useRef(null);return T.useCallback(u=>{var h;u&&((h=t.onMount)==null||h.call(t,u));const f=s.current;if(typeof f=="function")if(u){const m=f(u);typeof m=="function"&&(o.current=m)}else o.current?(o.current(),o.current=null):f(u);else f&&(f.current=u);n&&(u?n.mount(u):n.unmount())},[n])}const rw=T.createContext({});function ms(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function n4(t,n,i,s,o,u){var B,K;const{visualElement:f}=T.useContext(_c),h=T.useContext(WS),m=T.useContext(Tc),p=T.useContext(ip),y=p.reducedMotion,v=p.skipAnimations,x=T.useRef(null),w=T.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(t,{visualState:n,parent:f,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:y,skipAnimations:v,isSVG:u}),w.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const C=x.current,M=T.useContext(rw);C&&!C.projection&&o&&(C.type==="html"||C.type==="svg")&&a4(x.current,i,o,M);const E=T.useRef(!1);T.useInsertionEffect(()=>{C&&E.current&&C.update(i,m)});const z=i[dS],U=T.useRef(!!z&&typeof window<"u"&&!((B=window.MotionHandoffIsComplete)!=null&&B.call(window,z))&&((K=window.MotionHasOptimisedAnimation)==null?void 0:K.call(window,z)));return C1(()=>{w.current=!0,C&&(E.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),U.current&&C.animationState&&C.animationState.animateChanges())}),T.useEffect(()=>{C&&(!U.current&&C.animationState&&C.animationState.animateChanges(),U.current&&(queueMicrotask(()=>{var G;(G=window.MotionHandoffMarkAsComplete)==null||G.call(window,z)}),U.current=!1),C.enteringChildren=void 0)}),C}function a4(t,n,i,s){const{layoutId:o,layout:u,drag:f,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutAnchor:y,layoutCrossfade:v}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:sw(t.parent)),t.projection.setOptions({layoutId:o,layout:u,alwaysMeasureLayout:!!f||h&&ms(h),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,crossfade:v,layoutScroll:m,layoutRoot:p,layoutAnchor:y})}function sw(t){if(t)return t.options.allowProjection!==!1?t.projection:sw(t.parent)}function mh(t,{forwardMotionProps:n=!1,type:i}={},s,o){s&&UN(s);const u=i?i==="svg":sp(t),f=u?WN:JN;function h(p,y){let v;const x={...T.useContext(ip),...p,layoutId:i4(p)},{isStatic:w}=x,C=KN(p),M=f(p,w);if(!w&&typeof window<"u"){r4();const E=s4(x);
vendor: 19,040 bytes, line 306
306v=E.MeasureLayout,C.visualElement=n4(t,M,x,o,E.ProjectionNode,u)}return b.jsxs(_c.Provider,{value:C,children:[v&&C.visualElement?b.jsx(v,{visualElement:C.visualElement,...x}):null,QN(t,p,t4(M,C.visualElement,y),M,w,n,u)]})}h.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const m=T.forwardRef(h);return m[e4]=t,m}function i4({layoutId:t}){const n=T.useContext(Dm).id;return n&&t!==void 0?n+"-"+t:t}function r4(t,n){T.useContext(WS).strict}function s4(t){const n=ew(),{drag:i,layout:s}=n;if(!i&&!s)return{};const o={...i,...s};return{MeasureLayout:i!=null&&i.isEnabled(t)||s!=null&&s.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function l4(t,n){if(typeof Proxy>"u")return mh;const i=new Map,s=(u,f)=>mh(u,f,t,n),o=(u,f)=>s(u,f);return new Proxy(o,{get:(u,f)=>f==="create"?s:(i.has(f)||i.set(f,mh(f,void 0,t,n)),i.get(f))})}const o4=(t,n)=>n.isSVG??sp(t)?new Uj(n):new Dj(n,{allowProjection:t!==T.Fragment});class u4 extends Qi{constructor(n){super(n),n.animationState||(n.animationState=Kj(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Ec(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)==null||n.call(this)}}let c4=0;class f4 extends Qi{constructor(){super(...arguments),this.id=c4++,this.isExitComplete=!1}update(){var u;if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;if(n&&s===!1){if(this.isExitComplete){const{initial:f,custom:h}=this.node.getProps();if(typeof f=="string"){const m=Tr(this.node,f,h);if(m){const{transition:p,transitionEnd:y,...v}=m;for(const x in v)(u=this.node.getValue(x))==null||u.jump(v[x])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!n);i&&!n&&o.then(()=>{this.isExitComplete=!0,i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const d4={animation:{Feature:u4},exit:{Feature:f4}};function mo(t){return{point:{x:t.pageX,y:t.pageY}}}const h4=t=>n=>Jm(n)&&t(n,mo(n));function Xl(t,n,i,s){return ao(t,n,h4(i),s)}const lw=({current:t})=>t?t.ownerDocument.defaultView:null,Zb=(t,n)=>Math.abs(t-n);function m4(t,n){const i=Zb(t.x,n.x),s=Zb(t.y,n.y);return Math.sqrt(i**2+s**2)}const Yb=new Set(["auto","scroll"]);class ow{constructor(n,i,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:u=!1,distanceThreshold:f=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Uu(this.lastRawMoveEventInfo,this.transformPagePoint));const w=ph(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,M=m4(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!M)return;const{point:E}=w,{timestamp:z}=Gt;this.history.push({...E,timestamp:z});const{onStart:U,onMove:B}=this.handlers;C||(U&&U(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,w)},this.handlePointerMove=(w,C)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Uu(C,this.transformPagePoint),ot.update(this.updatePoint,!0)},this.handlePointerUp=(w,C)=>{this.end();const{onEnd:M,onSessionEnd:E,resumeAnimation:z}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&z&&z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const U=ph(w.type==="pointercancel"?this.lastMoveEventInfo:Uu(C,this.transformPagePoint),this.history);this.startEvent&&M&&M(w,U),E&&E(w,U)},!Jm(n))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=f,this.contextWindow=o||window;const m=mo(n),p=Uu(m,this.transformPagePoint),{point:y}=p,{timestamp:v}=Gt;this.history=[{...y,timestamp:v}];const{onSessionStart:x}=i;x&&x(n,ph(p,this.history)),this.removeListeners=co(Xl(this.contextWindow,"pointermove",this.handlePointerMove),Xl(this.contextWindow,"pointerup",this.handlePointerUp),Xl(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(n){let i=n.parentElement;for(;i;){const s=getComputedStyle(i);(Yb.has(s.overflowX)||Yb.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const i=this.scrollPositions.get(n);if(!i)return;const s=n===window,o=s?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},u={x:o.x-i.x,y:o.y-i.y};u.x===0&&u.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(n,o),ot.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Gi(this.updatePoint)}}function Uu(t,n){return n?{point:n(t.point)}:t}function Gb(t,n){return{x:t.x-n.x,y:t.y-n.y}}function ph({point:t},n){return{point:t,delta:Gb(t,uw(n)),offset:Gb(t,p4(n)),velocity:y4(n,.1)}}function p4(t){return t[0]}function uw(t){return t[t.length-1]}function y4(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const o=uw(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>_n(n)));)i--;if(!s)return{x:0,y:0};s===t[0]&&t.length>2&&o.timestamp-s.timestamp>_n(n)*2&&(s=t[1]);const u=Kn(o.timestamp-s.timestamp);if(u===0)return{x:0,y:0};const f={x:(o.x-s.x)/u,y:(o.y-s.y)/u};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function g4(t,{min:n,max:i},s){return n!==void 0&&t<n?t=s?yt(n,t,s.min):Math.max(t,n):i!==void 0&&t>i&&(t=s?yt(i,t,s.max):Math.min(t,i)),t}function Fb(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function v4(t,{top:n,left:i,bottom:s,right:o}){return{x:Fb(t.x,i,o),y:Fb(t.y,n,s)}}function Xb(t,n){let i=n.min-t.min,s=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function b4(t,n){return{x:Xb(t.x,n.x),y:Xb(t.y,n.y)}}function x4(t,n){let i=.5;const s=sn(t),o=sn(n);return o>s?i=eo(n.min,n.max-s,t.min):s>o&&(i=eo(t.min,t.max-o,n.min)),xa(0,1,i)}function S4(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const tm=.35;function w4(t=tm){return t===!1?t=0:t===!0&&(t=tm),{x:Qb(t,"left","right"),y:Qb(t,"top","bottom")}}function Qb(t,n,i){return{min:$b(t,n),max:$b(t,i)}}function $b(t,n){return typeof t=="number"?t:t[n]||0}const T4=new WeakMap;class C4{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Lt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=v=>{i&&this.snapToCursor(mo(v).point),this.stopAnimation()},f=(v,x)=>{const{drag:w,dragPropagation:C,onDragStart:M}=this.getProps();if(w&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=IM(w),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ma(z=>{let U=this.getAxisMotionValue(z).get()||0;if(ga.test(U)){const{projection:B}=this.visualElement;if(B&&B.layout){const K=B.layout.layoutBox[z];K&&(U=sn(K)*(parseFloat(U)/100))}}this.originPoint[z]=U}),M&&ot.update(()=>M(v,x),!1,!0),Gh(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:w,dragDirectionLock:C,onDirectionLock:M,onDrag:E}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:z}=x;if(C&&this.currentDirection===null){this.currentDirection=A4(z),this.currentDirection!==null&&M&&M(this.currentDirection);return}this.updateAxis("x",x.point,z),this.updateAxis("y",x.point,z),this.visualElement.render(),E&&ot.update(()=>E(v,x),!1,!0)},m=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new ow(n,{onSessionStart:u,onStart:f,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:s,contextWindow:lw(this.visualElement),element:this.visualElement.current})}stop(n,i){const s=n||this.latestPointerEvent,o=i||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!o||!s)return;const{velocity:f}=o;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&ot.postRender(()=>h(s,o))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,i,s){const{drag:o}=this.getProps();if(!s||!Bu(n,o,this.currentDirection))return;const u=this.getAxisMotionValue(n);let f=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(f=g4(f,this.constraints[n],this.elastic[n])),u.set(f)}resolveConstraints(){var u;const{dragConstraints:n,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(u=this.visualElement.projection)==null?void 0:u.layout,o=this.constraints;n&&ms(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=v4(s.layoutBox,n):this.constraints=!1,this.elastic=w4(i),o!==this.constraints&&!ms(n)&&s&&this.constraints&&!this.hasMutatedConstraints&&ma(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=S4(s.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!ms(n))return!1;const s=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const u=Aj(s,o.root,this.visualElement.getTransformPagePoint());let f=b4(o.layout.layoutBox,u);if(i){const h=i(Tj(f));this.hasMutatedConstraints=!!h,h&&(f=MS(h))}return f}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:o,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=ma(y=>{if(!Bu(y,i,this.currentDirection))return;let v=m&&m[y]||{};(f===!0||f===y)&&(v={min:0,max:0});const x=o?200:1e6,w=o?40:1e7,C={type:"inertia",velocity:s?n[y]:0,bounceStiffness:x,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,C)});return Promise.all(p).then(h)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return Gh(this.visualElement,n),s.start(Fm(n,s,0,i,this.visualElement,!1))}stopAnimation(){ma(n=>this.getAxisMotionValue(n).stop())}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),o=s[i];return o||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){ma(i=>{const{drag:s}=this.getProps();if(!Bu(i,s,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(i);if(o&&o.layout){const{min:f,max:h}=o.layout.layoutBox[i],m=u.get()||0;u.set(n[i]-yt(f,h,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!ms(i)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ma(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const m=h.get();o[f]=x4({min:m,max:m},this.constraints[f])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),ma(f=>{if(!Bu(f,n,null))return;const h=this.getAxisMotionValue(f),{min:m,max:p}=this.constraints[f];h.set(yt(m,p,o[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;T4.set(this.visualElement,this);const n=this.visualElement.current,i=Xl(n,"pointerdown",p=>{const{drag:y,dragListener:v=!0}=this.getProps(),x=p.target,w=x!==n&&aj(x);y&&v&&!w&&this.start(p)});let s;const o=()=>{const{dragConstraints:p}=this.getProps();ms(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),s||(s=E4(n,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,f=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),ot.read(o);const h=ao(window,"resize",()=>this.scalePositionWithinConstraints()),m=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(ma(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=p[v].translate,x.set(x.get()+p[v].translate))}),this.visualElement.render())}));return()=>{h(),i(),f(),m&&m(),s&&s()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:f=tm,dragMomentum:h=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:o,dragConstraints:u,dragElastic:f,dragMomentum:h}}}function Ib(t){let n=!0;return()=>{if(n){n=!1;return}t()}}function E4(t,n,i){const s=ib(t,Ib(i)),o=ib(n,Ib(i));return()=>{s(),o()}}function Bu(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function A4(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class _4 extends Qi{constructor(n){super(n),this.removeGroupControls=Yn,this.removeListeners=Yn,this.controls=new C4(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yn}update(){const{dragControls:n}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};n!==i&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const yh=t=>(n,i)=>{t&&ot.update(()=>t(n,i),!1,!0)};class R4 extends Qi{constructor(){super(...arguments),this.removePointerDownListener=Yn}onPointerDown(n){this.session=new ow(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:yh(n),onStart:yh(i),onMove:yh(s),onEnd:(u,f)=>{delete this.session,o&&ot.postRender(()=>o(u,f))}}}mount(){this.removePointerDownListener=Xl(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let gh=!1;class M4 extends T.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:o}=this.props,{projection:u}=n;u&&(i.group&&i.group.add(u),s&&s.register&&o&&s.register(u),gh&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ju.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:o,isPresent:u}=this.props,{projection:f}=s;return f&&(f.isPresent=u,n.layoutDependency!==i&&f.setOptions({...f.options,layoutDependency:i}),gh=!0,o||n.layoutDependency!==i||i===void 0||n.isPresent!==u?f.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?f.promote():f.relegate()||ot.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:n,layoutAnchor:i}=this.props,{projection:s}=n;s&&(s.options.layoutAnchor=i,s.root.didUpdate(),Im.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:o}=n;gh=!0,o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function cw(t){const[n,i]=IS(),s=T.useContext(Dm);return b.jsx(M4,{...t,layoutGroup:s,switchLayoutGroup:T.useContext(rw),isPresent:n,safeToRemove:i})}const j4={pan:{Feature:R4},drag:{Feature:_4,ProjectionNode:$S,MeasureLayout:cw}};function Jb(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const o="onHover"+i,u=s[o];u&&ot.postRender(()=>u(n,mo(n)))}class N4 extends Qi{mount(){const{current:n}=this.node;n&&(this.unmount=WM(n,(i,s)=>(Jb(this.node,s,"Start"),o=>Jb(this.node,o,"End"))))}unmount(){}}class D4 extends Qi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=co(ao(this.node.current,"focus",()=>this.onFocus()),ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wb(t,n,i){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",i==="Start");const o="onTap"+(i==="End"?"":i),u=s[o];u&&ot.postRender(()=>u(n,mo(n)))}class z4 extends Qi{mount(){const{current:n}=this.node;if(!n)return;
306const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=rj(n,(o,u)=>(Wb(this.node,u,"Start"),(f,{success:h})=>Wb(this.node,f,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const nm=new WeakMap,vh=new WeakMap,O4=t=>{const n=nm.get(t.target);n&&n(t)},k4=t=>{t.forEach(O4)};function L4({root:t,...n}){const i=t||document;vh.has(i)||vh.set(i,{});const s=vh.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(k4,{root:t,...n})),s[o]}function V4(t,n,i){const s=L4(n);return nm.set(t,i),s.observe(t),()=>{nm.delete(t),s.unobserve(t)}}const U4={some:0,all:1};class B4 extends Qi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var m;(m=this.stopObserver)==null||m.call(this);const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:o="some",once:u}=n,f={root:i?i.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:U4[o]},h=p=>{const{isIntersecting:y}=p;if(this.isInView===y||(this.isInView=y,u&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:v,onViewportLeave:x}=this.node.getProps(),w=y?v:x;w&&w(p)};this.stopObserver=V4(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(H4(n,i))&&this.startObserver()}unmount(){var n;(n=this.stopObserver)==null||n.call(this),this.hasEnteredView=!1,this.isInView=!1}}function H4({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const P4={inView:{Feature:B4},tap:{Feature:z4},focus:{Feature:D4},hover:{Feature:N4}},q4={layout:{ProjectionNode:$S,MeasureLayout:cw}},K4={...d4,...P4,...j4,...q4},nt=l4(K4,o4);async function Z4(t,n,i=globalThis.fetch){const s=t?`/api/commerce/cart/${t}/items`:"/api/commerce/cart";return(await i(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t?n:{lineItems:[n]})})).json()}function Y4(t){var s,o,u,f,h,m,p,y,v,x,w,C;const n=(t==null?void 0:t.lineItems)??[],i=((o=(s=t==null?void 0:t.totals)==null?void 0:s.total)==null?void 0:o.currencyCode)||"USD";return{itemCount:n.reduce((M,E)=>M+(E.quantity||0),0),currencyCode:i,subtotal:((f=(u=t==null?void 0:t.totals)==null?void 0:u.subTotal)==null?void 0:f.value)||0,shipping:((m=(h=t==null?void 0:t.totals)==null?void 0:h.shippingTotal)==null?void 0:m.value)||0,taxes:((y=(p=t==null?void 0:t.totals)==null?void 0:p.taxTotal)==null?void 0:y.value)||0,discount:((x=(v=t==null?void 0:t.totals)==null?void 0:v.discountTotal)==null?void 0:x.value)||0,total:((C=(w=t==null?void 0:t.totals)==null?void 0:w.total)==null?void 0:C.value)||0}}const Hu="voltedge_cart_id",fw=T.createContext(null);function G4({children:t}){const[n,i]=T.useState(null),[s,o]=T.useState(()=>{try{return localStorage.getItem(Hu)}catch{return null}}),[u,f]=T.useState(!1);T.useEffect(()=>{s&&fetch(`/api/commerce/cart/${s}`).then(w=>w.json()).then(w=>{w.cart?i(w.cart):(localStorage.removeItem(Hu),o(null))}).catch(()=>{})},[s]);const h=T.useCallback(w=>{if(i(w),w!=null&&w.id){o(w.id);try{localStorage.setItem(Hu,w.id)}catch{}}},[]),m=T.useCallback(async(w,C,M,E)=>{f(!0);try{const z=await Z4(s,{skuId:w,name:C,quantity:M,productAssetUrl:E});h(z.cart)}finally{f(!1)}},[s,h]),p=T.useCallback(async w=>{if(s){f(!0);try{const M=await(await fetch(`/api/commerce/cart/${s}/items/${w}`,{method:"DELETE"})).json();h(M.cart)}finally{f(!1)}}},[s,h]),y=T.useCallback(async(w,C)=>{if(s){f(!0);try{const E=await(await fetch(`/api/commerce/cart/${s}/items/${w}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({quantity:C})})).json();h(E.cart)}finally{f(!1)}}},[s,h]),v=T.useCallback(()=>{i(null),o(null);try{localStorage.removeItem(Hu)}catch{}},[]),x=Y4(n);return b.jsx(fw.Provider,{value:{cart:n,cartId:s,summary:x,loading:u,addItem:m,removeItem:p,updateQuantity:y,clearCart:v},children:t})}function dw(){const t=T.useContext(fw);if(!t)throw new Error("useCart must be used within CartProvider");return t}const F4=k2,X4=z2,hw=T.forwardRef(({className:t,...n},i)=>b.jsx(Ax,{className:ai("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n,ref:i}));hw.displayName=Ax.displayName;const Q4=jm("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),mw=T.forwardRef(({side:t="right",className:n,children:i,...s},o)=>b.jsxs(X4,{children:[b.jsx(hw,{}),b.jsxs(_x,{ref:o,className:ai(Q4({side:t}),n),...s,children:[i,b.jsxs(O2,{className:"absolute right-4 top-4 roun
306ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[b.jsx(wc,{className:"h-4 w-4"}),b.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));mw.displayName=_x.displayName;const pw=({className:t,...n})=>b.jsx("div",{className:ai("flex flex-col space-y-2 text-center sm:text-left",t),...n});pw.displayName="SheetHeader";const yw=T.forwardRef(({className:t,...n},i)=>b.jsx(Rx,{ref:i,className:ai("text-lg font-semibold text-foreground",t),...n}));yw.displayName=Rx.displayName;const $4=T.forwardRef(({className:t,...n},i)=>b.jsx(Mx,{ref:i,className:ai("text-sm text-muted-foreground",t),...n}));$4.displayName=Mx.displayName;const am=T.forwardRef(({className:t,orientation:n="horizontal",decorative:i=!0,...s},o)=>b.jsx(jx,{ref:o,decorative:i,orientation:n,className:ai("shrink-0 bg-border",n==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",t),...s}));am.displayName=jx.displayName;function Bl(t,n="USD"){return new Intl.NumberFormat("en-US",{style:"currency",currency:n}).format(t/100)}function I4({item:t,onRemove:n,onUpdateQty:i,busy:s}){var y,v,x,w,C;const o=t.id??"",u=t.name??"Product",f=t.quantity??1,h=((y=t.details)==null?void 0:y.productAssetUrl)??null,m=((x=(v=t.totals)==null?void 0:v.subTotal)==null?void 0:x.value)??0,p=((C=(w=t.totals)==null?void 0:w.subTotal)==null?void 0:C.currencyCode)??"USD";return b.jsxs(nt.div,{layout:!0,initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20,height:0,marginBottom:0},transition:{duration:.2,ease:"easeOut"},className:"flex gap-3 py-4",children:[b.jsx("div",{className:"w-16 h-16 rounded-lg bg-muted border border-border/40 overflow-hidden shrink-0 flex items-center justify-center",children:h?b.jsx("img",{src:h,alt:u,className:"w-full h-full object-cover",loading:"lazy"}):b.jsx(qA,{size:20,className:"text-muted-foreground"})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsx("p",{className:"text-foreground text-sm font-medium leading-snug line-clamp-2 mb-2",children:b.jsx(pt,{devId:"0f6017",guard:{file:"src/components/CartDrawer.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89"},children:u})}),b.jsxs("div",{className:"flex items-center justify-between gap-2",children:[b.jsxs("div",{className:"flex items-center gap-1 bg-muted rounded-md border border-border/40",children:[b.jsx("button",{onClick:()=>f>1?i(o,f-1):n(o),disabled:s,className:"w-7 h-7 flex items-center justify-center text-muted-foreground hover:text-foreground disabled:opacity-40 transition-colors","aria-label":"Decrease quantity",children:b.jsx(pt,{devId:"58708b",guard:{file:"src/components/CartDrawer.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:f1241cca879664786541da7941c62189ba4854f8ca67e07acade8d20d7cc168e"},children:f===1?b.jsx(GA,{size:12}):b.jsx(PA,{size:12})})}),b.jsx("span",{className:"w-6 text-center text-sm font-medium text-foreground",children:b.jsx(pt,{devId:"5e3f41",guard:{file:"src/components/CartDrawer.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:32e8369a9c4f29872ac161d71575a3403935385cd4a302d30692d44d91bff3b2"},children:f})}),b.jsx("button",{onClick:()=>i(o,f+1),disabled:s,className:"w-7 h-7 flex items-center justify-center text-muted-foreground hover:text-foreground disabled:opacity-40 transition-colors","aria-label":"Increase quantity",children:b.jsx(KA,{size:12})})]}),b.jsx("span",{className:"text-foreground text-sm font-semibold shrink-0",children:b.jsx(pt,{devId:"7c5e6d",guard:{file:"src/components/CartDrawer.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:8930ba738861e3f9f988606a05ece4ac80b54b074a84ed7469b02302c1dd4c08"},children:Bl(m,p)})})]})]}),b.jsx("button",{onClick:()=>n(o),disabled:s,className:"self-start p-1 text-muted-foreground hover:text-destructive disabled:opacity-40 transition-colors","aria-label":`Remove ${u}`,children:b.jsx(wc,{size:14})})]})}function J4({open:t,onClose:n}){const{cart:i,cartId:s,summary:o,loading:u,removeItem:f,updateQuantity:h,clearCart:m}=dw(),[p,y]=T.useState(!1),[v,x]=T.useState(""),w=(i==null?void 0:i.lineItems)??[],C=o.currencyCode||"USD";async function M(){if(s){y(!0),x("");try{const E=window.location.origin,z=`${E}/checkout/success?orderId=${s}`,U=`${E}/products`,B=await fetch("/api/commerce/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({draftOrderId:s,returnUrl:U,successUrl:z})}),K=await B.json();if(!B.ok||!K.url)throw new Error(K.error||K.message||"Failed to start checkout");window.location.assign(K.url)}catch(E){x(E instanceof Error?E.message:"Something went wrong. Please try again."),y(!1)}}}return b.jsx(F4,{open:t,onOpenChange:E=>{E||n()},children:b.jsxs(mw,{side:"right",className:"w-full sm:max-w-md flex flex-col p-0 bg-card border-l border-border/60",children:[b.jsx(pw,{className:"px-5 py-4 border-b border-border/40 shrink-0",children:b.jsx("div",{className:"flex items-center justify-between",children:b.jsxs(yw,{className:"flex items-center gap-2 text-foreground font-bold text-base",children:[b.jsx(Wl,{size:18,className:"text-primary"}),b.jsx("span",{children:"Your Cart"}),o.itemCount>0&&b.jsx("span",{className:"bg-primary text-primary-foreground text-xs font-bold px-2 py-0.5 rounded-full",children:b.jsx(pt,{devId:"6fe18f",guard:{file:"src/components/CartDrawer.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
306ash:"sha256:537e2593c9355bd2f8727a2c8a5c058cba6e31a5e3fd182708e97119165e6ab8"},children:o.itemCount})})]})})}),b.jsx("div",{className:"flex-1 overflow-y-auto px-5",children:w.length===0?b.jsxs("div",{className:"flex flex-col items-center justify-center h-full py-16 text-center",children:[b.jsx("div",{className:"w-16 h-16 rounded-full bg-muted border border-border/40 flex items-center justify-center mb-4",children:b.jsx(Wl,{size:24,className:"text-muted-foreground"})}),b.jsx("p",{className:"text-foreground font-semibold mb-1",children:"Your cart is empty"}),b.jsx("p",{className:"text-muted-foreground text-sm mb-6",children:"Add security camera systems and equipment to get started."}),b.jsx(It,{asChild:!0,size:"sm",onClick:n,className:"bg-primary hover:bg-primary/90 text-primary-foreground",children:b.jsxs(vt,{to:"/products",children:["Browse Products",b.jsx(Ts,{size:14,className:"ml-2"})]})})]}):b.jsx(JS,{initial:!1,children:w.map(E=>b.jsxs("div",{children:[b.jsx(I4,{item:E,onRemove:f,onUpdateQty:h,busy:u}),b.jsx(am,{className:"bg-border/40"})]},E.id??E.name))})}),w.length>0&&b.jsxs("div",{className:"shrink-0 border-t border-border/40 px-5 py-5 bg-background/50",children:[b.jsxs("div",{className:"flex flex-col gap-2 mb-4 text-sm",children:[b.jsxs("div",{className:"flex justify-between text-muted-foreground",children:[b.jsx("span",{children:"Subtotal"}),b.jsx("span",{children:b.jsx(pt,{devId:"37b239",guard:{file:"src/components/CartDrawer.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:c776ad87fb91e54a220e75cb03d9d5955b99695b819bce6de3bb9de0ca684897"},children:Bl(o.subtotal,C)})})]}),o.discount>0&&b.jsxs("div",{className:"flex justify-between text-green-500",children:[b.jsx("span",{children:"Discount"}),b.jsxs("span",{children:["−",Bl(o.discount,C)]})]}),o.taxes>0&&b.jsxs("div",{className:"flex justify-between text-muted-foreground",children:[b.jsx("span",{children:"Tax"}),b.jsx("span",{children:b.jsx(pt,{devId:"bb5bfb",guard:{file:"src/components/CartDrawer.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:8e139c8e1d253444164306f8b9469e44f82ed5ab7276e69cfb950a1b0e1f2d6b"},children:Bl(o.taxes,C)})})]}),b.jsx(am,{className:"bg-border/40 my-1"}),b.jsxs("div",{className:"flex justify-between text-foreground font-bold text-base",children:[b.jsx("span",{children:"Total"}),b.jsx("span",{children:b.jsx(pt,{devId:"fd30dc",guard:{file:"src/components/CartDrawer.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:51aa7d64cd6682b3f999f3831284356e0fe1cdfd90c3f419f4b70845ff8daf39"},children:Bl(o.total||o.subtotal,C)})})]})]}),v&&b.jsx("p",{role:"alert",className:"text-destructive text-xs mb-3",children:b.jsx(pt,{devId:"7463ee",guard:{file:"src/components/CartDrawer.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:42bb8f0e16c69035d6577ff41932a4fe1bb4d1a11fd357f49c7664ec2fdc0536"},children:v})}),b.jsx(It,{onClick:M,disabled:p||u,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground font-semibold shadow-[0_0_20px_hsl(var(--primary)/0.3)] hover:shadow-[0_0_30px_hsl(var(--primary)/0.5)] transition-all",size:"lg",children:p?b.jsxs(b.Fragment,{children:[b.jsx(UA,{size:16,className:"mr-2 animate-spin"}),"Redirecting to checkout…"]}):b.jsxs(b.Fragment,{children:["Proceed to Checkout",b.jsx(Ts,{size:16,className:"ml-2"})]})}),b.jsx("button",{onClick:()=>{m()},disabled:u,className:"w-full mt-2 text-xs text-muted-foreground hover:text-destructive transition-colors py-1",children:"Clear cart"})]})]})})}const ex=[{label:"Products",href:"/products"},{label:"Services",href:"/services"},{label:"About",href:"/about"},{label:"Reviews",href:"/reviews"},{label:"Contact",href:"/contact"}];function W4(){const[t,n]=T.useState(!1),[i,s]=T.useState(!1),[o,u]=T.useState(!1),f=yn(),{summary:h}=dw();return T.useEffect(()=>{const m=()=>u(window.scrollY>20);return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),T.useEffect(()=>{n(!1)},[f.pathname]),b.jsxs(b.Fragment,{children:[b.jsxs("header",{className:`fixed left-0 right-0 z-50 transition-all duration-300 ${o?"bg-background/95 backdrop-blur-md border-b border-border/60 shadow-lg shadow-black/20":"bg-background/80 backdrop-blur-sm border-b border-border/30"}
306`,style:{top:"var(--promo-bar-h, 0px)"},children:[b.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:b.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[b.jsx(vt,{to:"/",className:"flex items-center gap-2 shrink-0 min-w-0",children:b.jsxs("span",{className:"font-bold text-lg md:text-xl tracking-tight leading-none",children:[b.jsx("span",{className:"text-primary",children:"CTV"}),b.jsx("span",{className:"text-foreground",children:"Cam"}),b.jsx("span",{className:"text-muted-foreground font-normal text-sm ml-1.5 hidden sm:inline",children:"Electronics"})]})}),b.jsx("nav",{"aria-label":"Main navigation",className:"hidden md:flex items-center gap-1",children:ex.map(m=>b.jsxs(vt,{to:m.href,className:`relative px-4 py-2 text-sm font-medium transition-colors duration-200 group ${f.pathname===m.href?"text-primary":"text-muted-foreground hover:text-foreground"}`,children:[m.label,b.jsx("span",{className:`absolute bottom-0 left-4 right-4 h-px bg-primary transition-all duration-300 origin-left ${f.pathname===m.href?"scale-x-100":"scale-x-0 group-hover:scale-x-100"}`})]},m.href))}),b.jsxs("div",{className:"hidden md:flex items-center gap-3",children:[b.jsxs("button",{onClick:()=>s(!0),className:"relative p-2 text-muted-foreground hover:text-foreground transition-colors","aria-label":`Cart${h.itemCount>0?`, ${h.itemCount} items`:""}`,children:[b.jsx(Wl,{size:20}),h.itemCount>0&&b.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-4 h-4 rounded-full bg-primary text-primary-foreground text-[10px] font-bold flex items-center justify-center",children:b.jsx(pt,{devId:"34bfad",guard:{file:"src/layouts/parts/Header.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ec8fad7c5520844d6a0cb772910ecf029b26a0c461e3418d8e79eaf5056a7afb"},children:h.itemCount>9?"9+":h.itemCount})})]}),b.jsx(It,{asChild:!0,variant:"outline",size:"sm",className:"border-primary text-primary hover:bg-primary/10 hover:text-primary bg-transparent text-sm font-medium",children:b.jsx(vt,{to:"/services",children:"Get a Quote"})}),b.jsx(It,{asChild:!0,size:"sm",className:"bg-primary hover:bg-primary/90 text-primary-foreground text-sm font-medium shadow-[0_0_20px_hsl(var(--primary)/0.3)] hover:shadow-[0_0_30px_hsl(var(--primary)/0.5)] transition-all duration-300",children:b.jsx(vt,{to:"/products",children:"Shop Now"})})]}),b.jsxs("div",{className:"md:hidden flex items-center gap-1",children:[b.jsxs("button",{onClick:()=>s(!0),className:"relative p-2 text-muted-foreground hover:text-foreground transition-colors","aria-label":`Cart${h.itemCount>0?`, ${h.itemCount} items`:""}`,children:[b.jsx(Wl,{size:20}),h.itemCount>0&&b.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-4 h-4 rounded-full bg-primary text-primary-foreground text-[10px] font-bold flex items-center justify-center",children:b.jsx(pt,{devId:"0ea1ae",guard:{file:"src/layouts/parts/Header.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ec8fad7c5520844d6a0cb772910ecf029b26a0c461e3418d8e79eaf5056a7afb"},children:h.itemCount>9?"9+":h.itemCount})})]}),b.jsx("button",{className:"p-2 text-muted-foreground hover:text-foreground transition-colors",onClick:()=>n(!t),"aria-label":t?"Close menu":"Open menu",children:b.jsx(pt,{devId:"30072c",guard:{file:"src/layouts/parts/Header.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:a8b293fcd2cda164712dc59744411ab582a57a8682df3e0a86d72b7f7adc695e"},children:t?b.jsx(wc,{size:22}):b.jsx(HA,{size:22})})})]})]})}),b.jsx(JS,{children:t&&b.jsx(nt.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2,ease:"easeOut"},className:"md:hidden bg-background border-t border-border/60 overflow-hidden",children:b.jsxs("nav",{"aria-label":"Mobile navigation",className:"px-4 py-4 flex flex-col gap-1",children:[ex.map(m=>b.jsx(vt,{to:m.href,className:`px-3 py-3 text-sm font-medium rounded-md transition-colors ${f.pathname===m.href?"text-primary bg-primary/10":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:m.label},m.href)),b.jsxs("div",{className:"flex flex-col gap-2 mt-3 pt-3 border-t border-border/60",children:[b.jsx(It,{asChild:!0,variant:"outline",className:"border-primary text-primary hover:bg-primary/10 bg-transparent w-full",children:b.jsx(vt,{to:"/services",children:"Get a Quote"})}),b.jsx(It,{asChild:!0,className:"bg-primary hover:bg-primary/90 text-primary-foreground w-full",children:b.jsx(vt,{to:"/products",children:"Shop Now"})})]})]})})})]}),b.jsx(J4,{open:i,onClose:()=>s(!1)})]})}const e3=["https://www.facebook.com/1697644227157767"],tx={urls:e3};function t3(){return(Array.isArray(tx.urls)?tx.urls:[]).filter(n=>typeof n=="string"&&n.length>0)}function n3(t){const i={"@type":t.businessType??"Organization","@id":`${t.siteUrl}/#organization`,name:t.name,url:`${t.siteUrl}/`};t.logo&&(i.logo=t.logo);const s=t3();return s.length>0&&(i.sameAs=s),i}function a3(t){return{"@context":"https://schema.org",...n3({siteUrl:t.siteUrl,name:t.organizationName})}}const i3=T.createContext(void 0);function r3(){const t=T.useContext(i3);return t||(typeof window<"u"?window.location.origin:"")}const s3={name:"CTVCam"};function l3(){const t=yn(),n=r3();if(t.pathname!=="/"||!n)return null;const i=a3({siteUrl:n,organizationName:s3.name.trim()||new globalThis.URL(n).hostname});return b.jsx(fm,{children:b.jsx("script",{type:"application/ld+json",children:JSON.stringify(i).replace(/</g,"\\u003c")})})}const o3="01a0fa71-d2fe-741e-8a67-36109ff14e7b",nx=44;function u3(){const[t,n]=T.useState(!1);return T.useEffect(()=>(document.documentElement.style.setProperty("--promo-bar-h",t?"0px":`${nx}px`),()=>{document.documentElement.style.setProperty("--promo-bar-h","0px")}),[t]),t?null:b.jsxs("div",{className:"fixed top-0 left-0 right-0 z-[60] w-full py-2.5 px-4",style:{background:"linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%)",height:`${nx}px`},children:[b.jsxs("div",{className:"max-w-content mx-auto flex items-center justify-center gap-3 text-sm font-medium text-white h-full",children:[b.jsx(y1,{className:"w-4 h-4 shrink-0 opacity-90"}),b.jsx("span",{className:"hidden sm:inline opacity-90 whitespace-nowrap",children:"Limited Offer — 90 Days Only:"}),b.jsx("span",{className:"font-bold whitespace-nowrap",children:"Complete Camera Package + Free Installation"}),b.jsx("span",{className:"hidden md:inline opacity-90 whitespace-nowrap",children:"— Save $500"}),b.jsxs(vt,{to:`/products/${o3}`,className:"inline-flex items-center gap-1 bg-white/20 hover:bg-white/30 transition-colors duration-150 rounded-full px-3 py-0.5 text-xs font-bold whitespace-nowrap shrink-0",children:["Claim Deal",b.jsx(Ts,{className:"w-3 h-3"})]})]}),b.jsx("button",{onClick:()=>n(!0),"aria-label":"Dismiss promotion",className:"absolute right-3 top-1/2 -translate-y-1/2 text-white/70 hover:text-white transition-colors duration-150 p-1",children:b.jsx(wc,{className:"w-4 h-4"})})]})}function c3({children:t,config:n={},className:i}){const{layout:s={maxWidth:"full",padding:"md",background:"default",minHeight:!0}}=n,o=()=>{switch(s.background){case"muted":return"bg-muted";case"gradient":return"bg-gradient-to-b from-background to-muted/20";default:return"bg-background"}};return b.jsx("div",{className:ai(s.minHeight!==!1&&"min-h-screen",o(),"flex flex-col",i),children:t})}function f3({children:t}){return b.jsxs(c3,{children:[b.jsxs(fm,{children:[b.jsx("title",{children:"CTVCam — Commercial Security Camera Systems & Installation"}),b.jsx("meta",{name:"description",content:"Commercial-grade security camera systems, DVR/NVR kits, access control, and professional installation services for businesses in Texas."})]}),b.jsx(l3,{}),b.jsx(h1,{}),b.jsx(u3,{}),b.jsx(W4,{}),b.jsx("div",{className:"min-h-screen",style:{paddingTop:"calc(var(--promo-bar-h, 0px) + clamp(4rem, 5vw, 5rem))"},children:t}),b.jsx($A,{})]})}function d3({className:t}){return b.jsx("div",{className:`inline-block ${t||""}`,children:b.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:[b.jsx("circle",{className:"opacity-10",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),b.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 h3=jm("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function fc({className:t,variant:n,...i}){return b.jsx("div",{className:ai(h3({variant:n}),t),...i})}var Xe;(function(t){t.assertEqual=o=>{};function n(o){}t.assertIs=n;function i(o){throw new Error}t.assertNever=i,t.arrayToEnum=o=>{const u={};for(const f of o)u[f]=f;return u},t.getValidEnumValues=o=>{const u=t.objectKeys(o).filter(h=>typeof o[o[h]]!="number"),f={};for(const h of u)f[h]=o[h];return t.objectValues(f)},t.objectValues=o=>t.objectKeys(o).map(function(u){return o[u]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const u=[];for(const f in o)Object.prototype.hasOwnProperty.call(o,f)&&u.push(f);return u},t.find=(o,u)=>{for(const f of o)if(u(f))return f},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function s(o,u=" | "){return o.map(f=>typeof f=="string"?`'${f}'`:f).join(u)}t.joinValues=s,t.jsonStringifyReplacer=(o,u)=>typeof u=="bigint"?u.toString():u})(Xe||(Xe={}));var ax;(function(t){t.mergeShapes=(n,i)=>({...n,...i})})(ax||(ax={}));const de=Xe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Bi=t=>{switch(typeof t){case"undefined":return de.undefined;case"string":return de.string;case"number":return Number.isNaN(t)?de.nan:de.number;case"boolean":return de.boolean;case"function":return de.function;case"bigint":return de.bigint;case"symbol":return de.symbol;case"object":return Array.isArray(t)?de.array:t===null?de.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?de.promise:typeof Map<"u"&&t instanceof Map?de.map:typeof Set<"u"&&t instanceof Set?de.set:typeof Date<"u"&&t instanceof Date?de.date:de.object;default:return de.unknown}}
vendor: 6,016 bytes, line 306
306,W=Xe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ni extends Error{get errors(){return this.issues}constructor(n){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const i=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,i):this.__proto__=i,this.name="ZodError",this.issues=n}format(n){const i=n||function(u){return u.message},s={_errors:[]},o=u=>{for(const f of u.issues)if(f.code==="invalid_union")f.unionErrors.map(o);else if(f.code==="invalid_return_type")o(f.returnTypeError);else if(f.code==="invalid_arguments")o(f.argumentsError);else if(f.path.length===0)s._errors.push(i(f));else{let h=s,m=0;for(;m<f.path.length;){const p=f.path[m];m===f.path.length-1?(h[p]=h[p]||{_errors:[]},h[p]._errors.push(i(f))):h[p]=h[p]||{_errors:[]},h=h[p],m++}}};return o(this),s}static assert(n){if(!(n instanceof ni))throw new Error(`Not a ZodError: ${n}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Xe.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(n=i=>i.message){const i={},s=[];for(const o of this.issues)if(o.path.length>0){const u=o.path[0];i[u]=i[u]||[],i[u].push(n(o))}else s.push(n(o));return{formErrors:s,fieldErrors:i}}get formErrors(){return this.flatten()}}ni.create=t=>new ni(t);const im=(t,n)=>{let i;switch(t.code){case W.invalid_type:t.received===de.undefined?i="Required":i=`Expected ${t.expected}, received ${t.received}`;break;case W.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(t.expected,Xe.jsonStringifyReplacer)}`;break;case W.unrecognized_keys:i=`Unrecognized key(s) in object: ${Xe.joinValues(t.keys,", ")}`;break;case W.invalid_union:i="Invalid input";break;case W.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${Xe.joinValues(t.options)}`;break;case W.invalid_enum_value:i=`Invalid enum value. Expected ${Xe.joinValues(t.options)}, received '${t.received}'`;break;case W.invalid_arguments:i="Invalid function arguments";break;case W.invalid_return_type:i="Invalid function return type";break;case W.invalid_date:i="Invalid date";break;case W.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(i=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(i=`${i} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?i=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?i=`Invalid input: must end with "${t.validation.endsWith}"`:Xe.assertNever(t.validation):t.validation!=="regex"?i=`Invalid ${t.validation}`:i="Invalid";break;case W.too_small:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?i=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:i="Invalid input";break;case W.too_big:t.type==="array"?i=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?i=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?i=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?i=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?i=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:i="Invalid input";break;case W.custom:i="Invalid input";break;case W.invalid_intersection_types:i="Intersection results could not be merged";break;case W.not_multiple_of:i=`Number must be a multiple of ${t.multipleOf}`;break;case W.not_finite:i="Number must be finite";break;default:i=n.defaultError,Xe.assertNever(t)}return{message:i}};let m3=im;function p3(){return m3}const y3=t=>{const{data:n,path:i,errorMaps:s,issueData:o}=t,u=[...i,...o.path||[]],f={...o,path:u};if(o.message!==void 0)return{...o,path:u,message:o.message};let h="";const m=s.filter(p=>!!p).slice().reverse();for(const p of m)h=p(f,{data:n,defaultError:h}).message;return{...o,path:u,message:h}};function le(t,n){const i=p3(),s=y3({issueData:n,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,i,i===im?void 0:im].filter(o=>!!o)});t.common.issues.push(s)}class Rn{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(n,i){const s=[];for(const o of i){if(o.status==="aborted")return Ae;o.status==="dirty"&&n.dirty(),s.push(o.value)}return{status:n.value,value:s}}static async mergeObjectAsync(n,i){const s=[];for(const o of i){const u=await o.key,f=await o.value;s.push({key:u,value:f})}return Rn.mergeObjectSync(n,s)}static mergeObjectSync(n,i){const s={};for(const o of i){const{key:u,value:f}=o;if(u.status==="aborted"||f.status==="aborted")return Ae;u.status==="dirty"&&n.dirty(),f.status==="dirty"&&n.dirty(),u.value!=="__proto__"&&(typeof f.value<"u"||o.alwaysSet)&&(s[u.value]=f.value)}return{status:n.value,value:s}}}const Ae=Object.freeze({status:"aborted"}),Hl=t=>({status:"dirty",value:t}),Xn=t=>
vendor: 5,879 bytes, line 306
306({status:"valid",value:t}),ix=t=>t.status==="aborted",rx=t=>t.status==="dirty",As=t=>t.status==="valid",dc=t=>typeof Promise<"u"&&t instanceof Promise;var me;(function(t){t.errToObj=n=>typeof n=="string"?{message:n}:n||{},t.toString=n=>typeof n=="string"?n:n==null?void 0:n.message})(me||(me={}));class Fi{constructor(n,i,s,o){this._cachedPath=[],this.parent=n,this.data=i,this._path=s,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const sx=(t,n)=>{if(As(n))return{success:!0,data:n.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const i=new ni(t.common.issues);return this._error=i,this._error}}};function Ve(t){if(!t)return{};const{errorMap:n,invalid_type_error:i,required_error:s,description:o}=t;if(n&&(i||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return n?{errorMap:n,description:o}:{errorMap:(f,h)=>{const{message:m}=t;return f.code==="invalid_enum_value"?{message:m??h.defaultError}:typeof h.data>"u"?{message:m??s??h.defaultError}:f.code!=="invalid_type"?{message:h.defaultError}:{message:m??i??h.defaultError}},description:o}}class Ze{get description(){return this._def.description}_getType(n){return Bi(n.data)}_getOrReturnCtx(n,i){return i||{common:n.parent.common,data:n.data,parsedType:Bi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new Rn,ctx:{common:n.parent.common,data:n.data,parsedType:Bi(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){const i=this._parse(n);if(dc(i))throw new Error("Synchronous parse encountered promise.");return i}_parseAsync(n){const i=this._parse(n);return Promise.resolve(i)}parse(n,i){const s=this.safeParse(n,i);if(s.success)return s.data;throw s.error}safeParse(n,i){const s={common:{issues:[],async:(i==null?void 0:i.async)??!1,contextualErrorMap:i==null?void 0:i.errorMap},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Bi(n)},o=this._parseSync({data:n,path:s.path,parent:s});return sx(s,o)}"~validate"(n){var s,o;const i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Bi(n)};if(!this["~standard"].async)try{const u=this._parseSync({data:n,path:[],parent:i});return As(u)?{value:u.value}:{issues:i.common.issues}}catch(u){(o=(s=u==null?void 0:u.message)==null?void 0:s.toLowerCase())!=null&&o.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:n,path:[],parent:i}).then(u=>As(u)?{value:u.value}:{issues:i.common.issues})}async parseAsync(n,i){const s=await this.safeParseAsync(n,i);if(s.success)return s.data;throw s.error}async safeParseAsync(n,i){const s={common:{issues:[],contextualErrorMap:i==null?void 0:i.errorMap,async:!0},path:(i==null?void 0:i.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:Bi(n)},o=this._parse({data:n,path:s.path,parent:s}),u=await(dc(o)?o:Promise.resolve(o));return sx(s,u)}refine(n,i){const s=o=>typeof i=="string"||typeof i>"u"?{message:i}:typeof i=="function"?i(o):i;return this._refinement((o,u)=>{const f=n(o),h=()=>u.addIssue({code:W.custom,...s(o)});return typeof Promise<"u"&&f instanceof Promise?f.then(m=>m?!0:(h(),!1)):f?!0:(h(),!1)})}refinement(n,i){return this._refinement((s,o)=>n(s)?!0:(o.addIssue(typeof i=="function"?i(s,o):i),!1))}_refinement(n){return new Rs({schema:this,typeName:_e.ZodEffects,effect:{type:"refinement",refinement:n}})}superRefine(n){return this._refinement(n)}constructor(n){this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:i=>this["~validate"](i)}}optional(){return Zi.create(this,this._def)}nullable(){return Ms.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return va.create(this)}promise(){return yc.create(this,this._def)}or(n){return mc.create([this,n],this._def)}and(n){return pc.create(this,n,this._def)}transform(n){return new Rs({...Ve(this._def),schema:this,typeName:_e.ZodEffects,effect:{type:"transform",transform:n}})}default(n){const i=typeof n=="function"?n:()=>n;return new lm({...Ve(this._def),innerType:this,defaultValue:i,typeName:_e.ZodDefault})}brand(){return new B3({typeName:_e.ZodBranded,type:this,...Ve(this._def)})}catch(n){const i=typeof n=="function"?n:()=>n;return new om({...Ve(this._def),innerType:this,catchValue:i,typeName:_e.ZodCatch})}describe(n){const i=this.constructor;return new i({...this._def,description:n})}pipe(n){return lp.create(this,n)}readonly(){return um.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const g3=/^c[^\s-]{8,}
vendor: 4,612 bytes, line 306
306$/i,v3=/^[0-9a-z]+$/,b3=/^[0-9A-HJKMNP-TV-Z]{26}$/i,x3=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,S3=/^[a-z0-9_-]{21}$/i,w3=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,T3=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,C3=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,E3="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let bh;const A3=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,_3=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,R3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,M3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,j3=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,N3=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,gw="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",D3=new RegExp(`^${gw}$`);function vw(t){let n="[0-5]\\d";t.precision?n=`${n}\\.\\d{${t.precision}}`:t.precision==null&&(n=`${n}(\\.\\d+)?`);const i=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${n})${i}`}function z3(t){return new RegExp(`^${vw(t)}$`)}function O3(t){let n=`${gw}T${vw(t)}`;const i=[];return i.push(t.local?"Z?":"Z"),t.offset&&i.push("([+-]\\d{2}:?\\d{2})"),n=`${n}(${i.join("|")})`,new RegExp(`^${n}$`)}function k3(t,n){return!!((n==="v4"||!n)&&A3.test(t)||(n==="v6"||!n)&&R3.test(t))}function L3(t,n){if(!w3.test(t))return!1;try{const[i]=t.split(".");if(!i)return!1;const s=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),o=JSON.parse(atob(s));return!(typeof o!="object"||o===null||"typ"in o&&(o==null?void 0:o.typ)!=="JWT"||!o.alg||n&&o.alg!==n)}catch{return!1}}function V3(t,n){return!!((n==="v4"||!n)&&_3.test(t)||(n==="v6"||!n)&&M3.test(t))}class Ki extends Ze{_parse(n){if(this._def.coerce&&(n.data=String(n.data)),this._getType(n)!==de.string){const u=this._getOrReturnCtx(n);return le(u,{code:W.invalid_type,expected:de.string,received:u.parsedType}),Ae}const s=new Rn;let o;for(const u of this._def.checks)if(u.kind==="min")n.data.length<u.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:W.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if(u.kind==="max")n.data.length>u.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:W.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),s.dirty());else if(u.kind==="length"){const f=n.data.length>u.value,h=n.data.length<u.value;(f||h)&&(o=this._getOrReturnCtx(n,o),f?le(o,{code:W.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):h&&le(o,{code:W.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),s.dirty())}else if(u.kind==="email")C3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"email",code:W.invali
vendor: 15,919 bytes, line 306
306d_string,message:u.message}),s.dirty());else if(u.kind==="emoji")bh||(bh=new RegExp(E3,"u")),bh.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"emoji",code:W.invalid_string,message:u.message}),s.dirty());else if(u.kind==="uuid")x3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"uuid",code:W.invalid_string,message:u.message}),s.dirty());else if(u.kind==="nanoid")S3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"nanoid",code:W.invalid_string,message:u.message}),s.dirty());else if(u.kind==="cuid")g3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"cuid",code:W.invalid_string,message:u.message}),s.dirty());else if(u.kind==="cuid2")v3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"cuid2",code:W.invalid_string,message:u.message}),s.dirty());else if(u.kind==="ulid")b3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"ulid",code:W.invalid_string,message:u.message}),s.dirty());else if(u.kind==="url")try{new URL(n.data)}catch{o=this._getOrReturnCtx(n,o),le(o,{validation:"url",code:W.invalid_string,message:u.message}),s.dirty()}else u.kind==="regex"?(u.regex.lastIndex=0,u.regex.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"regex",code:W.invalid_string,message:u.message}),s.dirty())):u.kind==="trim"?n.data=n.data.trim():u.kind==="includes"?n.data.includes(u.value,u.position)||(o=this._getOrReturnCtx(n,o),le(o,{code:W.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),s.dirty()):u.kind==="toLowerCase"?n.data=n.data.toLowerCase():u.kind==="toUpperCase"?n.data=n.data.toUpperCase():u.kind==="startsWith"?n.data.startsWith(u.value)||(o=this._getOrReturnCtx(n,o),le(o,{code:W.invalid_string,validation:{startsWith:u.value},message:u.message}),s.dirty()):u.kind==="endsWith"?n.data.endsWith(u.value)||(o=this._getOrReturnCtx(n,o),le(o,{code:W.invalid_string,validation:{endsWith:u.value},message:u.message}),s.dirty()):u.kind==="datetime"?O3(u).test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{code:W.invalid_string,validation:"datetime",message:u.message}),s.dirty()):u.kind==="date"?D3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{code:W.invalid_string,validation:"date",message:u.message}),s.dirty()):u.kind==="time"?z3(u).test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{code:W.invalid_string,validation:"time",message:u.message}),s.dirty()):u.kind==="duration"?T3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"duration",code:W.invalid_string,message:u.message}),s.dirty()):u.kind==="ip"?k3(n.data,u.version)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"ip",code:W.invalid_string,message:u.message}),s.dirty()):u.kind==="jwt"?L3(n.data,u.alg)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"jwt",code:W.invalid_string,message:u.message}),s.dirty()):u.kind==="cidr"?V3(n.data,u.version)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"cidr",code:W.invalid_string,message:u.message}),s.dirty()):u.kind==="base64"?j3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"base64",code:W.invalid_string,message:u.message}),s.dirty()):u.kind==="base64url"?N3.test(n.data)||(o=this._getOrReturnCtx(n,o),le(o,{validation:"base64url",code:W.invalid_string,message:u.message}),s.dirty()):Xe.assertNever(u);return{status:s.value,value:n.data}}_regex(n,i,s){return this.refinement(o=>n.test(o),{validation:i,code:W.invalid_string,...me.errToObj(s)})}_addCheck(n){return new Ki({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...me.errToObj(n)})}url(n){return this._addCheck({kind:"url",...me.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...me.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...me.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...me.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...me.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...me.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...me.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...me.errToObj(n)})}base64url(n){return this._addCheck({kind:"base64url",...me.errToObj(n)})}jwt(n){return this._addCheck({kind:"jwt",...me.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...me.errToObj(n)})}cidr(n){return this._addCheck({kind:"cidr",...me.errToObj(n)})}datetime(n){return typeof n=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,offset:(n==null?void 0:n.offset)??!1,local:(n==null?void 0:n.local)??!1,...me.errToObj(n==null?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return typeof n=="string"?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:typeof(n==null?void 0:n.precision)>"u"?null:n==null?void 0:n.precision,...me.errToObj(n==null?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...me.errToObj(n)})}regex(n,i){return this._addCheck({kind:"regex",regex:n,...me.errToObj(i)})}includes(n,i){return this._addCheck({kind:"includes",value:n,position:i==null?void 0:i.position,...me.errToObj(i==null?void 0:i.message)})}startsWith(n,i){return this._addCheck({kind:"startsWith",value:n,...me.errToObj(i)})}endsWith(n,i){return this._addCheck({kind:"endsWith",value:n,...me.errToObj(i)})}min(n,i){return this._addCheck({kind:"min",value:n,...me.errToObj(i)})}max(n,i){return this._addCheck({kind:"max",value:n,...me.errToObj(i)})}length(n,i){return this._addCheck({kind:"length",value:n,...me.errToObj(i)})}nonempty(n){return this.min(1,me.errToObj(n))}trim(){return new Ki({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ki({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ki({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(n=>n.kind==="datetime")}get isDate(){return!!this._def.checks.find(n=>n.kind==="date")}get isTime(){return!!this._def.checks.find(n=>n.kind==="time")}get isDuration(){return!!this._def.checks.find(n=>n.kind==="duration")}get isEmail(){return!!this._def.checks.find(n=>n.kind==="email")}get isURL(){return!!this._def.checks.find(n=>n.kind==="url")}get isEmoji(){return!!this._def.checks.find(n=>n.kind==="emoji")}get isUUID(){return!!this._def.checks.find(n=>n.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(n=>n.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(n=>n.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(n=>n.kind==="cuid2")}get isULID(){return!!this._def.checks.find(n=>n.kind==="ulid")}get isIP(){return!!this._def.checks.find(n=>n.kind==="ip")}get isCIDR(){return!!this._def.checks.find(n=>n.kind==="cidr")}get isBase64(){return!!this._def.checks.find(n=>n.kind==="base64")}get isBase64url(){return!!this._def.checks.find(n=>n.kind==="base64url")}get minLength(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxLength(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}Ki.create=t=>new Ki({checks:[],typeName:_e.ZodString,coerce:(t==null?void 0:t.coerce)??!1,...Ve(t)});function U3(t,n){const i=(t.toString().split(".")[1]||"").length,s=(n.toString().split(".")[1]||"").length,o=i>s?i:s,u=Number.parseInt(t.toFixed(o).replace(".","")),f=Number.parseInt(n.toFixed(o).replace(".",""));return u%f/10**o}class io extends Ze{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(n){if(this._def.coerce&&(n.data=Number(n.data)),this._getType(n)!==de.number){const u=this._getOrReturnCtx(n);return le(u,{code:W.invalid_type,expected:de.number,received:u.parsedType}),Ae}let s;const o=new Rn;for(const u of this._def.checks)u.kind==="int"?Xe.isInteger(n.data)||(s=this._getOrReturnCtx(n,s),le(s,{code:W.invalid_type,expected:"integer",received:"float",message:u.message}),o.dirty()):u.kind==="min"?(u.inclusive?n.data<u.value:n.data<=u.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:W.too_small,minimum:u.value,type:"number",inclusive:u.inclusive,exact:!1,message:u.message}),o.dirty()):u.kind==="max"?(u.inclusive?n.data>u.value:n.data>=u.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:W.too_big,maximum:u.value,type:"number",inclusive:u.inclusive,exact:!1,message:u.message}),o.dirty()):u.kind==="multipleOf"?U3(n.data,u.value)!==0&&(s=this._getOrReturnCtx(n,s),le(s,{code:W.not_multiple_of,multipleOf:u.value,message:u.message}),o.dirty()):u.kind==="finite"?Number.isFinite(n.data)||(s=this._getOrReturnCtx(n,s),le(s,{code:W.not_finite,message:u.message}),o.dirty()):Xe.assertNever(u);return{status:o.value,value:n.data}}gte(n,i){return this.setLimit("min",n,!0,me.toString(i))}gt(n,i){return this.setLimit("min",n,!1,me.toString(i))}lte(n,i){return this.setLimit("max",n,!0,me.toString(i))}lt(n,i){return this.setLimit("max",n,!1,me.toString(i))}setLimit(n,i,s,o){return new io({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:me.toString(o)}]})}_addCheck(n){return new io({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:me.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:me.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:me.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:me.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:me.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:me.toString(i)})}finite(n){return this._addCheck({kind:"finite",message:me.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:me.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:me.toString(n)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}get isInt(){return!!this._def.checks.find(n=>n.kind==="int"||n.kind==="multipleOf"&&Xe.isInteger(n.value))}get isFinite(){let n=null,i=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(i===null||s.value>i)&&(i=s.value):s.kind==="max"&&(n===null||s.value<n)&&(n=s.value)}return Number.isFinite(i)&&Number.isFinite(n)}}io.create=t=>new io({checks:[],typeName:_e.ZodNumber,coerce:(t==null?void 0:t.coerce)||!1,...Ve(t)});class ro extends Ze{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(n){if(this._def.coerce)try{n.data=BigInt(n.data)}catch{return this._getInvalidInput(n)}if(this._getType(n)!==de.bigint)return this._getInvalidInput(n);let s;const o=new Rn;for(const u of this._def.checks)u.kind==="min"?(u.inclusive?n.data<u.value:n.data<=u.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:W.too_small,type:"bigint",minimum:u.value,inclusive:u.inclusive,message:u.message}),o.dirty()):u.kind==="max"?(u.inclusive?n.data>u.value:n.data>=u.value)&&(s=this._getOrReturnCtx(n,s),le(s,{code:W.too_big,type:"bigint",maximum:u.value,inclusive:u.inclusive,message:u.message}),o.dirty()):u.kind==="multipleOf"?n.data%u.value!==BigInt(0)&&(s=this._getOrReturnCtx(n,s),le(s,{code:W.not_multiple_of,multipleOf:u.value,message:u.message}),o.dirty()):Xe.assertNever(u);return{status:o.value,value:n.data}}_getInvalidInput(n){const i=this._getOrReturnCtx(n);return le(i,{code:W.invalid_type,expected:de.bigint,received:i.parsedType}),Ae}gte(n,i){return this.setLimit("min",n,!0,me.toString(i))}gt(n,i){return this.setLimit("min",n,!1,me.toString(i))}lte(n,i){return this.setLimit("max",n,!0,me.toString(i))}lt(n,i){return this.setLimit("max",n,!1,me.toString(i))}setLimit(n,i,s,o){return new ro({...this._def,checks:[...this._def.checks,{kind:n,value:i,inclusive:s,message:me.toString(o)}]})}_addCheck(n){return new ro({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:me.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:me.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:me.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:me.toString(n)})}multipleOf(n,i){return this._addCheck({kind:"multipleOf",value:n,message:me.toString(i)})}get minValue(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n}get maxValue(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n}}ro.create=t=>new ro({checks:[],typeName:_e.ZodBigInt,coerce:(t==null?void 0:t.coerce)??!1,...Ve(t)});class rm extends Ze{_parse(n){if(this._def.coerce&&(n.data=!!n.data),this._getType(n)!==de.boolean){const s=this._getOrReturnCtx(n);return le(s,{code:W.invalid_type,expected:de.boolean,received:s.parsedType}),Ae}return Xn(n.data)}}rm.create=t=>new rm({typeName:_e.ZodBoolean,coerce:(t==null?void 0:t.coerce)||!1,...Ve(t)});class hc extends Ze{_parse(n){if(this._def.coerce&&(n.data=new Date(n.data)),this._getType(n)!==de.date){const u=this._getOrReturnCtx(n);return le(u,{code:W.invalid_type,expected:de.date,received:u.parsedType}),Ae}if(Number.isNaN(n.data.getTime())){const u=this._getOrReturnCtx(n);return le(u,{code:W.invalid_date}),Ae}const s=new Rn;let o;for(const u of this._def.checks)u.kind==="min"?n.data.getTime()<u.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:W.too_small,message:u.message,inclusive:!0,exact:!1,minimum:u.value,type:"date"}),s.dirty()):u.kind==="max"?n.data.getTime()>u.value&&(o=this._getOrReturnCtx(n,o),le(o,{code:W.too_big,message:u.message,inclusive:!0,exact:!1,maximum:u.value,type:"date"}),s.dirty()):Xe.assertNever(u);return{status:s.value,value:new Date(n.data.getTime())}}_addCheck(n){return new hc({...this._def,checks:[...this._def.checks,n]})}min(n,i){return this._addCheck({kind:"min",value:n.getTime(),message:me.toString(i)})}max(n,i){return this._addCheck({kind:"max",value:n.getTime(),message:me.toString(i)})}get minDate(){let n=null;for(const i of this._def.checks)i.kind==="min"&&(n===null||i.value>n)&&(n=i.value);return n!=null?new Date(n):null}get maxDate(){let n=null;for(const i of this._def.checks)i.kind==="max"&&(n===null||i.value<n)&&(n=i.value);return n!=null?new Date(n):null}}hc.create=t=>new hc({checks:[],coerce:(t==null?void 0:t.coerce)||!1,typeName:_e.ZodDate,...Ve(t)});class lx extends Ze{_parse(n){if(this._getType(n)!==de.symbol){const s=this._getOrReturnCtx(n);return le(s,{code:W.invalid_type,expected:de.symbol,received:s.parsedType}),Ae}return Xn(n.data)}}lx.create=t=>new lx({typeName:_e.ZodSymbol,...Ve(t)});class ox extends Ze{_parse(n){if(this._getType(n)!==de.undefined){const s=this._getOrReturnCtx(n);return le(s,{code:W.invalid_type,expected:de.undefined,received:s.parsedType}),Ae}return Xn(n.data)}}ox.create=t=>new ox({typeName:_e.ZodUndefined,...Ve(t)});class ux extends Ze{_parse(n){if(this._getType(n)!==de.null){const s=this._getOrReturnCtx(n);return le(s,{code:W.invalid_type,expected:de.null,received:s.parsedType}),Ae}return Xn(n.data)}}ux.create=t=>new ux({typeName:_e.ZodNull,...Ve(t)});class cx extends Ze{constructor(){super(...arguments),this._any=!0}_parse(n){return Xn(n.data)}}cx.create=t=>new cx({typeName:_e.ZodAny,...Ve(t)});class fx extends Ze{constructor(){super(...arguments),this._unknown=!0}_parse(n){return Xn(n.data)}}fx.create=t=>new fx({typeName:_e.ZodUnknown,...Ve(t)});class Xi extends Ze{_parse(n){const i=this._getOrReturnCtx(n);
vendor: 13,409 bytes, line 306
306return le(i,{code:W.invalid_type,expected:de.never,received:i.parsedType}),Ae}}Xi.create=t=>new Xi({typeName:_e.ZodNever,...Ve(t)});class dx extends Ze{_parse(n){if(this._getType(n)!==de.undefined){const s=this._getOrReturnCtx(n);return le(s,{code:W.invalid_type,expected:de.void,received:s.parsedType}),Ae}return Xn(n.data)}}dx.create=t=>new dx({typeName:_e.ZodVoid,...Ve(t)});class va extends Ze{_parse(n){const{ctx:i,status:s}=this._processInputParams(n),o=this._def;if(i.parsedType!==de.array)return le(i,{code:W.invalid_type,expected:de.array,received:i.parsedType}),Ae;if(o.exactLength!==null){const f=i.data.length>o.exactLength.value,h=i.data.length<o.exactLength.value;(f||h)&&(le(i,{code:f?W.too_big:W.too_small,minimum:h?o.exactLength.value:void 0,maximum:f?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),s.dirty())}if(o.minLength!==null&&i.data.length<o.minLength.value&&(le(i,{code:W.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),s.dirty()),o.maxLength!==null&&i.data.length>o.maxLength.value&&(le(i,{code:W.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),s.dirty()),i.common.async)return Promise.all([...i.data].map((f,h)=>o.type._parseAsync(new Fi(i,f,i.path,h)))).then(f=>Rn.mergeArray(s,f));const u=[...i.data].map((f,h)=>o.type._parseSync(new Fi(i,f,i.path,h)));return Rn.mergeArray(s,u)}get element(){return this._def.type}min(n,i){return new va({...this._def,minLength:{value:n,message:me.toString(i)}})}max(n,i){return new va({...this._def,maxLength:{value:n,message:me.toString(i)}})}length(n,i){return new va({...this._def,exactLength:{value:n,message:me.toString(i)}})}nonempty(n){return this.min(1,n)}}va.create=(t,n)=>new va({type:t,minLength:null,maxLength:null,exactLength:null,typeName:_e.ZodArray,...Ve(n)});function ps(t){if(t instanceof Dt){const n={};for(const i in t.shape){const s=t.shape[i];n[i]=Zi.create(ps(s))}return new Dt({...t._def,shape:()=>n})}else return t instanceof va?new va({...t._def,type:ps(t.element)}):t instanceof Zi?Zi.create(ps(t.unwrap())):t instanceof Ms?Ms.create(ps(t.unwrap())):t instanceof Cr?Cr.create(t.items.map(n=>ps(n))):t}class Dt extends Ze{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const n=this._def.shape(),i=Xe.objectKeys(n);return this._cached={shape:n,keys:i},this._cached}_parse(n){if(this._getType(n)!==de.object){const p=this._getOrReturnCtx(n);return le(p,{code:W.invalid_type,expected:de.object,received:p.parsedType}),Ae}const{status:s,ctx:o}=this._processInputParams(n),{shape:u,keys:f}=this._getCached(),h=[];if(!(this._def.catchall instanceof Xi&&this._def.unknownKeys==="strip"))for(const p in o.data)f.includes(p)||h.push(p);const m=[];for(const p of f){const y=u[p],v=o.data[p];m.push({key:{status:"valid",value:p},value:y._parse(new Fi(o,v,o.path,p)),alwaysSet:p in o.data})}if(this._def.catchall instanceof Xi){const p=this._def.unknownKeys;if(p==="passthrough")for(const y of h)m.push({key:{status:"valid",value:y},value:{status:"valid",value:o.data[y]}});else if(p==="strict")h.length>0&&(le(o,{code:W.unrecognized_keys,keys:h}),s.dirty());else if(p!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const p=this._def.catchall;for(const y of h){const v=o.data[y];m.push({key:{status:"valid",value:y},value:p._parse(new Fi(o,v,o.path,y)),alwaysSet:y in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const p=[];for(const y of m){const v=await y.key,x=await y.value;p.push({key:v,value:x,alwaysSet:y.alwaysSet})}return p}).then(p=>Rn.mergeObjectSync(s,p)):Rn.mergeObjectSync(s,m)}get shape(){return this._def.shape()}strict(n){return me.errToObj,new Dt({...this._def,unknownKeys:"strict",...n!==void 0?{errorMap:(i,s)=>{var u,f;const o=((f=(u=this._def).errorMap)==null?void 0:f.call(u,i,s).message)??s.defaultError;return i.code==="unrecognized_keys"?{message:me.errToObj(n).message??o}:{message:o}}}:{}})}strip(){return new Dt({...this._def,unknownKeys:"strip"})}passthrough(){return new Dt({...this._def,unknownKeys:"passthrough"})}extend(n){return new Dt({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){return new Dt({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:_e.ZodObject})}setKey(n,i){return this.augment({[n]:i})}catchall(n){return new Dt({...this._def,catchall:n})}pick(n){const i={};for(const s of Xe.objectKeys(n))n[s]&&this.shape[s]&&(i[s]=this.shape[s]);return new Dt({...this._def,shape:()=>i})}omit(n){const i={};for(const s of Xe.objectKeys(this.shape))n[s]||(i[s]=this.shape[s]);return new Dt({...this._def,shape:()=>i})}deepPartial(){return ps(this)}partial(n){const i={};for(const s of Xe.objectKeys(this.shape)){const o=this.shape[s];n&&!n[s]?i[s]=o:i[s]=o.optional()}return new Dt({...this._def,shape:()=>i})}required(n){const i={};for(const s of Xe.objectKeys(this.shape))if(n&&!n[s])i[s]=this.shape[s];else{let u=this.shape[s];for(;u instanceof Zi;)u=u._def.innerType;i[s]=u}return new Dt({...this._def,shape:()=>i})}keyof(){return bw(Xe.objectKeys(this.shape))}}Dt.create=(t,n)=>new Dt({shape:()=>t,unknownKeys:"strip",catchall:Xi.create(),typeName:_e.ZodObject,...Ve(n)});Dt.strictCreate=(t,n)=>new Dt({shape:()=>t,unknownKeys:"strict",catchall:Xi.create(),typeName:_e.ZodObject,...Ve(n)});Dt.lazycreate=(t,n)=>new Dt({shape:t,unknownKeys:"strip",catchall:Xi.create(),typeName:_e.ZodObject,...Ve(n)});class mc extends Ze{_parse(n){const{ctx:i}=this._processInputParams(n),s=this._def.options;function o(u){for(const h of u)if(h.result.status==="valid")return h.result;for(const h of u)if(h.result.status==="dirty")return i.common.issues.push(...h.ctx.common.issues),h.result;const f=u.map(h=>new ni(h.ctx.common.issues));return le(i,{code:W.invalid_union,unionErrors:f}),Ae}if(i.common.async)return Promise.all(s.map(async u=>{const f={...i,common:{...i.common,issues:[]},parent:null};return{result:await u._parseAsync({data:i.data,path:i.path,parent:f}),ctx:f}})).then(o);{let u;const f=[];for(const m of s){const p={...i,common:{...i.common,issues:[]},parent:null},y=m._parseSync({data:i.data,path:i.path,parent:p});if(y.status==="valid")return y;y.status==="dirty"&&!u&&(u={result:y,ctx:p}),p.common.issues.length&&f.push(p.common.issues)}if(u)return i.common.issues.push(...u.ctx.common.issues),u.result;const h=f.map(m=>new ni(m));return le(i,{code:W.invalid_union,unionErrors:h}),Ae}}get options(){return this._def.options}}mc.create=(t,n)=>new mc({options:t,typeName:_e.ZodUnion,...Ve(n)});function sm(t,n){const i=Bi(t),s=Bi(n);if(t===n)return{valid:!0,data:t};if(i===de.object&&s===de.object){const o=Xe.objectKeys(n),u=Xe.objectKeys(t).filter(h=>o.indexOf(h)!==-1),f={...t,...n};for(const h of u){const m=sm(t[h],n[h]);if(!m.valid)return{valid:!1};f[h]=m.data}return{valid:!0,data:f}}else if(i===de.array&&s===de.array){if(t.length!==n.length)return{valid:!1};const o=[];for(let u=0;u<t.length;u++){const f=t[u],h=n[u],m=sm(f,h);if(!m.valid)return{valid:!1};o.push(m.data)}return{valid:!0,data:o}}else return i===de.date&&s===de.date&&+t==+n?{valid:!0,data:t}:{valid:!1}}class pc extends Ze{_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=(u,f)=>{if(ix(u)||ix(f))return Ae;const h=sm(u.value,f.value);return h.valid?((rx(u)||rx(f))&&i.dirty(),{status:i.value,value:h.data}):(le(s,{code:W.invalid_intersection_types}),Ae)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([u,f])=>o(u,f)):o(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}pc.create=(t,n,i)=>new pc({left:t,right:n,typeName:_e.ZodIntersection,...Ve(i)});class Cr extends Ze{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.array)return le(s,{code:W.invalid_type,expected:de.array,received:s.parsedType}),Ae;if(s.data.length<this._def.items.length)return le(s,{code:W.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ae;!this._def.rest&&s.data.length>this._def.items.length&&(le(s,{code:W.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),i.dirty());const u=[...s.data].map((f,h)=>{const m=this._def.items[h]||this._def.rest;return m?m._parse(new Fi(s,f,s.path,h)):null}).filter(f=>!!f);return s.common.async?Promise.all(u).then(f=>Rn.mergeArray(i,f)):Rn.mergeArray(i,u)}get items(){return this._def.items}rest(n){return new Cr({...this._def,rest:n})}}Cr.create=(t,n)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Cr({items:t,typeName:_e.ZodTuple,rest:null,...Ve(n)})};class hx extends Ze{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.map)return le(s,{code:W.invalid_type,expected:de.map,received:s.parsedType}),Ae;const o=this._def.keyType,u=this._def.valueType,f=[...s.data.entries()].map(([h,m],p)=>({key:o._parse(new Fi(s,h,s.path,[p,"key"])),value:u._parse(new Fi(s,m,s.path,[p,"value"]))}));if(s.common.async){const h=new Map;return Promise.resolve().then(async()=>{for(const m of f){const p=await m.key,y=await m.value;if(p.status==="aborted"||y.status==="aborted")return Ae;(p.status==="dirty"||y.status==="dirty")&&i.dirty(),h.set(p.value,y.value)}return{status:i.value,value:h}})}else{const h=new Map;for(const m of f){const p=m.key,y=m.value;if(p.status==="aborted"||y.status==="aborted")return Ae;(p.status==="dirty"||y.status==="dirty")&&i.dirty(),h.set(p.value,y.value)}return{status:i.value,value:h}}}}hx.create=(t,n,i)=>new hx({valueType:n,keyType:t,typeName:_e.ZodMap,...Ve(i)});class so extends Ze{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.parsedType!==de.set)return le(s,{code:W.invalid_type,expected:de.set,received:s.parsedType}),Ae;const o=this._def;o.minSize!==null&&s.data.size<o.minSize.value&&(le(s,{code:W.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),i.dirty()),o.maxSize!==null&&s.data.size>o.maxSize.value&&(le(s,{code:W.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),i.dirty());const u=this._def.valueType;function f(m){const p=new Set;for(const y of m){if(y.status==="aborted")return Ae;y.status==="dirty"&&i.dirty(),p.add(y.value)}return{status:i.value,value:p}}const h=[...s.data.values()].map((m,p)=>u._parse(new Fi(s,m,s.path,p)));return s.common.async?Promise.all(h).then(m=>f(m)):f(h)}min(n,i){return new so({...this._def,minSize:{value:n,message:me.toString(i)}})}max(n,i){return new so({...this._def,maxSize:{value:n,message:me.toString(i)}})}size(n,i){return this.min(n,i).max(n,i)}nonempty(n){return this.min(1,n)}}so.create=(t,n)=>new so({valueType:t,minSize:null,maxSize:null,typeName:_e.ZodSet,...Ve(n)});class mx extends Ze{get schema(){return this._def.getter()}_parse(n){const{ctx:i}=this._processInputParams(n);return this._def.getter()._parse({data:i.data,path:i.path,parent:i})}}mx.create=(t,n)=>new mx({getter:t,typeName:_e.ZodLazy,...Ve(n)});class px extends Ze{_parse(n){if(n.data!==this._def.value){const i=this._getOrReturnCtx(n);return le(i,{received:i.data,code:W.invalid_literal,expected:this._def.value}),Ae}return{status:"valid",value:n.data}}get value(){return this._def.value}}px.create=(t,n)=>new px({value:t,typeName:_e.ZodLiteral,...Ve(n)});function bw(t,n){return new _s({values:t,typeName:_e.ZodEnum,...Ve(n)})}class _s extends Ze{_parse(n){if(typeof n.data!="string"){const i=this._getOrReturnCtx(n),s=this._def.values;return le(i,{expected:Xe.joinValues(s),received:i.parsedType,code:W.invalid_type}),Ae}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(n.data)){const i=this._getOrReturnCtx(n),s=this._def.values;return le(i,{received:i.data,code:W.invalid_enum_value,options:s}),Ae}return Xn(n.data)}get options(){return this._def.values}get enum(){const n={};for(const i of this._def.values)n[i]=i;return n}get Values(){const n={};for(const i of this._def.values)n[i]=i;return n}get Enum(){const n={};for(const i of this._def.values)n[i]=i;return n}extract(n,i=this._def){return _s.create(n,{...this._def,...i})}exclude(n,i=this._def){return _s.create(this.options.filter(s=>!n.includes(s)),{...this._def,...i})}}_s.create=bw;class yx extends Ze{_parse(n){const i=Xe.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(n);if(s.parsedType!==de.string&&s.parsedType!==de.number){const o=Xe.objectValues(i);return le(s,{expected:Xe.joinValues(o),received:s.parsedType,code:W.invalid_type}),Ae}if(this._cache||(this._cache=new Set(Xe.getValidEnumValues(this._def.values))),!this._cache.has(n.data)){const o=Xe.objectValues(i);return le(s,{received:s.data,code:W.invalid_enum_value,options:o}),Ae}return Xn(n.data)}get enum(){return this._def.values}}yx.create=(t,n)=>new yx({values:t,typeName:_e.ZodNativeEnum,...Ve(n)});class yc extends Ze{unwrap(){return this._def.type}_parse(n){const{ctx:i}=this._processInputParams(n);if(i.parsedType!==de.promise&&i.common.async===!1)return le(i,{code:W.invali
vendor: 4,075 bytes, line 306
306d_type,expected:de.promise,received:i.parsedType}),Ae;const s=i.parsedType===de.promise?i.data:Promise.resolve(i.data);return Xn(s.then(o=>this._def.type.parseAsync(o,{path:i.path,errorMap:i.common.contextualErrorMap})))}}yc.create=(t,n)=>new yc({type:t,typeName:_e.ZodPromise,...Ve(n)});class Rs extends Ze{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===_e.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){const{status:i,ctx:s}=this._processInputParams(n),o=this._def.effect||null,u={addIssue:f=>{le(s,f),f.fatal?i.abort():i.dirty()},get path(){return s.path}};if(u.addIssue=u.addIssue.bind(u),o.type==="preprocess"){const f=o.transform(s.data,u);if(s.common.async)return Promise.resolve(f).then(async h=>{if(i.value==="aborted")return Ae;const m=await this._def.schema._parseAsync({data:h,path:s.path,parent:s});return m.status==="aborted"?Ae:m.status==="dirty"||i.value==="dirty"?Hl(m.value):m});{if(i.value==="aborted")return Ae;const h=this._def.schema._parseSync({data:f,path:s.path,parent:s});return h.status==="aborted"?Ae:h.status==="dirty"||i.value==="dirty"?Hl(h.value):h}}if(o.type==="refinement"){const f=h=>{const m=o.refinement(h,u);if(s.common.async)return Promise.resolve(m);if(m instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return h};if(s.common.async===!1){const h=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return h.status==="aborted"?Ae:(h.status==="dirty"&&i.dirty(),f(h.value),{status:i.value,value:h.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(h=>h.status==="aborted"?Ae:(h.status==="dirty"&&i.dirty(),f(h.value).then(()=>({status:i.value,value:h.value}))))}if(o.type==="transform")if(s.common.async===!1){const f=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!As(f))return Ae;const h=o.transform(f.value,u);if(h instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:i.value,value:h}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(f=>As(f)?Promise.resolve(o.transform(f.value,u)).then(h=>({status:i.value,value:h})):Ae);Xe.assertNever(o)}}Rs.create=(t,n,i)=>new Rs({schema:t,typeName:_e.ZodEffects,effect:n,...Ve(i)});Rs.createWithPreprocess=(t,n,i)=>new Rs({schema:n,effect:{type:"preprocess",transform:t},typeName:_e.ZodEffects,...Ve(i)});class Zi extends Ze{_parse(n){return this._getType(n)===de.undefined?Xn(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Zi.create=(t,n)=>new Zi({innerType:t,typeName:_e.ZodOptional,...Ve(n)});class Ms extends Ze{_parse(n){return this._getType(n)===de.null?Xn(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}}Ms.create=(t,n)=>new Ms({innerType:t,typeName:_e.ZodNullable,...Ve(n)});class lm extends Ze{_parse(n){const{ctx:i}=this._processInputParams(n);let s=i.data;return i.parsedType===de.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:i.path,parent:i})}removeDefault(){return this._def.innerType}}lm.create=(t,n)=>new lm({innerType:t,typeName:_e.ZodDefault,defaultValue:typeof n.default=="function"?n.default:()=>n.default,...Ve(n)});class om extends Ze{_parse(n){const{ctx:i}=this._processInputParams(n),s={...i,common:{...i.common,issues:[]}},o=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return dc(o)?o.then(u=>({status:"valid",value:u.status==="valid"?u.value:this._def.catchValue({get error(){return new ni(s.common.issues)},input:s.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new ni(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}om.create=(t,n)=>new om({innerType:t,typeName:_e.ZodCatch,catchValue:typeof n.catch=="function"?n.catch:()=>n.catch,...Ve(n)});class gx extends Ze{_parse(n){if(this._getType(n)!==de.nan){const s=this._getOrReturnCtx(n);
306return le(s,{code:W.invalid_type,expected:de.nan,received:s.parsedType}),Ae}return{status:"valid",value:n.data}}}gx.create=t=>new gx({typeName:_e.ZodNaN,...Ve(t)});class B3 extends Ze{_parse(n){const{ctx:i}=this._processInputParams(n),s=i.data;return this._def.type._parse({data:s,path:i.path,parent:i})}unwrap(){return this._def.type}}class lp extends Ze{_parse(n){const{status:i,ctx:s}=this._processInputParams(n);if(s.common.async)return(async()=>{const u=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return u.status==="aborted"?Ae:u.status==="dirty"?(i.dirty(),Hl(u.value)):this._def.out._parseAsync({data:u.value,path:s.path,parent:s})})();{const o=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return o.status==="aborted"?Ae:o.status==="dirty"?(i.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:s.path,parent:s})}}static create(n,i){return new lp({in:n,out:i,typeName:_e.ZodPipeline})}}class um extends Ze{_parse(n){const i=this._def.innerType._parse(n),s=o=>(As(o)&&(o.value=Object.freeze(o.value)),o);return dc(i)?i.then(o=>s(o)):s(i)}unwrap(){return this._def.innerType}}um.create=(t,n)=>new um({innerType:t,typeName:_e.ZodReadonly,...Ve(n)});var _e;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(_e||(_e={}));const X=Ki.create,vx=rm.create;Xi.create;const Bt=va.create,qe=Dt.create;mc.create;pc.create;Cr.create;_s.create;yc.create;Zi.create;Ms.create;const ki={pages:{home:qe({hero:qe({headline:X(),subheadline:X(),cta_primary:X(),cta_secondary:X(),trust_stats:Bt(qe({id:X(),value:X(),label:X()}))}),products:qe({section_label:X(),section_title:X(),section_subtitle:X(),items:Bt(qe({id:X(),name:X(),category:X(),price:X(),badge:X(),size:X()}))}),services:qe({section_label:X(),section_title:X(),section_subtitle:X(),tiers:Bt(qe({id:X(),name:X(),price_range:X(),description:X(),features:Bt(X()),cta:X(),featured:vx()}))}),social_proof:qe({stats:Bt(qe({id:X(),value:X(),label:X()})),testimonial:qe({quote:X(),author:X(),title:X()})}),cta:qe({headline:X(),subheadline:X(),cta_primary:X(),cta_secondary:X()})}),services:qe({hero:qe({eyebrow:X(),title:X(),subtitle:X()}),packages:Bt(qe({id:X(),name:X(),price:X(),priceNote:X(),description:X(),features:Bt(X()),cta:X(),highlighted:vx()})),process:qe({title:X(),subtitle:X(),steps:Bt(qe({id:X(),number:X(),title:X(),description:X()}))}),form:qe({title:X(),subtitle:X(),successMessage:X(),serviceOptions:Bt(X()),facilitySizeOptions:Bt(X())})}),about:qe({hero:qe({eyebrow:X(),headline:X(),subheadline:X()}),stats:Bt(qe({id:X(),value:X(),label:X()})),story:qe({headline:X(),body:Bt(qe({id:X(),text:X()}))}),certifications:qe({headline:X(),subheadline:X(),items:Bt(qe({id:X(),name:X(),description:X(),badge:X()}))}),team:qe({headline:X(),subheadline:X(),members:Bt(qe({id:X(),name:X(),title:X(),bio:X()}))}),values:qe({headline:X(),items:Bt(qe({id:X(),icon:X(),title:X(),description:X()}))})}),contact:qe({hero:qe({eyebrow:X(),headline:X(),subheadline:X()}),office:qe({headline:X(),address:qe({street:X(),city:X(),state:X(),zip:X()}),phone:X(),email:X(),hours:Bt(qe({id:X(),days:X(),time:X()})),emergencyNote:X()}),form:qe({headline:X(),subheadline:X(),topicOptions:Bt(qe({id:X(),label:X()})),successHeadline:X(),successBody:X()}),channels:Bt(qe({id:X(),label:X(),value:X(),type:X()}))})}},Pu={parse:t=>t};var wx,Tx,Cx,Ex;const Rc={about:(((wx=ki.pages)==null?void 0:wx.about)??ki.about??Pu).parse({hero:{eyebrow:"Our story",headline:"Built on two decades of commercial & residential security expertise",subheadline:"CTVCam Electronics was founded by security engineers who believed businesses deserved enterprise-grade protection without enterprise-grade complexity. Today we design, supply, and install intelligent security systems for commercial & residential clients across Texas."},stats:[{id:"s1",value:"20+",label:"Years in business"},{id:"s2",value:"1,400+",label:"Installations completed"},{id:"s3",value:"98%",label:"Client retention rate"},{id:"s4",value:"24/7",label:"Monitoring & support"}],story:{headline:"From the field to the boardroom",body:[{id:"p1",text:"CTVCam was founded in 2004 by Danilo Burk, security engineer who spent years installing systems for Fortune 500 companies and noticed a gap: mid-market businesses were being sold consumer-grade hardware at commercial prices."},{id:"p2",text:"We set out to change that. Starting with a single warehouse client in Texas, we built a reputation for honest assessments, professional installations, and systems that actually work when it matters most."},{id:"p3",text:"Today CTVCam serves clients across retail, healthcare, logistics, and municipal sectors. Every product we carry has been tested in the field by our own technicians — if we wouldn't stake our reputation on it, we don't sell it."}]},certifications:{headline:"Certified and compliant",subheadline:"Our team holds the industry's most respected credentials, and every installation meets or exceeds current regulatory standards.",items:[{id:"c1",name:"PSA Security Network",description:"Member of the world's largest electronic security cooperative, giving clients access to vetted products and industry best practices.",badge:"PSA"},{id:"c2",name:"NICET Level III",description:"National Institute for Certification in Engineering Technologies — our lead technicians are certified at the highest field level.",badge:"NICET"},{id:"c3",name:"UL Listed Installer",description:"Underwriters Laboratories certification ensures our installations meet rigorous safety and performance standards.",badge:"UL"},{id:"c4",name:"NDAA Compliant",description:"All camera systems we supply comply with the National Defense Authorization Act, required for government and critical infrastru
306cture clients.",badge:"NDAA"},{id:"c5",name:"SOC 2 Type II",description:"Our cloud monitoring platform has completed SOC 2 Type II audit, confirming enterprise-grade data security practices.",badge:"SOC2"},{id:"c6",name:"OSHA 30-Hour",description:"Every field technician holds OSHA 30-hour construction certification, ensuring safe practices on every job site.",badge:"OSHA"}]},team:{headline:"The team behind the tech",subheadline:"Security is a people business. Our engineers, project managers, and support staff bring decades of combined field experience to every engagement.",members:[{id:"t1",name:"Danilo Burk",title:"Founder",bio:"20 years in commercial and residential security. Former systems architect, Building Technologies. Holds NICET Level IV and PSA Certified Security Project Manager credentials."},{id:"t2",name:"Diane Okafor",title:"Co-founder & CTO",bio:"Electrical engineer turned security specialist. Leads product evaluation and R&D. Holds UL and NDAA compliance certifications and sits on the PSA Technology Committee."},{id:"t3",name:"",title:"",bio:""},{id:"t4",name:"",title:"",bio:""}]},values:{headline:"What we stand for",items:[{id:"v1",icon:"shield",title:"Integrity first",description:"We recommend what you need, not what maximizes our margin. Every proposal starts with an honest site assessment."},{id:"v2",icon:"zap",title:"Performance under pressure",description:"Security systems must work when it matters most. We test every installation before handoff and back it with a 5-year service guarantee."}
306,{id:"v3",icon:"users",title:"Long-term partnership",description:"98% of our clients renew their service agreements. We build relationships, not transactions."},{id:"v4",icon:"award",title:"Continuous certification",description:"Technology evolves fast. Our team completes 40+ hours of continuing education annually to stay ahead of emerging threats and standards."}]}}),contact:(((Tx=ki.pages)==null?void 0:Tx.contact)??ki.contact??Pu).parse({hero:{eyebrow:"Get in touch",headline:"Let's talk about your security needs",subheadline:"Whether you're planning a new installation, expanding an existing system, or need technical support — our team is ready to help."},office:{headline:"Visit our office",address:{street:"Mobile Service",city:"Killeen",state:"TX",zip:""},phone:"(254) 220-6439",email:"[email protected]",hours:[{id:"h1",days:"Monday – Friday",time:"9:00 AM – 6:00 PM CT"},{id:"h2",days:"Saturday",time:"9:00 AM – 2:00 PM CT"},{id:"h3",days:"Sunday",time:"Closed"}],emergencyNote:"24/7 emergency support is available for active service contract clients."},form:{headline:"Send us a message",subheadline:"We respond to all inquiries within one business day.",topicOptions:[{id:"to1",label:"New installation quote"},{id:"to2",label:"Product inquiry"},{id:"to3",label:"Technical support"},{id:"to4",label:"Service contract"},{id:"to5",label:"Other"}],successHeadline:"Message received",successBody:"Thanks for reaching out. A member of our team will be in touch within one business day."},channels:[{id:"ch1",label:"Sales",value:"[email protected]",type:"email"},{id:"ch2",label:"Support",value:"[email protected]",type:"email"},{id:"ch3",label:"Main line",value:"(254) 220-6439",type:"phone"}]}),home:(((Cx=ki.pages)==null?void 0:Cx.home)??ki.home??Pu).parse({hero:{headline:"Power Your Business with Intelligent Security",subheadline:"Enterprise-grade smart home and security systems — designed, supplied, and installed by certified professionals. Protect your assets, automate your operations, and gain full visibility across your facility.",cta_primary:"Shop Products",cta_secondary:"Book an Install",trust_stats:[{id:"stat-1",value:"500+",label:"Commercial Installs"},{id:"stat-2",value:"24/7",label:"Support Available"},{id:"stat-3",value:"15+",label:"Years in Business"},{id:"stat-4",value:"98%",label:"Client Satisfaction"}]},products:{section_label:"Featured Products",section_title:"Commercial-Grade Systems, Ready to Deploy",section_subtitle:"Every product is vetted for enterprise reliability. Browse our most-deployed solutions.",items:[{id:"prod-1",name:"4-Ch DVR + 4 Turret Camera Kit",category:"Security Cameras",price:"$499",badge:"Best Seller",size:"large"},{id:"prod-4",name:"NetCore Infrastructure Kit",category:"Networking",price:"$1,099",badge:"",size:"small"},{id:"prod-6",name:"GateView Video Intercom",category:"Intercoms",price:"$649",badge:"",size:"small"}]},services:{section_label:"Installation Services",section_title:"From Single Sites to Enterprise Rollouts",section_subtitle:"Our certified technicians handle every install — on time, on spec, and backed by a service guarantee.",tiers:[{id:"tier-1",name:"Basic Setup",price_range:"From $499",description:"Ideal for small offices and single-location businesses needing a fast, reliable install.",features:["Up to 4 camera or device install","Basic network configuration","System walkthrough & training","30-day support included"],cta:"Get a Quote",featured:!1},{id:"tier-2",name:"Full Integration",price_range:"From $1,999",description:"Complete smart building integration for mid-size commercial facilities.",features:["Up to 20 devices across all systems","Unified control panel setup","Network & security hardening","Staff training & documentation","90-day priority support"],cta:"Get a Quote",featured:!0},{id:"tier-3",name:"Enterprise Package",price_range:"Custom Pricing",description:"Multi-site deployments and large-scale commercial builds with dedicated project management.",features:["Unlimited devices & locations","Dedicated project manager","Custom system architecture","24/7 monitoring & SLA","Annual maintenance contract"],cta:"Contact Us",featured:!1}]},social_proof:{stats:[{id:"sp-1",value:"500+",label:"Installs Completed"},{id:"sp-2",value:"15",label:"Years in Business"},{id:"sp-3",value:"98%",label:"Client Satisfaction"},{id:"sp-4",value:"50+",label:"Enterprise Clients"}],testimonial:{quote:"CTVCam transformed our 3-building campus with a unified security and automation system. The install was seamless and the support has been exceptional.",author:"Marcus T.",title:"Facilities Director, Meridian Group"}},cta:{headline:"Ready to upgrade your facility?",subheadline:"Get a free site assessment and custom quote from our commercial installation team.",cta_primary:"Get a Free Quote",cta_secondary:"Browse Products"}}),services:(((Ex=ki.pages)==null?void 0:Ex.services)??ki.services??Pu).parse({hero:{eyebrow:"All camera package's  Price include Labor/Installation",title:"Expert Installation, End to End",subtitle:"From site survey to final commissioning, our certified technicians handle every detail so your security systems perform from day one."},packages:[{id:"pkg-1",name:"Starter",price:"$499",priceNote:"starting price",description:"Ideal for small businesses and single-location deployments needing a reliable, professionally installed foundation.",features:["Up to 4 cameras or access points","Site assessment & system design","Full hardware installation","Network configuration & testing","1-hour staff walkthrough","30-day post-install support"],cta:"Request a Quote",highlighted:!1},{id:"pkg-2",name:"Professional",price:"$1,299",priceNote:"starting price",description:"Our most popular tier for mid-size commercial properties requiring multi-zone coverage and deeper system integration.",features:["Up to 16 cameras or access points","Detailed site survey & CAD layout","Full hardware installation","NVR/DVR & storage configuration","Access control integration","Remote monitoring setup","2-hour staff training session","90-day post-install support"],cta:"Request a Quote",highlighted:!0},{id:"pkg-4",name:"Cabling & Network",price:"Custom",priceNote:"contact for pricing",description:"Structured cabling and network infrastru
306cture services for commercial properties — from Cat6 runs to full rack builds and wireless access point deployment.",features:["Cat5e, Cat6, Cat6A & Cat7 ethernet cabling","Coaxial (RG6 / RG11) structured cabling","Conduit installation & cable management","Network rack & patch panel builds","Wireless access point deployment","PoE switch configuration","Cable testing & certification","Labeling & as-built documentation","Integration with existing security systems"],cta:"Request a Quote",highlighted:!1},{id:"pkg-5",name:"Video Intercom",price:"Custom",priceNote:"contact for pricing",description:"Professional video intercom installation for commercial buildings, multi-tenant properties, and gated facilities — wired and IP-based systems.",features:["Wired & IP video intercom systems","Door station & indoor monitor installation","Multi-tenant panel configuration","Access control integration","Mobile app & remote unlock setup","PoE & power supply wiring","Cable routing & conduit work","System testing & staff walkthrough"],cta:"Request a Quote",highlighted:!1},{id:"pkg-6",name:"Extended WiFi Systems",price:"Custom",priceNote:"contact for pricing",description:"Enterprise-grade wireless network design and installation — eliminating dead zones across warehouses, offices, campuses, and multi-floor facilities.",features:["Site survey & RF coverage mapping","Commercial access point installation","Mesh & controller-based WiFi systems","Ethernet backbone runs to each AP","PoE switch & VLAN configuration","Guest network & SSID segmentation","Throughput testing & optimization","Ongoing network monitoring available"],cta:"Request a Quote",highlighted:!1},{id:"pkg-3",name:"Enterprise",price:"Custom",priceNote:"contact for pricing",description:"Fully scoped engagements for large facilities, multi-site deployments, and mission-critical environments.",features:["Unlimited cameras & access points","Multi-site coordination","Custom system architecture","Integration with existing infrastructure","Dedicated project manager","Full commissioning & documentation","Ongoing maintenance contract available","Priority 24/7 support"],cta:"Contact Us",highlighted:!1}],process:{title:"How It Works",subtitle:"A straightforward four-step process from first contact to a fully operational system.",steps:[{id:"step-1",number:"01",title:"Site Assessment",description:"We visit your location, evaluate coverage needs, identify vulnerabilities, and document infrastru
306cture requirements."},{id:"step-2",number:"02",title:"System Design",description:"Our engineers produce a detailed layout with equipment specs, cable runs, and integration points tailored to your facility."},{id:"step-sale",number:"03",title:"Complete Sale & Purchase",description:"Upon acceptance, all sales and purchases are processed and finalised through Square's secure payment platform. An invoice is created and sent directly to the client's email address with a QR code for direct payment — no third-party intermediaries, no shopping cart."},{id:"step-3",number:"04",title:"Installation",description:"Certified technicians install, configure, and test every component to manufacturer and industry standards."},{id:"step-4",number:"05",title:"Handover & Support",description:"We train your team, hand over full documentation, and remain available for questions and ongoing maintenance."}]},form:{title:"Request an Installation Quote",subtitle:"Tell us about your project and we'll respond within one business day with a tailored proposal.",successMessage:"Quote request received. We'll be in touch within one business day.",serviceOptions:["Camera System Installation","Access Control Installation","Cabling & Network Services","Network Infrastructure","Video Intercom System","Extended WiFi System","Smart Lighting / Automation","Multi-Site Deployment","System Upgrade / Expansion","Other"],facilitySizeOptions:["Under 2,000 sq ft","2,000 – 10,000 sq ft","10,000 – 50,000 sq ft","50,000+ sq ft"]}})},xD=Rc.about,SD=Rc.contact,Tt=Rc.home,wD=Rc.services,H3="01a0fa71-d2fe-741e-8a67-36109ff14e7b",P3=["4× 4K Weatherproof Bullet Cameras","8-Channel DVR + 1TB Hard Drive","All Cables & Mounting Hardware","Mobile App Remote Viewing Setup","FREE Certified Professional Installation ($499 value)"];function q3(){return b.jsxs("section",{className:"py-16 relative overflow-hidden",children:[b.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(135deg, hsl(var(--primary)/0.12) 0%, hsl(var(--accent)/0.08) 100%)"}}),b.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:"linear-gradient(hsl(var(--primary)) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--primary)) 1px, transparent 1px)",backgroundSize:"40px 40px"}}),b.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:b.jsx(nt.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,ease:"easeOut"},className:"rounded-2xl border overflow-hidden",style:{borderColor:"hsl(var(--primary)/0.3)",background:"hsl(var(--card)/0.9)",backdropFilter:"blur(12px)"},children:b.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-0",children:[b.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",children:[b.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-5",children:[b.jsxs(fc,{className:"text-xs font-bold px-3 py-1",style:{background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))"},children:[b.jsx(y1,{size:11,className:"mr-1.5"}),"Limited Offer"]}),b.jsxs(fc,{variant:"outline",className:"text-xs font-semibold px-3 py-1",style:{borderColor:"hsl(var(--accent)/0.5)",color:"hsl(var(--accent))"},children:[b.jsx(VA,{size:11,className:"mr-1.5"}),"90 Days Only — Ends Dec 31, 2026"]})]}),b.jsxs("h2",{className:"text-2xl sm:text-3xl font-bold text-foreground leading-tight mb-3",children:["Complete Camera Package",b.jsx("span",{className:"block",style:{color:"hsl(var(--primary))"},children:"+ Free Installation"})]}),b.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-6",children:"For a limited 90 days, get a full commercial-grade 4K security camera system with certified professional installation included — no hidden fees."}),b.jsxs("div",{className:"flex items-baseline gap-3 mb-7",children:[b.jsx("span",{className:"text-4xl font-extrabold text-foreground",children:"$999"}),b.jsx("span",{className:"text-xl font-semibold line-through",style:{color:"hsl(var(--muted-foreground))"},children:"$1,499"}),b.jsx("span",{className:"text-sm font-bold px-2 py-0.5 rounded",style:{background:"hsl(var(--primary)/0.15)",color:"hsl(var(--primary))"},children:"Save $500"})]}),b.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[b.jsx(It,{asChild:!0,size:"lg",className:"font-semibold shadow-[0_0_24px_hsl(var(--primary)/0.35)] hover:shadow-[0_0_36px_hsl(var(--primary)/0.55)] transition-all duration-300",children:b.jsxs(vt,{to:`/products/${H3}`,children:["Claim This Deal",b.jsx(Ts,{size:16,className:"ml-2"})]})}),b.jsx(It,{asChild:!0,size:"lg",variant:"outline",className:"font-semibold border-border/60",children:b.jsx(vt,{to:"/contact",children:"Ask a Question"})})]})]}),b.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",style:{background:"hsl(var(--primary)/0.06)"},children:[b.jsx("p",{className:"text-xs font-bold uppercase tracking-widest mb-5",style:{color:"hsl(var(--primary))"},children:"Everything Included"}),b.jsx("ul",{className:"space-y-3",children:P3.map(t=>b.jsxs("li",{className:"flex items-start gap-3",children:[b.jsx(Rm,{size:18,className:"mt-0.5 shrink-0",style:{color:"hsl(var(--primary))"}}),b.jsx("span",{className:"text-sm text-foreground leading-snug",children:t})]},t))}),b.jsxs("div",{className:"mt-7 rounded-lg p-4 text-xs text-muted-foreground leading-relaxed border",style:{borderColor:"hsl(var(--border)/0.5)",background:"hsl(var(--card)/0.6)"},children:[b.jsx("strong",{className:"text-foreground",children:"Austin, TX area only."})," Valid for residential and commercial properties. Offer expires December 31, 2026. Cannot be combined with other promotions."]})]})]})})})]})}const En="https://ctvcam.com",Ht={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:"easeOut"}}},Li={hidden:{},visible:{transition:{staggerChildren:.1}}};function K3(){const t={"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":`${En}/#website`,name:"CTVCam",url:`${En}/`},{"@type":"LocalBusiness","@id":`${En}/#organization`,name:"CTVCam",url:`${En}/`,telephone:"+1-254-220-6439",email:"[email protected]",areaServed:"Texas",address:{"@type":"PostalAddress",addressLocality:"Killeen",addressRegion:"TX",addressCountry:"US"},openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Frid
306ay"],opens:"09:00",closes:"18:00"}],description:"Commercial security camera systems, DVR/NVR kits, access control, video intercom, and professional installation services.",logo:`${En}/og-image.png`,sameAs:[]},{"@type":"WebPage","@id":`${En}/#webpage`,url:`${En}/`,isPartOf:{"@id":`${En}/#website`},about:{"@id":`${En}/#organization`},datePublished:"2026-08-16",dateModified:"2026-08-25"}]};return b.jsxs(b.Fragment,{children:[b.jsxs(fm,{children:[b.jsx("title",{children:"CTVCam — Commercial Security Camera Systems & Installation"}),b.jsx("meta",{name:"description",content:"Enterprise-grade security camera systems, DVR/NVR kits, access control, and video intercom for commercial properties. Certified professional installation in Texas."}),b.jsx("link",{rel:"canonical",href:`${En}/`}),b.jsx("meta",{property:"og:title",content:"CTVCam — Commercial Security Camera Systems & Installation"}),b.jsx("meta",{property:"og:description",content:"Enterprise-grade security camera systems, DVR/NVR kits, access control, and video intercom for commercial properties. Certified professional installation in Texas."}),b.jsx("meta",{property:"og:type",content:"website"}),b.jsx("meta",{property:"og:url",content:`${En}/`}),b.jsx("meta",{property:"og:image",content:`${En}/og-image.png`}),b.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),b.jsx("meta",{name:"twitter:title",content:"CTVCam — Commercial Security Camera Systems"}),b.jsx("meta",{name:"twitter:description",content:"Commercial security camera systems, DVR/NVR kits, and professional installation in Texas."}),b.jsx("meta",{name:"twitter:image",content:`${En}/og-image.png`}),b.jsx("script",{type:"application/ld+json",children:JSON.stringify(t)})]}),b.jsxs("main",{children:[b.jsxs("section",{className:"relative min-h-screen flex items-center overflow-hidden pt-20",children:[b.jsxs("div",{className:"absolute inset-0",children:[b.jsx("img",{src:"/airo-assets/images/pages/home/hero",alt:"",className:"w-full h-full object-cover",loading:"eager",fetchPriority:"high",width:1920,height:1080}),b.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(135deg, hsl(var(--background)/0.95) 0%, hsl(var(--background)/0.80) 50%, hsl(var(--background)/0.60) 100%)"}}),b.jsx("div",{className:"absolute inset-0 opacity-5 pointer-events-none",style:{backgroundImage:`
307                  linear-gradient(hsl(var(--primary)/0.6) 1px, transparent 1px),
308                  linear-gradient(90deg, hsl(var(--primary)/0.6) 1px, transparent 1px)
309                `,backgroundSize:"60px 60px"}})]}),b.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24 md:py-32",children:b.jsxs(nt.div,{initial:"hidden",animate:"visible",variants:Li,className:"max-w-3xl",children:[b.jsx(nt.div,{variants:Ht,children:b.jsxs("span",{className:"inline-flex items-center gap-2 text-xs font-semibold tracking-wider uppercase px-3 py-1.5 rounded-full border mb-6",style:{color:"hsl(var(--primary))",borderColor:"hsl(var(--primary)/0.4)",background:"hsl(var(--primary)/0.1)"},children:[b.jsx("span",{className:"w-1.5 h-1.5 rounded-full animate-pulse",style:{background:"hsl(var(--primary))"}}),"Commercial & Residential Camera Systems"]})}),b.jsx(nt.h1,{variants:Ht,className:"text-4xl sm:text-5xl md:text-6xl font-bold text-foreground leading-tight mb-6",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"1ac913",guard:{file:"src/pages/index.tsx",tagName:"h1",sourceKind:"content-key",contentKey:"home.hero.headline",contentKeyTemplate:null,expressionHash:null},children:Tt.hero.headline})}),b.jsx(nt.p,{variants:Ht,className:"text-lg text-muted-foreground leading-relaxed mb-10 max-w-2xl",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"a3d8ca",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.hero.subheadline",contentKeyTemplate:null,expressionHash:null},children:Tt.hero.subheadline})}),b.jsxs(nt.div,{variants:Ht,className:"flex flex-col sm:flex-row gap-4",children:[b.jsx(It,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-semibold px-8 shadow-[0_0_30px_hsl(var(--primary)/0.4)] hover:shadow-[0_0_40px_hsl(var(--primary)/0.6)] transition-all duration-300",children:b.jsxs(vt,{to:"/products",children:[b.jsx("span",{style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"f28ecd",guard:{file:"src/pages/index.tsx",tagName:"span",sourceKind:"content-key",contentKey:"home.hero.cta_primary",contentKeyTemplate:null,expressionH
309ash:null},children:Tt.hero.cta_primary})}),b.jsx(Ts,{size:16,className:"ml-2"})]})}),b.jsx(It,{asChild:!0,size:"lg",variant:"outline",className:"border-foreground/30 text-foreground hover:bg-foreground/10 hover:border-foreground/50 font-semibold px-8",children:b.jsx(vt,{to:"/services",children:Tt.hero.cta_secondary})})]})]})}),b.jsx("div",{className:"absolute bottom-0 left-0 right-0 border-t border-border/40 bg-card/80 backdrop-blur-sm",children:b.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:b.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4",children:Tt.hero.trust_stats.map((n,i)=>b.jsxs("div",{className:`py-5 px-6 text-center ${i<Tt.hero.trust_stats.length-1?"border-r border-border/40":""}`,children:[b.jsx("div",{className:"text-2xl font-bold text-primary",children:n.value}),b.jsx("div",{className:"text-xs text-muted-foreground mt-0.5",children:n.label})]},n.id))})})})]}),b.jsx(q3,{}),b.jsx("section",{className:"py-24 bg-background",children:b.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[b.jsxs(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Li,className:"mb-12",children:[b.jsx(nt.p,{variants:Ht,className:"text-primary text-sm font-semibold tracking-wider uppercase mb-3",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"50558a",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.products.section_label",contentKeyTemplate:null,expressionHash:null},children:Tt.products.section_label})}),b.jsx(nt.h2,{variants:Ht,className:"text-3xl md:text-4xl font-bold text-foreground mb-4",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"56e214",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.products.section_title",contentKeyTemplate:null,expressionHash:null},children:Tt.products.section_title})}),b.jsx(nt.p,{variants:Ht,className:"text-muted-foreground text-lg max-w-2xl",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"50558b",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.products.section_subtitle",contentKeyTemplate:null,expressionHash:null},children:Tt.products.section_subtitle})})]}),b.jsx(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Li,className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Tt.products.items.map(n=>{const i=n.size==="large";return b.jsxs(nt.div,{variants:Ht,className:`group relative rounded-xl overflow-hidden border border-border/60 bg-card hover:border-primary/50 transition-all duration-300 hover:shadow-[0_0_30px_hsl(var(--primary)/0.15)] ${i?"md:row-span-2":""}`,children:[b.jsxs("div",{className:"relative overflow-hidden h-48",children:[(()=>{const o={"prod-1":"/airo-assets/images/products/bullet-camera-dvr","prod-2":"/airo-assets/images/products/access-control-system","prod-3":"/airo-assets/images/products/smart-lighting","prod-4":"/airo-assets/images/products/network-infrastructure","prod-5":"/airo-assets/images/products/smart-thermostat","prod-6":"/airo-assets/images/products/video-intercom"}[n.id];return o?b.jsx("img",{src:o,alt:n.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}):null})(),b.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to top, hsl(var(--card)/0.9) 0%, transparent 60%)"}}),n.badge&&b.jsx("div",{className:"absolute top-3 left-3 pointer-events-none",children:b.jsx(fc,{className:"bg-primary text-primary-foreground text-xs font-semibold",children:n.badge})})]}),b.jsxs("div",{className:"p-5",children:[b.jsx("p",{className:"text-primary text-xs font-medium uppercase tracking-wider mb-1",style:{whiteSpace:"pre-line"},children:n.category}),b.jsx("h3",{className:"text-foreground font-semibold text-base mb-3",style:{whiteSpace:"pre-line"},children:n.name}),b.jsxs("div",{className:"flex items-center justify-between",children:[b.jsx("span",{className:"text-foreground font-bold text-lg",style:{whiteSpace:"pre-line"},children:n.price}),b.jsxs(It,{size:"sm",className:"bg-primary/10 hover:bg-primary text-primary hover:text-primary-foreground border border-primary/30 hover:border-primary transition-all duration-200 text-xs",children:[b.jsx(Wl,{size:13,className:"mr-1.5"}),"Add to Cart"]})]})]})]},n.id)})}),b.jsx("div",{className:"mt-10 text-center",children:b.jsx(It,{asChild:!0,variant:"outline",size:"lg",className:"border-border text-foreground hover:border-primary hover:text-primary",children:b.jsxs("a",{className:"inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border bg-transparent hover:bg-accent h-11 rounded-[var(--radius-button)] px-8 border-border text-foreground hover:border-primary hover:text-primary",href:"/products","data-discover":"true",children:["View All Products",b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"lucide lucide-chevron-right ml-1",children:b.jsx("path",{d:"m9 18 6-6-6-6"})})]})})})]})}),b.jsxs("section",{className:"py-24 relative overflow-hidden",style:{background:"hsl(var(--muted)/0.4)"},children:[b.jsx("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:`
310                linear-gradient(hsl(var(--primary)) 1px, transparent 1px),
311                linear-gradient(90deg, hsl(var(--primary)) 1px, transparent 1px)
312              `,backgroundSize:"40px 40px"}}),b.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[b.jsxs(nt.div,{initial:"hidden",
312whileInView:"visible",viewport:{once:!0},variants:Li,className:"mb-12 text-center",children:[b.jsx(nt.p,{variants:Ht,className:"text-primary text-sm font-semibold tracking-wider uppercase mb-3",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"2d784c",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.services.section_label",contentKeyTemplate:null,expressionHash:null},children:Tt.services.section_label})}),b.jsx(nt.h2,{variants:Ht,className:"text-3xl md:text-4xl font-bold text-foreground mb-4",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"d85d16",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.services.section_title",contentKeyTemplate:null,expressionHash:null},children:Tt.services.section_title})}),b.jsx(nt.p,{variants:Ht,className:"text-muted-foreground text-lg max-w-2xl mx-auto",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"2d784d",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.services.section_subtitle",contentKeyTemplate:null,expressionHash:null},children:Tt.services.section_subtitle})})]}),b.jsx(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Li,className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:Tt.services.tiers.map(n=>b.jsxs(nt.div,{variants:Ht,className:`relative rounded-xl p-7 border bg-card flex flex-col transition-all duration-300 ${n.featured?"border-primary shadow-[0_0_40px_hsl(var(--primary)/0.2)]":"border-border/60 hover:border-border"}`,children:[n.featured&&b.jsx("div",{className:"absolute top-0 left-0 right-0 h-px rounded-t-xl",style:{background:"hsl(var(--primary))"}}),n.featured&&b.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:b.jsx(fc,{className:"bg-primary text-primary-foreground text-xs font-semibold px-3",children:"Most Popular"})}),b.jsxs("div",{className:"mb-6",children:[b.jsx("h3",{className:"text-foreground font-bold text-xl mb-2",style:{whiteSpace:"pre-line"},children:n.name}),b.jsx("p",{className:"text-primary font-bold text-2xl mb-3",style:{whiteSpace:"pre-line"},children:n.price_range}),b.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",style:{whiteSpace:"pre-line"},children:n.description})]}),b.jsx("ul",{className:"flex flex-col gap-3 mb-8 flex-1",children:n.features.map(i=>b.jsxs("li",{className:"flex items-start gap-2.5",children:[b.jsx(Rm,{size:15,className:"text-primary shrink-0 mt-0.5"}),b.jsx("span",{className:"text-muted-foreground text-sm",style:{whiteSpace:"pre-line"},children:i})]},i))}),b.jsx(It,{asChild:!0,className:n.featured?"bg-primary hover:bg-primary/90 text-primary-foreground shadow-[0_0_20px_hsl(var(--primary)/0.3)] hover:shadow-[0_0_30px_hsl(var(--primary)/0.5)] transition-all duration-300":"bg-transparent border border-border hover:border-primary hover:text-primary text-foreground",variant:n.featured?"default":"outline",children:b.jsx(vt,{to:"/services",children:n.cta})})]},n.id))})]})]}),b.jsx("section",{className:"py-20 bg-background border-y border-border/40",children:b.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[b.jsx(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Li,className:"grid grid-cols-2 md:grid-cols-4 gap-8 mb-16",children:Tt.social_proof.stats.map(n=>b.jsxs(nt.div,{variants:Ht,className:"text-center",children:[b.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:n.value}),b.jsx("div",{className:"text-muted-foreground text-sm",children:n.label})]},n.id))}),b.jsxs(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ht,className:"max-w-3xl mx-auto text-center",children:[b.jsx("div",{className:"flex justify-center gap-1 mb-6",children:[...Array(5)].map((n,i)=>b.jsx(YA,{size:18,className:"text-primary fill-primary"},i))}),b.jsxs("blockquote",{className:"text-foreground text-xl font-medium leading-relaxed mb-6",children:['"',Tt.social_proof.testimonial.quote,'"']}),b.jsxs("div",{children:[b.jsx("p",{className:"text-foreground font-semibold",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"62b33e",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.social_proof.testimonial.author",contentKeyTemplate:null,expressionH
312ash:null},children:Tt.social_proof.testimonial.author})}),b.jsx("p",{className:"text-muted-foreground text-sm",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"62b33f",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.social_proof.testimonial.title",contentKeyTemplate:null,expressionHash:null},children:Tt.social_proof.testimonial.title})})]})]})]})}),b.jsxs("section",{className:"py-24 bg-background relative overflow-hidden",children:[b.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-1/2 opacity-5 pointer-events-none",style:{background:"radial-gradient(ellipse at right center, hsl(var(--primary)) 0%, transparent 70%)"}}),b.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-px",style:{background:"linear-gradient(to bottom, transparent, hsl(var(--primary)/0.6), transparent)"}}),b.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:b.jsxs("div",{className:"flex flex-col lg:flex-row items-center justify-between gap-10",children:[b.jsxs(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Li,className:"max-w-xl",children:[b.jsx(nt.h2,{variants:Ht,className:"text-3xl md:text-4xl font-bold text-foreground mb-4",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"5d33cd",guard:{file:"src/pages/index.tsx",tagName:"h2",sourceKind:"content-key",contentKey:"home.cta.headline",contentKeyTemplate:null,expressionHash:null},children:Tt.cta.headline})}),b.jsx(nt.p,{variants:Ht,className:"text-muted-foreground text-lg",style:{whiteSpace:"pre-line"},children:b.jsx(pt,{devId:"86d423",guard:{file:"src/pages/index.tsx",tagName:"p",sourceKind:"content-key",contentKey:"home.cta.subheadline",contentKeyTemplate:null,expressionHash:null},children:Tt.cta.subheadline})})]}),b.jsxs(nt.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Li,className:"flex flex-col sm:flex-row gap-4 shrink-0",children:[b.jsx(nt.div,{variants:Ht,children:b.jsx(It,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground font-semibold px-8 shadow-[0_0_30px_hsl(var(--primary)/0.4)] hover:shadow-[0_0_40px_hsl(var(--primary)/0.6)] transition-all duration-300",children:b.jsxs(vt,{to:"/services",children:[Tt.cta.cta_primary,b.jsx(Ts,{size:16,className:"ml-2"})]})})}),b.jsx(nt.div,{variants:Ht,children:b.jsx(It,{asChild:!0,size:"lg",variant:"outline",className:"border-border text-foreground hover:border-primary hover:text-primary font-semibold px-8",children:b.jsx(vt,{to:"/products",children:Tt.cta.cta_secondary})})})]})]})})]})]})]})}const Z3=vt;function Y3(){return b.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:b.jsx("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:b.jsxs("div",{className:"space-y-8",children:[b.jsxs("div",{className:"space-y-4",children:[b.jsx("h1",{className:"text-6xl font-bold text-white/90",children:"404"}),b.jsx("h2",{className:"text-2xl font-semibold text-white/90",children:"Page Not Found"}),b.jsx("p",{className:"text-white/90",children:"Sorry, the page you're looking for doesn't exist or has been moved."})]}),b.jsxs("div",{className:"flex justify-center gap-4",children:[b.jsx(Z3,{to:"/",children:b.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"})}),b.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 G3=Y3,F3=T.lazy(()=>Fn(()=>import("./index-D7UK51Te.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),X3=T.lazy(()=>Fn(()=>import("./_id_-tutonqTr.js"),__vite__mapDeps([7,1,3,8,9,6]))),Q3=T.lazy(()=>Fn(()=>import("./services-DkpyIjin.js"),__vite__mapDeps([10,1,11,9,5,6]))),$3=T.lazy(()=>Fn(()=>import("./about-SL8vqi5h.js"),__vite__mapDeps([12,1,11,13,5,14,6]))),I3=T.lazy(()=>Fn(()=>import("./contact-CaaDveGD.js"),__vite__mapDeps([15,1,2,6,16,13,8]))),J3=T.lazy(()=>Fn(()=>import("./success-CzwgGyNP.js"),__vite__mapDeps([17,1,13,6]))),W3=T.lazy(()=>Fn(()=>import("./index-BSTlZm_4.js"),__vite__mapDeps([18,1,19,14,5,6]))),eD=T.lazy(()=>Fn(()=>import("./leads-D4bOdEfF.js"),__vite__mapDeps([20,1,19,14,5,2,21,6,9,4,16]))),tD=T.lazy(()=>Fn(()=>import("./quotes-DdM_ujJU.js"),__vite__mapDeps([22,1,19,14,5,2,21,6,9,4]))),nD=T.lazy(()=>Fn(()=>import("./orders-CLFO3Xtk.js"),__vite__mapDeps([23,1,19,14,5,2,21,6,9,4,24]))),aD=T.lazy(()=>Fn(()=>import("./reviews-Dom-rh9g.js"),__vite__mapDeps([25,1,24,6]))),iD=[{path:"/",element:b.jsx(K3,{})},{path:"/products",element:b.jsx(F3,{})},{path:"/products/:id",element:b.jsx(X3,{})},{path:"/services",element:b.jsx(Q3,{})},{path:"/about",element:b.jsx($3,{})},{path:"/contact",element:b.jsx(I3,{})},{path:"/reviews",element:b.jsx(aD,{})},{path:"/checkout/success",element:b.jsx(J3,{})},{path:"/admin",element:b.jsx(W3,{})},{path:"/admin/leads",element:b.jsx(eD,{})},{path:"/admin/quotes",element:b.jsx(tD,{})},{path:"/admin/orders",element:b.jsx(nD,{})},{path:"*",element:b.jsx(G3,{})}],rD=T.lazy(()=>Fn(()=>import("./CookieBanner-BnEarMRp.js"),__vite__mapDeps([26,1,6])).catch(t=>(console.warn("Failed to load CookieBanner:",t),{default:()=>null}))),sD=()=>b.jsx("div",{className:"flex justify-center py-8 h-screen items-center",children:b.jsx(d3,{})}),lD=b.jsx(T.Suspense,{fallback:b.jsx(sD,{}),children:b.jsx(f3,{children:b.jsx(qE,{})})}),oD=[{element:lD,children:iD}],uD=gA(oD);function cD(){return b.jsxs(G4,{children:[b.jsx(NA,{router:uD}),b.jsx(DA,{children:b.jsx(T.Suspense,{fallback:null,children:b.jsx(rD,{})})})]})}const fD=new R2({defaultOptions:{queries:{staleTime:1e3*60*5,gcTime:1e3*60*10,retry:1,refetchOnWindowFocus:!1},mutations:{retry:0}}}),Wu=document.getElementById("app");if(!Wu)throw new Error("Root element not found");const dD=b.jsx(tC,{children:b.jsx(M2,{client:fD,children:b.jsx(cD,{})})}),bx=b.jsx(T.StrictMode,{children:dD});Wu.firstElementChild?Iv.hydrateRoot(Wu,bx):Iv.createRoot(Wu).render(bx);export{Ts as A,It as B,VA as C,pt as F,fm as H,vt as L,PA as M,qA as P,Wl as S,wc as X,fc as a,gD as b,Jt as c,dw as d,KA as e,ai as f,q3 as g,YA as h,UA as i,xD as j,ZA as k,am as l,nt as m,LA as n,jm as o,SD as p,BA as q,yn as r,wD as s,HA as t,vD 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.