PageSourceSearch

https://emerald-gold-renaissance.lovable.app/assets/index-CY1YmlwG.js

js emerald-gold-renaissance.lovable.app collected 2026-10-03 03:30:09 UTC 388,978 bytes, 169 lines download raw bytes

vendor: 6,288 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Formacion--NsEU1k0.js","assets/players-Cf7kbwOn.js","assets/player-placeholder-Cabg8M6Z.js","assets/dialog-DAHzMr-u.js","assets/Historia-BUbw1bJA.js","assets/history-B01nyZHV.js","assets/CuerpoTecnico-CSQ-RlHE.js","assets/Equipo-D6o0ADgN.js","assets/Academia-CBKcb0SG.js","assets/academy-ChiPhWnt.js","assets/Noticias-quin8_iC.js","assets/stadium-BnTd64zN.js","assets/PartnersPage-CsE23p-e.js"])))=>i.map(i=>d[i]);
2var $c=e=>{throw TypeError(e)};var Ra=(e,t,n)=>t.has(e)||$c("Cannot "+n);var L=(e,t,n)=>(Ra(e,t,"read from private field"),n?n.call(e):t.get(e)),le=(e,t,n)=>t.has(e)?$c("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ee=(e,t,n,r)=>(Ra(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Be=(e,t,n)=>(Ra(e,t,"access private method"),n);var Is=(e,t,n,r)=>({set _(o){ee(e,t,o,n)},get _(){return L(e,t,r)}});function n0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var r0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Su(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ep={exports:{}},ra={},tp={exports:{}},oe={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its 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 js=Symbol.for("react.element"),o0=Symbol.for("react.portal"),s0=Symbol.for("react.fragment"),i0=Symbol.for("react.strict_mode"),a0=Symbol.for("react.profiler"),l0=Symbol.for("react.provider"),u0=Symbol.for("react.context"),c0=Symbol.for("react.forward_ref"),d0=Symbol.for("react.suspense"),f0=Symbol.for("react.memo"),p0=Symbol.for("react.lazy"),Bc=Symbol.iterator;function h0(e){return e===null||typeof e!="object"?null:(e=Bc&&e[Bc]||e["@@iterator"],typeof e=="function"?e:null)}var np={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},rp=Object.assign,op={};function ko(e,t,n){this.props=e,this.context=t,this.refs=op,this.updater=n||np}ko.prototype.isReactComponent={};ko.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ko.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sp(){}sp.prototype=ko.prototype;function Eu(e,t,n){this.props=e,this.context=t,this.refs=op,this.updater=n||np}var Cu=Eu.prototype=new sp;Cu.constructor=Eu;rp(Cu,ko.prototype);Cu.isPureReactComponent=!0;var Uc=Array.isArray,ip=Object.prototype.hasOwnProperty,ku={current:null},ap={key:!0,ref:!0,__self:!0,__source:!0};function lp(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)ip.call(t,r)&&!ap.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:js,type:e,key:s,ref:i,props:o,_owner:ku.current}}function m0(e,t){return{$$typeof:js,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Nu(e){return typeof e=="object"&&e!==null&&e.$$typeof===js}function g0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Wc=/\/+/g;function Oa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?g0(""+e.key):t.toString(36)}function ui(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case js:case o0:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Oa(i,0):r,Uc(o)?(n="",e!=null&&(n=e.replace(Wc,"$&/")+"/"),ui(o,t,n,"",function(u){return u})):o!=null&&(Nu(o)&&(o=m0(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Wc,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Uc(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+Oa(s,a);i+=ui(s,t,n,l,o)}else if(l=h0(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+Oa(s,a++),i+=ui(s,t,n,l,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function zs(e,t,n){if(e==null)return e;var r=[],o=0;return ui(e,r,"","",function(s){return t.call(n,s,o++)}),r}function v0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ze={current:null},ci={transition:null},y0={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:ci,ReactCurrentOwner:ku};function up(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 7,647 bytes, lines 10-26
10oe.Children={map:zs,forEach:function(e,t,n){zs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return zs(e,function(){t++}),t},toArray:function(e){return zs(e,function(t){return t})||[]},only:function(e){if(!Nu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};oe.Component=ko;oe.Fragment=s0;oe.Profiler=a0;oe.PureComponent=Eu;oe.StrictMode=i0;oe.Suspense=d0;oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=y0;oe.act=up;oe.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=rp({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=ku.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ip.call(t,l)&&!ap.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:js,type:e.type,key:o,ref:s,props:r,_owner:i}};oe.createContext=function(e){return e={$$typeof:u0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:l0,_context:e},e.Consumer=e};oe.createElement=lp;oe.createFactory=function(e){var t=lp.bind(null,e);return t.type=e,t};oe.createRef=function(){return{current:null}};oe.forwardRef=function(e){return{$$typeof:c0,render:e}};oe.isValidElement=Nu;oe.lazy=function(e){return{$$typeof:p0,_payload:{_status:-1,_result:e},_init:v0}};oe.memo=function(e,t){return{$$typeof:f0,type:e,compare:t===void 0?null:t}};oe.startTransition=function(e){var t=ci.transition;ci.transition={};try{e()}finally{ci.transition=t}};oe.unstable_act=up;oe.useCallback=function(e,t){return Ze.current.useCallback(e,t)};oe.useContext=function(e){return Ze.current.useContext(e)};oe.useDebugValue=function(){};oe.useDeferredValue=function(e){return Ze.current.useDeferredValue(e)};oe.useEffect=function(e,t){return Ze.current.useEffect(e,t)};oe.useId=function(){return Ze.current.useId()};oe.useImperativeHandle=function(e,t,n){return Ze.current.useImperativeHandle(e,t,n)};oe.useInsertionEffect=function(e,t){return Ze.current.useInsertionEffect(e,t)};oe.useLayoutEffect=function(e,t){return Ze.current.useLayoutEffect(e,t)};oe.useMemo=function(e,t){return Ze.current.useMemo(e,t)};oe.useReducer=function(e,t,n){return Ze.current.useReducer(e,t,n)};oe.useRef=function(e){return Ze.current.useRef(e)};oe.useState=function(e){return Ze.current.useState(e)};oe.useSyncExternalStore=function(e,t,n){return Ze.current.useSyncExternalStore(e,t,n)};oe.useTransition=function(){return Ze.current.useTransition()};oe.version="18.3.1";tp.exports=oe;var x=tp.exports;const B=Su(x),cp=n0({__proto__:null,default:B},[x]);/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its 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 x0=x,w0=Symbol.for("react.element"),b0=Symbol.for("react.fragment"),S0=Object.prototype.hasOwnProperty,E0=x0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C0={key:!0,ref:!0,__self:!0,__source:!0};function dp(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)S0.call(t,r)&&!C0.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:w0,type:e,key:s,ref:i,props:o,_owner:E0.current}}ra.Fragment=b0;ra.jsx=dp;ra.jsxs=dp;ep.exports=ra;var c=ep.exports,fp={exports:{}},vt={},pp={exports:{}},hp={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */(function(e){function t(T,k){var D=T.length;T.push(k);e:for(;0<D;){var $=D-1>>>1,I=T[$];if(0<o(I,k))T[$]=k,T[D]=I,D=$;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var k=T[0],D=T.pop();if(D!==k){T[0]=D;e:for(var $=0,I=T.length,M=I>>>1;$<M;){var V=2*($+1)-1,Z=T[V],re=V+1,q=T[re];if(0>o(Z,D))re<I&&0>o(q,Z)?(T[$]=q,T[re]=D,$=re):(T[$]=Z,T[V]=D,$=V);else if(re<I&&0>o(q,D))T[$]=q,T[re]=D,$=re;else break e}}return k}function o(T,k){var D=T.sortIndex-k.sortIndex;return D!==0?D:T.id-k.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],u=[],d=1,f=null,h=3,p=!1,S=!1,y=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(T){for(var k=n(u);k!==null;){if(k.callback===null)r(u);else if(k.startTime<=T)r(u),k.sortIndex=k.expirationTime,t(l,k);else break;k=n(u)}}function C(T){if(y=!1,v(T),!S)if(n(l)!==null)S=!0,H(j);else{var k=n(u);k!==null&&_(C,k.startTime-T)}}function j(T,k){S=!1,y&&(y=!1,g(w),w=-1),p=!0;var D=h;try{for(v(k),f=n(l);f!==null&&(!(f.expirationTime>k)||T&&!A());){var $=f.callback;if(typeof $=="function"){f.callback=null,h=f.priorityLevel;var I=$(f.expirationTime<=k);k=e.unstable_now(),typeof I=="function"?f.callback=I:f===n(l)&&r(l),v(k)}else r(l);f=n(l)}if(f!==null)var M=!0;else{var V=n(u);V!==null&&_(C,V.startTime-k),M=!1}return M}finally{f=null,h=D,p=!1}}var R=!1,P=null,w=-1,E=5,N=-1;function A(){return!(e.unstable_now()-N<E)}function O(){if(P!==null){var T=e.unstable_now();N=T;var k=!0;try{k=P(!0,T)}finally{k?U():(R=!1,P=null)}}else R=!1}var U;if(typeof m=="function")U=function(){m(O)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,K=F.port2;F.port1.onmessage=O,U=function(){K.postMessage(null)}}else U=function(){b(O,0)};function H(T){P=T,R||(R=!0,U())}function _(T,k){w=b(function(){T(e.unstable_now())},k)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){S||p||(S=!0,H(j))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(h){case 1:case 2:case 3:var k=3;break;default:k=h}var D=h;h=k;try{return T()}finally{h=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,k){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var D=h;h=T;try{return k()}finally{h=D}},e.unstable_scheduleCallback=function(T,k,D){var $=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?$+D:$):D=$,T){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=D+I,T={id:d++,callback:k,priorityLevel:T,startTime:D,expirationTime:I,sortIndex:-1},D>$?(T.sortIndex=D,t(u,T),n(l)===null&&T===n(u)&&(y?(g(w),w=-1):y=!0,_(C,D-$))):(T.sortIndex=I,t(l,T),S||p||(S=!0,H(j))
vendor: 4,402 bytes, lines 26-34
26),T},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(T){var k=h;return function(){var D=h;h=k;try{return T.apply(this,arguments)}finally{h=D}}}})(hp);pp.exports=hp;var k0=pp.exports;/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var N0=x,gt=k0;function z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var mp=new Set,rs={};function Ar(e,t){go(e,t),go(e+"Capture",t)}function go(e,t){for(rs[e]=t,e=0;e<t.length;e++)mp.add(t[e])}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hl=Object.prototype.hasOwnProperty,T0=/^[: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]*$/,Vc={},Hc={};function j0(e){return hl.call(Hc,e)?!0:hl.call(Vc,e)?!1:T0.test(e)?Hc[e]=!0:(Vc[e]=!0,!1)}function _0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P0(e,t,n,r){if(t===null||typeof t>"u"||_0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Je(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$e[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new Je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$e[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Tu=/[\-:]([a-z])/g;function ju(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
34-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Tu,ju);$e[t]=new Je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Tu,ju);$e[t]=new Je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Tu,ju);$e[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function _u(e,t,n,r){var o=$e.hasOwnProperty(t)?$e[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(P0(t,n,o,r)&&(n=null),r||o===null?j0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var kn=N0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$s=Symbol.for("react.element"),Br=Symbol.for("react.portal"),Ur=Symbol.for("react.fragment"),Pu=Symbol.for("react.strict_mode"),ml=Symbol.for("react.profiler"),gp=Symbol.for("react.provider"),vp=Symbol.for("react.context"),Ru=Symbol.for("react.forward_ref"),gl=Symbol.for("react.suspense"),vl=Symbol.for("react.suspense_list"),Ou=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),yp=Symbol.for("react.offscreen"),Qc=Symbol.iterator;function Lo(e){return e===null||typeof e!="object"?null:(e=Qc&&e[Qc]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,La;function Wo(e){if(La===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);La=t&&t[1]||""}return`
35`+La+e}var Aa=!1;function Da(e,t){if(!e||Aa)return"";Aa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
36`),s=r.stack.split(`
37`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var l=`
38`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Aa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wo(e):""}function R0(e){switch(e.tag){case 5:return Wo(e.type);case 16:return Wo("Lazy");case 13:return Wo("Suspense");case 19:return Wo("SuspenseList");case 0:case 2:case 15:return e=Da(e.type,!1),e;case 11:return e=Da(e.type.render,!1),e;case 1:return e=Da(e.type,!0),e;default:return""}}function yl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ur:return"Fragment";case Br:return"Portal";case ml:return"Profiler";case Pu:return"StrictMode";case gl:return"Suspense";case vl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vp:return(e.displayName||"Context")+".Consumer";case gp:return(e._context.displayName||"Context")+".Provider";case Ru:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ou:return t=e.displayName||null,t!==null?t:yl(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return yl(e(t))}catch{}}return null}function O0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yl(t);case 8:return t===Pu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L0(e){var t=xp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bs(e){e._valueTracker||(e._valueTracker=L0(e))}function wp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ci(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}}function xl(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Kc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;
vendor: 4,810 bytes, line 38
38n=nr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function bp(e,t){t=t.checked,t!=null&&_u(e,"checked",t,!1)}function wl(e,t){bp(e,t);var n=nr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bl(e,t.type,n):t.hasOwnProperty("defaultValue")&&bl(e,t.type,nr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function qc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bl(e,t,n){(t!=="number"||Ci(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vo=Array.isArray;function Jr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nr(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Sl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(z(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Gc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(z(92));if(Vo(n)){if(1<n.length)throw Error(z(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nr(n)}}function Sp(e,t){var n=nr(t.value),r=nr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Yc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ep(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function El(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ep(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Us,Cp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Us=Us||document.createElement("div"),Us.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Us.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function os(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ko={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},A0=["Webkit","ms","Moz","O"];Object.keys(Ko).forEach(function(e){A0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ko[t]=Ko[e]})});function kp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ko.hasOwnProperty(e)&&Ko[e]?(""+t).trim():t+"px"}function Np(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=kp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var D0=Ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Cl(e,t){if(t){if(D0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function kl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
38ing";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 Nl=null;function Lu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Tl=null,eo=null,to=null;function Xc(e){if(e=Rs(e)){if(typeof Tl!="function")throw Error(z(280));var t=e.stateNode;t&&(t=la(t),Tl(e.stateNode,e.type,t))}}function Tp(e){eo?to?to.push(e):to=[e]:eo=e}function jp(){if(eo){var e=eo,t=to;if(to=eo=null,Xc(e),t)for(e=0;e<t.length;e++)Xc(t[e])}}function _p(e,t){return e(t)}function Pp(){}var Fa=!1;function Rp(e,t,n){if(Fa)return e(t,n);Fa=!0;try{return _p(e,t,n)}finally{Fa=!1,(eo!==null||to!==null)&&(Pp(),jp())}}function ss(e,t){var n=e.stateNode;if(n===null)return null;var r=la(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(z(231,t,typeof n));return n}var jl=!1;if(xn)try{var Ao={};Object.defineProperty(Ao,"passive",{get:function(){jl=!0}}),window.addEventListener("test",Ao,Ao),window.removeEventListener("test",Ao,Ao)}catch{jl=!1}function F0(e,t,n,r,o,s,i,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var qo=!1,ki=null,Ni=!1,_l=null,M0={onError:function(e){qo=!0,ki=e}};function I0(e,t,n,r,o,s,i,a,l){qo=!1,ki=null,F0.apply(M0,arguments)}function z0(e,t,n,r,o,s,i,a,l){if(I0.apply(this,arguments),qo){if(qo){var u=ki;qo=!1,ki=null}else throw Error(z(198));Ni||(Ni=!0,_l=u)}}function Dr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Op(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Zc(e){if(Dr(e)!==e)throw Error(z(188))}function $0(e){var t=e.alternate;if(!t){if(t=Dr(e),t===null)throw Error(z(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return Zc(o),e;if(s===r)return Zc(o),t;s=s.sibling}throw Error(z(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(z(189))}}if(n.alternate!==r)throw Error(z(190))}if(n.tag!==3)throw Error(z(188));return n.stateNode.current===n?e:t}function Lp(e){return e=$0(e),e!==null?Ap(e):null}function Ap(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ap(e);if(t!==null)return t;e=e.sibling}return null}var Dp=gt.unstable_scheduleCallback,Jc=gt.unstable_cancelCallback,B0=gt.unstable_shouldYield,U0=gt.unstable_requestPaint,je=gt.unstable_now,W0=gt.unstable_getCurrentPriorityLevel,Au=gt.unstable_ImmediatePriority,Fp=gt.unstable_UserBlockingPriority,Ti=gt.unstable_NormalPriority,V0=gt.unstable_LowPriority,Mp=gt.unstable_IdlePriority,oa=null,nn=null;function H0(e){if(nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(oa,e,void 0,(e.current.flags&128)===128)}catch{}}var Wt=Math.clz32?Math.clz32:q0,Q0=Math.log,K0=Math.LN2;function q0(e){return e>>>=0,e===0?32:31-(Q0(e)/K0|0)|0}var Ws=64,Vs=4194304;function Ho(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ji(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=Ho(a):(s&=i,s!==0&&(r=Ho(s)))}else i=n&~o,i!==0?r=Ho(i):s!==0&&(r=Ho(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Wt(t),o=1<<n,r|=e[n],t&=~o;return r}function G0(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Y0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Wt(s),a=1<<i,l=o[i];l===-1?(!(a&n)||a&r)&&(o[i]=G0(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function Pl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ip(){var e=Ws;return Ws<<=1,!(Ws&4194240)&&(Ws=64),e}function Ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,087 bytes, line 38
38function _s(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wt(t),e[t]=n}function X0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Wt(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Du(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Wt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var pe=0;function zp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var $p,Fu,Bp,Up,Wp,Rl=!1,Hs=[],Kn=null,qn=null,Gn=null,is=new Map,as=new Map,Mn=[],Z0="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 submit".split(" ");function ed(e,t){switch(e){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Gn=null;break;case"pointerover":case"pointerout":is.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":as.delete(t.pointerId)}}function Do(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Rs(t),t!==null&&Fu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function J0(e,t,n,r,o){switch(t){case"focusin":return Kn=Do(Kn,e,t,n,r,o),!0;case"dragenter":return qn=Do(qn,e,t,n,r,o),!0;case"mouseover":return Gn=Do(Gn,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return is.set(s,Do(is.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,as.set(s,Do(as.get(s)||null,e,t,n,r,o)),!0}return!1}function Vp(e){var t=gr(e.target);if(t!==null){var n=Dr(t);if(n!==null){if(t=n.tag,t===13){if(t=Op(n),t!==null){e.blockedOn=t,Wp(e.priority,function(){Bp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function di(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ol(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Nl=r,n.target.dispatchEvent(r),Nl=null}else return t=Rs(n),t!==null&&Fu(t),e.blockedOn=n,!1;t.shift()}return!0}function td(e,t,n){di(e)&&n.delete(t)}function ev(){Rl=!1,Kn!==null&&di(Kn)&&(Kn=null),qn!==null&&di(qn)&&(qn=null),Gn!==null&&di(Gn)&&(Gn=null),is.forEach(td),as.forEach(td)}function Fo(e,t){e.blockedOn===t&&(e.blockedOn=null,Rl||(Rl=!0,gt.unstable_scheduleCallback(gt.unstable_NormalPriority,ev)))}function ls(e){function t(o){return Fo(o,e)}if(0<Hs.length){Fo(Hs[0],e);for(var n=1;n<Hs.length;n++){var r=Hs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kn!==null&&Fo(Kn,e),qn!==null&&Fo(qn,e),Gn!==null&&Fo(Gn,e),is.forEach(t),as.forEach(t),n=0;n<Mn.length;n++)r=Mn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Mn.length&&(n=Mn[0],n.blockedOn===null);)Vp(n),n.blockedOn===null&&Mn.shift()}var no=kn.ReactCurrentBatchConfig,_i=!0;function tv(e,t,n,r){var o=pe,s=no.transition;no.transition=null;try{pe=1,Mu(e,t,n,r)}finally{pe=o,no.transition=s}}function nv(e,t,n,r){var o=pe,s=no.transition;no.transition=null;try{pe=4,Mu(e,t,n,r)}finally{pe=o,no.transition=s}}function Mu(e,t,n,r){if(_i){var o=Ol(e,t,n,r);if(o===null)Ka(e,t,r,Pi,n),ed(e,r);else if(J0(o,e,t,n,r))r.stopPropagation();else if(ed(e,r),t&4&&-1<Z0.indexOf(e)){for(;o!==null;){var s=Rs(o);if(s!==null&&$p(s),s=Ol(e,t,n,r),s===null&&Ka(e,t,r,Pi,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Ka(e,t,r,null,n)}}var Pi=null;function Ol(e,t,n,r){if(Pi=null,e=Lu(r),e=gr(e),e!==null)if(t=Dr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Op(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Pi=e,null}
vendor: 10,081 bytes, line 38
38function Hp(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(W0()){case Au:return 1;case Fp:return 4;case Ti:case V0:return 16;case Mp:return 536870912;default:return 16}default:return 16}}var Vn=null,Iu=null,fi=null;function Qp(){if(fi)return fi;var e,t=Iu,n=t.length,r,o="value"in Vn?Vn.value:Vn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return fi=o.slice(e,1<r?1-r:void 0)}function pi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Qs(){return!0}function nd(){return!1}function yt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Qs:nd,this.isPropagationStopped=nd,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Qs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Qs)},persist:function(){},isPersistent:Qs}),t}var No={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zu=yt(No),Ps=Ce({},No,{view:0,detail:0}),rv=yt(Ps),Ia,za,Mo,sa=Ce({},Ps,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$u,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!==Mo&&(Mo&&e.type==="mousemove"?(Ia=e.screenX-Mo.screenX,za=e.screenY-Mo.screenY):za=Ia=0,Mo=e),Ia)},movementY:function(e){return"movementY"in e?e.movementY:za}}),rd=yt(sa),ov=Ce({},sa,{dataTransfer:0}),sv=yt(ov),iv=Ce({},Ps,{relatedTarget:0}),$a=yt(iv),av=Ce({},No,{animationName:0,elapsedTime:0,pseudoElement:0}),lv=yt(av),uv=Ce({},No,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),cv=yt(uv),dv=Ce({},No,{data:0}),od=yt(dv),fv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pv={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"},hv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hv[e])?!!t[e]:!1}function $u(){return mv}var gv=Ce({},Ps,{key:function(e){if(e.key){var t=fv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=pi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$u,charCode:function(e){return e.type==="keypress"?pi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?pi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),vv=yt(gv),yv=Ce({},sa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sd=yt(yv),xv=Ce({},Ps,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$u}),wv=yt(xv),bv=Ce({},No,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sv=yt(bv),Ev=Ce({},sa,{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}),Cv=yt(Ev),kv=[9,13,27,32],Bu=xn&&"CompositionEvent"in window,Go=null;xn&&"documentMode"in document&&(Go=document.documentMode);var Nv=xn&&"TextEvent"in window&&!Go,Kp=xn&&(!Bu||Go&&8<Go&&11>=Go),id=" ",ad=!1;function qp(e,t){switch(e){case"keyup":return kv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wr=!1;function Tv(e,t){switch(e){case"compositionend":return Gp(t);case"keypress":return t.which!==32?null:(ad=!0,id);case"textInput":return e=t.data,e===id&&ad?null:e;default:return null}}function jv(e,t){if(Wr)return e==="compositionend"||!Bu&&qp(e,t)?(e=Qp(),fi=Iu=Vn=null,Wr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Kp&&t.locale!=="ko"?null:t.data;default:return null}}var _v={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 ld(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_v[e.type]:t==="textarea"}function Yp(e,t,n,r){Tp(r),t=Ri(t,"onChange"),0<t.length&&(n=new zu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yo=null,us=null;function Pv(e){ah(e,0)}function ia(e){var t=Qr(e);if(wp(t))return e}function Rv(e,t){if(e==="change")return t}var Xp=!1;if(xn){var Ba;if(xn){var Ua="oninput"in document;if(!Ua){var ud=document.createElement("div");ud.setAttribute("oninput","return;"),Ua=typeof ud.oninput=="function"}Ba=Ua}else Ba=!1;Xp=Ba&&(!document.documentMode||9<document.documentMode)}function cd(){Yo&&(Yo.detachEvent("onpropertychange",Zp),us=Yo=null)}function Zp(e){if(e.propertyName==="value"&&ia(us)){var t=[];Yp(t,us,e,Lu(e)),Rp(Pv,t)}}function Ov(e,t,n){e==="focusin"?(cd(),Yo=t,us=n,Yo.attachEvent("onpropertychange",Zp)):e==="focusout"&&cd()}function Lv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ia(us)}function Av(e,t){if(e==="click")return ia(t)}function Dv(e,t){if(e==="input"||e==="change")return ia(t)}function Fv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ht=typeof Object.is=="function"?Object.is:Fv;function cs(e,t){if(Ht(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!hl.call(t,o)||!Ht(e[o],t[o]))return!1}return!0}function dd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fd(e,t){var n=dd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dd(n)}}function Jp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function eh(){for(var e=window,t=Ci();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ci(e.document)}return t}function Uu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Mv(e){var t=eh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jp(n.ownerDocument.documentElement,n)){if(r!==null&&Uu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=fd(n,s);var i=fd(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Iv=xn&&"documentMode"in document&&11>=document.documentMode,Vr=null,Ll=null,Xo=null,Al=!1;
vendor: 4,229 bytes, line 38
38function pd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Al||Vr==null||Vr!==Ci(r)||(r=Vr,"selectionStart"in r&&Uu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xo&&cs(Xo,r)||(Xo=r,r=Ri(Ll,"onSelect"),0<r.length&&(t=new zu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Vr)))}function Ks(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Hr={animationend:Ks("Animation","AnimationEnd"),animationiteration:Ks("Animation","AnimationIteration"),animationstart:Ks("Animation","AnimationStart"),transitionend:Ks("Transition","TransitionEnd")},Wa={},th={};xn&&(th=document.createElement("div").style,"AnimationEvent"in window||(delete Hr.animationend.animation,delete Hr.animationiteration.animation,delete Hr.animationstart.animation),"TransitionEvent"in window||delete Hr.transitionend.transition);function aa(e){if(Wa[e])return Wa[e];if(!Hr[e])return e;var t=Hr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in th)return Wa[e]=t[n];return e}var nh=aa("animationend"),rh=aa("animationiteration"),oh=aa("animationstart"),sh=aa("transitionend"),ih=new Map,hd="abort auxClick 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(" ");function lr(e,t){ih.set(e,t),Ar(t,[e])}for(var Va=0;Va<hd.length;Va++){var Ha=hd[Va],zv=Ha.toLowerCase(),$v=Ha[0].toUpperCase()+Ha.slice(1);lr(zv,"on"+$v)}lr(nh,"onAnimationEnd");lr(rh,"onAnimationIteration");lr(oh,"onAnimationStart");lr("dblclick","onDoubleClick");lr("focusin","onFocus");lr("focusout","onBlur");lr(sh,"onTransitionEnd");go("onMouseEnter",["mouseout","mouseover"]);go("onMouseLeave",["mouseout","mouseover"]);go("onPointerEnter",["pointerout","pointerover"]);go("onPointerLeave",["pointerout","pointerover"]);Ar("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ar("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ar("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ar("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ar("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ar("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qo="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(" "),Bv=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qo));function md(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,z0(r,t,void 0,e),e.currentTarget=null}function ah(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var a=r[i],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&o.isPropagationStopped())break e;md(o,a,u),s=l}else for(i=0;i<r.length;i++){if(a=r[i],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&o.isPropagationStopped())break e;md(o,a,u),s=l}}}if(Ni)throw e=_l,Ni=!1,_l=null,e}function ye(e,t){var n=t[zl];n===void 0&&(n=t[zl]=new Set);var r=e+"__bubble";n.has(r)||(lh(t,e,2,!1),n.add(r))}function Qa(e,t,n){var r=0;t&&(r|=4),lh(n,e,r,t)}var qs="_reactListening"+Math.random().toString(36).slice(2);function ds(e){if(!e[qs]){e[qs]=!0,mp.forEach(function(n){n!=="selectionchange"&&(Bv.has(n)||Qa(n,!1,e),Qa(n,
vendor: 5,797 bytes, lines 38-39
38!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qs]||(t[qs]=!0,Qa("selectionchange",!1,t))}}function lh(e,t,n,r){switch(Hp(t)){case 1:var o=tv;break;case 4:o=nv;break;default:o=Mu}n=o.bind(null,t,n,e),o=void 0,!jl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ka(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;a!==null;){if(i=gr(a),i===null)return;if(l=i.tag,l===5||l===6){r=s=i;continue e}a=a.parentNode}}r=r.return}Rp(function(){var u=s,d=Lu(n),f=[];e:{var h=ih.get(e);if(h!==void 0){var p=zu,S=e;switch(e){case"keypress":if(pi(n)===0)break e;case"keydown":case"keyup":p=vv;break;case"focusin":S="focus",p=$a;break;case"focusout":S="blur",p=$a;break;case"beforeblur":case"afterblur":p=$a;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=rd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=sv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=wv;break;case nh:case rh:case oh:p=lv;break;case sh:p=Sv;break;case"scroll":p=rv;break;case"wheel":p=Cv;break;case"copy":case"cut":case"paste":p=cv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=sd}var y=(t&4)!==0,b=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var C=v.stateNode;if(v.tag===5&&C!==null&&(v=C,g!==null&&(C=ss(m,g),C!=null&&y.push(fs(m,C,v)))),b)break;m=m.return}0<y.length&&(h=new p(h,S,null,n,d),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Nl&&(S=n.relatedTarget||n.fromElement)&&(gr(S)||S[wn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(S=n.relatedTarget||n.toElement,p=u,S=S?gr(S):null,S!==null&&(b=Dr(S),S!==b||S.tag!==5&&S.tag!==6)&&(S=null)):(p=null,S=u),p!==S)){if(y=rd,C="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=sd,C="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:Qr(p),v=S==null?h:Qr(S),h=new y(C,m+"leave",p,n,d),h.target=b,h.relatedTarget=v,C=null,gr(d)===u&&(y=new y(g,m+"enter",S,n,d),y.target=v,y.relatedTarget=b,C=y),b=C,p&&S)t:{for(y=p,g=S,m=0,v=y;v;v=$r(v))m++;for(v=0,C=g;C;C=$r(C))v++;for(;0<m-v;)y=$r(y),m--;for(;0<v-m;)g=$r(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=$r(y),g=$r(g)}y=null}else y=null;p!==null&&gd(f,h,p,y,!1),S!==null&&b!==null&&gd(f,b,S,y,!0)}}e:{if(h=u?Qr(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var j=Rv;else if(ld(h))if(Xp)j=Dv;else{j=Lv;var R=Ov}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(j=Av);if(j&&(j=j(e,u))){Yp(f,j,n,d);break e}R&&R(e,h,u),e==="focusout"&&(R=h._wrapperState)&&R.controlled&&h.type==="number"&&bl(h,"number",h.value)}switch(R=u?Qr(u):window,e){case"focusin":(ld(R)||R.contentEditable==="true")&&(Vr=R,Ll=u,Xo=null);break;case"focusout":Xo=Ll=Vr=null;break;case"mousedown":Al=!0;break;case"contextmenu":case"mouseup":case"dragend":Al=!1,pd(f,n,d);break;case"selectionchange":if(Iv)break;case"keydown":case"keyup":pd(f,n,d)}var P;if(Bu)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else Wr?qp(e,n)&&(w="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(w="onCompositionStart");w&&(Kp&&n.locale!=="ko"&&(Wr||w!=="onCompositionStart"?w==="onCompositionEnd"&&Wr&&(P=Qp()):(Vn=d,Iu="value"in Vn?Vn.value:Vn.textContent,Wr=!0)),R=Ri(u,w),0<R.length&&(w=new od(w,e,null,n,d),f.push({event:w,listeners:R}),P?w.data=P:(P=Gp(n),P!==null&&(w.data=P)))),(P=Nv?Tv(e,n):jv(e,n))&&(u=Ri(u,"onBeforeInput"),0<u.length&&(d=new od("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=P))}ah(f,t)})}function fs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ri(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=ss(e,n),s!=null&&r.unshift(fs(e,s,o)),s=ss(e,t),s!=null&&r.push(fs(e,s,o))),e=e.return}return r}function $r(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function gd(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=ss(n,s),l!=null&&i.unshift(fs(n,l,a))):o||(l=ss(n,s),l!=null&&i.push(fs(n,l,a)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Uv=/\r\n?/g,Wv=/\u0000|\uFFFD/g;function vd(e){return(typeof e=="string"?e:""+e).replace(Uv,`
39`).replace(Wv,"")}function Gs(e,t,n){if(t=vd(t),vd(e)!==t&&n)throw Error(z(425))}function Oi(){}var Dl=null,Fl=null;function Ml(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Il=typeof setTimeout=="function"?setTimeout:void 0,Vv=typeof clearTimeout=="function"?clearTimeout:void 0,yd=typeof Promise=="function"?Promise:void 0,Hv
vendor: 5,025 bytes, line 39
39=typeof queueMicrotask=="function"?queueMicrotask:typeof yd<"u"?function(e){return yd.resolve(null).then(e).catch(Qv)}:Il;function Qv(e){setTimeout(function(){throw e})}function qa(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ls(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ls(t)}function Yn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function xd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var To=Math.random().toString(36).slice(2),en="__reactFiber$"+To,ps="__reactProps$"+To,wn="__reactContainer$"+To,zl="__reactEvents$"+To,Kv="__reactListeners$"+To,qv="__reactHandles$"+To;function gr(e){var t=e[en];if(t)return t;for(var n=e.parentNode;n;){if(t=n[wn]||n[en]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=xd(e);e!==null;){if(n=e[en])return n;e=xd(e)}return t}e=n,n=e.parentNode}return null}function Rs(e){return e=e[en]||e[wn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Qr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(z(33))}function la(e){return e[ps]||null}var $l=[],Kr=-1;function ur(e){return{current:e}}function xe(e){0>Kr||(e.current=$l[Kr],$l[Kr]=null,Kr--)}function ge(e,t){Kr++,$l[Kr]=e.current,e.current=t}var rr={},Qe=ur(rr),ot=ur(!1),jr=rr;function vo(e,t){var n=e.type.contextTypes;if(!n)return rr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function st(e){return e=e.childContextTypes,e!=null}function Li(){xe(ot),xe(Qe)}function wd(e,t,n){if(Qe.current!==rr)throw Error(z(168));ge(Qe,t),ge(ot,n)}function uh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(z(108,O0(e)||"Unknown",o));return Ce({},n,r)}function Ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rr,jr=Qe.current,ge(Qe,e),ge(ot,ot.current),!0}function bd(e,t,n){var r=e.stateNode;if(!r)throw Error(z(169));n?(e=uh(e,t,jr),r.__reactInternalMemoizedMergedChildContext=e,xe(ot),xe(Qe),ge(Qe,e)):xe(ot),ge(ot,n)}var hn=null,ua=!1,Ga=!1;function ch(e){hn===null?hn=[e]:hn.push(e)}function Gv(e){ua=!0,ch(e)}function cr(){if(!Ga&&hn!==null){Ga=!0;var e=0,t=pe;try{var n=hn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}hn=null,ua=!1}catch(o){throw hn!==null&&(hn=hn.slice(e+1)),Dp(Au,cr),o}finally{pe=t,Ga=!1}}return null}var qr=[],Gr=0,Di=null,Fi=0,Et=[],Ct=0,_r=null,gn=1,vn="";function hr(e,t){qr[Gr++]=Fi,qr[Gr++]=Di,Di=e,Fi=t}function dh(e,t,n){Et[Ct++]=gn,Et[Ct++]=vn,Et[Ct++]=_r,_r=e;var r=gn;e=vn;var o=32-Wt(r)-1;r&=~(1<<o),n+=1;var s=32-Wt(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,gn=1<<32-Wt(t)+o|n<<o|r,vn=s+e}else gn=1<<s|n<<o|r,vn=e}function Wu(e){e.return!==null&&(hr(e,1),dh(e,1,0))}function Vu(e){for(;e===Di;)Di=qr[--Gr],qr[Gr]=null,Fi=qr[--Gr],qr[Gr]=null;for(;e===_r;)_r=Et[--Ct],Et[Ct]=null,vn=Et[--Ct],Et[Ct]=null,gn=Et[--Ct],Et[Ct]=null}var ht=null,pt=null,be=!1,Ut=null;function fh(e,t){var n=kt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Sd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ht=e,pt=Yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ht=e,pt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=_r!==null?{id:gn,overflow:vn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=kt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ht=e,pt=null,!0):!1;default:return!1}}function Bl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ul(e){if(be){var t=pt;if(t){var n=t;if(!Sd(e,t)){if(Bl(e))throw Error(z(418));t=Yn(n.nextSibling);var r=ht;t&&Sd(e,t)?fh(r,n):(e.flags=e.flags&-4097|2,be=!1,ht=e)}}else{if(Bl(e))throw Error(z(418));e.flags=e.flags&-4097|2,be=!1,ht=e}}}function Ed(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ht=e}function Ys(e){if(e!==ht)return!1;if(!be)return Ed(e),be=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ml(e.type,e.memoizedProps)),t&&(t=pt)){if(Bl(e))throw ph(),Error(z(418));for(;t;)fh(e,t),t=Yn(t.nextSibling)}if(Ed(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){pt=Yn(e.nextSibling);break e}t--}
vendor: 14,126 bytes, line 39
39else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}pt=null}}else pt=ht?Yn(e.stateNode.nextSibling):null;return!0}function ph(){for(var e=pt;e;)e=Yn(e.nextSibling)}function yo(){pt=ht=null,be=!1}function Hu(e){Ut===null?Ut=[e]:Ut.push(e)}var Yv=kn.ReactCurrentBatchConfig;function Io(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(z(309));var r=n.stateNode}if(!r)throw Error(z(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(z(284));if(!n._owner)throw Error(z(290,e))}return e}function Xs(e,t){throw e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Cd(e){var t=e._init;return t(e._payload)}function hh(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function o(g,m){return g=er(g,m),g.index=0,g.sibling=null,g}function s(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,C){return m===null||m.tag!==6?(m=nl(v,g.mode,C),m.return=g,m):(m=o(m,v),m.return=g,m)}function l(g,m,v,C){var j=v.type;return j===Ur?d(g,m,v.props.children,C,v.key):m!==null&&(m.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Dn&&Cd(j)===m.type)?(C=o(m,v.props),C.ref=Io(g,m,v),C.return=g,C):(C=wi(v.type,v.key,v.props,null,g.mode,C),C.ref=Io(g,m,v),C.return=g,C)}function u(g,m,v,C){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=rl(v,g.mode,C),m.return=g,m):(m=o(m,v.children||[]),m.return=g,m)}function d(g,m,v,C,j){return m===null||m.tag!==7?(m=Tr(v,g.mode,C,j),m.return=g,m):(m=o(m,v),m.return=g,m)}function f(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=nl(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case $s:return v=wi(m.type,m.key,m.props,null,g.mode,v),v.ref=Io(g,null,m),v.return=g,v;case Br:return m=rl(m,g.mode,v),m.return=g,m;case Dn:var C=m._init;return f(g,C(m._payload),v)}if(Vo(m)||Lo(m))return m=Tr(m,g.mode,v,null),m.return=g,m;Xs(g,m)}return null}function h(g,m,v,C){var j=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return j!==null?null:a(g,m,""+v,C);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case $s:return v.key===j?l(g,m,v,C):null;case Br:return v.key===j?u(g,m,v,C):null;case Dn:return j=v._init,h(g,m,j(v._payload),C)}if(Vo(v)||Lo(v))return j!==null?null:d(g,m,v,C,null);Xs(g,v)}return null}function p(g,m,v,C,j){if(typeof C=="string"&&C!==""||typeof C=="number")return g=g.get(v)||null,a(m,g,""+C,j);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case $s:return g=g.get(C.key===null?v:C.key)||null,l(m,g,C,j);case Br:return g=g.get(C.key===null?v:C.key)||null,u(m,g,C,j);case Dn:var R=C._init;return p(g,m,v,R(C._payload),j)}if(Vo(C)||Lo(C))return g=g.get(v)||null,d(m,g,C,j,null);Xs(m,C)}return null}function S(g,m,v,C){for(var j=null,R=null,P=m,w=m=0,E=null;P!==null&&w<v.length;w++){P.index>w?(E=P,P=null):E=P.sibling;var N=h(g,P,v[w],C);if(N===null){P===null&&(P=E);break}e&&P&&N.alternate===null&&t(g,P),m=s(N,m,w),R===null?j=N:R.sibling=N,R=N,P=E}if(w===v.length)return n(g,P),be&&hr(g,w),j;if(P===null){for(;w<v.length;w++)P=f(g,v[w],C),P!==null&&(m=s(P,m,w),R===null?j=P:R.sibling=P,R=P);return be&&hr(g,w),j}for(P=r(g,P);w<v.length;w++)E=p(P,g,w,v[w],C),E!==null&&(e&&E.alternate!==null&&P.delete(E.key===null?w:E.key),m=s(E,m,w),R===null?j=E:R.sibling=E,R=E);return e&&P.forEach(function(A){return t(g,A)}),be&&hr(g,w),j}function y(g,m,v,C){var j=Lo(v);if(typeof j!="function")throw Error(z(150));if(v=j.call(v),v==null)throw Error(z(151));for(var R=j=null,P=m,w=m=0,E=null,N=v.next();P!==null&&!N.done;w++,N=v.next()){P.index>w?(E=P,P=null):E=P.sibling;var A=h(g,P,N.value,C);if(A===null){P===null&&(P=E);break}e&&P&&A.alternate===null&&t(g,P),m=s(A,m,w),R===null?j=A:R.sibling=A,R=A,P=E}if(N.done)return n(g,P),be&&hr(g,w),j;if(P===null){for(;!N.done;w++,N=v.next())N=f(g,N.value,C),N!==null&&(m=s(N,m,w),R===null?j=N:R.sibling=N,R=N);return be&&hr(g,w),j}for(P=r(g,P);!N.done;w++,N=v.next())N=p(P,g,w,N.value,C),N!==null&&(e&&N.alternate!==null&&P.delete(N.key===null?w:N.key),m=s(N,m,w),R===null?j=N:R.sibling=N,R=N);return e&&P.forEach(function(O){return t(g,O)}),be&&hr(g,w),j}function b(g,m,v,C){if(typeof v=="object"&&v!==null&&v.type===Ur&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case $s:e:{for(var j=v.key,R=m;R!==null;){if(R.key===j){if(j=v.type,j===Ur){if(R.tag===7){n(g,R.sibling),m=o(R,v.props.children),m.return=g,g=m;break e}}else if(R.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Dn&&Cd(j)===R.type){n(g,R.sibling),m=o(R,v.props),m.ref=Io(g,R,v),m.return=g,g=m;break e}n(g,R);break}else t(g,R);R=R.sibling}v.type===Ur?(m=Tr(v.props.children,g.mode,C,v.key),m.return=g,g=m):(C=wi(v.type,v.key,v.props,null,g.mode,C),C.ref=Io(g,m,v),C.return=g,g=C)}return i(g);case Br:e:{for(R=v.key;m!==null;){if(m.key===R)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=o(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=rl(v,g.mode,C),m.return=g,g=m}return i(g);case Dn:return R=v._init,b(g,m,R(v._payload),C)}if(Vo(v))return S(g,m,v,C);if(Lo(v))return y(g,m,v,C);Xs(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,v),m.return=g,g=m):(n(g,m),m=nl(v,g.mode,C),m.return=g,g=m),i(g)):n(g,m)}return b}var xo=hh(!0),mh=hh(!1),Mi=ur(null),Ii=null,Yr=null,Qu=null;function Ku(){Qu=Yr=Ii=null}function qu(e){var t=Mi.current;xe(Mi),e._currentValue=t}function Wl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ro(e,t){Ii=e,Qu=Yr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rt=!0),e.firstContext=null)}function jt(e){var t=e._currentValue;if(Qu!==e)if(e={context:e,memoizedValue:t,next:null},Yr===null){if(Ii===null)throw Error(z(308));Yr=e,Ii.dependencies={lanes:0,firstContext:e}}else Yr=Yr.next=e;return t}var vr=null;function Gu(e){vr===null?vr=[e]:vr.push(e)}function gh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Gu(t)):(n.next=o.next,o.next=n),t.interleaved=n,bn(e,r)}function bn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Fn=!1;function Yu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,bn(e,n)}return o=r.interleaved,o===null?(t.next=t,Gu(r)):(t.next=o.next,o.next=t),r.interleaved=t,bn(e,n)}function hi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Du(e,n)}}function kd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zi(e,t,n,r){var o=e.updateQueue;Fn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,i===null?s=u:i.next=u,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(s!==null){var f=o.baseState;i=0,d=u=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var S=e,y=a;switch(h=t,p=n,y.tag){case 1:if(S=y.payload,typeof S=="function"){f=S.call(p,f,h);break e}f=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=y.payload,h=typeof S=="function"?S.call(p,f,h):S,h==null)break e;f=Ce({},f,h);break e;case 2:Fn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,l=f):d=d.next=p,i|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(d===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);Rr|=i,e.lanes=i,e.memoizedState=f}}function Nd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(z(191,o));o.call(r)}}}var Os={},rn=ur(Os),hs=ur(Os),ms=ur(Os);function yr(e){if(e===Os)throw Error(z(174));return e}function Xu(e,t){switch(ge(ms,t),ge(hs,e),ge(rn,Os),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:El(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=El(t,e)}xe(rn),ge(rn,t)}function wo(){xe(rn),xe(hs),xe(ms)}function yh(e){yr(ms.current);var t=yr(rn.current),n=El(t,e.type);t!==n&&(ge(hs,e),ge(rn,n))}function Zu(e){hs.current===e&&(xe(rn),xe(hs))}var Se=ur(0);function $i(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ya=[];function Ju(){for(var e=0;e<Ya.length;e++)Ya[e]._workInProgressVersionPrimary=null;Ya.length=0}var mi=kn.ReactCurrentDispatcher,Xa=kn.ReactCurrentBatchConfig,Pr=0,Ee=null,Oe=null,Fe=null,Bi=!1,Zo=!1,gs=0,Xv=0;function Ue(){throw Error(z(321))}function ec(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ht(e[n],t[n]))return!1;return!0}function tc(e,t,n,r,o,s){if(Pr=s,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,mi.current=e===null||e.memoizedState===null?ty:ny,e=n(r,o),Zo){s=0;do{if(Zo=!1,gs=0,25<=s)throw Error(z(301));s+=1,Fe=Oe=null,t.updateQueue=null,mi.current=ry,e=n(r,o)}while(Zo)}if(mi.current=Ui,t=Oe!==null&&Oe.next!==null,Pr=0,Fe=Oe=Ee=null,Bi=!1,t)throw Error(z(300));return e}function nc(){var e=gs!==0;return gs=0,e}function Yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?Ee.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function _t(){if(Oe===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=Fe===null?Ee.memoizedState:Fe.next;if(t!==null)Fe=t,Oe=e;else{if(e===null)throw Error(z(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},Fe===null?Ee.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function vs(e,t){return typeof t=="function"?t(e):t}function Za(e){var t=_t(),n=t.queue;if(n===null)throw Error(z(311));n.lastRenderedReducer=e;var r=Oe,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,l=null,u=s;do{var d=u.lane;if((Pr&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,i=r):l=l.next=f,Ee.lanes|=d,Rr|=d}u=u.next}while(u!==null&&u!==s);l===null?i=r:l.next=a,Ht(r,t.memoizedState)||(rt=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,Ee.lanes|=s,Rr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ja(e){var t=_t(),n=t.queue;if(n===null)throw Error(z(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Ht(s,t.memoizedState)||(rt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function xh(){}function wh(e,t){var n=Ee,r=_t(),o=t(),s=!Ht(r.memoizedState,o);if(s&&(r.memoizedState=o,rt=!0),r=r.queue,rc(Eh.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Fe!==null&&Fe.memoizedState.tag&1){if(n.flags|=2048,ys(9,Sh.bind(null,n,r,o,t),void 0,null),Me===null)throw Error(z(349));Pr&30||bh(n,t,o)}return o}function bh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ee.updateQueue,t===null?(t={lastEffect:null,stores:null},Ee.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Sh(e,t,n,r){t.value=n,t.getSnapshot=r,Ch(t)&&kh(e)}
vendor: 4,969 bytes, line 39
39function Eh(e,t,n){return n(function(){Ch(t)&&kh(e)})}function Ch(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ht(e,n)}catch{return!0}}function kh(e){var t=bn(e,1);t!==null&&Vt(t,e,1,-1)}function Td(e){var t=Yt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:e},t.queue=e,e=e.dispatch=ey.bind(null,Ee,e),[t.memoizedState,e]}function ys(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ee.updateQueue,t===null?(t={lastEffect:null,stores:null},Ee.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Nh(){return _t().memoizedState}function gi(e,t,n,r){var o=Yt();Ee.flags|=e,o.memoizedState=ys(1|t,n,void 0,r===void 0?null:r)}function ca(e,t,n,r){var o=_t();r=r===void 0?null:r;var s=void 0;if(Oe!==null){var i=Oe.memoizedState;if(s=i.destroy,r!==null&&ec(r,i.deps)){o.memoizedState=ys(t,n,s,r);return}}Ee.flags|=e,o.memoizedState=ys(1|t,n,s,r)}function jd(e,t){return gi(8390656,8,e,t)}function rc(e,t){return ca(2048,8,e,t)}function Th(e,t){return ca(4,2,e,t)}function jh(e,t){return ca(4,4,e,t)}function _h(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ph(e,t,n){return n=n!=null?n.concat([e]):null,ca(4,4,_h.bind(null,t,e),n)}function oc(){}function Rh(e,t){var n=_t();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ec(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Oh(e,t){var n=_t();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ec(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Lh(e,t,n){return Pr&21?(Ht(n,t)||(n=Ip(),Ee.lanes|=n,Rr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,rt=!0),e.memoizedState=n)}function Zv(e,t){var n=pe;pe=n!==0&&4>n?n:4,e(!0);var r=Xa.transition;Xa.transition={};try{e(!1),t()}finally{pe=n,Xa.transition=r}}function Ah(){return _t().memoizedState}function Jv(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Dh(e))Fh(t,n);else if(n=gh(e,t,n,r),n!==null){var o=Xe();Vt(n,e,r,o),Mh(n,t,r)}}function ey(e,t,n){var r=Jn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Dh(e))Fh(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,Ht(a,i)){var l=t.interleaved;l===null?(o.next=o,Gu(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=gh(e,t,o,r),n!==null&&(o=Xe(),Vt(n,e,r,o),Mh(n,t,r))}}function Dh(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Fh(e,t){Zo=Bi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Mh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Du(e,n)}}var Ui={readContext:jt,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},ty={readContext:jt,useCallback:function(e,t){return Yt().memoizedState=[e,t===void 0?null:t],e},useContext:jt,useEffect:jd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,gi(4194308,4,_h.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gi(4194308,4,e,t)},useInsertionEffect:function(e,t){return gi(4,2,e,t)},useMemo:function(e,t){var n=Yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Jv.bind(null,Ee,e),[r.memoizedState,e]},useRef:function(e){var t=Yt();return e={current:e},t.memoizedState=e},useState:Td,useDebugValue:oc,useDeferredValue:function(e){return Yt().memoizedState=e},useTransition:function(){var e=Td(!1),t=e[0];return e=Zv.bind(null,e[1]),Yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ee,o=Yt();if(be){if(n===void 0)throw Error(z(407));n=n()}else{if(n=t(),Me===null)throw Error(z(349));Pr&30||bh(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,jd(Eh.bind(null,r,s,e),[e]),r.flags|=2048,ys(9,Sh.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Yt(),t=Me.identifierPrefix;if(be){var n=vn,r=gn;n=(r&~(1<<32-Wt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=gs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Xv++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ny={readContext:jt,useCallback:Rh,useContext:jt,useEffect:rc,useImperativeHandle:Ph,useInsertionEffect:Th,useLayoutEffect:jh,useMemo:Oh,useReducer:Za,useRef
vendor: 4,179 bytes, lines 39-41
39:Nh,useState:function(){return Za(vs)},useDebugValue:oc,useDeferredValue:function(e){var t=_t();return Lh(t,Oe.memoizedState,e)},useTransition:function(){var e=Za(vs)[0],t=_t().memoizedState;return[e,t]},useMutableSource:xh,useSyncExternalStore:wh,useId:Ah,unstable_isNewReconciler:!1},ry={readContext:jt,useCallback:Rh,useContext:jt,useEffect:rc,useImperativeHandle:Ph,useInsertionEffect:Th,useLayoutEffect:jh,useMemo:Oh,useReducer:Ja,useRef:Nh,useState:function(){return Ja(vs)},useDebugValue:oc,useDeferredValue:function(e){var t=_t();return Oe===null?t.memoizedState=e:Lh(t,Oe.memoizedState,e)},useTransition:function(){var e=Ja(vs)[0],t=_t().memoizedState;return[e,t]},useMutableSource:xh,useSyncExternalStore:wh,useId:Ah,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Vl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var da={isMounted:function(e){return(e=e._reactInternals)?Dr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xe(),o=Jn(e),s=yn(r,o);s.payload=t,n!=null&&(s.callback=n),t=Xn(e,s,o),t!==null&&(Vt(t,e,o,r),hi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xe(),o=Jn(e),s=yn(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Xn(e,s,o),t!==null&&(Vt(t,e,o,r),hi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xe(),r=Jn(e),o=yn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Xn(e,o,r),t!==null&&(Vt(t,e,r,n),hi(t,e,r))}};function _d(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!cs(n,r)||!cs(o,s):!0}function Ih(e,t,n){var r=!1,o=rr,s=t.contextType;return typeof s=="object"&&s!==null?s=jt(s):(o=st(t)?jr:Qe.current,r=t.contextTypes,s=(r=r!=null)?vo(e,o):rr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=da,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Pd(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&da.enqueueReplaceState(t,t.state,null)}function Hl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Yu(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=jt(s):(s=st(t)?jr:Qe.current,o.context=vo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Vl(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&da.enqueueReplaceState(o,o.state,null),zi(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function bo(e,t){try{var n="",r=t;do n+=R0(r),r=r.return;while(r);var o=n}catch(s){o=`
40Error generating stack: `+s.message+`
41`+s.stack}return{value:e,source:t,stack:o,digest:null}}function el(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ql(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var oy=typeof WeakMap=="function"?WeakMap:Map;function zh(e,t,n){n=yn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vi||(Vi=!0,nu=r),Ql(e,t)},n}function $h(e,t,n){n=yn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ql(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ql(e,t),typeof r!="function"&&(Zn===null?Zn=new Set([this]):Zn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}
vendor: 8,870 bytes, line 41
41function Rd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new oy;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=yy.bind(null,e,t,n),t.then(e,e))}function Od(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ld(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=yn(-1,1),t.tag=2,Xn(n,t,1))),n.lanes|=1),e)}var sy=kn.ReactCurrentOwner,rt=!1;function Ge(e,t,n,r){t.child=e===null?mh(t,null,n,r):xo(t,e.child,n,r)}function Ad(e,t,n,r,o){n=n.render;var s=t.ref;return ro(t,o),r=tc(e,t,n,r,s,o),n=nc(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Sn(e,t,o)):(be&&n&&Wu(t),t.flags|=1,Ge(e,t,r,o),t.child)}function Dd(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!fc(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Bh(e,t,s,r,o)):(e=wi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:cs,n(i,r)&&e.ref===t.ref)return Sn(e,t,o)}return t.flags|=1,e=er(s,r),e.ref=t.ref,e.return=t,t.child=e}function Bh(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(cs(s,r)&&e.ref===t.ref)if(rt=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(rt=!0);else return t.lanes=e.lanes,Sn(e,t,o)}return Kl(e,t,n,r,o)}function Uh(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ge(Zr,dt),dt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ge(Zr,dt),dt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,ge(Zr,dt),dt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,ge(Zr,dt),dt|=r;return Ge(e,t,o,n),t.child}function Wh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Kl(e,t,n,r,o){var s=st(n)?jr:Qe.current;return s=vo(t,s),ro(t,o),n=tc(e,t,n,r,s,o),r=nc(),e!==null&&!rt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Sn(e,t,o)):(be&&r&&Wu(t),t.flags|=1,Ge(e,t,n,o),t.child)}function Fd(e,t,n,r,o){if(st(n)){var s=!0;Ai(t)}else s=!1;if(ro(t,o),t.stateNode===null)vi(e,t),Ih(t,n,r),Hl(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=jt(u):(u=st(n)?jr:Qe.current,u=vo(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Pd(t,i,r,u),Fn=!1;var h=t.memoizedState;i.state=h,zi(t,r,i,o),l=t.memoizedState,a!==r||h!==l||ot.current||Fn?(typeof d=="function"&&(Vl(t,n,d,r),l=t.memoizedState),(a=Fn||_d(t,n,a,r,h,l,u))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,vh(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),i.props=u,f=t.pendingProps,h=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=jt(l):(l=st(n)?jr:Qe.current,l=vo(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||h!==l)&&Pd(t,i,r,l),Fn=!1,h=t.memoizedState,i.state=h,zi(t,r,i,o);var S=t.memoizedState;a!==f||h!==S||ot.current||Fn?(typeof p=="function"&&(Vl(t,n,p,r),S=t.memoizedState),(u=Fn||_d(t,n,u,r,h,S,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,S,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,S,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),i.props=r,i.state=S,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return ql(e,t,n,r,s,o)}function ql(e,t,n,r,o,s){Wh(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&bd(t,n,!1),Sn(e,t,s);r=t.stateNode,sy.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=xo(t,e.child,null,s),t.child=xo(t,null,a,s)):Ge(e,t,a,s),t.memoizedState=r.state,o&&bd(t,n,!0),t.child}function Vh(e){var t=e.stateNode;t.pendingContext?wd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wd(e,t.context,!1),Xu(e,t.containerInfo)}function Md(e,t,n,r,o){return yo(),Hu(o),t.flags|=256,Ge(e,t,n,r),t.child}var Gl={dehydrated:null,treeContext:null,retryLane:0};function Yl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Hh(e,t,n){var r=t.pendingProps,o=Se.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ge(Se,o&1),e===null)return Ul(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=ha(i,r,0,null),e=Tr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Yl(n),t.memoizedState=Gl,e):sc(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return iy(e,t,i,r,a,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=er(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=er(a,s):(s=Tr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Yl(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Gl,r}return s=e.child,e=s.sibling,r=er(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function sc(e,t){return t=ha({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Zs(e,t,n,r){return r!==null&&Hu(r),xo(t,e.child,null,n),e=sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iy(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=el(Error(z(422))),Zs(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=ha({mode:"visible",children:r.children},o,0,null),s=Tr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&xo(t,e.child,null,i),t.child.memoizedState=Yl(i),t.memoizedState=Gl,s);if(!(t.mode&1))return Zs(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(z(419)),r=el(s,r,void 0),Zs(e,t,i,r)}if(a=(i&e.childLanes)!==0,rt||a){if(r=Me,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,bn(e,o),Vt(r,e,o,-1))}return dc(),r=el(Error(z(421))),Zs(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=xy.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,pt=Yn(o.nextSibling),ht=t,be=!0,Ut=null,e!==null&&(Et[Ct++]=gn,Et[Ct++]=vn,Et[Ct++]=_r,gn=e.id,vn=e.overflow,_r=t),t=sc(t,r.children),t.flags|=4096,t)}
vendor: 4,953 bytes, line 41
41function Id(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Wl(e.return,t,n)}function tl(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Qh(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Ge(e,t,r.children,n),r=Se.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Id(e,n,t);else if(e.tag===19)Id(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ge(Se,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&$i(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),tl(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&$i(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}tl(t,!0,n,null,s);break;case"together":tl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function vi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Sn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Rr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(z(153));if(t.child!==null){for(e=t.child,n=er(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=er(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ay(e,t,n){switch(t.tag){case 3:Vh(t),yo();break;case 5:yh(t);break;case 1:st(t.type)&&Ai(t);break;case 4:Xu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ge(Mi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ge(Se,Se.current&1),t.flags|=128,null):n&t.child.childLanes?Hh(e,t,n):(ge(Se,Se.current&1),e=Sn(e,t,n),e!==null?e.sibling:null);ge(Se,Se.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Qh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ge(Se,Se.current),r)break;return null;case 22:case 23:return t.lanes=0,Uh(e,t,n)}return Sn(e,t,n)}var Kh,Xl,qh,Gh;Kh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Xl=function(){};qh=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,yr(rn.current);var s=null;switch(n){case"input":o=xl(e,o),r=xl(e,r),s=[];break;case"select":o=Ce({},o,{value:void 0}),r=Ce({},r,{value:void 0}),s=[];break;case"textarea":o=Sl(e,o),r=Sl(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Oi)}Cl(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(rs.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(rs.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ye("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Gh=function(e,t,n,r){n!==r&&(t.flags|=4)};function zo(e,t){if(!be)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 30,229 bytes, line 41
41function ly(e,t,n){var r=t.pendingProps;switch(Vu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return st(t.type)&&Li(),We(t),null;case 3:return r=t.stateNode,wo(),xe(ot),xe(Qe),Ju(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ys(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ut!==null&&(su(Ut),Ut=null))),Xl(e,t),We(t),null;case 5:Zu(t);var o=yr(ms.current);if(n=t.type,e!==null&&t.stateNode!=null)qh(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(z(166));return We(t),null}if(e=yr(rn.current),Ys(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[en]=t,r[ps]=s,e=(t.mode&1)!==0,n){case"dialog":ye("cancel",r),ye("close",r);break;case"iframe":case"object":case"embed":ye("load",r);break;case"video":case"audio":for(o=0;o<Qo.length;o++)ye(Qo[o],r);break;case"source":ye("error",r);break;case"img":case"image":case"link":ye("error",r),ye("load",r);break;case"details":ye("toggle",r);break;case"input":Kc(r,s),ye("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},ye("invalid",r);break;case"textarea":Gc(r,s),ye("invalid",r)}Cl(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Gs(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Gs(r.textContent,a,e),o=["children",""+a]):rs.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&ye("scroll",r)}switch(n){case"input":Bs(r),qc(r,s,!0);break;case"textarea":Bs(r),Yc(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Oi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ep(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[en]=t,e[ps]=r,Kh(e,t,!1,!1),t.stateNode=e;e:{switch(i=kl(n,r),n){case"dialog":ye("cancel",e),ye("close",e),o=r;break;case"iframe":case"object":case"embed":ye("load",e),o=r;break;case"video":case"audio":for(o=0;o<Qo.length;o++)ye(Qo[o],e);o=r;break;case"source":ye("error",e),o=r;break;case"img":case"image":case"link":ye("error",e),ye("load",e),o=r;break;case"details":ye("toggle",e),o=r;break;case"input":Kc(e,r),o=xl(e,r),ye("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ce({},r,{value:void 0}),ye("invalid",e);break;case"textarea":Gc(e,r),o=Sl(e,r),ye("invalid",e);break;default:o=r}Cl(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Np(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Cp(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&os(e,l):typeof l=="number"&&os(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(rs.hasOwnProperty(s)?l!=null&&s==="onScroll"&&ye("scroll",e):l!=null&&_u(e,s,l,i))}switch(n){case"input":Bs(e),qc(e,r,!1);break;case"textarea":Bs(e),Yc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Jr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Jr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Oi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return We(t),null;case 6:if(e&&t.stateNode!=null)Gh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(n=yr(ms.current),yr(rn.current),Ys(t)){if(r=t.stateNode,n=t.memoizedProps,r[en]=t,(s=r.nodeValue!==n)&&(e=ht,e!==null))switch(e.tag){case 3:Gs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Gs(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[en]=t,t.stateNode=r}return We(t),null;case 13:if(xe(Se),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(be&&pt!==null&&t.mode&1&&!(t.flags&128))ph(),yo(),t.flags|=98560,s=!1;else if(s=Ys(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(z(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(z(317));s[en]=t}else yo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;We(t),s=!1}else Ut!==null&&(su(Ut),Ut=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Se.current&1?Ae===0&&(Ae=3):dc())),t.updateQueue!==null&&(t.flags|=4),We(t),null);case 4:return wo(),Xl(e,t),e===null&&ds(t.stateNode.containerInfo),We(t),null;case 10:return qu(t.type._context),We(t),null;case 17:return st(t.type)&&Li(),We(t),null;case 19:if(xe(Se),s=t.memoizedState,s===null)return We(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)zo(s,!1);else{if(Ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=$i(e),i!==null){for(t.flags|=128,zo(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ge(Se,Se.current&1|2),t.child}e=e.sibling}s.tail!==null&&je()>So&&(t.flags|=128,r=!0,zo(s,!1),t.lanes=4194304)}else{if(!r)if(e=$i(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!be)return We(t),null}else 2*je()-s.renderingStartTime>So&&n!==1073741824&&(t.flags|=128,r=!0,zo(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=je(),t.sibling=null,n=Se.current,ge(Se,r?n&1|2:n&1),t):(We(t),null);case 22:case 23:return cc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dt&1073741824&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}function uy(e,t){switch(Vu(t),t.tag){case 1:return st(t.type)&&Li(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),xe(ot),xe(Qe),Ju(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Zu(t),null;case 13:if(xe(Se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));yo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(Se),null;case 4:return wo(),null;case 10:return qu(t.type._context),null;case 22:case 23:return cc(),null;case 24:return null;default:return null}}var Js=!1,He=!1,cy=typeof WeakSet=="function"?WeakSet:Set,W=null;function Xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ne(e,t,r)}else n.current=null}function Zl(e,t,n){try{n()}catch(r){Ne(e,t,r)}}var zd=!1;function dy(e,t){if(Dl=_i,e=eh(),Uu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,a=-1,l=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==s||r!==0&&f.nodeType!==3||(l=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===o&&(a=i),h===s&&++d===r&&(l=i),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fl={focusedElem:e,selectionRange:n},_i=!1,W=t;W!==null;)if(t=W,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,W=e;else for(;W!==null;){t=W;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,b=S.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Mt(t.type,y),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(C){Ne(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}return S=zd,zd=!1,S}function Jo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Zl(t,n,s)}o=o.next}while(o!==r)}}function fa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Jl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Yh(e){var t=e.alternate;t!==null&&(e.alternate=null,Yh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[en],delete t[ps],delete t[zl],delete t[Kv],delete t[qv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Xh(e){return e.tag===5||e.tag===3||e.tag===4}function $d(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xh(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.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 eu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Oi));else if(r!==4&&(e=e.child,e!==null))for(eu(e,t,n),e=e.sibling;e!==null;)eu(e,t,n),e=e.sibling}function tu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(tu(e,t,n),e=e.sibling;e!==null;)tu(e,t,n),e=e.sibling}var Ie=null,Bt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)Zh(e,t,n),n=n.sibling}function Zh(e,t,n){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(oa,n)}catch{}switch(n.tag){case 5:He||Xr(n,t);case 6:var r=Ie,o=Bt;Ie=null,Pn(e,t,n),Ie=r,Bt=o,Ie!==null&&(Bt?(e=Ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ie.removeChild(n.stateNode));break;case 18:Ie!==null&&(Bt?(e=Ie,n=n.stateNode,e.nodeType===8?qa(e.parentNode,n):e.nodeType===1&&qa(e,n),ls(e)):qa(Ie,n.stateNode));break;case 4:r=Ie,o=Bt,Ie=n.stateNode.containerInfo,Bt=!0,Pn(e,t,n),Ie=r,Bt=o;break;case 0:case 11:case 14:case 15:if(!He&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Zl(n,t,i),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!He&&(Xr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ne(n,t,a)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(He=(r=He)||n.memoizedState!==null,Pn(e,t,n),He=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function Bd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new cy),t.forEach(function(r){var o=wy.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Dt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:Ie=a.stateNode,Bt=!1;break e;case 3:Ie=a.stateNode.containerInfo,Bt=!0;break e;case 4:Ie=a.stateNode.containerInfo,Bt=!0;break e}a=a.return}if(Ie===null)throw Error(z(160));Zh(s,i,o),Ie=null,Bt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Ne(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Jh(t,e),t=t.sibling}function Jh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Dt(t,e),Gt(e),r&4){try{Jo(3,e,e.return),fa(3,e)}catch(y){Ne(e,e.return,y)}try{Jo(5,e,e.return)}catch(y){Ne(e,e.return,y)}}break;case 1:Dt(t,e),Gt(e),r&512&&n!==null&&Xr(n,n.return);break;case 5:if(Dt(t,e),Gt(e),r&512&&n!==null&&Xr(n,n.return),e.flags&32){var o=e.stateNode;try{os(o,"")}catch(y){Ne(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&bp(o,s),kl(a,i);var u=kl(a,s);for(i=0;i<l.length;i+=2){var d=l[i],f=l[i+1];d==="style"?Np(o,f):d==="dangerouslySetInnerHTML"?Cp(o,f):d==="children"?os(o,f):_u(o,d,f,u)}switch(a){case"input":wl(o,s);break;case"textarea":Sp(o,s);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?Jr(o,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?Jr(o,!!s.multiple,s.defaultValue,!0):Jr(o,!!s.multiple,s.multiple?[]:"",!1))}o[ps]=s}catch(y){Ne(e,e.return,y)}}break;case 6:if(Dt(t,e),Gt(e),r&4){if(e.stateNode===null)throw Error(z(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(y){Ne(e,e.return,y)}}break;case 3:if(Dt(t,e),Gt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ls(t.containerInfo)}catch(y){Ne(e,e.return,y)}break;case 4:Dt(t,e),Gt(e);break;case 13:Dt(t,e),Gt(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(lc=je())),r&4&&Bd(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(He=(u=He)||d,Dt(t,e),He=u):Dt(t,e),Gt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(W=e,d=e.child;d!==null;){for(f=W=d;W!==null;){switch(h=W,p=h.child,h.tag){case 0:case 11:case 14:case 15:Jo(4,h,h.return);break;case 1:Xr(h,h.return);var S=h.stateNode;if(typeof S.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(y){Ne(r,n,y)}}break;case 5:Xr(h,h.return);break;case 22:if(h.memoizedState!==null){Wd(f);continue}}p!==null?(p.return=h,W=p):Wd(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=kp("display",i))}catch(y){Ne(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(y){Ne(e,e.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Dt(t,e),Gt(e),r&4&&Bd(e);break;case 21:break;default:Dt(t,e),Gt(e)}}function Gt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Xh(n)){var r=n;break e}n=n.return}throw Error(z(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(os(o,""),r.flags&=-33);var s=$d(e);tu(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=$d(e);eu(e,a,i);break;default:throw Error(z(161))}}catch(l){Ne(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fy(e,t,n){W=e,em(e)}function em(e,t,n){for(var r=(e.mode&1)!==0;W!==null;){var o=W,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Js;if(!i){var a=o.alternate,l=a!==null&&a.memoizedState!==null||He;a=Js;var u=He;if(Js=i,(He=l)&&!u)for(W=o;W!==null;)i=W,l=i.child,i.tag===22&&i.memoizedState!==null?Vd(o):l!==null?(l.return=i,W=l):Vd(o);for(;s!==null;)W=s,em(s),s=s.sibling;W=o,Js=a,He=u}Ud(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,W=s):Ud(e)}}function Ud(e){for(;W!==null;){var t=W;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:He||fa(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!He)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&Nd(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nd(t,i,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&ls(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(z(163))}He||t.flags&512&&Jl(t)}catch(h){Ne(t,t.return,h)}}if(t===e){W=null;break}if(n=t.sibling,n!==null){n.return=t.return,W=n;break}W=t.return}}function Wd(e){for(;W!==null;){var t=W;if(t===e){W=null;break}var n=t.sibling;if(n!==null){n.return=t.return,W=n;break}W=t.return}}function Vd(e){for(;W!==null;){var t=W;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fa(4,t)}catch(l){Ne(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Ne(t,o,l)}}var s=t.return;try{Jl(t)}catch(l){Ne(t,s,l)}break;case 5:var i=t.return;try{Jl(t)}catch(l){Ne(t,i,l)}}}catch(l){Ne(t,t.return,l)}if(t===e){W=null;break}var a=t.sibling;if(a!==null){a.return=t.return,W=a;break}W=t.return}}var py=Math.ceil,Wi=kn.ReactCurrentDispatcher,ic=kn.ReactCurrentOwner,Tt=kn.ReactCurrentBatchConfig,ie=0,Me=null,_e=null,ze=0,dt=0,Zr=ur(0),Ae=0,xs=null,Rr=0,pa=0,ac=0,es=null,nt=null,lc=0,So=1/0,pn=null,Vi=!1,nu=null,Zn=null,ei=!1,Hn=null,Hi=0,ts=0,ru=null,yi=-1,xi=0;function Xe(){return ie&6?je():yi!==-1?yi:yi=je()}function Jn(e){return e.mode&1?ie&2&&ze!==0?ze&-ze:Yv.transition!==null?(xi===0&&(xi=Ip()),xi):(e=pe,e!==0||(e=window.event,e=e===void 0?16:Hp(e.type)),e):1}function Vt(e,t,n,r){if(50<ts)throw ts=0,ru=null,Error(z(185));_s(e,n,r),(!(ie&2)||e!==Me)&&(e===Me&&(!(ie&2)&&(pa|=n),Ae===4&&In(e,ze)),it(e,r),n===1&&ie===0&&!(t.mode&1)&&(So=je()+500,ua&&cr()))}function it(e,t){var n=e.callbackNode;Y0(e,t);var r=ji(e,e===Me?ze:0);if(r===0)n!==null&&Jc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Jc(n),t===1)e.tag===0?Gv(Hd.bind(null,e)):ch(Hd.bind(null,e)),Hv(function(){!(ie&6)&&cr()}),n=null;else{switch(zp(r)){case 1:n=Au;break;case 4:n=Fp;break;case 16:n=Ti;break;case 536870912:n=Mp;break;default:n=Ti}n=lm(n,tm.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tm(e,t){if(yi=-1,xi=0,ie&6)throw Error(z(327));var n=e.callbackNode;if(oo()&&e.callbackNode!==n)return null;var r=ji(e,e===Me?ze:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Qi(e,r);else{t=r;var o=ie;ie|=2;var s=rm();(Me!==e||ze!==t)&&(pn=null,So=je()+500,Nr(e,t));do try{gy();break}catch(a){nm(e,a)}while(!0);Ku(),Wi.current=s,ie=o,_e!==null?t=0:(Me=null,ze=0,t=Ae)}if(t!==0){if(t===2&&(o=Pl(e),o!==0&&(r=o,t=ou(e,o))),t===1)throw n=xs,Nr(e,0),In(e,r),it(e,je()),n;if(t===6)In(e,r);else{if(o=e.current.alternate,!(r&30)&&!hy(o)&&(t=Qi(e,r),t===2&&(s=Pl(e),s!==0&&(r=s,t=ou(e,s))),t===1))throw n=xs,Nr(e,0),In(e,r),it(e,je()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(z(345));case 2:mr(e,nt,pn);break;case 3:if(In(e,r),(r&130023424)===r&&(t=lc+500-je(),10<t)){if(ji(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Xe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Il(mr.bind(null,e,nt,pn),t);break}mr(e,nt,pn);break;case 4:if(In(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Wt(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=je()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*py(r/1960))-r,10<r){e.timeoutHandle=Il(mr.bind(null,e,nt,pn),r);break}mr(e,nt,pn);break;case 5:mr(e,nt,pn);break;default:throw Error(z(329))}}}return it(e,je()),e.callbackNode===n?tm.bind(null,e):null}function ou(e,t){var n=es;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=Qi(e,t),e!==2&&(t=nt,nt=n,t!==null&&su(t)),e}function su(e){nt===null?nt=e:nt.push.apply(nt,e)}function hy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!Ht(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t){for(t&=~ac,t&=~pa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),r=1<<n;e[n]=-1,t&=~r}}function Hd(e){if(ie&6)throw Error(z(327));oo();var t=ji(e,0);if(!(t&1))return it(e,je()),null;var n=Qi(e,t);if(e.tag!==0&&n===2){var r=Pl(e);r!==0&&(t=r,n=ou(e,r))}if(n===1)throw n=xs,Nr(e,0),In(e,t),it(e,je()),n;if(n===6)throw Error(z(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,mr(e,nt,pn),it(e,je()),null}function uc(e,t){var n=ie;ie|=1;try{return e(t)}finally{ie=n,ie===0&&(So=je()+500,ua&&cr())}}function Or(e){Hn!==null&&Hn.tag===0&&!(ie&6)&&oo();var t=ie;ie|=1;var n=Tt.transition,r=pe;try{if(Tt.transition=null,pe=1,e)return e()}finally{pe=r,Tt.transition=n,ie=t,!(ie&6)&&cr()}}function cc(){dt=Zr.current,xe(Zr)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Vv(n)),_e!==null)for(n=_e.return;n!==null;){var r=n;switch(Vu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Li();break;case 3:wo(),xe(ot),xe(Qe),Ju();break;case 5:Zu(r);break;case 4:wo();break;case 13:xe(Se);break;case 19:xe(Se);break;case 10:qu(r.type._context);break;case 22:case 23:cc()}n=n.return}if(Me=e,_e=e=er(e.current,null),ze=dt=t,Ae=0,xs=null,ac=pa=Rr=0,nt=es=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}vr=null}return e}function nm(e,t){do{var n=_e;try{if(Ku(),mi.current=Ui,Bi){for(var r=Ee.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Bi=!1}if(Pr=0,Fe=Oe=Ee=null,Zo=!1,gs=0,ic.current=null,n===null||n.return===null){Ae=1,xs=t,_e=null;break}e:{var s=e,i=n.return,a=n,l=t;if(t=ze,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Od(i);if(p!==null){p.flags&=-257,Ld(p,i,a,s,t),p.mode&1&&Rd(s,u,t),t=p,l=u;var S=t.updateQueue;if(S===null){var y=new Set;y.add(l),t.updateQueue=y}else S.add(l);break e}else{if(!(t&1)){Rd(s,u,t),dc();break e}l=Error(z(426))}}else if(be&&a.mode&1){var b=Od(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Ld(b,i,a,s,t),Hu(bo(l,a));break e}}s=l=bo(l,a),Ae!==4&&(Ae=2),es===null?es=[s]:es.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=zh(s,l,t);kd(s,g);break e;case 1:a=l;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Zn===null||!Zn.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var C=$h(s,a,t);kd(s,C);break e}}s=s.return}while(s!==null)}sm(n)}catch(j){t=j,_e===n&&n!==null&&(_e=n=n.return);continue}break}while(!0)}function rm(){var e=Wi.current;return Wi.current=Ui,e===null?Ui:e}function dc(){(Ae===0||Ae===3||Ae===2)&&(Ae=4),Me===null||!(Rr&268435455)&&!(pa&268435455)||In(Me,ze)}function Qi(e,t){var n=ie;ie|=2;var r=rm();(Me!==e||ze!==t)&&(pn=null,Nr(e,t));do try{my();break}catch(o){nm(e,o)}while(!0);if(Ku(),ie=n,Wi.current=r,_e!==null)throw Error(z(261));return Me=null,ze=0,Ae}function my(){for(;_e!==null;)om(_e)}function gy(){for(;_e!==null&&!B0();)om(_e)}function om(e){var t=am(e.alternate,e,dt);e.memoizedProps=e.pendingProps,t===null?sm(e):_e=t,ic.current=null}function sm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=uy(n,t),n!==null){n.flags&=32767,_e=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ae=6,_e=null;return}}else if(n=ly(n,t,dt),n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);Ae===0&&(Ae=5)}function mr(e,t,n){var r=pe,o=Tt.transition;try{Tt.transition=null,pe=1,vy(e,t,n,r)}finally{Tt.transition=o,pe=r}return null}function vy(e,t,n,r){do oo();while(Hn!==null);if(ie&6)throw Error(z(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(z(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(X0(e,s),e===Me&&(_e=Me=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ei||(ei=!0,lm(Ti,function(){return oo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Tt.transition,Tt.transition=null;var i=pe;pe=1;var a=ie;ie|=4,ic.current=null,dy(e,n),Jh(n,e),Mv(Fl),_i=!!Dl,Fl=Dl=null,e.current=n,fy(n),U0(),ie=a,pe=i,Tt.transition=s}else e.current=n;if(ei&&(ei=!1,Hn=e,Hi=o),s=e.pendingLanes,s===0&&(Zn=null),H0(n.stateNode),it(e,je()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Vi)throw Vi=!1,e=nu,nu=null,e;return Hi&1&&e.tag!==0&&oo(),s=e.pendingLanes,s&1?e===ru?ts++:(ts=0,ru=e):ts=0,cr(),null}function oo(){if(Hn!==null){var e=zp(Hi),t=Tt.transition,n=pe;try{if(Tt.transition=null,pe=16>e?16:e,Hn===null)var r=!1;else{if(e=Hn,Hn=null,Hi=0,ie&6)throw Error(z(331));var o=ie;for(ie|=4,W=e.current;W!==null;){var s=W,i=s.child;if(W.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(W=u;W!==null;){var d=W;switch(d.tag){case 0:case 11:case 15:Jo(8,d,s)}var f=d.child;if(f!==null)f.return=d,W=f;else for(;W!==null;){d=W;var h=d.sibling,p=d.return;if(Yh(d),d===u){W=null;break}if(h!==null){h.return=p,W=h;break}W=p}}}var S=s.alternate;if(S!==null){var y=S.child;if(y!==null){S.child=null;do{var b=y.sibling;y.sibling=null,y=b}while(y!==null)}}W=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,W=i;else e:for(;W!==null;){if(s=W,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Jo(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,W=g;break e}W=s.return}}var m=e.current;for(W=m;W!==null;){i=W;var v=i.child;if(i.subtreeFlags&2064&&v!==null)v.return=i,W=v;else e:for(i=m;W!==null;){if(a=W,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:fa(9,a)}}catch(j){Ne(a,a.return,j)}if(a===i){W=null;break e}var C=a.sibling;if(C!==null){C.return=a.return,W=C;break e}W=a.return}}if(ie=o,cr(),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(oa,e)}catch{}r=!0}return r}finally{pe=n,Tt.transition=t}}return!1}function Qd(e,t,n){t=bo(n,t),t=zh(e,t,1),e=Xn(e,t,1),t=Xe(),e!==null&&(_s(e,1,t),it(e,t))}function Ne(e,t,n){if(e.tag===3)Qd(e,e,n);else for(;t!==null;){if(t.tag===3){Qd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zn===null||!Zn.has(r))){e=bo(n,e),e=$h(t,e,1),t=Xn(t,e,1),e=Xe(),t!==null&&(_s(t,1,e),it(t,e));break}}t=t.return}}function yy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Xe(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&(ze&n)===n&&(Ae===4||Ae===3&&(ze&130023424)===ze&&500>je()-lc?Nr(e,0):ac|=n),it(e,t)}function im(e,t){t===0&&(e.mode&1?(t=Vs,Vs<<=1,!(Vs&130023424)&&(Vs=4194304)):t=1);var n=Xe();e=bn(e,t),e!==null&&(_s(e,t,n),it(e,n))}function xy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),im(e,n)}function wy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(z(314))}r!==null&&r.delete(t),im(e,n)}var am;am=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ot.current)rt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return rt=!1,ay(e,t,n);rt=!!(e.flags&131072)}else rt=!1,be&&t.flags&1048576&&dh(t,Fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;vi(e,t),e=t.pendingProps;var o=vo(t,Qe.current);ro(t,n),o=tc(null,t,r,e,o,n);var s=nc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,st(r)?(s=!0,Ai(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Yu(t),o.updater=da,t.stateNode=o,o._reactInternals=t,Hl(t,r,e,n),t=ql(null,t,r,!0,s,n)):(t.tag=0,be&&s&&Wu(t),Ge(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(vi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Sy(r),e=Mt(r,e),o){case 0:t=Kl(null,t,r,e,n);break e;case 1:t=Fd(null,t,r,e,n);break e;case 11:t=Ad(null,t,r,e,n);break e;case 14:t=Dd(null,t,r,Mt(r.type,e),n);break e}throw Error(z(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),Kl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),Fd(e,t,r,o,n);case 3:e:{if(Vh(t),e===null)throw Error(z(387));
vendor: 12,834 bytes, line 41
41r=t.pendingProps,s=t.memoizedState,o=s.element,vh(e,t),zi(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=bo(Error(z(423)),t),t=Md(e,t,r,n,o);break e}else if(r!==o){o=bo(Error(z(424)),t),t=Md(e,t,r,n,o);break e}else for(pt=Yn(t.stateNode.containerInfo.firstChild),ht=t,be=!0,Ut=null,n=mh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(yo(),r===o){t=Sn(e,t,n);break e}Ge(e,t,r,n)}t=t.child}return t;case 5:return yh(t),e===null&&Ul(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Ml(r,o)?i=null:s!==null&&Ml(r,s)&&(t.flags|=32),Wh(e,t),Ge(e,t,i,n),t.child;case 6:return e===null&&Ul(t),null;case 13:return Hh(e,t,n);case 4:return Xu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=xo(t,null,r,n):Ge(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),Ad(e,t,r,o,n);case 7:return Ge(e,t,t.pendingProps,n),t.child;case 8:return Ge(e,t,t.pendingProps.children,n),t.child;case 12:return Ge(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,ge(Mi,r._currentValue),r._currentValue=i,s!==null)if(Ht(s.value,i)){if(s.children===o.children&&!ot.current){t=Sn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=yn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Wl(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(z(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Wl(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Ge(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ro(t,n),o=jt(o),r=r(o),t.flags|=1,Ge(e,t,r,n),t.child;case 14:return r=t.type,o=Mt(r,t.pendingProps),o=Mt(r.type,o),Dd(e,t,r,o,n);case 15:return Bh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Mt(r,o),vi(e,t),t.tag=1,st(r)?(e=!0,Ai(t)):e=!1,ro(t,n),Ih(t,r,o),Hl(t,r,o,n),ql(null,t,r,!0,e,n);case 19:return Qh(e,t,n);case 22:return Uh(e,t,n)}throw Error(z(156,t.tag))};function lm(e,t){return Dp(e,t)}function by(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kt(e,t,n,r){return new by(e,t,n,r)}function fc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sy(e){if(typeof e=="function")return fc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ru)return 11;if(e===Ou)return 14}return 2}function er(e,t){var n=e.alternate;return n===null?(n=kt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function wi(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")fc(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ur:return Tr(n.children,o,s,t);case Pu:i=8,o|=8;break;case ml:return e=kt(12,n,t,o|2),e.elementType=ml,e.lanes=s,e;case gl:return e=kt(13,n,t,o),e.elementType=gl,e.lanes=s,e;case vl:return e=kt(19,n,t,o),e.elementType=vl,e.lanes=s,e;case yp:return ha(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gp:i=10;break e;case vp:i=9;break e;case Ru:i=11;break e;case Ou:i=14;break e;case Dn:i=16,r=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=kt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function Tr(e,t,n,r){return e=kt(7,e,r,t),e.lanes=n,e}function ha(e,t,n,r){return e=kt(22,e,r,t),e.elementType=yp,e.lanes=n,e.stateNode={isHidden:!1},e}function nl(e,t,n){return e=kt(6,e,null,t),e.lanes=n,e}function rl(e,t,n){return t=kt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ey(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ma(0),this.expirationTimes=Ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ma(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function pc(e,t,n,r,o,s,i,a,l){return e=new Ey(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=kt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yu(s),e}function Cy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Br,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function um(e){if(!e)return rr;e=e._reactInternals;e:{if(Dr(e)!==e||e.tag!==1)throw Error(z(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(st(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(z(171))}if(e.tag===1){var n=e.type;if(st(n))return uh(e,n,t)}return t}function cm(e,t,n,r,o,s,i,a,l){return e=pc(n,r,!0,e,o,s,i,a,l),e.context=um(null),n=e.current,r=Xe(),o=Jn(n),s=yn(r,o),s.callback=t??null,Xn(n,s,o),e.current.lanes=o,_s(e,o,r),it(e,r),e}function ma(e,t,n,r){var o=t.current,s=Xe(),i=Jn(o);return n=um(n),t.context===null?t.context=n:t.pendingContext=n,t=yn(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xn(o,t,i),e!==null&&(Vt(e,o,i,s),hi(e,o,i)),i}function Ki(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Kd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hc(e,t){Kd(e,t),(e=e.alternate)&&Kd(e,t)}function ky(){return null}var dm=typeof reportError=="function"?reportError:function(e){console.error(e)};function mc(e){this._internalRoot=e}ga.prototype.render=mc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));ma(e,t,null,null)};ga.prototype.unmount=mc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Or(function(){ma(null,e,null,null)}),t[wn]=null}};function ga(e){this._internalRoot=e}ga.prototype.unstable_scheduleHydration=function(e){if(e){var t=Up();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mn.length&&t!==0&&t<Mn[n].priority;n++);Mn.splice(n,0,e),n===0&&Vp(e)}};function gc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function va(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function qd(){}function Ny(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=Ki(i);s.call(u)}}var i=cm(t,r,e,0,null,!1,!1,"",qd);return e._reactRootContainer=i,e[wn]=i.current,ds(e.nodeType===8?e.parentNode:e),Or(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=Ki(l);a.call(u)}}var l=pc(e,0,!1,null,null,!1,!1,"",qd);return e._reactRootContainer=l,e[wn]=l.current,ds(e.nodeType===8?e.parentNode:e),Or(function(){ma(t,l,n,r)}),l}function ya(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var l=Ki(i);a.call(l)}}ma(t,i,e,o)}else i=Ny(n,t,e,o,r);return Ki(i)}$p=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ho(t.pendingLanes);n!==0&&(Du(t,n|1),it(t,je()),!(ie&6)&&(So=je()+500,cr()))}break;case 13:Or(function(){var r=bn(e,1);if(r!==null){var o=Xe();Vt(r,e,1,o)}}),hc(e,1)}};Fu=function(e){if(e.tag===13){var t=bn(e,134217728);if(t!==null){var n=Xe();Vt(t,e,134217728,n)}hc(e,134217728)}};Bp=function(e){if(e.tag===13){var t=Jn(e),n=bn(e,t);if(n!==null){var r=Xe();Vt(n,e,t,r)}hc(e,t)}};Up=function(){return pe};Wp=function(e,t){var n=pe;try{return pe=e,t()}finally{pe=n}};Tl=function(e,t,n){switch(t){case"input":if(wl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=la(r);if(!o)throw Error(z(90));wp(r),wl(r,o)}}}break;case"textarea":Sp(e,n);break;case"select":t=n.value,t!=null&&Jr(e,!!n.multiple,t,!1)}};_p=uc;Pp=Or;var Ty={usingClientEntryPoint:!1,Events:[Rs,Qr,la,Tp,jp,uc]},$o={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},jy={bundleType:$o.bundleType,version:$o.version,rendererPackageName:$o.rendererPackageName,rendererConfig:$o.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:kn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Lp(e),e===null?null:e.stateNode},findFiberByHostInstance:$o.findFiberByHostInstance||ky,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ti=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ti.isDisabled&&ti.supportsFiber)try{oa=ti.inject(jy),nn=ti}catch{}}vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ty;vt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gc(t))throw Error(z(200));return Cy(e,t,null,n)};vt.createRoot=function(e,t){if(!gc(e))throw Error(z(299));var n=!1,r="",o=dm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=pc(e,1,!1,null,null,n,!1,r,o),e[wn]=t.current,ds(e.nodeType===8?e.parentNode:e),new mc(t)};vt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(z(188)):(e=Object.keys(e).join(","),Error(z(268,e)));return e=Lp(t),e=e===null?null:e.stateNode,e};vt.flushSync=function(e){return Or(e)};vt.hydrate=function(e,t,n){if(!va(t))throw Error(z(200));return ya(null,e,t,!0,n)};vt.hydrateRoot=function(e,t,n){if(!gc(e))throw Error(z(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=dm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=cm(t,null,e,1,n??null,o,!1,s,i),e[wn]=t.current,ds(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ga(t)};vt.render=function(e,t,n){if(!va(t))throw Error(z(200));return ya(null,e,t,!1,n)};vt.unmountComponentAtNode=function(e){if(!va(e))throw Error(z(40));return e._reactRootContainer?(Or(function(){ya(null,null,e,!1,function(){e._reactRootContainer=null,e[wn]=null})}),!0):!1};vt.unstable_batchedUpdates=uc;vt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!va(n))throw Error(z(200));if(e==null||e._reactInternals===void 0)throw Error(z(38));return ya(e,t,n,!1,r)};vt.version="18.3.1-next-f1338f8080-20240426";function fm(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fm)}catch(e){console.error(e)}}fm(),fp.exports=vt;var Ls=fp.exports;const pm=Su(Ls);var hm,Gd=Ls;hm=Gd.createRoot,Gd.hydrateRoot;const _y="modulepreload",Py=function(e){return"/"+e},Yd={}
41,et=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=Py(l),l in Yd)return;Yd[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":_y,u||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((h,p)=>{f.addEventListener("load",h),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};var xa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},wa=typeof window>"u"||"Deno"in globalThis;function It(){}function Ry(e,t){return typeof e=="function"?e(t):e}function Oy(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ly(e,t){return Math.max(e+(t||0)-Date.now(),0)}function iu(e,t){return typeof e=="function"?e(t):e}function Ay(e,t){return typeof e=="function"?e(t):e}function Xd(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==vc(i,t.options))return!1}else if(!bs(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Zd(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(ws(t.options.mutationKey)!==ws(s))return!1}else if(!bs(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function vc(e,t){return((t==null?void 0:t.queryKeyHashFn)||ws)(e)}function ws(e){return JSON.stringify(e,(t,n)=>au(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function bs(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>bs(e[n],t[n])):!1}function mm(e,t){if(e===t)return e;const n=Jd(e)&&Jd(t);if(n||au(e)&&au(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let d=0;d<i;d++){const f=n?d:s[d];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=mm(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return o===i&&u===o?e:a}return t}function Jd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function au(e){if(!ef(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!ef(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ef(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dy(e){return new Promise(t=>{setTimeout(t,e)})}function Fy(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?mm(e,t):t}function My(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Iy(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var yc=Symbol();function gm(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===yc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var wr,zn,ao,Qf,zy=(Qf=class extends xa{constructor(){super();le(this,wr);le(this,zn);le(this,ao);ee(this,ao,t=>{if(!wa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){L(this,zn)||this.setEventListener(L(this,ao))}onUnsubscribe(){var t;this.hasListeners()||((t=L(this,zn))==null||t.call(this),ee(this,zn,void 0))}setEventListener(t){var n;ee(this,ao,t),(n=L(this,zn))==null||n.call(this),ee(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){L(this,wr)!==t&&(ee(this,wr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,596 bytes, line 41
41this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof L(this,wr)=="boolean"?L(this,wr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},wr=new WeakMap,zn=new WeakMap,ao=new WeakMap,Qf),vm=new zy,lo,$n,uo,Kf,$y=(Kf=class extends xa{constructor(){super();le(this,lo,!0);le(this,$n);le(this,uo);ee(this,uo,t=>{if(!wa&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){L(this,$n)||this.setEventListener(L(this,uo))}onUnsubscribe(){var t;this.hasListeners()||((t=L(this,$n))==null||t.call(this),ee(this,$n,void 0))}setEventListener(t){var n;ee(this,uo,t),(n=L(this,$n))==null||n.call(this),ee(this,$n,t(this.setOnline.bind(this)))}setOnline(t){L(this,lo)!==t&&(ee(this,lo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return L(this,lo)}},lo=new WeakMap,$n=new WeakMap,uo=new WeakMap,Kf),qi=new $y;function By(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Uy(e){return Math.min(1e3*2**e,3e4)}function ym(e){return(e??"online")==="online"?qi.isOnline():!0}var xm=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ol(e){return e instanceof xm}function wm(e){let t=!1,n=0,r=!1,o;const s=By(),i=y=>{var b;r||(h(new xm(y)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>vm.isFocused()&&(e.networkMode==="always"||qi.isOnline())&&e.canRun(),d=()=>ym(e.networkMode)&&e.canRun(),f=y=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,y),o==null||o(),s.resolve(y))},h=y=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,y),o==null||o(),s.reject(y))},p=()=>new Promise(y=>{var b;o=g=>{(r||u())&&y(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),S=()=>{if(r)return;let y;const b=n===0?e.initialPromise:void 0;try{y=b??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(f).catch(g=>{var R;if(r)return;const m=e.retry??(wa?0:3),v=e.retryDelay??Uy,C=typeof v=="function"?v(n,g):v,j=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!j){h(g);return}n++,(R=e.onFail)==null||R.call(e,n,g),Dy(C).then(()=>u()?void 0:p()).then(()=>{t?h(g):S()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?S():p().then(S),s)}}var Wy=e=>setTimeout(e,0);function Vy(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=Wy;const s=a=>{t?e.push(a):o(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Ye=Vy(),br,qf,bm=(qf=class{constructor(){le(this,br)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Oy(this.gcTime)&&ee(this,br,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(wa?1/0:5*60*1e3))}clearGcTimeout(){L(this,br)&&(clearTimeout(L(this,br)),ee(this,br,void 0))}},br=new WeakMap,qf),co,Sr,St,Er,Ve,Ns,Cr,zt,fn,Gf,Hy=(Gf=class extends bm{constructor(t){super();le(this,zt);le(this,co);le(this,Sr);le(this,St);le(this,Er);le(this,Ve);le(this,Ns);le(this,Cr);ee(this,Cr,!1),ee(this,Ns,t.defaultOptions),this.setOptions(t.options),this.observers=[],ee(this,Er,t.client),ee(this,St,L(this,Er).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ee(this,co,Ky(this.options)),this.state=t.state??L(this,co),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=L(this,Ve))==null?void 0:t.promise}setOptions(t){this.options={...L(this,Ns),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&L(this,St).remove(this)}setData(t,n){const r=Fy(this.state.data,t,this.options);return Be(this,zt,fn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Be(this,zt,fn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=L(this,Ve))==null?void 0:r.promise;return(o=L(this,Ve))==null||o.cancel(t),n?n.then(It).catch(It):Prom
vendor: 1,602 bytes, line 41
41ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(L(this,co))}isActive(){return this.observers.some(t=>Ay(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===yc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>iu(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Ly(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=L(this,Ve))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=L(this,Ve))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),L(this,St).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(L(this,Ve)&&(L(this,Cr)?L(this,Ve).cancel({revert:!0}):L(this,Ve).cancelRetry()),this.scheduleGc()),L(this,St).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Be(this,zt,fn).call(this,{type:"invalidate"})}
vendor: 13,738 bytes, line 41
41fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(L(this,Ve))return L(this,Ve).continueRetry(),L(this,Ve).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(ee(this,Cr,!0),r.signal)})},s=()=>{const h=gm(this.options,n),S=(()=>{const y={client:L(this,Er),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return ee(this,Cr,!1),this.options.persister?this.options.persister(h,S,this):h(S)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:L(this,Er),state:this.state,fetchFn:s};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),ee(this,Sr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Be(this,zt,fn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,S,y,b;ol(h)&&h.silent||Be(this,zt,fn).call(this,{type:"error",error:h}),ol(h)||((S=(p=L(this,St).config).onError)==null||S.call(p,h,this),(b=(y=L(this,St).config).onSettled)==null||b.call(y,this.state.data,h,this)),this.scheduleGc()};return ee(this,Ve,wm({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,S,y,b;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(S=(p=L(this,St).config).onSuccess)==null||S.call(p,h,this),(b=(y=L(this,St).config).onSettled)==null||b.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Be(this,zt,fn).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Be(this,zt,fn).call(this,{type:"pause"})},onContinue:()=>{Be(this,zt,fn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),L(this,Ve).start()}},co=new WeakMap,Sr=new WeakMap,St=new WeakMap,Er=new WeakMap,Ve=new WeakMap,Ns=new WeakMap,Cr=new WeakMap,zt=new WeakSet,fn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Qy(r.data,this.options),fetchMeta:t.meta??null};case"success":return ee(this,Sr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return ol(o)&&o.revert&&L(this,Sr)?{...L(this,Sr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ye.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),L(this,St).notify({query:this,type:"updated",action:t})})},Gf);function Qy(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ym(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Ky(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Xt,Yf,qy=(Yf=class extends xa{constructor(t={}){super();le(this,Xt);this.config=t,ee(this,Xt,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??vc(o,n);let i=this.get(s);return i||(i=new Hy({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){L(this,Xt).has(t.queryHash)||(L(this,Xt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=L(this,Xt).get(t.queryHash);n&&(t.destroy(),n===t&&L(this,Xt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ye.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return L(this,Xt).get(t)}getAll(){return[...L(this,Xt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Xd(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Xd(t,r)):n}notify(t){Ye.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ye.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ye.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Xt=new WeakMap,Yf),Zt,qe,kr,Jt,An,Xf,Gy=(Xf=class extends bm{constructor(t){super();le(this,Jt);le(this,Zt);le(this,qe);le(this,kr);this.mutationId=t.mutationId,ee(this,qe,t.mutationCache),ee(this,Zt,[]),this.state=t.state||Yy(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){L(this,Zt).includes(t)||(L(this,Zt).push(t),this.clearGcTimeout(),L(this,qe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ee(this,Zt,L(this,Zt).filter(n=>n!==t)),this.scheduleGc(),L(this,qe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){L(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():L(this,qe).remove(this))}continue(){var t;return((t=L(this,kr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,a,l,u,d,f,h,p,S,y,b,g,m,v,C,j,R,P,w;const n=()=>{Be(this,Jt,An).call(this,{type:"continue"})};ee(this,kr,wm({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,N)=>{Be(this,Jt,An).call(this,{type:"failed",failureCount:E,error:N})},onPause:()=>{Be(this,Jt,An).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>L(this,qe).canRun(this)}));const r=this.state.status==="pending",o=!L(this,kr).canStart();try{if(r)n();else{Be(this,Jt,An).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=L(this,qe).config).onMutate)==null?void 0:i.call(s,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&Be(this,Jt,An).call(this,{type:"pending",context:N,variables:t,isPaused:o})}const E=await L(this,kr).start();return await((d=(u=L(this,qe).config).onSuccess)==null?void 0:d.call(u,E,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,E,t,this.state.context)),await((S=(p=L(this,qe).config).onSettled)==null?void 0:S.call(p,E,null,this.state.variables,this.state.context,this)),await((b=(y=this.options).onSettled)==null?void 0:b.call(y,E,null,t,this.state.context)),Be(this,Jt,An).call(this,{type:"success",data:E}),E}catch(E){try{throw await((m=(g=L(this,qe).config).onError)==null?void 0:m.call(g,E,t,this.state.context,this)),await((C=(v=this.options).onError)==null?void 0:C.call(v,E,t,this.state.context)),await((R=(j=L(this,qe).config).onSettled)==null?void 0:R.call(j,void 0,E,this.state.variables,this.state.context,this)),await((w=(P=this.options).onSettled)==null?void 0:w.call(P,void 0,E,t,this.state.context)),E}finally{Be(this,Jt,An).call(this,{type:"error",error:E})}}finally{L(this,qe).runNext(this)}}},Zt=new WeakMap,qe=new WeakMap,kr=new WeakMap,Jt=new WeakSet,An=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ye.batch(()=>{L(this,Zt).forEach(r=>{r.onMutationUpdate(t)}),L(this,qe).notify({mutation:this,type:"updated",action:t})})},Xf);function Yy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var mn,$t,Ts,Zf,Xy=(Zf=class extends xa{constructor(t={}){super();le(this,mn);le(this,$t);le(this,Ts);this.config=t,ee(this,mn,new Set),ee(this,$t,new Map),ee(this,Ts,0)}build(t,n,r){const o=new Gy({mutationCache:this,mutationId:++Is(this,Ts)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){L(this,mn).add(t);const n=ni(t);if(typeof n=="string"){const r=L(this,$t).get(n);r?r.push(t):L(this,$t).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(L(this,mn).delete(t)){const n=ni(t);if(typeof n=="string"){const r=L(this,$t).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&L(this,$t).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ni(t);if(typeof n=="string"){const r=L(this,$t).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=ni(t);if(typeof n=="string"){const o=(r=L(this,$t).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ye.batch(()=>{L(this,mn).forEach(t=>{this.notify({type:"removed",mutation:t})}),L(this,mn).clear(),L(this,$t).clear()})}getAll(){return Array.from(L(this,mn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Zd(n,r))}findAll(t={}){return this.getAll().filter(n=>Zd(t,n))}notify(t){Ye.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ye.batch(()=>Promise.all(t.map(n=>n.continue().catch(It))))}},mn=new WeakMap,$t=new WeakMap,Ts=new WeakMap,Zf);function ni(e){var t;return(t=e.options.scope)==null?void 0:t.id}function tf(e){return{onFetch:(t,n)=>{var d,f,h,p,S;const r=t.options,o=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],i=((S=t.state.data)==null?void 0:S.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const b=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=gm(t.options,t.fetchOptions),m=async(v,C,j)=>{if(y)return Promise.reject();if(C==null&&v.pages.length)return Promise.resolve(v);const P=(()=>{const A={client:t.client,queryKey:t.queryKey,pageParam:C,direction:j?"backward":"forward",meta:t.options.meta};return b(A),A})(),w=await g(P),{maxPages:E}=t.options,N=j?Iy:My;return{pages:N(v.pages,w,E),pageParams:N(v.pageParams,C,E)}};if(o&&s.length){const v=o==="backward",C=v?Zy:nf,j={pages:s,pageParams:i},R=C(r,j);a=await m(j,R,v)}else{const v=e??s.length;do{const C=l===0?i[0]??r.initialPageParam:nf(r,a);if(l>0&&C==null)break;a=await m(a,C),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,b;return(b=(y=t.options).persister)==null?void 0:b.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function nf(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Zy(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ke,Bn,Un,fo,po,Wn,ho,mo,Jf,Jy=(Jf=class{constructor(e={}){le(this,ke);le(this,Bn);le(this,Un);le(this,fo);le(this,po);le(this,Wn);le(this,ho);le(this,mo);ee(this,ke,e.queryCache||new qy),ee(this,Bn,e.mutationCache||new Xy),ee(this,Un,e.defaultOptions||{}),ee(this,fo,new Map),ee(this,po,new Map),ee(this,Wn,0)}mount(){Is(this,Wn)._++,L(this,Wn)===1&&(ee(this,ho,vm.subscribe(async e=>{e&&(await this.resumePausedMutations(),L(this,ke).onFocus())})),ee(this,mo,qi.subscribe(async e=>{e&&(await this.resumePausedMutations(),L(this,ke).onOnline())})))}unmount(){var e,t;Is(this,Wn)._--,L(this,Wn)===0&&((e=L(this,ho))==null||e.call(this),ee(this,ho,void 0),(t=L(this,mo))==null||t.call(this),ee(this,mo,void 0))}isFetching(e){return L(this,ke).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return L(this,Bn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=L(this,ke).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=L(this,ke).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(iu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return L(this,ke).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=L(this,ke).get(r.queryHash),s=o==null?void 0:o.state.data,i=Ry(t,s);if(i!==void 0)return L(this,ke).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Ye.batch(()=>L(this,ke).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=L(this,ke).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=L(this,ke);Ye.batch(()=>
41{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=L(this,ke);return Ye.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ye.batch(()=>L(this,ke).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(It).catch(It)}invalidateQueries(e,t={}){return Ye.batch(()=>(L(this,ke).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ye.batch(()=>L(this,ke).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(It)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(It)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=L(this,ke).build(this,t);return n.isStaleByTime(iu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(It).catch(It)}fetchInfiniteQuery(e){return e.behavior=tf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(It).catch(It)}ensureInfiniteQueryData(e){return e.behavior=tf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return qi.isOnline()?L(this,Bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return L(this,ke)}getMutationCache(){return L(this,Bn)}getDefaultOptions(){return L(this,Un)}setDefaultOptions(e){ee(this,Un,e)}setQueryDefaults(e,t){L(this,fo).set(ws(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...L(this,fo).values()],n={};return t.forEach(r=>{bs(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){L(this,po).set(ws(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...L(this,po).values()],n={};return t.forEach(r=>{bs(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...L(this,Un).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=vc(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===yc&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...L(this,Un).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){L(this,ke).clear(),L(this,Bn).clear()}},ke=new WeakMap,Bn=new WeakMap,Un=new WeakMap,fo=new WeakMap,po=new WeakMap,Wn=new WeakMap,ho=new WeakMap,mo=new WeakMap,Jf),ex=x.createContext(void 0),tx=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(ex.Provider,{value:e,children:t}));/**
42 * @remix-run/router v1.23.0
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */function Ss(){return Ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ss.apply(this,arguments)}var Qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Qn||(Qn={}));const rf="popstate";function nx(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:a}=r.location;return lu("",{pathname:s,search:i,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Gi(o)}return ox(t,n,null,e)}function Pe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Sm(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rx(){return Math.random().toString(36).substr(2,8)}function of(e,t){return{usr:e.state,key:e.key,idx:t}}function lu(e,t,n,r){return n===void 0&&(n=null),Ss({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jo(t):t,{state:n,key:t&&t.key||r||rx()})}function Gi(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function jo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function ox(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,a=Qn.Pop,l=null,u=d();u==null&&(u=0,i.replaceState(Ss({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){a=Qn.Pop;let b=d(),g=b==null?null:b-u;u=b,l&&l({action:a,location:y.location,delta:g})}function h(b,g){a=Qn.Push;let m=lu(y.location,b,g);u=d()+1;let v=of(m,u),C=y.createHref(m);try{i.pushState(v,"",C)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(C)}s&&l&&l({action:a,location:y.location,delta:1})}function p(b,g){a=Qn.Replace;let m=lu(y.location,b,g);u=d();let v=of(m,u),C=y.createHref(m);i.replaceState(v,"",C),s&&l&&l({action:a,location:y.location,delta:0})}function S(b){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:Gi(b);return m=m.replace(/ $/,"%20"),Pe(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(o,i)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(rf,f),l=b,()=>{o.removeEventListener(rf,f),l=null}},createHref(b){return t(o,b)},createURL:S,encodeLocation(b){let g=S(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return i.go(b)}};return y}var sf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(sf||(sf={}));function sx(e,t,n){return n===void 0&&(n="/"),ix(e,t,n,!1)}function ix(e,t,n,r){let o=typeof t=="string"?jo(t):t,s=xc(o.pathname||"/",n);if(s==null)return null;let i=Em(e);ax(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let u=yx(s);a=gx(i[l],u,r)}return a}function Em(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&(Pe(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
50id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=tr([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(Pe(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Em(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:hx(u,s.index),routesMeta:d})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of Cm(s.path))o(s,i,l)}),t}function Cm(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=Cm(r.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function ax(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:mx(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const lx=/^:[\w-]+$/,ux=3,cx=2,dx=1,fx=10,px=-2,af=e=>e==="*";function hx(e,t){let n=e.split("/"),r=n.length;return n.some(af)&&(r+=px),t&&(r+=cx),n.filter(o=>!af(o)).reduce((o,s)=>o+(lx.test(s)?ux:s===""?dx:fx),r)}function mx(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function gx(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f=lf({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),h=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=lf({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;
vendor: 6,917 bytes, lines 50-59
50Object.assign(o,f.params),i.push({params:o,pathname:tr([s,f.pathname]),pathnameBase:Sx(tr([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=tr([s,f.pathnameBase]))}return i}function lf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=vx(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let y=a[f]||"";i=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const S=a[f];return p&&!S?u[h]=void 0:u[h]=(S||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function vx(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Sm(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function yx(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Sm(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function xc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function xx(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?jo(e):e;return{pathname:n?n.startsWith("/")?n:wx(n,t):t,search:Ex(r),hash:Cx(o)}}function wx(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function sl(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function bx(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function km(e,t){let n=bx(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Nm(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=jo(e):(o=Ss({},e),Pe(!o.pathname||!o.pathname.includes("?"),sl("?","pathname","search",o)),Pe(!o.pathname||!o.pathname.includes("#"),sl("#","pathname","hash",o)),Pe(!o.search||!o.search.includes("#"),sl("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),f-=1;o.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=xx(o,a),u=i&&i!=="/"&&i.endsWith("/"),d=(s||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),Sx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ex=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Cx=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function kx(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Tm=["post","put","patch","delete"];new Set(Tm);const Nx=["get",...Tm];new Set(Nx);/**
51 * React Router v6.30.1
52 *
53 * Copyright (c) Remix Software Inc.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE.md file in the root directory of this source tree.
57 *
58 * @license MIT
59 */function Es(){return Es=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Es.apply(this,arguments)}const wc=x.createContext(null),Tx=x.createContext(null),Fr=x.createContext(null),ba=x.createContext(null),dr=x.createContext({outlet:null,matches:[],isDataRoute:!1}),jm=x.createContext(null);function jx(e,t){let{relative:n}=t===void 0?{}:t;As()||Pe(!1);let{basename:r,navigator:o}=x.useContext(Fr),{hash:s,pathname:i,search:a}=Pm(e,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:tr([r,i])),o.createHref({pathname:l,search:a,hash:s})}function As(){return x.useContext(ba)!=null}function Mr(){return As()||Pe(!1),x.useContext(ba).location}function _m(e){x.useContext(Fr).static||x.useLayoutEffect(e)}function _x(){let{isDataRoute:e}=x.useContext(dr);return e?Ux():Px()}function Px(){As()||Pe(!1);let e=x.useContext(wc),{basename:t,future:n,navigator:r}=x.useContext(Fr),{matches:o}=x.useContext(dr),{pathname:s}=Mr(),i=JSON.stringify(km(o,n.v7_relativeSplatPath)),a=x.useRef(!1);return _m(()=>{a.current=!0}),x.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Nm(u,JSON.parse(i),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:tr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,s,e])}function N2(){let{matches:e}=x.useContext(dr),t=e[e.length-1];return t?t.params:{}}function Pm(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Fr),{matches:o}=x.useContext(dr),{pathname:s}=Mr(),i=JSON.stringify(km(o,r.v7_relativeSplatPath));return x.useMemo(()=>Nm(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function Rx(e,t){return Ox(e,t)}function Ox(e,t,n,r){As()||Pe(!1);let{navigator:o}=x.useContext(Fr),{matches:s}=x.useContext(dr),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=Mr(),d;if(t){var f;let b=typeof t=="string"?jo(t):t;l==="/"||(f=b.pathname)!=null&&f.startsWith(l)||Pe(!1),d=b}else d=u;let h=d.pathname||"/",p=h;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let S=sx(e,{pathname:p}),y=Mx(S&&S.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:tr([l,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:tr([l,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&y?x.createElement(ba.Provider,{value:{location:Es({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Qn.Pop}},y):y}function Lx(){let e=Bx(),t=kx(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application 
59Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const Ax=x.createElement(Lx,null);class Dx extends x.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){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(dr.Provider,{value:this.props.routeContext},x.createElement(jm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Fx(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(wc);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(dr.Provider,{value:t},r)}function Mx(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let d=i.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Pe(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:p}=n,S=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||S){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,h)=>{let p,S=!1,y=null,b=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||Ax,l&&(u<0&&h===0?(S=!0,b=null):u===h&&(S=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),m=()=>{let v;return p?v=y:S?v=b:f.route.Component?v=x.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,x.createElement(Fx,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?x.createElement(Dx,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Rm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Rm||{}),Yi=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Yi||{});function Ix(e){let t=x.useContext(wc);return t||Pe(!1),t}function zx(e){let t=x.useContext(Tx);return t||Pe(!1),t}function $x(e){let t=x.useContext(dr);return t||Pe(!1),t}function Om(e){let t=$x(),n=t.matches[t.matches.length-1];return n.route.id||Pe(!1),n.route.id}function Bx(){var e;let t=x.useContext(jm),n=zx(Yi.UseRouteError),r=Om(Yi.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Ux(){let{router:e}=Ix(Rm.UseNavigateStable),t=Om(Yi.UseNavigateStable),n=x.useRef(!1);return _m(()=>{n.current=!0}),x.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Es({fromRouteId:t},s)))},[e,t])}function Wx(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Re(e){Pe(!1)}function Vx(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Qn.Pop,navigator:s,static:i=!1,future:a}=e;As()&&Pe(!1);let l=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:s,static:i,future:Es({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof r=="string"&&(r=jo(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:S="default"}=r,y=x.useMemo(()=>{let b=xc(d,l);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:S},navigationType:o}}
59,[l,d,f,h,p,S,o]);return y==null?null:x.createElement(Fr.Provider,{value:u},x.createElement(ba.Provider,{children:n,value:y}))}function Hx(e){let{children:t,location:n}=e;return Rx(uu(t),n)}new Promise(()=>{});function uu(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let s=[...t,o];if(r.type===x.Fragment){n.push.apply(n,uu(r.props.children,s));return}r.type!==Re&&Pe(!1),!r.props.index||!r.props.children||Pe(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=uu(r.props.children,s)),n.push(i)}),n}/**
60 * React Router DOM v6.30.1
61 *
62 * Copyright (c) Remix Software Inc.
63 *
64 * This source code is licensed under the MIT license found in the
65 * LICENSE.md file in the root directory of this source tree.
66 *
67 * @license MIT
68 */function cu(){return cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cu.apply(this,arguments)}function Qx(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Kx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function qx(e,t){return e.button===0&&(!t||t==="_self")&&!Kx(e)}const Gx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Yx="6";try{window.__reactRouterVersion=Yx}catch{}const Xx="startTransition",uf=cp[Xx];function Zx(e){let{basename:t,children:n,future:r,window:o}=e,s=x.useRef();s.current==null&&(s.current=nx({window:o,v5Compat:!0}));let i=s.current,[a,l]=x.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=x.useCallback(f=>{u&&uf?uf(()=>l(f)):l(f)},[l,u]);return x.useLayoutEffect(()=>i.listen(d),[i,d]),x.useEffect(()=>Wx(r),[r]),x.createElement(Vx,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const Jx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",e1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nt=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:a,target:l,to:u,preventScrollReset:d,viewTransition:f}=t,h=Qx(t,Gx),{basename:p}=x.useContext(Fr),S,y=!1;if(typeof u=="string"&&e1.test(u)&&(S=u,Jx))try{let v=new URL(window.location.href),C=u.startsWith("//")?new URL(v.protocol+u):new URL(u),j=xc(C.pathname,p);C.origin===v.origin&&j!=null?u=j+C.search+C.hash:y=!0}catch{}let b=jx(u,{relative:o}),g=t1(u,{replace:i,state:a,target:l,preventScrollReset:d,relative:o,viewTransition:f});function m(v){r&&r(v),v.defaultPrevented||g(v)}return x.createElement("a",cu({},h,{href:S||b,onClick:y||s?r:m,ref:n,target:l}))});var cf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(cf||(cf={}));var df;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(df||(df={}));function t1(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=_x(),u=Mr(),d=Pm(e,{relative:i});return x.useCallback(f=>{if(qx(f,n)){f.preventDefault();let h=r!==void 0?r:Gi(u)===Gi(d);l(e,{replace:h,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[u,l,d,r,o,n,e,s,i,a])}const n1=()=>{const{pathname:e,hash:t}=Mr();return x.useEffect(()=>{if(t){const n=t.replace("#","");requestAnimationFrame(()=>{const r=document.getElementById(n);r?r.scrollIntoView({behavior:"auto",block:"start"}):window.scrollTo({top:0,left:0,behavior:"auto"})});return}window.scrollTo({top:0,left:0,behavior:"auto"})},[e,t]),null};var ff=["light","dark"],r1="(prefers-color-scheme: dark)",o1=x.createContext(void 0),s1={setTheme:e=>{},themes:[]},i1=()=>{var e;return(e=x.useContext(o1))!=null?e:s1};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:l})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?ff.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(S,y=!1,b=!0)=>{let g=i?i[S]:S,m=y?S+"|| ''":`'${g}'`,v="";return o&&b&&!y&&ff.includes(S)&&(v+=`d.style.colorScheme = '${S}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${r1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var a1=e=>{switch(e){case"success":return c1;case"info":return f1;case"warning":return d1;case"error":return p1;default:return null}},l1=Array(12).fill(0),u1=({visible:e,className:t})=>B.createElement("div",{className:["sonner-loading-wrapper",t].filter(
68Boolean).join(" "),"data-visible":e},B.createElement("div",{className:"sonner-spinner"},l1.map((n,r)=>B.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),c1=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),d1=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),f1=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),p1=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),h1=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},B.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),B.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),m1=()=>{let[e,t]=B.useState(document.hidden);return B.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},du=1,g1=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:du++,s=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
68this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async l=>{if(s=["resolve",l],B.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(y1(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>i.then(()=>s[0]==="reject"?u(s[1]):l(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||du++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},tt=new g1,v1=(e,t)=>{let n=(t==null?void 0:t.id)||du++;return tt.addToast({title:e,...t,id:n}),n},y1=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",x1=v1,w1=()=>tt.toasts,b1=()=>tt.getActiveToasts();Object.assign(x1,{success:tt.success,info:tt.info,warning:tt.warning,error:tt.error,custom:tt.custom,message:tt.message,promise:tt.promise,dismiss:tt.dismiss,loading:tt.loading},{getHistory:w1,getToasts:b1});function S1(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}S1(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
68left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
68:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
68--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
69`);function ri(e){return e.label!==void 0}var E1=3,C1="32px",k1="16px",pf=4e3,N1=356,T1=14,j1=20,_1=200;function Ft(...e){return e.filter(Boolean).join(" ")}function P1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var R1=e=>{var t,n,r,o,s,i,a,l,u,d,f;let{invert:h,toast:p,unstyled:S,interacting:y,setHeights:b,visibleToasts:g,heights:m,index:v,toasts:C,expanded:j,removeToast:R,defaultRichColors:P,closeButton:w,style:E,cancelButtonStyle:N,actionButtonStyle:A,className:O="",descriptionClassName:U="",duration:F,position:K,gap:H,loadingIcon:_,expandByDefault:T,classNames:k,icons:D,closeButtonAriaLabel:$="Close toast",pauseWhenPageIsHidden:I}
69=e,[M,V]=B.useState(null),[Z,re]=B.useState(null),[q,G]=B.useState(!1),[Y,se]=B.useState(!1),[Q,fe]=B.useState(!1),[he,ae]=B.useState(!1),[ce,ne]=B.useState(!1),[Ke,X]=B.useState(0),[de,Pt]=B.useState(0),xt=B.useRef(p.duration||F||pf),lt=B.useRef(null),ut=B.useRef(null),De=v===0,wt=v+1<=g,ue=p.type,Te=p.dismissible!==!1,Rt=p.className||"",Oo=p.descriptionClassName||"",fr=B.useMemo(()=>m.findIndex(J=>J.toastId===p.id)||0,[m,p.id]),Nn=B.useMemo(()=>{var J;return(J=p.closeButton)!=null?J:w},[p.closeButton,w]),ct=B.useMemo(()=>p.duration||F||pf,[p.duration,F]),un=B.useRef(0),cn=B.useRef(0),Mc=B.useRef(0),zr=B.useRef(null),[Zg,Jg]=K.split("-"),Ic=B.useMemo(()=>m.reduce((J,me,we)=>we>=fr?J:J+me.height,0),[m,fr]),zc=m1(),e0=p.invert||h,Pa=ue==="loading";cn.current=B.useMemo(()=>fr*H+Ic,[fr,Ic]),B.useEffect(()=>{xt.current=ct},[ct]),B.useEffect(()=>{G(!0)},[]),B.useEffect(()=>{let J=ut.current;if(J){let me=J.getBoundingClientRect().height;return Pt(me),b(we=>[{toastId:p.id,height:me,position:p.position},...we]),()=>b(we=>we.filter(Ot=>Ot.toastId!==p.id))}},[b,p.id]),B.useLayoutEffect(()=>{if(!q)return;let J=ut.current,me=J.style.height;J.style.height="auto";let we=J.getBoundingClientRect().height;J.style.height=me,Pt(we),b(Ot=>Ot.find(Lt=>Lt.toastId===p.id)?Ot.map(Lt=>Lt.toastId===p.id?{...Lt,height:we}:Lt):[{toastId:p.id,height:we,position:p.position},...Ot])},[q,p.title,p.description,b,p.id]);let Tn=B.useCallback(()=>{se(!0),X(cn.current),b(J=>J.filter(me=>me.toastId!==p.id)),setTimeout(()=>{R(p)},_1)},[p,R,b,cn]);B.useEffect(()=>{if(p.promise&&ue==="loading"||p.duration===1/0||p.type==="loading")return;let J;return j||y||I&&zc?(()=>{if(Mc.current<un.current){let me=new Date().getTime()-un.current;xt.current=xt.current-me}Mc.current=new Date().getTime()})():xt.current!==1/0&&(un.current=new Date().getTime(),J=setTimeout(()=>{var me;(me=p.onAutoClose)==null||me.call(p,p),Tn()},xt.current)),()=>clearTimeout(J)},[j,y,p,ue,I,zc,Tn]),B.useEffect(()=>{p.delete&&Tn()},[Tn,p.delete]);function t0(){var J,me,we;return D!=null&&D.loading?B.createElement("div",{className:Ft(k==null?void 0:k.loader,(J=p==null?void 0:p.classNames)==null?void 0:J.loader,"sonner-loader"),"data-visible":ue==="loading"},D.loading):_?B.createElement("div",{className:Ft(k==null?void 0:k.loader,(me=p==null?void 0:p.classNames)==null?void 0:me.loader,"sonner-loader"),"data-visible":ue==="loading"},_):B.createElement(u1,{className:Ft(k==null?void 0:k.loader,(we=p==null?void 0:p.classNames)==null?void 0:we.loader),visible:ue==="loading"})}return B.createElement("li",{tabIndex:0,ref:ut,className:Ft(O,Rt,k==null?void 0:k.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,k==null?void 0:k.default,k==null?void 0:k[ue],(n=p==null?void 0:p.classNames)==null?void 0:n[ue]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:P,"data-styled":!(p.jsx||p.unstyled||S),"data-mounted":q,"data-promise":!!p.promise,"data-swiped":ce,"data-removed":Y,"data-visible":wt,"data-y-position":Zg,"data-x-position":Jg,"data-index":v,"data-front":De,"data-swiping":Q,"data-dismissible":Te,"data-type":ue,"data-invert":e0,"data-swipe-out":he,"data-swipe-direction":Z,"data-expanded":!!(j||T&&q),style:{"--index":v,"--toasts-before":v,"--z-index":C.length-v,"--offset":`${Y?Ke:cn.current}px`,"--initial-height":T?"auto":`${de}px`,...E,...p.style},onDragEnd:()=>{fe(!1),V(null),zr.current=null},onPointerDown:J=>{Pa||!Te||(lt.current=new Date,X(cn.current),J.target.setPointerCapture(J.pointerId),J.target.tagName!=="BUTTON"&&(fe(!0),zr.current={x:J.clientX,y:J.clientY}))},onPointerUp:()=>{var J,me,we,Ot;if(he||!Te)return;zr.current=null;let Lt=Number(((J=ut.current)==null?void 0:J.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),jn=Number(((me=ut.current)==null?void 0:me.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),pr=new Date().getTime()-((we=lt.current)==null?void 0:we.getTime()),At=M==="x"?Lt:jn,_n=Math.abs(At)/pr;if(Math.abs(At)>=j1||_n>.11){X(cn.current),(Ot=p.onDismiss)==null||Ot.call(p,p),re(M==="x"?Lt>0?"right":"left":jn>0?"down":"up"),Tn(),ae(!0),ne(!1);return}fe(!1),V(null)},onPointerMove:J=>{var me,we,Ot,Lt;if(!zr.current||!Te||((me=window.getSelection())==null?void 0:me.toString().length)>0)return;let jn=J.clientY-zr.current.y,pr=J.clientX-zr.current.x,At=(we=e.swipeDirections)!=null?we:P1(K);!M&&(Math.abs(pr)>1||Math.abs(jn)>1)&&V(Math.abs(pr)>Math.abs(jn)?"x":"y");let _n={x:0,y:0};M==="y"?(At.includes("top")||At.includes("bottom"))&&(At.includes("top")&&jn<0||At.includes("bottom")&&jn>0)&&(_n.y=jn):M==="x"&&(At.includes("left")||At.includes("right"))&&(At.includes("left")&&pr<0||At.includes("right")&&pr>0)&&(_n.x=pr),(Math.abs(_n.x)>0||Math.abs(_n.y)>0)&&ne(!0),(Ot=ut.current)==null||Ot.style.setProperty("--swipe-amount-x",`${_n.x}px`),(Lt=ut.current)==null||Lt.style.setProperty("--swipe-amount-y",`${_n.y}px`)}},Nn&&!p.jsx?B.createElement("button",{"aria-label":$,"data-disabled":Pa,"data-close-button":!0,onClick:Pa||!Te?()=>{}:()=>{var J;Tn(),(J=p.onDismiss)==null||J.call(p,p)},className:Ft(k==null?void 0:k.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(s=D==null?void 0:D.close)!=null?s:h1):null,p.jsx||x.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:B.createElement(B.Fragment,null,ue||p.icon||p.promise?B.createElement("div",{"data-icon":"",className:Ft(k==null?void 0:k.icon,(i=p==null?void 0:p.classNames)==null?void 0:i.icon)}
69,p.promise||p.type==="loading"&&!p.icon?p.icon||t0():null,p.type!=="loading"?p.icon||(D==null?void 0:D[ue])||a1(ue):null):null,B.createElement("div",{"data-content":"",className:Ft(k==null?void 0:k.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},B.createElement("div",{"data-title":"",className:Ft(k==null?void 0:k.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?B.createElement("div",{"data-description":"",className:Ft(U,Oo,k==null?void 0:k.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),x.isValidElement(p.cancel)?p.cancel:p.cancel&&ri(p.cancel)?B.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||N,onClick:J=>{var me,we;ri(p.cancel)&&Te&&((we=(me=p.cancel).onClick)==null||we.call(me,J),Tn())},className:Ft(k==null?void 0:k.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,x.isValidElement(p.action)?p.action:p.action&&ri(p.action)?B.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||A,onClick:J=>{var me,we;ri(p.action)&&((we=(me=p.action).onClick)==null||we.call(me,J),!J.defaultPrevented&&Tn())},className:Ft(k==null?void 0:k.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function hf(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function O1(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",a=s?k1:C1;function l(u){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=a:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var L1=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:a,offset:l,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:S=E1,toastOptions:y,dir:b=hf(),gap:g=T1,loadingIcon:m,icons:v,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:j}=e,[R,P]=B.useState([]),w=B.useMemo(()=>Array.from(new Set([r].concat(R.filter(I=>I.position).map(I=>I.position)))),[R,r]),[E,N]=B.useState([]),[A,O]=B.useState(!1),[U,F]=B.useState(!1),[K,H]=B.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=B.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=B.useRef(null),D=B.useRef(!1),$=B.useCallback(I=>{P(M=>{var V;return(V=M.find(Z=>Z.id===I.id))!=null&&V.delete||tt.dismiss(I.id),M.filter(({id:Z})=>Z!==I.id)})},[]);return B.useEffect(()=>tt.subscribe(I=>{if(I.dismiss){P(M=>M.map(V=>V.id===I.id?{...V,delete:!0}:V));return}setTimeout(()=>{pm.flushSync(()=>{P(M=>{let V=M.findIndex(Z=>Z.id===I.id);return V!==-1?[...M.slice(0,V),{...M[V],...I},...M.slice(V+1)]:[I,...M]})})})}),[]),B.useEffect(()=>{if(d!=="system"){H(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;let I=window.matchMedia("(prefers-color-scheme: dark)");try{I.addEventListener("change",({matches:M})=>{H(M?"dark":"light")})}catch{I.addListener(({matches:V})=>{try{H(V?"dark":"light")}catch(Z){console.error(Z)}})}},[d]),B.useEffect(()=>{R.length<=1&&O(!1)},[R]),B.useEffect(()=>{let I=M=>{var V,Z;o.every(re=>M[re]||M.code===re)&&(O(!0),(V=_.current)==null||V.focus()),M.code==="Escape"&&(document.activeElement===_.current||(Z=_.current)!=null&&Z.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",I),()=>document.removeEventListener("keydown",I)},[o]),B.useEffect(()=>{if(_.current)return()=>{k.current&&(k.current.focus({preventScroll:!0}),k.current=null,D.current=!1)}},[_.current]),B.createElement("section",{ref:t,"aria-label":`${C} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},w.map((I,M)=>{var V;let[Z,re]=I.split("-");return R.length?B.createElement("ol",{key:I,dir:b==="auto"?hf():b,tabIndex:-1,ref:_,className:a,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":Z,"data-lifted":A&&R.length>1&&!s,"data-x-position":re,style:{"--front-toast-height":`${((V=E[0])==null?void 0:V.height)||0}px`,"--width":`${N1}px`,"--gap":`${g}px`,...p,...O1(l,u)},onBlur:q=>{D.current&&!q.currentTarget.contains(q.relatedTarget)&&(D.current=!1,k.current&&(k.current.focus({preventScroll:!0}),k.current=null))},onFocus:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||D.current||(D.current=!0,k.current=q.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{U||O(!1)},onDragEnd:()=>O(!1),onPointerDown:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},R.filter(q=>!q.position&&M===0||q.position===I).map((q,G)=>{var Y,se;return B.createElement(R1,{key:q.id,icons:v,index:G,toast:q,defaultRichColors:f,duration:(Y=y==null?void 0:y.duration)!=null?Y:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:S,closeButton:(se=y==null?void 0:y.closeButton)!=null?se:i,interacting:U,position:I,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:$,toasts:R.filter(Q=>Q.position==q.position),heights:E.filter(Q=>Q.position==q.position),setHeights:N,expandByDefault:s,gap:g,loadingIcon:m,expanded:A,pauseWhenPageIsHidden:j,swipeDirections:e.swipeDirections})})):null}))});const A1=({...e})=>{const{theme:t="system"}=i1();return c.jsx(L1,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},D1=1,F1=1e6;let il=0;function M1(){return il=(il+1)%Number.MAX_SAFE_INTEGER,il.toString()}const al=new Map,mf=e=>{if(al.has(e))return;const t=setTimeout(()=>{al.delete(e),ns({type:"REMOVE_TOAST",toastId:e})},F1);al.set(e,t)},I1=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,D1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
vendor: 13,963 bytes, line 69
69return n?mf(n):e.toasts.forEach(r=>{mf(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},bi=[];let Si={toasts:[]};function ns(e){Si=I1(Si,e),bi.forEach(t=>{t(Si)})}function z1({...e}){const t=M1(),n=o=>ns({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>ns({type:"DISMISS_TOAST",toastId:t});return ns({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function $1(){const[e,t]=x.useState(Si);return x.useEffect(()=>(bi.push(t),()=>{const n=bi.indexOf(t);n>-1&&bi.splice(n,1)}),[e]),{...e,toast:z1,dismiss:n=>ns({type:"DISMISS_TOAST",toastId:n})}}function Le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function gf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lm(...e){return t=>{let n=!1;const r=e.map(o=>{const s=gf(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():gf(e[o],null)}}}}function Qt(...e){return x.useCallback(Lm(...e),e)}function T2(e,t){const n=x.createContext(t),r=s=>{const{children:i,...a}=s,l=x.useMemo(()=>a,Object.values(a));return c.jsx(n.Provider,{value:l,children:i})};r.displayName=e+"Provider";function o(s){const i=x.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,o]}function Sa(e,t=[]){let n=[];function r(s,i){const a=x.createContext(i),l=n.length;n=[...n,i];const u=f=>{var g;const{scope:h,children:p,...S}=f,y=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,b=x.useMemo(()=>S,Object.values(S));return c.jsx(y.Provider,{value:b,children:p})};u.displayName=s+"Provider";function d(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,S=x.useContext(p);if(S)return S;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=n.map(i=>x.createContext(i));return function(a){const l=(a==null?void 0:a[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,B1(o,...t)]}function B1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function fu(e){const t=U1(e),n=x.forwardRef((r,o)=>{const{children:s,...i}=r,a=x.Children.toArray(s),l=a.find(V1);if(l){const u=l.props.children,d=a.map(f=>f===l?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:f);return c.jsx(t,{...i,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,d):null})}return c.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function U1(e){const t=x.forwardRef((n,r)=>{const{children:o,...s}=n;if(x.isValidElement(o)){const i=Q1(o),a=H1(s,o.props);return o.type!==x.Fragment&&(a.ref=r?Lm(r,i):i),x.cloneElement(o,a)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Am=Symbol("radix.slottable");function W1(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Am,t}function V1(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Am}function H1(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Q1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function K1(e){const t=e+"CollectionProvider",[n,r]=Sa(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{const{scope:b,children:g}=y,m=B.useRef(null),v=B.useRef(new Map).current;return c.jsx(o,{scope:b,itemMap:v,collectionRef:m,children:g})};i.displayName=t;const a=e+"CollectionSlot",l=fu(a),u=B.forwardRef((y,b)=>{const{scope:g,children:m}=y,v=s(a,g),C=Qt(b,v.collectionRef);return c.jsx(l,{ref:C,children:m})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=fu(d),p=B.forwardRef((y,b)=>{const{scope:g,children:m,...v}=y,C=B.useRef(null),j=Qt(b,C),R=s(d,g);return B.useEffect(()=>(R.itemMap.set(C,{ref:C,...v}),()=>void R.itemMap.delete(C))),c.jsx(h,{[f]:"",ref:j,children:m})});p.displayName=d;function S(y){const b=s(e+"CollectionConsumer",y);return B.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((R,P)=>v.indexOf(R.ref.current)-v.indexOf(P.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},S,r]}var q1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],at=q1.reduce((e,t)=>{const n=fu(`Primitive.${t}`),r=x.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Dm(e,t){e&&Ls.flushSync(()=>e.dispatchEvent(t))}function or(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function G1(e,t=globalThis==null?void 0:globalThis.document){const n=or(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Y1="DismissableLayer",pu="dismissableLayer.update",X1="dismissableLayer.pointerDownOutside",Z1="dismissableLayer.focusOutside",vf,Fm=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bc=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=x.useContext(Fm),[d,f]=x.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),S=Qt(t,P=>f(P)),y=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(b),m=d?y.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,C=m>=g,j=ew(P=>{const w=P.target,E=[...u.branches].some(N=>N.contains(w));!C||E||(o==null||o(P),i==null||i(P),P.defaultPrevented||a==null||a())},h),R=tw(P=>{const w=P.target;[...u.branches].some(N=>N.contains(w))||(s==null||s(P),i==null||i(P),P.defaultPrevented||a==null||a())},h);return G1(P=>{m===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},h),x.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(vf=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),yf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=vf)}},[d,h,n,u]),x.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),yf())},[d,u]),x.useEffect(()=>{const P=()=>p({});return document.addEventListener(pu,P),()=>document.removeEventListener(pu,P)},[]),c.jsx(at.div,{...l,ref:S,style:{pointerEvents:v?C?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,R.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,j.onPointerDownCapture)})});bc.displayName=Y1;var J1="DismissableLayerBranch",Mm=x.forwardRef((e,t)=>{const n=x.useContext(Fm),r=x.useRef(null),o=Qt(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),c.jsx(at.div,{...e,ref:o})});Mm.displayName=J1;function ew(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){Im(X1,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function tw(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=x.useRef(!1);return x.useEffect(()=>{const o=s=>{s.target&&!r.current&&Im(Z1,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yf(){const e=new CustomEvent(pu);document.dispatchEvent(e)}function Im(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Dm(o,s):o.dispatchEvent(s)}var nw=bc,rw=Mm,sr=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},ow="Portal",zm=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=x.useState(!1);sr(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?pm.createPortal(c.jsx(at.div,{...r,ref:t}),i):null});zm.displayName=ow;function sw(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var Sc=e=>{const{present:t,children:n}=e,r=iw(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=Qt(r.ref,aw(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:s}):null};Sc.displayName="Presence";function iw(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),s=x.useRef("none"),i=e?"mounted":"unmounted",[a,l]=sw(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=oi(r.current);s.current=a==="mounted"?u:"none"},[a]),sr(()=>{const u=r.current,d=o.current;if(d!==e){const h=s.current,p=oi(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),sr(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const y=oi(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(s.current=oi(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function oi(e){return(e==null?void 0:e.animationName)||"none"}function aw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var lw=cp[" useInsertionEffect ".trim().toString()]||sr;function uw({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=cw({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const d=x.useRef(e!==void 0);x.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const u=x.useCallback(d=>{var f;if(a){const h=dw(d)?d(e):d;h!==e&&((f=i.current)==null||f.call(i,h))}else s(d)},[a,e,s,i]);return[l,u]}function cw({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),s=x.useRef(t);return lw(()=>{s.current=t},[t]),x.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function dw(e){return typeof e=="function"}var fw=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),pw="VisuallyHidden",Ea=x.forwardRef((e,t)=>c.jsx(at.span,{...e,ref:t,style:{...fw,...e.style}}));Ea.displayName=pw;var hw=Ea,Ec="ToastProvider",[Cc,mw,gw]=K1("Toast"),[$m,j2]=Sa("Toast",[gw]),[vw,Ca]=$m(Ec),Bm=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,l]=x.useState(null),[u,d]=x.useState(0),f=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ec}\`. Expected non-empty \`string\`.`),c.jsx(Cc.Provider,{scope:t,children:c.jsx(vw,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:x.useCallback(()=>d(p=>p+1),[]),onToastRemove:x.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:i})})};Bm.displayName=Ec;var Um="ToastViewport",yw=["F8"],hu="toast.viewportPause",mu="toast.viewportResume",Wm=x.forwardRef((e,t)=>
69{const{__scopeToast:n,hotkey:r=yw,label:o="Notifications ({hotkey})",...s}=e,i=Ca(Um,n),a=mw(n),l=x.useRef(null),u=x.useRef(null),d=x.useRef(null),f=x.useRef(null),h=Qt(t,f,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=i.toastCount>0;x.useEffect(()=>{const b=g=>{var v;r.length!==0&&r.every(C=>g[C]||g.code===C)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),x.useEffect(()=>{const b=l.current,g=f.current;if(S&&b&&g){const m=()=>{if(!i.isClosePausedRef.current){const R=new CustomEvent(hu);g.dispatchEvent(R),i.isClosePausedRef.current=!0}},v=()=>{if(i.isClosePausedRef.current){const R=new CustomEvent(mu);g.dispatchEvent(R),i.isClosePausedRef.current=!1}},C=R=>{!b.contains(R.relatedTarget)&&v()},j=()=>{b.contains(document.activeElement)||v()};return b.addEventListener("focusin",m),b.addEventListener("focusout",C),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",j),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",C),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",j),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[S,i.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:b})=>{const m=a().map(v=>{const C=v.ref.current,j=[C,...Rw(C)];return b==="forwards"?j:j.reverse()});return(b==="forwards"?m.reverse():m).flat()},[a]);return x.useEffect(()=>{const b=f.current;if(b){const g=m=>{var j,R,P;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const w=document.activeElement,E=m.shiftKey;if(m.target===b&&E){(j=u.current)==null||j.focus();return}const O=y({tabbingDirection:E?"backwards":"forwards"}),U=O.findIndex(F=>F===w);ll(O.slice(U+1))?m.preventDefault():E?(R=u.current)==null||R.focus():(P=d.current)==null||P.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[a,y]),c.jsxs(rw,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&c.jsx(gu,{ref:u,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"forwards"});ll(b)}}),c.jsx(Cc.Slot,{scope:n,children:c.jsx(at.ol,{tabIndex:-1,...s,ref:h})}),S&&c.jsx(gu,{ref:d,onFocusFromOutsideViewport:()=>{const b=y({tabbingDirection:"backwards"});ll(b)}})]})});Wm.displayName=Um;var Vm="ToastFocusProxy",gu=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=Ca(Vm,n);return c.jsx(Ea,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});gu.displayName=Vm;var Ds="Toast",xw="toast.swipeStart",ww="toast.swipeMove",bw="toast.swipeCancel",Sw="toast.swipeEnd",Hm=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[a,l]=uw({prop:r,defaultProp:o??!0,onChange:s,caller:Ds});return c.jsx(Sc,{present:n||a,children:c.jsx(kw,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:or(e.onPause),onResume:or(e.onResume),onSwipeStart:Le(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Le(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Le(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Le(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});Hm.displayName=Ds;var[Ew,Cw]=$m(Ds,{onClose(){}}),kw=x.forwardRef((e,t)=>
69{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...S}=e,y=Ca(Ds,n),[b,g]=x.useState(null),m=Qt(t,F=>g(F)),v=x.useRef(null),C=x.useRef(null),j=o||y.duration,R=x.useRef(0),P=x.useRef(j),w=x.useRef(0),{onToastAdd:E,onToastRemove:N}=y,A=or(()=>{var K;(b==null?void 0:b.contains(document.activeElement))&&((K=y.viewport)==null||K.focus()),i()}),O=x.useCallback(F=>{!F||F===1/0||(window.clearTimeout(w.current),R.current=new Date().getTime(),w.current=window.setTimeout(A,F))},[A]);x.useEffect(()=>{const F=y.viewport;if(F){const K=()=>{O(P.current),u==null||u()},H=()=>{const _=new Date().getTime()-R.current;P.current=P.current-_,window.clearTimeout(w.current),l==null||l()};return F.addEventListener(hu,H),F.addEventListener(mu,K),()=>{F.removeEventListener(hu,H),F.removeEventListener(mu,K)}}},[y.viewport,j,l,u,O]),x.useEffect(()=>{s&&!y.isClosePausedRef.current&&O(j)},[s,j,y.isClosePausedRef,O]),x.useEffect(()=>(E(),()=>N()),[E,N]);const U=x.useMemo(()=>b?Zm(b):null,[b]);return y.viewport?c.jsxs(c.Fragment,{children:[U&&c.jsx(Nw,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),c.jsx(Ew,{scope:n,onClose:A,children:Ls.createPortal(c.jsx(Cc.ItemSlot,{scope:n,children:c.jsx(nw,{asChild:!0,onEscapeKeyDown:Le(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||A(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(at.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...S,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Le(e.onKeyDown,F=>{F.key==="Escape"&&(a==null||a(F.nativeEvent),F.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,A()))}),onPointerDown:Le(e.onPointerDown,F=>{F.button===0&&(v.current={x:F.clientX,y:F.clientY})}),onPointerMove:Le(e.onPointerMove,F=>{if(!v.current)return;const K=F.clientX-v.current.x,H=F.clientY-v.current.y,_=!!C.current,T=["left","right"].includes(y.swipeDirection),k=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,D=T?k(0,K):0,$=T?0:k(0,H),I=F.pointerType==="touch"?10:2,M={x:D,y:$},V={originalEvent:F,delta:M};_?(C.current=M,si(ww,f,V,{discrete:!1})):xf(M,y.swipeDirection,I)?(C.current=M,si(xw,d,V,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(K)>I||Math.abs(H)>I)&&(v.current=null)}),onPointerUp:Le(e.onPointerUp,F=>{const K=C.current,H=F.target;if(H.hasPointerCapture(F.pointerId)&&H.releasePointerCapture(F.pointerId),C.current=null,v.current=null,K){const _=F.currentTarget,T={originalEvent:F,delta:K};xf(K,y.swipeDirection,y.swipeThreshold)?si(Sw,p,T,{discrete:!0}):si(bw,h,T,{discrete:!0}),_.addEventListener("click",k=>k.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),Nw=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ca(Ds,t),[s,i]=x.useState(!1),[a,l]=x.useState(!1);return _w(()=>i(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:c.jsx(zm,{asChild:!0,children:c.jsx(Ea,{...r,children:s&&c.jsxs(c.Fragment,{children:[o.label," ",n]})})})},Tw="ToastTitle",Qm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(at.div,{...r,ref:t})});Qm.displayName=Tw;var jw="ToastDescription",Km=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(at.div,{...r,ref:t})});Km.displayName=jw;var qm="ToastAction",Gm=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(Xm,{altText:n,asChild:!0,children:c.jsx(kc,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${qm}\`. Expected non-empty \`string\`.`),null)});Gm.displayName=qm;var Ym="ToastClose",kc=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Cw(Ym,n);return c.jsx(Xm,{asChild:!0,children:c.jsx(at.button,{type:"button",...r,ref:t,onClick:Le(e.onClick,o.onClose)})})});kc.displayName=Ym;var Xm=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.jsx(at.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Zm(e){const t=[];
vendor: 8,593 bytes, lines 69-139
69return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Pw(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Zm(r))}}),t}function si(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Dm(o,s):o.dispatchEvent(s)}var xf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function _w(e=()=>{}){const t=or(e);sr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Pw(e){return e.nodeType===e.ELEMENT_NODE}function Rw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ll(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Ow=Bm,Jm=Wm,eg=Hm,tg=Qm,ng=Km,rg=Gm,og=kc;function sg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=sg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ig(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=sg(e))&&(r&&(r+=" "),r+=t);return r}const wf=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,bf=ig,Lw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return bf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const h=wf(d)||wf(f);return o[u][h]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(S=>{let[y,b]=S;return Array.isArray(b)?b.includes({...s,...a}[y]):{...s,...a}[y]===b})?[...u,f,h]:u},[]);return bf(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
70 * @license lucide-react v0.462.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const Aw=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ag=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
75 * @license lucide-react v0.462.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */var Dw={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"};/**
80 * @license lucide-react v0.462.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const Fw=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...a},l)=>x.createElement("svg",{ref:l,...Dw,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ag("lucide",o),...a},[...i.map(([u,d])=>x.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
85 * @license lucide-react v0.462.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const an=(e,t)=>{const n=x.forwardRef(({className:r,...o},s)=>x.createElement(Fw,{ref:s,iconNode:t,className:ag(`lucide-${Aw(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
90 * @license lucide-react v0.462.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const Mw=an("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
95 * @license lucide-react v0.462.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const Iw=an("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
100 * @license lucide-react v0.462.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const zw=an("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
105 * @license lucide-react v0.462.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const $w=an("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
110 * @license lucide-react v0.462.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const Bw=an("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
115 * @license lucide-react v0.462.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const Uw=an("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"}]]);/**
120 * @license lucide-react v0.462.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const lg=an("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);/**
125 * @license lucide-react v0.462.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const Ww=an("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",key:"oel41y"}]]);/**
130 * @license lucide-react v0.462.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const Vw=an("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
135 * @license lucide-react v0.462.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const ug=an("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Nc="-",Hw=e=>{const t=Kw(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(Nc);return a[0]===""&&a.length!==1&&a.shift(),cg(a,t)||Qw(i)},getConflictingClassGroupIds:(i,a)=>{const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}}},cg=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?cg(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Nc);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},Sf=/^\[(.+)\]$/,Qw=e=>{if(Sf.test(e)){const t=Sf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Kw=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 4,206 bytes, line 139
139return Gw(Object.entries(e.classGroups),n).forEach(([s,i])=>{vu(i,r,s,t)}),r},vu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Ef(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(qw(o)){vu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{vu(i,Ef(t,s),n,r)})})},Ef=(e,t)=>{let n=e;return t.split(Nc).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},qw=e=>e.isThemeGetter,Gw=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e,Yw=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},dg="!",Xw=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=a=>{const l=[];let u=0,d=0,f;for(let b=0;b<a.length;b++){let g=a[b];if(u===0){if(g===o&&(r||a.slice(b,b+s)===t)){l.push(a.slice(d,b)),d=b+s;continue}if(g==="/"){f=b;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?a:a.substring(d),p=h.startsWith(dg),S=p?h.substring(1):h,y=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:S,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:i}):i},Zw=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Jw=e=>({cache:Yw(e.cacheSize),parseClassName:Xw(e),...Hw(e)}),eb=/\s+/,tb=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(eb);let a="";for(let l=i.length-1;l>=0;l-=1){const u=i[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let S=!!p,y=r(S?h.substring(0,p):h);if(!y){if(!S){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}S=!1}const b=Zw(d).join(":"),g=f?b+dg:b,m=g+y;if(s.includes(m))continue;s.push(m);const v=o(y,S);for(let C=0;C<v.length;++C){const j=v[C];s.push(g+j)}a=u+(a.length>0?" "+a:a)}return a};function nb(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=fg(t))&&(r&&(r+=" "),r+=n);return r}const fg=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=fg(e[r]))&&(n&&(n+=" "),n+=t);return n};function rb(e,...t){let n,r,o,s=i;function i(l){const u=t.reduce((d,f)=>f(d),e());return n=Jw(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const d=tb(l,n);return o(l,d),d}return function(){return s(nb.apply(null,arguments))}}const ve=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},pg=/^\[(?:([a-z-]+):)?(.+)\]$/i,ob=/^\d+\/\d+$/,sb=new Set(["px","full","screen"]),ib=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ab=/\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$/,lb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ub=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>so(e)||sb.has(e)||ob.test(e),Rn=e=>_o(e,"length",yb),so=e=>!!e&&!Number.isNaN(Number(e)),ul=e=>_o(e,"number",so),Bo=e=>!!e&&Number.isInteger(Number(e)),db=e=>e.endsWith("%")&&so(e.slice(0,-1)),te=e=>pg.test(e),On=e=>ib.test(e),fb=new Set(["length","size","percentage"]),pb=e=>_o(e,fb,hg),hb=e=>_o(e,"position",hg),mb=new Set(["image","url"]),gb=e=>_o(e,mb,wb),vb=e=>_o(e,"",xb),Uo=()=>!0,_o=(e,t,n)=>{const r=pg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},yb=e=>ab.test(e)&&!lb.test(e),hg=()=>!1,xb=e=>ub.test(e),wb=e=>cb.test(e),bb=()=>{const e=ve("colors"),t=ve("spacing"),n=ve("blur"),r=ve("brightness"),o=ve("borderColor"),s=ve("borderRadius"),i=ve("borderSpacing"),a=ve("borderWidth"),l=ve("contrast"),u=ve("grayscale"),d=ve("hueRotate"),f=ve("invert"),h=ve("gap"),p=ve("gradientColorStops"),S=ve("gradientColorStopPositions"),y=ve("inset"),b=ve("margin"),g=ve("op
139acity"),m=ve("padding"),v=ve("saturate"),C=ve("scale"),j=ve("sepia"),R=ve("skew"),P=ve("space"),w=ve("translate"),E=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",te,t],O=()=>[te,t],U=()=>["",dn,Rn],F=()=>["auto",so,te],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],k=()=>["","0",te],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[so,te];return{cacheSize:500,separator:":",theme:{colors:[Uo],spacing:[dn,Rn],blur:["none","",On,te],brightness:$(),borderColor:[e],borderRadius:["none","","full",On,te],borderSpacing:O(),borderWidth:U(),contrast:$(),grayscale:k(),hueRotate:$(),invert:k(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[db,Rn],inset:A(),margin:A(),opacity:$(),padding:O(),saturate:$(),scale:$(),sepia:k(),skew:$(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[On]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"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:[...K(),te]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bo,te]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:k()}],shrink:[{shrink:k()}],order:[{order:["first","last","none",Bo,te]}],"grid-cols":[{"grid-cols":[Uo]}],"col-start-end":[{col:["auto",{span:["full",Bo,te]},te]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[Uo]}],"row-start-end":[{row:["auto",{span:[Bo,te]},te]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[On]},On]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",On,Rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ul]}],"font-family":[{font:[Uo]}],"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",te]}],"line-clamp":[{"line-clamp":["none",so,ul]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",dn,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",dn,Rn]}],"underline-offset":[{"underline-offset":["auto",dn,te]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te]}],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",te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),hb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}
vendor: 4,885 bytes, line 139
139],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...H(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"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":[dn,te]}],"outline-w":[{outline:[dn,Rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[dn,Rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",On,vb]}],"shadow-color":[{shadow:[Uo]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",On,te]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Bo,te]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],accent:[{accent:["auto",e]}],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",te]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 4,180 bytes, line 139
139],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[dn,Rn,ul]}],stroke:[{stroke:[e,"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"]}}},Sb=rb(bb);function Ir(...e){return Sb(ig(e))}const Eb=Ow,mg=x.forwardRef(({className:e,...t},n)=>c.jsx(Jm,{ref:n,className:Ir("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));mg.displayName=Jm.displayName;const Cb=Lw("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),gg=x.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(eg,{ref:r,className:Ir(Cb({variant:t}),e),...n}));gg.displayName=eg.displayName;
vendor: 4,793 bytes, line 139
139const kb=x.forwardRef(({className:e,...t},n)=>c.jsx(rg,{ref:n,className:Ir("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));kb.displayName=rg.displayName;const vg=x.forwardRef(({className:e,...t},n)=>c.jsx(og,{ref:n,className:Ir("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:c.jsx(ug,{className:"h-4 w-4"})}));vg.displayName=og.displayName;const yg=x.forwardRef(({className:e,...t},n)=>c.jsx(tg,{ref:n,className:Ir("text-sm font-semibold",e),...t}));yg.displayName=tg.displayName;const xg=x.forwardRef(({className:e,...t},n)=>c.jsx(ng,{ref:n,className:Ir("text-sm opacity-90",e),...t}));xg.displayName=ng.displayName;function Nb(){const{toasts:e}=$1();return c.jsxs(Eb,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return c.jsxs(gg,{...s,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(yg,{children:n}),r&&c.jsx(xg,{children:r})]}),o,c.jsx(vg,{})]},t)}),c.jsx(mg,{})]})}const Tb=["top","right","bottom","left"],ir=Math.min,ft=Math.max,Xi=Math.round,ii=Math.floor,on=e=>({x:e,y:e}),jb={left:"right",right:"left",bottom:"top",top:"bottom"},_b={start:"end",end:"start"};function yu(e,t,n){return ft(e,ir(t,n))}function En(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function Po(e){return e.split("-")[1]}function Tc(e){return e==="x"?"y":"x"}function jc(e){return e==="y"?"height":"width"}const Pb=new Set(["top","bottom"]);function tn(e){return Pb.has(Cn(e))?"y":"x"}function _c(e){return Tc(tn(e))}function Rb(e,t,n){n===void 0&&(n=!1);const r=Po(e),o=_c(e),s=jc(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Zi(i)),[i,Zi(i)]}function Ob(e){const t=Zi(e);return[xu(e),t,xu(t)]}function xu(e){return e.replace(/start|end/g,t=>_b[t])}const Cf=["left","right"],kf=["right","left"],Lb=["top","bottom"],Ab=["bottom","top"];function Db(e,t,n){switch(e){case"top":case"bottom":return n?t?kf:Cf:t?Cf:kf;case"left":case"right":return t?Lb:Ab;default:return[]}}function Fb(e,t,n,r){const o=Po(e);let s=Db(Cn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(xu)))),s}function Zi(e){return e.replace(/left|right|bottom|top/g,t=>jb[t])}function Mb(e){return{top:0,right:0,bottom:0,left:0,...e}}function wg(e){return typeof e!="number"?Mb(e):{top:e,right:e,bottom:e,left:e}}function Ji(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Nf(e,t,n){let{reference:r,floating:o}=e;const s=tn(t),i=_c(t),a=jc(i),l=Cn(t),u=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Po(t)){case"start":p[i]-=h*(n&&u?-1:1);break;case"end":p[i]+=h*(n&&u?-1:1);break}return p}const Ib=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Nf(u,r,l),h=r,p={},S=0;for(let y=0;y<a.length;y++){const{name:b,fn:g}=a[y],{x:m,y:v,data:C,reset:j}=await g({x:d,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:u,platform:i,elements:{reference:e,floating:t}});d=m??d,f=v??f,p={...p,[b]:{...p[b],...C}},j&&S<=50&&(S++,typeof j=="object"&&(j.placement&&(h=j.placement),j.rects&&(u=j.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):j.rects),{x:d,y:f}=Nf(u,h,l)),y=-1)}return{x:d,y:f,placement:h,strategy:o,middlewareData:p}};async function Cs(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=En(t,e),S=wg(p),b=a[h?f==="floating"?"reference":"floating":f],g=Ji(await s.getClippingRect
vendor: 8,960 bytes, line 139
139({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),m=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},j=Ji(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-j.top+S.top)/C.y,bottom:(j.bottom-g.bottom+S.bottom)/C.y,left:(g.left-j.left+S.left)/C.x,right:(j.right-g.right+S.right)/C.x}}const zb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=En(e,t)||{};if(u==null)return{};const f=wg(d),h={x:n,y:r},p=_c(o),S=jc(p),y=await i.getDimensions(u),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",v=b?"clientHeight":"clientWidth",C=s.reference[S]+s.reference[p]-h[p]-s.floating[S],j=h[p]-s.reference[p],R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let P=R?R[v]:0;(!P||!await(i.isElement==null?void 0:i.isElement(R)))&&(P=a.floating[v]||s.floating[S]);const w=C/2-j/2,E=P/2-y[S]/2-1,N=ir(f[g],E),A=ir(f[m],E),O=N,U=P-y[S]-A,F=P/2-y[S]/2+w,K=yu(O,F,U),H=!l.arrow&&Po(o)!=null&&F!==K&&s.reference[S]/2-(F<O?N:A)-y[S]/2<0,_=H?F<O?F-O:F-U:0;return{[p]:h[p]+_,data:{[p]:K,centerOffset:F-K-_,...H&&{alignmentOffset:_}},reset:H}}}),$b=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:y=!0,...b}=En(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=Cn(o),m=tn(a),v=Cn(a)===a,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),j=h||(v||!y?[Zi(a)]:Ob(a)),R=S!=="none";!h&&R&&j.push(...Fb(a,y,S,C));const P=[a,...j],w=await Cs(t,b),E=[];let N=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&E.push(w[g]),f){const F=Rb(o,i,C);E.push(w[F[0]],w[F[1]])}if(N=[...N,{placement:o,overflows:E}],!E.every(F=>F<=0)){var A,O;const F=(((A=s.flip)==null?void 0:A.index)||0)+1,K=P[F];if(K&&(!(f==="alignment"?m!==tn(K):!1)||N.every(T=>T.overflows[0]>0&&tn(T.placement)===m)))return{data:{index:F,overflows:N},reset:{placement:K}};let H=(O=N.filter(_=>_.overflows[0]<=0).sort((_,T)=>_.overflows[1]-T.overflows[1])[0])==null?void 0:O.placement;if(!H)switch(p){case"bestFit":{var U;const _=(U=N.filter(T=>{if(R){const k=tn(T.placement);return k===m||k==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(k=>k>0).reduce((k,D)=>k+D,0)]).sort((T,k)=>T[1]-k[1])[0])==null?void 0:U[0];_&&(H=_);break}case"initialPlacement":H=a;break}if(o!==H)return{reset:{placement:H}}}return{}}}};function Tf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function jf(e){return Tb.some(t=>e[t]>=0)}const Bb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=En(e,t);switch(r){case"referenceHidden":{const s=await Cs(t,{...o,elementContext:"reference"}),i=Tf(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:jf(i)}}}case"escaped":{const s=await Cs(t,{...o,altBoundary:!0}),i=Tf(s,n.floating);return{data:{escapedOffsets:i,escaped:jf(i)}}}default:return{}}}}},bg=new Set(["left","top"]);async function Ub(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Cn(n),a=Po(n),l=tn(n)==="y",u=bg.has(i)?-1:1,d=s&&l?-1:1,f=En(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof S=="number"&&(p=a==="end"?S*-1:S),l?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const Wb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await Ub(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Vb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...l}=En(e,t),u={x:n,y:r},d=await Cs(t,l),f=tn(Cn(o)),h=Tc(f);let p=u[h],S=u[f];if(s){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+d[b],v=p-d[g];p=yu(m,p,v)}if(i){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=S+d[b],v=S-d[g];S=yu(m,S,v)}const y=a.fn({...t,[h]:p,[f]:S});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[f]:i}}}}}},Hb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=En(e,t),d={x:n,y:r},f=tn(o),h=Tc(f);let p=d[h],S=d[f];const y=En(a,t),b=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",C=s.reference[h]-s.floating[v]+b.mainAxis,j=s.reference[h]+s.reference[v]-b.mainAxis;p<C?p=C:p>j&&(p=j)}if(u){var g,m;const v=h==="y"?"width":"height",C=bg.has(Cn(o)),j=s.reference[f]-s.floating[v]+(C&&((g=i.offset)==null?void 0:g[f])||0)+(C?0:b.crossAxis),R=s.reference[f]+s.reference[v]+(C?0:((m=i.offset)==null?void 0:m[f])||0)-(C?b.crossAxis:0);S<j?S=j:S>R&&(S=R)}return{[h]:p,[f]:S}}}},Qb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=En(e,t),d=await Cs(t,u),f=Cn(o),h=Po(o),p=tn(o)==="y",{width:S,height:y}=s.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,b=h==="end"?"top":"bottom");const m=y-d.top-d.bottom,v=S-d.left-d.right,C=ir(y-d[b],m),j=ir(S-d[g],v),R=!t.middlewareData.shift;let P=C,w=j;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=m),R&&!h){const N=ft(d.left,0),A=ft(d.right,0),O=ft(d.top,0),U=ft(d.bottom,0);p?w=S-2*(N!==0||A!==0?N+A:ft(d.left,d.right)):P=y-2*(O!==0||U!==0?O+U:ft(d.top,d.bottom))}await l({...t,availableWidth:w,availableHeight:P});const E=await i.getDimensions(a.floating);return S!==E.width||y!==E.height?{reset:{rects:!0}}:{}}}};function ka(){return typeof window<"u"}function Ro(e){return Sg(e)?(e.nodeName||"").toLowerCase():"#document"}function mt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ln(e){var t;return(t=(Sg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Sg(e){return ka()?e instanceof Node||e instanceof mt(e).Node:!1}function Kt(e){return ka()?e instanceof Element||e instanceof mt(e).Element:!1}function sn(e){return ka()?e instanceof HTMLElement||e instanceof mt(e).HTMLElement:!1}function _f(e){return!ka()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof mt(e).ShadowRoot}const Kb=new Set(["inline","contents"]);function Fs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Kb.has(o)}const qb=new Set(["table","td","th"]);function Gb(e){return qb.has(Ro(e))}const Yb=[":popover-open",":modal"];function Na(e){return Yb.some(t=>{try{return e.matches(t)}catch{return!1}})}const Xb=["transform","translate","scale","rotate","perspective"],Zb=["transform","translate","scale","rotate","perspective","filter"],Jb=["paint","layout","strict","content"];function Pc(e){const t=Rc(),n=Kt(e)?qt(e):e;return Xb.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Zb.some(r=>(n.willChange||"").includes(r))||Jb.some(r=>(n.contain||"").includes(r))}function eS(e){let t=ar(e);for(;sn(t)&&!Eo(t);){if(Pc(t))return t;if(Na(t))return null;t=ar(t)}return null}function Rc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const tS=new Set(["html","body","#document"]);function Eo(e){return tS.has(Ro(e))}function qt(e){return mt(e).getComputedStyle(e)}function Ta(e){return Kt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ar(e){if(Ro(e)==="html")return e;const t=e.assignedSlot||e.parentNode||_f(e)&&e.host||ln(e);return _f(t)?t.host:t}function Eg(e){const t=ar(e);return Eo(t)?e.ownerDocument?e.ownerDocument.body:e.body:sn(t)&&Fs(t)?t:Eg(t)}function ks(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Eg(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=mt(o);if(s){const a=wu(i);
vendor: 5,228 bytes, line 139
139return t.concat(i,i.visualViewport||[],Fs(o)?o:[],a&&n?ks(a):[])}return t.concat(o,ks(o,[],n))}function wu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cg(e){const t=qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=sn(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Xi(n)!==s||Xi(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Oc(e){return Kt(e)?e:e.contextElement}function io(e){const t=Oc(e);if(!sn(t))return on(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Cg(t);let i=(s?Xi(n.width):n.width)/r,a=(s?Xi(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const nS=on(0);function kg(e){const t=mt(e);return!Rc()||!t.visualViewport?nS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==mt(e)?!1:t}function Lr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Oc(e);let i=on(1);t&&(r?Kt(r)&&(i=io(r)):i=io(e));const a=rS(s,n,r)?kg(s):on(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const h=mt(s),p=r&&Kt(r)?mt(r):r;let S=h,y=wu(S);for(;y&&r&&p!==S;){const b=io(y),g=y.getBoundingClientRect(),m=qt(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*b.x,C=g.top+(y.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,u*=b.y,d*=b.x,f*=b.y,l+=v,u+=C,S=mt(y),y=wu(S)}}return Ji({width:d,height:f,x:l,y:u})}function Lc(e,t){const n=Ta(e).scrollLeft;return t?t.left+n:Lr(ln(e)).left+n}function Ng(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Lc(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function oS(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ln(r),a=t?Na(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=on(1);const d=on(0),f=sn(r);if((f||!f&&!s)&&((Ro(r)!=="body"||Fs(i))&&(l=Ta(r)),sn(r))){const p=Lr(r);u=io(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=i&&!f&&!s?Ng(i,l,!0):on(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}}function sS(e){return Array.from(e.getClientRects())}function iS(e){const t=ln(e),n=Ta(e),r=e.ownerDocument.body,o=ft(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ft(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Lc(e);const a=-n.scrollTop;return qt(r).direction==="rtl"&&(i+=ft(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function aS(e,t){const n=mt(e),r=ln(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const u=Rc();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}const lS=new Set(["absolute","fixed"]);function uS(e,t){const n=Lr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=sn(e)?io(e):on(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function Pf(e,t,n){let r;if(t==="viewport")r=aS(e,n);else if(t==="document")r=iS(ln(e));else if(Kt(t))r=uS(t,n);else{const o=kg(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ji(r)}function Tg(e,t){const n=ar(e);return n===t||!Kt(n)||Eo(n)?!1:qt(n).position==="fixed"||Tg(n,t)}function cS(e,t){const n=t.get(e);if(n)return n;let r=ks(e,[],!1).filter(a=>Kt(a)&&Ro(a)!=="body"),o=null;const s=qt(e).position==="fixed";let i=s?ar(e):e;for(;Kt(i)&&!Eo(i);){const a=qt(i),l=Pc(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&lS.has(o.position)||Fs(i)&&!l&&Tg(e,i))?r=r.filter(d=>d!==i):o=a,i=ar(i)}return t.set(e,r),r}function dS(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Na(t)?[]:cS(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((u,d)=>{const f=Pf(t,d,o);return u.top=ft(f.top,u.top),u.right=ir(f.right,u.right),u.bottom=ir(f.bottom,u.bottom),u.left=ft(f.left,u.left),u},Pf(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function fS(e){const{width:t,height:n}=Cg(e);return{width:t,height:n}}function pS(e,t,n){const r=sn(t),o=ln(t),s=n==="fixed",i=Lr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=on(0);function u(){l.x=Lc(o)}if(r||!r&&!s)if((Ro(t)!=="body"||Fs(o))&&(a=Ta(t)),r){const p=Lr(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&u();s&&!r&&o&&u();const d=o&&!r&&!s?Ng(o,a):on(0),f=i.left+a.scrollLeft-l.x-d.x,h=i.top+a.scrollTop-l.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function cl(e){return qt(e).position==="static"}function Rf(e,t){if(!sn(e)||qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ln(e)===n&&(n=n.ownerDocument.body),n}function jg(e,t){const n=mt(e);if(Na(e))return n;if(!sn(e)){let o=ar(e);for(;o&&!Eo(o);){if(Kt(o)&&!cl(o))return o;o=ar(o)}return n}let r=Rf(e,t);for(;r&&Gb(r)&&cl(r);)r=Rf(r,t);return r&&Eo(r)&&cl(r)&&!Pc(r)?n:r||eS(e)||n}const hS=async function(e){const t=this.getOffsetParent||jg,n=this.getDimensions,r=await n(e.floating);return{reference:pS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function mS(e){return qt(e).direction==="rtl"}
vendor: 8,516 bytes, line 139
139const gS={convertOffsetParentRelativeRectToViewportRelativeRect:oS,getDocumentElement:ln,getClippingRect:dS,getOffsetParent:jg,getElementRects:hS,getClientRects:sS,getDimensions:fS,getScale:io,isElement:Kt,isRTL:mS};function _g(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function vS(e,t){let n=null,r;const o=ln(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=u;if(a||t(),!h||!p)return;const S=ii(f),y=ii(o.clientWidth-(d+h)),b=ii(o.clientHeight-(f+p)),g=ii(d),v={rootMargin:-S+"px "+-y+"px "+-b+"px "+-g+"px",threshold:ft(0,ir(1,l))||1};let C=!0;function j(R){const P=R[0].intersectionRatio;if(P!==l){if(!C)return i();P?i(!1,P):r=setTimeout(()=>{i(!1,1e-7)},1e3)}P===1&&!_g(u,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(j,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(j,v)}n.observe(e)}return i(!0),s}function yS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Oc(e),d=o||s?[...u?ks(u):[],...ks(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=u&&a?vS(u,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let S,y=l?Lr(e):null;l&&b();function b(){const g=Lr(e);y&&!_g(y,g)&&n(),y=g,S=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(m=>{o&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(S)}}const xS=Wb,wS=Vb,bS=$b,SS=Qb,ES=Bb,Of=zb,CS=Hb,kS=(e,t,n)=>{const r=new Map,o={platform:gS,...n},s={...o.platform,_c:r};return Ib(e,t,{...o,platform:s})};var NS=typeof document<"u",TS=function(){},Ei=NS?x.useLayoutEffect:TS;function ea(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ea(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!ea(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Pg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Lf(e,t){const n=Pg(e);return Math.round(t*n)/n}function dl(e){const t=x.useRef(e);return Ei(()=>{t.current=e}),t}function jS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=x.useState(r);ea(h,r)||p(r);const[S,y]=x.useState(null),[b,g]=x.useState(null),m=x.useCallback(T=>{T!==R.current&&(R.current=T,y(T))},[]),v=x.useCallback(T=>{T!==P.current&&(P.current=T,g(T))},[]),C=s||S,j=i||b,R=x.useRef(null),P=x.useRef(null),w=x.useRef(d),E=l!=null,N=dl(l),A=dl(o),O=dl(u),U=x.useCallback(()=>{if(!R.current||!P.current)return;const T={placement:t,strategy:n,middleware:h};A.current&&(T.platform=A.current),kS(R.current,P.current,T).then(k=>{const D={...k,isPositioned:O.current!==!1};F.current&&!ea(w.current,D)&&(w.current=D,Ls.flushSync(()=>{f(D)}))})},[h,t,n,A,O]);Ei(()=>{u===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const F=x.useRef(!1);Ei(()=>(F.current=!0,()=>{F.current=!1}),[]),Ei(()=>{if(C&&(R.current=C),j&&(P.current=j),C&&j){if(N.current)return N.current(C,j,U);U()}},[C,j,U,N,E]);const K=x.useMemo(()=>({reference:R,floating:P,setReference:m,setFloating:v}),[m,v]),H=x.useMemo(()=>({reference:C,floating:j}),[C,j]),_=x.useMemo(()=>{const T={position:n,left:0,top:0};if(!H.floating)return T;const k=Lf(H.floating,d.x),D=Lf(H.floating,d.y);return a?{...T,transform:"translate("+k+"px, "+D+"px)",...Pg(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:k,top:D}},[n,a,H.floating,d.x,d.y]);return x.useMemo(()=>({...d,update:U,refs:K,elements:H,floatingStyles:_}),[d,U,K,H,_])}const _S=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Of({element:r.current,padding:o}).fn(n):{}:r?Of({element:r,padding:o}).fn(n):{}}}},PS=(e,t)=>({...xS(e),options:[e,t]}),RS=(e,t)=>({...wS(e),options:[e,t]}),OS=(e,t)=>({...CS(e),options:[e,t]}),LS=(e,t)=>({...bS(e),options:[e,t]}),AS=(e,t)=>({...SS(e),options:[e,t]}),DS=(e,t)=>({...ES(e),options:[e,t]}),FS=(e,t)=>({..._S(e),options:[e,t]});var MS="Arrow",Rg=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return c.jsx(at.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Rg.displayName=MS;var IS=Rg;function zS(e){const[t,n]=x.useState(void 0);return sr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Og="Popper",[Lg,Ag]=Sa(Og),[_2,Dg]=Lg(Og),Fg="PopperAnchor",Mg=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Dg(Fg,n),i=x.useRef(null),a=Qt(t,i);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:c.jsx(at.div,{...o,ref:a})});Mg.displayName=Fg;var Ac="PopperContent",[$S,BS]=Lg(Ac),Ig=x.forwardRef((e,t)=>{var q,G,Y,se,Q,fe;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:S,...y}=e,b=Dg(Ac,n),[g,m]=x.useState(null),v=Qt(t,he=>m(he)),[C,j]=x.useState(null),R=zS(C),P=(R==null?void 0:R.width)??0,w=(R==null?void 0:R.height)??0,E=r+(s!=="center"?"-"+s:""),N=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},A=Array.isArray(u)?u:[u],O=A.length>0,U={padding:N,boundary:A.filter(WS),altBoundary:O},{refs:F,floatingStyles:K,placement:H,isPositioned:_,middlewareData:T}=jS({strategy:"fixed",placement:E,whileElementsMounted:(...he)=>yS(...he,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[PS({mainAxis:o+w,alignmentAxis:i}),l&&RS({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?OS():void 0,...U}),l&&LS({...U}),AS({...U,apply:({elements:he,rects:ae,availableWidth:ce,availableHeight:ne})=>{const{width:Ke,height:X}=ae.reference,de=he.floating.style;de.setProperty("--radix-popper-available-width",`${ce}px`),de.setProperty("--radix-popper-available-height",`${ne}px`),de.setProperty("--radix-popper-anchor-width",`${Ke}px`),de.setProperty("--radix-popper-anchor-height",`${X}px`)}}),C&&FS({element:C,padding:a}),VS({arrowWidth:P,arrowHeight:w}),h&&DS({strategy:"referenceHidden",...U})]}),[k,D]=Bg(H),$=or(S);sr(()=>{_&&($==null||$())},[_,$]);const I=(q=T.arrow)==null?void 0:q.x,M=(G=T.arrow)==null?void 0:G.y,V=((Y=T.arrow)==null?void 0:Y.centerOffset)!==0,[Z,re]=x.useState();return sr(()=>{g&&re(window.getComputedStyle(g).zIndex)},[g]),c.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:_?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Z,"--radix-popper-transform-origin":[(se=T.transformOrigin)==null?void 0:se.x,(Q=T.transformOrigin)==null?void 0:Q.y].join(" "),...((fe=T.hide)==null?void 0:fe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx($S,{scope:n,placedSide:k,onArrowChange:j,arrowX:I,arrowY:M,shouldHideArrow:V,children:c.jsx(at.div,{"data-side":k,"data-align":D,...y,ref:v,style:{...y.style,animation:_?void 0:"none"}})})})});Ig.displayName=Ac;var zg="PopperArrow",US={top:"bottom",right:"left",bottom:"top",left:"r
139ight"},$g=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=BS(zg,r),i=US[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(IS,{...o,ref:n,style:{...o.style,display:"block"}})})});$g.displayName=zg;function WS(e){return e!==null}var VS=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:o}=t,i=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,d]=Bg(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=o.arrow)==null?void 0:g.x)??0)+a/2,p=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let S="",y="";return u==="bottom"?(S=i?f:`${h}px`,y=`${-l}px`):u==="top"?(S=i?f:`${h}px`,y=`${r.floating.height+l}px`):u==="right"?(S=`${-l}px`,y=i?f:`${p}px`):u==="left"&&(S=`${r.floating.width+l}px`,y=i?f:`${p}px`),{data:{x:S,y}}}});function Bg(e){const[t,n="center"]=e.split("-");return[t,n]}var HS=Mg,QS=Ig,KS=$g,[ja,P2]=Sa("Tooltip",[Ag]),Dc=Ag(),Ug="TooltipProvider",qS=700,Af="tooltip.open",[GS,Wg]=ja(Ug),Vg=e=>{const{__scopeTooltip:t,delayDuration:n=qS,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=x.useRef(!0),a=x.useRef(!1),l=x.useRef(0);return x.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(GS,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:x.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:s})};Vg.displayName=Ug;var Hg="Tooltip",[R2,_a]=ja(Hg),bu="TooltipTrigger",YS=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=_a(bu,n),s=Wg(bu,n),i=Dc(n),a=x.useRef(null),l=Qt(t,a,o.onTriggerChange),u=x.useRef(!1),d=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx(HS,{asChild:!0,...i,children:c.jsx(at.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Le(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:Le(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:Le(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Le(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Le(e.onBlur,o.onClose),onClick:Le(e.onClick,o.onClose)})})});YS.displayName=bu;var XS="TooltipPortal",[O2,ZS]=ja(XS,{forceMount:void 0}),Co="TooltipContent",Qg=x.forwardRef((e,t)=>{const n=ZS(Co,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=_a(Co,e.__scopeTooltip);return c.jsx(Sc,{present:r||i.open,children:i.disableHoverableContent?c.jsx(Kg,{side:o,...s,ref:t}):c.jsx(JS,{side:o,...s,ref:t})})}),JS=x.forwardRef((e,t)=>{const n=_a(Co,e.__scopeTooltip),r=Wg(Co,e.__scopeTooltip),o=x.useRef(null),s=Qt(t,o),[i,a]=x.useState(null),{trigger:l,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,h=x.useCallback(()=>{a(null),f(!1)},[f]),p=x.useCallback((S,y)=>{const b=S.currentTarget,g={x:S.clientX,y:S.clientY},m=oE(g,b.getBoundingClientRect()),v=sE(g,m),C=iE(y.getBoundingClientRect()),j=lE([...v,...C]);a(j),f(!0)},[f]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(l&&d){const S=b=>p(b,d),y=b=>p(b,l);return l.addEventListener("pointerleave",S),d.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",S),d.removeEventListener("pointerleave",y)}}},[l,d,p,h]),x.useEffect(()=>{if(i){const S=y=>{const b=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(b))||(d==null?void 0:d.contains(b)),v=!aE(g,i);m?h():v&&(h(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[l,d,i,u,h]),c.jsx(Kg,{...e,ref:s})}),[eE,tE]=ja(Hg,{isInside:!1}),nE=W1("TooltipContent"),Kg=x.forwardRef((e,t)=>
vendor: 4,328 bytes, line 139
139{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=_a(Co,n),u=Dc(n),{onClose:d}=l;return x.useEffect(()=>(document.addEventListener(Af,d),()=>document.removeEventListener(Af,d)),[d]),x.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),c.jsx(bc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:c.jsxs(QS,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(nE,{children:r}),c.jsx(eE,{scope:n,isInside:!0,children:c.jsx(hw,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Qg.displayName=Co;var qg="TooltipArrow",rE=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Dc(n);return tE(qg,n).isInside?null:c.jsx(KS,{...o,...r,ref:t})});rE.displayName=qg;function oE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function sE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function iE(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function aE(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],u=a.x,d=a.y,f=l.x,h=l.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(o=!o)}return o}function lE(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),uE(t)}function uE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var cE=Vg,Gg=Qg;const dE=cE,fE=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(Gg,{ref:r,sideOffset:t,className:Ir("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));fE.displayName=Gg.displayName;const Fc="/assets/crest-BkZ-dOuV.png",ta="var(--color-gold)",Yg="var(--color-gold-deep)",pE="var(--color-green-deep)",Df=[{label:"Club",items:[{to:"/",label:"Inicio"},{to:"/historia",label:"Historia"},{to:"/club",label:"Club"},{to:"/lideres",label:"Líderes"}]},{label:"Plantilla",items:[{to:"/equipo",label:"Equipo"},{to:"/cuerpo-tecnico",label:"Cuerpo Técnico"},{to:"/partidos",label:"Partidos"}]},{label:"Cantera",items:[{to:"/academia",label:"Academia"},{to:"/formacion",label:"Formativas"}]},{label:"Comunidad",items:[{to:"/noticias",label:"Noticias"},{to:"/partners",label:"Socios"},{to:"/contacto",label:"Contacto"}]}],hE=()=>c.jsxs("svg",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 h-full w-full",style:{opacity:.04,mixBlendMode:"overlay"},children:[c.jsx("filter",{id:"sidenav-noise",children:c.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"0.9",numOctaves:"2",stitchTiles:"stitch"})}
139),c.jsx("rect",{width:"100%",height:"100%",filter:"url(#sidenav-noise)"})]}),mE=()=>c.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-0 top-0 h-full w-[2px]",style:{opacity:.7,background:"linear-gradient(to bottom, transparent 0%, var(--color-gold-deep) 30%, var(--color-gold) 60%, transparent 100%)"}}),gE=({onClick:e})=>c.jsx(Nt,{to:"/entrada",onClick:e,className:"block",style:{padding:"28px 20px 20px 24px",borderBottom:"1px solid #1e1e1e"},children:c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("div",{className:"flex h-[42px] w-[42px] items-center justify-center",style:{background:ta,borderRadius:6},children:c.jsx("img",{src:Fc,alt:"Escudo 9 de Octubre FC",className:"h-8 w-8 object-contain"})}),c.jsxs("div",{className:"leading-tight",children:[c.jsx("div",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:9,letterSpacing:"3px",color:Yg,textTransform:"uppercase"},children:"Fundación 1926"}),c.jsx("div",{className:"mt-1",style:{fontFamily:'"Bebas Neue", sans-serif',fontSize:22,color:"#f5f5f5",lineHeight:1,letterSpacing:"0.02em"},children:"9 DE OCTUBRE FC"}),c.jsx("div",{className:"mt-2",style:{fontFamily:"Barlow, sans-serif",fontSize:10,fontWeight:300,letterSpacing:"2px",color:"#555",textTransform:"uppercase"},children:"La Troncal · Ecuador"})]})]})}),vE=({onClick:e})=>c.jsxs("div",{style:{padding:"16px 20px 24px",borderTop:"1px solid #1a1a1a"},children:[c.jsx(Nt,{to:"/partners",onClick:e,className:"block w-full text-center transition-colors duration-300",style:{background:ta,color:"#0a0a0a",fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:11,letterSpacing:"3px",textTransform:"uppercase",borderRadius:2,padding:"12px 16px"},onMouseEnter:t=>t.currentTarget.style.background="var(--color-gold-deep)",onMouseLeave:t=>t.currentTarget.style.background="var(--color-gold)",children:"Ser Socio"}),c.jsxs("p",{className:"mt-4 text-center",style:{fontFamily:'"Barlow Condensed", sans-serif',fontSize:9,letterSpacing:"2px",color:"#2e2e2e",textTransform:"uppercase"},children:["Amarillo ",c.jsx("span",{style:{color:pE},children:"·"})," Verde"]})]}),yE=({item:e,active:t,onClick:n})=>{const[r,o]=x.useState(!1),s=t||r,i=t?"rgba(252, 213, 24, 0.07)":r?"rgba(255,255,255,0.03)":"transparent",a=t?Yg:r?"#2e2e2e":"transparent",l=t?ta:r?"#c8c8c8":"#666";return c.jsxs(Nt,{to:e.to,onClick:n,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),className:"flex items-center transition-colors duration-200",style:{padding:"9px 16px 9px 24px",borderLeft:`2px solid ${a}`,background:i,color:l,fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:13,letterSpacing:"2px",textTransform:"uppercase"},children:[c.jsx("span",{"aria-hidden":"true",className:"mr-3 inline-block",style:{width:5,height:5,borderRadius:"50%",background:ta,flexShrink:0,opacity:s||t?1:.85}}),c.jsx("span",{children:e.label})]})},xE=()=>{const{pathname:e}=Mr(),t=r=>r==="/"?e==="/":e===r||e.startsWith(r+"/"),n=({onNavigate:r})=>c.jsx("nav",{className:"flex flex-col",children:Df.map((o,s)=>c.jsxs("div",{children:[c.jsx("div",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:9,letterSpacing:"3px",color:"#3a3a3a",textTransform:"uppercase",padding:"18px 24px 6px"},children:o.label}),c.jsx("div",{className:"flex flex-col",children:o.items.map(i=>c.jsx(yE,{item:i,active:t(i.to),onClick:r},i.to))}),s<Df.length-1&&c.jsx("hr",{style:{border:0,borderTop:"1px solid #1a1a1a",margin:"8px 24px"}})]},o.label))});return c.jsxs("aside",{className:"hidden lg:flex fixed inset-y-0 left-0 z-40 w-[200px] flex-col justify-between overflow-hidden",style:{background:"#0a0a0a",borderRight:"1px solid #1e1e1e"},children:[c.jsx(mE,{}),c.jsx(hE,{}),c.jsxs("div",{className:"relative z-10 flex-1 overflow-y-auto no-scrollbar",children:[c.jsx(gE,{}),c.jsx("div",{className:"pt-2 pb-6",children:c.jsx(n,{})})]}),c.jsx("div",{className:"relative z-10",children:c.jsx(vE,{})})]})},ai="var(--color-gold)",Ff="var(--color-gold-deep)",Mf=[{label:"Club",items:[{to:"/",label:"Inicio"},{to:"/historia",label:"Historia"},{to:"/club",label:"Club"},{to:"/lideres",label:"Líderes"}]},{label:"Plantilla",items:[{to:"/equipo",label:"Equipo"},{to:"/cuerpo-tecnico",label:"Cuerpo Técnico"},{to:"/partidos",label:"Partidos"}]},{label:"Cantera",items:[{to:"/academia",label:"Academia"},{to:"/formacion",label:"Formativas"}]}
139,{label:"Comunidad",items:[{to:"/noticias",label:"Noticias"},{to:"/partners",label:"Socios"},{to:"/contacto",label:"Contacto"}]}],wE=()=>{const[e,t]=x.useState(!1),{pathname:n}=Mr();x.useEffect(()=>{document.body.style.overflow=e?"hidden":"";const s=i=>{i.key==="Escape"&&t(!1)};return e&&window.addEventListener("keydown",s),()=>{document.body.style.overflow="",window.removeEventListener("keydown",s)}},[e]);const r=()=>t(!1),o=s=>s==="/"?n==="/":n===s||n.startsWith(s+"/");return c.jsxs(c.Fragment,{children:[c.jsx("button",{type:"button","aria-label":"Abrir menú",onClick:()=>t(!0),className:"lg:hidden fixed left-4 top-4 z-[90] flex h-11 w-11 items-center justify-center rounded-sm",style:{background:"rgba(10,10,10,0.55)",border:"1px solid rgba(255,255,255,0.15)",backdropFilter:"blur(6px)"},children:c.jsx(Uw,{className:"h-5 w-5 text-white"})}),e&&c.jsxs("div",{className:"lg:hidden fixed inset-0 z-[100]",children:[c.jsx("button",{"aria-label":"Cerrar menú",onClick:r,className:"absolute inset-0",style:{background:"rgba(0,0,0,0.6)",animation:"fade-in 200ms ease-out"}}),c.jsxs("aside",{className:"absolute inset-y-0 left-0 w-[86%] max-w-[340px] flex flex-col",style:{background:"#0a0a0a",borderRight:"1px solid #1e1e1e",animation:"slide-in-left 280ms cubic-bezier(0.16,1,0.3,1)"},children:[c.jsxs("div",{className:"flex items-center justify-between",style:{padding:"20px 20px 16px",borderBottom:"1px solid #1e1e1e"},children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("div",{className:"flex h-[40px] w-[40px] items-center justify-center",style:{background:ai,borderRadius:6},children:c.jsx("img",{src:Fc,alt:"",className:"h-7 w-7 object-contain"})}),c.jsxs("div",{className:"leading-tight",children:[c.jsx("div",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:9,letterSpacing:"3px",color:Ff,textTransform:"uppercase"},children:"Fundación 1926"}),c.jsx("div",{style:{fontFamily:'"Bebas Neue", sans-serif',fontSize:20,color:"#f5f5f5",lineHeight:1,letterSpacing:"0.02em"},children:"9 DE OCTUBRE FC"})]})]}),c.jsx("button",{type:"button","aria-label":"Cerrar",onClick:r,className:"flex h-10 w-10 items-center justify-center rounded-sm",style:{border:"1px solid #1e1e1e",color:"#c8c8c8"},children:c.jsx(ug,{className:"h-5 w-5"})})]}),c.jsx("nav",{className:"flex-1 overflow-y-auto py-4",children:Mf.map((s,i)=>c.jsxs("div",{children:[c.jsx("div",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:9,letterSpacing:"3px",color:"#3a3a3a",textTransform:"uppercase",padding:"16px 24px 6px"},children:s.label}),s.items.map(a=>{const l=o(a.to);return c.jsxs(Nt,{to:a.to,onClick:r,className:"flex items-center",style:{padding:"11px 16px 11px 24px",borderLeft:`2px solid ${l?Ff:"transparent"}`,background:l?"rgba(252, 213, 24, 0.07)":"transparent",color:l?ai:"#c8c8c8",fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:14,letterSpacing:"2px",textTransform:"uppercase"},children:[c.jsx("span",{"aria-hidden":!0,className:"mr-3 inline-block",style:{width:5,height:5,borderRadius:"50%",background:ai}}),a.label]},a.to)}),i<Mf.length-1&&c.jsx("hr",{style:{border:0,borderTop:"1px solid #1a1a1a",margin:"10px 24px"}})]},s.label))}),c.jsx("div",{style:{padding:"16px 20px 24px",borderTop:"1px solid #1a1a1a"},children:c.jsx(Nt,{to:"/partners",onClick:r,className:"block w-full text-center transition-colors duration-300",style:{background:ai,color:"#0a0a0a",fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:12,letterSpacing:"3px",textTransform:"uppercase",borderRadius:2,padding:"14px 16px"},children:"Ser Socio"})})]}),c.jsx("style",{children:`
140            @keyframes slide-in-left {
141              from { transform: translateX(-100%); }
142              to { transform: translateX(0); }
143            }
144            @keyframes fade-in {
145              from { opacity: 0; }
146              to { opacity: 1; }
147            }
148          `})]})]})},bE=()=>c.jsx("footer",{className:"theme-dark relative bg-background border-t border-border pt-20 pb-10 text-foreground",children:c.jsxs("div",{className:"container-pad",children:[c.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 mb-16",children:[c.jsxs("div",{className:"lg:col-span-4",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[c.jsx("img",{src:Fc,alt:"Escudo 9 de Octubre FC",width:48,height:48,className:"h-12 w-12"}),c.jsxs("div",{children:[c.jsx("div",{className:"text-[10px] uppercase tracking-[0.3em] text-primary",children:"#202
1486AmarilloVerde"}),c.jsx("div",{className:"text-sm font-semibold tracking-wider",children:"9 DE OCTUBRE FC"})]})]}),c.jsx("p",{className:"text-sm text-foreground/60 leading-relaxed max-w-sm",children:"Semillero del fútbol ecuatoriano. Una institución guayaquileña que forma jugadores y personas bajo los valores de humildad, disciplina, honestidad y consistencia. Amarillo y verde — el sonido de mi tierra."})]}),[{title:"Club",links:[{label:"Historia",to:"/historia"},{label:"Misión & Visión",to:"/club"},{label:"Valores",to:"/club"},{label:"Plantel",to:"/equipo"},{label:"Cuerpo Técnico",to:"/cuerpo-tecnico"}]},{title:"Fútbol",links:[{label:"Centro de Partidos",to:"/partidos"},{label:"Calendario",to:"/partidos"},{label:"Resultados",to:"/partidos"},{label:"Tabla",to:"/partidos"},{label:"Academia",to:"/academia"}]},{title:"Institución",links:[{label:"Noticias",to:"/noticias"},{label:"Galería",to:"/noticias"},{label:"Socios",to:"/partners"},{label:"Comunidad",to:"/club"},{label:"Prensa",to:"/contacto"}]}].map(e=>c.jsxs("div",{className:"lg:col-span-2",children:[c.jsx("div",{className:"text-[10px] uppercase tracking-[0.3em] text-primary mb-5",children:e.title}),c.jsx("ul",{className:"space-y-3",children:e.links.map(t=>c.jsx("li",{children:c.jsx(Nt,{to:t.to,className:"text-sm text-foreground/70 hover:text-primary transition-colors",children:t.label})},t.label))})]},e.title)),c.jsxs("div",{className:"lg:col-span-2",children:[c.jsx("div",{className:"text-[10px] uppercase tracking-[0.3em] text-primary mb-5",children:"Contacto"}),c.jsxs("ul",{className:"space-y-3 text-sm text-foreground/70",children:[c.jsx("li",{children:"La Troncal, Cañar, Ecuador"}),c.jsx("li",{children:c.jsx("a",{href:"tel:+593988705372",className:"hover:text-primary transition-colors",children:"+593 98 870 5372"})}),c.jsx("li",{children:c.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors break-all",children:"[email protected]"})}),c.jsx("li",{children:c.jsx("a",{href:"https://www.facebook.com/9deoctubrefc",target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors",children:"Facebook @9deoctubrefc"})}),c.jsx("li",{children:c.jsx("a",{href:"https://instagram.com/9deoctubrefc",target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors",children:"Instagram @9deoctubrefc"})}),c.jsx("li",{children:c.jsx("a",{href:"https://www.tiktok.com/@9deoctubrefc",target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors",children:"TikTok @9deoctubrefc"})})]})]})]}),c.jsx("div",{className:"hairline mb-8"}),c.jsxs("div",{className:"flex flex-col md:flex-row justify-between gap-6 items-start md:items-center",children:[c.jsxs("p",{className:"text-xs text-foreground/70 tracking-wider",children:["© ",new Date().getFullYear()," 9 de Octubre Fútbol Club. Todos los derechos reservados."]}),c.jsxs("div",{className:"flex gap-6 text-[10px] uppercase tracking-[0.3em] text-foreground/70",children:[c.jsx(Nt,{to:"/legal/privacidad",className:"hover:text-primary",children:"Privacidad"}),c.jsx(Nt,{to:"/legal/terminos",className:"hover:text-primary",children:"Términos"}),c.jsx(Nt,{to:"/legal/cookies",className:"hover:text-primary",children:"Cookies"})]})]}),c.jsx("div",{className:"mt-12 text-center",children:c.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-[0.5em] text-primary",children:"Semillero del fútbol ecuatoriano"})}),c.jsx("div",{className:"mt-10 select-none overflow-hidden",children:c.jsx("div",{className:"display text-[5.6vw] leading-none uppercase text-foreground/[0.03] text-center tracking-tighter whitespace-nowrap max-w-full",children:"AMARILLO · VERDE"})})]})}),SE=({children:e})=>c.jsxs("main",{className:"bg-background text-foreground lg:pl-[200px]",children:[c.jsx(xE,{}),c.jsx(wE,{}),e,c.jsx(bE,{})]}),EE="https://emerald-gold-renaissance.lovable.app",fl=(e,t,n)=>{let r=document.head.querySelector(e);r||(r=t(),document.head.appendChild(r)),n(r)},CE=({title:e,description:t,path:n="/"})=>(x.useEffect(()=>{const r=`${EE}${n}`;document.title=e,fl('meta[name="description"]',()=>Object.assign(document.createElement("meta"),{name:"description"}),s=>s.setAttribute("content",t)),fl('link[rel="canonical"]',()=>Object.assign(document.createElement("link"),{rel:"canonical"}),s=>s.setAttribute("href",r));const o=[["og:title",e],["og:description",t],["og:url",r],["twitter:title",e],["twitter:description",t]];for(const[s,i]of o){const a=s.startsWith("twitter:"),l=a?`meta[name="${s}"]`:`meta[property="${s}"]`;fl(l,()=>{const u=document.createElement("meta");return a?u.setAttribute("name",s):u.setAttribute("property",s),u},u=>u.setAttribute("content",i))}},[e,t,n]),null),kE="/assets/hero-badge-CMnnzh7g.jpg",NE=()=>c.jsxs("section",{className:"relative w-full overflow-hidden group",style:{minHeight:"92svh",backgroundColor:"#0d3318"},children:[c.jsx("img",{src:kE,alt:"Escudo bordado del 9 de Octubre FC",loading:"eager",fetchPriority:"high",decoding:"async",width:1920,height:1080,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[8000ms] ease-out md:group-hover:scale-[1.08]",style:{objectPosition:"center 30%",filter:"brightness(0.65)",transform:"scale(1.03)"}}
148),c.jsx("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"linear-gradient(135deg, rgba(13,51,24,0.5) 0%, rgba(10,10,10,0.3) 50%, rgba(13,51,24,0.35) 100%)"}}),c.jsx("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"linear-gradient(to bottom, rgba(10,10,10,0.75) 0%, transparent 35%)"}}),c.jsx("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.35) 45%, transparent 75%)"}}),c.jsxs("div",{className:"absolute right-6 top-6 md:right-10 md:top-8 z-10 hidden min-[400px]:flex flex-col items-end gap-1 text-right max-w-[60%]",children:[c.jsx("span",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontSize:10,letterSpacing:"0.24em",textTransform:"uppercase",color:"rgba(255,255,255,0.6)"},children:"Fundación 1926 · La Troncal · Ecuador"}),c.jsx("span",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:11,letterSpacing:"0.28em",textTransform:"uppercase",color:"rgba(255,255,255,0.75)"},children:"9 de Octubre FC"})]}),c.jsx("div",{className:"relative z-10 flex min-h-[92svh] flex-col justify-end pt-24",style:{padding:"1.5rem",paddingTop:"6rem"},children:c.jsxs("div",{className:"md:!p-12 md:max-w-[760px]",style:{padding:0},children:[c.jsxs("h1",{className:"animate-fade-in",style:{fontFamily:'"Bebas Neue", sans-serif',fontSize:"clamp(2.5rem, 5.5vw, 4.5rem)",lineHeight:.95,letterSpacing:"0.01em",color:"#ffffff",margin:0},children:["Semillero del fútbol ",c.jsx("span",{style:{color:"#F5C300"},children:"ecuatoriano"}),"."]}),c.jsx("p",{className:"mt-6 max-w-[560px] animate-fade-in",style:{fontFamily:"Barlow, sans-serif",fontWeight:300,fontSize:16,lineHeight:1.6,color:"rgba(255,255,255,0.82)"},children:"Una institución centenaria que forma jugadores y personas, desde la Sub-11 hasta el primer equipo. Humildad, disciplina, honestidad y consistencia."}),c.jsxs("div",{className:"mt-8 flex flex-wrap items-center gap-3 md:gap-4 animate-fade-in",children:[c.jsxs(Nt,{to:"/academia",className:"inline-flex items-center justify-center gap-2 transition-colors duration-300 hover:brightness-110",style:{background:"#F5C300",color:"#0a0a0a",fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:12,letterSpacing:"0.2em",textTransform:"uppercase",padding:"14px 22px",borderRadius:2},children:["Únete a la Academia ",c.jsx("span",{"aria-hidden":!0,children:"→"})]}),c.jsxs(Nt,{to:"/club",className:"inline-flex items-center justify-center gap-2 transition-colors duration-300 hover:border-white/80 hover:text-white",style:{border:"1px solid rgba(255,255,255,0.4)",color:"rgba(255,255,255,0.85)",fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:12,letterSpacing:"0.2em",textTransform:"uppercase",padding:"13px 22px",borderRadius:2},children:["Conoce el club ",c.jsx("span",{"aria-hidden":!0,children:"→"})]}),c.jsxs(Nt,{to:"/partners",className:"inline-flex items-center justify-center gap-2 transition-colors duration-300 hover:border-white/80 hover:text-white",style:{border:"1px solid rgba(255,255,255,0.4)",color:"rgba(255,255,255,0.85)",fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:12,letterSpacing:"0.2em",textTransform:"uppercase",padding:"13px 22px",borderRadius:2},children:["Ser socio ",c.jsx("span",{"aria-hidden":!0,children:"→"})]})]}),c.jsx("div",{className:"mt-10 flex items-center gap-5 md:gap-8 animate-fade-in",children:[{n:"1926",l:"Fundación"},{n:"5",l:"Categorías"},{n:"100+",l:"Años"}].map((e,t)=>c.jsxs("div",{className:"flex items-center gap-5 md:gap-8",children:[t>0&&c.jsx("span",{className:"block w-px h-8",style:{background:"rgba(255,255,255,0.15)"}}),c.jsxs("div",{className:"flex flex-col",children:[c.jsx("span",{style:{fontFamily:'"Bebas Neue", sans-serif',fontSize:28,lineHeight:1,color:"#F5C300",letterSpacing:"0.02em"},children:e.n}),c.jsx("span",{className:"mt-1",style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:600,fontSize:10,letterSpacing:"0.24em",textTransform:"uppercase",color:"rgba(255,255,255,0.55)"},children:e.l})]})]},e.l))})]})}),c.jsxs("a",{href:"#historia",onClick:e=>{var t;e.preventDefault(),(t=document.getElementById("historia"))==null||t.scrollIntoView({behavior:"smooth"})},"aria-label":"Desplazarse a la historia",className:"hidden md:flex absolute bottom-6 left-1/2 -translate-x-1/2 z-10 flex-col items-center gap-3 cursor-pointer group/scroll",children:[c.jsx("span",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:10,letterSpacing:"0.4em",textTransform:"uppercase",color:"rgba(255,255,255,0.55)"},className:"transition-colors group-hover/scroll:text-white",children:"Scroll"}),c.jsx("span",{className:"relative block h-10 w-px",style:{background:"rgba(255,255,255,0.2)"},children:c.jsx("span",{className:"absolute left-1/2 -translate-x-1/2 block h-2 w-2 rounded-full",style:{background:"#F5C300",animation:"scroll-drop 2s ease-in-out infinite"}})})]}),c.jsx("style",{children:`
149      @keyframes scroll-drop {
150        0% { top: 0; opacity: 0; }
151        25% { opacity: 1; }
152        75% { opacity: 1; }
153        100% { top: 100%; opacity: 0; }
154      }
155    `})]}),TE=[{year:"1926",text:"Fundación del club en La Troncal, Cañar."},{year:"1940s",text:"Consolidación en el fútbol amateur regional."},{year:"1960s",text:"Primeros torneos interprovinciales."},{year:"1980",text:"Ingreso al fútbol profesional ecuatoriano."},{year:"1990s",text:"Desarrollo de la cantera y formativas."},{year:"2000s",text:"Modernización de infraestructura."},{year:"2010s",text:"Participación en Serie B nacional."},{year:"2026",text:"Centenario del club."}],xr="#F5C300",jE=({year:e,text:t,side:n,index:r})=>{const o=x.useRef(null),[s,i]=x.useState(!1);return x.useEffect(()=>{const a=o.current;if(!a)return;const l=new IntersectionObserver(u=>{u.forEach(d=>{d.isIntersecting&&(i(!0),l.unobserve(d.target))})},{threshold:.2});return l.observe(a),()=>l.disconnect()},[]),c.jsxs("div",{ref:o,className:"relative md:grid md:grid-cols-2 md:gap-12 items-center",children:[c.jsx("span",{"aria-hidden":!0,
155className:"absolute z-10 block h-4 w-4 rounded-full md:left-1/2 md:-translate-x-1/2 left-[10px] -translate-x-1/2 top-6",style:{background:xr,boxShadow:"0 0 0 4px #0a0a0a"}}),c.jsx("div",{className:`pl-10 md:pl-0 ${n==="left"?"md:col-start-1 md:pr-12":"md:col-start-2 md:pl-12"}`,style:{transition:"opacity 700ms ease-out, transform 700ms ease-out",transitionDelay:`${r*60}ms`,opacity:s?1:0,transform:s?"translateX(0)":`translateX(${n==="left"?"-32px":"32px"})`},children:c.jsxs("div",{style:{background:"#111a12",border:"1px solid rgba(245,195,0,0.2)",borderLeft:`3px solid ${xr}`,padding:"1.25rem 1.5rem",borderRadius:2},children:[c.jsx("div",{style:{fontFamily:'"Bebas Neue", sans-serif',fontSize:"2rem",lineHeight:1,color:xr,letterSpacing:"0.02em"},children:e}),c.jsx("p",{className:"mt-2",style:{fontFamily:"Barlow, sans-serif",fontSize:14,lineHeight:1.6,color:"rgba(255,255,255,0.75)",margin:0},children:t})]})})]})},_E=()=>c.jsx("section",{id:"historia",className:"relative w-full",style:{background:"linear-gradient(180deg, #0a0a0a 0%, #0d1f10 50%, #0a0a0a 100%)",padding:"3rem 1.5rem"},children:c.jsxs("div",{className:"mx-auto max-w-6xl md:py-24",children:[c.jsxs("div",{className:"text-center md:text-left",children:[c.jsxs("div",{className:"flex items-center gap-3 justify-center md:justify-start",children:[c.jsx("span",{className:"block h-px w-10",style:{background:xr}}),c.jsx("span",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:11,letterSpacing:"0.3em",textTransform:"uppercase",color:xr},children:"Nuestra Historia"})]}),c.jsx("h2",{className:"mt-4",style:{fontFamily:'"Bebas Neue", sans-serif',fontSize:"clamp(2.5rem, 5vw, 4.5rem)",lineHeight:1,color:"#fff",margin:0,letterSpacing:"0.01em"},children:"Un siglo de fútbol."}),c.jsx("p",{className:"mt-4 max-w-2xl mx-auto md:mx-0",style:{fontFamily:"Barlow, sans-serif",fontWeight:300,fontSize:16,lineHeight:1.6,color:"rgba(255,255,255,0.65)"},children:"Desde los potreros de La Troncal hasta los estadios del fútbol profesional ecuatoriano."})]}),c.jsxs("div",{className:"relative mt-16",children:[c.jsx("span",{"aria-hidden":!0,className:"absolute top-0 bottom-0 w-px md:left-1/2 left-[10px]",style:{background:`${xr}`,opacity:.5}}),c.jsx("div",{className:"flex flex-col gap-10 md:gap-16",children:TE.map((e,t)=>c.jsx(jE,{year:e.year,text:e.text,side:t%2===0?"left":"right",index:t},e.year))})]}),c.jsxs("div",{className:"mt-20",children:[c.jsx("span",{className:"block h-px w-full",style:{background:xr,opacity:.4}}),c.jsx("div",{className:"mt-8 flex flex-col md:flex-row items-center justify-center gap-6 md:gap-16 text-center",children:["Más de 100 años de historia","Generaciones de jugadores formados"].map(e=>c.jsx("span",{style:{fontFamily:'"Barlow Condensed", sans-serif',fontWeight:700,fontSize:13,letterSpacing:"0.24em",textTransform:"uppercase",color:"rgba(255,255,255,0.8)"},children:e},e))})]})]})}),PE="/assets/team-BjZ7oocz.jpg",RE=()=>c.jsxs("section",{id:"identidad",className:"relative scroll-mt-24 py-14 md:py-20 lg:py-28 bg-background overflow-hidden",children:[c.jsx("div",{className:"absolute inset-0 bg-gradient-radial opacity-50 pointer-events-none"}),c.jsx("div",{className:"container-pad relative",children:c.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-20 items-center",children:[c.jsxs("div",{className:"lg:col-span-7",children:[c.jsx("p",{className:"eyebrow mb-6",children:"Capítulo I · Identidad"}),c.jsxs("h2",{className:"display text-5xl md:text-7xl uppercase leading-[0.95]",children:["Más que un club, ",c.jsx("br",{}),"una ",c.jsx("span",{className:"gold-text",children:"forma de vida"})]}),c.jsx("div",{className:"gold-divider max-w-[160px] mt-10"}),c.jsxs("p",{className:"mt-10 text-lg md:text-xl text-foreground/80 leading-relaxed max-w-2xl",children:["9 de Octubre FC es una institución futbolística construida para",c.jsx("span",{className:"text-secondary font-medium",children:" desarrollar deportistas y seres humanos"}),", representar a su comunidad e inspirar esperanza a través del fútbol."]}
155),c.jsx("p",{className:"mt-6 text-base text-foreground/65 leading-relaxed max-w-2xl",children:"Una historia centenaria que se renueva con cada generación — llevando el amarillo y verde como símbolo compartido por miles de familias troncaleñas."})]}),c.jsxs("div",{className:"lg:col-span-5 relative h-[480px] lg:h-[560px] overflow-hidden rounded-sm border border-border",children:[c.jsx("img",{src:PE,alt:"Equipo 9 de Octubre FC",loading:"lazy",className:"h-full w-full object-cover"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-background/40 via-transparent to-transparent"}),c.jsxs("div",{className:"absolute bottom-6 left-6 right-6 border-l-2 border-primary pl-4",children:[c.jsx("p",{className:"text-[10px] uppercase tracking-[0.4em] text-primary",children:"Desde 1926"}),c.jsx("p",{className:"text-sm text-white mt-1 font-medium",children:"Identidad, historia y comunidad"})]})]})]})})]}),OE=[{icon:Bw,name:"Humildad",short:"Pisar la cancha con respeto y los pies en la tierra.",long:"En 9 de Octubre FC creemos que todo parte desde la humildad de aceptar que somos bendecidos por Dios."},{icon:Ww,name:"Disciplina",short:"El estándar diario que construye al futbolista profesional.",long:"Creemos en la disciplina y entendemos que es algo que no puede ser forzado, pero debe nacer en cada uno de nosotros, por respeto a nuestros aficionados, socios y equipo de trabajo. En 9 de Octubre FC la disciplina no es negociable."},{icon:Mw,name:"Honestidad",short:"Transparencia con jugadores, familias y comunidad.",long:"Es la base principal del éxito, y nuestro sello; nosotros en 9 de Octubre FC. Creemos que con honestidad y esfuerzo todo es posible."},{icon:lg,name:"Consistencia",short:"Procesos sostenidos que entregan resultados duraderos.",long:"Acciones consistentes crean resultados consistentes. En 9 de Octubre sabemos que la consistencia es un pilar fundamental para lograr nuestros objetivos."}],LE=()=>c.jsx("section",{id:"proposito",className:"relative scroll-mt-24 py-14 md:py-20 lg:py-28 bg-card/40",children:c.jsxs("div",{className:"container-pad",children:[c.jsxs("div",{className:"max-w-3xl mb-12 md:mb-16",children:[c.jsx("p",{className:"eyebrow mb-6",children:"Capítulo II · Propósito"}),c.jsxs("h2",{className:"display text-5xl md:text-7xl uppercase",children:["Misión, Visión y ",c.jsx("span",{className:"gold-text",children:"Valores"})]})]}),c.jsx("div",{className:"grid md:grid-cols-2 gap-8 mb-10 md:mb-14",children:[{tag:"Nuestra Misión",title:"Soñar, descubrir, alcanzar",body:"Elevar continuamente nuestro equipo y cantón La Troncal mediante nuestra visión y metodología de trabajo para ayudar a nuestro entorno a soñar, descubrir y alcanzar los objetivos."},{tag:"Nuestra Visión",title:"Esperanza y amor que perduran",body:"Ser un club centrado en el desarrollo de deportistas y seres humanos a través de nuestros valores y principios, y construir un lugar donde nuestra comunidad troncaleña se sienta representada por medio de nuestro equipo, creando un efecto de esperanza y amor que exista para siempre."}].map(e=>c.jsxs("div",{className:"premium-card lift p-10 md:p-14 bg-card relative overflow-hidden",children:[c.jsx("div",{className:"absolute top-0 left-0 h-px w-full bg-gradient-to-r from-transparent via-primary to-transparent"}),c.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-[0.4em] text-primary mb-6",children:e.tag}),c.jsx("h3",{className:"display text-3xl md:text-5xl mb-6 uppercase",children:e.title}),c.jsx("div",{className:"gold-divider max-w-[80px] mb-6"}),c.jsx("p",{className:"text-base md:text-lg text-foreground/75 leading-relaxed",children:e.body})]},e.tag))}),c.jsxs("div",{className:"mb-6 flex items-end justify-between gap-6 flex-wrap",children:[c.jsx("p",{className:"text-[10px] font-semibold uppercase tracking-[0.4em] text-primary",children:"Nuestros Valores"}),c.jsx("p",{className:"text-sm text-foreground/65 max-w-md",children:"Cuatro principios no negociables que definen cómo entrenamos, competimos y vivimos el fútbol."})]}),c.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-px bg-border",children:OE.map((e,t)=>{const n=e.icon;return c.jsxs("div",{className:"bg-background p-8 md:p-10 hover:bg-card transition-all duration-500 group flex flex-col",children:[c.jsxs("div",{className:"flex items-start justify-between mb-6",children:[c.jsx("div",{className:"text-xs font-semibold tracking-[0.3em] text-primary",children:`0${t+1}`}),c.jsx("div",{className:"w-11 h-11 rounded-full border border-primary/30 flex items-center justify-center text-primary group-hover:border-primary group-hover:bg-primary/5 transition-all",children:c.jsx(n,{size:18,strokeWidth:1.5})})]}),c.jsx("h3",{className:"display text-2xl md:text-3xl mb-3 uppercase",children:e.name}
155),c.jsx("p",{className:"text-sm text-foreground/75 leading-relaxed mb-3",children:e.short}),c.jsx("p",{className:"text-xs text-foreground/55 leading-relaxed",children:e.long})]},e.name)})})]})}),AE=[{icon:$w,n:"01",t:"Formación de jóvenes futbolistas",d:"Programa integral desde Sub 11 hasta primera categoría con metodología de élite."},{icon:Vw,n:"02",t:"Desarrollo comunitario",d:"El club como motor social: oportunidades, identidad y orgullo para La Troncal."},{icon:lg,n:"03",t:"Retención de talento",d:"Caminos profesionales para que el talento ecuatoriano florezca en casa."},{icon:Iw,n:"04",t:"Proyección nacional e internacional",d:"Plataforma para que nuestros jugadores representen al Ecuador en el mundo."}],DE=()=>c.jsx("section",{id:"impacto",className:"relative scroll-mt-24 pt-8 md:pt-10 lg:pt-12 pb-14 md:pb-20 lg:pb-28 bg-card/30",children:c.jsxs("div",{className:"container-pad",children:[c.jsxs("div",{className:"max-w-3xl mb-12 md:mb-16",children:[c.jsx("p",{className:"eyebrow mb-6",children:"Capítulo V
155I · Impacto"}),c.jsxs("h2",{className:"display text-5xl md:text-7xl uppercase leading-[0.95]",children:["Impacto que ",c.jsx("span",{className:"gold-text",children:"trasciende"})," el campo"]}),c.jsx("p",{className:"mt-8 text-lg text-foreground/70 leading-relaxed",children:"Medimos nuestro éxito en vidas transformadas, comunidades fortalecidas y talento ecuatoriano proyectado al mundo."})]}),c.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-px bg-border",children:AE.map(e=>{const t=e.icon;return c.jsxs("div",{className:"bg-background p-10 lg:p-12 hover:bg-card hover:-translate-y-1 transition-all duration-500 group",children:[c.jsxs("div",{className:"flex items-start justify-between mb-8",children:[c.jsx("div",{className:"display text-4xl gold-text",children:e.n}),c.jsx("div",{className:"w-11 h-11 rounded-full border border-primary/30 flex items-center justify-center text-primary group-hover:border-primary group-hover:bg-primary/5 transition-all",children:c.jsx(t,{size:18,strokeWidth:1.5})})]}),c.jsx("h3",{className:"text-base font-semibold uppercase tracking-[0.18em] mb-4",children:e.t}),c.jsx("p",{className:"text-sm text-foreground/65 leading-relaxed",children:e.d})]},e.n)})})]})}),FE="/assets/community-DTXld4_5.jpg",ME=()=>c.jsxs("section",{id:"comunidad",className:"relative scroll-mt-24 py-14 md:py-20 lg:py-28 overflow-hidden",children:[c.jsxs("div",{className:"absolute inset-0",children:[c.jsx("img",{src:FE,alt:"Comunidad de La Troncal",loading:"lazy",className:"h-full w-full object-cover opacity-25"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background via-background/80 to-background"}),c.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_30%_40%,hsl(var(--primary)/0.10),transparent_60%)]"})]}),c.jsx("div",{className:"container-pad relative",children:c.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[c.jsx("p",{className:"eyebrow mb-6 justify-center",children:"Capítulo V · Comunidad"}),c.jsxs("h2",{className:"display text-5xl md:text-7xl lg:text-8xl uppercase leading-[0.95]",children:["Orgullo de ",c.jsx("span",{className:"gold-text",children:"La Troncal"})]}),c.jsx("div",{className:"gold-divider max-w-[160px] mx-auto mt-10"}),c.jsxs("p",{className:"mt-10 text-xl md:text-2xl font-light text-foreground/85 leading-relaxed",children:["Representamos a nuestra ",c.jsx("span",{className:"text-secondary font-medium",children:"comunidad troncaleña"})," dentro y fuera del campo, creando un espacio de",c.jsx("span",{className:"gold-text font-medium",children:" esperanza, identidad y pertenencia"}),"."]}),c.jsx("p",{className:"mt-6 text-base text-foreground/65 leading-relaxed max-w-3xl mx-auto",children:"El escudo es el símbolo compartido por miles de familias — un puente entre generaciones que sueñan, descubren y crecen junto al club."})]})})]}),Ms="9 de Octubre",IE=e=>e.toLowerCase().includes(Ms.toLowerCase()),zE=e=>{if(!e)return"Fecha por confirmar";const t=new Date(e);if(isNaN(t.getTime()))return e;const n=t.toLocaleDateString("es-EC",{day:"2-digit",month:"short",year:"numeric"}),r=t.toLocaleTimeString("es-EC",{hour:"2-digit",minute:"2-digit"});return`${n} · ${r}`},If=({name:e,ours:t})=>{const n=e.split(/\s+/).map(r=>r[0]).filter(Boolean).slice(0,2).join("").toUpperCase();return c.jsx("div",{className:"h-14 w-14 md:h-20 md:w-20 rounded-full flex items-center justify-center text-base md:text-lg font-medium",style:{background:t?"var(--match-gold)":"rgba(255,255,255,0.08)",color:t?"#1F2937":"#FFFFFF",border:"0.5px solid rgba(255,255,255,0.18)"},children:n||"?"})},$E=e=>e==="W"?"bg-[hsl(150_55%_45%)]":e==="D"?"bg-[var(--match-gold)]":"bg-[hsl(0_70%_55%)]",BE=({hero:e,nextMatch:t,loading:n,error:r})=>{const o=(t==null?void 0:t.home)??"",s=(t==null?void 0:t.away)??"",i=o?IE(o):!1,a=t?i?s:o:"",l=t?i?o:s:Ms;return c.jsx("section",{className:"relative w-full",style:{background:"var(--match-green)",color:"#FFFFFF"},children:c.jsxs("div",{className:"container-pad pt-12 pb-20 md:pt-16 md:pb-24",children:[c.jsx("p",{className:"text-[11px] uppercase tracking-[0.18em] text-white/55 font-medium",children:"Partidos · Temporada 2026"}),c.jsx("div",{className:"mt-10 md:mt-14",children:n?c.jsx("div",{className:"text-sm text-white/60",children:"Loading match data…"}):r?c.jsx("div",{className:"text-sm text-[hsl(0_70%_70%)]",children:r}):t?c.jsxs("div",{className:"grid grid-cols-[1fr_auto_1fr] items-center gap-4 md:gap-10",children:[c.jsxs("div",{className:"flex flex-col items-center md:items-end gap-3 text-center md:text-right",children:[c.jsx(If,{name:l,ours:!0}),c.jsx("div",{className:"text-sm md:text-base font-medium text-white/95",children:l})]}),c.jsxs("div",{className:"flex flex-col items-center gap-2 min-w-[120px]",children:[c.jsx("div",{className:"text-2xl md:text-4xl font-medium tracking-[0.12em]",style:{color:"var(--match-gold)"},children:"VS"}),c.jsx("div",{className:"text-[11px] uppercase tracking-[0.12em] text-white/70 font-medium text-center",children:zE(t.date)}),t.venue&&c.jsx("div",{className:"text-[10px] uppercase tracking-[0.1em] text-white/45 text-center",children:t.venue})]}),c.jsxs("div",{className:"flex flex-col items-center md:items-start gap-3 text-center md:text-left",children:[c.jsx(If,{name:a,ours:!1}),c.jsx("div",{className:"text-sm md:text-base font-medium text-white/95",children:a})]})]}):c.jsx("div",{className:"text-sm text-white/60",children:"No hay próximos partidos programados."})}),c.jsxs("div",{className:"mt-12 md:mt-16 grid grid-cols-3 gap-3 md:gap-4 max-w-3xl mx-auto",children:[c.jsx(zf,{label:"Posición",value:n?"…":e.position!=null?`${e.position}°`:"—"}),c.jsx(zf,{label:"Puntos",value:n?"…":String(e.points??0)}),c.jsxs("div",{className:"rounded-xl px-4 py-4 md:px-5 md:py-5",style:{background:"rgba(255,255,255,0.08)",border:"0.5px solid rgba(255,255,255,0.12)"},children:[c.jsx("div",{className:"text-[10px] uppercase tracking-[0.18em] text-white/55 font-medium",children:"Forma"}),c.jsx("div",{className:"mt-3 flex items-center gap-1.5 min-h-[1rem]",children:n||e.form.length===0?c.jsx("span",{className:"text-xs text-white/45",children:"—"}):e.form.map((u,d)=>c.jsx("span",{className:`inline-block h-3 w-3 md:h-3.5 md:w-3.5 rounded-full ${$E(u)}`},d))})]})]})]})})},zf=({label:e,value:t})=>c.jsxs("div",{className:"rounded-xl px-4 py-4 md:px-5 md:py-5",style:{background:"rgba(255,255,255,0.08)",border:"0.5px solid rgba(255,255,255,0.12)"},children:[c.jsx("div",{className:"text-[10px] uppercase tracking-[0.18em] text-white/55 font-medium",children:e}),c.jsx("div",{className:"mt-2 text-2xl md:text-3xl font-medium text-white",children:t})]}),pl=e=>e.toLowerCase().includes(Ms.toLowerCase()),UE=e=>e==="W"?"G":e==="L"?"P":"E",WE=e=>e==="W"?{bg:"#ECFDF5",border:"#A7F3D0",text:"#065F46"}:e==="L"?{bg:"#FEF2F2",border:"#FECACA",text:"#991B1B"}:{bg:"#FFFBEB",border:"#FDE68A",text:"#92400E"},VE=({results:e,performance:t,loading:n,error:r})=>{const o=e.filter(s=>pl(s.home)||pl(s.away)).slice(0,5);return c.jsx("section",{className:"relative z-[2] mx-4",style:{marginTop:"-32px"},children:c.jsxs("div",{className:"bg-card rounded-xl px-5 py-5 md:px-8 md:py-7",style:{border:"0.5px solid hsl(var(--border) / 0.6)"},children:[c.jsx("div",{className:"text-[11px] uppercase tracking-[0.18em] text-foreground
155/55 font-medium",children:"Últimos 5 resultados"}),n?c.jsx("div",{className:"mt-5 text-sm text-foreground/65",children:"Loading match data…"}):r?c.jsx("div",{className:"mt-5 text-sm text-[hsl(0_70%_47%)]",children:r}):o.length===0?c.jsx("div",{className:"mt-5 text-sm text-foreground/65",children:"Sin resultados aún."}):c.jsx("div",{className:"mt-4 grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-2 md:gap-3",children:o.map(s=>{const i=pl(s.home),a=i?s.homeScore??0:s.awayScore??0,l=i?s.awayScore??0:s.homeScore??0,u=i?s.away:s.home,d=WE(s.status);return c.jsxs("div",{className:"rounded-xl px-3 py-3 md:px-4 md:py-4 flex flex-col gap-1",style:{background:d.bg,border:`0.5px solid ${d.border}`,color:d.text},children:[c.jsxs("div",{className:"flex items-baseline gap-2",children:[c.jsxs("span",{className:"text-xl md:text-2xl font-medium",children:[a,"–",l]}),c.jsx("span",{className:"text-[10px] uppercase tracking-[0.18em] font-medium opacity-80",children:UE(s.status)})]}),c.jsx("div",{className:"text-[11px] truncate opacity-80",children:u})]},s.id)})}),c.jsxs("div",{className:"mt-5 pt-5 grid grid-cols-2 md:grid-cols-4 gap-3 md:gap-6",style:{borderTop:"0.5px solid hsl(var(--border) / 0.6)"},children:[c.jsx(li,{label:"Jugados",value:t.pj}),c.jsx(li,{label:"G / E / P",value:`${t.w}/${t.d}/${t.l}`}),c.jsx(li,{label:"Goles",value:`${t.gf}–${t.gc}`}),c.jsx(li,{label:"+/−",value:t.dg>0?`+${t.dg}`:`${t.dg}`,gold:t.dg>0})]})]})})},li=({label:e,value:t,gold:n})=>c.jsxs("div",{className:"flex flex-col gap-1",children:[c.jsx("span",{className:"text-[10px] uppercase tracking-[0.18em] text-foreground/55 font-medium",children:e}),c.jsx("span",{className:"text-base md:text-lg font-medium",style:n?{color:"var(--match-gold)"}:void 0,children:t})]}),HE=e=>{if(!e)return"Fecha TBD";const t=new Date(e);return isNaN(t.getTime())?e:t.toLocaleDateString("es-EC",{day:"2-digit",month:"short"}).toUpperCase()},QE=e=>{if(!e)return null;const t=new Date(e);return isNaN(t.getTime())?null:t.toLocaleTimeString("es-EC",{hour:"2-digit",minute:"2-digit"})},KE=({fixtures:e,loading:t,error:n})=>c.jsxs("div",{className:"bg-card rounded-xl overflow-hidden",style:{border:"0.5px solid hsl(var(--border) / 0.6)"},children:[c.jsx("div",{className:"px-4 py-3",style:{borderBottom:"0.5px solid hsl(var(--border) / 0.6)"},children:c.jsx("div",{className:"text-[11px] uppercase tracking-[0.18em] text-foreground/55 font-medium",children:"Próximos partidos"})}),t?c.jsx("div",{className:"px-4 py-6 text-sm text-foreground/65",children:"Loading match data…"}):n?c.jsx("div",{className:"px-4 py-6 text-sm text-[hsl(0_70%_47%)]",children:n}):e.length===0?c.jsx("div",{className:"px-4 py-6 text-sm text-foreground/65",children:"No hay más partidos próximos."}):c.jsx("ul",{children:e.map(r=>{const o=r.home.toLowerCase().includes("9 de octubre")?r.away:r.home,s=QE(r.date);return c.jsxs("li",{className:"px-4 py-3 flex items-center gap-3",style:{borderTop:"0.5px solid hsl(var(--border) / 0.4)"},children:[c.jsx("div",{className:"text-[11px] uppercase tracking-[0.12em] text-foreground/55 font-medium w-14 shrink-0",children:HE(r.date)}),c.jsx("span",{className:"inline-block h-1.5 w-1.5 rounded-full shrink-0",style:{background:"var(--match-green)"}}),c.jsxs("div",{className:"flex-1 min-w-0",children:[c.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:o}),c.jsx("div",{className:"text-[11px] text-foreground/55 truncate",children:[r.venue,s].filter(Boolean).join(" · ")||"Hora TBD"})]}),c.jsx("span",{className:"text-[10px] uppercase tracking-[0.12em] font-medium px-2 py-0.5 rounded-full shrink-0",style:{background:"rgba(31,77,58,0.08)",color:"var(--match-green)",border:"0.5px solid rgba(31,77,58,0.18)"},children:r.competition})]},r.id)})})]}),$f="https://www.sofascore.com/football/match/cd-cuenca-juniors-atletico-rojiblanco/ttujsutuj#id:15898671",qE=e=>e.toLowerCase().includes(Ms.toLowerCase()),Bf="grid-cols-[24px_1fr_22px_22px_22px_22px_28px_32px]",GE=({standings:e,loading:t,error:n})=>c.jsxs("div",{className:"bg-card rounded-xl overflow-hidden",style:{border:"0.5px solid hsl(var(--border) / 0.6)"},children:[c.jsxs("div",{className:"px-4 py-3 flex items-center justify-between",style:{borderBottom:"0.5px solid hsl(var(--border) / 0.6)"},children:[c.jsx("div",{className:"text-[11px] uppercase tracking-[0.18em] text-foreground
155/55 font-medium",children:"Tabla · Serie B"}),c.jsxs("a",{href:$f,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-[10px] uppercase tracking-[0.12em] text-foreground/55 hover:text-[var(--match-green)] transition-colors font-medium",children:["Sofascore ",c.jsx(zw,{className:"w-3 h-3"})]})]}),c.jsxs("a",{href:$f,target:"_blank",rel:"noopener noreferrer","aria-label":"Ver tabla en vivo en Sofascore",className:"block group",children:[c.jsxs("div",{className:`grid ${Bf} items-center gap-1 px-3 py-2 text-[10px] uppercase tracking-[0.12em] text-foreground/45 font-medium`,style:{borderBottom:"0.5px solid hsl(var(--border) / 0.4)"},children:[c.jsx("div",{children:"#"}),c.jsx("div",{children:"Club"}),c.jsx("div",{className:"text-center",children:"P"}),c.jsx("div",{className:"text-center",children:"W"}),c.jsx("div",{className:"text-center",children:"D"}),c.jsx("div",{className:"text-center",children:"L"}),c.jsx("div",{className:"text-center",children:"GD"}),c.jsx("div",{className:"text-right",children:"Pts"})]}),t?c.jsx("div",{className:"px-4 py-6 text-[11px] text-foreground/65",children:"Loading match data…"}):n?c.jsx("div",{className:"px-4 py-6 text-[11px] text-[hsl(0_70%_47%)]",children:n}):e.length===0?c.jsx("div",{className:"px-4 py-6 text-[11px] text-foreground/65",children:"Aún no hay partidos finalizados."}):e.map(r=>{const o=qE(r.team),s=i=>i??"—";return c.jsxs("div",{className:`grid ${Bf} items-center gap-1 px-3 py-2 text-[11px]`,style:{borderTop:"0.5px solid hsl(var(--border) / 0.3)",background:o?"#FFFBF0":void 0,borderLeft:o?"3px solid var(--match-gold)":"3px solid transparent"},children:[c.jsx("div",{className:"font-medium",style:{color:o?"#8B6914":"hsl(var(--foreground) / 0.55)"},children:r.pos}),c.jsx("div",{className:"truncate font-medium",style:{color:o?"#8B6914":void 0},children:r.team}),c.jsx("div",{className:"text-center text-foreground/75",children:s(r.p??r.pj)}),c.jsx("div",{className:"text-center text-foreground/75",children:s(r.w)}),c.jsx("div",{className:"text-center text-foreground/75",children:s(r.d)}),c.jsx("div",{className:"text-center text-foreground/75",children:s(r.l)}),c.jsx("div",{className:"text-center font-medium",style:{color:r.gd>0?"hsl(150 50% 35%)":r.gd<0?"hsl(0 60% 45%)":"hsl(var(--foreground) / 0.7)"},children:r.gd==null?"—":r.gd>0?`+${r.gd}`:r.gd}),c.jsx("div",{className:"text-right font-medium",style:{color:o?"#8B6914":void 0},children:r.pts??"—"})]},`${r.pos}-${r.team}`)})]})]});var Xg={exports:{}};/* @license
156Papa Parse
157v5.5.3
158https://github.com/mholt/PapaParse
159License: MIT
160*/(function(e,t){((n,r)=>{e.exports=r()})(r0,function n(){var r=typeof self<"u"?self:typeof window<"u"?window:r!==void 0?r:{},o,s=!r.document&&!!r.postMessage,i=r.IS_PAPA_WORKER||!1,a={},l=0,u={};function d(w){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(E){var N=j(E);N.chunkSize=parseInt(N.chunkSize),E.step||E.chunk||(N.chunkSize=null),this._handle=new y(N),(this._handle.streamer=this)._config=N}).call(this,w),this.parseChunk=function(E,N){var A=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<A){let U=this._config.newline;U||(O=this._config.quoteChar||'"',U=this._handle.guessLineEndings(E,O)),E=[...E.split(U).slice(A)].join(U)}this.isFirstChunk&&P(this._config.beforeFirstChunk)&&(O=this._config.beforeFirstChunk(E))!==void 0&&(E=O),this.isFirstChunk=!1,this._halted=!1;var A=this._partialLine+E,O=(this._partialLine="",this._handle.parse(A,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(E=O.meta.cursor,A=(this._finished||(this._partialLine=A.substring(E-this._baseIndex),this._baseIndex=E),O&&O.data&&(this._rowCount+=O.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),i)r.postMessage({results:O,workerId:u.WORKER_ID,finished:A});else if(P(this._config.chunk)&&!N){if(this._config.chunk(O,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=O=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(O.data),this._completeResults.errors=this._completeResults.errors.concat(O.errors),this._completeResults.meta=O.meta),this._completed||!A||!P(this._config.complete)||O&&O.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),A||O&&O.meta.paused||this._nextChunk(),O}this._halted=!0},this._sendError=function(E){P(this._config.error)?this._config.error(E):i&&this._config.error&&r.postMessage({workerId:u.WORKER_ID,error:E,finished:!1})}}function f(w){var E;(w=w||{}).chunkSize||(w.chunkSize=u.RemoteChunkSize),d.call(this,w),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(N){this._input=N,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(E=new XMLHttpRequest,this._config.withCredentials&&(E.withCredentials=this._config.withCredentials),s||(E.onload=R(this._chunkLoaded,this),E.onerror=R(this._chunkError,this)),E.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var N,A=this._config.downloadRequestHeaders;for(N in A)E.setRequestHeader(N,A[N])}var O;this._config.chunkSize&&(O=this._start+this._config.chunkSize-1,E.setRequestHeader("Range","bytes="+this._start+"-"+O));try{E.send(this._config.downloadRequestBody)}catch(U){this._chunkError(U.message)}s&&E.status===0&&this._chunkError()}},this._chunkLoaded=function(){E.readyState===4&&(E.status<200||400<=E.status?this._chunkError():(this._start+=this._config.chunkSize||E.responseText.length,this._finished=!this._config.chunkSize||this._start>=(N=>(N=N.getResponseHeader("Content-Range"))!==null?parseInt(N.substring(N.lastIndexOf("/")+1)):-1)(E),this.parseChunk(E.responseText)))},this._chunkError=function(N){N=E.statusText||N,this._sendError(new Error(N))}}function h(w){(w=w||{}).chunkSize||(w.chunkSize=u.LocalChunkSize),d.call(this,w);var E,N,A=typeof FileReader<"u";this.stream=function(O){this._input=O,N=O.slice||O.webkitSlice||O.mozSlice,A?((E=new FileReader).onload=R(this._chunkLoaded,this),E.onerror=R(this._chunkError,this)):E=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var O=this._input,U=(this._config.chunkSize&&(U=Math.min(this._start+this._config.chunkSize,this._input.size),O=N.call(O,this._start,U)),E.readAsText(O,this._config.encoding));A||this._chunkLoaded({target:{result:U}})},this._chunkLoaded=function(O){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(O.target.result)},this._chunkError=function(){this._sendError(E.error)}}function p(w){var E;d.call(this,w=w||{}),this.stream=function(N){return E=N,this._nextChunk()},this._nextChunk=function(){var N,A;if(!this._finished)return N=this._config.chunkSize,E=N?(A=E.substring(0,N),E.substring(N)):(A=E,""),this._finished=!E,this.parseChunk(A)}}function S(w){d.call(this,w=w||{});var E=[],N=!0,A=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(O){this._input=O,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){A&&E.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),E.length?this.parseChunk(E.shift()):N=!0},this._streamData=R(function(O){try{E.push(typeof O=="string"?O:O.toString(this._config.encoding)),N&&(N=!1,this._checkIsFinished(),this.parseChunk(E.shift()))}catch(U){this._streamError(U)}},this),this._streamError=R(function(O){this._streamCleanUp(),this._sendError(O)},this),this._streamEnd=R(function(){this._streamCleanUp(),A=!0,this._streamData("")},this),this._streamCleanUp=R(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function y(w){var E,N,A,O,U=Math.pow(2,53),F=-U,K=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,H=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,_=this,T=0,k=0,D=!1,$=!1,I=[],M={data:[],errors:[],meta:{}};function V(G){return w.skipEmptyLines==="greedy"?G.join("").trim()==="":G.length===1&&G[0].length===0}function Z(){if(M&&A&&(q("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+u.DefaultDelimiter+"'"),A=!1),w.skipEmptyLines&&(M.data=M.data.filter(function(Q){return!V(Q)}
vendor: 13,614 bytes, lines 160-169
160)),re()){let Q=function(fe,he){P(w.transformHeader)&&(fe=w.transformHeader(fe,he)),I.push(fe)};if(M)if(Array.isArray(M.data[0])){for(var G=0;re()&&G<M.data.length;G++)M.data[G].forEach(Q);M.data.splice(0,1)}else M.data.forEach(Q)}function Y(Q,fe){for(var he=w.header?{}:[],ae=0;ae<Q.length;ae++){var ce=ae,ne=Q[ae],ne=((Ke,X)=>(de=>(w.dynamicTypingFunction&&w.dynamicTyping[de]===void 0&&(w.dynamicTyping[de]=w.dynamicTypingFunction(de)),(w.dynamicTyping[de]||w.dynamicTyping)===!0))(Ke)?X==="true"||X==="TRUE"||X!=="false"&&X!=="FALSE"&&((de=>{if(K.test(de)&&(de=parseFloat(de),F<de&&de<U))return 1})(X)?parseFloat(X):H.test(X)?new Date(X):X===""?null:X):X)(ce=w.header?ae>=I.length?"__parsed_extra":I[ae]:ce,ne=w.transform?w.transform(ne,ce):ne);ce==="__parsed_extra"?(he[ce]=he[ce]||[],he[ce].push(ne)):he[ce]=ne}return w.header&&(ae>I.length?q("FieldMismatch","TooManyFields","Too many fields: expected "+I.length+" fields but parsed "+ae,k+fe):ae<I.length&&q("FieldMismatch","TooFewFields","Too few fields: expected "+I.length+" fields but parsed "+ae,k+fe)),he}var se;M&&(w.header||w.dynamicTyping||w.transform)&&(se=1,!M.data.length||Array.isArray(M.data[0])?(M.data=M.data.map(Y),se=M.data.length):M.data=Y(M.data,0),w.header&&M.meta&&(M.meta.fields=I),k+=se)}function re(){return w.header&&I.length===0}function q(G,Y,se,Q){G={type:G,code:Y,message:se},Q!==void 0&&(G.row=Q),M.errors.push(G)}P(w.step)&&(O=w.step,w.step=function(G){M=G,re()?Z():(Z(),M.data.length!==0&&(T+=G.data.length,w.preview&&T>w.preview?N.abort():(M.data=M.data[0],O(M,_))))}),this.parse=function(G,Y,se){var Q=w.quoteChar||'"',Q=(w.newline||(w.newline=this.guessLineEndings(G,Q)),A=!1,w.delimiter?P(w.delimiter)&&(w.delimiter=w.delimiter(G),M.meta.delimiter=w.delimiter):((Q=((fe,he,ae,ce,ne)=>{var Ke,X,de,Pt;ne=ne||[",","	","|",";",u.RECORD_SEP,u.UNIT_SEP];for(var xt=0;xt<ne.length;xt++){for(var lt,ut=ne[xt],De=0,wt=0,ue=0,Te=(de=void 0,new g({comments:ce,delimiter:ut,newline:he,preview:10}).parse(fe)),Rt=0;Rt<Te.data.length;Rt++)ae&&V(Te.data[Rt])?ue++:(lt=Te.data[Rt].length,wt+=lt,de===void 0?de=lt:0<lt&&(De+=Math.abs(lt-de),de=lt));0<Te.data.length&&(wt/=Te.data.length-ue),(X===void 0||De<=X)&&(Pt===void 0||Pt<wt)&&1.99<wt&&(X=De,Ke=ut,Pt=wt)}return{successful:!!(w.delimiter=Ke),bestDelimiter:Ke}})(G,w.newline,w.skipEmptyLines,w.comments,w.delimitersToGuess)).successful?w.delimiter=Q.bestDelimiter:(A=!0,w.delimiter=u.DefaultDelimiter),M.meta.delimiter=w.delimiter),j(w));return w.preview&&w.header&&Q.preview++,E=G,N=new g(Q),M=N.parse(E,Y,se),Z(),D?{meta:{paused:!0}}:M||{meta:{paused:!1}}},this.paused=function(){return D},this.pause=function(){D=!0,N.abort(),E=P(w.chunk)?"":E.substring(N.getCharIndex())},this.resume=function(){_.streamer._halted?(D=!1,_.streamer.parseChunk(E,!0)):setTimeout(_.resume,3)},this.aborted=function(){return $},this.abort=function(){$=!0,N.abort(),M.meta.aborted=!0,P(w.complete)&&w.complete(M),E=""},this.guessLineEndings=function(fe,Q){fe=fe.substring(0,1048576);var Q=new RegExp(b(Q)+"([^]*?)"+b(Q),"gm"),se=(fe=fe.replace(Q,"")).split("\r"),Q=fe.split(`
161`),fe=1<Q.length&&Q[0].length<se[0].length;if(se.length===1||fe)return`
162`;for(var he=0,ae=0;ae<se.length;ae++)se[ae][0]===`
163`&&he++;return he>=se.length/2?`\r
164`:"\r"}}function b(w){return w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(w){var E=(w=w||{}).delimiter,N=w.newline,A=w.comments,O=w.step,U=w.preview,F=w.fastMode,K=null,H=!1,_=w.quoteChar==null?'"':w.quoteChar,T=_;if(w.escapeChar!==void 0&&(T=w.escapeChar),(typeof E!="string"||-1<u.BAD_DELIMITERS.indexOf(E))&&(E=","),A===E)throw new Error("Comment character same as delimiter");A===!0?A="#":(typeof A!="string"||-1<u.BAD_DELIMITERS.indexOf(A))&&(A=!1),N!==`
165`&&N!=="\r"&&N!==`\r
166`&&(N=`
167`);var k=0,D=!1;this.parse=function($,I,M){if(typeof $!="string")throw new Error("Input must be a string");var V=$.length,Z=E.length,re=N.length,q=A.length,G=P(O),Y=[],se=[],Q=[],fe=k=0;if(!$)return De();if(F||F!==!1&&$.indexOf(_)===-1){for(var he=$.split(N),ae=0;ae<he.length;ae++){if(Q=he[ae],k+=Q.length,ae!==he.length-1)k+=N.length;else if(M)return De();if(!A||Q.substring(0,q)!==A){if(G){if(Y=[],Pt(Q.split(E)),wt(),D)return De()}else Pt(Q.split(E));if(U&&U<=ae)return Y=Y.slice(0,U),De(!0)}}return De()}for(var ce=$.indexOf(E,k),ne=$.indexOf(N,k),Ke=new RegExp(b(T)+b(_),"g"),X=$.indexOf(_,k);;)if($[k]===_)for(X=k,k++;;){if((X=$.indexOf(_,X+1))===-1)return M||se.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Y.length,index:k}),lt();if(X===V-1)return lt($.substring(k,X).replace(Ke,_));if(_===T&&$[X+1]===T)X++;else if(_===T||X===0||$[X-1]!==T){ce!==-1&&ce<X+1&&(ce=$.indexOf(E,X+1));var de=xt((ne=ne!==-1&&ne<X+1?$.indexOf(N,X+1):ne)===-1?ce:Math.min(ce,ne));if($.substr(X+1+de,Z)===E){Q.push($.substring(k,X).replace(Ke,_)),$[k=X+1+de+Z]!==_&&(X=$.indexOf(_,k)),ce=$.indexOf(E,k),ne=$.indexOf(N,k);break}if(de=xt(ne),$.substring(X+1+de,X+1+de+re)===N){if(Q.push($.substring(k,X).replace(Ke,_)),ut(X+1+de+re),ce=$.indexOf(E,k),X=$.indexOf(_,k),G&&(wt(),D))return De();if(U&&Y.length>=U)return De(!0);break}se.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Y.length,index:k}),X++}}else if(A&&Q.length===0&&$.substring(k,k+q)===A){if(ne===-1)return De();k=ne+re,ne=$.indexOf(N,k),ce=$.indexOf(E,k)}else if(ce!==-1&&(ce<ne||ne===-1))Q.push($.substring(k,ce)),k=ce+Z,ce=$.indexOf(E,k);else{if(ne===-1)break;if(Q.push($.substring(k,ne)),ut(ne+re),G&&(wt(),D))return De();if(U&&Y.length>=U)return De(!0)}return lt();function Pt(ue){Y.push(ue),fe=k}function xt(ue){var Te=0;return Te=ue!==-1&&(ue=$.substring(X+1,ue))&&ue.trim()===""?ue.length:Te}function lt(ue){return M||(ue===void 0&&(ue=$.substring(k)),Q.push(ue),k=V,Pt(Q),G&&wt()),De()}function ut(ue){k=ue,Pt(Q),Q=[],ne=$.indexOf(N,k)}function De(ue){if(w.header&&!I&&Y.length&&!H){var Te=Y[0],Rt=Object.create(null),Oo=new Set(Te);let fr=!1;for(let Nn=0;Nn<Te.length;Nn++){let ct=Te[Nn];if(Rt[ct=P(w.transformHeader)?w.transformHeader(ct,Nn):ct]){let un,cn=Rt[ct];for(;un=ct+"_"+cn,cn++,Oo.has(un););Oo.add(un),Te[Nn]=un,Rt[ct]++,fr=!0,(K=K===null?{}:K)[un]=ct}else Rt[ct]=1,Te[Nn]=ct;Oo.add(ct)}fr&&console.warn("Duplicate headers found and renamed."),H=!0}return{data:Y,errors:se,meta:{delimiter:E,linebreak:N,aborted:D,truncated:!!ue,cursor:fe+(I||0),renamedHeaders:K}}}function wt(){O(De()),Y=[],se=[]}},this.abort=function(){D=!0},this.getCharIndex=function(){return k}}function m(w){var E=w.data,N=a[E.workerId],A=!1;if(E.error)N.userError(E.error,E.file);else if(E.results&&E.results.data){var O={abort:function(){A=!0,v(E.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(P(N.userStep)){for(var U=0;U<E.results.data.length&&(N.userStep({data:E.results.data[U],errors:E.results.errors,meta:E.results.meta},O),!A);U++);delete E.results}else P(N.userChunk)&&(N.userChunk(E.results,O,E.file),delete E.results)}E.finished&&!A&&v(E.workerId,E.results)}function v(w,E){var N=a[w];P(N.userComplete)&&N.userComplete(E),N.terminate(),delete a[w]}function C(){throw new Error("Not implemented.")}function j(w){if(typeof w!="object"||w===null)return w;var E,N=Array.isArray(w)?[]:{};for(E in w)N[E]=j(w[E]);return N}function R(w,E){return function(){w.apply(E,arguments)}}function P(w){return typeof w=="function"}return u.parse=function(w,E){var N=(E=E||{}).dynamicTyping||!1;if(P(N)&&(E.dynamicTypingFunction=N,N={}),E.dynamicTyping=N,E.transform=!!P(E.transform)&&E.transform,!E.worker||!u.WORKERS_SUPPORTED)return N=null,u.NODE_STREAM_INPUT,typeof w=="string"?(w=(A=>A.charCodeAt(0)!==65279?A:A.slice(1))(w),N=new(E.download?f:p)(E)):w.readable===!0&&P(w.read)&&P(w.on)?N=new S(E):(r.File&&w instanceof File||w instanceof Object)&&(N=new h(E)),N.stream(w);(N=(()=>{var A;return!!u.WORKERS_SUPPORTED&&(A=(()=>{var O=r.URL||r.webkitURL||null,U=n.toString();return u.BLOB_URL||(u.BLOB_URL=O.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",U,")();"],{type:"text/javascript"})))})(),(A=new r.Worker(A)).onmessage=m,A.id=l++,a[A.id]=A)})()).userStep=E.step,N.userChunk=E.chunk,N.userComplete=E.complete,N.userError=E.error,E.step=P(E.step),E.chunk=P(E.chunk),E.complete=P(E.complete),E.error=P(E.error),delete E.worker,N.postMessage({input:w,config:E,workerId:N.id})},u.unparse=function(w,E){var N=!1,A=!0,O=",",U=`\r
168`,F='"',K=F+F,H=!1,_=null,T=!1,k=((()=>{if(typeof E=="object"){if(typeof E.delimiter!="string"||u.BAD_DELIMITERS.filter(function(I){return E.delimiter.indexOf(I)!==-1}).length||(O=E.delimiter),typeof E.quotes!="boolean"&&typeof E.quotes!="function"&&!Array.isArray(E.quotes)||(N=E.quotes),typeof E.skipEmptyLines!="boolean"&&typeof E.skipEmptyLines!="string"||(H=E.skipEmptyLines),typeof E.newline=="string"&&(U=E.newline),typeof E.quoteChar=="string"&&(F=E.quoteChar),typeof E.header=="boolean"&&(A=E.header),Array.isArray(E.columns)){if(E.columns.length===0)throw new Error("Option columns is empty");_=E.columns}E.escapeChar!==void 0&&(K=E.escapeChar+F),E.escapeFormulae instanceof RegExp?T=E.escapeFormulae:typeof E.escapeFormulae=="boolean"&&E.escapeFormulae&&(T=/^[=+\-@\t\r].*$/)}})(),new RegExp(b(F),"g"));if(typeof w=="string"&&(w=JSON.parse(w)),Array.isArray(w)){if(!w.length||Array.isArray(w[0]))return D(null,w,H);if(typeof w[0]=="object")return D(_||Object.keys(w[0]),w,H)}else if(typeof w=="object")return typeof w.data=="string"&&(w.data=JSON.parse(w.data)),Array.isArray(w.data)&&(w.fields||(w.fields=w.meta&&w.meta.fields||_),w.fields||(w.fields=Array.isArray(w.data[0])?w.fields:typeof w.data[0]=="object"?Object.keys(w.data[0]):[]),Array.isArray(w.data[0])||typeof w.data[0]=="object"||(w.data=[w.data])),D(w.fields||[],w.data||[],H);throw new Error("Unable to serialize unrecognized input");function D(I,M,V){var Z="",re=(typeof I=="string"&&(I=JSON.parse(I)),typeof M=="string"&&(M=JSON.parse(M)),Array.isArray(I)&&0<I.length),q=!Array.isArray(M[0]);if(re&&A){for(var G=0;G<I.length;G++)0<G&&(Z+=O),Z+=$(I[G],G);0<M.length&&(Z+=U)}for(var Y=0;Y<M.length;Y++){var se=(re?I:M[Y]).length,Q=!1,fe=re?Object.keys(M[Y]).length===0:M[Y].length===0;if(V&&!re&&(Q=V==="greedy"?M[Y].join("").trim()==="":M[Y].length===1&&M[Y][0].length===0),V==="greedy"&&re){for(var he=[],ae=0;ae<se;ae++){var ce=q?I[ae]:ae;he.push(M[Y][ce])}Q=he.join("").trim()===""}if(!Q){for(var ne=0;ne<se;ne++){0<ne&&!fe&&(Z+=O);var Ke=re&&q?I[ne]:ne;Z+=$(M[Y][Ke],ne)}Y<M.length-1&&(!V||0<se&&!fe)&&(Z+=U)}}return Z}function $(I,M){var V,Z;return I==null?"":I.constructor===Date?JSON.stringify(I).slice(1,25):(Z=!1,T&&typeof I=="string"&&T.test(I)&&(I="'"+I,Z=!0),V=I.toString().replace(k,K),(Z=Z||N===!0||typeof N=="function"&&N(I,M)||Array.isArray(N)&&N[M]||((re,q)=>{for(var G=0;G<q.length;G++)if(-1<re.indexOf(q[G]))return!0;return!1})(V,u.BAD_DELIMITERS)||-1<V.indexOf(O)||V.charAt(0)===" "||V.charAt(V.length-1)===" ")?F+V+F:V)}},u.RECORD_SEP="�",u.UNIT_SEP="�",u.BYTE_ORDER_MARK="\uFEFF",u.BAD_DELIMITERS=["\r",`
169`,'"',u.BYTE_ORDER_MARK],u.WORKERS_SUPPORTED=!s&&!!r.Worker,u.NODE_STREAM_INPUT=1,u.LocalChunkSize=10485760,u.RemoteChunkSize=5242880,u.DefaultDelimiter=",",u.Parser=g,u.ParserHandle=y,u.NetworkStreamer=f,u.FileStreamer=h,u.StringStreamer=p,u.ReadableStreamStreamer=S,r.jQuery&&((o=r.jQuery).fn.parse=function(w){var E=w.config||{},N=[];return this.each(function(U){if(!(o(this).prop("tagName").toUpperCase()==="INPUT"&&o(this).attr("type").toLowerCase()==="file"&&r.FileReader)||!this.files||this.files.length===0)return!0;for(var F=0;F<this.files.length;F++)N.push({file:this.files[F],inputElem:this,instanceConfig:o.extend({},E)})}),A(),this;function A(){if(N.length===0)P(w.complete)&&w.complete();else{var U,F,K,H,_=N[0];if(P(w.before)){var T=w.before(_.file,_.inputElem);if(typeof T=="object"){if(T.action==="abort")return U="AbortError",F=_.file,K=_.inputElem,H=T.reason,void(P(w.error)&&w.error({name:U},F,K,H));if(T.action==="skip")return void O();typeof T.config=="object"&&(_.instanceConfig=o.extend(_.instanceConfig,T.config))}else if(T==="skip")return void O()}var k=_.instanceConfig.complete;_.instanceConfig.complete=function(D){P(k)&&k(D,_.file,_.inputElem),O()},u.parse(_.file,_.instanceConfig)}}function O(){N.splice(0,1),A()}}),i&&(r.onmessage=function(w){w=w.data,u.WORKER_ID===void 0&&w&&(u.WORKER_ID=w.workerId),typeof w.input=="string"?r.postMessage({workerId:u.WORKER_ID,results:u.parse(w.input,w.config),finished:!0}):(r.File&&w.input instanceof File||w.input instanceof Object)&&(w=u.parse(w.input,w.config))&&r.postMessage({workerId:u.WORKER_ID,results:w,finished:!0})}),(f.prototype=Object.create(d.prototype)).constructor=f,(h.prototype=Object.create(d.prototype)).constructor=h,(p.prototype=Object.create(p.prototype)).constructor=p,(S.prototype=Object.create(d.prototype)).constructor=S,u})})(Xg);var YE=Xg.exports;const Uf=Su(YE),XE="https://docs.google.com/spreadsheets/d/e/2PACX-1vS4wOMlxJSls-NeOaYoEnHSUyeSFbX56EIKDggFLRHIxt47HvCa-L4LNKp_XTia0g/pub?gid=1625938173&single=true&output=csv",ZE="https://docs.google.com/spreadsheets/d/e/2PACX-1vS4wOMlxJSls-NeOaYoEnHSUyeSFbX56EIKDggFLRHIxt47HvCa-L4LNKp_XTia0g/pub?gid=614339277&single=true&output=csv",JE=5,e2=e=>{if(!e)return null;const t=e.trim();if(!t)return null;const n=t.match(/^(\d{1,2}):(\d{2})/);if(!n)return null;const r=+n[1],o=+n[2];return r>23||o>59?null:{h:r,m:o}},t2=(e,t)=>{if(!e)return null;const n=e.trim();if(!n||/^tbd$/i.test(n))return null;const r=e2(t),o=(l,u,d,f,h)=>
169{if(r){const S=Date.UTC(l,u,d,r.h+JE,r.m),y=new Date(S);return isNaN(y.getTime())?null:y.toISOString()}const p=new Date(Date.UTC(l,u,d,f??0,h??0));return isNaN(p.getTime())?null:p.toISOString()};if(/^\d+(\.\d+)?$/.test(n)){const l=parseFloat(n);if(l>1e4&&l<1e5){const u=Math.round((l-25569)*86400*1e3),d=new Date(u);if(!isNaN(d.getTime()))return o(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate())}}const s=n.match(/^(\d{4})-(\d{1,2})-(\d{1,2})(?:[T ](\d{1,2}):(\d{2}))?/);if(s)return o(+s[1],+s[2]-1,+s[3],+(s[4]??0),+(s[5]??0));const i=n.match(/^(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2,4})/);if(i){let l=+i[3];return l<100&&(l+=2e3),o(l,+i[2]-1,+i[1])}const a=new Date(n);return isNaN(a.getTime())?n:a.toISOString()},Ln=e=>{if(e==null||e==="")return;const t=Number(e);return isNaN(t)?void 0:t},na=e=>(e??"").trim().toLowerCase(),bt=e=>na(e).includes(na(Ms)),n2=(e,t,n,r)=>{const o=bt(e)?n:r,s=bt(e)?r:n;return o>s?"W":o<s?"L":"D"},r2=e=>{const t=new Map,n=o=>{let s=t.get(o);return s||(s={team:o,pj:0,w:0,d:0,l:0,gf:0,gc:0,pts:0},t.set(o,s)),s};for(const o of e){if(o.homeScore==null||o.awayScore==null)continue;const s=n(o.home),i=n(o.away);s.pj++,i.pj++,s.gf+=o.homeScore,s.gc+=o.awayScore,i.gf+=o.awayScore,i.gc+=o.homeScore,o.homeScore>o.awayScore?(s.w++,s.pts+=3,i.l++):o.homeScore<o.awayScore?(i.w++,i.pts+=3,s.l++):(s.d++,i.d++,s.pts++,i.pts++)}const r=Array.from(t.values());return r.sort((o,s)=>s.pts-o.pts||s.gf-s.gc-(o.gf-o.gc)||s.gf-o.gf||o.team.localeCompare(s.team)),r.map((o,s)=>({pos:s+1,team:o.team,pj:o.pj,gd:o.gf-o.gc,pts:o.pts}))},Wf={results:[],fixtures:[],standings:[],standingsExtras:{},performance:{pj:0,w:0,d:0,l:0,gf:0,gc:0,dg:0,pts:0,form:[]},hero:{position:null,points:0,form:[]},insights:{biggestWin:null,cleanSheets:0,totalGoals:0},loading:!0,error:null},o2=()=>{const[e,t]=x.useState(Wf);return x.useEffect(()=>{let n=!1;return(async()=>{try{const[o,s]=await Promise.all([fetch(XE,{cache:"no-store"}),fetch(ZE,{cache:"no-store"})]);if(!o.ok)throw new Error(`HTTP ${o.status}`);const i=await o.text(),a=Uf.parse(i,{header:!0,skipEmptyLines:!0,transformHeader:_=>_.trim()});let l=[];if(s.ok){const _=await s.text();l=Uf.parse(_,{header:!0,skipEmptyLines:!0,transformHeader:k=>k.trim()}).data.map(k=>{const D=(k.Team??"").trim();if(!D)return null;const $=Object.keys(k).find(Y=>Y==="#"||Y==="Pos"||Y===""||/^pos$/i.test(Y)),I=Number($?k[$]:""),M=Ln(k.P)??0,V=Ln(k.W),Z=Ln(k.D),re=Ln(k.L),q=Ln(k.GD)??0,G=Ln(k.PTS)??0;return{pos:isNaN(I)?0:I,team:D,pj:M,p:M,w:V,d:Z,l:re,gd:q,pts:G}}).filter(k=>!!k).sort((k,D)=>k.pos-D.pos)}const u=[],d=[],f=[];a.data.forEach((_,T)=>{var G;const k=na(_.Status);if(k==="cancelled"||k==="canceled")return;const D=(_["Home Team"]??"").trim(),$=(_["Away Team"]??"").trim();if(!D||!$)return;const I=(_.Competition??"Serie B").trim()||"Serie B",M=Ln(_["Home Score"]),V=Ln(_["Away Score"]),Z=t2(_.Date,_["Kickoff Time"]),re=k==="finished",q={id:`csv-${T}`,date:Z,competition:I,home:D,away:$,homeScore:M,awayScore:V,venue:((G=_.Venue)==null?void 0:G.trim())||void 0,played:re};if(re&&M!=null&&V!=null){const Y=bt(D)||bt($),se={...q,status:Y?n2(D,$,M,V):void 0};u.push(se),na(I)==="serie b"&&f.push(se)}else k==="upcoming"&&d.push(q)});const h=u.filter(_=>bt(_.home)||bt(_.away)).slice().sort((_,T)=>{const k=_.date?new Date(_.date).getTime():0,D=T.date?new Date(T.date).getTime():0;return k-D});let p=0,S=0,y=0,b=0,g=0;for(const _ of h){if(_.homeScore==null||_.awayScore==null)continue;const T=bt(_.home)?_.homeScore:_.awayScore,k=bt(_.home)?_.awayScore:_.homeScore;b+=T,g+=k,T>k?p++:T<k?y++:S++}const m=p*3+S,v=h.map(_=>_.status).filter(_=>!!_).slice(-5),C={pj:h.length,w:p,d:S,l:y,gf:b,gc:g,dg:b-g,pts:m,form:v};d.sort((_,T)=>!_.date&&!T.date?0:_.date?T.date?new Date(_.date).getTime()-new Date(T.date).getTime():-1:1);const j=u.slice().sort((_,T)=>{const k=_.date?new Date(_.date).getTime():0;return(T.date?new Date(T.date).getTime():0)-k}),R=r2(f),P=l.length>0?l:R,w=P.find(_=>bt(_.team)),E={position:w?w.pos:null,points:w?w.pts:C.pts,form:v};let N=0,A=-1,O=null;for(const _ of h){if(_.homeScore==null||_.awayScore==null)continue;const T=bt(_.home)?_.homeScore:_.awayScore,k=bt(_.home)?_.awayScore:_.homeScore,D=bt(_.home)?_.away:_.home;k===0&&N++,_.status==="W"&&T-k>A&&(A=T-k,O=`${T}–${k} vs ${D}`)}const U={biggestWin:O,cleanSheets:N,totalGoals:C.gf},F={},K=f.slice().sort((_,T)=>{const k=_.date?new Date(_.date).getTime():0,D=T.date?new Date(T.date).getTime():0;return k-D}),H=_=>(F[_]||(F[_]={w:0,d:0,l:0,gf:0,gc:0,last5:[]}),F[_]);
169for(const _ of K){if(_.homeScore==null||_.awayScore==null)continue;const T=H(_.home),k=H(_.away);T.gf+=_.homeScore,T.gc+=_.awayScore,k.gf+=_.awayScore,k.gc+=_.homeScore,_.homeScore>_.awayScore?(T.w++,k.l++,T.last5.push("W"),k.last5.push("L")):_.homeScore<_.awayScore?(k.w++,T.l++,k.last5.push("W"),T.last5.push("L")):(T.d++,k.d++,T.last5.push("D"),k.last5.push("D"))}for(const _ of Object.keys(F))F[_].last5=F[_].last5.slice(-5);n||t({results:j,fixtures:d,standings:P,standingsExtras:F,performance:C,hero:E,insights:U,loading:!1,error:null})}catch{n||t({...Wf,loading:!1,error:"Unable to load match data. Please try again later."})}})(),()=>{n=!0}},[]),e},s2={"--match-green":"#1F4D3A","--match-gold":"#D4A017"},i2=()=>{const{results:e,fixtures:t,standings:n,standingsExtras:r,performance:o,hero:s,loading:i,error:a}=o2(),l=t[0]??null,u=t.slice(1,5);return c.jsxs("div",{className:"partidos-scope",style:s2,children:[c.jsx(BE,{hero:s,nextMatch:l,loading:i,error:a}),c.jsx(VE,{results:e,performance:o,loading:i,error:a}),c.jsx("section",{className:"mt-12 md:mt-16 mb-16 md:mb-24",children:c.jsxs("div",{className:"mx-4 grid grid-cols-1 md:grid-cols-2 gap-3",children:[c.jsx(GE,{standings:n,extras:r,loading:i,error:a}),c.jsx(KE,{fixtures:u,loading:i,error:a})]})})]})},a2=()=>c.jsxs(c.Fragment,{children:[c.jsx(NE,{}),c.jsx(_E,{}),c.jsx(RE,{}),c.jsx(LE,{}),c.jsx(DE,{}),c.jsx(ME,{}),c.jsx(i2,{})]}),l2=()=>c.jsxs(SE,{children:[c.jsx(CE,{title:"9 de Octubre FC — Legado, Talento, Futuro",description:"Semillero del fútbol ecuatoriano. Una institución centenaria que forma jugadores y personas — humildad, disciplina, honestidad y consistencia.",path:"/"}),c.jsx(a2,{})]}),Vf=x.lazy(()=>et(()=>import("./Intro-C7rrjK9z.js"),[])),u2=x.lazy(()=>et(()=>import("./Entrada-CdG7Axlz.js"),[])),Hf=x.lazy(()=>et(()=>import("./Formacion--NsEU1k0.js"),__vite__mapDeps([0,1,2,3]))),c2=x.lazy(()=>et(()=>import("./Historia-BUbw1bJA.js"),__vite__mapDeps([4,5]))),d2=x.lazy(()=>et(()=>import("./Club-BPKmhi8E.js"),[])),f2=x.lazy(()=>et(()=>import("./Lideres-gLlIeNd7.js"),[])),p2=x.lazy(()=>et(()=>import("./CuerpoTecnico-CSQ-RlHE.js"),__vite__mapDeps([6,2,3]))),h2=x.lazy(()=>et(()=>import("./Equipo-D6o0ADgN.js"),__vite__mapDeps([7,1,2,3]))),m2=x.lazy(()=>et(()=>import("./Academia-CBKcb0SG.js"),__vite__mapDeps([8,9]))),g2=x.lazy(()=>et(()=>import("./Noticias-quin8_iC.js"),__vite__mapDeps([10,9,3,5,11]))),v2=x.lazy(()=>et(()=>import("./PartnersPage-CsE23p-e.js"),__vite__mapDeps([12,11]))),y2=x.lazy(()=>et(()=>import("./Partidos-BvIA3bFB.js"),[])),x2=x.lazy(()=>et(()=>import("./Contacto-B6QOhY6R.js"),[])),w2=x.lazy(()=>et(()=>import("./Legal-CFpgMKGl.js"),[])),b2=x.lazy(()=>et(()=>import("./NotFound-B7PbBwpz.js"),[])),S2=new Jy,E2=()=>c.jsx("div",{style:{minHeight:"100vh",background:"#0a0a0a"},"aria-hidden":!0}),C2=()=>c.jsx(tx,{client:S2,children:c.jsxs(dE,{children:[c.jsx(Nb,{}),c.jsx(A1,{}),c.jsxs(Zx,{children:[c.jsx(n1,{}),c.jsx(x.Suspense,{fallback:c.jsx(E2,{}),children:c.jsxs(Hx,{children:[c.jsx(Re,{path:"/",element:c.jsx(l2,{})}),c.jsx(Re,{path:"/intro",element:c.jsx(Vf,{})}),c.jsx(Re,{path:"/entrada",element:c.jsx(u2,{})}),c.jsx(Re,{path:"/bienvenida",element:c.jsx(Vf,{})}),c.jsx(Re,{path:"/historia",element:c.jsx(c2,{})}),c.jsx(Re,{path:"/club",element:c.jsx(d2,{})}),c.jsx(Re,{path:"/lideres",element:c.jsx(f2,{})}),c.jsx(Re,{path:"/equipo",element:c.jsx(h2,{})}),c.jsx(Re,{path:"/cuerpo-tecnico",element:c.jsx(p2,{})}),c.jsx(Re,{path:"/academia",element:c.jsx(m2,{})}),c.jsx(Re,{path:"/formacion",element:c.jsx(Hf,{})}),c.jsx(Re,{path:"/formativas",element:c.jsx(Hf,{})}),c.jsx(Re,{path:"/noticias",element:c.jsx(g2,{})}),c.jsx(Re,{path:"/partners",element:c.jsx(v2,{})}),c.jsx(Re,{path:"/partidos",element:c.jsx(y2,{})}),c.jsx(Re,{path:"/contacto",element:c.jsx(x2,{})}),c.jsx(Re,{path:"/legal/:slug",element:c.jsx(w2,{})}),c.jsx(Re,{path:"*",element:c.jsx(b2,{})})]})})]})]})});hm(document.getElementById("root")).render(c.jsx(C2,{}));export{RE as C,bc as D,KE as F,BE as H,DE as I,Nt as L,LE as M,at as P,cp as R,SE as S,ug as X,CE as a,ME as b,Fc as c,an as d,FE as e,sr as f,or as g,Qt as h,Sa as i,c as j,Le as k,Sc as l,T2 as m,zm as n,fu as o,uw as p,Ir as q,x as r,o2 as s,PE as t,_x as u,VE as v,GE as w,z1 as x,N2 as y,Mr as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.