var tP=Object.defineProperty;var Ch=e=>{throw TypeError(e)};var nP=(e,t,n)=>t in e?tP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xt=(e,t,n)=>nP(e,typeof t!="symbol"?t+"":t,n),Vl=(e,t,n)=>t.has(e)||Ch("Cannot "+n);var j=(e,t,n)=>(Vl(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?Ch("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_=(e,t,n,r)=>(Vl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ke=(e,t,n)=>(Vl(e,t,"access private method"),n);var pi=(e,t,n,r)=>({set _(s){_(e,t,s,n)},get _(){return j(e,t,r)}});function rP(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const a=Object.getOwnPropertyDescriptor(r,s);a&&Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function il(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ty={exports:{}},ol={},ny={exports:{}},W={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ja=Symbol.for("react.element"),sP=Symbol.for("react.portal"),aP=Symbol.for("react.fragment"),iP=Symbol.for("react.strict_mode"),oP=Symbol.for("react.profiler"),lP=Symbol.for("react.provider"),cP=Symbol.for("react.context"),uP=Symbol.for("react.forward_ref"),dP=Symbol.for("react.suspense"),fP=Symbol.for("react.memo"),hP=Symbol.for("react.lazy"),kh=Symbol.iterator;function pP(e){return e===null||typeof e!="object"?null:(e=kh&&e[kh]||e["@@iterator"],typeof e=="function"?e:null)}var ry={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sy=Object.assign,ay={};function Os(e,t,n){this.props=e,this.context=t,this.refs=ay,this.updater=n||ry}Os.prototype.isReactComponent={};Os.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")};Os.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function iy(){}iy.prototype=Os.prototype;function Sd(e,t,n){this.props=e,this.context=t,this.refs=ay,this.updater=n||ry}var Ed=Sd.prototype=new iy;Ed.constructor=Sd;sy(Ed,Os.prototype);Ed.isPureReactComponent=!0;var Sh=Array.isArray,oy=Object.prototype.hasOwnProperty,Td={current:null},ly={key:!0,ref:!0,__self:!0,__source:!0};function cy(e,t,n){var r,s={},a=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)oy.call(t,r)&&!ly.hasOwnProperty(r)&&(s[r]=t[r]);var o=arguments.length-2;if(o===1)s.children=n;else if(1<o){for(var c=Array(o),u=0;u<o;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)s[r]===void 0&&(s[r]=o[r]);return{$$typeof:Ja,type:e,key:a,ref:i,props:s,_owner:Td.current}}function mP(e,t){return{$$typeof:Ja,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function jd(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ja}function gP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Eh=/\/+/g;function _l(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gP(""+e.key):t.toString(36)}function Ki(e,t,n,r,s){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Ja:case sP:i=!0}}if(i)return i=e,s=s(i),e=r===""?"."+_l(i,0):r,Sh(s)?(n="",e!=null&&(n=e.replace(Eh,"$&/")+"/"),Ki(s,t,n,"",function(u){return u})):s!=null&&(jd(s)&&(s=mP(s,n+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(Eh,"$&/")+"/")+e)),t.push(s)),1;if(i=0,r=r===""?".":r+":",Sh(e))for(var o=0;o<e.length;o++){a=e[o];var c=r+_l(a,o);i+=Ki(a,t,n,c,s)}else if(c=pP(e),typeof c=="function")for(e=c.call(e),o=0;!(a=e.next()).done;)a=a.value,c=r+_l(a,o++),i+=Ki(a,t,n,c,s);else if(a==="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 mi(e,t,n){if(e==null)return e;var r=[],s=0;return Ki(e,r,"","",function(a){return t.call(n,a,s++)}),r}function yP(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 He={current:null},Gi={transition:null},xP={ReactCurrentDispatcher:He,ReactCurrentBatchConfig:Gi,ReactCurrentOwner:Td};function uy(){throw Error("act(...) is not supported in production builds of React.")}W.Children={map:mi,forEach:function(e,t,n){mi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return mi(e,function(){t++}),t},toArray:function(e){return mi(e,function(t){return t})||[]},only:function(e){if(!jd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};W.Component=Os;W.Fragment=aP;W.Profiler=oP;W.PureComponent=Sd;W.StrictMode=iP;W.Suspense=dP;W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xP;W.act=uy;W.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=sy({},e.props),s=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Td.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(c in t)oy.call(t,c)&&!ly.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&o!==void 0?o[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){o=Array(c);for(var u=0;u<c;u++)o[u]=arguments[u+2];r.children=o}return{$$typeof:Ja,type:e.type,key:s,ref:a,props:r,_owner:i}};W.createContext=function(e){return e={$$typeof:cP,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lP,_context:e},e.Consumer=e};W.createElement=cy;W.createFactory=function(e){var t=cy.bind(null,e);return t.type=e,t};W.createRef=function(){return{current:null}};W.forwardRef=function(e){return{$$typeof:uP,render:e}};W.isValidElement=jd;W.lazy=function(e){return{$$typeof:hP,_payload:{_status:-1,_result:e},_init:yP}};W.memo=function(e,t){return{$$typeof:fP,type:e,compare:t===void 0?null:t}};W.startTransition=function(e){var t=Gi.transition;Gi.transition={};try{e()}finally{Gi.transition=t}};W.unstable_act=uy;W.useCallback=function(e,t){return He.current.useCallback(e,t)};W.useContext=function(e){return He.current.useContext(e)};W.useDebugValue=function(){};W.useDeferredValue=function(e){return He.current.useDeferredValue(e)};W.useEffect=function(e,t){return He.current.useEffect(e,t)};W.useId=function(){return He.current.useId()};W.useImperativeHandle=function(e,t,n){return He.current.useImperativeHandle(e,t,n)};W.useInsertionEffect=function(e,t){return He.current.useInsertionEffect(e,t)};W.useLayoutEffect=function(e,t){return He.current.useLayoutEffect(e,t)};W.useMemo=function(e,t){return He.current.useMemo(e,t)};W.useReducer=function(e,t,n){return He.current.useReducer(e,t,n)};W.useRef=function(e){return He.current.useRef(e)};W.useState=function(e){return He.current.useState(e)};W.useSyncExternalStore=function(e,t,n){return He.current.useSyncExternalStore(e,t,n)};W.useTransition=function(){return He.current.useTransition()};W.version="18.3.1";ny.exports=W;var v=ny.exports;const Ht=il(v),Ad=rP({__proto__:null,default:Ht},[v]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var vP=v,wP=Symbol.for("react.element"),bP=Symbol.for("react.fragment"),PP=Object.prototype.hasOwnProperty,CP=vP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kP={key:!0,ref:!0,__self:!0,__source:!0};function dy(e,t,n){var r,s={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)PP.call(t,r)&&!kP.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:wP,type:e,key:a,ref:i,props:s,_owner:CP.current}}ol.Fragment=bP;ol.jsx=dy;ol.jsxs=dy;ty.exports=ol;var l=ty.exports,fy={exports:{}},st={},hy={exports:{}},py={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(T,O){var z=T.length;T.push(O);e:for(;0<z;){var B=z-1>>>1,Q=T[B];if(0<s(Q,O))T[B]=O,T[z]=Q,z=B;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var O=T[0],z=T.pop();if(z!==O){T[0]=z;e:for(var B=0,Q=T.length,yt=Q>>>1;B<yt;){var it=2*(B+1)-1,Hs=T[it],Qt=it+1,Lr=T[Qt];if(0>s(Hs,z))Qt<Q&&0>s(Lr,Hs)?(T[B]=Lr,T[Qt]=z,B=Qt):(T[B]=Hs,T[it]=z,B=it);else if(Qt<Q&&0>s(Lr,z))T[B]=Lr,T[Qt]=z,B=Qt;else break e}}return O}function s(T,O){var z=T.sortIndex-O.sortIndex;return z!==0?z:T.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var c=[],u=[],d=1,f=null,h=3,p=!1,y=!1,w=!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 x(T){for(var O=n(u);O!==null;){if(O.callback===null)r(u);else if(O.startTime<=T)r(u),O.sortIndex=O.expirationTime,t(c,O);else break;O=n(u)}}function P(T){if(w=!1,x(T),!y)if(n(c)!==null)y=!0,V(C);else{var O=n(u);O!==null&&Y(P,O.startTime-T)}}function C(T,O){y=!1,w&&(w=!1,g(S),S=-1),p=!0;var z=h;try{for(x(O),f=n(c);f!==null&&(!(f.expirationTime>O)||T&&!L());){var B=f.callback;if(typeof B=="function"){f.callback=null,h=f.priorityLevel;var Q=B(f.expirationTime<=O);O=e.unstable_now(),typeof Q=="function"?f.callback=Q:f===n(c)&&r(c),x(O)}else r(c);f=n(c)}if(f!==null)var yt=!0;else{var it=n(u);it!==null&&Y(P,it.startTime-O),yt=!1}return yt}finally{f=null,h=z,p=!1}}var k=!1,E=null,S=-1,N=5,A=-1;function L(){return!(e.unstable_now()-A<N)}function D(){if(E!==null){var T=e.unstable_now();A=T;var O=!0;try{O=E(!0,T)}finally{O?H():(k=!1,E=null)}}else k=!1}var H;if(typeof m=="function")H=function(){m(D)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,U=R.port2;R.port1.onmessage=D,H=function(){U.postMessage(null)}}else H=function(){b(D,0)};function V(T){E=T,k||(k=!0,H())}function Y(T,O){S=b(function(){T(e.unstable_now())},O)}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(){y||p||(y=!0,V(C))},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"):N=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(T){switch(h){case 1:case 2:case 3:var O=3;break;default:O=h}var z=h;h=O;try{return T()}finally{h=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,O){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var z=h;h=T;try{return O()}finally{h=z}},e.unstable_scheduleCallback=function(T,O,z){var B=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?B+z:B):z=B,T){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=z+Q,T={id:d++,callback:O,priorityLevel:T,startTime:z,expirationTime:Q,sortIndex:-1},z>B?(T.sortIndex=z,t(u,T),n(c)===null&&T===n(u)&&(w?(g(S),S=-1):w=!0,Y(P,z-B))):(T.sortIndex=Q,t(c,T),y||p||(y=!0,V(C))),T},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(T){var O=h;return function(){var z=h;h=O;try{return T.apply(this,arguments)}finally{h=z}}}})(py);hy.exports=py;var SP=hy.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var EP=v,rt=SP;function F(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 my=new Set,ka={};function Or(e,t){bs(e,t),bs(e+"Capture",t)}function bs(e,t){for(ka[e]=t,e=0;e<t.length;e++)my.add(t[e])}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bc=Object.prototype.hasOwnProperty,TP=/^[: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]*$/,Th={},jh={};function jP(e){return Bc.call(jh,e)?!0:Bc.call(Th,e)?!1:TP.test(e)?jh[e]=!0:(Th[e]=!0,!1)}function AP(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 NP(e,t,n,r){if(t===null||typeof t>"u"||AP(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 Ue(e,t,n,r,s,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ae[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ae[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ae[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ae[e]=new Ue(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){Ae[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ae[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ae[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ae[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ae[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nd=/[\-:]([a-z])/g;function Fd(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-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(Nd,Fd);Ae[t]=new Ue(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(Nd,Fd);Ae[t]=new Ue(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(Nd,Fd);Ae[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ae[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Ae.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ae[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Od(e,t,n,r){var s=Ae.hasOwnProperty(t)?Ae[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(NP(t,n,s,r)&&(n=null),r||s===null?jP(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var yn=EP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,gi=Symbol.for("react.element"),Br=Symbol.for("react.portal"),Hr=Symbol.for("react.fragment"),Rd=Symbol.for("react.strict_mode"),Hc=Symbol.for("react.profiler"),gy=Symbol.for("react.provider"),yy=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),Uc=Symbol.for("react.suspense"),$c=Symbol.for("react.suspense_list"),Md=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),xy=Symbol.for("react.offscreen"),Ah=Symbol.iterator;function $s(e){return e===null||typeof e!="object"?null:(e=Ah&&e[Ah]||e["@@iterator"],typeof e=="function"?e:null)}var oe=Object.assign,Bl;function sa(e){if(Bl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Bl=t&&t[1]||""}return`
`+Bl+e}var Hl=!1;function Ul(e,t){if(!e||Hl)return"";Hl=!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 s=u.stack.split(`
`),a=r.stack.split(`
`),i=s.length-1,o=a.length-1;1<=i&&0<=o&&s[i]!==a[o];)o--;for(;1<=i&&0<=o;i--,o--)if(s[i]!==a[o]){if(i!==1||o!==1)do if(i--,o--,0>o||s[i]!==a[o]){var c=`
`+s[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=o);break}}}finally{Hl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?sa(e):""}function FP(e){switch(e.tag){case 5:return sa(e.type);case 16:return sa("Lazy");case 13:return sa("Suspense");case 19:return sa("SuspenseList");case 0:case 2:case 15:return e=Ul(e.type,!1),e;case 11:return e=Ul(e.type.render,!1),e;case 1:return e=Ul(e.type,!0),e;default:return""}}function Wc(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 Hr:return"Fragment";case Br:return"Portal";case Hc:return"Profiler";case Rd:return"StrictMode";case Uc:return"Suspense";case $c:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yy:return(e.displayName||"Context")+".Consumer";case gy:return(e._context.displayName||"Context")+".Provider";case Dd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Md:return t=e.displayName||null,t!==null?t:Wc(e.type)||"Memo";case kn:t=e._payload,e=e._init;try{return Wc(e(t))}catch{}}return null}function OP(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 Wc(t);case 8:return t===Rd?"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 Yn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function RP(e){var t=vy(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 s=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,a.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 yi(e){e._valueTracker||(e._valueTracker=RP(e))}function wy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=vy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vo(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 qc(e,t){var n=t.checked;return oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Nh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Yn(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 by(e,t){t=t.checked,t!=null&&Od(e,"checked",t,!1)}function Yc(e,t){by(e,t);var n=Yn(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")?Kc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Kc(e,t.type,Yn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fh(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 Kc(e,t,n){(t!=="number"||vo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var aa=Array.isArray;function ns(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Yn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Gc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return oe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Oh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(aa(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Yn(n)}}function Py(e,t){var n=Yn(t.value),r=Yn(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 Rh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Cy(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 Qc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Cy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xi,ky=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xi=xi||document.createElement("div"),xi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Sa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ca={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},DP=["Webkit","ms","Moz","O"];Object.keys(ca).forEach(function(e){DP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ca[t]=ca[e]})});function Sy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ca.hasOwnProperty(e)&&ca[e]?(""+t).trim():t+"px"}function Ey(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=Sy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var MP=oe({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 Xc(e,t){if(t){if(MP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Zc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Jc=null;function Ld(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var eu=null,rs=null,ss=null;function Dh(e){if(e=ni(e)){if(typeof eu!="function")throw Error(F(280));var t=e.stateNode;t&&(t=fl(t),eu(e.stateNode,e.type,t))}}function Ty(e){rs?ss?ss.push(e):ss=[e]:rs=e}function jy(){if(rs){var e=rs,t=ss;if(ss=rs=null,Dh(e),t)for(e=0;e<t.length;e++)Dh(t[e])}}function Ay(e,t){return e(t)}function Ny(){}var $l=!1;function Fy(e,t,n){if($l)return e(t,n);$l=!0;try{return Ay(e,t,n)}finally{$l=!1,(rs!==null||ss!==null)&&(Ny(),jy())}}function Ea(e,t){var n=e.stateNode;if(n===null)return null;var r=fl(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(F(231,t,typeof n));return n}var tu=!1;if(dn)try{var Ws={};Object.defineProperty(Ws,"passive",{get:function(){tu=!0}}),window.addEventListener("test",Ws,Ws),window.removeEventListener("test",Ws,Ws)}catch{tu=!1}function LP(e,t,n,r,s,a,i,o,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var ua=!1,wo=null,bo=!1,nu=null,IP={onError:function(e){ua=!0,wo=e}};function zP(e,t,n,r,s,a,i,o,c){ua=!1,wo=null,LP.apply(IP,arguments)}function VP(e,t,n,r,s,a,i,o,c){if(zP.apply(this,arguments),ua){if(ua){var u=wo;ua=!1,wo=null}else throw Error(F(198));bo||(bo=!0,nu=u)}}function Rr(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 Oy(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 Mh(e){if(Rr(e)!==e)throw Error(F(188))}function _P(e){var t=e.alternate;if(!t){if(t=Rr(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var a=s.alternate;if(a===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===a.child){for(a=s.child;a;){if(a===n)return Mh(s),e;if(a===r)return Mh(s),t;a=a.sibling}throw Error(F(188))}if(n.return!==r.return)n=s,r=a;else{for(var i=!1,o=s.child;o;){if(o===n){i=!0,n=s,r=a;break}if(o===r){i=!0,r=s,n=a;break}o=o.sibling}if(!i){for(o=a.child;o;){if(o===n){i=!0,n=a,r=s;break}if(o===r){i=!0,r=a,n=s;break}o=o.sibling}if(!i)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function Ry(e){return e=_P(e),e!==null?Dy(e):null}function Dy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Dy(e);if(t!==null)return t;e=e.sibling}return null}var My=rt.unstable_scheduleCallback,Lh=rt.unstable_cancelCallback,BP=rt.unstable_shouldYield,HP=rt.unstable_requestPaint,de=rt.unstable_now,UP=rt.unstable_getCurrentPriorityLevel,Id=rt.unstable_ImmediatePriority,Ly=rt.unstable_UserBlockingPriority,Po=rt.unstable_NormalPriority,$P=rt.unstable_LowPriority,Iy=rt.unstable_IdlePriority,ll=null,$t=null;function WP(e){if($t&&typeof $t.onCommitFiberRoot=="function")try{$t.onCommitFiberRoot(ll,e,void 0,(e.current.flags&128)===128)}catch{}}var Tt=Math.clz32?Math.clz32:KP,qP=Math.log,YP=Math.LN2;function KP(e){return e>>>=0,e===0?32:31-(qP(e)/YP|0)|0}var vi=64,wi=4194304;function ia(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 Co(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,a=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~s;o!==0?r=ia(o):(a&=i,a!==0&&(r=ia(a)))}else i=n&~s,i!==0?r=ia(i):a!==0&&(r=ia(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,a=t&-t,s>=a||s===16&&(a&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-Tt(t),s=1<<n,r|=e[n],t&=~s;return r}function GP(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 QP(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Tt(a),o=1<<i,c=s[i];c===-1?(!(o&n)||o&r)&&(s[i]=GP(o,t)):c<=t&&(e.expiredLanes|=o),a&=~o}}function ru(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zy(){var e=vi;return vi<<=1,!(vi&4194240)&&(vi=64),e}function Wl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ei(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function XP(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 s=31-Tt(n),a=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~a}}function zd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Tt(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var X=0;function Vy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var _y,Vd,By,Hy,Uy,su=!1,bi=[],zn=null,Vn=null,_n=null,Ta=new Map,ja=new Map,En=[],ZP="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 Ih(e,t){switch(e){case"focusin":case"focusout":zn=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":Ta.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ja.delete(t.pointerId)}}function qs(e,t,n,r,s,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[s]},t!==null&&(t=ni(t),t!==null&&Vd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function JP(e,t,n,r,s){switch(t){case"focusin":return zn=qs(zn,e,t,n,r,s),!0;case"dragenter":return Vn=qs(Vn,e,t,n,r,s),!0;case"mouseover":return _n=qs(_n,e,t,n,r,s),!0;case"pointerover":var a=s.pointerId;return Ta.set(a,qs(Ta.get(a)||null,e,t,n,r,s)),!0;case"gotpointercapture":return a=s.pointerId,ja.set(a,qs(ja.get(a)||null,e,t,n,r,s)),!0}return!1}function $y(e){var t=ur(e.target);if(t!==null){var n=Rr(t);if(n!==null){if(t=n.tag,t===13){if(t=Oy(n),t!==null){e.blockedOn=t,Uy(e.priority,function(){By(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 Qi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=au(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Jc=r,n.target.dispatchEvent(r),Jc=null}else return t=ni(n),t!==null&&Vd(t),e.blockedOn=n,!1;t.shift()}return!0}function zh(e,t,n){Qi(e)&&n.delete(t)}function e1(){su=!1,zn!==null&&Qi(zn)&&(zn=null),Vn!==null&&Qi(Vn)&&(Vn=null),_n!==null&&Qi(_n)&&(_n=null),Ta.forEach(zh),ja.forEach(zh)}function Ys(e,t){e.blockedOn===t&&(e.blockedOn=null,su||(su=!0,rt.unstable_scheduleCallback(rt.unstable_NormalPriority,e1)))}function Aa(e){function t(s){return Ys(s,e)}if(0<bi.length){Ys(bi[0],e);for(var n=1;n<bi.length;n++){var r=bi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(zn!==null&&Ys(zn,e),Vn!==null&&Ys(Vn,e),_n!==null&&Ys(_n,e),Ta.forEach(t),ja.forEach(t),n=0;n<En.length;n++)r=En[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<En.length&&(n=En[0],n.blockedOn===null);)$y(n),n.blockedOn===null&&En.shift()}var as=yn.ReactCurrentBatchConfig,ko=!0;function t1(e,t,n,r){var s=X,a=as.transition;as.transition=null;try{X=1,_d(e,t,n,r)}finally{X=s,as.transition=a}}function n1(e,t,n,r){var s=X,a=as.transition;as.transition=null;try{X=4,_d(e,t,n,r)}finally{X=s,as.transition=a}}function _d(e,t,n,r){if(ko){var s=au(e,t,n,r);if(s===null)tc(e,t,r,So,n),Ih(e,r);else if(JP(s,e,t,n,r))r.stopPropagation();else if(Ih(e,r),t&4&&-1<ZP.indexOf(e)){for(;s!==null;){var a=ni(s);if(a!==null&&_y(a),a=au(e,t,n,r),a===null&&tc(e,t,r,So,n),a===s)break;s=a}s!==null&&r.stopPropagation()}else tc(e,t,r,null,n)}}var So=null;function au(e,t,n,r){if(So=null,e=Ld(r),e=ur(e),e!==null)if(t=Rr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Oy(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 So=e,null}function Wy(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(UP()){case Id:return 1;case Ly:return 4;case Po:case $P:return 16;case Iy:return 536870912;default:return 16}default:return 16}}var Dn=null,Bd=null,Xi=null;function qy(){if(Xi)return Xi;var e,t=Bd,n=t.length,r,s="value"in Dn?Dn.value:Dn.textContent,a=s.length;for(e=0;e<n&&t[e]===s[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===s[a-r];r++);return Xi=s.slice(e,1<r?1-r:void 0)}function Zi(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 Pi(){return!0}function Vh(){return!1}function at(e){function t(n,r,s,a,i){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(a):a[o]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Pi:Vh,this.isPropagationStopped=Vh,this}return oe(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=Pi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Pi)},persist:function(){},isPersistent:Pi}),t}var Rs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hd=at(Rs),ti=oe({},Rs,{view:0,detail:0}),r1=at(ti),ql,Yl,Ks,cl=oe({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ud,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!==Ks&&(Ks&&e.type==="mousemove"?(ql=e.screenX-Ks.screenX,Yl=e.screenY-Ks.screenY):Yl=ql=0,Ks=e),ql)},movementY:function(e){return"movementY"in e?e.movementY:Yl}}),_h=at(cl),s1=oe({},cl,{dataTransfer:0}),a1=at(s1),i1=oe({},ti,{relatedTarget:0}),Kl=at(i1),o1=oe({},Rs,{animationName:0,elapsedTime:0,pseudoElement:0}),l1=at(o1),c1=oe({},Rs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),u1=at(c1),d1=oe({},Rs,{data:0}),Bh=at(d1),f1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},h1={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"},p1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function m1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=p1[e])?!!t[e]:!1}function Ud(){return m1}var g1=oe({},ti,{key:function(e){if(e.key){var t=f1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Zi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?h1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ud,charCode:function(e){return e.type==="keypress"?Zi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),y1=at(g1),x1=oe({},cl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hh=at(x1),v1=oe({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ud}),w1=at(v1),b1=oe({},Rs,{propertyName:0,elapsedTime:0,pseudoElement:0}),P1=at(b1),C1=oe({},cl,{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}),k1=at(C1),S1=[9,13,27,32],$d=dn&&"CompositionEvent"in window,da=null;dn&&"documentMode"in document&&(da=document.documentMode);var E1=dn&&"TextEvent"in window&&!da,Yy=dn&&(!$d||da&&8<da&&11>=da),Uh=" ",$h=!1;function Ky(e,t){switch(e){case"keyup":return S1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ur=!1;function T1(e,t){switch(e){case"compositionend":return Gy(t);case"keypress":return t.which!==32?null:($h=!0,Uh);case"textInput":return e=t.data,e===Uh&&$h?null:e;default:return null}}function j1(e,t){if(Ur)return e==="compositionend"||!$d&&Ky(e,t)?(e=qy(),Xi=Bd=Dn=null,Ur=!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 Yy&&t.locale!=="ko"?null:t.data;default:return null}}var A1={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 Wh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!A1[e.type]:t==="textarea"}function Qy(e,t,n,r){Ty(r),t=Eo(t,"onChange"),0<t.length&&(n=new Hd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var fa=null,Na=null;function N1(e){ox(e,0)}function ul(e){var t=qr(e);if(wy(t))return e}function F1(e,t){if(e==="change")return t}var Xy=!1;if(dn){var Gl;if(dn){var Ql="oninput"in document;if(!Ql){var qh=document.createElement("div");qh.setAttribute("oninput","return;"),Ql=typeof qh.oninput=="function"}Gl=Ql}else Gl=!1;Xy=Gl&&(!document.documentMode||9<document.documentMode)}function Yh(){fa&&(fa.detachEvent("onpropertychange",Zy),Na=fa=null)}function Zy(e){if(e.propertyName==="value"&&ul(Na)){var t=[];Qy(t,Na,e,Ld(e)),Fy(N1,t)}}function O1(e,t,n){e==="focusin"?(Yh(),fa=t,Na=n,fa.attachEvent("onpropertychange",Zy)):e==="focusout"&&Yh()}function R1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ul(Na)}function D1(e,t){if(e==="click")return ul(t)}function M1(e,t){if(e==="input"||e==="change")return ul(t)}function L1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nt=typeof Object.is=="function"?Object.is:L1;function Fa(e,t){if(Nt(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 s=n[r];if(!Bc.call(t,s)||!Nt(e[s],t[s]))return!1}return!0}function Kh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gh(e,t){var n=Kh(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=Kh(n)}}function Jy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ex(){for(var e=window,t=vo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=vo(e.document)}return t}function Wd(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 I1(e){var t=ex(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jy(n.ownerDocument.documentElement,n)){if(r!==null&&Wd(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 s=n.textContent.length,a=Math.min(r.start,s);r=r.end===void 0?a:Math.min(r.end,s),!e.extend&&a>r&&(s=r,r=a,a=s),s=Gh(n,a);var i=Gh(n,r);s&&i&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>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 z1=dn&&"documentMode"in document&&11>=document.documentMode,$r=null,iu=null,ha=null,ou=!1;function Qh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ou||$r==null||$r!==vo(r)||(r=$r,"selectionStart"in r&&Wd(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}),ha&&Fa(ha,r)||(ha=r,r=Eo(iu,"onSelect"),0<r.length&&(t=new Hd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=$r)))}function Ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Wr={animationend:Ci("Animation","AnimationEnd"),animationiteration:Ci("Animation","AnimationIteration"),animationstart:Ci("Animation","AnimationStart"),transitionend:Ci("Transition","TransitionEnd")},Xl={},tx={};dn&&(tx=document.createElement("div").style,"AnimationEvent"in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),"TransitionEvent"in window||delete Wr.transitionend.transition);function dl(e){if(Xl[e])return Xl[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in tx)return Xl[e]=t[n];return e}var nx=dl("animationend"),rx=dl("animationiteration"),sx=dl("animationstart"),ax=dl("transitionend"),ix=new Map,Xh="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 er(e,t){ix.set(e,t),Or(t,[e])}for(var Zl=0;Zl<Xh.length;Zl++){var Jl=Xh[Zl],V1=Jl.toLowerCase(),_1=Jl[0].toUpperCase()+Jl.slice(1);er(V1,"on"+_1)}er(nx,"onAnimationEnd");er(rx,"onAnimationIteration");er(sx,"onAnimationStart");er("dblclick","onDoubleClick");er("focusin","onFocus");er("focusout","onBlur");er(ax,"onTransitionEnd");bs("onMouseEnter",["mouseout","mouseover"]);bs("onMouseLeave",["mouseout","mouseover"]);bs("onPointerEnter",["pointerout","pointerover"]);bs("onPointerLeave",["pointerout","pointerover"]);Or("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Or("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Or("onBeforeInput",["compositionend","keypress","textInput","paste"]);Or("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Or("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Or("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var oa="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(" "),B1=new Set("cancel close invalid load scroll toggle".split(" ").concat(oa));function Zh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,VP(r,t,void 0,e),e.currentTarget=null}function ox(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var o=r[i],c=o.instance,u=o.currentTarget;if(o=o.listener,c!==a&&s.isPropagationStopped())break e;Zh(s,o,u),a=c}else for(i=0;i<r.length;i++){if(o=r[i],c=o.instance,u=o.currentTarget,o=o.listener,c!==a&&s.isPropagationStopped())break e;Zh(s,o,u),a=c}}}if(bo)throw e=nu,bo=!1,nu=null,e}function ne(e,t){var n=t[fu];n===void 0&&(n=t[fu]=new Set);var r=e+"__bubble";n.has(r)||(lx(t,e,2,!1),n.add(r))}function ec(e,t,n){var r=0;t&&(r|=4),lx(n,e,r,t)}var ki="_reactListening"+Math.random().toString(36).slice(2);function Oa(e){if(!e[ki]){e[ki]=!0,my.forEach(function(n){n!=="selectionchange"&&(B1.has(n)||ec(n,!1,e),ec(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ki]||(t[ki]=!0,ec("selectionchange",!1,t))}}function lx(e,t,n,r){switch(Wy(t)){case 1:var s=t1;break;case 4:s=n1;break;default:s=_d}n=s.bind(null,t,n,e),s=void 0,!tu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function tc(e,t,n,r,s){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var o=r.stateNode.containerInfo;if(o===s||o.nodeType===8&&o.parentNode===s)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;i=i.return}for(;o!==null;){if(i=ur(o),i===null)return;if(c=i.tag,c===5||c===6){r=a=i;continue e}o=o.parentNode}}r=r.return}Fy(function(){var u=a,d=Ld(n),f=[];e:{var h=ix.get(e);if(h!==void 0){var p=Hd,y=e;switch(e){case"keypress":if(Zi(n)===0)break e;case"keydown":case"keyup":p=y1;break;case"focusin":y="focus",p=Kl;break;case"focusout":y="blur",p=Kl;break;case"beforeblur":case"afterblur":p=Kl;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=_h;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=a1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=w1;break;case nx:case rx:case sx:p=l1;break;case ax:p=P1;break;case"scroll":p=r1;break;case"wheel":p=k1;break;case"copy":case"cut":case"paste":p=u1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Hh}var w=(t&4)!==0,b=!w&&e==="scroll",g=w?h!==null?h+"Capture":null:h;w=[];for(var m=u,x;m!==null;){x=m;var P=x.stateNode;if(x.tag===5&&P!==null&&(x=P,g!==null&&(P=Ea(m,g),P!=null&&w.push(Ra(m,P,x)))),b)break;m=m.return}0<w.length&&(h=new p(h,y,null,n,d),f.push({event:h,listeners:w}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Jc&&(y=n.relatedTarget||n.fromElement)&&(ur(y)||y[fn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(y=n.relatedTarget||n.toElement,p=u,y=y?ur(y):null,y!==null&&(b=Rr(y),y!==b||y.tag!==5&&y.tag!==6)&&(y=null)):(p=null,y=u),p!==y)){if(w=_h,P="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(w=Hh,P="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:qr(p),x=y==null?h:qr(y),h=new w(P,m+"leave",p,n,d),h.target=b,h.relatedTarget=x,P=null,ur(d)===u&&(w=new w(g,m+"enter",y,n,d),w.target=x,w.relatedTarget=b,P=w),b=P,p&&y)t:{for(w=p,g=y,m=0,x=w;x;x=Ir(x))m++;for(x=0,P=g;P;P=Ir(P))x++;for(;0<m-x;)w=Ir(w),m--;for(;0<x-m;)g=Ir(g),x--;for(;m--;){if(w===g||g!==null&&w===g.alternate)break t;w=Ir(w),g=Ir(g)}w=null}else w=null;p!==null&&Jh(f,h,p,w,!1),y!==null&&b!==null&&Jh(f,b,y,w,!0)}}e:{if(h=u?qr(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=F1;else if(Wh(h))if(Xy)C=M1;else{C=R1;var k=O1}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=D1);if(C&&(C=C(e,u))){Qy(f,C,n,d);break e}k&&k(e,h,u),e==="focusout"&&(k=h._wrapperState)&&k.controlled&&h.type==="number"&&Kc(h,"number",h.value)}switch(k=u?qr(u):window,e){case"focusin":(Wh(k)||k.contentEditable==="true")&&($r=k,iu=u,ha=null);break;case"focusout":ha=iu=$r=null;break;case"mousedown":ou=!0;break;case"contextmenu":case"mouseup":case"dragend":ou=!1,Qh(f,n,d);break;case"selectionchange":if(z1)break;case"keydown":case"keyup":Qh(f,n,d)}var E;if($d)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Ur?Ky(e,n)&&(S="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(Yy&&n.locale!=="ko"&&(Ur||S!=="onCompositionStart"?S==="onCompositionEnd"&&Ur&&(E=qy()):(Dn=d,Bd="value"in Dn?Dn.value:Dn.textContent,Ur=!0)),k=Eo(u,S),0<k.length&&(S=new Bh(S,e,null,n,d),f.push({event:S,listeners:k}),E?S.data=E:(E=Gy(n),E!==null&&(S.data=E)))),(E=E1?T1(e,n):j1(e,n))&&(u=Eo(u,"onBeforeInput"),0<u.length&&(d=new Bh("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=E))}ox(f,t)})}function Ra(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Eo(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,a=s.stateNode;s.tag===5&&a!==null&&(s=a,a=Ea(e,n),a!=null&&r.unshift(Ra(e,a,s)),a=Ea(e,t),a!=null&&r.push(Ra(e,a,s))),e=e.return}return r}function Ir(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Jh(e,t,n,r,s){for(var a=t._reactName,i=[];n!==null&&n!==r;){var o=n,c=o.alternate,u=o.stateNode;if(c!==null&&c===r)break;o.tag===5&&u!==null&&(o=u,s?(c=Ea(n,a),c!=null&&i.unshift(Ra(n,c,o))):s||(c=Ea(n,a),c!=null&&i.push(Ra(n,c,o)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var H1=/\r\n?/g,U1=/\u0000|\uFFFD/g;function ep(e){return(typeof e=="string"?e:""+e).replace(H1,`
`).replace(U1,"")}function Si(e,t,n){if(t=ep(t),ep(e)!==t&&n)throw Error(F(425))}function To(){}var lu=null,cu=null;function uu(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 du=typeof setTimeout=="function"?setTimeout:void 0,$1=typeof clearTimeout=="function"?clearTimeout:void 0,tp=typeof Promise=="function"?Promise:void 0,W1=typeof queueMicrotask=="function"?queueMicrotask:typeof tp<"u"?function(e){return tp.resolve(null).then(e).catch(q1)}:du;function q1(e){setTimeout(function(){throw e})}function nc(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Aa(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Aa(t)}function Bn(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 np(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 Ds=Math.random().toString(36).slice(2),Bt="__reactFiber$"+Ds,Da="__reactProps$"+Ds,fn="__reactContainer$"+Ds,fu="__reactEvents$"+Ds,Y1="__reactListeners$"+Ds,K1="__reactHandles$"+Ds;function ur(e){var t=e[Bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fn]||n[Bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=np(e);e!==null;){if(n=e[Bt])return n;e=np(e)}return t}e=n,n=e.parentNode}return null}function ni(e){return e=e[Bt]||e[fn],!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(F(33))}function fl(e){return e[Da]||null}var hu=[],Yr=-1;function tr(e){return{current:e}}function re(e){0>Yr||(e.current=hu[Yr],hu[Yr]=null,Yr--)}function ee(e,t){Yr++,hu[Yr]=e.current,e.current=t}var Kn={},Le=tr(Kn),Ye=tr(!1),Er=Kn;function Ps(e,t){var n=e.type.contextTypes;if(!n)return Kn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Ke(e){return e=e.childContextTypes,e!=null}function jo(){re(Ye),re(Le)}function rp(e,t,n){if(Le.current!==Kn)throw Error(F(168));ee(Le,t),ee(Ye,n)}function cx(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(F(108,OP(e)||"Unknown",s));return oe({},n,r)}function Ao(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,Er=Le.current,ee(Le,e),ee(Ye,Ye.current),!0}function sp(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=cx(e,t,Er),r.__reactInternalMemoizedMergedChildContext=e,re(Ye),re(Le),ee(Le,e)):re(Ye),ee(Ye,n)}var sn=null,hl=!1,rc=!1;function ux(e){sn===null?sn=[e]:sn.push(e)}function G1(e){hl=!0,ux(e)}function nr(){if(!rc&&sn!==null){rc=!0;var e=0,t=X;try{var n=sn;for(X=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}sn=null,hl=!1}catch(s){throw sn!==null&&(sn=sn.slice(e+1)),My(Id,nr),s}finally{X=t,rc=!1}}return null}var Kr=[],Gr=0,No=null,Fo=0,ct=[],ut=0,Tr=null,on=1,ln="";function or(e,t){Kr[Gr++]=Fo,Kr[Gr++]=No,No=e,Fo=t}function dx(e,t,n){ct[ut++]=on,ct[ut++]=ln,ct[ut++]=Tr,Tr=e;var r=on;e=ln;var s=32-Tt(r)-1;r&=~(1<<s),n+=1;var a=32-Tt(t)+s;if(30<a){var i=s-s%5;a=(r&(1<<i)-1).toString(32),r>>=i,s-=i,on=1<<32-Tt(t)+s|n<<s|r,ln=a+e}else on=1<<a|n<<s|r,ln=e}function qd(e){e.return!==null&&(or(e,1),dx(e,1,0))}function Yd(e){for(;e===No;)No=Kr[--Gr],Kr[Gr]=null,Fo=Kr[--Gr],Kr[Gr]=null;for(;e===Tr;)Tr=ct[--ut],ct[ut]=null,ln=ct[--ut],ct[ut]=null,on=ct[--ut],ct[ut]=null}var et=null,Je=null,se=!1,St=null;function fx(e,t){var n=dt(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 ap(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,et=e,Je=Bn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,et=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Tr!==null?{id:on,overflow:ln}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=dt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,et=e,Je=null,!0):!1;default:return!1}}function pu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function mu(e){if(se){var t=Je;if(t){var n=t;if(!ap(e,t)){if(pu(e))throw Error(F(418));t=Bn(n.nextSibling);var r=et;t&&ap(e,t)?fx(r,n):(e.flags=e.flags&-4097|2,se=!1,et=e)}}else{if(pu(e))throw Error(F(418));e.flags=e.flags&-4097|2,se=!1,et=e}}}function ip(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;et=e}function Ei(e){if(e!==et)return!1;if(!se)return ip(e),se=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!uu(e.type,e.memoizedProps)),t&&(t=Je)){if(pu(e))throw hx(),Error(F(418));for(;t;)fx(e,t),t=Bn(t.nextSibling)}if(ip(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=Bn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=et?Bn(e.stateNode.nextSibling):null;return!0}function hx(){for(var e=Je;e;)e=Bn(e.nextSibling)}function Cs(){Je=et=null,se=!1}function Kd(e){St===null?St=[e]:St.push(e)}var Q1=yn.ReactCurrentBatchConfig;function Gs(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(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var s=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var o=s.refs;i===null?delete o[a]:o[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function Ti(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function op(e){var t=e._init;return t(e._payload)}function px(e){function t(g,m){if(e){var x=g.deletions;x===null?(g.deletions=[m],g.flags|=16):x.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 s(g,m){return g=Wn(g,m),g.index=0,g.sibling=null,g}function a(g,m,x){return g.index=x,e?(x=g.alternate,x!==null?(x=x.index,x<m?(g.flags|=2,m):x):(g.flags|=2,m)):(g.flags|=1048576,m)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function o(g,m,x,P){return m===null||m.tag!==6?(m=uc(x,g.mode,P),m.return=g,m):(m=s(m,x),m.return=g,m)}function c(g,m,x,P){var C=x.type;return C===Hr?d(g,m,x.props.children,P,x.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===kn&&op(C)===m.type)?(P=s(m,x.props),P.ref=Gs(g,m,x),P.return=g,P):(P=ao(x.type,x.key,x.props,null,g.mode,P),P.ref=Gs(g,m,x),P.return=g,P)}function u(g,m,x,P){return m===null||m.tag!==4||m.stateNode.containerInfo!==x.containerInfo||m.stateNode.implementation!==x.implementation?(m=dc(x,g.mode,P),m.return=g,m):(m=s(m,x.children||[]),m.return=g,m)}function d(g,m,x,P,C){return m===null||m.tag!==7?(m=Cr(x,g.mode,P,C),m.return=g,m):(m=s(m,x),m.return=g,m)}function f(g,m,x){if(typeof m=="string"&&m!==""||typeof m=="number")return m=uc(""+m,g.mode,x),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case gi:return x=ao(m.type,m.key,m.props,null,g.mode,x),x.ref=Gs(g,null,m),x.return=g,x;case Br:return m=dc(m,g.mode,x),m.return=g,m;case kn:var P=m._init;return f(g,P(m._payload),x)}if(aa(m)||$s(m))return m=Cr(m,g.mode,x,null),m.return=g,m;Ti(g,m)}return null}function h(g,m,x,P){var C=m!==null?m.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return C!==null?null:o(g,m,""+x,P);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case gi:return x.key===C?c(g,m,x,P):null;case Br:return x.key===C?u(g,m,x,P):null;case kn:return C=x._init,h(g,m,C(x._payload),P)}if(aa(x)||$s(x))return C!==null?null:d(g,m,x,P,null);Ti(g,x)}return null}function p(g,m,x,P,C){if(typeof P=="string"&&P!==""||typeof P=="number")return g=g.get(x)||null,o(m,g,""+P,C);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case gi:return g=g.get(P.key===null?x:P.key)||null,c(m,g,P,C);case Br:return g=g.get(P.key===null?x:P.key)||null,u(m,g,P,C);case kn:var k=P._init;return p(g,m,x,k(P._payload),C)}if(aa(P)||$s(P))return g=g.get(x)||null,d(m,g,P,C,null);Ti(m,P)}return null}function y(g,m,x,P){for(var C=null,k=null,E=m,S=m=0,N=null;E!==null&&S<x.length;S++){E.index>S?(N=E,E=null):N=E.sibling;var A=h(g,E,x[S],P);if(A===null){E===null&&(E=N);break}e&&E&&A.alternate===null&&t(g,E),m=a(A,m,S),k===null?C=A:k.sibling=A,k=A,E=N}if(S===x.length)return n(g,E),se&&or(g,S),C;if(E===null){for(;S<x.length;S++)E=f(g,x[S],P),E!==null&&(m=a(E,m,S),k===null?C=E:k.sibling=E,k=E);return se&&or(g,S),C}for(E=r(g,E);S<x.length;S++)N=p(E,g,S,x[S],P),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?S:N.key),m=a(N,m,S),k===null?C=N:k.sibling=N,k=N);return e&&E.forEach(function(L){return t(g,L)}),se&&or(g,S),C}function w(g,m,x,P){var C=$s(x);if(typeof C!="function")throw Error(F(150));if(x=C.call(x),x==null)throw Error(F(151));for(var k=C=null,E=m,S=m=0,N=null,A=x.next();E!==null&&!A.done;S++,A=x.next()){E.index>S?(N=E,E=null):N=E.sibling;var L=h(g,E,A.value,P);if(L===null){E===null&&(E=N);break}e&&E&&L.alternate===null&&t(g,E),m=a(L,m,S),k===null?C=L:k.sibling=L,k=L,E=N}if(A.done)return n(g,E),se&&or(g,S),C;if(E===null){for(;!A.done;S++,A=x.next())A=f(g,A.value,P),A!==null&&(m=a(A,m,S),k===null?C=A:k.sibling=A,k=A);return se&&or(g,S),C}for(E=r(g,E);!A.done;S++,A=x.next())A=p(E,g,S,A.value,P),A!==null&&(e&&A.alternate!==null&&E.delete(A.key===null?S:A.key),m=a(A,m,S),k===null?C=A:k.sibling=A,k=A);return e&&E.forEach(function(D){return t(g,D)}),se&&or(g,S),C}function b(g,m,x,P){if(typeof x=="object"&&x!==null&&x.type===Hr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case gi:e:{for(var C=x.key,k=m;k!==null;){if(k.key===C){if(C=x.type,C===Hr){if(k.tag===7){n(g,k.sibling),m=s(k,x.props.children),m.return=g,g=m;break e}}else if(k.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===kn&&op(C)===k.type){n(g,k.sibling),m=s(k,x.props),m.ref=Gs(g,k,x),m.return=g,g=m;break e}n(g,k);break}else t(g,k);k=k.sibling}x.type===Hr?(m=Cr(x.props.children,g.mode,P,x.key),m.return=g,g=m):(P=ao(x.type,x.key,x.props,null,g.mode,P),P.ref=Gs(g,m,x),P.return=g,g=P)}return i(g);case Br:e:{for(k=x.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===x.containerInfo&&m.stateNode.implementation===x.implementation){n(g,m.sibling),m=s(m,x.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=dc(x,g.mode,P),m.return=g,g=m}return i(g);case kn:return k=x._init,b(g,m,k(x._payload),P)}if(aa(x))return y(g,m,x,P);if($s(x))return w(g,m,x,P);Ti(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,m!==null&&m.tag===6?(n(g,m.sibling),m=s(m,x),m.return=g,g=m):(n(g,m),m=uc(x,g.mode,P),m.return=g,g=m),i(g)):n(g,m)}return b}var ks=px(!0),mx=px(!1),Oo=tr(null),Ro=null,Qr=null,Gd=null;function Qd(){Gd=Qr=Ro=null}function Xd(e){var t=Oo.current;re(Oo),e._currentValue=t}function gu(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 is(e,t){Ro=e,Gd=Qr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function mt(e){var t=e._currentValue;if(Gd!==e)if(e={context:e,memoizedValue:t,next:null},Qr===null){if(Ro===null)throw Error(F(308));Qr=e,Ro.dependencies={lanes:0,firstContext:e}}else Qr=Qr.next=e;return t}var dr=null;function Zd(e){dr===null?dr=[e]:dr.push(e)}function gx(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Zd(t)):(n.next=s.next,s.next=n),t.interleaved=n,hn(e,r)}function hn(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 Sn=!1;function Jd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yx(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 cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Hn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,hn(e,n)}return s=r.interleaved,s===null?(t.next=t,Zd(r)):(t.next=s.next,s.next=t),r.interleaved=t,hn(e,n)}function Ji(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,zd(e,n)}}function lp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,a=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};a===null?s=a=i:a=a.next=i,n=n.next}while(n!==null);a===null?s=a=t:a=a.next=t}else s=a=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:a,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 Do(e,t,n,r){var s=e.updateQueue;Sn=!1;var a=s.firstBaseUpdate,i=s.lastBaseUpdate,o=s.shared.pending;if(o!==null){s.shared.pending=null;var c=o,u=c.next;c.next=null,i===null?a=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==i&&(o===null?d.firstBaseUpdate=u:o.next=u,d.lastBaseUpdate=c))}if(a!==null){var f=s.baseState;i=0,d=u=c=null,o=a;do{var h=o.lane,p=o.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var y=e,w=o;switch(h=t,p=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){f=y.call(p,f,h);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,h=typeof y=="function"?y.call(p,f,h):y,h==null)break e;f=oe({},f,h);break e;case 2:Sn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[o]:h.push(o))}else p={eventTime:p,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(u=d=p,c=f):d=d.next=p,i|=h;if(o=o.next,o===null){if(o=s.shared.pending,o===null)break;h=o,o=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do i|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Ar|=i,e.lanes=i,e.memoizedState=f}}function cp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(F(191,s));s.call(r)}}}var ri={},Wt=tr(ri),Ma=tr(ri),La=tr(ri);function fr(e){if(e===ri)throw Error(F(174));return e}function ef(e,t){switch(ee(La,t),ee(Ma,e),ee(Wt,ri),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Qc(t,e)}re(Wt),ee(Wt,t)}function Ss(){re(Wt),re(Ma),re(La)}function xx(e){fr(La.current);var t=fr(Wt.current),n=Qc(t,e.type);t!==n&&(ee(Ma,e),ee(Wt,n))}function tf(e){Ma.current===e&&(re(Wt),re(Ma))}var ae=tr(0);function Mo(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 sc=[];function nf(){for(var e=0;e<sc.length;e++)sc[e]._workInProgressVersionPrimary=null;sc.length=0}var eo=yn.ReactCurrentDispatcher,ac=yn.ReactCurrentBatchConfig,jr=0,ie=null,ye=null,be=null,Lo=!1,pa=!1,Ia=0,X1=0;function Oe(){throw Error(F(321))}function rf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Nt(e[n],t[n]))return!1;return!0}function sf(e,t,n,r,s,a){if(jr=a,ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,eo.current=e===null||e.memoizedState===null?tC:nC,e=n(r,s),pa){a=0;do{if(pa=!1,Ia=0,25<=a)throw Error(F(301));a+=1,be=ye=null,t.updateQueue=null,eo.current=rC,e=n(r,s)}while(pa)}if(eo.current=Io,t=ye!==null&&ye.next!==null,jr=0,be=ye=ie=null,Lo=!1,t)throw Error(F(300));return e}function af(){var e=Ia!==0;return Ia=0,e}function Mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return be===null?ie.memoizedState=be=e:be=be.next=e,be}function gt(){if(ye===null){var e=ie.alternate;e=e!==null?e.memoizedState:null}else e=ye.next;var t=be===null?ie.memoizedState:be.next;if(t!==null)be=t,ye=e;else{if(e===null)throw Error(F(310));ye=e,e={memoizedState:ye.memoizedState,baseState:ye.baseState,baseQueue:ye.baseQueue,queue:ye.queue,next:null},be===null?ie.memoizedState=be=e:be=be.next=e}return be}function za(e,t){return typeof t=="function"?t(e):t}function ic(e){var t=gt(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=ye,s=r.baseQueue,a=n.pending;if(a!==null){if(s!==null){var i=s.next;s.next=a.next,a.next=i}r.baseQueue=s=a,n.pending=null}if(s!==null){a=s.next,r=r.baseState;var o=i=null,c=null,u=a;do{var d=u.lane;if((jr&d)===d)c!==null&&(c=c.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};c===null?(o=c=f,i=r):c=c.next=f,ie.lanes|=d,Ar|=d}u=u.next}while(u!==null&&u!==a);c===null?i=r:c.next=o,Nt(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do a=s.lane,ie.lanes|=a,Ar|=a,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function oc(e){var t=gt(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,a=t.memoizedState;if(s!==null){n.pending=null;var i=s=s.next;do a=e(a,i.action),i=i.next;while(i!==s);Nt(a,t.memoizedState)||(qe=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function vx(){}function wx(e,t){var n=ie,r=gt(),s=t(),a=!Nt(r.memoizedState,s);if(a&&(r.memoizedState=s,qe=!0),r=r.queue,of(Cx.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||be!==null&&be.memoizedState.tag&1){if(n.flags|=2048,Va(9,Px.bind(null,n,r,s,t),void 0,null),Pe===null)throw Error(F(349));jr&30||bx(n,t,s)}return s}function bx(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ie.updateQueue,t===null?(t={lastEffect:null,stores:null},ie.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Px(e,t,n,r){t.value=n,t.getSnapshot=r,kx(t)&&Sx(e)}function Cx(e,t,n){return n(function(){kx(t)&&Sx(e)})}function kx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Nt(e,n)}catch{return!0}}function Sx(e){var t=hn(e,1);t!==null&&jt(t,e,1,-1)}function up(e){var t=Mt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:e},t.queue=e,e=e.dispatch=eC.bind(null,ie,e),[t.memoizedState,e]}function Va(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ie.updateQueue,t===null?(t={lastEffect:null,stores:null},ie.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 Ex(){return gt().memoizedState}function to(e,t,n,r){var s=Mt();ie.flags|=e,s.memoizedState=Va(1|t,n,void 0,r===void 0?null:r)}function pl(e,t,n,r){var s=gt();r=r===void 0?null:r;var a=void 0;if(ye!==null){var i=ye.memoizedState;if(a=i.destroy,r!==null&&rf(r,i.deps)){s.memoizedState=Va(t,n,a,r);return}}ie.flags|=e,s.memoizedState=Va(1|t,n,a,r)}function dp(e,t){return to(8390656,8,e,t)}function of(e,t){return pl(2048,8,e,t)}function Tx(e,t){return pl(4,2,e,t)}function jx(e,t){return pl(4,4,e,t)}function Ax(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 Nx(e,t,n){return n=n!=null?n.concat([e]):null,pl(4,4,Ax.bind(null,t,e),n)}function lf(){}function Fx(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&rf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ox(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&rf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Rx(e,t,n){return jr&21?(Nt(n,t)||(n=zy(),ie.lanes|=n,Ar|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function Z1(e,t){var n=X;X=n!==0&&4>n?n:4,e(!0);var r=ac.transition;ac.transition={};try{e(!1),t()}finally{X=n,ac.transition=r}}function Dx(){return gt().memoizedState}function J1(e,t,n){var r=$n(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Mx(e))Lx(t,n);else if(n=gx(e,t,n,r),n!==null){var s=Be();jt(n,e,r,s),Ix(n,t,r)}}function eC(e,t,n){var r=$n(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mx(e))Lx(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,o=a(i,n);if(s.hasEagerState=!0,s.eagerState=o,Nt(o,i)){var c=t.interleaved;c===null?(s.next=s,Zd(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=gx(e,t,s,r),n!==null&&(s=Be(),jt(n,e,r,s),Ix(n,t,r))}}function Mx(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function Lx(e,t){pa=Lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ix(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,zd(e,n)}}var Io={readContext:mt,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},tC={readContext:mt,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,to(4194308,4,Ax.bind(null,t,e),n)},useLayoutEffect:function(e,t){return to(4194308,4,e,t)},useInsertionEffect:function(e,t){return to(4,2,e,t)},useMemo:function(e,t){var n=Mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mt();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=J1.bind(null,ie,e),[r.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:up,useDebugValue:lf,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=up(!1),t=e[0];return e=Z1.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ie,s=Mt();if(se){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Pe===null)throw Error(F(349));jr&30||bx(r,t,n)}s.memoizedState=n;var a={value:n,getSnapshot:t};return s.queue=a,dp(Cx.bind(null,r,a,e),[e]),r.flags|=2048,Va(9,Px.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Mt(),t=Pe.identifierPrefix;if(se){var n=ln,r=on;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ia++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=X1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},nC={readContext:mt,useCallback:Fx,useContext:mt,useEffect:of,useImperativeHandle:Nx,useInsertionEffect:Tx,useLayoutEffect:jx,useMemo:Ox,useReducer:ic,useRef:Ex,useState:function(){return ic(za)},useDebugValue:lf,useDeferredValue:function(e){var t=gt();return Rx(t,ye.memoizedState,e)},useTransition:function(){var e=ic(za)[0],t=gt().memoizedState;return[e,t]},useMutableSource:vx,useSyncExternalStore:wx,useId:Dx,unstable_isNewReconciler:!1},rC={readContext:mt,useCallback:Fx,useContext:mt,useEffect:of,useImperativeHandle:Nx,useInsertionEffect:Tx,useLayoutEffect:jx,useMemo:Ox,useReducer:oc,useRef:Ex,useState:function(){return oc(za)},useDebugValue:lf,useDeferredValue:function(e){var t=gt();return ye===null?t.memoizedState=e:Rx(t,ye.memoizedState,e)},useTransition:function(){var e=oc(za)[0],t=gt().memoizedState;return[e,t]},useMutableSource:vx,useSyncExternalStore:wx,useId:Dx,unstable_isNewReconciler:!1};function bt(e,t){if(e&&e.defaultProps){t=oe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function yu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:oe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ml={isMounted:function(e){return(e=e._reactInternals)?Rr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Be(),s=$n(e),a=cn(r,s);a.payload=t,n!=null&&(a.callback=n),t=Hn(e,a,s),t!==null&&(jt(t,e,s,r),Ji(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),s=$n(e),a=cn(r,s);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Hn(e,a,s),t!==null&&(jt(t,e,s,r),Ji(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=$n(e),s=cn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Hn(e,s,r),t!==null&&(jt(t,e,r,n),Ji(t,e,r))}};function fp(e,t,n,r,s,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!Fa(n,r)||!Fa(s,a):!0}function zx(e,t,n){var r=!1,s=Kn,a=t.contextType;return typeof a=="object"&&a!==null?a=mt(a):(s=Ke(t)?Er:Le.current,r=t.contextTypes,a=(r=r!=null)?Ps(e,s):Kn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ml,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=a),t}function hp(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&&ml.enqueueReplaceState(t,t.state,null)}function xu(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Jd(e);var a=t.contextType;typeof a=="object"&&a!==null?s.context=mt(a):(a=Ke(t)?Er:Le.current,s.context=Ps(e,a)),s.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(yu(e,t,a,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&ml.enqueueReplaceState(s,s.state,null),Do(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Es(e,t){try{var n="",r=t;do n+=FP(r),r=r.return;while(r);var s=n}catch(a){s=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:s,digest:null}}function lc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function vu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var sC=typeof WeakMap=="function"?WeakMap:Map;function Vx(e,t,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vo||(Vo=!0,Au=r),vu(e,t)},n}function _x(e,t,n){n=cn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){vu(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){vu(e,t),typeof r!="function"&&(Un===null?Un=new Set([this]):Un.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function pp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new sC;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=xC.bind(null,e,t,n),t.then(e,e))}function mp(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 gp(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=cn(-1,1),t.tag=2,Hn(n,t,1))),n.lanes|=1),e)}var aC=yn.ReactCurrentOwner,qe=!1;function Ie(e,t,n,r){t.child=e===null?mx(t,null,n,r):ks(t,e.child,n,r)}function yp(e,t,n,r,s){n=n.render;var a=t.ref;return is(t,s),r=sf(e,t,n,r,a,s),n=af(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,pn(e,t,s)):(se&&n&&qd(t),t.flags|=1,Ie(e,t,r,s),t.child)}function xp(e,t,n,r,s){if(e===null){var a=n.type;return typeof a=="function"&&!gf(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Bx(e,t,a,r,s)):(e=ao(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&s)){var i=a.memoizedProps;if(n=n.compare,n=n!==null?n:Fa,n(i,r)&&e.ref===t.ref)return pn(e,t,s)}return t.flags|=1,e=Wn(a,r),e.ref=t.ref,e.return=t,t.child=e}function Bx(e,t,n,r,s){if(e!==null){var a=e.memoizedProps;if(Fa(a,r)&&e.ref===t.ref)if(qe=!1,t.pendingProps=r=a,(e.lanes&s)!==0)e.flags&131072&&(qe=!0);else return t.lanes=e.lanes,pn(e,t,s)}return wu(e,t,n,r,s)}function Hx(e,t,n){var r=t.pendingProps,s=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee(Zr,Qe),Qe|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ee(Zr,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,ee(Zr,Qe),Qe|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,ee(Zr,Qe),Qe|=r;return Ie(e,t,s,n),t.child}function Ux(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function wu(e,t,n,r,s){var a=Ke(n)?Er:Le.current;return a=Ps(t,a),is(t,s),n=sf(e,t,n,r,a,s),r=af(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,pn(e,t,s)):(se&&r&&qd(t),t.flags|=1,Ie(e,t,n,s),t.child)}function vp(e,t,n,r,s){if(Ke(n)){var a=!0;Ao(t)}else a=!1;if(is(t,s),t.stateNode===null)no(e,t),zx(t,n,r),xu(t,n,r,s),r=!0;else if(e===null){var i=t.stateNode,o=t.memoizedProps;i.props=o;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=mt(u):(u=Ke(n)?Er:Le.current,u=Ps(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==r||c!==u)&&hp(t,i,r,u),Sn=!1;var h=t.memoizedState;i.state=h,Do(t,r,i,s),c=t.memoizedState,o!==r||h!==c||Ye.current||Sn?(typeof d=="function"&&(yu(t,n,d,r),c=t.memoizedState),(o=Sn||fp(t,n,o,r,h,c,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=c),i.props=r,i.state=c,i.context=u,r=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,yx(e,t),o=t.memoizedProps,u=t.type===t.elementType?o:bt(t.type,o),i.props=u,f=t.pendingProps,h=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=mt(c):(c=Ke(n)?Er:Le.current,c=Ps(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==f||h!==c)&&hp(t,i,r,c),Sn=!1,h=t.memoizedState,i.state=h,Do(t,r,i,s);var y=t.memoizedState;o!==f||h!==y||Ye.current||Sn?(typeof p=="function"&&(yu(t,n,p,r),y=t.memoizedState),(u=Sn||fp(t,n,u,r,h,y,c)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,y,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,y,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),i.props=r,i.state=y,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return bu(e,t,n,r,a,s)}function bu(e,t,n,r,s,a){Ux(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return s&&sp(t,n,!1),pn(e,t,a);r=t.stateNode,aC.current=t;var o=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=ks(t,e.child,null,a),t.child=ks(t,null,o,a)):Ie(e,t,o,a),t.memoizedState=r.state,s&&sp(t,n,!0),t.child}function $x(e){var t=e.stateNode;t.pendingContext?rp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rp(e,t.context,!1),ef(e,t.containerInfo)}function wp(e,t,n,r,s){return Cs(),Kd(s),t.flags|=256,Ie(e,t,n,r),t.child}var Pu={dehydrated:null,treeContext:null,retryLane:0};function Cu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Wx(e,t,n){var r=t.pendingProps,s=ae.current,a=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(s&2)!==0),o?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ee(ae,s&1),e===null)return mu(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,a?(r=t.mode,a=t.child,i={mode:"hidden",children:i},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=xl(i,r,0,null),e=Cr(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Cu(n),t.memoizedState=Pu,e):cf(t,i));if(s=e.memoizedState,s!==null&&(o=s.dehydrated,o!==null))return iC(e,t,i,r,o,s,n);if(a){a=r.fallback,i=t.mode,s=e.child,o=s.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Wn(s,c),r.subtreeFlags=s.subtreeFlags&14680064),o!==null?a=Wn(o,a):(a=Cr(a,i,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,i=e.child.memoizedState,i=i===null?Cu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~n,t.memoizedState=Pu,r}return a=e.child,e=a.sibling,r=Wn(a,{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 cf(e,t){return t=xl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ji(e,t,n,r){return r!==null&&Kd(r),ks(t,e.child,null,n),e=cf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iC(e,t,n,r,s,a,i){if(n)return t.flags&256?(t.flags&=-257,r=lc(Error(F(422))),ji(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,s=t.mode,r=xl({mode:"visible",children:r.children},s,0,null),a=Cr(a,s,i,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&ks(t,e.child,null,i),t.child.memoizedState=Cu(i),t.memoizedState=Pu,a);if(!(t.mode&1))return ji(e,t,i,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var o=r.dgst;return r=o,a=Error(F(419)),r=lc(a,r,void 0),ji(e,t,i,r)}if(o=(i&e.childLanes)!==0,qe||o){if(r=Pe,r!==null){switch(i&-i){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|i)?0:s,s!==0&&s!==a.retryLane&&(a.retryLane=s,hn(e,s),jt(r,e,s,-1))}return mf(),r=lc(Error(F(421))),ji(e,t,i,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=vC.bind(null,e),s._reactRetry=t,null):(e=a.treeContext,Je=Bn(s.nextSibling),et=t,se=!0,St=null,e!==null&&(ct[ut++]=on,ct[ut++]=ln,ct[ut++]=Tr,on=e.id,ln=e.overflow,Tr=t),t=cf(t,r.children),t.flags|=4096,t)}function bp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),gu(e.return,t,n)}function cc(e,t,n,r,s){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=s)}function qx(e,t,n){var r=t.pendingProps,s=r.revealOrder,a=r.tail;if(Ie(e,t,r.children,n),r=ae.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&&bp(e,n,t);else if(e.tag===19)bp(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(ee(ae,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Mo(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),cc(t,!1,s,n,a);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Mo(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}cc(t,!0,n,null,a);break;case"together":cc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function no(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ar|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=Wn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function oC(e,t,n){switch(t.tag){case 3:$x(t),Cs();break;case 5:xx(t);break;case 1:Ke(t.type)&&Ao(t);break;case 4:ef(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ee(Oo,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ee(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?Wx(e,t,n):(ee(ae,ae.current&1),e=pn(e,t,n),e!==null?e.sibling:null);ee(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return qx(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ee(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,Hx(e,t,n)}return pn(e,t,n)}var Yx,ku,Kx,Gx;Yx=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}};ku=function(){};Kx=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,fr(Wt.current);var a=null;switch(n){case"input":s=qc(e,s),r=qc(e,r),a=[];break;case"select":s=oe({},s,{value:void 0}),r=oe({},r,{value:void 0}),a=[];break;case"textarea":s=Gc(e,s),r=Gc(e,r),a=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=To)}Xc(n,r);var i;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var o=s[u];for(i in o)o.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ka.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(o=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==o&&(c!=null||o!=null))if(u==="style")if(o){for(i in o)!o.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&o[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,o=o?o.__html:void 0,c!=null&&o!==c&&(a=a||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ka.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ne("scroll",e),a||o===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};Gx=function(e,t,n,r){n!==r&&(t.flags|=4)};function Qs(e,t){if(!se)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 Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function lC(e,t,n){var r=t.pendingProps;switch(Yd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return Ke(t.type)&&jo(),Re(t),null;case 3:return r=t.stateNode,Ss(),re(Ye),re(Le),nf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ei(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,St!==null&&(Ou(St),St=null))),ku(e,t),Re(t),null;case 5:tf(t);var s=fr(La.current);if(n=t.type,e!==null&&t.stateNode!=null)Kx(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return Re(t),null}if(e=fr(Wt.current),Ei(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Bt]=t,r[Da]=a,e=(t.mode&1)!==0,n){case"dialog":ne("cancel",r),ne("close",r);break;case"iframe":case"object":case"embed":ne("load",r);break;case"video":case"audio":for(s=0;s<oa.length;s++)ne(oa[s],r);break;case"source":ne("error",r);break;case"img":case"image":case"link":ne("error",r),ne("load",r);break;case"details":ne("toggle",r);break;case"input":Nh(r,a),ne("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},ne("invalid",r);break;case"textarea":Oh(r,a),ne("invalid",r)}Xc(n,a),s=null;for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];i==="children"?typeof o=="string"?r.textContent!==o&&(a.suppressHydrationWarning!==!0&&Si(r.textContent,o,e),s=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(a.suppressHydrationWarning!==!0&&Si(r.textContent,o,e),s=["children",""+o]):ka.hasOwnProperty(i)&&o!=null&&i==="onScroll"&&ne("scroll",r)}switch(n){case"input":yi(r),Fh(r,a,!0);break;case"textarea":yi(r),Rh(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=To)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Cy(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[Bt]=t,e[Da]=r,Yx(e,t,!1,!1),t.stateNode=e;e:{switch(i=Zc(n,r),n){case"dialog":ne("cancel",e),ne("close",e),s=r;break;case"iframe":case"object":case"embed":ne("load",e),s=r;break;case"video":case"audio":for(s=0;s<oa.length;s++)ne(oa[s],e);s=r;break;case"source":ne("error",e),s=r;break;case"img":case"image":case"link":ne("error",e),ne("load",e),s=r;break;case"details":ne("toggle",e),s=r;break;case"input":Nh(e,r),s=qc(e,r),ne("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=oe({},r,{value:void 0}),ne("invalid",e);break;case"textarea":Oh(e,r),s=Gc(e,r),ne("invalid",e);break;default:s=r}Xc(n,s),o=s;for(a in o)if(o.hasOwnProperty(a)){var c=o[a];a==="style"?Ey(e,c):a==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&ky(e,c)):a==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Sa(e,c):typeof c=="number"&&Sa(e,""+c):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ka.hasOwnProperty(a)?c!=null&&a==="onScroll"&&ne("scroll",e):c!=null&&Od(e,a,c,i))}switch(n){case"input":yi(e),Fh(e,r,!1);break;case"textarea":yi(e),Rh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Yn(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?ns(e,!!r.multiple,a,!1):r.defaultValue!=null&&ns(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=To)}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 Re(t),null;case 6:if(e&&t.stateNode!=null)Gx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=fr(La.current),fr(Wt.current),Ei(t)){if(r=t.stateNode,n=t.memoizedProps,r[Bt]=t,(a=r.nodeValue!==n)&&(e=et,e!==null))switch(e.tag){case 3:Si(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Si(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Bt]=t,t.stateNode=r}return Re(t),null;case 13:if(re(ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(se&&Je!==null&&t.mode&1&&!(t.flags&128))hx(),Cs(),t.flags|=98560,a=!1;else if(a=Ei(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(F(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(F(317));a[Bt]=t}else Cs(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Re(t),a=!1}else St!==null&&(Ou(St),St=null),a=!0;if(!a)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||ae.current&1?ve===0&&(ve=3):mf())),t.updateQueue!==null&&(t.flags|=4),Re(t),null);case 4:return Ss(),ku(e,t),e===null&&Oa(t.stateNode.containerInfo),Re(t),null;case 10:return Xd(t.type._context),Re(t),null;case 17:return Ke(t.type)&&jo(),Re(t),null;case 19:if(re(ae),a=t.memoizedState,a===null)return Re(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Qs(a,!1);else{if(ve!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Mo(e),i!==null){for(t.flags|=128,Qs(a,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ee(ae,ae.current&1|2),t.child}e=e.sibling}a.tail!==null&&de()>Ts&&(t.flags|=128,r=!0,Qs(a,!1),t.lanes=4194304)}else{if(!r)if(e=Mo(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Qs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!se)return Re(t),null}else 2*de()-a.renderingStartTime>Ts&&n!==1073741824&&(t.flags|=128,r=!0,Qs(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(n=a.last,n!==null?n.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=de(),t.sibling=null,n=ae.current,ee(ae,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return pf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function cC(e,t){switch(Yd(t),t.tag){case 1:return Ke(t.type)&&jo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ss(),re(Ye),re(Le),nf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tf(t),null;case 13:if(re(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Cs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(ae),null;case 4:return Ss(),null;case 10:return Xd(t.type._context),null;case 22:case 23:return pf(),null;case 24:return null;default:return null}}var Ai=!1,Me=!1,uC=typeof WeakSet=="function"?WeakSet:Set,M=null;function Xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ue(e,t,r)}else n.current=null}function Su(e,t,n){try{n()}catch(r){ue(e,t,r)}}var Pp=!1;function dC(e,t){if(lu=ko,e=ex(),Wd(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 s=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,o=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||s!==0&&f.nodeType!==3||(o=i+s),f!==a||r!==0&&f.nodeType!==3||(c=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===s&&(o=i),h===a&&++d===r&&(c=i),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=o===-1||c===-1?null:{start:o,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(cu={focusedElem:e,selectionRange:n},ko=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,b=y.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?w:bt(t.type,w),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(P){ue(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return y=Pp,Pp=!1,y}function ma(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&Su(t,n,a)}s=s.next}while(s!==r)}}function gl(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 Eu(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 Qx(e){var t=e.alternate;t!==null&&(e.alternate=null,Qx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[Da],delete t[fu],delete t[Y1],delete t[K1])),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 Xx(e){return e.tag===5||e.tag===3||e.tag===4}function Cp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xx(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 Tu(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=To));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}function ju(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(ju(e,t,n),e=e.sibling;e!==null;)ju(e,t,n),e=e.sibling}var Se=null,kt=!1;function vn(e,t,n){for(n=n.child;n!==null;)Zx(e,t,n),n=n.sibling}function Zx(e,t,n){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(ll,n)}catch{}switch(n.tag){case 5:Me||Xr(n,t);case 6:var r=Se,s=kt;Se=null,vn(e,t,n),Se=r,kt=s,Se!==null&&(kt?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(kt?(e=Se,n=n.stateNode,e.nodeType===8?nc(e.parentNode,n):e.nodeType===1&&nc(e,n),Aa(e)):nc(Se,n.stateNode));break;case 4:r=Se,s=kt,Se=n.stateNode.containerInfo,kt=!0,vn(e,t,n),Se=r,kt=s;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var a=s,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&Su(n,t,i),s=s.next}while(s!==r)}vn(e,t,n);break;case 1:if(!Me&&(Xr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){ue(n,t,o)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,vn(e,t,n),Me=r):vn(e,t,n);break;default:vn(e,t,n)}}function kp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new uC),t.forEach(function(r){var s=wC.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var a=e,i=t,o=i;e:for(;o!==null;){switch(o.tag){case 5:Se=o.stateNode,kt=!1;break e;case 3:Se=o.stateNode.containerInfo,kt=!0;break e;case 4:Se=o.stateNode.containerInfo,kt=!0;break e}o=o.return}if(Se===null)throw Error(F(160));Zx(a,i,s),Se=null,kt=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){ue(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Jx(t,e),t=t.sibling}function Jx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),Dt(e),r&4){try{ma(3,e,e.return),gl(3,e)}catch(w){ue(e,e.return,w)}try{ma(5,e,e.return)}catch(w){ue(e,e.return,w)}}break;case 1:xt(t,e),Dt(e),r&512&&n!==null&&Xr(n,n.return);break;case 5:if(xt(t,e),Dt(e),r&512&&n!==null&&Xr(n,n.return),e.flags&32){var s=e.stateNode;try{Sa(s,"")}catch(w){ue(e,e.return,w)}}if(r&4&&(s=e.stateNode,s!=null)){var a=e.memoizedProps,i=n!==null?n.memoizedProps:a,o=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{o==="input"&&a.type==="radio"&&a.name!=null&&by(s,a),Zc(o,i);var u=Zc(o,a);for(i=0;i<c.length;i+=2){var d=c[i],f=c[i+1];d==="style"?Ey(s,f):d==="dangerouslySetInnerHTML"?ky(s,f):d==="children"?Sa(s,f):Od(s,d,f,u)}switch(o){case"input":Yc(s,a);break;case"textarea":Py(s,a);break;case"select":var h=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?ns(s,!!a.multiple,p,!1):h!==!!a.multiple&&(a.defaultValue!=null?ns(s,!!a.multiple,a.defaultValue,!0):ns(s,!!a.multiple,a.multiple?[]:"",!1))}s[Da]=a}catch(w){ue(e,e.return,w)}}break;case 6:if(xt(t,e),Dt(e),r&4){if(e.stateNode===null)throw Error(F(162));s=e.stateNode,a=e.memoizedProps;try{s.nodeValue=a}catch(w){ue(e,e.return,w)}}break;case 3:if(xt(t,e),Dt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Aa(t.containerInfo)}catch(w){ue(e,e.return,w)}break;case 4:xt(t,e),Dt(e);break;case 13:xt(t,e),Dt(e),s=e.child,s.flags&8192&&(a=s.memoizedState!==null,s.stateNode.isHidden=a,!a||s.alternate!==null&&s.alternate.memoizedState!==null||(ff=de())),r&4&&kp(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Me=(u=Me)||d,xt(t,e),Me=u):xt(t,e),Dt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(M=e,d=e.child;d!==null;){for(f=M=d;M!==null;){switch(h=M,p=h.child,h.tag){case 0:case 11:case 14:case 15:ma(4,h,h.return);break;case 1:Xr(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(w){ue(r,n,w)}}break;case 5:Xr(h,h.return);break;case 22:if(h.memoizedState!==null){Ep(f);continue}}p!==null?(p.return=h,M=p):Ep(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(a=s.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(o=f.stateNode,c=f.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,o.style.display=Sy("display",i))}catch(w){ue(e,e.return,w)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(w){ue(e,e.return,w)}}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:xt(t,e),Dt(e),r&4&&kp(e);break;case 21:break;default:xt(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Xx(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Sa(s,""),r.flags&=-33);var a=Cp(e);ju(e,a,s);break;case 3:case 4:var i=r.stateNode.containerInfo,o=Cp(e);Tu(e,o,i);break;default:throw Error(F(161))}}catch(c){ue(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fC(e,t,n){M=e,ev(e)}function ev(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var s=M,a=s.child;if(s.tag===22&&r){var i=s.memoizedState!==null||Ai;if(!i){var o=s.alternate,c=o!==null&&o.memoizedState!==null||Me;o=Ai;var u=Me;if(Ai=i,(Me=c)&&!u)for(M=s;M!==null;)i=M,c=i.child,i.tag===22&&i.memoizedState!==null?Tp(s):c!==null?(c.return=i,M=c):Tp(s);for(;a!==null;)M=a,ev(a),a=a.sibling;M=s,Ai=o,Me=u}Sp(e)}else s.subtreeFlags&8772&&a!==null?(a.return=s,M=a):Sp(e)}}function Sp(e){for(;M!==null;){var t=M;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Me||gl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Me)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:bt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&cp(t,a,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}cp(t,i,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.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&&Aa(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}Me||t.flags&512&&Eu(t)}catch(h){ue(t,t.return,h)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function Ep(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function Tp(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{gl(4,t)}catch(c){ue(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){ue(t,s,c)}}var a=t.return;try{Eu(t)}catch(c){ue(t,a,c)}break;case 5:var i=t.return;try{Eu(t)}catch(c){ue(t,i,c)}}}catch(c){ue(t,t.return,c)}if(t===e){M=null;break}var o=t.sibling;if(o!==null){o.return=t.return,M=o;break}M=t.return}}var hC=Math.ceil,zo=yn.ReactCurrentDispatcher,uf=yn.ReactCurrentOwner,ht=yn.ReactCurrentBatchConfig,K=0,Pe=null,pe=null,je=0,Qe=0,Zr=tr(0),ve=0,_a=null,Ar=0,yl=0,df=0,ga=null,We=null,ff=0,Ts=1/0,rn=null,Vo=!1,Au=null,Un=null,Ni=!1,Mn=null,_o=0,ya=0,Nu=null,ro=-1,so=0;function Be(){return K&6?de():ro!==-1?ro:ro=de()}function $n(e){return e.mode&1?K&2&&je!==0?je&-je:Q1.transition!==null?(so===0&&(so=zy()),so):(e=X,e!==0||(e=window.event,e=e===void 0?16:Wy(e.type)),e):1}function jt(e,t,n,r){if(50<ya)throw ya=0,Nu=null,Error(F(185));ei(e,n,r),(!(K&2)||e!==Pe)&&(e===Pe&&(!(K&2)&&(yl|=n),ve===4&&Tn(e,je)),Ge(e,r),n===1&&K===0&&!(t.mode&1)&&(Ts=de()+500,hl&&nr()))}function Ge(e,t){var n=e.callbackNode;QP(e,t);var r=Co(e,e===Pe?je:0);if(r===0)n!==null&&Lh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Lh(n),t===1)e.tag===0?G1(jp.bind(null,e)):ux(jp.bind(null,e)),W1(function(){!(K&6)&&nr()}),n=null;else{switch(Vy(r)){case 1:n=Id;break;case 4:n=Ly;break;case 16:n=Po;break;case 536870912:n=Iy;break;default:n=Po}n=lv(n,tv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tv(e,t){if(ro=-1,so=0,K&6)throw Error(F(327));var n=e.callbackNode;if(os()&&e.callbackNode!==n)return null;var r=Co(e,e===Pe?je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Bo(e,r);else{t=r;var s=K;K|=2;var a=rv();(Pe!==e||je!==t)&&(rn=null,Ts=de()+500,Pr(e,t));do try{gC();break}catch(o){nv(e,o)}while(!0);Qd(),zo.current=a,K=s,pe!==null?t=0:(Pe=null,je=0,t=ve)}if(t!==0){if(t===2&&(s=ru(e),s!==0&&(r=s,t=Fu(e,s))),t===1)throw n=_a,Pr(e,0),Tn(e,r),Ge(e,de()),n;if(t===6)Tn(e,r);else{if(s=e.current.alternate,!(r&30)&&!pC(s)&&(t=Bo(e,r),t===2&&(a=ru(e),a!==0&&(r=a,t=Fu(e,a))),t===1))throw n=_a,Pr(e,0),Tn(e,r),Ge(e,de()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:lr(e,We,rn);break;case 3:if(Tn(e,r),(r&130023424)===r&&(t=ff+500-de(),10<t)){if(Co(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=du(lr.bind(null,e,We,rn),t);break}lr(e,We,rn);break;case 4:if(Tn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var i=31-Tt(r);a=1<<i,i=t[i],i>s&&(s=i),r&=~a}if(r=s,r=de()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hC(r/1960))-r,10<r){e.timeoutHandle=du(lr.bind(null,e,We,rn),r);break}lr(e,We,rn);break;case 5:lr(e,We,rn);break;default:throw Error(F(329))}}}return Ge(e,de()),e.callbackNode===n?tv.bind(null,e):null}function Fu(e,t){var n=ga;return e.current.memoizedState.isDehydrated&&(Pr(e,t).flags|=256),e=Bo(e,t),e!==2&&(t=We,We=n,t!==null&&Ou(t)),e}function Ou(e){We===null?We=e:We.push.apply(We,e)}function pC(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 s=n[r],a=s.getSnapshot;s=s.value;try{if(!Nt(a(),s))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 Tn(e,t){for(t&=~df,t&=~yl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Tt(t),r=1<<n;e[n]=-1,t&=~r}}function jp(e){if(K&6)throw Error(F(327));os();var t=Co(e,0);if(!(t&1))return Ge(e,de()),null;var n=Bo(e,t);if(e.tag!==0&&n===2){var r=ru(e);r!==0&&(t=r,n=Fu(e,r))}if(n===1)throw n=_a,Pr(e,0),Tn(e,t),Ge(e,de()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lr(e,We,rn),Ge(e,de()),null}function hf(e,t){var n=K;K|=1;try{return e(t)}finally{K=n,K===0&&(Ts=de()+500,hl&&nr())}}function Nr(e){Mn!==null&&Mn.tag===0&&!(K&6)&&os();var t=K;K|=1;var n=ht.transition,r=X;try{if(ht.transition=null,X=1,e)return e()}finally{X=r,ht.transition=n,K=t,!(K&6)&&nr()}}function pf(){Qe=Zr.current,re(Zr)}function Pr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,$1(n)),pe!==null)for(n=pe.return;n!==null;){var r=n;switch(Yd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&jo();break;case 3:Ss(),re(Ye),re(Le),nf();break;case 5:tf(r);break;case 4:Ss();break;case 13:re(ae);break;case 19:re(ae);break;case 10:Xd(r.type._context);break;case 22:case 23:pf()}n=n.return}if(Pe=e,pe=e=Wn(e.current,null),je=Qe=t,ve=0,_a=null,df=yl=Ar=0,We=ga=null,dr!==null){for(t=0;t<dr.length;t++)if(n=dr[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,a=n.pending;if(a!==null){var i=a.next;a.next=s,r.next=i}n.pending=r}dr=null}return e}function nv(e,t){do{var n=pe;try{if(Qd(),eo.current=Io,Lo){for(var r=ie.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Lo=!1}if(jr=0,be=ye=ie=null,pa=!1,Ia=0,uf.current=null,n===null||n.return===null){ve=1,_a=t,pe=null;break}e:{var a=e,i=n.return,o=n,c=t;if(t=je,o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=o,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=mp(i);if(p!==null){p.flags&=-257,gp(p,i,o,a,t),p.mode&1&&pp(a,u,t),t=p,c=u;var y=t.updateQueue;if(y===null){var w=new Set;w.add(c),t.updateQueue=w}else y.add(c);break e}else{if(!(t&1)){pp(a,u,t),mf();break e}c=Error(F(426))}}else if(se&&o.mode&1){var b=mp(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),gp(b,i,o,a,t),Kd(Es(c,o));break e}}a=c=Es(c,o),ve!==4&&(ve=2),ga===null?ga=[a]:ga.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var g=Vx(a,c,t);lp(a,g);break e;case 1:o=c;var m=a.type,x=a.stateNode;if(!(a.flags&128)&&(typeof m.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Un===null||!Un.has(x)))){a.flags|=65536,t&=-t,a.lanes|=t;var P=_x(a,o,t);lp(a,P);break e}}a=a.return}while(a!==null)}av(n)}catch(C){t=C,pe===n&&n!==null&&(pe=n=n.return);continue}break}while(!0)}function rv(){var e=zo.current;return zo.current=Io,e===null?Io:e}function mf(){(ve===0||ve===3||ve===2)&&(ve=4),Pe===null||!(Ar&268435455)&&!(yl&268435455)||Tn(Pe,je)}function Bo(e,t){var n=K;K|=2;var r=rv();(Pe!==e||je!==t)&&(rn=null,Pr(e,t));do try{mC();break}catch(s){nv(e,s)}while(!0);if(Qd(),K=n,zo.current=r,pe!==null)throw Error(F(261));return Pe=null,je=0,ve}function mC(){for(;pe!==null;)sv(pe)}function gC(){for(;pe!==null&&!BP();)sv(pe)}function sv(e){var t=ov(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?av(e):pe=t,uf.current=null}function av(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=cC(n,t),n!==null){n.flags&=32767,pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ve=6,pe=null;return}}else if(n=lC(n,t,Qe),n!==null){pe=n;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);ve===0&&(ve=5)}function lr(e,t,n){var r=X,s=ht.transition;try{ht.transition=null,X=1,yC(e,t,n,r)}finally{ht.transition=s,X=r}return null}function yC(e,t,n,r){do os();while(Mn!==null);if(K&6)throw Error(F(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(XP(e,a),e===Pe&&(pe=Pe=null,je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ni||(Ni=!0,lv(Po,function(){return os(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=ht.transition,ht.transition=null;var i=X;X=1;var o=K;K|=4,uf.current=null,dC(e,n),Jx(n,e),I1(cu),ko=!!lu,cu=lu=null,e.current=n,fC(n),HP(),K=o,X=i,ht.transition=a}else e.current=n;if(Ni&&(Ni=!1,Mn=e,_o=s),a=e.pendingLanes,a===0&&(Un=null),WP(n.stateNode),Ge(e,de()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Vo)throw Vo=!1,e=Au,Au=null,e;return _o&1&&e.tag!==0&&os(),a=e.pendingLanes,a&1?e===Nu?ya++:(ya=0,Nu=e):ya=0,nr(),null}function os(){if(Mn!==null){var e=Vy(_o),t=ht.transition,n=X;try{if(ht.transition=null,X=16>e?16:e,Mn===null)var r=!1;else{if(e=Mn,Mn=null,_o=0,K&6)throw Error(F(331));var s=K;for(K|=4,M=e.current;M!==null;){var a=M,i=a.child;if(M.flags&16){var o=a.deletions;if(o!==null){for(var c=0;c<o.length;c++){var u=o[c];for(M=u;M!==null;){var d=M;switch(d.tag){case 0:case 11:case 15:ma(8,d,a)}var f=d.child;if(f!==null)f.return=d,M=f;else for(;M!==null;){d=M;var h=d.sibling,p=d.return;if(Qx(d),d===u){M=null;break}if(h!==null){h.return=p,M=h;break}M=p}}}var y=a.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var b=w.sibling;w.sibling=null,w=b}while(w!==null)}}M=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,M=i;else e:for(;M!==null;){if(a=M,a.flags&2048)switch(a.tag){case 0:case 11:case 15:ma(9,a,a.return)}var g=a.sibling;if(g!==null){g.return=a.return,M=g;break e}M=a.return}}var m=e.current;for(M=m;M!==null;){i=M;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,M=x;else e:for(i=m;M!==null;){if(o=M,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:gl(9,o)}}catch(C){ue(o,o.return,C)}if(o===i){M=null;break e}var P=o.sibling;if(P!==null){P.return=o.return,M=P;break e}M=o.return}}if(K=s,nr(),$t&&typeof $t.onPostCommitFiberRoot=="function")try{$t.onPostCommitFiberRoot(ll,e)}catch{}r=!0}return r}finally{X=n,ht.transition=t}}return!1}function Ap(e,t,n){t=Es(n,t),t=Vx(e,t,1),e=Hn(e,t,1),t=Be(),e!==null&&(ei(e,1,t),Ge(e,t))}function ue(e,t,n){if(e.tag===3)Ap(e,e,n);else for(;t!==null;){if(t.tag===3){Ap(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Un===null||!Un.has(r))){e=Es(n,e),e=_x(t,e,1),t=Hn(t,e,1),e=Be(),t!==null&&(ei(t,1,e),Ge(t,e));break}}t=t.return}}function xC(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(je&n)===n&&(ve===4||ve===3&&(je&130023424)===je&&500>de()-ff?Pr(e,0):df|=n),Ge(e,t)}function iv(e,t){t===0&&(e.mode&1?(t=wi,wi<<=1,!(wi&130023424)&&(wi=4194304)):t=1);var n=Be();e=hn(e,t),e!==null&&(ei(e,t,n),Ge(e,n))}function vC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iv(e,n)}function wC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),iv(e,n)}var ov;ov=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qe=!1,oC(e,t,n);qe=!!(e.flags&131072)}else qe=!1,se&&t.flags&1048576&&dx(t,Fo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;no(e,t),e=t.pendingProps;var s=Ps(t,Le.current);is(t,n),s=sf(null,t,r,e,s,n);var a=af();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ke(r)?(a=!0,Ao(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Jd(t),s.updater=ml,t.stateNode=s,s._reactInternals=t,xu(t,r,e,n),t=bu(null,t,r,!0,a,n)):(t.tag=0,se&&a&&qd(t),Ie(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(no(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=PC(r),e=bt(r,e),s){case 0:t=wu(null,t,r,e,n);break e;case 1:t=vp(null,t,r,e,n);break e;case 11:t=yp(null,t,r,e,n);break e;case 14:t=xp(null,t,r,bt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:bt(r,s),wu(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:bt(r,s),vp(e,t,r,s,n);case 3:e:{if($x(t),e===null)throw Error(F(387));r=t.pendingProps,a=t.memoizedState,s=a.element,yx(e,t),Do(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=Es(Error(F(423)),t),t=wp(e,t,r,n,s);break e}else if(r!==s){s=Es(Error(F(424)),t),t=wp(e,t,r,n,s);break e}else for(Je=Bn(t.stateNode.containerInfo.firstChild),et=t,se=!0,St=null,n=mx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Cs(),r===s){t=pn(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return xx(t),e===null&&mu(t),r=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,i=s.children,uu(r,s)?i=null:a!==null&&uu(r,a)&&(t.flags|=32),Ux(e,t),Ie(e,t,i,n),t.child;case 6:return e===null&&mu(t),null;case 13:return Wx(e,t,n);case 4:return ef(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ks(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:bt(r,s),yp(e,t,r,s,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,a=t.memoizedProps,i=s.value,ee(Oo,r._currentValue),r._currentValue=i,a!==null)if(Nt(a.value,i)){if(a.children===s.children&&!Ye.current){t=pn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var o=a.dependencies;if(o!==null){i=a.child;for(var c=o.firstContext;c!==null;){if(c.context===r){if(a.tag===1){c=cn(-1,n&-n),c.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),gu(a.return,n,t),o.lanes|=n;break}c=c.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(F(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),gu(i,n,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Ie(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,is(t,n),s=mt(s),r=r(s),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,s=bt(r,t.pendingProps),s=bt(r.type,s),xp(e,t,r,s,n);case 15:return Bx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:bt(r,s),no(e,t),t.tag=1,Ke(r)?(e=!0,Ao(t)):e=!1,is(t,n),zx(t,r,s),xu(t,r,s,n),bu(null,t,r,!0,e,n);case 19:return qx(e,t,n);case 22:return Hx(e,t,n)}throw Error(F(156,t.tag))};function lv(e,t){return My(e,t)}function bC(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 dt(e,t,n,r){return new bC(e,t,n,r)}function gf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function PC(e){if(typeof e=="function")return gf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dd)return 11;if(e===Md)return 14}return 2}function Wn(e,t){var n=e.alternate;return n===null?(n=dt(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 ao(e,t,n,r,s,a){var i=2;if(r=e,typeof e=="function")gf(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Hr:return Cr(n.children,s,a,t);case Rd:i=8,s|=8;break;case Hc:return e=dt(12,n,t,s|2),e.elementType=Hc,e.lanes=a,e;case Uc:return e=dt(13,n,t,s),e.elementType=Uc,e.lanes=a,e;case $c:return e=dt(19,n,t,s),e.elementType=$c,e.lanes=a,e;case xy:return xl(n,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gy:i=10;break e;case yy:i=9;break e;case Dd:i=11;break e;case Md:i=14;break e;case kn:i=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=dt(i,n,t,s),t.elementType=e,t.type=r,t.lanes=a,t}function Cr(e,t,n,r){return e=dt(7,e,r,t),e.lanes=n,e}function xl(e,t,n,r){return e=dt(22,e,r,t),e.elementType=xy,e.lanes=n,e.stateNode={isHidden:!1},e}function uc(e,t,n){return e=dt(6,e,null,t),e.lanes=n,e}function dc(e,t,n){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function CC(e,t,n,r,s){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=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function yf(e,t,n,r,s,a,i,o,c){return e=new CC(e,t,n,o,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=dt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jd(a),e}function kC(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 cv(e){if(!e)return Kn;e=e._reactInternals;e:{if(Rr(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ke(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(Ke(n))return cx(e,n,t)}return t}function uv(e,t,n,r,s,a,i,o,c){return e=yf(n,r,!0,e,s,a,i,o,c),e.context=cv(null),n=e.current,r=Be(),s=$n(n),a=cn(r,s),a.callback=t??null,Hn(n,a,s),e.current.lanes=s,ei(e,s,r),Ge(e,r),e}function vl(e,t,n,r){var s=t.current,a=Be(),i=$n(s);return n=cv(n),t.context===null?t.context=n:t.pendingContext=n,t=cn(a,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Hn(s,t,i),e!==null&&(jt(e,s,i,a),Ji(e,s,i)),i}function Ho(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 Np(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function xf(e,t){Np(e,t),(e=e.alternate)&&Np(e,t)}function SC(){return null}var dv=typeof reportError=="function"?reportError:function(e){console.error(e)};function vf(e){this._internalRoot=e}wl.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));vl(e,t,null,null)};wl.prototype.unmount=vf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nr(function(){vl(null,e,null,null)}),t[fn]=null}};function wl(e){this._internalRoot=e}wl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<En.length&&t!==0&&t<En[n].priority;n++);En.splice(n,0,e),n===0&&$y(e)}};function wf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function bl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Fp(){}function EC(e,t,n,r,s){if(s){if(typeof r=="function"){var a=r;r=function(){var u=Ho(i);a.call(u)}}var i=uv(t,r,e,0,null,!1,!1,"",Fp);return e._reactRootContainer=i,e[fn]=i.current,Oa(e.nodeType===8?e.parentNode:e),Nr(),i}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var o=r;r=function(){var u=Ho(c);o.call(u)}}var c=yf(e,0,!1,null,null,!1,!1,"",Fp);return e._reactRootContainer=c,e[fn]=c.current,Oa(e.nodeType===8?e.parentNode:e),Nr(function(){vl(t,c,n,r)}),c}function Pl(e,t,n,r,s){var a=n._reactRootContainer;if(a){var i=a;if(typeof s=="function"){var o=s;s=function(){var c=Ho(i);o.call(c)}}vl(t,i,e,s)}else i=EC(n,t,e,s,r);return Ho(i)}_y=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ia(t.pendingLanes);n!==0&&(zd(t,n|1),Ge(t,de()),!(K&6)&&(Ts=de()+500,nr()))}break;case 13:Nr(function(){var r=hn(e,1);if(r!==null){var s=Be();jt(r,e,1,s)}}),xf(e,1)}};Vd=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=Be();jt(t,e,134217728,n)}xf(e,134217728)}};By=function(e){if(e.tag===13){var t=$n(e),n=hn(e,t);if(n!==null){var r=Be();jt(n,e,t,r)}xf(e,t)}};Hy=function(){return X};Uy=function(e,t){var n=X;try{return X=e,t()}finally{X=n}};eu=function(e,t,n){switch(t){case"input":if(Yc(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 s=fl(r);if(!s)throw Error(F(90));wy(r),Yc(r,s)}}}break;case"textarea":Py(e,n);break;case"select":t=n.value,t!=null&&ns(e,!!n.multiple,t,!1)}};Ay=hf;Ny=Nr;var TC={usingClientEntryPoint:!1,Events:[ni,qr,fl,Ty,jy,hf]},Xs={findFiberByHostInstance:ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},jC={bundleType:Xs.bundleType,version:Xs.version,rendererPackageName:Xs.rendererPackageName,rendererConfig:Xs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ry(e),e===null?null:e.stateNode},findFiberByHostInstance:Xs.findFiberByHostInstance||SC,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 Fi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fi.isDisabled&&Fi.supportsFiber)try{ll=Fi.inject(jC),$t=Fi}catch{}}st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TC;st.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wf(t))throw Error(F(200));return kC(e,t,null,n)};st.createRoot=function(e,t){if(!wf(e))throw Error(F(299));var n=!1,r="",s=dv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=yf(e,1,!1,null,null,n,!1,r,s),e[fn]=t.current,Oa(e.nodeType===8?e.parentNode:e),new vf(t)};st.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(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=Ry(t),e=e===null?null:e.stateNode,e};st.flushSync=function(e){return Nr(e)};st.hydrate=function(e,t,n){if(!bl(t))throw Error(F(200));return Pl(null,e,t,!0,n)};st.hydrateRoot=function(e,t,n){if(!wf(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,s=!1,a="",i=dv;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=uv(t,null,e,1,n??null,s,!1,a,i),e[fn]=t.current,Oa(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new wl(t)};st.render=function(e,t,n){if(!bl(t))throw Error(F(200));return Pl(null,e,t,!1,n)};st.unmountComponentAtNode=function(e){if(!bl(e))throw Error(F(40));return e._reactRootContainer?(Nr(function(){Pl(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};st.unstable_batchedUpdates=hf;st.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!bl(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return Pl(e,t,n,!1,r)};st.version="18.3.1-next-f1338f8080-20240426";function fv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fv)}catch(e){console.error(e)}}fv(),fy.exports=st;var si=fy.exports,hv,Op=si;hv=Op.createRoot,Op.hydrateRoot;const AC=1,NC=1e6;let fc=0;function FC(){return fc=(fc+1)%Number.MAX_SAFE_INTEGER,fc.toString()}const hc=new Map,Rp=e=>{if(hc.has(e))return;const t=setTimeout(()=>{hc.delete(e),xa({type:"REMOVE_TOAST",toastId:e})},NC);hc.set(e,t)},OC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,AC)};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;return n?Rp(n):e.toasts.forEach(r=>{Rp(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)}}},io=[];let oo={toasts:[]};function xa(e){oo=OC(oo,e),io.forEach(t=>{t(oo)})}function RC({...e}){const t=FC(),n=s=>xa({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>xa({type:"DISMISS_TOAST",toastId:t});return xa({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function pv(){const[e,t]=v.useState(oo);return v.useEffect(()=>(io.push(t),()=>{const n=io.indexOf(t);n>-1&&io.splice(n,1)}),[e]),{...e,toast:RC,dismiss:n=>xa({type:"DISMISS_TOAST",toastId:n})}}function xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Dp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function DC(...e){return t=>{let n=!1;const r=e.map(s=>{const a=Dp(s,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s<r.length;s++){const a=r[s];typeof a=="function"?a():Dp(e[s],null)}}}}function Ft(...e){return v.useCallback(DC(...e),e)}function Cl(e,t=[]){let n=[];function r(a,i){const o=v.createContext(i);o.displayName=a+"Context";const c=n.length;n=[...n,i];const u=f=>{var g;const{scope:h,children:p,...y}=f,w=((g=h==null?void 0:h[e])==null?void 0:g[c])||o,b=v.useMemo(()=>y,Object.values(y));return l.jsx(w.Provider,{value:b,children:p})};u.displayName=a+"Provider";function d(f,h){var w;const p=((w=h==null?void 0:h[e])==null?void 0:w[c])||o,y=v.useContext(p);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[u,d]}const s=()=>{const a=n.map(i=>v.createContext(i));return function(o){const c=(o==null?void 0:o[e])||a;return v.useMemo(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return s.scopeName=e,[r,MC(s,...t)]}function MC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const i=r.reduce((o,{useScope:c,scopeName:u})=>{const f=c(a)[`__scope${u}`];return{...o,...f}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Uo(e){const t=v.forwardRef((n,r)=>{let{children:s,...a}=n,i=null,o=!1;const c=[];Mp(s)&&typeof Oi=="function"&&(s=Oi(s._payload)),v.Children.forEach(s,h=>{var p;if(BC(h)){o=!0;const y=h;let w="child"in y.props?y.props.child:y.props.children;Mp(w)&&typeof Oi=="function"&&(w=Oi(w._payload)),i=zC(y,w),c.push((p=i==null?void 0:i.props)==null?void 0:p.children)}else c.push(h)}),i?i=v.cloneElement(i,void 0,c):!o&&v.Children.count(s)===1&&v.isValidElement(s)&&(i=s);const u=i?_C(i):void 0,d=Ft(r,u);if(!i){if(s||s===0)throw new Error(o?WC(e):$C(e));return s}const f=VC(a,i.props??{});return i.type!==v.Fragment&&(f.ref=r?d:u),v.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var LC=Uo("Slot"),mv=Symbol.for("radix.slottable");function IC(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=mv,t}var zC=(e,t)=>{if("child"in e.props){const n=e.props.child;return v.isValidElement(n)?v.cloneElement(n,void 0,e.props.children(n.props.children)):null}return v.isValidElement(t)?t:null};function VC(e,t){const n={...t};for(const r in t){const s=e[r],a=t[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...o)=>{const c=a(...o);return s(...o),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...e,...n}}function _C(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function BC(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===mv}var HC=Symbol.for("react.lazy");function Mp(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===HC&&"_payload"in e&&UC(e._payload)}function UC(e){return typeof e=="object"&&e!==null&&"then"in e}var $C=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,WC=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Oi=Ad[" use ".trim().toString()];function qC(e){const t=e+"CollectionProvider",[n,r]=Cl(t),[s,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=w=>{const{scope:b,children:g}=w,m=v.useRef(null),x=v.useRef(new Map).current;return l.jsx(s,{scope:b,itemMap:x,collectionRef:m,children:g})};i.displayName=t;const o=e+"CollectionSlot",c=Uo(o),u=v.forwardRef((w,b)=>{const{scope:g,children:m}=w,x=a(o,g),P=Ft(b,x.collectionRef);return l.jsx(c,{ref:P,children:m})});u.displayName=o;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Uo(d),p=v.forwardRef((w,b)=>{const{scope:g,children:m,...x}=w,P=v.useRef(null),C=Ft(b,P),k=a(d,g);return v.useEffect(()=>(k.itemMap.set(P,{ref:P,...x}),()=>void k.itemMap.delete(P))),l.jsx(h,{[f]:"",ref:C,children:m})});p.displayName=d;function y(w){const b=a(e+"CollectionConsumer",w);return v.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const x=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((k,E)=>x.indexOf(k.ref.current)-x.indexOf(E.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},y,r]}var YC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$e=YC.reduce((e,t)=>{const n=Uo(`Primitive.${t}`),r=v.forwardRef((s,a)=>{const{asChild:i,...o}=s,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...o,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function gv(e,t){e&&si.flushSync(()=>e.dispatchEvent(t))}function Gn(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function KC(e,t=globalThis==null?void 0:globalThis.document){const n=Gn(e);v.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var GC="DismissableLayer",Ru="dismissableLayer.update",QC="dismissableLayer.pointerDownOutside",XC="dismissableLayer.focusOutside",Lp,yv=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),bf=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...u}=e,d=v.useContext(yv),[f,h]=v.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=v.useState({}),w=Ft(t,N=>h(N)),b=Array.from(d.layers),[g]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),m=b.indexOf(g),x=f?b.indexOf(f):-1,P=d.layersWithOutsidePointerEventsDisabled.size>0,C=x>=m,k=v.useRef(!1),E=JC(N=>{const A=N.target;if(!(A instanceof Node))return;const L=[...d.branches].some(D=>D.contains(A));!C||L||(a==null||a(N),o==null||o(N),N.defaultPrevented||c==null||c())},{ownerDocument:p,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:d.dismissableSurfaces}),S=ek(N=>{if(r&&k.current)return;const A=N.target;[...d.branches].some(D=>D.contains(A))||(i==null||i(N),o==null||o(N),N.defaultPrevented||c==null||c())},p);return KC(N=>{x===d.layers.size-1&&(s==null||s(N),!N.defaultPrevented&&c&&(N.preventDefault(),c()))},p),v.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Lp=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Ip(),()=>{n&&(d.layersWithOutsidePointerEventsDisabled.delete(f),d.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=Lp))}},[f,p,n,d]),v.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Ip())},[f,d]),v.useEffect(()=>{const N=()=>y({});return document.addEventListener(Ru,N),()=>document.removeEventListener(Ru,N)},[]),l.jsx($e.div,{...u,ref:w,style:{pointerEvents:P?C?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,S.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,E.onPointerDownCapture)})});bf.displayName=GC;var ZC="DismissableLayerBranch",xv=v.forwardRef((e,t)=>{const n=v.useContext(yv),r=v.useRef(null),s=Ft(t,r);return v.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),l.jsx($e.div,{...e,ref:s})});xv.displayName=ZC;function JC(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:s,dismissableSurfaces:a}=t,i=Gn(e),o=v.useRef(!1),c=v.useRef(!1),u=v.useRef(new Map),d=v.useRef(()=>{});return v.useEffect(()=>{function f(){c.current=!1,s.current=!1,u.current.clear()}function h(){return Array.from(u.current.values()).some(Boolean)}function p(m){if(!c.current)return;const x=m.target;x instanceof Node&&[...a].some(C=>C.contains(x))||u.current.set(m.type,!0),m.type==="click"&&window.setTimeout(()=>{c.current&&d.current()},0)}function y(m){c.current&&u.current.set(m.type,!1)}const w=m=>{if(m.target&&!o.current){let x=function(){n.removeEventListener("click",d.current);const C=h();f(),C||vv(QC,i,P,{discrete:!0})};const P={originalEvent:m};c.current=!0,s.current=r&&m.button===0,u.current.clear(),!r||m.button!==0?x():(n.removeEventListener("click",d.current),d.current=x,n.addEventListener("click",d.current,{once:!0}))}else n.removeEventListener("click",d.current),f();o.current=!1},b=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const m of b)n.addEventListener(m,p,!0),n.addEventListener(m,y);const g=window.setTimeout(()=>{n.addEventListener("pointerdown",w)},0);return()=>{window.clearTimeout(g),n.removeEventListener("pointerdown",w),n.removeEventListener("click",d.current);for(const m of b)n.removeEventListener(m,p,!0),n.removeEventListener(m,y)}},[n,i,r,s,a]),{onPointerDownCapture:()=>o.current=!0}}function ek(e,t=globalThis==null?void 0:globalThis.document){const n=Gn(e),r=v.useRef(!1);return v.useEffect(()=>{const s=a=>{a.target&&!r.current&&vv(XC,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ip(){const e=new CustomEvent(Ru);document.dispatchEvent(e)}function vv(e,t,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?gv(s,a):s.dispatchEvent(a)}var tk=bf,nk=xv,un=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},rk="Portal",Pf=v.forwardRef((e,t)=>{var o;const{container:n,...r}=e,[s,a]=v.useState(!1);un(()=>a(!0),[]);const i=n||s&&((o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body);return i?si.createPortal(l.jsx($e.div,{...r,ref:t}),i):null});Pf.displayName=rk;function sk(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var kl=e=>{const{present:t,children:n}=e,r=ak(t),s=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),a=ik(r.ref,ok(s));return typeof n=="function"||r.isPresent?v.cloneElement(s,{ref:a}):null};kl.displayName="Presence";function ak(e){const[t,n]=v.useState(),r=v.useRef(null),s=v.useRef(e),a=v.useRef("none"),i=e?"mounted":"unmounted",[o,c]=sk(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=Ri(r.current);a.current=o==="mounted"?u:"none"},[o]),un(()=>{const u=r.current,d=s.current;if(d!==e){const h=a.current,p=Ri(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),un(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const w=Ri(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&w&&(c("ANIMATION_END"),!s.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&&(a.current=Ri(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 c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:v.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function zp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ik(...e){const t=v.useRef(e);return t.current=e,v.useCallback(n=>{const r=t.current;let s=!1;const a=r.map(i=>{const o=zp(i,n);return!s&&typeof o=="function"&&(s=!0),o});if(s)return()=>{for(let i=0;i<a.length;i++){const o=a[i];typeof o=="function"?o():zp(r[i],null)}}},[])}function Ri(e){return(e==null?void 0:e.animationName)||"none"}function ok(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var lk=Ad[" useInsertionEffect ".trim().toString()]||un;function ck({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,a,i]=uk({defaultProp:t,onChange:n}),o=e!==void 0,c=o?e:s;{const d=v.useRef(e!==void 0);v.useEffect(()=>{const f=d.current;f!==o&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${o?"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=o},[o,r])}const u=v.useCallback(d=>{var f;if(o){const h=dk(d)?d(e):d;h!==e&&((f=i.current)==null||f.call(i,h))}else a(d)},[o,e,a,i]);return[c,u]}function uk({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),s=v.useRef(n),a=v.useRef(t);return lk(()=>{a.current=t},[t]),v.useEffect(()=>{var i;s.current!==n&&((i=a.current)==null||i.call(a,n),s.current=n)},[n,s]),[n,r,a]}function dk(e){return typeof e=="function"}var fk=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"}),hk="VisuallyHidden",Sl=v.forwardRef((e,t)=>l.jsx($e.span,{...e,ref:t,style:{...fk,...e.style}}));Sl.displayName=hk;var pk=Sl,Cf="ToastProvider",[kf,mk,gk]=qC("Toast"),[wv]=Cl("Toast",[gk]),[yk,El]=wv(Cf),bv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:a=50,announcerContainer:i,children:o}=e,[c,u]=v.useState(null),[d,f]=v.useState(0),h=v.useRef(!1),p=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Cf}\`. Expected non-empty \`string\`.`),l.jsx(kf.Provider,{scope:t,children:l.jsx(yk,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:a,toastCount:d,viewport:c,onViewportChange:u,onToastAdd:v.useCallback(()=>f(y=>y+1),[]),onToastRemove:v.useCallback(()=>f(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:p,announcerContainer:i,children:o})})};bv.displayName=Cf;var Pv="ToastViewport",xk=["F8"],Du="toast.viewportPause",Mu="toast.viewportResume",Cv=v.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=xk,label:s="Notifications ({hotkey})",...a}=e,i=El(Pv,n),o=mk(n),c=v.useRef(null),u=v.useRef(null),d=v.useRef(null),f=v.useRef(null),h=Ft(t,f,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=i.toastCount>0;v.useEffect(()=>{const b=g=>{var x;r.length!==0&&r.every(P=>g[P]||g.code===P)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),v.useEffect(()=>{const b=c.current,g=f.current;if(y&&b&&g){const m=()=>{if(!i.isClosePausedRef.current){const k=new CustomEvent(Du);g.dispatchEvent(k),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const k=new CustomEvent(Mu);g.dispatchEvent(k),i.isClosePausedRef.current=!1}},P=k=>{!b.contains(k.relatedTarget)&&x()},C=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",m),b.addEventListener("focusout",P),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",P),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",x)}}},[y,i.isClosePausedRef]);const w=v.useCallback(({tabbingDirection:b})=>{const m=o().map(x=>{const P=x.ref.current,C=[P,...Fk(P)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?m.reverse():m).flat()},[o]);return v.useEffect(()=>{const b=f.current;if(b){const g=m=>{var C,k,E;const x=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!x){const S=document.activeElement,N=m.shiftKey;if(m.target===b&&N){(C=u.current)==null||C.focus();return}const D=w({tabbingDirection:N?"backwards":"forwards"}),H=D.findIndex(R=>R===S);pc(D.slice(H+1))?m.preventDefault():N?(k=u.current)==null||k.focus():(E=d.current)==null||E.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[o,w]),l.jsxs(nk,{ref:c,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&l.jsx(Lu,{ref:u,onFocusFromOutsideViewport:()=>{const b=w({tabbingDirection:"forwards"});pc(b)}}),l.jsx(kf.Slot,{scope:n,children:l.jsx($e.ol,{tabIndex:-1,...a,ref:h})}),y&&l.jsx(Lu,{ref:d,onFocusFromOutsideViewport:()=>{const b=w({tabbingDirection:"backwards"});pc(b)}})]})});Cv.displayName=Pv;var kv="ToastFocusProxy",Lu=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,a=El(kv,n);return l.jsx(Sl,{tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const o=i.relatedTarget;!((u=a.viewport)!=null&&u.contains(o))&&r()}})});Lu.displayName=kv;var ai="Toast",vk="toast.swipeStart",wk="toast.swipeMove",bk="toast.swipeCancel",Pk="toast.swipeEnd",Sv=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:a,...i}=e,[o,c]=ck({prop:r,defaultProp:s??!0,onChange:a,caller:ai});return l.jsx(kl,{present:n||o,children:l.jsx(Sk,{open:o,...i,ref:t,onClose:()=>c(!1),onPause:Gn(e.onPause),onResume:Gn(e.onResume),onSwipeStart:xe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:xe(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:xe(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:xe(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`),c(!1)})})})});Sv.displayName=ai;var[Ck,kk]=wv(ai,{onClose(){}}),Sk=v.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:a,onClose:i,onEscapeKeyDown:o,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...y}=e,w=El(ai,n),[b,g]=v.useState(null),m=Ft(t,R=>g(R)),x=v.useRef(null),P=v.useRef(null),C=s||w.duration,k=v.useRef(0),E=v.useRef(C),S=v.useRef(0),{onToastAdd:N,onToastRemove:A}=w,L=Gn(()=>{var U;(b==null?void 0:b.contains(document.activeElement))&&((U=w.viewport)==null||U.focus()),i()}),D=v.useCallback(R=>{!R||R===1/0||(window.clearTimeout(S.current),k.current=new Date().getTime(),S.current=window.setTimeout(L,R))},[L]);v.useEffect(()=>{const R=w.viewport;if(R){const U=()=>{D(E.current),u==null||u()},V=()=>{const Y=new Date().getTime()-k.current;E.current=E.current-Y,window.clearTimeout(S.current),c==null||c()};return R.addEventListener(Du,V),R.addEventListener(Mu,U),()=>{R.removeEventListener(Du,V),R.removeEventListener(Mu,U)}}},[w.viewport,C,c,u,D]),v.useEffect(()=>{a&&!w.isClosePausedRef.current&&D(C)},[a,C,w.isClosePausedRef,D]),v.useEffect(()=>(N(),()=>A()),[N,A]);const H=v.useMemo(()=>b?Ov(b):null,[b]);return w.viewport?l.jsxs(l.Fragment,{children:[H&&l.jsx(Ek,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:H}),l.jsx(Ck,{scope:n,onClose:L,children:si.createPortal(l.jsx(kf.ItemSlot,{scope:n,children:l.jsx(tk,{asChild:!0,onEscapeKeyDown:xe(o,()=>{w.isFocusedToastEscapeKeyDownRef.current||L(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx($e.li,{tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":w.swipeDirection,...y,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:xe(e.onKeyDown,R=>{R.key==="Escape"&&(o==null||o(R.nativeEvent),R.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,L()))}),onPointerDown:xe(e.onPointerDown,R=>{R.button===0&&(x.current={x:R.clientX,y:R.clientY})}),onPointerMove:xe(e.onPointerMove,R=>{if(!x.current)return;const U=R.clientX-x.current.x,V=R.clientY-x.current.y,Y=!!P.current,T=["left","right"].includes(w.swipeDirection),O=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,z=T?O(0,U):0,B=T?0:O(0,V),Q=R.pointerType==="touch"?10:2,yt={x:z,y:B},it={originalEvent:R,delta:yt};Y?(P.current=yt,Di(wk,f,it,{discrete:!1})):Vp(yt,w.swipeDirection,Q)?(P.current=yt,Di(vk,d,it,{discrete:!1}),R.target.setPointerCapture(R.pointerId)):(Math.abs(U)>Q||Math.abs(V)>Q)&&(x.current=null)}),onPointerUp:xe(e.onPointerUp,R=>{const U=P.current,V=R.target;if(V.hasPointerCapture(R.pointerId)&&V.releasePointerCapture(R.pointerId),P.current=null,x.current=null,U){const Y=R.currentTarget,T={originalEvent:R,delta:U};Vp(U,w.swipeDirection,w.swipeThreshold)?Di(Pk,p,T,{discrete:!0}):Di(bk,h,T,{discrete:!0}),Y.addEventListener("click",O=>O.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),Ek=e=>{const{__scopeToast:t,children:n,...r}=e,s=El(ai,t),[a,i]=v.useState(!1),[o,c]=v.useState(!1);return Ak(()=>i(!0)),v.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),o?null:l.jsx(Pf,{asChild:!0,container:s.announcerContainer||void 0,children:l.jsx(Sl,{...r,children:a&&l.jsxs(l.Fragment,{children:[s.label," ",n]})})})},Tk="ToastTitle",Ev=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx($e.div,{...r,ref:t})});Ev.displayName=Tk;var jk="ToastDescription",Tv=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx($e.div,{...r,ref:t})});Tv.displayName=jk;var jv="ToastAction",Av=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(Fv,{altText:n,asChild:!0,children:l.jsx(Sf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${jv}\`. Expected non-empty \`string\`.`),null)});Av.displayName=jv;var Nv="ToastClose",Sf=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=kk(Nv,n);return l.jsx(Fv,{asChild:!0,children:l.jsx($e.button,{type:"button",...r,ref:t,onClick:xe(e.onClick,s.onClose)})})});Sf.displayName=Nv;var Fv=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return l.jsx($e.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Ov(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Nk(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!s)if(a){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Ov(r))}}),t}function Di(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?gv(s,a):s.dispatchEvent(a)}var Vp=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),a=r>s;return t==="left"||t==="right"?a&&r>n:!a&&s>n};function Ak(e=()=>{}){const t=Gn(e);un(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Nk(e){return e.nodeType===e.ELEMENT_NODE}function Fk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function pc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Ok=bv,Rv=Cv,Dv=Sv,Mv=Ev,Lv=Tv,Iv=Av,zv=Sf;function Vv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Vv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _v(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Vv(e))&&(r&&(r+=" "),r+=t);return r}const _p=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Bp=_v,Ef=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Bp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=a==null?void 0:a[u];if(d===null)return null;const h=_p(d)||_p(f);return s[u][h]}),o=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),c=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(y=>{let[w,b]=y;return Array.isArray(b)?b.includes({...a,...o}[w]):{...a,...o}[w]===b})?[...u,f,h]:u},[]);return Bp(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Dk=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Hp=e=>{const t=Dk(e);return t.charAt(0).toUpperCase()+t.slice(1)},Bv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),Mk=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var Lk={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"};/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ik=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:a,iconNode:i,...o},c)=>v.createElement("svg",{ref:c,...Lk,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Bv("lucide",s),...!a&&!Mk(o)&&{"aria-hidden":"true"},...o},[...i.map(([u,d])=>v.createElement(u,d)),...Array.isArray(a)?a:[a]]));/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Tl=(e,t)=>{const n=v.forwardRef(({className:r,...s},a)=>v.createElement(Ik,{ref:a,iconNode:t,className:Bv(`lucide-${Rk(Hp(e))}`,`lucide-${e}`,r),...s}));return n.displayName=Hp(e),n};/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const zk=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Vk=Tl("house",zk);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _k=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Up=Tl("refresh-cw",_k);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Bk=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],$p=Tl("triangle-alert",Bk);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Hk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Uk=Tl("x",Hk),Tf="-",$k=e=>{const t=qk(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const o=i.split(Tf);return o[0]===""&&o.length!==1&&o.shift(),Hv(o,t)||Wk(i)},getConflictingClassGroupIds:(i,o)=>{const c=n[i]||[];return o&&r[i]?[...c,...r[i]]:c}}},Hv=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Hv(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(Tf);return(i=t.validators.find(({validator:o})=>o(a)))==null?void 0:i.classGroupId},Wp=/^\[(.+)\]$/,Wk=e=>{if(Wp.test(e)){const t=Wp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},qk=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Kk(Object.entries(e.classGroups),n).forEach(([a,i])=>{Iu(i,r,a,t)}),r},Iu=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:qp(t,s);a.classGroupId=n;return}if(typeof s=="function"){if(Yk(s)){Iu(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([a,i])=>{Iu(i,qp(t,a),n,r)})})},qp=(e,t)=>{let n=e;return t.split(Tf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Yk=e=>e.isThemeGetter,Kk=(e,t)=>t?e.map(([n,r])=>{const s=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,o])=>[t+i,o])):a);return[n,s]}):e,Gk=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(a,i)=>{n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return s(a,i),i},set(a,i){n.has(a)?n.set(a,i):s(a,i)}}},Uv="!",Qk=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],a=t.length,i=o=>{const c=[];let u=0,d=0,f;for(let b=0;b<o.length;b++){let g=o[b];if(u===0){if(g===s&&(r||o.slice(b,b+a)===t)){c.push(o.slice(d,b)),d=b+a;continue}if(g==="/"){f=b;continue}}g==="["?u++:g==="]"&&u--}const h=c.length===0?o:o.substring(d),p=h.startsWith(Uv),y=p?h.substring(1):h,w=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:w}};return n?o=>n({className:o,parseClassName:i}):i},Xk=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},Zk=e=>({cache:Gk(e.cacheSize),parseClassName:Qk(e),...$k(e)}),Jk=/\s+/,eS=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(Jk);let o="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let y=!!p,w=r(y?h.substring(0,p):h);if(!w){if(!y){o=u+(o.length>0?" "+o:o);continue}if(w=r(h),!w){o=u+(o.length>0?" "+o:o);continue}y=!1}const b=Xk(d).join(":"),g=f?b+Uv:b,m=g+w;if(a.includes(m))continue;a.push(m);const x=s(w,y);for(let P=0;P<x.length;++P){const C=x[P];a.push(g+C)}o=u+(o.length>0?" "+o:o)}return o};function tS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=$v(t))&&(r&&(r+=" "),r+=n);return r}const $v=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=$v(e[r]))&&(n&&(n+=" "),n+=t);return n};function nS(e,...t){let n,r,s,a=i;function i(c){const u=t.reduce((d,f)=>f(d),e());return n=Zk(u),r=n.cache.get,s=n.cache.set,a=o,o(c)}function o(c){const u=r(c);if(u)return u;const d=eS(c,n);return s(c,d),d}return function(){return a(tS.apply(null,arguments))}}const te=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Wv=/^\[(?:([a-z-]+):)?(.+)\]$/i,rS=/^\d+\/\d+$/,sS=new Set(["px","full","screen"]),aS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,iS=/\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$/,oS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,lS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zt=e=>ls(e)||sS.has(e)||rS.test(e),wn=e=>Ms(e,"length",yS),ls=e=>!!e&&!Number.isNaN(Number(e)),mc=e=>Ms(e,"number",ls),Zs=e=>!!e&&Number.isInteger(Number(e)),uS=e=>e.endsWith("%")&&ls(e.slice(0,-1)),$=e=>Wv.test(e),bn=e=>aS.test(e),dS=new Set(["length","size","percentage"]),fS=e=>Ms(e,dS,qv),hS=e=>Ms(e,"position",qv),pS=new Set(["image","url"]),mS=e=>Ms(e,pS,vS),gS=e=>Ms(e,"",xS),Js=()=>!0,Ms=(e,t,n)=>{const r=Wv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},yS=e=>iS.test(e)&&!oS.test(e),qv=()=>!1,xS=e=>lS.test(e),vS=e=>cS.test(e),wS=()=>{const e=te("colors"),t=te("spacing"),n=te("blur"),r=te("brightness"),s=te("borderColor"),a=te("borderRadius"),i=te("borderSpacing"),o=te("borderWidth"),c=te("contrast"),u=te("grayscale"),d=te("hueRotate"),f=te("invert"),h=te("gap"),p=te("gradientColorStops"),y=te("gradientColorStopPositions"),w=te("inset"),b=te("margin"),g=te("opacity"),m=te("padding"),x=te("saturate"),P=te("scale"),C=te("sepia"),k=te("skew"),E=te("space"),S=te("translate"),N=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",$,t],D=()=>[$,t],H=()=>["",Zt,wn],R=()=>["auto",ls,$],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],Y=()=>["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"],O=()=>["","0",$],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[ls,$];return{cacheSize:500,separator:":",theme:{colors:[Js],spacing:[Zt,wn],blur:["none","",bn,$],brightness:B(),borderColor:[e],borderRadius:["none","","full",bn,$],borderSpacing:D(),borderWidth:H(),contrast:B(),grayscale:O(),hueRotate:B(),invert:O(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[uS,wn],inset:L(),margin:L(),opacity:B(),padding:D(),saturate:B(),scale:B(),sepia:O(),skew:B(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[bn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:[...U(),$]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zs,$]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",Zs,$]}],"grid-cols":[{"grid-cols":[Js]}],"col-start-end":[{col:["auto",{span:["full",Zs,$]},$]}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":[Js]}],"row-start-end":[{row:["auto",{span:[Zs,$]},$]}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],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":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$,t]}],"min-w":[{"min-w":[$,t,"min","max","fit"]}],"max-w":[{"max-w":[$,t,"none","full","min","max","fit","prose",{screen:[bn]},bn]}],h:[{h:[$,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$,t,"auto","min","max","fit"]}],"font-size":[{text:["base",bn,wn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",mc]}],"font-family":[{font:[Js]}],"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",$]}],"line-clamp":[{"line-clamp":["none",ls,mc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Zt,$]}],"list-image":[{"list-image":["none",$]}],"list-style-type":[{list:["none","disc","decimal",$]}],"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:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Zt,wn]}],"underline-offset":[{"underline-offset":["auto",Zt,$]}],"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:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],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",$]}],"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:[...U(),hS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",fS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},mS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[Zt,$]}],"outline-w":[{outline:[Zt,wn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Zt,wn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",bn,gS]}],"shadow-color":[{shadow:[Js]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",bn,$]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"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":[x]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"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",$]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",$]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[Zs,$]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$]}],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",$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Zt,wn,mc]}],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"]}}},bS=nS(wS);function Ce(...e){return bS(_v(e))}const PS=Ok,Yv=v.forwardRef(({className:e,...t},n)=>l.jsx(Rv,{ref:n,className:Ce("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}));Yv.displayName=Rv.displayName;const CS=Ef("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 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"}}),Kv=v.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(Dv,{ref:r,className:Ce(CS({variant:t}),e),...n}));Kv.displayName=Dv.displayName;const kS=v.forwardRef(({className:e,...t},n)=>l.jsx(Iv,{ref:n,className:Ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));kS.displayName=Iv.displayName;const Gv=v.forwardRef(({className:e,...t},n)=>l.jsx(zv,{ref:n,className:Ce("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(Uk,{className:"h-4 w-4"})}));Gv.displayName=zv.displayName;const Qv=v.forwardRef(({className:e,...t},n)=>l.jsx(Mv,{ref:n,className:Ce("text-sm font-semibold [&+div]:text-xs",e),...t}));Qv.displayName=Mv.displayName;const Xv=v.forwardRef(({className:e,...t},n)=>l.jsx(Lv,{ref:n,className:Ce("text-sm opacity-90",e),...t}));Xv.displayName=Lv.displayName;function SS(){const{toasts:e}=pv();return l.jsxs(PS,{children:[e.map(function({id:t,title:n,description:r,action:s,...a}){return l.jsxs(Kv,{...a,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(Qv,{children:n}),r&&l.jsx(Xv,{children:r})]}),s,l.jsx(Gv,{})]},t)}),l.jsx(Yv,{})]})}const ES=["top","right","bottom","left"],Qn=Math.min,Ze=Math.max,$o=Math.round,Mi=Math.floor,qt=e=>({x:e,y:e}),TS={left:"right",right:"left",bottom:"top",top:"bottom"};function zu(e,t,n){return Ze(e,Qn(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function Ls(e){return e.split("-")[1]}function jf(e){return e==="x"?"y":"x"}function Af(e){return e==="y"?"height":"width"}function Ut(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Nf(e){return jf(Ut(e))}function jS(e,t,n){n===void 0&&(n=!1);const r=Ls(e),s=Nf(e),a=Af(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Wo(i)),[i,Wo(i)]}function AS(e){const t=Wo(e);return[Vu(e),t,Vu(t)]}function Vu(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Yp=["left","right"],Kp=["right","left"],NS=["top","bottom"],FS=["bottom","top"];function OS(e,t,n){switch(e){case"top":case"bottom":return n?t?Kp:Yp:t?Yp:Kp;case"left":case"right":return t?NS:FS;default:return[]}}function RS(e,t,n,r){const s=Ls(e);let a=OS(gn(e),n==="start",r);return s&&(a=a.map(i=>i+"-"+s),t&&(a=a.concat(a.map(Vu)))),a}function Wo(e){const t=gn(e);return TS[t]+e.slice(t.length)}function DS(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zv(e){return typeof e!="number"?DS(e):{top:e,right:e,bottom:e,left:e}}function qo(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Gp(e,t,n){let{reference:r,floating:s}=e;const a=Ut(t),i=Nf(t),o=Af(i),c=gn(t),u=a==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[o]/2-s[o]/2;let p;switch(c){case"top":p={x:d,y:r.y-s.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-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Ls(t)){case"start":p[i]-=h*(n&&u?-1:1);break;case"end":p[i]+=h*(n&&u?-1:1);break}return p}async function MS(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:a,rects:i,elements:o,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=mn(t,e),y=Zv(p),b=o[h?f==="floating"?"reference":"floating":f],g=qo(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)),boundary:u,rootBoundary:d,strategy:c})),m=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)),P=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},C=qo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:m,offsetParent:x,strategy:c}):m);return{top:(g.top-C.top+y.top)/P.y,bottom:(C.bottom-g.bottom+y.bottom)/P.y,left:(g.left-C.left+y.left)/P.x,right:(C.right-g.right+y.right)/P.x}}const LS=50,IS=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:i}=n,o=i.detectOverflow?i:{...i,detectOverflow:MS},c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Gp(u,r,c),h=r,p=0;const y={};for(let w=0;w<a.length;w++){const b=a[w];if(!b)continue;const{name:g,fn:m}=b,{x,y:P,data:C,reset:k}=await m({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:y,rects:u,platform:o,elements:{reference:e,floating:t}});d=x??d,f=P??f,y[g]={...y[g],...C},k&&p<LS&&(p++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(u=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):k.rects),{x:d,y:f}=Gp(u,h,c)),w=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:y}},zS=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:a,platform:i,elements:o,middlewareData:c}=t,{element:u,padding:d=0}=mn(e,t)||{};if(u==null)return{};const f=Zv(d),h={x:n,y:r},p=Nf(s),y=Af(p),w=await i.getDimensions(u),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",x=b?"clientHeight":"clientWidth",P=a.reference[y]+a.reference[p]-h[p]-a.floating[y],C=h[p]-a.reference[p],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let E=k?k[x]:0;(!E||!await(i.isElement==null?void 0:i.isElement(k)))&&(E=o.floating[x]||a.floating[y]);const S=P/2-C/2,N=E/2-w[y]/2-1,A=Qn(f[g],N),L=Qn(f[m],N),D=A,H=E-w[y]-L,R=E/2-w[y]/2+S,U=zu(D,R,H),V=!c.arrow&&Ls(s)!=null&&R!==U&&a.reference[y]/2-(R<D?A:L)-w[y]/2<0,Y=V?R<D?R-D:R-H:0;return{[p]:h[p]+Y,data:{[p]:U,centerOffset:R-U-Y,...V&&{alignmentOffset:Y}},reset:V}}}),VS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:a,rects:i,initialPlacement:o,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...b}=mn(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const g=gn(s),m=Ut(o),x=gn(o)===o,P=await(c.isRTL==null?void 0:c.isRTL(u.floating)),C=h||(x||!w?[Wo(o)]:AS(o)),k=y!=="none";!h&&k&&C.push(...RS(o,w,y,P));const E=[o,...C],S=await c.detectOverflow(t,b),N=[];let A=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&N.push(S[g]),f){const R=jS(s,i,P);N.push(S[R[0]],S[R[1]])}if(A=[...A,{placement:s,overflows:N}],!N.every(R=>R<=0)){var L,D;const R=(((L=a.flip)==null?void 0:L.index)||0)+1,U=E[R];if(U&&(!(f==="alignment"?m!==Ut(U):!1)||A.every(T=>Ut(T.placement)===m?T.overflows[0]>0:!0)))return{data:{index:R,overflows:A},reset:{placement:U}};let V=(D=A.filter(Y=>Y.overflows[0]<=0).sort((Y,T)=>Y.overflows[1]-T.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(p){case"bestFit":{var H;const Y=(H=A.filter(T=>{if(k){const O=Ut(T.placement);return O===m||O==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(O=>O>0).reduce((O,z)=>O+z,0)]).sort((T,O)=>T[1]-O[1])[0])==null?void 0:H[0];Y&&(V=Y);break}case"initialPlacement":V=o;break}if(s!==V)return{reset:{placement:V}}}return{}}}};function Qp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xp(e){return ES.some(t=>e[t]>=0)}const _S=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...a}=mn(e,t);switch(s){case"referenceHidden":{const i=await r.detectOverflow(t,{...a,elementContext:"reference"}),o=Qp(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Xp(o)}}}case"escaped":{const i=await r.detectOverflow(t,{...a,altBoundary:!0}),o=Qp(i,n.floating);return{data:{escapedOffsets:o,escaped:Xp(o)}}}default:return{}}}}},Jv=new Set(["left","top"]);async function BS(e,t){const{placement:n,platform:r,elements:s}=e,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=gn(n),o=Ls(n),c=Ut(n)==="y",u=Jv.has(i)?-1:1,d=a&&c?-1:1,f=mn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return o&&typeof y=="number"&&(p=o==="end"?y*-1:y),c?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const HS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:a,placement:i,middlewareData:o}=t,c=await BS(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:a+c.y,data:{...c,placement:i}}}}},US=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:c={fn:g=>{let{x:m,y:x}=g;return{x:m,y:x}}},...u}=mn(e,t),d={x:n,y:r},f=await a.detectOverflow(t,u),h=Ut(gn(s)),p=jf(h);let y=d[p],w=d[h];if(i){const g=p==="y"?"top":"left",m=p==="y"?"bottom":"right",x=y+f[g],P=y-f[m];y=zu(x,y,P)}if(o){const g=h==="y"?"top":"left",m=h==="y"?"bottom":"right",x=w+f[g],P=w-f[m];w=zu(x,w,P)}const b=c.fn({...t,[p]:y,[h]:w});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[p]:i,[h]:o}}}}}},$S=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:a,middlewareData:i}=t,{offset:o=0,mainAxis:c=!0,crossAxis:u=!0}=mn(e,t),d={x:n,y:r},f=Ut(s),h=jf(f);let p=d[h],y=d[f];const w=mn(o,t),b=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(c){const x=h==="y"?"height":"width",P=a.reference[h]-a.floating[x]+b.mainAxis,C=a.reference[h]+a.reference[x]-b.mainAxis;p<P?p=P:p>C&&(p=C)}if(u){var g,m;const x=h==="y"?"width":"height",P=Jv.has(gn(s)),C=a.reference[f]-a.floating[x]+(P&&((g=i.offset)==null?void 0:g[f])||0)+(P?0:b.crossAxis),k=a.reference[f]+a.reference[x]+(P?0:((m=i.offset)==null?void 0:m[f])||0)-(P?b.crossAxis:0);y<C?y=C:y>k&&(y=k)}return{[h]:p,[f]:y}}}},WS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:a,platform:i,elements:o}=t,{apply:c=()=>{},...u}=mn(e,t),d=await i.detectOverflow(t,u),f=gn(s),h=Ls(s),p=Ut(s)==="y",{width:y,height:w}=a.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=h===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(g=f,b=h==="end"?"top":"bottom");const m=w-d.top-d.bottom,x=y-d.left-d.right,P=Qn(w-d[b],m),C=Qn(y-d[g],x),k=!t.middlewareData.shift;let E=P,S=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=m),k&&!h){const A=Ze(d.left,0),L=Ze(d.right,0),D=Ze(d.top,0),H=Ze(d.bottom,0);p?S=y-2*(A!==0||L!==0?A+L:Ze(d.left,d.right)):E=w-2*(D!==0||H!==0?D+H:Ze(d.top,d.bottom))}await c({...t,availableWidth:S,availableHeight:E});const N=await i.getDimensions(o.floating);return y!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}};function jl(){return typeof window<"u"}function Is(e){return e0(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gt(e){var t;return(t=(e0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function e0(e){return jl()?e instanceof Node||e instanceof tt(e).Node:!1}function Ot(e){return jl()?e instanceof Element||e instanceof tt(e).Element:!1}function xn(e){return jl()?e instanceof HTMLElement||e instanceof tt(e).HTMLElement:!1}function Zp(e){return!jl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}function ii(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Rt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function qS(e){return/^(table|td|th)$/.test(Is(e))}function Al(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const YS=/transform|translate|scale|rotate|perspective|filter/,KS=/paint|layout|strict|content/,ar=e=>!!e&&e!=="none";let gc;function Ff(e){const t=Ot(e)?Rt(e):e;return ar(t.transform)||ar(t.translate)||ar(t.scale)||ar(t.rotate)||ar(t.perspective)||!Of()&&(ar(t.backdropFilter)||ar(t.filter))||YS.test(t.willChange||"")||KS.test(t.contain||"")}function GS(e){let t=Xn(e);for(;xn(t)&&!js(t);){if(Ff(t))return t;if(Al(t))return null;t=Xn(t)}return null}function Of(){return gc==null&&(gc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),gc}function js(e){return/^(html|body|#document)$/.test(Is(e))}function Rt(e){return tt(e).getComputedStyle(e)}function Nl(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Xn(e){if(Is(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zp(e)&&e.host||Gt(e);return Zp(t)?t.host:t}function t0(e){const t=Xn(e);return js(t)?e.ownerDocument?e.ownerDocument.body:e.body:xn(t)&&ii(t)?t:t0(t)}function Ba(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=t0(e),a=s===((r=e.ownerDocument)==null?void 0:r.body),i=tt(s);if(a){const o=_u(i);return t.concat(i,i.visualViewport||[],ii(s)?s:[],o&&n?Ba(o):[])}else return t.concat(s,Ba(s,[],n))}function _u(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function n0(e){const t=Rt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=xn(e),a=s?e.offsetWidth:n,i=s?e.offsetHeight:r,o=$o(n)!==a||$o(r)!==i;return o&&(n=a,r=i),{width:n,height:r,$:o}}function Rf(e){return Ot(e)?e:e.contextElement}function cs(e){const t=Rf(e);if(!xn(t))return qt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:a}=n0(t);let i=(a?$o(n.width):n.width)/r,o=(a?$o(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const QS=qt(0);function r0(e){const t=tt(e);return!Of()||!t.visualViewport?QS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function XS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==tt(e)?!1:t}function Fr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=Rf(e);let i=qt(1);t&&(r?Ot(r)&&(i=cs(r)):i=cs(e));const o=XS(a,n,r)?r0(a):qt(0);let c=(s.left+o.x)/i.x,u=(s.top+o.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(a){const h=tt(a),p=r&&Ot(r)?tt(r):r;let y=h,w=_u(y);for(;w&&r&&p!==y;){const b=cs(w),g=w.getBoundingClientRect(),m=Rt(w),x=g.left+(w.clientLeft+parseFloat(m.paddingLeft))*b.x,P=g.top+(w.clientTop+parseFloat(m.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,f*=b.y,c+=x,u+=P,y=tt(w),w=_u(y)}}return qo({width:d,height:f,x:c,y:u})}function Fl(e,t){const n=Nl(e).scrollLeft;return t?t.left+n:Fr(Gt(e)).left+n}function s0(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Fl(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function ZS(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const a=s==="fixed",i=Gt(r),o=t?Al(t.floating):!1;if(r===i||o&&a)return n;let c={scrollLeft:0,scrollTop:0},u=qt(1);const d=qt(0),f=xn(r);if((f||!f&&!a)&&((Is(r)!=="body"||ii(i))&&(c=Nl(r)),f)){const p=Fr(r);u=cs(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=i&&!f&&!a?s0(i,c):qt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function JS(e){return Array.from(e.getClientRects())}function eE(e){const t=Gt(e),n=Nl(e),r=e.ownerDocument.body,s=Ze(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ze(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Fl(e);const o=-n.scrollTop;return Rt(r).direction==="rtl"&&(i+=Ze(t.clientWidth,r.clientWidth)-s),{width:s,height:a,x:i,y:o}}const Jp=25;function tE(e,t){const n=tt(e),r=Gt(e),s=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,o=0,c=0;if(s){a=s.width,i=s.height;const d=Of();(!d||d&&t==="fixed")&&(o=s.offsetLeft,c=s.offsetTop)}const u=Fl(r);if(u<=0){const d=r.ownerDocument,f=d.body,h=getComputedStyle(f),p=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(r.clientWidth-f.clientWidth-p);y<=Jp&&(a-=y)}else u<=Jp&&(a+=u);return{width:a,height:i,x:o,y:c}}function nE(e,t){const n=Fr(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,a=xn(e)?cs(e):qt(1),i=e.clientWidth*a.x,o=e.clientHeight*a.y,c=s*a.x,u=r*a.y;return{width:i,height:o,x:c,y:u}}function em(e,t,n){let r;if(t==="viewport")r=tE(e,n);else if(t==="document")r=eE(Gt(e));else if(Ot(t))r=nE(t,n);else{const s=r0(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return qo(r)}function a0(e,t){const n=Xn(e);return n===t||!Ot(n)||js(n)?!1:Rt(n).position==="fixed"||a0(n,t)}function rE(e,t){const n=t.get(e);if(n)return n;let r=Ba(e,[],!1).filter(o=>Ot(o)&&Is(o)!=="body"),s=null;const a=Rt(e).position==="fixed";let i=a?Xn(e):e;for(;Ot(i)&&!js(i);){const o=Rt(i),c=Ff(i);!c&&o.position==="fixed"&&(s=null),(a?!c&&!s:!c&&o.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||ii(i)&&!c&&a0(e,i))?r=r.filter(d=>d!==i):s=o,i=Xn(i)}return t.set(e,r),r}function sE(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?Al(t)?[]:rE(t,this._c):[].concat(n),r],o=em(t,i[0],s);let c=o.top,u=o.right,d=o.bottom,f=o.left;for(let h=1;h<i.length;h++){const p=em(t,i[h],s);c=Ze(p.top,c),u=Qn(p.right,u),d=Qn(p.bottom,d),f=Ze(p.left,f)}return{width:u-f,height:d-c,x:f,y:c}}function aE(e){const{width:t,height:n}=n0(e);return{width:t,height:n}}function iE(e,t,n){const r=xn(t),s=Gt(t),a=n==="fixed",i=Fr(e,!0,a,t);let o={scrollLeft:0,scrollTop:0};const c=qt(0);function u(){c.x=Fl(s)}if(r||!r&&!a)if((Is(t)!=="body"||ii(s))&&(o=Nl(t)),r){const p=Fr(t,!0,a,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&u();a&&!r&&s&&u();const d=s&&!r&&!a?s0(s,o):qt(0),f=i.left+o.scrollLeft-c.x-d.x,h=i.top+o.scrollTop-c.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function yc(e){return Rt(e).position==="static"}function tm(e,t){if(!xn(e)||Rt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Gt(e)===n&&(n=n.ownerDocument.body),n}function i0(e,t){const n=tt(e);if(Al(e))return n;if(!xn(e)){let s=Xn(e);for(;s&&!js(s);){if(Ot(s)&&!yc(s))return s;s=Xn(s)}return n}let r=tm(e,t);for(;r&&qS(r)&&yc(r);)r=tm(r,t);return r&&js(r)&&yc(r)&&!Ff(r)?n:r||GS(e)||n}const oE=async function(e){const t=this.getOffsetParent||i0,n=this.getDimensions,r=await n(e.floating);return{reference:iE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function lE(e){return Rt(e).direction==="rtl"}const cE={convertOffsetParentRelativeRectToViewportRelativeRect:ZS,getDocumentElement:Gt,getClippingRect:sE,getOffsetParent:i0,getElementRects:oE,getClientRects:JS,getDimensions:aE,getScale:cs,isElement:Ot,isRTL:lE};function o0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function uE(e,t){let n=null,r;const s=Gt(e);function a(){var o;clearTimeout(r),(o=n)==null||o.disconnect(),n=null}function i(o,c){o===void 0&&(o=!1),c===void 0&&(c=1),a();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=u;if(o||t(),!h||!p)return;const y=Mi(f),w=Mi(s.clientWidth-(d+h)),b=Mi(s.clientHeight-(f+p)),g=Mi(d),x={rootMargin:-y+"px "+-w+"px "+-b+"px "+-g+"px",threshold:Ze(0,Qn(1,c))||1};let P=!0;function C(k){const E=k[0].intersectionRatio;if(E!==c){if(!P)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!o0(u,e.getBoundingClientRect())&&i(),P=!1}try{n=new IntersectionObserver(C,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return i(!0),a}function dE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Rf(e),d=s||a?[...u?Ba(u):[],...t?Ba(t):[]]:[];d.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),a&&g.addEventListener("resize",n)});const f=u&&o?uE(u,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),u&&!c&&p.observe(u),t&&p.observe(t));let y,w=c?Fr(e):null;c&&b();function b(){const g=Fr(e);w&&!o0(w,g)&&n(),w=g,y=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(m=>{s&&m.removeEventListener("scroll",n),a&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,c&&cancelAnimationFrame(y)}}const fE=HS,hE=US,pE=VS,mE=WS,gE=_S,nm=zS,yE=$S,xE=(e,t,n)=>{const r=new Map,s={platform:cE,...n},a={...s.platform,_c:r};return IS(e,t,{...s,platform:a})};var vE=typeof document<"u",wE=function(){},lo=vE?v.useLayoutEffect:wE;function Yo(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,s;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(!Yo(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const a=s[r];if(!(a==="_owner"&&e.$$typeof)&&!Yo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function l0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rm(e,t){const n=l0(e);return Math.round(t*n)/n}function xc(e){const t=v.useRef(e);return lo(()=>{t.current=e}),t}function bE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:a,floating:i}={},transform:o=!0,whileElementsMounted:c,open:u}=e,[d,f]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=v.useState(r);Yo(h,r)||p(r);const[y,w]=v.useState(null),[b,g]=v.useState(null),m=v.useCallback(T=>{T!==k.current&&(k.current=T,w(T))},[]),x=v.useCallback(T=>{T!==E.current&&(E.current=T,g(T))},[]),P=a||y,C=i||b,k=v.useRef(null),E=v.useRef(null),S=v.useRef(d),N=c!=null,A=xc(c),L=xc(s),D=xc(u),H=v.useCallback(()=>{if(!k.current||!E.current)return;const T={placement:t,strategy:n,middleware:h};L.current&&(T.platform=L.current),xE(k.current,E.current,T).then(O=>{const z={...O,isPositioned:D.current!==!1};R.current&&!Yo(S.current,z)&&(S.current=z,si.flushSync(()=>{f(z)}))})},[h,t,n,L,D]);lo(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const R=v.useRef(!1);lo(()=>(R.current=!0,()=>{R.current=!1}),[]),lo(()=>{if(P&&(k.current=P),C&&(E.current=C),P&&C){if(A.current)return A.current(P,C,H);H()}},[P,C,H,A,N]);const U=v.useMemo(()=>({reference:k,floating:E,setReference:m,setFloating:x}),[m,x]),V=v.useMemo(()=>({reference:P,floating:C}),[P,C]),Y=v.useMemo(()=>{const T={position:n,left:0,top:0};if(!V.floating)return T;const O=rm(V.floating,d.x),z=rm(V.floating,d.y);return o?{...T,transform:"translate("+O+"px, "+z+"px)",...l0(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:O,top:z}},[n,o,V.floating,d.x,d.y]);return v.useMemo(()=>({...d,update:H,refs:U,elements:V,floatingStyles:Y}),[d,H,U,V,Y])}const PE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?nm({element:r.current,padding:s}).fn(n):{}:r?nm({element:r,padding:s}).fn(n):{}}}},CE=(e,t)=>{const n=fE(e);return{name:n.name,fn:n.fn,options:[e,t]}},kE=(e,t)=>{const n=hE(e);return{name:n.name,fn:n.fn,options:[e,t]}},SE=(e,t)=>({fn:yE(e).fn,options:[e,t]}),EE=(e,t)=>{const n=pE(e);return{name:n.name,fn:n.fn,options:[e,t]}},TE=(e,t)=>{const n=mE(e);return{name:n.name,fn:n.fn,options:[e,t]}},jE=(e,t)=>{const n=gE(e);return{name:n.name,fn:n.fn,options:[e,t]}},AE=(e,t)=>{const n=PE(e);return{name:n.name,fn:n.fn,options:[e,t]}};var NE="Arrow",c0=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...a}=e;return l.jsx($e.svg,{...a,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});c0.displayName=NE;var FE=c0;function OE(e){const[t,n]=v.useState(void 0);return un(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let i,o;if("borderBoxSize"in a){const c=a.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,o=u.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var u0="Popper",[d0,f0]=Cl(u0),[rR,h0]=d0(u0),p0="PopperAnchor",m0=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,a=h0(p0,n),i=v.useRef(null),o=a.onAnchorChange,c=v.useCallback(y=>{i.current=y,y&&o(y)},[o]),u=Ft(t,c),d=v.useRef(null);v.useEffect(()=>{if(!r)return;const y=d.current;d.current=r.current,y!==d.current&&o(d.current)});const f=a.placementState&&Mf(a.placementState),h=f==null?void 0:f[0],p=f==null?void 0:f[1];return r?null:l.jsx($e.div,{"data-radix-popper-side":h,"data-radix-popper-align":p,...s,ref:u})});m0.displayName=p0;var Df="PopperContent",[RE,DE]=d0(Df),g0=v.forwardRef((e,t)=>{var gh,yh,xh,vh,wh,bh;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:y,...w}=e,b=h0(Df,n),[g,m]=v.useState(null),x=Ft(t,Us=>m(Us)),[P,C]=v.useState(null),k=OE(P),E=(k==null?void 0:k.width)??0,S=(k==null?void 0:k.height)??0,N=r+(a!=="center"?"-"+a:""),A=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(u)?u:[u],D=L.length>0,H={padding:A,boundary:L.filter(LE),altBoundary:D},{refs:R,floatingStyles:U,placement:V,isPositioned:Y,middlewareData:T}=bE({strategy:"fixed",placement:N,whileElementsMounted:(...Us)=>dE(...Us,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[CE({mainAxis:s+S,alignmentAxis:i}),c&&kE({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?SE():void 0,...H}),c&&EE({...H}),TE({...H,apply:({elements:Us,rects:Ph,availableWidth:Xb,availableHeight:Zb})=>{const{width:Jb,height:eP}=Ph.reference,hi=Us.floating.style;hi.setProperty("--radix-popper-available-width",`${Xb}px`),hi.setProperty("--radix-popper-available-height",`${Zb}px`),hi.setProperty("--radix-popper-anchor-width",`${Jb}px`),hi.setProperty("--radix-popper-anchor-height",`${eP}px`)}}),P&&AE({element:P,padding:o}),IE({arrowWidth:E,arrowHeight:S}),h&&jE({strategy:"referenceHidden",...H,boundary:D?H.boundary:void 0})]}),O=b.setPlacementState;un(()=>(O(V),()=>{O(void 0)}),[V,O]);const[z,B]=Mf(V),Q=Gn(y);un(()=>{Y&&(Q==null||Q())},[Y,Q]);const yt=(gh=T.arrow)==null?void 0:gh.x,it=(yh=T.arrow)==null?void 0:yh.y,Hs=((xh=T.arrow)==null?void 0:xh.centerOffset)!==0,[Qt,Lr]=v.useState();return un(()=>{g&&Lr(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:Y?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Qt,"--radix-popper-transform-origin":[(vh=T.transformOrigin)==null?void 0:vh.x,(wh=T.transformOrigin)==null?void 0:wh.y].join(" "),...((bh=T.hide)==null?void 0:bh.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(RE,{scope:n,placedSide:z,placedAlign:B,onArrowChange:C,arrowX:yt,arrowY:it,shouldHideArrow:Hs,children:l.jsx($e.div,{"data-side":z,"data-align":B,...w,ref:x,style:{...w.style,animation:Y?void 0:"none"}})})})});g0.displayName=Df;var y0="PopperArrow",ME={top:"bottom",right:"left",bottom:"top",left:"right"},x0=v.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,a=DE(y0,r),i=ME[a.placedSide];return l.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:l.jsx(FE,{...s,ref:n,style:{...s.style,display:"block"}})})});x0.displayName=y0;function LE(e){return e!==null}var IE=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:s}=t,i=((b=s.arrow)==null?void 0:b.centerOffset)!==0,o=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,d]=Mf(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=s.arrow)==null?void 0:g.x)??0)+o/2,p=(((m=s.arrow)==null?void 0:m.y)??0)+c/2;let y="",w="";return u==="bottom"?(y=i?f:`${h}px`,w=`${-c}px`):u==="top"?(y=i?f:`${h}px`,w=`${r.floating.height+c}px`):u==="right"?(y=`${-c}px`,w=i?f:`${p}px`):u==="left"&&(y=`${r.floating.width+c}px`,w=i?f:`${p}px`),{data:{x:y,y:w}}}});function Mf(e){const[t,n="center"]=e.split("-");return[t,n]}var zE=m0,VE=g0,_E=x0,[Ol]=Cl("Tooltip",[f0]),Lf=f0(),v0="TooltipProvider",BE=700,sm="tooltip.open",[HE,w0]=Ol(v0),b0=e=>{const{__scopeTooltip:t,delayDuration:n=BE,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:a}=e,i=v.useRef(!0),o=v.useRef(!1),c=v.useRef(0);return v.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(HE,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:v.useCallback(()=>{r<=0||(window.clearTimeout(c.current),i.current=!1)},[r]),onClose:v.useCallback(()=>{r<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r))},[r]),isPointerInTransitRef:o,onPointerInTransitChange:v.useCallback(u=>{o.current=u},[]),disableHoverableContent:s,children:a})};b0.displayName=v0;var P0="Tooltip",[sR,oi]=Ol(P0),Bu="TooltipTrigger",UE=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=oi(Bu,n),a=w0(Bu,n),i=Lf(n),o=v.useRef(null),c=Ft(t,o,s.onTriggerChange),u=v.useRef(!1),d=v.useRef(!1),f=v.useCallback(()=>u.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(zE,{asChild:!0,...i,children:l.jsx($e.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:xe(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:xe(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:xe(e.onBlur,s.onClose),onClick:xe(e.onClick,s.onClose)})})});UE.displayName=Bu;var If="TooltipPortal",[$E,WE]=Ol(If,{forceMount:void 0}),C0=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:s}=e,a=oi(If,t);return l.jsx($E,{scope:t,forceMount:n,children:l.jsx(kl,{present:n||a.open,children:l.jsx(Pf,{asChild:!0,container:s,children:r})})})};C0.displayName=If;var As="TooltipContent",k0=v.forwardRef((e,t)=>{const n=WE(As,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...a}=e,i=oi(As,e.__scopeTooltip);return l.jsx(kl,{present:r||i.open,children:i.disableHoverableContent?l.jsx(S0,{side:s,...a,ref:t}):l.jsx(qE,{side:s,...a,ref:t})})}),qE=v.forwardRef((e,t)=>{const n=oi(As,e.__scopeTooltip),r=w0(As,e.__scopeTooltip),s=v.useRef(null),a=Ft(t,s),[i,o]=v.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,h=v.useCallback(()=>{o(null),f(!1)},[f]),p=v.useCallback((y,w)=>{const b=y.currentTarget,g={x:y.clientX,y:y.clientY},m=XE(g,b.getBoundingClientRect()),x=ZE(g,m),P=JE(w.getBoundingClientRect()),C=tT([...x,...P]);o(C),f(!0)},[f]);return v.useEffect(()=>()=>h(),[h]),v.useEffect(()=>{if(c&&d){const y=b=>p(b,d),w=b=>p(b,c);return c.addEventListener("pointerleave",y),d.addEventListener("pointerleave",w),()=>{c.removeEventListener("pointerleave",y),d.removeEventListener("pointerleave",w)}}},[c,d,p,h]),v.useEffect(()=>{if(i){const y=w=>{const b=w.target,g={x:w.clientX,y:w.clientY},m=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),x=!eT(g,i);m?h():x&&(h(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[c,d,i,u,h]),l.jsx(S0,{...e,ref:a})}),[YE,KE]=Ol(P0,{isInside:!1}),GE=IC("TooltipContent"),S0=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:a,onPointerDownOutside:i,...o}=e,c=oi(As,n),u=Lf(n),{onClose:d}=c;return v.useEffect(()=>(document.addEventListener(sm,d),()=>document.removeEventListener(sm,d)),[d]),v.useEffect(()=>{if(c.trigger){const f=h=>{h.target instanceof Node&&h.target.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(bf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(VE,{"data-state":c.stateAttribute,...u,...o,ref:t,style:{...o.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:[l.jsx(GE,{children:r}),l.jsx(YE,{scope:n,isInside:!0,children:l.jsx(pk,{id:c.contentId,role:"tooltip",children:s||r})})]})})});k0.displayName=As;var E0="TooltipArrow",QE=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Lf(n);return KE(E0,n).isInside?null:l.jsx(_E,{...s,...r,ref:t})});QE.displayName=E0;function XE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,s,a)){case a:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ZE(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 JE(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function eT(e,t){const{x:n,y:r}=e;let s=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const o=t[a],c=t[i],u=o.x,d=o.y,f=c.x,h=c.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(s=!s)}return s}function tT(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),nT(t)}function nT(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(s.y-i.y)>=(a.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(s.y-i.y)>=(a.y-i.y)*(s.x-i.x))n.pop();else break}n.push(s)}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 rT=b0,sT=C0,T0=k0;const aT=rT,iT=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(sT,{children:l.jsx(T0,{ref:r,sideOffset:t,className:Ce("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground 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 origin-[--radix-tooltip-content-transform-origin]",e),...n})}));iT.displayName=T0.displayName;var Rl=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(){}},mr,jn,fs,qg,oT=(qg=class extends Rl{constructor(){super();q(this,mr);q(this,jn);q(this,fs);_(this,fs,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){j(this,jn)||this.setEventListener(j(this,fs))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,jn))==null||t.call(this),_(this,jn,void 0))}setEventListener(t){var n;_(this,fs,t),(n=j(this,jn))==null||n.call(this),_(this,jn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){j(this,mr)!==t&&(_(this,mr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof j(this,mr)=="boolean"?j(this,mr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},mr=new WeakMap,jn=new WeakMap,fs=new WeakMap,qg),j0=new oT,lT={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},An,kd,Yg,cT=(Yg=class{constructor(){q(this,An,lT);q(this,kd,!1)}setTimeoutProvider(e){_(this,An,e)}setTimeout(e,t){return j(this,An).setTimeout(e,t)}clearTimeout(e){j(this,An).clearTimeout(e)}setInterval(e,t){return j(this,An).setInterval(e,t)}clearInterval(e){j(this,An).clearInterval(e)}},An=new WeakMap,kd=new WeakMap,Yg),Hu=new cT;function uT(e){setTimeout(e,0)}var dT=typeof window>"u"||"Deno"in globalThis;function Pt(){}function fT(e,t){return typeof e=="function"?e(t):e}function hT(e){return typeof e=="number"&&e>=0&&e!==1/0}function pT(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Uu(e,t){return typeof e=="function"?e(t):e}function mT(e,t){return typeof e=="function"?e(t):e}function am(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:i,stale:o}=e;if(i){if(r){if(t.queryHash!==zf(i,t.options))return!1}else if(!Ua(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||s&&s!==t.state.fetchStatus||a&&!a(t))}function im(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Ha(t.options.mutationKey)!==Ha(a))return!1}else if(!Ua(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function zf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ha)(e)}function Ha(e){return JSON.stringify(e,(t,n)=>$u(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Ua(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ua(e[n],t[n])):!1}var gT=Object.prototype.hasOwnProperty;function A0(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=om(e)&&om(t);if(!r&&!($u(e)&&$u(t)))return t;const a=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),o=i.length,c=r?new Array(o):{};let u=0;for(let d=0;d<o;d++){const f=r?d:i[d],h=e[f],p=t[f];if(h===p){c[f]=h,(r?d<a:gT.call(e,f))&&u++;continue}if(h===null||p===null||typeof h!="object"||typeof p!="object"){c[f]=p;continue}const y=A0(h,p,n+1);c[f]=y,y===h&&u++}return a===o&&u===a?e:c}function om(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $u(e){if(!lm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!lm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function lm(e){return Object.prototype.toString.call(e)==="[object Object]"}function yT(e){return new Promise(t=>{Hu.setTimeout(t,e)})}function xT(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?A0(e,t):t}function vT(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function wT(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Vf=Symbol();function N0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Vf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function bT(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=t()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var F0=(()=>{let e=()=>dT;return{isServer(){return e()},setIsServer(t){e=t}}})();function PT(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var CT=uT;function kT(){let e=[],t=0,n=o=>{o()},r=o=>{o()},s=CT;const a=o=>{t?e.push(o):s(()=>{n(o)})},i=()=>{const o=e;e=[],o.length&&s(()=>{r(()=>{o.forEach(c=>{n(c)})})})};return{batch:o=>{let c;t++;try{c=o()}finally{t--,t||i()}return c},batchCalls:o=>(...c)=>{a(()=>{o(...c)})},schedule:a,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{r=o},setScheduler:o=>{s=o}}}var ze=kT(),hs,Nn,ps,Kg,ST=(Kg=class extends Rl{constructor(){super();q(this,hs,!0);q(this,Nn);q(this,ps);_(this,ps,t=>{if(typeof window<"u"&&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(){j(this,Nn)||this.setEventListener(j(this,ps))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Nn))==null||t.call(this),_(this,Nn,void 0))}setEventListener(t){var n;_(this,ps,t),(n=j(this,Nn))==null||n.call(this),_(this,Nn,t(this.setOnline.bind(this)))}setOnline(t){j(this,hs)!==t&&(_(this,hs,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return j(this,hs)}},hs=new WeakMap,Nn=new WeakMap,ps=new WeakMap,Kg),Ko=new ST;function ET(e){return Math.min(1e3*2**e,3e4)}function O0(e){return(e??"online")==="online"?Ko.isOnline():!0}var Wu=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function R0(e){let t=!1,n=0,r;const s=PT(),a=()=>s.status!=="pending",i=w=>{var b;if(!a()){const g=new Wu(w);h(g),(b=e.onCancel)==null||b.call(e,g)}},o=()=>{t=!0},c=()=>{t=!1},u=()=>j0.isFocused()&&(e.networkMode==="always"||Ko.isOnline())&&e.canRun(),d=()=>O0(e.networkMode)&&e.canRun(),f=w=>{a()||(r==null||r(),s.resolve(w))},h=w=>{a()||(r==null||r(),s.reject(w))},p=()=>new Promise(w=>{var b;r=g=>{(a()||u())&&w(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var w;r=void 0,a()||(w=e.onContinue)==null||w.call(e)}),y=()=>{if(a())return;let w;const b=n===0?e.initialPromise:void 0;try{w=b??e.fn()}catch(g){w=Promise.reject(g)}Promise.resolve(w).then(f).catch(g=>{var k;if(a())return;const m=e.retry??(F0.isServer()?0:3),x=e.retryDelay??ET,P=typeof x=="function"?x(n,g):x,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!C){h(g);return}n++,(k=e.onFail)==null||k.call(e,n,g),yT(P).then(()=>u()?void 0:p()).then(()=>{t?h(g):y()})})};return{promise:s,status:()=>s.status,cancel:i,continue:()=>(r==null||r(),s),cancelRetry:o,continueRetry:c,canStart:d,start:()=>(d()?y():p().then(y),s)}}var gr,Gg,D0=(Gg=class{constructor(){q(this,gr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hT(this.gcTime)&&_(this,gr,Hu.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(F0.isServer()?1/0:5*60*1e3))}clearGcTimeout(){j(this,gr)!==void 0&&(Hu.clearTimeout(j(this,gr)),_(this,gr,void 0))}},gr=new WeakMap,Gg);function TT(e){return{onFetch:(t,n)=>{var d,f,h,p,y;const r=t.options,s=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,a=((p=t.state.data)==null?void 0:p.pages)||[],i=((y=t.state.data)==null?void 0:y.pageParams)||[];let o={pages:[],pageParams:[]},c=0;const u=async()=>{let w=!1;const b=x=>{bT(x,()=>t.signal,()=>w=!0)},g=N0(t.options,t.fetchOptions),m=async(x,P,C)=>{if(w)return Promise.reject(t.signal.reason);if(P==null&&x.pages.length)return Promise.resolve(x);const E=(()=>{const L={client:t.client,queryKey:t.queryKey,pageParam:P,direction:C?"backward":"forward",meta:t.options.meta};return b(L),L})(),S=await g(E),{maxPages:N}=t.options,A=C?wT:vT;return{pages:A(x.pages,S,N),pageParams:A(x.pageParams,P,N)}};if(s&&a.length){const x=s==="backward",P=x?jT:cm,C={pages:a,pageParams:i},k=P(r,C);o=await m(C,k,x)}else{const x=e??a.length;do{const P=c===0?i[0]??r.initialPageParam:cm(r,o);if(c>0&&P==null)break;o=await m(o,P),c++}while(c<x)}return o};t.options.persister?t.fetchFn=()=>{var w,b;return(b=(w=t.options).persister)==null?void 0:b.call(w,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function cm(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 jT(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 ms,yr,gs,lt,xr,we,Qa,vr,Xe,M0,tn,Qg,AT=(Qg=class extends D0{constructor(t){super();q(this,Xe);q(this,ms);q(this,yr);q(this,gs);q(this,lt);q(this,xr);q(this,we);q(this,Qa);q(this,vr);_(this,vr,!1),_(this,Qa,t.defaultOptions),this.setOptions(t.options),this.observers=[],_(this,xr,t.client),_(this,lt,j(this,xr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,_(this,yr,dm(this.options)),this.state=t.state??j(this,yr),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return j(this,ms)}get promise(){var t;return(t=j(this,we))==null?void 0:t.promise}setOptions(t){if(this.options={...j(this,Qa),...t},t!=null&&t._type&&_(this,ms,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=dm(this.options);n.data!==void 0&&(this.setState(um(n.data,n.dataUpdatedAt)),_(this,yr,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,lt).remove(this)}setData(t,n){const r=xT(this.state.data,t,this.options);return ke(this,Xe,tn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t){ke(this,Xe,tn).call(this,{type:"setState",state:t})}cancel(t){var r,s;const n=(r=j(this,we))==null?void 0:r.promise;return(s=j(this,we))==null||s.cancel(t),n?n.then(Pt).catch(Pt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return j(this,yr)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>mT(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Vf||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Uu(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:!pT(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,we))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,we))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,lt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(j(this,we)&&(j(this,vr)||ke(this,Xe,M0).call(this)?j(this,we).cancel({revert:!0}):j(this,we).cancelRetry()),this.scheduleGc()),j(this,lt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,Xe,tn).call(this,{type:"invalidate"})}async fetch(t,n){var u,d,f,h,p,y,w,b,g,m,x;if(this.state.fetchStatus!=="idle"&&((u=j(this,we))==null?void 0:u.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(j(this,we))return j(this,we).continueRetry(),j(this,we).promise}if(t&&this.setOptions(t),!this.options.queryFn){const P=this.observers.find(C=>C.options.queryFn);P&&this.setOptions(P.options)}const r=new AbortController,s=P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:()=>(_(this,vr,!0),r.signal)})},a=()=>{const P=N0(this.options,n),k=(()=>{const E={client:j(this,xr),queryKey:this.queryKey,meta:this.meta};return s(E),E})();return _(this,vr,!1),this.options.persister?this.options.persister(P,k,this):P(k)},o=(()=>{const P={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:j(this,xr),state:this.state,fetchFn:a};return s(P),P})(),c=j(this,ms)==="infinite"?TT(this.options.pages):this.options.behavior;c==null||c.onFetch(o,this),_(this,gs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=o.fetchOptions)==null?void 0:d.meta))&&ke(this,Xe,tn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta}),_(this,we,R0({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,onCancel:P=>{P instanceof Wu&&P.revert&&this.setState({...j(this,gs),fetchStatus:"idle"}),r.abort()},onFail:(P,C)=>{ke(this,Xe,tn).call(this,{type:"failed",failureCount:P,error:C})},onPause:()=>{ke(this,Xe,tn).call(this,{type:"pause"})},onContinue:()=>{ke(this,Xe,tn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}));try{const P=await j(this,we).start();if(P===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(P),(p=(h=j(this,lt).config).onSuccess)==null||p.call(h,P,this),(w=(y=j(this,lt).config).onSettled)==null||w.call(y,P,this.state.error,this),P}catch(P){if(P instanceof Wu){if(P.silent)return j(this,we).promise;if(P.revert){if(this.state.data===void 0)throw P;return this.state.data}}throw ke(this,Xe,tn).call(this,{type:"error",error:P}),(g=(b=j(this,lt).config).onError)==null||g.call(b,P,this),(x=(m=j(this,lt).config).onSettled)==null||x.call(m,this.state.data,P,this),P}finally{this.scheduleGc()}}},ms=new WeakMap,yr=new WeakMap,gs=new WeakMap,lt=new WeakMap,xr=new WeakMap,we=new WeakMap,Qa=new WeakMap,vr=new WeakMap,Xe=new WeakSet,M0=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},tn=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,...NT(r.data,this.options),fetchMeta:t.meta??null};case"success":const s={...r,...um(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return _(this,gs,t.manual?s:void 0),s;case"error":const a=t.error;return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),j(this,lt).notify({query:this,type:"updated",action:t})})},Qg);function NT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:O0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function um(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function dm(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 Xa,It,De,wr,zt,Pn,Xg,FT=(Xg=class extends D0{constructor(t){super();q(this,zt);q(this,Xa);q(this,It);q(this,De);q(this,wr);_(this,Xa,t.client),this.mutationId=t.mutationId,_(this,De,t.mutationCache),_(this,It,[]),this.state=t.state||OT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,It).includes(t)||(j(this,It).push(t),this.clearGcTimeout(),j(this,De).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){_(this,It,j(this,It).filter(n=>n!==t)),this.scheduleGc(),j(this,De).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,It).length||(this.state.status==="pending"?this.scheduleGc():j(this,De).remove(this))}continue(){var t;return((t=j(this,wr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,c,u,d,f,h,p,y,w,b,g,m,x,P,C,k,E;const n=()=>{ke(this,zt,Pn).call(this,{type:"continue"})},r={client:j(this,Xa),meta:this.options.meta,mutationKey:this.options.mutationKey};_(this,wr,R0({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(S,N)=>{ke(this,zt,Pn).call(this,{type:"failed",failureCount:S,error:N})},onPause:()=>{ke(this,zt,Pn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>j(this,De).canRun(this)}));const s=this.state.status==="pending",a=!j(this,wr).canStart();try{if(s)n();else{ke(this,zt,Pn).call(this,{type:"pending",variables:t,isPaused:a}),j(this,De).config.onMutate&&await j(this,De).config.onMutate(t,this,r);const N=await((o=(i=this.options).onMutate)==null?void 0:o.call(i,t,r));N!==this.state.context&&ke(this,zt,Pn).call(this,{type:"pending",context:N,variables:t,isPaused:a})}const S=await j(this,wr).start();return await((u=(c=j(this,De).config).onSuccess)==null?void 0:u.call(c,S,t,this.state.context,this,r)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,S,t,this.state.context,r)),await((p=(h=j(this,De).config).onSettled)==null?void 0:p.call(h,S,null,this.state.variables,this.state.context,this,r)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,S,null,t,this.state.context,r)),ke(this,zt,Pn).call(this,{type:"success",data:S}),S}catch(S){try{await((g=(b=j(this,De).config).onError)==null?void 0:g.call(b,S,t,this.state.context,this,r))}catch(N){Promise.reject(N)}try{await((x=(m=this.options).onError)==null?void 0:x.call(m,S,t,this.state.context,r))}catch(N){Promise.reject(N)}try{await((C=(P=j(this,De).config).onSettled)==null?void 0:C.call(P,void 0,S,this.state.variables,this.state.context,this,r))}catch(N){Promise.reject(N)}try{await((E=(k=this.options).onSettled)==null?void 0:E.call(k,void 0,S,t,this.state.context,r))}catch(N){Promise.reject(N)}throw ke(this,zt,Pn).call(this,{type:"error",error:S}),S}finally{j(this,De).runNext(this)}}},Xa=new WeakMap,It=new WeakMap,De=new WeakMap,wr=new WeakMap,zt=new WeakSet,Pn=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),ze.batch(()=>{j(this,It).forEach(r=>{r.onMutationUpdate(t)}),j(this,De).notify({mutation:this,type:"updated",action:t})})},Xg);function OT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var an,Ct,Za,Zg,RT=(Zg=class extends Rl{constructor(t={}){super();q(this,an);q(this,Ct);q(this,Za);this.config=t,_(this,an,new Set),_(this,Ct,new Map),_(this,Za,0)}build(t,n,r){const s=new FT({client:t,mutationCache:this,mutationId:++pi(this,Za)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){j(this,an).add(t);const n=Li(t);if(typeof n=="string"){const r=j(this,Ct).get(n);r?r.push(t):j(this,Ct).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,an).delete(t)){const n=Li(t);if(typeof n=="string"){const r=j(this,Ct).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&j(this,Ct).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Li(t);if(typeof n=="string"){const r=j(this,Ct).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Li(t);if(typeof n=="string"){const s=(r=j(this,Ct).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{j(this,an).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,an).clear(),j(this,Ct).clear()})}getAll(){return Array.from(j(this,an))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>im(n,r))}findAll(t={}){return this.getAll().filter(n=>im(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(Pt))))}},an=new WeakMap,Ct=new WeakMap,Za=new WeakMap,Zg);function Li(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Vt,Jg,DT=(Jg=class extends Rl{constructor(t={}){super();q(this,Vt);this.config=t,_(this,Vt,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??zf(s,n);let i=this.get(a);return i||(i=new AT({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){j(this,Vt).has(t.queryHash)||(j(this,Vt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=j(this,Vt).get(t.queryHash);n&&(t.destroy(),n===t&&j(this,Vt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,Vt).get(t)}getAll(){return[...j(this,Vt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>am(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>am(t,r)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Vt=new WeakMap,Jg),le,Fn,On,ys,xs,Rn,vs,ws,ey,MT=(ey=class{constructor(e={}){q(this,le);q(this,Fn);q(this,On);q(this,ys);q(this,xs);q(this,Rn);q(this,vs);q(this,ws);_(this,le,e.queryCache||new DT),_(this,Fn,e.mutationCache||new RT),_(this,On,e.defaultOptions||{}),_(this,ys,new Map),_(this,xs,new Map),_(this,Rn,0)}mount(){pi(this,Rn)._++,j(this,Rn)===1&&(_(this,vs,j0.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,le).onFocus())})),_(this,ws,Ko.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,le).onOnline())})))}unmount(){var e,t;pi(this,Rn)._--,j(this,Rn)===0&&((e=j(this,vs))==null||e.call(this),_(this,vs,void 0),(t=j(this,ws))==null||t.call(this),_(this,ws,void 0))}isFetching(e){return j(this,le).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,Fn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,le).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=j(this,le).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Uu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return j(this,le).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=j(this,le).get(r.queryHash),a=s==null?void 0:s.state.data,i=fT(t,a);if(i!==void 0)return j(this,le).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>j(this,le).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,le).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=j(this,le);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=j(this,le);return ze.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ze.batch(()=>j(this,le).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Pt).catch(Pt)}invalidateQueries(e,t={}){return ze.batch(()=>(j(this,le).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=ze.batch(()=>j(this,le).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(Pt)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(Pt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=j(this,le).build(this,t);return n.isStaleByTime(Uu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Pt).catch(Pt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Pt).catch(Pt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Ko.isOnline()?j(this,Fn).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,le)}getMutationCache(){return j(this,Fn)}getDefaultOptions(){return j(this,On)}setDefaultOptions(e){_(this,On,e)}setQueryDefaults(e,t){j(this,ys).set(Ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,ys).values()],n={};return t.forEach(r=>{Ua(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){j(this,xs).set(Ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,xs).values()],n={};return t.forEach(r=>{Ua(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,On).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=zf(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===Vf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...j(this,On).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,le).clear(),j(this,Fn).clear()}},le=new WeakMap,Fn=new WeakMap,On=new WeakMap,ys=new WeakMap,xs=new WeakMap,Rn=new WeakMap,vs=new WeakMap,ws=new WeakMap,ey),LT=v.createContext(void 0),IT=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(LT.Provider,{value:e,children:t}));/**
* @remix-run/router v1.23.3
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function $a(){return $a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$a.apply(null,arguments)}var Ln;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ln||(Ln={}));const fm="popstate";function zT(e){e===void 0&&(e={});function t(r,s){let{pathname:a,search:i,hash:o}=r.location;return qu("",{pathname:a,search:i,hash:o},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Go(s)}return _T(t,n,null,e)}function me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function _f(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function VT(){return Math.random().toString(36).substr(2,8)}function hm(e,t){return{usr:e.state,key:e.key,idx:t}}function qu(e,t,n,r){return n===void 0&&(n=null),$a({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?zs(t):t,{state:n,key:t&&t.key||r||VT()})}function Go(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 zs(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 _T(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:a=!1}=r,i=s.history,o=Ln.Pop,c=null,u=d();u==null&&(u=0,i.replaceState($a({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){o=Ln.Pop;let b=d(),g=b==null?null:b-u;u=b,c&&c({action:o,location:w.location,delta:g})}function h(b,g){o=Ln.Push;let m=qu(w.location,b,g);u=d()+1;let x=hm(m,u),P=w.createHref(m);try{i.pushState(x,"",P)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(P)}a&&c&&c({action:o,location:w.location,delta:1})}function p(b,g){o=Ln.Replace;let m=qu(w.location,b,g);u=d();let x=hm(m,u),P=w.createHref(m);i.replaceState(x,"",P),a&&c&&c({action:o,location:w.location,delta:0})}function y(b){let g=s.location.origin!=="null"?s.location.origin:s.location.href,m=typeof b=="string"?b:Go(b);return m=m.replace(/ $/,"%20"),me(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let w={get action(){return o},get location(){return e(s,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(fm,f),c=b,()=>{s.removeEventListener(fm,f),c=null}},createHref(b){return t(s,b)},createURL:y,encodeLocation(b){let g=y(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return i.go(b)}};return w}var pm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pm||(pm={}));function BT(e,t,n){return n===void 0&&(n="/"),HT(e,t,n)}function HT(e,t,n,r){let s=typeof t=="string"?zs(t):t,a=Bf(s.pathname||"/",n);if(a==null)return null;let i=L0(e);UT(i);let o=null,c=tj(a);for(let u=0;o==null&&u<i.length;++u)o=ZT(i[u],c);return o}function L0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(a,i,o)=>{let c={relativePath:o===void 0?a.path||"":o,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};c.relativePath.startsWith("/")&&(me(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=qn([r,c.relativePath]),d=n.concat(c);a.children&&a.children.length>0&&(me(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),L0(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:QT(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var o;if(a.path===""||!((o=a.path)!=null&&o.includes("?")))s(a,i);else for(let c of I0(a.path))s(a,i,c)}),t}function I0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let i=I0(r.join("/")),o=[];return o.push(...i.map(c=>c===""?a:[a,c].join("/"))),s&&o.push(...i),o.map(c=>e.startsWith("/")&&c===""?"/":c)}function UT(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:XT(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $T=/^:[\w-]+$/,WT=3,qT=2,YT=1,KT=10,GT=-2,mm=e=>e==="*";function QT(e,t){let n=e.split("/"),r=n.length;return n.some(mm)&&(r+=GT),t&&(r+=qT),n.filter(s=>!mm(s)).reduce((s,a)=>s+($T.test(a)?WT:a===""?YT:KT),r)}function XT(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function ZT(e,t,n){let{routesMeta:r}=e,s={},a="/",i=[];for(let o=0;o<r.length;++o){let c=r[o],u=o===r.length-1,d=a==="/"?t:t.slice(a.length)||"/",f=JT({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),h=c.route;if(!f)return null;Object.assign(s,f.params),i.push({params:s,pathname:qn([a,f.pathname]),pathnameBase:ij(qn([a,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(a=qn([a,f.pathnameBase]))}return i}function JT(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ej(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let a=s[0],i=a.replace(/(.)\/+$/,"$1"),o=s.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let w=o[f]||"";i=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const y=o[f];return p&&!y?u[h]=void 0:u[h]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:i,pattern:e}}function ej(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),_f(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=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,o,c)=>(r.push({paramName:o,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function tj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return _f(!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 Bf(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)||"/"}const nj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rj=e=>nj.test(e);function sj(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?zs(e):e,a;if(n)if(rj(n))a=n;else{if(n.includes("//")){let i=n;n=_0(n),_f(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?a=gm(n.substring(1),"/"):a=gm(n,t)}else a=t;return{pathname:a,search:oj(r),hash:lj(s)}}function gm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function vc(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 aj(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function z0(e,t){let n=aj(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function V0(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=zs(e):(s=$a({},e),me(!s.pathname||!s.pathname.includes("?"),vc("?","pathname","search",s)),me(!s.pathname||!s.pathname.includes("#"),vc("#","pathname","hash",s)),me(!s.search||!s.search.includes("#"),vc("#","search","hash",s)));let a=e===""||s.pathname==="",i=a?"/":s.pathname,o;if(i==null)o=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),f-=1;s.pathname=h.join("/")}o=f>=0?t[f]:"/"}let c=sj(s,o),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const _0=e=>e.replace(/\/\/+/g,"/"),qn=e=>_0(e.join("/")),ij=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),oj=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lj=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function cj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const B0=["post","put","patch","delete"];new Set(B0);const uj=["get",...B0];new Set(uj);/**
* React Router v6.30.4
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Wa(){return Wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wa.apply(null,arguments)}const Hf=v.createContext(null),dj=v.createContext(null),Dr=v.createContext(null),Dl=v.createContext(null),rr=v.createContext({outlet:null,matches:[],isDataRoute:!1}),H0=v.createContext(null);function fj(e,t){let{relative:n}=t===void 0?{}:t;li()||me(!1);let{basename:r,navigator:s}=v.useContext(Dr),{hash:a,pathname:i,search:o}=$0(e,{relative:n}),c=i;return r!=="/"&&(c=i==="/"?r:qn([r,i])),s.createHref({pathname:c,search:o,hash:a})}function li(){return v.useContext(Dl)!=null}function Mr(){return li()||me(!1),v.useContext(Dl).location}function U0(e){v.useContext(Dr).static||v.useLayoutEffect(e)}function hj(){let{isDataRoute:e}=v.useContext(rr);return e?jj():pj()}function pj(){li()||me(!1);let e=v.useContext(Hf),{basename:t,future:n,navigator:r}=v.useContext(Dr),{matches:s}=v.useContext(rr),{pathname:a}=Mr(),i=JSON.stringify(z0(s,n.v7_relativeSplatPath)),o=v.useRef(!1);return U0(()=>{o.current=!0}),v.useCallback(function(u,d){if(d===void 0&&(d={}),!o.current)return;if(typeof u=="number"){r.go(u);return}let f=V0(u,JSON.parse(i),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:qn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,a,e])}const mj=v.createContext(null);function gj(e){let t=v.useContext(rr).outlet;return t&&v.createElement(mj.Provider,{value:e},t)}function $0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Dr),{matches:s}=v.useContext(rr),{pathname:a}=Mr(),i=JSON.stringify(z0(s,r.v7_relativeSplatPath));return v.useMemo(()=>V0(e,JSON.parse(i),a,n==="path"),[e,i,a,n])}function yj(e,t){return xj(e,t)}function xj(e,t,n,r){li()||me(!1);let{navigator:s}=v.useContext(Dr),{matches:a}=v.useContext(rr),i=a[a.length-1],o=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=Mr(),d;if(t){var f;let b=typeof t=="string"?zs(t):t;c==="/"||(f=b.pathname)!=null&&f.startsWith(c)||me(!1),d=b}else d=u;let h=d.pathname||"/",p=h;if(c!=="/"){let b=c.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=BT(e,{pathname:p}),w=Cj(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:qn([c,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:qn([c,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,n,r);return t&&w?v.createElement(Dl.Provider,{value:{location:Wa({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Ln.Pop}},w):w}function vj(){let e=Tj(),t=cj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:s},n):null,null)}const wj=v.createElement(vj,null);class bj extends v.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?v.createElement(rr.Provider,{value:this.props.routeContext},v.createElement(H0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Pj(e){let{routeContext:t,match:n,children:r}=e,s=v.useContext(Hf);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(rr.Provider,{value:t},r)}function Cj(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(s=n)==null?void 0:s.errors;if(o!=null){let d=i.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);d>=0||me(!1),i=i.slice(0,Math.min(i.length,d+1))}let c=!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,y=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||y){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,h)=>{let p,y=!1,w=null,b=null;n&&(p=o&&f.route.id?o[f.route.id]:void 0,w=f.route.errorElement||wj,c&&(u<0&&h===0?(Aj("route-fallback"),y=!0,b=null):u===h&&(y=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),m=()=>{let x;return p?x=w:y?x=b:f.route.Component?x=v.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,v.createElement(Pj,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?v.createElement(bj,{location:n.location,revalidation:n.revalidation,component:w,error:p,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var W0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(W0||{}),q0=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}(q0||{});function kj(e){let t=v.useContext(Hf);return t||me(!1),t}function Sj(e){let t=v.useContext(dj);return t||me(!1),t}function Ej(e){let t=v.useContext(rr);return t||me(!1),t}function Y0(e){let t=Ej(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function Tj(){var e;let t=v.useContext(H0),n=Sj(),r=Y0();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function jj(){let{router:e}=kj(W0.UseNavigateStable),t=Y0(q0.UseNavigateStable),n=v.useRef(!1);return U0(()=>{n.current=!0}),v.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Wa({fromRouteId:t},a)))},[e,t])}const ym={};function Aj(e,t,n){ym[e]||(ym[e]=!0)}function Nj(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Fj(e){return gj(e.context)}function fe(e){me(!1)}function Oj(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Ln.Pop,navigator:a,static:i=!1,future:o}=e;li()&&me(!1);let c=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:c,navigator:a,static:i,future:Wa({v7_relativeSplatPath:!1},o)}),[c,o,a,i]);typeof r=="string"&&(r=zs(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:y="default"}=r,w=v.useMemo(()=>{let b=Bf(d,c);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:y},navigationType:s}},[c,d,f,h,p,y,s]);return w==null?null:v.createElement(Dr.Provider,{value:u},v.createElement(Dl.Provider,{children:n,value:w}))}function Rj(e){let{children:t,location:n}=e;return yj(Yu(t),n)}new Promise(()=>{});function Yu(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,s)=>{if(!v.isValidElement(r))return;let a=[...t,s];if(r.type===v.Fragment){n.push.apply(n,Yu(r.props.children,a));return}r.type!==fe&&me(!1),!r.props.index||!r.props.children||me(!1);let i={id:r.props.id||a.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=Yu(r.props.children,a)),n.push(i)}),n}/**
* React Router DOM v6.30.4
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Ku(){return Ku=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ku.apply(null,arguments)}function Dj(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Mj(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Lj(e,t){return e.button===0&&(!t||t==="_self")&&!Mj(e)}const Ij=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],zj="6";try{window.__reactRouterVersion=zj}catch{}const Vj="startTransition",xm=Ad[Vj];function _j(e){let{basename:t,children:n,future:r,window:s}=e,a=v.useRef();a.current==null&&(a.current=zT({window:s,v5Compat:!0}));let i=a.current,[o,c]=v.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=v.useCallback(f=>{u&&xm?xm(()=>c(f)):c(f)},[c,u]);return v.useLayoutEffect(()=>i.listen(d),[i,d]),v.useEffect(()=>Nj(r),[r]),v.createElement(Oj,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:r})}const Bj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G=v.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:a,replace:i,state:o,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,h=Dj(t,Ij),{basename:p}=v.useContext(Dr),y,w=!1;if(typeof u=="string"&&Hj.test(u)&&(y=u,Bj))try{let x=new URL(window.location.href),P=u.startsWith("//")?new URL(x.protocol+u):new URL(u),C=Bf(P.pathname,p);P.origin===x.origin&&C!=null?u=C+P.search+P.hash:w=!0}catch{}let b=fj(u,{relative:s}),g=Uj(u,{replace:i,state:o,target:c,preventScrollReset:d,relative:s,viewTransition:f});function m(x){r&&r(x),x.defaultPrevented||g(x)}return v.createElement("a",Ku({},h,{href:y||b,onClick:w||a?r:m,ref:n,target:c}))});var vm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(vm||(vm={}));var wm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wm||(wm={}));function Uj(e,t){let{target:n,replace:r,state:s,preventScrollReset:a,relative:i,viewTransition:o}=t===void 0?{}:t,c=hj(),u=Mr(),d=$0(e,{relative:i});return v.useCallback(f=>{if(Lj(f,n)){f.preventDefault();let h=r!==void 0?r:Go(u)===Go(d);c(e,{replace:h,state:s,preventScrollReset:a,relative:i,viewTransition:o})}},[u,c,d,r,s,n,e,a,i,o])}const $j=v.createContext(null),wc={didCatch:!1,error:null};class Wj extends v.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=wc}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var r,s;const{error:n}=this.state;n!==null&&((s=(r=this.props).onReset)==null||s.call(r,{args:t,reason:"imperative-api"}),this.setState(wc))}componentDidCatch(t,n){var r,s;(s=(r=this.props).onError)==null||s.call(r,t,n)}componentDidUpdate(t,n){var a,i;const{didCatch:r}=this.state,{resetKeys:s}=this.props;r&&n.error!==null&&qj(t.resetKeys,s)&&((i=(a=this.props).onReset)==null||i.call(a,{next:s,prev:t.resetKeys,reason:"keys"}),this.setState(wc))}render(){const{children:t,fallbackRender:n,FallbackComponent:r,fallback:s}=this.props,{didCatch:a,error:i}=this.state;let o=t;if(a){const c={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")o=n(c);else if(r)o=v.createElement(r,c);else if(s!==void 0)o=s;else throw i}return v.createElement($j.Provider,{value:{didCatch:a,error:i,resetErrorBoundary:this.resetErrorBoundary}},o)}}function qj(e=[],t=[]){return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}var Yj=typeof Element<"u",Kj=typeof Map=="function",Gj=typeof Set=="function",Qj=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function co(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!co(e[r],t[r]))return!1;return!0}var a;if(Kj&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!co(r.value[1],t.get(r.value[0])))return!1;return!0}if(Gj&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Qj&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(Yj&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!co(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var Xj=function(t,n){try{return co(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const Zj=il(Xj);var Jj=function(e,t,n,r,s,a,i,o){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,s,a,i,o],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},e2=Jj;const bm=il(e2);var t2=function(t,n,r,s){var a=r?r.call(s,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var d=i[u];if(!c(d))return!1;var f=t[d],h=n[d];if(a=r?r.call(s,f,h,d):void 0,a===!1||a===void 0&&f!==h)return!1}return!0};const n2=il(t2);var K0=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(K0||{}),bc={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Pm=Object.values(K0),Uf={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},r2=Object.entries(Uf).reduce((e,[t,n])=>(e[n]=t,e),{}),Et="data-rh",us={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ds=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},s2=e=>{let t=ds(e,"title");const n=ds(e,us.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ds(e,us.DEFAULT_TITLE);return t||r||void 0},a2=e=>ds(e,us.ON_CHANGE_CLIENT_STATE)||(()=>{}),Pc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),i2=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let a=0;a<s.length;a+=1){const o=s[a].toLowerCase();if(e.indexOf(o)!==-1&&r[o])return n.concat(r)}}return n},[]),o2=e=>console&&typeof console.warn=="function"&&console.warn(e),ea=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&o2(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,a)=>{const i={};a.filter(c=>{let u;const d=Object.keys(c);for(let h=0;h<d.length;h+=1){const p=d[h],y=p.toLowerCase();t.indexOf(y)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(y==="rel"&&c[y].toLowerCase()==="stylesheet")&&(u=y),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!c[u])return!1;const f=c[u].toLowerCase();return r[u]||(r[u]={}),i[u]||(i[u]={}),r[u][f]?!1:(i[u][f]=!0,!0)}).reverse().forEach(c=>s.push(c));const o=Object.keys(i);for(let c=0;c<o.length;c+=1){const u=o[c],d={...r[u],...i[u]};r[u]=d}return s},[]).reverse()},l2=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},c2=e=>({baseTag:i2(["href"],e),bodyAttributes:Pc("bodyAttributes",e),defer:ds(e,us.DEFER),encode:ds(e,us.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Pc("htmlAttributes",e),linkTags:ea("link",["rel","href"],e),metaTags:ea("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:ea("noscript",["innerHTML"],e),onChangeClientState:a2(e),scriptTags:ea("script",["src","innerHTML"],e),styleTags:ea("style",["cssText"],e),title:s2(e),titleAttributes:Pc("titleAttributes",e),prioritizeSeoTags:l2(e,us.PRIORITIZE_SEO_TAGS)}),G0=e=>Array.isArray(e)?e.join(""):e,u2=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Cc=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(u2(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Cm=(e,t)=>({...e,[t]:void 0}),d2=["noscript","script","style"],Gu=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Q0=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),f2=(e,t,n,r)=>{const s=Q0(n),a=G0(t);return s?`<${e} ${Et}="true" ${s}>${Gu(a,r)}</${e}>`:`<${e} ${Et}="true">${Gu(a,r)}</${e}>`},h2=(e,t,n=!0)=>t.reduce((r,s)=>{const a=s,i=Object.keys(a).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof a[d]>"u"?d:`${d}="${Gu(a[d],n)}"`;return u?`${u} ${f}`:f},""),o=a.innerHTML||a.cssText||"",c=d2.indexOf(e)===-1;return`${r}<${e} ${Et}="true" ${i}${c?"/>":`>${o}</${e}>`}`},""),X0=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=Uf[r];return n[s||r]=e[r],n},t),p2=(e,t,n)=>{const r={key:t,[Et]:!0},s=X0(n,r);return[Ht.createElement("title",s,t)]},uo=(e,t)=>t.map((n,r)=>{const s={key:r,[Et]:!0};return Object.keys(n).forEach(a=>{const o=Uf[a]||a;if(o==="innerHTML"||o==="cssText"){const c=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:c}}else s[o]=n[a]}),Ht.createElement(e,s)}),ot=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>p2(e,t.title,t.titleAttributes),toString:()=>f2(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>X0(t),toString:()=>Q0(t)};default:return{toComponent:()=>uo(e,t),toString:()=>h2(e,t,n)}}},m2=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=Cc(e,bc.meta),a=Cc(t,bc.link),i=Cc(n,bc.script);return{priorityMethods:{toComponent:()=>[...uo("meta",s.priority),...uo("link",a.priority),...uo("script",i.priority)],toString:()=>`${ot("meta",s.priority,r)} ${ot("link",a.priority,r)} ${ot("script",i.priority,r)}`},metaTags:s.default,linkTags:a.default,scriptTags:i.default}},g2=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:a,styleTags:i,title:o="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:h}=e,p={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:p,linkTags:d,metaTags:f,scriptTags:h}=m2(e)),{priority:p,base:ot("base",t,r),bodyAttributes:ot("bodyAttributes",n,r),htmlAttributes:ot("htmlAttributes",s,r),link:ot("link",d,r),meta:ot("meta",f,r),noscript:ot("noscript",a,r),script:ot("script",h,r),style:ot("style",i,r),title:ot("title",{title:o,titleAttributes:c},r)}},Qu=g2,Ii=[],Z0=!!(typeof window<"u"&&window.document&&window.document.createElement),Xu=class{constructor(e,t){Xt(this,"instances",[]);Xt(this,"canUseDOM",Z0);Xt(this,"context");Xt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Ii:this.instances,add:e=>{(this.canUseDOM?Ii:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Ii:this.instances).indexOf(e);(this.canUseDOM?Ii:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Qu({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},y2={},J0=Ht.createContext(y2),br,ew=(br=class extends v.Component{constructor(n){super(n);Xt(this,"helmetData");this.helmetData=new Xu(this.props.context||{},br.canUseDOM)}render(){return Ht.createElement(J0.Provider,{value:this.helmetData.value},this.props.children)}},Xt(br,"canUseDOM",Z0),br),zr=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Et}]`),s=[].slice.call(r),a=[];let i;return t&&t.length&&t.forEach(o=>{const c=document.createElement(e);for(const u in o)if(Object.prototype.hasOwnProperty.call(o,u))if(u==="innerHTML")c.innerHTML=o.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=o.cssText:c.appendChild(document.createTextNode(o.cssText));else{const d=u,f=typeof o[d]>"u"?"":o[d];c.setAttribute(u,f)}c.setAttribute(Et,"true"),s.some((u,d)=>(i=d,c.isEqualNode(u)))?s.splice(i,1):a.push(c)}),s.forEach(o=>{var c;return(c=o.parentNode)==null?void 0:c.removeChild(o)}),a.forEach(o=>n.appendChild(o)),{oldTags:s,newTags:a}},Zu=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Et),s=r?r.split(","):[],a=[...s],i=Object.keys(t);for(const o of i){const c=t[o]||"";n.getAttribute(o)!==c&&n.setAttribute(o,c),s.indexOf(o)===-1&&s.push(o);const u=a.indexOf(o);u!==-1&&a.splice(u,1)}for(let o=a.length-1;o>=0;o-=1)n.removeAttribute(a[o]);s.length===a.length?n.removeAttribute(Et):n.getAttribute(Et)!==i.join(",")&&n.setAttribute(Et,i.join(","))},x2=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=G0(e)),Zu("title",t)},km=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:a,metaTags:i,noscriptTags:o,onChangeClientState:c,scriptTags:u,styleTags:d,title:f,titleAttributes:h}=e;Zu("body",r),Zu("html",s),x2(f,h);const p={baseTag:zr("base",n),linkTags:zr("link",a),metaTags:zr("meta",i),noscriptTags:zr("noscript",o),scriptTags:zr("script",u),styleTags:zr("style",d)},y={},w={};Object.keys(p).forEach(b=>{const{newTags:g,oldTags:m}=p[b];g.length&&(y[b]=g),m.length&&(w[b]=p[b].oldTags)}),t&&t(),c(e,y,w)},ta=null,v2=e=>{ta&&cancelAnimationFrame(ta),e.defer?ta=requestAnimationFrame(()=>{km(e,()=>{ta=null})}):(km(e),ta=null)},w2=v2,Sm=class extends v.Component{constructor(){super(...arguments);Xt(this,"rendered",!1)}shouldComponentUpdate(t){return!n2(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const s=c2(t.get().map(a=>{const i={...a.props};return delete i.context,i}));ew.canUseDOM?w2(s):Qu&&(r=Qu(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},_c,b2=(_c=class extends v.Component{shouldComponentUpdate(e){return!Zj(Cm(this.props,"helmetData"),Cm(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return bm(Pm.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Pm.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),bm(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return Ht.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...a}=r.props,i=Object.keys(a).reduce((c,u)=>(c[r2[u]||u]=a[u],c),{});let{type:o}=r;switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(r,s),o){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,i,s);break;default:t=this.mapObjectTypeChildren(r,t,i,s);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Xu)){const s=r;r=new Xu(s.context,!0),delete n.helmetData}return r?Ht.createElement(Sm,{...n,context:r.value}):Ht.createElement(J0.Consumer,null,s=>Ht.createElement(Sm,{...n,context:s}))}},Xt(_c,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),_c);const P2=Ef("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),va=v.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},a)=>{const i=r?LC:"button";return l.jsx(i,{className:Ce(P2({variant:t,size:n,className:e})),ref:a,...s})});va.displayName="Button";const tw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("rounded-xl border bg-card text-card-foreground shadow",e),...t}));tw.displayName="Card";const nw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("flex flex-col space-y-1.5 p-6",e),...t}));nw.displayName="CardHeader";const rw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("font-semibold leading-none tracking-tight",e),...t}));rw.displayName="CardTitle";const sw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("text-sm text-muted-foreground",e),...t}));sw.displayName="CardDescription";const aw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("p-6 pt-0",e),...t}));aw.displayName="CardContent";const iw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("flex items-center p-6 pt-0",e),...t}));iw.displayName="CardFooter";const C2=Ef("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),ow=v.forwardRef(({className:e,variant:t,...n},r)=>l.jsx("div",{ref:r,role:"alert",className:Ce(C2({variant:t}),e),...n}));ow.displayName="Alert";const k2=v.forwardRef(({className:e,...t},n)=>l.jsx("h5",{ref:n,className:Ce("mb-1 font-medium leading-none tracking-tight",e),...t}));k2.displayName="AlertTitle";const lw=v.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("text-sm [&_p]:leading-relaxed",e),...t}));lw.displayName="AlertDescription";var S2="Separator",Em="horizontal",E2=["horizontal","vertical"],cw=v.forwardRef((e,t)=>{const{decorative:n,orientation:r=Em,...s}=e,a=T2(r)?r:Em,o=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.jsx($e.div,{"data-orientation":a,...o,...s,ref:t})});cw.displayName=S2;function T2(e){return E2.includes(e)}var uw=cw;const dw=v.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},s)=>l.jsx(uw,{ref:s,decorative:n,orientation:t,className:Ce("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));dw.displayName=uw.displayName;const j2=({error:e,resetErrorBoundary:t})=>{Ht.useEffect(()=>{e&&window.dispatchEvent(new ErrorEvent("error",{error:e,message:e.message,filename:window.location.href,lineno:0,colno:0}))},[e]);const n=()=>{window.location.reload()},r=()=>{window.location.href="/"};return l.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center p-4","data-id":"79armtztm","data-path":"src/components/error-fallback.tsx",children:l.jsxs(tw,{className:"w-full max-w-md","data-id":"51hbeuje2","data-path":"src/components/error-fallback.tsx",children:[l.jsxs(nw,{className:"text-center","data-id":"m1kr3pjdx","data-path":"src/components/error-fallback.tsx",children:[l.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/15 ring-2 ring-destructive/20","data-id":"35owioesq","data-path":"src/components/error-fallback.tsx",children:l.jsx($p,{className:"h-8 w-8 text-destructive drop-shadow-sm","data-id":"z7dx29yet","data-path":"src/components/error-fallback.tsx"})}),l.jsx(rw,{className:"text-xl font-semibold","data-id":"qn9kullv2","data-path":"src/components/error-fallback.tsx",children:"Something went wrong"}),l.jsx(sw,{"data-id":"4x2upywbh","data-path":"src/components/error-fallback.tsx",children:"Sorry, the application encountered an unexpected error"})]}),l.jsxs(aw,{className:"space-y-4","data-id":"hoqgb5wd4","data-path":"src/components/error-fallback.tsx",children:[e&&l.jsxs(ow,{variant:"destructive","data-id":"1o47522o7","data-path":"src/components/error-fallback.tsx",children:[l.jsx($p,{className:"h-5 w-5","data-id":"idw3p3fgj","data-path":"src/components/error-fallback.tsx"}),l.jsx(lw,{className:"text-sm","data-id":"70jk3dm2u","data-path":"src/components/error-fallback.tsx",children:l.jsxs("details",{className:"mt-2","data-id":"mrp8zu1sg","data-path":"src/components/error-fallback.tsx",children:[l.jsx("summary",{className:"cursor-pointer font-medium","data-id":"pu3ll1lul","data-path":"src/components/error-fallback.tsx",children:"Error Details"}),l.jsx("div",{id:"capture-error-detail",className:"mt-2 text-xs font-mono bg-muted/80 dark:bg-muted/20 p-3 rounded border dark:border-border/50 overflow-auto max-h-32 text-foreground dark:text-muted-foreground","data-id":"7rp5vbkrx","data-path":"src/components/error-fallback.tsx",children:e.message})]})})]}),l.jsx("div",{className:"text-sm text-muted-foreground text-center","data-id":"ffl2wf3bk","data-path":"src/components/error-fallback.tsx",children:"You can try refreshing the page or returning to the homepage to resolve this issue"})]}),l.jsx(dw,{"data-id":"pnh6uwhfm","data-path":"src/components/error-fallback.tsx"}),l.jsxs(iw,{className:"flex flex-col gap-2 pt-6","data-id":"xdvh98qge","data-path":"src/components/error-fallback.tsx",children:[l.jsxs("div",{className:"flex w-full gap-2","data-id":"m9e4rt25y","data-path":"src/components/error-fallback.tsx",children:[t&&l.jsxs(va,{onClick:t,className:"flex-1",variant:"default","data-id":"u7gnpde8b","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Up,{className:"mr-2 h-4 w-4 opacity-90","data-id":"pj5vkbvtp","data-path":"src/components/error-fallback.tsx"}),"Retry"]}),l.jsxs(va,{onClick:n,variant:"outline",className:"flex-1","data-id":"u6z4lsoxn","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Up,{className:"mr-2 h-4 w-4 opacity-90","data-id":"t3q20ubzv","data-path":"src/components/error-fallback.tsx"}),"Refresh Page"]})]}),l.jsxs(va,{onClick:r,variant:"ghost",className:"w-full","data-id":"avw6pj5cd","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Vk,{className:"mr-2 h-4 w-4 opacity-80","data-id":"ctfh1yhvv","data-path":"src/components/error-fallback.tsx"}),"Go Home"]})]})]})})},A2=()=>{const e=Mr(),t=window.location.origin+e.pathname;return l.jsxs(l.Fragment,{children:[l.jsx(b2,{"data-id":"vfil493vv","data-path":"src/components/canonical-manager.tsx",children:l.jsx("link",{rel:"canonical",href:t,"data-id":"vz9wcfrmo","data-path":"src/components/canonical-manager.tsx"})}),l.jsx(Fj,{"data-id":"quqmm1rw8","data-path":"src/components/canonical-manager.tsx"})]})},Tm=[{label:"Gridiron Foundations Program",path:"/programs/football"},{label:"Spirit & Pride Cheer Academy",path:"/programs/cheer"},{label:"Future Leaders Initiative",path:"/programs/leadership"}],jm=[{label:"Our Story",path:"/about/our-story"},{label:"Mission & Values",path:"/about/mission-values"},{label:"Team",path:"/about/team"}],Am=({items:e,isOpen:t})=>l.jsx("div",{className:`absolute top-full left-1/2 -translate-x-1/2 mt-1 w-64 rounded-lg shadow-xl overflow-hidden transition-all duration-200 z-50 ${t?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 -translate-y-2 pointer-events-none"}`,style:{background:"#0E3320",border:"1px solid rgba(232,160,32,0.3)"},"data-id":"o0msv8ik0","data-path":"src/components/Navbar.tsx",children:e.map(n=>l.jsx(G,{to:n.path,className:"block px-5 py-3 text-sm font-medium transition-colors duration-150 hover:bg-yellow-700/20",style:{fontFamily:"'Oswald', sans-serif",color:"#FDF8F0",letterSpacing:"0.03em"},"data-id":"tq0b4hsh1","data-path":"src/components/Navbar.tsx",children:n.label},n.path))});function Ne(){const[e,t]=v.useState(!1),[n,r]=v.useState(!1),[s,a]=v.useState(!1),[i,o]=v.useState(!1),[c,u]=v.useState(!1),d=Mr(),f=v.useRef(null),h=v.useRef(null);v.useEffect(()=>{t(!1),r(!1),a(!1)},[d.pathname]),v.useEffect(()=>{const y=w=>{f.current&&!f.current.contains(w.target)&&r(!1),h.current&&!h.current.contains(w.target)&&a(!1)};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[]);const p="text-sm font-semibold tracking-wider transition-colors duration-150 hover:text-yellow-400 cursor-pointer";return l.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 shadow-lg",style:{background:"#0E3320"},"data-id":"mh4736sur","data-path":"src/components/Navbar.tsx",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6","data-id":"tvdyueme4","data-path":"src/components/Navbar.tsx",children:l.jsxs("div",{className:"flex items-center justify-between h-16","data-id":"751vu2y9v","data-path":"src/components/Navbar.tsx",children:[l.jsxs(G,{to:"/",className:"flex items-center gap-3 flex-shrink-0","data-id":"lb8pdy96l","data-path":"src/components/Navbar.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center font-bold text-lg",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"u4qhvnm1z","data-path":"src/components/Navbar.tsx",children:"HY"}),l.jsxs("div",{className:"hidden sm:block","data-id":"nwa7okial","data-path":"src/components/Navbar.tsx",children:[l.jsx("div",{className:"text-xs font-bold tracking-widest leading-tight",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"dgbekbqir","data-path":"src/components/Navbar.tsx",children:"HOOPA YOUTH"}),l.jsx("div",{className:"text-xs tracking-wider leading-tight",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"xsen26wn9","data-path":"src/components/Navbar.tsx",children:"CHEER & FOOTBALL"})]})]}),l.jsxs("div",{className:"hidden lg:flex items-center gap-6","data-id":"j31lpcesz","data-path":"src/components/Navbar.tsx",children:[l.jsx(G,{to:"/",className:p,style:{color:d.pathname==="/"?"#E8A020":"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"tr1jpa97h","data-path":"src/components/Navbar.tsx",children:"HOME"}),l.jsxs("div",{ref:f,className:"relative","data-id":"vu5tx46ff","data-path":"src/components/Navbar.tsx",children:[l.jsx("button",{className:p,style:{color:d.pathname.startsWith("/about")?"#E8A020":"#FDF8F0",fontFamily:"'Oswald', sans-serif"},onClick:()=>{r(!n),a(!1)},"data-id":"ysfpvl0gx","data-path":"src/components/Navbar.tsx",children:"ABOUT US â–¾"}),l.jsx(Am,{items:jm,isOpen:n,"data-id":"g0y7mg4a5","data-path":"src/components/Navbar.tsx"})]}),l.jsxs("div",{ref:h,className:"relative","data-id":"x7kjvsryx","data-path":"src/components/Navbar.tsx",children:[l.jsx("button",{className:p,style:{color:d.pathname.startsWith("/programs")?"#E8A020":"#FDF8F0",fontFamily:"'Oswald', sans-serif"},onClick:()=>{a(!s),r(!1)},"data-id":"vjs0wbfik","data-path":"src/components/Navbar.tsx",children:"PROGRAMS â–¾"}),l.jsx(Am,{items:Tm,isOpen:s,"data-id":"9lbdm4pxo","data-path":"src/components/Navbar.tsx"})]}),l.jsx(G,{to:"/impact",className:p,style:{color:d.pathname==="/impact"?"#E8A020":"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"un0qtbwzx","data-path":"src/components/Navbar.tsx",children:"IMPACT"}),l.jsx(G,{to:"/blog",className:p,style:{color:d.pathname.startsWith("/blog")?"#E8A020":"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"8mlabpx1t","data-path":"src/components/Navbar.tsx",children:"BLOG"}),l.jsx(G,{to:"/contact",className:p,style:{color:d.pathname==="/contact"?"#E8A020":"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"mpkzje8sc","data-path":"src/components/Navbar.tsx",children:"CONTACT"}),l.jsx(G,{to:"/donate",className:"px-5 py-2 rounded-full font-bold text-sm tracking-wider transition-all duration-200 hover:opacity-90 hover:scale-105",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"br80lk75s","data-path":"src/components/Navbar.tsx",children:"DONATE"})]}),l.jsxs("button",{className:"lg:hidden flex flex-col gap-1.5 p-2",onClick:()=>t(!e),"aria-label":"Toggle menu","data-id":"kenxcwag5","data-path":"src/components/Navbar.tsx",children:[l.jsx("span",{className:`block w-6 h-0.5 transition-all duration-300 ${e?"rotate-45 translate-y-2":""}`,style:{background:"#FDF8F0"},"data-id":"gakpco9uj","data-path":"src/components/Navbar.tsx"}),l.jsx("span",{className:`block w-6 h-0.5 transition-all duration-300 ${e?"opacity-0":""}`,style:{background:"#FDF8F0"},"data-id":"j3auiypjj","data-path":"src/components/Navbar.tsx"}),l.jsx("span",{className:`block w-6 h-0.5 transition-all duration-300 ${e?"-rotate-45 -translate-y-2":""}`,style:{background:"#FDF8F0"},"data-id":"gy5el0drv","data-path":"src/components/Navbar.tsx"})]})]})}),l.jsx("div",{className:`lg:hidden transition-all duration-300 overflow-hidden ${e?"max-h-screen":"max-h-0"}`,style:{background:"#0A2318"},"data-id":"ar2444oxx","data-path":"src/components/Navbar.tsx",children:l.jsxs("div",{className:"px-4 py-4 space-y-1 border-t border-green-900","data-id":"mmsv4udu3","data-path":"src/components/Navbar.tsx",children:[l.jsx(G,{to:"/",className:"block py-2.5 text-sm font-semibold tracking-wider",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"d1iiu95u3","data-path":"src/components/Navbar.tsx",children:"HOME"}),l.jsxs("div",{"data-id":"1zh9vfyle","data-path":"src/components/Navbar.tsx",children:[l.jsxs("button",{className:"w-full text-left py-2.5 text-sm font-semibold tracking-wider flex justify-between",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},onClick:()=>o(!i),"data-id":"fnew07s8e","data-path":"src/components/Navbar.tsx",children:["ABOUT US ",l.jsx("span",{"data-id":"hmcrocdhf","data-path":"src/components/Navbar.tsx",children:i?"â–²":"â–¾"})]}),i&&l.jsx("div",{className:"pl-4 space-y-1","data-id":"r3f5yrco5","data-path":"src/components/Navbar.tsx",children:jm.map(y=>l.jsx(G,{to:y.path,className:"block py-2 text-sm",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"d27ioyp7c","data-path":"src/components/Navbar.tsx",children:y.label},y.path))})]}),l.jsxs("div",{"data-id":"xkmgj2cfo","data-path":"src/components/Navbar.tsx",children:[l.jsxs("button",{className:"w-full text-left py-2.5 text-sm font-semibold tracking-wider flex justify-between",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},onClick:()=>u(!c),"data-id":"2923jqlvi","data-path":"src/components/Navbar.tsx",children:["PROGRAMS ",l.jsx("span",{"data-id":"dgzfn3b7s","data-path":"src/components/Navbar.tsx",children:c?"â–²":"â–¾"})]}),c&&l.jsx("div",{className:"pl-4 space-y-1","data-id":"p3qv89hhs","data-path":"src/components/Navbar.tsx",children:Tm.map(y=>l.jsx(G,{to:y.path,className:"block py-2 text-sm",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"mt5ck3jle","data-path":"src/components/Navbar.tsx",children:y.label},y.path))})]}),l.jsx(G,{to:"/impact",className:"block py-2.5 text-sm font-semibold tracking-wider",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"yzpcxdqvp","data-path":"src/components/Navbar.tsx",children:"IMPACT"}),l.jsx(G,{to:"/blog",className:"block py-2.5 text-sm font-semibold tracking-wider",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"n7bvmikq3","data-path":"src/components/Navbar.tsx",children:"BLOG"}),l.jsx(G,{to:"/contact",className:"block py-2.5 text-sm font-semibold tracking-wider",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"5b3e0sact","data-path":"src/components/Navbar.tsx",children:"CONTACT"}),l.jsx(G,{to:"/donate",className:"block mt-3 py-3 text-center text-sm font-bold rounded-full tracking-wider",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"9mrzujm06","data-path":"src/components/Navbar.tsx",children:"DONATE NOW"})]})})]})}function Fe(){return l.jsxs("footer",{style:{background:"#0A2318"},"data-id":"i2cew9j22","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-14","data-id":"ojsza4vn3","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10","data-id":"tpa878tgx","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{"data-id":"s4ooevcq8","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-5","data-id":"2cfg0ro85","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center font-bold text-xl flex-shrink-0",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"6tl1k4ss8","data-path":"src/components/Footer.tsx",children:"HY"}),l.jsxs("div",{"data-id":"ogz2nmek8","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"font-bold text-base tracking-wider leading-tight",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"h1zodspv4","data-path":"src/components/Footer.tsx",children:"HOOPA YOUTH"}),l.jsx("div",{className:"text-sm tracking-wider leading-tight",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"83rgbwwzs","data-path":"src/components/Footer.tsx",children:"CHEER & FOOTBALL"})]})]}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#B0C8BC",fontFamily:"'Lora', serif"},"data-id":"erx8k5ydj","data-path":"src/components/Footer.tsx",children:"We believe every young person in the Klamath Trinity community deserves a chance to compete, grow, and lead. Through football and cheerleading, we build more than athletes — we shape citizens, teammates, and future leaders who carry our community values with them for life."})]}),l.jsxs("div",{"data-id":"7gmaxf2ix","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"text-base font-bold tracking-widest mb-5 uppercase",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"441vv2qyt","data-path":"src/components/Footer.tsx",children:"Quick Links"}),l.jsx("ul",{className:"space-y-2.5","data-id":"tkl0q7qfk","data-path":"src/components/Footer.tsx",children:[{label:"Home",path:"/"},{label:"About Us",path:"/about"},{label:"Programs",path:"/programs"},{label:"Impact",path:"/impact"},{label:"Donate",path:"/donate"},{label:"Blog",path:"/blog"},{label:"Contact",path:"/contact"}].map(t=>l.jsx("li",{"data-id":"0p59iko00","data-path":"src/components/Footer.tsx",children:l.jsxs(G,{to:t.path,className:"text-sm transition-colors duration-150 hover:text-yellow-400",style:{color:"#B0C8BC",fontFamily:"'Lora', serif"},"data-id":"xddlj9237","data-path":"src/components/Footer.tsx",children:["→ ",t.label]})},t.path))})]}),l.jsxs("div",{"data-id":"w88v6ahxc","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"text-base font-bold tracking-widest mb-5 uppercase",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"do5lohgjn","data-path":"src/components/Footer.tsx",children:"Contact Us"}),l.jsxs("ul",{className:"space-y-3 text-sm",style:{color:"#B0C8BC",fontFamily:"'Lora', serif"},"data-id":"ntman41u6","data-path":"src/components/Footer.tsx",children:[l.jsxs("li",{className:"flex gap-3","data-id":"0iisu0nw3","data-path":"src/components/Footer.tsx",children:[l.jsx("span",{className:"flex-shrink-0","data-id":"lj5ehz7uc","data-path":"src/components/Footer.tsx",children:"📧"}),l.jsx("a",{href:"mailto:adminteam@trusthalvor.com",className:"hover:text-yellow-400 transition-colors","data-id":"rqncfefvf","data-path":"src/components/Footer.tsx",children:"adminteam@trusthalvor.com"})]}),l.jsxs("li",{className:"flex gap-3","data-id":"eu9lztv2s","data-path":"src/components/Footer.tsx",children:[l.jsx("span",{className:"flex-shrink-0","data-id":"w8bujksb3","data-path":"src/components/Footer.tsx",children:"📞"}),l.jsx("a",{href:"tel:15307847028",className:"hover:text-yellow-400 transition-colors","data-id":"m7mf8th0r","data-path":"src/components/Footer.tsx",children:"1-530-784-7028"})]}),l.jsxs("li",{className:"flex gap-3","data-id":"i0euzx5vd","data-path":"src/components/Footer.tsx",children:[l.jsx("span",{className:"flex-shrink-0","data-id":"mm1pnwvbd","data-path":"src/components/Footer.tsx",children:"ðŸ“"}),l.jsx("span",{"data-id":"thq9y6bfc","data-path":"src/components/Footer.tsx",children:"PO Box 214, Hoopa, CA 95546"})]}),l.jsxs("li",{className:"flex gap-3","data-id":"6keo1dmgz","data-path":"src/components/Footer.tsx",children:[l.jsx("span",{className:"flex-shrink-0","data-id":"85hy655q0","data-path":"src/components/Footer.tsx",children:"ðŸ›ï¸"}),l.jsx("span",{"data-id":"5th6nb8rc","data-path":"src/components/Footer.tsx",children:"EIN: 26-0736342"})]})]})]})]})}),l.jsx("div",{className:"border-t",style:{borderColor:"rgba(232,160,32,0.2)"},"data-id":"pxtqxkg6a","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-5 flex flex-col sm:flex-row justify-between items-center gap-3","data-id":"93rdns99k","data-path":"src/components/Footer.tsx",children:[l.jsxs("p",{className:"text-xs",style:{color:"#6B8F7A",fontFamily:"'Lora', serif"},"data-id":"o8e6gvtko","data-path":"src/components/Footer.tsx",children:["© ",2026," Hoopa Youth Cheer & Football Association. All rights reserved."]}),l.jsxs("div",{className:"flex gap-4 text-xs",style:{color:"#6B8F7A",fontFamily:"'Lora', serif"},"data-id":"plxnhm5av","data-path":"src/components/Footer.tsx",children:[l.jsx(G,{to:"/privacy-policy",className:"hover:text-yellow-400 transition-colors","data-id":"94nbnxjc4","data-path":"src/components/Footer.tsx",children:"Privacy Policy"}),l.jsx("span",{"data-id":"jarr9l8qx","data-path":"src/components/Footer.tsx",children:"|"}),l.jsx(G,{to:"/terms",className:"hover:text-yellow-400 transition-colors","data-id":"5rxxqbtia","data-path":"src/components/Footer.tsx",children:"Terms & Conditions"})]})]})})]})}const N2=[{title:"Gridiron Foundations Program",icon:"ðŸˆ",img:"https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=600&auto=format&fit=crop",desc:"Our flagship football program introduces youth ages 5–14 to the fundamentals of the game within a safe, structured environment. Coaches certified in youth athletics guide players through skill-building, plays, and game strategy while emphasizing respect for teammates, opponents, and referees. Every practice is an opportunity to build discipline and physical fitness alongside football technique. Players leave each season stronger, more confident, and prepared for life's bigger challenges.",path:"/programs/football"},{title:"Spirit & Pride Cheer Academy",icon:"📣",img:"https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=600&auto=format&fit=crop",desc:"The Spirit & Pride Cheer Academy celebrates the art of cheerleading as a dynamic sport that demands athleticism, creativity, and unstoppable team spirit. Youth learn cheer fundamentals, dance, stunting, and performance skills while cultivating the confidence to lead a crowd and stand tall before their community. The program reinforces physical fitness, coordination, and a deep sense of belonging. Our cheerleaders become ambassadors of positivity and pride for the entire Hoopa community.",path:"/programs/cheer"},{title:"Future Leaders Initiative",icon:"🌟",img:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=600&auto=format&fit=crop",desc:"Beyond the field and the sideline, the Future Leaders Initiative equips youth with the life skills, citizenship values, and academic habits that carry them forward long after the season ends. Through workshops, mentorship sessions, and community service projects, participants discover their potential as leaders in school, at home, and across the Klamath Trinity region. The program connects sportsmanship to everyday character, turning athletes into stewards of their community.",path:"/programs/leadership"}],F2=[{number:"200+",label:"Youth Served Annually"},{number:"14",label:"Years Serving the Community"},{number:"95%",label:"Season Completion Rate"}];function Vr({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"lvts5h3iu","data-path":"src/pages/HomePage.tsx",children:e})}function O2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"vu0pk9w65","data-path":"src/pages/HomePage.tsx",children:[l.jsx(Ne,{"data-id":"rzfnjmziy","data-path":"src/pages/HomePage.tsx"}),l.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden pt-16","data-id":"7tsiinrlj","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"absolute inset-0 z-0","data-id":"dz1i834sn","data-path":"src/pages/HomePage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=1600&auto=format&fit=crop",alt:"Youth football",className:"w-full h-full object-cover object-center","data-id":"oherdm027","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(135deg, rgba(14,51,32,0.93) 0%, rgba(14,51,32,0.75) 50%, rgba(10,31,18,0.88) 100%)"},"data-id":"87d1qdktb","data-path":"src/pages/HomePage.tsx"})]}),l.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-20 z-10",style:{background:"#FDF8F0",clipPath:"polygon(0 100%, 100% 0, 100% 100%)"},"data-id":"ry9tynd65","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-4 sm:px-6 text-center py-24","data-id":"e2hth6ldm","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"animate-fadeInUp","data-id":"ldxnvr1sr","data-path":"src/pages/HomePage.tsx",children:l.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full text-xs font-bold tracking-widest uppercase mb-6",style:{background:"rgba(232,160,32,0.2)",color:"#E8A020",border:"1px solid rgba(232,160,32,0.4)",fontFamily:"'Oswald', sans-serif"},"data-id":"y5t6nsj65","data-path":"src/pages/HomePage.tsx",children:"Klamath Trinity Unified School District"})}),l.jsxs("h1",{className:"text-5xl sm:text-6xl lg:text-7xl font-bold mb-6 leading-tight animate-fadeInUp delay-100",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif",letterSpacing:"0.01em"},"data-id":"3m4fw82m1","data-path":"src/pages/HomePage.tsx",children:["Building Champions ",l.jsx("span",{style:{color:"#E8A020"},"data-id":"85h55ak9g","data-path":"src/pages/HomePage.tsx",children:"On & Off"})," the Field"]}),l.jsx("p",{className:"text-lg sm:text-xl max-w-3xl mx-auto mb-10 leading-relaxed animate-fadeInUp delay-200",style:{color:"#C8E0D4"},"data-id":"vpuif7db4","data-path":"src/pages/HomePage.tsx",children:"Hoopa Youth Cheer & Football Association gives young people in our community the opportunity to grow through organized sports — developing sportsmanship, citizenship, fitness, and teamwork with the guidance of caring adults."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center animate-fadeInUp delay-300","data-id":"0m399fx5m","data-path":"src/pages/HomePage.tsx",children:[l.jsx(G,{to:"/donate",className:"px-8 py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:scale-105 hover:opacity-95 shadow-lg",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"fkt2nnk3s","data-path":"src/pages/HomePage.tsx",children:"DONATE NOW"}),l.jsx(G,{to:"/programs",className:"px-8 py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:scale-105 border-2",style:{borderColor:"#FDF8F0",color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"fffghqb1q","data-path":"src/pages/HomePage.tsx",children:"EXPLORE PROGRAMS"})]})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6",style:{background:"#FDF8F0"},"data-id":"a351nz76f","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-12 items-center","data-id":"t9vqomr15","data-path":"src/pages/HomePage.tsx",children:[l.jsx(Vr,{"data-id":"whv9pulx6","data-path":"src/pages/HomePage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1574623452334-1e0ac2b3ccb4?w=700&auto=format&fit=crop",alt:"Youth team",className:"rounded-2xl shadow-2xl w-full object-cover",style:{height:"420px"},"data-id":"nfzisjtvb","data-path":"src/pages/HomePage.tsx"})}),l.jsxs(Vr,{className:"delay-200","data-id":"bwiczc9nk","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"qidzbg363","data-path":"src/pages/HomePage.tsx",children:"Who We Are"}),l.jsx("h2",{className:"text-4xl sm:text-5xl font-bold mb-6",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"u2my64skk","data-path":"src/pages/HomePage.tsx",children:"Rooted in Community, Growing Champions"}),l.jsx("p",{className:"text-base leading-relaxed mb-8",style:{color:"#3D5C4A"},"data-id":"ndhizjj34","data-path":"src/pages/HomePage.tsx",children:"The Hoopa Youth Cheer & Football Association has been a cornerstone of the Klamath Trinity community for over a decade, serving the young people of the Klamath Trinity Unified School District with organized football and cheerleading programs that go far beyond the game. We believe that sports are one of the most powerful vehicles for teaching the values that shape character — discipline, cooperation, resilience, and pride. Our programs are built on the understanding that every child who laces up their cleats or learns their first cheer routine carries the potential to become an extraordinary person. Guided by a community of dedicated coaches, volunteers, and parents, HYCFA is where Hoopa's youth discover who they are and what they can become. Together, we rise."}),l.jsx(G,{to:"/about",className:"inline-block px-7 py-3 rounded-full font-bold text-sm tracking-wider transition-all duration-200 hover:scale-105",style:{background:"#0E3320",color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"r7y9yoe14","data-path":"src/pages/HomePage.tsx",children:"LEARN MORE"})]})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"o4ojjb2zz","data-path":"src/pages/HomePage.tsx",children:l.jsx("div",{className:"max-w-4xl mx-auto grid grid-cols-1 sm:grid-cols-3 gap-8 text-center","data-id":"fbxdkmnvg","data-path":"src/pages/HomePage.tsx",children:F2.map((e,t)=>l.jsxs(Vr,{className:`delay-${(t+1)*100}`,"data-id":"97ypqwa38","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"text-5xl sm:text-6xl font-bold mb-2",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"4x8kvwvzt","data-path":"src/pages/HomePage.tsx",children:e.number}),l.jsx("div",{className:"text-sm tracking-wider uppercase",style:{color:"#B0C8BC",fontFamily:"'Oswald', sans-serif"},"data-id":"2aljtr19b","data-path":"src/pages/HomePage.tsx",children:e.label})]},e.label))})}),l.jsx("section",{className:"py-20 px-4 sm:px-6",style:{background:"#F4EFE5"},"data-id":"zinfehkqe","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto","data-id":"8n6smxxwv","data-path":"src/pages/HomePage.tsx",children:[l.jsxs(Vr,{className:"text-center mb-14","data-id":"rkgo46cst","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"78gtafp9e","data-path":"src/pages/HomePage.tsx",children:"What We Offer"}),l.jsx("h2",{className:"text-4xl sm:text-5xl font-bold",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"h2g09fv88","data-path":"src/pages/HomePage.tsx",children:"Our Programs"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"mgq43qf8j","data-path":"src/pages/HomePage.tsx",children:N2.map((e,t)=>l.jsx(Vr,{className:`delay-${(t+1)*100}`,"data-id":"8ntuzbxzx","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"bg-white rounded-2xl overflow-hidden shadow-lg group hover:shadow-xl transition-shadow duration-300 flex flex-col h-full","data-id":"rlaz7zgbi","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"relative overflow-hidden h-52","data-id":"udhf7npsg","data-path":"src/pages/HomePage.tsx",children:[l.jsx("img",{src:e.img,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500","data-id":"q3t6oirr8","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(14,51,32,0.6), transparent)"},"data-id":"vtdbq9sbq","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute bottom-3 left-4 text-3xl","data-id":"b752aq5kt","data-path":"src/pages/HomePage.tsx",children:e.icon})]}),l.jsxs("div",{className:"p-6 flex flex-col flex-grow","data-id":"5hova0ynp","data-path":"src/pages/HomePage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-3",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"vaibzqrik","data-path":"src/pages/HomePage.tsx",children:e.title}),l.jsx("p",{className:"text-sm leading-relaxed flex-grow",style:{color:"#5C7A6A"},"data-id":"toup077hl","data-path":"src/pages/HomePage.tsx",children:e.desc}),l.jsx(G,{to:e.path,className:"inline-block mt-5 px-5 py-2.5 rounded-full text-sm font-bold tracking-wider transition-all duration-200 hover:scale-105 w-fit",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"dg8ah6ixk","data-path":"src/pages/HomePage.tsx",children:"VIEW DETAILS"})]})]})},e.title))})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 relative overflow-hidden",style:{background:"#1B5E35"},"data-id":"j48uu5ngh","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:"radial-gradient(circle at 20% 50%, #E8A020 0%, transparent 50%), radial-gradient(circle at 80% 50%, #FDF8F0 0%, transparent 50%)"},"data-id":"vfwkxz6qs","data-path":"src/pages/HomePage.tsx"}),l.jsxs(Vr,{className:"max-w-3xl mx-auto text-center relative z-10","data-id":"tukq1p7w1","data-path":"src/pages/HomePage.tsx",children:[l.jsx("h2",{className:"text-4xl sm:text-5xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"6fmu7seuk","data-path":"src/pages/HomePage.tsx",children:"Every Child Deserves a Chance to Shine"}),l.jsx("p",{className:"text-base sm:text-lg leading-relaxed mb-8",style:{color:"#C8E0D4"},"data-id":"gajw36tqf","data-path":"src/pages/HomePage.tsx",children:"When you stand behind HYCFA, you're investing in more than a season of play — you're shaping the future of the Hoopa community one young person at a time. Your support provides equipment, uniforms, coaching, and programs that transform youth into confident, capable citizens. Whether you volunteer, donate, or spread the word, your involvement matters deeply. Join our community and help us build a generation of leaders who will carry these values forward for decades to come."}),l.jsx(G,{to:"/donate",className:"inline-block px-10 py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:scale-105 shadow-xl",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"lyec3knw0","data-path":"src/pages/HomePage.tsx",children:"SUPPORT OUR WORK"})]})]}),l.jsx(Fe,{"data-id":"nnd84gpdv","data-path":"src/pages/HomePage.tsx"})]})}function zi({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"jjwvo4srl","data-path":"src/pages/AboutPage.tsx",children:e})}function R2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"mzhktltsq","data-path":"src/pages/AboutPage.tsx",children:[l.jsx(Ne,{"data-id":"5zjt2tadf","data-path":"src/pages/AboutPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"czkzn9r3s","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"tp0ic5z9z","data-path":"src/pages/AboutPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"3xn1r7al3","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"ofdd2x1wd","data-path":"src/pages/AboutPage.tsx",children:"About Us"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"a0lea2eqo","data-path":"src/pages/AboutPage.tsx",children:"Who We Are"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full",style:{background:"#E8A020"},"data-id":"f7i5eo9wf","data-path":"src/pages/AboutPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"sl0r4h83c","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-14 items-start","data-id":"k66mijmip","data-path":"src/pages/AboutPage.tsx",children:[l.jsx(zi,{"data-id":"n0zxcmz2x","data-path":"src/pages/AboutPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1574623452334-1e0ac2b3ccb4?w=700&auto=format&fit=crop",alt:"HYCFA team",className:"rounded-2xl shadow-xl w-full object-cover",style:{height:"460px"},"data-id":"fhwtyu9nl","data-path":"src/pages/AboutPage.tsx"})}),l.jsxs(zi,{className:"delay-200","data-id":"xtegrbj4p","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"w0vj38c2q","data-path":"src/pages/AboutPage.tsx",children:"Our Organization"}),l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold mb-6",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"smugzik7f","data-path":"src/pages/AboutPage.tsx",children:"A Community Investment in Young People"}),l.jsxs("div",{className:"space-y-5 text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"uj2mc1cel","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("p",{"data-id":"ldovzkdut","data-path":"src/pages/AboutPage.tsx",children:"The Hoopa Youth Cheer & Football Association was founded by a group of parents and community leaders who understood a simple but powerful truth: young people thrive when they have structure, mentorship, and the opportunity to belong to something bigger than themselves. Operating within the Klamath Trinity Unified School District, HYCFA serves youth from ages 5 through 14, giving them access to organized football and cheerleading programs that are professionally coached, safely managed, and deeply rooted in community values. We exist not only to teach the fundamentals of sport, but to shape the character of the next generation of Hoopa's citizens. Every drill run, every cheer mastered, and every game played is an investment in the full potential of a young person."}),l.jsx("p",{"data-id":"scn004khr","data-path":"src/pages/AboutPage.tsx",children:"At HYCFA, we believe that participation in organized youth sports is one of the most transformative experiences a child can have. Our programs bring together families from across the Klamath Trinity region and create a shared sense of pride, belonging, and purpose. We maintain high standards for our coaches, requiring background checks and youth safety training, because the welfare of every child in our care is our highest responsibility. Beyond athletic development, we work intentionally to build academic habits, civic responsibility, and healthy lifestyles that serve our youth throughout their lives. HYCFA is a registered nonprofit organization. Registration No: 26-0736342."})]})]})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6",style:{background:"#F4EFE5"},"data-id":"fl5vx1ulk","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"cml2a1b8t","data-path":"src/pages/AboutPage.tsx",children:[l.jsx(zi,{className:"text-center mb-10","data-id":"ynhnudbmo","data-path":"src/pages/AboutPage.tsx",children:l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"u71gnhz22","data-path":"src/pages/AboutPage.tsx",children:"Learn More About Us"})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6","data-id":"katklm4hu","data-path":"src/pages/AboutPage.tsx",children:[{title:"Our Story",desc:"Discover how HYCFA came to be and the milestones that have shaped our journey.",path:"/about/our-story",icon:"📖"},{title:"Mission & Values",desc:"Explore the beliefs and principles that guide every decision we make.",path:"/about/mission-values",icon:"🎯"},{title:"Our Team",desc:"Meet the coaches, leaders, and volunteers who make it all possible.",path:"/about/team",icon:"ðŸ¤"}].map((e,t)=>l.jsx(zi,{className:`delay-${(t+1)*100}`,"data-id":"pkgo999ak","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"bg-white rounded-2xl p-7 shadow-md hover:shadow-lg transition-shadow h-full flex flex-col","data-id":"0lyibntk0","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"text-4xl mb-4","data-id":"0oj500dcr","data-path":"src/pages/AboutPage.tsx",children:e.icon}),l.jsx("h3",{className:"text-xl font-bold mb-3",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"7ulnk1nz6","data-path":"src/pages/AboutPage.tsx",children:e.title}),l.jsx("p",{className:"text-sm leading-relaxed flex-grow",style:{color:"#5C7A6A"},"data-id":"97oxs1o0q","data-path":"src/pages/AboutPage.tsx",children:e.desc}),l.jsx(G,{to:e.path,className:"mt-5 inline-block text-sm font-bold tracking-wider hover:underline",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"v6mawcye9","data-path":"src/pages/AboutPage.tsx",children:"READ MORE →"})]})},e.title))})]})}),l.jsx(Fe,{"data-id":"ugd7fzv3e","data-path":"src/pages/AboutPage.tsx"})]})}function Nm({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"tanh2wue3","data-path":"src/pages/OurStoryPage.tsx",children:e})}const Fm=[{year:"2010",event:"HYCFA founded by a group of Hoopa parents committed to giving local youth a safe, organized sports experience."},{year:"2012",event:"First full season of tackle football and sideline cheerleading, with 40 youth participants from across the district."},{year:"2015",event:"Launched the Future Leaders Initiative, expanding beyond sports to life skills and academic mentorship."},{year:"2018",event:"Reached 100+ active participants per season; established formal coach certification requirements."},{year:"2022",event:"Celebrated 200+ youth served annually, with alumni returning as volunteer coaches and community leaders."},{year:"2024",event:"Expanded Spirit & Pride Cheer Academy to include competitive cheerleading opportunities for older youth."}];function D2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"w6q8hdcow","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx(Ne,{"data-id":"noe6agsqq","data-path":"src/pages/OurStoryPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"8mwfqpdel","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"3a1bn0v8g","data-path":"src/pages/OurStoryPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"84lzxlsv5","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"lk724qdkm","data-path":"src/pages/OurStoryPage.tsx",children:"About Us"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"b4u3i0vo0","data-path":"src/pages/OurStoryPage.tsx",children:"Our Story"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full",style:{background:"#E8A020"},"data-id":"ih30frwc1","data-path":"src/pages/OurStoryPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"548i31lnm","data-path":"src/pages/OurStoryPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"8axc9r1gs","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx(Nm,{"data-id":"a35cw73hv","data-path":"src/pages/OurStoryPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 items-center mb-16","data-id":"tvemai04q","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs("div",{"data-id":"jxv96guxn","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"cx7ilzgem","data-path":"src/pages/OurStoryPage.tsx",children:"Where It All Began"}),l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold mb-5",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"2xpcnva9b","data-path":"src/pages/OurStoryPage.tsx",children:"A Community That Refused to Sit Still"}),l.jsx("p",{className:"text-base leading-relaxed mb-5",style:{color:"#3D5C4A"},"data-id":"rcra5q4cp","data-path":"src/pages/OurStoryPage.tsx",children:"The story of HYCFA begins where all great community stories do — around kitchen tables, at school pickup lines, and on sidelines where parents watched their children with both love and longing. In the early 2000s, youth in the Hoopa Valley had limited structured outlets for their energy, their competitive spirits, and their natural drive to belong to something meaningful. A handful of determined parents and coaches saw the gap and decided to fill it. They pooled their expertise, their weekends, and their belief in Hoopa's young people to launch what would become the Hoopa Youth Cheer & Football Association — a volunteer-powered, community-driven organization built from the ground up on the idea that every child in the Klamath Trinity region deserves a fair shot at greatness."}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"5euw0m63y","data-path":"src/pages/OurStoryPage.tsx",children:"The early years were scrappy and inspiring in equal measure. Coaches improvised with borrowed equipment. Parents drove hours to away games. Children who had never touched a football or performed a cheer routine discovered talents they didn't know they had. And slowly, something remarkable happened: families that had barely spoken found common ground on the bleachers. Kids who struggled in classrooms found confidence through athletics. The association grew not because of flashy resources, but because of the unwavering belief shared by everyone involved that youth sports, done right, can change lives. That belief is still the heartbeat of HYCFA today."})]}),l.jsx("img",{src:"https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=600&auto=format&fit=crop",alt:"Football youth",className:"rounded-2xl shadow-xl w-full object-cover",style:{height:"380px"},"data-id":"7h1jfj3xd","data-path":"src/pages/OurStoryPage.tsx"})]})}),l.jsxs(Nm,{className:"delay-200","data-id":"v89848is5","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"co1nycl3d","data-path":"src/pages/OurStoryPage.tsx",children:"Key Milestones"}),l.jsx("h2",{className:"text-3xl font-bold mb-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"svqrh9vap","data-path":"src/pages/OurStoryPage.tsx",children:"A Journey of Growth"}),l.jsx("div",{className:"space-y-0","data-id":"l6wjrczry","data-path":"src/pages/OurStoryPage.tsx",children:Fm.map((e,t)=>l.jsxs("div",{className:"flex gap-5 pb-8 relative","data-id":"7j7zjec2j","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs("div",{className:"flex flex-col items-center","data-id":"at51lrn6j","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center font-bold text-xs flex-shrink-0 z-10",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"7hxx1hw7j","data-path":"src/pages/OurStoryPage.tsx",children:e.year.slice(2)}),t<Fm.length-1&&l.jsx("div",{className:"w-0.5 flex-grow mt-2",style:{background:"rgba(14,51,32,0.2)"},"data-id":"a2b4n9by3","data-path":"src/pages/OurStoryPage.tsx"})]}),l.jsxs("div",{className:"pt-1.5","data-id":"87jy2r6dn","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"font-bold text-sm mb-1",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"ps12oowma","data-path":"src/pages/OurStoryPage.tsx",children:e.year}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#3D5C4A"},"data-id":"elwcwkiwr","data-path":"src/pages/OurStoryPage.tsx",children:e.event})]})]},e.year))})]})]})}),l.jsx(Fe,{"data-id":"jqienaogb","data-path":"src/pages/OurStoryPage.tsx"})]})}function Vi({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"e9xyqqdnr","data-path":"src/pages/MissionValuesPage.tsx",children:e})}const M2=[{icon:"ðŸ¤",title:"Teamwork",desc:"We believe that no individual achieves greatness alone. Every practice and every game teaches our youth to rely on one another, support each other through failure, and celebrate as one united team."},{icon:"ðŸ…",title:"Sportsmanship",desc:"Winning with grace and losing with dignity are lessons that outlast any championship. We hold our players and coaches to the highest standard of respectful, fair, and honorable conduct at all times."},{icon:"📚",title:"Education First",desc:"Athletic excellence begins in the classroom. We expect academic effort from every participant and actively encourage good study habits, because the discipline of learning and the discipline of sport are one and the same."},{icon:"â¤ï¸",title:"Community Care",desc:"Our organization is inseparable from the Hoopa community that created it. We operate with a deep sense of responsibility to the families, elders, and neighbors who make the Klamath Trinity region home."},{icon:"🌱",title:"Personal Growth",desc:"We are committed to helping each young person discover and exceed their own limits. Growth happens at the intersection of challenge and support, and we provide both in equal measure."},{icon:"🛡ï¸",title:"Youth Safety",desc:"Every decision we make is filtered through one lens: is this safe and right for our youth? We hold our coaches to rigorous certification standards and maintain an environment where every child feels protected and valued."}];function L2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"i944xq0vy","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx(Ne,{"data-id":"obirmq0q9","data-path":"src/pages/MissionValuesPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"lz1gtpq18","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"mjp16w06q","data-path":"src/pages/MissionValuesPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"fwy65mqma","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"fr6mlff1s","data-path":"src/pages/MissionValuesPage.tsx",children:"About Us"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"ro0igfuuw","data-path":"src/pages/MissionValuesPage.tsx",children:"Mission & Values"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full",style:{background:"#E8A020"},"data-id":"bti6jqppl","data-path":"src/pages/MissionValuesPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"u95k3qkx0","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"yjgtwk9nr","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx(Vi,{"data-id":"2j3keh78o","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"rounded-2xl p-8 sm:p-12 mb-16 text-center",style:{background:"#0E3320"},"data-id":"wrv9224k0","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"mgu1dkdi9","data-path":"src/pages/MissionValuesPage.tsx",children:"Our Mission"}),l.jsx("p",{className:"text-lg sm:text-xl leading-relaxed italic",style:{color:"#C8E0D4",fontFamily:"'Lora', Georgia, serif"},"data-id":"prbng31hz","data-path":"src/pages/MissionValuesPage.tsx",children:`"Hoopa Youth Cheer & Football Association's mission is to provide youth within the Klamath Trinity Unified School District the opportunity to participate in organized football and cheerleading programs, learn the fundamentals of the sports, and develop sportsmanship, citizenship, education, physical fitness, and teamwork under the guidance of responsible adults who prioritize youth welfare."`})]})}),l.jsx(Vi,{className:"delay-200 mb-16","data-id":"pyv5tyokq","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"rounded-2xl p-8 border-l-4",style:{background:"#F4EFE5",borderColor:"#E8A020"},"data-id":"evklxw3d2","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"08j88k2yy","data-path":"src/pages/MissionValuesPage.tsx",children:"Our Vision"}),l.jsx("h2",{className:"text-2xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"bzsytu9zb","data-path":"src/pages/MissionValuesPage.tsx",children:"Where We're Headed"}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"p68qnty4i","data-path":"src/pages/MissionValuesPage.tsx",children:"We envision a Klamath Trinity community where every young person — regardless of background or ability — has access to the transformative power of organized youth sports. We see a future where HYCFA alumni are the coaches, teachers, parents, and civic leaders who continue the cycle of positive investment in the next generation. Our long-term goal is to be recognized as a model for how rural, Indigenous community sports programs can create lasting, measurable change in youth outcomes across health, education, and civic engagement."})]})})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6",style:{background:"#F4EFE5"},"data-id":"3n7b6l4vy","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"biwpohaul","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs(Vi,{className:"text-center mb-12","data-id":"436l0a5m0","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"dql6sfak3","data-path":"src/pages/MissionValuesPage.tsx",children:"What We Stand For"}),l.jsx("h2",{className:"text-4xl font-bold",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"7rk6ate4y","data-path":"src/pages/MissionValuesPage.tsx",children:"Our Core Values"})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6","data-id":"2sfhgeoby","data-path":"src/pages/MissionValuesPage.tsx",children:M2.map((e,t)=>l.jsx(Vi,{className:`delay-${(t%3+1)*100}`,"data-id":"vr4jozoeu","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"bg-white rounded-2xl p-7 shadow-md hover:shadow-lg transition-shadow h-full","data-id":"ss07t3qte","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"text-4xl mb-4","data-id":"85q8rqbbh","data-path":"src/pages/MissionValuesPage.tsx",children:e.icon}),l.jsx("h3",{className:"text-xl font-bold mb-3",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"e4wt05hiy","data-path":"src/pages/MissionValuesPage.tsx",children:e.title}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#5C7A6A"},"data-id":"pqvkmhxwn","data-path":"src/pages/MissionValuesPage.tsx",children:e.desc})]})},e.title))})]})}),l.jsx(Fe,{"data-id":"amkwcifre","data-path":"src/pages/MissionValuesPage.tsx"})]})}function I2({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"d5l176ibs","data-path":"src/pages/TeamPage.tsx",children:e})}const z2=[{name:"Robert Strikes",role:"Executive Director & Head Football Coach",img:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=300&auto=format&fit=crop&q=80",bio:"Robert has been coaching youth football in the Hoopa Valley for over fifteen years and brings an infectious passion for youth development to everything he does. As a father of three and lifelong Hoopa resident, he understands firsthand how transformative organized sports can be for young people navigating the challenges of rural adolescence. Robert holds a certification in youth athletic coaching and has completed comprehensive youth safety training. His vision for HYCFA is rooted in the belief that every child who walks through our program doors carries an extraordinary future — and our job is simply to help them find it."},{name:"Maria Colegrove",role:"Cheer Program Director",img:"https://images.unsplash.com/photo-1494790108755-2616b612b786?w=300&auto=format&fit=crop&q=80",bio:"Maria joined HYCFA in 2014 after a decade of teaching dance and physical education across Humboldt County schools. She built the Spirit & Pride Cheer Academy from the ground up, designing a curriculum that meets youth athletes exactly where they are while pushing them to discover new heights of performance and confidence. Maria's approach to cheerleading is deeply holistic — she trains athletes in physical technique while simultaneously cultivating the emotional resilience and leadership presence that make great cheerleaders and even greater people. Her cheerleaders consistently describe her as the most influential mentor of their youth."},{name:"David Hostler",role:"Assistant Coach & Community Outreach Coordinator",img:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=300&auto=format&fit=crop&q=80",bio:"David came to HYCFA as a parent volunteer in 2016 and never left. A former youth football player himself, he brings empathy and street-level insight to his coaching that resonates deeply with the kids on his roster. As Community Outreach Coordinator, David works to ensure that every family in the Klamath Trinity Unified School District knows about HYCFA's programs and has a clear, accessible path to participation. He is particularly passionate about removing financial barriers to enrollment and has personally helped coordinate equipment donations and scholarship support for dozens of families over the years."},{name:"Tanya McCovey",role:"Future Leaders Initiative Program Lead",img:"https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?w=300&auto=format&fit=crop&q=80",bio:"Tanya brings a background in social work and youth counseling to her leadership of the Future Leaders Initiative, giving the program a depth and intentionality that sets it apart from typical sports-adjacent life skills efforts. She designs each workshop with the specific cultural, social, and developmental context of Hoopa's youth in mind, drawing on local wisdom and national research in equal measure. Tanya is a tireless advocate for the whole-child model of youth development, insisting that sports programs have a responsibility to nurture young people's emotional intelligence, academic engagement, and civic identity alongside their athletic ability."}];function V2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"ujalvj9im","data-path":"src/pages/TeamPage.tsx",children:[l.jsx(Ne,{"data-id":"gkozskj1q","data-path":"src/pages/TeamPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"bv28fy4r3","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"odhxdgcgf","data-path":"src/pages/TeamPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"4srrbd1r2","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"4bi07nw5d","data-path":"src/pages/TeamPage.tsx",children:"About Us"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"kxvwpihvy","data-path":"src/pages/TeamPage.tsx",children:"Our Team"}),l.jsx("p",{className:"text-base max-w-2xl mx-auto",style:{color:"#C8E0D4"},"data-id":"rws3rxmxk","data-path":"src/pages/TeamPage.tsx",children:"The dedicated people who show up every day — on the field, in the gym, and in the community — to make HYCFA possible."}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"axusqfmtf","data-path":"src/pages/TeamPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"965yyygww","data-path":"src/pages/TeamPage.tsx",children:l.jsx("div",{className:"max-w-5xl mx-auto space-y-12","data-id":"nulzdumz0","data-path":"src/pages/TeamPage.tsx",children:z2.map((e,t)=>l.jsx(I2,{className:`delay-${(t%2+1)*100}`,"data-id":"usy5meg2y","data-path":"src/pages/TeamPage.tsx",children:l.jsxs("div",{className:`flex flex-col ${t%2===0?"md:flex-row":"md:flex-row-reverse"} gap-8 items-start bg-white rounded-2xl overflow-hidden shadow-lg`,"data-id":"0acz8czip","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("img",{src:e.img,alt:e.name,className:"w-full md:w-52 h-64 md:h-auto object-cover flex-shrink-0","data-id":"utykv1yf5","data-path":"src/pages/TeamPage.tsx"}),l.jsxs("div",{className:"p-8 flex flex-col justify-center","data-id":"er4iasahh","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-2",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"gz837ba64","data-path":"src/pages/TeamPage.tsx",children:e.role}),l.jsx("h3",{className:"text-2xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"t7917uxco","data-path":"src/pages/TeamPage.tsx",children:e.name}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#3D5C4A"},"data-id":"hdr7g0c9x","data-path":"src/pages/TeamPage.tsx",children:e.bio})]})]})},e.name))})}),l.jsx(Fe,{"data-id":"nuqwa0joz","data-path":"src/pages/TeamPage.tsx"})]})}function _2({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"6ld0qya5i","data-path":"src/pages/ProgramsPage.tsx",children:e})}const B2=[{title:"Gridiron Foundations Program",icon:"ðŸˆ",tagline:"Fundamentals • Sportsmanship • Physical Fitness",img:"https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=700&auto=format&fit=crop",desc:"Our flagship youth football program teaches the game from the ground up while building the character traits that last a lifetime.",path:"/programs/football"},{title:"Spirit & Pride Cheer Academy",icon:"📣",tagline:"Athletic Performance • Confidence • Team Spirit",img:"https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=700&auto=format&fit=crop",desc:"A dynamic cheerleading program that develops athletic skill, leadership presence, and community pride in young performers.",path:"/programs/cheer"},{title:"Future Leaders Initiative",icon:"🌟",tagline:"Life Skills • Citizenship • Academic Success",img:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=700&auto=format&fit=crop",desc:"Beyond the field and sideline, this initiative prepares youth to be engaged, capable citizens who contribute to their community.",path:"/programs/leadership"}];function H2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"33zc85x5r","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx(Ne,{"data-id":"1fqduxfr4","data-path":"src/pages/ProgramsPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"hw5c1p2ff","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"m6o07rqma","data-path":"src/pages/ProgramsPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"9vc44tz94","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"xx6uojwry","data-path":"src/pages/ProgramsPage.tsx",children:"What We Offer"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"7me4ux7ow","data-path":"src/pages/ProgramsPage.tsx",children:"Our Programs"}),l.jsx("p",{className:"text-base max-w-2xl mx-auto",style:{color:"#C8E0D4"},"data-id":"gafig3bth","data-path":"src/pages/ProgramsPage.tsx",children:"Three distinct pathways for youth in the Klamath Trinity region to grow, compete, and discover their best selves."}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"tfxcn2ehc","data-path":"src/pages/ProgramsPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"ad0yg3nai","data-path":"src/pages/ProgramsPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto space-y-12","data-id":"5npmwr92t","data-path":"src/pages/ProgramsPage.tsx",children:B2.map((e,t)=>l.jsx(_2,{className:`delay-${(t+1)*100}`,"data-id":"gq1sngou8","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:`flex flex-col ${t%2===0?"lg:flex-row":"lg:flex-row-reverse"} gap-0 rounded-2xl overflow-hidden shadow-xl bg-white`,"data-id":"qpien932t","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsxs("div",{className:"relative lg:w-2/5 h-64 lg:h-auto overflow-hidden","data-id":"dqf5n4rsc","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("img",{src:e.img,alt:e.title,className:"w-full h-full object-cover","data-id":"i4nkvk9qh","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(14,51,32,0.4), transparent)"},"data-id":"7uccoct3g","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("div",{className:"absolute top-4 left-4 text-5xl","data-id":"p3tnckala","data-path":"src/pages/ProgramsPage.tsx",children:e.icon})]}),l.jsxs("div",{className:"lg:w-3/5 p-8 sm:p-10 flex flex-col justify-center","data-id":"ul5pgti2v","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest mb-2",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"6i8onfzd9","data-path":"src/pages/ProgramsPage.tsx",children:e.tagline}),l.jsx("h2",{className:"text-2xl sm:text-3xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"1twdbm2ts","data-path":"src/pages/ProgramsPage.tsx",children:e.title}),l.jsx("p",{className:"text-base leading-relaxed mb-6",style:{color:"#3D5C4A"},"data-id":"47befkyjl","data-path":"src/pages/ProgramsPage.tsx",children:e.desc}),l.jsx(G,{to:e.path,className:"inline-block px-7 py-3 rounded-full font-bold text-sm tracking-wider transition-all duration-200 hover:scale-105 w-fit",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"dxz8g3dtn","data-path":"src/pages/ProgramsPage.tsx",children:"VIEW DETAILS"})]})]})},e.title))})}),l.jsx(Fe,{"data-id":"ik2gbyblb","data-path":"src/pages/ProgramsPage.tsx"})]})}function _i({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"farxtusy5","data-path":"src/pages/FootballProgramPage.tsx",children:e})}function U2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"xy7njue8u","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx(Ne,{"data-id":"3kfrufvgb","data-path":"src/pages/FootballProgramPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"ot68ugjki","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-30",style:{backgroundImage:"url('https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"mjdqmklbs","data-path":"src/pages/FootballProgramPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"4xr59njnt","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"wb2usb8h8","data-path":"src/pages/FootballProgramPage.tsx",children:"Programs"}),l.jsx("div",{className:"text-6xl mb-4","data-id":"1o3elov6f","data-path":"src/pages/FootballProgramPage.tsx",children:"ðŸˆ"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-4",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"g3l3ip2oa","data-path":"src/pages/FootballProgramPage.tsx",children:"Gridiron Foundations Program"}),l.jsx("p",{className:"text-base",style:{color:"#C8E0D4",fontFamily:"'Oswald', sans-serif",letterSpacing:"0.05em"},"data-id":"442tbu9ev","data-path":"src/pages/FootballProgramPage.tsx",children:"FUNDAMENTALS · SPORTSMANSHIP · PHYSICAL FITNESS"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"qdh31fyxj","data-path":"src/pages/FootballProgramPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"yzzu8tco9","data-path":"src/pages/FootballProgramPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"gip3bssap","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-start mb-16","data-id":"w6ra2kpl5","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx(_i,{"data-id":"rylng24xb","data-path":"src/pages/FootballProgramPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=700&auto=format&fit=crop",alt:"Youth football",className:"rounded-2xl shadow-xl w-full object-cover",style:{height:"420px"},"data-id":"rwuke7mj6","data-path":"src/pages/FootballProgramPage.tsx"})}),l.jsxs(_i,{className:"delay-200","data-id":"gwbsaxffh","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"uta6y6xs0","data-path":"src/pages/FootballProgramPage.tsx",children:"Program Overview"}),l.jsx("h2",{className:"text-3xl font-bold mb-5",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"swgb59j01","data-path":"src/pages/FootballProgramPage.tsx",children:"Where the Game Meets Growth"}),l.jsx("p",{className:"text-base leading-relaxed mb-5",style:{color:"#3D5C4A"},"data-id":"4up604a63","data-path":"src/pages/FootballProgramPage.tsx",children:"The Gridiron Foundations Program directly fulfills HYCFA's mission to provide organized football opportunities that teach youth the game's fundamentals while building the character that carries them through life. Open to youth ages 5–14 across the Klamath Trinity Unified School District, this program meets young athletes exactly where they are and challenges them to reach farther than they imagined possible."}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"6trn7xvts","data-path":"src/pages/FootballProgramPage.tsx",children:"Our program serves children from all backgrounds and athletic starting points, from first-timers who have never touched a football to seasoned youth athletes looking to sharpen their skills in a structured, mission-aligned environment."})]})]}),l.jsx(_i,{className:"delay-100","data-id":"873qlcpcf","data-path":"src/pages/FootballProgramPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-12","data-id":"z5mn6zcsv","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-7",style:{background:"#F4EFE5"},"data-id":"isus16hr5","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"foi7d763o","data-path":"src/pages/FootballProgramPage.tsx",children:"How the Program Works"}),l.jsx("ul",{className:"space-y-3 text-sm",style:{color:"#3D5C4A"},"data-id":"767ief62q","data-path":"src/pages/FootballProgramPage.tsx",children:["Weekly practices covering passing, catching, blocking, and tackling fundamentals","Flag football for ages 5–7; tackle football with full pads for ages 8–14","Certified coaches with youth safety training lead every session","Regular scrimmages and seasonal game schedule against district peers","Pre- and post-season team building activities and celebrations","Conditioning drills focused on age-appropriate physical fitness"].map((e,t)=>l.jsxs("li",{className:"flex gap-3","data-id":"5yspo2k0p","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("span",{className:"flex-shrink-0 mt-0.5",style:{color:"#E8A020"},"data-id":"uru8wx2ij","data-path":"src/pages/FootballProgramPage.tsx",children:"✓"}),l.jsx("span",{"data-id":"nqxtcw3k6","data-path":"src/pages/FootballProgramPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"rounded-2xl p-7",style:{background:"#0E3320"},"data-id":"q3gvennxc","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"lu5bucdr0","data-path":"src/pages/FootballProgramPage.tsx",children:"Who Benefits"}),l.jsx("p",{className:"text-sm leading-relaxed mb-4",style:{color:"#C8E0D4"},"data-id":"vzgyotjg0","data-path":"src/pages/FootballProgramPage.tsx",children:"The Gridiron Foundations Program was built for every youth in the Klamath Trinity community who wants to be part of a team, develop athletic skills, and experience the pride of representing their community on the field. No prior experience is required."}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#C8E0D4"},"data-id":"pvmt58j3e","data-path":"src/pages/FootballProgramPage.tsx",children:"Participants gain physical fitness, mental discipline, social confidence, and a sense of belonging that extends far beyond the football field. Parents gain the assurance that their children are in a safe, values-driven environment managed by certified, caring adults."})]})]})}),l.jsxs(_i,{className:"delay-200","data-id":"s5qgiq9hl","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-8 mb-10 border-l-4",style:{background:"white",borderColor:"#E8A020",boxShadow:"0 4px 20px rgba(0,0,0,0.08)"},"data-id":"tqanly3fg","data-path":"src/pages/FootballProgramPage.tsx",children:[l.jsx("h3",{className:"text-2xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"hkspgisxd","data-path":"src/pages/FootballProgramPage.tsx",children:"Our Unique Approach"}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"pcvl7807k","data-path":"src/pages/FootballProgramPage.tsx",children:"What sets the Gridiron Foundations Program apart is its unwavering commitment to developing the whole athlete. Every coaching session is designed with three equally weighted goals: teach the technical fundamentals of football, reinforce the values of sportsmanship and teamwork, and support each child's physical fitness and well-being. Our coaches are trained to recognize and nurture leadership potential in every player, regardless of their position on the field or their natural athletic gifts. We celebrate improvement just as loudly as touchdowns. We require players to maintain academic standards and we check in with teachers and parents regularly. At HYCFA, we believe that how a young person plays football reveals and develops who they will become — so we take both the game and the person seriously in equal measure. Families across the Klamath Trinity region have described the Gridiron Foundations Program as the single most positive structured activity in their child's life, citing improvements not just in athletic ability but in confidence, focus, and kindness."})]}),l.jsx("div",{className:"text-center","data-id":"cgz7mtutc","data-path":"src/pages/FootballProgramPage.tsx",children:l.jsx(G,{to:"/contact",className:"inline-block px-10 py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:scale-105 shadow-lg",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"rs7fji053","data-path":"src/pages/FootballProgramPage.tsx",children:"GET INVOLVED"})})]})]})}),l.jsx(Fe,{"data-id":"jzao13y3o","data-path":"src/pages/FootballProgramPage.tsx"})]})}function Bi({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"k2po9e7db","data-path":"src/pages/CheerProgramPage.tsx",children:e})}function $2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"20l47ixeq","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx(Ne,{"data-id":"3w69tfysh","data-path":"src/pages/CheerProgramPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"vzl9i72ds","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-30",style:{backgroundImage:"url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"vucoh5i1v","data-path":"src/pages/CheerProgramPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"zx8tz026s","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"0yz7y82ni","data-path":"src/pages/CheerProgramPage.tsx",children:"Programs"}),l.jsx("div",{className:"text-6xl mb-4","data-id":"iw41u866j","data-path":"src/pages/CheerProgramPage.tsx",children:"📣"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-4",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"iuo7n1o92","data-path":"src/pages/CheerProgramPage.tsx",children:"Spirit & Pride Cheer Academy"}),l.jsx("p",{className:"text-base",style:{color:"#C8E0D4",fontFamily:"'Oswald', sans-serif",letterSpacing:"0.05em"},"data-id":"zirymdq2n","data-path":"src/pages/CheerProgramPage.tsx",children:"ATHLETIC PERFORMANCE · CONFIDENCE · TEAM SPIRIT"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"4lwrdw73n","data-path":"src/pages/CheerProgramPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"2xhhcizh2","data-path":"src/pages/CheerProgramPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"36bpqmmkc","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-start mb-16","data-id":"kqdmpsacr","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx(Bi,{"data-id":"45qczj2mf","data-path":"src/pages/CheerProgramPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=700&auto=format&fit=crop",alt:"Cheerleading",className:"rounded-2xl shadow-xl w-full object-cover",style:{height:"420px"},"data-id":"ns78d4580","data-path":"src/pages/CheerProgramPage.tsx"})}),l.jsxs(Bi,{className:"delay-200","data-id":"zgvl3rl4d","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"pc5f3bldf","data-path":"src/pages/CheerProgramPage.tsx",children:"Program Overview"}),l.jsx("h2",{className:"text-3xl font-bold mb-5",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"y8611gmyc","data-path":"src/pages/CheerProgramPage.tsx",children:"Where Spirit Becomes Strength"}),l.jsx("p",{className:"text-base leading-relaxed mb-5",style:{color:"#3D5C4A"},"data-id":"dre2ygw3r","data-path":"src/pages/CheerProgramPage.tsx",children:"The Spirit & Pride Cheer Academy was built on the understanding that cheerleading is a sport — a demanding, creative, and deeply communal athletic discipline that develops young people in ways no other program can replicate. Aligned with HYCFA's mission to develop sportsmanship, physical fitness, and teamwork, this academy transforms young athletes into confident performers and community ambassadors."}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"rnj82fl53","data-path":"src/pages/CheerProgramPage.tsx",children:"The program is open to youth ages 6–15 across the Klamath Trinity region and welcomes participants with zero experience as enthusiastically as those who have been cheering since they could walk. Every participant finds their place, their role, and their voice here."})]})]}),l.jsx(Bi,{className:"delay-100","data-id":"jwuqoe9pb","data-path":"src/pages/CheerProgramPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-12","data-id":"yquexzggp","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-7",style:{background:"#F4EFE5"},"data-id":"lrulju4b1","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"0k1qla9wl","data-path":"src/pages/CheerProgramPage.tsx",children:"Program Activities"}),l.jsx("ul",{className:"space-y-3 text-sm",style:{color:"#3D5C4A"},"data-id":"jr4kovy0g","data-path":"src/pages/CheerProgramPage.tsx",children:["Cheer fundamentals: motions, jumps, tumbling, and dance choreography","Progressive stunting curriculum with certified safety spotters","Sideline support for HYCFA football games throughout the season","Performance showcases and community events","Leadership roles including captain development tracks","Physical conditioning tailored to cheerleading athleticism"].map((e,t)=>l.jsxs("li",{className:"flex gap-3","data-id":"nkzh7u3dm","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("span",{className:"flex-shrink-0 mt-0.5",style:{color:"#E8A020"},"data-id":"yv5rh3rqs","data-path":"src/pages/CheerProgramPage.tsx",children:"✓"}),l.jsx("span",{"data-id":"kiwatglxp","data-path":"src/pages/CheerProgramPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"rounded-2xl p-7",style:{background:"#0E3320"},"data-id":"5q5vm6jq2","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"55et573wg","data-path":"src/pages/CheerProgramPage.tsx",children:"Who Benefits"}),l.jsx("p",{className:"text-sm leading-relaxed mb-4",style:{color:"#C8E0D4"},"data-id":"2tc255fpj","data-path":"src/pages/CheerProgramPage.tsx",children:"Spirit & Pride is for every young person in the Klamath Trinity Unified School District who wants to develop athletically, creatively, and socially in a team environment that celebrates every individual's contribution."}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#C8E0D4"},"data-id":"pcunn7om0","data-path":"src/pages/CheerProgramPage.tsx",children:"Participants develop physical coordination, performance confidence, leadership skills, and a deep sense of pride in representing their community. Many describe the Cheer Academy as the place where they first truly felt like they belonged."})]})]})}),l.jsxs(Bi,{className:"delay-200","data-id":"upbo6g47h","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-8 mb-10 border-l-4",style:{background:"white",borderColor:"#E8A020",boxShadow:"0 4px 20px rgba(0,0,0,0.08)"},"data-id":"k6r364nsv","data-path":"src/pages/CheerProgramPage.tsx",children:[l.jsx("h3",{className:"text-2xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"qybs9b2mi","data-path":"src/pages/CheerProgramPage.tsx",children:"Our Unique Approach"}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"4efc7o0ch","data-path":"src/pages/CheerProgramPage.tsx",children:"The Spirit & Pride Cheer Academy refuses to treat cheerleading as a supporting act. Our coaches approach every training session with the discipline and intentionality of a varsity athletic program, because that's exactly what this is. We prioritize physical safety above all else, with a carefully sequenced stunting curriculum that earns each skill before advancing to the next level. At the same time, we cultivate the emotional and creative dimensions of cheer that distinguish it from other sports — the ability to read a crowd, to energize a stadium, to lead with your voice and your presence as much as your body. Our academy has produced young people who go on to perform at high school and collegiate levels, but more importantly, it has produced young people who understand what it means to give their community something beautiful to cheer about. We believe every participant in this program is both an athlete and an artist, and we nurture both with equal passion."})]}),l.jsx("div",{className:"text-center","data-id":"mw64wxx50","data-path":"src/pages/CheerProgramPage.tsx",children:l.jsx(G,{to:"/contact",className:"inline-block px-10 py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:scale-105 shadow-lg",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"lt22kk2fx","data-path":"src/pages/CheerProgramPage.tsx",children:"GET INVOLVED"})})]})]})}),l.jsx(Fe,{"data-id":"w5e9z03w2","data-path":"src/pages/CheerProgramPage.tsx"})]})}function Hi({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"zsmymg3hw","data-path":"src/pages/LeadershipProgramPage.tsx",children:e})}function W2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"pa0auskkb","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx(Ne,{"data-id":"chtjxl0hi","data-path":"src/pages/LeadershipProgramPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"bhy20tbkr","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-30",style:{backgroundImage:"url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"k9ro8rde7","data-path":"src/pages/LeadershipProgramPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"fgvnqs2ww","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"x1tmm4ho8","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Programs"}),l.jsx("div",{className:"text-6xl mb-4","data-id":"0a5ijojfh","data-path":"src/pages/LeadershipProgramPage.tsx",children:"🌟"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-4",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"sakxpqbzp","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Future Leaders Initiative"}),l.jsx("p",{className:"text-base",style:{color:"#C8E0D4",fontFamily:"'Oswald', sans-serif",letterSpacing:"0.05em"},"data-id":"0bykn1oad","data-path":"src/pages/LeadershipProgramPage.tsx",children:"LIFE SKILLS · CITIZENSHIP · ACADEMIC SUCCESS"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"zt344wscd","data-path":"src/pages/LeadershipProgramPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"sj2bj4wa5","data-path":"src/pages/LeadershipProgramPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"poispagdm","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-start mb-16","data-id":"i8ij1lmpf","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx(Hi,{"data-id":"lbrckxs9w","data-path":"src/pages/LeadershipProgramPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1497633762265-9d179a990aa6?w=700&auto=format&fit=crop",alt:"Youth leadership",className:"rounded-2xl shadow-xl w-full object-cover",style:{height:"420px"},"data-id":"36l93m8z6","data-path":"src/pages/LeadershipProgramPage.tsx"})}),l.jsxs(Hi,{className:"delay-200","data-id":"rlc38oo6t","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"t8aedsw76","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Program Overview"}),l.jsx("h2",{className:"text-3xl font-bold mb-5",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"mc63e65ss","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Beyond the Game — Into the World"}),l.jsx("p",{className:"text-base leading-relaxed mb-5",style:{color:"#3D5C4A"},"data-id":"jh4n8c9uo","data-path":"src/pages/LeadershipProgramPage.tsx",children:"The Future Leaders Initiative was born from HYCFA's conviction that our mission doesn't end when the season does. This supplementary program, open to all HYCFA participants aged 10 and up, delivers the life skills, civic education, and mentorship experiences that translate athletic character into everyday excellence."}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"1r9ew24fd","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Grounded in the mission's emphasis on citizenship, education, and responsible adult mentorship, the Future Leaders Initiative bridges the gap between the values young people develop on the field and the skills they need to navigate school, relationships, and community life."})]})]}),l.jsx(Hi,{className:"delay-100","data-id":"8q8zw3tfp","data-path":"src/pages/LeadershipProgramPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-12","data-id":"ti70m9g0m","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-7",style:{background:"#F4EFE5"},"data-id":"9rc83gvmu","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"5ik4dnui5","data-path":"src/pages/LeadershipProgramPage.tsx",children:"What We Do"}),l.jsx("ul",{className:"space-y-3 text-sm",style:{color:"#3D5C4A"},"data-id":"wtszsc9b1","data-path":"src/pages/LeadershipProgramPage.tsx",children:["Monthly life skills workshops on topics: financial literacy, communication, goal setting","One-on-one mentorship pairings with community leaders and HYCFA alumni","Community service projects that connect youth to their local environment","Academic check-ins and study skills support sessions","Leadership challenge experiences: peer mediation, event planning, public speaking","Year-end recognition ceremony celebrating growth in character and citizenship"].map((e,t)=>l.jsxs("li",{className:"flex gap-3","data-id":"xjdhog5gn","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("span",{className:"flex-shrink-0 mt-0.5",style:{color:"#E8A020"},"data-id":"59prqmzwz","data-path":"src/pages/LeadershipProgramPage.tsx",children:"✓"}),l.jsx("span",{"data-id":"jkp3ixptt","data-path":"src/pages/LeadershipProgramPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"rounded-2xl p-7",style:{background:"#0E3320"},"data-id":"2qrnx5iqt","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("h3",{className:"text-xl font-bold mb-4",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"wbataktst","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Who Benefits"}),l.jsx("p",{className:"text-sm leading-relaxed mb-4",style:{color:"#C8E0D4"},"data-id":"g1lyzmszq","data-path":"src/pages/LeadershipProgramPage.tsx",children:"The Future Leaders Initiative is for every HYCFA athlete who wants to translate the discipline they've learned on the field into a bigger vision for their life — and for every mentor, parent, or community member who believes Hoopa's youth deserve comprehensive support."}),l.jsx("p",{className:"text-sm leading-relaxed",style:{color:"#C8E0D4"},"data-id":"a2b8d4bp2","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Alumni of this program report higher graduation rates, stronger community engagement, and a clearer sense of purpose. Several have returned as HYCFA coaches and mentors, completing the cycle of investment that makes our community stronger each year."})]})]})}),l.jsxs(Hi,{className:"delay-200","data-id":"h3o3lmtuu","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-8 mb-10 border-l-4",style:{background:"white",borderColor:"#E8A020",boxShadow:"0 4px 20px rgba(0,0,0,0.08)"},"data-id":"gkrhrkg0g","data-path":"src/pages/LeadershipProgramPage.tsx",children:[l.jsx("h3",{className:"text-2xl font-bold mb-4",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"5t1t7c6vn","data-path":"src/pages/LeadershipProgramPage.tsx",children:"Our Unique Approach"}),l.jsx("p",{className:"text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"xce2dtqe4","data-path":"src/pages/LeadershipProgramPage.tsx",children:"What distinguishes the Future Leaders Initiative from typical life skills programming is its deeply relational design. We don't deliver information to young people and send them home — we walk alongside them. Every workshop is facilitated by community members who the participants already know and trust, which means conversations go deeper than they ever could with an outside presenter. We deliberately connect each session topic back to experiences the youth are having in the football program or cheer academy, using sports metaphors and real game-day moments to make abstract concepts concrete and immediately applicable. We also integrate Indigenous cultural values and Klamath Trinity community wisdom wherever possible, because the most enduring lessons are always the ones that feel like home. The Future Leaders Initiative doesn't create a parallel track separate from youth sports — it enriches and extends the same journey, ensuring that every young person who participates in HYCFA leaves with not just athletic memories, but the tools to build a life they are proud of."})]}),l.jsx("div",{className:"text-center","data-id":"e0t7ttv5u","data-path":"src/pages/LeadershipProgramPage.tsx",children:l.jsx(G,{to:"/contact",className:"inline-block px-10 py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:scale-105 shadow-lg",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"x0ouf525o","data-path":"src/pages/LeadershipProgramPage.tsx",children:"GET INVOLVED"})})]})]})}),l.jsx(Fe,{"data-id":"yefqr9h5y","data-path":"src/pages/LeadershipProgramPage.tsx"})]})}function na({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"vp4lzhvrg","data-path":"src/pages/ImpactPage.tsx",children:e})}const q2=[{number:"200+",label:"Youth Served Per Season"},{number:"14",label:"Years of Community Service"},{number:"40+",label:"Volunteer Coaches & Staff"},{number:"95%",label:"Season Completion Rate"},{number:"3",label:"Distinct Programs Offered"},{number:"100%",label:"Background-Checked Coaches"}],Y2=[{name:"Destiny T.",role:"Cheer Academy Alumna, Hoopa, CA",img:"https://images.unsplash.com/photo-1494790108755-2616b612b786?w=200&auto=format&fit=crop",story:"I joined the Spirit & Pride Cheer Academy when I was nine years old and I honestly didn't know what I was getting into. By my third season, I was captain. HYCFA didn't just teach me how to cheer — it taught me how to lead, how to lift the people around me, and how to carry myself with confidence no matter where I walked. When I started high school, I wasn't nervous because I already knew who I was. I learned that at HYCFA."},{name:"Marcus B.",role:"Gridiron Foundations Participant, Former Player, Willow Creek, CA",img:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&auto=format&fit=crop",story:"Football at HYCFA was where I learned that failure isn't the end — it's the beginning of the next practice. Coach Robert didn't give up on me even when I fumbled the same play four times in a row. He stayed after practice, ran the drill with me one more time, and said, 'You're going to get this. I've seen what you're capable of.' I never forgot that. That's how I approach everything now — my schoolwork, my job, my family. I owe HYCFA a lot."},{name:"Linda J.",role:"Parent of Two HYCFA Participants, Hoopa, CA",img:"https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?w=200&auto=format&fit=crop",story:"As a single mom, I was worried about finding an activity that my kids would love and that I could trust. HYCFA became our family's anchor. Both of my children — one in football, one in cheer — have blossomed in ways I couldn't have expected. They're more responsible, more empathetic, and more resilient. But more than anything, I've seen them develop a sense of pride in who they are and where they're from. The coaches here care about children as people, not just players. That means everything to me."}];function K2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"l9m5hu669","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx(Ne,{"data-id":"0np8xnfxc","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"3udxla1vg","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"url('https://images.unsplash.com/photo-1574623452334-1e0ac2b3ccb4?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"tzrwhv4qw","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"pf8bbca9w","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"l9f9fnatz","data-path":"src/pages/ImpactPage.tsx",children:"Making a Difference"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"6sk4c74f5","data-path":"src/pages/ImpactPage.tsx",children:"Our Impact"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full",style:{background:"#E8A020"},"data-id":"bge013qo0","data-path":"src/pages/ImpactPage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"t0h7vpazh","data-path":"src/pages/ImpactPage.tsx",children:l.jsx("div",{className:"max-w-4xl mx-auto","data-id":"zhsovb2ur","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs(na,{"data-id":"h60wuan4y","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"stmf6ij6e","data-path":"src/pages/ImpactPage.tsx",children:"The Difference We Make"}),l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold mb-6",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"l7pjk76aq","data-path":"src/pages/ImpactPage.tsx",children:"Transforming Youth, Strengthening Community"}),l.jsxs("div",{className:"space-y-5 text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"2l5tu0pq6","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("p",{"data-id":"pytkwhgg7","data-path":"src/pages/ImpactPage.tsx",children:"Since its founding, HYCFA has touched the lives of hundreds of young people across the Klamath Trinity Unified School District, creating ripples of positive change that extend far beyond football fields and cheerleading routines. Every season, we watch children walk through our doors uncertain of themselves and leave standing taller, thinking clearer, and believing more fully in who they can become. Our programs create the conditions for transformation by combining structured athletic development with consistent mentorship, clear values, and the kind of community belonging that every young person needs to thrive. The numbers we track are not just statistics — they represent real youth who found their confidence, their voice, and their place in the world through HYCFA."}),l.jsx("p",{"data-id":"wmhnn9r64","data-path":"src/pages/ImpactPage.tsx",children:"Beyond individual growth, HYCFA's impact radiates through entire families and neighborhoods. Parents who come to root for their children on the sideline find themselves becoming part of a larger community of support. Older youth who once participated return as volunteer coaches, keeping the cycle of investment alive. Local schools report improvements in classroom behavior and academic engagement among students who are active in our programs. The Klamath Trinity community is measurably stronger because its young people have a place to channel their energy, develop their character, and learn what it truly means to be part of a team. That is the mission in action — and that is the impact HYCFA will continue to create for generations to come."})]})]})})}),l.jsx("section",{className:"py-16 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"q48xd8bk6","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"1cbybeoxt","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx(na,{className:"text-center mb-12","data-id":"ivais6ukz","data-path":"src/pages/ImpactPage.tsx",children:l.jsx("h2",{className:"text-3xl font-bold",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"nfn4eop0f","data-path":"src/pages/ImpactPage.tsx",children:"Impact by the Numbers"})}),l.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-8 text-center","data-id":"y1026lnnh","data-path":"src/pages/ImpactPage.tsx",children:q2.map((e,t)=>l.jsxs(na,{className:`delay-${(t%3+1)*100}`,"data-id":"alack6kwp","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"text-4xl sm:text-5xl font-bold mb-2",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"2a8fxreaq","data-path":"src/pages/ImpactPage.tsx",children:e.number}),l.jsx("div",{className:"text-xs tracking-wider uppercase",style:{color:"#B0C8BC",fontFamily:"'Oswald', sans-serif"},"data-id":"rpmyed8x3","data-path":"src/pages/ImpactPage.tsx",children:e.label})]},e.label))})]})}),l.jsx("section",{className:"py-20 px-4 sm:px-6",style:{background:"#F4EFE5"},"data-id":"doaexmd7e","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"auebu64r7","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs(na,{className:"text-center mb-14","data-id":"ra8u5u6un","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"7fas9kxea","data-path":"src/pages/ImpactPage.tsx",children:"Real Stories"}),l.jsx("h2",{className:"text-4xl font-bold",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"r16frkt38","data-path":"src/pages/ImpactPage.tsx",children:"Voices from Our Community"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"327ho4loh","data-path":"src/pages/ImpactPage.tsx",children:Y2.map((e,t)=>l.jsx(na,{className:`delay-${(t+1)*100}`,"data-id":"krf9l3dx8","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"bg-white rounded-2xl p-7 shadow-md h-full flex flex-col","data-id":"kd12wpfkd","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-4 mb-5","data-id":"tqw84cvbg","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("img",{src:e.img,alt:e.name,className:"w-14 h-14 rounded-full object-cover flex-shrink-0","data-id":"pyec8ecxj","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("div",{"data-id":"hgdxqzc8n","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"font-bold text-sm",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"ea53v0t9b","data-path":"src/pages/ImpactPage.tsx",children:e.name}),l.jsx("div",{className:"text-xs",style:{color:"#E8A020"},"data-id":"4karlt5kg","data-path":"src/pages/ImpactPage.tsx",children:e.role})]})]}),l.jsx("div",{className:"text-4xl mb-3",style:{color:"#E8A020"},"data-id":"jm98ilibh","data-path":"src/pages/ImpactPage.tsx",children:'"'}),l.jsx("p",{className:"text-sm leading-relaxed flex-grow",style:{color:"#3D5C4A"},"data-id":"0z2pt0mhd","data-path":"src/pages/ImpactPage.tsx",children:e.story})]})},e.name))})]})}),l.jsx(Fe,{"data-id":"2wqkf2lx5","data-path":"src/pages/ImpactPage.tsx"})]})}function G2(){const[e,t]=v.useState("one-time");return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"kq205ed7t","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(Ne,{"data-id":"w9w25ijjp","data-path":"src/pages/DonatePage.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"7eo0naclq","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-15",style:{backgroundImage:"url('https://images.unsplash.com/photo-1574623452334-1e0ac2b3ccb4?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"uyiuqojbj","data-path":"src/pages/DonatePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"x0lmm2t52","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"mtxi5ln0x","data-path":"src/pages/DonatePage.tsx",children:"Support the Mission"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"uxwh4zelh","data-path":"src/pages/DonatePage.tsx",children:"Make a Difference Today"}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full",style:{background:"#E8A020"},"data-id":"snk0lh7jb","data-path":"src/pages/DonatePage.tsx"})]})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"hmhe4ibk3","data-path":"src/pages/DonatePage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-14","data-id":"ngx9nui8x","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{"data-id":"kppjhcc9o","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"rljfh2l44","data-path":"src/pages/DonatePage.tsx",children:"Why Your Support Matters"}),l.jsx("h2",{className:"text-3xl font-bold mb-5",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"wvlogccp5","data-path":"src/pages/DonatePage.tsx",children:"Every Dollar Builds a Future"}),l.jsx("p",{className:"text-base leading-relaxed mb-8",style:{color:"#3D5C4A"},"data-id":"7bp1o6bt7","data-path":"src/pages/DonatePage.tsx",children:"HYCFA is a volunteer-powered, community-funded organization that relies on the generosity of supporters like you to keep our programs accessible and free of financial barriers for every family in the Klamath Trinity region. Your donation purchases equipment, covers registration fees for youth who cannot afford them, funds coach training and certification, and ensures that our facilities are safe and well-maintained. When you give to HYCFA, you are not simply writing a check — you are directly investing in the development of a young person who will carry the values they learn here into every room they enter for the rest of their life. Communities are shaped by the investments their members make in their youth, and your generosity is proof that you believe in the Hoopa Valley's next generation just as deeply as we do."}),l.jsx("div",{className:"space-y-4 mb-8","data-id":"i7al4u50e","data-path":"src/pages/DonatePage.tsx",children:[{amount:"$25",impact:"Provides a participant with practice equipment for a full season"},{amount:"$50",impact:"Covers registration for a youth from an underserved family"},{amount:"$100",impact:"Sponsors game uniforms for one athlete"},{amount:"$250",impact:"Funds a full Future Leaders Initiative workshop session"}].map(n=>l.jsxs("div",{className:"flex gap-4 items-start p-4 rounded-xl",style:{background:"#F4EFE5"},"data-id":"vzxbjw9ve","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"font-bold text-lg flex-shrink-0",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"ogzlqjtw2","data-path":"src/pages/DonatePage.tsx",children:n.amount}),l.jsx("div",{className:"text-sm",style:{color:"#3D5C4A"},"data-id":"d7x9abi8n","data-path":"src/pages/DonatePage.tsx",children:n.impact})]},n.amount))}),l.jsxs("div",{className:"rounded-xl p-6",style:{background:"#0E3320"},"data-id":"ta7pst3ma","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("p",{className:"text-sm leading-relaxed italic mb-4",style:{color:"#C8E0D4"},"data-id":"nt3wag7am","data-path":"src/pages/DonatePage.tsx",children:`"Your donation directly supports Hoopa Youth Cheer & Football Association's mission: to provide youth within the Klamath Trinity Unified School District the opportunity to participate in organized football and cheerleading programs, learn the fundamentals of the sports, and develop sportsmanship, citizenship, education, physical fitness, and teamwork. Together, we can create lasting change."`}),l.jsx("p",{className:"text-xs",style:{color:"#6B8F7A"},"data-id":"d9rven2ly","data-path":"src/pages/DonatePage.tsx",children:"Hoopa Youth Cheer & Football Association is a registered nonprofit organization (Registration No: 26-0736342). Donations may be tax-deductible as per applicable laws."})]})]}),l.jsx("div",{"data-id":"gim5gugo7","data-path":"src/pages/DonatePage.tsx",children:l.jsxs("div",{className:"rounded-2xl p-8 shadow-xl",style:{background:"white"},"data-id":"voruuxwbi","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h3",{className:"text-2xl font-bold mb-6",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"kc945puyd","data-path":"src/pages/DonatePage.tsx",children:"Choose Your Support"}),l.jsx("div",{className:"grid grid-cols-3 gap-2 mb-6","data-id":"3rdid5zj0","data-path":"src/pages/DonatePage.tsx",children:[{id:"one-time",label:"One-Time"},{id:"monthly",label:"Monthly"},{id:"sponsor",label:"Sponsor"}].map(n=>l.jsx("button",{onClick:()=>t(n.id),className:"py-2.5 px-3 rounded-lg text-sm font-bold tracking-wide transition-all duration-150",style:{fontFamily:"'Oswald', sans-serif",background:e===n.id?"#0E3320":"#F4EFE5",color:e===n.id?"#FDF8F0":"#3D5C4A"},"data-id":"240smlf8z","data-path":"src/pages/DonatePage.tsx",children:n.label},n.id))}),e==="sponsor"&&l.jsxs("div",{className:"mb-5 p-4 rounded-xl text-sm",style:{background:"#F4EFE5",color:"#3D5C4A"},"data-id":"717ecjyv2","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{"data-id":"14imv7w2j","data-path":"src/pages/DonatePage.tsx",children:"Program Sponsorship:"})," Directly fund the ",l.jsx("em",{"data-id":"7wuvsbeq9","data-path":"src/pages/DonatePage.tsx",children:"Future Leaders Initiative"})," — life skills workshops, mentorship matching, and community service projects for HYCFA youth."]}),e==="monthly"&&l.jsxs("div",{className:"mb-5 p-4 rounded-xl text-sm",style:{background:"#F4EFE5",color:"#3D5C4A"},"data-id":"ni1mt1lu8","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{"data-id":"wlgb5wck5","data-path":"src/pages/DonatePage.tsx",children:"Monthly Giving:"})," Your recurring gift provides HYCFA with predictable funding to plan programs, hire coaches, and serve more youth season after season."]}),l.jsx("div",{className:"grid grid-cols-3 gap-3 mb-5","data-id":"ebw049qyc","data-path":"src/pages/DonatePage.tsx",children:["$25","$50","$100","$250","$500","Custom"].map(n=>l.jsx("button",{className:"py-3 rounded-lg text-sm font-bold transition-all duration-150 border-2 hover:scale-105",style:{fontFamily:"'Oswald', sans-serif",borderColor:"#E8A020",color:"#0E3320"},"data-id":"u306izzsl","data-path":"src/pages/DonatePage.tsx",children:n},n))}),l.jsxs("div",{className:"mb-5","data-id":"o1ftgi3q5","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"block text-sm font-bold mb-2",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"nlf7ledx5","data-path":"src/pages/DonatePage.tsx",children:"Full Name"}),l.jsx("input",{className:"w-full border rounded-lg px-4 py-2.5 text-sm outline-none focus:ring-2",style:{borderColor:"#D0D8D4",fontFamily:"'Lora', serif"},placeholder:"Your name","data-id":"iinpduze8","data-path":"src/pages/DonatePage.tsx"})]}),l.jsxs("div",{className:"mb-5","data-id":"l9rz3j390","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"block text-sm font-bold mb-2",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"84b7ijpqm","data-path":"src/pages/DonatePage.tsx",children:"Email Address"}),l.jsx("input",{type:"email",className:"w-full border rounded-lg px-4 py-2.5 text-sm outline-none focus:ring-2",style:{borderColor:"#D0D8D4",fontFamily:"'Lora', serif"},placeholder:"your@email.com","data-id":"t66rys6y4","data-path":"src/pages/DonatePage.tsx"})]}),l.jsx("button",{className:"w-full py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:opacity-95 hover:scale-105 mt-2",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"xbwfjtyzi","data-path":"src/pages/DonatePage.tsx",children:"PROCEED TO DONATE"}),l.jsx("p",{className:"text-xs text-center mt-4",style:{color:"#8FAF9F"},"data-id":"9h8cnwz5r","data-path":"src/pages/DonatePage.tsx",children:"Secure donation processing. Your information is protected."})]})})]})}),l.jsx(Fe,{"data-id":"l8m73u7jp","data-path":"src/pages/DonatePage.tsx"})]})}function Q2({children:e,className:t=""}){const n=v.useRef(null);return v.useEffect(()=>{const r=n.current;if(!r)return;const s=new IntersectionObserver(([a])=>{a.isIntersecting&&(r.classList.add("animate-fadeInUp"),r.classList.remove("opacity-0-init"),s.disconnect())},{threshold:.1});return s.observe(r),()=>s.disconnect()},[]),l.jsx("div",{ref:n,className:`opacity-0-init ${t}`,"data-id":"rn0rb1fqx","data-path":"src/pages/BlogPage.tsx",children:e})}const X2=[{slug:"article-1",title:"Why Youth Sports Are a Lifeline for Rural Communities",category:"Community & Youth",date:"May 14, 2026",img:"https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=700&auto=format&fit=crop",excerpt:"For young people growing up in rural regions like the Klamath Trinity Valley, organized youth sports aren't a luxury — they're a critical infrastructure for healthy development. Discover what the research shows and what HYCFA has witnessed firsthand.",path:"/blog/article-1"},{slug:"article-2",title:"From the Sideline to the Spotlight: How Cheer Transforms Young Leaders",category:"Inspiration & Stories",date:"April 2, 2026",img:"https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=700&auto=format&fit=crop",excerpt:"Destiny thought she was signing up for pom-poms. What she found at Spirit & Pride Cheer Academy was something far more powerful — a community that believed in her before she believed in herself. Her story is HYCFA's story.",path:"/blog/article-2"}];function Z2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"333v5gwzx","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(Ne,{"data-id":"j5efzjbn5","data-path":"src/pages/BlogPage.tsx"}),l.jsx("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"a3nhqc72x","data-path":"src/pages/BlogPage.tsx",children:l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"4w1l43p2y","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"xfddb4a1c","data-path":"src/pages/BlogPage.tsx",children:"Insights & Stories"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-6",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"6da0x3ucl","data-path":"src/pages/BlogPage.tsx",children:"Our Blog"}),l.jsx("p",{className:"text-base max-w-xl mx-auto",style:{color:"#C8E0D4"},"data-id":"dzf1sdj0y","data-path":"src/pages/BlogPage.tsx",children:"Perspectives on youth development, community sports, and the stories that remind us why this work matters."}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"c5imcm423","data-path":"src/pages/BlogPage.tsx"})]})}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"57mi9pgxx","data-path":"src/pages/BlogPage.tsx",children:l.jsx("div",{className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-8","data-id":"lqt18e4r7","data-path":"src/pages/BlogPage.tsx",children:X2.map((e,t)=>l.jsx(Q2,{className:`delay-${(t+1)*100}`,"data-id":"6puimmiol","data-path":"src/pages/BlogPage.tsx",children:l.jsxs(G,{to:e.path,className:"group block bg-white rounded-2xl overflow-hidden shadow-md hover:shadow-xl transition-all duration-300","data-id":"sipzos6l0","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{className:"relative overflow-hidden h-56","data-id":"d42wsq6jr","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("img",{src:e.img,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500","data-id":"8yf7tqbng","data-path":"src/pages/BlogPage.tsx"}),l.jsx("div",{className:"absolute top-4 left-4","data-id":"gjne3gye9","data-path":"src/pages/BlogPage.tsx",children:l.jsx("span",{className:"px-3 py-1 rounded-full text-xs font-bold",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"m4sh9dmt8","data-path":"src/pages/BlogPage.tsx",children:e.category})})]}),l.jsxs("div",{className:"p-7","data-id":"njc1u2pwn","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"text-xs mb-3",style:{color:"#8FAF9F",fontFamily:"'Oswald', sans-serif"},"data-id":"r7lx49ydo","data-path":"src/pages/BlogPage.tsx",children:e.date}),l.jsx("h2",{className:"text-xl font-bold mb-3 group-hover:underline",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"vspbck5uy","data-path":"src/pages/BlogPage.tsx",children:e.title}),l.jsx("p",{className:"text-sm leading-relaxed mb-4",style:{color:"#5C7A6A"},"data-id":"06guojp0z","data-path":"src/pages/BlogPage.tsx",children:e.excerpt}),l.jsx("span",{className:"text-sm font-bold",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"s2mwwktyg","data-path":"src/pages/BlogPage.tsx",children:"READ MORE →"})]})]})},e.slug))})}),l.jsx(Fe,{"data-id":"1cu2jnfz0","data-path":"src/pages/BlogPage.tsx"})]})}function J2(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"pbbm1lt7y","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(Ne,{"data-id":"p1da4p3nj","data-path":"src/pages/BlogArticle1Page.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-16 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"78iv99fmh","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-25",style:{backgroundImage:"url('https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"mylb2v4nd","data-path":"src/pages/BlogArticle1Page.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto animate-fadeInUp","data-id":"cfq80huo5","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(G,{to:"/blog",className:"text-xs font-bold tracking-wider hover:underline mb-6 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"cko003bz4","data-path":"src/pages/BlogArticle1Page.tsx",children:"↠BACK TO BLOG"}),l.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-bold mb-4",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"zfjaolifn","data-path":"src/pages/BlogArticle1Page.tsx",children:"Community & Youth"}),l.jsx("h1",{className:"text-4xl sm:text-5xl font-bold mb-4 leading-tight",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"sts98up4f","data-path":"src/pages/BlogArticle1Page.tsx",children:"Why Youth Sports Are a Lifeline for Rural Communities"}),l.jsxs("div",{className:"flex items-center gap-4 text-sm",style:{color:"#B0C8BC"},"data-id":"gymtud3b3","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("span",{"data-id":"gsybmoimw","data-path":"src/pages/BlogArticle1Page.tsx",children:"By HYCFA Staff"}),l.jsx("span",{"data-id":"kzte4ahrd","data-path":"src/pages/BlogArticle1Page.tsx",children:"·"}),l.jsx("span",{"data-id":"2g5hg0lvt","data-path":"src/pages/BlogArticle1Page.tsx",children:"May 14, 2026"}),l.jsx("span",{"data-id":"9mefakyex","data-path":"src/pages/BlogArticle1Page.tsx",children:"·"}),l.jsx("span",{"data-id":"2kguf2l40","data-path":"src/pages/BlogArticle1Page.tsx",children:"8 min read"})]})]})]}),l.jsx("article",{className:"py-16 px-4 sm:px-6","data-id":"xlx6pz2y3","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"piu054rfq","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1566577739112-5180d4bf9390?w=900&auto=format&fit=crop",alt:"Youth football",className:"w-full rounded-2xl shadow-xl mb-10 object-cover",style:{height:"380px"},"data-id":"6kuopebxt","data-path":"src/pages/BlogArticle1Page.tsx"}),l.jsxs("div",{className:"prose max-w-none space-y-6 text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"iaidzf7hr","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("p",{style:{fontSize:"1.1rem",fontWeight:"500",color:"#0E3320"},"data-id":"zsh39iq86","data-path":"src/pages/BlogArticle1Page.tsx",children:"For young people growing up in rural regions like the Klamath Trinity Valley, organized youth sports aren't a luxury. They are, by every meaningful measure, a critical piece of the infrastructure that determines whether young people thrive or struggle during one of the most consequential periods of their lives."}),l.jsx("p",{"data-id":"pcrhrpcfm","data-path":"src/pages/BlogArticle1Page.tsx",children:"The research is unambiguous on this point. Study after study over the past two decades has demonstrated that participation in organized youth sports is associated with higher academic achievement, lower rates of substance use, reduced incidence of depression and anxiety, and stronger social bonds that persist into adulthood. For rural youth specifically, these benefits are amplified because alternatives are fewer. A teenager in a metropolitan area who doesn't have access to a sports team can walk to a library, a community center, a youth program, or a park with peers. A teenager in Hoopa, California, doesn't always have those options just around the corner."}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"kk6tq4h18","data-path":"src/pages/BlogArticle1Page.tsx",children:"The Structure Itself Is the Gift"}),l.jsx("p",{"data-id":"p3iytr5og","data-path":"src/pages/BlogArticle1Page.tsx",children:"One of the most underappreciated aspects of youth sports is the simple gift of structure. Young people are fundamentally helped by knowing where they need to be, what they need to do, and who will be counting on them when they get there. For many youth in rural communities, especially those navigating unstable home environments or economic uncertainty, the routine of practice on Tuesday and Thursday afternoons can be genuinely stabilizing. It provides a predictable anchor in an otherwise unpredictable week. At HYCFA, coaches have observed this effect firsthand: players who show up distracted and disengaged from life often settle visibly within the first twenty minutes of practice, drawn back into the present moment by the demands of the drill and the energy of their teammates."}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"p1y345xo5","data-path":"src/pages/BlogArticle1Page.tsx",children:"Mentorship at Scale"}),l.jsx("p",{"data-id":"4u127kvcw","data-path":"src/pages/BlogArticle1Page.tsx",children:"Perhaps the single most transformative function that youth sports organizations serve in rural communities is the delivery of consistent, caring mentorship. Research consistently shows that young people with at least one stable, caring adult in their lives outside their immediate family are dramatically more likely to graduate, maintain healthy relationships, and avoid high-risk behaviors. Youth sports coaches are uniquely positioned to fill that role. They spend hours each week with participants. They witness struggle and triumph alike. They call players out and lift them up. They celebrate birthdays and ask about test scores. At HYCFA, we train our coaches to understand the full scope of their influence — not just on a child's throwing mechanics, but on a child's life."}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"oxoozylh1","data-path":"src/pages/BlogArticle1Page.tsx",children:"Community Belonging as a Developmental Asset"}),l.jsx("p",{"data-id":"21b4hb1mw","data-path":"src/pages/BlogArticle1Page.tsx",children:`There is a concept in youth development research called "community belonging" — the degree to which a young person feels connected to and valued by the people and places around them. Researchers have identified community belonging as one of the strongest predictors of long-term resilience, mental health, and civic engagement. Youth sports are one of the most effective and natural ways to build community belonging at scale. When a child puts on a jersey with their town's name on the back and runs onto a field with their neighbors watching from the stands, they are experiencing something that no app, no classroom, and no program designed in a distant city can fully replicate. They are learning that they belong — to each other, to this community, and to a tradition worth carrying forward.`}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"o08ahizxl","data-path":"src/pages/BlogArticle1Page.tsx",children:"The Role of Organizations Like HYCFA"}),l.jsx("p",{"data-id":"mez9fj6b1","data-path":"src/pages/BlogArticle1Page.tsx",children:"Volunteer-powered youth sports organizations like the Hoopa Youth Cheer & Football Association exist because communities believe their children are worth investing in — even when resources are tight, even when the work is hard, and even when the results won't show up in a spreadsheet for years. The parents, coaches, and community members who make HYCFA possible understand something that every good youth sports organization has always known: you don't just build athletes. You build people. And people who know how to work together, handle adversity with grace, and take pride in where they come from will build stronger communities in turn."}),l.jsx("p",{"data-id":"sj20vk3ve","data-path":"src/pages/BlogArticle1Page.tsx",children:"For the Klamath Trinity region, HYCFA represents far more than a seasonal football and cheer program. It is a statement of community values: that the next generation matters, that they deserve our time and our resources, and that the investment we make in them today will determine the character of this valley for decades to come. That is why youth sports are not a luxury for rural communities. They are — and have always been — a lifeline."})]}),l.jsx("div",{className:"mt-12 pt-8 border-t",style:{borderColor:"#D8CFC0"},"data-id":"yahpf6l5e","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsx(G,{to:"/blog",className:"text-sm font-bold tracking-wider hover:underline",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"c9n31myjf","data-path":"src/pages/BlogArticle1Page.tsx",children:"↠BACK TO ALL ARTICLES"})})]})}),l.jsx(Fe,{"data-id":"74ut65jaf","data-path":"src/pages/BlogArticle1Page.tsx"})]})}function eA(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"w7lc3yj4t","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(Ne,{"data-id":"96dxur768","data-path":"src/pages/BlogArticle2Page.tsx"}),l.jsxs("section",{className:"relative pt-32 pb-16 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"a74z1hghs","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-25",style:{backgroundImage:"url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1200&auto=format&fit=crop')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"bwhy0rny2","data-path":"src/pages/BlogArticle2Page.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto animate-fadeInUp","data-id":"j2b64cmk6","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(G,{to:"/blog",className:"text-xs font-bold tracking-wider hover:underline mb-6 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"74pw12p2s","data-path":"src/pages/BlogArticle2Page.tsx",children:"↠BACK TO BLOG"}),l.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-bold mb-4",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"zp9e5qdfz","data-path":"src/pages/BlogArticle2Page.tsx",children:"Inspiration & Stories"}),l.jsx("h1",{className:"text-4xl sm:text-5xl font-bold mb-4 leading-tight",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"xgycji0s0","data-path":"src/pages/BlogArticle2Page.tsx",children:"From the Sideline to the Spotlight: How Cheer Transforms Young Leaders"}),l.jsxs("div",{className:"flex items-center gap-4 text-sm",style:{color:"#B0C8BC"},"data-id":"zuzwh0b7e","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("span",{"data-id":"3j63hrfw8","data-path":"src/pages/BlogArticle2Page.tsx",children:"By Maria Colegrove, Cheer Program Director"}),l.jsx("span",{"data-id":"c72q5b4i1","data-path":"src/pages/BlogArticle2Page.tsx",children:"·"}),l.jsx("span",{"data-id":"nougt6rf7","data-path":"src/pages/BlogArticle2Page.tsx",children:"April 2, 2026"}),l.jsx("span",{"data-id":"htil0tlg4","data-path":"src/pages/BlogArticle2Page.tsx",children:"·"}),l.jsx("span",{"data-id":"4supge922","data-path":"src/pages/BlogArticle2Page.tsx",children:"7 min read"})]})]})]}),l.jsx("article",{className:"py-16 px-4 sm:px-6","data-id":"bg4un1ejg","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"j9fcsq3e8","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=900&auto=format&fit=crop",alt:"Cheerleading",className:"w-full rounded-2xl shadow-xl mb-10 object-cover",style:{height:"380px"},"data-id":"wo5rgr8lv","data-path":"src/pages/BlogArticle2Page.tsx"}),l.jsxs("div",{className:"prose max-w-none space-y-6 text-base leading-relaxed",style:{color:"#3D5C4A"},"data-id":"mlodxbd45","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("p",{style:{fontSize:"1.1rem",fontWeight:"500",color:"#0E3320"},"data-id":"kouaizso2","data-path":"src/pages/BlogArticle2Page.tsx",children:"She walked into the gym on the first day of registration with her hands in her pockets and her eyes on the floor. Destiny was nine years old, and everything about her posture said the same thing: I don't know if I belong here."}),l.jsx("p",{"data-id":"4ckwbai4t","data-path":"src/pages/BlogArticle2Page.tsx",children:"I've been coaching the Spirit & Pride Cheer Academy at HYCFA for over a decade now, and I've seen that walk hundreds of times. The child who shows up because a parent encouraged them, or because a friend dragged them, or because they saw something at a football game that made them curious. The child who wants to belong to something but hasn't yet found the thing that will claim them. Destiny was that child. And like so many others before her, what happened next was the thing that keeps me coaching year after year."}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"ha9wl92y8","data-path":"src/pages/BlogArticle2Page.tsx",children:"What Cheerleading Actually Teaches"}),l.jsx("p",{"data-id":"ft7nneshd","data-path":"src/pages/BlogArticle2Page.tsx",children:'There is a persistent misconception about cheerleading that it is primarily about enthusiasm — about being loud and bright and supportive on the sideline while the "real" action happens on the field. I understand where that perception comes from, but it bears almost no relationship to what we actually do in practice or what our athletes actually learn. Cheerleading, done seriously and safely, is one of the most physically demanding and mentally sophisticated youth sports that exists. Our athletes develop balance, coordination, explosive strength, rhythmic awareness, and the kind of spatial intelligence that allows them to execute complex group formations with split-second timing. These are athletic skills that rival and often exceed what peers develop in other sports.'}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"ntgbowy8v","data-path":"src/pages/BlogArticle2Page.tsx",children:"The Leadership Development No One Talks About"}),l.jsx("p",{"data-id":"anacdjv9t","data-path":"src/pages/BlogArticle2Page.tsx",children:"But what I am most proud of isn't what our athletes can do physically. It's what they become as leaders. Cheerleading is, at its core, a leadership sport. To cheer effectively is to take responsibility for the energy of a crowd, to project confidence even when you're exhausted or nervous, to lift your teammates when they're struggling and accept their support when you need it. These are leadership skills that translate directly into classrooms, workplaces, families, and communities. Our captains learn to run practices, give feedback with kindness and precision, manage interpersonal conflict, and make real-time decisions under pressure. By the time a young person has served a season as an HYCFA cheer captain, they have accumulated leadership experience that most adults never receive in any structured form."}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"ykam8m59f","data-path":"src/pages/BlogArticle2Page.tsx",children:"Destiny's Story"}),l.jsx("p",{"data-id":"9s33nfwjo","data-path":"src/pages/BlogArticle2Page.tsx",children:"Destiny came back the next week, and the week after that. Her motions were stiff at first — she'd clearly been watching videos online and had taught herself some basics, but the performance confidence wasn't there yet. I paired her with one of our senior athletes, a fifteen-year-old named Kaya who had been with us for six seasons and understood without being told how to make a younger kid feel capable. By the end of that first month, something had shifted. Destiny started making eye contact. She started correcting her own alignment in the mirror before I could say anything. She started arriving early to practice."}),l.jsx("p",{"data-id":"hx8hpz2b3","data-path":"src/pages/BlogArticle2Page.tsx",children:`By her second season, she was leading warm-ups. By her third, she was co-captain. She still describes it the same way every time someone asks her about it: "I didn't find a sport. I found out who I was." That is, in one sentence, exactly what the Spirit & Pride Cheer Academy is for.`}),l.jsx("h2",{className:"text-2xl font-bold mt-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"ojb4o9n9z","data-path":"src/pages/BlogArticle2Page.tsx",children:"What This Means for the Hoopa Community"}),l.jsx("p",{"data-id":"plj0trnl4","data-path":"src/pages/BlogArticle2Page.tsx",children:"The young women and young men who come through our program are not becoming cheerleaders. They are becoming people who know how to bring energy to any room they walk into, who understand the power of preparation and commitment, who have stood in front of their community and delivered — and who carry the confidence of having done that with them for the rest of their lives. For a community like Hoopa, where opportunities for structured youth leadership development can be limited, HYCFA's Cheer Academy fills a role that is genuinely irreplaceable."}),l.jsx("p",{"data-id":"7he1z6ooj","data-path":"src/pages/BlogArticle2Page.tsx",children:"Destiny is now in high school. She recently told me she wants to study social work and come back to serve the Klamath Trinity Valley. I told her I wasn't surprised. That's what happens when you give a young person the chance to discover what they're made of. They come home to give back. And that is the most powerful thing a community can do — invest in its youth deeply enough that they want to return and invest in turn."}),l.jsx("div",{className:"mt-10 p-6 rounded-xl",style:{background:"#0E3320"},"data-id":"02c6bj833","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsx("p",{className:"text-sm italic",style:{color:"#C8E0D4"},"data-id":"mtihci9qt","data-path":"src/pages/BlogArticle2Page.tsx",children:"Maria Colegrove is the Cheer Program Director at HYCFA. She has been coaching youth cheerleading for over fourteen years and holds certifications in youth athletics and cheer safety. She lives in Hoopa with her family."})})]}),l.jsx("div",{className:"mt-12 pt-8 border-t",style:{borderColor:"#D8CFC0"},"data-id":"gjj9h8qu6","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsx(G,{to:"/blog",className:"text-sm font-bold tracking-wider hover:underline",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"w7sdxom7i","data-path":"src/pages/BlogArticle2Page.tsx",children:"↠BACK TO ALL ARTICLES"})})]})}),l.jsx(Fe,{"data-id":"edsa1yzyu","data-path":"src/pages/BlogArticle2Page.tsx"})]})}function tA(){const{toast:e}=pv(),[t,n]=v.useState({name:"",email:"",phone:"",message:""}),[r,s]=v.useState(!1),a=async i=>{if(i.preventDefault(),!t.name||!t.email||!t.message){e({title:"Please fill in all required fields.",variant:"destructive"});return}s(!0);try{const{error:o}=await window.ezsite.apis.tableCreate(84901,{name:t.name,email:t.email,phone:t.phone,message:t.message});if(o)throw o;e({title:"Message sent!",description:"We'll be in touch shortly. Thank you for reaching out."}),n({name:"",email:"",phone:"",message:""})}catch(o){e({title:"Error sending message.",description:String(o),variant:"destructive"})}finally{s(!1)}};return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"anig8coiu","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Ne,{"data-id":"1q8sb7hfu","data-path":"src/pages/ContactPage.tsx"}),l.jsx("section",{className:"relative pt-32 pb-20 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"cti0erzxh","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"hecvssyso","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"hjb6vkla3","data-path":"src/pages/ContactPage.tsx",children:"Get in Touch"}),l.jsx("h1",{className:"text-5xl sm:text-6xl font-bold mb-4",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"pl5mtja2z","data-path":"src/pages/ContactPage.tsx",children:"Contact Us"}),l.jsx("p",{className:"text-base max-w-xl mx-auto",style:{color:"#C8E0D4"},"data-id":"1z4diku5f","data-path":"src/pages/ContactPage.tsx",children:"Have questions about our mission or want to get involved? We'd love to hear from you. Whether you're a parent, volunteer, donor, or community partner, we welcome every conversation that helps us serve Hoopa's youth better."}),l.jsx("div",{className:"w-20 h-1 mx-auto rounded-full mt-6",style:{background:"#E8A020"},"data-id":"pwqx0yoj6","data-path":"src/pages/ContactPage.tsx"})]})}),l.jsx("section",{className:"py-20 px-4 sm:px-6","data-id":"dhyyjgdc4","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-14","data-id":"7ri1bfw3w","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"5nxoy6bo3","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"ltyxs183i","data-path":"src/pages/ContactPage.tsx",children:"Contact Information"}),l.jsx("h2",{className:"text-3xl font-bold mb-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"9ajwew4qe","data-path":"src/pages/ContactPage.tsx",children:"Reach Us Directly"}),l.jsx("div",{className:"space-y-6 mb-10","data-id":"t8of5bad3","data-path":"src/pages/ContactPage.tsx",children:[{icon:"📧",label:"Email",value:"adminteam@trusthalvor.com",href:"mailto:adminteam@trusthalvor.com"},{icon:"📞",label:"Phone",value:"1-530-784-7028",href:"tel:15307847028"},{icon:"ðŸ“",label:"Mailing Address",value:"PO Box 214, Hoopa, CA 95546",href:null},{icon:"ðŸ›ï¸",label:"Registration Number",value:"EIN: 26-0736342",href:null}].map(i=>l.jsxs("div",{className:"flex gap-4 items-start","data-id":"5g0tv6nle","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center text-xl flex-shrink-0",style:{background:"#F4EFE5"},"data-id":"pgph1sapn","data-path":"src/pages/ContactPage.tsx",children:i.icon}),l.jsxs("div",{"data-id":"hp3g8wnan","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"text-xs font-bold tracking-wider uppercase mb-1",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"d0shk7o42","data-path":"src/pages/ContactPage.tsx",children:i.label}),i.href?l.jsx("a",{href:i.href,className:"text-sm hover:underline",style:{color:"#0E3320"},"data-id":"7edszwmc7","data-path":"src/pages/ContactPage.tsx",children:i.value}):l.jsx("span",{className:"text-sm",style:{color:"#0E3320"},"data-id":"8hmz84zca","data-path":"src/pages/ContactPage.tsx",children:i.value})]})]},i.label))}),l.jsx("div",{className:"rounded-2xl overflow-hidden",style:{height:"240px",background:"#E8F0EC",display:"flex",alignItems:"center",justifyContent:"center"},"data-id":"r6tuxul32","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"text-center","data-id":"tl21nsgy0","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"text-4xl mb-2","data-id":"tlgn61577","data-path":"src/pages/ContactPage.tsx",children:"🗺ï¸"}),l.jsx("p",{className:"text-sm",style:{color:"#3D5C4A",fontFamily:"'Oswald', sans-serif"},"data-id":"kbo4eyyjs","data-path":"src/pages/ContactPage.tsx",children:"Hoopa, CA 95546"}),l.jsx("p",{className:"text-xs mt-1",style:{color:"#6B8F7A"},"data-id":"med3ghmyt","data-path":"src/pages/ContactPage.tsx",children:"Klamath Trinity Unified School District"})]})})]}),l.jsxs("div",{"data-id":"cw3r262dy","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("span",{className:"text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"#E8A020",fontFamily:"'Oswald', sans-serif"},"data-id":"6l76pcxc9","data-path":"src/pages/ContactPage.tsx",children:"Send a Message"}),l.jsx("h2",{className:"text-3xl font-bold mb-8",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"9c2fhd8ry","data-path":"src/pages/ContactPage.tsx",children:"We'd Love to Hear From You"}),l.jsxs("form",{onSubmit:a,className:"space-y-5","data-id":"dsow1ezmx","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"zay9yhwol","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm font-bold mb-2",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"qmr82iaxd","data-path":"src/pages/ContactPage.tsx",children:"Full Name *"}),l.jsx("input",{type:"text",value:t.name,onChange:i=>n({...t,name:i.target.value}),className:"w-full border rounded-xl px-4 py-3 text-sm outline-none focus:ring-2 transition",style:{borderColor:"#D0D8D4",fontFamily:"'Lora', serif"},placeholder:"Your full name","data-id":"2h5jl5lcg","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"oilrxi6rl","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm font-bold mb-2",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"c85jkfuxg","data-path":"src/pages/ContactPage.tsx",children:"Email Address *"}),l.jsx("input",{type:"email",value:t.email,onChange:i=>n({...t,email:i.target.value}),className:"w-full border rounded-xl px-4 py-3 text-sm outline-none focus:ring-2 transition",style:{borderColor:"#D0D8D4",fontFamily:"'Lora', serif"},placeholder:"your@email.com","data-id":"ifn6kaquy","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"dcnwibg84","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm font-bold mb-2",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"nef22ztvu","data-path":"src/pages/ContactPage.tsx",children:"Phone Number"}),l.jsx("input",{type:"tel",value:t.phone,onChange:i=>n({...t,phone:i.target.value}),className:"w-full border rounded-xl px-4 py-3 text-sm outline-none focus:ring-2 transition",style:{borderColor:"#D0D8D4",fontFamily:"'Lora', serif"},placeholder:"(optional)","data-id":"umhp63ifq","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"o983s7f3u","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm font-bold mb-2",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"iv7esz0cg","data-path":"src/pages/ContactPage.tsx",children:"Message *"}),l.jsx("textarea",{value:t.message,onChange:i=>n({...t,message:i.target.value}),rows:5,className:"w-full border rounded-xl px-4 py-3 text-sm outline-none focus:ring-2 transition resize-none",style:{borderColor:"#D0D8D4",fontFamily:"'Lora', serif"},placeholder:"Tell us how we can help or how you'd like to get involved...","data-id":"vlbrf626l","data-path":"src/pages/ContactPage.tsx"})]}),l.jsx("button",{type:"submit",disabled:r,className:"w-full py-4 rounded-full font-bold text-base tracking-wider transition-all duration-200 hover:opacity-95 hover:scale-105 disabled:opacity-60",style:{background:"#E8A020",color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"2h6humfsn","data-path":"src/pages/ContactPage.tsx",children:r?"SENDING...":"SEND MESSAGE"})]})]})]})}),l.jsx(Fe,{"data-id":"lpfaij2ul","data-path":"src/pages/ContactPage.tsx"})]})}const Jt=({title:e,children:t})=>l.jsxs("div",{className:"mb-10","data-id":"n6hdg5v28","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"text-xl font-bold mb-3",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"wq3yts7a2","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e}),l.jsx("div",{className:"text-sm leading-relaxed space-y-3",style:{color:"#3D5C4A"},"data-id":"9wmnwitsy","data-path":"src/pages/PrivacyPolicyPage.tsx",children:t})]});function nA(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"f7zi5qjbx","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx(Ne,{"data-id":"wk6xzkyu4","data-path":"src/pages/PrivacyPolicyPage.tsx"}),l.jsx("section",{className:"relative pt-32 pb-16 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"o6sop6jgn","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"mb4jiogmh","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h1",{className:"text-5xl font-bold mb-4",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"4ly8l8bnk","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Privacy Policy"}),l.jsx("p",{className:"text-sm",style:{color:"#B0C8BC"},"data-id":"dhlf6mtb2","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Last Updated: June 1, 2026"})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6","data-id":"758enzog8","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"nr7ynlodp","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx(Jt,{title:"Introduction","data-id":"bimy1o6ea","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx("p",{"data-id":"o1tcnfmhb","data-path":"src/pages/PrivacyPolicyPage.tsx",children:'Hoopa Youth Cheer & Football Association ("HYCFA," "we," "us," or "our") respects your privacy and is committed to protecting the personal information you share with us. This Privacy Policy explains how we collect, use, safeguard, and disclose information obtained through our website and contact forms. By using this website, you agree to the practices described in this policy.'})}),l.jsxs(Jt,{title:"Information We Collect","data-id":"bezkhja6i","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("p",{"data-id":"nr5vvqb5a","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"We collect information you voluntarily provide through our contact form, including your name, email address, phone number, and message content. We may also collect general browsing data such as pages visited, time spent on pages, and referring URLs through standard web analytics tools. We do not collect payment or financial information directly through this website."}),l.jsx("p",{"data-id":"nq9o67fpb","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Cookies or similar tracking technologies may be used to enhance your browsing experience and gather aggregate statistical information about site usage. These are standard web technologies and do not identify you personally."})]}),l.jsxs(Jt,{title:"How We Use Your Information","data-id":"6y86ehrrt","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("p",{"data-id":"p48akmoit","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Information you provide through our contact form is used solely to respond to your inquiry, facilitate your participation in HYCFA programs, or process your donation request. We may also use your contact information to send occasional updates about HYCFA programs, events, and impact — only if you have opted in to receive such communications."}),l.jsx("p",{"data-id":"yqp52m7yu","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"We do not sell, trade, rent, or otherwise transfer your personal information to third parties for marketing or commercial purposes. We may share your information with service providers who assist us in operating our website or conducting our programs, under strict confidentiality agreements."})]}),l.jsxs(Jt,{title:"Data Protection Measures","data-id":"iwadqzwsn","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("p",{"data-id":"utxxyumy8","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"We implement industry-standard security measures to protect your personal information from unauthorized access, disclosure, alteration, or destruction. These measures include secure server infrastructure, encrypted data transmission (SSL/TLS), and access controls that limit who can view your information within our organization."}),l.jsx("p",{"data-id":"7hzrjdru6","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"While we take these measures seriously, no method of internet transmission or electronic storage is completely secure. We cannot guarantee absolute security of your data, but we commit to notifying you promptly in the event of a data breach that affects your personal information."})]}),l.jsxs(Jt,{title:"Your Rights Regarding Your Data","data-id":"89c36ut51","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("p",{"data-id":"ux491iewa","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"You have the right to request access to the personal information we hold about you, to request correction of inaccurate information, and to request deletion of your information from our records. You may also withdraw consent for us to contact you at any time."}),l.jsx("p",{"data-id":"d3pg1yn5j","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"To exercise any of these rights, please contact us at adminteam@trusthalvor.com. We will respond to your request within 30 business days."})]}),l.jsx(Jt,{title:"Third-Party Links","data-id":"inmc4mned","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx("p",{"data-id":"wdci2jzlv","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Our website may contain links to third-party websites or services. HYCFA is not responsible for the privacy practices or content of those external sites. We encourage you to read the privacy policies of any third-party sites you visit."})}),l.jsx(Jt,{title:"Children's Privacy","data-id":"ks4fjhl0z","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx("p",{"data-id":"5slgl00x9","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Our website is not directed to children under the age of 13, and we do not knowingly collect personal information from children under 13 without parental consent. If you believe a child has submitted personal information to us without consent, please contact us immediately so we can remove it."})}),l.jsx(Jt,{title:"Changes to This Policy","data-id":"g0hh0ury4","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx("p",{"data-id":"euojzy8tz","data-path":"src/pages/PrivacyPolicyPage.tsx",children:'HYCFA reserves the right to update this Privacy Policy at any time. Changes will be posted to this page with a revised "Last Updated" date. We encourage you to review this policy periodically. Your continued use of the website following changes constitutes acceptance of the revised policy.'})}),l.jsxs(Jt,{title:"Contact Us","data-id":"a6gpj7lyu","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("p",{"data-id":"s1s67hicq","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"If you have questions or concerns about this Privacy Policy or our data practices, please reach out to us:"}),l.jsxs("p",{"data-id":"7tx2ms4wx","data-path":"src/pages/PrivacyPolicyPage.tsx",children:["Hoopa Youth Cheer & Football Association",l.jsx("br",{"data-id":"gfwp41nc4","data-path":"src/pages/PrivacyPolicyPage.tsx"}),"PO Box 214, Hoopa, CA 95546",l.jsx("br",{"data-id":"c89prsexn","data-path":"src/pages/PrivacyPolicyPage.tsx"}),"Email: adminteam@trusthalvor.com",l.jsx("br",{"data-id":"c5yj2gpf5","data-path":"src/pages/PrivacyPolicyPage.tsx"}),"Phone: 1-530-784-7028"]})]})]})}),l.jsx(Fe,{"data-id":"jnmgv2zbf","data-path":"src/pages/PrivacyPolicyPage.tsx"})]})}const en=({title:e,children:t})=>l.jsxs("div",{className:"mb-10","data-id":"m2krbekck","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("h2",{className:"text-xl font-bold mb-3",style:{color:"#0E3320",fontFamily:"'Oswald', sans-serif"},"data-id":"dlrjrr3cr","data-path":"src/pages/TermsPage.tsx",children:e}),l.jsx("div",{className:"text-sm leading-relaxed space-y-3",style:{color:"#3D5C4A"},"data-id":"qc4oyq2v6","data-path":"src/pages/TermsPage.tsx",children:t})]});function rA(){return l.jsxs("div",{className:"min-h-screen",style:{fontFamily:"'Lora', Georgia, serif",background:"#FDF8F0"},"data-id":"9ug0fbb6q","data-path":"src/pages/TermsPage.tsx",children:[l.jsx(Ne,{"data-id":"2vjqqph2f","data-path":"src/pages/TermsPage.tsx"}),l.jsx("section",{className:"relative pt-32 pb-16 px-4 sm:px-6",style:{background:"#0E3320"},"data-id":"r3s9nbcec","data-path":"src/pages/TermsPage.tsx",children:l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto text-center animate-fadeInUp","data-id":"ashpdznm4","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("h1",{className:"text-5xl font-bold mb-4",style:{color:"#FDF8F0",fontFamily:"'Oswald', sans-serif"},"data-id":"niuv3xjxf","data-path":"src/pages/TermsPage.tsx",children:"Terms & Conditions"}),l.jsx("p",{className:"text-sm",style:{color:"#B0C8BC"},"data-id":"s6xxebp73","data-path":"src/pages/TermsPage.tsx",children:"Last Updated: June 1, 2026"})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6","data-id":"g63jhqwr3","data-path":"src/pages/TermsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"hj3cn3duv","data-path":"src/pages/TermsPage.tsx",children:[l.jsx(en,{title:"Acceptance of Terms","data-id":"89rdhhokf","data-path":"src/pages/TermsPage.tsx",children:l.jsx("p",{"data-id":"358bz58eg","data-path":"src/pages/TermsPage.tsx",children:'By accessing and using the website of Hoopa Youth Cheer & Football Association ("HYCFA," "we," "us," or "our"), you acknowledge that you have read, understood, and agree to be bound by these Terms & Conditions. If you do not agree to these terms, please do not use this website. These terms apply to all visitors, users, and others who access or use our site.'})}),l.jsxs(en,{title:"Website Usage Terms","data-id":"h3xnzvf9h","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"i5mdlqog0","data-path":"src/pages/TermsPage.tsx",children:"This website is provided for informational purposes about HYCFA programs, events, and mission. You may use this website for lawful purposes only. You agree not to use the site in any way that violates applicable local, state, national, or international laws or regulations, or in any manner that could damage, disable, or impair the website's functioning."}),l.jsx("p",{"data-id":"q9dycnk85","data-path":"src/pages/TermsPage.tsx",children:"The content on this website, including text, images, graphics, and other materials, is owned by or licensed to HYCFA. You may share links to our content but may not reproduce, distribute, or create derivative works from our content without express written permission."})]}),l.jsxs(en,{title:"User Responsibilities","data-id":"6xpx8c0fz","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"x43n04hpu","data-path":"src/pages/TermsPage.tsx",children:"When submitting information through our contact form or other interactive features of the website, you agree to provide accurate, current, and complete information. You are responsible for ensuring that any content or communication you submit does not violate the rights of any third party, including intellectual property rights or privacy rights."}),l.jsx("p",{"data-id":"8ttsctops","data-path":"src/pages/TermsPage.tsx",children:"You agree not to submit false information, impersonate another person, or engage in any conduct that is abusive, harassing, defamatory, or otherwise objectionable in your communications with HYCFA."})]}),l.jsxs(en,{title:"Content Usage Restrictions","data-id":"3rbtrws6q","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"prm1mrlhg","data-path":"src/pages/TermsPage.tsx",children:"The HYCFA name, logo, program names, and related materials are the intellectual property of the Hoopa Youth Cheer & Football Association. You may not use these for any commercial purpose or in any way that implies endorsement or affiliation without prior written consent from HYCFA."}),l.jsx("p",{"data-id":"8hjoqnnvp","data-path":"src/pages/TermsPage.tsx",children:"All photographs and media on this website are used with appropriate permissions. Unauthorized downloading, reproduction, or distribution of images or other media from this site is prohibited."})]}),l.jsxs(en,{title:"Disclaimer of Warranties","data-id":"r5go1khom","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"9pw1sdygb","data-path":"src/pages/TermsPage.tsx",children:'This website and its content are provided "as is" without any representations or warranties, express or implied. HYCFA makes no representations or warranties regarding the accuracy, completeness, or reliability of any information on this website.'}),l.jsx("p",{"data-id":"ixhh5cnn6","data-path":"src/pages/TermsPage.tsx",children:"We do not warrant that the website will be available at all times, free from technical errors, or free from viruses or other harmful components. Access to the website may be interrupted due to maintenance or circumstances beyond our control."})]}),l.jsxs(en,{title:"Limitation of Liability","data-id":"hvxiedol3","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"3e1krridc","data-path":"src/pages/TermsPage.tsx",children:"To the maximum extent permitted by applicable law, HYCFA shall not be liable for any indirect, incidental, special, consequential, or punitive damages arising from your use of, or inability to use, this website or its content. This limitation applies even if HYCFA has been advised of the possibility of such damages."}),l.jsx("p",{"data-id":"7dnvq4t1l","data-path":"src/pages/TermsPage.tsx",children:"HYCFA's total liability to you for any claim arising from or relating to these terms or your use of the website shall not exceed the amount, if any, that you paid to access the website."})]}),l.jsxs(en,{title:"Dispute Resolution","data-id":"aiykvroyx","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"jrq1ja2dn","data-path":"src/pages/TermsPage.tsx",children:"Any dispute arising from or related to these Terms & Conditions or your use of the HYCFA website shall first be addressed through good-faith negotiation between the parties. If direct negotiation does not resolve the matter within 30 days, the dispute shall be subject to mediation before any legal action is initiated."}),l.jsx("p",{"data-id":"m38d326vl","data-path":"src/pages/TermsPage.tsx",children:"These Terms & Conditions shall be governed by and construed in accordance with the laws of the State of California. Any legal proceedings shall be brought in the courts of Humboldt County, California."})]}),l.jsx(en,{title:"Changes to These Terms","data-id":"dj67swoha","data-path":"src/pages/TermsPage.tsx",children:l.jsx("p",{"data-id":"8spcad6w9","data-path":"src/pages/TermsPage.tsx",children:'HYCFA reserves the right to modify these Terms & Conditions at any time. Updated terms will be posted on this page with a revised "Last Updated" date. Your continued use of the website following the posting of changes constitutes your acceptance of the revised terms. We encourage you to review this page periodically.'})}),l.jsxs(en,{title:"Contact Information","data-id":"opbxy70am","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("p",{"data-id":"3so5vvjjt","data-path":"src/pages/TermsPage.tsx",children:"If you have questions about these Terms & Conditions, please contact us:"}),l.jsxs("p",{"data-id":"fnpdr58mc","data-path":"src/pages/TermsPage.tsx",children:["Hoopa Youth Cheer & Football Association",l.jsx("br",{"data-id":"4kixyjrhr","data-path":"src/pages/TermsPage.tsx"}),"PO Box 214, Hoopa, CA 95546",l.jsx("br",{"data-id":"wnxufoy1i","data-path":"src/pages/TermsPage.tsx"}),"Email: adminteam@trusthalvor.com",l.jsx("br",{"data-id":"0p4o3c807","data-path":"src/pages/TermsPage.tsx"}),"Phone: 1-530-784-7028"]})]})]})}),l.jsx(Fe,{"data-id":"ba8ud90y2","data-path":"src/pages/TermsPage.tsx"})]})}const fw=v.createContext({});function sA(e){const t=v.useRef(null);return t.current===null&&(t.current=e()),t.current}const aA=typeof window<"u",iA=aA?v.useLayoutEffect:v.useEffect,$f=v.createContext(null);function Wf(e,t){e.indexOf(t)===-1&&e.push(t)}function Qo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Kt=(e,t,n)=>n>t?t:n<e?e:n;let qf=()=>{};const Zn={},hw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),pw=e=>typeof e=="object"&&e!==null,mw=e=>/^0[^.\s]+$/u.test(e);function gw(e){let t;return()=>(t===void 0&&(t=e()),t)}const pt=e=>e,ci=(...e)=>e.reduce((t,n)=>r=>n(t(r))),qa=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class Yf{constructor(){this.subscriptions=[]}add(t){return Wf(this.subscriptions,t),()=>Qo(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let a=0;a<s;a++){const i=this.subscriptions[a];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const nt=e=>e*1e3,ft=e=>e/1e3,yw=(e,t)=>t?e*(1e3/t):0,xw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,oA=1e-7,lA=12;function cA(e,t,n,r,s){let a,i,o=0;do i=t+(n-t)/2,a=xw(i,r,s)-e,a>0?n=i:t=i;while(Math.abs(a)>oA&&++o<lA);return i}function ui(e,t,n,r){if(e===t&&n===r)return pt;const s=a=>cA(a,0,1,e,n);return a=>a===0||a===1?a:xw(s(a),t,r)}const vw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ww=e=>t=>1-e(1-t),bw=ui(.33,1.53,.69,.99),Kf=ww(bw),Pw=vw(Kf),Cw=e=>e>=1?1:(e*=2)<1?.5*Kf(e):.5*(2-Math.pow(2,-10*(e-1))),Gf=e=>1-Math.sin(Math.acos(e)),kw=ww(Gf),Sw=vw(Gf),uA=ui(.42,0,1,1),dA=ui(0,0,.58,1),Ew=ui(.42,0,.58,1),fA=e=>Array.isArray(e)&&typeof e[0]!="number",Tw=e=>Array.isArray(e)&&typeof e[0]=="number",hA={linear:pt,easeIn:uA,easeInOut:Ew,easeOut:dA,circIn:Gf,circInOut:Sw,circOut:kw,backIn:Kf,backInOut:Pw,backOut:bw,anticipate:Cw},pA=e=>typeof e=="string",Om=e=>{if(Tw(e)){qf(e.length===4);const[t,n,r,s]=e;return ui(t,n,r,s)}else if(pA(e))return hA[e];return e},Ui=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function mA(e,t){let n=new Set,r=new Set,s=!1,a=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function c(d){i.has(d)&&(u.schedule(d),e()),d(o)}const u={schedule:(d,f=!1,h=!1)=>{const y=h&&s?n:r;return f&&i.add(d),y.add(d),d},cancel:d=>{r.delete(d),i.delete(d)},process:d=>{if(o=d,s){a=!0;return}s=!0;const f=n;n=r,r=f,n.forEach(c),n.clear(),s=!1,a&&(a=!1,u.process(d))}};return u}const gA=40;function jw(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,i=Ui.reduce((x,P)=>(x[P]=mA(a),x),{}),{setup:o,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:p,postRender:y}=i,w=()=>{const x=Zn.useManualTiming,P=x?s.timestamp:performance.now();n=!1,x||(s.delta=r?1e3/60:Math.max(Math.min(P-s.timestamp,gA),1)),s.timestamp=P,s.isProcessing=!0,o.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),p.process(s),y.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(w))},b=()=>{n=!0,r=!0,s.isProcessing||e(w)};return{schedule:Ui.reduce((x,P)=>{const C=i[P];return x[P]=(k,E=!1,S=!1)=>(n||b(),C.schedule(k,E,S)),x},{}),cancel:x=>{for(let P=0;P<Ui.length;P++)i[Ui[P]].cancel(x)},state:s,steps:i}}const{schedule:J,cancel:Jn,state:Ee,steps:kc}=jw(typeof requestAnimationFrame<"u"?requestAnimationFrame:pt,!0);let fo;function yA(){fo=void 0}const Ve={now:()=>(fo===void 0&&Ve.set(Ee.isProcessing||Zn.useManualTiming?Ee.timestamp:performance.now()),fo),set:e=>{fo=e,queueMicrotask(yA)}},Aw=e=>t=>typeof t=="string"&&t.startsWith(e),Nw=Aw("--"),xA=Aw("var(--"),Qf=e=>xA(e)?vA.test(e.split("/*")[0].trim()):!1,vA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Rm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Vs={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ya={...Vs,transform:e=>Kt(0,1,e)},$i={...Vs,default:1},wa=e=>Math.round(e*1e5)/1e5,Xf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wA(e){return e==null}const bA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Zf=(e,t)=>n=>!!(typeof n=="string"&&bA.test(n)&&n.startsWith(e)||t&&!wA(n)&&Object.prototype.hasOwnProperty.call(n,t)),Fw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,a,i,o]=r.match(Xf);return{[e]:parseFloat(s),[t]:parseFloat(a),[n]:parseFloat(i),alpha:o!==void 0?parseFloat(o):1}},PA=e=>Kt(0,255,e),Sc={...Vs,transform:e=>Math.round(PA(e))},hr={test:Zf("rgb","red"),parse:Fw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Sc.transform(e)+", "+Sc.transform(t)+", "+Sc.transform(n)+", "+wa(Ya.transform(r))+")"};function CA(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Ju={test:Zf("#"),parse:CA,transform:hr.transform},di=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),nn=di("deg"),Yt=di("%"),I=di("px"),kA=di("vh"),SA=di("vw"),Dm={...Yt,parse:e=>Yt.parse(e)/100,transform:e=>Yt.transform(e*100)},Jr={test:Zf("hsl","hue"),parse:Fw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Yt.transform(wa(t))+", "+Yt.transform(wa(n))+", "+wa(Ya.transform(r))+")"},he={test:e=>hr.test(e)||Ju.test(e)||Jr.test(e),parse:e=>hr.test(e)?hr.parse(e):Jr.test(e)?Jr.parse(e):Ju.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?hr.transform(e):Jr.transform(e),getAnimatableNone:e=>{const t=he.parse(e);return t.alpha=0,he.transform(t)}},EA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function TA(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Xf))==null?void 0:t.length)||0)+(((n=e.match(EA))==null?void 0:n.length)||0)>0}const Ow="number",Rw="color",jA="var",AA="var(",Mm="${}",NA=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ns(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let a=0;const o=t.replace(NA,c=>(he.test(c)?(r.color.push(a),s.push(Rw),n.push(he.parse(c))):c.startsWith(AA)?(r.var.push(a),s.push(jA),n.push(c)):(r.number.push(a),s.push(Ow),n.push(parseFloat(c))),++a,Mm)).split(Mm);return{values:n,split:o,indexes:r,types:s}}function FA(e){return Ns(e).values}function Dw({split:e,types:t}){const n=e.length;return r=>{let s="";for(let a=0;a<n;a++)if(s+=e[a],r[a]!==void 0){const i=t[a];i===Ow?s+=wa(r[a]):i===Rw?s+=he.transform(r[a]):s+=r[a]}return s}}function OA(e){return Dw(Ns(e))}const RA=e=>typeof e=="number"?0:he.test(e)?he.getAnimatableNone(e):e,DA=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:RA(e);function MA(e){const t=Ns(e);return Dw(t)(t.values.map((r,s)=>DA(r,t.split[s])))}const At={test:TA,parse:FA,createTransformer:OA,getAnimatableNone:MA};function Ec(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function LA({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,a=0,i=0;if(!t)s=a=i=n;else{const o=n<.5?n*(1+t):n+t-n*t,c=2*n-o;s=Ec(c,o,e+1/3),a=Ec(c,o,e),i=Ec(c,o,e-1/3)}return{red:Math.round(s*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}function Xo(e,t){return n=>n>0?t:e}const Z=(e,t,n)=>e+(t-e)*n,Tc=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},IA=[Ju,hr,Jr],zA=e=>IA.find(t=>t.test(e));function Lm(e){const t=zA(e);if(!t)return!1;let n=t.parse(e);return t===Jr&&(n=LA(n)),n}const Im=(e,t)=>{const n=Lm(e),r=Lm(t);if(!n||!r)return Xo(e,t);const s={...n};return a=>(s.red=Tc(n.red,r.red,a),s.green=Tc(n.green,r.green,a),s.blue=Tc(n.blue,r.blue,a),s.alpha=Z(n.alpha,r.alpha,a),hr.transform(s))},ed=new Set(["none","hidden"]);function VA(e,t){return ed.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function _A(e,t){return n=>Z(e,t,n)}function Jf(e){return typeof e=="number"?_A:typeof e=="string"?Qf(e)?Xo:he.test(e)?Im:UA:Array.isArray(e)?Mw:typeof e=="object"?he.test(e)?Im:BA:Xo}function Mw(e,t){const n=[...e],r=n.length,s=e.map((a,i)=>Jf(a)(a,t[i]));return a=>{for(let i=0;i<r;i++)n[i]=s[i](a);return n}}function BA(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Jf(e[s])(e[s],t[s]));return s=>{for(const a in r)n[a]=r[a](s);return n}}function HA(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const a=t.types[s],i=e.indexes[a][r[a]],o=e.values[i]??0;n[s]=o,r[a]++}return n}const UA=(e,t)=>{const n=At.createTransformer(t),r=Ns(e),s=Ns(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?ed.has(e)&&!s.values.length||ed.has(t)&&!r.values.length?VA(e,t):ci(Mw(HA(r,s),s.values),n):Xo(e,t)};function Lw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Z(e,t,n):Jf(e)(e,t)}const $A=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>J.update(t,n),stop:()=>Jn(t),now:()=>Ee.isProcessing?Ee.timestamp:Ve.now()}},Iw=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let a=0;a<s;a++)r+=Math.round(e(a/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Zo=2e4;function eh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Zo;)t+=n,r=e.next(t);return t>=Zo?1/0:t}function WA(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(eh(r),Zo);return{type:"keyframes",ease:a=>r.next(s*a).value/t,duration:ft(s)}}const ce={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function td(e,t){return e*Math.sqrt(1-t*t)}const qA=12;function YA(e,t,n){let r=n;for(let s=1;s<qA;s++)r=r-e(r)/t(r);return r}const jc=.001;function KA({duration:e=ce.duration,bounce:t=ce.bounce,velocity:n=ce.velocity,mass:r=ce.mass}){let s,a,i=1-t;i=Kt(ce.minDamping,ce.maxDamping,i),e=Kt(ce.minDuration,ce.maxDuration,ft(e)),i<1?(s=u=>{const d=u*i,f=d*e,h=d-n,p=td(u,i),y=Math.exp(-f);return jc-h/p*y},a=u=>{const f=u*i*e,h=f*n+n,p=Math.pow(i,2)*Math.pow(u,2)*e,y=Math.exp(-f),w=td(Math.pow(u,2),i);return(-s(u)+jc>0?-1:1)*((h-p)*y)/w}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-jc+d*f},a=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const o=5/e,c=YA(s,a,o);if(e=nt(e),isNaN(c))return{stiffness:ce.stiffness,damping:ce.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const GA=["duration","bounce"],QA=["stiffness","damping","mass"];function zm(e,t){return t.some(n=>e[n]!==void 0)}function XA(e){let t={velocity:ce.velocity,stiffness:ce.stiffness,damping:ce.damping,mass:ce.mass,isResolvedFromDuration:!1,...e};if(!zm(e,QA)&&zm(e,GA))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,a=2*Kt(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ce.mass,stiffness:s,damping:a}}else{const n=KA({...e,velocity:0});t={...t,...n,mass:ce.mass},t.isResolvedFromDuration=!0}return t}function Jo(e=ce.visualDuration,t=ce.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const a=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],o={done:!1,value:a},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=XA({...n,velocity:-ft(n.velocity||0)}),y=h||0,w=u/(2*Math.sqrt(c*d)),b=i-a,g=ft(Math.sqrt(c/d)),m=Math.abs(b)<5;r||(r=m?ce.restSpeed.granular:ce.restSpeed.default),s||(s=m?ce.restDelta.granular:ce.restDelta.default);let x,P,C,k,E,S;if(w<1)C=td(g,w),k=(y+w*g*b)/C,x=A=>{const L=Math.exp(-w*g*A);return i-L*(k*Math.sin(C*A)+b*Math.cos(C*A))},E=w*g*k+b*C,S=w*g*b-k*C,P=A=>Math.exp(-w*g*A)*(E*Math.sin(C*A)+S*Math.cos(C*A));else if(w===1){x=L=>i-Math.exp(-g*L)*(b+(y+g*b)*L);const A=y+g*b;P=L=>Math.exp(-g*L)*(g*A*L-y)}else{const A=g*Math.sqrt(w*w-1);x=R=>{const U=Math.exp(-w*g*R),V=Math.min(A*R,300);return i-U*((y+w*g*b)*Math.sinh(V)+A*b*Math.cosh(V))/A};const L=(y+w*g*b)/A,D=w*g*L-b*A,H=w*g*b-L*A;P=R=>{const U=Math.exp(-w*g*R),V=Math.min(A*R,300);return U*(D*Math.sinh(V)+H*Math.cosh(V))}}const N={calculatedDuration:p&&f||null,velocity:A=>nt(P(A)),next:A=>{if(!p&&w<1){const D=Math.exp(-w*g*A),H=Math.sin(C*A),R=Math.cos(C*A),U=i-D*(k*H+b*R),V=nt(D*(E*H+S*R));return o.done=Math.abs(V)<=r&&Math.abs(i-U)<=s,o.value=o.done?i:U,o}const L=x(A);if(p)o.done=A>=f;else{const D=nt(P(A));o.done=Math.abs(D)<=r&&Math.abs(i-L)<=s}return o.value=o.done?i:L,o},toString:()=>{const A=Math.min(eh(N),Zo),L=Iw(D=>N.next(A*D).value,A,30);return A+"ms "+L},toTransition:()=>{}};return N}Jo.applyToOptions=e=>{const t=WA(e,100,Jo);return e.ease=t.ease,e.duration=nt(t.duration),e.type="keyframes",e};const ZA=5;function zw(e,t,n){const r=Math.max(t-ZA,0);return yw(n-e(r),t-r)}function nd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:i,min:o,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=S=>o!==void 0&&S<o||c!==void 0&&S>c,y=S=>o===void 0?c:c===void 0||Math.abs(o-S)<Math.abs(c-S)?o:c;let w=n*t;const b=f+w,g=i===void 0?b:i(b);g!==b&&(w=g-f);const m=S=>-w*Math.exp(-S/r),x=S=>g+m(S),P=S=>{const N=m(S),A=x(S);h.done=Math.abs(N)<=u,h.value=h.done?g:A};let C,k;const E=S=>{p(h.value)&&(C=S,k=Jo({keyframes:[h.value,y(h.value)],velocity:zw(x,S,h.value),damping:s,stiffness:a,restDelta:u,restSpeed:d}))};return E(0),{calculatedDuration:null,next:S=>{let N=!1;return!k&&C===void 0&&(N=!0,P(S),E(S)),C!==void 0&&S>=C?k.next(S-C):(!N&&P(S),h)}}}function JA(e,t,n){const r=[],s=n||Zn.mix||Lw,a=e.length-1;for(let i=0;i<a;i++){let o=s(e[i],e[i+1]);if(t){const c=Array.isArray(t)?t[i]||pt:t;o=ci(c,o)}r.push(o)}return r}function eN(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const a=e.length;if(qf(a===t.length),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=JA(t,r,s),c=o.length,u=d=>{if(i&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=qa(e[f],e[f+1],d);return o[f](h)};return n?d=>u(Kt(e[0],e[a-1],d)):u}function tN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=qa(0,t,r);e.push(Z(n,1,s))}}function nN(e){const t=[0];return tN(t,e.length-1),t}function rN(e,t){return e.map(n=>n*t)}function sN(e,t){return e.map(()=>t||Ew).splice(0,e.length-1)}function ba({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=fA(r)?r.map(Om):Om(r),a={done:!1,value:t[0]},i=rN(n&&n.length===t.length?n:nN(t),e),o=eN(i,t,{ease:Array.isArray(s)?s:sN(t,s)});return{calculatedDuration:e,next:c=>(a.value=o(c),a.done=c>=e,a)}}const aN=e=>e!==null;function Ml(e,{repeat:t,repeatType:n="loop"},r,s=1){const a=e.filter(aN),o=s<0||t&&n!=="loop"&&t%2===1?0:a.length-1;return!o||r===void 0?a[o]:r}const iN={decay:nd,inertia:nd,tween:ba,keyframes:ba,spring:Jo};function Vw(e){typeof e.type=="string"&&(e.type=iN[e.type])}class th{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const oN=e=>e/100;class el extends th{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==Ve.now()&&this.tick(Ve.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Vw(t);const{type:n=ba,repeat:r=0,repeatDelay:s=0,repeatType:a,velocity:i=0}=t;let{keyframes:o}=t;const c=n||ba;c!==ba&&typeof o[0]!="number"&&(this.mixKeyframes=ci(oN,Lw(o[0],o[1])),o=[0,100]);const u=c({...t,keyframes:o});a==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...o].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=eh(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:o,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:p,type:y,onUpdate:w,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let x=this.currentTime,P=r;if(f){const S=Math.min(this.currentTime,s)/o;let N=Math.floor(S),A=S%1;!A&&S>=1&&(A=1),A===1&&N--,N=Math.min(N,f+1),!!(N%2)&&(h==="reverse"?(A=1-A,p&&(A-=p/o)):h==="mirror"&&(P=i)),x=Kt(0,1,A)*o}let C;m?(this.delayState.value=d[0],C=this.delayState):C=P.next(x),a&&!m&&(C.value=a(C.value));let{done:k}=C;!m&&c!==null&&(k=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return E&&y!==nd&&(C.value=Ml(d,this.options,b,this.speed)),w&&w(C.value),E&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return ft(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ft(t)}get time(){return ft(this.currentTime)}set time(t){t=nt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return zw(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Ve.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ft(this.currentTime))}play(){var s,a;if(this.isStopped)return;const{driver:t=$A,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(a=(s=this.options).onPlay)==null||a.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ve.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function lN(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const pr=e=>e*180/Math.PI,rd=e=>{const t=pr(Math.atan2(e[1],e[0]));return sd(t)},cN={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:rd,rotateZ:rd,skewX:e=>pr(Math.atan(e[1])),skewY:e=>pr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},sd=e=>(e=e%360,e<0&&(e+=360),e),Vm=rd,_m=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Bm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),uN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_m,scaleY:Bm,scale:e=>(_m(e)+Bm(e))/2,rotateX:e=>sd(pr(Math.atan2(e[6],e[5]))),rotateY:e=>sd(pr(Math.atan2(-e[2],e[0]))),rotateZ:Vm,rotate:Vm,skewX:e=>pr(Math.atan(e[4])),skewY:e=>pr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ad(e){return e.includes("scale")?1:0}function id(e,t){if(!e||e==="none")return ad(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=uN,s=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=cN,s=o}if(!s)return ad(t);const a=r[t],i=s[1].split(",").map(fN);return typeof a=="function"?a(i):i[a]}const dN=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return id(n,t)};function fN(e){return parseFloat(e.trim())}const _s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bs=new Set([..._s,"pathRotation"]),Hm=e=>e===Vs||e===I,hN=new Set(["x","y","z"]),pN=_s.filter(e=>!hN.has(e));function mN(e){const t=[];return pN.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const In={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>id(t,"x"),y:(e,{transform:t})=>id(t,"y")};In.translateX=In.x;In.translateY=In.y;const kr=new Set;let od=!1,ld=!1,cd=!1;function _w(){if(ld){const e=Array.from(kr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=mN(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([a,i])=>{var o;(o=r.getValue(a))==null||o.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ld=!1,od=!1,kr.forEach(e=>e.complete(cd)),kr.clear()}function Bw(){kr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ld=!0)})}function gN(){cd=!0,Bw(),_w(),cd=!1}class nh{constructor(t,n,r,s,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(kr.add(this),od||(od=!0,J.read(Bw),J.resolveKeyframes(_w))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const a=s==null?void 0:s.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const o=r.readValue(n,i);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=i),s&&a===void 0&&s.set(t[0])}lN(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),kr.delete(this)}cancel(){this.state==="scheduled"&&(kr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const yN=e=>e.startsWith("--");function Hw(e,t,n){yN(t)?e.style.setProperty(t,n):e.style[t]=n}const xN={};function Uw(e,t){const n=gw(e);return()=>xN[t]??n()}const vN=Uw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),$w=Uw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),la=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Um={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:la([0,.65,.55,1]),circOut:la([.55,0,1,.45]),backIn:la([.31,.01,.66,-.59]),backOut:la([.33,1.53,.69,.99])};function Ww(e,t){if(e)return typeof e=="function"?$w()?Iw(e,t):"ease-out":Tw(e)?la(e):Array.isArray(e)?e.map(n=>Ww(n,t)||Um.easeOut):Um[e]}function wN(e,t,n,{delay:r=0,duration:s=300,repeat:a=0,repeatType:i="loop",ease:o="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=Ww(o,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function qw(e){return typeof e=="function"&&"applyToOptions"in e}function bN({type:e,...t}){return qw(e)&&$w()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Yw extends th{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:o,onComplete:c}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,qf(typeof t.type!="string");const u=bN(t);this.animation=wN(n,r,s,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const d=Ml(s,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(d),Hw(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return ft(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ft(t)}get time(){return ft(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=nt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:s}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&vN()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),pt):s(this)}}const Kw={anticipate:Cw,backInOut:Pw,circInOut:Sw};function PN(e){return e in Kw}function CN(e){typeof e.ease=="string"&&PN(e.ease)&&(e.ease=Kw[e.ease])}const Ac=10;class kN extends Yw{constructor(t){CN(t),Vw(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:a,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new el({...i,autoplay:!1}),c=Math.max(Ac,Ve.now()-this.startTime),u=Kt(0,Ac,c-Ac),d=o.sample(c).value,{name:f}=this.options;a&&f&&Hw(a,f,d),n.setWithVelocity(o.sample(Math.max(0,c-u)).value,d,u),o.stop()}}const $m=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(At.test(e)||e==="0")&&!e.startsWith("url("));function SN(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function EN(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],i=$m(s,t),o=$m(a,t);return!i||!o?!1:SN(e)||(n==="spring"||qw(n))&&r}function ud(e){e.duration=0,e.type="keyframes"}const Gw=new Set(["opacity","clipPath","filter","transform"]),TN=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function jN(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&TN.test(e[t]))return!0;return!1}const AN=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),NN=gw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function FN(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:a,type:i,keyframes:o}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return NN()&&n&&(Gw.has(n)||AN.has(n)&&jN(o))&&(n!=="transform"||!d)&&!u&&!r&&s!=="mirror"&&a!==0&&i!=="inertia"}const ON=40;class RN extends th{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:i="loop",keyframes:o,name:c,motionValue:u,element:d,...f}){var y;super(),this.stop=()=>{var w,b;this._animation&&(this._animation.stop(),(w=this.stopTimeline)==null||w.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=Ve.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:a,repeatType:i,name:c,motionValue:u,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||nh;this.keyframeResolver=new p(o,(w,b,g)=>this.onKeyframesResolved(w,b,h,!g),c,u,d),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,r,s){var g,m;this.keyframeResolver=void 0;const{name:a,type:i,velocity:o,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Ve.now();let f=!0;EN(t,a,i,o)||(f=!1,(Zn.instantAnimations||!c)&&(d==null||d(Ml(t,r,n))),t[0]=t[t.length-1],ud(r),r.repeat=0);const p={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>ON?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},y=f&&!u&&FN(p),w=(m=(g=p.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let b;if(y)try{b=new kN({...p,element:w})}catch{b=new el(p)}else b=new el(p);b.finished.then(()=>{this.notifyFinished()}).catch(pt),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),gN()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function Qw(e,t,n,r=0,s=1){const a=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),i=e.size,o=(i-1)*r;return typeof n=="function"?n(a,i):s===1?a*r:o-a*r}const Wm=30,DN=e=>!isNaN(parseFloat(e));class MN{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var a;const s=Ve.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((a=this.events.change)==null||a.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ve.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=DN(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Yf);const r=this.events[t].add(n);return t==="change"?()=>{r(),J.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ve.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Wm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Wm);return yw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Fs(e,t){return new MN(e,t)}function Xw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function rh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Xw(n,e):n}const LN={type:"spring",stiffness:500,damping:25,restSpeed:10},IN=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),zN={type:"keyframes",duration:.8},VN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_N=(e,{keyframes:t})=>t.length>2?zN:Bs.has(e)?e.startsWith("scale")?IN(t[1]):LN:VN,BN=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function HN(e){for(const t in e)if(!BN.has(t))return!0;return!1}const sh=(e,t,n,r={},s,a)=>i=>{const o=rh(r,e)||{},c=o.delay||r.delay||0;let{elapsed:u=0}=r;u=u-nt(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:h=>{t.set(h),o.onUpdate&&o.onUpdate(h)},onComplete:()=>{i(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:s};HN(o)||Object.assign(d,_N(e,d)),d.duration&&(d.duration=nt(d.duration)),d.repeatDelay&&(d.repeatDelay=nt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(ud(d),d.delay===0&&(f=!0)),(Zn.instantAnimations||Zn.skipAnimations||s!=null&&s.shouldSkipAnimations||o.skipAnimations)&&(f=!0,ud(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,f&&!a&&t.get()!==void 0){const h=Ml(d.keyframes,o);if(h!==void 0){J.update(()=>{d.onUpdate(h),d.onComplete()});return}}return o.isSync?new el(d):new RN(d)},UN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $N(e){const t=UN.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function Zw(e,t,n=1){const[r,s]=$N(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const i=a.trim();return hw(i)?parseFloat(i):i}return Qf(s)?Zw(s,t,n+1):s}function qm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function ah(e,t,n,r){if(typeof t=="function"){const[s,a]=qm(r);t=t(n!==void 0?n:e.custom,s,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,a]=qm(r);t=t(n!==void 0?n:e.custom,s,a)}return t}function Sr(e,t,n){const r=e.getProps();return ah(r,t,n!==void 0?n:r.custom,e)}const Jw=new Set(["width","height","top","left","right","bottom",..._s]),dd=e=>Array.isArray(e);function WN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fs(n))}function qN(e){return dd(e)?e[e.length-1]||0:e}function YN(e,t){const n=Sr(e,t);let{transitionEnd:r={},transition:s={},...a}=n||{};a={...a,...r};for(const i in a){const o=qN(a[i]);WN(e,i,o)}}const Te=e=>!!(e&&e.getVelocity);function KN(e){return!!(Te(e)&&e.add)}function fd(e,t){const n=e.getValue("willChange");if(KN(n))return n.add(t);if(!n&&Zn.WillChange){const r=new Zn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function ih(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const GN="framerAppearId",eb="data-"+ih(GN);function tb(e){return e.props[eb]}function QN({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function nb(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:a,transitionEnd:i,...o}=t;const c=e.getDefaultTransition();a=a?Xw(a,c):c;const u=a==null?void 0:a.reduceMotion,d=a==null?void 0:a.skipAnimations;r&&(a=r);const f=[],h=s&&e.animationState&&e.animationState.getState()[s],p=a==null?void 0:a.path;p&&p.animateVisualElement(e,o,a,n,f);for(const y in o){const w=e.getValue(y,e.latestValues[y]??null),b=o[y];if(b===void 0||h&&QN(h,y))continue;const g={delay:n,...rh(a||{},y)};d&&(g.skipAnimations=!0);const m=w.get();if(m!==void 0&&!w.isAnimating()&&!Array.isArray(b)&&b===m&&!g.velocity){J.update(()=>w.set(b));continue}let x=!1;if(window.MotionHandoffAnimation){const k=tb(e);if(k){const E=window.MotionHandoffAnimation(k,y,J);E!==null&&(g.startTime=E,x=!0)}}fd(e,y);const P=u??e.shouldReduceMotion;w.start(sh(y,w,b,P&&Jw.has(y)?{type:!1}:g,e,x));const C=w.animation;C&&f.push(C)}if(i){const y=()=>J.update(()=>{i&&YN(e,i)});f.length?Promise.all(f).then(y):y()}return f}function hd(e,t,n={}){var c;const r=Sr(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const a=r?()=>Promise.all(nb(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=s;return XN(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:o}=s;if(o){const[u,d]=o==="beforeChildren"?[a,i]:[i,a];return u().then(()=>d())}else return Promise.all([a(),i(n.delay)])}function XN(e,t,n=0,r=0,s=0,a=1,i){const o=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),o.push(hd(c,t,{...i,delay:n+(typeof r=="function"?0:r)+Qw(e.variantChildren,c,r,s,a)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(o)}function ZN(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(a=>hd(e,a,n));r=Promise.all(s)}else if(typeof t=="string")r=hd(e,t,n);else{const s=typeof t=="function"?Sr(e,t,n.custom):t;r=Promise.all(nb(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const JN={test:e=>e==="auto",parse:e=>e},rb=e=>t=>t.test(e),sb=[Vs,I,Yt,nn,SA,kA,JN],Ym=e=>sb.find(rb(e));function eF(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||mw(e):!0}const tF=new Set(["brightness","contrast","saturate","opacity"]);function nF(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Xf)||[];if(!r)return e;const s=n.replace(r,"");let a=tF.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+s+")"}const rF=/\b([a-z-]*)\(.*?\)/gu,pd={...At,getAnimatableNone:e=>{const t=e.match(rF);return t?t.map(nF).join(" "):e}},md={...At,getAnimatableNone:e=>{const t=At.parse(e);return At.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Km={...Vs,transform:Math.round},sF={rotate:nn,pathRotation:nn,rotateX:nn,rotateY:nn,rotateZ:nn,scale:$i,scaleX:$i,scaleY:$i,scaleZ:$i,skew:nn,skewX:nn,skewY:nn,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:Ya,originX:Dm,originY:Dm,originZ:I},tl={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...sF,zIndex:Km,fillOpacity:Ya,strokeOpacity:Ya,numOctaves:Km},aF={...tl,color:he,backgroundColor:he,outlineColor:he,fill:he,stroke:he,borderColor:he,borderTopColor:he,borderRightColor:he,borderBottomColor:he,borderLeftColor:he,filter:pd,WebkitFilter:pd,mask:md,WebkitMask:md},ab=e=>aF[e],iF=new Set([pd,md]);function ib(e,t){let n=ab(e);return iF.has(n)||(n=At),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const oF=new Set(["auto","none","0"]);function lF(e,t,n){let r=0,s;for(;r<e.length&&!s;){const a=e[r];typeof a=="string"&&!oF.has(a)&&Ns(a).values.length&&(s=e[r]),r++}if(s&&n)for(const a of t)e[a]=ib(n,s)}class cF extends nh{constructor(t,n,r,s,a){super(t,n,r,s,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),Qf(f))){const h=Zw(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Jw.has(r)||t.length!==2)return;const[s,a]=t,i=Ym(s),o=Ym(a),c=Rm(s),u=Rm(a);if(c!==u&&In[r]){this.needsMeasurement=!0;return}if(i!==o)if(Hm(i)&&Hm(o))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else In[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||eF(t[s]))&&r.push(s);r.length&&lF(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=In[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var o;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const a=r.length-1,i=r[a];r[a]=In[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function ob(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=(n==null?void 0:n[e])??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const gd=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function uF(e){return pw(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:oh}=jw(queueMicrotask,!1),wt={x:!1,y:!1};function lb(){return wt.x||wt.y}function dF(e){return e==="x"||e==="y"?wt[e]?null:(wt[e]=!0,()=>{wt[e]=!1}):wt.x||wt.y?null:(wt.x=wt.y=!0,()=>{wt.x=wt.y=!1})}function cb(e,t){const n=ob(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function fF(e){return!(e.pointerType==="touch"||lb())}function hF(e,t,n={}){const[r,s,a]=cb(e,n);return r.forEach(i=>{let o=!1,c=!1,u;const d=()=>{i.removeEventListener("pointerleave",y)},f=b=>{u&&(u(b),u=void 0),d()},h=b=>{o=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),c&&(c=!1,f(b))},p=()=>{o=!0,window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",h,s)},y=b=>{if(b.pointerType!=="touch"){if(o){c=!0;return}f(b)}},w=b=>{if(!fF(b))return;c=!1;const g=t(i,b);typeof g=="function"&&(u=g,i.addEventListener("pointerleave",y,s))};i.addEventListener("pointerenter",w,s),i.addEventListener("pointerdown",p,s)}),a}const ub=(e,t)=>t?e===t?!0:ub(e,t.parentElement):!1,lh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,pF=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function mF(e){return pF.has(e.tagName)||e.isContentEditable===!0}const gF=new Set(["INPUT","SELECT","TEXTAREA"]);function yF(e){return gF.has(e.tagName)||e.isContentEditable===!0}const ho=new WeakSet;function Gm(e){return t=>{t.key==="Enter"&&e(t)}}function Nc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const xF=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Gm(()=>{if(ho.has(n))return;Nc(n,"down");const s=Gm(()=>{Nc(n,"up")}),a=()=>Nc(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Qm(e){return lh(e)&&!lb()}const Xm=new WeakSet;function vF(e,t,n={}){const[r,s,a]=cb(e,n),i=o=>{const c=o.currentTarget;if(!Qm(o)||Xm.has(o))return;ho.add(c),n.stopPropagation&&Xm.add(o);const u=t(c,o),d=(p,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),ho.has(c)&&ho.delete(c),Qm(p)&&typeof u=="function"&&u(p,{success:y})},f=p=>{d(p,c===window||c===document||n.useGlobalTarget||ub(c,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",i,s),uF(o)&&(o.addEventListener("focus",u=>xF(u,s)),!mF(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),a}function ch(e){return pw(e)&&"ownerSVGElement"in e}const po=new WeakMap;let Cn;const db=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:ch(r)&&"getBBox"in r?r.getBBox()[t]:r[n],wF=db("inline","width","offsetWidth"),bF=db("block","height","offsetHeight");function PF({target:e,borderBoxSize:t}){var n;(n=po.get(e))==null||n.forEach(r=>{r(e,{get width(){return wF(e,t)},get height(){return bF(e,t)}})})}function CF(e){e.forEach(PF)}function kF(){typeof ResizeObserver>"u"||(Cn=new ResizeObserver(CF))}function SF(e,t){Cn||kF();const n=ob(e);return n.forEach(r=>{let s=po.get(r);s||(s=new Set,po.set(r,s)),s.add(t),Cn==null||Cn.observe(r)}),()=>{n.forEach(r=>{const s=po.get(r);s==null||s.delete(t),s!=null&&s.size||Cn==null||Cn.unobserve(r)})}}const mo=new Set;let es;function EF(){es=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};mo.forEach(t=>t(e))},window.addEventListener("resize",es)}function TF(e){return mo.add(e),es||EF(),()=>{mo.delete(e),!mo.size&&typeof es=="function"&&(window.removeEventListener("resize",es),es=void 0)}}function Zm(e,t){return typeof e=="function"?TF(e):SF(e,t)}function jF(e){return ch(e)&&e.tagName==="svg"}const AF=[...sb,he,At],NF=e=>AF.find(rb(e)),Jm=()=>({translate:0,scale:1,origin:0,originPoint:0}),ts=()=>({x:Jm(),y:Jm()}),eg=()=>({min:0,max:0}),ge=()=>({x:eg(),y:eg()}),FF=new WeakMap;function Ll(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ka(e){return typeof e=="string"||Array.isArray(e)}const uh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dh=["initial",...uh];function Il(e){return Ll(e.animate)||dh.some(t=>Ka(e[t]))}function fb(e){return!!(Il(e)||e.variants)}function OF(e,t,n){for(const r in t){const s=t[r],a=n[r];if(Te(s))e.addValue(r,s);else if(Te(a))e.addValue(r,Fs(s,{owner:e}));else if(a!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,Fs(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const yd={current:null},hb={current:!1},RF=typeof window<"u";function DF(){if(hb.current=!0,!!RF)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yd.current=e.matches;e.addEventListener("change",t),t()}else yd.current=!1}const tg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let nl={};function pb(e){nl=e}function MF(){return nl}class LF{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:a,blockInitialAnimation:i,visualState:o},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=nh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Ve.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,J.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=o;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=a,this.options=c,this.blockInitialAnimation=!!i,this.isControllingVariants=Il(n),this.isVariantNode=fb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const y=h[p];u[p]!==void 0&&Te(y)&&y.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,FF.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,a)=>this.bindToMotionValue(a,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hb.current||DF(),this.shouldReduceMotion=yd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Jn(this.notifyUpdate),Jn(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&Gw.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:o,times:c,ease:u,duration:d}=n.accelerate,f=new Yw({element:this.current,name:t,keyframes:o,times:c,ease:u,duration:nt(d)}),h=i(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=Bs.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&J.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;typeof window<"u"&&window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),a&&a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in nl){const n=nl[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<tg.length;r++){const s=tg[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const a="on"+s,i=t[a];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=OF(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Fs(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(hw(r)||mw(r))?r=parseFloat(r):!NF(r)&&At.test(n)&&(r=ib(t,n)),this.setBaseTarget(t,Te(r)?r.get():r)),Te(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var a;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const i=ah(this.props,n,(a=this.presenceContext)==null?void 0:a.custom);i&&(r=i[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Te(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Yf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){oh.render(this.render)}}class mb extends LF{constructor(){super(...arguments),this.KeyframeResolver=cF}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Te(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class sr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function gb({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function IF({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function zF(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Fc(e){return e===void 0||e===1}function xd({scale:e,scaleX:t,scaleY:n}){return!Fc(e)||!Fc(t)||!Fc(n)}function cr(e){return xd(e)||yb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function yb(e){return ng(e.x)||ng(e.y)}function ng(e){return e&&e!=="0%"}function rl(e,t,n){const r=e-n,s=t*r;return n+s}function rg(e,t,n,r,s){return s!==void 0&&(e=rl(e,s,r)),rl(e,n,r)+t}function vd(e,t=0,n=1,r,s){e.min=rg(e.min,t,n,r,s),e.max=rg(e.max,t,n,r,s)}function xb(e,{x:t,y:n}){vd(e.x,t.translate,t.scale,t.originPoint),vd(e.y,n.translate,n.scale,n.originPoint)}const sg=.999999999999,ag=1.0000000000001;function VF(e,t,n,r=!1){var o;const s=n.length;if(!s)return;t.x=t.y=1;let a,i;for(let c=0;c<s;c++){a=n[c],i=a.projectionDelta;const{visualElement:u}=a.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(_t(e.x,-a.scroll.offset.x),_t(e.y,-a.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,xb(e,i)),r&&cr(a.latestValues)&&go(e,a.latestValues,(o=a.layout)==null?void 0:o.layoutBox))}t.x<ag&&t.x>sg&&(t.x=1),t.y<ag&&t.y>sg&&(t.y=1)}function _t(e,t){e.min+=t,e.max+=t}function ig(e,t,n,r,s=.5){const a=Z(e.min,e.max,s);vd(e,t,n,a,r)}function og(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function go(e,t,n){const r=n??e;ig(e.x,og(t.x,r.x),t.scaleX,t.scale,t.originX),ig(e.y,og(t.y,r.y),t.scaleY,t.scale,t.originY)}function vb(e,t){return gb(zF(e.getBoundingClientRect(),t))}function _F(e,t,n){const r=vb(e,n),{scroll:s}=t;return s&&(_t(r.x,s.offset.x),_t(r.y,s.offset.y)),r}const BF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},HF=_s.length;function UF(e,t,n){let r="",s=!0;for(let i=0;i<HF;i++){const o=_s[i],c=e[o];if(c===void 0)continue;let u=!0;if(typeof c=="number")u=c===(o.startsWith("scale")?1:0);else{const d=parseFloat(c);u=o.startsWith("scale")?d===1:d===0}if(!u||n){const d=gd(c,tl[o]);if(!u){s=!1;const f=BF[o]||o;r+=`${f}(${d}) `}n&&(t[o]=d)}}const a=e.pathRotation;return a&&(s=!1,r+=`rotate(${gd(a,tl.pathRotation)}) `),r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function fh(e,t,n){const{style:r,vars:s,transformOrigin:a}=e;let i=!1,o=!1;for(const c in t){const u=t[c];if(Bs.has(c)){i=!0;continue}else if(Nw(c)){s[c]=u;continue}else{const d=gd(u,tl[c]);c.startsWith("origin")?(o=!0,a[c]=d):r[c]=d}}if(t.transform||(i||n?r.transform=UF(t,e.transform,n):r.transform&&(r.transform="none")),o){const{originX:c="50%",originY:u="50%",originZ:d=0}=a;r.transformOrigin=`${c} ${u} ${d}`}}function wb(e,{style:t,vars:n},r,s){const a=e.style;let i;for(i in t)a[i]=t[i];s==null||s.applyProjectionStyles(a,r);for(i in n)a.setProperty(i,n[i])}function lg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ra={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(I.test(e))e=parseFloat(e);else return e;const n=lg(e,t.target.x),r=lg(e,t.target.y);return`${n}% ${r}%`}},$F={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=At.parse(e);if(s.length>5)return r;const a=At.createTransformer(e),i=typeof s[0]!="number"?1:0,o=n.x.scale*t.x,c=n.y.scale*t.y;s[0+i]/=o,s[1+i]/=c;const u=Z(o,c,.5);return typeof s[2+i]=="number"&&(s[2+i]/=u),typeof s[3+i]=="number"&&(s[3+i]/=u),a(s)}},wd={borderRadius:{...ra,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ra,borderTopRightRadius:ra,borderBottomLeftRadius:ra,borderBottomRightRadius:ra,boxShadow:$F};function bb(e,{layout:t,layoutId:n}){return Bs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!wd[e]||e==="opacity")}function hh(e,t,n){var i;const r=e.style,s=t==null?void 0:t.style,a={};if(!r)return a;for(const o in r)(Te(r[o])||s&&Te(s[o])||bb(o,e)||((i=n==null?void 0:n.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(a[o]=r[o]);return a}function WF(e){return window.getComputedStyle(e)}class qF extends mb{constructor(){super(...arguments),this.type="html",this.renderInstance=wb}readValueFromInstance(t,n){var r;if(Bs.has(n))return(r=this.projection)!=null&&r.isProjecting?ad(n):dN(t,n);{const s=WF(t),a=(Nw(n)?s.getPropertyValue(n):s[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return vb(t,n)}build(t,n,r){fh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return hh(t,n,r)}}const YF={offset:"stroke-dashoffset",array:"stroke-dasharray"},KF={offset:"strokeDashoffset",array:"strokeDasharray"};function GF(e,t,n=1,r=0,s=!0){e.pathLength=1;const a=s?YF:KF;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}const QF=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Pb(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:a=1,pathOffset:i=0,...o},c,u,d){if(fh(e,o,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of QF)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&GF(f,s,a,i,!1)}const Cb=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),kb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function XF(e,t,n,r){wb(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(Cb.has(s)?s:ih(s),t.attrs[s])}function Sb(e,t,n){const r=hh(e,t,n);for(const s in e)if(Te(e[s])||Te(t[s])){const a=_s.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[a]=e[s]}return r}class ZF extends mb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Bs.has(n)){const r=ab(n);return r&&r.default||0}return n=Cb.has(n)?n:ih(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Sb(t,n,r)}build(t,n,r){Pb(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){XF(t,n,r,s)}mount(t){this.isSVGTag=kb(t.tagName),super.mount(t)}}const JF=dh.length;function Eb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Eb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<JF;n++){const r=dh[n],s=e.props[r];(Ka(s)||s===!1)&&(t[r]=s)}return t}function Tb(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const e3=[...uh].reverse(),t3=uh.length;function n3(e){return t=>Promise.all(t.map(({animation:n,options:r})=>ZN(e,n,r)))}function r3(e){let t=n3(e),n=cg(),r=!0,s=!1;const a=u=>(d,f)=>{var p;const h=Sr(e,f,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(h){const{transition:y,transitionEnd:w,...b}=h;d={...d,...b,...w}}return d};function i(u){t=u(e)}function o(u){const{props:d}=e,f=Eb(e.parent)||{},h=[],p=new Set;let y={},w=1/0;for(let g=0;g<t3;g++){const m=e3[g],x=n[m],P=d[m]!==void 0?d[m]:f[m],C=Ka(P),k=m===u?x.isActive:null;k===!1&&(w=g);let E=P===f[m]&&P!==d[m]&&C;if(E&&(r||s)&&e.manuallyAnimateOnMount&&(E=!1),x.protectedKeys={...y},!x.isActive&&k===null||!P&&!x.prevProp||Ll(P)||typeof P=="boolean")continue;if(m==="exit"&&x.isActive&&k!==!0){x.prevResolvedValues&&(y={...y,...x.prevResolvedValues});continue}const S=s3(x.prevProp,P);let N=S||m===u&&x.isActive&&!E&&C||g>w&&C,A=!1;const L=Array.isArray(P)?P:[P];let D=L.reduce(a(m),{});k===!1&&(D={});const{prevResolvedValues:H={}}=x,R={...H,...D},U=T=>{N=!0,p.has(T)&&(A=!0,p.delete(T)),x.needsAnimating[T]=!0;const O=e.getValue(T);O&&(O.liveStyle=!1)};for(const T in R){const O=D[T],z=H[T];if(y.hasOwnProperty(T))continue;let B=!1;dd(O)&&dd(z)?B=!Tb(O,z)||S:B=O!==z,B?O!=null?U(T):p.add(T):O!==void 0&&p.has(T)?U(T):x.protectedKeys[T]=!0}x.prevProp=P,x.prevResolvedValues=D,x.isActive&&(y={...y,...D}),(r||s)&&e.blockInitialAnimation&&(N=!1);const V=E&&S;N&&(!V||A)&&h.push(...L.map(T=>{const O={type:m};if(typeof T=="string"&&(r||s)&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:z}=e,B=Sr(z,T);if(z.enteringChildren&&B){const{delayChildren:Q}=B.transition||{};O.delay=Qw(z.enteringChildren,e,Q)}}return{animation:T,options:O}}))}if(p.size){const g={};if(typeof d.initial!="boolean"){const m=Sr(e,Array.isArray(d.initial)?d.initial[0]:d.initial);m&&m.transition&&(g.transition=m.transition)}p.forEach(m=>{const x=e.getBaseTarget(m),P=e.getValue(m);P&&(P.liveStyle=!0),g[m]=x??null}),h.push({animation:g})}let b=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,s=!1,b?t(h):Promise.resolve()}function c(u,d){var h;if(n[u].isActive===d)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(p=>{var y;return(y=p.animationState)==null?void 0:y.setActive(u,d)}),n[u].isActive=d;const f=o(u);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:o,setActive:c,setAnimateFunction:i,getState:()=>n,reset:()=>{n=cg(),s=!0}}}function s3(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Tb(t,e):!1}function ir(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cg(){return{animate:ir(!0),whileInView:ir(),whileHover:ir(),whileTap:ir(),whileDrag:ir(),whileFocus:ir(),exit:ir()}}function bd(e,t){e.min=t.min,e.max=t.max}function vt(e,t){bd(e.x,t.x),bd(e.y,t.y)}function ug(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const jb=1e-4,a3=1-jb,i3=1+jb,Ab=.01,o3=0-Ab,l3=0+Ab;function _e(e){return e.max-e.min}function c3(e,t,n){return Math.abs(e-t)<=n}function dg(e,t,n,r=.5){e.origin=r,e.originPoint=Z(t.min,t.max,e.origin),e.scale=_e(n)/_e(t),e.translate=Z(n.min,n.max,e.origin)-e.originPoint,(e.scale>=a3&&e.scale<=i3||isNaN(e.scale))&&(e.scale=1),(e.translate>=o3&&e.translate<=l3||isNaN(e.translate))&&(e.translate=0)}function Pa(e,t,n,r){dg(e.x,t.x,n.x,r?r.originX:void 0),dg(e.y,t.y,n.y,r?r.originY:void 0)}function fg(e,t,n,r=0){const s=r?Z(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+_e(t)}function u3(e,t,n,r){fg(e.x,t.x,n.x,r==null?void 0:r.x),fg(e.y,t.y,n.y,r==null?void 0:r.y)}function hg(e,t,n,r=0){const s=r?Z(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+_e(t)}function sl(e,t,n,r){hg(e.x,t.x,n.x,r==null?void 0:r.x),hg(e.y,t.y,n.y,r==null?void 0:r.y)}function pg(e,t,n,r,s){return e-=t,e=rl(e,1/n,r),s!==void 0&&(e=rl(e,1/s,r)),e}function d3(e,t=0,n=1,r=.5,s,a=e,i=e){if(Yt.test(t)&&(t=parseFloat(t),t=Z(i.min,i.max,t/100)-i.min),typeof t!="number")return;let o=Z(a.min,a.max,r);e===a&&(o-=t),e.min=pg(e.min,t,n,o,s),e.max=pg(e.max,t,n,o,s)}function mg(e,t,[n,r,s],a,i){d3(e,t[n],t[r],t[s],t.scale,a,i)}const f3=["x","scaleX","originX"],h3=["y","scaleY","originY"];function gg(e,t,n,r){mg(e.x,t,f3,n?n.x:void 0,r?r.x:void 0),mg(e.y,t,h3,n?n.y:void 0,r?r.y:void 0)}function yg(e){return e.translate===0&&e.scale===1}function Nb(e){return yg(e.x)&&yg(e.y)}function xg(e,t){return e.min===t.min&&e.max===t.max}function p3(e,t){return xg(e.x,t.x)&&xg(e.y,t.y)}function vg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Fb(e,t){return vg(e.x,t.x)&&vg(e.y,t.y)}function wg(e){return _e(e.x)/_e(e.y)}function bg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Lt(e){return[e("x"),e("y")]}function m3(e,t,n){let r="";const s=e.x.translate/t.x,a=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((s||a||i)&&(r=`translate3d(${s}px, ${a}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,pathRotation:f,rotateX:h,rotateY:p,skewX:y,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotate(${f}deg) `),h&&(r+=`rotateX(${h}deg) `),p&&(r+=`rotateY(${p}deg) `),y&&(r+=`skewX(${y}deg) `),w&&(r+=`skewY(${w}deg) `)}const o=e.x.scale*t.x,c=e.y.scale*t.y;return(o!==1||c!==1)&&(r+=`scale(${o}, ${c})`),r||"none"}const Ob=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],g3=Ob.length,Pg=e=>typeof e=="string"?parseFloat(e):e,Cg=e=>typeof e=="number"||I.test(e);function y3(e,t,n,r,s,a){s?(e.opacity=Z(0,n.opacity??1,x3(r)),e.opacityExit=Z(t.opacity??1,0,v3(r))):a&&(e.opacity=Z(t.opacity??1,n.opacity??1,r));for(let i=0;i<g3;i++){const o=Ob[i];let c=kg(t,o),u=kg(n,o);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Cg(c)===Cg(u)?(e[o]=Math.max(Z(Pg(c),Pg(u),r),0),(Yt.test(u)||Yt.test(c))&&(e[o]+="%")):e[o]=u}(t.rotate||n.rotate)&&(e.rotate=Z(t.rotate||0,n.rotate||0,r))}function kg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const x3=Rb(0,.5,kw),v3=Rb(.5,.95,pt);function Rb(e,t,n){return r=>r<e?0:r>t?1:n(qa(e,t,r))}function w3(e,t,n){const r=Te(e)?e:Fs(e);return r.start(sh("",r,t,n)),r.animation}function Ga(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const b3=(e,t)=>e.depth-t.depth;class P3{constructor(){this.children=[],this.isDirty=!1}add(t){Wf(this.children,t),this.isDirty=!0}remove(t){Qo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(b3),this.isDirty=!1,this.children.forEach(t)}}function C3(e,t){const n=Ve.now(),r=({timestamp:s})=>{const a=s-n;a>=t&&(Jn(r),e(a-t))};return J.setup(r,!0),()=>Jn(r)}function yo(e){return Te(e)?e.get():e}class k3{constructor(){this.members=[]}add(t){Wf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(Qo(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Qo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:a}=r.options,{layoutDependency:i}=t.options;(a===void 0||a!==i)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,a,i;(r=(n=t.options).onExitComplete)==null||r.call(n),(i=(s=t.resumingFrom)==null?void 0:(a=s.options).onExitComplete)==null||i.call(a)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const xo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Oc=["","X","Y","Z"],S3=1e3;let E3=0;function Rc(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Db(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=tb(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",J,!(s||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Db(r)}function Mb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},o=t==null?void 0:t()){this.id=E3++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(A3),this.nodes.forEach(M3),this.nodes.forEach(L3),this.nodes.forEach(N3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new P3)}addEventListener(i,o){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Yf),this.eventHandlers.get(i).add(o)}notifyListeners(i,...o){const c=this.eventHandlers.get(i);c&&c.notify(...o)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=ch(i)&&!jF(i),this.instance=i;const{layoutId:o,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||o)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;J.read(()=>{f=window.innerWidth}),e(i,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=C3(h,250),xo.hasAnimatedSinceResize&&(xo.hasAnimatedSinceResize=!1,this.nodes.forEach(Tg)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&u&&(o||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||B3,{onLayoutAnimationStart:w,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!Fb(this.targetLayout,p),m=!f&&h;if(this.options.layoutRoot||this.resumeFrom||m||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...rh(y,"layout"),onPlay:w,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(d,m,x.path)}else f||Tg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Jn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(I3),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Db(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:o,layout:c}=this.options;if(o===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(O3),this.nodes.forEach(Sg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Eg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(R3),this.nodes.forEach(D3),this.nodes.forEach(T3),this.nodes.forEach(j3)):this.nodes.forEach(Eg),this.clearAllSnapshots();const o=Ve.now();Ee.delta=Kt(0,1e3/60,o-Ee.timestamp),Ee.timestamp=o,Ee.isProcessing=!0,kc.update.process(Ee),kc.preRender.process(Ee),kc.render.process(Ee),Ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,oh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(F3),this.sharedNodes.forEach(z3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!_e(this.snapshot.measuredBox.x)&&!_e(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ge()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(o=!1),o&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!Nb(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;i&&this.instance&&(o||cr(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const o=this.measurePageBox();let c=this.removeElementScroll(o);return i&&(c=this.removeTransform(c)),H3(c),{animationId:this.root.animationId,measuredBox:o,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:i}=this.options;if(!i)return ge();const o=i.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(U3))){const{scroll:d}=this.root;d&&(_t(o.x,d.offset.x),_t(o.y,d.offset.y))}return o}removeElementScroll(i){var c;const o=ge();if(vt(o,i),(c=this.scroll)!=null&&c.wasRoot)return o;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&vt(o,i),_t(o.x,f.offset.x),_t(o.y,f.offset.y))}return o}applyTransform(i,o=!1,c){var d,f;const u=c||ge();vt(u,i);for(let h=0;h<this.path.length;h++){const p=this.path[h];!o&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(_t(u.x,-p.scroll.offset.x),_t(u.y,-p.scroll.offset.y)),cr(p.latestValues)&&go(u,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return cr(this.latestValues)&&go(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(i){var c;const o=ge();vt(o,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!cr(d.latestValues))continue;let f;d.instance&&(xd(d.latestValues)&&d.updateSnapshot(),f=ge(),vt(f,d.measurePageBox())),gg(o,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,f)}return cr(this.latestValues)&&gg(o,this.latestValues),o}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var p;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==o;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Ee.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ge(),this.targetWithTransforms=ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u3(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):vt(this.target,this.layout.layoutBox),xb(this.target,this.targetDelta)):vt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||xd(this.parent.latestValues)||yb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,o,c){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),sl(this.relativeTargetOrigin,o,c,this.options.layoutAnchor||void 0),vt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var y;const i=this.getLead(),o=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty)&&(c=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ee.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;vt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;VF(this.layoutCorrected,this.treeScale,this.path,o),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=ge());const{target:p}=i;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ug(this.prevProjectionDelta.x,this.projectionDelta.x),ug(this.prevProjectionDelta.y,this.projectionDelta.y)),Pa(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!bg(this.projectionDelta.x,this.prevProjectionDelta.x)||!bg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),i){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ts(),this.projectionDelta=ts(),this.projectionDeltaWithTransform=ts()}setAnimationOrigin(i,o=!1,c){const u=this.snapshot,d=u?u.latestValues:{},f={...this.latestValues},h=ts();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const p=ge(),y=u?u.source:void 0,w=this.layout?this.layout.source:void 0,b=y!==w,g=this.getStack(),m=!g||g.members.length<=1,x=!!(b&&!m&&this.options.crossfade===!0&&!this.path.some(_3));this.animationProgress=0;let P;const C=c==null?void 0:c.interpolateProjection(i);this.mixTargetDelta=k=>{const E=k/1e3,S=C==null?void 0:C(E);S?(h.x.translate=S.x,h.x.scale=Z(i.x.scale,1,E),h.x.origin=i.x.origin,h.x.originPoint=i.x.originPoint,h.y.translate=S.y,h.y.scale=Z(i.y.scale,1,E),h.y.origin=i.y.origin,h.y.originPoint=i.y.originPoint):(jg(h.x,i.x,E),jg(h.y,i.y,E)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sl(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),V3(this.relativeTarget,this.relativeTargetOrigin,p,E),P&&p3(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=ge()),vt(P,this.relativeTarget)),b&&(this.animationValues=f,y3(f,d,this.latestValues,E,x,m)),S&&S.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=S.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){var o,c,u;this.notifyListeners("animationStart"),(o=this.currentAnimation)==null||o.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Jn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{xo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Fs(0)),this.motionValue.jump(0,!1),this.currentAnimation=w3(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),i.onUpdate&&i.onUpdate(d)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(S3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:o,target:c,layout:u,latestValues:d}=i;if(!(!o||!c||!u)){if(this!==i&&this.layout&&u&&Lb(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||ge();const f=_e(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+f;const h=_e(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+h}vt(o,c),go(o,d),Pa(this.projectionDeltaWithTransform,this.layoutCorrected,o,d)}}registerSharedNode(i,o){this.sharedNodes.has(i)||this.sharedNodes.set(i,new k3),this.sharedNodes.get(i).add(o);const u=o.options.initialPromotionConfig;o.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(o):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var o;const{layoutId:i}=this.options;return i?((o=this.getStack())==null?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:i}=this.options;return i?(o=this.getStack())==null?void 0:o.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:o,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),i&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let o=!1;const{latestValues:c}=i;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(o=!0),!o)return;const u={};c.z&&Rc("z",i,u,this.animationValues);for(let d=0;d<Oc.length;d++)Rc(`rotate${Oc[d]}`,i,u,this.animationValues),Rc(`skew${Oc[d]}`,i,u,this.animationValues);i.render();for(const d in u)i.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);i.scheduleRender()}applyProjectionStyles(i,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=yo(o==null?void 0:o.pointerEvents)||"",i.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=yo(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!cr(this.latestValues)&&(i.transform=c?c({},""):"none",this.hasProjected=!1);return}i.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=m3(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),i.transform=f;const{x:h,y:p}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?i.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:i.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const y in wd){if(d[y]===void 0)continue;const{correct:w,applyTo:b,isCSSVariable:g}=wd[y],m=f==="none"?d[y]:w(d[y],u);if(b){const x=b.length;for(let P=0;P<x;P++)i[b[P]]=m}else g?this.options.visualElement.renderState.vars[y]=m:i[y]=m}this.options.layoutId&&(i.pointerEvents=u===this?yo(o==null?void 0:o.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var o;return(o=i.currentAnimation)==null?void 0:o.stop()}),this.root.nodes.forEach(Sg),this.root.sharedNodes.clear()}}}function T3(e){e.updateLayout()}function j3(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:a}=e.options,i=t.source!==e.layout.source;if(a==="size")Lt(f=>{const h=i?t.measuredBox[f]:t.layoutBox[f],p=_e(h);h.min=r[f].min,h.max=h.min+p});else if(a==="x"||a==="y"){const f=a==="x"?"y":"x";bd(i?t.measuredBox[f]:t.layoutBox[f],r[f])}else Lb(a,t.layoutBox,r)&&Lt(f=>{const h=i?t.measuredBox[f]:t.layoutBox[f],p=_e(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const o=ts();Pa(o,r,t.layoutBox);const c=ts();i?Pa(c,e.applyTransform(s,!0),t.measuredBox):Pa(c,r,t.layoutBox);const u=!Nb(o);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const y=e.options.layoutAnchor||void 0,w=ge();sl(w,t.layoutBox,h.layoutBox,y);const b=ge();sl(b,r,p.layoutBox,y),Fb(w,b)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=w,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:o,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function A3(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function N3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function F3(e){e.clearSnapshot()}function Sg(e){e.clearMeasurements()}function O3(e){e.isLayoutDirty=!0,e.updateLayout()}function Eg(e){e.isLayoutDirty=!1}function R3(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function D3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Tg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function M3(e){e.resolveTargetDelta()}function L3(e){e.calcProjection()}function I3(e){e.resetSkewAndRotation()}function z3(e){e.removeLeadSnapshot()}function jg(e,t,n){e.translate=Z(t.translate,0,n),e.scale=Z(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ag(e,t,n,r){e.min=Z(t.min,n.min,r),e.max=Z(t.max,n.max,r)}function V3(e,t,n,r){Ag(e.x,t.x,n.x,r),Ag(e.y,t.y,n.y,r)}function _3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const B3={duration:.45,ease:[.4,0,.1,1]},Ng=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Fg=Ng("applewebkit/")&&!Ng("chrome/")?Math.round:pt;function Og(e){e.min=Fg(e.min),e.max=Fg(e.max)}function H3(e){Og(e.x),Og(e.y)}function Lb(e,t,n){return e==="position"||e==="preserve-aspect"&&!c3(wg(t),wg(n),.2)}function U3(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const $3=Mb({attachResizeListener:(e,t)=>Ga(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Dc={current:void 0},Ib=Mb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Dc.current){const e=new $3({});e.mount(window),e.setOptions({layoutScroll:!0}),Dc.current=e}return Dc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zb=v.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function W3(e=!0){const t=v.useContext($f);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,a=v.useId();v.useEffect(()=>{if(e)return s(a)},[e]);const i=v.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,i]:[!0]}const Vb=v.createContext({strict:!1}),Rg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Dg=!1;function q3(){if(Dg)return;const e={};for(const t in Rg)e[t]={isEnabled:n=>Rg[t].some(r=>!!n[r])};pb(e),Dg=!0}function _b(){return q3(),MF()}function Y3(e){const t=_b();for(const n in e)t[n]={...t[n],...e[n]};pb(t)}const K3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function al(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||K3.has(e)}let Bb=e=>!al(e);function G3(e){typeof e=="function"&&(Bb=t=>t.startsWith("on")?!al(t):e(t))}try{G3(require("@emotion/is-prop-valid").default)}catch{}function Q3(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Te(e[s])||(Bb(s)||n===!0&&al(s)||!t&&!al(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const zl=v.createContext({});function X3(e,t){if(Il(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ka(n)?n:void 0,animate:Ka(r)?r:void 0}}return e.inherit!==!1?t:{}}function Z3(e){const{initial:t,animate:n}=X3(e,v.useContext(zl));return v.useMemo(()=>({initial:t,animate:n}),[Mg(t),Mg(n)])}function Mg(e){return Array.isArray(e)?e.join(" "):e}const ph=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Hb(e,t,n){for(const r in t)!Te(t[r])&&!bb(r,n)&&(e[r]=t[r])}function J3({transformTemplate:e},t){return v.useMemo(()=>{const n=ph();return fh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function eO(e,t){const n=e.style||{},r={};return Hb(r,n,e),Object.assign(r,J3(e,t)),r}function tO(e,t){const n={},r=eO(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Ub=()=>({...ph(),attrs:{}});function nO(e,t,n,r){const s=v.useMemo(()=>{const a=Ub();return Pb(a,t,kb(r),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Hb(a,e.style,e),s.style={...a,...s.style}}return s}const rO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function mh(e){return typeof e!="string"||e.includes("-")?!1:!!(rO.indexOf(e)>-1||/[A-Z]/u.test(e))}function sO(e,t,n,{latestValues:r},s,a=!1,i){const c=(i??mh(e)?nO:tO)(t,r,s,e),u=Q3(t,typeof e=="string",a),d=e!==v.Fragment?{...u,...c,ref:n}:{},{children:f}=t,h=v.useMemo(()=>Te(f)?f.get():f,[f]);return v.createElement(e,{...d,children:h})}function aO({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:iO(n,r,s,e),renderState:t()}}function iO(e,t,n,r){const s={},a=r(e,{});for(const h in a)s[h]=yo(a[h]);let{initial:i,animate:o}=e;const c=Il(e),u=fb(e);t&&u&&!c&&e.inherit!==!1&&(i===void 0&&(i=t.initial),o===void 0&&(o=t.animate));let d=n?n.initial===!1:!1;d=d||i===!1;const f=d?o:i;if(f&&typeof f!="boolean"&&!Ll(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const y=ah(e,h[p]);if(y){const{transitionEnd:w,transition:b,...g}=y;for(const m in g){let x=g[m];if(Array.isArray(x)){const P=d?x.length-1:0;x=x[P]}x!==null&&(s[m]=x)}for(const m in w)s[m]=w[m]}}}return s}const $b=e=>(t,n)=>{const r=v.useContext(zl),s=v.useContext($f),a=()=>aO(e,t,r,s);return n?a():sA(a)},oO=$b({scrapeMotionValuesFromProps:hh,createRenderState:ph}),lO=$b({scrapeMotionValuesFromProps:Sb,createRenderState:Ub}),cO=Symbol.for("motionComponentSymbol");function uO(e,t,n){const r=v.useRef(n);v.useInsertionEffect(()=>{r.current=n});const s=v.useRef(null);return v.useCallback(a=>{var o;a&&((o=e.onMount)==null||o.call(e,a)),t&&(a?t.mount(a):t.unmount());const i=r.current;if(typeof i=="function")if(a){const c=i(a);typeof c=="function"&&(s.current=c)}else s.current?(s.current(),s.current=null):i(a);else i&&(i.current=a)},[t])}const Wb=v.createContext({});function _r(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dO(e,t,n,r,s,a){var x,P;const{visualElement:i}=v.useContext(zl),o=v.useContext(Vb),c=v.useContext($f),u=v.useContext(zb),d=u.reducedMotion,f=u.skipAnimations,h=v.useRef(null),p=v.useRef(!1);r=r||o.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:i,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:a}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const y=h.current,w=v.useContext(Wb);y&&!y.projection&&s&&(y.type==="html"||y.type==="svg")&&fO(h.current,n,s,w);const b=v.useRef(!1);v.useInsertionEffect(()=>{y&&b.current&&y.update(n,c)});const g=n[eb],m=v.useRef(!!g&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,g))&&((P=window.MotionHasOptimisedAnimation)==null?void 0:P.call(window,g)));return iA(()=>{p.current=!0,y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),m.current&&y.animationState&&y.animationState.animateChanges())}),v.useEffect(()=>{y&&(!m.current&&y.animationState&&y.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,g)}),m.current=!1),y.enteringChildren=void 0)}),y}function fO(e,t,n,r){const{layoutId:s,layout:a,drag:i,dragConstraints:o,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:qb(e.parent)),e.projection.setOptions({layoutId:s,layout:a,alwaysMeasureLayout:!!i||o&&_r(o),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function qb(e){if(e)return e.options.allowProjection!==!1?e.projection:qb(e.parent)}function Mc(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&Y3(r);const a=n?n==="svg":mh(e),i=a?lO:oO;function o(u,d){let f;const h={...v.useContext(zb),...u,layoutId:hO(u)},{isStatic:p}=h,y=Z3(u),w=i(u,p);if(!p&&typeof window<"u"){pO();const b=mO(h);f=b.MeasureLayout,y.visualElement=dO(e,w,h,s,b.ProjectionNode,a)}return l.jsxs(zl.Provider,{value:y,children:[f&&y.visualElement?l.jsx(f,{visualElement:y.visualElement,...h}):null,sO(e,u,uO(w,y.visualElement,d),w,p,t,a)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=v.forwardRef(o);return c[cO]=e,c}function hO({layoutId:e}){const t=v.useContext(fw).id;return t&&e!==void 0?t+"-"+e:e}function pO(e,t){v.useContext(Vb).strict}function mO(e){const t=_b(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function gO(e,t){if(typeof Proxy>"u")return Mc;const n=new Map,r=(a,i)=>Mc(a,i,e,t),s=(a,i)=>r(a,i);return new Proxy(s,{get:(a,i)=>i==="create"?r:(n.has(i)||n.set(i,Mc(i,void 0,e,t)),n.get(i))})}const yO=(e,t)=>t.isSVG??mh(e)?new ZF(t):new qF(t,{allowProjection:e!==v.Fragment});class xO extends sr{constructor(t){super(t),t.animationState||(t.animationState=r3(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ll(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let vO=0;class wO extends sr{constructor(){super(...arguments),this.id=vO++,this.isExitComplete=!1}update(){var a;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:i,custom:o}=this.node.getProps();if(typeof i=="string"||typeof i=="object"&&i!==null&&!Array.isArray(i)){const c=Sr(this.node,i,o);if(c){const{transition:u,transitionEnd:d,...f}=c;for(const h in f)(a=this.node.getValue(h))==null||a.jump(f[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const bO={animation:{Feature:xO},exit:{Feature:wO}};function fi(e){return{point:{x:e.pageX,y:e.pageY}}}const PO=e=>t=>lh(t)&&e(t,fi(t));function Ca(e,t,n,r){return Ga(e,t,PO(n),r)}const Yb=({current:e})=>e?e.ownerDocument.defaultView:null,Lg=(e,t)=>Math.abs(e-t);function CO(e,t){const n=Lg(e.x,t.x),r=Lg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Ig=new Set(["auto","scroll"]);class Kb{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:a=!1,distanceThreshold:i=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Wi(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Lc(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,w=CO(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!w)return;const{point:b}=p,{timestamp:g}=Ee;this.history.push({...b,timestamp:g});const{onStart:m,onMove:x}=this.handlers;y||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,p)},this.handlePointerMove=(p,y)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=Wi(y,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(p,y)=>{this.end();const{onEnd:w,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Lc(p.type==="pointercancel"?this.lastMoveEventInfo:Wi(y,this.transformPagePoint),this.history);this.startEvent&&w&&w(p,m),b&&b(p,m)},!lh(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=s||window;const c=fi(t),u=Wi(c,this.transformPagePoint),{point:d}=u,{timestamp:f}=Ee;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Lc(u,this.history)),this.removeListeners=ci(Ca(this.contextWindow,"pointermove",this.handlePointerMove),Ca(this.contextWindow,"pointerup",this.handlePointerUp),Ca(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Ig.has(r.overflowX)||Ig.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},a={x:s.x-n.x,y:s.y-n.y};a.x===0&&a.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=a.x,this.lastMoveEventInfo.point.y+=a.y):this.history.length>0&&(this.history[0].x-=a.x,this.history[0].y-=a.y),this.scrollPositions.set(t,s),J.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Jn(this.updatePoint)}}function Wi(e,t){return t?{point:t(e.point)}:e}function zg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lc({point:e},t){return{point:e,delta:zg(e,Gb(t)),offset:zg(e,kO(t)),velocity:SO(t,.1)}}function kO(e){return e[0]}function Gb(e){return e[e.length-1]}function SO(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=Gb(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>nt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>nt(t)*2&&(r=e[1]);const a=ft(s.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const i={x:(s.x-r.x)/a,y:(s.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function EO(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Z(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Z(n,e,r.max):Math.min(e,n)),e}function Vg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function TO(e,{top:t,left:n,bottom:r,right:s}){return{x:Vg(e.x,n,s),y:Vg(e.y,t,r)}}function _g(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function jO(e,t){return{x:_g(e.x,t.x),y:_g(e.y,t.y)}}function AO(e,t){let n=.5;const r=_e(e),s=_e(t);return s>r?n=qa(t.min,t.max-r,e.min):r>s&&(n=qa(e.min,e.max-s,t.min)),Kt(0,1,n)}function NO(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Pd=.35;function FO(e=Pd){return e===!1?e=0:e===!0&&(e=Pd),{x:Bg(e,"left","right"),y:Bg(e,"top","bottom")}}function Bg(e,t,n){return{min:Hg(e,t),max:Hg(e,n)}}function Hg(e,t){return typeof e=="number"?e:e[t]||0}const OO=new WeakMap;class RO{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ge(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const a=f=>{n&&this.snapToCursor(fi(f).point),this.stopAnimation()},i=(f,h)=>{const{drag:p,dragPropagation:y,onDragStart:w}=this.getProps();if(p&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=dF(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(Yt.test(m)){const{projection:x}=this.visualElement;if(x&&x.layout){const P=x.layout.layoutBox[g];P&&(m=_e(P)*(parseFloat(m)/100))}}this.originPoint[g]=m}),w&&J.update(()=>w(f,h),!1,!0),fd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},o=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:y,onDirectionLock:w,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(y&&this.currentDirection===null){this.currentDirection=MO(g),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),b&&J.update(()=>b(f,h),!1,!0)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new Kb(t,{onSessionStart:a,onStart:i,onMove:o,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:Yb(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!s||!r)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&J.postRender(()=>o(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!qi(t,s,this.currentDirection))return;const a=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=EO(i,this.constraints[t],this.elastic[t])),a.set(i)}resolveConstraints(){var a;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(a=this.visualElement.projection)==null?void 0:a.layout,s=this.constraints;t&&_r(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=TO(r.layoutBox,t):this.constraints=!1,this.elastic=FO(n),s!==this.constraints&&!_r(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Lt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=NO(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!_r(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());const a=_F(r,s.root,this.visualElement.getTransformPagePoint());let i=jO(s.layout.layoutBox,a);if(n){const o=n(IF(i));this.hasMutatedConstraints=!!o,o&&(i=gb(o))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:a,dragSnapToOrigin:i,onDragTransitionEnd:o}=this.getProps(),c=this.constraints||{},u=Lt(d=>{if(!qi(d,n,this.currentDirection))return;let f=c&&c[d]||{};(i===!0||i===d)&&(f={min:0,max:0});const h=s?200:1e6,p=s?40:1e7,y={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...a,...f};return this.startAxisValueAnimation(d,y)});return Promise.all(u).then(o)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return fd(this.visualElement,t),r.start(sh(t,r,0,n,this.visualElement,!1))}stopAnimation(){Lt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps()[n];return s||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Lt(n=>{const{drag:r}=this.getProps();if(!qi(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,a=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:o}=s.layout.layoutBox[n],c=a.get()||0;a.set(t[n]-Z(i,o,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!_r(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Lt(i=>{const o=this.getAxisMotionValue(i);if(o&&this.constraints!==!1){const c=o.get();s[i]=AO({min:c,max:c},this.constraints[i])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Lt(i=>{if(!qi(i,t,null))return;const o=this.getAxisMotionValue(i),{min:c,max:u}=this.constraints[i];o.set(Z(c,u,s[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;OO.set(this.visualElement,this);const t=this.visualElement.current,n=Ca(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=u.target,p=h!==t&&yF(h);d&&f&&!p&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();_r(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=DO(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:a}=this.visualElement,i=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),J.read(s);const o=Ga(window,"resize",()=>this.scalePositionWithinConstraints()),c=a.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Lt(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=u[f].translate,h.set(h.get()+u[f].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:a=!1,dragElastic:i=Pd,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:a,dragElastic:i,dragMomentum:o}}}function Ug(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function DO(e,t,n){const r=Zm(e,Ug(n)),s=Zm(t,Ug(n));return()=>{r(),s()}}function qi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function MO(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class LO extends sr{constructor(t){super(t),this.removeGroupControls=pt,this.removeListeners=pt,this.controls=new RO(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ic=e=>(t,n)=>{e&&J.update(()=>e(t,n),!1,!0)};class IO extends sr{constructor(){super(...arguments),this.removePointerDownListener=pt}onPointerDown(t){this.session=new Kb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Yb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Ic(t),onStart:Ic(n),onMove:Ic(r),onEnd:(a,i)=>{delete this.session,s&&J.postRender(()=>s(a,i))}}}mount(){this.removePointerDownListener=Ca(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let zc=!1;class zO extends v.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:a}=t;a&&(n.group&&n.group.add(a),r&&r.register&&s&&r.register(a),zc&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),xo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:a}=this.props,{projection:i}=r;return i&&(i.isPresent=a,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),zc=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==a?i.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?i.promote():i.relegate()||J.postRender(()=>{const o=i.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),oh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;zc=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Qb(e){const[t,n]=W3(),r=v.useContext(fw);return l.jsx(zO,{...e,layoutGroup:r,switchLayoutGroup:v.useContext(Wb),isPresent:t,safeToRemove:n})}const VO={pan:{Feature:IO},drag:{Feature:LO,ProjectionNode:Ib,MeasureLayout:Qb}};function $g(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,a=r[s];a&&J.postRender(()=>a(t,fi(t)))}class _O extends sr{mount(){const{current:t}=this.node;t&&(this.unmount=hF(t,(n,r)=>($g(this.node,r,"Start"),s=>$g(this.node,s,"End"))))}unmount(){}}class BO extends sr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ci(Ga(this.node.current,"focus",()=>this.onFocus()),Ga(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),a=r[s];a&&J.postRender(()=>a(t,fi(t)))}class HO extends sr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=vF(t,(s,a)=>(Wg(this.node,a,"Start"),(i,{success:o})=>Wg(this.node,i,o?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Cd=new WeakMap,Vc=new WeakMap,UO=e=>{const t=Cd.get(e.target);t&&t(e)},$O=e=>{e.forEach(UO)};function WO({root:e,...t}){const n=e||document;Vc.has(n)||Vc.set(n,{});const r=Vc.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver($O,{root:e,...t})),r[s]}function qO(e,t,n){const r=WO(t);return Cd.set(e,n),r.observe(e),()=>{Cd.delete(e),r.unobserve(e)}}const YO={some:0,all:1};class KO extends sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:YO[s]},o=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,a&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:h}=this.node.getProps(),p=d?f:h;p&&p(u)};this.stopObserver=qO(this.node.current,i,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(GO(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function GO({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const QO={inView:{Feature:KO},tap:{Feature:HO},focus:{Feature:BO},hover:{Feature:_O}},XO={layout:{ProjectionNode:Ib,MeasureLayout:Qb}},ZO={...bO,...QO,...VO,...XO},Yi=gO(ZO,yO),JO=()=>{const e=Mr();return v.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background","data-id":"qr1yry8lo","data-path":"src/pages/NotFound.tsx",children:l.jsxs(Yi.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center space-y-6 p-8","data-id":"yrlzbehuc","data-path":"src/pages/NotFound.tsx",children:[l.jsx(Yi.div,{initial:{scale:.5},animate:{scale:1},transition:{duration:.5,delay:.2},"data-id":"gqc33n6ce","data-path":"src/pages/NotFound.tsx",children:l.jsx("h1",{className:"text-8xl font-bold text-primary","data-id":"29m8m7ku7","data-path":"src/pages/NotFound.tsx",children:"404"})}),l.jsxs(Yi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.4},className:"space-y-4","data-id":"0uufd2hax","data-path":"src/pages/NotFound.tsx",children:[l.jsx("h2",{className:"text-2xl font-semibold tracking-tight","data-id":"cshvdplse","data-path":"src/pages/NotFound.tsx",children:"Page Not Found"}),l.jsx("p",{className:"text-muted-foreground","data-id":"ophekn1n3","data-path":"src/pages/NotFound.tsx",children:"Sorry, the page you are looking for does not exist or has been removed."})]}),l.jsx(Yi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.6},"data-id":"w1l8ni7ex","data-path":"src/pages/NotFound.tsx",children:l.jsx(va,{asChild:!0,variant:"default",size:"lg","data-id":"469138d5b","data-path":"src/pages/NotFound.tsx",children:l.jsx("a",{href:"/","data-id":"ll0po7h2a","data-path":"src/pages/NotFound.tsx",children:"Back to Home"})})})]})})},eR=new MT,tR=()=>l.jsx(Wj,{FallbackComponent:j2,onError:(e,t)=>{console.error(`Error Boundary caught an error(pathname:${location.pathname+location.search}):`,e,t),setTimeout(()=>{throw e},0)},"data-id":"9a5fiwzzw","data-path":"src/App.tsx",children:l.jsx(ew,{"data-id":"xmni2k3lq","data-path":"src/App.tsx",children:l.jsx(IT,{client:eR,"data-id":"zb1fkyolu","data-path":"src/App.tsx",children:l.jsxs(aT,{"data-id":"1rpxym596","data-path":"src/App.tsx",children:[l.jsx(SS,{"data-id":"ap8qgstzq","data-path":"src/App.tsx"}),l.jsx(_j,{"data-id":"gsdrvxh4d","data-path":"src/App.tsx",children:l.jsx(Rj,{"data-id":"1102c0dg2","data-path":"src/App.tsx",children:l.jsxs(fe,{element:l.jsx(A2,{"data-id":"lgf9l1gpj","data-path":"src/App.tsx"}),"data-id":"2nyqya8le","data-path":"src/App.tsx",children:[l.jsx(fe,{path:"/",element:l.jsx(O2,{"data-id":"v88nwzsfm","data-path":"src/App.tsx"}),"data-id":"oj47peafz","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/about",element:l.jsx(R2,{"data-id":"9y4173z24","data-path":"src/App.tsx"}),"data-id":"7dbiofud7","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/about/our-story",element:l.jsx(D2,{"data-id":"aggigrcp1","data-path":"src/App.tsx"}),"data-id":"vrpepa4qe","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/about/mission-values",element:l.jsx(L2,{"data-id":"5hjwalgwb","data-path":"src/App.tsx"}),"data-id":"sqnw2tjdq","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/about/team",element:l.jsx(V2,{"data-id":"xwoptgapv","data-path":"src/App.tsx"}),"data-id":"bh6gi2rj5","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/programs",element:l.jsx(H2,{"data-id":"pds16q82e","data-path":"src/App.tsx"}),"data-id":"6y1rtg7h4","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/programs/football",element:l.jsx(U2,{"data-id":"62aonen6d","data-path":"src/App.tsx"}),"data-id":"bq1nhf3nf","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/programs/cheer",element:l.jsx($2,{"data-id":"17g8tvaw3","data-path":"src/App.tsx"}),"data-id":"pu5bdvxad","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/programs/leadership",element:l.jsx(W2,{"data-id":"00v1m4p9j","data-path":"src/App.tsx"}),"data-id":"sy65nse4j","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/impact",element:l.jsx(K2,{"data-id":"hursbq5np","data-path":"src/App.tsx"}),"data-id":"nmj7xg8yc","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/donate",element:l.jsx(G2,{"data-id":"v1a2rt2jh","data-path":"src/App.tsx"}),"data-id":"p3fs25psg","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/blog",element:l.jsx(Z2,{"data-id":"5d9w4q24w","data-path":"src/App.tsx"}),"data-id":"xlmx2689s","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/blog/article-1",element:l.jsx(J2,{"data-id":"dncvc6b20","data-path":"src/App.tsx"}),"data-id":"t7wqm0dtu","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/blog/article-2",element:l.jsx(eA,{"data-id":"to2b32l65","data-path":"src/App.tsx"}),"data-id":"wlwidugcd","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/contact",element:l.jsx(tA,{"data-id":"tuf3rn8d1","data-path":"src/App.tsx"}),"data-id":"aqv2s7xal","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/privacy-policy",element:l.jsx(nA,{"data-id":"ssxmz30yp","data-path":"src/App.tsx"}),"data-id":"blucbx9vg","data-path":"src/App.tsx"}),l.jsx(fe,{path:"/terms",element:l.jsx(rA,{"data-id":"2r5c2shbv","data-path":"src/App.tsx"}),"data-id":"dn10y68jm","data-path":"src/App.tsx"}),l.jsx(fe,{path:"*",element:l.jsx(JO,{"data-id":"tcf2jt8bj","data-path":"src/App.tsx"}),"data-id":"107nmgn3t","data-path":"src/App.tsx"})]})})})]})})})});hv(document.getElementById("root")).render(l.jsx(tR,{"data-id":"e0e76h0hf","data-path":"src/main.tsx"}));