diff --git a/public/assets/image_1751799123525-5S93Rw-M.png b/public/assets/image_1751799123525-5S93Rw-M.png deleted file mode 100644 index 1ed16a39a291f834695b627eeaa12d4f5f8072f1..0000000000000000000000000000000000000000 --- a/public/assets/image_1751799123525-5S93Rw-M.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6e11e13fe74aacf0cb7b51310d5f8b119990aedb821dd767f4a75e3ec68a456 -size 153251 diff --git a/public/assets/image_1751799458633-CV4B7MGS.png b/public/assets/image_1751799458633-CV4B7MGS.png deleted file mode 100644 index cb450f96f5561db042ed251a457c309fff6c05f8..0000000000000000000000000000000000000000 --- a/public/assets/image_1751799458633-CV4B7MGS.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4581dc4f6ab91897588e2e64d201d846d1d045deb0eaf9648125292f10fa601d -size 176454 diff --git a/public/assets/image_1751799478735-CtDKp6CX.png b/public/assets/image_1751799478735-CtDKp6CX.png deleted file mode 100644 index 4b8d728ef6ce1a239bee66e74eb679cfcc340310..0000000000000000000000000000000000000000 --- a/public/assets/image_1751799478735-CtDKp6CX.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f25df6c1a1e0a388dcaaf7eb42399d2ce4866f27a75cfa5fd064987c015d37ec -size 179438 diff --git a/public/assets/image_1751799489746-DAAWEodB.png b/public/assets/image_1751799489746-DAAWEodB.png deleted file mode 100644 index 5f6f7d26efbd168824733fe451ff6a772bda9ec8..0000000000000000000000000000000000000000 --- a/public/assets/image_1751799489746-DAAWEodB.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44884ba5dcd54c9e98b1d75801ae24930f1235fa94b5bd4d0a3e6d059575b609 -size 181083 diff --git a/public/assets/image_1751799987437-CI625U-2.png b/public/assets/image_1751799987437-CI625U-2.png deleted file mode 100644 index 81ba5f38ce6b980bd68c164ebcc91893e0fa009d..0000000000000000000000000000000000000000 --- a/public/assets/image_1751799987437-CI625U-2.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6221f1f223a850ff861fa9d6dd11894b78b707055313eb3a38c881601076315b -size 232144 diff --git a/public/assets/image_1751800003873-Ccr7yXEu.png b/public/assets/image_1751800003873-Ccr7yXEu.png deleted file mode 100644 index 153fcd3eb51005f9a7bfaf02d83b7c9ad9842da3..0000000000000000000000000000000000000000 Binary files a/public/assets/image_1751800003873-Ccr7yXEu.png and /dev/null differ diff --git a/public/assets/image_1751800014007-Cns0FRQo.png b/public/assets/image_1751800014007-Cns0FRQo.png deleted file mode 100644 index ca068698be896b03c74be17eb888f2ddee4d60f2..0000000000000000000000000000000000000000 --- a/public/assets/image_1751800014007-Cns0FRQo.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d9dbb31749875f89ef6500e8a67f4384a209ef1ebfe8c55d1e1a6635cfb2f8c -size 154821 diff --git a/public/assets/image_1751800020623-Cpo8fQMN.png b/public/assets/image_1751800020623-Cpo8fQMN.png deleted file mode 100644 index de39ae6d58e5dbe5a95349ed61133a5c8f4aa755..0000000000000000000000000000000000000000 Binary files a/public/assets/image_1751800020623-Cpo8fQMN.png and /dev/null differ diff --git a/public/assets/image_1751801701588-BhMP5Kp6.png b/public/assets/image_1751801701588-BhMP5Kp6.png deleted file mode 100644 index d00d574bd32eb36c02ad09264e94a4e6419fa0c0..0000000000000000000000000000000000000000 --- a/public/assets/image_1751801701588-BhMP5Kp6.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8592bbf065f9994421c91512aa05a7989d05032ec3c9a72c18cdcfd4e1b1ca8b -size 111276 diff --git a/public/assets/image_1751801707864-Db_qG3aP.png b/public/assets/image_1751801707864-Db_qG3aP.png deleted file mode 100644 index f1e152006ffc4b39f569787b13df18123e212cc3..0000000000000000000000000000000000000000 --- a/public/assets/image_1751801707864-Db_qG3aP.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad0a57fd5ce8aea2c4b5d91429f9586015df3a3a49f595f48ffec09898f8e1b9 -size 112183 diff --git a/public/assets/image_1751801832656-Bdv2tW3t.png b/public/assets/image_1751801832656-Bdv2tW3t.png deleted file mode 100644 index c2dccc08e53e65072c3ecdae1f91dfa8fb61c1e7..0000000000000000000000000000000000000000 Binary files a/public/assets/image_1751801832656-Bdv2tW3t.png and /dev/null differ diff --git a/public/assets/image_1751801838007-5xwFMJn0.png b/public/assets/image_1751801838007-5xwFMJn0.png deleted file mode 100644 index 987da1719d6710a95bd068ef8605bf92f9becf20..0000000000000000000000000000000000000000 Binary files a/public/assets/image_1751801838007-5xwFMJn0.png and /dev/null differ diff --git a/public/assets/image_1751801842549-BAUPEzSu.png b/public/assets/image_1751801842549-BAUPEzSu.png deleted file mode 100644 index bacb5c9226e1d2460238b58962cea0cf6d0eb796..0000000000000000000000000000000000000000 Binary files a/public/assets/image_1751801842549-BAUPEzSu.png and /dev/null differ diff --git a/public/assets/image_1751801848287-KLTGIBmb.png b/public/assets/image_1751801848287-KLTGIBmb.png deleted file mode 100644 index 0bc277c38f43d8e266ebab897188e673244697ba..0000000000000000000000000000000000000000 --- a/public/assets/image_1751801848287-KLTGIBmb.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02da1fe929b7cbbfc96f85ba1727ddb35195c5af553f20694721d3e92ce8eafe -size 212837 diff --git a/public/assets/image_1751802590271-CSOa5rH7.png b/public/assets/image_1751802590271-CSOa5rH7.png deleted file mode 100644 index a4fddff2286f09bda5b58b3787c9a4a462952c7c..0000000000000000000000000000000000000000 --- a/public/assets/image_1751802590271-CSOa5rH7.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c2a575cb3b800a1a70c0c611a05ff1d5d1947531e3921598176afff26e10272 -size 240535 diff --git a/public/assets/image_1751802594523-BmdKi5jH.png b/public/assets/image_1751802594523-BmdKi5jH.png deleted file mode 100644 index dec65e9ee3d32425601234b24d1306e6ee9ac520..0000000000000000000000000000000000000000 --- a/public/assets/image_1751802594523-BmdKi5jH.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:91ac8bd2ecda018d38addcb1a9d3e5aa822e375f803a1760c38736e260b69334 -size 226459 diff --git a/public/assets/image_1751802600942-B7YlF1u_.png b/public/assets/image_1751802600942-B7YlF1u_.png deleted file mode 100644 index ec3400b1ab1ca62d5118c69360b8c816dcb88294..0000000000000000000000000000000000000000 --- a/public/assets/image_1751802600942-B7YlF1u_.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf7f779fb5c18bff1bd837c2f6c434c253d225512158bc5b41389983706e6cda -size 189944 diff --git a/public/assets/image_1752252630778-hixhZGO0.png b/public/assets/image_1752252630778-hixhZGO0.png deleted file mode 100644 index e7d30020cc8e42dcfb7de6a7dfd4187c164fe4a6..0000000000000000000000000000000000000000 --- a/public/assets/image_1752252630778-hixhZGO0.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b26d8a66538699f154bad6b59c7f2f867a330431237dc8f935a666a81f4520d -size 127318 diff --git a/public/assets/image_1752252653563-6fV3YvJX.png b/public/assets/image_1752252653563-6fV3YvJX.png deleted file mode 100644 index 55b1d230c044d38cff97b562464be1f23108cd04..0000000000000000000000000000000000000000 --- a/public/assets/image_1752252653563-6fV3YvJX.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27e6c22088be887fb5362e81401713919274bc889e28b99783d230a3e301a16e -size 150023 diff --git a/public/assets/image_1752252661000-DZ468p_t.png b/public/assets/image_1752252661000-DZ468p_t.png deleted file mode 100644 index abd63ab76c4dde36b535594b4929ae06403b173e..0000000000000000000000000000000000000000 --- a/public/assets/image_1752252661000-DZ468p_t.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:afa37cb6a73cad1136b9a20c921d428db7b8fbba92e13e3fefdeb19ba3395830 -size 207759 diff --git a/public/assets/image_1752252684543-BHnsRncf.png b/public/assets/image_1752252684543-BHnsRncf.png deleted file mode 100644 index bf8a29e788143bd1b60ddb31cb68b0a2eb58de0a..0000000000000000000000000000000000000000 Binary files a/public/assets/image_1752252684543-BHnsRncf.png and /dev/null differ diff --git a/public/assets/image_1752252691220-DUSng_0-.png b/public/assets/image_1752252691220-DUSng_0-.png deleted file mode 100644 index 73b854e3ae4d5b9f746fb23bc90a33f50750b1fb..0000000000000000000000000000000000000000 --- a/public/assets/image_1752252691220-DUSng_0-.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51f0ed1cf5b77f22d1e3e2316c268a7fcc8496562b6f6b159a136631bde2fa11 -size 103739 diff --git a/public/assets/image_1752252705133-DpIdKC-u.png b/public/assets/image_1752252705133-DpIdKC-u.png deleted file mode 100644 index 1dccbc6672433208112cc6d6bbb4d34feddb7954..0000000000000000000000000000000000000000 --- a/public/assets/image_1752252705133-DpIdKC-u.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6a3069001915a529af1cb8299d8d17a0901b10c116102afdf70fc1a9f2effda -size 229404 diff --git a/public/assets/image_1752252712600-Dhy1MojL.png b/public/assets/image_1752252712600-Dhy1MojL.png deleted file mode 100644 index 1b7c66bb7cdab8f94df9fc62911ebee4eb1c3630..0000000000000000000000000000000000000000 --- a/public/assets/image_1752252712600-Dhy1MojL.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94a816f59b0877349f6d4cc78d2647928a1296f70cf15c53c431728516b36c69 -size 211533 diff --git a/public/assets/index-8pXK6w_y.js b/public/assets/index-8pXK6w_y.js deleted file mode 100644 index 264e80b5db87d5ae83f6a63d62bf1efe4250c25f..0000000000000000000000000000000000000000 --- a/public/assets/index-8pXK6w_y.js +++ /dev/null @@ -1,388 +0,0 @@ -var hm=e=>{throw TypeError(e)};var iu=(e,t,n)=>t.has(e)||hm("Cannot "+n);var N=(e,t,n)=>(iu(e,t,"read from private field"),n?n.call(e):t.get(e)),G=(e,t,n)=>t.has(e)?hm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),z=(e,t,n,r)=>(iu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),J=(e,t,n)=>(iu(e,t,"access private method"),n);var xa=(e,t,n,r)=>({set _(s){z(e,t,s,n)},get _(){return N(e,t,r)}});function xN(e,t){for(var n=0;nr[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 o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function zy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var By={exports:{}},fc={},Uy={exports:{}},ne={};/** - * @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 ra=Symbol.for("react.element"),wN=Symbol.for("react.portal"),bN=Symbol.for("react.fragment"),SN=Symbol.for("react.strict_mode"),CN=Symbol.for("react.profiler"),NN=Symbol.for("react.provider"),jN=Symbol.for("react.context"),PN=Symbol.for("react.forward_ref"),TN=Symbol.for("react.suspense"),EN=Symbol.for("react.memo"),kN=Symbol.for("react.lazy"),pm=Symbol.iterator;function RN(e){return e===null||typeof e!="object"?null:(e=pm&&e[pm]||e["@@iterator"],typeof e=="function"?e:null)}var $y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Wy=Object.assign,Hy={};function Vo(e,t,n){this.props=e,this.context=t,this.refs=Hy,this.updater=n||$y}Vo.prototype.isReactComponent={};Vo.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")};Vo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gy(){}Gy.prototype=Vo.prototype;function Zf(e,t,n){this.props=e,this.context=t,this.refs=Hy,this.updater=n||$y}var Jf=Zf.prototype=new Gy;Jf.constructor=Zf;Wy(Jf,Vo.prototype);Jf.isPureReactComponent=!0;var mm=Array.isArray,Ky=Object.prototype.hasOwnProperty,eh={current:null},Qy={key:!0,ref:!0,__self:!0,__source:!0};function Yy(e,t,n){var r,s={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Ky.call(t,r)&&!Qy.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1>>1,se=k[H];if(0>>1;Hs($e,B))Fes(W,$e)?(k[H]=W,k[Fe]=B,H=Fe):(k[H]=$e,k[ve]=B,H=ve);else if(Fes(W,B))k[H]=W,k[Fe]=B,H=Fe;else break e}}return _}function s(k,_){var B=k.sortIndex-_.sortIndex;return B!==0?B:k.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var c=[],u=[],d=1,f=null,p=3,y=!1,b=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=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(k){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=k)r(u),_.sortIndex=_.expirationTime,t(c,_);else break;_=n(u)}}function S(k){if(m=!1,x(k),!b)if(n(c)!==null)b=!0,I(C);else{var _=n(u);_!==null&&V(S,_.startTime-k)}}function C(k,_){b=!1,m&&(m=!1,g(T),T=-1),y=!0;var B=p;try{for(x(_),f=n(c);f!==null&&(!(f.expirationTime>_)||k&&!A());){var H=f.callback;if(typeof H=="function"){f.callback=null,p=f.priorityLevel;var se=H(f.expirationTime<=_);_=e.unstable_now(),typeof se=="function"?f.callback=se:f===n(c)&&r(c),x(_)}else r(c);f=n(c)}if(f!==null)var Pe=!0;else{var ve=n(u);ve!==null&&V(S,ve.startTime-_),Pe=!1}return Pe}finally{f=null,p=B,y=!1}}var j=!1,P=null,T=-1,E=5,R=-1;function A(){return!(e.unstable_now()-Rk||125H?(k.sortIndex=B,t(u,k),n(c)===null&&k===n(u)&&(m?(g(T),T=-1):m=!0,V(S,B-H))):(k.sortIndex=se,t(c,k),b||y||(b=!0,I(C))),k},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(k){var _=p;return function(){var B=p;p=_;try{return k.apply(this,arguments)}finally{p=B}}}})(tx);ex.exports=tx;var BN=ex.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 UN=h,Tt=BN;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cd=Object.prototype.hasOwnProperty,$N=/^[: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]*$/,vm={},ym={};function WN(e){return cd.call(ym,e)?!0:cd.call(vm,e)?!1:$N.test(e)?ym[e]=!0:(vm[e]=!0,!1)}function HN(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 GN(e,t,n,r){if(t===null||typeof t>"u"||HN(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 ut(e,t,n,r,s,o,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=o,this.removeEmptyString=i}var Ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ke[e]=new ut(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ke[t]=new ut(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ke[e]=new ut(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ke[e]=new ut(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){Ke[e]=new ut(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ke[e]=new ut(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ke[e]=new ut(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ke[e]=new ut(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ke[e]=new ut(e,5,!1,e.toLowerCase(),null,!1,!1)});var nh=/[\-:]([a-z])/g;function rh(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(nh,rh);Ke[t]=new ut(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(nh,rh);Ke[t]=new ut(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(nh,rh);Ke[t]=new ut(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ke[e]=new ut(e,1,!1,e.toLowerCase(),null,!1,!1)});Ke.xlinkHref=new ut("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ke[e]=new ut(e,1,!1,e.toLowerCase(),null,!0,!0)});function sh(e,t,n,r){var s=Ke.hasOwnProperty(t)?Ke[t]:null;(s!==null?s.type!==0:r||!(2a||s[i]!==o[a]){var c=` -`+s[i].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=i&&0<=a);break}}}finally{cu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ii(e):""}function KN(e){switch(e.tag){case 5:return ii(e.type);case 16:return ii("Lazy");case 13:return ii("Suspense");case 19:return ii("SuspenseList");case 0:case 2:case 15:return e=uu(e.type,!1),e;case 11:return e=uu(e.type.render,!1),e;case 1:return e=uu(e.type,!0),e;default:return""}}function hd(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 Os:return"Fragment";case Ds:return"Portal";case ud:return"Profiler";case oh:return"StrictMode";case dd:return"Suspense";case fd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case sx:return(e.displayName||"Context")+".Consumer";case rx:return(e._context.displayName||"Context")+".Provider";case ih:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ah:return t=e.displayName||null,t!==null?t:hd(e.type)||"Memo";case tr:t=e._payload,e=e._init;try{return hd(e(t))}catch{}}return null}function QN(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 hd(t);case 8:return t===oh?"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 Pr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ix(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function YN(e){var t=ix(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,o.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 Sa(e){e._valueTracker||(e._valueTracker=YN(e))}function ax(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ix(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function bl(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 pd(e,t){var n=t.checked;return je({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Pr(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 lx(e,t){t=t.checked,t!=null&&sh(e,"checked",t,!1)}function md(e,t){lx(e,t);var n=Pr(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")?gd(e,t.type,n):t.hasOwnProperty("defaultValue")&&gd(e,t.type,Pr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bm(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 gd(e,t,n){(t!=="number"||bl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ai=Array.isArray;function Xs(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=Ca.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ri(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pi={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},XN=["Webkit","ms","Moz","O"];Object.keys(pi).forEach(function(e){XN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pi[t]=pi[e]})});function fx(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pi.hasOwnProperty(e)&&pi[e]?(""+t).trim():t+"px"}function hx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=fx(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var qN=je({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 xd(e,t){if(t){if(qN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function wd(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 bd=null;function lh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Sd=null,qs=null,Zs=null;function Nm(e){if(e=ia(e)){if(typeof Sd!="function")throw Error(D(280));var t=e.stateNode;t&&(t=vc(t),Sd(e.stateNode,e.type,t))}}function px(e){qs?Zs?Zs.push(e):Zs=[e]:qs=e}function mx(){if(qs){var e=qs,t=Zs;if(Zs=qs=null,Nm(e),t)for(e=0;e>>=0,e===0?32:31-(lj(e)/cj|0)|0}var Na=64,ja=4194304;function li(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 jl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~s;a!==0?r=li(a):(o&=i,o!==0&&(r=li(o)))}else i=n&~s,i!==0?r=li(i):o!==0&&(r=li(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,o=t&-t,s>=o||s===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function sa(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qt(t),e[t]=n}function hj(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=gi),Dm=" ",Om=!1;function _x(e,t){switch(e){case"keyup":return Bj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _s=!1;function $j(e,t){switch(e){case"compositionend":return Lx(t);case"keypress":return t.which!==32?null:(Om=!0,Dm);case"textInput":return e=t.data,e===Dm&&Om?null:e;default:return null}}function Wj(e,t){if(_s)return e==="compositionend"||!gh&&_x(e,t)?(e=Dx(),Za=hh=pr=null,_s=!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)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=Fm(n)}}function zx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bx(){for(var e=window,t=bl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bl(e.document)}return t}function vh(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 Jj(e){var t=Bx(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zx(n.ownerDocument.documentElement,n)){if(r!==null&&vh(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,o=Math.min(r.start,s);r=r.end===void 0?o:Math.min(r.end,s),!e.extend&&o>r&&(s=r,r=o,o=s),s=Vm(n,o);var i=Vm(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(),o>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=document.documentMode,Ls=null,Ed=null,yi=null,kd=!1;function zm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;kd||Ls==null||Ls!==bl(r)||(r=Ls,"selectionStart"in r&&vh(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}),yi&&Li(yi,r)||(yi=r,r=El(Ed,"onSelect"),0Vs||(e.current=_d[Vs],_d[Vs]=null,Vs--)}function ge(e,t){Vs++,_d[Vs]=e.current,e.current=t}var Tr={},rt=_r(Tr),vt=_r(!1),us=Tr;function jo(e,t){var n=e.type.contextTypes;if(!n)return Tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},o;for(o in n)s[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function yt(e){return e=e.childContextTypes,e!=null}function Rl(){we(vt),we(rt)}function Km(e,t,n){if(rt.current!==Tr)throw Error(D(168));ge(rt,t),ge(vt,n)}function Xx(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(D(108,QN(e)||"Unknown",s));return je({},n,r)}function Al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,us=rt.current,ge(rt,e),ge(vt,vt.current),!0}function Qm(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=Xx(e,t,us),r.__reactInternalMemoizedMergedChildContext=e,we(vt),we(rt),ge(rt,e)):we(vt),ge(vt,n)}var jn=null,yc=!1,Nu=!1;function qx(e){jn===null?jn=[e]:jn.push(e)}function dP(e){yc=!0,qx(e)}function Lr(){if(!Nu&&jn!==null){Nu=!0;var e=0,t=de;try{var n=jn;for(de=1;e>=i,s-=i,Tn=1<<32-qt(t)+s|n<T?(E=P,P=null):E=P.sibling;var R=p(g,P,x[T],S);if(R===null){P===null&&(P=E);break}e&&P&&R.alternate===null&&t(g,P),v=o(R,v,T),j===null?C=R:j.sibling=R,j=R,P=E}if(T===x.length)return n(g,P),be&&Hr(g,T),C;if(P===null){for(;TT?(E=P,P=null):E=P.sibling;var A=p(g,P,R.value,S);if(A===null){P===null&&(P=E);break}e&&P&&A.alternate===null&&t(g,P),v=o(A,v,T),j===null?C=A:j.sibling=A,j=A,P=E}if(R.done)return n(g,P),be&&Hr(g,T),C;if(P===null){for(;!R.done;T++,R=x.next())R=f(g,R.value,S),R!==null&&(v=o(R,v,T),j===null?C=R:j.sibling=R,j=R);return be&&Hr(g,T),C}for(P=r(g,P);!R.done;T++,R=x.next())R=y(P,g,T,R.value,S),R!==null&&(e&&R.alternate!==null&&P.delete(R.key===null?T:R.key),v=o(R,v,T),j===null?C=R:j.sibling=R,j=R);return e&&P.forEach(function(M){return t(g,M)}),be&&Hr(g,T),C}function w(g,v,x,S){if(typeof x=="object"&&x!==null&&x.type===Os&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case ba:e:{for(var C=x.key,j=v;j!==null;){if(j.key===C){if(C=x.type,C===Os){if(j.tag===7){n(g,j.sibling),v=s(j,x.props.children),v.return=g,g=v;break e}}else if(j.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===tr&&qm(C)===j.type){n(g,j.sibling),v=s(j,x.props),v.ref=Jo(g,j,x),v.return=g,g=v;break e}n(g,j);break}else t(g,j);j=j.sibling}x.type===Os?(v=ls(x.props.children,g.mode,S,x.key),v.return=g,g=v):(S=il(x.type,x.key,x.props,null,g.mode,S),S.ref=Jo(g,v,x),S.return=g,g=S)}return i(g);case Ds:e:{for(j=x.key;v!==null;){if(v.key===j)if(v.tag===4&&v.stateNode.containerInfo===x.containerInfo&&v.stateNode.implementation===x.implementation){n(g,v.sibling),v=s(v,x.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else t(g,v);v=v.sibling}v=Mu(x,g.mode,S),v.return=g,g=v}return i(g);case tr:return j=x._init,w(g,v,j(x._payload),S)}if(ai(x))return b(g,v,x,S);if(Qo(x))return m(g,v,x,S);Ma(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,v!==null&&v.tag===6?(n(g,v.sibling),v=s(v,x),v.return=g,g=v):(n(g,v),v=Au(x,g.mode,S),v.return=g,g=v),i(g)):n(g,v)}return w}var To=t0(!0),n0=t0(!1),Ol=_r(null),_l=null,Us=null,bh=null;function Sh(){bh=Us=_l=null}function Ch(e){var t=Ol.current;we(Ol),e._currentValue=t}function Fd(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 eo(e,t){_l=e,bh=Us=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(gt=!0),e.firstContext=null)}function Vt(e){var t=e._currentValue;if(bh!==e)if(e={context:e,memoizedValue:t,next:null},Us===null){if(_l===null)throw Error(D(308));Us=e,_l.dependencies={lanes:0,firstContext:e}}else Us=Us.next=e;return t}var qr=null;function Nh(e){qr===null?qr=[e]:qr.push(e)}function r0(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Nh(t)):(n.next=s.next,s.next=n),t.interleaved=n,Vn(e,r)}function Vn(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 nr=!1;function jh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function s0(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 An(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function wr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,oe&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Vn(e,n)}return s=r.interleaved,s===null?(t.next=t,Nh(r)):(t.next=s.next,s.next=t),r.interleaved=t,Vn(e,n)}function el(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,uh(e,n)}}function Zm(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,o=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};o===null?s=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?s=o=t:o=o.next=t}else s=o=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:o,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 Ll(e,t,n,r){var s=e.updateQueue;nr=!1;var o=s.firstBaseUpdate,i=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var c=a,u=c.next;c.next=null,i===null?o=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=s.baseState;i=0,d=u=c=null,a=o;do{var p=a.lane,y=a.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=e,m=a;switch(p=t,y=n,m.tag){case 1:if(b=m.payload,typeof b=="function"){f=b.call(y,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=m.payload,p=typeof b=="function"?b.call(y,f,p):b,p==null)break e;f=je({},f,p);break e;case 2:nr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=s.effects,p===null?s.effects=[a]:p.push(a))}else y={eventTime:y,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=y,c=f):d=d.next=y,i|=p;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;p=a,a=p.next,p.next=null,s.lastBaseUpdate=p,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 o===null&&(s.shared.lanes=0);hs|=i,e.lanes=i,e.memoizedState=f}}function Jm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Pu.transition;Pu.transition={};try{e(!1),t()}finally{de=n,Pu.transition=r}}function b0(){return zt().memoizedState}function mP(e,t,n){var r=Sr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},S0(e))C0(t,n);else if(n=r0(e,t,n,r),n!==null){var s=lt();Zt(n,e,r,s),N0(n,t,r)}}function gP(e,t,n){var r=Sr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(S0(e))C0(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(s.hasEagerState=!0,s.eagerState=a,Jt(a,i)){var c=t.interleaved;c===null?(s.next=s,Nh(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=r0(e,t,s,r),n!==null&&(s=lt(),Zt(n,e,r,s),N0(n,t,r))}}function S0(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function C0(e,t){xi=Fl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function N0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uh(e,n)}}var Vl={readContext:Vt,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useInsertionEffect:Ye,useLayoutEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useMutableSource:Ye,useSyncExternalStore:Ye,useId:Ye,unstable_isNewReconciler:!1},vP={readContext:Vt,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Vt,useEffect:tg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nl(4194308,4,g0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nl(4194308,4,e,t)},useInsertionEffect:function(e,t){return nl(4,2,e,t)},useMemo:function(e,t){var n=sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sn();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=mP.bind(null,Ne,e),[r.memoizedState,e]},useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:eg,useDebugValue:Dh,useDeferredValue:function(e){return sn().memoizedState=e},useTransition:function(){var e=eg(!1),t=e[0];return e=pP.bind(null,e[1]),sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ne,s=sn();if(be){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Ue===null)throw Error(D(349));fs&30||l0(r,t,n)}s.memoizedState=n;var o={value:n,getSnapshot:t};return s.queue=o,tg(u0.bind(null,r,o,e),[e]),r.flags|=2048,Wi(9,c0.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=sn(),t=Ue.identifierPrefix;if(be){var n=En,r=Tn;n=(r&~(1<<32-qt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ui++,0<\/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[un]=t,e[Vi]=r,O0(e,t,!1,!1),t.stateNode=e;e:{switch(i=wd(n,r),n){case"dialog":xe("cancel",e),xe("close",e),s=r;break;case"iframe":case"object":case"embed":xe("load",e),s=r;break;case"video":case"audio":for(s=0;sRo&&(t.flags|=128,r=!0,ei(o,!1),t.lanes=4194304)}else{if(!r)if(e=Il(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ei(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!be)return Xe(t),null}else 2*Me()-o.renderingStartTime>Ro&&n!==1073741824&&(t.flags|=128,r=!0,ei(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Me(),t.sibling=null,n=Se.current,ge(Se,r?n&1|2:n&1),t):(Xe(t),null);case 22:case 23:return Vh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?St&1073741824&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function jP(e,t){switch(xh(t),t.tag){case 1:return yt(t.type)&&Rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eo(),we(vt),we(rt),Eh(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Th(t),null;case 13:if(we(Se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return we(Se),null;case 4:return Eo(),null;case 10:return Ch(t.type._context),null;case 22:case 23:return Vh(),null;case 24:return null;default:return null}}var Oa=!1,Je=!1,PP=typeof WeakSet=="function"?WeakSet:Set,U=null;function $s(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function Kd(e,t,n){try{n()}catch(r){ke(e,t,r)}}var fg=!1;function TP(e,t){if(Rd=Pl,e=Bx(),vh(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,a=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var y;f!==n||s!==0&&f.nodeType!==3||(a=i+s),f!==o||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(y=f.firstChild)!==null;)p=f,f=y;for(;;){if(f===e)break t;if(p===n&&++u===s&&(a=i),p===o&&++d===r&&(c=i),(y=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=y}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ad={focusedElem:e,selectionRange:n},Pl=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var m=b.memoizedProps,w=b.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Gt(t.type,m),w);g.__reactInternalSnapshotBeforeUpdate=v}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(D(163))}}catch(S){ke(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return b=fg,fg=!1,b}function wi(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 o=s.destroy;s.destroy=void 0,o!==void 0&&Kd(t,n,o)}s=s.next}while(s!==r)}}function bc(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 Qd(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 I0(e){var t=e.alternate;t!==null&&(e.alternate=null,I0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[un],delete t[Vi],delete t[Od],delete t[cP],delete t[uP])),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 F0(e){return e.tag===5||e.tag===3||e.tag===4}function hg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||F0(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 Yd(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=kl));else if(r!==4&&(e=e.child,e!==null))for(Yd(e,t,n),e=e.sibling;e!==null;)Yd(e,t,n),e=e.sibling}function Xd(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(Xd(e,t,n),e=e.sibling;e!==null;)Xd(e,t,n),e=e.sibling}var We=null,Qt=!1;function Kn(e,t,n){for(n=n.child;n!==null;)V0(e,t,n),n=n.sibling}function V0(e,t,n){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(hc,n)}catch{}switch(n.tag){case 5:Je||$s(n,t);case 6:var r=We,s=Qt;We=null,Kn(e,t,n),We=r,Qt=s,We!==null&&(Qt?(e=We,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):We.removeChild(n.stateNode));break;case 18:We!==null&&(Qt?(e=We,n=n.stateNode,e.nodeType===8?Cu(e.parentNode,n):e.nodeType===1&&Cu(e,n),Oi(e)):Cu(We,n.stateNode));break;case 4:r=We,s=Qt,We=n.stateNode.containerInfo,Qt=!0,Kn(e,t,n),We=r,Qt=s;break;case 0:case 11:case 14:case 15:if(!Je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var o=s,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Kd(n,t,i),s=s.next}while(s!==r)}Kn(e,t,n);break;case 1:if(!Je&&($s(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ke(n,t,a)}Kn(e,t,n);break;case 21:Kn(e,t,n);break;case 22:n.mode&1?(Je=(r=Je)||n.memoizedState!==null,Kn(e,t,n),Je=r):Kn(e,t,n);break;default:Kn(e,t,n)}}function pg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new PP),t.forEach(function(r){var s=LP.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function $t(e,t){var n=t.deletions;if(n!==null)for(var r=0;rs&&(s=i),r&=~o}if(r=s,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kP(r/1960))-r,10e?16:e,mr===null)var r=!1;else{if(e=mr,mr=null,Ul=0,oe&6)throw Error(D(331));var s=oe;for(oe|=4,U=e.current;U!==null;){var o=U,i=o.child;if(U.flags&16){var a=o.deletions;if(a!==null){for(var c=0;cMe()-Ih?as(e,0):Lh|=n),xt(e,t)}function K0(e,t){t===0&&(e.mode&1?(t=ja,ja<<=1,!(ja&130023424)&&(ja=4194304)):t=1);var n=lt();e=Vn(e,t),e!==null&&(sa(e,t,n),xt(e,n))}function _P(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),K0(e,n)}function LP(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(D(314))}r!==null&&r.delete(t),K0(e,n)}var Q0;Q0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vt.current)gt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gt=!1,CP(e,t,n);gt=!!(e.flags&131072)}else gt=!1,be&&t.flags&1048576&&Zx(t,Dl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;rl(e,t),e=t.pendingProps;var s=jo(t,rt.current);eo(t,n),s=Rh(null,t,r,e,s,n);var o=Ah();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,yt(r)?(o=!0,Al(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,jh(t),s.updater=wc,t.stateNode=s,s._reactInternals=t,zd(t,r,e,n),t=$d(null,t,r,!0,o,n)):(t.tag=0,be&&o&&yh(t),at(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(rl(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=FP(r),e=Gt(r,e),s){case 0:t=Ud(null,t,r,e,n);break e;case 1:t=cg(null,t,r,e,n);break e;case 11:t=ag(null,t,r,e,n);break e;case 14:t=lg(null,t,r,Gt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),Ud(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),cg(e,t,r,s,n);case 3:e:{if(A0(t),e===null)throw Error(D(387));r=t.pendingProps,o=t.memoizedState,s=o.element,s0(e,t),Ll(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=ko(Error(D(423)),t),t=ug(e,t,r,n,s);break e}else if(r!==s){s=ko(Error(D(424)),t),t=ug(e,t,r,n,s);break e}else for(Nt=xr(t.stateNode.containerInfo.firstChild),jt=t,be=!0,Yt=null,n=n0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Po(),r===s){t=zn(e,t,n);break e}at(e,t,r,n)}t=t.child}return t;case 5:return o0(t),e===null&&Id(t),r=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,i=s.children,Md(r,s)?i=null:o!==null&&Md(r,o)&&(t.flags|=32),R0(e,t),at(e,t,i,n),t.child;case 6:return e===null&&Id(t),null;case 13:return M0(e,t,n);case 4:return Ph(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=To(t,null,r,n):at(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),ag(e,t,r,s,n);case 7:return at(e,t,t.pendingProps,n),t.child;case 8:return at(e,t,t.pendingProps.children,n),t.child;case 12:return at(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,o=t.memoizedProps,i=s.value,ge(Ol,r._currentValue),r._currentValue=i,o!==null)if(Jt(o.value,i)){if(o.children===s.children&&!vt.current){t=zn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=An(-1,n&-n),c.tag=2;var u=o.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}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Fd(o.return,n,t),a.lanes|=n;break}c=c.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(D(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Fd(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}at(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,eo(t,n),s=Vt(s),r=r(s),t.flags|=1,at(e,t,r,n),t.child;case 14:return r=t.type,s=Gt(r,t.pendingProps),s=Gt(r.type,s),lg(e,t,r,s,n);case 15:return E0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),rl(e,t),t.tag=1,yt(r)?(e=!0,Al(t)):e=!1,eo(t,n),j0(t,r,s),zd(t,r,s,n),$d(null,t,r,!0,e,n);case 19:return D0(e,t,n);case 22:return k0(e,t,n)}throw Error(D(156,t.tag))};function Y0(e,t){return Sx(e,t)}function IP(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 It(e,t,n,r){return new IP(e,t,n,r)}function Bh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function FP(e){if(typeof e=="function")return Bh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ih)return 11;if(e===ah)return 14}return 2}function Cr(e,t){var n=e.alternate;return n===null?(n=It(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 il(e,t,n,r,s,o){var i=2;if(r=e,typeof e=="function")Bh(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Os:return ls(n.children,s,o,t);case oh:i=8,s|=8;break;case ud:return e=It(12,n,t,s|2),e.elementType=ud,e.lanes=o,e;case dd:return e=It(13,n,t,s),e.elementType=dd,e.lanes=o,e;case fd:return e=It(19,n,t,s),e.elementType=fd,e.lanes=o,e;case ox:return Cc(n,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case rx:i=10;break e;case sx:i=9;break e;case ih:i=11;break e;case ah:i=14;break e;case tr:i=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=It(i,n,t,s),t.elementType=e,t.type=r,t.lanes=o,t}function ls(e,t,n,r){return e=It(7,e,r,t),e.lanes=n,e}function Cc(e,t,n,r){return e=It(22,e,r,t),e.elementType=ox,e.lanes=n,e.stateNode={isHidden:!1},e}function Au(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function Mu(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function VP(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=fu(0),this.expirationTimes=fu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fu(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Uh(e,t,n,r,s,o,i,a,c){return e=new VP(e,t,n,a,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=It(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jh(o),e}function zP(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(J0)}catch(e){console.error(e)}}J0(),Jy.exports=kt;var Ns=Jy.exports;const HP=zy(Ns);var ew,Sg=Ns;ew=Sg.createRoot,Sg.hydrateRoot;function GP(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,s,o,i=[],a="",c=e.split("/");for(c[0]||c.shift();s=c.shift();)n=s[0],n==="*"?(i.push(n),a+=s[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=s.indexOf("?",1),o=s.indexOf(".",1),i.push(s.substring(1,~r?r:~o?o:s.length)),a+=~r&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(a+=(~r?"?":"")+"\\"+s.substring(o))):a+="/"+s;return{keys:i,pattern:new RegExp("^"+a+(t?"(?=$|/)":"/?$"),"i")}}var tw={exports:{}},nw={};/** - * @license React - * use-sync-external-store-shim.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 Ao=h;function KP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var QP=typeof Object.is=="function"?Object.is:KP,YP=Ao.useState,XP=Ao.useEffect,qP=Ao.useLayoutEffect,ZP=Ao.useDebugValue;function JP(e,t){var n=t(),r=YP({inst:{value:n,getSnapshot:t}}),s=r[0].inst,o=r[1];return qP(function(){s.value=n,s.getSnapshot=t,Du(s)&&o({inst:s})},[e,n,t]),XP(function(){return Du(s)&&o({inst:s}),e(function(){Du(s)&&o({inst:s})})},[e]),ZP(n),n}function Du(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!QP(e,n)}catch{return!0}}function eT(e,t){return t()}var tT=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?eT:JP;nw.useSyncExternalStore=Ao.useSyncExternalStore!==void 0?Ao.useSyncExternalStore:tT;tw.exports=nw;var nT=tw.exports;const rT=qy.useInsertionEffect,sT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",oT=sT?h.useLayoutEffect:h.useEffect,iT=rT||oT,rw=e=>{const t=h.useRef([e,(...n)=>t[0](...n)]).current;return iT(()=>{t[0]=e}),t[1]},aT="popstate",Gh="pushState",Kh="replaceState",lT="hashchange",Cg=[aT,Gh,Kh,lT],cT=e=>{for(const t of Cg)addEventListener(t,e);return()=>{for(const t of Cg)removeEventListener(t,e)}},sw=(e,t)=>nT.useSyncExternalStore(cT,e,t),uT=()=>location.search,dT=({ssrSearch:e=""}={})=>sw(uT,()=>e),Ng=()=>location.pathname,fT=({ssrPath:e}={})=>sw(Ng,e?()=>e:Ng),hT=(e,{replace:t=!1,state:n=null}={})=>history[t?Kh:Gh](n,"",e),pT=(e={})=>[fT(e),hT],jg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[jg]>"u"){for(const e of[Gh,Kh]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,jg,{value:!0})}const mT=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",ow=(e="")=>e==="/"?"":e,gT=(e,t)=>e[0]==="~"?e.slice(1):ow(t)+e,vT=(e="",t)=>mT(Pg(ow(e)),Pg(t)),Pg=e=>{try{return decodeURI(e)}catch{return e}},iw={hook:pT,searchHook:dT,parser:GP,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:e=>e},aw=h.createContext(iw),la=()=>h.useContext(aw),lw={},cw=h.createContext(lw),yT=()=>h.useContext(cw),Ec=e=>{const[t,n]=e.hook(e);return[vT(e.base,t),rw((r,s)=>n(gT(r,e.base),s))]},Qh=()=>Ec(la()),uw=(e,t,n,r)=>{const{pattern:s,keys:o}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),i=s.exec(n)||[],[a,...c]=i;return a!==void 0?[!0,(()=>{const u=o!==!1?Object.fromEntries(o.map((f,p)=>[f,c[p]])):i.groups;let d={...c};return u&&Object.assign(d,u),d})(),...r?[a]:[]]:[!1,null]},xT=({children:e,...t})=>{var d,f;const n=la(),r=t.hook?iw:n;let s=r;const[o,i]=((d=t.ssrPath)==null?void 0:d.split("?"))??[];i&&(t.ssrSearch=i,t.ssrPath=o),t.hrefs=t.hrefs??((f=t.hook)==null?void 0:f.hrefs);let a=h.useRef({}),c=a.current,u=c;for(let p in r){const y=p==="base"?r[p]+(t[p]||""):t[p]||r[p];c===u&&y!==u[p]&&(a.current=u={...u}),u[p]=y,y!==r[p]&&(s=u)}return h.createElement(aw.Provider,{value:s,children:e})},Tg=({children:e,component:t},n)=>t?h.createElement(t,{params:n}):typeof e=="function"?e(n):e,wT=e=>{let t=h.useRef(lw),n=t.current;for(const r in e)e[r]!==n[r]&&(n=e);return Object.keys(e).length===0&&(n=e),t.current=n},$r=({path:e,nest:t,match:n,...r})=>{const s=la(),[o]=Ec(s),[i,a,c]=n??uw(s.parser,e,o,t),u=wT({...yT(),...a});if(!i)return null;const d=c?h.createElement(xT,{base:c},Tg(r,u)):Tg(r,u);return h.createElement(cw.Provider,{value:u,children:d})},Ci=h.forwardRef((e,t)=>{const n=la(),[r,s]=Ec(n),{to:o="",href:i=o,onClick:a,asChild:c,children:u,className:d,replace:f,state:p,...y}=e,b=rw(w=>{w.ctrlKey||w.metaKey||w.altKey||w.shiftKey||w.button!==0||(a==null||a(w),w.defaultPrevented||(w.preventDefault(),s(i,e)))}),m=n.hrefs(i[0]==="~"?i.slice(1):n.base+i,n);return c&&h.isValidElement(u)?h.cloneElement(u,{onClick:b,href:m}):h.createElement("a",{...y,onClick:b,href:m,className:d!=null&&d.call?d(r===i):d,children:u,ref:t})}),dw=e=>Array.isArray(e)?e.flatMap(t=>dw(t&&t.type===h.Fragment?t.props.children:t)):[e],bT=({children:e,location:t})=>{const n=la(),[r]=Ec(n);for(const s of dw(e)){let o=0;if(h.isValidElement(s)&&(o=uw(n.parser,s.props.path,t||r,s.props.nest))[0])return h.cloneElement(s,{match:o})}return null};var Uo=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(){}},ms=typeof window>"u"||"Deno"in globalThis;function Ot(){}function ST(e,t){return typeof e=="function"?e(t):e}function tf(e){return typeof e=="number"&&e>=0&&e!==1/0}function fw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function no(e,t){return typeof e=="function"?e(t):e}function Xt(e,t){return typeof e=="function"?e(t):e}function Eg(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:o,queryKey:i,stale:a}=e;if(i){if(r){if(t.queryHash!==Yh(i,t.options))return!1}else if(!Gi(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||o&&!o(t))}function kg(e,t){const{exact:n,status:r,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(gs(t.options.mutationKey)!==gs(o))return!1}else if(!Gi(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Yh(e,t){return((t==null?void 0:t.queryKeyHashFn)||gs)(e)}function gs(e){return JSON.stringify(e,(t,n)=>nf(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Gi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Gi(e[n],t[n])):!1}function hw(e,t){if(e===t)return e;const n=Rg(e)&&Rg(t);if(n||nf(e)&&nf(t)){const r=n?e:Object.keys(e),s=r.length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let c=0;for(let u=0;u{setTimeout(t,e)})}function rf(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?hw(e,t):t}function NT(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function jT(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Xh=Symbol();function pw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Xh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var es,or,uo,Ry,PT=(Ry=class extends Uo{constructor(){super();G(this,es);G(this,or);G(this,uo);z(this,uo,t=>{if(!ms&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,or)||this.setEventListener(N(this,uo))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,or))==null||t.call(this),z(this,or,void 0))}setEventListener(t){var n;z(this,uo,t),(n=N(this,or))==null||n.call(this),z(this,or,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,es)!==t&&(z(this,es,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,es)=="boolean"?N(this,es):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},es=new WeakMap,or=new WeakMap,uo=new WeakMap,Ry),qh=new PT,fo,ir,ho,Ay,TT=(Ay=class extends Uo{constructor(){super();G(this,fo,!0);G(this,ir);G(this,ho);z(this,ho,t=>{if(!ms&&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(){N(this,ir)||this.setEventListener(N(this,ho))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,ir))==null||t.call(this),z(this,ir,void 0))}setEventListener(t){var n;z(this,ho,t),(n=N(this,ir))==null||n.call(this),z(this,ir,t(this.setOnline.bind(this)))}setOnline(t){N(this,fo)!==t&&(z(this,fo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,fo)}},fo=new WeakMap,ir=new WeakMap,ho=new WeakMap,Ay),Gl=new TT;function sf(){let e,t;const n=new Promise((s,o)=>{e=s,t=o});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}function ET(e){return Math.min(1e3*2**e,3e4)}function mw(e){return(e??"online")==="online"?Gl.isOnline():!0}var gw=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ou(e){return e instanceof gw}function vw(e){let t=!1,n=0,r=!1,s;const o=sf(),i=m=>{var w;r||(p(new gw(m)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>qh.isFocused()&&(e.networkMode==="always"||Gl.isOnline())&&e.canRun(),d=()=>mw(e.networkMode)&&e.canRun(),f=m=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,m),s==null||s(),o.resolve(m))},p=m=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,m),s==null||s(),o.reject(m))},y=()=>new Promise(m=>{var w;s=g=>{(r||u())&&m(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var m;s=void 0,r||(m=e.onContinue)==null||m.call(e)}),b=()=>{if(r)return;let m;const w=n===0?e.initialPromise:void 0;try{m=w??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{var j;if(r)return;const v=e.retry??(ms?0:3),x=e.retryDelay??ET,S=typeof x=="function"?x(n,g):x,C=v===!0||typeof v=="number"&&nu()?void 0:y()).then(()=>{t?p(g):b()})})};return{promise:o,cancel:i,continue:()=>(s==null||s(),o),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?b():y().then(b),o)}}function kT(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=a=>setTimeout(a,0);const o=a=>{t?e.push(a):s(()=>{n(a)})},i=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||i()}return c},batchCalls:a=>(...c)=>{o(()=>{a(...c)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Le=kT(),ts,My,yw=(My=class{constructor(){G(this,ts)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),tf(this.gcTime)&&z(this,ts,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ms?1/0:5*60*1e3))}clearGcTimeout(){N(this,ts)&&(clearTimeout(N(this,ts)),z(this,ts,void 0))}},ts=new WeakMap,My),po,mo,Dt,qe,Ji,ns,Kt,Cn,Dy,RT=(Dy=class extends yw{constructor(t){super();G(this,Kt);G(this,po);G(this,mo);G(this,Dt);G(this,qe);G(this,Ji);G(this,ns);z(this,ns,!1),z(this,Ji,t.defaultOptions),this.setOptions(t.options),this.observers=[],z(this,Dt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,z(this,po,AT(this.options)),this.state=t.state??N(this,po),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,qe))==null?void 0:t.promise}setOptions(t){this.options={...N(this,Ji),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,Dt).remove(this)}setData(t,n){const r=rf(this.state.data,t,this.options);return J(this,Kt,Cn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){J(this,Kt,Cn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=N(this,qe))==null?void 0:r.promise;return(s=N(this,qe))==null||s.cancel(t),n?n.then(Ot).catch(Ot):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,po))}isActive(){return this.observers.some(t=>Xt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!fw(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,qe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,qe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,Dt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,qe)&&(N(this,ns)?N(this,qe).cancel({revert:!0}):N(this,qe).cancelRetry()),this.scheduleGc()),N(this,Dt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||J(this,Kt,Cn).call(this,{type:"invalidate"})}fetch(t,n){var c,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,qe))return N(this,qe).continueRetry(),N(this,qe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(z(this,ns,!0),r.signal)})},o=()=>{const f=pw(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return s(p),z(this,ns,!1),this.options.persister?this.options.persister(f,p,this):f(p)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};s(i),(c=this.options.behavior)==null||c.onFetch(i,this),z(this,mo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=i.fetchOptions)==null?void 0:u.meta))&&J(this,Kt,Cn).call(this,{type:"fetch",meta:(d=i.fetchOptions)==null?void 0:d.meta});const a=f=>{var p,y,b,m;Ou(f)&&f.silent||J(this,Kt,Cn).call(this,{type:"error",error:f}),Ou(f)||((y=(p=N(this,Dt).config).onError)==null||y.call(p,f,this),(m=(b=N(this,Dt).config).onSettled)==null||m.call(b,this.state.data,f,this)),this.scheduleGc()};return z(this,qe,vw({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,y,b,m;if(f===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(w){a(w);return}(y=(p=N(this,Dt).config).onSuccess)==null||y.call(p,f,this),(m=(b=N(this,Dt).config).onSettled)==null||m.call(b,f,this.state.error,this),this.scheduleGc()},onError:a,onFail:(f,p)=>{J(this,Kt,Cn).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{J(this,Kt,Cn).call(this,{type:"pause"})},onContinue:()=>{J(this,Kt,Cn).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),N(this,qe).start()}},po=new WeakMap,mo=new WeakMap,Dt=new WeakMap,qe=new WeakMap,Ji=new WeakMap,ns=new WeakMap,Kt=new WeakSet,Cn=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,...xw(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Ou(s)&&s.revert&&N(this,mo)?{...N(this,mo),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Le.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,Dt).notify({query:this,type:"updated",action:t})})},Dy);function xw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:mw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function AT(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 on,Oy,MT=(Oy=class extends Uo{constructor(t={}){super();G(this,on);this.config=t,z(this,on,new Map)}build(t,n,r){const s=n.queryKey,o=n.queryHash??Yh(s,n);let i=this.get(o);return i||(i=new RT({cache:this,queryKey:s,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){N(this,on).has(t.queryHash)||(N(this,on).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,on).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,on).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Le.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,on).get(t)}getAll(){return[...N(this,on).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Eg(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Eg(t,r)):n}notify(t){Le.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Le.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Le.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},on=new WeakMap,Oy),an,ot,rs,ln,qn,_y,DT=(_y=class extends yw{constructor(t){super();G(this,ln);G(this,an);G(this,ot);G(this,rs);this.mutationId=t.mutationId,z(this,ot,t.mutationCache),z(this,an,[]),this.state=t.state||ww(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,an).includes(t)||(N(this,an).push(t),this.clearGcTimeout(),N(this,ot).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){z(this,an,N(this,an).filter(n=>n!==t)),this.scheduleGc(),N(this,ot).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,an).length||(this.state.status==="pending"?this.scheduleGc():N(this,ot).remove(this))}continue(){var t;return((t=N(this,rs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,i,a,c,u,d,f,p,y,b,m,w,g,v,x,S,C,j,P;z(this,rs,vw({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(T,E)=>{J(this,ln,qn).call(this,{type:"failed",failureCount:T,error:E})},onPause:()=>{J(this,ln,qn).call(this,{type:"pause"})},onContinue:()=>{J(this,ln,qn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,ot).canRun(this)}));const n=this.state.status==="pending",r=!N(this,rs).canStart();try{if(!n){J(this,ln,qn).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(s=N(this,ot).config).onMutate)==null?void 0:o.call(s,t,this));const E=await((a=(i=this.options).onMutate)==null?void 0:a.call(i,t));E!==this.state.context&&J(this,ln,qn).call(this,{type:"pending",context:E,variables:t,isPaused:r})}const T=await N(this,rs).start();return await((u=(c=N(this,ot).config).onSuccess)==null?void 0:u.call(c,T,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,T,t,this.state.context)),await((y=(p=N(this,ot).config).onSettled)==null?void 0:y.call(p,T,null,this.state.variables,this.state.context,this)),await((m=(b=this.options).onSettled)==null?void 0:m.call(b,T,null,t,this.state.context)),J(this,ln,qn).call(this,{type:"success",data:T}),T}catch(T){try{throw await((g=(w=N(this,ot).config).onError)==null?void 0:g.call(w,T,t,this.state.context,this)),await((x=(v=this.options).onError)==null?void 0:x.call(v,T,t,this.state.context)),await((C=(S=N(this,ot).config).onSettled)==null?void 0:C.call(S,void 0,T,this.state.variables,this.state.context,this)),await((P=(j=this.options).onSettled)==null?void 0:P.call(j,void 0,T,t,this.state.context)),T}finally{J(this,ln,qn).call(this,{type:"error",error:T})}}finally{N(this,ot).runNext(this)}}},an=new WeakMap,ot=new WeakMap,rs=new WeakMap,ln=new WeakSet,qn=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),Le.batch(()=>{N(this,an).forEach(r=>{r.onMutationUpdate(t)}),N(this,ot).notify({mutation:this,type:"updated",action:t})})},_y);function ww(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var bt,ea,Ly,OT=(Ly=class extends Uo{constructor(t={}){super();G(this,bt);G(this,ea);this.config=t,z(this,bt,new Map),z(this,ea,Date.now())}build(t,n,r){const s=new DT({mutationCache:this,mutationId:++xa(this,ea)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){const n=Ia(t),r=N(this,bt).get(n)??[];r.push(t),N(this,bt).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Ia(t);if(N(this,bt).has(n)){const s=(r=N(this,bt).get(n))==null?void 0:r.filter(o=>o!==t);s&&(s.length===0?N(this,bt).delete(n):N(this,bt).set(n,s))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=N(this,bt).get(Ia(t)))==null?void 0:r.find(s=>s.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=N(this,bt).get(Ia(t)))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Le.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...N(this,bt).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>kg(n,r))}findAll(t={}){return this.getAll().filter(n=>kg(t,n))}notify(t){Le.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Le.batch(()=>Promise.all(t.map(n=>n.continue().catch(Ot))))}},bt=new WeakMap,ea=new WeakMap,Ly);function Ia(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Mg(e){return{onFetch:(t,n)=>{var d,f,p,y,b;const r=t.options,s=(p=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,o=((y=t.state.data)==null?void 0:y.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let m=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},g=pw(t.options,t.fetchOptions),v=async(x,S,C)=>{if(m)return Promise.reject();if(S==null&&x.pages.length)return Promise.resolve(x);const j={queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};w(j);const P=await g(j),{maxPages:T}=t.options,E=C?jT:NT;return{pages:E(x.pages,P,T),pageParams:E(x.pageParams,S,T)}};if(s&&o.length){const x=s==="backward",S=x?_T:Dg,C={pages:o,pageParams:i},j=S(r,C);a=await v(C,j,x)}else{const x=e??o.length;do{const S=c===0?i[0]??r.initialPageParam:Dg(r,a);if(c>0&&S==null)break;a=await v(a,S),c++}while(c{var m,w;return(w=(m=t.options).persister)==null?void 0:w.call(m,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Dg(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 _T(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 Te,ar,lr,go,vo,cr,yo,xo,Iy,LT=(Iy=class{constructor(e={}){G(this,Te);G(this,ar);G(this,lr);G(this,go);G(this,vo);G(this,cr);G(this,yo);G(this,xo);z(this,Te,e.queryCache||new MT),z(this,ar,e.mutationCache||new OT),z(this,lr,e.defaultOptions||{}),z(this,go,new Map),z(this,vo,new Map),z(this,cr,0)}mount(){xa(this,cr)._++,N(this,cr)===1&&(z(this,yo,qh.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,Te).onFocus())})),z(this,xo,Gl.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,Te).onOnline())})))}unmount(){var e,t;xa(this,cr)._--,N(this,cr)===0&&((e=N(this,yo))==null||e.call(this),z(this,yo,void 0),(t=N(this,xo))==null||t.call(this),z(this,xo,void 0))}isFetching(e){return N(this,Te).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,ar).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,Te).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=N(this,Te).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(no(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return N(this,Te).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=N(this,Te).get(r.queryHash),o=s==null?void 0:s.state.data,i=ST(t,o);if(i!==void 0)return N(this,Te).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Le.batch(()=>N(this,Te).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,Te).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,Te);Le.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,Te),r={type:"active",...e};return Le.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Le.batch(()=>N(this,Te).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Ot).catch(Ot)}invalidateQueries(e={},t={}){return Le.batch(()=>{if(N(this,Te).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Le.batch(()=>N(this,Te).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let o=s.fetch(void 0,n);return n.throwOnError||(o=o.catch(Ot)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Ot)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,Te).build(this,t);return n.isStaleByTime(no(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ot).catch(Ot)}fetchInfiniteQuery(e){return e.behavior=Mg(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ot).catch(Ot)}ensureInfiniteQueryData(e){return e.behavior=Mg(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Gl.isOnline()?N(this,ar).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,Te)}getMutationCache(){return N(this,ar)}getDefaultOptions(){return N(this,lr)}setDefaultOptions(e){z(this,lr,e)}setQueryDefaults(e,t){N(this,go).set(gs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,go).values()];let n={};return t.forEach(r=>{Gi(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){N(this,vo).set(gs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,vo).values()];let n={};return t.forEach(r=>{Gi(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,lr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Yh(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.enabled!==!0&&t.queryFn===Xh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,lr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,Te).clear(),N(this,ar).clear()}},Te=new WeakMap,ar=new WeakMap,lr=new WeakMap,go=new WeakMap,vo=new WeakMap,cr=new WeakMap,yo=new WeakMap,xo=new WeakMap,Iy),ft,re,ta,it,ss,wo,ur,cn,na,bo,So,os,is,dr,Co,ce,ui,of,af,lf,cf,uf,df,ff,bw,Fy,IT=(Fy=class extends Uo{constructor(t,n){super();G(this,ce);G(this,ft);G(this,re);G(this,ta);G(this,it);G(this,ss);G(this,wo);G(this,ur);G(this,cn);G(this,na);G(this,bo);G(this,So);G(this,os);G(this,is);G(this,dr);G(this,Co,new Set);this.options=n,z(this,ft,t),z(this,cn,null),z(this,ur,sf()),this.options.experimental_prefetchInRender||N(this,ur).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(N(this,re).addObserver(this),Og(N(this,re),this.options)?J(this,ce,ui).call(this):this.updateResult(),J(this,ce,cf).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return hf(N(this,re),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return hf(N(this,re),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,J(this,ce,uf).call(this),J(this,ce,df).call(this),N(this,re).removeObserver(this)}setOptions(t,n){const r=this.options,s=N(this,re);if(this.options=N(this,ft).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Xt(this.options.enabled,N(this,re))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");J(this,ce,ff).call(this),N(this,re).setOptions(this.options),r._defaulted&&!Hl(this.options,r)&&N(this,ft).getQueryCache().notify({type:"observerOptionsUpdated",query:N(this,re),observer:this});const o=this.hasListeners();o&&_g(N(this,re),s,this.options,r)&&J(this,ce,ui).call(this),this.updateResult(n),o&&(N(this,re)!==s||Xt(this.options.enabled,N(this,re))!==Xt(r.enabled,N(this,re))||no(this.options.staleTime,N(this,re))!==no(r.staleTime,N(this,re)))&&J(this,ce,of).call(this);const i=J(this,ce,af).call(this);o&&(N(this,re)!==s||Xt(this.options.enabled,N(this,re))!==Xt(r.enabled,N(this,re))||i!==N(this,dr))&&J(this,ce,lf).call(this,i)}getOptimisticResult(t){const n=N(this,ft).getQueryCache().build(N(this,ft),t),r=this.createResult(n,t);return VT(this,r)&&(z(this,it,r),z(this,wo,this.options),z(this,ss,N(this,re).state)),r}getCurrentResult(){return N(this,it)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){N(this,Co).add(t)}getCurrentQuery(){return N(this,re)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=N(this,ft).defaultQueryOptions(t),r=N(this,ft).getQueryCache().build(N(this,ft),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return J(this,ce,ui).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),N(this,it)))}createResult(t,n){var T;const r=N(this,re),s=this.options,o=N(this,it),i=N(this,ss),a=N(this,wo),u=t!==r?t.state:N(this,ta),{state:d}=t;let f={...d},p=!1,y;if(n._optimisticResults){const E=this.hasListeners(),R=!E&&Og(t,n),A=E&&_g(t,r,n,s);(R||A)&&(f={...f,...xw(d.data,t.options)}),n._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:b,errorUpdatedAt:m,status:w}=f;if(n.select&&f.data!==void 0)if(o&&f.data===(i==null?void 0:i.data)&&n.select===N(this,na))y=N(this,bo);else try{z(this,na,n.select),y=n.select(f.data),y=rf(o==null?void 0:o.data,y,n),z(this,bo,y),z(this,cn,null)}catch(E){z(this,cn,E)}else y=f.data;if(n.placeholderData!==void 0&&y===void 0&&w==="pending"){let E;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))E=o.data;else if(E=typeof n.placeholderData=="function"?n.placeholderData((T=N(this,So))==null?void 0:T.state.data,N(this,So)):n.placeholderData,n.select&&E!==void 0)try{E=n.select(E),z(this,cn,null)}catch(R){z(this,cn,R)}E!==void 0&&(w="success",y=rf(o==null?void 0:o.data,E,n),p=!0)}N(this,cn)&&(b=N(this,cn),y=N(this,bo),m=Date.now(),w="error");const g=f.fetchStatus==="fetching",v=w==="pending",x=w==="error",S=v&&g,C=y!==void 0,P={status:w,fetchStatus:f.fetchStatus,isPending:v,isSuccess:w==="success",isError:x,isInitialLoading:S,isLoading:S,data:y,dataUpdatedAt:f.dataUpdatedAt,error:b,errorUpdatedAt:m,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:x&&!C,isPaused:f.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:x&&C,isStale:Zh(t,n),refetch:this.refetch,promise:N(this,ur)};if(this.options.experimental_prefetchInRender){const E=M=>{P.status==="error"?M.reject(P.error):P.data!==void 0&&M.resolve(P.data)},R=()=>{const M=z(this,ur,P.promise=sf());E(M)},A=N(this,ur);switch(A.status){case"pending":t.queryHash===r.queryHash&&E(A);break;case"fulfilled":(P.status==="error"||P.data!==A.value)&&R();break;case"rejected":(P.status!=="error"||P.error!==A.reason)&&R();break}}return P}updateResult(t){const n=N(this,it),r=this.createResult(N(this,re),this.options);if(z(this,ss,N(this,re).state),z(this,wo,this.options),N(this,ss).data!==void 0&&z(this,So,N(this,re)),Hl(r,n))return;z(this,it,r);const s={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!N(this,Co).size)return!0;const c=new Set(a??N(this,Co));return this.options.throwOnError&&c.add("error"),Object.keys(N(this,it)).some(u=>{const d=u;return N(this,it)[d]!==n[d]&&c.has(d)})};(t==null?void 0:t.listeners)!==!1&&o()&&(s.listeners=!0),J(this,ce,bw).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&J(this,ce,cf).call(this)}},ft=new WeakMap,re=new WeakMap,ta=new WeakMap,it=new WeakMap,ss=new WeakMap,wo=new WeakMap,ur=new WeakMap,cn=new WeakMap,na=new WeakMap,bo=new WeakMap,So=new WeakMap,os=new WeakMap,is=new WeakMap,dr=new WeakMap,Co=new WeakMap,ce=new WeakSet,ui=function(t){J(this,ce,ff).call(this);let n=N(this,re).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Ot)),n},of=function(){J(this,ce,uf).call(this);const t=no(this.options.staleTime,N(this,re));if(ms||N(this,it).isStale||!tf(t))return;const r=fw(N(this,it).dataUpdatedAt,t)+1;z(this,os,setTimeout(()=>{N(this,it).isStale||this.updateResult()},r))},af=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(N(this,re)):this.options.refetchInterval)??!1},lf=function(t){J(this,ce,df).call(this),z(this,dr,t),!(ms||Xt(this.options.enabled,N(this,re))===!1||!tf(N(this,dr))||N(this,dr)===0)&&z(this,is,setInterval(()=>{(this.options.refetchIntervalInBackground||qh.isFocused())&&J(this,ce,ui).call(this)},N(this,dr)))},cf=function(){J(this,ce,of).call(this),J(this,ce,lf).call(this,J(this,ce,af).call(this))},uf=function(){N(this,os)&&(clearTimeout(N(this,os)),z(this,os,void 0))},df=function(){N(this,is)&&(clearInterval(N(this,is)),z(this,is,void 0))},ff=function(){const t=N(this,ft).getQueryCache().build(N(this,ft),this.options);if(t===N(this,re))return;const n=N(this,re);z(this,re,t),z(this,ta,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},bw=function(t){Le.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(N(this,it))}),N(this,ft).getQueryCache().notify({query:N(this,re),type:"observerResultsUpdated"})})},Fy);function FT(e,t){return Xt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Og(e,t){return FT(e,t)||e.state.data!==void 0&&hf(e,t,t.refetchOnMount)}function hf(e,t,n){if(Xt(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Zh(e,t)}return!1}function _g(e,t,n,r){return(e!==t||Xt(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Zh(e,n)}function Zh(e,t){return Xt(t.enabled,e)!==!1&&e.isStaleByTime(no(t.staleTime,e))}function VT(e,t){return!Hl(e.getCurrentResult(),t)}var fr,hr,ht,Pn,Ln,al,pf,Vy,zT=(Vy=class extends Uo{constructor(n,r){super();G(this,Ln);G(this,fr);G(this,hr);G(this,ht);G(this,Pn);z(this,fr,n),this.setOptions(r),this.bindMethods(),J(this,Ln,al).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const r=this.options;this.options=N(this,fr).defaultMutationOptions(n),Hl(this.options,r)||N(this,fr).getMutationCache().notify({type:"observerOptionsUpdated",mutation:N(this,ht),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&gs(r.mutationKey)!==gs(this.options.mutationKey)?this.reset():((s=N(this,ht))==null?void 0:s.state.status)==="pending"&&N(this,ht).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=N(this,ht))==null||n.removeObserver(this)}onMutationUpdate(n){J(this,Ln,al).call(this),J(this,Ln,pf).call(this,n)}getCurrentResult(){return N(this,hr)}reset(){var n;(n=N(this,ht))==null||n.removeObserver(this),z(this,ht,void 0),J(this,Ln,al).call(this),J(this,Ln,pf).call(this)}mutate(n,r){var s;return z(this,Pn,r),(s=N(this,ht))==null||s.removeObserver(this),z(this,ht,N(this,fr).getMutationCache().build(N(this,fr),this.options)),N(this,ht).addObserver(this),N(this,ht).execute(n)}},fr=new WeakMap,hr=new WeakMap,ht=new WeakMap,Pn=new WeakMap,Ln=new WeakSet,al=function(){var r;const n=((r=N(this,ht))==null?void 0:r.state)??ww();z(this,hr,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},pf=function(n){Le.batch(()=>{var r,s,o,i,a,c,u,d;if(N(this,Pn)&&this.hasListeners()){const f=N(this,hr).variables,p=N(this,hr).context;(n==null?void 0:n.type)==="success"?((s=(r=N(this,Pn)).onSuccess)==null||s.call(r,n.data,f,p),(i=(o=N(this,Pn)).onSettled)==null||i.call(o,n.data,null,f,p)):(n==null?void 0:n.type)==="error"&&((c=(a=N(this,Pn)).onError)==null||c.call(a,n.error,f,p),(d=(u=N(this,Pn)).onSettled)==null||d.call(u,void 0,n.error,f,p))}this.listeners.forEach(f=>{f(N(this,hr))})})},Vy),Sw=h.createContext(void 0),kc=e=>{const t=h.useContext(Sw);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},BT=({client:e,children:t})=>(h.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(Sw.Provider,{value:e,children:t})),Cw=h.createContext(!1),UT=()=>h.useContext(Cw);Cw.Provider;function $T(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var WT=h.createContext($T()),HT=()=>h.useContext(WT);function Nw(e,t){return typeof e=="function"?e(...t):!!e}function mf(){}var GT=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},KT=e=>{h.useEffect(()=>{e.clearReset()},[e])},QT=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&Nw(n,[e.error,r]),YT=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},XT=(e,t)=>e.isLoading&&e.isFetching&&!t,qT=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Lg=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function ZT(e,t,n){var d,f,p,y,b;const r=kc(),s=UT(),o=HT(),i=r.defaultQueryOptions(e);(f=(d=r.getDefaultOptions().queries)==null?void 0:d._experimental_beforeQuery)==null||f.call(d,i),i._optimisticResults=s?"isRestoring":"optimistic",YT(i),GT(i,o),KT(o);const a=!r.getQueryCache().get(i.queryHash),[c]=h.useState(()=>new t(r,i)),u=c.getOptimisticResult(i);if(h.useSyncExternalStore(h.useCallback(m=>{const w=s?mf:c.subscribe(Le.batchCalls(m));return c.updateResult(),w},[c,s]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),h.useEffect(()=>{c.setOptions(i,{listeners:!1})},[i,c]),qT(i,u))throw Lg(i,c,o);if(QT({result:u,errorResetBoundary:o,throwOnError:i.throwOnError,query:r.getQueryCache().get(i.queryHash)}))throw u.error;if((y=(p=r.getDefaultOptions().queries)==null?void 0:p._experimental_afterQuery)==null||y.call(p,i,u),i.experimental_prefetchInRender&&!ms&&XT(u,s)){const m=a?Lg(i,c,o):(b=r.getQueryCache().get(i.queryHash))==null?void 0:b.promise;m==null||m.catch(mf).finally(()=>{c.updateResult()})}return i.notifyOnChangeProps?u:c.trackResult(u)}function Jh(e,t){return ZT(e,IT)}function JT(e,t){const n=kc(),[r]=h.useState(()=>new zT(n,e));h.useEffect(()=>{r.setOptions(e)},[r,e]);const s=h.useSyncExternalStore(h.useCallback(i=>r.subscribe(Le.batchCalls(i)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=h.useCallback((i,a)=>{r.mutate(i,a).catch(mf)},[r]);if(s.error&&Nw(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:o,mutateAsync:s.mutate}}async function eE(e){if(!e.ok){const t=await e.text()||e.statusText;throw new Error(`${e.status}: ${t}`)}}const tE=({on401:e})=>async({queryKey:t})=>{const n=await fetch(t[0],{credentials:"include"});return e==="returnNull"&&n.status===401?null:(await eE(n),await n.json())},nE=new LT({defaultOptions:{queries:{queryFn:tE({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),rE=1,sE=1e6;let _u=0;function oE(){return _u=(_u+1)%Number.MAX_SAFE_INTEGER,_u.toString()}const Lu=new Map,Ig=e=>{if(Lu.has(e))return;const t=setTimeout(()=>{Lu.delete(e),Ni({type:"REMOVE_TOAST",toastId:e})},sE);Lu.set(e,t)},iE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,rE)};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?Ig(n):e.toasts.forEach(r=>{Ig(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)}}},ll=[];let cl={toasts:[]};function Ni(e){cl=iE(cl,e),ll.forEach(t=>{t(cl)})}function aE({...e}){const t=oE(),n=s=>Ni({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>Ni({type:"DISMISS_TOAST",toastId:t});return Ni({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function Rc(){const[e,t]=h.useState(cl);return h.useEffect(()=>(ll.push(t),()=>{const n=ll.indexOf(t);n>-1&&ll.splice(n,1)}),[e]),{...e,toast:aE,dismiss:n=>Ni({type:"DISMISS_TOAST",toastId:n})}}function Q(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 Fg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function jw(...e){return t=>{let n=!1;const r=e.map(s=>{const o=Fg(s,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let s=0;s{const{children:i,...a}=o,c=h.useMemo(()=>a,Object.values(a));return l.jsx(n.Provider,{value:c,children:i})};r.displayName=e+"Provider";function s(o){const i=h.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,s]}function js(e,t=[]){let n=[];function r(o,i){const a=h.createContext(i),c=n.length;n=[...n,i];const u=f=>{var g;const{scope:p,children:y,...b}=f,m=((g=p==null?void 0:p[e])==null?void 0:g[c])||a,w=h.useMemo(()=>b,Object.values(b));return l.jsx(m.Provider,{value:w,children:y})};u.displayName=o+"Provider";function d(f,p){var m;const y=((m=p==null?void 0:p[e])==null?void 0:m[c])||a,b=h.useContext(y);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[u,d]}const s=()=>{const o=n.map(i=>h.createContext(i));return function(a){const c=(a==null?void 0:a[e])||o;return h.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return s.scopeName=e,[r,cE(s,...t)]}function cE(...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(o){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(o)[`__scope${u}`];return{...a,...f}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Mo(e){const t=dE(e),n=h.forwardRef((r,s)=>{const{children:o,...i}=r,a=h.Children.toArray(o),c=a.find(hE);if(c){const u=c.props.children,d=a.map(f=>f===c?h.Children.count(u)>1?h.Children.only(null):h.isValidElement(u)?u.props.children:null:f);return l.jsx(t,{...i,ref:s,children:h.isValidElement(u)?h.cloneElement(u,void 0,d):null})}return l.jsx(t,{...i,ref:s,children:o})});return n.displayName=`${e}.Slot`,n}var uE=Mo("Slot");function dE(e){const t=h.forwardRef((n,r)=>{const{children:s,...o}=n;if(h.isValidElement(s)){const i=mE(s),a=pE(o,s.props);return s.type!==h.Fragment&&(a.ref=r?jw(r,i):i),h.cloneElement(s,a)}return h.Children.count(s)>1?h.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Pw=Symbol("radix.slottable");function fE(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Pw,t}function hE(e){return h.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Pw}function pE(e,t){const n={...t};for(const r in t){const s=e[r],o=t[r];/^on[A-Z]/.test(r)?s&&o?n[r]=(...a)=>{o(...a),s(...a)}:s&&(n[r]=s):r==="style"?n[r]={...s,...o}:r==="className"&&(n[r]=[s,o].filter(Boolean).join(" "))}return{...e,...n}}function mE(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 Tw(e){const t=e+"CollectionProvider",[n,r]=js(t),[s,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:w,children:g}=m,v=Xn.useRef(null),x=Xn.useRef(new Map).current;return l.jsx(s,{scope:w,itemMap:x,collectionRef:v,children:g})};i.displayName=t;const a=e+"CollectionSlot",c=Mo(a),u=Xn.forwardRef((m,w)=>{const{scope:g,children:v}=m,x=o(a,g),S=ae(w,x.collectionRef);return l.jsx(c,{ref:S,children:v})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",p=Mo(d),y=Xn.forwardRef((m,w)=>{const{scope:g,children:v,...x}=m,S=Xn.useRef(null),C=ae(w,S),j=o(d,g);return Xn.useEffect(()=>(j.itemMap.set(S,{ref:S,...x}),()=>void j.itemMap.delete(S))),l.jsx(p,{[f]:"",ref:C,children:v})});y.displayName=d;function b(m){const w=o(e+"CollectionConsumer",m);return Xn.useCallback(()=>{const v=w.collectionRef.current;if(!v)return[];const x=Array.from(v.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((j,P)=>x.indexOf(j.ref.current)-x.indexOf(P.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:y},b,r]}var gE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],te=gE.reduce((e,t)=>{const n=Mo(`Primitive.${t}`),r=h.forwardRef((s,o)=>{const{asChild:i,...a}=s,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Ew(e,t){e&&Ns.flushSync(()=>e.dispatchEvent(t))}function Oe(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function vE(e,t=globalThis==null?void 0:globalThis.document){const n=Oe(e);h.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 yE="DismissableLayer",gf="dismissableLayer.update",xE="dismissableLayer.pointerDownOutside",wE="dismissableLayer.focusOutside",Vg,kw=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ca=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:i,onDismiss:a,...c}=e,u=h.useContext(kw),[d,f]=h.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=h.useState({}),b=ae(t,P=>f(P)),m=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(w),v=d?m.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,S=v>=g,C=SE(P=>{const T=P.target,E=[...u.branches].some(R=>R.contains(T));!S||E||(s==null||s(P),i==null||i(P),P.defaultPrevented||a==null||a())},p),j=CE(P=>{const T=P.target;[...u.branches].some(R=>R.contains(T))||(o==null||o(P),i==null||i(P),P.defaultPrevented||a==null||a())},p);return vE(P=>{v===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},p),h.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Vg=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),zg(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Vg)}},[d,p,n,u]),h.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),zg())},[d,u]),h.useEffect(()=>{const P=()=>y({});return document.addEventListener(gf,P),()=>document.removeEventListener(gf,P)},[]),l.jsx(te.div,{...c,ref:b,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:Q(e.onFocusCapture,j.onFocusCapture),onBlurCapture:Q(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:Q(e.onPointerDownCapture,C.onPointerDownCapture)})});ca.displayName=yE;var bE="DismissableLayerBranch",Rw=h.forwardRef((e,t)=>{const n=h.useContext(kw),r=h.useRef(null),s=ae(t,r);return h.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),l.jsx(te.div,{...e,ref:s})});Rw.displayName=bE;function SE(e,t=globalThis==null?void 0:globalThis.document){const n=Oe(e),r=h.useRef(!1),s=h.useRef(()=>{});return h.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let c=function(){Aw(xE,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function CE(e,t=globalThis==null?void 0:globalThis.document){const n=Oe(e),r=h.useRef(!1);return h.useEffect(()=>{const s=o=>{o.target&&!r.current&&Aw(wE,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function zg(){const e=new CustomEvent(gf);document.dispatchEvent(e)}function Aw(e,t,n,{discrete:r}){const s=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Ew(s,o):s.dispatchEvent(o)}var NE=ca,jE=Rw,Qe=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},PE="Portal",Ac=h.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,o]=h.useState(!1);Qe(()=>o(!0),[]);const i=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?HP.createPortal(l.jsx(te.div,{...r,ref:t}),i):null});Ac.displayName=PE;function TE(e,t){return h.useReducer((n,r)=>t[n][r]??n,e)}var yn=e=>{const{present:t,children:n}=e,r=EE(t),s=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),o=ae(r.ref,kE(s));return typeof n=="function"||r.isPresent?h.cloneElement(s,{ref:o}):null};yn.displayName="Presence";function EE(e){const[t,n]=h.useState(),r=h.useRef({}),s=h.useRef(e),o=h.useRef("none"),i=e?"mounted":"unmounted",[a,c]=TE(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=Fa(r.current);o.current=a==="mounted"?u:"none"},[a]),Qe(()=>{const u=r.current,d=s.current;if(d!==e){const p=o.current,y=Fa(u);e?c("MOUNT"):y==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Qe(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=y=>{const m=Fa(r.current).includes(y.animationName);if(y.target===t&&m&&(c("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},p=y=>{y.target===t&&(o.current=Fa(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Fa(e){return(e==null?void 0:e.animationName)||"none"}function kE(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 Kl({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,s]=RE({defaultProp:t,onChange:n}),o=e!==void 0,i=o?e:r,a=Oe(n),c=h.useCallback(u=>{if(o){const f=typeof u=="function"?u(e):u;f!==e&&a(f)}else s(u)},[o,e,s,a]);return[i,c]}function RE({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,s=h.useRef(r),o=Oe(t);return h.useEffect(()=>{s.current!==r&&(o(r),s.current=r)},[r,s,o]),n}var AE="VisuallyHidden",ua=h.forwardRef((e,t)=>l.jsx(te.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));ua.displayName=AE;var ME=ua,ep="ToastProvider",[tp,DE,OE]=Tw("Toast"),[Mw,hI]=js("Toast",[OE]),[_E,Mc]=Mw(ep),Dw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:i}=e,[a,c]=h.useState(null),[u,d]=h.useState(0),f=h.useRef(!1),p=h.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${ep}\`. Expected non-empty \`string\`.`),l.jsx(tp.Provider,{scope:t,children:l.jsx(_E,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:h.useCallback(()=>d(y=>y+1),[]),onToastRemove:h.useCallback(()=>d(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:i})})};Dw.displayName=ep;var Ow="ToastViewport",LE=["F8"],vf="toast.viewportPause",yf="toast.viewportResume",_w=h.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=LE,label:s="Notifications ({hotkey})",...o}=e,i=Mc(Ow,n),a=DE(n),c=h.useRef(null),u=h.useRef(null),d=h.useRef(null),f=h.useRef(null),p=ae(t,f,i.onViewportChange),y=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;h.useEffect(()=>{const w=g=>{var x;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),h.useEffect(()=>{const w=c.current,g=f.current;if(b&&w&&g){const v=()=>{if(!i.isClosePausedRef.current){const j=new CustomEvent(vf);g.dispatchEvent(j),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const j=new CustomEvent(yf);g.dispatchEvent(j),i.isClosePausedRef.current=!1}},S=j=>{!w.contains(j.relatedTarget)&&x()},C=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",v),w.addEventListener("focusout",S),w.addEventListener("pointermove",v),w.addEventListener("pointerleave",C),window.addEventListener("blur",v),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",v),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",v),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",v),window.removeEventListener("focus",x)}}},[b,i.isClosePausedRef]);const m=h.useCallback(({tabbingDirection:w})=>{const v=a().map(x=>{const S=x.ref.current,C=[S,...YE(S)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?v.reverse():v).flat()},[a]);return h.useEffect(()=>{const w=f.current;if(w){const g=v=>{var C,j,P;const x=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!x){const T=document.activeElement,E=v.shiftKey;if(v.target===w&&E){(C=u.current)==null||C.focus();return}const M=m({tabbingDirection:E?"backwards":"forwards"}),F=M.findIndex(O=>O===T);Iu(M.slice(F+1))?v.preventDefault():E?(j=u.current)==null||j.focus():(P=d.current)==null||P.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[a,m]),l.jsxs(jE,{ref:c,role:"region","aria-label":s.replace("{hotkey}",y),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&l.jsx(xf,{ref:u,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});Iu(w)}}),l.jsx(tp.Slot,{scope:n,children:l.jsx(te.ol,{tabIndex:-1,...o,ref:p})}),b&&l.jsx(xf,{ref:d,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});Iu(w)}})]})});_w.displayName=Ow;var Lw="ToastFocusProxy",xf=h.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,o=Mc(Lw,n);return l.jsx(ua,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const a=i.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});xf.displayName=Lw;var Dc="Toast",IE="toast.swipeStart",FE="toast.swipeMove",VE="toast.swipeCancel",zE="toast.swipeEnd",Iw=h.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:o,...i}=e,[a=!0,c]=Kl({prop:r,defaultProp:s,onChange:o});return l.jsx(yn,{present:n||a,children:l.jsx($E,{open:a,...i,ref:t,onClose:()=>c(!1),onPause:Oe(e.onPause),onResume:Oe(e.onResume),onSwipeStart:Q(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Q(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:Q(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:Q(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)})})})});Iw.displayName=Dc;var[BE,UE]=Mw(Dc,{onClose(){}}),$E=h.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:o,onClose:i,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:y,...b}=e,m=Mc(Dc,n),[w,g]=h.useState(null),v=ae(t,O=>g(O)),x=h.useRef(null),S=h.useRef(null),C=s||m.duration,j=h.useRef(0),P=h.useRef(C),T=h.useRef(0),{onToastAdd:E,onToastRemove:R}=m,A=Oe(()=>{var L;(w==null?void 0:w.contains(document.activeElement))&&((L=m.viewport)==null||L.focus()),i()}),M=h.useCallback(O=>{!O||O===1/0||(window.clearTimeout(T.current),j.current=new Date().getTime(),T.current=window.setTimeout(A,O))},[A]);h.useEffect(()=>{const O=m.viewport;if(O){const L=()=>{M(P.current),u==null||u()},I=()=>{const V=new Date().getTime()-j.current;P.current=P.current-V,window.clearTimeout(T.current),c==null||c()};return O.addEventListener(vf,I),O.addEventListener(yf,L),()=>{O.removeEventListener(vf,I),O.removeEventListener(yf,L)}}},[m.viewport,C,c,u,M]),h.useEffect(()=>{o&&!m.isClosePausedRef.current&&M(C)},[o,C,m.isClosePausedRef,M]),h.useEffect(()=>(E(),()=>R()),[E,R]);const F=h.useMemo(()=>w?Ww(w):null,[w]);return m.viewport?l.jsxs(l.Fragment,{children:[F&&l.jsx(WE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:F}),l.jsx(BE,{scope:n,onClose:A,children:Ns.createPortal(l.jsx(tp.ItemSlot,{scope:n,children:l.jsx(NE,{asChild:!0,onEscapeKeyDown:Q(a,()=>{m.isFocusedToastEscapeKeyDownRef.current||A(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(te.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":m.swipeDirection,...b,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Q(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,A()))}),onPointerDown:Q(e.onPointerDown,O=>{O.button===0&&(x.current={x:O.clientX,y:O.clientY})}),onPointerMove:Q(e.onPointerMove,O=>{if(!x.current)return;const L=O.clientX-x.current.x,I=O.clientY-x.current.y,V=!!S.current,k=["left","right"].includes(m.swipeDirection),_=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,B=k?_(0,L):0,H=k?0:_(0,I),se=O.pointerType==="touch"?10:2,Pe={x:B,y:H},ve={originalEvent:O,delta:Pe};V?(S.current=Pe,Va(FE,f,ve,{discrete:!1})):Bg(Pe,m.swipeDirection,se)?(S.current=Pe,Va(IE,d,ve,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(L)>se||Math.abs(I)>se)&&(x.current=null)}),onPointerUp:Q(e.onPointerUp,O=>{const L=S.current,I=O.target;if(I.hasPointerCapture(O.pointerId)&&I.releasePointerCapture(O.pointerId),S.current=null,x.current=null,L){const V=O.currentTarget,k={originalEvent:O,delta:L};Bg(L,m.swipeDirection,m.swipeThreshold)?Va(zE,y,k,{discrete:!0}):Va(VE,p,k,{discrete:!0}),V.addEventListener("click",_=>_.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),WE=e=>{const{__scopeToast:t,children:n,...r}=e,s=Mc(Dc,t),[o,i]=h.useState(!1),[a,c]=h.useState(!1);return KE(()=>i(!0)),h.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(Ac,{asChild:!0,children:l.jsx(ua,{...r,children:o&&l.jsxs(l.Fragment,{children:[s.label," ",n]})})})},HE="ToastTitle",Fw=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(te.div,{...r,ref:t})});Fw.displayName=HE;var GE="ToastDescription",Vw=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(te.div,{...r,ref:t})});Vw.displayName=GE;var zw="ToastAction",Bw=h.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx($w,{altText:n,asChild:!0,children:l.jsx(np,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${zw}\`. Expected non-empty \`string\`.`),null)});Bw.displayName=zw;var Uw="ToastClose",np=h.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=UE(Uw,n);return l.jsx($w,{asChild:!0,children:l.jsx(te.button,{type:"button",...r,ref:t,onClick:Q(e.onClick,s.onClose)})})});np.displayName=Uw;var $w=h.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return l.jsx(te.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Ww(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),QE(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Ww(r))}}),t}function Va(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Ew(s,o):s.dispatchEvent(o)}var Bg=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n};function KE(e=()=>{}){const t=Oe(e);Qe(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function QE(e){return e.nodeType===e.ELEMENT_NODE}function YE(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 Iu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var XE=Dw,Hw=_w,Gw=Iw,Kw=Fw,Qw=Vw,Yw=Bw,Xw=np;function qw(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;ttypeof e=="boolean"?`${e}`:e===0?"0":e,$g=Zw,da=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return $g(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:o}=t,i=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=o==null?void 0:o[u];if(d===null)return null;const p=Ug(d)||Ug(f);return s[u][p]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,p]=d;return p===void 0||(u[f]=p),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:p,...y}=d;return Object.entries(y).every(b=>{let[m,w]=b;return Array.isArray(w)?w.includes({...o,...a}[m]):{...o,...a}[m]===w})?[...u,f,p]:u},[]);return $g(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Jw=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var ZE={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.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const JE=h.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:o,iconNode:i,...a},c)=>h.createElement("svg",{ref:c,...ZE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Jw("lucide",s),...a},[...i.map(([u,d])=>h.createElement(u,d)),...Array.isArray(o)?o:[o]]));/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Y=(e,t)=>{const n=h.forwardRef(({className:r,...s},o)=>h.createElement(JE,{ref:o,iconNode:t,className:Jw(`lucide-${qE(e)}`,r),...s}));return n.displayName=`${e}`,n};/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ql=Y("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ek=Y("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const tk=Y("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const e1=Y("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const nk=Y("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/** - * @license lucide-react v0.453.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=Y("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sk=Y("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ok=Y("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const t1=Y("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** - * @license lucide-react v0.453.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=Y("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ak=Y("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const lk=Y("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const n1=Y("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const vs=Y("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const rp=Y("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ro=Y("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Er=Y("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ck=Y("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const uk=Y("Dot",[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const dk=Y("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sp=Y("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const wf=Y("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const fk=Y("House",[["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"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ji=Y("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const r1=Y("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** - * @license lucide-react v0.453.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=Y("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const pk=Y("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Wg=Y("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Yl=Y("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const mk=Y("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const gk=Y("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Hg=Y("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const vk=Y("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const yk=Y("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ys=Y("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const xk=Y("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const so=Y("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const wk=Y("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Gg=Y("TriangleAlert",[["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"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const bf=Y("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const s1=Y("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const op=Y("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const o1=Y("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** - * @license lucide-react v0.453.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=Y("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ps=Y("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Sk=Y("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);/** - * @license lucide-react v0.453.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ul=Y("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),ip="-",Ck=e=>{const t=jk(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(ip);return a[0]===""&&a.length!==1&&a.shift(),i1(a,t)||Nk(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&r[i]?[...c,...r[i]]:c}}},i1=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?i1(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(ip);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},Kg=/^\[(.+)\]$/,Nk=e=>{if(Kg.test(e)){const t=Kg.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},jk=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Tk(Object.entries(e.classGroups),n).forEach(([o,i])=>{Sf(i,r,o,t)}),r},Sf=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:Qg(t,s);o.classGroupId=n;return}if(typeof s=="function"){if(Pk(s)){Sf(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([o,i])=>{Sf(i,Qg(t,o),n,r)})})},Qg=(e,t)=>{let n=e;return t.split(ip).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Pk=e=>e.isThemeGetter,Tk=(e,t)=>t?e.map(([n,r])=>{const s=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[n,s]}):e,Ek=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return s(o,i),i},set(o,i){n.has(o)?n.set(o,i):s(o,i)}}},a1="!",kk=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],o=t.length,i=a=>{const c=[];let u=0,d=0,f;for(let w=0;wd?f-d:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:b,maybePostfixModifierPosition:m}};return n?a=>n({className:a,parseClassName:i}):i},Rk=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},Ak=e=>({cache:Ek(e.cacheSize),parseClassName:kk(e),...Ck(e)}),Mk=/\s+/,Dk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(Mk);let a="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:y}=n(u);let b=!!y,m=r(b?p.substring(0,y):p);if(!m){if(!b){a=u+(a.length>0?" "+a:a);continue}if(m=r(p),!m){a=u+(a.length>0?" "+a:a);continue}b=!1}const w=Rk(d).join(":"),g=f?w+a1:w,v=g+m;if(o.includes(v))continue;o.push(v);const x=s(m,b);for(let S=0;S0?" "+a:a)}return a};function Ok(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(d),e());return n=Ak(u),r=n.cache.get,s=n.cache.set,o=a,a(c)}function a(c){const u=r(c);if(u)return u;const d=Dk(c,n);return s(c,d),d}return function(){return o(Ok.apply(null,arguments))}}const ye=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},c1=/^\[(?:([a-z-]+):)?(.+)\]$/i,Lk=/^\d+\/\d+$/,Ik=new Set(["px","full","screen"]),Fk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vk=/\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$/,zk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Bk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Uk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Sn=e=>oo(e)||Ik.has(e)||Lk.test(e),Qn=e=>$o(e,"length",Xk),oo=e=>!!e&&!Number.isNaN(Number(e)),Fu=e=>$o(e,"number",oo),ni=e=>!!e&&Number.isInteger(Number(e)),$k=e=>e.endsWith("%")&&oo(e.slice(0,-1)),Z=e=>c1.test(e),Yn=e=>Fk.test(e),Wk=new Set(["length","size","percentage"]),Hk=e=>$o(e,Wk,u1),Gk=e=>$o(e,"position",u1),Kk=new Set(["image","url"]),Qk=e=>$o(e,Kk,Zk),Yk=e=>$o(e,"",qk),ri=()=>!0,$o=(e,t,n)=>{const r=c1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Xk=e=>Vk.test(e)&&!zk.test(e),u1=()=>!1,qk=e=>Bk.test(e),Zk=e=>Uk.test(e),Jk=()=>{const e=ye("colors"),t=ye("spacing"),n=ye("blur"),r=ye("brightness"),s=ye("borderColor"),o=ye("borderRadius"),i=ye("borderSpacing"),a=ye("borderWidth"),c=ye("contrast"),u=ye("grayscale"),d=ye("hueRotate"),f=ye("invert"),p=ye("gap"),y=ye("gradientColorStops"),b=ye("gradientColorStopPositions"),m=ye("inset"),w=ye("margin"),g=ye("opacity"),v=ye("padding"),x=ye("saturate"),S=ye("scale"),C=ye("sepia"),j=ye("skew"),P=ye("space"),T=ye("translate"),E=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",Z,t],M=()=>[Z,t],F=()=>["",Sn,Qn],O=()=>["auto",oo,Z],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],I=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",Z],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[oo,Z];return{cacheSize:500,separator:":",theme:{colors:[ri],spacing:[Sn,Qn],blur:["none","",Yn,Z],brightness:H(),borderColor:[e],borderRadius:["none","","full",Yn,Z],borderSpacing:M(),borderWidth:F(),contrast:H(),grayscale:_(),hueRotate:H(),invert:_(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[$k,Qn],inset:A(),margin:A(),opacity:H(),padding:M(),saturate:H(),scale:H(),sepia:_(),skew:H(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",Z]}],container:["container"],columns:[{columns:[Yn]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:[...L(),Z]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ni,Z]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Z]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",ni,Z]}],"grid-cols":[{"grid-cols":[ri]}],"col-start-end":[{col:["auto",{span:["full",ni,Z]},Z]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[ri]}],"row-start-end":[{row:["auto",{span:[ni,Z]},Z]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Z]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Z,t]}],"min-w":[{"min-w":[Z,t,"min","max","fit"]}],"max-w":[{"max-w":[Z,t,"none","full","min","max","fit","prose",{screen:[Yn]},Yn]}],h:[{h:[Z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Yn,Qn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fu]}],"font-family":[{font:[ri]}],"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",Z]}],"line-clamp":[{"line-clamp":["none",oo,Fu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Sn,Z]}],"list-image":[{"list-image":["none",Z]}],"list-style-type":[{list:["none","disc","decimal",Z]}],"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:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Sn,Qn]}],"underline-offset":[{"underline-offset":["auto",Sn,Z]}],"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:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Z]}],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",Z]}],"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:[...L(),Gk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hk]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Qk]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...I(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:I()}],"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:["",...I()]}],"outline-offset":[{"outline-offset":[Sn,Z]}],"outline-w":[{outline:[Sn,Qn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Sn,Qn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Yn,Yk]}],"shadow-color":[{shadow:[ri]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Yn,Z]}],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",Z]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",Z]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",Z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ni,Z]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Z]}],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",Z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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",Z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Sn,Qn,Fu]}],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"]}}},e2=_k(Jk);function ee(...e){return e2(Zw(e))}function t2(e){return/^[a-zA-Z0-9._%+-]+@gmail\.com$/.test(e)}function n2(e){return/^[a-zA-Z0-9.\-_]+@[a-zA-Z0-9.\-_]+$/.test(e)}function r2(e){return/^\d{6}$/.test(e)}function s2(e){return/^(\+91)?[6-9]\d{9}$/.test(e)}function o2(e){if(e===0)return"0 Bytes";const t=1024,n=["Bytes","KB","MB","GB"],r=Math.floor(Math.log(e)/Math.log(t));return parseFloat((e/Math.pow(t,r)).toFixed(2))+" "+n[r]}function i2(e){switch(e){case"overwatch":return[200,500,1e3];case"roblox":return[400,800,1e3];case"league":return[575];default:return[]}}function io(e,t){switch(t){case"overwatch":return`${e} Coins`;case"roblox":return`${e} Robux`;case"league":return`${e} RP`;default:return e.toString()}}function a2(e){if(!e||e.length===0)return!1;const t=e.filter(s=>s.status==="approved"),n=e.filter(s=>s.status==="paid");return t.length+n.length>=2}function d1(e){return a2(e)}const l2=XE,f1=h.forwardRef(({className:e,...t},n)=>l.jsx(Hw,{ref:n,className:ee("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}));f1.displayName=Hw.displayName;const c2=da("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"glass-notification text-gray-800",destructive:"destructive group glass-notification text-red-800"}},defaultVariants:{variant:"default"}}),h1=h.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(Gw,{ref:r,className:ee(c2({variant:t}),e),...n}));h1.displayName=Gw.displayName;const u2=h.forwardRef(({className:e,...t},n)=>l.jsx(Yw,{ref:n,className:ee("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 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}));u2.displayName=Yw.displayName;const p1=h.forwardRef(({className:e,...t},n)=>l.jsx(Xw,{ref:n,className:ee("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 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(Ps,{className:"h-4 w-4"})}));p1.displayName=Xw.displayName;const m1=h.forwardRef(({className:e,...t},n)=>l.jsx(Kw,{ref:n,className:ee("text-sm font-semibold",e),...t}));m1.displayName=Kw.displayName;const g1=h.forwardRef(({className:e,...t},n)=>l.jsx(Qw,{ref:n,className:ee("text-sm opacity-90",e),...t}));g1.displayName=Qw.displayName;function d2(){const{toasts:e}=Rc();return l.jsxs(l2,{children:[e.map(function({id:t,title:n,description:r,action:s,...o}){return l.jsxs(h1,{...o,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(m1,{children:n}),r&&l.jsx(g1,{children:r})]}),s,l.jsx(p1,{})]},t)}),l.jsx(f1,{})]})}var f2=qy[" useId ".trim().toString()]||(()=>{}),h2=0;function ao(e){const[t,n]=h.useState(f2());return Qe(()=>{n(r=>r??String(h2++))},[e]),t?`radix-${t}`:""}const p2=["top","right","bottom","left"],kr=Math.min,Ct=Math.max,Xl=Math.round,za=Math.floor,pn=e=>({x:e,y:e}),m2={left:"right",right:"left",bottom:"top",top:"bottom"},g2={start:"end",end:"start"};function Cf(e,t,n){return Ct(e,kr(t,n))}function Bn(e,t){return typeof e=="function"?e(t):e}function Un(e){return e.split("-")[0]}function Wo(e){return e.split("-")[1]}function ap(e){return e==="x"?"y":"x"}function lp(e){return e==="y"?"height":"width"}function Rr(e){return["top","bottom"].includes(Un(e))?"y":"x"}function cp(e){return ap(Rr(e))}function v2(e,t,n){n===void 0&&(n=!1);const r=Wo(e),s=cp(e),o=lp(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ql(i)),[i,ql(i)]}function y2(e){const t=ql(e);return[Nf(e),t,Nf(t)]}function Nf(e){return e.replace(/start|end/g,t=>g2[t])}function x2(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function w2(e,t,n,r){const s=Wo(e);let o=x2(Un(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Nf)))),o}function ql(e){return e.replace(/left|right|bottom|top/g,t=>m2[t])}function b2(e){return{top:0,right:0,bottom:0,left:0,...e}}function v1(e){return typeof e!="number"?b2(e):{top:e,right:e,bottom:e,left:e}}function Zl(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 Yg(e,t,n){let{reference:r,floating:s}=e;const o=Rr(t),i=cp(t),a=lp(i),c=Un(t),u=o==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,p=r[a]/2-s[a]/2;let y;switch(c){case"top":y={x:d,y:r.y-s.height};break;case"bottom":y={x:d,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:f};break;case"left":y={x:r.x-s.width,y:f};break;default:y={x:r.x,y:r.y}}switch(Wo(t)){case"start":y[i]-=p*(n&&u?-1:1);break;case"end":y[i]+=p*(n&&u?-1:1);break}return y}const S2=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),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}=Yg(u,r,c),p=r,y={},b=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:c}=t,{element:u,padding:d=0}=Bn(e,t)||{};if(u==null)return{};const f=v1(d),p={x:n,y:r},y=cp(s),b=lp(y),m=await i.getDimensions(u),w=y==="y",g=w?"top":"left",v=w?"bottom":"right",x=w?"clientHeight":"clientWidth",S=o.reference[b]+o.reference[y]-p[y]-o.floating[b],C=p[y]-o.reference[y],j=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let P=j?j[x]:0;(!P||!await(i.isElement==null?void 0:i.isElement(j)))&&(P=a.floating[x]||o.floating[b]);const T=S/2-C/2,E=P/2-m[b]/2-1,R=kr(f[g],E),A=kr(f[v],E),M=R,F=P-m[b]-A,O=P/2-m[b]/2+T,L=Cf(M,O,F),I=!c.arrow&&Wo(s)!=null&&O!==L&&o.reference[b]/2-(OO<=0)){var A,M;const O=(((A=o.flip)==null?void 0:A.index)||0)+1,L=P[O];if(L)return{data:{index:O,overflows:R},reset:{placement:L}};let I=(M=R.filter(V=>V.overflows[0]<=0).sort((V,k)=>V.overflows[1]-k.overflows[1])[0])==null?void 0:M.placement;if(!I)switch(y){case"bestFit":{var F;const V=(F=R.filter(k=>{if(j){const _=Rr(k.placement);return _===v||_==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(_=>_>0).reduce((_,B)=>_+B,0)]).sort((k,_)=>k[1]-_[1])[0])==null?void 0:F[0];V&&(I=V);break}case"initialPlacement":I=a;break}if(s!==I)return{reset:{placement:I}}}return{}}}};function Xg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qg(e){return p2.some(t=>e[t]>=0)}const j2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=Bn(e,t);switch(r){case"referenceHidden":{const o=await Ki(t,{...s,elementContext:"reference"}),i=Xg(o,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:qg(i)}}}case"escaped":{const o=await Ki(t,{...s,altBoundary:!0}),i=Xg(o,n.floating);return{data:{escapedOffsets:i,escaped:qg(i)}}}default:return{}}}}};async function P2(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Un(n),a=Wo(n),c=Rr(n)==="y",u=["left","top"].includes(i)?-1:1,d=o&&c?-1:1,f=Bn(t,e);let{mainAxis:p,crossAxis:y,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof b=="number"&&(y=a==="end"?b*-1:b),c?{x:y*d,y:p*u}:{x:p*u,y:y*d}}const T2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,c=await P2(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:i}}}}},E2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...c}=Bn(e,t),u={x:n,y:r},d=await Ki(t,c),f=Rr(Un(s)),p=ap(f);let y=u[p],b=u[f];if(o){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",v=y+d[w],x=y-d[g];y=Cf(v,y,x)}if(i){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",v=b+d[w],x=b-d[g];b=Cf(v,b,x)}const m=a.fn({...t,[p]:y,[f]:b});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[p]:o,[f]:i}}}}}},k2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=Bn(e,t),d={x:n,y:r},f=Rr(s),p=ap(f);let y=d[p],b=d[f];const m=Bn(a,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const x=p==="y"?"height":"width",S=o.reference[p]-o.floating[x]+w.mainAxis,C=o.reference[p]+o.reference[x]-w.mainAxis;yC&&(y=C)}if(u){var g,v;const x=p==="y"?"width":"height",S=["top","left"].includes(Un(s)),C=o.reference[f]-o.floating[x]+(S&&((g=i.offset)==null?void 0:g[f])||0)+(S?0:w.crossAxis),j=o.reference[f]+o.reference[x]+(S?0:((v=i.offset)==null?void 0:v[f])||0)-(S?w.crossAxis:0);bj&&(b=j)}return{[p]:y,[f]:b}}}},R2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:c=()=>{},...u}=Bn(e,t),d=await Ki(t,u),f=Un(s),p=Wo(s),y=Rr(s)==="y",{width:b,height:m}=o.floating;let w,g;f==="top"||f==="bottom"?(w=f,g=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,w=p==="end"?"top":"bottom");const v=m-d.top-d.bottom,x=b-d.left-d.right,S=kr(m-d[w],v),C=kr(b-d[g],x),j=!t.middlewareData.shift;let P=S,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=v),j&&!p){const R=Ct(d.left,0),A=Ct(d.right,0),M=Ct(d.top,0),F=Ct(d.bottom,0);y?T=b-2*(R!==0||A!==0?R+A:Ct(d.left,d.right)):P=m-2*(M!==0||F!==0?M+F:Ct(d.top,d.bottom))}await c({...t,availableWidth:T,availableHeight:P});const E=await i.getDimensions(a.floating);return b!==E.width||m!==E.height?{reset:{rects:!0}}:{}}}};function Oc(){return typeof window<"u"}function Ho(e){return y1(e)?(e.nodeName||"").toLowerCase():"#document"}function Pt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xn(e){var t;return(t=(y1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function y1(e){return Oc()?e instanceof Node||e instanceof Pt(e).Node:!1}function en(e){return Oc()?e instanceof Element||e instanceof Pt(e).Element:!1}function vn(e){return Oc()?e instanceof HTMLElement||e instanceof Pt(e).HTMLElement:!1}function Zg(e){return!Oc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Pt(e).ShadowRoot}function fa(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=tn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function A2(e){return["table","td","th"].includes(Ho(e))}function _c(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function up(e){const t=dp(),n=en(e)?tn(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function M2(e){let t=Ar(e);for(;vn(t)&&!Do(t);){if(up(t))return t;if(_c(t))return null;t=Ar(t)}return null}function dp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Do(e){return["html","body","#document"].includes(Ho(e))}function tn(e){return Pt(e).getComputedStyle(e)}function Lc(e){return en(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ar(e){if(Ho(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zg(e)&&e.host||xn(e);return Zg(t)?t.host:t}function x1(e){const t=Ar(e);return Do(t)?e.ownerDocument?e.ownerDocument.body:e.body:vn(t)&&fa(t)?t:x1(t)}function Qi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=x1(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=Pt(s);if(o){const a=jf(i);return t.concat(i,i.visualViewport||[],fa(s)?s:[],a&&n?Qi(a):[])}return t.concat(s,Qi(s,[],n))}function jf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function w1(e){const t=tn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=vn(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,a=Xl(n)!==o||Xl(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function fp(e){return en(e)?e:e.contextElement}function lo(e){const t=fp(e);if(!vn(t))return pn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=w1(t);let i=(o?Xl(n.width):n.width)/r,a=(o?Xl(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const D2=pn(0);function b1(e){const t=Pt(e);return!dp()||!t.visualViewport?D2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function O2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Pt(e)?!1:t}function xs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=fp(e);let i=pn(1);t&&(r?en(r)&&(i=lo(r)):i=lo(e));const a=O2(o,n,r)?b1(o):pn(0);let c=(s.left+a.x)/i.x,u=(s.top+a.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(o){const p=Pt(o),y=r&&en(r)?Pt(r):r;let b=p,m=jf(b);for(;m&&r&&y!==b;){const w=lo(m),g=m.getBoundingClientRect(),v=tn(m),x=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,S=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,f*=w.y,c+=x,u+=S,b=Pt(m),m=jf(b)}}return Zl({width:d,height:f,x:c,y:u})}function hp(e,t){const n=Lc(e).scrollLeft;return t?t.left+n:xs(xn(e)).left+n}function S1(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:hp(e,r)),o=r.top+t.scrollTop;return{x:s,y:o}}function _2(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=xn(r),a=t?_c(t.floating):!1;if(r===i||a&&o)return n;let c={scrollLeft:0,scrollTop:0},u=pn(1);const d=pn(0),f=vn(r);if((f||!f&&!o)&&((Ho(r)!=="body"||fa(i))&&(c=Lc(r)),vn(r))){const y=xs(r);u=lo(r),d.x=y.x+r.clientLeft,d.y=y.y+r.clientTop}const p=i&&!f&&!o?S1(i,c,!0):pn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-c.scrollTop*u.y+d.y+p.y}}function L2(e){return Array.from(e.getClientRects())}function I2(e){const t=xn(e),n=Lc(e),r=e.ownerDocument.body,s=Ct(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Ct(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+hp(e);const a=-n.scrollTop;return tn(r).direction==="rtl"&&(i+=Ct(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}function F2(e,t){const n=Pt(e),r=xn(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,a=0,c=0;if(s){o=s.width,i=s.height;const u=dp();(!u||u&&t==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:o,height:i,x:a,y:c}}function V2(e,t){const n=xs(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=vn(e)?lo(e):pn(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:i,height:a,x:c,y:u}}function Jg(e,t,n){let r;if(t==="viewport")r=F2(e,n);else if(t==="document")r=I2(xn(e));else if(en(t))r=V2(t,n);else{const s=b1(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Zl(r)}function C1(e,t){const n=Ar(e);return n===t||!en(n)||Do(n)?!1:tn(n).position==="fixed"||C1(n,t)}function z2(e,t){const n=t.get(e);if(n)return n;let r=Qi(e,[],!1).filter(a=>en(a)&&Ho(a)!=="body"),s=null;const o=tn(e).position==="fixed";let i=o?Ar(e):e;for(;en(i)&&!Do(i);){const a=tn(i),c=up(i);!c&&a.position==="fixed"&&(s=null),(o?!c&&!s:!c&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||fa(i)&&!c&&C1(e,i))?r=r.filter(d=>d!==i):s=a,i=Ar(i)}return t.set(e,r),r}function B2(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?_c(t)?[]:z2(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((u,d)=>{const f=Jg(t,d,s);return u.top=Ct(f.top,u.top),u.right=kr(f.right,u.right),u.bottom=kr(f.bottom,u.bottom),u.left=Ct(f.left,u.left),u},Jg(t,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function U2(e){const{width:t,height:n}=w1(e);return{width:t,height:n}}function $2(e,t,n){const r=vn(t),s=xn(t),o=n==="fixed",i=xs(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const c=pn(0);if(r||!r&&!o)if((Ho(t)!=="body"||fa(s))&&(a=Lc(t)),r){const p=xs(t,!0,o,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&(c.x=hp(s));const u=s&&!r&&!o?S1(s,a):pn(0),d=i.left+a.scrollLeft-c.x-u.x,f=i.top+a.scrollTop-c.y-u.y;return{x:d,y:f,width:i.width,height:i.height}}function Vu(e){return tn(e).position==="static"}function ev(e,t){if(!vn(e)||tn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return xn(e)===n&&(n=n.ownerDocument.body),n}function N1(e,t){const n=Pt(e);if(_c(e))return n;if(!vn(e)){let s=Ar(e);for(;s&&!Do(s);){if(en(s)&&!Vu(s))return s;s=Ar(s)}return n}let r=ev(e,t);for(;r&&A2(r)&&Vu(r);)r=ev(r,t);return r&&Do(r)&&Vu(r)&&!up(r)?n:r||M2(e)||n}const W2=async function(e){const t=this.getOffsetParent||N1,n=this.getDimensions,r=await n(e.floating);return{reference:$2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function H2(e){return tn(e).direction==="rtl"}const G2={convertOffsetParentRelativeRectToViewportRelativeRect:_2,getDocumentElement:xn,getClippingRect:B2,getOffsetParent:N1,getElementRects:W2,getClientRects:L2,getDimensions:U2,getScale:lo,isElement:en,isRTL:H2};function j1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function K2(e,t){let n=null,r;const s=xn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:p,height:y}=u;if(a||t(),!p||!y)return;const b=za(f),m=za(s.clientWidth-(d+p)),w=za(s.clientHeight-(f+y)),g=za(d),x={rootMargin:-b+"px "+-m+"px "+-w+"px "+-g+"px",threshold:Ct(0,kr(1,c))||1};let S=!0;function C(j){const P=j[0].intersectionRatio;if(P!==c){if(!S)return i();P?i(!1,P):r=setTimeout(()=>{i(!1,1e-7)},1e3)}P===1&&!j1(u,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(C,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return i(!0),o}function Q2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=fp(e),d=s||o?[...u?Qi(u):[],...Qi(t)]:[];d.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});const f=u&&a?K2(u,n):null;let p=-1,y=null;i&&(y=new ResizeObserver(g=>{let[v]=g;v&&v.target===u&&y&&(y.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=y)==null||x.observe(t)})),n()}),u&&!c&&y.observe(u),y.observe(t));let b,m=c?xs(e):null;c&&w();function w(){const g=xs(e);m&&!j1(m,g)&&n(),m=g,b=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(v=>{s&&v.removeEventListener("scroll",n),o&&v.removeEventListener("resize",n)}),f==null||f(),(g=y)==null||g.disconnect(),y=null,c&&cancelAnimationFrame(b)}}const Y2=T2,X2=E2,q2=N2,Z2=R2,J2=j2,tv=C2,eR=k2,tR=(e,t,n)=>{const r=new Map,s={platform:G2,...n},o={...s.platform,_c:r};return S2(e,t,{...s,platform:o})};var dl=typeof document<"u"?h.useLayoutEffect:h.useEffect;function Jl(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(!Jl(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 o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!Jl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function P1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nv(e,t){const n=P1(e);return Math.round(t*n)/n}function zu(e){const t=h.useRef(e);return dl(()=>{t.current=e}),t}function nR(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:i}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,y]=h.useState(r);Jl(p,r)||y(r);const[b,m]=h.useState(null),[w,g]=h.useState(null),v=h.useCallback(k=>{k!==j.current&&(j.current=k,m(k))},[]),x=h.useCallback(k=>{k!==P.current&&(P.current=k,g(k))},[]),S=o||b,C=i||w,j=h.useRef(null),P=h.useRef(null),T=h.useRef(d),E=c!=null,R=zu(c),A=zu(s),M=zu(u),F=h.useCallback(()=>{if(!j.current||!P.current)return;const k={placement:t,strategy:n,middleware:p};A.current&&(k.platform=A.current),tR(j.current,P.current,k).then(_=>{const B={..._,isPositioned:M.current!==!1};O.current&&!Jl(T.current,B)&&(T.current=B,Ns.flushSync(()=>{f(B)}))})},[p,t,n,A,M]);dl(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[u]);const O=h.useRef(!1);dl(()=>(O.current=!0,()=>{O.current=!1}),[]),dl(()=>{if(S&&(j.current=S),C&&(P.current=C),S&&C){if(R.current)return R.current(S,C,F);F()}},[S,C,F,R,E]);const L=h.useMemo(()=>({reference:j,floating:P,setReference:v,setFloating:x}),[v,x]),I=h.useMemo(()=>({reference:S,floating:C}),[S,C]),V=h.useMemo(()=>{const k={position:n,left:0,top:0};if(!I.floating)return k;const _=nv(I.floating,d.x),B=nv(I.floating,d.y);return a?{...k,transform:"translate("+_+"px, "+B+"px)",...P1(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:B}},[n,a,I.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:F,refs:L,elements:I,floatingStyles:V}),[d,F,L,I,V])}const rR=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?tv({element:r.current,padding:s}).fn(n):{}:r?tv({element:r,padding:s}).fn(n):{}}}},sR=(e,t)=>({...Y2(e),options:[e,t]}),oR=(e,t)=>({...X2(e),options:[e,t]}),iR=(e,t)=>({...eR(e),options:[e,t]}),aR=(e,t)=>({...q2(e),options:[e,t]}),lR=(e,t)=>({...Z2(e),options:[e,t]}),cR=(e,t)=>({...J2(e),options:[e,t]}),uR=(e,t)=>({...rR(e),options:[e,t]});var dR="Arrow",T1=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...o}=e;return l.jsx(te.svg,{...o,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"})})});T1.displayName=dR;var fR=T1;function hR(e){const[t,n]=h.useState(void 0);return Qe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let i,a;if("borderBoxSize"in o){const c=o.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var pp="Popper",[E1,Ic]=js(pp),[pR,k1]=E1(pp),R1=e=>{const{__scopePopper:t,children:n}=e,[r,s]=h.useState(null);return l.jsx(pR,{scope:t,anchor:r,onAnchorChange:s,children:n})};R1.displayName=pp;var A1="PopperAnchor",M1=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,o=k1(A1,n),i=h.useRef(null),a=ae(t,i);return h.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:l.jsx(te.div,{...s,ref:a})});M1.displayName=A1;var mp="PopperContent",[mR,gR]=E1(mp),D1=h.forwardRef((e,t)=>{var W,fe,Ve,ue,le,ie;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:o="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:y="optimized",onPlaced:b,...m}=e,w=k1(mp,n),[g,v]=h.useState(null),x=ae(t,st=>v(st)),[S,C]=h.useState(null),j=hR(S),P=(j==null?void 0:j.width)??0,T=(j==null?void 0:j.height)??0,E=r+(o!=="center"?"-"+o:""),R=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},A=Array.isArray(u)?u:[u],M=A.length>0,F={padding:R,boundary:A.filter(yR),altBoundary:M},{refs:O,floatingStyles:L,placement:I,isPositioned:V,middlewareData:k}=nR({strategy:"fixed",placement:E,whileElementsMounted:(...st)=>Q2(...st,{animationFrame:y==="always"}),elements:{reference:w.anchor},middleware:[sR({mainAxis:s+T,alignmentAxis:i}),c&&oR({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?iR():void 0,...F}),c&&aR({...F}),lR({...F,apply:({elements:st,rects:$,availableWidth:X,availableHeight:Re})=>{const{width:ze,height:dt}=$.reference,he=st.floating.style;he.setProperty("--radix-popper-available-width",`${X}px`),he.setProperty("--radix-popper-available-height",`${Re}px`),he.setProperty("--radix-popper-anchor-width",`${ze}px`),he.setProperty("--radix-popper-anchor-height",`${dt}px`)}}),S&&uR({element:S,padding:a}),xR({arrowWidth:P,arrowHeight:T}),p&&cR({strategy:"referenceHidden",...F})]}),[_,B]=L1(I),H=Oe(b);Qe(()=>{V&&(H==null||H())},[V,H]);const se=(W=k.arrow)==null?void 0:W.x,Pe=(fe=k.arrow)==null?void 0:fe.y,ve=((Ve=k.arrow)==null?void 0:Ve.centerOffset)!==0,[$e,Fe]=h.useState();return Qe(()=>{g&&Fe(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:V?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[(ue=k.transformOrigin)==null?void 0:ue.x,(le=k.transformOrigin)==null?void 0:le.y].join(" "),...((ie=k.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(mR,{scope:n,placedSide:_,onArrowChange:C,arrowX:se,arrowY:Pe,shouldHideArrow:ve,children:l.jsx(te.div,{"data-side":_,"data-align":B,...m,ref:x,style:{...m.style,animation:V?void 0:"none"}})})})});D1.displayName=mp;var O1="PopperArrow",vR={top:"bottom",right:"left",bottom:"top",left:"right"},_1=h.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,o=gR(O1,r),i=vR[o.placedSide];return l.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:l.jsx(fR,{...s,ref:n,style:{...s.style,display:"block"}})})});_1.displayName=O1;function yR(e){return e!==null}var xR=e=>({name:"transformOrigin",options:e,fn(t){var w,g,v;const{placement:n,rects:r,middlewareData:s}=t,i=((w=s.arrow)==null?void 0:w.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,d]=L1(n),f={start:"0%",center:"50%",end:"100%"}[d],p=(((g=s.arrow)==null?void 0:g.x)??0)+a/2,y=(((v=s.arrow)==null?void 0:v.y)??0)+c/2;let b="",m="";return u==="bottom"?(b=i?f:`${p}px`,m=`${-c}px`):u==="top"?(b=i?f:`${p}px`,m=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,m=i?f:`${y}px`):u==="left"&&(b=`${r.floating.width+c}px`,m=i?f:`${y}px`),{data:{x:b,y:m}}}});function L1(e){const[t,n="center"]=e.split("-");return[t,n]}var wR=R1,I1=M1,F1=D1,V1=_1,[Fc,pI]=js("Tooltip",[Ic]),gp=Ic(),z1="TooltipProvider",bR=700,rv="tooltip.open",[SR,B1]=Fc(z1),U1=e=>{const{__scopeTooltip:t,delayDuration:n=bR,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:o}=e,i=h.useRef(!0),a=h.useRef(!1),c=h.useRef(0);return h.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(SR,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:h.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:h.useCallback(u=>{a.current=u},[]),disableHoverableContent:s,children:o})};U1.displayName=z1;var $1="Tooltip",[mI,Vc]=Fc($1),Pf="TooltipTrigger",CR=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Vc(Pf,n),o=B1(Pf,n),i=gp(n),a=h.useRef(null),c=ae(t,a,s.onTriggerChange),u=h.useRef(!1),d=h.useRef(!1),f=h.useCallback(()=>u.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(I1,{asChild:!0,...i,children:l.jsx(te.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:Q(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:Q(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:Q(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Q(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:Q(e.onBlur,s.onClose),onClick:Q(e.onClick,s.onClose)})})});CR.displayName=Pf;var NR="TooltipPortal",[gI,jR]=Fc(NR,{forceMount:void 0}),Oo="TooltipContent",W1=h.forwardRef((e,t)=>{const n=jR(Oo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...o}=e,i=Vc(Oo,e.__scopeTooltip);return l.jsx(yn,{present:r||i.open,children:i.disableHoverableContent?l.jsx(H1,{side:s,...o,ref:t}):l.jsx(PR,{side:s,...o,ref:t})})}),PR=h.forwardRef((e,t)=>{const n=Vc(Oo,e.__scopeTooltip),r=B1(Oo,e.__scopeTooltip),s=h.useRef(null),o=ae(t,s),[i,a]=h.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,p=h.useCallback(()=>{a(null),f(!1)},[f]),y=h.useCallback((b,m)=>{const w=b.currentTarget,g={x:b.clientX,y:b.clientY},v=AR(g,w.getBoundingClientRect()),x=MR(g,v),S=DR(m.getBoundingClientRect()),C=_R([...x,...S]);a(C),f(!0)},[f]);return h.useEffect(()=>()=>p(),[p]),h.useEffect(()=>{if(c&&d){const b=w=>y(w,d),m=w=>y(w,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",m)}}},[c,d,y,p]),h.useEffect(()=>{if(i){const b=m=>{const w=m.target,g={x:m.clientX,y:m.clientY},v=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),x=!OR(g,i);v?p():x&&(p(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,i,u,p]),l.jsx(H1,{...e,ref:o})}),[TR,ER]=Fc($1,{isInside:!1}),kR=fE("TooltipContent"),H1=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...a}=e,c=Vc(Oo,n),u=gp(n),{onClose:d}=c;return h.useEffect(()=>(document.addEventListener(rv,d),()=>document.removeEventListener(rv,d)),[d]),h.useEffect(()=>{if(c.trigger){const f=p=>{const y=p.target;y!=null&&y.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(ca,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(F1,{"data-state":c.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(kR,{children:r}),l.jsx(TR,{scope:n,isInside:!0,children:l.jsx(ME,{id:c.contentId,role:"tooltip",children:s||r})})]})})});W1.displayName=Oo;var G1="TooltipArrow",RR=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=gp(n);return ER(G1,n).isInside?null:l.jsx(V1,{...s,...r,ref:t})});RR.displayName=G1;function AR(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function MR(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 DR(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 OR(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,i=t.length-1;or!=d>r&&n<(u-a)*(r-c)/(d-c)+a&&(s=!s)}return s}function _R(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),LR(t)}function LR(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.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 o=n[n.length-1],i=n[n.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.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 IR=U1,K1=W1;const FR=IR,VR=h.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(K1,{ref:r,sideOffset:t,className:ee("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...n}));VR.displayName=K1.displayName;const zR={theme:"system",setTheme:()=>null},Q1=h.createContext(zR);function BR({children:e,defaultTheme:t="system",storageKey:n="gcx-ui-theme",...r}){const[s,o]=h.useState(()=>localStorage.getItem(n)||t);h.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const c=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(c);return}a.classList.add(s)},[s]);const i={theme:s,setTheme:a=>{localStorage.setItem(n,a),o(a)}};return l.jsx(Q1.Provider,{...r,value:i,children:e})}const UR=()=>{const e=h.useContext(Q1);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},$R=da("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),pe=h.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},o)=>{const i=r?uE:"button";return l.jsx(i,{className:ee($R({variant:t,size:n,className:e})),ref:o,...s})});pe.displayName="Button";const q={setUser:e=>{const t={userId:e.id,userEmail:e.email,userName:e.name,timestamp:Date.now(),lastActivity:Date.now()},n=JSON.stringify(t);localStorage.setItem("gcxAuth",n),window.dispatchEvent(new CustomEvent("authChange",{detail:{user:e,authenticated:!0}}))},updateActivity:()=>{const e=localStorage.getItem("gcxAuth");if(e)try{const t=JSON.parse(e);t.lastActivity=Date.now(),localStorage.setItem("gcxAuth",JSON.stringify(t))}catch{}},getUser:()=>{const e=localStorage.getItem("gcxAuth");if(!e)return null;try{const t=JSON.parse(e),n=Date.now(),r=60*60*1e3;return n-t.timestamp>r?(q.clear(),null):{id:t.userId,email:t.userEmail,name:t.userName}}catch{return null}},setOTPToken:e=>{const t=localStorage.getItem("gcxAuth");if(t)try{const n=JSON.parse(t);n.otpToken=e;const r=JSON.stringify(n);localStorage.setItem("gcxAuth",r),n.userId&&n.userEmail&&window.dispatchEvent(new CustomEvent("authChange",{detail:{user:{id:n.userId,email:n.userEmail,name:n.userName},authenticated:!0}}))}catch{const n=JSON.stringify({otpToken:e,timestamp:Date.now()});localStorage.setItem("gcxAuth",n)}else{const n=JSON.stringify({otpToken:e,timestamp:Date.now()});localStorage.setItem("gcxAuth",n)}},getOTPToken:()=>{const e=localStorage.getItem("gcxAuth");if(!e)return null;try{return JSON.parse(e).otpToken||null}catch{return null}},isAuthenticated:()=>{const e=q.getUser(),t=q.getOTPToken();return!!(e&&t)},clear:()=>{localStorage.removeItem("gcxAuth"),window.dispatchEvent(new CustomEvent("authChange",{detail:{user:null,authenticated:!1}}))},getOTP:()=>q.getOTPToken(),getAuthHeaders:()=>{const e=q.getUser(),t=q.getOTPToken();return!e||!t?{}:{"x-user-id":String(e.id||"1"),"x-user-email":String(e.email||""),"x-otp-token":String(t||"")}},checkSession:()=>{const e=localStorage.getItem("gcxAuth");if(!e)return!1;try{const t=JSON.parse(e),n=Date.now(),r=60*60*1e3;return n-t.timestamp>r?(q.clear(),typeof window<"u"&&window.location.reload(),!1):!0}catch{return q.clear(),!1}},startSessionMonitoring:()=>{const e=setInterval(()=>{q.isAuthenticated()?q.checkSession():clearInterval(e)},3e5);return e}},Y1="/assets/logo_1751082883139-DZHNeMRA_1751729816425-PXg48O5r.png";function zc({onAuthClick:e,onSubmitCard:t}){var b;const[n,r]=h.useState(!1),[s]=Qh(),{theme:o,setTheme:i}=UR(),[a,c]=h.useState(()=>q.getUser()),[u,d]=h.useState(()=>q.isAuthenticated());h.useEffect(()=>{const m=()=>{const v=q.getUser(),x=q.isAuthenticated();c(v),d(x)};m();const w=v=>{v.key==="gcxAuth"&&m()},g=()=>{m()};return window.addEventListener("storage",w),window.addEventListener("authChange",g),()=>{window.removeEventListener("storage",w),window.removeEventListener("authChange",g)}},[]);const f=()=>{q.clear(),window.location.reload()},p=[{name:"Home",href:"/",icon:fk},{name:"Levels",href:"/levels",icon:bf},{name:"Reviews",href:"/reviews",icon:so},{name:"Submit Card",href:"#submit",icon:Er,onClick:t},{name:"Check Status",href:"/status",icon:sk}],y=m=>m==="/"?s==="/":m.startsWith("#")?!1:s.startsWith(m);return l.jsx("nav",{className:"relative z-50 glass-nav backdrop-blur-xl bg-white/10 border-b border-white/20 shadow-lg",children:l.jsxs("div",{className:"max-w-full px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"flex items-center justify-between h-16 py-2",children:[l.jsxs(Ci,{href:"/",className:"flex items-center space-x-2 group",children:[l.jsx("div",{className:"relative",children:l.jsx("img",{src:Y1,alt:"GCX Logo",className:"w-10 h-10 object-contain group-hover:scale-105 transition-transform"})}),l.jsxs("div",{className:"flex flex-col",children:[l.jsx("span",{className:"text-lg font-bold text-gray-900",children:"GCX"}),l.jsx("span",{className:"text-xs text-gray-600 font-medium hidden sm:block",children:"Gift Card Exchange"})]})]}),l.jsx("div",{className:"hidden md:flex items-center space-x-2",children:p.map(m=>l.jsxs(Ci,{href:m.href,onClick:m.onClick,className:`flex items-center space-x-2 px-4 py-2.5 rounded-2xl text-sm font-medium transition-all duration-300 ${y(m.href)?"glass-card-premium bg-primary-solid text-white shadow-lg":"text-gray-600 hover:text-gray-900 hover:glass-card-premium hover:scale-105"}`,children:[l.jsx(m.icon,{className:"w-4 h-4"}),l.jsx("span",{children:m.name})]},m.name))}),l.jsx("div",{className:"hidden md:flex items-center space-x-2",children:u?l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx("div",{className:"glass-card-premium rounded-2xl px-3 py-1.5",children:l.jsx("span",{className:"text-sm text-gray-900 font-medium",children:(b=a==null?void 0:a.email)==null?void 0:b.split("@")[0]})}),l.jsx(pe,{variant:"outline",size:"sm",onClick:f,className:"glass-card-premium bg-accent-solid text-white hover:scale-105 transition-all duration-200 rounded-2xl",children:"Logout"})]}):l.jsx(pe,{onClick:e,size:"sm",className:"glass-card-premium bg-primary-solid text-white hover:scale-105 transition-all duration-200 rounded-2xl px-6",children:"Sign In"})}),l.jsxs("div",{className:"md:hidden flex items-center space-x-2",children:[!u&&l.jsx(pe,{onClick:e,size:"sm",className:"glass-card-premium bg-primary-solid text-white rounded-2xl px-4 text-sm",children:"Sign In"}),l.jsx(pe,{variant:"ghost",size:"icon",className:"w-8 h-8 glass-card-premium",onClick:()=>r(!n),children:n?l.jsx(Ps,{className:"w-4 h-4"}):l.jsx(pk,{className:"w-4 h-4"})})]})]}),n&&l.jsx("div",{className:"md:hidden",children:l.jsxs("div",{className:"px-4 pt-4 pb-6 space-y-3 glass-card bg-white/10 backdrop-blur-xl border-t border-white/20",children:[p.map(m=>l.jsxs(Ci,{href:m.href,onClick:()=>{var w;r(!1),(w=m.onClick)==null||w.call(m)},className:`flex items-center space-x-3 px-4 py-3 rounded-2xl text-base font-medium transition-all duration-200 ${y(m.href)?"glass-card-premium bg-primary-solid text-white":"text-gray-600 hover:text-gray-900 hover:glass-card-premium"}`,children:[l.jsx(m.icon,{className:"w-5 h-5"}),l.jsx("span",{children:m.name})]},m.name)),l.jsxs("div",{className:"flex items-center justify-between px-4 py-3 glass-card bg-white/5 backdrop-blur-sm rounded-xl border border-white/10",children:[l.jsx("span",{className:"text-sm text-muted-foreground font-medium",children:"Theme"}),l.jsx(pe,{variant:"ghost",size:"sm",onClick:()=>i(o==="light"?"dark":"light"),className:"glass-button bg-white/10 backdrop-blur-sm border border-white/20 hover:bg-white/20 hover:scale-105 transition-all duration-200",children:o==="light"?l.jsx(mk,{className:"w-4 h-4"}):l.jsx(wk,{className:"w-4 h-4"})})]}),l.jsx("div",{className:"px-4 py-3 glass-card bg-white/5 backdrop-blur-sm rounded-xl border border-white/10",children:u?l.jsxs("div",{className:"space-y-3",children:[l.jsx("p",{className:"text-sm text-muted-foreground font-medium",children:a==null?void 0:a.email}),l.jsx(pe,{variant:"outline",size:"sm",onClick:f,className:"w-full glass-button bg-red-500/20 border-red-500/30 text-red-700 hover:bg-red-500/30 hover:text-red-800 backdrop-blur-sm",children:"Logout"})]}):l.jsx(pe,{onClick:()=>{r(!1),e()},size:"sm",className:"w-full glass-button bg-gradient-to-r from-blue-500/20 to-purple-500/20 border border-white/20 backdrop-blur-sm hover:from-blue-500/30 hover:to-purple-500/30 text-foreground font-medium",children:"Sign In"})})]})})]})})}function WR({onGetStarted:e}){return l.jsx("section",{className:"section-padding bg-gradient-to-br from-background to-secondary/20",children:l.jsx("div",{className:"container-modern",children:l.jsxs("div",{className:"text-center max-w-4xl mx-auto",children:[l.jsxs("div",{className:"text-center mb-8",children:[l.jsx("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-black tracking-tight mb-4 leading-tight",children:l.jsx("span",{className:"bg-gradient-to-r from-black via-gray-800 to-black bg-clip-text text-transparent",children:"Convert Your Gift Cards"})}),l.jsx("h2",{className:"text-4xl md:text-6xl lg:text-7xl font-bold text-black mb-6",children:"Into Real Cash"})]}),l.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-8 leading-relaxed max-w-4xl mx-auto",children:"Transform your unused gift cards into money quickly and securely. Our platform ensures fast verification and instant payouts."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-16",children:[l.jsxs(pe,{onClick:e,size:"lg",className:"btn-modern btn-primary text-lg px-8 py-4",children:["Get Started",l.jsx(Ql,{className:"w-5 h-5 ml-2"})]}),l.jsx(pe,{variant:"outline",size:"lg",className:"btn-modern btn-outline text-lg px-8 py-4",children:"Learn More"})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mt-16",children:[l.jsxs("div",{className:"glass-card-premium p-8 text-center group animate-fade-in rounded-3xl",style:{animationDelay:"0.8s"},children:[l.jsx("div",{className:"w-16 h-16 bg-primary-solid rounded-3xl flex items-center justify-center mx-auto mb-6 group-hover:scale-110 transition-all duration-300",children:l.jsx(ys,{className:"w-8 h-8 text-white"})}),l.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:"100% Secure"}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Your transactions are protected with bank-level security"})]}),l.jsxs("div",{className:"glass-card-premium p-8 text-center group animate-fade-in rounded-3xl",style:{animationDelay:"1.0s"},children:[l.jsx("div",{className:"w-16 h-16 bg-success-solid rounded-3xl flex items-center justify-center mx-auto mb-6 group-hover:scale-110 transition-all duration-300",children:l.jsx(ul,{className:"w-8 h-8 text-white"})}),l.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:"Multiple Payment Options"}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:"UPI, gift cards (Amazon, Flipkart etc) and USDT"})]}),l.jsxs("div",{className:"glass-card-premium p-8 text-center group animate-fade-in rounded-3xl",style:{animationDelay:"1.2s"},children:[l.jsx("div",{className:"w-16 h-16 bg-accent-solid rounded-3xl flex items-center justify-center mx-auto mb-6 group-hover:scale-110 transition-all duration-300",children:l.jsx(o1,{className:"w-8 h-8 text-white"})}),l.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:"500+ Trusted Users"}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:"Join thousands of satisfied customers who trust GCX"})]})]})]})})})}function HR(){const e=[{icon:ys,title:"100% Safe & Secure",description:"We Protect Your Gift Cards Transactions So If Your Gift Cards Are Fine Then You Will Be Paid",color:"black"},{icon:e1,title:"Best Rates",description:"We Offer Best Rates For Your Gift Cards With No Hidden Charges",color:"black"},{icon:xk,title:"Easy to Use",description:"We offer our loyal users a membership level system that gives more benefits as you sell more.",color:"black"},{icon:Yl,title:"24/7 Support",description:"Our dedicated support team is available around the clock to assist you.",color:"black"},{icon:vs,title:"Trusted Platform",description:"Thousands of satisfied customers trust GCX for their gift card exchanges.",color:"black"},{icon:r1,title:"Secure Transactions",description:"Advanced encryption ensures your personal information and transactions are protected.",color:"black"}],t=n=>{const r={blue:"bg-blue-100 dark:bg-blue-900 text-blue-600 dark:text-blue-400",green:"bg-green-100 dark:bg-green-900 text-green-600 dark:text-green-400",yellow:"bg-yellow-100 dark:bg-yellow-900 text-yellow-600 dark:text-yellow-400",purple:"bg-purple-100 dark:bg-purple-900 text-purple-600 dark:text-purple-400",red:"bg-red-100 dark:bg-red-900 text-red-600 dark:text-red-400",indigo:"bg-indigo-100 dark:bg-indigo-900 text-indigo-600 dark:text-indigo-400",black:"bg-gray-100 text-black"};return r[n]||r.blue};return l.jsx("section",{className:"section-padding",children:l.jsxs("div",{className:"container-modern",children:[l.jsxs("div",{className:"text-center mb-16",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Why Choose GCX?"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Experience the best gift card exchange platform with features designed for your convenience and security."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((n,r)=>l.jsxs("div",{className:"glass-card-premium rounded-3xl p-8 hover:scale-105 transition-all duration-300 group animate-fade-in",style:{animationDelay:`${r*100}ms`},children:[l.jsx("div",{className:`w-14 h-14 rounded-2xl flex items-center justify-center mb-6 ${t(n.color)} group-hover:scale-110 transition-all duration-300`,children:l.jsx(n.icon,{className:"w-7 h-7"})}),l.jsx("h3",{className:"text-xl font-bold mb-3 text-gray-900",children:n.title}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:n.description})]},r))})]})})}function GR(){const e=[{icon:s1,title:"Upload Your Card",description:"Upload your gift card details with video proof for verification.",step:"01"},{icon:vs,title:"Get Checked",description:"Our verification system checks your gift card details securely.",step:"02"},{icon:e1,title:"Get Paid",description:"Receive your money via USDT or UPI once verified safely.",step:"03"}];return l.jsx("section",{className:"section-padding",children:l.jsxs("div",{className:"container-modern",children:[l.jsxs("div",{className:"text-center mb-16",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"How It Works"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Converting your gift cards to cash is simple and secure with our streamlined 3-step process."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 relative",children:e.map((t,n)=>l.jsxs("div",{className:"relative",children:[l.jsxs("div",{className:"glass-card-premium rounded-3xl p-8 text-center hover:scale-105 transition-all duration-300 group",children:[l.jsx("div",{className:"w-16 h-16 bg-primary-solid text-white rounded-full flex items-center justify-center mx-auto mb-6 text-xl font-bold",children:t.step}),l.jsx("div",{className:"w-12 h-12 bg-primary-solid rounded-2xl flex items-center justify-center mx-auto mb-4",children:l.jsx(t.icon,{className:"w-6 h-6 text-white"})}),l.jsx("h3",{className:"text-xl font-bold mb-4 text-gray-900",children:t.title}),l.jsx("p",{className:"text-gray-600 leading-relaxed",children:t.description})]}),n